Let workers ask each other through the coordinator in chatrooms

A worker asks for another bot's help with ask_crew. The coordinator
reads the request, asks the right bot (in a workspace, only its
members), and sends the answer back into the asking bot's
conversation, waking it. Each exchange is kept as a read-only
chatroom: listed in the main rail after the workspaces, or in the
workspace's rail for requests made there, with live status rows for
each bot while it's open and a Stop button.

Room sessions are hidden from every conversation list, other bots'
words reach the model fenced as data, and turns, nesting and open
rooms are capped. Closed rooms are pruned after a retention period
and past a cap per place (Settings > General).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-27 18:57:34 +01:00
co-authored by Claude Opus 5.5
parent 2d3c15e48b
commit 7b762fd384
139 changed files with 4246 additions and 64 deletions
@@ -17,6 +17,12 @@ type Props = {
* Controls at the end of the pane header, e.g. a settings link.
*/
action?: ReactNode;
/**
* Leave out the breadcrumb trail: inside a workspace it would name the
* workspace by its id, and the workspace's rail already says where the
* page is.
*/
no_trail?: boolean;
};
/**
@@ -30,6 +36,7 @@ export default function SettingsShell({
children,
wide,
action,
no_trail,
}: Props) {
const { pageProps } = useContext(AppContext);
@@ -52,10 +59,14 @@ export default function SettingsShell({
* address would say the id of a record, or a slug that
* differs from the name the page shows.
*/}
<AdminBreadcrumbs
pathname={pageProps?.url?.pathname}
title={title}
/>
{no_trail ? (
<Stack className="w-full shrink-0 pt-5" />
) : (
<AdminBreadcrumbs
pathname={pageProps?.url?.pathname}
title={title}
/>
)}
{children}
</Stack>
</Stack>