spawn/sh/local
Ahmed Abushagur 4b62e8735f
chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445)
* chore: rename moved repos OpenRouterTeam→OpenRouterLabs and sst/opencode→anomalyco

Pure mechanical find/replace across the tree — both repos were renamed on
GitHub and only resolved via 301 redirects (fragile; hijack risk if the old
names are re-registered).

- OpenRouterTeam/spawn → OpenRouterLabs/spawn (141 refs): hardcoded REPO
  consts (manifest.ts, agent-tarball.ts), release-download URLs in every
  sh/{cloud}/{agent}.sh, gh/raw/asset URLs, docs, tests, fixtures.
- sst/opencode → anomalyco/opencode (5 refs): manifest, README, agent-setup.ts
  download cmd, opencode.Dockerfile.

No behavior change. biome clean (205 files). CLI version 1.1.0 → 1.1.1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(spawn): deflake cmdRun + hetzner tests (disable telemetry in tests, route hetzner mock by endpoint)

* test(spawn): deflake cmdRun + hetzner tests (disable telemetry in tests, route hetzner mock by endpoint)

* test(spawn): deflake cmdRun + hetzner tests (disable telemetry in tests, route hetzner mock by endpoint)

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: spa-the-spawn-maintainer[bot] <286559366+spa-the-spawn-maintainer[bot]@users.noreply.github.com>
2026-06-03 07:29:14 +00:00
..
claude.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
codex.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
cursor.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
hermes.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
junie.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
kilocode.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
openclaw.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
opencode.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
pi.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
README.md chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00
t3code.sh chore: rename moved repos (OpenRouterTeam→OpenRouterLabs, sst→anomalyco) (#3445) 2026-06-03 07:29:14 +00:00

Local Machine

Run agents directly on your local machine without any cloud provisioning.

No server creation or destruction. Installs agents and injects OpenRouter credentials locally. Useful for local development and testing.

Quick Start

If you have the spawn CLI installed:

spawn claude local
spawn openclaw local
spawn codex local
spawn opencode local
spawn kilocode local
spawn hermes local
spawn junie local
spawn cursor local
spawn pi local
spawn t3code local

Or run directly without the CLI:

bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/claude.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/openclaw.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/codex.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/opencode.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/kilocode.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/hermes.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/junie.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/cursor.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/pi.sh)
bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/t3code.sh)

Non-Interactive Mode

OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/local/claude.sh)

What It Does

Local scripts will:

  • Install the agent if not already present
  • Obtain an OpenRouter API key (via OAuth or environment variable)
  • Append environment variables to ~/.zshrc for the agent to use
  • Launch the agent

No cloud servers are created or destroyed.

Environment Variables

Variable Description
OPENROUTER_API_KEY OpenRouter API key (prompted via OAuth if not set)
SPAWN_PROMPT If set, runs the agent non-interactively with this prompt