spawn/aws
A f412fb69bc
ux: wait for OpenClaw gateway to be ready before launching TUI (#1385)
Fixes #1354 - users experienced a ~30s delay with "gateway not connected"
errors when trying to use OpenClaw immediately after launch.

Root cause: gateway takes time to bind to port 18789, but TUI launched
after only 2 seconds.

Solution: Add wait_for_openclaw_gateway() helper that polls the gateway
port (max 30s) before launching TUI, ensuring immediate usability.

Changes:
- shared/common.sh: Add wait_for_openclaw_gateway() function
- All openclaw.sh scripts (10 files): Replace sleep 2 with gateway readiness check

Agent: ux-engineer

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-17 03:49:53 -05:00
..
lib feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
aider.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
amazonq.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
claude.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
cline.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
codex.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
continue.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
gemini.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
goose.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
gptme.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
interpreter.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
kilocode.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
nanoclaw.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
openclaw.sh ux: wait for OpenClaw gateway to be ready before launching TUI (#1385) 2026-02-17 03:49:53 -05:00
opencode.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
plandex.sh feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00
README.md feat: prioritize clouds with CLI installed + hcloud CLI integration (#1375) 2026-02-16 20:12:35 -08:00

AWS Lightsail

AWS Lightsail instances via AWS CLI. AWS Lightsail

Uses 'ubuntu' user instead of 'root'. Requires AWS CLI installed and configured.

Agents

Claude Code

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

OpenClaw

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

NanoClaw

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

Aider

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

Goose

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

Codex CLI

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

Open Interpreter

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

Gemini CLI

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

Amazon Q CLI

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

Cline

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

gptme

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

OpenCode

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

Plandex

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

Non-Interactive Mode

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