docs(coding-agent): clarify sandbox example alternative to bash override (#2663)
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
* restrictions on bash commands at the OS level (sandbox-exec on macOS,
|
||||
* bubblewrap on Linux).
|
||||
*
|
||||
* Note: this example intentionally overrides the built-in `bash` tool to show
|
||||
* how built-in tools can be replaced. Alternatively, you could sandbox `bash`
|
||||
* via `tool_call` input mutation without replacing the tool.
|
||||
*
|
||||
* Config files (merged, project takes precedence):
|
||||
* - ~/.pi/agent/sandbox.json (global)
|
||||
* - <cwd>/.pi/sandbox.json (project-local)
|
||||
|
||||
Reference in New Issue
Block a user