supercode-harness 0.4.10

The optional native Supercode agent and tool harness
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{"timestamp":"2026-06-14T16:48:25.019Z","type":"session_meta","payload":{"id":"019ec7e4-904f-76f0-91ff-76496e81237b","timestamp":"2026-06-14T16:48:20.001Z","cwd":"/private/tmp/codex-parity-test","originator":"codex-cli","cli_version":"0.128.0","model_provider":"openai"}}
{"timestamp":"2026-06-14T16:48:25.100Z","type":"turn_context","payload":{"turn_id":"019ec7e4-9050-76f0-91ff-000000000001","cwd":"/private/tmp/codex-parity-test","current_date":"2026-06-14","timezone":"UTC","approval_policy":"on-request","sandbox_policy":{"type":"workspace-write"},"model":"gpt-5.5","effort":"medium","summary":"auto"}}
{"timestamp":"2026-06-14T16:48:25.150Z","type":"event_msg","payload":{"type":"task_started","turn_id":"019ec7e4-9050-76f0-91ff-000000000001","started_at":1781455705,"model_context_window":400000,"collaboration_mode_kind":"default"}}
{"timestamp":"2026-06-14T16:48:26.000Z","type":"response_item","payload":{"type":"message","role":"user","content":[{"type":"input_text","text":"Run the tests and fix any failures."}]}}
{"timestamp":"2026-06-14T16:48:26.050Z","type":"event_msg","payload":{"type":"user_message","message":"Run the tests and fix any failures.","images":[],"local_images":[],"text_elements":[]}}
{"timestamp":"2026-06-14T16:48:27.000Z","type":"response_item","payload":{"type":"reasoning","content":null,"encrypted_content":null,"summary":[{"type":"summary_text","text":"I should run the test suite first."}]}}
{"timestamp":"2026-06-14T16:48:28.000Z","type":"response_item","payload":{"type":"message","role":"assistant","phase":"commentary","turn_id":"019ec7e4-9050-76f0-91ff-000000000001","content":[{"type":"output_text","text":"Running the test suite now."}]}}
{"timestamp":"2026-06-14T16:48:28.010Z","type":"response_item","payload":{"type":"function_call","name":"shell","arguments":"{\"command\":[\"bash\",\"-lc\",\"cargo test\"]}","call_id":"call_exec_1","turn_id":"019ec7e4-9050-76f0-91ff-000000000001"}}
{"timestamp":"2026-06-14T16:48:40.100Z","type":"response_item","payload":{"type":"function_call_output","call_id":"call_exec_1","output":"test result: FAILED. 41 passed; 1 failed"}}
{"timestamp":"2026-06-14T16:48:41.000Z","type":"response_item","payload":{"type":"function_call","name":"apply_patch","arguments":"{\"input\":\"*** Begin Patch\\n*** Update File: src/lib.rs\\n@@\\n-old\\n+new\\n*** End Patch\"}","call_id":"call_patch_1","turn_id":"019ec7e4-9050-76f0-91ff-000000000001"}}
{"timestamp":"2026-06-14T16:48:41.500Z","type":"event_msg","payload":{"type":"patch_apply_end","call_id":"call_patch_1","turn_id":"019ec7e4-9050-76f0-91ff-000000000001","stdout":"Success. Updated the following files:\nM src/lib.rs\n","stderr":"","success":true,"changes":{"src/lib.rs":{"type":"update","unified_diff":"--- a/src/lib.rs\n+++ b/src/lib.rs\n@@ -1,1 +1,1 @@\n-old\n+new\n","move_path":null}},"status":"completed"}}
{"timestamp":"2026-06-14T16:48:41.600Z","type":"response_item","payload":{"type":"function_call_output","call_id":"call_patch_1","output":"Success. Updated the following files:\nM src/lib.rs\n"}}
{"timestamp":"2026-06-14T16:48:42.000Z","type":"response_item","payload":{"type":"custom_tool_call","name":"lookup","input":{"query":"flaky test root cause"},"call_id":"call_mcp_1"}}
{"timestamp":"2026-06-14T16:48:42.900Z","type":"event_msg","payload":{"type":"mcp_tool_call_end","call_id":"call_mcp_1","invocation":{"server":"knowledge","tool":"lookup","arguments":{"query":"flaky test root cause"}},"duration":{"secs":0,"nanos":890000000},"result":{"Ok":{"content":[{"type":"text","text":"Known flaky: test_retry_backoff races a timer."}],"isError":false}}}}
{"timestamp":"2026-06-14T16:48:43.000Z","type":"response_item","payload":{"type":"custom_tool_call_output","call_id":"call_mcp_1","output":"Known flaky: test_retry_backoff races a timer."}}
{"timestamp":"2026-06-14T16:48:43.500Z","type":"response_item","payload":{"type":"reasoning","content":null,"encrypted_content":"gAAAAABTESTENCRYPTEDBLOB1234567890abcdefghijklmnopqrstuvwxyz==","summary":[]}}
{"timestamp":"2026-06-14T16:48:44.000Z","type":"event_msg","payload":{"type":"agent_message","message":"Fixed the failing test and confirmed the suite is green.","phase":"final_answer"}}
{"timestamp":"2026-06-14T16:48:44.010Z","type":"response_item","payload":{"type":"message","role":"assistant","phase":"final_answer","turn_id":"019ec7e4-9050-76f0-91ff-000000000001","content":[{"type":"output_text","text":"Fixed the failing test and confirmed the suite is green."}]}}