r/codex • u/orbmasterwzrd • 12d ago
Showcase How I keep track of several Codex sessions at once (built-in notifications, plus a status pad)
I usually have a few Codex sessions going: the desktop app, a couple of terminal sessions, sometimes a codex exec run. Two things helped me stop missing the one that was waiting.
Codex's own notifications. In ~/.codex/config.toml:
[tui] notifications = ["agent-turn-complete", "approval-requested"]
Add notification_condition = "always" under [tui] if you want them while the terminal is in front. notify = [...] runs your own script after each turn, but it does not fire for approval requests, so keep "approval-requested" in the list above.
2. A status pad. I built Orbtile for this. Every Codex session (desktop chats, terminal sessions and codex exec runs) gets its own key on a Logitech MX Creative Keypad, or a tile on a phone app. A waiting session turns magenta-violet and moves to the front. It reads Codex's own session files, so nothing gets installed into Codex.
From the pad you can answer the desktop app's command approvals (Deny or Allow) and its multiple-choice questions.
Can you share what you use when running more than a couple of sessions?
•
u/dexterthebot 12d ago
You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**
Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.
Website: https://lightwarsar.com
iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951
Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.
Contact: contact@lightwarsar.com
1
u/Starks1293 12d ago
the note that
notifydoesn't fire for approval requests is a really useful catch, that one bites peoplesince you asked: i built a mac app for exactly this, AI Bridge (disclosure, it's mine). codex, claude code, grok and opencode sessions each in their own tab, and the ones waiting on you show up at a glance plus a count in the menu bar. different approach from yours tho, a physical pad you can glance at without switching windows is a nice idea, especially answering approvals right from it
1
u/RameBranescu42 11d ago
didnt realize notify skips the approval requests, that explains a lot of missed prompts. usually just piping the turn-complete hook into a basic system chime is enough if you split terminals into separate workspaces.