Support Codex terminal launch
Draft
SH
6mo ago+47+47+01234567890123456789-1-1-0123456789
Summary
- Teach the box-agent tmux launcher to seed new terminal windows with Codex when cloud sends
launch=codex - Keep Claude Code launch behavior unchanged, including
--dangerously-skip-permissionswhen enabled - ACK cloud
update_default_agentpushes so the new setting does not show as an unknown command on the agent - Add a focused unit test for Codex tmux launch command construction
Validation
python3 -m py_compile agent/box_agent.py agent/test_box_agent.pypython3 -m unittest agent.test_box_agent
Notes
- Companion cloud PR: https://github.com/browser-use/cloud/pull/4531
Summary by cubic
Add support for launching Codex in new tmux windows when the cloud sends launch=codex. Claude Code behavior stays the same (including --dangerously-skip-permissions), and the agent now ACKs update_default_agent to avoid noisy warnings.
-
New Features
- Seed first
tmuxcommand with Codex and drop to a login shell on exit. - Added a focused unit test for Codex
tmuxcommand construction.
- Seed first
-
Bug Fixes
- ACK
update_default_agentpushes so they don’t appear as unknown commands.
- ACK