mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 09:10:55 +00:00
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> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| commands.ts | ||
| history.ts | ||
| index.ts | ||
| manifest.ts | ||
| security.ts | ||
| unicode-detect.ts | ||
| update-check.ts | ||