Skip to content

Surface context compaction lifecycle#288

Merged
Rizzen merged 1 commit into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/context-compaction-lifecycle
Jul 13, 2026
Merged

Surface context compaction lifecycle#288
Rizzen merged 1 commit into
agentclientprotocol:mainfrom
nikita-ashihmin:codex/context-compaction-lifecycle

Conversation

@nikita-ashihmin

Copy link
Copy Markdown
Contributor

Summary

  • map context compaction start and completion items to an ACP tool-call lifecycle
  • attach generic contextCompaction metadata so clients can provide specialized UI while older clients retain a standard other tool-call fallback
  • replay completed context compactions consistently when loading session history

Verification

  • npm run typecheck
  • npm test (297 passed, 28 skipped)
  • npm run build
  • real Codex /compact run confirmed matching item/started and item/completed events with the same item ID

@Rizzen
Rizzen merged commit 9d48473 into agentclientprotocol:main Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants