spawn/cli/src
A 57d4ee7eeb
fix: drop apt nodejs/npm, install Node 22 directly via n (#1746)
apt-get install nodejs npm pulls in hundreds of node-* packages
(libhwasan, node-jsonify, node-eslint-utils, etc.) adding 60-90s
to cloud-init. We immediately replace it with Node 22 via n anyway.

Fix: bootstrap n directly from curl and install Node 22 in one step.
No apt nodejs/npm needed.

Before: apt install nodejs npm → npm install -g n → n 22 (slow)
After:  curl n | bash -s install 22 (fast, no apt bloat)

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-22 12:40:22 -08:00
..
__tests__ fix: make spawn immediately available after install (#1738) 2026-02-22 12:14:34 -08:00
aws fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
daytona fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
digitalocean fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
fly fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
gcp fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
hetzner fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
local refactor: deduplicate remaining 6 clouds into shared agent-setup pattern (#1704) 2026-02-22 09:20:34 -08:00
shared fix: drop apt nodejs/npm, install Node 22 directly via n (#1746) 2026-02-22 12:40:22 -08:00
sprite refactor: deduplicate remaining 6 clouds into shared agent-setup pattern (#1704) 2026-02-22 09:20:34 -08:00
commands.ts fix: replace broken buildDeleteScript with TypeScript cloud module calls (#1735) 2026-02-22 12:22:08 -08:00
guidance-data.ts refactor: extract error guidance data structures into separate module (#1335) 2026-02-16 19:45:28 -08:00
history.ts feat: add "Enter agent" option to spawn ls (#1662) 2026-02-21 19:40:05 -08:00
index.ts fix: pass spawn name through cmdRun and headless flows (#1674) 2026-02-21 21:52:52 -08:00
manifest.ts fix: unbreak spawn delete and align error handling conventions (#1534) 2026-02-20 18:17:29 -05:00
picker.ts feat: add spawn pick command and interactive GCP project/zone/machine-type pickers (#1443) 2026-02-18 11:30:52 -05:00
security.ts fix: replace require("path") with ESM import in security.ts (#1657) 2026-02-21 20:44:57 -05:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts fix: auto-update silently fails in multiple scenarios (#1725) 2026-02-22 11:17:54 -08:00