fix(webui): name the gateway sandbox launcher in setup guidance
This commit is contained in:
1 parent
f5e5bd6ea0
commit
44d567e37c
31 files changed
+230
-86
No files matched your search
@@ -2382,7 +2382,7 @@ With a Unix sandbox enabled, the selected shell and any requested login profile
|
||||
|
||||
In **Settings → Advanced → Command sandbox**, choose the host's isolation method and use **Check sandbox**. The gateway checks the saved configuration with a bounded, temporary test: launcher startup, workspace writes, and denial of an external test file. It does not run a user command, change the real workspace, or certify all security properties. The result describes the saved configuration, not a live command session; restart the gateway after saving to apply changes. Open **Advanced options** to set a trusted launcher path and the existing additional paths and command controls. An older host without this optional settings capability keeps the existing sandbox editor and does not receive check requests.
|
||||
|
||||
When command execution confirms a missing or rejected sandbox launcher, or the operating system rejects starting that launcher, the WebUI shows a small notice above the message input. **Check settings** opens the sandbox section; path errors also open its path editor. The notice does not take input focus, edit configuration, install software, turn isolation off, or retry a command. Closing it suppresses the same issue for the current turn; a new turn needs a fresh failure to show it again. Opening old conversation history does not replay notices. Ordinary command output and nonzero exit codes do not by themselves prove a sandbox fault; use **Check sandbox** to investigate other failures. For a custom package, obtain the protected component location from its maintainer rather than guessing a path.
|
||||
When command execution confirms a missing or rejected sandbox launcher, or the operating system rejects starting that launcher, the WebUI shows a small notice above the message input. It names Bubblewrap (`bwrap`) or macOS Seatbelt (`sandbox-exec`) using the gateway's supported backend, not the browser's operating system. For missing or unavailable paths, **Configure bwrap path** or **Configure sandbox-exec path** opens and focuses the trusted path editor. Other failures use **Open sandbox settings**; if gateway backend details are unavailable, the notice keeps generic wording instead of guessing a launcher. The notice does not take input focus, edit configuration, install software, turn isolation off, or retry a command. Closing it suppresses the same issue for the current turn; a new turn needs a fresh failure to show it again. Opening old conversation history does not replay notices. Ordinary command output and nonzero exit codes do not by themselves prove a sandbox fault; use **Check sandbox** to investigate other failures. For a custom package, obtain the protected component location from its maintainer rather than guessing a path.
|
||||
|
||||
NAS and other custom packages can provide their own launcher, but a file in an app's writable data directory is not safe to launch before isolation. For fnOS or similar installations, ask the package maintainer to install bubblewrap and its parent directories in a root-protected location, then set that absolute path. Finding `bwrap` in an interactive shell or venv does not establish that the gateway can launch it safely or that the kernel permits namespaces. A failed check must be resolved in the launcher installation, host kernel policy, or container setup; it does not turn isolation off. Existing configurations without `sandboxLauncher` retain the same defaults. Clearing this field restores system lookup; no chat or configuration migration is required.
|
||||
|
||||
|
||||
Reference in new issue
Block a user