Skip to content

feat(acp): add unstable v2 session injection - #13

Open
danielkov wants to merge 4 commits into
feat/acp-v2-foundationfrom
feat/acp-v2-session-inject
Open

feat(acp): add unstable v2 session injection#13
danielkov wants to merge 4 commits into
feat/acp-v2-foundationfrom
feat/acp-v2-session-inject

Conversation

@danielkov

@danielkov danielkov commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

Adds ACP v2 session injection to AgentKit behind the unstable-inject feature.

  • accepts steer injections while a turn is running
  • lets the current model stream or tool call finish before delivery
  • delivers pending messages FIFO before the next model request
  • emits each delivered message as a v2 user_message update
  • supports revoke and retains delivered IDs for correct error responses
  • keeps accepted messages across cancel and discards them on session close

The same injection coordinator is used by AcpHeadlessRuntime and by hosts with custom persistent session actors. The public host API covers session binding, update delivery, prompt conversion, turn lifecycle, cancellation, revoke, and safe-boundary delivery without exposing the internal locks or queues.

Dependencies

The branch currently pins schema 6e7e044f9464c4fd652d90699a09e9edc8b3bbad and Rust SDK 2f039993d1d6ed8da35b38c31f54a7cbb7338c70.

Consumer

@danielkov
danielkov deleted the branch feat/acp-v2-foundation August 25, 2026 19:53
@danielkov danielkov closed this Aug 25, 2026
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