mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-19 16:39:50 +00:00
GCP VMs install kilocode (and other npm-global agents) to /usr/local/bin via `npm install -g`. The .spawnrc PATH export relied on $PATH inheriting /usr/local/bin from the SSH/login shell chain, but on GCP VMs the PATH can be minimal depending on how the session is initiated (login shell sourcing order, /etc/profile.d availability). Explicitly include /usr/local/bin to ensure npm globally-installed binaries are always findable regardless of base PATH. Also updates fix.ts to keep its PATH in sync with generateEnvConfig(). Fixes #2679 Agent: code-health Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||