spawn/cli/src
A 7731306f37
test: add local cloud provider pattern tests (239 tests) (#911)
Adds comprehensive test coverage for the local cloud provider, which
runs agents directly on the user's machine without cloud provisioning.
Previously had zero dedicated tests despite 14 implemented agent scripts.

Tests cover:
- local/lib/common.sh API surface (no-op destroy, bash -c exec, cp uploads)
- All 14 local agent scripts follow local-specific patterns
- No SSH/SCP patterns leak into local scripts
- OpenRouter API key handling with OAuth fallback
- SPAWN_PROMPT handling for interactive/non-interactive modes
- Installation verification (command -v checks)
- Safety checks (no sudo, no rm -rf system dirs)
- Manifest consistency for local cloud entries

Agent: test-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 04:02:45 -08:00
..
__tests__ test: add local cloud provider pattern tests (239 tests) (#911) 2026-02-13 04:02:45 -08:00
commands.ts fix: warn about missing credentials before running spawn scripts (#851) 2026-02-13 01:52:41 -08:00
history.ts fix: improve CLI UX for list filters, dry-run URLs, history, and matrix display (#537) 2026-02-11 14:59:31 -08:00
index.ts fix: detect slash notation and suggest correct syntax (#859) 2026-02-13 02:15:59 -08:00
manifest.ts fix: improve spawn list UX with positional filters and long flags (#549) 2026-02-11 15:46:39 -08:00
security.ts fix: improve error messages with actionable guidance (#447) 2026-02-11 05:20:31 -08: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 re-exec command after CLI auto-update (fixes #780) (#830) 2026-02-12 23:54:49 -08:00