Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Rooms follow their Chief of Staff: retarget on a change, flag when absent
Milind Soni970c96a59e73
diff --git a/server/host/chief-rooms.test.ts b/server/host/chief-rooms.test.tsnew file mode 100644index 0000000000..f912eac38b--- /dev/null+++ b/server/host/chief-rooms.test.ts@@ -0,0 +1,86 @@+import { describe, expect, it } from "vitest";++import type { GroupDefaultResponder } from "../../shared/wire.ts";+import type { BotRecord, GroupRecord } from "../store.ts";+import { chiefAbsentFrom, createChiefRooms, type ChiefRoomsDeps } from "./chief-rooms.ts";++const bot = (id: string, chief = false, section = "Ops") => ({ id, name: id.toUpperCase(), section, chiefOfStaff: chief }) as unknown as BotRecord;+const room = (id: string, memberIds: string[], defaultResponder: GroupDefaultResponder, extra: Partial<GroupRecord> = {}) =>+ ({ id, threadId: `${id}-thread`, section: "Ops", memberIds, defaultResponder, ...extra }) as unknown as GroupRecord;++function world(groups: GroupRecord[], refuse: ReadonlySet<string> = new Set()) {+ const lines: Array<{ threadId: string; name: string | undefined }> = [];+ const published: string[] = [];+ const updates: Array<{ id: string; patch: Parameters<ChiefRoomsDeps["updateRoom"]>[1] }> = [];+ const deps: ChiefRoomsDeps = {+ store: { groups, appendMessage: ((threadId: string, message: { tool?: { name?: string } }) => { lines.push({ threadId, name: message.tool?.name }); }) as never },+ updateRoom: (id, patch) => {+ if (refuse.has(id)) throw new Error("this channel is working or waiting on you");+ updates.push({ id, patch });+ const group = groups.find((one) => one.id === id)!;+ Object.assign(group, patch);+ return group;+ },+ published: (group) => { published.push(group.id); },+ };+ return { rooms: createChiefRooms(deps), lines, published, updates };+}++describe("rooms follow their Chief of Staff", () => {+ const former = bot("old");+ const chief = bot("new", true);++ it("hands a room the old Chief led to the new one, added once, with one line saying so", () => {+ const led = room("led", ["old", "mira"], { kind: "member", botId: "old" });+ const auto = room("auto", ["old", "new"], { kind: "auto", fallbackBotId: "old" });+ const w = world([led, auto]);+ w.rooms.moved([former, chief]);+ expect(led).toMatchObject({ memberIds: ["old", "mira", "new"], defaultResponder: { kind: "member", botId: "new" } });+ expect(auto).toMatchObject({ memberIds: ["old", "new"], defaultResponder: { kind: "auto", fallbackBotId: "new" } });+ expect(w.lines.map((line) => line.threadId)).toEqual(["led-thread", "auto-thread"]);+ expect(w.lines[0]!.name).toBe("notice: NEW is the Chief of Staff now, so it leads this room in place of OLD.");+ });++ it("leaves a room the old Chief did not lead alone, and a one-to-one channel out of it", () => {+ const other = room("other", ["old", "mira"], { kind: "member", botId: "mira" });+ const mentions = room("mentions", ["old"], { kind: "mentions" });+ const dm = room("dm", ["old", "mira"], { kind: "member", botId: "old" }, { dm: true });+ const w = world([other, mentions, dm]);+ w.rooms.moved([former, chief]);+ expect(w.updates).toEqual([]);+ expect(w.lines).toEqual([]);+ expect(w.published).toEqual(["other", "mentions"]);+ });++ it("skips a room that may not change now, and still publishes it so its line shows", () => {+ const busy = room("busy", ["old"], { kind: "member", botId: "old" });+ const w = world([busy], new Set(["busy"]));+ w.rooms.moved([former, chief]);+ expect(busy.defaultResponder).toEqual({ kind: "member", botId: "old" });+ expect(w.lines).toEqual([]);+ expect(w.published).toEqual(["busy"]);+ expect(chiefAbsentFrom(busy, [former, chief])).toEqual({ botId: "new", name: "NEW" });+ });++ it("does nothing when no Chief changed, and retargets nothing when a department loses its Chief", () => {+ const led = room("led", ["old"], { kind: "member", botId: "old" });+ const w = world([led]);+ w.rooms.moved([]);+ expect(w.published).toEqual([]);+ w.rooms.moved([former]);+ expect(w.updates).toEqual([]);+ expect(w.published).toEqual(["led"]);+ });+});++describe("a room without its department's Chief", () => {+ const chief = bot("chief", true);++ it("names the Chief only when it is absent from its own department's room", () => {+ expect(chiefAbsentFrom(room("r", ["mira"], { kind: "mentions" }), [chief])).toEqual({ botId: "chief", name: "CHIEF" });+ expect(chiefAbsentFrom(room("r", ["chief"], { kind: "mentions" }), [chief])).toBeUndefined();+ expect(chiefAbsentFrom(room("r", ["mira"], { kind: "mentions" }, { section: "Growth" }), [chief])).toBeUndefined();+ expect(chiefAbsentFrom(room("r", ["mira"], { kind: "mentions" }, { dm: true }), [chief])).toBeUndefined();+ expect(chiefAbsentFrom(room("r", ["mira"], { kind: "mentions" }), [{ ...chief, hidden: true } as BotRecord])).toBeUndefined();+ });+});diff --git a/server/host/chief-rooms.ts b/server/host/chief-rooms.tsnew file mode 100644index 0000000000..5bd80baf6a--- /dev/null+++ b/server/host/chief-rooms.ts@@ -0,0 +1,60 @@+// A room follows its department's Chief of Staff. When the Chief changes, a room the old one led goes to the new one; a room+// that can't be changed then, or that never had its Chief, says so to the person instead.+import { chiefScope } from "../../shared/bot-owner.ts";+import type { GroupDefaultResponder } from "../../shared/wire.ts";+import { conversationLanguage, serverLine } from "../server-lines.ts";+import type { BotRecord, GroupRecord, Store } from "../store.ts";++export interface ChiefRoomsDeps {+ store: Pick<Store, "groups" | "appendMessage">;+ /** Changes the room as the person would, with the same refusals; throws when it may not change now. */+ updateRoom(groupId: string, patch: { memberIds: string[]; defaultResponder: GroupDefaultResponder }): GroupRecord;+ published(group: GroupRecord): void;+}++const ledBy = (room: Pick<GroupRecord, "defaultResponder">, botId: string): boolean => {+ const lead = room.defaultResponder;+ return lead.kind === "member" ? lead.botId === botId : lead.kind === "auto" && lead.fallbackBotId === botId;+};++/** The department's Chief, when this room is a department's room and that Chief is not in it. */+export function chiefAbsentFrom(room: Pick<GroupRecord, "dm" | "section" | "memberIds">, bots: readonly BotRecord[]): { botId: string; name: string } | undefined {+ if (room.dm) return undefined;+ const scope = chiefScope({ section: room.section });+ const chief = bots.find((bot) => bot.chiefOfStaff && !bot.hidden && chiefScope(bot) === scope);+ return chief && !room.memberIds.includes(chief.id) ? { botId: chief.id, name: chief.name } : undefined;+}++export function createChiefRooms(deps: ChiefRoomsDeps) {+ const { store } = deps;++ function retarget(room: GroupRecord, from: BotRecord, to: BotRecord): GroupRecord | null {+ const lead: GroupDefaultResponder = room.defaultResponder.kind === "auto" ? { kind: "auto", fallbackBotId: to.id } : { kind: "member", botId: to.id };+ try {+ const updated = deps.updateRoom(room.id, { memberIds: [...new Set([...room.memberIds, to.id])], defaultResponder: lead });+ store.appendMessage(room.threadId, { role: "bot", kind: "activity",+ tool: { name: `notice: ${serverLine(conversationLanguage(room.threadId), "server.rooms.chiefRetargeted", { chief: to.name, former: from.name })}`, ok: true } });+ return updated;+ } catch (error) {+ console.warn(`chief rooms: ${room.id} stays as it was: ${error instanceof Error ? error.message : String(error)}`);+ return null;+ }+ }++ return {+ /** `changed`: the bots setChiefOfStaff changed. The new Chief takes over the rooms the old one led, and every room's+ * "no Chief here" line is read again. */+ moved(changed: readonly BotRecord[]): void {+ const to = changed.find((bot) => bot.chiefOfStaff);+ const formers = changed.filter((bot) => !bot.chiefOfStaff);+ if (!changed.length) return;+ for (const room of store.groups) {+ if (room.dm) continue;+ const from = to ? formers.find((bot) => ledBy(room, bot.id)) : undefined;+ deps.published((from && to && retarget(room, from, to)) || room);+ }+ },+ };+}++export type ChiefRooms = ReturnType<typeof createChiefRooms>;diff --git a/server/index.ts b/server/index.tsindex 2aee79bbd3..a9adc003ac 100644--- a/server/index.ts+++ b/server/index.ts@@ -118,7 +118,7 @@ import { vpsLeftBehindNotice } from "./cloud-backend.ts";import * as composio from "./composio.ts";import { connectorCallFromFrame, connectorRefusalText, connectorScopeRefusalText, connectorUnrecognizedText, evaluateConnectorTools } from "./connector-verdict.ts";import { connectorCardDescription, connectorCardText, signInCardText } from "./connector-card-text.ts";-import { BOT_LIMIT_CODE, BOT_PAUSED_CODE } from "../shared/bot-limit.ts"; import { createBotLimit } from "./host/starter-bot-limit.ts"; import { createStarterAwake } from "./host/starter-awake.ts"; import { createStarterCaps } from "./host/starter-caps.ts"; import { createStarterAwakeRoutes } from "./routes/starter-awake.ts"; import { chiefOfStaffSystemPrompt } from "./chief-of-staff.ts"; import { chiefLevel, readTeamRolesWith } from "./chief-level.ts"; import { defaultBotRefusal, ensureDefaultBot } from "./default-bot.ts";+import { BOT_LIMIT_CODE, BOT_PAUSED_CODE } from "../shared/bot-limit.ts"; import { createBotLimit } from "./host/starter-bot-limit.ts"; import { createStarterAwake } from "./host/starter-awake.ts"; import { createStarterCaps } from "./host/starter-caps.ts"; import { createStarterAwakeRoutes } from "./routes/starter-awake.ts"; import { chiefOfStaffSystemPrompt } from "./chief-of-staff.ts"; import { chiefAbsentFrom, createChiefRooms } from "./host/chief-rooms.ts"; import { chiefLevel, readTeamRolesWith } from "./chief-level.ts"; import { defaultBotRefusal, ensureDefaultBot } from "./default-bot.ts";import { buildRecall, recallRooms, recallThreadIds, withRecalled } from "./recall.ts";import { hostTimeZone, takesTurnClock, turnClockLine, withTurnClock } from "./turn-clock.ts";import { createMemoryUpkeep, dreamConversations, upkeepEnabled } from "./memory-upkeep.ts";@@ -4103,7 +4103,7 @@ const handoffTicks = createHandoffTicks(), coordinator: Coordinator = createCoor},});threadsAwaitingTeammates = () => coordinator.awaitingTeammateThreads();-const groupUsageReader = new GroupUsageReader(DATA_DIR);+const groupUsageReader = new GroupUsageReader(DATA_DIR); const chiefRooms = createChiefRooms({ store, updateRoom: updateChannel, published: (group) => broadcast({ kind: "group", group: publicGroupState(group) }) });try { groupUsageReader.refresh(); } catch {}function readCursor(threadId: string): { lastReadMessageId?: string } {const newest = store.activePath(threadId).at(-1)?.id;@@ -4139,7 +4139,7 @@ function publicGroupState(record: GroupRecord): WireGroup {...(currentSpeaker?.since ? { turnStartedAt: currentSpeaker.since } : {}),working: groupIsWorking(record) || openHandoffs.length > 0,// Always present, so a frame with nobody waiting clears the last one.- queue: roomJobs.roomLineOf(record),+ queue: roomJobs.roomLineOf(record), chiefAbsent: chiefAbsentFrom(record, store.bots) ?? null,};}@@ -12159,7 +12159,7 @@ ROUTES.push(createBotCreateRoutes({hostedModels, cloudRoutineAuthors,routines: () => routines,storedAvatarExists, defaultSelection, checkedModelSelection, cloudOwnerSession, wireBot, team: CLOUD_TEAM && teamOwners.people ? { name: CLOUD_TEAM.name, people: teamOwners.people } : null,- personaliseSetupCard: (bot) => setupSuggestions.personalise(bot.id),+ personaliseSetupCard: (bot) => setupSuggestions.personalise(bot.id), chiefChanged: (changed) => chiefRooms.moved(changed),}), createTeamOwnerRoutes({ team: CLOUD_TEAM, people: teamOwners.people, store, record: (auth, row) => appendAdminAction(DATA_DIR, { ...row, actor: decisionActorFor(auth) }), sees: (auth, botId) => visibleTo(viewerFor(auth)).bot(botId), publicBot,profileOf: (email) => teamHost.people.profile(personKey({ id: "", email })) }));ROUTES.push(createBotSettingsRoutes({@@ -12176,7 +12176,7 @@ ROUTES.push(createBotPatchRoutes({hostedWorkspace: HOSTED_WORKSPACE, hostedFullAccessRefusal: HOSTED_FULL_ACCESS_REFUSAL, desktopManaged: DESKTOP_MANAGED, maxWorkspaceBots: MAX_WORKSPACE_BOTS,broadcast, wireBot, publicGroupState, audienceChanged, storedAvatarExists, requestedTaskBot, threadBusy, activeGroupTurnForBot,checkedModelSelection, engineSwitchNeedsAsk, currentBrowserSession, interruptAllDirectThreads, cancelGroupTurnOperations,- revokeInternalCapabilitiesForThread, runningTurnInstance, closeOpenApprovals, assertTeamComputerChangeIdle, forgetTemporaryBrowser, levelOf, team: Boolean(CLOUD_TEAM), mainThreadTasks,+ revokeInternalCapabilitiesForThread, runningTurnInstance, closeOpenApprovals, assertTeamComputerChangeIdle, forgetTemporaryBrowser, levelOf, team: Boolean(CLOUD_TEAM), mainThreadTasks, chiefChanged: (changed) => chiefRooms.moved(changed),}));ROUTES.push(createBotLifecycleRoutes({store, routines: () => routines, interruptAllDirectThreads, cancelDirectTurnDispatch, revokeInternalCapabilitiesForThread,diff --git a/server/routes/bot-patch.ts b/server/routes/bot-patch.tsindex 439d7df0d7..857bf3b0bc 100644--- a/server/routes/bot-patch.ts+++ b/server/routes/bot-patch.ts@@ -79,6 +79,8 @@ export interface BotPatchRouteDeps {team: boolean;/** The bot's conversations the main-thread resolver may pick: a Team Cloud keeps only team-visible ones. */mainThreadTasks(botId: string): readonly TaskRecord[];+ /** The Chief of Staff of a scope changed: these bots' flags did. */+ chiefChanged?(changed: readonly BotRecord[]): void;}export function createBotPatchRoutes(deps: BotPatchRouteDeps): RouteHandler {@@ -741,6 +743,7 @@ export function createBotPatchRoutes(deps: BotPatchRouteDeps): RouteHandler {? store.setChiefOfStaff(bot.id): [];if (chiefChanges === null) return json(res, 404, { error: "no such bot" });+ if (chiefChanges.length) deps.chiefChanged?.(chiefChanges);if (beforeProfile) {const now = store.bot(bot.id)!;recordProfileChange(bot.id, "user", "api", beforeProfile, profileSnapshot(now));diff --git a/server/routes/bots-create.ts b/server/routes/bots-create.tsindex 4315baf901..78d90c7690 100644--- a/server/routes/bots-create.ts+++ b/server/routes/bots-create.ts@@ -48,6 +48,8 @@ export interface BotCreateRouteDeps {team?: { name: string; people: Pick<TeamPeople, "has"> } | null;/** Starts writing personal answers for a new bot's setup card; never awaited. */personaliseSetupCard?(bot: BotRecord): void;+ /** The Chief of Staff of a scope changed: these bots' flags did. */+ chiefChanged?(changed: readonly BotRecord[]): void;}const OWN_ID = /^[\w-]{8,128}$/;@@ -253,7 +255,7 @@ export function createBotCreateRoutes(deps: BotCreateRouteDeps): RouteHandler {if (settings.chiefOfStaff) {try {store.patchBot(bot.id, { managedSections: settings.managedSections ?? [] });- store.setChiefOfStaff(bot.id);+ deps.chiefChanged?.(store.setChiefOfStaff(bot.id) ?? []);} catch {warnings.push("Bot created; review its Chief of Staff setting before delegating work.");}diff --git a/shared/wire.ts b/shared/wire.tsindex bffaf851be..7fad8338f0 100644--- a/shared/wire.ts+++ b/shared/wire.ts@@ -843,7 +843,7 @@ export interface GroupTask {/** A room as a client may see it: the record plus the computed working flag. */export interface WireGroup {/** Computed from the usage ledger, not stored in groups.json. */- usage?: GroupThreadUsage | null;+ usage?: GroupThreadUsage | null; /** Transient: the department's Chief of Staff, when this room is without it. Null clears an earlier value. */ chiefAbsent?: { botId: string; name: string } | null;/** transient: each member's context in the active thread, from its last* turn there, and whether its next turn there was asked to start* compacted. */diff --git a/src/components/GroupView.tsx b/src/components/GroupView.tsxindex 79d825a924..b42635c50f 100644--- a/src/components/GroupView.tsx+++ b/src/components/GroupView.tsx@@ -50,7 +50,7 @@ import { botEngine, failedTurnCause } from "@/lib/failed-turn";import { CitationSelectionToolbar, SentCitations } from "./CitationUI";import { RoomComposer } from "./bot-access/RoomComposer";import { ChatErrorBanner, ChatNotice } from "./ChatErrorBanner";-import { RoomContextWarnings } from "./ContextWarning";+import { RoomContextWarnings } from "./ContextWarning"; import { RoomChiefAbsent } from "./RoomChiefAbsent";import { ChatFindBar } from "./ChatFindBar";import { isPureLeakedSystemHarnessMessage, stripLeakedSystemHarnessMessages } from "../../shared/system-message-guard.ts";import { ReplyQuote } from "./ReplyQuote";@@ -1023,7 +1023,7 @@ export function GroupView({ group }: { group: Group }) {{findOpen && <ChatFindBar threadId={group.threadId} onClose={() => setFindOpen(false)} />}<ChatErrorBanner message={state.error} onDismiss={() => dispatch({ type: "error", message: null })} /><ChatNotice notice={state.notice} />- {!setupPending && <RoomContextWarnings group={group} members={members} />}+ {!setupPending && <RoomContextWarnings group={group} members={members} />}{!setupPending && !remoteClient && <RoomChiefAbsent group={group} />}{!setupPending && !group.dm && !remoteClient && state.config && group.defaultResponder.kind === "auto" && !jevRoomRoutingOn(state.config) && (<div className="w-full px-5">diff --git a/src/components/RoomChiefAbsent.tsx b/src/components/RoomChiefAbsent.tsxnew file mode 100644index 0000000000..c67962b20b--- /dev/null+++ b/src/components/RoomChiefAbsent.tsx@@ -0,0 +1,28 @@+import { useState } from "react";++import { t } from "@/lib/i18n";+import { api, useStore, type Group } from "@/state/store";++/** One line in a room its department's Chief of Staff is not in: why its work stops for approvals, and the way to add it. */+export function RoomChiefAbsent({ group }: { group: Group }) {+ const { dispatch } = useStore();+ const [busy, setBusy] = useState(false);+ const chief = group.chiefAbsent;+ if (!chief) return null;+ const add = () => {+ setBusy(true);+ void api(`/api/groups/${group.id}`, { method: "PATCH", body: JSON.stringify({ memberIds: [...group.memberIds, chief.botId] }) })+ .catch((cause) => dispatch({ type: "error", message: cause instanceof Error ? cause.message : String(cause) }))+ .finally(() => setBusy(false));+ };+ return (+ <div className="w-full px-5">+ <p data-testid="room-chief-absent" className="mb-1 px-2 text-[12px] text-ink-secondary">+ {t("room.chiefAbsent.hint", { name: chief.name })}{" "}+ <button type="button" disabled={busy} onClick={add} className="cursor-pointer text-accent hover:underline disabled:cursor-default disabled:opacity-50">+ {t("room.chiefAbsent.add", { name: chief.name })}+ </button>+ </p>+ </div>+ );+}diff --git a/src/locales/de.json b/src/locales/de.jsonindex e067bd6265..8b4be73dc3 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -197,6 +197,7 @@"server.rooms.finishingElsewhere": "{bot} beendet gerade eine andere Unterhaltung und antwortet hier, sobald er frei ist","server.rooms.finishingElsewhereSpoken": "{bot} beendet gerade eine andere Unterhaltung","server.rooms.unavailable": "{bot} ist nicht mehr verfügbar, daher diese Runde übersprungen",+ "server.rooms.chiefRetargeted": "{chief} ist jetzt der Stabschef und leitet diesen Raum anstelle von {former}.","server.stop.nothingRunning": "Hier lief nichts, es gab also nichts zu stoppen.","server.memory.wait": "Wartet auf Arbeitsspeicher in dieser Cloud. Läuft gerade: {running}. Davor in der Reihe: {ahead}. Startet von selbst, sobald Platz ist.","server.memory.still": "Wartet weiter auf Arbeitsspeicher. Läuft gerade: {running}. Davor in der Reihe: {ahead}.",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 1354da1a07..fe9691b12e 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -324,6 +324,7 @@"server.rooms.finishingElsewhere": "{bot} is finishing another conversation — will reply here when free","server.rooms.finishingElsewhereSpoken": "{bot} is finishing another conversation","server.rooms.unavailable": "{bot} is no longer available — skipped this round",+ "server.rooms.chiefRetargeted": "{chief} is the Chief of Staff now, so it leads this room in place of {former}.","server.stop.nothingRunning": "Nothing was running here, so nothing needed stopping.","server.memory.wait": "Waiting for memory on this Cloud. Running now: {running}. Ahead of this one: {ahead}. It starts by itself when there's room.","server.memory.still": "Still waiting for memory. Running now: {running}. Ahead of this one: {ahead}.",@@ -4880,6 +4881,8 @@"room.responder.autoOptionOff": "Auto","room.responder.jevOffHint": "Jev is off, so {name} answers plain messages in this Auto room.","room.responder.jevOffOpen": "Turn on Jev",+ "room.chiefAbsent.hint": "{name}, your Chief of Staff, isn't in this room, so work handed out here runs at each bot's own approval level.",+ "room.chiefAbsent.add": "Add {name}","room.holds.banner": "Stopped by you: {names}. @mention a bot or say resume to bring it back.","room.holds.resume": "Resume {name}","room.holds.stop": "Stop {name}",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 3cc07ce43b..eb27ecbf03 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -307,6 +307,7 @@"server.rooms.finishingElsewhere": "{bot} está terminando outra conversa — vai responder aqui assim que estiver livre","server.rooms.finishingElsewhereSpoken": "{bot} está terminando outra conversa","server.rooms.unavailable": "{bot} não está mais disponível — ficou fora desta rodada",+ "server.rooms.chiefRetargeted": "{chief} agora é o chefe de gabinete, então lidera este grupo no lugar de {former}.","server.stop.nothingRunning": "Não havia nada em execução aqui, então não foi preciso parar nada.","server.memory.wait": "Aguardando memória disponível neste Cloud. Tarefas em execução: {running}. Tarefas à frente desta: {ahead}. Esta tarefa começa automaticamente quando houver espaço.","server.memory.still": "Ainda aguardando memória disponível. Tarefas em execução: {running}. Tarefas à frente desta: {ahead}.",@@ -4625,6 +4626,8 @@"room.responder.autoOptionOff": "Auto","room.responder.jevOffHint": "O Jev está desligado, então {name} responde às mensagens sem @menção neste grupo em modo Auto.","room.responder.jevOffOpen": "Ligar o Jev",+ "room.chiefAbsent.hint": "{name}, seu chefe de gabinete, não está neste grupo, então o trabalho distribuído aqui segue o nível de aprovação de cada bot.",+ "room.chiefAbsent.add": "Adicionar {name}","room.holds.banner": "Você pausou: {names}. Mencione um bot com @ ou escreva “retomar” para trazê-lo de volta.","room.holds.resume": "Retomar {name}","room.holds.stop": "Parar {name}",diff --git a/src/state/store.tsx b/src/state/store.tsxindex f45cebd9f5..758ae2a1f5 100644--- a/src/state/store.tsx+++ b/src/state/store.tsx@@ -163,7 +163,7 @@ export interface Message extends Pick<import("../../shared/wire").WireMessage, "export type GroupDefaultResponder = import("../../shared/wire").GroupDefaultResponder;-export interface Group extends Pick<WireGroup, "memberContext" | "queue"> {+export interface Group extends Pick<WireGroup, "memberContext" | "queue" | "chiefAbsent"> {usage?: GroupThreadUsage | null;id: string;threadId: string;