clawdie-iso/scripts
Sam & Claude 07f315d730 feat(iso): bundle claude/gemini/pi npm CLIs for offline first-boot install
Ships @anthropic-ai/claude-code, @google/gemini-cli, and
@mariozechner/pi-coding-agent as prebuilt .tgz tarballs on the install
media so the agent runtime has its CLI dependencies on first boot
without network access.

Critical: installs to /home/clawdie/.npm-global to match the
npm_config_prefix set by shell-system.sh in /etc/profile.d/clawdie.sh,
so the clawdie user's PATH (and the agent's commandExists() probes)
actually resolve the binaries.

- scripts/fetch-npm-globals.sh: npm pack the 3 CLIs into tmp/npm-globals/
- firstboot/shell-npm-globals.sh: offline install as clawdie user with
  matching prefix, runs between pkg setup and deploy
- build.sh: fetch + bundle into ${SHARE}/npm-globals/
- firstboot.sh: source module and run_step before deploy

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-04 20:04:22 +02:00
..
bhyve-pf-allow.sh Harden bhyve tests and home.arpa defaults (Sam & Codex) 2026-06-04 20:04:21 +02:00
bhyve-test.sh Make ISO builds cleaner by default (Sam & Codex) 2026-06-04 20:04:22 +02:00
build-and-log.sh Make ISO builds cleaner by default (Sam & Codex) 2026-06-04 20:04:22 +02:00
fetch-npm-globals.sh feat(iso): bundle claude/gemini/pi npm CLIs for offline first-boot install 2026-06-04 20:04:22 +02:00
preflight-host.sh Clarify vmm device checks in host preflight (Sam & Codex) 2026-06-04 20:04:21 +02:00
publish.sh Make ISO builds cleaner by default (Sam & Codex) 2026-06-04 20:04:22 +02:00
run-bhyve-test.sh feat(firstboot): resume/reset flags, checkpoint guards + move bhyve scripts 2026-06-04 20:04:21 +02:00