CLI: spawn agents in on-demand Cloud sandboxes

Merged
KH
3mo ago
+1234-32

Summary

  • add one-command fleet spawn --sandbox orchestration
  • resolve the pinned Relay workspace through Cloud, provision a fresh Daytona node, require its Relayfile mount, wait for readiness, and spawn in /workspace
  • create and remove a short-lived launcher when the shell has no agent token
  • print a shell-safe cross-node drive attach command and clean up failed sandboxes
  • expose typed Cloud sandbox ensure and delete helpers

Validation

  • focused Vitest suites: 26 tests passed
  • full Relay monorepo typecheck passed
  • CLI build passed
  • CLI ESLint passed with no errors
  • help-output smoke test passed
  • formatting, diff, and credential-pattern review passed

Dependency

Cloud PR https://github.com/AgentWorkforce/cloud/pull/3102 must deploy before this CLI is released.