You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ACP coding agents installed with npx are reported "Not installed" (binary is in the npx cache, not on PATH) #787
A coding agent installed with npx works from a terminal, but the harness card says Not installed / Binary: not found on PATH, and the setup dialog ends with "The agent is not ready yet."
Environment
orx 0.2.21 (macOS desktop app)
@deepseek-ai/dsh 0.2.1-rc.2, installed with npx -y @deepseek-ai/dsh
DeepSeek Harness selected under Harnesses (also affects any custom ACP agent whose binary comes from npx)
What happens
Harnesses → DeepSeek Harness via ACP [Not installed]
Binary not found on PATH
Version —
Agent models none
npx -y <pkg> installs nothing globally. It unpacks the package into ~/.npm/_npx/<hash>/node_modules/.bin and runs it from there, so nothing lands on PATH.
executable_path in src/local/acp.rs resolved launchers with find_on_path and then a fixed list of home directories (~/.local/bin, .grok/bin, .devin/bin, .zcode/runtime/bin). The npx cache is not in either, so the harness resolves to nothing and the UI asks the user to install something that is already installed.
npm i -g into a prefix that is not on PATH fails the same way.
Proposed fix
Look where the installers actually put the executable: the npx cache (newest entry first — the cache keeps one directory per invocation) and the common global prefixes (~/.npm-global/bin, %APPDATA%\npm on Windows, npm's Windows cache root). Opening a PR with a test and a check against the install above.
Activity
fix: spawn every binary the way a terminal would
fix: spawn every binary the way a terminal would (#894)