{"version":"1.0.4","anchor":"sandbox-mode-for-bash-commands","canonical_anchor":"sandbox-mode-for-bash-commands","heading":"Sandbox Mode for Bash Commands","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.4\/e\/sandbox-mode-for-bash-commands","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.4","markdown":"### Sandbox Mode for Bash Commands\n\n- **New `sandbox` parameter**: Execute bash commands in a restricted environment without requiring user approval\n- When `sandbox=true`: Commands run immediately without approval dialogs but with restricted filesystem write and network access\n- Automatically retries with `sandbox=false` if permission or network errors occur\n- Optimized for read-only operations like `ls`, `cat`, `git status`, `pwd`, etc.\n\nExample usage scenarios:\n\n`# These commands can run with sandbox=true (no approval needed)\nls -la\ngit status\ncat file.txt\npwd\necho $HOME\n\n# These require sandbox=false (user approval required)\nnpm install\ngit commit\ntouch newfile.txt\ncurl https:\/\/api.example.com`"}