@@ -30,25 +30,25 @@ Supported event types:
30
30
31
31
Supported item types:
32
32
33
- - ` assistant_message ` - assistant message.
33
+ - ` agent_message ` - assistant message.
34
34
- ` reasoning ` - a summary of the assistant's thinking.
35
35
- ` command_execution ` - assistant executing a command.
36
36
- ` file_change ` - assistant making file changes.
37
37
- ` mcp_tool_call ` - assistant calling an MCP tool.
38
38
- ` web_search ` - assistant performing a web search.
39
39
40
- Typically, an ` assistant_message ` is added at the end of the turn.
40
+ Typically, an ` agent_message ` is added at the end of the turn.
41
41
42
42
Sample output:
43
43
44
44
``` jsonl
45
45
{"type" :" thread.started" ,"thread_id" :" 0199a213-81c0-7800-8aa1-bbab2a035a53" }
46
46
{"type" :" turn.started" }
47
- {"type" :" item.completed" ,"item" :{"id" :" item_0" ,"item_type " :" reasoning" ,"text" :" **Searching for README files**" }}
48
- {"type" :" item.started" ,"item" :{"id" :" item_1" ,"item_type " :" command_execution" ,"command" :" bash -lc ls" ,"aggregated_output" :" " ,"status" :" in_progress" }}
49
- {"type" :" item.completed" ,"item" :{"id" :" item_1" ,"item_type " :" command_execution" ,"command" :" bash -lc ls" ,"aggregated_output" :" 2025-09-11\n AGENTS.md\n CHANGELOG.md\n cliff.toml\n codex-cli\n codex-rs\n docs\n examples\n flake.lock\n flake.nix\n LICENSE\n node_modules\n NOTICE\n package.json\n pnpm-lock.yaml\n pnpm-workspace.yaml\n PNPM.md\n README.md\n scripts\n sdk\n tmp\n " ,"exit_code" :0 ,"status" :" completed" }}
50
- {"type" :" item.completed" ,"item" :{"id" :" item_2" ,"item_type " :" reasoning" ,"text" :" **Checking repository root for README**" }}
51
- {"type" :" item.completed" ,"item" :{"id" :" item_3" ,"item_type " :" assistant_message " ,"text" :" Yep — there’s a `README.md` in the repository root." }}
47
+ {"type" :" item.completed" ,"item" :{"id" :" item_0" ,"type " :" reasoning" ,"text" :" **Searching for README files**" }}
48
+ {"type" :" item.started" ,"item" :{"id" :" item_1" ,"type " :" command_execution" ,"command" :" bash -lc ls" ,"aggregated_output" :" " ,"status" :" in_progress" }}
49
+ {"type" :" item.completed" ,"item" :{"id" :" item_1" ,"type " :" command_execution" ,"command" :" bash -lc ls" ,"aggregated_output" :" 2025-09-11\n AGENTS.md\n CHANGELOG.md\n cliff.toml\n codex-cli\n codex-rs\n docs\n examples\n flake.lock\n flake.nix\n LICENSE\n node_modules\n NOTICE\n package.json\n pnpm-lock.yaml\n pnpm-workspace.yaml\n PNPM.md\n README.md\n scripts\n sdk\n tmp\n " ,"exit_code" :0 ,"status" :" completed" }}
50
+ {"type" :" item.completed" ,"item" :{"id" :" item_2" ,"type " :" reasoning" ,"text" :" **Checking repository root for README**" }}
51
+ {"type" :" item.completed" ,"item" :{"id" :" item_3" ,"type " :" agent_message " ,"text" :" Yep — there’s a `README.md` in the repository root." }}
52
52
{"type" :" turn.completed" ,"usage" :{"input_tokens" :24763 ,"cached_input_tokens" :24448 ,"output_tokens" :122 }}
53
53
```
54
54
0 commit comments