spawn/gcp
Sprite 359777d855 refactor: Document and fix GCP variable export pattern
Improved the variable export pattern in gcp/lib/common.sh:
- Added SC2034 disable with clear documentation in create_server()
- Made server_ip a local variable before export
- Added SC2154 suppressions with documentation in all 10 GCP agent scripts

This eliminates shellcheck warnings while maintaining the existing
export behavior that makes GCP_SERVER_IP, GCP_INSTANCE_NAME_ACTUAL,
and GCP_ZONE available to calling scripts.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-08 03:40:12 +00:00
..
lib refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
aider.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
amazonq.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
claude.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
cline.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
codex.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
gemini.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
goose.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
interpreter.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
nanoclaw.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
openclaw.sh refactor: Document and fix GCP variable export pattern 2026-02-08 03:40:12 +00:00
README.md Add E2B + Modal sandbox providers, restructure README (#22) 2026-02-07 14:11:04 -08:00

GCP Compute Engine

Google Cloud Compute Engine instances via gcloud CLI. GCP Compute Engine

Uses current username for SSH. Requires gcloud CLI installed and configured.

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/claude.sh)

OpenClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/openclaw.sh)

NanoClaw

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/nanoclaw.sh)

Aider

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/aider.sh)

Goose

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/goose.sh)

Codex CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/codex.sh)

Open Interpreter

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/interpreter.sh)

Gemini CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/gemini.sh)

Amazon Q CLI

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/amazonq.sh)

Cline

bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/cline.sh)

Non-Interactive Mode

GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/lab/spawn/gcp/claude.sh)