spawn/ovh
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 ux: standardize destroy_server() wrapper for OVH and Sprite (#1345) 2026-02-16 20:24:40 -05:00
aider.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
amazonq.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
claude.sh fix: use ~/.spawnrc for env vars instead of inlining into .bashrc (#1362) 2026-02-16 17:05:17 -08:00
cline.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
codex.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
continue.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
gemini.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
goose.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
gptme.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
interpreter.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
kilocode.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
nanoclaw.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -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 refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
plandex.sh refactor: introduce cloud adapter + spawn_agent runner system (#1340) 2026-02-16 16:25:44 -08:00
README.md refactor: replace Python with jq in Hetzner lib, fix /lab → /labs URLs (#827) 2026-02-12 23:14:11 -08:00

OVHcloud

OVHcloud Public Cloud instances via REST API. OVHcloud

Setup

OVHcloud uses signature-based API authentication. You need:

  1. Application Key and Application Secret - Create at https://api.ovh.com/createToken/
  2. Consumer Key - Generated during token creation
  3. Project ID - Find at OVH Manager (select project -> Project ID)

Required API permissions:

  • GET /cloud/project/*
  • POST /cloud/project/*
  • DELETE /cloud/project/*
  • GET /me

Environment Variables

Variable Description
OVH_APPLICATION_KEY OVH Application Key
OVH_APPLICATION_SECRET OVH Application Secret
OVH_CONSUMER_KEY OVH Consumer Key
OVH_PROJECT_ID OVH Public Cloud Project ID
OVH_SERVER_NAME Instance name (optional, prompted if not set)
OVH_FLAVOR Instance flavor (default: d2-2)
OVH_REGION Region (default: GRA7)
OVH_SSH_USER SSH user (default: ubuntu)

Agents

Claude Code

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

Aider

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

OpenClaw

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

NanoClaw

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

Cline

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

Codex CLI

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

Goose

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

Open Interpreter

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

Gemini CLI

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

Amazon Q CLI

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

OpenCode

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

Plandex

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

gptme

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

Non-Interactive Mode

OVH_SERVER_NAME=dev-mk1 \
OVH_APPLICATION_KEY=your-app-key \
OVH_APPLICATION_SECRET=your-app-secret \
OVH_CONSUMER_KEY=your-consumer-key \
OVH_PROJECT_ID=your-project-id \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/ovh/claude.sh)