- v1 envelope across browser/daemon/plugin - SessionState model + reducer rules (pi events + pi2:* derived events) - fixtures for basic turn, queue/todo/attention and abort/exit - 9 conformance tests pinning the reducer
54 lines
929 B
JSON
54 lines
929 B
JSON
{
|
|
"sessionId": "error-abort-compaction",
|
|
"workspaceId": "ws-fixture",
|
|
"cwd": "/repo",
|
|
"name": null,
|
|
"status": "exited",
|
|
"flags": {
|
|
"attention": false,
|
|
"done": false,
|
|
"error": true
|
|
},
|
|
"model": {
|
|
"provider": "anthropic",
|
|
"id": "claude-sonnet-4-5"
|
|
},
|
|
"thinking": "off",
|
|
"usage": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0,
|
|
"cost": 0
|
|
},
|
|
"contextUsage": null,
|
|
"queue": [],
|
|
"todos": [],
|
|
"tasks": [],
|
|
"batches": [],
|
|
"subagents": [],
|
|
"attention": [],
|
|
"entries": [
|
|
{
|
|
"id": "m1",
|
|
"role": "assistant",
|
|
"ts": 3002,
|
|
"blocks": [
|
|
{
|
|
"type": "text",
|
|
"text": "partial answer"
|
|
},
|
|
{
|
|
"type": "error",
|
|
"text": "Aborted by user"
|
|
},
|
|
{
|
|
"type": "error",
|
|
"text": "Aborted by user"
|
|
}
|
|
],
|
|
"done": false
|
|
}
|
|
]
|
|
}
|