Codex has a daemon mode, but this means that sending messages to Codex daemon session tmux session doesn't arrive where it's supposed to:
────────────────────────────────────────────────────────────
agent-box: codex Remote Control daemon is running.
This pane is not a codex prompt — it signs the box in and pairs it.
Machine name in the Codex apps: box.nixos.defang.ca
────────────────────────────────────────────────────────────
✓ Pairing code: WECP-XXXX
Enter it in the Codex desktop or mobile app to adopt this box
("box.nixos.defang.ca"). Codes expire quickly — press Enter here for a
fresh one. Already paired? Nothing to do; ignore this code.
[Enter] fresh pairing code · [type: login] sign in again
/rename claude@box.nixos.defang.ca: Azure VM UDP
We'll have to find another way to communicate to these remote Codex sessions. Note that regular/interactive Codex sessions would have received the command fine, but the Codex daemon pane needs special handling, because it might actually be hosting multiple Codex sessions and not only can't we use simple tmux for messaging, we'd have to communicate to the right session too.
Codex has a daemon mode, but this means that sending messages to Codex daemon session tmux session doesn't arrive where it's supposed to:
We'll have to find another way to communicate to these remote Codex sessions. Note that regular/interactive Codex sessions would have received the command fine, but the Codex daemon pane needs special handling, because it might actually be hosting multiple Codex sessions and not only can't we use simple tmux for messaging, we'd have to communicate to the right session too.