mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-08 18:39:50 +00:00
Add Gcore (gcore.com) as a new cloud provider supporting global edge cloud instances via REST API with hourly billing. Implements full test infrastructure including mock fixtures, URL stripping, body validation, and live recording support. - gcore/lib/common.sh: Cloud library with apikey auth, project auto-detection - gcore/claude.sh, aider.sh, goose.sh: Agent deployment scripts - manifest.json: Cloud definition + 15 matrix entries (3 implemented, 12 missing) - test/mock.sh: URL stripping for Gcore path-parameter API, body validation, synthetic responses - test/record.sh: Endpoints, auth, API caller, error detection, live cycle - test/fixtures/gcore/: 8 fixture files for mock testing Co-authored-by: OpenRouter Bot <noreply@openrouter.ai> 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) |