Skip to content

feat(acp)!: replace injection with prompt delivery - #356

Open
danielkov wants to merge 2 commits into
mainfrom
feat/acp-prompt-delivery
Open

danielkov wants to merge 2 commits into
mainfrom
feat/acp-prompt-delivery

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Replace Kit's legacy ACP injection RPCs with the draft v2 prompt-delivery modes proposed in agentclientprotocol/agent-client-protocol#1261. The runtime, gateway, TUI, and Desktop use session/prompt.delivery for steering and queueing, messageId to reconcile insertion, and $/cancel_request to withdraw pending input.

Impact

ACP callers must negotiate capabilities.session.prompt.delivery before sending an explicit mode. session/cancel stops foreground work but preserves pending explicit steers and queued prompts. Ordinary prompts remain supported, and Kit's separate subagent steering mechanism is unchanged.

Technical details

Gateway compatibility

The gateway forwards withdrawal using the resident child's request ID and retries under bounded write backpressure. The updated SDK preserves bounded HTTP/SSE and graceful HTTP DELETE drain. Kit uses one published SDK/schema dependency graph.

@danielkov
danielkov enabled auto-merge (squash) November 20, 2026 16:34
@kit-code-agent

kit-code-agent Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Review paused before completion. Rerun the review to try again.

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