Repository navigation
fix(agents): accept Linux musl targets in ACP Registry - #55
Merged
DimoADE merged 1 commit intoNov 6, 2026
Merged
Conversation
Co-Authored-By: BaoCode <noreply@baocode.dev>
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.
Problem
On November 6, 2026, attempting to install an ACP agent (Claude Code ACP / Codex ACP) shows ACP Registry is unavailable: unsupported Registry platform
linux-aarch64-musl. The host is macOS 27.2 (build 26B123), Apple Silicon arm64, Darwin 27.2.0, not Linux; the Linux string is a different agent’s binary target in the downloaded registry, not a misdetected host architecture.Observed local environment: VibeX 0.4.2 (repository package version; the app was removed before its bundle version could be rechecked); Codex CLI 0.167.0 is installed.
claude --versionreturned command not found in this shell, so the Claude CLI version and availability are unverified. The live ACP registry returned HTTP 200 with 44 agents and includes bothlinux-aarch64-muslandlinux-x86_64-muslkeys. Related report: #54.Root cause / fix
validate_distributionsrejects every unknown binary target across all registry entries, even when running on macOS; one Linux musl key invalidates the entire catalog before the user can install an ACP agent. Add both observed musl keys to the known-platform list, retaining strict validation of URLs, commands, hashes, and all other existing targets. Regression test exercises the registry refresh with macOS and Linux musl binary targets in the same entry.Validation
git diff --checkpassed.cargois not installed/available in this environment; please runcargo test -p agents --test registry_cache registry_with_linux_musl_targets_remains_available_on_macosin CI or a Rust-equipped machine.