-
v0.33.0
Stablereleased this
2026-11-12 11:40:05 +00:00 | 25 commits to main since this releaseChanged
- The pane of an acp agent reads as the agent's narrative, not as the log:
rexcity acp followshows 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--widthsays, so that none wraps and none leaves a stale copy of itself at a redraw, in a narrow pane or a wide--widthalike; 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.--rawwrites the log's bytes asrexcity acp followdid before;--width Nand--color auto|always|neverare 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
PATHabove. A change of the runtime'sPATH, ofGC_BINor 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
PATHit was started with (the supervisor's), and the script sets it before it runs the command. Rex starts the pane as a loginsh, whose/etc/profileand~/.profilecould leave aPATHwithout/opt/homebrew/bin, sobd list --watchin a pane printedbd: command not foundevery 5 s. ThePATHis 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 withPATH=/dir:$PATHin the command, or the program's path. The directory ofGC_BINgoes first on thatPATHwhenGC_BINis an absolute path, so a program the command starts that callsgc, such as the script of the city tab'smailpane, which printedgc: command not found, finds the city'sgcwhatever the supervisor'sPATHholds; with no runtimePATHthat 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 followderives it from the log it follows, asworkingfrom gc's prompt to the turn's end,blocked(kind=permission) while a permission request waits for gc, whom nobody answers at the pane,idleafter 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. Theblockedreport 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_INPUTsets 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) ornone; the wrapper passes it as--inputtorexcity acp follow.REXCITY_ACP_HIGHLIGHTcolours the shell of aBashcall's line, and infullmode 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 alabeland acommand, for examplelabel = "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/shin the rig's own directory (theGC_RIG_ROOTgc gives the agent that starts, never the agent's worktree, sobdanswers 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. Arexcity.tomlwithout[[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
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
2 downloads
- The pane of an acp agent reads as the agent's narrative, not as the log: