Files
OpenShell/crates/openshell-cli
Drew Newberry ad87da4369 feat(sandbox): persist startup command across gateway stop/start cycles
The user-provided command from `sandbox create -- <command>` was
previously ephemeral—executed via SSH on first connect but lost when the
sandbox pod was recreated after a gateway restart.

This change persists the command in the SandboxSpec protobuf, stores it
in both SQLite and the Kubernetes CRD, and sets it as
OPENSHELL_SANDBOX_COMMAND in the pod spec. When the CRD controller
recreates the pod after a gateway stop/start, the supervisor re-executes
the stored command instead of falling back to `sleep infinity`.
2026-04-03 19:01:36 -07:00
..