Skip to content

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

Open
danielkov wants to merge 1 commit into
mainfrom
feat/acp-v2-session-inject
Open

feat(acp): add unstable v2 session injection#13
danielkov wants to merge 1 commit into
mainfrom
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

ACP v2 foundation is already merged into main via #12. This branch is rebased on main after the AgentKit 0.10.12 provider release.

External protocol dependencies:

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

Consumer

@danielkov
danielkov force-pushed the feat/acp-v2-session-inject branch from 1204e2b to 64244da Compare August 30, 2026 11:21
@danielkov
danielkov changed the base branch from feat/acp-v2-foundation to main August 30, 2026 11:22
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