Repository navigation
Labels
documentationImprovements or additions to documentation
Description
Summary
The chat TUI enters the rooms the CLI daemon hosts, and a room reads like a Slack channel. Room members talk like teammates there, one member picks up each request, a room sets the agent mode its members run in, a member's escalated tool call is approved or rejected right in the room, and infer rooms clear empties a room (inference-gateway/cli#1954 with PR inference-gateway/cli#1957, inference-gateway/cli#1958 with PR inference-gateway/cli#1963, part of inference-gateway/cli#1943).
This extends the Rooms docs from #1297 and #1302. It is part of #1291, which stays open for the desktop Rooms work.
Acceptance Criteria
- The Rooms section in
cli.mdcovers rooms in the chat TUI: theRoom: -/Room: #<room>status bar indicator, opened with Enter on the focused indicator or a left click, and its dropdown with No room first, then every room with its member count. A left click now opens every actionable status bar indicator, not only Room. - It describes the room view: a header with what the room spent, such as
48.2k tokens - $0.031(what the posts in its log cost: the members' turns, and the tokens of routing, which carry no cost, so a cleared room starts over), and each member's presence (idle, working, waiting for approval), each message under its author and time with an author's consecutive messages grouped, joins and room notes as quiet lines, and a " is working..." line under the posts. - It covers the composer inside a room: a message posts to the room, the
roomtrigger table ofcomposer.yamldrives the menus, and the placeholder readsMessage #<room>.!and!!commands and messages with an image stay in the composer, and/commands work as usual.Ctrl+L,/clearand/newclear nothing inside a room, since other people read it too, and point toinfer rooms clear <room>or No room. No room brings the chat back untouched. - It states that a plain chat reaches rooms only through a daemon that already runs. It never starts one, and the status bar says so when none runs.
- Routing covers
@all, which reaches every member without a router model and is the only way to reach them all, and the pickup of a post that pings nobody, a greeting included. Therooms.yamlreference gains a room'spickup. Withoffer(the default) the post goes to the best match first, which answers it or replies exactlyPASS, and aPASSnotes<member> passed it on - offered to <next>.and offers the post to the next best, up torouter.max_members. When the last one passes, the room says nobody picked it up. Withtopthe best match alone gets it.infer rooms postprintsOffered to researcher (0.94), then tester (0.81).for such a post. - The
rooms.yamlreference showsrouter.modeldefaulting toollama_cloud/clef:27b, the decision model that routes a post that pings nobody. An emptyrouter.modelkeeps @mentions-only routing. Without anollama_cloudkey, a post that pings nobody reaches nobody and the author gets a notice to ping a member. The cli-managed gateway now starts withDECISIONS_ENABLED=trueby default, since the router needs it. - It covers the first-visit welcome: the first time the user enters a room, a
kind: joinpost is logged and the firstrouter.max_membersmembers welcome the user in one short line. A client sendsjoin_roomto get the welcome.follow_roomnever welcomes. - The
rooms.yamlreference gainsmode: the agent mode a room's members run in,standard,plan,autoorauto-with-judge. The default isauto-with-judge, where an LLM judge decides a member's gated tool calls and only a call it escalates waits for the user, in the room. The judge isjudge.model, else the model the member runs on, so it works after a freshinfer init.mode: standardkeeps the user on every approval. Link the judge mode docs. - It notes that the posts a member missed reach it quoted as context, so neither the member nor its judge takes them for the request.
- It covers approving a member's tool call from the room. A member whose run waits on a tool call, in
auto-with-judgeone the judge rejected and the member escalated, posts it to the room:<member> wants to run <tool> <arguments>, the judge's reason and the member's justification, and[ Approve ][ Reject ]. A click on either decides the call, andalt+yapproves oralt+nrejects the newest open one (chat_room_approveandchat_room_rejectinkeybindings.yaml). The room logs who decided, such asYou approved tester's Bash call., and the member's run continues. The first decision wins, from the room or from the member's own chat (sessionroom-<room>-<agent>), and a later one is refused with<member>'s call was already decided. A call decided in the member's own chat, or one whose run ended first, is closed in the room with a line saying so. The room offers Approve and Reject only, never Auto-Approve. A member asking the user a question still waits in its own chat, and the room notes it. -
infer rooms clear <room>is documented in the Rooms section and in theinfer roomsrow of the command reference. Through a running daemon it empties the log and the view of every client following the room. With no daemon listening it clears the log where it runs. A daemon that listens but does not answer keeps its log, and the command fails. Members drop the posts they held and keep their own sessions, and the next visit is welcomed again. -
"*"in a room'sagentsseats the user's own agents only. The built-ins (main,explore,general-purpose,plan) join a room only by name, also onceinfer initseeded their files. Correct any page that still says"*"seats every agent, built-ins included. - The client frames table gains
join_room,clear_room,room_cleared,decide_room_approvalandroom_approval_decided, linking the binding protocol's Rooms section. - The client frames notes cover the approval posts. A member's call waiting for the user is a post of
kind: approvalby the member, whosetextis the judge's reason and the member's justification and whoseapprovalnames the call (id,tool,arguments). A client decides it withdecide_room_approval(room,member,tool_call_id,decision:approveorreject), answered withroom_approval_decided, orRUN_ERRORfor a call that was already decided or no longer waits. The room then logs akind: decisionpost with the sameapproval.idandapproval.decision, absent when the call was decided outside the room. An approval is open until such a decision post follows it. - The client frames notes cover what a room spent: every post carries
usage(tokens,cost), the input tokens of routing it for the user's post, with nocost, and the member's turn for its answer or for the room's note that it passed a post on. A turn that failed ends onRUN_ERROR, which reports no spend, so its note has nousage. A room's total is theusageof every post in its log, andcoststays0for a model without a price. - The headless AG-UI output reference lists
runTokensandrunCostin theRUN_FINISHEDresult: what the session spent during the run, a run that paused on an approval included. - The configuration reference gains
composer.status_bar.indicators.room(defaulttrue). - Examples run as written against a released CLI that includes feat(rooms): rooms in the TUI, like a Slack channel, with members that talk like teammates cli#1957 and feat(rooms): approve or reject a member's tool call from the room cli#1963, and use plain ASCII.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 24, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Nov 24, 2026
Claude finished @edenreich's task in 3m 52s —— View job •
docs/issue-1305-20261124-1204• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1305-20261124-1204?quick_pull=1&title=Issue%20%231305%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231305%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented rooms in the chat TUI - PR #1306
chat_rooms.go,clear.go,frames.go)cli.mdandconfiguration.md"*"seats the built-inslint:md,format:checkandbuildall passWhat changed
Room: -/Room: #<room>indicator. Added a note that a left click opens every actionable indicator.is working...line), the composer inside a room, whyCtrl+L//clear//newclear nothing there, and that rooms need a daemon that already runs.rooms.yamlreference:router.modelnow defaults toollama_cloud/clef:27b.modeandpickupfields."*"seats only your own agents. The built-ins join only by name.@all,offer/topwith thePASShand-off, the notice when there is noollama_cloudkey, andDECISIONS_ENABLED=trueby default.kindandusagefields.infer rooms:postnow shows theOffered to ...output. Added a newinfer rooms clearsection and updated the command reference row.join_room,clear_roomandroom_cleared, plus notes onusage.RUN_FINISHED: addedrunTokensandrunCost.configuration.md: addedcomposer.status_bar.indicators.room.Not done or worth checking
usage. The CLI PR says a failed turn reports no spend, so the failure note has none. I followed the CLI.@main.mainis a built-in and no longer joinspublicthrough"*", so I changed it to@all.roomindicator as TUI-only (Desktop: no), because the desktop Rooms work is still open.feat(rooms): rooms in the TUI, like a Slack channel, with members tha…
[-][DOCS] Rooms in the chat TUI - the room switcher, @all, the first-visit welcome, member mode and infer rooms clear[/-][+][DOCS] Rooms in the chat TUI - the room switcher, @all, the first-visit welcome, member mode, approvals in the room and infer rooms clear[/+]feat(rooms): approve or reject a member's tool call from the room (#1963