fix(stage): export settled Pi native sessions as escaped HTML
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
{"type":"session","version":3,"id":"b59a48a7-47bf-483f-9eac-78894d015648","timestamp":"2026-10-20T10:00:00.000Z","cwd":"/work/project"}
|
||||
{"type":"model_change","id":"model001","parentId":null,"timestamp":"2026-10-20T10:00:00.001Z","provider":"anthropic","modelId":"claude-sonnet-4-6"}
|
||||
{"type":"message","id":"user0001","parentId":"model001","timestamp":"2026-10-20T10:00:01.000Z","message":{"role":"user","content":"Inspect <script>alert(1)</script> & report","timestamp":1792490401000}}
|
||||
{"type":"message","id":"assist01","parentId":"user0001","timestamp":"2026-10-20T10:00:02.000Z","message":{"role":"assistant","content":[{"type":"thinking","thinking":"Need actual tool evidence <private>","thinkingSignature":"opaque-signature"},{"type":"toolCall","id":"call_001","name":"bash","arguments":{"command":"cat missing.txt"}}],"api":"anthropic-messages","provider":"anthropic","model":"claude-sonnet-4-6","usage":{"input":10,"output":8,"cacheRead":0,"cacheWrite":0,"totalTokens":18,"cost":{"input":0,"output":0,"cacheRead":0,"cacheWrite":0,"total":0}},"stopReason":"toolUse","timestamp":1792490402000}}
|
||||
{"type":"message","id":"result01","parentId":"assist01","timestamp":"2026-10-20T10:00:03.000Z","message":{"role":"toolResult","toolCallId":"call_001","toolName":"bash","content":[{"type":"text","text":"cat: missing.txt: No such file <failure>"}],"details":{"exitCode":1},"isError":true,"timestamp":1792490403000}}
|
||||
{"type":"message","id":"assist02","parentId":"result01","timestamp":"2026-10-20T10:00:04.000Z","message":{"role":"assistant","content":[{"type":"text","text":"The file is missing & the tool failed."}],"api":"anthropic-messages","provider":"anthropic","model":"claude-sonnet-4-6","stopReason":"error","errorMessage":"provider failed <upstream>","timestamp":1792490404000}}
|
||||
Reference in New Issue
Block a user