返回 CodeWhale
before_deny_exit2.golden.json
根目录 / crates / tui / tests / fixtures / conformance / hooks / before_deny_exit2.golden.json
1 {
2 "hooks": [
3 {
4 "env": {
5 "CODEWHALE_SESSION_ID": "<HOOK_SESSION>",
6 "CODEWHALE_TOOL_CALL_ID": "call_hook_bash",
7 "DEEPSEEK_MODE": "Agent",
8 "DEEPSEEK_MODEL": "deepseek-v4-pro",
9 "DEEPSEEK_SESSION_ID": "<HOOK_SESSION>",
10 "DEEPSEEK_TOOL_ARGS": "{\"command\":\"rm -rf build\"}",
11 "DEEPSEEK_TOOL_CALL_ID": "call_hook_bash",
12 "DEEPSEEK_TOOL_NAME": "Bash",
13 "DEEPSEEK_WORKSPACE": "<WORKSPACE>"
14 },
15 "name": "legacy",
16 "ran": true,
17 "stdin": ""
18 }
19 ],
20 "outcome": {
21 "refuse": {
22 "detail": "Failed to authorize tool execution: ToolCallBefore hook denied tool 'Bash': ToolCallBefore hook denied tool execution",
23 "kind": "permission_denied"
24 }
25 }
26 }
27
27 lines JSON