Skip to content

feat(acp): translate Plan events for TUI checklist display#377

Merged
CSRessel merged 1 commit intomainfrom
feat/acp-plan-visualization
Mar 7, 2026
Merged

feat(acp): translate Plan events for TUI checklist display#377
CSRessel merged 1 commit intomainfrom
feat/acp-plan-visualization

Conversation

@CSRessel
Copy link
Copy Markdown
Collaborator

@CSRessel CSRessel commented Mar 6, 2026

Summary

🤖 Generated with Nori

  • Wire ACP SessionUpdate::Plan events through translate_session_update_to_events() to produce EventMsg::PlanUpdate, enabling the TUI's existing PlanUpdateCell to render agent checklists
  • Map PlanEntry.contentPlanItemArg.step and PlanEntryStatusStepStatus (priority field dropped as internal type doesn't support it)
  • Add PlanUpdate to get_event_msg_type() for proper debug logging

Test Plan

  • 2 unit tests added: mixed-status Plan translation and empty Plan edge case
  • Full codex-acp test suite passes (402 tests)
  • Clippy clean, formatted
  • Manual verification with a live ACP agent that emits TodoWrite/Plan events

Share Nori with your team: https://www.npmjs.com/package/nori-ai

ACP agents emit SessionUpdate::Plan events containing task entries, but
the event translation layer silently dropped them. The TUI already has
full rendering support via PlanUpdateCell. This wires the two together
by mapping acp::Plan → EventMsg::PlanUpdate(UpdatePlanArgs).
🤖 Generated with [Nori](https://usenori.ai)

Co-Authored-By: Nori <contact@tilework.tech>
@CSRessel CSRessel changed the base branch from dev to main March 7, 2026 06:13
@CSRessel CSRessel merged commit 118bba2 into main Mar 7, 2026
3 checks passed
@CSRessel CSRessel deleted the feat/acp-plan-visualization branch March 7, 2026 06:14
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