feat(acp): ACP registry readiness — agent auth, session/set_model, release archives - #169
Merged
Merged
Conversation
…stribution Adds an archive step to the release workflow that builds .tar.gz (unix) / .zip (windows) archives containing a stable `raven`/`raven.exe` so the ACP registry's binary distribution can pin a version-independent cmd. Raw binaries are kept for the installers, and archive checksums are appended to checksums.txt. Adds the 16x16 monochrome currentColor registry icon.
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
Makes
raven --acpa valid, complete ACP v1 agent so it can be listed in theZed ACP registry. The registry's
--auth-checkrequiresinitializetoreturn
authMethodswith at least oneagent/terminalmethod — ravenreturned
[], which was the hard blocker.agentauth method (agent-auth) ininitialize. Ravenauthenticates with provider credentials already resolved in-process
(env / config /
.env), soauthenticateis a no-op acknowledgement thatvalidates the
methodIdand rejects unknown ones.session/set_modeland advertisesessionCapabilities.set, matchingthe surface of grok-build / codex-acp.
raven --acpacross docs and sourcecomments (the registry launches
cmd + argsverbatim, so the entry usesargs: ["--acp"])..tar.gz/.zip) with a stableraven/raven.exeand pinned sha256, for the registry'sbinarydistribution. Raw binaries are kept for the installers.
currentColorregistry icon (assets/icon.svg).Related issues
Prepares the repo for a Zed ACP registry submission (Phase C/D).
Test plan
cargo fmt --all --checkcargo clippy --all-targets -- -D warningscargo test(594 passed, incl. 5 new ACP tests)cargo build --releasecargo check --target x86_64-pc-windows-gnuinitializereturnsauthMethodswithagent-auth(typeagent);authenticateaccepts it and rejectsunknown ids;
session/set_modelworks.Checklist