Download scripts/snapshots/python-sdk-single-exe/advanced/result.json from SaylorTwift/deepseek-harness: direct link, hf CLI and curl.
- Browser
- Download file 175 kB
-
https://huggingface.co/SaylorTwift/deepseek-harness/resolve/main/scripts/snapshots/python-sdk-single-exe/advanced/result.json
- Command line
-
hf download hf://SaylorTwift/deepseek-harness/scripts/snapshots/python-sdk-single-exe/advanced/result.json
-
curl -L -o result.json https://huggingface.co/SaylorTwift/deepseek-harness/resolve/main/scripts/snapshots/python-sdk-single-exe/advanced/result.json
175 kB
| { | |
| "session_id": "{{parent}}", | |
| "final_response": "ADVANCED_EXECUTABLE_OK", | |
| "events": [ | |
| { | |
| "type": "agent/inbox/spliced", | |
| "seq": 4, | |
| "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": 5, | |
| "time": 0, | |
| "data": { | |
| "turn": 1 | |
| } | |
| }, | |
| { | |
| "type": "agent/inbox/spliced", | |
| "seq": 6, | |
| "time": 0, | |
| "data": { | |
| "target": "next-step", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| }, | |
| { | |
| "type": "agent/inbox/spliced", | |
| "seq": 7, | |
| "time": 0, | |
| "data": { | |
| "target": "next-turn", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 8, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| }, | |
| { | |
| "type": "system/message", | |
| "seq": 9, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "user/message", | |
| "seq": 10, | |
| "time": 0, | |
| "data": { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Serial agent creation completed." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "serial-created-fixture" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "user/message", | |
| "seq": 11, | |
| "time": 0, | |
| "data": { | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Run the advanced packaged-runtime snapshot scenario." | |
| } | |
| ], | |
| "source": { | |
| "kind": "user" | |
| }, | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "user/message", | |
| "seq": 12, | |
| "time": 0, | |
| "data": { | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt", | |
| "form": "snapshot", | |
| "sections": [ | |
| { | |
| "name": "sandbox:policy", | |
| "text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations." | |
| }, | |
| { | |
| "name": "approval:policy", | |
| "text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)." | |
| } | |
| ] | |
| }, | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "user/message", | |
| "seq": 13, | |
| "time": 0, | |
| "data": { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "image", | |
| "attachment": { | |
| "attachmentId": "sha256:b1ff9c8ea3a780bad09b346c423d2d0e46815926879b18e841d928376a946640", | |
| "mediaType": "image/png", | |
| "width": 1, | |
| "height": 1, | |
| "bytes": 69 | |
| } | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "python-snapshot-image-offload" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "request/header", | |
| "seq": 14, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "initial" | |
| } | |
| }, | |
| { | |
| "type": "request/context", | |
| "seq": 15, | |
| "time": 0, | |
| "data": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "contextWindow": 1000000 | |
| } | |
| }, | |
| { | |
| "type": "session/title", | |
| "seq": 16, | |
| "time": 0, | |
| "data": { | |
| "title": "Run the advanced packaged-runtime snapsh", | |
| "messageSeqs": [ | |
| 11 | |
| ], | |
| "source": { | |
| "kind": "fallback" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "assistant/attempt", | |
| "seq": 17, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "error", | |
| "failure": { | |
| "code": "IMAGE_OFFLOAD_REQUIRED", | |
| "message": "authored image budget failure", | |
| "offloadImages": 1 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "image/offload", | |
| "seq": 18, | |
| "time": 0, | |
| "data": { | |
| "targets": [ | |
| { | |
| "seq": 13, | |
| "imageIndexes": [ | |
| 0 | |
| ] | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "request/header", | |
| "seq": 19, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "series" | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 20, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 19 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 21, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-define", | |
| "name": "cordis_define", | |
| "arguments": "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-define", | |
| "name": "cordis_define", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-define", | |
| "args": [ | |
| "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-define", | |
| "name": "cordis_define", | |
| "arguments": "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 22, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "callId": "advanced-define", | |
| "name": "cordis_define", | |
| "arguments": "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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": 23, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-define" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-define", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Defined snap-1/pkg-1 (Snapshot Double); it is not running yet. Use cordis_run to activate this Package." | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "meta": { | |
| "pluginId": "snap-1", | |
| "packageId": "pkg-1" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 22 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 24, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 25, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2 | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 26, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 25 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 27, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-run", | |
| "name": "cordis_run", | |
| "arguments": "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-run", | |
| "name": "cordis_run", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-run", | |
| "args": [ | |
| "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-run", | |
| "name": "cordis_run", | |
| "arguments": "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 28, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2, | |
| "callId": "advanced-run", | |
| "name": "cordis_run", | |
| "arguments": "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| } | |
| }, | |
| { | |
| "type": "tool/result", | |
| "seq": 29, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-run" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-run", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "snap-1/pkg-1 is running (run-1)." | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "meta": { | |
| "pluginId": "snap-1", | |
| "packageId": "pkg-1", | |
| "pluginRunId": "run-1" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 28 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 30, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 31, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3 | |
| } | |
| }, | |
| { | |
| "type": "system/message", | |
| "seq": 32, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 9 | |
| ], | |
| "surfaceOp": { | |
| "op": "replace", | |
| "startSeq": 9, | |
| "endSeq": 9 | |
| } | |
| }, | |
| { | |
| "type": "request/header", | |
| "seq": 33, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "snapshot_double", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "change", | |
| "startsSeries": true | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 34, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 33 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 35, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-code", | |
| "name": "run_code", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-code", | |
| "args": [ | |
| "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 36, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "callId": "advanced-code", | |
| "name": "run_code", | |
| "arguments": "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}" | |
| } | |
| }, | |
| { | |
| "type": "tool/ptc-dispatch-start", | |
| "seq": 37, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-code", | |
| "parentCallId": "advanced-code", | |
| "subCallId": "advanced-code:ptc:1", | |
| "name": "snapshot_double", | |
| "arguments": { | |
| "value": 21 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "tool/ptc-dispatch", | |
| "seq": 38, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-code", | |
| "parentCallId": "advanced-code", | |
| "subCallId": "advanced-code:ptc:1", | |
| "name": "snapshot_double", | |
| "arguments": { | |
| "value": 21 | |
| }, | |
| "isError": false, | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "42" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "tool/result", | |
| "seq": 39, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "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": [ | |
| 36 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 40, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 41, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4 | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 42, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 41 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 43, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "arguments": "{\"value\": -1}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-native", | |
| "args": [ | |
| "{\"value\": -1}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "arguments": "{\"value\": -1}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 44, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4, | |
| "callId": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "arguments": "{\"value\": -1}" | |
| } | |
| }, | |
| { | |
| "type": "tool/result", | |
| "seq": 45, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-denied-native" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-denied-native", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Error: Auto review rejected tool \"snapshot_double\"; its body was not executed" | |
| } | |
| ], | |
| "isError": true | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "error": { | |
| "name": "AutoReviewDeniedError", | |
| "code": "AUTO_REVIEW_DENIED", | |
| "reason": " transport raw\r\nreason " | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 44 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 46, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 47, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5 | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 48, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 47 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 49, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "arguments": "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-ptc", | |
| "args": [ | |
| "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "arguments": "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 50, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5, | |
| "callId": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "arguments": "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| } | |
| }, | |
| { | |
| "type": "tool/ptc-dispatch-start", | |
| "seq": 51, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-denied-ptc", | |
| "parentCallId": "advanced-denied-ptc", | |
| "subCallId": "advanced-denied-ptc:ptc:1", | |
| "name": "snapshot_double", | |
| "arguments": { | |
| "value": -1 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "tool/ptc-dispatch", | |
| "seq": 52, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-denied-ptc", | |
| "parentCallId": "advanced-denied-ptc", | |
| "subCallId": "advanced-denied-ptc:ptc:1", | |
| "name": "snapshot_double", | |
| "arguments": { | |
| "value": -1 | |
| }, | |
| "isError": true, | |
| "error": { | |
| "name": "AutoReviewDeniedError", | |
| "code": "AUTO_REVIEW_DENIED", | |
| "reason": " transport raw\r\nreason " | |
| }, | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Error: Auto review rejected tool \"snapshot_double\"; its body was not executed" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "tool/result", | |
| "seq": 53, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-denied-ptc" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-denied-ptc", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Auto review rejected tool \"snapshot_double\"; its body was not executed" | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 50 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 54, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 55, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6 | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 56, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 55 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 57, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-direct-child", | |
| "name": "subagent", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-direct-child", | |
| "args": [ | |
| "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 58, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6, | |
| "callId": "advanced-direct-child", | |
| "name": "subagent", | |
| "arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}" | |
| } | |
| }, | |
| { | |
| "type": "subagent/catalog", | |
| "seq": 59, | |
| "time": 0, | |
| "data": { | |
| "version": 0, | |
| "childId": "{{child-1}}", | |
| "childCreatedAt": 0, | |
| "mode": "one-shot", | |
| "label": "Check direct child" | |
| } | |
| }, | |
| { | |
| "type": "tool/result", | |
| "seq": 60, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6, | |
| "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": [ | |
| 58 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 61, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 62, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7 | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 63, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 62 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 64, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-workflow", | |
| "name": "workflow", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-workflow", | |
| "args": [ | |
| "{\"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": "chunk", | |
| "time": 0, | |
| "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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 65, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7, | |
| "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-workflow/run-start", | |
| "seq": 66, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "name": "advanced-exe-snapshot" | |
| } | |
| }, | |
| { | |
| "type": "subagent/catalog", | |
| "seq": 67, | |
| "time": 0, | |
| "data": { | |
| "version": 0, | |
| "childId": "{{child-2}}", | |
| "childCreatedAt": 0, | |
| "mode": "one-shot" | |
| } | |
| }, | |
| { | |
| "type": "tool-workflow/agent-start", | |
| "seq": 68, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "seq": 1, | |
| "label": "workflow-child", | |
| "phase": "Delegate", | |
| "childId": "{{child-2}}" | |
| } | |
| }, | |
| { | |
| "type": "tool-workflow/agent-end", | |
| "seq": 69, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "seq": 1, | |
| "outcome": "completed" | |
| } | |
| }, | |
| { | |
| "type": "tool-workflow/run-end", | |
| "seq": 70, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "stopReason": "completed" | |
| } | |
| }, | |
| { | |
| "type": "tool/result", | |
| "seq": 71, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7, | |
| "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": [ | |
| 65 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 72, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 73, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8 | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 74, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 73 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 75, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "arguments": "{\"pluginId\": \"snap-1\"}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-undefine", | |
| "args": [ | |
| "{\"pluginId\": \"snap-1\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "arguments": "{\"pluginId\": \"snap-1\"}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "tool/call", | |
| "seq": 76, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8, | |
| "callId": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "arguments": "{\"pluginId\": \"snap-1\"}" | |
| } | |
| }, | |
| { | |
| "type": "tool/result", | |
| "seq": 77, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-undefine" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-undefine", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Removed dynamic Plugin snap-1 and all of its Packages." | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 76 | |
| ], | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 78, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8 | |
| } | |
| }, | |
| { | |
| "type": "step/start", | |
| "seq": 79, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9 | |
| } | |
| }, | |
| { | |
| "type": "system/message", | |
| "seq": 80, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 32 | |
| ], | |
| "surfaceOp": { | |
| "op": "replace", | |
| "startSeq": 32, | |
| "endSeq": 32 | |
| } | |
| }, | |
| { | |
| "type": "request/header", | |
| "seq": 81, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "change", | |
| "startsSeries": true | |
| } | |
| }, | |
| { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 82, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 81 | |
| } | |
| }, | |
| { | |
| "type": "assistant/message", | |
| "seq": 83, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "ADVANCED_EXECUTABLE_OK" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{message:1}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "text" | |
| } | |
| }, | |
| { | |
| "type": "text-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "texts": [ | |
| "ADVANCED_EXECUTABLE_OK" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "text", | |
| "text": "ADVANCED_EXECUTABLE_OK" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "stop" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| }, | |
| { | |
| "type": "step/end", | |
| "seq": 84, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9 | |
| } | |
| }, | |
| { | |
| "type": "command/run", | |
| "seq": 85, | |
| "time": 0, | |
| "data": { | |
| "commandId": "{{command:1}}", | |
| "name": "feedback", | |
| "source": { | |
| "kind": "user" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "feedback/record", | |
| "seq": 86, | |
| "time": 0, | |
| "data": { | |
| "text": "The session needs a clearer explanation." | |
| } | |
| }, | |
| { | |
| "type": "command/done", | |
| "seq": 87, | |
| "time": 0, | |
| "data": { | |
| "commandId": "{{command:1}}", | |
| "kind": "success", | |
| "text": "Feedback recorded for session {{parent}}\nAnonymous user: {{anonymous-user}}." | |
| } | |
| }, | |
| { | |
| "type": "feedback/record", | |
| "seq": 88, | |
| "time": 0, | |
| "data": { | |
| "category": "other" | |
| } | |
| }, | |
| { | |
| "type": "feedback/message-put", | |
| "seq": 89, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "item": { | |
| "messageId": "{{message:1}}", | |
| "rating": "negative", | |
| "note": "Explain the result.", | |
| "category": "task-result", | |
| "version": "{{feedback-version:1}}", | |
| "createdAt": 0, | |
| "updatedAt": 0 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "feedback/message-put", | |
| "seq": 90, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "item": { | |
| "messageId": "{{message:1}}", | |
| "rating": "positive", | |
| "note": "The explanation is clear now.", | |
| "version": "{{feedback-version:2}}", | |
| "createdAt": 0, | |
| "updatedAt": 0 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "feedback/message-delete", | |
| "seq": 91, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "messageId": "{{message:1}}" | |
| } | |
| }, | |
| { | |
| "type": "turn/end", | |
| "seq": 92, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "reason": { | |
| "kind": "completed" | |
| } | |
| } | |
| } | |
| ], | |
| "notifications": [ | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 4, | |
| "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": 5, | |
| "time": 0, | |
| "data": { | |
| "turn": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 6, | |
| "time": 0, | |
| "data": { | |
| "target": "next-step", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 7, | |
| "time": 0, | |
| "data": { | |
| "target": "next-turn", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 8, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "system/message", | |
| "seq": 9, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "user/message", | |
| "seq": 10, | |
| "time": 0, | |
| "data": { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Serial agent creation completed." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "serial-created-fixture" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "user/message", | |
| "seq": 11, | |
| "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": "user/message", | |
| "seq": 12, | |
| "time": 0, | |
| "data": { | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt", | |
| "form": "snapshot", | |
| "sections": [ | |
| { | |
| "name": "sandbox:policy", | |
| "text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations." | |
| }, | |
| { | |
| "name": "approval:policy", | |
| "text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)." | |
| } | |
| ] | |
| }, | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "user/message", | |
| "seq": 13, | |
| "time": 0, | |
| "data": { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "image", | |
| "attachment": { | |
| "attachmentId": "sha256:b1ff9c8ea3a780bad09b346c423d2d0e46815926879b18e841d928376a946640", | |
| "mediaType": "image/png", | |
| "width": 1, | |
| "height": 1, | |
| "bytes": 69 | |
| } | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "python-snapshot-image-offload" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "request/header", | |
| "seq": 14, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "initial" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "request/context", | |
| "seq": 15, | |
| "time": 0, | |
| "data": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "contextWindow": 1000000 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session/title", | |
| "seq": 16, | |
| "time": 0, | |
| "data": { | |
| "title": "Run the advanced packaged-runtime snapsh", | |
| "messageSeqs": [ | |
| 11 | |
| ], | |
| "source": { | |
| "kind": "fallback" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/attempt", | |
| "seq": 17, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "error", | |
| "failure": { | |
| "code": "IMAGE_OFFLOAD_REQUIRED", | |
| "message": "authored image budget failure", | |
| "offloadImages": 1 | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "image/offload", | |
| "seq": 18, | |
| "time": 0, | |
| "data": { | |
| "targets": [ | |
| { | |
| "seq": 13, | |
| "imageIndexes": [ | |
| 0 | |
| ] | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "request/header", | |
| "seq": 19, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "series" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 20, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 19 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 21, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-define", | |
| "name": "cordis_define", | |
| "arguments": "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-define", | |
| "name": "cordis_define", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-define", | |
| "args": [ | |
| "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-define", | |
| "name": "cordis_define", | |
| "arguments": "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 22, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "callId": "advanced-define", | |
| "name": "cordis_define", | |
| "arguments": "{\"plugin\": {\"kind\": \"new\", \"idPrefix\": \"snap\"}, \"name\": \"Snapshot Double\", \"purpose\": \"Expose a deterministic doubling tool for executable snapshot verification.\", \"code\": {\"host\": \"return (ctx) => {\\n ctx.on('tools/pre-execute', (exec, next) => {\\n if (exec.name !== 'snapshot_double' || exec.arguments.value !== -1) return next()\\n return {\\n kind: 'deny',\\n reason: 'Auto review rejected tool \\\"snapshot_double\\\"; its body was not executed',\\n info: {\\n name: 'AutoReviewDeniedError', code: 'AUTO_REVIEW_DENIED',\\n reason: ' transport raw\\\\r\\\\nreason ',\\n },\\n }\\n })\\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": 23, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-define" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-define", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Defined snap-1/pkg-1 (Snapshot Double); it is not running yet. Use cordis_run to activate this Package." | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "meta": { | |
| "pluginId": "snap-1", | |
| "packageId": "pkg-1" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 22 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 24, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 25, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 26, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 25 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 27, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-run", | |
| "name": "cordis_run", | |
| "arguments": "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-run", | |
| "name": "cordis_run", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-run", | |
| "args": [ | |
| "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-run", | |
| "name": "cordis_run", | |
| "arguments": "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 28, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2, | |
| "callId": "advanced-run", | |
| "name": "cordis_run", | |
| "arguments": "{\"pluginId\": \"snap-1\", \"packageId\": \"pkg-1\", \"mode\": \"run\"}" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/result", | |
| "seq": 29, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-run" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-run", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "snap-1/pkg-1 is running (run-1)." | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "meta": { | |
| "pluginId": "snap-1", | |
| "packageId": "pkg-1", | |
| "pluginRunId": "run-1" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 28 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 30, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 2 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 31, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "system/message", | |
| "seq": 32, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 9 | |
| ], | |
| "surfaceOp": { | |
| "op": "replace", | |
| "startSeq": 9, | |
| "endSeq": 9 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "request/header", | |
| "seq": 33, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "snapshot_double", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "change", | |
| "startsSeries": true | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 34, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 33 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 35, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-code", | |
| "name": "run_code", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-code", | |
| "args": [ | |
| "{\"code\": \"return await tools.snapshot_double({ value: 21 })\", \"description\": \"Run the temporary Plugin tool\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 36, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "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/ptc-dispatch-start", | |
| "seq": 37, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-code", | |
| "parentCallId": "advanced-code", | |
| "subCallId": "advanced-code:ptc:1", | |
| "name": "snapshot_double", | |
| "arguments": { | |
| "value": 21 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/ptc-dispatch", | |
| "seq": 38, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-code", | |
| "parentCallId": "advanced-code", | |
| "subCallId": "advanced-code:ptc: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": 39, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3, | |
| "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": [ | |
| 36 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 40, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 3 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 41, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 42, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 41 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 43, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "arguments": "{\"value\": -1}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-native", | |
| "args": [ | |
| "{\"value\": -1}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "arguments": "{\"value\": -1}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 44, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4, | |
| "callId": "advanced-denied-native", | |
| "name": "snapshot_double", | |
| "arguments": "{\"value\": -1}" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/result", | |
| "seq": 45, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-denied-native" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-denied-native", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Error: Auto review rejected tool \"snapshot_double\"; its body was not executed" | |
| } | |
| ], | |
| "isError": true | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "error": { | |
| "name": "AutoReviewDeniedError", | |
| "code": "AUTO_REVIEW_DENIED", | |
| "reason": " transport raw\r\nreason " | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 44 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 46, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 4 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 47, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 48, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 47 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 49, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "arguments": "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-denied-ptc", | |
| "args": [ | |
| "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "arguments": "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 50, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5, | |
| "callId": "advanced-denied-ptc", | |
| "name": "run_code", | |
| "arguments": "{\"code\": \"try { await tools.snapshot_double({ value: -1 }) } catch (error) { return error.message }\", \"description\": \"Catch a structured inner tool denial\"}" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/ptc-dispatch-start", | |
| "seq": 51, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-denied-ptc", | |
| "parentCallId": "advanced-denied-ptc", | |
| "subCallId": "advanced-denied-ptc:ptc:1", | |
| "name": "snapshot_double", | |
| "arguments": { | |
| "value": -1 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/ptc-dispatch", | |
| "seq": 52, | |
| "time": 0, | |
| "data": { | |
| "rootCallId": "advanced-denied-ptc", | |
| "parentCallId": "advanced-denied-ptc", | |
| "subCallId": "advanced-denied-ptc:ptc:1", | |
| "name": "snapshot_double", | |
| "arguments": { | |
| "value": -1 | |
| }, | |
| "isError": true, | |
| "error": { | |
| "name": "AutoReviewDeniedError", | |
| "code": "AUTO_REVIEW_DENIED", | |
| "reason": " transport raw\r\nreason " | |
| }, | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Error: Auto review rejected tool \"snapshot_double\"; its body was not executed" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/result", | |
| "seq": 53, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-denied-ptc" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-denied-ptc", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Auto review rejected tool \"snapshot_double\"; its body was not executed" | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 50 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 54, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 5 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 55, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 56, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 55 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 57, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-direct-child", | |
| "name": "subagent", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-direct-child", | |
| "args": [ | |
| "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 58, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6, | |
| "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": 3, | |
| "time": 0, | |
| "data": { | |
| "target": "next-step", | |
| "start": 0, | |
| "inserted": [ | |
| { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Serial agent creation completed." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "serial-created-fixture" | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 4, | |
| "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": 5, | |
| "time": 0, | |
| "data": { | |
| "turn": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 6, | |
| "time": 0, | |
| "data": { | |
| "target": "next-step", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 7, | |
| "time": 0, | |
| "data": { | |
| "target": "next-turn", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "subagent/catalog", | |
| "seq": 59, | |
| "time": 0, | |
| "data": { | |
| "version": 0, | |
| "childId": "{{child-1}}", | |
| "childCreatedAt": 0, | |
| "mode": "one-shot", | |
| "label": "Check direct child" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "subagent/descriptor", | |
| "seq": 8, | |
| "time": 0, | |
| "data": { | |
| "version": 3, | |
| "mode": "one-shot", | |
| "provider": "spawn", | |
| "label": "Check direct child" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 9, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "system/message", | |
| "seq": 10, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "user/message", | |
| "seq": 11, | |
| "time": 0, | |
| "data": { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Serial agent creation completed." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "serial-created-fixture" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "user/message", | |
| "seq": 12, | |
| "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": "user/message", | |
| "seq": 13, | |
| "time": 0, | |
| "data": { | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`).\n\nYou are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt", | |
| "form": "snapshot", | |
| "sections": [ | |
| { | |
| "name": "sandbox:policy", | |
| "text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations." | |
| }, | |
| { | |
| "name": "approval:policy", | |
| "text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)." | |
| }, | |
| { | |
| "name": "subagent:delegation", | |
| "text": "You are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it." | |
| } | |
| ] | |
| }, | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "request/header", | |
| "seq": 14, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "reasoningEffort": "high", | |
| "maxTokens": 256000 | |
| }, | |
| "adapterDefaults": { | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "snapshot_double", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "initial" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "request/context", | |
| "seq": 15, | |
| "time": 0, | |
| "data": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "contextWindow": 1000000 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "session/title", | |
| "seq": 16, | |
| "time": 0, | |
| "data": { | |
| "title": "Reply with exactly DIRECT_CHILD_OK and", | |
| "messageSeqs": [ | |
| 12 | |
| ], | |
| "source": { | |
| "kind": "fallback" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 17, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{child-1}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 16 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 18, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "text" | |
| } | |
| }, | |
| { | |
| "type": "text-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "texts": [ | |
| "DIRECT_CHILD_OK" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "text", | |
| "text": "DIRECT_CHILD_OK" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "stop" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 19, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-1}}", | |
| "event": { | |
| "type": "turn/end", | |
| "seq": 20, | |
| "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": 60, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6, | |
| "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": [ | |
| 58 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 61, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 6 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 62, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 63, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 62 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 64, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-workflow", | |
| "name": "workflow", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-workflow", | |
| "args": [ | |
| "{\"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": "chunk", | |
| "time": 0, | |
| "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": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 65, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7, | |
| "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": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool-workflow/run-start", | |
| "seq": 66, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "name": "advanced-exe-snapshot" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "subagent.started", | |
| "payload": { | |
| "parentSessionId": "{{parent}}", | |
| "childSessionId": "{{child-2}}" | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 3, | |
| "time": 0, | |
| "data": { | |
| "target": "next-step", | |
| "start": 0, | |
| "inserted": [ | |
| { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Serial agent creation completed." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "serial-created-fixture" | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 4, | |
| "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": 5, | |
| "time": 0, | |
| "data": { | |
| "turn": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 6, | |
| "time": 0, | |
| "data": { | |
| "target": "next-step", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "agent/inbox/spliced", | |
| "seq": 7, | |
| "time": 0, | |
| "data": { | |
| "target": "next-turn", | |
| "start": 0, | |
| "removedCount": 1, | |
| "inserted": [] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "subagent/catalog", | |
| "seq": 67, | |
| "time": 0, | |
| "data": { | |
| "version": 0, | |
| "childId": "{{child-2}}", | |
| "childCreatedAt": 0, | |
| "mode": "one-shot" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool-workflow/agent-start", | |
| "seq": 68, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "seq": 1, | |
| "label": "workflow-child", | |
| "phase": "Delegate", | |
| "childId": "{{child-2}}" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "subagent/descriptor", | |
| "seq": 8, | |
| "time": 0, | |
| "data": { | |
| "version": 3, | |
| "mode": "one-shot", | |
| "provider": "spawn" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 9, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "system/message", | |
| "seq": 10, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "user/message", | |
| "seq": 11, | |
| "time": 0, | |
| "data": { | |
| "id": "{{messageId}}", | |
| "role": "user", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Serial agent creation completed." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "serial-created-fixture" | |
| } | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "user/message", | |
| "seq": 12, | |
| "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": "user/message", | |
| "seq": 13, | |
| "time": 0, | |
| "data": { | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`).\n\nYou are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it." | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt", | |
| "form": "snapshot", | |
| "sections": [ | |
| { | |
| "name": "sandbox:policy", | |
| "text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations." | |
| }, | |
| { | |
| "name": "approval:policy", | |
| "text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)." | |
| }, | |
| { | |
| "name": "subagent:delegation", | |
| "text": "You are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it." | |
| } | |
| ] | |
| }, | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "request/header", | |
| "seq": 14, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "reasoningEffort": "high", | |
| "maxTokens": 256000 | |
| }, | |
| "adapterDefaults": { | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "snapshot_double", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "initial" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "request/context", | |
| "seq": 15, | |
| "time": 0, | |
| "data": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "contextWindow": 1000000 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "session/title", | |
| "seq": 16, | |
| "time": 0, | |
| "data": { | |
| "title": "Reply with exactly WORKFLOW_CHILD_OK and", | |
| "messageSeqs": [ | |
| 12 | |
| ], | |
| "source": { | |
| "kind": "fallback" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 17, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{child-2}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 16 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 18, | |
| "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", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "text" | |
| } | |
| }, | |
| { | |
| "type": "text-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "texts": [ | |
| "WORKFLOW_CHILD_OK" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "text", | |
| "text": "WORKFLOW_CHILD_OK" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "stop" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 19, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 1 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{child-2}}", | |
| "event": { | |
| "type": "turn/end", | |
| "seq": 20, | |
| "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-workflow/agent-end", | |
| "seq": 69, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "seq": 1, | |
| "outcome": "completed" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool-workflow/run-end", | |
| "seq": 70, | |
| "time": 0, | |
| "data": { | |
| "runId": "{{workflow-run}}", | |
| "stopReason": "completed" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/result", | |
| "seq": 71, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7, | |
| "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": [ | |
| 65 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 72, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 7 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 73, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 74, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 73 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 75, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "tool-call", | |
| "id": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "arguments": "{\"pluginId\": \"snap-1\"}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{messageId}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "tool-call" | |
| } | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "args": [ | |
| "" | |
| ] | |
| }, | |
| { | |
| "type": "tool-call-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "id": "advanced-undefine", | |
| "args": [ | |
| "{\"pluginId\": \"snap-1\"}" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "tool-call", | |
| "id": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "arguments": "{\"pluginId\": \"snap-1\"}" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "tool-calls" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "tool-call" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/call", | |
| "seq": 76, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8, | |
| "callId": "advanced-undefine", | |
| "name": "cordis_undefine", | |
| "arguments": "{\"pluginId\": \"snap-1\"}" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "tool/result", | |
| "seq": 77, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8, | |
| "message": { | |
| "source": { | |
| "kind": "tool", | |
| "callId": "advanced-undefine" | |
| }, | |
| "content": [ | |
| { | |
| "type": "tool-result", | |
| "toolCallId": "advanced-undefine", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "Removed dynamic Plugin snap-1 and all of its Packages." | |
| } | |
| ], | |
| "isError": false | |
| } | |
| ], | |
| "role": "user", | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 76 | |
| ], | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 78, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 8 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/start", | |
| "seq": 79, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "system/message", | |
| "seq": 80, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9, | |
| "message": { | |
| "role": "system", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "{{system}}" | |
| } | |
| ], | |
| "source": { | |
| "kind": "plugin", | |
| "plugin": "@deepseek-ai/dsh-system-prompt" | |
| }, | |
| "id": "{{messageId}}" | |
| } | |
| }, | |
| "sourceEventSeqs": [ | |
| 32 | |
| ], | |
| "surfaceOp": { | |
| "op": "replace", | |
| "startSeq": 32, | |
| "endSeq": 32 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "request/header", | |
| "seq": 81, | |
| "time": 0, | |
| "data": { | |
| "header": { | |
| "config": { | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "maxTokens": 256000, | |
| "reasoningEffort": "high" | |
| }, | |
| "adapterDefaults": { | |
| "reasoningEffort": true, | |
| "maxTokens": true | |
| }, | |
| "tools": [ | |
| "cordis_define", | |
| "cordis_inspect_list", | |
| "cordis_inspect_query", | |
| "cordis_inspect_self", | |
| "cordis_run", | |
| "cordis_stop", | |
| "cordis_undefine", | |
| "job_kill", | |
| "job_list", | |
| "job_output", | |
| "run_code", | |
| "subagent", | |
| "workflow" | |
| ] | |
| }, | |
| "reason": "change", | |
| "startsSeries": true | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "session-log-deepseek/delivery-accepted", | |
| "seq": 82, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "sessionFormatVersion": 3, | |
| "throughSeq": 81 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "assistant/message", | |
| "seq": 83, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9, | |
| "message": { | |
| "role": "assistant", | |
| "content": [ | |
| { | |
| "type": "text", | |
| "text": "ADVANCED_EXECUTABLE_OK" | |
| } | |
| ], | |
| "source": { | |
| "kind": "model", | |
| "provider": "deepseek-official", | |
| "model": "smoke-model", | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| }, | |
| "id": "{{message:1}}" | |
| }, | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| }, | |
| "stream": [ | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-start", | |
| "index": 0, | |
| "blockType": "text" | |
| } | |
| }, | |
| { | |
| "type": "text-chunks", | |
| "time0": 0, | |
| "index": 0, | |
| "dt": [], | |
| "texts": [ | |
| "ADVANCED_EXECUTABLE_OK" | |
| ] | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "block-end", | |
| "index": 0, | |
| "block": { | |
| "type": "text", | |
| "text": "ADVANCED_EXECUTABLE_OK" | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "usage", | |
| "usage": { | |
| "inputTokens": 3, | |
| "outputTokens": 3, | |
| "totalTokens": 6 | |
| } | |
| } | |
| }, | |
| { | |
| "type": "chunk", | |
| "time": 0, | |
| "chunk": { | |
| "type": "finish", | |
| "reason": { | |
| "kind": "stop" | |
| }, | |
| "replayState": { | |
| "response": { | |
| "kind": "deepseek-messages", | |
| "version": 1, | |
| "model": "smoke-model" | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "text" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "surfaceOp": "append" | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "step/end", | |
| "seq": 84, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "step": 9 | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "command/run", | |
| "seq": 85, | |
| "time": 0, | |
| "data": { | |
| "commandId": "{{command:1}}", | |
| "name": "feedback", | |
| "source": { | |
| "kind": "user" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "feedback/record", | |
| "seq": 86, | |
| "time": 0, | |
| "data": { | |
| "text": "The session needs a clearer explanation." | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "command/done", | |
| "seq": 87, | |
| "time": 0, | |
| "data": { | |
| "commandId": "{{command:1}}", | |
| "kind": "success", | |
| "text": "Feedback recorded for session {{parent}}\nAnonymous user: {{anonymous-user}}." | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "feedback/record", | |
| "seq": 88, | |
| "time": 0, | |
| "data": { | |
| "category": "other" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "feedback/message-put", | |
| "seq": 89, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "item": { | |
| "messageId": "{{message:1}}", | |
| "rating": "negative", | |
| "note": "Explain the result.", | |
| "category": "task-result", | |
| "version": "{{feedback-version:1}}", | |
| "createdAt": 0, | |
| "updatedAt": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "feedback/message-put", | |
| "seq": 90, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "item": { | |
| "messageId": "{{message:1}}", | |
| "rating": "positive", | |
| "note": "The explanation is clear now.", | |
| "version": "{{feedback-version:2}}", | |
| "createdAt": 0, | |
| "updatedAt": 0 | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "feedback/message-delete", | |
| "seq": 91, | |
| "time": 0, | |
| "data": { | |
| "sessionId": "{{parent}}", | |
| "messageId": "{{message:1}}" | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.event", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "event": { | |
| "type": "turn/end", | |
| "seq": 92, | |
| "time": 0, | |
| "data": { | |
| "turn": 1, | |
| "reason": { | |
| "kind": "completed" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "method": "session.status", | |
| "payload": { | |
| "sessionId": "{{parent}}", | |
| "status": "idle" | |
| } | |
| } | |
| ] | |
| } | |