Skip to content

Fix missing live ACP tool calls for collab agent events#192

Open
shadowpigy wants to merge 3 commits into
zed-industries:mainfrom
shadowpigy:codex/live-collab-toolcalls
Open

Fix missing live ACP tool calls for collab agent events#192
shadowpigy wants to merge 3 commits into
zed-industries:mainfrom
shadowpigy:codex/live-collab-toolcalls

Conversation

@shadowpigy
Copy link
Copy Markdown

Summary

This fixes the gap where collab agent tool calls appeared after session/load history replay but were missing from the initial live chat stream.

The live ACP bridge now emits tool call notifications for:

  • spawn_agent
  • send_input
  • resume_agent
  • wait
  • close_agent

This change keeps RawResponseItem and RealtimeConversation* handling unchanged so the patch stays focused on the collab/subagent tool-call path.

Testing

  • cargo test collab_
  • cargo build --release

@shadowpigy shadowpigy force-pushed the codex/live-collab-toolcalls branch from 37cc70f to d726109 Compare March 17, 2026 10:12
@benbrandt
Copy link
Copy Markdown
Member

thanks for taking a look at this! Sorry about the merge conflicts, if you don't mind resolving those I can take another look

@shadowpigy
Copy link
Copy Markdown
Author

Resolved the merge conflicts and pushed follow-up fixes in 25a81f8. I also added coverage for collab replay/payload schema and the wait timeout case. Would appreciate another look when you have a chance.

@xintaofei
Copy link
Copy Markdown

I'm really looking forward to this feature going live.

@xintaofei
Copy link
Copy Markdown

@benbrandt please merge it, thinks

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.

3 participants