Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/ai-sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ai prune # drop mounts whose sessions are gone
ai stop
```

The launcher prepends `--dangerously-skip-permissions` to `claude` and
The launcher prepends `--permission-mode auto` to `claude` and
`--yolo --search` to `codex`; `dsh`, `opencode`, and `pi` receive supplied
arguments unchanged. The profile setup may add an Incus proxy device for the
host llama.cpp endpoint (`AI_LLAMA_PORT`, default `8080`). The proxy listens
Expand Down
2 changes: 1 addition & 1 deletion scripts/ai-sandbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ if [[ $# -gt 0 ]]; then
# configured. Other tools receive exactly the arguments supplied by the
# caller.
case "$1" in
claude) set -- claude --dangerously-skip-permissions "${@:2}" ;;
claude) set -- claude --permission-mode auto "${@:2}" ;;
codex) set -- codex --yolo --search "${@:2}" ;;
opencode|opencode2)
OPENCODE_SERVICE_CLEANUP=1
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ai_sandbox_dispatch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ run() {

default_call="$(run claude --help)"
grep -Fq 'exec ai-cloud' <<<"${default_call}"
grep -Fq -- 'claude --dangerously-skip-permissions --help' <<<"${default_call}"
grep -Fq -- 'claude --permission-mode auto --help' <<<"${default_call}"

cloud_call="$(run cloud codex inspect)"
grep -Fq 'exec ai-cloud' <<<"${cloud_call}"
Expand Down