From 3109de7e2e5eaa1467eddc51e0430dfac779e281 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 25 Feb 2026 18:47:05 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20switch=20Claude=20Code=20to=20native=20b?= =?UTF-8?q?inary=20=E2=80=94=20npm=20wrapper=20breaks=20remote=20control?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The npm-installed Claude Code runs via Node.js, which causes remote control to fail with '/usr/bin/node: bad option: --sdk-url'. The native binary handles subprocess spawning correctly. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index de8459f..8ec4011 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,8 +64,8 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ # Install Happy Coder globally via npm (stable, rarely changes) RUN npm install -g happy-coder -# Install Claude Code globally via npm -RUN npm install -g @anthropic-ai/claude-code@latest && claude --version +# Install Claude Code native binary (npm wrapper breaks remote control) +RUN curl -fsSL https://claude.ai/install.sh | sh && claude --version # Install OpenCode AI coding agent RUN OPENCODE_VERSION=$(curl -sL https://api.github.com/repos/opencode-ai/opencode/releases/latest | jq -r '.tag_name') && \