You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b8bb851
Browse filesBrowse the repository at this point in the historyBrowse files
- Telegram/actions: add `topic-edit` for forum-topic renames and icon updates while sharing the same Telegram topic-edit transport used by the plugin runtime. (#47798) Thanks @obviyus.
- Sandbox/runtime: add pluggable sandbox backends, ship an OpenShell backend with `mirror` and `remote` workspace modes, and make sandbox list/recreate/prune backend-aware instead of Docker-only.
26
+
- Sandbox/SSH: add a core SSH sandbox backend with secret-backed key, certificate, and known_hosts inputs, move shared remote exec/filesystem tooling into core, and keep OpenShell focused on sandbox lifecycle plus optional `mirror` mode.
- OpenClaw creates a per-scope remote root under `sandbox.ssh.workspaceRoot`.
104
+
- On first use after create or recreate, OpenClaw seeds that remote workspace from the local workspace once.
105
+
- After that, `exec`, `read`, `write`, `edit`, `apply_patch`, prompt media reads, and inbound media staging run directly against the remote workspace over SSH.
106
+
- OpenClaw does not sync remote changes back to the local workspace automatically.
107
+
108
+
This is a **remote-canonical** model. The remote SSH workspace becomes the real sandbox state after the initial seed.
109
+
110
+
Important consequences:
111
+
112
+
- Host-local edits made outside OpenClaw after the seed step are not visible remotely until you recreate the sandbox.
113
+
-`openclaw sandbox recreate` deletes the per-scope remote root and seeds again from local on next use.
114
+
- Browser sandboxing is not supported on the SSH backend.
115
+
-`sandbox.docker.*` settings do not apply to the SSH backend.
116
+
66
117
```json5
67
118
{
68
119
agents: {
@@ -96,6 +147,9 @@ OpenShell modes:
96
147
-`mirror` (default): local workspace stays canonical. OpenClaw syncs local files into OpenShell before exec and syncs the remote workspace back after exec.
97
148
-`remote`: OpenShell workspace is canonical after the sandbox is created. OpenClaw seeds the remote workspace once from the local workspace, then file tools and exec run directly against the remote sandbox without syncing changes back.
98
149
150
+
OpenShell reuses the same core SSH transport and remote filesystem bridge as the generic SSH backend.
151
+
The plugin adds OpenShell-specific lifecycle (`sandbox create/get/delete`, `sandbox ssh-config`) and the optional `mirror` mode.
152
+
99
153
Current OpenShell limitations:
100
154
101
155
- sandbox browser is not supported yet
@@ -136,6 +190,7 @@ Behavior:
136
190
- After that, `exec`, `read`, `write`, `edit`, and `apply_patch` operate directly against the remote OpenShell workspace.
137
191
- OpenClaw does **not** sync remote changes back into the local workspace after exec.
138
192
- Prompt-time media reads still work because file and media tools read through the sandbox bridge instead of assuming a local host path.
193
+
- Transport is SSH into the OpenShell sandbox returned by `openshell sandbox ssh-config`.
0 commit comments