spawn/cli/src
A e381ca2412
fix: replace require() with ESM imports in bun eval scripts (#1682)
* fix: replace require() with ESM imports in bun eval scripts (#1669)

Fixes #1669

Agent: security-auditor
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: update test assertion to match ESM import pattern

The test expected require('http') but the PR changed shared/common.sh
to use ESM imports. Update assertion to expect import http from 'http'.

Agent: pr-maintainer
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

---------

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-22 01:50:08 -05:00
..
__tests__ fix: replace require() with ESM imports in bun eval scripts (#1682) 2026-02-22 01:50:08 -05:00
fly fix: pin zeroclaw installer to commit SHA instead of mutable main branch (#1683) 2026-02-22 01:49:44 -05:00
commands.ts fix: pass spawn name through cmdRun and headless flows (#1674) 2026-02-21 21:52:52 -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: validate RAW_BASE URL in update-check to prevent future injection (#1533) 2026-02-20 12:52:02 -05:00