Skip to content

Releases

rex-inbox 0.5

Choose a tag to compare

@captjt captjt released this 17 Nov 17:34

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 in inbox --json and read --json now has options (an empty list when it has none) and choice (or null), so whoever asked can read choice instead 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 me failed with "a message from you to you?". A tool reads your answers with inbox --json and read N, or with wait. 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. read and show list them under the message with a rex-inbox reply N --choice "…" hint, and a reply shows chose "X". The rex-inbox skill tells agents to offer --option for a decision only you can make, with their recommendation first.

Changes

  • A preview's buttons now send a choice as well, and preview.answer records 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.app

Or 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 serve works. The inbox itself still answers only you.
  • Vite and webpack-dev-server turn preview requests away until .ts.net is in their allowedHosts.
  • 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.

rex-inbox 0.4

Choose a tag to compare

@captjt captjt released this 10 Nov 16:07

Agents can now show you what they built: an app they serve on your Mac, on your phone, for you to approve or comment on. And they learn how from a skill that comes with rex-inbox.

What's new

  • Previews. An agent that runs something for you to look at (a dev server, a local stack) shares it with rex-inbox share PORT --title … --ask … --option … instead of sending a localhost link. The app gets its own address on your tailnet (https://<mac>.ts.net:7431/, through tailscale serve), served at /, so its assets, cookies and live reload work as on localhost. It waits on you under Needs You, with Open, the agent's answers as buttons (Approve, when it offers none), and Reply for comments, in both apps, in rex-inbox ls, and in its notification ("frontend wants your review"). Your answer goes back to the agent like any reply and finishes the item, which takes the preview off the tailnet. It also comes down when the agent's pane closes, the app stops answering, or the agent runs share --stop, and the item says which.
  • The rex-inbox skill comes with rex-inbox. It's how Claude Code and Codex learn to message each other, reach you, and share what they serve. rex-inbox up installs it into ~/.claude/skills and ~/.codex/skills where it's missing and keeps installed copies current; rex-inbox skill shows it, and skill install and skill remove do what they say. A copy without its marker line is treated as your own and left alone.
  • The phone keeps up with the hub. After an update, the web app reloads itself onto the new version once nothing is open, so a phone never runs an old app on a new hub.

Changes

  • Renaming a session from the phone works; it was refused ("isn't available from the web app").
  • Tapping an answer twice (or on the phone and the Mac) sends it once, and the item shows what you said.
  • A command piped into head (rex-inbox status | head -1) stops instead of panicking with "Broken pipe".
  • For contributors: CONTRIBUTING.md, a justfile (just lists the tasks; just setup installs everything, just check is what a pull request needs), and rustfmt.toml, with the code formatted by it.

Upgrade

cd ~/src/rex-inbox && git pull
cargo install --path .
rex-inbox up              # restart the hub; installs the agents' skill where it's missing
mac/build.sh              # Rex Inbox.app

Or just setup. Reopen the web app on your phone once; from this version on it reloads itself. If you installed the rex-inbox skill by hand before, rex-inbox skill says so, and rex-inbox skill install replaces it with this one. Agents load the skill when they next start.

Known gaps

  • 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, the way tailscale serve works. The inbox itself still answers only you.
  • Vite and webpack-dev-server turn preview requests away until .ts.net is in their allowedHosts; the skill and share say so.
  • Open goes to Safari (or your Mac's browser); previews don't open inside the app.
  • The phone's conversation view reads Codex's layout from a made-up screen only, so if a Codex pane reads oddly, 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.

rex-inbox 0.3

Choose a tag to compare

@captjt captjt released this 10 Nov 13:42

rex-inbox now shows every agent you have running, not just the ones that need you, and on the phone an agent's pane reads like a conversation.

What's new

  • Running, in the inbox. Everything on the Mac and All on the phone end with Running: each agent with nothing in the inbox yet (working, idle, or starting), by session/pane. One that needs you, failed, or finished shows as its item instead. The hub tells the apps whenever an agent appears, goes away, or changes state, so the list stays live.
  • Rename sessions from the Mac app or the phone: a pencil on each session's header under Agents. Names can't be empty, taken by another session, or contain / or :, so session/pane addresses keep working. A session renamed in Rex itself now relabels its open items too.
  • An agent's pane on the phone, as a conversation. Tap an agent: what you asked in bubbles, what it said with its lists and code, each tool it ran as a row that opens to its output, and each turn's timing between them. A status card at the top says what it's doing, or holds Approve and Deny when it waits on you. The sheet follows the pane while it's open, and stays open after you answer so you can watch it carry on. Screen shows the terminal as it is.

Upgrade

cd ~/src/rex-inbox && git pull
cargo install --path .
rex-inbox up              # restart the hub (it serves the phone app)
mac/build.sh              # Rex Inbox.app

Then reopen the web app on your phone.

Known gaps

  • The phone's conversation is read from the pane's screen, by the marks Claude Code and Codex draw. It's checked against real Claude Code panes; Codex's layout only against a made-up screen, so if a Codex pane reads oddly, Screen still shows it as it is.
  • Fleet support is tested with two Rex servers on one Mac, not yet across real machines.
  • 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.
  • iOS shows web notifications without buttons, so you answer in the web app.

rex-inbox 0.2

Choose a tag to compare

@captjt captjt released this 09 Nov 17:48

rex-inbox now starts agents as well as answering them, on this Mac or any machine in rex hosts, and a finished agent says what it did.

What's new

  • Start agents from the inbox. + in the menu bar panel, New Agent in the window and on the phone, or rex-inbox start. Pick the machine, Claude Code or Codex, the folder there (from where its agents already are, or browse), and the first prompt. It opens in a new tab of that machine's inbox session, named so other agents can message it. An agent stuck at a startup prompt, such as trusting a new folder, becomes a needs-you item.
  • A fleet of Rex hosts. The hub follows every machine in rex hosts and notices one added or removed within 30 seconds. Their agents show under Agents, grouped by machine, and their prompts reach your inbox. rex-inbox hosts lists them and says why one can't be reached.
  • Agents on other machines use the inbox too. Load rex/init.lua in your Rex config and install the CLI on the other machine: send, reply and wait go to the hub through Rex (inbox_rpc), with no ports opened.
  • Finished items say what the agent did. rex-inbox hooks install adds a Stop hook to Claude Code and Codex, beside your other hooks. Each finished agent's last message, cut to a paragraph, shows on its Finished item and under Agents until its next turn. The hook never holds up the agent.
  • New Agent on the Mac opens in place in the panel (a sheet over the full window), laid out like the phone's: chips, a full-width folder field, recent folders, a prompt ready to type into, and ⌘↩ to start.
  • The phone, rebuilt. Glass bars, filter chips like the Mac window's sidebar, bottom sheets with the full prompt or review, and swipe to snooze or file.
  • rex-inbox web checks Tailscale itself and says exactly what's still missing (MagicDNS, HTTPS certificates, or tailscale serve).

Changes

  • rex-inbox rpc no longer runs hub.stop or watch, since other machines reach the hub through it. Use rex-inbox down to stop the hub.
  • Homebrew's Tailscale cask is tailscale-app.

Upgrade

cd ~/src/rex-inbox && git pull
cargo install --path .
rex-inbox up              # restart the hub
rex-inbox hooks install   # agents say what they did when they finish
mac/build.sh              # Rex Inbox.app

Codex asks you to trust the new hook once, the next time it starts. For agents on other machines, see Agents on other machines.

Known gaps

  • Fleet support is tested with two Rex servers on one Mac, not yet across real machines.
  • 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.
  • iOS shows web notifications without buttons, so you answer in the web app.

rex-inbox 0.1

Choose a tag to compare

@captjt captjt released this 06 Nov 16:20

The first release: one inbox for everything your Rex agents need from you, and messages between them.

The idea comes from Plannotator's Inbox, by @backnotprop. Thank you for the inspiration.

What's in it

  • An inbox from program status. Claude Code and Codex report their state to Rex on their own (OSC 7501). A blocked agent becomes needs you, a failed one failed, and a finished one finished. Each item clears itself once the agent moves on.
  • Guarded approve and deny. Answer Claude Code's permission prompts from the inbox. The hub reads the prompt from Rex again first, and sends the key only if it's still the one you saw.
  • Messages between agents, and to you. rex-inbox send --to <pane>|me. A message waits until the agent is idle, then goes into its prompt, and never into a plain shell.
  • Rex Inbox.app, in the menu bar: Inbox and Agents tabs, a full window, and notifications with Approve, Deny, and Reply.
  • A web app for your phone, published on your tailnet with tailscale serve, with Web Push. Only your own Tailscale user gets in.
  • With rex-reviewer: a review ready to post is an item with Post, Dismiss, and Preview. The reviewer and checker panes fold under their PR. This needs rex-reviewer from 41f2227 on.

Install

git clone https://github.com/captjt/rex-inbox ~/src/rex-inbox
cd ~/src/rex-inbox
cargo install --path .
rex-inbox up      # the hub, as a LaunchAgent
mac/build.sh      # Rex Inbox.app, in ~/Applications

macOS only for now. Rex is in private beta, and rex-inbox needs a Rex build whose agents report program status. For the phone, see On your phone.

Known gaps

  • Codex's prompt keys aren't checked against a live prompt yet, so a Codex prompt can only be opened.
  • One Rex host: the hub follows the Rex on its own Mac. Other hosts come later.
  • iOS shows web notifications without buttons, so you answer in the web app.