• v0.33.0 1f13f73a22

    v0.33.0
    All checks were successful
    release / plan (push) Successful in 4s
    release / image (push) Successful in 48s
    release / release (push) Successful in 0s
    Stable

    city-root released this 2026-11-12 11:40:05 +00:00 | 25 commits to main since this release

    Changed

    • The pane of an acp agent reads as the agent's narrative, not as the log: rexcity acp follow shows the agent's sentences in full brightness, each with its time and a ●, wrapped to the pane's width, and under them each tool call as one dim line: its state (▷ running, ✓ done, ✗ failed in red, ⊘ without a final status), the tool, the first line of its input, how many lines the input has beyond it and how long it ran. A call that has run for 2 seconds has its line at the foot of the pane with its running time, replaced by its final line when it ends, and several calls running at once have a line each; a failed call shows why on the next line; gc's prompt is one line and a count of the rest; thinking is dim and italic. The log is unchanged. The lines of calls still running are cut to the terminal's own width, whatever --width says, so that none wraps and none leaves a stale copy of itself at a redraw, in a narrow pane or a wide --width alike; a long word in the agent's text, such as a base64 or a minified line, is wrapped in linear time and no longer freezes the pane. Output that is not a terminal, or from a terminal that does not say how wide it is, gets lines only, no control sequence, and a pane without colour (NO_COLOR, TERM=dumb) keeps the markers. --raw writes the log's bytes as rexcity acp follow did before; --width N and --color auto|always|never are new.
    • A declared pane whose command the city has changed is replaced at the next start of an agent in its tab, where it kept the command it was opened with until the user closed it. The runtime records the command each declared pane opens with; a start that finds another declared for the label opens the new pane where a missing one goes, then closes the old one, so a tab is never left empty and the pane keeps its place in the column. A pane an earlier version opened has no record and is replaced once, at the first start after the upgrade, so that it gets the PATH above. A change of the runtime's PATH, of GC_BIN or of the restart pause replaces nothing. When the record of the commands cannot be read or written, the start warns once and replaces nothing, rather than replacing a pane at every start.

    Fixed

    • A declared pane, in the city tab and in a rig's tab, finds the tools gc's agents find: the runtime passes the pane's script the PATH it was started with (the supervisor's), and the script sets it before it runs the command. Rex starts the pane as a login sh, whose /etc/profile and ~/.profile could leave a PATH without /opt/homebrew/bin, so bd list --watch in a pane printed bd: command not found every 5 s. The PATH is the runtime's, not the starting agent's, and no other variable of the agent's env reaches the pane; a city names a directory its command needs with PATH=/dir:$PATH in the command, or the program's path. The directory of GC_BIN goes first on that PATH when GC_BIN is an absolute path, so a program the command starts that calls gc, such as the script of the city tab's mail pane, which printed gc: command not found, finds the city's gc whatever the supervisor's PATH holds; with no runtime PATH that directory comes before the shell's own.

    Added

    • The pane of an acp agent reports the agent's status to Rex with its program status escape sequence (OSC 7501), so Rex shows an acp agent's tab as it does a tui agent's: rexcity acp follow derives it from the log it follows, as working from gc's prompt to the turn's end, blocked (kind=permission) while a permission request waits for gc, whom nobody answers at the pane, idle after the turn's end, and clears it when the adapter exits or the pane ends. It is written only when the output is a terminal, never into the log, and not with --raw; a pane started in the middle of a run reports where the agent stands. The wrapper adds nothing to the JSON-RPC stream. The blocked report does not name the tool, and raises no notification of its own: Rex's own settings for blocked programs (Settings → Notifications → Program Activity) decide whether it shows a macOS notification, a badge or a sound.
    • The agent's env REXCITY_ACP_INPUT sets how much of a tool call's input its pane shows: first (the default), full (the input as the log holds it, under the call's line) or none; the wrapper passes it as --input to rexcity acp follow. REXCITY_ACP_HIGHLIGHT colours the shell of a Bash call's line, and in full mode the JSON of the other calls.
    • A city declares panes for every rig's tab in its rexcity.toml, as it does for the city tab: [[rig_tab.pane]] with a label and a command, for example label = "beads", command = "bd list --watch --limit 10". Each rig's tab holds one copy of each pane besides its agents', which runs the command with /bin/sh in the rig's own directory (the GC_RIG_ROOT gc gives the agent that starts, never the agent's worktree, so bd answers from the rig's store) and runs it again 5 s after it ends. The pane is no gc session: it keeps the rig's tab open when the last agent's pane closes, and the next start of an agent of the rig puts it back whenever it is missing. It is a column at the right edge of the tab, at its full height, and no agent's pane splits it or goes beside it, so it keeps half of the tab's width whether the rig has one Worker or five. Each start reads the file again and closes a pane no longer declared, after the agent's own pane is in. Entries that cannot open are skipped with the warnings the city tab's get, a rig whose directory the start's env does not give has its panes skipped with a warning, and no agent's start fails for them. A rexcity.toml without [[rig_tab.pane]] changes nothing for any rig's tab. A rig's tab still opens with the rig's first agent, not when the city starts.
    Downloads