sandbox: runtime /sandbox toggle, sandbox.claude config, --no-claude-sandbox

This commit is contained in:
hermes committed 2026-11-02 12:28:52 +00:00
1 parent d1bfa22580
commit a0cd7946c3
5 files changed
+102 -12

No files matched your search

+2 -1
View File
@@ -59,7 +59,8 @@ max_tokens = 16384
## Project dir + /tmp writable, $HOME hidden except `ro`/`rw`, filtered env (no API keys/tokens), no network.
## File tools (read/write/edit) obey the same paths. mode = "on" without a working backend refuses to start.
# [sandbox]
# mode = "off" # off | on (CLI: --sandbox / --no-sandbox)
# mode = "off" # off | on (CLI: --sandbox / --no-sandbox; /sandbox toggles at runtime)
# claude = true # false: claude (claude_cli provider) runs unconfined, no prompt
# backend = "auto" # auto | bwrap | seatbelt
# network = false
# rw = ["~/.cargo/registry", "~/.cargo/git"] # extra writable paths