spawn/sh/digitalocean
A 4994c28594
fix(security): harden shell scripts - fix sed portability, curl HTTPS enforcement, token expiry (#1917)
- MEDIUM: Validate flyctl auth status before empty FLY_API_TOKEN fallback
  in provision.sh (fail fast instead of silent failure)
- LOW: Fix sed -i portability in qa.sh (use sed -i.bak for macOS compat)
- LOW: Increase FLY_API_TOKEN expiry from 2h to 8h in common.sh
- LOW: Add --proto '=https' to all curl -L calls in digitalocean scripts
  (6 files) to prevent HTTP downgrade on redirects

Fixes #1913

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-25 03:23:32 -08:00
..
claude.sh fix(security): harden shell scripts - fix sed portability, curl HTTPS enforcement, token expiry (#1917) 2026-02-25 03:23:32 -08:00
codex.sh fix(security): harden shell scripts - fix sed portability, curl HTTPS enforcement, token expiry (#1917) 2026-02-25 03:23:32 -08:00
kilocode.sh fix(security): harden shell scripts - fix sed portability, curl HTTPS enforcement, token expiry (#1917) 2026-02-25 03:23:32 -08:00
openclaw.sh fix(security): harden shell scripts - fix sed portability, curl HTTPS enforcement, token expiry (#1917) 2026-02-25 03:23:32 -08:00
opencode.sh fix(security): harden shell scripts - fix sed portability, curl HTTPS enforcement, token expiry (#1917) 2026-02-25 03:23:32 -08:00
README.md refactor: move all shell scripts to /sh directory (#1843) 2026-02-23 21:14:54 -08:00
zeroclaw.sh fix(security): harden shell scripts - fix sed portability, curl HTTPS enforcement, token expiry (#1917) 2026-02-25 03:23:32 -08:00

DigitalOcean

DigitalOcean Droplets via REST API. DigitalOcean

Agents

Claude Code

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

OpenClaw

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

ZeroClaw

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

Codex CLI

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

OpenCode

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

Kilo Code

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

Non-Interactive Mode

DO_DROPLET_NAME=dev-mk1 \
DO_API_TOKEN=your-token \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/digitalocean/claude.sh)