Skip to content

Commit 147621c

Browse files
vincentkocsteipete
andcommitted
fix: remove Daytona sandbox plugin
Retire the unshipped cloud sandbox provider and its exclusive dependency closure; preserve Crabbox and standalone Daytona hosting documentation. Co-authored-by: Peter Steinberger <[email protected]>
1 parent 321db46 commit 147621c

33 files changed

Lines changed: 23 additions & 4631 deletions

‎.github/labeler.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,6 @@
375375
- changed-files:
376376
- any-glob-to-any-file:
377377
- "extensions/copilot-proxy/**"
378-
"extensions: daytona":
379-
- changed-files:
380-
- any-glob-to-any-file:
381-
- "extensions/daytona/**"
382-
- "docs/gateway/daytona.md"
383378
"extensions: diagnostics-otel":
384379
- changed-files:
385380
- any-glob-to-any-file:

‎config/knip.config.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -728,10 +728,6 @@ const config = {
728728
"harness.ts!",
729729
"media-understanding-provider.ts!",
730730
]),
731-
[`${BUNDLED_PLUGIN_ROOT_DIR}/daytona`]: bundledPluginWorkspace([
732-
// Copied to dist and spawned by the Daytona backend for sandbox execs.
733-
"src/daytona-exec-launcher.mjs!",
734-
]),
735731
[`${BUNDLED_PLUGIN_ROOT_DIR}/deepgram`]: bundledPluginWorkspace(),
736732
[`${BUNDLED_PLUGIN_ROOT_DIR}/deepinfra`]: bundledPluginWorkspace(),
737733
[`${BUNDLED_PLUGIN_ROOT_DIR}/discord`]: bundledPluginWorkspace(),
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"core": 2358,
2+
"core": 2359,
33
"channel": 3662,
4-
"plugin": 4098
4+
"plugin": 4034
55
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
35d0db8e043f12db037d0350e09c69a80f0321dc02f97d1e11714ba62f89defd config-baseline.json
2-
f67e975229dc70957375558f54d317304e94dc7cc435899aaf21c06271d5ad7e config-baseline.core.json
1+
c24e840960179231ce2ef7f3e11020247d1abaddfb65980239a696bef61e93fd config-baseline.json
2+
bef1a8f31a9283699635c58fc6b576e9fb79220333ea538784693b8a07379eaa config-baseline.core.json
33
56ee63fe63e01e54f698fd654a08be0f838c39f9e73e7fc958fb88094e6b9b40 config-baseline.channel.json
4-
a72e6dbad103362b9f28b5886c1d760a334a0edd8e3b8ce40fa958fda554cddc config-baseline.plugin.json
4+
4d24c91bf670bdd4643aa368b74dd3d1332baa1cd229e0501acac7284bc2ea49 config-baseline.plugin.json

‎docs/docs.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,6 @@
17151715
"gateway/security/rate-limiting",
17161716
"gateway/operator-scopes",
17171717
"gateway/sandboxing",
1718-
"gateway/daytona",
17191718
"gateway/openshell",
17201719
"gateway/sandbox-vs-tool-policy-vs-elevated",
17211720
"gateway/permission-modes"
@@ -2116,4 +2115,4 @@
21162115
}
21172116
]
21182117
}
2119-
}
2118+
}

‎docs/gateway/config-agents.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ Optional sandboxing for the embedded agent. See [Sandboxing](/gateway/sandboxing
774774
defaults: {
775775
sandbox: {
776776
mode: "non-main", // off (default) | non-main | all
777-
backend: "docker", // docker (default) | daytona | openshell | podman | ssh
777+
backend: "docker", // docker (default) | openshell | podman | ssh
778778
scope: "agent", // session | agent (default) | shared
779779
workspaceAccess: "none", // none (default) | ro | rw
780780
workspaceRoot: "~/.openclaw/sandboxes",
@@ -868,15 +868,13 @@ Defaults shown above (`off`/`docker`/`agent`/`none`/`bookworm-slim` image/`none`
868868

869869
**Backend:**
870870

871-
- `daytona`: Daytona-managed cloud runtime
872871
- `docker`: local Docker runtime (default)
873872
- `openshell`: OpenShell-managed local or remote runtime
874873
- `podman`: local Podman runtime using Docker-compatible settings
875874
- `ssh`: generic SSH-backed remote runtime
876875

877876
Plugin-managed backends keep runtime-specific settings under their plugin entries:
878877

879-
- Daytona: `plugins.entries.daytona.config`; see [Daytona](/gateway/daytona)
880878
- OpenShell: `plugins.entries.openshell.config`; see [OpenShell](/gateway/openshell)
881879

882880
**SSH backend config:**

‎docs/gateway/daytona.md‎

Lines changed: 0 additions & 169 deletions
This file was deleted.

‎docs/gateway/sandboxing.md‎

Lines changed: 6 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ Not sandboxed:
2626

2727
Three independent settings control sandbox behavior:
2828

29-
| Setting | Key | Values | Default |
30-
| ------- | --------------------------------- | ------------------------------------------------- | -------- |
31-
| Mode | `agents.defaults.sandbox.mode` | `off`, `non-main`, `all` | `off` |
32-
| Scope | `agents.defaults.sandbox.scope` | `agent`, `session`, `shared` | `agent` |
33-
| Backend | `agents.defaults.sandbox.backend` | `docker`, `podman`, `ssh`, `openshell`, `daytona` | `docker` |
29+
| Setting | Key | Values | Default |
30+
| ------- | --------------------------------- | -------------------------------------- | -------- |
31+
| Mode | `agents.defaults.sandbox.mode` | `off`, `non-main`, `all` | `off` |
32+
| Scope | `agents.defaults.sandbox.scope` | `agent`, `session`, `shared` | `agent` |
33+
| Backend | `agents.defaults.sandbox.backend` | `docker`, `podman`, `ssh`, `openshell` | `docker` |
3434

3535
**Mode** controls when sandboxing applies:
3636

@@ -62,7 +62,7 @@ Non-shared runtime identity also includes the resolved agent workspace path. Thi
6262

6363
The first use after upgrading from an older release creates non-shared runtimes and sandbox workspaces under the workspace-qualified identity. Existing non-shared runtimes are not adopted; this is an intentional one-time reset. They can age out through configured prune settings or be removed with `openclaw sandbox recreate`; the next use provisions the current identity.
6464

65-
**Backend** controls which runtime executes sandboxed tools. Docker and Podman share `agents.defaults.sandbox.docker`; SSH-specific config lives under `agents.defaults.sandbox.ssh`; OpenShell-specific config lives under `plugins.entries.openshell.config`; Daytona-specific config lives under `plugins.entries.daytona.config`.
65+
**Backend** controls which runtime executes sandboxed tools. Docker and Podman share `agents.defaults.sandbox.docker`; SSH-specific config lives under `agents.defaults.sandbox.ssh`; OpenShell-specific config lives under `plugins.entries.openshell.config`.
6666

6767
| | Docker or Podman backend | SSH | OpenShell |
6868
| ------------------- | ----------------------------------------- | ------------------------------ | --------------------------------------------------- |
@@ -290,39 +290,6 @@ Use `backend: "openshell"` to sandbox tools in an OpenShell-managed remote envir
290290

291291
For the full prerequisites, configuration reference, workspace-mode comparison, and lifecycle details, see [OpenShell](/gateway/openshell).
292292

293-
## Daytona backend
294-
295-
Use `backend: "daytona"` to sandbox tools in [Daytona](https://www.daytona.io) cloud sandboxes. OpenClaw creates one Daytona sandbox per sandbox scope through the Daytona API and runs exec and file tools over the Daytona toolbox API (HTTPS); no SSH keys or inbound connectivity are required. The workspace model is remote-canonical like the SSH backend: seeded once at creation, re-seeded by `openclaw sandbox recreate`.
296-
297-
```json5
298-
{
299-
agents: {
300-
defaults: {
301-
sandbox: {
302-
mode: "all",
303-
backend: "daytona",
304-
scope: "session",
305-
workspaceAccess: "rw",
306-
},
307-
},
308-
},
309-
plugins: {
310-
entries: {
311-
daytona: {
312-
enabled: true,
313-
config: {
314-
apiKey: { source: "env", provider: "default", id: "DAYTONA_API_KEY" },
315-
},
316-
},
317-
},
318-
},
319-
}
320-
```
321-
322-
New sandboxes block all network egress by default (matching the Docker no-network default); opt in with `networkBlockAll: false` or the allow-list options. Idle sandboxes auto-stop on the Daytona side (default 15 minutes) and restart on next use. Current limitations: sandbox browser is not supported, and `sandbox.docker.*` settings do not apply to this backend.
323-
324-
For the full prerequisites, configuration reference, cost controls, and lifecycle details, see [Daytona](/gateway/daytona).
325-
326293
## Workspace access
327294

328295
`agents.defaults.sandbox.workspaceAccess` controls what the sandbox can see:
@@ -633,7 +600,6 @@ Each agent can override sandbox + tools: `agents.entries.*.sandbox` and `agents.
633600
## Related
634601

635602
- [Multi-Agent Sandbox & Tools](/tools/multi-agent-sandbox-tools) -- per-agent overrides and precedence
636-
- [Daytona](/gateway/daytona) -- cloud sandbox backend setup, cost controls, and config reference
637603
- [OpenShell](/gateway/openshell) -- managed sandbox backend setup, workspace modes, and config reference
638604
- [Sandbox configuration](/gateway/config-agents#agentsdefaultssandbox)
639605
- [Sandbox vs Tool Policy vs Elevated](/gateway/sandbox-vs-tool-policy-vs-elevated) -- debugging "why is this blocked?"

0 commit comments

Comments
 (0)