spawn/packages/cli/src
Ahmed Abushagur 141254c4e1
feat: ARM tarball builds + arch-aware download (#2248)
* feat: ARM tarball builds + arch-aware download

- Add ARM64 matrix entries for native binary agents (zeroclaw, opencode,
  hermes, claude) in agent-tarballs.yml workflow
- Update agent-tarball.ts to detect remote VM arch via uname -m and
  download the correct tarball (x86_64 or arm64)
- Change release strategy to support multiple arch assets per tag
- Document ARM build requirements in discovery.md for future agents
- Bump CLI version to 0.15.2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: use sudo for tarball extraction on non-root SSH clouds

On AWS Lightsail, SSH connects as 'ubuntu' (not root), but tarballs
extract to /root/. Without sudo, tar fails with "Permission denied".
Conditionally use sudo when not running as root (id -u != 0).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 17:10:33 -05:00
..
__tests__ refactor: fix require() usage and stale test README references (#2243) 2026-03-06 04:53:19 -08:00
aws fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
commands refactor: Remove dead code and stale references (#2238) 2026-03-06 03:49:47 -05:00
daytona fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
digitalocean refactor: remove Docker install wrapper, tarballs replace it (#2244) 2026-03-06 14:19:22 -05:00
gcp fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
hetzner fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
local fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
shared feat: ARM tarball builds + arch-aware download (#2248) 2026-03-06 17:10:33 -05:00
sprite fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
commands.ts refactor: split commands.ts into per-command modules (#2095) 2026-03-01 23:24:15 -05:00
flags.ts feat: add --zone/--region and --size/--machine-type CLI flags (#2223) 2026-03-05 14:06:06 -08:00
guidance-data.ts refactor: Remove dead code and stale references (#2104) 2026-03-02 08:32:02 -05:00
history.ts fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
index.ts fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
manifest.ts fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
picker.ts fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00
security.ts fix(security): replace validateLaunchCmd blocklist with allowlist (#2053) 2026-03-01 03:12:27 -05:00
unicode-detect.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
update-check.ts fix: add unique spawn IDs to prevent history record corruption (#2235) 2026-03-05 23:27:03 -08:00