[ { "info": { "id": "msg_c31bd424c001ICzhibLcSkazYE", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "role": "user", "time": { "created": 1770361012812 }, "summary": { "title": "Hello from OpenCode", "diffs": [] }, "agent": "build", "model": { "providerID": "anthropic", "modelID": "claude-haiku-4-5" } }, "parts": [ { "id": "prt_c31bd424c002I8ASgZXZGMnUf2", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd424c001ICzhibLcSkazYE", "type": "text", "text": "Respond with exactly: 'Hello from OpenCode'. Nothing else." } ] }, { "info": { "id": "msg_c31bd4260001o9JzwTa1Ops17t", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "role": "assistant", "time": { "created": 1770361012832, "completed": 1770361014171 }, "parentID": "msg_c31bd424c001ICzhibLcSkazYE", "modelID": "claude-haiku-4-5", "providerID": "anthropic", "mode": "build", "agent": "build", "path": { "cwd": "/home/nathan/sandbox-agent/research/opencode-compat", "root": "/home/nathan/sandbox-agent" }, "cost": 0, "tokens": { "input": 2, "output": 7, "reasoning": 0, "cache": { "read": 13540, "write": 0 } }, "finish": "stop" }, "parts": [ { "id": "prt_c31bd4779001QLU4EXzj63WQ4W", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd4260001o9JzwTa1Ops17t", "type": "step-start", "snapshot": "302d31eedbdd77a5b1eb84e2fbc4e99e8b97e549" }, { "id": "prt_c31bd477c001Gq3CWQQXR1h7fD", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd4260001o9JzwTa1Ops17t", "type": "text", "text": "Hello from OpenCode", "time": { "start": 1770361014146, "end": 1770361014146 } }, { "id": "prt_c31bd4793001LdK7WQwiUgzctY", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd4260001o9JzwTa1Ops17t", "type": "step-finish", "reason": "stop", "snapshot": "302d31eedbdd77a5b1eb84e2fbc4e99e8b97e549", "cost": 0, "tokens": { "input": 2, "output": 7, "reasoning": 0, "cache": { "read": 13540, "write": 0 } } } ] }, { "info": { "id": "msg_c31bd4c1b001xWoyoqqLd1Y28L", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "role": "user", "time": { "created": 1770361015323 }, "summary": { "title": "List directory contents", "diffs": [] }, "agent": "build", "model": { "providerID": "anthropic", "modelID": "claude-haiku-4-5" } }, "parts": [ { "id": "prt_c31bd4c1b00250iBBBWSNWnE4G", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd4c1b001xWoyoqqLd1Y28L", "type": "text", "text": "List the files in the current directory. Use the list/ls tool. Only list the top-level contents, do not recurse." } ] }, { "info": { "id": "msg_c31bd4c1c001iWeGOWfwf5UD2Y", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "role": "assistant", "time": { "created": 1770361015324, "completed": 1770361016339 }, "parentID": "msg_c31bd4c1b001xWoyoqqLd1Y28L", "modelID": "claude-haiku-4-5", "providerID": "anthropic", "mode": "build", "agent": "build", "path": { "cwd": "/home/nathan/sandbox-agent/research/opencode-compat", "root": "/home/nathan/sandbox-agent" }, "cost": 0, "tokens": { "input": 2, "output": 78, "reasoning": 0, "cache": { "read": 13547, "write": 31 } }, "finish": "tool-calls" }, "parts": [ { "id": "prt_c31bd4ef7001AOk3Asd0o7j5fD", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd4c1c001iWeGOWfwf5UD2Y", "type": "step-start", "snapshot": "8793fb311ffba7bff79cd1b25f87942c22349ae3" }, { "id": "prt_c31bd4ef8001ovzy76OXAT5Qin", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd4c1c001iWeGOWfwf5UD2Y", "type": "tool", "callID": "toolu_017THj1iZNELroZgmFbqC6Ma", "tool": "bash", "state": { "status": "completed", "input": { "command": "ls -la", "description": "List files in current directory" }, "output": "total 24\ndrwxr-xr-x 3 nathan nathan 4096 Feb 5 22:56 .\ndrwxr-xr-x 5 nathan nathan 4096 Feb 5 22:44 ..\n-rw-r--r-- 1 nathan nathan 9120 Feb 5 22:56 capture-native.ts\ndrwxr-xr-x 3 nathan nathan 4096 Feb 5 22:45 snapshots\n", "title": "List files in current directory", "metadata": { "output": "total 24\ndrwxr-xr-x 3 nathan nathan 4096 Feb 5 22:56 .\ndrwxr-xr-x 5 nathan nathan 4096 Feb 5 22:44 ..\n-rw-r--r-- 1 nathan nathan 9120 Feb 5 22:56 capture-native.ts\ndrwxr-xr-x 3 nathan nathan 4096 Feb 5 22:45 snapshots\n", "exit": 0, "description": "List files in current directory", "truncated": false }, "time": { "start": 1770361016309, "end": 1770361016330 } } }, { "id": "prt_c31bd500e001MnhwCXaWI2pfAw", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd4c1c001iWeGOWfwf5UD2Y", "type": "step-finish", "reason": "tool-calls", "snapshot": "8793fb311ffba7bff79cd1b25f87942c22349ae3", "cost": 0, "tokens": { "input": 2, "output": 78, "reasoning": 0, "cache": { "read": 13547, "write": 31 } } } ] }, { "info": { "id": "msg_c31bd5014001lZUdLPnaNuUzrb", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "role": "assistant", "time": { "created": 1770361016340, "completed": 1770361017458 }, "parentID": "msg_c31bd4c1b001xWoyoqqLd1Y28L", "modelID": "claude-haiku-4-5", "providerID": "anthropic", "mode": "build", "agent": "build", "path": { "cwd": "/home/nathan/sandbox-agent/research/opencode-compat", "root": "/home/nathan/sandbox-agent" }, "cost": 0, "tokens": { "input": 5, "output": 38, "reasoning": 0, "cache": { "read": 13578, "write": 207 } }, "finish": "stop" }, "parts": [ { "id": "prt_c31bd53580017z4yaEbtkZX0zx", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd5014001lZUdLPnaNuUzrb", "type": "step-start", "snapshot": "8793fb311ffba7bff79cd1b25f87942c22349ae3" }, { "id": "prt_c31bd53580021848cNw3geDcGF", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd5014001lZUdLPnaNuUzrb", "type": "text", "text": "Here are the top-level contents of the current directory:\n\n- **capture-native.ts** - A TypeScript file\n- **snapshots/** - A directory", "time": { "start": 1770361017436, "end": 1770361017436 } }, { "id": "prt_c31bd546d001cppsZFrg2ZJy7S", "sessionID": "ses_3ce42bdb9ffeEIUUu08AuKTJms", "messageID": "msg_c31bd5014001lZUdLPnaNuUzrb", "type": "step-finish", "reason": "stop", "snapshot": "8793fb311ffba7bff79cd1b25f87942c22349ae3", "cost": 0, "tokens": { "input": 5, "output": 38, "reasoning": 0, "cache": { "read": 13578, "write": 207 } } } ] } ]