Files
hapi/shared/fixtures/chat/event-compact-summary-empty.json
T
Junmo KimandGitHub be41e854e0 feat(codex,opencode): show compaction summaries and token counts (#2249)
* fix(chat): render available compaction facts

* feat(opencode): unify native compaction summary cards

* fix(opencode): report actual compaction application lifecycle

* feat(codex): render native compaction checkpoints and metrics

* fix(chat): render compaction summaries and token facts in native clients

* fix(opencode): preserve transcript priming across read failures

* fix(opencode): recover snapshot-only replies after attachment
2026-11-01 09:54:10 +08:00

56 lines
1.6 KiB
JSON

{
"description": "Compaction summary facts preserve exact and estimated counts independently across event envelopes.",
"expected": {
"blocks": [
{
"createdAt": 1755000000000,
"event": {
"summary": "",
"type": "compact-summary"
},
"id": "event-compact-summary-empty",
"kind": "agent-event"
}
],
"hasReadyEvent": false,
"latestUsage": null,
"visibleBlocks": [
{
"createdAt": 1755000000000,
"event": {
"summary": "",
"type": "compact-summary"
},
"id": "event-compact-summary-empty",
"kind": "agent-event"
}
]
},
"fixtureVersion": 1,
"input": {
"agentState": null,
"messages": [
{
"content": {
"content": {
"data": {
"summary": "",
"type": "compact-summary"
},
"type": "event"
},
"role": "agent"
},
"createdAt": 1755000000000,
"id": "event-compact-summary-empty",
"localId": null,
"seq": 1
}
],
"options": {
"hasMoreMessages": false
}
},
"name": "event-compact-summary-empty"
}