spawn/codesandbox
A 9336998168
fix(ux): add post-session summary to 10 exec-based cloud providers (#1056)
Users on exec-based clouds (Fly, Render, Koyeb, Northflank, Railway,
Modal, Daytona, E2B, CodeSandbox, GitHub Codespaces) got no warning
when their session ended that their service was still running and
incurring charges. This adds:

- _show_exec_post_session_summary() in shared/common.sh for non-SSH
  providers that use CLI exec commands instead of direct SSH
- SPAWN_DASHBOARD_URL for all 10 exec-based clouds so users get
  actionable dashboard links
- Post-session summary calls in each cloud's interactive_session()
- 33 new tests covering the exec post-session summary feature

Agent: ux-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-14 00:38:10 -05:00
..
lib fix(ux): add post-session summary to 10 exec-based cloud providers (#1056) 2026-02-14 00:38:10 -05:00
aider.sh feat: add CodeSandbox cloud provider (#857) 2026-02-13 02:09:31 -08:00
amazonq.sh fix: use safe inject_env_vars helpers instead of raw shell interpolation (#932) 2026-02-13 05:57:06 -08:00
claude.sh feat: add CodeSandbox cloud provider (#857) 2026-02-13 02:09:31 -08:00
cline.sh fix: use safe inject_env_vars helpers in 3 missed scripts (#937) 2026-02-13 06:42:13 -08:00
codex.sh fix: use safe inject_env_vars helpers in 4 missed scripts (#941) 2026-02-13 07:00:26 -08:00
continue.sh feat: Add codesandbox/continue (#878) 2026-02-13 05:47:24 -08:00
gemini.sh fix: use safe inject_env_vars helpers instead of raw shell interpolation (#932) 2026-02-13 05:57:06 -08:00
goose.sh fix: use safe inject_env_vars helpers instead of raw shell interpolation (#932) 2026-02-13 05:57:06 -08:00
gptme.sh fix: add actionable guidance to agent installation failures across 126 scripts (#966) 2026-02-13 10:14:03 -08:00
interpreter.sh fix: use safe inject_env_vars helpers in 4 missed scripts (#941) 2026-02-13 07:00:26 -08:00
kilocode.sh feat: Add codesandbox/kilocode (#874) 2026-02-13 06:23:50 -08:00
nanoclaw.sh fix(security): replace unquoted heredocs with printf to prevent shell expansion in API keys (#1031) 2026-02-13 19:41:10 -05:00
openclaw.sh feat: add CodeSandbox cloud provider (#857) 2026-02-13 02:09:31 -08:00
opencode.sh fix: use safe inject_env_vars helpers instead of raw shell interpolation (#932) 2026-02-13 05:57:06 -08:00
plandex.sh fix: use safe inject_env_vars helpers instead of raw shell interpolation (#932) 2026-02-13 05:57:06 -08:00
README.md feat: Add codex on CodeSandbox (#889) 2026-02-13 06:11:54 -08:00

CodeSandbox

CodeSandbox Firecracker microVMs via SDK/CLI. CodeSandbox

No SSH — uses CodeSandbox SDK/CLI for exec. Firecracker microVMs with ~2s start. Free tier: 40 hrs/mo on Build plan. Requires npm install -g @codesandbox/sdk.

Agents

Claude Code

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

OpenClaw

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

Aider

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

NanoClaw

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

Goose

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

OpenCode

bash <(curl -fsSL https://openrouter.ai/labs/spawn/codesandbox/opencode.sh)

Plandex

bash <(curl -fsSL https://openrouter.ai/labs/spawn/codesandbox/plandex.sh)

Gemini CLI

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

Amazon Q CLI

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

Cline

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

Open Interpreter

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

Codex CLI

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

Non-Interactive Mode

CODESANDBOX_SANDBOX_NAME=dev-mk1 \
CSB_API_KEY=csb_xxxxx \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/codesandbox/claude.sh)

Authentication

Get your CodeSandbox API key at: https://codesandbox.io/t/api

Enable all scopes when creating the key and export it as:

export CSB_API_KEY=your-key-here