mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
Validates the critical contract that every implemented agent script correctly injects the environment variables from manifest.json. Catches silent breakage where an agent starts but cannot reach the LLM API due to missing OPENROUTER_API_KEY or provider-specific vars. Tests cover: - OPENROUTER_API_KEY presence in all scripts - Provider-specific env vars (ANTHROPIC_BASE_URL, OPENAI_BASE_URL, etc.) - OpenRouter API key acquisition patterns (env check, OAuth, manual) - Agent install and launch command references - Cloud lib env injection infrastructure - Base URL values pointing to openrouter.ai - No hardcoded API keys (security) - Full coverage statistics across all agents and clouds 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 | ||