2026-07-21 09:57:36 +08:00
{ "type" : "session" , "version" : 0 , "id" : "{{sessionId}}" , "createdAt" : 0 , "cwd" : "{{cwd}}" , "delegationDepth" : 0 }
2026-07-17 16:32:34 +08:00
{ "type" : "turn/start" , "seq" : 0 , "time" : 0 , "data" : { "turn" : 1 , "trigger" : { "kind" : "message" , "source" : { "kind" : "user" } } } }
2026-07-30 22:15:34 +08:00
{ "type" : "user/message" , "seq" : 1 , "time" : 0 , "data" : { "content" : [ { "type" : "text" , "text" : "Use the lsp tool exactly once to find the definition at subject.ts line 1 character 7, then reply with exactly DONE." } ] , "source" : { "kind" : "user" } , "role" : "user" , "id" : "3cfb1d28-6df5-49f5-ad85-d331d6da34f1" } , "surfaceOp" : "append" }
2026-07-21 22:59:41 +08:00
{ "type" : "session/title" , "seq" : 2 , "time" : 0 , "data" : { "title" : "Use the lsp tool exactly" , "messageSeqs" : [ 1 ] , "source" : { "kind" : "fallback" } } }
2026-07-30 22:15:34 +08:00
{ "type" : "user/message" , "seq" : 3 , "time" : 1785417665723 , "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 the write and edit tools or one-shot bash commands.\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" } , "role" : "user" , "id" : "d460db15-304b-44b4-9523-c1754d40d4fc" } , "surfaceOp" : "append" }
{ "type" : "step/start" , "seq" : 4 , "time" : 1785417665723 , "data" : { "turn" : 1 , "step" : 1 } }
{ "type" : "request/header" , "seq" : 5 , "time" : 1785417665724 , "data" : { "header" : { "config" : { "provider" : "deepseek" , "model" : "deepseek-v4-pro" } , "system" : "{{system}}" , "tools" : "{{tools}}" } , "reason" : "initial" } }
{ "type" : "assistant/chunk" , "seq" : 6 , "time" : 0 , "data" : { "turn" : 1 , "step" : 1 , "chunk" : { "type" : "block-start" , "index" : 0 , "blockType" : "tool-call" } } }
{ "type" : "assistant/chunk" , "seq" : 7 , "time" : 0 , "data" : { "turn" : 1 , "step" : 1 , "chunk" : { "type" : "tool-call-delta" , "index" : 0 , "id" : "call_lsp_definition" , "name" : "lsp" , "argumentsDelta" : "{\"operation\":\"goToDefinition\",\"file_path\":\"subject.ts\",\"line\":1,\"character\":7}" } } }
{ "type" : "assistant/chunk" , "seq" : 8 , "time" : 0 , "data" : { "turn" : 1 , "step" : 1 , "chunk" : { "type" : "block-end" , "index" : 0 , "block" : { "type" : "tool-call" , "id" : "call_lsp_definition" , "name" : "lsp" , "arguments" : "{\"operation\":\"goToDefinition\",\"file_path\":\"subject.ts\",\"line\":1,\"character\":7}" } } } }
{ "type" : "assistant/chunk" , "seq" : 9 , "time" : 0 , "data" : { "turn" : 1 , "step" : 1 , "chunk" : { "type" : "usage" , "usage" : { "inputTokens" : 10 , "outputTokens" : 5 } } } }
{ "type" : "assistant/chunk" , "seq" : 10 , "time" : 1785417665725 , "data" : { "turn" : 1 , "step" : 1 , "chunk" : { "type" : "finish" , "reason" : { "kind" : "tool-calls" } } } }
{ "type" : "assistant/message" , "seq" : 11 , "time" : 1785417665725 , "data" : { "turn" : 1 , "step" : 1 , "message" : { "role" : "assistant" , "content" : [ { "type" : "tool-call" , "id" : "call_lsp_definition" , "name" : "lsp" , "arguments" : "{\"operation\":\"goToDefinition\",\"file_path\":\"subject.ts\",\"line\":1,\"character\":7}" } ] , "source" : { "kind" : "model" , "provider" : "deepseek" , "model" : "deepseek-v4-pro" } , "id" : "d69db476-337c-46dc-aaa3-eb2159dbc899" } , "usage" : { "inputTokens" : 10 , "outputTokens" : 5 } } , "sourceEventSeqs" : [ 6 , 7 , 8 , 9 , 10 ] , "surfaceOp" : "append" }
{ "type" : "tool/call" , "seq" : 12 , "time" : 1785417665725 , "data" : { "turn" : 1 , "step" : 1 , "callId" : "call_lsp_definition" , "name" : "lsp" , "arguments" : "{\"operation\":\"goToDefinition\",\"file_path\":\"subject.ts\",\"line\":1,\"character\":7}" } }
{ "type" : "tool/result" , "seq" : 13 , "time" : 1785417665757 , "data" : { "turn" : 1 , "step" : 1 , "message" : { "source" : { "kind" : "tool" , "callId" : "call_lsp_definition" } , "content" : [ { "type" : "tool-result" , "toolCallId" : "call_lsp_definition" , "content" : [ { "type" : "text" , "text" : "subject.ts:1:7\n… 1 more location omitted (limit 1)." } ] , "isError" : false } ] , "role" : "user" , "id" : "e73eb3d2-2755-4b68-a129-7db6facdbbcc" } } , "sourceEventSeqs" : [ 12 ] , "surfaceOp" : "append" }
{ "type" : "step/end" , "seq" : 14 , "time" : 1785417665758 , "data" : { "turn" : 1 , "step" : 1 } }
{ "type" : "step/start" , "seq" : 15 , "time" : 1785417665767 , "data" : { "turn" : 1 , "step" : 2 } }
{ "type" : "assistant/chunk" , "seq" : 16 , "time" : 0 , "data" : { "turn" : 1 , "step" : 2 , "chunk" : { "type" : "block-start" , "index" : 0 , "blockType" : "text" } } }
{ "type" : "assistant/chunk" , "seq" : 17 , "time" : 0 , "data" : { "turn" : 1 , "step" : 2 , "chunk" : { "type" : "text-delta" , "index" : 0 , "text" : "DONE" } } }
{ "type" : "assistant/chunk" , "seq" : 18 , "time" : 0 , "data" : { "turn" : 1 , "step" : 2 , "chunk" : { "type" : "block-end" , "index" : 0 , "block" : { "type" : "text" , "text" : "DONE" } } } }
{ "type" : "assistant/chunk" , "seq" : 19 , "time" : 0 , "data" : { "turn" : 1 , "step" : 2 , "chunk" : { "type" : "usage" , "usage" : { "inputTokens" : 10 , "outputTokens" : 2 } } } }
{ "type" : "assistant/chunk" , "seq" : 20 , "time" : 1785417665768 , "data" : { "turn" : 1 , "step" : 2 , "chunk" : { "type" : "finish" , "reason" : { "kind" : "stop" } } } }
{ "type" : "assistant/message" , "seq" : 21 , "time" : 1785417665768 , "data" : { "turn" : 1 , "step" : 2 , "message" : { "role" : "assistant" , "content" : [ { "type" : "text" , "text" : "DONE" } ] , "source" : { "kind" : "model" , "provider" : "deepseek" , "model" : "deepseek-v4-pro" } , "id" : "c358ab7d-006a-416b-8c1c-a8f00395ef52" } , "usage" : { "inputTokens" : 10 , "outputTokens" : 2 } } , "sourceEventSeqs" : [ 16 , 17 , 18 , 19 , 20 ] , "surfaceOp" : "append" }
{ "type" : "step/end" , "seq" : 22 , "time" : 1785417665769 , "data" : { "turn" : 1 , "step" : 2 } }
{ "type" : "turn/end" , "seq" : 23 , "time" : 1785417665769 , "data" : { "turn" : 1 , "reason" : { "kind" : "completed" } } }