feat: add claude ACP sandbox target#2189
Draft
the-mentor wants to merge 5 commits into
Draft
Conversation
Signed-off-by: Avri Chen-Roth <avri210984@gmail.com>
Signed-off-by: Avri Chen-Roth <avri210984@gmail.com>
The initialize handshake round-trips against the built image (protocolVersion 1, authMethods empty → env-key auth, no separate authenticate step). Narrows the open item to the full prompt round-trip and reconnect behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Avri Chen-Roth <avri210984@gmail.com>
Add the claude target to the CI build matrix (ci.yaml) and the release push matrix (tag.yaml), plus the supporting Makefile pieces: build-acp-sandbox-claude target, image-name/IMG vars, print-images echo, and the build-acp-sandbox aggregate dependency. Scope is the standalone image only — not wired into build-controller or the digest-embedding (that is harness-backend integration, tracked separately). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Avri Chen-Roth <avri210984@gmail.com>
008cfa3 to
aa67df4
Compare
- Add missing "from another shell" instruction to the claude smoke-test block (consistent with the hermes example above it) - Add note that a successful initialize handshake does not confirm end-to-end prompt processing - Clarify table entry: claude-agent-acp speaks to the shim over stdio; the shim still exposes ws://0.0.0.0:9000/acp externally Signed-off-by: Avri Chen-Roth <avri210984@gmail.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 tasks
Contributor
|
+1 would love to see this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claudetarget todocker/acp-sandbox/Dockerfileusing@agentclientprotocol/claude-agent-acp@0.58.1(wraps@anthropic-ai/claude-agent-sdk) on top of thenode-basestage (Node ≥22 required)openclawtarget, no sandbox-local gateway is needed —claude-agent-acpspeaks ACP over stdio directly, so the shim runs it as its child:CMD ["--", "claude-agent-acp"]build-acp-sandbox-claudeinto the Makefile and addsacp-sandbox-claudeto the build matrix in bothci.yamlandtag.yamldocker/acp-sandbox/README.mdACP handshake status
Verified locally at v0.58.1:
initializereturnsprotocolVersion: 1,agentInfo.version: "0.58.1",authMethods: []. Authentication is viaANTHROPIC_API_KEYinjected at runtime — no separateauthenticatestep.Still to verify: full
session/promptround-trip reaches the model, and the in-memory session model holds across bridge reconnects.Test plan
acp-sandbox-claudeimage successfullydocker run --rm -p 9000:9000 -e ANTHROPIC_API_KEY=<key> kagent/acp-sandbox-claude+websocat -1 ws://localhost:9000/acp→initializesucceedsmake build-acp-sandbox-claudeworks locallymake build-acp-sandboxnow includes the claude target🤖 Generated with Claude Code