跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

提交记录

Merge pull request #14 from skelz0r/codex/bypass-sandbox

run codex with --dangerously-bypass-approvals-and-sandbox

作者
Sylvain Zimmer
时间
2026/04/28 23:14
提交
af58762
这个版本的全部文件

这是一个合并提交,下面是和第一个上一提交相比的改动。

修改README.md+1 −1看文件
@@ -63,7 +63,7 @@ Creates a persistent VM for the current directory (or reuses it if one already e
6363Each agent runs with its respective auto-approve flag:
6464- `claude` runs with `--dangerously-skip-permissions`
6565- `opencode` does not yet have an auto-approve flag (waiting on [this PR](https://github.com/anomalyco/opencode/pull/11833))
66删除:- `codex` runs with `--full-auto`
66新增:- `codex` runs with `--dangerously-bypass-approvals-and-sandbox`
6767
6868Any extra arguments are forwarded to the agent command:
6969
修改agent-vm.sh+1 −1看文件
@@ -522,7 +522,7 @@ _agent_vm_codex() {
522522 _agent_vm_print_resources "$vm_name"
523523
524524 local exit_code=0
525删除: limactl shell --workdir "$host_dir" "$vm_name" codex --full-auto "${args[@]}"
525新增: limactl shell --workdir "$host_dir" "$vm_name" codex --dangerously-bypass-approvals-and-sandbox "${args[@]}"
526526 exit_code=$?
527527 [[ -n "$rm" ]] && { echo "Removing VM..."; _agent_vm_destroy; }
528528 return $exit_code