session.v2.jsonl 12 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {"type":"session","version":2,"id":"{{session:1}}","createdAt":0,"cwd":"{{cwd}}","isSeeded":false,"delegationDepth":0}
  2. {"type":"permission/preset","data":{"preset":"danger-full-access"}}
  3. {"type":"sandbox/mode","data":{"mode":"danger-full-access"}}
  4. {"type":"approval/policy","data":{"policy":"never"}}
  5. {"type":"agent/inbox/spliced","data":{"target":"next-turn","start":0,"inserted":[{"content":[{"type":"text","text":"Write the todo list 'watch the kettle boil' five times in a row without changing it, then reply DONE."}],"source":{"kind":"user"},"role":"user","id":"{{message:1}}"}]}}
  6. {"type":"turn/start","data":{"turn":1}}
  7. {"type":"agent/inbox/spliced","data":{"target":"next-turn","start":0,"removedCount":1,"inserted":[]}}
  8. {"type":"step/start","data":{"turn":1,"step":1}}
  9. {"type":"user/message","data":{"content":[{"type":"text","text":"Write the todo list 'watch the kettle boil' five times in a row without changing it, then reply DONE."}],"source":{"kind":"user"},"role":"user","id":"{{message:1}}"},"surfaceOp":"append"}
  10. {"type":"user/message","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":"{{message:2}}"},"surfaceOp":"append"}
  11. {"type":"session/title","data":{"title":"Write the todo list 'watch","messageSeqs":[7],"source":{"kind":"fallback"}}}
  12. {"type":"request/header","data":{"header":{"config":{"provider":"deepseek-official","model":"deepseek-v4-flash"},"system":"{{system}}","tools":"{{tools}}"},"reason":"initial"}}
  13. {"type":"request/context","data":{"provider":"deepseek-official","model":"deepseek-v4-flash"}}
  14. {"type":"assistant/message","data":{"turn":1,"step":1,"message":{"role":"assistant","content":[{"type":"tool-call","id":"call_1","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}],"source":{"kind":"model","provider":"deepseek-official","model":"deepseek-v4-flash"},"id":"{{message:3}}"},"usage":{"inputTokens":10,"outputTokens":5},"stream":[{"type":"chunk","time":1788233520144,"chunk":{"type":"block-start","index":0,"blockType":"tool-call"}},{"type":"tool-call-chunks","time0":1788233520144,"index":0,"dt":[],"id":"call_1","name":"todo_write","args":["{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"]},{"type":"chunk","time":1788233520144,"chunk":{"type":"block-end","index":0,"block":{"type":"tool-call","id":"call_1","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}},{"type":"chunk","time":1788233520144,"chunk":{"type":"usage","usage":{"inputTokens":10,"outputTokens":5}}},{"type":"chunk","time":1788233520144,"chunk":{"type":"finish","reason":{"kind":"tool-calls"}}}]},"surfaceOp":"append"}
  15. {"type":"tool/call","data":{"turn":1,"step":1,"callId":"call_1","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}
  16. {"type":"todo/write","data":{"todos":[{"content":"watch the kettle boil","status":"in_progress"}]}}
  17. {"type":"tool/result","data":{"turn":1,"step":1,"message":{"source":{"kind":"tool","callId":"call_1"},"content":[{"type":"tool-result","toolCallId":"call_1","content":[{"type":"text","text":"Updated todo list: 0 pending, 1 in progress, 0 completed."}],"isError":false}],"role":"user","id":"{{message:4}}"}},"sourceEventSeqs":[13],"surfaceOp":"append"}
  18. {"type":"step/end","data":{"turn":1,"step":1}}
  19. {"type":"step/start","data":{"turn":1,"step":2}}
  20. {"type":"assistant/message","data":{"turn":1,"step":2,"message":{"role":"assistant","content":[{"type":"tool-call","id":"call_3","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}],"source":{"kind":"model","provider":"deepseek-official","model":"deepseek-v4-flash"},"id":"{{message:5}}"},"usage":{"inputTokens":10,"outputTokens":5},"stream":[{"type":"chunk","time":1788233520164,"chunk":{"type":"block-start","index":0,"blockType":"tool-call"}},{"type":"tool-call-chunks","time0":1788233520164,"index":0,"dt":[],"id":"call_3","name":"todo_write","args":["{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"]},{"type":"chunk","time":1788233520164,"chunk":{"type":"block-end","index":0,"block":{"type":"tool-call","id":"call_3","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}},{"type":"chunk","time":1788233520164,"chunk":{"type":"usage","usage":{"inputTokens":10,"outputTokens":5}}},{"type":"chunk","time":1788233520164,"chunk":{"type":"finish","reason":{"kind":"tool-calls"}}}]},"surfaceOp":"append"}
  21. {"type":"tool/call","data":{"turn":1,"step":2,"callId":"call_3","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}
  22. {"type":"todo/write","data":{"todos":[{"content":"watch the kettle boil","status":"in_progress"}]}}
  23. {"type":"tool/result","data":{"turn":1,"step":2,"message":{"source":{"kind":"tool","callId":"call_3"},"content":[{"type":"tool-result","toolCallId":"call_3","content":[{"type":"text","text":"Updated todo list: 0 pending, 1 in progress, 0 completed."}],"isError":false}],"role":"user","id":"{{message:6}}"}},"sourceEventSeqs":[19],"surfaceOp":"append"}
  24. {"type":"step/end","data":{"turn":1,"step":2}}
  25. {"type":"step/start","data":{"turn":1,"step":3}}
  26. {"type":"assistant/message","data":{"turn":1,"step":3,"message":{"role":"assistant","content":[{"type":"tool-call","id":"call_4","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}],"source":{"kind":"model","provider":"deepseek-official","model":"deepseek-v4-flash"},"id":"{{message:7}}"},"usage":{"inputTokens":10,"outputTokens":5},"stream":[{"type":"chunk","time":1788233520182,"chunk":{"type":"block-start","index":0,"blockType":"tool-call"}},{"type":"tool-call-chunks","time0":1788233520182,"index":0,"dt":[],"id":"call_4","name":"todo_write","args":["{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"]},{"type":"chunk","time":1788233520182,"chunk":{"type":"block-end","index":0,"block":{"type":"tool-call","id":"call_4","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}},{"type":"chunk","time":1788233520182,"chunk":{"type":"usage","usage":{"inputTokens":10,"outputTokens":5}}},{"type":"chunk","time":1788233520182,"chunk":{"type":"finish","reason":{"kind":"tool-calls"}}}]},"surfaceOp":"append"}
  27. {"type":"tool/call","data":{"turn":1,"step":3,"callId":"call_4","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}
  28. {"type":"todo/write","data":{"todos":[{"content":"watch the kettle boil","status":"in_progress"}]}}
  29. {"type":"tool/result","data":{"turn":1,"step":3,"message":{"source":{"kind":"tool","callId":"call_4"},"content":[{"type":"tool-result","toolCallId":"call_4","content":[{"type":"text","text":"Updated todo list: 0 pending, 1 in progress, 0 completed."}],"isError":false}],"role":"user","id":"{{message:8}}"}},"sourceEventSeqs":[25],"surfaceOp":"append"}
  30. {"type":"agent/inbox/spliced","data":{"target":"next-step","start":0,"inserted":[{"content":[{"type":"text","text":"You are repeating the exact same tool call with identical arguments. Carefully analyze the previous result before calling again: if the task is not complete, try a different approach or different arguments instead of repeating the call."}],"source":{"kind":"plugin","plugin":"repeat-tool-reminder","form":"notice","summary":"todo_write × 3"},"role":"user","id":"{{message:9}}"}]}}
  31. {"type":"step/end","data":{"turn":1,"step":3}}
  32. {"type":"agent/inbox/spliced","data":{"target":"next-step","start":0,"removedCount":1,"inserted":[]}}
  33. {"type":"step/start","data":{"turn":1,"step":4}}
  34. {"type":"user/message","data":{"content":[{"type":"text","text":"You are repeating the exact same tool call with identical arguments. Carefully analyze the previous result before calling again: if the task is not complete, try a different approach or different arguments instead of repeating the call."}],"source":{"kind":"plugin","plugin":"repeat-tool-reminder","form":"notice","summary":"todo_write × 3"},"role":"user","id":"{{message:9}}"},"surfaceOp":"append"}
  35. {"type":"assistant/message","data":{"turn":1,"step":4,"message":{"role":"assistant","content":[{"type":"tool-call","id":"call_5","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}],"source":{"kind":"model","provider":"deepseek-official","model":"deepseek-v4-flash"},"id":"{{message:10}}"},"usage":{"inputTokens":10,"outputTokens":5},"stream":[{"type":"chunk","time":1788233520204,"chunk":{"type":"block-start","index":0,"blockType":"tool-call"}},{"type":"tool-call-chunks","time0":1788233520204,"index":0,"dt":[],"id":"call_5","name":"todo_write","args":["{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"]},{"type":"chunk","time":1788233520204,"chunk":{"type":"block-end","index":0,"block":{"type":"tool-call","id":"call_5","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}},{"type":"chunk","time":1788233520204,"chunk":{"type":"usage","usage":{"inputTokens":10,"outputTokens":5}}},{"type":"chunk","time":1788233520204,"chunk":{"type":"finish","reason":{"kind":"tool-calls"}}}]},"surfaceOp":"append"}
  36. {"type":"tool/call","data":{"turn":1,"step":4,"callId":"call_5","name":"todo_write","arguments":"{\"todos\": [{\"content\": \"watch the kettle boil\", \"status\": \"in_progress\"}]}"}}
  37. {"type":"todo/write","data":{"todos":[{"content":"watch the kettle boil","status":"in_progress"}]}}
  38. {"type":"tool/result","data":{"turn":1,"step":4,"message":{"source":{"kind":"tool","callId":"call_5"},"content":[{"type":"tool-result","toolCallId":"call_5","content":[{"type":"text","text":"Updated todo list: 0 pending, 1 in progress, 0 completed."}],"isError":false}],"role":"user","id":"{{message:11}}"}},"sourceEventSeqs":[34],"surfaceOp":"append"}
  39. {"type":"step/end","data":{"turn":1,"step":4}}
  40. {"type":"step/start","data":{"turn":1,"step":5}}
  41. {"type":"assistant/message","data":{"turn":1,"step":5,"message":{"role":"assistant","content":[{"type":"text","text":"DONE."}],"source":{"kind":"model","provider":"deepseek-official","model":"deepseek-v4-flash"},"id":"{{message:12}}"},"usage":{"inputTokens":10,"outputTokens":3},"stream":[{"type":"chunk","time":1788233520223,"chunk":{"type":"block-start","index":0,"blockType":"text"}},{"type":"text-chunks","time0":1788233520223,"index":0,"dt":[],"texts":["DONE."]},{"type":"chunk","time":1788233520223,"chunk":{"type":"block-end","index":0,"block":{"type":"text","text":"DONE."}}},{"type":"chunk","time":1788233520223,"chunk":{"type":"usage","usage":{"inputTokens":10,"outputTokens":3}}},{"type":"chunk","time":1788233520223,"chunk":{"type":"finish","reason":{"kind":"stop"}}}]},"surfaceOp":"append"}
  42. {"type":"step/end","data":{"turn":1,"step":5}}
  43. {"type":"turn/end","data":{"turn":1,"reason":{"kind":"completed"}}}