mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-08 01:43:07 +00:00
* 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
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"description": "Codex completion without native summary/token facts remains a plain status.",
|
|
"expected": {
|
|
"blocks": [
|
|
{
|
|
"createdAt": 1755000000000,
|
|
"event": {
|
|
"summary": "",
|
|
"type": "compact-summary"
|
|
},
|
|
"id": "msg-codex-boundary",
|
|
"kind": "agent-event"
|
|
}
|
|
],
|
|
"hasReadyEvent": false,
|
|
"latestUsage": null,
|
|
"visibleBlocks": [
|
|
{
|
|
"createdAt": 1755000000000,
|
|
"event": {
|
|
"summary": "",
|
|
"type": "compact-summary"
|
|
},
|
|
"id": "msg-codex-boundary",
|
|
"kind": "agent-event"
|
|
}
|
|
]
|
|
},
|
|
"fixtureVersion": 1,
|
|
"input": {
|
|
"agentState": null,
|
|
"messages": [
|
|
{
|
|
"content": {
|
|
"content": {
|
|
"data": {
|
|
"thread_id": "thread-42",
|
|
"type": "context_compacted"
|
|
},
|
|
"type": "codex"
|
|
},
|
|
"role": "agent"
|
|
},
|
|
"createdAt": 1755000000000,
|
|
"id": "msg-codex-boundary",
|
|
"localId": null,
|
|
"seq": 1
|
|
}
|
|
],
|
|
"options": {
|
|
"hasMoreMessages": false
|
|
}
|
|
},
|
|
"name": "codex-context-compacted-boundary"
|
|
}
|