diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/SessionView.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/SessionView.tsx index 80880612a00..140a0cdaa57 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/SessionView.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/SessionView.tsx @@ -77,7 +77,9 @@ import { type WorkDrawerHandle, } from "../WorkDrawer"; import { ComposerChips } from "./components/ComposerChips"; +import { HistoryNotice } from "./components/HistoryNotice"; import { SubagentNotice } from "./components/SubagentNotice"; +import { TranscriptLoadState } from "./components/TranscriptLoadState"; import { type SwitchAccount, type SwitchableAgent, @@ -101,6 +103,7 @@ import { subagentsInTurn } from "./utils/subagentsInTurn"; const RESUME_FOLLOW_PX = 24; const NO_COMMANDS: AvailableCommand[] = []; const NO_CONFIG_OPTIONS: SessionConfigOption[] = []; +const NO_APPROVALS: ReturnType = []; function contentText(content: UserContent[]): string { return userMessageText({ content }); @@ -503,7 +506,7 @@ export function SessionView({ [sendPrompt], ); const onSend = useMainSend({ - approvals, + approvals: session.history === "loaded" ? approvals : NO_APPROVALS, holdPrompt, loaded, onAnswerFailed, @@ -790,6 +793,12 @@ export function SessionView({ {setupEnvironment && ( )} + {session.history !== "loaded" && ( + + )} + {!focusedSubagentId && ( + + )} {!focusedSubagentId && rail.length > 1 && ( void; +}) { + return ( +
+ + {failed ? ( + <> + Couldn't load this chat's messages. + + + ) : ( + <> + + Couldn't load this chat's messages. Retrying… + + )} + +
+ ); +} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/HistoryNotice/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/HistoryNotice/index.ts new file mode 100644 index 00000000000..4605faff892 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/HistoryNotice/index.ts @@ -0,0 +1 @@ +export { HistoryNotice } from "./HistoryNotice"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/TranscriptLoadState/TranscriptLoadState.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/TranscriptLoadState/TranscriptLoadState.tsx new file mode 100644 index 00000000000..a9882160cf0 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/TranscriptLoadState/TranscriptLoadState.tsx @@ -0,0 +1,37 @@ +import { Trans } from "@lingui/react/macro"; +import { Spinner } from "@superset/ui/spinner"; +import { useEffect, useState } from "react"; + +const SLOW_LOAD_MS = 500; + +export function TranscriptLoadState({ + empty, + loading, + unreachable, +}: { + empty: boolean; + loading: boolean; + unreachable: boolean; +}) { + const [slow, setSlow] = useState(false); + useEffect(() => { + if (!loading) { + setSlow(false); + return; + } + const timer = setTimeout(() => setSlow(true), SLOW_LOAD_MS); + return () => clearTimeout(timer); + }, [loading]); + + if (!empty || !loading || (!unreachable && !slow)) return null; + return ( + + + {unreachable ? ( + Can't reach this workspace's host. Retrying… + ) : ( + Loading chat + )} + + ); +} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/TranscriptLoadState/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/TranscriptLoadState/index.ts new file mode 100644 index 00000000000..d12ce5d49c5 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/workspace/$workspaceId/hooks/usePaneRegistry/components/ChatSession/components/SessionView/components/TranscriptLoadState/index.ts @@ -0,0 +1 @@ +export { TranscriptLoadState } from "./TranscriptLoadState"; diff --git a/packages/chat/src/react/useChatSession/useChatSession.test.tsx b/packages/chat/src/react/useChatSession/useChatSession.test.tsx index 325c58b2fe6..eb538ee3428 100644 --- a/packages/chat/src/react/useChatSession/useChatSession.test.tsx +++ b/packages/chat/src/react/useChatSession/useChatSession.test.tsx @@ -1007,6 +1007,152 @@ describe("useChatSession", () => { test("keeps the cached transcript when the journal cannot be read", async () => { expect(await cacheAndFailLoad("journal_missing")).toBeGreaterThan(0); }); + + test("shows the cached transcript and loads the history again while the host cannot read it", async () => { + const stack = await startStack(); + const first = stack.makeClient(); + const firstView = render(); + await domWaitFor(() => expect(session().status).toBe("ready")); + act(() => { + session().sendPrompt([{ type: "text", text: "hello" }]); + }); + await domWaitFor(() => + expect(session().snapshot.session?.status).toBe("idle"), + ); + const cachedItems = session().snapshot.items.size; + expect(cachedItems).toBeGreaterThan(0); + firstView.unmount(); + first.close(); + + let readable = false; + const flaky: ChatTransport = new Proxy(stack.transport, { + get: (target, prop, receiver) => { + if ((prop === "getOutline" || prop === "getItems") && !readable) { + return async () => ({ ok: false, reset: "journal_missing" }); + } + return Reflect.get(target, prop, receiver); + }, + }); + const manual = createManualWait(); + const client = stack.makeClient({ transport: flaky, wait: manual.wait }); + const view = render(); + + await domWaitFor(() => expect(session().history).toBe("retrying")); + expect(session().status).toBe("ready"); + expect(session().snapshot.items.size).toBe(cachedItems); + + readable = true; + await domWaitFor(() => { + act(() => manual.flush()); + expect(session().history).toBe("loaded"); + }); + expect(session().snapshot.items.size).toBe(cachedItems); + view.unmount(); + client.close(); + await stack.runtime.dispose(); + }); + + test("stops asking for an unreadable history once the chat closes", async () => { + const stack = await startStack(); + const unreadable: ChatTransport = new Proxy(stack.transport, { + get: (target, prop, receiver) => + prop === "getOutline" || prop === "getItems" + ? async () => ({ ok: false, reset: "journal_missing" }) + : Reflect.get(target, prop, receiver), + }); + const manual = createManualWait(); + const client = stack.makeClient({ + transport: unreadable, + wait: manual.wait, + }); + const view = render(); + await domWaitFor(() => expect(session().history).toBe("retrying")); + expect(session().snapshot.session?.harness).toBe(FAKE_HARNESS); + + view.unmount(); + client.close(); + act(() => manual.flush()); + expect(manual.pendingCount()).toBe(0); + await stack.runtime.dispose(); + }); + + test("loads the history again when a resync after a stream reset fails", async () => { + const stack = await startStack(); + let readable = true; + const flaky: ChatTransport = new Proxy(stack.transport, { + get: (target, prop, receiver) => { + if ((prop === "getOutline" || prop === "getItems") && !readable) { + return async () => ({ ok: false, reset: "journal_missing" }); + } + return Reflect.get(target, prop, receiver); + }, + }); + const manual = createManualWait(); + const client = stack.makeClient({ transport: flaky, wait: manual.wait }); + const view = render(); + await domWaitFor(() => expect(session().status).toBe("ready")); + expect(session().history).toBe("loaded"); + + readable = false; + act(() => { + stack.runtime.subscriptions.publish({ + v: 1, + sessionId: stack.sessionId, + ts: Date.now(), + reset: { reason: "journal_missing" }, + }); + }); + await domWaitFor(() => expect(session().history).toBe("retrying")); + + readable = true; + await domWaitFor(() => { + act(() => manual.flush()); + expect(session().history).toBe("loaded"); + }); + view.unmount(); + client.close(); + await stack.runtime.dispose(); + }); + + test("gives up on an unreadable history after a while and loads it when asked again", async () => { + const stack = await startStack(); + let readable = false; + let reads = 0; + const flaky: ChatTransport = new Proxy(stack.transport, { + get: (target, prop, receiver) => { + if (prop !== "getOutline" && prop !== "getItems") { + return Reflect.get(target, prop, receiver); + } + return async (input: never) => { + reads += 1; + if (!readable) return { ok: false, reset: "journal_missing" }; + return prop === "getOutline" + ? target.getOutline(input) + : target.getItems(input); + }; + }, + }); + const manual = createManualWait(); + const client = stack.makeClient({ transport: flaky, wait: manual.wait }); + const view = render(); + + await domWaitFor(() => { + act(() => manual.flush()); + expect(session().history).toBe("failed"); + }); + const readsWhenFailed = reads; + for (let i = 0; i < 5; i += 1) act(() => manual.flush()); + await new Promise((resolve) => setTimeout(resolve, 20)); + expect(reads).toBe(readsWhenFailed); + + readable = true; + act(() => session().retryHistory()); + await domWaitFor(() => expect(session().history).toBe("loaded")); + expect(reads).toBeGreaterThan(readsWhenFailed); + view.unmount(); + client.close(); + await stack.runtime.dispose(); + }); }); test("a chat subscribes to background steps by default", () => { diff --git a/packages/chat/src/react/useChatSession/useChatSession.ts b/packages/chat/src/react/useChatSession/useChatSession.ts index f202b246e04..d93042f7d4e 100644 --- a/packages/chat/src/react/useChatSession/useChatSession.ts +++ b/packages/chat/src/react/useChatSession/useChatSession.ts @@ -66,9 +66,45 @@ const defaultWait: Wait = (callback, delayMs) => { }; const SEED_TIMEOUT_MS = 10_000; +const MAX_HISTORY_ATTEMPTS = 8; const MAX_BODIES_PER_REQUEST = 100; const MAX_BODY_ATTEMPTS = 3; +function timedWith(wait: Wait) { + return (request: Promise) => + new Promise((resolve, reject) => { + const cancelTimeout = wait( + () => reject(new Error("timed out")), + SEED_TIMEOUT_MS, + ); + request.then( + (value) => { + cancelTimeout(); + resolve(value); + }, + (error: unknown) => { + cancelTimeout(); + reject(error); + }, + ); + }); +} + +function withSessionRow( + snapshot: SessionSnapshot, + row: NonNullable, +): SessionSnapshot { + return { + ...snapshot, + session: { + ...snapshot.session, + status: row.status, + harness: row.harness, + ...(row.title ? { title: row.title } : {}), + }, + }; +} + type Seed = | { kind: "outline"; snapshot: SessionSnapshot } | { kind: "page"; envelopes: Envelope[]; nextBefore: Cursor | null }; @@ -87,8 +123,10 @@ async function fetchSeed( }; } } catch {} - const page = await timed(client.getItems({ limit: pageSize })); - if (!page.ok) return null; + const page = await timed(client.getItems({ limit: pageSize })).catch( + () => null, + ); + if (!page?.ok) return null; return { kind: "page", envelopes: page.envelopes, @@ -166,11 +204,21 @@ export type UseChatSessionOptions = { export type ChatSessionStatus = "loading" | "ready"; +export type ChatHistoryStatus = "loaded" | "retrying" | "failed"; + +type HistoryControl = { + failed(): void; + recovered(): void; + retry(): void; +}; + export type ChatSession = { snapshot: SessionSnapshot; status: ChatSessionStatus; connection: StreamStatus; unreachable: boolean; + history: ChatHistoryStatus; + retryHistory(): void; outbox: OutboxEntry[]; hasOlder: boolean; requestItemBodies(itemIds: readonly string[]): void; @@ -228,6 +276,7 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { const [status, setStatus] = useState("loading"); const [connection, setConnection] = useState("connecting"); const [unreachable, setUnreachable] = useState(false); + const [history, setHistory] = useState("loaded"); const [outboxEntries, setOutboxEntries] = useState([]); const [hasOlder, setHasOlder] = useState(false); @@ -245,6 +294,8 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { const resyncBufferRef = useRef(null); const clientRef = useRef(client); clientRef.current = client; + const historyControlRef = useRef(null); + const loadGenerationRef = useRef(0); const outbox = useMemo( () => @@ -378,9 +429,16 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { } nextBeforeRef.current = seed.nextBefore; setHasOlder(seed.nextBefore !== null); + const first = seed.envelopes.find(isDurableEnvelope); const apply = (prev: SessionSnapshot) => reduceMany( - { ...prev, cursor: null, pendingReset: null }, + { + ...(first && prev.cursor && prev.cursor.epoch !== first.cursor.epoch + ? emptySnapshot() + : prev), + cursor: null, + pendingReset: null, + }, seed.envelopes, ); if (merge) { @@ -395,23 +453,37 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { ); const resync = useCallback( - async (afterReset = false) => { + async (afterReset = false): Promise => { if (resyncingRef.current) { if (afterReset) resyncAgainRef.current = true; - return; + return false; } resyncingRef.current = true; + const generation = loadGenerationRef.current; try { do { resyncAgainRef.current = false; resyncBufferRef.current = []; - const seed = await fetchSeed(client, pageSize).catch(() => null); - if (clientRef.current !== client) return; - const seeded = seed - ? applySeed(seed, true, resyncBufferRef.current) - : null; + const seed = await fetchSeed( + client, + pageSize, + timedWith(waitRef.current), + ).catch(() => null); + if ( + clientRef.current !== client || + loadGenerationRef.current !== generation + ) { + return false; + } + if (!seed) { + historyControlRef.current?.failed(); + return false; + } + const seeded = applySeed(seed, true, resyncBufferRef.current); if (seeded?.pendingReset) resyncAgainRef.current = true; } while (resyncAgainRef.current); + historyControlRef.current?.recovered(); + return true; } finally { resyncingRef.current = false; resyncBufferRef.current = null; @@ -431,7 +503,9 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { setStatus("loading"); setUnreachable(false); + setHistory("loaded"); setConnection("connecting"); + loadGenerationRef.current += 1; const primed = takePrimedSnapshot(client.sessionId); const cached = cachedSnapshot(client.sessionId); setSnapshot(cached ?? emptySnapshot()); @@ -441,34 +515,56 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { pendingRef.current = []; let cancelRetry: (() => void) | null = null; - const retry = (attempt: number) => { - const delayMs = Math.min( + const backoffMs = (attempt: number) => + Math.min( DEFAULT_BACKOFF_INITIAL_MS * 2 ** attempt, DEFAULT_BACKOFF_MAX_MS, ); + const retry = (attempt: number) => { cancelRetry = waitRef.current(() => { cancelRetry = null; void seed(attempt + 1); - }, delayMs); + }, backoffMs(attempt)); + }; + let historyAttempts = 0; + let historyScheduled = false; + const scheduleHistory = () => { + if (cancelled || historyScheduled) return; + if (historyAttempts >= MAX_HISTORY_ATTEMPTS) { + setHistory("failed"); + return; + } + historyScheduled = true; + setHistory("retrying"); + cancelRetry = waitRef.current(() => { + cancelRetry = null; + historyScheduled = false; + void resync(); + }, backoffMs(historyAttempts++)); }; + const historyControl: HistoryControl = { + failed: scheduleHistory, + recovered: () => { + if (cancelled) return; + if (historyScheduled) { + cancelRetry?.(); + cancelRetry = null; + historyScheduled = false; + } + historyAttempts = 0; + loaded = true; + setHistory("loaded"); + }, + retry: () => { + if (cancelled || historyScheduled) return; + historyAttempts = 0; + setHistory("retrying"); + void resync(); + }, + }; + historyControlRef.current = historyControl; - const timed = (request: Promise) => - new Promise((resolve, reject) => { - const cancelTimeout = waitRef.current( - () => reject(new Error("timed out")), - SEED_TIMEOUT_MS, - ); - request.then( - (value) => { - cancelTimeout(); - resolve(value); - }, - (error: unknown) => { - cancelTimeout(); - reject(error); - }, - ); - }); + const timed = timedWith(waitRef.current); const seed = async (attempt: number) => { let session: InitialLoad[0]; @@ -489,13 +585,22 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { cached ? withCachedBodies(seed, cached) : seed, false, ); - } else { - if (!session.session) forgetSnapshot(client.sessionId); + } else if (!session.session) { + forgetSnapshot(client.sessionId); setSnapshot(emptySnapshot()); + } else { + const row = session.session; + const otherEpoch = + cached?.cursor != null && cached.cursor.epoch !== row.epoch; + if (otherEpoch) forgetSnapshot(client.sessionId); + setSnapshot((prev) => + withSessionRow(otherEpoch ? emptySnapshot() : prev, row), + ); } loaded = seed !== null; setStatus("ready"); subscribe(seeded?.cursor ?? session.cursor); + if (!seed && session.session) scheduleHistory(); }; const subscribe = (since: Cursor | null) => { stream = client.subscribe({ @@ -524,6 +629,10 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { } return () => { + if (historyControlRef.current === historyControl) { + historyControlRef.current = null; + } + loadGenerationRef.current += 1; if (loaded && !snapshotRef.current.pendingReset) { cacheSnapshot(client.sessionId, snapshotRef.current); } @@ -624,6 +733,10 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { [client], ); + const retryHistory = useCallback(() => { + historyControlRef.current?.retry(); + }, []); + const setConfigOption = useCallback( (configId: string, value: string, options?: { confirm?: boolean }) => client.setConfigOption(configId, value, options), @@ -635,6 +748,8 @@ export function useChatSession(options: UseChatSessionOptions): ChatSession { status, connection, unreachable, + history, + retryHistory, outbox: outboxEntries, hasOlder, requestItemBodies, diff --git a/packages/i18n/locales/cs/messages.po b/packages/i18n/locales/cs/messages.po index cc94c0695dd..a6ad043b366 100644 --- a/packages/i18n/locales/cs/messages.po +++ b/packages/i18n/locales/cs/messages.po @@ -4107,6 +4107,9 @@ msgstr "Cesty vzdáleného pracovního prostoru nejde otevřít ve Finderu" msgid "Can't reach the host" msgstr "Host není dostupný" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Nelze se spojit s hostitelem tohoto pracovního prostoru. Zkouším znovu…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Nelze vrátit, dokud v tomto pracovním prostoru pracuje chat." @@ -6312,6 +6315,12 @@ msgstr "Nepodařilo se načíst komentáře k revizi" msgid "Couldn't load runs" msgstr "Běhy se nepodařilo načíst" +msgid "Couldn't load this chat's messages." +msgstr "Zprávy tohoto chatu se nepodařilo načíst." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Zprávy tohoto chatu se nepodařilo načíst. Zkouším znovu…" + msgid "Couldn't load this run's payload." msgstr "Data tohoto běhu se nepodařilo načíst." diff --git a/packages/i18n/locales/de/messages.po b/packages/i18n/locales/de/messages.po index de3ed1cc8dd..7669cf85da1 100644 --- a/packages/i18n/locales/de/messages.po +++ b/packages/i18n/locales/de/messages.po @@ -4107,6 +4107,9 @@ msgstr "Pfade aus Remote-Arbeitsbereichen lassen sich nicht im Finder öffnen" msgid "Can't reach the host" msgstr "Host nicht erreichbar" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Der Host dieses Arbeitsbereichs ist nicht erreichbar. Neuer Versuch…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Rückgängig machen geht nicht, während ein Chat in diesem Arbeitsbereich arbeitet." @@ -6312,6 +6315,12 @@ msgstr "Review-Kommentare konnten nicht geladen werden" msgid "Couldn't load runs" msgstr "Ausführungen konnten nicht geladen werden" +msgid "Couldn't load this chat's messages." +msgstr "Die Nachrichten dieses Chats konnten nicht geladen werden." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Die Nachrichten dieses Chats konnten nicht geladen werden. Neuer Versuch…" + msgid "Couldn't load this run's payload." msgstr "Die Nutzlast dieser Ausführung konnte nicht geladen werden." diff --git a/packages/i18n/locales/en/messages.po b/packages/i18n/locales/en/messages.po index 46c8a8c48d6..8b019c8b158 100644 --- a/packages/i18n/locales/en/messages.po +++ b/packages/i18n/locales/en/messages.po @@ -4107,6 +4107,9 @@ msgstr "Can't open remote workspace paths in Finder" msgid "Can't reach the host" msgstr "Can't reach the host" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Can't reach this workspace's host. Retrying…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Can't undo while a chat in this workspace is working." @@ -6312,6 +6315,12 @@ msgstr "Couldn't load review comments" msgid "Couldn't load runs" msgstr "Couldn't load runs" +msgid "Couldn't load this chat's messages." +msgstr "Couldn't load this chat's messages." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Couldn't load this chat's messages. Retrying…" + msgid "Couldn't load this run's payload." msgstr "Couldn't load this run's payload." diff --git a/packages/i18n/locales/es/messages.po b/packages/i18n/locales/es/messages.po index 1cbc09c42c9..969c1504bcc 100644 --- a/packages/i18n/locales/es/messages.po +++ b/packages/i18n/locales/es/messages.po @@ -4107,6 +4107,9 @@ msgstr "No se pueden abrir rutas de espacios de trabajo remotos en Finder" msgid "Can't reach the host" msgstr "No se puede conectar con el host" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "No se puede conectar con el host de este espacio de trabajo. Reintentando…" + msgid "Can't undo while a chat in this workspace is working." msgstr "No se puede deshacer mientras un chat de este espacio de trabajo está trabajando." @@ -6312,6 +6315,12 @@ msgstr "No se pudieron cargar los comentarios de la revisión" msgid "Couldn't load runs" msgstr "No se pudieron cargar las ejecuciones" +msgid "Couldn't load this chat's messages." +msgstr "No se pudieron cargar los mensajes de este chat." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "No se pudieron cargar los mensajes de este chat. Reintentando…" + msgid "Couldn't load this run's payload." msgstr "No se pudo cargar la carga útil de esta ejecución." diff --git a/packages/i18n/locales/fr/messages.po b/packages/i18n/locales/fr/messages.po index ffeb474171f..eb958a47b0f 100644 --- a/packages/i18n/locales/fr/messages.po +++ b/packages/i18n/locales/fr/messages.po @@ -4107,6 +4107,9 @@ msgstr "Impossible d'ouvrir les chemins d'un espace de travail distant dans le F msgid "Can't reach the host" msgstr "Impossible de joindre l'hôte" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Impossible de joindre l'hôte de cet espace de travail. Nouvelle tentative…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Impossible d'annuler pendant qu'un chat de cet espace de travail travaille." @@ -6312,6 +6315,12 @@ msgstr "Impossible de charger les commentaires de revue" msgid "Couldn't load runs" msgstr "Impossible de charger les exécutions" +msgid "Couldn't load this chat's messages." +msgstr "Impossible de charger les messages de ce chat." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Impossible de charger les messages de ce chat. Nouvelle tentative…" + msgid "Couldn't load this run's payload." msgstr "Impossible de charger la charge utile de cette exécution." diff --git a/packages/i18n/locales/id/messages.po b/packages/i18n/locales/id/messages.po index d3b33ed50b7..b6fe82191a2 100644 --- a/packages/i18n/locales/id/messages.po +++ b/packages/i18n/locales/id/messages.po @@ -4107,6 +4107,9 @@ msgstr "Tidak bisa membuka path workspace jarak jauh di Finder" msgid "Can't reach the host" msgstr "Tidak dapat menjangkau host" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Tidak dapat menjangkau host workspace ini. Mencoba lagi…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Tidak bisa dibatalkan selagi chat di workspace ini bekerja." @@ -6312,6 +6315,12 @@ msgstr "Tidak bisa memuat komentar review" msgid "Couldn't load runs" msgstr "Tidak dapat memuat run" +msgid "Couldn't load this chat's messages." +msgstr "Tidak dapat memuat pesan chat ini." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Tidak dapat memuat pesan chat ini. Mencoba lagi…" + msgid "Couldn't load this run's payload." msgstr "Tidak dapat memuat payload run ini." diff --git a/packages/i18n/locales/it/messages.po b/packages/i18n/locales/it/messages.po index a8ee190a2a8..1a007a6ac6b 100644 --- a/packages/i18n/locales/it/messages.po +++ b/packages/i18n/locales/it/messages.po @@ -4107,6 +4107,9 @@ msgstr "Impossibile aprire i percorsi di un workspace remoto nel Finder" msgid "Can't reach the host" msgstr "Impossibile raggiungere l'host" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Impossibile raggiungere l'host di questo workspace. Nuovo tentativo…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Impossibile annullare mentre una chat in questo workspace sta lavorando." @@ -6312,6 +6315,12 @@ msgstr "Impossibile caricare i commenti di revisione" msgid "Couldn't load runs" msgstr "Impossibile caricare le esecuzioni" +msgid "Couldn't load this chat's messages." +msgstr "Impossibile caricare i messaggi di questa chat." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Impossibile caricare i messaggi di questa chat. Nuovo tentativo…" + msgid "Couldn't load this run's payload." msgstr "Impossibile caricare il payload di questa esecuzione." diff --git a/packages/i18n/locales/ja/messages.po b/packages/i18n/locales/ja/messages.po index 504a580e9cb..25318f204c4 100644 --- a/packages/i18n/locales/ja/messages.po +++ b/packages/i18n/locales/ja/messages.po @@ -4107,6 +4107,9 @@ msgstr "リモートワークスペースのパスはFinderで開けません" msgid "Can't reach the host" msgstr "ホストに接続できません" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "このワークスペースのホストに接続できません。再試行中…" + msgid "Can't undo while a chat in this workspace is working." msgstr "このワークスペースでチャットが作業中のため取り消せません。" @@ -6312,6 +6315,12 @@ msgstr "レビューコメントを読み込めませんでした" msgid "Couldn't load runs" msgstr "実行履歴を読み込めませんでした" +msgid "Couldn't load this chat's messages." +msgstr "このチャットのメッセージを読み込めませんでした。" + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "このチャットのメッセージを読み込めませんでした。再試行中…" + msgid "Couldn't load this run's payload." msgstr "この実行のペイロードを読み込めませんでした。" diff --git a/packages/i18n/locales/ko/messages.po b/packages/i18n/locales/ko/messages.po index 5c7a1235bae..f124ff66bfd 100644 --- a/packages/i18n/locales/ko/messages.po +++ b/packages/i18n/locales/ko/messages.po @@ -4107,6 +4107,9 @@ msgstr "원격 워크스페이스 경로는 Finder에서 열 수 없습니다" msgid "Can't reach the host" msgstr "호스트에 연결할 수 없습니다" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "이 워크스페이스의 호스트에 연결할 수 없습니다. 다시 시도하는 중…" + msgid "Can't undo while a chat in this workspace is working." msgstr "이 워크스페이스에서 채팅이 작업 중이어서 실행 취소할 수 없습니다." @@ -6312,6 +6315,12 @@ msgstr "리뷰 코멘트를 불러오지 못했습니다" msgid "Couldn't load runs" msgstr "실행 기록을 불러오지 못했습니다" +msgid "Couldn't load this chat's messages." +msgstr "이 채팅의 메시지를 불러오지 못했습니다." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "이 채팅의 메시지를 불러오지 못했습니다. 다시 시도하는 중…" + msgid "Couldn't load this run's payload." msgstr "이 실행의 페이로드를 불러오지 못했습니다." diff --git a/packages/i18n/locales/nl/messages.po b/packages/i18n/locales/nl/messages.po index ee12a8bb548..d8b4b3b9a19 100644 --- a/packages/i18n/locales/nl/messages.po +++ b/packages/i18n/locales/nl/messages.po @@ -4107,6 +4107,9 @@ msgstr "Paden van externe werkruimtes kunnen niet in Finder worden geopend" msgid "Can't reach the host" msgstr "Host niet bereikbaar" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Kan de host van deze werkruimte niet bereiken. Opnieuw proberen…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Ongedaan maken kan niet terwijl een chat in deze werkruimte bezig is." @@ -6312,6 +6315,12 @@ msgstr "Kan reviewopmerkingen niet laden" msgid "Couldn't load runs" msgstr "Kan runs niet laden" +msgid "Couldn't load this chat's messages." +msgstr "Kan de berichten van deze chat niet laden." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Kan de berichten van deze chat niet laden. Opnieuw proberen…" + msgid "Couldn't load this run's payload." msgstr "Kan de payload van deze run niet laden." diff --git a/packages/i18n/locales/pl/messages.po b/packages/i18n/locales/pl/messages.po index 2fabe3f2531..6dab530070c 100644 --- a/packages/i18n/locales/pl/messages.po +++ b/packages/i18n/locales/pl/messages.po @@ -4107,6 +4107,9 @@ msgstr "Nie można otwierać ścieżek zdalnego obszaru roboczego w Finderze" msgid "Can't reach the host" msgstr "Nie można połączyć się z hostem" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Nie można połączyć się z hostem tego obszaru roboczego. Ponawianie…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Nie można cofnąć, gdy czat w tym obszarze roboczym pracuje." @@ -6312,6 +6315,12 @@ msgstr "Nie udało się wczytać komentarzy przeglądu" msgid "Couldn't load runs" msgstr "Nie udało się wczytać uruchomień" +msgid "Couldn't load this chat's messages." +msgstr "Nie udało się wczytać wiadomości tego czatu." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Nie udało się wczytać wiadomości tego czatu. Ponawianie…" + msgid "Couldn't load this run's payload." msgstr "Nie udało się wczytać ładunku tego uruchomienia." diff --git a/packages/i18n/locales/pt-BR/messages.po b/packages/i18n/locales/pt-BR/messages.po index d0e8ddb849d..c24458d8100 100644 --- a/packages/i18n/locales/pt-BR/messages.po +++ b/packages/i18n/locales/pt-BR/messages.po @@ -4107,6 +4107,9 @@ msgstr "Não dá para abrir caminhos de áreas de trabalho remotas no Finder" msgid "Can't reach the host" msgstr "Não foi possível acessar o host" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Não foi possível acessar o host desta área de trabalho. Tentando novamente…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Não é possível desfazer enquanto um chat nesta área de trabalho está trabalhando." @@ -6312,6 +6315,12 @@ msgstr "Não foi possível carregar os comentários de revisão" msgid "Couldn't load runs" msgstr "Não foi possível carregar as execuções" +msgid "Couldn't load this chat's messages." +msgstr "Não foi possível carregar as mensagens deste chat." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Não foi possível carregar as mensagens deste chat. Tentando novamente…" + msgid "Couldn't load this run's payload." msgstr "Não foi possível carregar a carga útil desta execução." diff --git a/packages/i18n/locales/ru/messages.po b/packages/i18n/locales/ru/messages.po index d5381912aea..744bb2b0983 100644 --- a/packages/i18n/locales/ru/messages.po +++ b/packages/i18n/locales/ru/messages.po @@ -4107,6 +4107,9 @@ msgstr "Пути удалённых рабочих областей нельзя msgid "Can't reach the host" msgstr "Не удаётся связаться с хостом" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Не удаётся связаться с хостом этой рабочей области. Повторная попытка…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Нельзя отменить, пока чат в этой рабочей области работает." @@ -6312,6 +6315,12 @@ msgstr "Не удалось загрузить комментарии ревью msgid "Couldn't load runs" msgstr "Не удалось загрузить запуски" +msgid "Couldn't load this chat's messages." +msgstr "Не удалось загрузить сообщения этого чата." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Не удалось загрузить сообщения этого чата. Повторная попытка…" + msgid "Couldn't load this run's payload." msgstr "Не удалось загрузить полезную нагрузку этого запуска." diff --git a/packages/i18n/locales/tr/messages.po b/packages/i18n/locales/tr/messages.po index 6a52c2bd66c..0e07f89c7a1 100644 --- a/packages/i18n/locales/tr/messages.po +++ b/packages/i18n/locales/tr/messages.po @@ -4107,6 +4107,9 @@ msgstr "Uzak çalışma alanı yolları Finder'da açılamaz" msgid "Can't reach the host" msgstr "Host'a ulaşılamıyor" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Bu çalışma alanının sunucusuna ulaşılamıyor. Yeniden deneniyor…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Bu çalışma alanında bir sohbet çalışırken geri alınamaz." @@ -6312,6 +6315,12 @@ msgstr "İnceleme yorumları yüklenemedi" msgid "Couldn't load runs" msgstr "Çalıştırmalar yüklenemedi" +msgid "Couldn't load this chat's messages." +msgstr "Bu sohbetin mesajları yüklenemedi." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Bu sohbetin mesajları yüklenemedi. Yeniden deneniyor…" + msgid "Couldn't load this run's payload." msgstr "Bu çalıştırmanın yükü yüklenemedi." diff --git a/packages/i18n/locales/uk/messages.po b/packages/i18n/locales/uk/messages.po index d08831f687d..9f883a3325f 100644 --- a/packages/i18n/locales/uk/messages.po +++ b/packages/i18n/locales/uk/messages.po @@ -4101,6 +4101,9 @@ msgstr "Не вдається відкрити шляхи віддаленого msgid "Can't reach the host" msgstr "Хост недоступний" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Не вдається зв'язатися з хостом цього робочого простору. Повторна спроба…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Не можна скасувати, поки в цьому робочому просторі працює чат." @@ -6306,6 +6309,12 @@ msgstr "Не вдалося завантажити коментарі рев'ю" msgid "Couldn't load runs" msgstr "Не вдалося завантажити запуски" +msgid "Couldn't load this chat's messages." +msgstr "Не вдалося завантажити повідомлення цього чату." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Не вдалося завантажити повідомлення цього чату. Повторна спроба…" + msgid "Couldn't load this run's payload." msgstr "Не вдалося завантажити дані цього запуску." diff --git a/packages/i18n/locales/vi/messages.po b/packages/i18n/locales/vi/messages.po index 495f4fa2dde..03b4dff2643 100644 --- a/packages/i18n/locales/vi/messages.po +++ b/packages/i18n/locales/vi/messages.po @@ -4107,6 +4107,9 @@ msgstr "Không thể mở đường dẫn workspace từ xa trong Finder" msgid "Can't reach the host" msgstr "Không thể kết nối với host" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "Không thể kết nối tới máy chủ của workspace này. Đang thử lại…" + msgid "Can't undo while a chat in this workspace is working." msgstr "Không thể hoàn tác khi một chat trong workspace này đang làm việc." @@ -6312,6 +6315,12 @@ msgstr "Không thể tải bình luận review" msgid "Couldn't load runs" msgstr "Không thể tải các lần chạy" +msgid "Couldn't load this chat's messages." +msgstr "Không thể tải tin nhắn của cuộc trò chuyện này." + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "Không thể tải tin nhắn của cuộc trò chuyện này. Đang thử lại…" + msgid "Couldn't load this run's payload." msgstr "Không thể tải payload của lần chạy này." diff --git a/packages/i18n/locales/zh-CN/messages.po b/packages/i18n/locales/zh-CN/messages.po index f3861db700b..4bc100aa0b7 100644 --- a/packages/i18n/locales/zh-CN/messages.po +++ b/packages/i18n/locales/zh-CN/messages.po @@ -4107,6 +4107,9 @@ msgstr "无法在Finder中打开远程工作区路径" msgid "Can't reach the host" msgstr "无法连接主机" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "无法连接到此工作区的主机。正在重试…" + msgid "Can't undo while a chat in this workspace is working." msgstr "此工作区中有聊天正在工作,无法撤销。" @@ -6312,6 +6315,12 @@ msgstr "无法加载审查评论" msgid "Couldn't load runs" msgstr "无法加载运行记录" +msgid "Couldn't load this chat's messages." +msgstr "无法加载此聊天的消息。" + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "无法加载此聊天的消息。正在重试…" + msgid "Couldn't load this run's payload." msgstr "无法加载此次运行的负载。" diff --git a/packages/i18n/locales/zh-TW/messages.po b/packages/i18n/locales/zh-TW/messages.po index fe521176171..fcb4b30c8dc 100644 --- a/packages/i18n/locales/zh-TW/messages.po +++ b/packages/i18n/locales/zh-TW/messages.po @@ -4107,6 +4107,9 @@ msgstr "無法在Finder中開啟遠端工作區路徑" msgid "Can't reach the host" msgstr "無法連線至主機" +msgid "Can't reach this workspace's host. Retrying…" +msgstr "無法連線到此工作區的主機。正在重試…" + msgid "Can't undo while a chat in this workspace is working." msgstr "此工作區中有聊天正在工作,無法撤銷。" @@ -6312,6 +6315,12 @@ msgstr "無法載入審查評論" msgid "Couldn't load runs" msgstr "無法載入執行紀錄" +msgid "Couldn't load this chat's messages." +msgstr "無法載入此聊天的訊息。" + +msgid "Couldn't load this chat's messages. Retrying…" +msgstr "無法載入此聊天的訊息。正在重試…" + msgid "Couldn't load this run's payload." msgstr "無法載入此次執行的酬載。"