Repository navigation
A message to you can now offer its answers as buttons, and your reply says which one you picked. A tool that reports its status to Rex, such as rex-develop, can also ask you things as itself and read your answers.
What's new
- Options on messages.
rex-inbox send --to me --option Merge --option Wait "…"offers up to six answers. The Mac panel and window show them as buttons beside Reply, and a message's notification gets one action per option, plus Reply and Open. The phone shows them on the card and in the sheet. A button answers with its label, along with anything you typed in the reply box. Answering a message that has options files it, as answering a preview does. - Your reply says which you picked.
rex-inbox reply N --choice Merge [TEXT]picks one of the message's options. Case doesn't matter, and the message's own spelling is kept. A reply whose words are exactly an option picks that option too. Every message ininbox --jsonandread --jsonnow hasoptions(an empty list when it has none) andchoice(or null), so whoever asked can readchoiceinstead of parsing your words. - A tool's pane speaks for itself. Any pane whose program reports status to Rex now sends as that pane. Until now only Claude Code and Codex panes did, and every other pane sent as you, so a tool's
send --to mefailed with "a message from you to you?". A tool reads your answers withinbox --jsonandread N, or withwait. A plain shell reports nothing, so what you type there still sends as you. - Agents see the options. When a message with options is pasted into an agent's pane, it lists them along with the command to pick one.
readandshowlist them under the message with arex-inbox reply N --choice "…"hint, and a reply showschose "X". The rex-inbox skill tells agents to offer--optionfor a decision only you can make, with their recommendation first.
Changes
- A preview's buttons now send a
choiceas well, andpreview.answerrecords it, so the sender reads a preview's answer the same way as a message's. - The same words sent with a different choice count as a new answer, not a repeat.
Upgrade
cd ~/src/rex-inbox && git pull
cargo install --path .
rex-inbox up # restart the hub; updates the agents' skill
mac/build.sh # Rex Inbox.appOr just setup. When the hub starts, it adds the options and choice columns to its database by itself. The phone reloads onto the new version on its own. Agents pick up the updated skill the next time they start.
Known gaps
- A message with options stays under Messages, while a preview waits under Needs You.
- An option's label has no length limit, so a very long one looks poor on a button.
- When you reply to a tool's pane from the CLI, the confirmation still says the reply goes in when the agent is idle. Really it waits until the tool reads it.
- Previews are for agents on the hub's Mac; other machines can't share yet.
- Anyone on your tailnet can open a preview while it's up, because that's how
tailscale serveworks. The inbox itself still answers only you. - Vite and webpack-dev-server turn preview requests away until
.ts.netis in theirallowedHosts. - Open goes to Safari (or your Mac's browser); previews don't open inside the app.
- The phone's conversation view has only been checked against a made-up Codex screen, so a real Codex pane may read oddly there. If it does, Screen shows it as it is.
- A startup prompt (trusting a folder) must be answered in Rex.
- Finished items don't notify; their summaries show in the inbox and under Agents.
- Codex's prompt keys still aren't checked against a live prompt, so a Codex prompt can only be opened.