Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Show "waiting on you" in the asking chat for a teammate's sign-in, password or connect card
AdityaUmale8f8201b6692c
diff --git a/server/chat-notices.ts b/server/chat-notices.tsindex eee7dd0ce4..452cc5de9b 100644--- a/server/chat-notices.ts+++ b/server/chat-notices.ts@@ -119,6 +119,10 @@ export const CHAT_NOTICE = {"chat.notice.waitingApprovalElsewhere": "Waiting on your approval in @{name}","chat.notice.waitingAnswerElsewhere": "Waiting on your answer in @{name}","chat.notice.teammateNeedsInput": "{name} needs your input: {question}",+ "chat.notice.waitingPasswordElsewhere": "Waiting on your {label} in @{name}",+ "chat.notice.waitingSignInElsewhere": "Waiting on you to sign in to {label} in @{name}",+ "chat.notice.waitingConnectElsewhere": "Waiting on you to connect {label} in @{name}",+ "chat.notice.waitingReviewElsewhere": "Waiting on your review in @{name}","chat.notice.relayCouldNotContinue": "this conversation could not carry on — {error}","chat.notice.engineSignedOut": "{name} is signed out.","chat.notice.failoverSignedInAgain": "{engine} is signed in again, so this conversation is back on {engine}.",diff --git a/server/host/ask-cards.test.ts b/server/host/ask-cards.test.tsindex afae09c908..2f592000d5 100644--- a/server/host/ask-cards.test.ts+++ b/server/host/ask-cards.test.ts@@ -395,6 +395,34 @@ describe("the chip in the conversation that handed the work on", () => {team.cards.showWaitingOnPersonChip("work", "req-1", asker, "answer");expect(team.rows("inbox")).toEqual([]);});++ it("links to a sign-in, password or app to connect left open in the work, once, and says when it no longer waits", () => {+ const desk = world();+ desk.cards.showWaitingOnCardChip("work", { kind: "sign-in", messageId: "c1", label: "example.com" }, asker);+ desk.cards.showWaitingOnCardChip("work", { kind: "sign-in", messageId: "c1", label: "example.com" }, asker);+ desk.cards.showWaitingOnCardChip("work", { kind: "connect", messageId: "c2", label: "Gmail" }, asker);+ expect(desk.rows("inbox")).toMatchObject([+ { kind: "activity", from: { botId: "ledger", name: "Ledger" }, threadRef: { botId: "ledger", threadId: "work", title: "Pricing page: fix" },+ tool: { name: "Waiting on you to sign in to example.com in @Ledger", nameCode: "chat.notice.waitingSignInElsewhere", nameParams: { name: "Ledger", label: "example.com" } } },+ { tool: { name: "Waiting on you to connect Gmail in @Ledger", nameCode: "chat.notice.waitingConnectElsewhere" } },+ ]);+ desk.cards.settleWaitingOnCardChip("work", "c1");+ const [settled, open] = desk.rows("inbox");+ expect(settled?.tool).toMatchObject({ name: "@Ledger no longer waits on you", ok: true });+ expect(settled?.tool?.nameCode).toBeUndefined();+ expect(settled?.threadRef).toMatchObject({ threadId: "work" });+ expect(open?.tool?.name).toBe("Waiting on you to connect Gmail in @Ledger");+ });++ it("leaves a card's chip out of the person's inbox, which has the card, and out of work nobody handed on", () => {+ const team = world({ inboxThread: "inbox" });+ team.cards.showWaitingOnCardChip("work", { kind: "password", messageId: "c1", label: "API key" }, asker);+ expect(team.rows("inbox")).toEqual([]);+ const desk = world();+ desk.cards.showWaitingOnCardChip("inbox", { kind: "password", messageId: "c1", label: "API key" }, asker);+ desk.cards.showWaitingOnCardChip("work", { kind: "question", messageId: "c2", label: "Which?" }, asker);+ expect(desk.rows("inbox")).toEqual([]);+ });});describe("askToolName", () => {diff --git a/server/host/ask-cards.ts b/server/host/ask-cards.tsindex 264b7f8845..677170c7d0 100644--- a/server/host/ask-cards.ts+++ b/server/host/ask-cards.ts@@ -7,7 +7,9 @@import { formatQuestionAnswers, isPersistentQuestionCard } from "../../shared/ask-question.ts";import { liveCardKind } from "../../shared/live-approval.ts";import { allowsTool, type ToolIdentity } from "../../shared/tool-scope.ts";+import type { PersonWait } from "../../shared/person-wait.ts";import type { OptionCardData } from "../../shared/wire.ts";+import { noticeTool, type ChatNoticeKey } from "../chat-notices.ts";import type { RuntimeEvent } from "../contracts.ts";import type { HandoffView } from "../coordinator.ts";import { buildNotification, type Notification } from "../notify.ts";@@ -73,6 +75,13 @@ function beforeQuestion(text: string): string {const ownQuestionCard = (message: Message): boolean =>Boolean(message.card?.requestId && !message.inbox && !message.card.tool && isPersistentQuestionCard(message.card));+const CARD_CHIP: Partial<Record<PersonWait["kind"], ChatNoticeKey>> = {+ password: "chat.notice.waitingPasswordElsewhere",+ "sign-in": "chat.notice.waitingSignInElsewhere",+ connect: "chat.notice.waitingConnectElsewhere",+ review: "chat.notice.waitingReviewElsewhere",+};+export function createAskCards(deps: AskCardsDeps) {const { store, delegatorOf, notify } = deps;const now = deps.now ?? Date.now;@@ -101,6 +110,38 @@ export function createAskCards(deps: AskCardsDeps) {}}+ const waitingCardChips = new Map<string, { threadId: string; messageId: string; name: string }>();++ /** A sign-in, password, connect or review card left open in handed-off work: the conversation that handed it on links to+ * it, as it does for a question or approval. Keyed by the card, so it shows once. */+ function showWaitingOnCardChip(threadId: string, wait: Pick<PersonWait, "kind" | "messageId" | "label">, asker: BotRecord) {+ const key = CARD_CHIP[wait.kind];+ const id = `${threadId}:${wait.messageId}`;+ if (!key || waitingCardChips.has(id)) return;+ const delegator = delegatorOf(threadId);+ if (!delegator || delegator.threadId === threadId || deps.copiedInto(delegator.threadId, asker.id, threadId)) return;+ const chip = store.appendMessage(delegator.threadId, { role: "bot", kind: "activity",+ from: { botId: asker.id, name: asker.name, color: asker.color },+ tool: noticeTool(key, { name: asker.name, label: wait.label }, {}),+ threadRef: { botId: asker.id, threadId, title: store.taskByThread(asker.id, threadId)?.title ?? asker.name },+ });+ waitingCardChips.set(id, { threadId: delegator.threadId, messageId: chip.id, name: asker.name });+ }++ /** The card was saved, declined, replaced or stopped: its chip says the work no longer waits. */+ function settleWaitingOnCardChip(threadId: string, cardMessageId: string) {+ const id = `${threadId}:${cardMessageId}`;+ const chip = waitingCardChips.get(id);+ if (!chip) return;+ waitingCardChips.delete(id);+ const existing = store.messagesFor(chip.threadId).find((message) => message.id === chip.messageId);+ if (!existing?.tool) return;+ const { nameCode: _code, nameParams: _params, ...tool } = existing.tool;+ store.patchMessage(chip.threadId, chip.messageId, {+ tool: { ...tool, name: serverLine(conversationLanguage(chip.threadId), "server.teammates.noLongerWaiting", { who: `@${chip.name}` }), ok: true },+ });+ }+/** In a room only the asking member's own lines. */const askersLines = (node: Pick<HandoffView, "threadId" | "botId" | "groupId">) => store.messagesFor(node.threadId).filter((message) => !node.groupId || message.from?.botId === node.botId);@@ -277,5 +318,5 @@ export function createAskCards(deps: AskCardsDeps) {questionCard({ id: `${botId}-${turnId}`, threadId, botId, executions: 1, createdAt: reply.at, startedAt: reply.at } as HandoffView, question);}- return { park, remind, decided, closed, askedAgain, answerParked, answeredInWords, typed, ownQuestion, showWaitingOnPersonChip, settleWaitingOnPersonChips };+ return { park, remind, decided, closed, askedAgain, answerParked, answeredInWords, typed, ownQuestion, showWaitingOnPersonChip, settleWaitingOnPersonChips, showWaitingOnCardChip, settleWaitingOnCardChip };}diff --git a/server/host/person-waits.test.ts b/server/host/person-waits.test.tsindex 29cdff06b9..ca927ad4b7 100644--- a/server/host/person-waits.test.ts+++ b/server/host/person-waits.test.ts@@ -16,12 +16,15 @@ function fixture() {const store = new Store(() => ({ instanceId: "claude", model: "claude-sonnet-5" }));const sent: Notification[] = [];const known = new Set<string>();- const waits = createPersonWaits({ store, notify: (notification) => { if (notification) sent.push(notification); }, threadsWithCards: () => [...known] });+ const elsewhere: string[] = [];+ const waits = createPersonWaits({ store, notify: (notification) => { if (notification) sent.push(notification); }, threadsWithCards: () => [...known],+ waitingElsewhere: (threadId, wait, asker) => elsewhere.push(`open ${threadId} ${wait.messageId} ${wait.kind} ${wait.label} ${asker.name}`),+ waitSettled: (threadId, messageId) => elsewhere.push(`settled ${threadId} ${messageId}`) });const bot = store.createBot({ name: "Postie" });const thread = store.createTask(bot.id, "Work", false)!.threadId;const task = () => store.taskByThread(bot.id, thread)!;const card = (patch: Record<string, unknown> = {}) => store.appendMessage(thread, { role: "bot", kind: "secret", text: "enter it", secret: { ...SECRET, ...patch } });- return { store, waits, sent, known, bot, thread, task, card };+ return { store, waits, sent, known, bot, thread, task, card, elsewhere };}describe("a conversation resting on the person", () => {@@ -201,6 +204,24 @@ describe("telling the person", () => {expect(waits.atTurnEnd(thread, "Read the mail.")).toBe(false);});+ it("tells the conversation that handed the work on of a card left open, and when it settles", async () => {+ const { store, thread, card, elsewhere } = fixture();+ const asked = card();+ await flush();+ expect(elsewhere).toEqual([`open ${thread} ${asked.id} password Mailbox password Postie`]);+ store.patchMessage(thread, asked.id, { secret: { ...SECRET, provided: true } });+ expect(elsewhere).toEqual([`open ${thread} ${asked.id} password Mailbox password Postie`, `settled ${thread} ${asked.id}`]);+ });++ it("does not tell it of a card settled before anyone could hear of it, nor of a provider's question", async () => {+ const { store, thread, card, elsewhere } = fixture();+ const asked = card();+ store.patchMessage(thread, asked.id, { secret: { ...SECRET, dismissed: true } });+ store.appendMessage(thread, { role: "bot", kind: "options", text: "Which?", card: { title: "Which?", subtitle: "", options: [], requestId: "r1", requestType: "question" } });+ await flush();+ expect(elsewhere).toEqual([`settled ${thread} ${asked.id}`]);+ });+it("honours a bot whose notifications are off", async () => {const { store, sent, bot, card } = fixture();store.patchBot(bot.id, { notifications: false } as never);diff --git a/server/host/person-waits.ts b/server/host/person-waits.tsindex 75178a4ff4..526aa7f5a9 100644--- a/server/host/person-waits.ts+++ b/server/host/person-waits.ts@@ -15,6 +15,10 @@ export interface PersonWaitsDeps {/** The conversations that may hold an open card asked since then. */threadsWithCards(since: number): readonly string[];now?: () => number;+ /** A card left open in handed-off work: the conversation that handed it on links to it. */+ waitingElsewhere?(threadId: string, wait: PersonWait, asker: BotRecord): void;+ /** That card no longer waits on the person. */+ waitSettled?(threadId: string, cardMessageId: string): void;}const NOTIFIED_ELSEWHERE: ReadonlySet<PersonWait["kind"]> = new Set(["question", "approval"]);@@ -50,8 +54,10 @@ export function createPersonWaits(deps: PersonWaitsDeps) {function refresh(threadId: string): void {const wait = restsOn(threadId);+ const before = resting.get(threadId);if (wait) resting.set(threadId, wait);else resting.delete(threadId);+ if (before && before.messageId !== wait?.messageId) deps.waitSettled?.(threadId, before.messageId);show(threadId, wait);}@@ -59,6 +65,8 @@ export function createPersonWaits(deps: PersonWaitsDeps) {const message = store.activePath(threadId).find((row) => row.id === messageId);const wait = message && personWait(message);if (!wait || NOTIFIED_ELSEWHERE.has(wait.kind)) return;+ const asker = askerOf(threadId, wait);+ if (asker && resting.get(threadId)?.messageId === wait.messageId) deps.waitingElsewhere?.(threadId, wait, asker);const detail = message.secret ? message.secret.reason ?? message.secret.description: message.signIn ? message.signIn.reason ?? serverLine(conversationLanguage(threadId), "server.notify.openToSignIn", { site: wait.label }): message.connector?.description ?? wait.label;diff --git a/server/index.ts b/server/index.tsindex 2785c558d7..01e2733596 100644--- a/server/index.ts+++ b/server/index.ts@@ -4912,7 +4912,7 @@ const providerLabel = (provider: string): string => {};// Rewritten by every dispatch, so a quiet turn never silences the next one.-const quietTurnThreads = new Set<string>(); const doneNotice = createDoneNotice({ awaitingTeammates: (threadId) => coordinator.awaitingTeammateThreads().has(threadId), queuedFollowUp: hasQueuedPersonMessage }); const personWaits = createPersonWaits({ store, notify, threadsWithCards: threadsWithCardsSince });+const quietTurnThreads = new Set<string>(); const doneNotice = createDoneNotice({ awaitingTeammates: (threadId) => coordinator.awaitingTeammateThreads().has(threadId), queuedFollowUp: hasQueuedPersonMessage }); const personWaits = createPersonWaits({ store, notify, threadsWithCards: threadsWithCardsSince, waitingElsewhere: askCards.showWaitingOnCardChip, waitSettled: askCards.settleWaitingOnCardChip });const QUIET_TURN_NEWS: ReadonlySet<Notification["kind"]> = new Set(["done", "turn-failed", "incident"]);function notify(notification: Notification | null, how?: { routine?: boolean; summary?: boolean }) {diff --git a/src/locales/de.json b/src/locales/de.jsonindex 82a55132b1..020ed57083 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -312,6 +312,7 @@"server.teammates.gotYourApproval": "{who} hat deine Freigabe bekommen","server.teammates.questionAnswered": "Die Frage von {who} wurde beantwortet","server.teammates.requestApproved": "Die Anfrage von {who} wurde freigegeben",+ "server.teammates.noLongerWaiting": "{who} wartet nicht mehr auf dich","server.teammates.queuedBehind.answer": "Für @{bot} hinter deiner Antwort in „{title}“ eingereiht","server.teammates.queuedBehind.approval": "Für @{bot} hinter deiner Freigabe in „{title}“ eingereiht","server.teammates.queuedBehind.review": "Für @{bot} hinter deiner Prüfung in „{title}“ eingereiht",diff --git a/src/locales/en.json b/src/locales/en.jsonindex a172bf1117..ee2738da56 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -467,6 +467,7 @@"server.teammates.gotYourApproval": "{who} got your approval","server.teammates.questionAnswered": "{who}'s question was answered","server.teammates.requestApproved": "{who}'s request was approved",+ "server.teammates.noLongerWaiting": "{who} no longer waits on you","server.teammates.queuedBehind.answer": "Queued for @{bot} behind your answer in “{title}”","server.teammates.queuedBehind.approval": "Queued for @{bot} behind your approval in “{title}”","server.teammates.queuedBehind.review": "Queued for @{bot} behind your review in “{title}”",@@ -10117,6 +10118,10 @@"chat.notice.waitingApprovalElsewhere": "Waiting on your approval in @{name}","chat.notice.waitingAnswerElsewhere": "Waiting on your answer in @{name}","chat.notice.teammateNeedsInput": "{name} needs your input: {question}",+ "chat.notice.waitingPasswordElsewhere": "Waiting on your {label} in @{name}",+ "chat.notice.waitingSignInElsewhere": "Waiting on you to sign in to {label} in @{name}",+ "chat.notice.waitingConnectElsewhere": "Waiting on you to connect {label} in @{name}",+ "chat.notice.waitingReviewElsewhere": "Waiting on your review in @{name}","chat.notice.relayCouldNotContinue": "this conversation could not carry on — {error}","secretCard.delivery.fileNamed": "{botName}'s commands can read it from a private file for 24 hours; it is never added to chat.","secretCard.delivery.refNamed": "{botName} gets a one-use reference for OpenMausBot's own tools and never sees it.",diff --git a/src/locales/es.json b/src/locales/es.jsonindex 7df3986679..bba5b5f582 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -257,6 +257,7 @@"server.teammates.gotYourApproval": "{who} recibió tu aprobación","server.teammates.questionAnswered": "Se respondió la pregunta de {who}","server.teammates.requestApproved": "Se aprobó la solicitud de {who}",+ "server.teammates.noLongerWaiting": "{who} ya no te espera","server.teammates.queuedBehind.answer": "En cola para @{bot} detrás de tu respuesta en «{title}»","server.teammates.queuedBehind.approval": "En cola para @{bot} detrás de tu aprobación en «{title}»","server.teammates.queuedBehind.review": "En cola para @{bot} detrás de tu revisión en «{title}»",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 5d55376666..4cb70c42f7 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -225,6 +225,7 @@"server.teammates.gotYourApproval": "{who} a reçu votre approbation","server.teammates.questionAnswered": "La question de {who} a reçu une réponse","server.teammates.requestApproved": "La demande de {who} a été approuvée",+ "server.teammates.noLongerWaiting": "{who} ne vous attend plus","server.teammates.queuedBehind.answer": "En file pour @{bot} derrière votre réponse dans « {title} »","server.teammates.queuedBehind.approval": "En file pour @{bot} derrière votre approbation dans « {title} »","server.teammates.queuedBehind.review": "En file pour @{bot} derrière votre relecture dans « {title} »",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex 181e7d8447..7ff37eb39d 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -225,6 +225,7 @@"server.teammates.gotYourApproval": "{who} को आपकी मंज़ूरी मिल गई","server.teammates.questionAnswered": "{who} के सवाल का जवाब दिया गया","server.teammates.requestApproved": "{who} का अनुरोध मंज़ूर किया गया",+ "server.teammates.noLongerWaiting": "{who} अब आपका इंतज़ार नहीं कर रहा","server.teammates.queuedBehind.answer": "“{title}” में आपके जवाब के बाद @{bot} के लिए कतार में","server.teammates.queuedBehind.approval": "“{title}” में आपकी मंज़ूरी के बाद @{bot} के लिए कतार में","server.teammates.queuedBehind.review": "“{title}” में आपकी समीक्षा के बाद @{bot} के लिए कतार में",diff --git a/src/locales/it.json b/src/locales/it.jsonindex ce4d4b7fcf..0966ef34d1 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -268,6 +268,7 @@"server.teammates.gotYourApproval": "{who} ha ricevuto la tua approvazione","server.teammates.questionAnswered": "La domanda di {who} ha avuto risposta","server.teammates.requestApproved": "La richiesta di {who} è stata approvata",+ "server.teammates.noLongerWaiting": "{who} non ti aspetta più","server.teammates.queuedBehind.answer": "In coda per @{bot} dopo la tua risposta in «{title}»","server.teammates.queuedBehind.approval": "In coda per @{bot} dopo la tua approvazione in «{title}»","server.teammates.queuedBehind.review": "In coda per @{bot} dopo la tua revisione in «{title}»",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex 1c7b781b61..4672114a48 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -319,6 +319,7 @@"server.teammates.gotYourApproval": "{who} にあなたの承認が届きました","server.teammates.questionAnswered": "{who} の質問に回答がありました","server.teammates.requestApproved": "{who} のリクエストは承認されました",+ "server.teammates.noLongerWaiting": "{who} はもうあなたを待っていません","server.teammates.queuedBehind.answer": "「{title}」でのあなたの回答の後に @{bot} 向けに順番待ちしています","server.teammates.queuedBehind.approval": "「{title}」でのあなたの承認の後に @{bot} 向けに順番待ちしています","server.teammates.queuedBehind.review": "「{title}」でのあなたの確認の後に @{bot} 向けに順番待ちしています",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 12664996ef..06c0241963 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -312,6 +312,7 @@"server.teammates.gotYourApproval": "{who}이(가) 회원님의 승인을 받았어요","server.teammates.questionAnswered": "{who}의 질문에 답이 달렸어요","server.teammates.requestApproved": "{who}의 요청이 승인됐어요",+ "server.teammates.noLongerWaiting": "{who}이(가) 더 이상 회원님을 기다리지 않아요","server.teammates.queuedBehind.answer": "“{title}”에서 회원님의 답 다음으로 @{bot} 대기 중","server.teammates.queuedBehind.approval": "“{title}”에서 회원님의 승인 다음으로 @{bot} 대기 중","server.teammates.queuedBehind.review": "“{title}”에서 회원님의 검토 다음으로 @{bot} 대기 중",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex b9e5e08cc3..e5e5b4094c 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -269,6 +269,7 @@"server.teammates.gotYourApproval": "{who} dostał twoje zatwierdzenie","server.teammates.questionAnswered": "Na pytanie {who} odpowiedziano","server.teammates.requestApproved": "Prośbę {who} zatwierdzono",+ "server.teammates.noLongerWaiting": "{who} już na ciebie nie czeka","server.teammates.queuedBehind.answer": "W kolejce dla @{bot} po twojej odpowiedzi w „{title}”","server.teammates.queuedBehind.approval": "W kolejce dla @{bot} po twoim zatwierdzeniu w „{title}”","server.teammates.queuedBehind.review": "W kolejce dla @{bot} po twoim przeglądzie w „{title}”",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 20958d5738..f811dc351c 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -441,6 +441,7 @@"server.teammates.gotYourApproval": "{who} recebeu sua aprovação","server.teammates.questionAnswered": "Pergunta de {who} respondida","server.teammates.requestApproved": "Pedido de {who} aprovado",+ "server.teammates.noLongerWaiting": "{who} não está mais esperando você","server.teammates.queuedBehind.answer": "Na fila para @{bot}, aguardando sua resposta em “{title}”","server.teammates.queuedBehind.approval": "Na fila para @{bot}, aguardando sua aprovação em “{title}”","server.teammates.queuedBehind.review": "Na fila para @{bot}, aguardando sua revisão em “{title}”",@@ -10028,6 +10029,10 @@"chat.notice.waitingApprovalElsewhere": "Esperando sua aprovação em @{name}","chat.notice.waitingAnswerElsewhere": "Esperando sua resposta em @{name}","chat.notice.teammateNeedsInput": "{name} precisa da sua resposta: {question}",+ "chat.notice.waitingPasswordElsewhere": "Esperando você em @{name}: {label}",+ "chat.notice.waitingSignInElsewhere": "Esperando você entrar em {label} em @{name}",+ "chat.notice.waitingConnectElsewhere": "Esperando você conectar {label} em @{name}",+ "chat.notice.waitingReviewElsewhere": "Esperando sua revisão em @{name}","chat.notice.relayCouldNotContinue": "Não foi possível continuar esta conversa. Motivo: {error}","secretCard.delivery.fileNamed": "Os comandos de {botName} podem ler o conteúdo em um arquivo privado por 24 horas. O conteúdo nunca é adicionado ao chat.","secretCard.delivery.refNamed": "{botName} recebe uma referência de uso único para as próprias ferramentas do OpenMausBot e nunca vê o conteúdo.",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 0ca4dd95f4..3249a20b90 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -269,6 +269,7 @@"server.teammates.gotYourApproval": "{who} получил ваше одобрение","server.teammates.questionAnswered": "На вопрос {who} ответили","server.teammates.requestApproved": "Запрос {who} одобрен",+ "server.teammates.noLongerWaiting": "{who} больше не ждёт вас","server.teammates.queuedBehind.answer": "В очереди для @{bot} после вашего ответа в «{title}»","server.teammates.queuedBehind.approval": "В очереди для @{bot} после вашего одобрения в «{title}»","server.teammates.queuedBehind.review": "В очереди для @{bot} после вашей проверки в «{title}»",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex 466d357f44..caad775844 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -4057,7 +4057,8 @@"voice.hearWithEleven.help": "fb2aab6844f1ecd9bbbb92b589062d6317fbfa2c1384b4c3ceb4e9f88f49c53a","voice.hearLanguage": "e0e77e5c6f38efbd4bbb93e7b7641c5de9f88214c48133d6582fd0149cf8cbef","voice.hearLanguage.help": "4047e2f61649a10025e8c030a9d3c0ba5a7f8af7704cf8ecad42ab589549c39e",- "voice.hearLanguage.auto": "836e5a7f8e818a97ddea1777b429755700ce1fc997f931e980501fa271b17d8f"+ "voice.hearLanguage.auto": "836e5a7f8e818a97ddea1777b429755700ce1fc997f931e980501fa271b17d8f",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"es": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -10472,7 +10473,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"fr": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -14296,7 +14298,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"hi": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -17974,7 +17977,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"ja": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -25929,7 +25933,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"pt-br": {"voice.gemini.keyPlaceholder": "8c87ba2043a4a89d63c90cae8a6dafd5cbd193652e923b97988e381a74773e10",@@ -37241,7 +37246,12 @@"settings.browser.noChrome": "79df31876d29f282b89f4f664f7c2cf3580ea4d34a8d62246c7457e36a008a70","settings.browser.noChromeFix": "2dca5c1c139e89d04a910e2750801dc2bed77c9c4ab065edce7a4504ebad37eb","settings.browser.noChromeMyChrome": "a928b4b926cd680e9822770795ab28cdee79a2614db0bcf66fefb554fa02ef39",- "settings.import.grokLineChats": "06062ac8d134d1797b3dd29c879e19eb50dbe93ec64fc9f24f25f75cd36f2047"+ "settings.import.grokLineChats": "06062ac8d134d1797b3dd29c879e19eb50dbe93ec64fc9f24f25f75cd36f2047",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645",+ "chat.notice.waitingPasswordElsewhere": "97cacd0a74d5204ef08cc8bc8e98a7510c0b4cc40e43a828e09c6ec945f868f2",+ "chat.notice.waitingSignInElsewhere": "23128dfa673a206b5bdbebc2d7c667b294214c38b5c4d848f2efc7abfa40927b",+ "chat.notice.waitingConnectElsewhere": "ea42fbcab6227c96875c990433e140b7dcec434b3431efe9edd4788925b596fb",+ "chat.notice.waitingReviewElsewhere": "bacacf6c5c87a709dce2c839ac18a57a7f87bc7f52b4afa2ab161ffb8bca66c7"},"zh": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -47328,7 +47338,12 @@"inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca","limits.meterName": "a25792ee3e79653e7fab405aa3978dfb80e750457c34818fb4d206e20ce68311","limits.meterFiveHour": "654ad2c2573ecd336361026d1ca43f0e148d768e54e8194586a492b5f481e8a1",- "limits.meterWeekly": "ba6adfc3f42f97022c47349057ffabf5e864bf93c8fab30cfe4513cf33ff984c"+ "limits.meterWeekly": "ba6adfc3f42f97022c47349057ffabf5e864bf93c8fab30cfe4513cf33ff984c",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645",+ "chat.notice.waitingPasswordElsewhere": "97cacd0a74d5204ef08cc8bc8e98a7510c0b4cc40e43a828e09c6ec945f868f2",+ "chat.notice.waitingSignInElsewhere": "23128dfa673a206b5bdbebc2d7c667b294214c38b5c4d848f2efc7abfa40927b",+ "chat.notice.waitingConnectElsewhere": "ea42fbcab6227c96875c990433e140b7dcec434b3431efe9edd4788925b596fb",+ "chat.notice.waitingReviewElsewhere": "bacacf6c5c87a709dce2c839ac18a57a7f87bc7f52b4afa2ab161ffb8bca66c7"},"zh-tw": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -57514,7 +57529,12 @@"inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca","limits.meterName": "a25792ee3e79653e7fab405aa3978dfb80e750457c34818fb4d206e20ce68311","limits.meterFiveHour": "654ad2c2573ecd336361026d1ca43f0e148d768e54e8194586a492b5f481e8a1",- "limits.meterWeekly": "ba6adfc3f42f97022c47349057ffabf5e864bf93c8fab30cfe4513cf33ff984c"+ "limits.meterWeekly": "ba6adfc3f42f97022c47349057ffabf5e864bf93c8fab30cfe4513cf33ff984c",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645",+ "chat.notice.waitingPasswordElsewhere": "97cacd0a74d5204ef08cc8bc8e98a7510c0b4cc40e43a828e09c6ec945f868f2",+ "chat.notice.waitingSignInElsewhere": "23128dfa673a206b5bdbebc2d7c667b294214c38b5c4d848f2efc7abfa40927b",+ "chat.notice.waitingConnectElsewhere": "ea42fbcab6227c96875c990433e140b7dcec434b3431efe9edd4788925b596fb",+ "chat.notice.waitingReviewElsewhere": "bacacf6c5c87a709dce2c839ac18a57a7f87bc7f52b4afa2ab161ffb8bca66c7"},"uk": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -61612,7 +61632,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"vi": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -67529,7 +67550,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"tr": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -73446,7 +73468,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"pl": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -80564,7 +80587,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"ru": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -87736,7 +87760,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"it": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -94720,7 +94745,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"},"ko": {"connectedWorkspaces.localTitle": "7d6deafeab011d734c3fdd1bfd6f69544fbb746a004019269bdb48544b01164b",@@ -102368,7 +102394,8 @@"alwaysOn.title": "2006f993f0189bf13dac31689d811ebd7581f8889987927aa6f0f11bf6b4679d","alwaysOn.add.title": "007f4d7546061eba19c8b6edd78fc70404d2f745fb1f7f3aac83a22d216a9ccc","inbox.settled.title": "7804f7a79a9eee323b6e89d3f8287c7d36076f4d76291646295f435b0dec736e",- "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca"+ "inbox.settled.read": "9b9a8d05a7ec353bda84f9c1bb3178c299de3001b5e970508ddc889c487f92ca",+ "server.teammates.noLongerWaiting": "49259fb62a6e8687efa6a6e69da294c81bd67a19c57687d0724ee4bdd5cc4645"}}}diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex b1c2e54569..937bdefc84 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -258,6 +258,7 @@"server.teammates.gotYourApproval": "{who} onayınızı aldı","server.teammates.questionAnswered": "{who} sorusu yanıtlandı","server.teammates.requestApproved": "{who} isteği onaylandı",+ "server.teammates.noLongerWaiting": "{who} artık sizi beklemiyor","server.teammates.queuedBehind.answer": "“{title}” içindeki yanıtınızdan sonra @{bot} için sırada","server.teammates.queuedBehind.approval": "“{title}” içindeki onayınızdan sonra @{bot} için sırada","server.teammates.queuedBehind.review": "“{title}” içindeki incelemenizden sonra @{bot} için sırada",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex 3849ad539d..4ad3a49cd7 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -226,6 +226,7 @@"server.teammates.gotYourApproval": "{who} отримав ваше схвалення","server.teammates.questionAnswered": "На запитання {who} відповіли","server.teammates.requestApproved": "Запит {who} схвалено",+ "server.teammates.noLongerWaiting": "{who} більше не чекає на вас","server.teammates.queuedBehind.answer": "У черзі для @{bot} після вашої відповіді в «{title}»","server.teammates.queuedBehind.approval": "У черзі для @{bot} після вашого схвалення в «{title}»","server.teammates.queuedBehind.review": "У черзі для @{bot} після вашої перевірки в «{title}»",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex 6c6c06b604..c66e6ad8cc 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -258,6 +258,7 @@"server.teammates.gotYourApproval": "{who} đã nhận phê duyệt của bạn","server.teammates.questionAnswered": "Câu hỏi của {who} đã được trả lời","server.teammates.requestApproved": "Yêu cầu của {who} đã được phê duyệt",+ "server.teammates.noLongerWaiting": "{who} không còn chờ bạn nữa","server.teammates.queuedBehind.answer": "Đang chờ cho @{bot} sau câu trả lời của bạn trong “{title}”","server.teammates.queuedBehind.approval": "Đang chờ cho @{bot} sau phê duyệt của bạn trong “{title}”","server.teammates.queuedBehind.review": "Đang chờ cho @{bot} sau phần xem xét của bạn trong “{title}”",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 6a12df3ad1..32f9aeb619 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -386,6 +386,7 @@"server.teammates.gotYourApproval": "{who} 已收到你的核准","server.teammates.questionAnswered": "{who} 的問題已獲得回答","server.teammates.requestApproved": "{who} 的請求已獲核准",+ "server.teammates.noLongerWaiting": "{who} 不再等待你","server.teammates.queuedBehind.answer": "在「{title}」中排在你的回答之後,等待 @{bot}","server.teammates.queuedBehind.approval": "在「{title}」中排在你的核准之後,等待 @{bot}","server.teammates.queuedBehind.review": "在「{title}」中排在你的審閱之後,等待 @{bot}",@@ -9137,6 +9138,10 @@"chat.notice.waitingApprovalElsewhere": "正在 @{name} 中等待你的核准","chat.notice.waitingAnswerElsewhere": "正在 @{name} 中等待你的回答","chat.notice.teammateNeedsInput": "{name} 需要你的意見:{question}",+ "chat.notice.waitingPasswordElsewhere": "正在 @{name} 中等待你填寫{label}",+ "chat.notice.waitingSignInElsewhere": "正在 @{name} 中等待你登入 {label}",+ "chat.notice.waitingConnectElsewhere": "正在 @{name} 中等待你連接 {label}",+ "chat.notice.waitingReviewElsewhere": "正在 @{name} 中等待你審閱","chat.notice.relayCouldNotContinue": "這段對話無法繼續:{error}","secretCard.delivery.fileNamed": "{botName} 的指令可以在 24 小時內從私人檔案讀取它;它永遠不會被加入聊天中。","secretCard.delivery.refNamed": "{botName} 會取得一個供 OpenMausBot 自身工具使用的一次性參照,永遠看不到它。",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 25897f0f4e..bd6b195fd4 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -380,6 +380,7 @@"server.teammates.gotYourApproval": "{who} 已收到你的批准","server.teammates.questionAnswered": "{who} 的问题已得到回答","server.teammates.requestApproved": "{who} 的请求已获批准",+ "server.teammates.noLongerWaiting": "{who} 不再等你了","server.teammates.queuedBehind.answer": "在「{title}」中排在你的回答之后,等待 @{bot}","server.teammates.queuedBehind.approval": "在「{title}」中排在你的批准之后,等待 @{bot}","server.teammates.queuedBehind.review": "在「{title}」中排在你的审阅之后,等待 @{bot}",@@ -7493,6 +7494,10 @@"chat.notice.waitingApprovalElsewhere": "正在等你在 @{name} 里批准","chat.notice.waitingAnswerElsewhere": "正在等你在 @{name} 里回答","chat.notice.teammateNeedsInput": "{name} 需要你的输入:{question}",+ "chat.notice.waitingPasswordElsewhere": "正在等你在 @{name} 里填写{label}",+ "chat.notice.waitingSignInElsewhere": "正在等你在 @{name} 里登录 {label}",+ "chat.notice.waitingConnectElsewhere": "正在等你在 @{name} 里连接 {label}",+ "chat.notice.waitingReviewElsewhere": "正在等你在 @{name} 里审阅","chat.notice.relayCouldNotContinue": "这个对话无法继续——{error}","secretCard.delivery.fileNamed": "{botName} 的命令可以在 24 小时内从私有文件读取它;它绝不会被加入对话。","secretCard.delivery.refNamed": "{botName} 会得到一个一次性的引用,供 OpenMausBot 自己的工具使用,它始终看不到密钥本身。",