mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-08 10:09:30 +00:00
Wire up connection tracking across all 10 clouds so users can reconnect to and delete previously spawned servers via `spawn list` and `spawn delete`. Phase 1 - Connection tracking: - Extend save_vm_connection() with cloud and metadata params - Add save_vm_connection to create_server() in all cloud libs - Extend VMConnection with cloud, deleted, deleted_at, metadata fields Phase 2 - Delete via interactive picker: - Add "Delete this server" option to spawn list picker - Build delete scripts that reuse each cloud's destroy_server() - Confirmation UX with spinner feedback - Soft-delete marking in history (deleted records show [deleted]) Phase 3 - Standalone delete command: - spawn delete (aliases: rm, destroy) with interactive picker - Filter support: spawn delete -a <agent> -c <cloud> Also improves reconnect hints for Fly (fly ssh console) and Daytona (daytona ssh) connections. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| aider.sh | ||
| amazonq.sh | ||
| claude.sh | ||
| cline.sh | ||
| codex.sh | ||
| continue.sh | ||
| gemini.sh | ||
| goose.sh | ||
| gptme.sh | ||
| interpreter.sh | ||
| kilocode.sh | ||
| nanoclaw.sh | ||
| openclaw.sh | ||
| opencode.sh | ||
| plandex.sh | ||
| README.md | ||
Oracle Cloud Infrastructure
Oracle Cloud compute instances via OCI CLI. Oracle Cloud
Has a generous Always Free tier. Uses 'ubuntu' user for SSH. Requires OCI CLI installed and configured.
Prerequisites
- Install OCI CLI:
pip install oci-cli - Configure:
oci setup config - Set compartment:
export OCI_COMPARTMENT_ID=ocid1.compartment.oc1.....
Agents
Claude Code
bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/claude.sh)
Aider
bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/aider.sh)
Goose
bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/goose.sh)
Non-Interactive Mode
OCI_COMPARTMENT_ID=ocid1.compartment.oc1..... \
OCI_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/claude.sh)
Environment Variables
| Variable | Description | Default |
|---|---|---|
OCI_COMPARTMENT_ID |
OCI compartment OCID | Auto-detected |
OCI_INSTANCE_NAME |
Instance display name | Prompted |
OCI_SHAPE |
Compute shape | VM.Standard.E2.1.Micro |
OCI_SUBNET_ID |
Subnet OCID | Auto-created |
OCI_OCPUS |
OCPUs for flex shapes | 1 |
OCI_MEMORY_GB |
Memory (GB) for flex shapes | 4 |
OPENROUTER_API_KEY |
OpenRouter API key | OAuth or prompted |