Skip to content

feat(unstable-v2): add session injection schema - #2043

Open
danielkov wants to merge 2 commits into
agentclientprotocol:mainfrom
danielkov:feat/unstable-v2-session-inject
Open

feat(unstable-v2): add session injection schema#2043
danielkov wants to merge 2 commits into
agentclientprotocol:mainfrom
danielkov:feat/unstable-v2-session-inject

Conversation

@danielkov

@danielkov danielkov commented Aug 26, 2026

Copy link
Copy Markdown

Summary

Adds unstable ACP v2 schema for sending user messages to a session that is already running.

  • session/inject accepts content plus queue or steer delivery mode and returns an agent-owned message ID
  • session/revoke_inject cancels a pending message by ID
  • session/replace_inject replaces pending content without changing its ID or queue position
  • session capabilities advertise supported modes, stream behavior, revoke, and replace support
  • delivery uses the existing v2 user_message session update
  • typed errors distinguish unknown, delivered, and unsupported operations
  • all additions are behind unstable_session_inject; stable schema artifacts do not change

Related

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