File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -720,12 +720,12 @@ pub fn get_agent_config(agent_name: &str) -> Result<AcpAgentConfig> {
720720 ) ,
721721 } ;
722722
723- // The Claude ACP adapter resolves its native binary via
724- // require.resolve() on platform-specific optional deps. On Linux it
725- // tries the musl variant first; if that file exists but the musl
726- // loader is missing the binary silently fails to execute. Setting
727- // CLAUDE_CODE_EXECUTABLE to the system-installed binary sidesteps
728- // this entirely .
723+ // Workaround: the v0.30.0+ Claude ACP adapter resolves its native
724+ // binary via require.resolve() on platform-specific optional deps.
725+ // On glibc Linux, bunx installs both musl and glibc variants; the
726+ // adapter tries musl first, require.resolve succeeds (file exists),
727+ // but execution fails (no musl loader). Point CLAUDE_CODE_EXECUTABLE
728+ // at the system binary to bypass the broken resolution .
729729 let mut env = HashMap :: new ( ) ;
730730 if agent == AgentKind :: ClaudeCode
731731 && let Ok ( path) = which:: which ( "claude" )
You can’t perform that action at this time.
0 commit comments