Add join key for MAv2 inter-agent messages#28561
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 854ae7eec0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: add04908ce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex reviewe |
Summary
This keeps inter-agent communication on the existing raw response item path and adds a join key for MAv2 tool calls.
MAv2
spawn_agent,send_message, andfollowup_tasknow stamp the originating tool call id intoResponseItemMetadata.source_call_idon the rawResponseItem::AgentMessage. App-server clients can join that raw item back to the existing tool/activity event by call id, while using the raw agent message's existing sender, receiver, and content fields.No new app-server
ThreadItemor notification type is added.Tests
just fmtjust write-app-server-schemajust test -p codex-protocoljust test -p codex-app-server-protocoljust test -p codex-core multi_agent_v2_spawn_returns_path_and_send_message_accepts_relative_pathjust test -p codex-core multi_agent_v2_followup_task_completion_notifies_parent_on_every_turnjust fix -p codex-protocoljust fix -p codex-app-server-protocoljust fix -p codex-core