Viewing files at commit 13de5e5480b3Commit detailsView latest

Browse files
tests/fixtures/claude_stream.jsonl NDJSON records · 1.4 KB
1Linecompact_metadatamessagesession_idsubtypetype
21golden-claudeinitsystem
32{"content":[{"id":"t1","input":{"command":"git stats"},"name":"Bash","type":"tool_use"}],"role":"assistant","usage":{"cache_read_input_tokens":0,"input_tokens":1000,"output_tokens":50}}assistant
43{"content":[{"content":"git: 'stats' is not a git command. See 'git --help'.","is_error":true,"tool_use_id":"t1","type":"tool_result"}],"role":"user"}user
54{"content":[{"id":"t2","input":{"command":"git status --short"},"name":"Bash","type":"tool_use"},{"id":"t3","input":{"file_path":"app/pricing.py"},"name":"Read","type":"tool_use"}],"role":"assistant","usage":{"cache_read_input_tokens":900,"input_tokens":1200,"output_tokens":80}}assistant
65{"content":[{"content":" M app/pricing.py","is_error":false,"tool_use_id":"t2","type":"tool_result"},{"content":"def apply_discount...","is_error":false,"tool_use_id":"t3","type":"tool_result"}],"role":"user"}user
76{"trigger":"auto"}compact_boundarysystem
87{"content":[{"text":"Done. The fix is committed.","type":"text"}],"role":"assistant","usage":{"cache_read_input_tokens":1100,"input_tokens":1300,"output_tokens":60}}assistant