Claude Code 2.1.318+ asks a running subagent for a 3-5 word progress label about every 30s; its end_turn reply read as the subagent's turn ending. notify's onRequest now leaves such a request alone. By YanYunCY (#1207). Run at d19698067 (macOS via mica-run, temp HOME): bun test in packages/notify 78 pass; check.mjs ok. Broken by hand: without the early return the new progress-summary test fails. Fixtures scanned for keys, emails and home paths: none.
136 lines
5.0 KiB
JSON
136 lines
5.0 KiB
JSON
{
|
|
"session": "01a1e2f8-2603-73b3-a31c-d86713e85209",
|
|
"headers": {
|
|
"originator": "codex_exec",
|
|
"x-client-request-id": "01a1e2f8-2603-73b3-a31c-d86713e85209",
|
|
"x-codex-window-id": "01a1e2f8-2603-73b3-a31c-d86713e85209:0",
|
|
"x-codex-beta-features": "remote_compaction_v2",
|
|
"x-codex-turn-metadata": "{\"installation_id\":\"(blanked)\",\"session_id\":\"01a1e2f8-2603-73b3-a31c-d86713e85209\",\"thread_id\":\"01a1e2f8-2603-73b3-a31c-d86713e85209\",\"agent_name\":\"/root\",\"turn_id\":\"01a1e2f8-261c-7ce2-b61a-23d3f2286757\",\"window_id\":\"01a1e2f8-2603-73b3-a31c-d86713e85209:0\",\"window_number\":0,\"context_window_id\":\"01a1e2f8-2605-7630-b1d9-30b9807b24a4\",\"request_kind\":\"turn\",\"history_initialization\":\"new\",\"root_turn_id\":\"01a1e2f8-261c-7ce2-b61a-23d3f2286757\",\"thread_source\":\"user\",\"turn_trigger\":\"exec\",\"sandbox\":\"none\",\"sandbox_mode\":\"danger-full-access\",\"auto_review_enabled\":false,\"node_repl_auto_review_required\":false,\"node_repl_disabled\":false,\"workspaces\":{\"/tmp/sbx/cxproj\":{\"has_changes\":false}},\"turn_started_at_unix_ms\":1794809275935,\"analytics_enabled\":true,\"model\":\"gpt-5.1-codex\"}"
|
|
},
|
|
"body": {
|
|
"model": "gpt-5.1-codex",
|
|
"stream": true,
|
|
"tools": [
|
|
{
|
|
"type": "function",
|
|
"name": "exec_command"
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "write_stdin"
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "request_user_input"
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "view_image"
|
|
},
|
|
{
|
|
"type": "namespace",
|
|
"name": "multi_agent_v1"
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "get_goal"
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "create_goal"
|
|
},
|
|
{
|
|
"type": "function",
|
|
"name": "update_goal"
|
|
},
|
|
{
|
|
"type": "web_search"
|
|
}
|
|
],
|
|
"input": [
|
|
{
|
|
"type": "message",
|
|
"id": "msg_25dfe526-ff1d-511a-98ee-774af58862ab",
|
|
"role": "developer",
|
|
"content": [
|
|
{
|
|
"type": "input_text",
|
|
"text": "You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project \n…(cut)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "message",
|
|
"id": "msg_01a1e2f8-2638-74c1-96b3-18cf6da9e2c4",
|
|
"role": "developer",
|
|
"content": [
|
|
{
|
|
"type": "input_text",
|
|
"text": "<skills_instructions>\n## Skills\nA skill is a set of local instructions to follow that is stored in a `SKILL.md` file. Be\n…(cut)"
|
|
},
|
|
{
|
|
"type": "input_text",
|
|
"text": "<permissions instructions>\nFilesystem sandboxing defines which files can be read or written. `sandbox_mode` is `danger-f\n…(cut)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "message",
|
|
"id": "msg_01a1e2f8-2638-74c1-96b3-18dafdbcf1f5",
|
|
"role": "user",
|
|
"content": [
|
|
{
|
|
"type": "input_text",
|
|
"text": "<environment_context>\n <cwd>/tmp/sbx/cxproj</cwd>\n <shell>bash</shell>\n <current_date>2026-11-16</current_date>\n <timezone>Etc/UTC</timezone>\n <filesystem><workspace_roots><root>/tmp/sbx/cxproj</root></workspace_roots><permission_profile type=\"disabled\"><file_system type=\"unrestricted\" /></permission_profile></filesystem>\n</environment_context>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "message",
|
|
"id": "msg_01a1e2f8-2648-7411-a6dd-8e0061513cae",
|
|
"role": "user",
|
|
"content": [
|
|
{
|
|
"type": "input_text",
|
|
"text": "CX_SPAWN please"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"client_metadata": {
|
|
"root_turn_id": "01a1e2f8-261c-7ce2-b61a-23d3f2286757",
|
|
"x-codex-turn-metadata": "{\"installation_id\":\"(blanked)\",\"session_id\":\"01a1e2f8-2603-73b3-a31c-d86713e85209\",\"thread_id\":\"01a1e2f8-2603-73b3-a31c-d86713e85209\",\"agent_name\":\"/root\",\"turn_id\":\"01a1e2f8-261c-7ce2-b61a-23d3f2286757\",\"window_id\":\"01a1e2f8-2603-73b3-a31c-d86713e85209:0\",\"window_number\":0,\"context_window_id\":\"01a1e2f8-2605-7630-b1d9-30b9807b24a4\",\"request_kind\":\"turn\",\"history_initialization\":\"new\",\"root_turn_id\":\"01a1e2f8-261c-7ce2-b61a-23d3f2286757\",\"thread_source\":\"user\",\"turn_trigger\":\"exec\",\"sandbox\":\"none\",\"sandbox_mode\":\"danger-full-access\",\"auto_review_enabled\":false,\"node_repl_auto_review_required\":false,\"node_repl_disabled\":false,\"workspaces\":{\"/tmp/sbx/cxproj\":{\"has_changes\":false}},\"turn_started_at_unix_ms\":1794809275935,\"analytics_enabled\":true,\"model\":\"gpt-5.1-codex\"}",
|
|
"turn_id": "01a1e2f8-261c-7ce2-b61a-23d3f2286757",
|
|
"session_id": "01a1e2f8-2603-73b3-a31c-d86713e85209",
|
|
"thread_id": "01a1e2f8-2603-73b3-a31c-d86713e85209",
|
|
"x-codex-window-id": "01a1e2f8-2603-73b3-a31c-d86713e85209:0"
|
|
}
|
|
},
|
|
"reply": {
|
|
"id": "resp_1",
|
|
"object": "response",
|
|
"status": "completed",
|
|
"output": [
|
|
{
|
|
"type": "function_call",
|
|
"id": "fc_1",
|
|
"call_id": "call_1",
|
|
"name": "spawn_agent",
|
|
"namespace": "multi_agent_v1",
|
|
"arguments": "{\"message\":\"SUBTASK_CX: run sleep 3 then echo hi\"}",
|
|
"status": "completed"
|
|
}
|
|
],
|
|
"usage": {
|
|
"input_tokens": 1000,
|
|
"output_tokens": 50,
|
|
"total_tokens": 1050,
|
|
"input_tokens_details": {
|
|
"cached_tokens": 0
|
|
},
|
|
"output_tokens_details": {
|
|
"reasoning_tokens": 0
|
|
}
|
|
}
|
|
}
|
|
} |