mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 20:39:59 +00:00
- Extract watchdog loop logic from run_team_cycle into _run_watchdog_loop helper - Extract resource cleanup into _cleanup_stale_artifacts helper - Extract prompt file preparation into _prepare_prompt_file helper - Extract cycle completion handling into _handle_cycle_completion helper - Extract claude process killing into _kill_claude_process helper (macOS bash 3.x compatible) - In gcore/lib/common.sh: Extract resource gathering into _gather_instance_resources - In gcore/lib/common.sh: Extract instance ID extraction into _extract_instance_id - All refactoring maintains 100% test coverage (80/80 tests pass) Agent: complexity-hunter Co-authored-by: Spawn Refactor Service <refactor@spawn.service> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| claude.sh | ||
| goose.sh | ||
| README.md | ||
Gcore
Gcore Cloud instances via REST API. Gcore
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcore/claude.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcore/aider.sh)
Goose
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcore/goose.sh)
Non-Interactive Mode
GCORE_SERVER_NAME=dev-mk1 \
GCORE_API_TOKEN=your-token \
GCORE_PROJECT_ID=12345 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcore/claude.sh)
Environment Variables
| Variable | Description | Default |
|---|---|---|
GCORE_API_TOKEN |
Gcore API token | (prompted) |
GCORE_PROJECT_ID |
Gcore project ID | (auto-detected) |
GCORE_SERVER_NAME |
Instance hostname | (prompted) |
GCORE_REGION |
Gcore region | ed-1 |
GCORE_FLAVOR |
Instance flavor | g1-standard-1-2 |
OPENROUTER_API_KEY |
OpenRouter API key | (prompted/OAuth) |