Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Drop #5593 from the train: revert its merge
milind-soni8f1b180c1460
diff --git a/server/host/ask-cards.test.ts b/server/host/ask-cards.test.tsindex 400b79dc48..afae09c908 100644--- a/server/host/ask-cards.test.ts+++ b/server/host/ask-cards.test.ts@@ -3,7 +3,6 @@ import { describe, expect, it, vi } from "vitest";import type { HandoffView } from "../coordinator.ts";import type { Notification } from "../notify.ts";import type { RequestAuth } from "../request-auth.ts";-import { restingOnPerson } from "../../shared/person-wait.ts";import type { BotRecord, Message } from "../store.ts";import { askToolName, createAskCards, type AskCardsDeps } from "./ask-cards.ts";@@ -246,45 +245,6 @@ describe("nothing stale waits on the person", () => {});});-describe("a new line the person types instead of answering", () => {- const ask = (w: ReturnType<typeof world>, threadId: string, requestId: string, over: Partial<NonNullable<Message["card"]>> = {}, row: Partial<Message> = {}) =>- w.store.appendMessage(threadId, { role: "bot", kind: "options", text: "Should I?", ...row,- card: { title: "Your bot has a question", subtitle: "Should I?", options: ["Yes"], requestId, requestType: "question", ...over } });-- it("settles the bot's earlier questions no turn waits on any more, so the conversation stops waiting on the person", () => {- const w = world();- ask(w, "chat", "req-1");- expect(restingOnPerson(w.rows("chat"))?.kind).toBe("question");- w.cards.typedOver("chat");- expect(w.rows("chat")[0]!.card).toMatchObject({ answered: "answer", answeredInChat: true });- expect(restingOnPerson(w.rows("chat"))).toBeUndefined();- });-- it("settles a NEEDS INPUT card from the bot's own reply too", () => {- const w = world();- w.store.appendMessage("chat", { role: "bot", kind: "text", text: "NEEDS INPUT: Which one do you like?", turnId: "t1" });- w.cards.ownQuestion("ledger", "chat", "t1");- w.cards.typedOver("chat");- expect(w.rows("chat")[0]!.card).toMatchObject({ answered: "answer", answeredInChat: true });- expect(restingOnPerson(w.rows("chat"))).toBeUndefined();- });-- it("leaves a card a turn or parked work still waits on, an approval, an inbox copy, a settled card and a room alone", () => {- const w = world({ live: ["req-live"] });- w.node({ id: "as_1", status: "waiting", question: QUESTION });- ask(w, "work", "req-live");- ask(w, "work", "needs-input-as_1-1");- ask(w, "work", "req-tool", { tool: "Bash", requestType: "permission" });- ask(w, "work", "req-copy", {}, { inbox: { botId: "ledger", threadId: "other", messageId: "x" } as unknown as Message["inbox"] });- ask(w, "work", "req-done", { answered: "answer", answeredText: "Yes" });- ask(w, "room", "req-room");- const before = [...w.rows("work"), ...w.rows("room")].map((row) => row.card);- w.cards.typedOver("work");- w.cards.typedOver("room");- expect([...w.rows("work"), ...w.rows("room")].map((row) => row.card)).toEqual(before);- });-});-describe("how an open question card settles", () => {const parked = () => {const w = world();diff --git a/server/host/ask-cards.ts b/server/host/ask-cards.tsindex 11a89467f3..264b7f8845 100644--- a/server/host/ask-cards.ts+++ b/server/host/ask-cards.ts@@ -234,28 +234,11 @@ export function createAskCards(deps: AskCardsDeps) {}}- /** The parked work a NEEDS INPUT card asks for. */- const parkedNode = (requestId: string): HandoffView | undefined => {- const id = requestId.startsWith(OPEN_QUESTION) ? requestId.slice(OPEN_QUESTION.length).replace(/-\d+$/, "") : "";- return id ? deps.node(id) : undefined;- };-- /** The person typed a new line in a bot's conversation instead of answering its earlier questions: those that no turn- * and no parked work waits on any more settle as answered in the chat, so the conversation stops waiting on them. */- function typedOver(threadId: string): void {- if (store.groupByThread(threadId)) return;- for (const message of store.messagesFor(threadId)) {- const card = message.card;- if (!card?.requestId || message.inbox || liveCardKind(card) !== "question" || deps.live(threadId, card.requestId)- || parkedNode(card.requestId)?.status === "waiting") continue;- store.patchMessage(threadId, message.id, { card: { ...card, answered: "answer", answeredInChat: true } });- }- }-/** The person answered a parked question's card, or its copy: the work it waits on carries their answer, whether it waits* in a room or a bot's conversation. False when no work waits on that card. */function answerParked(threadId: string, requestId: string, text: string): boolean {- const node = parkedNode(requestId);+ const id = requestId.startsWith(OPEN_QUESTION) ? requestId.slice(OPEN_QUESTION.length).replace(/-\d+$/, "") : "";+ const node = id ? deps.node(id) : undefined;const message = store.messagesFor(threadId).find((candidate) => candidate.card?.requestId === requestId && !candidate.inbox);if (!node || node.status !== "waiting" || node.question === undefined || node.cards?.length || !message?.card || !deps.answerNode(node.id, text)) return false;store.patchMessage(threadId, message.id, { card: { ...message.card, answered: "answer", answeredText: text, answeredBy: undefined } });@@ -294,5 +277,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, typedOver, ownQuestion, showWaitingOnPersonChip, settleWaitingOnPersonChips };+ return { park, remind, decided, closed, askedAgain, answerParked, answeredInWords, typed, ownQuestion, showWaitingOnPersonChip, settleWaitingOnPersonChips };}diff --git a/server/index.ts b/server/index.tsindex f7a98831fe..13620f91ae 100644--- a/server/index.ts+++ b/server/index.ts@@ -7685,7 +7685,7 @@ async function beginTurn(queueMicrotask(drainQueuedSends);return userMessage;}- if (personLine && !userMessage.relayed) askCards.typedOver(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 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: userMessage.id;diff --git a/shared/wire.ts b/shared/wire.tsindex 83cbcbd82f..290d8576c9 100644--- a/shared/wire.ts+++ b/shared/wire.ts@@ -657,7 +657,8 @@ export interface OptionCardData extends WaitCardField, ComputerAskField, AccessR/** Distinguishes a provider question from an approval after its live run ends. */requestType?: "permission" | "question";answered?: string;- /** What was actually answered, when the answer is words rather than a verdict. */+ /** What was actually answered, when the answer is words rather than a+ * verdict. */answeredText?: string;dismissed?: boolean;/** Who settled the card, when a person or service answered it. */@@ -673,7 +674,6 @@ export interface OptionCardData extends WaitCardField, ComputerAskField, AccessRexpired?: boolean;/** Stop ended the work that asked: nothing can answer it any more. */stopped?: boolean;- /** The person wrote a new line instead of answering, after the asking turn had ended. */ answeredInChat?: boolean;/** Catalog key for held when it is one of the fixed notes. */heldCode?: string;/** the narrow grant "always allow" remembers for a harness-native card. */diff --git a/src/components/QuestionCard.tsx b/src/components/QuestionCard.tsxindex 3a6464bfad..9439bd6673 100644--- a/src/components/QuestionCard.tsx+++ b/src/components/QuestionCard.tsx@@ -273,7 +273,6 @@ function SettledQuestion({ card, questions }: { card: NonNullable<Message["card"const [open, setOpen] = useState(false);if (card.stopped) return <AskSettledLine tone="stopped" ariaLabel={t("question.aria.card")}>{t("ask.settled.stopped")}</AskSettledLine>;if (card.expired) return <AskSettledLine tone="expired" ariaLabel={t("question.aria.card")}>{t("ask.settled.expired")}</AskSettledLine>;- if (card.answeredInChat) return <AskSettledLine ariaLabel={t("question.aria.card")}>{t("ask.settled.answeredInChat")}</AskSettledLine>;const answer = card.answeredText ?? (card.answered === "answer" ? null : undefined);if (answer === undefined || card.answered === "unavailable" || card.dismissed && !card.answeredText) {return <AskSettledLine tone="closed" ariaLabel={t("question.aria.card")}>{t("question.status.closed")}</AskSettledLine>;diff --git a/src/locales/de.json b/src/locales/de.jsonindex c2afd7d015..4430df0352 100644--- a/src/locales/de.json+++ b/src/locales/de.json@@ -2840,7 +2840,6 @@"ask.settled.answered": "Deine Antwort:","ask.settled.stopped": "Gestoppt, bevor du geantwortet hast","ask.settled.expired": "Abgelaufen, bevor jemand geantwortet hat",- "ask.settled.answeredInChat": "Im Chat beantwortet","ask.error": "Deine Antwort konnte nicht gesendet werden. Versuch es noch einmal.","ask.detail.more": "Alles anzeigen","inbox.action.closeQuestion": "Ohne Antwort schließen",diff --git a/src/locales/en.json b/src/locales/en.jsonindex 04a4d03f60..91aef832db 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -1111,7 +1111,6 @@"ask.settled.answered": "You answered:","ask.settled.stopped": "Stopped before you answered","ask.settled.expired": "Expired before anyone answered",- "ask.settled.answeredInChat": "Answered in the chat","ask.error": "Couldn't send your answer. Try again.","ask.detail.more": "Show all","inbox.action.closeQuestion": "Close without answering",diff --git a/src/locales/es.json b/src/locales/es.jsonindex f095fdbdb8..8a637bd4b2 100644--- a/src/locales/es.json+++ b/src/locales/es.json@@ -5668,7 +5668,6 @@"ask.settled.answered": "Respondiste:","ask.settled.stopped": "Se detuvo antes de que respondieras","ask.settled.expired": "Caducó antes de que alguien respondiera",- "ask.settled.answeredInChat": "Respondida en el chat","ask.error": "No se pudo enviar tu respuesta. Inténtalo de nuevo.","ask.detail.more": "Mostrar todo","inbox.action.closeQuestion": "Cerrar sin responder",diff --git a/src/locales/fr.json b/src/locales/fr.jsonindex 0cfef0df70..bc923089f8 100644--- a/src/locales/fr.json+++ b/src/locales/fr.json@@ -2746,7 +2746,6 @@"ask.settled.answered": "Vous avez répondu :","ask.settled.stopped": "Arrêté avant votre réponse","ask.settled.expired": "Expiré avant toute réponse",- "ask.settled.answeredInChat": "Répondu dans le chat","ask.error": "Impossible d’envoyer votre réponse. Réessayez.","ask.detail.more": "Tout afficher","inbox.action.closeQuestion": "Fermer sans répondre",diff --git a/src/locales/hi.json b/src/locales/hi.jsonindex c12592d446..c5bc27591d 100644--- a/src/locales/hi.json+++ b/src/locales/hi.json@@ -2746,7 +2746,6 @@"ask.settled.answered": "आपका जवाब:","ask.settled.stopped": "आपके जवाब देने से पहले रोक दिया गया","ask.settled.expired": "किसी के जवाब देने से पहले समय समाप्त हो गया",- "ask.settled.answeredInChat": "चैट में जवाब दिया","ask.error": "आपका जवाब नहीं भेजा जा सका। फिर से कोशिश करें।","ask.detail.more": "सब दिखाएँ","inbox.action.closeQuestion": "बिना जवाब दिए बंद करें",diff --git a/src/locales/it.json b/src/locales/it.jsonindex afa48481a3..60b9b73c0c 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -6329,7 +6329,6 @@"ask.settled.answered": "Hai risposto:","ask.settled.stopped": "Interrotto prima della tua risposta","ask.settled.expired": "Scaduto prima di una risposta",- "ask.settled.answeredInChat": "Risposto nella chat","ask.error": "Impossibile inviare la risposta. Riprova.","ask.detail.more": "Mostra tutto","inbox.action.closeQuestion": "Chiudi senza rispondere",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex eb34af9dd9..440775772c 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -7338,7 +7338,6 @@"ask.settled.answered": "あなたの回答:","ask.settled.stopped": "回答する前に停止しました","ask.settled.expired": "回答がないまま期限切れになりました",- "ask.settled.answeredInChat": "チャットで回答済み","ask.error": "回答を送信できませんでした。もう一度お試しください。","ask.detail.more": "すべて表示","inbox.action.closeQuestion": "回答せずに閉じる",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 3fbea20023..5cad996a80 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -910,7 +910,6 @@"ask.settled.answered": "내 답변:","ask.settled.stopped": "답변하기 전에 중지됨","ask.settled.expired": "아무도 답하기 전에 만료됨",- "ask.settled.answeredInChat": "채팅에서 답함","ask.error": "답변을 보내지 못했어요. 다시 시도하세요.","ask.detail.more": "모두 보기","inbox.action.closeQuestion": "답하지 않고 닫기",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex f33a4b65d3..bf5535be91 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -6469,7 +6469,6 @@"ask.settled.answered": "Twoja odpowiedź:","ask.settled.stopped": "Zatrzymano przed twoją odpowiedzią","ask.settled.expired": "Wygasło, zanim ktoś odpowiedział",- "ask.settled.answeredInChat": "Odpowiedziano w czacie","ask.error": "Nie udało się wysłać odpowiedzi. Spróbuj ponownie.","ask.detail.more": "Pokaż wszystko","inbox.action.closeQuestion": "Zamknij bez odpowiedzi",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 34269c0304..f5312a3514 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -7837,7 +7837,6 @@"ask.settled.answered": "Você respondeu:","ask.settled.stopped": "Interrompido antes de você responder","ask.settled.expired": "Expirou antes de alguém responder",- "ask.settled.answeredInChat": "Respondida no chat","ask.error": "Não foi possível enviar a resposta. Tente novamente.","ask.detail.more": "Mostrar tudo","inbox.action.closeQuestion": "Fechar sem responder",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 86d436ca43..57cd26f527 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -6527,7 +6527,6 @@"ask.settled.answered": "Ваш ответ:","ask.settled.stopped": "Остановлено до вашего ответа","ask.settled.expired": "Истекло, пока никто не ответил",- "ask.settled.answeredInChat": "Ответ дан в чате","ask.error": "Не удалось отправить ответ. Попробуйте ещё раз.","ask.detail.more": "Показать всё","inbox.action.closeQuestion": "Закрыть без ответа",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex faf012d7c6..9285b80b00 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -3939,8 +3939,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"es": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -10417,8 +10416,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"fr": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -14195,8 +14193,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"hi": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -17827,8 +17824,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"ja": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -25901,8 +25897,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"pt-br": {"voice.gemini.keyPlaceholder": "8c87ba2043a4a89d63c90cae8a6dafd5cbd193652e923b97988e381a74773e10",@@ -36485,8 +36480,7 @@"computer.reset.pending": "cae5248026f571c7a73a8b7319a8ae7b276ebd6b2ed3615572086f0e9b2ca36d","chat.helperSuggestion.from": "a18ce56f0c7920f241bf64e3146c8d865c3a1f5b9e8b793bd2e4c9729fd2de27","chat.helperSuggestion.about": "90a8c616bbb161c27ffad72536c2ba545bbe837e31c70c581a19c0d0d5bb0bbf",- "chat.notice.stalledCommand": "5aa1ec21810ef3815f243d2058f4e167ad71aee5a8fabe1543ca83c6144399d1",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "chat.notice.stalledCommand": "5aa1ec21810ef3815f243d2058f4e167ad71aee5a8fabe1543ca83c6144399d1"},"zh": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -44451,8 +44445,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"zh-tw": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -54720,8 +54713,7 @@"backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c","chat.helperSuggestion.from": "a18ce56f0c7920f241bf64e3146c8d865c3a1f5b9e8b793bd2e4c9729fd2de27","chat.helperSuggestion.about": "90a8c616bbb161c27ffad72536c2ba545bbe837e31c70c581a19c0d0d5bb0bbf",- "chat.notice.stalledCommand": "5aa1ec21810ef3815f243d2058f4e167ad71aee5a8fabe1543ca83c6144399d1",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "chat.notice.stalledCommand": "5aa1ec21810ef3815f243d2058f4e167ad71aee5a8fabe1543ca83c6144399d1"},"uk": {"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",@@ -58774,8 +58766,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"vi": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -64756,8 +64747,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"tr": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -70738,8 +70728,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"pl": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -77981,8 +77970,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"ru": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -85277,8 +85265,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"it": {"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",@@ -92379,8 +92366,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"},"ko": {"connectedWorkspaces.localTitle": "7d6deafeab011d734c3fdd1bfd6f69544fbb746a004019269bdb48544b01164b",@@ -100136,8 +100122,7 @@"settings.domain.httpsFirst": "41486ac1d5f39e25ccf3835d520137ecac15a0f49a9dcb5b73f7523fe6df330f","settings.backTo": "ea37ec29c3865c359d3efb005bd252c35457976140bb718824f39d157ea32567","devices.route.httpsAccount": "518ed79b3110cf735bc507bd796cf5c9cd701c3b2dc72bd764e599d411e3baf5",- "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c",- "ask.settled.answeredInChat": "29568f953b2b0256ed7bd24dcfe2a2eb896d1f21b8bddcce0599b4d6fb9b66b9"+ "backup.importAction": "ea94509e38cf6d6427db3a1b5a3b5816cba1e8f89b08f9739f6077ade188163c"}}}diff --git a/src/locales/tr.json b/src/locales/tr.jsonindex 664c1a666f..fee51330e2 100644--- a/src/locales/tr.json+++ b/src/locales/tr.json@@ -5164,7 +5164,6 @@"ask.settled.answered": "Yanıtınız:","ask.settled.stopped": "Siz yanıtlamadan önce durduruldu","ask.settled.expired": "Kimse yanıtlamadan süresi doldu",- "ask.settled.answeredInChat": "Sohbette yanıtlandı","ask.error": "Yanıtınız gönderilemedi. Tekrar deneyin.","ask.detail.more": "Tümünü göster","inbox.action.closeQuestion": "Yanıtlamadan kapat",diff --git a/src/locales/uk.json b/src/locales/uk.jsonindex b0d384aebb..36650a4816 100644--- a/src/locales/uk.json+++ b/src/locales/uk.json@@ -3184,7 +3184,6 @@"ask.settled.answered": "Ваша відповідь:","ask.settled.stopped": "Зупинено до вашої відповіді","ask.settled.expired": "Час минув, відповіді не було",- "ask.settled.answeredInChat": "Відповідь дано в чаті","ask.error": "Не вдалося надіслати відповідь. Спробуйте ще раз.","ask.detail.more": "Показати все","inbox.action.closeQuestion": "Закрити без відповіді",diff --git a/src/locales/vi.json b/src/locales/vi.jsonindex ba0ba61988..8c3925511b 100644--- a/src/locales/vi.json+++ b/src/locales/vi.json@@ -5164,7 +5164,6 @@"ask.settled.answered": "Bạn đã trả lời:","ask.settled.stopped": "Đã dừng trước khi bạn trả lời","ask.settled.expired": "Đã hết hạn trước khi có người trả lời",- "ask.settled.answeredInChat": "Đã trả lời trong cuộc trò chuyện","ask.error": "Không gửi được câu trả lời. Hãy thử lại.","ask.detail.more": "Hiện tất cả","inbox.action.closeQuestion": "Đóng mà không trả lời",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 8de2bf7fb8..2670ecd9d4 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -1063,7 +1063,6 @@"ask.settled.answered": "你回答了:","ask.settled.stopped": "在你回答前已停止","ask.settled.expired": "無人回答,已逾時",- "ask.settled.answeredInChat": "已在聊天中回答","ask.error": "無法送出你的回答,請再試一次。","ask.detail.more": "顯示全部","inbox.action.closeQuestion": "不回答並關閉",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex d8cfbbf8c7..bff0f02daf 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -976,7 +976,6 @@"ask.settled.answered": "你回答了:","ask.settled.stopped": "在你回答前已停止","ask.settled.expired": "无人回答,已过期",- "ask.settled.answeredInChat": "已在聊天中回答","ask.error": "无法发送你的回答,请重试。","ask.detail.more": "显示全部","inbox.action.closeQuestion": "不回答并关闭",diff --git a/src/state/store.tsx b/src/state/store.tsxindex fa6c81f23b..a66fbbb808 100644--- a/src/state/store.tsx+++ b/src/state/store.tsx@@ -70,7 +70,7 @@ import { reconcileSnapshotQueues, rememberConsumedQueueId, replaceBotQueues } frexport type { MausColor } from "@/lib/mascot";export type { RoutineRunCardData } from "../../shared/routine-run";-export interface OptionCardData extends Pick<WireOptionCard, "fixedOptions" | "lendingLift" | "webhookRequest" | "appTriggerRequest" | "yourComputer" | "computerAsk" | "waitRequest" | "stopped" | "answeredInChat" | "accessRequest" | "mcpRequest" | "summaryCode" | "summaryParams"> {+export interface OptionCardData extends Pick<WireOptionCard, "fixedOptions" | "lendingLift" | "webhookRequest" | "appTriggerRequest" | "yourComputer" | "computerAsk" | "waitRequest" | "stopped" | "accessRequest" | "mcpRequest" | "summaryCode" | "summaryParams"> {title: string;subtitle: string;options: string[];