spawn/cli/src
A c7e1c73c8a
fix: unbreak spawn delete and align error handling conventions (#1534)
spawn delete was broken for all clouds because execDeleteServer passed
inline scripts (without shebangs) through runBash, which calls
validateScriptContent requiring a #! prefix. Extract spawnBash helper
and add runBashTrusted for locally-generated delete scripts that already
validate their inputs via validateServerIdentifier/validateMetadataValue.

Also fix instanceof Error usage in manifest.ts and history.ts to use
duck typing, matching the convention documented in index.ts and
commands.ts. Fix stale comment in security.ts that claimed colons were
in the server ID allowlist when the regex excludes them.

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-20 18:17:29 -05:00
..
__tests__ test: sync 21 failing tests with current source behavior (#1535) 2026-02-20 18:17:21 -05:00
commands.ts fix: unbreak spawn delete and align error handling conventions (#1534) 2026-02-20 18:17:29 -05:00
guidance-data.ts refactor: extract error guidance data structures into separate module (#1335) 2026-02-16 19:45:28 -08:00
history.ts fix: unbreak spawn delete and align error handling conventions (#1534) 2026-02-20 18:17:29 -05:00
index.ts fix: deduplicate isInteractiveTTY and remove dead OVH env wrapper (#1457) 2026-02-19 01:54:47 -05: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: unbreak spawn delete and align error handling conventions (#1534) 2026-02-20 18:17:29 -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