Repository navigation
v0.139.0
Install or update: npm i -g cotal-ai@0.139.0
Changes in this release
-
The
cotal webdashboard tells agents apart and shows what each one is doing. Every avatar carries a badge with the first letter of the agent's name, plus its number (reviewer_2reads R2), on a colour chosen from the name, so two agents on one harness differ even in greyscale. Each agent has a page at#/agent/<id>, reached from the Agent tab's peek and its Open 's page button, or the View work action on any live message from that agent. The page's Work tab shows the agent's text, its tool names and times, where each turn starts and ends, and its own posts. It shows no tool inputs, results or reasoning, because the event plane does not carry them. The server reads one agent's events only while a browser has its page or its peek open: the newest 200 first, then 200 more per Load earlier up to 2,000, and it forwards live frames only to the browsers watching that agent. Live and history frames are both checked by their subject's sender: history is read from the agent's own subject, and a live frame whose subject names another sender is dropped. The check is only as strong as the mesh's publish permissions. On a mesh with auth only the agent holds the grant to publish on its own subject; on an open mesh any raw NATS client can publish there, so Work can show frames the agent did not publish. A feed that falls more than 1 MiB behind on live events is closed so the browser reconnects. The state a feed opens with is sent whatever its size, and while it is still unsent on a slow link it does not count toward that limit. In@cotal-ai/core,channelHistorytakes apublisheroption that reads a channel's history from one principal's subject only. The agent card gainsmeta["ai.cotal.events"],onwhen the agent arms its event plane andoffwhen it does not, so the page can tell an agent that publishes no events from one that has not started a turn. The dashboard also keeps the newest 500 direct messages, lists the ten most recent conversations in the sidebar, refuses a historylimitabove 2,000, and shows a working agent asWorkingwith no "progress unknown" suffix. -
The Claude Code connector publishes a
CUSTOMevent namedcotal.toolResulton the event plane at each tool result, with the value{ toolCallId, isError }and the result's timestamp. It carries no tool input or output: tool arguments and results stay off the channel, and the marker only says which call finished and whether it returned an error. The closed schema admits only that shape, and the vocabulary gate checks it before the frame is written: a marker whose value is malformed, or that carriesrawEvent, is refused as a vocabulary error rather than frozen in the write-ahead log, where it would halt recovery on every restart. The write path stripsrawEventfrom a marker, and a frozen frame from an older version that still carries one halts. The gate also refuses a marker for a call that is still open.cotal consoledraws the marker asdoneorfailedunder its call, and the dashboard uses it to show whether each call is running, done or failed and how long it took. A connector downgraded across a write-ahead log that holds a marker refuses the event name and halts. -
New
cotal webdashboard parts are built on shadcn/ui and Tailwind, scoped so the existing styles are untouched, with no new download for installers.An agent's work shows as turns with grouped tool calls that say running, done or failed and how long they took, from the connector's result marker. Code in an agent's prose gets a code block, highlighted the first time it is on screen.
Each agent is now a page at
#/agent/<id>with Work, Messages and Profile tabs, and the address keeps the tab. Work holds the agent's turns, tool calls, text, posts and direct messages; Messages lists what it sent on this page by place; Profile is its card, including whether it publishes work events. The panel's Agent tab becomes a peek with the current turn's last three steps and a link to the page. On a phone, picking an agent opens its page. Old#/agent/<id>/<message id>links still open Work at that message. "Session" is no longer a word in the dashboard: a message's action reads View work.Working agents move everywhere they appear while presence says they work: the status dot breathes, the working icon turns, a channel names who is working under its messages with View work, the channel header and the sidebar count working members, and a working agent's topology node gets a circling arc. The Agents view shows each working agent's running step, for up to 12 agents at once. Reduced motion stops all of it. When two live agents share a first letter, their badges take two letters each.
What's Changed
- feat(web): rebuild the dashboard in React with agent pages and live work by @mar-alsharif in #4673
- chore(release): version packages by @davidfarah2003 in #5772
Full Changelog: v0.138.2...v0.139.0