codeg
codeg copied to clipboard
fix: detect externally installed ACP agents
Summary
- broaden ACP agent detection beyond Codeg-managed install records
- detect npm/NPX agents from global package metadata, npm prefix shims, and
--versionoutput, usingunknownwhen launchable but version is not provable - distinguish upstream Claude/Codex CLIs from required ACP adapters in Settings and connect-block messaging
- allow system binary fallbacks for binary agents, including OpenCode CLI packaged at macOS app-bundle paths
- align uvx/Hermes readiness with system
uvx/ systemhermesfallbacks so Settings, preflight, and connect gating agree
Verification
cargo checkcargo clippy --all-targets --features test-utils -- -D warningscargo test --features test-utils commands::acp::tests::pnpm eslint .pnpm vitest run src/components/settings/acp-agent-settings.test.tsxgit diff --check