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 8235072
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/how-it-works/gateways/configuration.mdx
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1244,8 +1244,10 @@ for build prerequisites and runtime limitations.
1244
1244
1245
1245
The MXC driver is Windows-only and opt-in. It links into the gateway and invokes Microsoft MXC through `wxc-exec.exe`. The driver starts `openshell-supervisor --role=isolation-backend` on the host and `openshell-windows-sandbox.exe` inside each ProcessContainer. The standard authenticated Sandbox Protocol and supervisor session provide lifecycle, exec, forwarding, provider refresh, and network policy.
1246
1246
1247
-
MXC does not support foreground attachment to the main process. Use `--detach`
1248
-
when creating a command workload; foreground requests fail during preflight.
1247
+
MXC supports foreground attachment to the main process without a terminal: the
1248
+
CLI streams the workload's stdout and stderr and exits with its exit code. An
1249
+
interactive terminal is not supported, so a foreground request with `--tty`
1250
+
fails during preflight. Use `--no-tty` or `--detach`.
1249
1251
1250
1252
The dedicated `openshell-windows-sandbox.exe` uses a Windows boundary library for process operations and forwarding. It replaces the generic sandbox binary in the Windows runtime pair; the supervisor remains a separate host process, not part of the compute driver. No separate supervisor-relay executable is required. Set `wxc_exec_path` to an absolute path; configuration preflight rejects an omitted or relative path. Existing MXC configurations that explicitly select `openshell-sandbox.exe` must update `sandbox_binary_path` to the Windows executable.
Copy file name to clipboardExpand all lines: skills/openshell-cli/SKILL.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,9 +95,11 @@ attachment and delete its sandbox after the service exits.
95
95
When supplying `--name`, use a portable DNS-1123 label: at most 63 lowercase alphanumeric or `-` characters, beginning and ending with an alphanumeric character. The Kubernetes driver rejects uppercase letters, underscores, dots, and other names that cannot become Kubernetes resource labels.
96
96
97
97
For native Windows MXC, supply the Windows command and absolute working
98
-
directory through `--driver-config-json` and use `--detach`. The gateway
99
-
administrator must enable caller driver configuration. Foreground attachment
100
-
is rejected before provisioning; `--no-tty` alone does not request detachment.
98
+
directory through `--driver-config-json`. The gateway administrator must enable
99
+
caller driver configuration. A foreground create with a command after `--`
100
+
streams the command's output to the CLI and returns its exit code; use
101
+
`--no-tty`, because an interactive terminal is rejected before provisioning.
102
+
Add `--detach` to run the command in the background.
101
103
Use `sandbox exec <name> --no-tty -- <executable> [args...]` for an additional
102
104
command. For shell builtins, pass a single command string after `cmd.exe /d /c`.
103
105
Use `sandbox start <name>` to relaunch a stopped, completed, or failed-main-process sandbox with its
@@ -327,7 +329,7 @@ Key flags:
327
329
-`--forward [BIND_ADDRESS:]PORT`: Forward a local port and keep the sandbox alive
328
330
-`--editor vscode|cursor`: Open a remote editor after creation and keep the sandbox alive
329
331
330
-
If the driver rejects foreground attachment during create validation, use `--detach`.
332
+
If the driver rejects an interactive terminal during create validation (MXC), use`--no-tty` or`--detach`.
331
333
332
334
`--detach` adds no attachment grace period. When the canonical process exits,
333
335
its terminal phase is reported immediately. A foreground create declares one
0 commit comments