Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(sign-in): a sign-in request answered in the chat settles, and stops waiting under Needs you (#3757)

Milind Soni723bc6563dff
diff --git a/scripts/mcp-server.ts b/scripts/mcp-server.ts
index 04a99c6103..82b005430a 100644
--- a/scripts/mcp-server.ts
+++ b/scripts/mcp-server.ts
@@ -693,6 +693,7 @@ function projectMessage(message: Record<string, any>) {
done: message.signIn.done,
cancelled: message.signIn.cancelled,
superseded: message.signIn.superseded,
+ answeredInChat: message.signIn.answeredInChat,
resumed: message.signIn.resumed,
}
: undefined;
@@ -731,7 +732,7 @@ function messageNeedsInput(message: Record<string, any>): boolean {
!message.connector.resumed &&
message.connector.status !== "connected";
const secret = isRecord(message.secret) && !message.secret.provided && !message.secret.dismissed && !message.secret.superseded;
- const signIn = isRecord(message.signIn) && !message.signIn.done && !message.signIn.cancelled && !message.signIn.superseded;
+ const signIn = isRecord(message.signIn) && !message.signIn.done && !message.signIn.cancelled && !message.signIn.superseded && !message.signIn.answeredInChat;
return Boolean(card || connector || secret || signIn);
}
diff --git a/server/automation-reports.ts b/server/automation-reports.ts
index 16e76b0699..e4da9a0787 100644
--- a/server/automation-reports.ts
+++ b/server/automation-reports.ts
@@ -6,6 +6,7 @@
// that delivers to the brief posts no line: its answer goes to the brief, which reads it as a small JSON result.
import { liveCardKind } from "../shared/live-approval.ts";
import type { AutomationLine } from "../shared/routine-run.ts";
+import { signInWaits } from "../shared/sign-in-request.ts";
import { needsInputQuestion } from "./runtime-coordinator.ts";
import type { RoutineManager, RoutineRun } from "./routines.ts";
import type { BotRecord, Message, Store } from "./store.ts";
@@ -51,7 +52,7 @@ export function automationContextText(line: AutomationLine, at: number, text: st
/** A sign-in, connection or credential card still waiting on the person, in plain words; null once it is settled. */
export function waitingCardText(message: Pick<Message, "kind" | "signIn" | "connector" | "secret">): string | null {
const { signIn, connector, secret } = message;
- if (message.kind === "signin" && signIn && !signIn.done && !signIn.cancelled && !signIn.superseded && !signIn.resumed && !signIn.stopped) {
+ if (message.kind === "signin" && signIn && signInWaits(signIn) && !signIn.resumed && !signIn.stopped) {
const reason = signIn.reason?.trim();
return `I need you to sign in to ${signIn.site}${reason ? `: ${reason}${/[.!?]$/.test(reason) ? "" : "."}` : "."}`;
}
diff --git a/server/guarded-requests.ts b/server/guarded-requests.ts
index 3408982716..9da3ef2704 100644
--- a/server/guarded-requests.ts
+++ b/server/guarded-requests.ts
@@ -1,5 +1,6 @@
import type { WireMessage as Message } from "../shared/wire.ts";
import { isPersistentQuestionCard } from "../shared/ask-question.ts";
+import { signInWaits } from "../shared/sign-in-request.ts";
export function requestConflict(message = "The request no longer owns this conversation") {
return Object.assign(new Error(message), { status: 409, code: "guarded_request_changed" });
@@ -58,5 +59,5 @@ export function requestNeedsInput(message: Message): boolean {
return Boolean((message.card?.requestId && !message.card.answered && !message.card.dismissed && !message.card.expired && !isPersistentQuestionCard(message.card)) ||
(message.connector && !message.connector.dismissed && !message.connector.resumed && message.connector.status !== "connected") ||
(message.secret && !message.secret.provided && !message.secret.dismissed && !message.secret.superseded) ||
- (message.signIn && !message.signIn.done && !message.signIn.cancelled && !message.signIn.superseded));
+ (message.signIn && signInWaits(message.signIn)));
}
diff --git a/server/index.ts b/server/index.ts
index 4ade74ae51..ef1d7ff4cf 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -48,7 +48,7 @@ import {
isCredentialTargetId,
type CredentialTargetId,
} from "../shared/credential-request.ts";
-import { isPendingSignInRequest, normalizeSignInSite, signInFallbackText, signInOutcome, signInResumePrompt } from "../shared/sign-in-request.ts";
+import { isPendingSignInRequest, normalizeSignInSite, signInFallbackText, signInOutcome, signInResumePrompt, signInWaits } from "../shared/sign-in-request.ts";
import { createRoomTurnLevels } from "./room-turn-level.ts";
import { RoomMemberLock } from "./room-member-lock.ts";
@@ -2028,7 +2028,7 @@ function resumableCards(threadId: string, since: number, memberId?: string): Arr
continue;
}
const signIn = message.signIn;
- if (signIn && !signIn.resumed && !signIn.superseded) {
+ if (signIn && !signIn.resumed && !signIn.superseded && !signIn.answeredInChat) {
open.push({ id: message.id, waits: `sign in to ${signIn.site}` });
}
}
@@ -7547,6 +7547,7 @@ async function acceptDirectSend(
});
store.setTaskAskedAt(botId, threadId, message.at);
handoffs.steered(threadId, steerTarget, instance?.instanceId, message.id);
+ answerSignInsInChat(botId, threadId);
return { ok: true as const, steered: true as const, threadId, message };
}
if (!current.busy) {
@@ -7913,6 +7914,7 @@ async function startTurn(
queueMicrotask(drainQueuedSends);
return userMessage;
}
+ if (personLine) answerSignInsInChat(bot.id, threadId);
const setupLine = takeSetupRequest(store, { botId: bot.id, threadId, line: userMessage, person: personLine, editedFrom: opts?.editedMessageId, mounted: instance.adapter.capabilities.agentsMcp === true }); if (setupLine) { userMessage = setupLine; providerText = setupTurnText(setupLine, usesNativeImageInput); } if (route.quickModel && !opts?.cardContinuation && userMessage.quickModel !== route.quickModel) userMessage = store.patchMessage(threadId, userMessage.id, { quickModel: route.quickModel }) ?? userMessage;
const recoveryUserMessageId = opts?.coordination
? store.activePath(threadId).findLast(m => m.role === "user" && m.kind === "text")?.id
@@ -11965,16 +11967,13 @@ function settleSignIn(botId: string, threadId: string, messageId: string, outcom
if (!bot || !message?.signIn) return { status: 404, body: { error: "no such sign-in request" } };
const card = message.signIn;
if (card.superseded) return { status: 409, body: { error: "this sign-in request was superseded by a newer one" } };
+ if (card.answeredInChat) return { status: 409, body: { error: "this sign-in request was already answered in the chat" } };
const settled = signInOutcome(card);
if (settled && settled !== outcome) {
return { status: 409, body: { error: `this sign-in request was already ${settled === "done" ? "marked done" : "cancelled"}` } };
}
if (settled && card.resumed) return { status: 200, body: { [outcome]: true, resumed: true } };
- if (!settled) {
- const pleaded = computerControl.settleHelp(message.id);
- if (card.place === "browser") browserLive.handBack(currentBrowserSession(bot.id, bot.browserProfile, teamHost.browserAudience(threadId)));
- else for (const key of pleaded.length ? pleaded : [botComputerControlKey(bot)]) computerControl.release(key);
- }
+ if (!settled) handSignInPlaceBack(bot, threadId, message.id, card.place);
const savedLogin = saved?.site ?? card.savedLogin;
const resumed = answerCardNode(threadId, message.id, savedLogin ? savedLoginResumePrompt(savedLogin) : signInResumePrompt(card.site, outcome));
store.patchMessage(threadId, message.id, {
@@ -11983,6 +11982,32 @@ function settleSignIn(botId: string, threadId: string, messageId: string, outcom
return { status: 200, body: { [outcome]: true, resumed, ...(savedLogin ? { saved: true, site: savedLogin } : {}) } };
}
+/** The person is through with the place the card lent them: its plea goes, and the browser or computer goes back to the bot. */
+function handSignInPlaceBack(bot: BotRecord, threadId: string, messageId: string, place: Surface): void {
+ const pleaded = computerControl.settleHelp(messageId);
+ if (place === "browser") browserLive.handBack(currentBrowserSession(bot.id, bot.browserProfile, teamHost.browserAudience(threadId)));
+ else for (const key of pleaded.length ? pleaded : [botComputerControlKey(bot)]) computerControl.release(key);
+}
+
+/** The person's own line answers every sign-in request still open in their conversation, as Done would, and ends the
+ * work parked on those cards: the turn the line starts goes on with the conversation, so nothing resumes it twice. */
+function answerSignInsInChat(botId: string, threadId: string): void {
+ const bot = store.bot(botId);
+ if (!bot) return;
+ const answered: string[] = [];
+ for (const message of store.activePath(threadId)) {
+ const card = message.signIn;
+ if (message.kind !== "signin" || !card || card.stopped || !signInWaits(card)) continue;
+ handSignInPlaceBack(bot, threadId, message.id, card.place);
+ store.patchMessage(threadId, message.id, { signIn: { ...card, answeredInChat: true, error: undefined } });
+ answered.push(message.id);
+ }
+ const parked = coordinator.parkedDirect(threadId);
+ const card = parked?.cards?.find((id) => answered.includes(id));
+ if (!parked || !card || resumableCards(threadId, parked.startedAt ?? parked.createdAt).some((open) => parked.cards!.includes(open.id))) return;
+ releaseCardNode(threadId, card, "The person answered in the chat");
+}
+
/** The open sign-in card the person is answering, and the page its bot's browser shows (null when none a login could fill). */
async function signInCardPage(botId: string, threadId: string, messageId: string):
Promise<{ card: SignInRequestCardData; cardHost: string; observed: ObservedPage | null } | { status: number; body: Record<string, unknown> }> {
@@ -11991,7 +12016,7 @@ async function signInCardPage(botId: string, threadId: string, messageId: string
if (!bot || !message?.signIn) return { status: 404, body: { error: "no such sign-in request" } };
const card = message.signIn;
if (card.superseded) return { status: 409, body: { error: "this sign-in request was superseded by a newer one" } };
- if (signInOutcome(card)) return { status: 409, body: { error: "this sign-in request was already answered" } };
+ if (signInOutcome(card) || card.answeredInChat) return { status: 409, body: { error: "this sign-in request was already answered" } };
let cardHost: string;
try { cardHost = new URL(card.url).hostname.toLowerCase(); }
catch { return { status: 409, body: { error: "this sign-in request has no page address to save a login for" } }; }
diff --git a/server/live-call-controller.ts b/server/live-call-controller.ts
index 429d5507db..63adf6763e 100644
--- a/server/live-call-controller.ts
+++ b/server/live-call-controller.ts
@@ -5,6 +5,7 @@ import {
LIVE_COPY, liveCardKind, liveStepLabel, spokenApprovalPrompt, spokenConnectorPrompt, spokenQuestionPrompt, spokenReviewPrompt, spokenSecretPrompt, spokenSignInPrompt,
} from "../shared/live-approval.ts";
import { clampAppend, commentaryChunks, LiveTranscript } from "../shared/live-call.ts";
+import { signInWaits } from "../shared/sign-in-request.ts";
import type { LiveCallRecord, LiveCallState, LiveClient, LiveEndReason } from "../shared/wire.ts";
import { LIVE_NEEDS_KEY, liveCallSummaryLine, LiveSessionError, liveVoice } from "./live-call.ts";
import type { RequestAuth } from "./request-auth.ts";
@@ -710,7 +711,7 @@ export class LiveCallController {
const waiting = message.kind === "connector"
? Boolean(connector && connector.status !== "connected" && !connector.dismissed && !connector.resumed)
: message.kind === "signin"
- ? Boolean(signIn && !signIn.done && !signIn.cancelled && !signIn.superseded)
+ ? Boolean(signIn && signInWaits(signIn))
: Boolean(secret && !secret.provided && !secret.dismissed && !secret.superseded && !secret.resumed);
const key = `${message.kind}:${message.id}`;
if (!waiting || call.announced.has(key)) return;
diff --git a/server/sign-in-request.e2e.test.ts b/server/sign-in-request.e2e.test.ts
index d0c8ecb131..77b839c0a8 100644
--- a/server/sign-in-request.e2e.test.ts
+++ b/server/sign-in-request.e2e.test.ts
@@ -8,9 +8,11 @@ import { removeTempDir } from "./testing/cleanup.ts";
import { openSse } from "./testing/sse.ts";
const asked = (turn: any): string => JSON.stringify(turn.prompt?.message?.content ?? "");
+const ASKED_REPLY = "I asked you to sign in to example.com; I will continue once you have.";
+const SIGNED_IN_REPLY = "You are signed in, so I opened the dashboard.";
-// The browser stand-in is a shell script; the mount only needs it to exist.
-it.skipIf(process.platform === "win32")("asks the person to sign in from a real turn, and runs the bot's next turn when they press Done", async () => {
+/** A server whose bot asks for a sign-in on its first turn and reports the dashboard on its second. */
+async function signInFixture() {
const tools = mkdtempSync(join(tmpdir(), "omb-sign-in-e2e-"));
const binaryPath = join(tools, "agent-browser");
// Answers the saved-login check the mount makes; every other command succeeds silently.
@@ -28,25 +30,41 @@ it.skipIf(process.platform === "win32")("asks the person to sign in from a real
return { status: response.status, body: await response.json() as any };
};
const stream = await openSse(`${url}/api/events`);
+ const close = async () => {
+ stream.close();
+ await fixture.close();
+ await removeTempDir(tools);
+ };
try {
expect((await api("PATCH", "/api/config", { features: { browser: true } })).status).toBe(200);
const bot = (await api("POST", "/api/bots", { name: "Signer" })).body.bot;
expect((await api("PATCH", `/api/bots/${bot.id}`, { computer: "browser" })).status).toBe(200);
writeFileSync(planPath, JSON.stringify({ [bot.id]: { turns: [
{ steps: [{ tool: "request_sign_in", arguments: { site: "https://www.example.com/dashboard", reason: "The dashboard is behind a login." } }],
- reply: "I asked you to sign in to example.com; I will continue once you have." },
- { reply: "You are signed in, so I opened the dashboard." },
+ reply: ASKED_REPLY },
+ { reply: SIGNED_IN_REPLY },
] } }));
+ const messages = async () => (await api("GET", `/api/threads/${bot.threadId}/messages`)).body.messages as any[];
+ const send = (text: string) => runControlOmb(["send", "--bot", bot.id, "--task", bot.threadId, "--text", text, "--url", url]);
+ const wait = async () => (await runControlOmb(["wait", "--bot", bot.id, "--task", bot.threadId, "--timeout", "20", "--url", url]) as any).status;
+ return { url, bot, api, evidence, messages, send, wait, stream, close };
+ } catch (error) {
+ await close();
+ throw error;
+ }
+}
- await runControlOmb(["send", "--bot", bot.id, "--task", bot.threadId, "--text", "Check my example.com dashboard.", "--url", url]);
+// The browser stand-in is a shell script; the mount only needs it to exist.
+it.skipIf(process.platform === "win32")("asks the person to sign in from a real turn, and runs the bot's next turn when they press Done", async () => {
+ const { bot, api, evidence, messages, send, wait, stream, close } = await signInFixture();
+ try {
+ await send("Check my example.com dashboard.");
await expect.poll(() => evidence().length, { timeout: 20_000 }).toBe(1);
const call = evidence()[0].evidence.find((entry: any) => entry.step?.tool === "request_sign_in");
expect(call.response.result.isError).toBeFalsy();
expect(call.response.result.content[0].text).toContain("The person was asked to sign in to example.com on your built-in browser. Your turn ends now");
- const messages = async () => (await api("GET", `/api/threads/${bot.threadId}/messages`)).body.messages as any[];
- await expect.poll(async () => (await messages()).some((message) => message.text === "I asked you to sign in to example.com; I will continue once you have."),
- { timeout: 15_000 }).toBe(true);
+ await expect.poll(async () => (await messages()).some((message) => message.text === ASKED_REPLY), { timeout: 15_000 }).toBe(true);
const cards = (await messages()).filter((message) => message.kind === "signin");
expect(cards).toHaveLength(1);
expect(cards[0].signIn).toMatchObject({ site: "example.com", url: "https://www.example.com/dashboard", place: "browser", reason: "The dashboard is behind a login." });
@@ -56,19 +74,46 @@ it.skipIf(process.platform === "win32")("asks the person to sign in from a real
const notices = stream.frames.filter((frame) => frame.kind === "notify" && frame.notification?.kind === "sign-in");
expect(notices).toHaveLength(1);
expect(notices[0].notification.title).toBe("Signer needs you to sign in to example.com");
- expect((await runControlOmb(["wait", "--bot", bot.id, "--task", bot.threadId, "--timeout", "20", "--url", url]) as any).status).toBe("needs-user");
+ expect(await wait()).toBe("needs-user");
expect(await api("POST", `/api/bots/${bot.id}/sign-in-cards/${cards[0].id}/done`, { threadId: bot.threadId }))
.toMatchObject({ status: 200, body: { done: true, resumed: true } });
await expect.poll(() => evidence().length, { timeout: 20_000 }).toBe(2);
expect(asked(evidence()[1])).toContain("the person finished signing in to example.com. Check you are signed in, then continue");
- await expect.poll(async () => (await messages()).some((message) => message.text === "You are signed in, so I opened the dashboard."),
- { timeout: 15_000 }).toBe(true);
+ await expect.poll(async () => (await messages()).some((message) => message.text === SIGNED_IN_REPLY), { timeout: 15_000 }).toBe(true);
expect((await messages()).find((message) => message.id === cards[0].id)?.signIn).toMatchObject({ done: true, resumed: true });
expect((await api("GET", `/api/bots/${bot.id}/sign-in-cards/${cards[0].id}/save-login?threadId=${bot.threadId}`))).toMatchObject({ status: 409, body: { error: "this sign-in request was already answered" } });
} finally {
- stream.close();
- await fixture.close();
- await removeTempDir(tools);
+ await close();
+ }
+}, 90_000);
+
+it.skipIf(process.platform === "win32")("a reply in the chat answers the sign-in request: the card settles, nothing waits under Needs you, and Done no longer resumes the old turn", async () => {
+ const { bot, api, evidence, messages, send, wait, close } = await signInFixture();
+ const waitsHere = async () => ((await api("GET", "/api/needs-you")).body.items as any[])
+ .filter((item) => item.kind === "question" && item.threadId === bot.threadId);
+ try {
+ await send("Check my example.com dashboard.");
+ await expect.poll(async () => (await messages()).some((message) => message.text === ASKED_REPLY), { timeout: 20_000 }).toBe(true);
+ expect(await wait()).toBe("needs-user");
+ const card = (await messages()).find((message) => message.kind === "signin");
+ expect(await waitsHere()).toEqual([expect.objectContaining({ text: expect.stringContaining("sign in to example.com") })]);
+
+ await send("I signed in, go on.");
+ await expect.poll(() => evidence().length, { timeout: 20_000 }).toBe(2);
+ expect(asked(evidence()[1])).toContain("I signed in, go on.");
+ await expect.poll(async () => (await messages()).some((message) => message.text === SIGNED_IN_REPLY), { timeout: 15_000 }).toBe(true);
+ const settled = (await messages()).find((message) => message.id === card.id)?.signIn;
+ expect(settled).toMatchObject({ answeredInChat: true });
+ expect(settled.done).toBeUndefined();
+ expect(await wait()).toBe("settled");
+ expect(await waitsHere()).toEqual([]);
+
+ expect(await api("POST", `/api/bots/${bot.id}/sign-in-cards/${card.id}/done`, { threadId: bot.threadId }))
+ .toMatchObject({ status: 409, body: { error: "this sign-in request was already answered in the chat" } });
+ await new Promise((resolve) => setTimeout(resolve, 1_000));
+ expect(evidence()).toHaveLength(2);
+ } finally {
+ await close();
}
}, 90_000);
diff --git a/shared/sign-in-request.ts b/shared/sign-in-request.ts
index 633f28c5c3..d38bc44c33 100644
--- a/shared/sign-in-request.ts
+++ b/shared/sign-in-request.ts
@@ -33,12 +33,13 @@ export function normalizeSignInSite(raw: unknown): { url: string; site: string }
}
/** A still-open sign-in card for this site — the set a newer request
- * supersedes. Done, cancelled and already-superseded cards keep their
- * settled state. In a room only the asking bot's own cards count. */
+ * supersedes. Done, cancelled, already-superseded and answered-in-chat
+ * cards keep their settled state. In a room only the asking bot's own
+ * cards count. */
export function isPendingSignInRequest(
message: {
kind?: unknown;
- signIn?: { site?: unknown; done?: unknown; cancelled?: unknown; superseded?: unknown };
+ signIn?: { site?: unknown; done?: unknown; cancelled?: unknown; superseded?: unknown; answeredInChat?: unknown };
from?: { botId?: unknown };
},
site: string,
@@ -48,13 +49,16 @@ export function isPendingSignInRequest(
return (
message.kind === "signin" &&
message.signIn?.site === site &&
- message.signIn.done !== true &&
- message.signIn.cancelled !== true &&
- message.signIn.superseded !== true &&
+ signInWaits(message.signIn) &&
(!roomThread || message.from?.botId === requestingBotId)
);
}
+/** Whether the card still waits on the person: not done, cancelled, superseded or answered in the chat. */
+export function signInWaits(card: { done?: unknown; cancelled?: unknown; superseded?: unknown; answeredInChat?: unknown }): boolean {
+ return card.done !== true && card.cancelled !== true && card.superseded !== true && card.answeredInChat !== true;
+}
+
/** How a card ended, or null while it is open. */
export function signInOutcome(state: { done?: unknown; cancelled?: unknown }): "done" | "cancelled" | null {
if (state.done === true) return "done";
diff --git a/shared/wire.ts b/shared/wire.ts
index 090082a8eb..3c4481d00a 100644
--- a/shared/wire.ts
+++ b/shared/wire.ts
@@ -783,6 +783,9 @@ export interface SignInRequestCardData {
/** Stop ended the turn this card paused: it offers no Done or Cancel,
* and an answer given afterwards is kept but continues nothing. */
stopped?: boolean;
+ /** The person answered in the conversation instead of pressing Done: it
+ * offers no Done or Cancel, and the turn their line started goes on. */
+ answeredInChat?: boolean;
}
/** The open sign-in request a bot's computer plea stands for, so whichever
diff --git a/src/components/SignInRequestCard.tsx b/src/components/SignInRequestCard.tsx
index 3aa190f51f..5aae944665 100644
--- a/src/components/SignInRequestCard.tsx
+++ b/src/components/SignInRequestCard.tsx
@@ -70,6 +70,15 @@ export function SignInRequestCard({
const stopped = card.stopped === true;
+ if (card.answeredInChat) {
+ return (
+ <AskSettledLine ariaLabel={t("signIn.title")}>
+ <span className="text-ink-secondary">{card.site}</span>
+ <span> · {t("signIn.answeredInChat")}</span>
+ </AskSettledLine>
+ );
+ }
+
if (card.superseded || (stopped && !outcome)) {
return (
<AskSettledLine icon={<X size={13} />} ariaLabel={t("signIn.title")}>
diff --git a/src/locales/de.json b/src/locales/de.json
index 1cea09124d..894ea8fd3a 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -1007,6 +1007,7 @@
"browser.passkey.lendPc": "Oder öffne OpenMausBot auf deinem PC: Er teilt seine Apps und seinen Bildschirm von selbst mit der Cloud, sodass {name} den Browser auf diesem PC nutzen kann, wo dein Passkey funktioniert.",
"signIn.where.vm": "Melde dich auf dem privaten Desktop an, auf dem {name} arbeitet. „Öffnen“ zeigt ihn mit „Steuerung übernehmen“.",
"signIn.where.cloud": "Melde dich auf dem Cloud-Desktop an, auf dem {name} arbeitet. „Öffnen“ zeigt ihn mit „Steuerung übernehmen“.",
+ "signIn.answeredInChat": "Du hast im Chat geantwortet",
"settings.profiles.title": "Browser-Profile",
"settings.profiles.subtitle": "Benannte Anmelde-Sitzungen, die jeder Bot nutzen kann. Leg eine im Browser-Tab eines Bots an; einmal anmelden, und sie bleibt.",
"settings.profiles.empty": "Noch keine Profile — wähl „+ Profil hinzufügen…“ im Browser eines Bots.",
diff --git a/src/locales/en.json b/src/locales/en.json
index cdee406b5f..bb69a99218 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -2909,6 +2909,7 @@
"signIn.local.explainHost": "Sign in at the computer OpenMausBot runs on, in the browser window {name} is using there. A Browser tab keeps its own sign-ins, which {name} does not use here. Then press Done.",
"signIn.private": "You type the password into the page yourself. OpenMausBot never sees it.",
"signIn.superseded": "Superseded by a newer request",
+ "signIn.answeredInChat": "You answered in the chat",
"signIn.retry": "Try again",
"signIn.settled.done": "Signed in to {site}",
"signIn.settled.cancelled": "Sign-in to {site} declined",
diff --git a/src/locales/es.json b/src/locales/es.json
index 9630d445d9..94dd58d95e 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -2486,6 +2486,7 @@
"signIn.local.explainHost": "Inicia sesión en el equipo donde se ejecuta OpenMausBot, en la ventana del navegador que usa {name} ahí. Una pestaña Navegador guarda sus propios inicios de sesión, que {name} no usa aquí. Luego pulsa «Listo».",
"signIn.private": "Escribes tú la contraseña en la página. OpenMausBot nunca la ve.",
"signIn.superseded": "Reemplazada por una solicitud más reciente",
+ "signIn.answeredInChat": "Respondiste en el chat",
"signIn.retry": "Reintentar",
"signIn.settled.done": "Sesión iniciada en {site}",
"signIn.settled.cancelled": "Inicio de sesión en {site} rechazado",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 7f4ae368a4..b3f724ec41 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -1000,6 +1000,7 @@
"browser.passkey.lendPc": "Ou ouvrez OpenMausBot sur votre PC : il partage de lui-même ses apps et son écran avec le Cloud, et {name} peut alors utiliser le navigateur de ce PC, où votre clé d’accès fonctionne.",
"signIn.where.vm": "Connectez-vous sur le bureau privé où travaille {name}. « Ouvrir » l'affiche avec « Prendre la main ».",
"signIn.where.cloud": "Connectez-vous sur le bureau cloud où travaille {name}. « Ouvrir » l'affiche avec « Prendre la main ».",
+ "signIn.answeredInChat": "Vous avez répondu dans le chat",
"settings.profiles.title": "Profils de navigateur",
"settings.profiles.subtitle": "Des sessions de connexion nommées que n'importe quel bot peut utiliser. Créez-en une depuis l'onglet Navigateur d'un bot ; connectez-vous une fois et elle reste.",
"settings.profiles.empty": "Aucun profil pour l'instant — choisissez « + Ajouter un profil… » dans le navigateur d'un bot.",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index 6716f31caa..6ca3827d59 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -1000,6 +1000,7 @@
"browser.passkey.lendPc": "या अपने PC पर OpenMausBot खोलें: यह अपने ऐप और स्क्रीन अपने-आप Cloud के साथ शेयर करता है, फिर {name} उस PC के ब्राउज़र का इस्तेमाल कर सकता है, जहाँ आपकी पासकी काम करती है।",
"signIn.where.vm": "उस निजी डेस्कटॉप पर साइन इन करें जिस पर {name} काम करता है। “खोलें” इसे “नियंत्रण लें” के साथ दिखाता है।",
"signIn.where.cloud": "उस क्लाउड डेस्कटॉप पर साइन इन करें जिस पर {name} काम करता है। “खोलें” इसे “नियंत्रण लें” के साथ दिखाता है।",
+ "signIn.answeredInChat": "आपने चैट में जवाब दिया",
"settings.profiles.title": "ब्राउज़र प्रोफ़ाइल",
"settings.profiles.subtitle": "नाम वाले साइन-इन सेशन, जिन्हें कोई भी बॉट इस्तेमाल कर सकता है। किसी बॉट के ब्राउज़र टैब से एक बनाएँ; एक बार साइन इन करें और वह बना रहता है।",
"settings.profiles.empty": "अभी कोई प्रोफ़ाइल नहीं — किसी बॉट के ब्राउज़र में \"+ प्रोफ़ाइल जोड़ें…\" चुनें।",
diff --git a/src/locales/it.json b/src/locales/it.json
index 279a23f03c..6871b6e304 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -2647,6 +2647,7 @@
"signIn.local.explainHost": "Accedi sul computer su cui gira OpenMausBot, nella finestra del browser che {name} sta usando lì. Una scheda Browser tiene accessi suoi, che {name} qui non usa. Poi premi Fatto.",
"signIn.private": "La password la scrivi tu nella pagina. OpenMausBot non la vede mai.",
"signIn.superseded": "Sostituita da una richiesta più recente",
+ "signIn.answeredInChat": "Hai risposto nella chat",
"signIn.retry": "Riprova",
"signIn.settled.done": "Accesso effettuato a {site}",
"signIn.settled.cancelled": "Accesso a {site} rifiutato",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 1b08c740ba..16546f0740 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -2783,6 +2783,7 @@
"signIn.local.explainHost": "OpenMausBotが動作しているコンピューターで、{name}が使用しているブラウザウィンドウからサインインしてください。ブラウザタブは独自のサインイン情報を保持しており、ここでは{name}はそれを使用しません。サインインしたら「完了」を押してください。",
"signIn.private": "パスワードは、ご自身でページに入力します。OpenMausBotがパスワードを目にすることはありません。",
"signIn.superseded": "新しいリクエストに置き換えられました",
+ "signIn.answeredInChat": "チャットで返信しました",
"signIn.retry": "もう一度試す",
"signIn.settled.done": "{site}にサインインしました",
"signIn.settled.cancelled": "{site}へのサインインを辞退しました",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 60f75b67db..ecf0a631df 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -2705,6 +2705,7 @@
"signIn.local.explainHost": "Zaloguj się na komputerze, na którym działa OpenMausBot, w oknie przeglądarki, której używa tam {name}. Karta Przeglądarka zachowuje własne logowania, których {name} tu nie używa. Następnie naciśnij Gotowe.",
"signIn.private": "Hasło wpisujesz w stronę samodzielnie. OpenMausBot nigdy go nie widzi.",
"signIn.superseded": "Zastąpione nowszym żądaniem",
+ "signIn.answeredInChat": "Odpowiedziano w czacie",
"signIn.retry": "Spróbuj ponownie",
"signIn.settled.done": "Zalogowano do {site}",
"signIn.settled.cancelled": "Odmówiono logowania do {site}",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index b1c7f32116..612f9e9c06 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -2655,6 +2655,7 @@
"signIn.local.explainHost": "Faça login no computador onde o OpenMausBot roda, na janela do navegador que {name} está usando lá. Uma aba Navegador guarda os próprios logins, que {name} não usa aqui. Depois aperte “Pronto”.",
"signIn.private": "Você mesmo digita a senha na página. O OpenMausBot nunca a vê.",
"signIn.superseded": "Substituído por um pedido mais recente",
+ "signIn.answeredInChat": "Você respondeu no chat",
"signIn.retry": "Tentar novamente",
"signIn.settled.done": "Login feito em {site}",
"signIn.settled.cancelled": "Login em {site} recusado",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index c535a16911..18df96803a 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -2753,6 +2753,7 @@
"signIn.local.explainHost": "Войдите на компьютере, где работает OpenMausBot, в окне браузера, которое {name} использует там. Вкладка Browser хранит свои входы, которые {name} здесь не использует. Затем нажмите «Готово».",
"signIn.private": "Пароль вы вводите на страницу сами. OpenMausBot его никогда не видит.",
"signIn.superseded": "Заменено более новым запросом",
+ "signIn.answeredInChat": "Вы ответили в чате",
"signIn.retry": "Повторить",
"signIn.settled.done": "Вход на {site} выполнен",
"signIn.settled.cancelled": "Вход на {site} отклонён",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index f6aa463cda..ed12ac4bda 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -2178,6 +2178,7 @@
"signIn.local.explainHost": "OpenMausBot'un çalıştığı bilgisayarda, {name} adlı botun orada kullandığı tarayıcı penceresinde oturum açın. Tarayıcı sekmesinin kendi oturumları vardır ve {name} burada bunları kullanmaz. Ardından Bitti'ye basın.",
"signIn.private": "Parolayı sayfaya kendiniz yazarsınız. OpenMausBot onu asla görmez.",
"signIn.superseded": "Daha yeni bir istek nedeniyle geçersiz kılındı",
+ "signIn.answeredInChat": "Sohbette yanıtladın",
"signIn.retry": "Tekrar dene",
"signIn.settled.done": "{site} için oturum açıldı",
"signIn.settled.cancelled": "{site} için oturum açma reddedildi",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index daf131cc0c..8ca857d568 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -1180,6 +1180,7 @@
"browser.passkey.lendPc": "Або відкрийте OpenMausBot на своєму ПК: він сам надасть хмарі доступ до застосунків і екрана, і {name} зможе користуватися браузером на тому ПК, де працює ваш ключ доступу.",
"signIn.where.vm": "Увійдіть на приватному робочому столі, де працює {name}. «Відкрити» показує його з «Перехопити керування».",
"signIn.where.cloud": "Увійдіть на хмарному робочому столі, де працює {name}. «Відкрити» показує його з «Перехопити керування».",
+ "signIn.answeredInChat": "Ви відповіли в чаті",
"settings.profiles.title": "Профілі браузера",
"settings.profiles.subtitle": "Іменовані сесії входу, які може використовувати будь-який бот. Створіть один із вкладки Браузер бота; увійдіть один раз — і сесія залишиться.",
"settings.profiles.empty": "Профілів ще немає — оберіть «+ Додати профіль…» під браузером бота.",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index 888c205fc9..45894d0cf6 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -2178,6 +2178,7 @@
"signIn.local.explainHost": "Đăng nhập tại máy tính mà OpenMausBot đang chạy, trong cửa sổ trình duyệt mà {name} đang sử dụng ở đó. Tab Trình duyệt duy trì các lượt đăng nhập riêng mà {name} không dùng ở đây. Sau đó nhấn Xong.",
"signIn.private": "Bạn tự nhập mật khẩu vào trang. OpenMausBot không bao giờ nhìn thấy mật khẩu.",
"signIn.superseded": "Đã được thay thế bằng yêu cầu mới hơn",
+ "signIn.answeredInChat": "Bạn đã trả lời trong cuộc trò chuyện",
"signIn.retry": "Thử lại",
"signIn.settled.done": "Đã đăng nhập vào {site}",
"signIn.settled.cancelled": "Đã từ chối đăng nhập vào {site}",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index 2c3b497d49..f8046582e5 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -1824,6 +1824,7 @@
"browser.control.stale": "{name} 正忙,因此未傳送。請再試一次。",
"signIn.where.vm": "請在 {name} 工作的私人桌面上登入。按「開啟」會連同「接手控制」一起顯示。",
"signIn.where.cloud": "請在 {name} 工作的雲端桌面上登入。按「開啟」會連同「接手控制」一起顯示。",
+ "signIn.answeredInChat": "你已在聊天中回覆",
"browser.live.botBusy": "{name} 正在使用這個瀏覽器。空閒時就會開啟即時畫面…",
"browser.input.tooSlow": "瀏覽器跟不上輸入速度,因此已停止輸入(瀏覽器可能卡住,或連線速度較慢)。請重新連接畫面後再輸入。如果仍然卡住,請重新啟動瀏覽器。",
"browser.profiles.heldElsewhere": "另一個視窗正在使用這個瀏覽器。待其完成後再切換設定檔。",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 1b4fc32321..5f05666900 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -1386,6 +1386,7 @@
"browser.passkey.lendPc": "或者在你的 PC 上打开 OpenMausBot:它会自动与 Cloud 共享应用和屏幕,之后 {name} 就能使用那台 PC 上的浏览器,你的通行密钥在那里可用。",
"signIn.where.vm": "请在 {name} 工作的私有桌面上登录。点“打开”会连同“接管控制”一起显示。",
"signIn.where.cloud": "请在 {name} 工作的云端桌面上登录。点“打开”会连同“接管控制”一起显示。",
+ "signIn.answeredInChat": "你已在聊天中回复",
"settings.profiles.title": "浏览器配置",
"settings.profiles.subtitle": "任何机器人都能使用的具名登录会话。在机器人的浏览器标签页里创建一个;登录一次就会一直保留。",
"settings.profiles.empty": "还没有配置——在机器人的浏览器里选择“+ 添加配置…”。",