crabbox/docs/commands/status.md
Jonathan Moss 00725544c7
feat(azure): support linux and native windows leases
Add Azure as a managed provider for direct and brokered Crabbox leases.

- provision Azure Linux VMs with cloud-init, spot fallback, shared network adoption, and per-lease cleanup
- provision native Azure Windows VMs with VM Agent bootstrap and SSH/sync/run support
- add Azure broker support in the Cloudflare Worker, provider config, docs, and tests
- fix async Azure delete handling so successful 202 delete LROs do not refetch deleted resources
- keep Go core coverage above the CI threshold

Verified with CI plus live Azure Linux and native Windows leases.

Co-authored-by: Jonathan Moss <2729151+jwmoss@users.noreply.github.com>
2026-05-08 08:23:38 +01:00

1.8 KiB

status

crabbox status prints the current state for a lease.

crabbox status --id blue-lobster
crabbox status --id blue-lobster --network tailscale
crabbox status --id blue-lobster --wait --wait-timeout 10m
crabbox status --id blue-lobster --json
crabbox status --provider daytona --id blue-lobster
crabbox status --provider islo --id blue-lobster
crabbox status --provider ssh --target macos --static-host mac-studio.local

--id accepts the canonical cbx_... ID or active slug. In blacksmith-testbox mode it accepts a tbx_... ID or local slug and derives a normalized Crabbox status view from blacksmith testbox list --all. In daytona mode it resolves Crabbox labels and sandbox state through Daytona APIs. In islo mode it accepts an isb_... ID, Crabbox-created sandbox name, or local slug and renders SDK status through the core status view. In provider=ssh mode --id is optional and resolves the configured static target or local claim. Plain status is read-only; --wait touches the lease while waiting for Crabbox brokered leases.

Flags:

--id <lease-id-or-slug>
--provider hetzner|aws|azure|ssh|blacksmith-testbox|daytona|islo
--target linux|macos|windows
--windows-mode normal|wsl2
--static-host <host>
--static-user <user>
--static-port <port>
--static-work-root <path>
--network auto|tailscale|public
--wait
--wait-timeout <duration>
--json

Human and JSON output include the selected network. With Tailscale metadata, status also prints the tailnet host/state. For coordinator-backed Linux leases that have received a recent heartbeat, status also includes the latest best-effort telemetry snapshot: load, memory, disk, uptime, and capture age. JSON status includes telemetryHistory when the coordinator has retained recent samples for portal trend charts. The retained history is bounded to the latest 60 samples per lease.