3803 lines
89 KiB
JSON
3803 lines
89 KiB
JSON
{
|
|
"session_id": "{{parent}}",
|
|
"final_response": "ADVANCED_EXECUTABLE_OK",
|
|
"events": [
|
|
{
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 0,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"inserted": [
|
|
{
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Run the advanced packaged-runtime snapshot scenario."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "turn/start",
|
|
"seq": 1,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 2,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"removedCount": 1,
|
|
"inserted": []
|
|
}
|
|
},
|
|
{
|
|
"type": "step/start",
|
|
"seq": 3,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "user/message",
|
|
"seq": 4,
|
|
"time": 0,
|
|
"data": {
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Run the advanced packaged-runtime snapshot scenario."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
},
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "session/title",
|
|
"seq": 5,
|
|
"time": 0,
|
|
"data": {
|
|
"title": "Run the advanced packaged-runtime snapsh",
|
|
"messageSeqs": [
|
|
4
|
|
],
|
|
"source": {
|
|
"kind": "fallback"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "request/header",
|
|
"seq": 6,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "initial"
|
|
}
|
|
},
|
|
{
|
|
"type": "request/context",
|
|
"seq": 7,
|
|
"time": 0,
|
|
"data": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"contextWindow": 1000000
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 8,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 9,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"argumentsDelta": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 10,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"arguments": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 11,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 12,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/message",
|
|
"seq": 13,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"arguments": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
12
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "tool/call",
|
|
"seq": 14,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"callId": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"arguments": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
},
|
|
{
|
|
"type": "tool/result",
|
|
"seq": 15,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-mount"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-mount",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Temporary Plugin dyn-1 is running (plugin \"<anonymous>\"; available until unmounted or DSH restarts)."
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
14
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "step/end",
|
|
"seq": 16,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "step/start",
|
|
"seq": 17,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "request/header",
|
|
"seq": 18,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"snapshot_double",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "change"
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 19,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 20,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-code",
|
|
"name": "run_code",
|
|
"argumentsDelta": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 21,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-code",
|
|
"name": "run_code",
|
|
"arguments": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 22,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 23,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/message",
|
|
"seq": 24,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-code",
|
|
"name": "run_code",
|
|
"arguments": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "tool/call",
|
|
"seq": 25,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"callId": "advanced-code",
|
|
"name": "run_code",
|
|
"arguments": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
},
|
|
{
|
|
"type": "tool/code-dispatch-start",
|
|
"seq": 26,
|
|
"time": 0,
|
|
"data": {
|
|
"rootCallId": "advanced-code",
|
|
"parentCallId": "advanced-code",
|
|
"subCallId": "advanced-code:code:1",
|
|
"name": "snapshot_double",
|
|
"arguments": {
|
|
"value": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "tool/code-dispatch",
|
|
"seq": 27,
|
|
"time": 0,
|
|
"data": {
|
|
"rootCallId": "advanced-code",
|
|
"parentCallId": "advanced-code",
|
|
"subCallId": "advanced-code:code:1",
|
|
"name": "snapshot_double",
|
|
"arguments": {
|
|
"value": 21
|
|
},
|
|
"isError": false,
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "42"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "tool/result",
|
|
"seq": 28,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-code"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-code",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "42"
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
25
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "step/end",
|
|
"seq": 29,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "step/start",
|
|
"seq": 30,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 31,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 32,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"argumentsDelta": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 33,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 34,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 35,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/message",
|
|
"seq": 36,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
31,
|
|
32,
|
|
33,
|
|
34,
|
|
35
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "tool/call",
|
|
"seq": 37,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"callId": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
},
|
|
{
|
|
"type": "tool/result",
|
|
"seq": 38,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-direct-child"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-direct-child",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "DIRECT_CHILD_OK"
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
37
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "step/end",
|
|
"seq": 39,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3
|
|
}
|
|
},
|
|
{
|
|
"type": "step/start",
|
|
"seq": 40,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 41,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 42,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-workflow",
|
|
"name": "workflow",
|
|
"argumentsDelta": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 43,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-workflow",
|
|
"name": "workflow",
|
|
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 44,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 45,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/message",
|
|
"seq": 46,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-workflow",
|
|
"name": "workflow",
|
|
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
41,
|
|
42,
|
|
43,
|
|
44,
|
|
45
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "tool/call",
|
|
"seq": 47,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"callId": "advanced-workflow",
|
|
"name": "workflow",
|
|
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
},
|
|
{
|
|
"type": "tool/result",
|
|
"seq": 48,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-workflow"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-workflow",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "workflow \"advanced-exe-snapshot\" completed (1 agent).\nReturn value:\n{\n \"reply\": \"WORKFLOW_CHILD_OK\"\n}"
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
47
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "step/end",
|
|
"seq": 49,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4
|
|
}
|
|
},
|
|
{
|
|
"type": "step/start",
|
|
"seq": 50,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 51,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 52,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"argumentsDelta": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 53,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"arguments": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 54,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 55,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/message",
|
|
"seq": 56,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"arguments": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
51,
|
|
52,
|
|
53,
|
|
54,
|
|
55
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "tool/call",
|
|
"seq": 57,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"callId": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"arguments": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
},
|
|
{
|
|
"type": "tool/result",
|
|
"seq": 58,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-unmount"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-unmount",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Temporary Plugin dyn-1 was unmounted and removed."
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
57
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "step/end",
|
|
"seq": 59,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5
|
|
}
|
|
},
|
|
{
|
|
"type": "step/start",
|
|
"seq": 60,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6
|
|
}
|
|
},
|
|
{
|
|
"type": "request/header",
|
|
"seq": 61,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "change"
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 62,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "text"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 63,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "text-delta",
|
|
"index": 0,
|
|
"text": "ADVANCED_EXECUTABLE_OK"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 64,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "text",
|
|
"text": "ADVANCED_EXECUTABLE_OK"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 65,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/chunk",
|
|
"seq": 66,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "stop"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "assistant/message",
|
|
"seq": 67,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "ADVANCED_EXECUTABLE_OK"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
62,
|
|
63,
|
|
64,
|
|
65,
|
|
66
|
|
],
|
|
"surfaceOp": "append"
|
|
},
|
|
{
|
|
"type": "step/end",
|
|
"seq": 68,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6
|
|
}
|
|
},
|
|
{
|
|
"type": "turn/end",
|
|
"seq": 69,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"reason": {
|
|
"kind": "completed"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"notifications": [
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 0,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"inserted": [
|
|
{
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Run the advanced packaged-runtime snapshot scenario."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.status",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"status": "running"
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "turn/start",
|
|
"seq": 1,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 2,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"removedCount": 1,
|
|
"inserted": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 3,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "user/message",
|
|
"seq": 4,
|
|
"time": 0,
|
|
"data": {
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Run the advanced packaged-runtime snapshot scenario."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
},
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "session/title",
|
|
"seq": 5,
|
|
"time": 0,
|
|
"data": {
|
|
"title": "Run the advanced packaged-runtime snapsh",
|
|
"messageSeqs": [
|
|
4
|
|
],
|
|
"source": {
|
|
"kind": "fallback"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "request/header",
|
|
"seq": 6,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "initial"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "request/context",
|
|
"seq": 7,
|
|
"time": 0,
|
|
"data": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"contextWindow": 1000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 8,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 9,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"argumentsDelta": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 10,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"arguments": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 11,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 12,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 13,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"arguments": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
12
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/call",
|
|
"seq": 14,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"callId": "advanced-mount",
|
|
"name": "cordis_mount",
|
|
"arguments": "{\"code\": \"return (ctx) => {\\n harness.registerTool(ctx, harness.defineTool({\\n name: 'snapshot_double',\\n description: 'Double a number for executable snapshot verification.',\\n parameters: { value: { type: 'number', required: true } },\\n output: {\\n schema: { type: 'number' },\\n render(_args, value) {\\n return [{ type: 'text', text: String(value) }]\\n }\\n },\\n async execute(args) {\\n return args.value * 2\\n }\\n }))\\n}\\n\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/result",
|
|
"seq": 15,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-mount"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-mount",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Temporary Plugin dyn-1 is running (plugin \"<anonymous>\"; available until unmounted or DSH restarts)."
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
14
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 16,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 17,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "request/header",
|
|
"seq": 18,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"snapshot_double",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "change"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 19,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 20,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-code",
|
|
"name": "run_code",
|
|
"argumentsDelta": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 21,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-code",
|
|
"name": "run_code",
|
|
"arguments": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 22,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 23,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 24,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-code",
|
|
"name": "run_code",
|
|
"arguments": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
19,
|
|
20,
|
|
21,
|
|
22,
|
|
23
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/call",
|
|
"seq": 25,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"callId": "advanced-code",
|
|
"name": "run_code",
|
|
"arguments": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/code-dispatch-start",
|
|
"seq": 26,
|
|
"time": 0,
|
|
"data": {
|
|
"rootCallId": "advanced-code",
|
|
"parentCallId": "advanced-code",
|
|
"subCallId": "advanced-code:code:1",
|
|
"name": "snapshot_double",
|
|
"arguments": {
|
|
"value": 21
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/code-dispatch",
|
|
"seq": 27,
|
|
"time": 0,
|
|
"data": {
|
|
"rootCallId": "advanced-code",
|
|
"parentCallId": "advanced-code",
|
|
"subCallId": "advanced-code:code:1",
|
|
"name": "snapshot_double",
|
|
"arguments": {
|
|
"value": 21
|
|
},
|
|
"isError": false,
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "42"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/result",
|
|
"seq": 28,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-code"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-code",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "42"
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
25
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 29,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 2
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 30,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 31,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 32,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"argumentsDelta": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 33,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 34,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 35,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 36,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
31,
|
|
32,
|
|
33,
|
|
34,
|
|
35
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/call",
|
|
"seq": 37,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"callId": "advanced-direct-child",
|
|
"name": "subagent",
|
|
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "subagent.started",
|
|
"payload": {
|
|
"parentSessionId": "{{parent}}",
|
|
"childSessionId": "{{child-1}}"
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 0,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"inserted": [
|
|
{
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Reply with exactly DIRECT_CHILD_OK and nothing else."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.status",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"status": "running"
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "turn/start",
|
|
"seq": 1,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 2,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"removedCount": 1,
|
|
"inserted": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "subagent/descriptor",
|
|
"seq": 3,
|
|
"time": 0,
|
|
"data": {
|
|
"version": 2,
|
|
"mode": "one-shot",
|
|
"provider": "spawn",
|
|
"label": "Check direct child"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 4,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "user/message",
|
|
"seq": 5,
|
|
"time": 0,
|
|
"data": {
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Reply with exactly DIRECT_CHILD_OK and nothing else."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
},
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "session/title",
|
|
"seq": 6,
|
|
"time": 0,
|
|
"data": {
|
|
"title": "Reply with exactly DIRECT_CHILD_OK and",
|
|
"messageSeqs": [
|
|
5
|
|
],
|
|
"source": {
|
|
"kind": "fallback"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "request/header",
|
|
"seq": 7,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"snapshot_double",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "initial"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "request/context",
|
|
"seq": 8,
|
|
"time": 0,
|
|
"data": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"contextWindow": 1000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 9,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "text"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 10,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "text-delta",
|
|
"index": 0,
|
|
"text": "DIRECT_CHILD_OK"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 11,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "text",
|
|
"text": "DIRECT_CHILD_OK"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 12,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 13,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "stop"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 14,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "DIRECT_CHILD_OK"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
9,
|
|
10,
|
|
11,
|
|
12,
|
|
13
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 15,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"event": {
|
|
"type": "turn/end",
|
|
"seq": 16,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"reason": {
|
|
"kind": "completed"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.status",
|
|
"payload": {
|
|
"sessionId": "{{child-1}}",
|
|
"status": "idle"
|
|
}
|
|
},
|
|
{
|
|
"method": "subagent.finished",
|
|
"payload": {
|
|
"provider": "spawn",
|
|
"agentId": "{{child-1}}",
|
|
"parentSessionId": "{{parent}}",
|
|
"childSessionId": "{{child-1}}",
|
|
"status": "ok",
|
|
"stopReason": "completed",
|
|
"lastAssistantMessage": [
|
|
{
|
|
"type": "text",
|
|
"text": "DIRECT_CHILD_OK"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/result",
|
|
"seq": 38,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-direct-child"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-direct-child",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "DIRECT_CHILD_OK"
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
37
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 39,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 3
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 40,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 41,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 42,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-workflow",
|
|
"name": "workflow",
|
|
"argumentsDelta": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 43,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-workflow",
|
|
"name": "workflow",
|
|
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 44,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 45,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 46,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-workflow",
|
|
"name": "workflow",
|
|
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
41,
|
|
42,
|
|
43,
|
|
44,
|
|
45
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/call",
|
|
"seq": 47,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"callId": "advanced-workflow",
|
|
"name": "workflow",
|
|
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "subagent.started",
|
|
"payload": {
|
|
"parentSessionId": "{{parent}}",
|
|
"childSessionId": "{{child-2}}"
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 0,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"inserted": [
|
|
{
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Reply with exactly WORKFLOW_CHILD_OK and nothing else."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.status",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"status": "running"
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "turn/start",
|
|
"seq": 1,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "agent/inbox/spliced",
|
|
"seq": 2,
|
|
"time": 0,
|
|
"data": {
|
|
"target": "next-turn",
|
|
"start": 0,
|
|
"removedCount": 1,
|
|
"inserted": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "subagent/descriptor",
|
|
"seq": 3,
|
|
"time": 0,
|
|
"data": {
|
|
"version": 2,
|
|
"mode": "one-shot",
|
|
"provider": "spawn"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 4,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "user/message",
|
|
"seq": 5,
|
|
"time": 0,
|
|
"data": {
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Reply with exactly WORKFLOW_CHILD_OK and nothing else."
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "user"
|
|
},
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
},
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "session/title",
|
|
"seq": 6,
|
|
"time": 0,
|
|
"data": {
|
|
"title": "Reply with exactly WORKFLOW_CHILD_OK and",
|
|
"messageSeqs": [
|
|
5
|
|
],
|
|
"source": {
|
|
"kind": "fallback"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "request/header",
|
|
"seq": 7,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"snapshot_double",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "initial"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "request/context",
|
|
"seq": 8,
|
|
"time": 0,
|
|
"data": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"contextWindow": 1000000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 9,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "text"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 10,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "text-delta",
|
|
"index": 0,
|
|
"text": "WORKFLOW_CHILD_OK"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 11,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "text",
|
|
"text": "WORKFLOW_CHILD_OK"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 12,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 13,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "stop"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 14,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "WORKFLOW_CHILD_OK"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
9,
|
|
10,
|
|
11,
|
|
12,
|
|
13
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 15,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"event": {
|
|
"type": "turn/end",
|
|
"seq": 16,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"reason": {
|
|
"kind": "completed"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.status",
|
|
"payload": {
|
|
"sessionId": "{{child-2}}",
|
|
"status": "idle"
|
|
}
|
|
},
|
|
{
|
|
"method": "subagent.finished",
|
|
"payload": {
|
|
"provider": "spawn",
|
|
"agentId": "{{child-2}}",
|
|
"parentSessionId": "{{parent}}",
|
|
"childSessionId": "{{child-2}}",
|
|
"status": "ok",
|
|
"stopReason": "completed",
|
|
"lastAssistantMessage": [
|
|
{
|
|
"type": "text",
|
|
"text": "WORKFLOW_CHILD_OK"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/result",
|
|
"seq": 48,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-workflow"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-workflow",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "workflow \"advanced-exe-snapshot\" completed (1 agent).\nReturn value:\n{\n \"reply\": \"WORKFLOW_CHILD_OK\"\n}"
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
47
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 49,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 4
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 50,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 51,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "tool-call"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 52,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "tool-call-delta",
|
|
"index": 0,
|
|
"id": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"argumentsDelta": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 53,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "tool-call",
|
|
"id": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"arguments": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 54,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 55,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "tool-calls"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 56,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "tool-call",
|
|
"id": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"arguments": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
51,
|
|
52,
|
|
53,
|
|
54,
|
|
55
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/call",
|
|
"seq": 57,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"callId": "advanced-unmount",
|
|
"name": "cordis_unmount",
|
|
"arguments": "{\"id\": \"dyn-1\"}"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "tool/result",
|
|
"seq": 58,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5,
|
|
"message": {
|
|
"source": {
|
|
"kind": "tool",
|
|
"callId": "advanced-unmount"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "tool-result",
|
|
"toolCallId": "advanced-unmount",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Temporary Plugin dyn-1 was unmounted and removed."
|
|
}
|
|
],
|
|
"isError": false
|
|
}
|
|
],
|
|
"role": "user",
|
|
"id": "{{messageId}}"
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
57
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 59,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 5
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/start",
|
|
"seq": 60,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "request/header",
|
|
"seq": 61,
|
|
"time": 0,
|
|
"data": {
|
|
"header": {
|
|
"config": {
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model",
|
|
"maxTokens": 256000,
|
|
"reasoningEffort": "high"
|
|
},
|
|
"adapterDefaults": {
|
|
"reasoningEffort": true,
|
|
"maxTokens": true
|
|
},
|
|
"system": "{{system}}",
|
|
"tools": [
|
|
"cordis_inspect",
|
|
"cordis_mount",
|
|
"cordis_unmount",
|
|
"run_code",
|
|
"subagent",
|
|
"task_kill",
|
|
"task_list",
|
|
"task_output",
|
|
"workflow"
|
|
]
|
|
},
|
|
"reason": "change"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 62,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "block-start",
|
|
"index": 0,
|
|
"blockType": "text"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 63,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "text-delta",
|
|
"index": 0,
|
|
"text": "ADVANCED_EXECUTABLE_OK"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 64,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "block-end",
|
|
"index": 0,
|
|
"block": {
|
|
"type": "text",
|
|
"text": "ADVANCED_EXECUTABLE_OK"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 65,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "usage",
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/chunk",
|
|
"seq": 66,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"chunk": {
|
|
"type": "finish",
|
|
"reason": {
|
|
"kind": "stop"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "assistant/message",
|
|
"seq": 67,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6,
|
|
"message": {
|
|
"role": "assistant",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "ADVANCED_EXECUTABLE_OK"
|
|
}
|
|
],
|
|
"source": {
|
|
"kind": "model",
|
|
"provider": "deepseek-official",
|
|
"model": "smoke-model"
|
|
},
|
|
"id": "{{messageId}}"
|
|
},
|
|
"usage": {
|
|
"inputTokens": 3,
|
|
"outputTokens": 3
|
|
}
|
|
},
|
|
"sourceEventSeqs": [
|
|
62,
|
|
63,
|
|
64,
|
|
65,
|
|
66
|
|
],
|
|
"surfaceOp": "append"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "step/end",
|
|
"seq": 68,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"step": 6
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.event",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"event": {
|
|
"type": "turn/end",
|
|
"seq": 69,
|
|
"time": 0,
|
|
"data": {
|
|
"turn": 1,
|
|
"reason": {
|
|
"kind": "completed"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"method": "session.status",
|
|
"payload": {
|
|
"sessionId": "{{parent}}",
|
|
"status": "idle"
|
|
}
|
|
}
|
|
],
|
|
"session_root": "{{cwd}}/sessions"
|
|
}
|