Skip to content

feat(acp): emit plan session updates from todowrite tool calls#30658

Open
smagnuso wants to merge 3 commits into
anomalyco:devfrom
smagnuso:fix/acp-plan-todowrite
Open

feat(acp): emit plan session updates from todowrite tool calls#30658
smagnuso wants to merge 3 commits into
anomalyco:devfrom
smagnuso:fix/acp-plan-todowrite

Conversation

@smagnuso
Copy link
Copy Markdown
Contributor

@smagnuso smagnuso commented Jun 4, 2026

Issue for this PR

When working on hydra-acp I noticed that I was not getting plans rendered in opencode as I had in claude.

Closes #30659

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Translates todowrite tool calls into ACP SessionUpdate::Plan notifications so ACP clients (Zed, JetBrains, Hydra, etc.) can render a live plan/todo panel. This is the same data ACP clients receive from Claude Code today; opencode already produces the structured input but the ACP bridge never forwarded it.

How did you verify your code works?

Ran a prompt in in hydra-acp that created a plan:

create a plan with 5 items in it each run ping -c 1 www.google.com check off items as you complete them

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@smagnuso smagnuso force-pushed the fix/acp-plan-todowrite branch from a38a97a to 5821b59 Compare June 4, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] ACP: emit SessionUpdate::Plan from todowrite tool calls

1 participant