mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-18 20:03:40 +00:00
- 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
106 lines
No EOL
2.3 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
] |