-
v0.34.0
Stablereleased this
2026-11-13 06:19:14 +00:00 | 10 commits to main since this releaseAdded
- The log of an acp agent, and so its pane, says which model, effort and mode the agent runs on, in a line of its own after the session's start:
· model claude-opus-5-5 · effort high · mode bypassPermissions. It is taken from the adapter's reply tosession/new(alsosession/loadandsession/resume): the config optionsmodel,effortandmode, as the adapter reports them, andmodes.currentModeIdfor the mode when no option gives it. A field the reply does not carry falls back to the adapter's--modeland--effortarguments, and, forgoose, toGOOSE_PROVIDER(shown asprovider) andGOOSE_MODEL. A laterconfig_option_updateorcurrent_mode_updatewrites the line again with the new values, and writes nothing when they are the same.
Changed
- The pane of an acp agent indents what is under an entry's head line by 2 columns, where it hung the calls under the sentence's text, 11 columns in, the width of
HH:MM:SS ●. The calls of a turn are 2 columns in; what is under a call, the reason a call failed and the input shown with--input full, is 4 in; and a sentence's text that wraps continues at 2, so the lines after the first are 9 columns wider than the first. The 2-column step is the one the log's own input already has, and the log is unchanged: it carries no such indent. - The image is built on kuberex 0.28.0.
- The acp log indents the lines of agent text after the first by two spaces, and puts a space before the first line when it begins like an entry of the log's own.
- A start of an acp agent sets a log larger than 8 MiB aside as
<name>.log.1, and removes the logs of acp agents that nothing has written to for 30 days. - The pane of an acp agent is coloured by state, in the 16 ANSI colours so the terminal's theme applies, with
NO_COLORrespected as before:▷running and its seconds yellow (red past 5 minutes),✓green,✗red with the reason in red,⊘magenta, the tool's name cyan, the input in the terminal's own colour, a duration dim (yellow past 30 seconds, red past 5 minutes), gc's prompt bold blue, a permission request bold magenta and the adapter's stderr yellow; the sentences the agent says stay bright, and the rest, the time stamps, the counts, the headers and the turn's end, is dim, where every line but the sentences was dim grey and only✗was coloured. Thinking keeps its○in a coloured pane, where it was replaced by a space and a thought read as a sentence without its bullet. - The pane's line for gc's prompt shows the first line after the prompt's header,
[root] rexcity/roles.worker-2 • 2026-11-12T13:19:40, which the pane's label says already, so it names the rig and the bead where it repeated the tab. - A change of mode in the log of an acp agent is the settings line again,
· model opus · effort high · mode plan, where it was· mode plan; the line has only the fields known, so an adapter that reports a mode alone still gets· mode plan.
Fixed
- Control characters in agent text, thinking, prompts, plan entries, tool names and titles, and the other fields the acp log renders show as their pictures, where they reached the terminal of whoever read the log.
- Agent text can no longer read as an entry of the acp log's own, such as a permission answer or a turn's end.
rexcity acp followends on SIGQUIT (Ctrl-\ on a pane run by hand) as it does on SIGTERM, and puts the terminal's modes back as it ends.- An adapter that exits while its pane is opening no longer leaves a pane that no view record names.
- A wrapper or a root process whose environment sets
TZ,LANG,LC_ALLorLC_TIMEno longer reads as another process than the one a start recorded, so its pane is no longer closed at the next start of the runtime. - A view file that cannot be read (mode 000, a link to a directory or to itself; any other read error stops the start and keeps the record), a view file that holds
nullor{}, and a file or link where the views directory belongs no longer fail every later start of a pane. - An empty
<name>.jsonrecord no longer fails every start and the stop of that name. - The pane of an acp session is no longer left in its tab when Rex fails the call that closes it. The runtime forgot the view's record before it closed the pane, and again when a later start found the wrapper gone, so a close that failed once left a pane that no record named and nothing closed. A record now goes only once its pane is closed, and a start that cannot close the pane of a view whose wrapper is gone keeps the record and tries again at the next start.
- The acp wrapper tries three times to close its pane, half a second apart, and starts closing it as soon as the adapter has exited, not after the wait for the adapter's last output.
- The acp wrapper ends the run, closing the pane, on SIGQUIT as it does on SIGTERM; it used to dump its goroutines and die with the pane open.
- A pane the wrapper cannot close is now said in the session's log (
· pane not closed: …), where the user reads it, and not only on the wrapper's stderr, which gc shows to nobody. - The log and the pane say why a shell command failed as
exit 2 —and the next line that says anything, where they showedExit code 2alone, the adapter's first line, and nothing of what the command said. - A tool call's start entry is no longer written by a message that is not about the call (a usage update, another call's end): the adapter claudeacp sends a call's input a moment after it opens the call, so a start written by such a message had no input, and the pane labelled the call
TerminalorSkilland showed it with no input. A call starts when its own status says it is running or over, when text or another entry follows, when its turn ends, or when the stream has been quiet for the settle time, so calls that run side by side start in the order they say they are running or end, and a call that was in progress is timed from the message that says so when the adapter sends one, and not from the first message about it. The pane also describes a call whose start has no input from the label of its end entry, so a log already written showsSkill roles.citywhere it showedSkilland no input. - The pane of an acp agent is drawn again at the new width after a resize, where it left a copy of each running call's line above its final one: it clears the screen and lays out the tail of the log (the last 32 KiB, from an entry) again, for what it shows is a function of the log and the width and rows a terminal has reflowed cannot be patched. The running lines are written with autowrap off, so that one still too long for the terminal, as when Rex's block is drawn wider than the pty reports, is cut at its edge and never counts as two rows (a
running 5/spair seen in a pane), and the cursor is hidden while the pane follows and shown again when it ends. A resize does not report the agent's status to Rex again. - The pane of an acp agent no longer echoes what is typed into it (
^[[B,^[4): on a terminal the follower puts its input in raw mode without echo, throws away what is typed, and puts the terminal back as it was when it ends, aSIGINT,SIGTERMorSIGHUPincluded; the interrupt key still ends it. - The pane of an acp agent has no
Last login:line above it: Rex started the follower throughlogin(1), and the split that opens an acp agent's pane now asks Rex for no login shell. The panes of tui agents and the panes a city declares are started as before. - A rig's tab that holds only declared panes no longer stays forever once no agent of the rig runs. At the next start of an agent of any other rig, the runtime closes the panes the city no longer declares, so a city that drops
[[rig_tab.pane]]loses the tab of a rig that never starts again. It closes the tab of a rig thatgc rig removetook out of the city (neithercity.tomlnor.gc/site.tomlnames it any more; its checkout stays on disk), and the tab of a rig whose directory is gone from disk (the runtime records the directory the panes opened in), with its records. It also forgets the records of declared panes whose tab Rex no longer holds, which a restart of the Rex server left behind. A tab of a rig that is still in the city with its panes still declared stays, as before, and arexcity.toml,city.tomlor.gc/site.tomlthat cannot be read keeps every tab. The panes of a rig whose tab opened before this version have no directory recorded, so a missing directory is not noticed until the rig's next start records it. - A failed read of a tab right after a declared pane opened in it no longer fails the agent's start with
tab has no pane, in a rig's tab and in the city tab: the start warns and puts the agent's pane in the tab as it was last read. Opening the city tab for the first time still fails when it cannot be read back. - A declared pane no longer gets half a directory on its
PATHwhen the directory ofGC_BINhas a colon in its path. ThePATHis colon-separated, so such a directory split into two entries, the first a prefix of the real one; the runtime now adds no directory for it. The pane's command still reaches the city'sgcas thegcfunction, and a program it starts finds thegcthePATHnames. - A metadata key of a session that ends in
json, such asset-meta <name> json, is no longer listed as a record of<name>.meta, so the runtime's reads of the sessions that have a record no longer fail withrecord of <name>.meta: invalid character.
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
2 downloads
- The log of an acp agent, and so its pane, says which model, effort and mode the agent runs on, in a line of its own after the session's start: