sandbox-agent/research/opencode-compat/snapshots/sandbox-agent/messages-after-1.json
Nathan Flurry 6a3345b954
fix: opencode compat tool call rendering and default to no-token (#95)
- Fix tool name lost on ToolResult events (persist via tool_name_by_call)
- Fix tool input lost on ToolResult events (persist via tool_args_by_call)
- Fix tool output in wrong field (error -> output)
- Fix text doubling in streaming (defer emit to ItemCompleted)
- Fix missing delta field in text streaming events
- Default server mode to no-token when --token not specified
- Add install-fast-sa and install-fast-gigacode justfile targets
2026-02-06 02:57:23 -08:00

106 lines
No EOL
2.3 KiB
JSON

[
{
"info": {
"agent": "build",
"id": "msg_1",
"model": {
"modelID": "mock",
"providerID": "sandbox-agent"
},
"role": "user",
"sessionID": "ses_1",
"time": {
"completed": 1770362164907,
"created": 1770362164907
}
},
"parts": [
{
"id": "part_1",
"messageID": "msg_1",
"sessionID": "ses_1",
"text": "echo Hello from sandbox-agent",
"type": "text"
}
]
},
{
"info": {
"agent": "build",
"cost": 0,
"finish": "stop",
"id": "msg_1_assistant",
"mode": "default",
"modelID": "mock",
"parentID": "msg_1",
"path": {
"cwd": "/home/nathan/sandbox-agent/research/opencode-compat",
"root": "/home/nathan/sandbox-agent/research/opencode-compat"
},
"providerID": "sandbox-agent",
"role": "assistant",
"sessionID": "ses_1",
"time": {
"created": 1770362165109
},
"tokens": {
"cache": {
"read": 0,
"write": 0
},
"input": 0,
"output": 0,
"reasoning": 0
}
},
"parts": [
{
"id": "msg_1_assistant_text",
"messageID": "msg_1_assistant",
"sessionID": "ses_1",
"text": "echo Hello from sandbox-agent",
"type": "text"
}
]
},
{
"info": {
"agent": "build",
"cost": 0,
"finish": "stop",
"id": "msg_1_assistant_00000000000000000005",
"mode": "default",
"modelID": "mock",
"parentID": "msg_1",
"path": {
"cwd": "/home/nathan/sandbox-agent/research/opencode-compat",
"root": "/home/nathan/sandbox-agent/research/opencode-compat"
},
"providerID": "sandbox-agent",
"role": "assistant",
"sessionID": "ses_1",
"time": {
"completed": 1770362165511,
"created": 1770362165511
},
"tokens": {
"cache": {
"read": 0,
"write": 0
},
"input": 0,
"output": 0,
"reasoning": 0
}
},
"parts": [
{
"id": "msg_1_assistant_00000000000000000005_text",
"messageID": "msg_1_assistant_00000000000000000005",
"sessionID": "ses_1",
"text": "Hello from sandbox-agent",
"type": "text"
}
]
}
]