feat(acp): emit plan session updates from todowrite tool calls#30658
Open
smagnuso wants to merge 3 commits into
Open
feat(acp): emit plan session updates from todowrite tool calls#30658smagnuso wants to merge 3 commits into
smagnuso wants to merge 3 commits into
Conversation
c73eb84 to
17cc5dd
Compare
a38a97a to
5821b59
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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