Skip to content

Emit proposed plans for plan-capable clients#2

Merged
s-cork merged 1 commit into
release-1.1.7from
stu-dev/plan-updates-1.1.7
Jul 23, 2026
Merged

Emit proposed plans for plan-capable clients#2
s-cork merged 1 commit into
release-1.1.7from
stu-dev/plan-updates-1.1.7

Conversation

@s-cork

@s-cork s-cork commented Jul 23, 2026

Copy link
Copy Markdown

Why

Upstream codex-acp#326 makes completed plans visible as ordinary final-answer messages. Anvil also needs the unstable ACP plan_update artifact so it can render a first-class Proposed Plan card and require an explicit implementation handoff.

Review capability gating and live/history parity first.

Changes

  • Emit completed live plan items as plan_update when the client advertises Plan support.
  • Replay saved plan items through the same representation.
  • Preserve upstream fix: Emit plan contents in plan mode agentclientprotocol/codex-acp#326 agent-message behavior for clients without Plan support.
  • Keep completed item text authoritative, with buffered deltas as fallback.

Related Anvil PR: anvil-works/anvil#7168

Test evidence

  • npm test -- --run — 333 passed, 28 skipped.
  • Focused Plan/load-session tests — 8 passed.
  • npm run typecheck — passed.
  • npm run build — passed.
  • git diff --check — passed.

AI assisted with implementation, tests, and PR text.

@s-cork
s-cork merged commit fa7d53c into release-1.1.7 Jul 23, 2026
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.

1 participant