返回 CodeWhale
after_shell_receipt.golden.json
根目录 / crates / tui / tests / fixtures / conformance / hooks / after_shell_receipt.golden.json
1 {
2 "hooks": [
3 {
4 "env": {
5 "CODEWHALE_SESSION_ID": "<HOOK_SESSION>",
6 "CODEWHALE_TOOL_CALL_ID": "call_hook_after",
7 "DEEPSEEK_SESSION_ID": "<HOOK_SESSION>",
8 "DEEPSEEK_TOOL_CALL_ID": "call_hook_after",
9 "DEEPSEEK_TOOL_EXECUTION_RECEIPT": "{\"schema_version\":1,\"scope\":\"local\",\"state\":\"completed\",\"command\":\"echo hello\",\"cwd\":\"/conformance/workspace\",\"exit_code\":0,\"output_kind\":\"separate\",\"stdout\":\"hello\\n\",\"stderr\":\"\",\"stdout_truncated\":false,\"stderr_truncated\":false}",
10 "DEEPSEEK_TOOL_EXIT_CODE": "0",
11 "DEEPSEEK_TOOL_NAME": "exec_shell",
12 "DEEPSEEK_TOOL_RESULT": "hello\n",
13 "DEEPSEEK_TOOL_STATUS": "completed",
14 "DEEPSEEK_TOOL_SUCCESS": "true",
15 "DEEPSEEK_WORKSPACE": "<WORKSPACE>"
16 },
17 "name": "observer",
18 "ran": true,
19 "stdin": {
20 "event": "tool_call_after",
21 "execution_receipt": {
22 "command": "echo hello",
23 "command_truncated": false,
24 "completion": "completed",
25 "cwd": "/conformance/workspace",
26 "cwd_truncated": false,
27 "execution": "started",
28 "exit_code": 0,
29 "output_mode": "separate",
30 "schema_version": 1,
31 "stderr": "",
32 "stderr_truncated": false,
33 "stdout": "hello\n",
34 "stdout_truncated": false
35 },
36 "schema_version": 1,
37 "session_id": "<HOOK_SESSION>",
38 "session_id_truncated": false,
39 "tool_call_id": "call_hook_after",
40 "tool_call_id_truncated": false,
41 "tool_name": "exec_shell",
42 "tool_name_truncated": false
43 }
44 }
45 ],
46 "outcome": {
47 "observers": [
48 {
49 "background": false,
50 "error": null,
51 "exit_code": 0,
52 "name": "observer",
53 "stderr": "",
54 "stdout": "observed\n",
55 "success": true
56 }
57 ]
58 }
59 }
60
60 lines JSON