Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Add searchable chat history side panel (#4657)
sarah0c58d0aaac58
diff --git a/.changeset/searchable-chat-history.md b/.changeset/searchable-chat-history.mdnew file mode 100644index 000000000..0e793c34a--- /dev/null+++ b/.changeset/searchable-chat-history.md@@ -0,0 +1,5 @@+---+'@inkeep/open-knowledge': minor+---++Browse and search chat history in a responsive side panel while keeping existing chat tabs and session behavior. An Agents panel with no conversation now reports whether it is starting one, has no enabled agent, or could not reach your agents, and offers the matching action.diff --git a/docs/content/features/editor.mdx b/docs/content/features/editor.mdxindex 0d1ec3d2a..eb6f9d4be 100644--- a/docs/content/features/editor.mdx+++ b/docs/content/features/editor.mdx@@ -154,6 +154,10 @@ The desktop app restores the Terminal's placement, right-panel width, tab order,The Agents panel keeps its own open/closed memory: on the web it is remembered in your browser, on desktop with the project, where it also survives a full app restart and is restored at launch. A reload reopens the panel at that remembered state: threads already live at the reload never change it, so a panel you left closed stays closed, and a thread that goes live after the reload opens it. While the panel is closed, a dot on the **Open agents panel** tab marks live threads. A browser or a project with no recorded panel state starts with the panel closed and records the state from its first session onward.+The Agents panel's **Chat history** button opens every conversation the project has, live and closed alike, in one list. Type in its search box to filter by conversation title; the rows group into **Today** and **Older** by the local date of their last activity, newest first. Selecting a row activates that conversation's tab, and renaming or deleting a conversation works from the row's own controls, with deletion still requiring you to close an open archived chat's tab first.++Which presentation you get when opening history follows the width of the chat pane rather than the window. A wide pane docks history beside the transcript: the tab strip stays visible and usable, and the list stays open after you pick a conversation, so you close it with `Esc` or by clicking **Chat history** again. If you narrow the pane while history is docked, history closes first so the active chat remains open. Opening history in a narrow pane covers the whole chat area instead, including the tab strip, which is inert until you leave history; widening the pane while history is open moves it into the docked position without closing it. The cover list closes as soon as you pick a conversation, and a **Back** button in its header dismisses it, as does `Esc`.+On a narrow window, the right-side Terminal and Agents panel cannot remain open together. Opening either one closes the other and shows an in-app notice; closing the visible panel does not reopen the one that was displaced.The shells run at full user privilege. To turn the terminal off for a project on this machine, use **Settings ▸ Terminal** or set `terminal.enabled: false` in `.ok/local/config.yml` (see the [configuration reference](../reference/configuration.mdx)); the setting is project-local, never shared via git or sync, and not agent-settable — only a human can flip it. On Windows, set `terminal.shell` in the same file to an absolute shell executable if you want to override automatic PowerShell and `cmd.exe` discovery. PowerShell, `cmd.exe`, and Git Bash (`bash.exe`) support OpenKnowledge-managed launches (agent chat tabs and fixed commands such as **Resolve in terminal** or **Install Slidev**) and dropped-file path insertion. A different existing executable remains active for plain terminal tabs and shows a capability notice; requested agent and command launches open only the plain shell without running the agent or command, and dropped-file paths are refused. Enter WSL by running `wsl` inside a supported shell rather than setting `wsl.exe` as the override.diff --git a/packages/app/BUNDLE-SIZE.md b/packages/app/BUNDLE-SIZE.mdindex 119578384..cc611e090 100644--- a/packages/app/BUNDLE-SIZE.md+++ b/packages/app/BUNDLE-SIZE.md@@ -91,3 +91,5 @@ The eager budgets did not move. The main app bundle measures 437.95 kB against iCombined-chunks 6.55->6.56 MB for the merged agents settings page. CI measured 6,550,218 B, 218 B over the prior ceiling, while the main app bundle stayed at 438.42 kB against its 487 kB limit and CSS at 8.36 kB against 59 kB — so the growth is chunk inventory rather than eager weight. Base-vs-branch was measured rather than assumed: `feat/agent-integration-requirements-matrix` builds under the prior ceiling and this branch does not, so the increase is this branch's and not inherited headroom loss. It splits into the page itself (~2.4 kB gzipped) and its new strings across the twelve locale catalogs (~4.1 kB, consistent with the per-catalog costs recorded above), with the remainder chunk reshuffle. Note the 218 B is a CI measurement, not a local one, so the ~9 kB the new ceiling adds is real headroom rather than variance cover. Raising was taken over trimming copy the page needs; the lazy-load levers above remain the reclamation path.Combined-chunks 6.56->6.57 MB while hiding connection options an agent has no surface for. The branch's own contribution is small and the ceiling was already breached without it: measured base-vs-branch on one machine at merge base `3372c64`, `feat/agent-integration-requirements-matrix` alone builds to 6,564,728 B — 4.73 kB *over* the 6.56 MB ceiling it ships with — while this branch builds under 6.57 MB. So the raise carries growth that arrived on the base (the merged agents-settings work plus its new strings across the twelve locale catalogs), not primarily this branch's dialog change. CI measured this branch at 6,560,777 B before review cleanups and 6,560,730 B after, against the prior 6,560,000 B ceiling. The main app bundle is byte-identical between base and branch at 438.68 kB against its 487 kB limit, and CSS at 8.36 kB against 59 kB, so the growth is chunk inventory rather than eager weight. Recording the base measurement explicitly because the earlier note on this branch asserted the overage was the branch's own — that was inferred from it being the only app-code change, not measured, and the measurement contradicts it. The lazy-load levers above remain the reclamation path, and the base being over its own ceiling is worth an owner independent of this branch.++Combined-chunks 8.8->8.82 MB for the searchable chat-history side panel, its responsive presentation state, and the new strings compiled into every locale catalog. CI measured 8,804,992 B against the prior 8,800,000 B ceiling; the eager main bundle remained at 437.22 kB against 487 kB and CSS at 8.36 kB against 59 kB. The 20 kB ratchet records the feature's total chunk inventory with about 15 kB of headroom while preserving the existing eager-load budgets.diff --git a/packages/app/package.json b/packages/app/package.jsonindex f827c5e6b..39e0be38b 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -64,7 +64,7 @@{"name": "all JS chunks combined (gzipped)","path": "dist/assets/*.js",- "limit": "8.8 MB",+ "limit": "8.82 MB","gzip": true,"running": false},diff --git a/packages/app/src/color-themes.generated.css b/packages/app/src/color-themes.generated.cssindex c13b79837..ed4e6f66b 100644--- a/packages/app/src/color-themes.generated.css+++ b/packages/app/src/color-themes.generated.css@@ -33,6 +33,13 @@ html[data-color-theme="dracula"] {--sidebar-accent: #44475a;--sidebar-accent-foreground: #bd93f9;--sidebar-hover: #44475a;+ --sidebar-hover-foreground: #ffffff;+ --sidebar-hover-muted-foreground: #adb6d0;+ --sidebar-hover-destructive-foreground: #ff5b5b;+ --sidebar-selected: #4b4e61;+ --sidebar-selected-foreground: #ffffff;+ --sidebar-selected-muted-foreground: #b8c0d6;+ --sidebar-selected-destructive-foreground: #ff6e6e;--sidebar-border: #44475a;--sidebar-ring: #bd93f9;--syntax-keyword: #ff79c6;@@ -121,6 +128,13 @@ html[data-color-theme="catppuccin-frappe"] {--sidebar-accent: #414559;--sidebar-accent-foreground: #8caaee;--sidebar-hover: #414559;+ --sidebar-hover-foreground: #c6d0f5;+ --sidebar-hover-muted-foreground: #b0b3bf;+ --sidebar-hover-destructive-foreground: #e78284;+ --sidebar-selected: #494c60;+ --sidebar-selected-foreground: #c6d0f5;+ --sidebar-selected-muted-foreground: #babdc7;+ --sidebar-selected-destructive-foreground: #e78284;--sidebar-border: #414559;--sidebar-ring: #8caaee;--syntax-keyword: #ca9ee6;@@ -209,6 +223,13 @@ html[data-color-theme="catppuccin-latte"] {--sidebar-accent: #ccd0da;--sidebar-accent-foreground: #1d62ec;--sidebar-hover: #ccd0da;+ --sidebar-hover-foreground: #4c4f69;+ --sidebar-hover-muted-foreground: #575960;+ --sidebar-hover-destructive-foreground: #d20f39;+ --sidebar-selected: #c4c8d1;+ --sidebar-selected-foreground: #4c4f69;+ --sidebar-selected-muted-foreground: #52545b;+ --sidebar-selected-destructive-foreground: #d20f39;--sidebar-border: #ccd0da;--sidebar-ring: #1d62ec;--syntax-keyword: #8839ef;@@ -297,6 +318,13 @@ html[data-color-theme="monokai"] {--sidebar-accent: #49483e;--sidebar-accent-foreground: #66d9ef;--sidebar-hover: #49483e;+ --sidebar-hover-foreground: #f9f8f5;+ --sidebar-hover-muted-foreground: #bab6a2;+ --sidebar-hover-destructive-foreground: #fa5792;+ --sidebar-selected: #504f46;+ --sidebar-selected-foreground: #f9f8f5;+ --sidebar-selected-muted-foreground: #c4c0af;+ --sidebar-selected-destructive-foreground: #fb6a9e;--sidebar-border: #49483e;--sidebar-ring: #66d9ef;--syntax-keyword: #ae81ff;@@ -385,6 +413,13 @@ html[data-color-theme="gruvbox"] {--sidebar-accent: #504945;--sidebar-accent-foreground: #83a598;--sidebar-hover: #504945;+ --sidebar-hover-foreground: #fbf1c7;+ --sidebar-hover-muted-foreground: #c5b8a0;+ --sidebar-hover-destructive-foreground: #fc6654;+ --sidebar-selected: #57504c;+ --sidebar-selected-foreground: #fbf1c7;+ --sidebar-selected-muted-foreground: #cec3af;+ --sidebar-selected-destructive-foreground: #fc7767;--sidebar-border: #504945;--sidebar-ring: #83a598;--syntax-keyword: #d3869b;@@ -473,6 +508,13 @@ html[data-color-theme="solarized"] {--sidebar-accent: #586e75;--sidebar-accent-foreground: #2995e1;--sidebar-hover: #586e75;+ --sidebar-hover-foreground: #fdf6e3;+ --sidebar-hover-muted-foreground: #e9ecec;+ --sidebar-hover-destructive-foreground: #f2b2b1;+ --sidebar-selected: #5f747b;+ --sidebar-selected-foreground: #fdf6e3;+ --sidebar-selected-muted-foreground: #f4f5f6;+ --sidebar-selected-destructive-foreground: #f4bdbc;--sidebar-border: #586e75;--sidebar-ring: #2995e1;--syntax-keyword: #6c71c4;diff --git a/packages/app/src/components/EditorArea.dom.test.tsx b/packages/app/src/components/EditorArea.dom.test.tsxindex 7e3170b51..cbfc945dd 100644--- a/packages/app/src/components/EditorArea.dom.test.tsx+++ b/packages/app/src/components/EditorArea.dom.test.tsx@@ -1128,7 +1128,7 @@ describe('EditorArea session-panel edge reveal tabs', () => {</TooltipProvider>,);- test('the agents tab is up while the panel is hidden, even with no conversations', () => {+ test('the agents tab is up while the panel is hidden, even with no chats', () => {renderArea({ agentsVisible: false });const reveal = screen.getByRole('button', { name: 'Open agents panel' });const header = document.querySelector('[data-editor-area-header]');diff --git a/packages/app/src/components/EditorArea.tsx b/packages/app/src/components/EditorArea.tsxindex ede64fb41..f7fafef25 100644--- a/packages/app/src/components/EditorArea.tsx+++ b/packages/app/src/components/EditorArea.tsx@@ -393,7 +393,8 @@ function EditorAreaInner({const [agentsShowingHold, setAgentsShowingHold] = useState(false);const [terminalShowingHold, setTerminalShowingHold] = useState(false);const resizableRailColumnPresent = terminalColumnPresent || agentsColumnPresent;- const rightRevealTabPresent = !noteWindow && !agentsVisible && onRevealAgents != null;+ const rightRevealTabPresent =+ !noteWindow && (!agentsVisible || agentsColumnCollapsed) && onRevealAgents != null;const terminalContainer =terminalPlacement === 'right' ? rightTerminalContainer : bottomTerminalContainer;const terminalShowing =@@ -1535,7 +1536,14 @@ function EditorAreaInner({{agentsColumn}</ResizablePanelGroup>{rightRevealTabPresent ? (- <TerminalRevealTab edge="right" onReveal={onRevealAgents} className="top-2.5 right-0" />+ <TerminalRevealTab+ edge="right"+ onReveal={() => {+ if (agentsVisible && agentsColumnCollapsed) agentsColumnPanelRef.current?.expand();+ else onRevealAgents();+ }}+ className="top-2.5 right-0"+ />) : null}</div></div>diff --git a/packages/app/src/components/EditorPane.agents-panel-reload-visibility.dom.test.tsx b/packages/app/src/components/EditorPane.agents-panel-reload-visibility.dom.test.tsxindex 618ed74ea..d3ad05ac0 100644--- a/packages/app/src/components/EditorPane.agents-panel-reload-visibility.dom.test.tsx+++ b/packages/app/src/components/EditorPane.agents-panel-reload-visibility.dom.test.tsx@@ -15,7 +15,6 @@ import {import { emitLocalMenuAction } from '@/lib/local-menu-action-bus';let openThreads: ThreadInfo[] = [];-let archivedThreads: ThreadInfo[] = [];let connectionStatus: 'idle' | 'connecting' | 'open' | 'closed' = 'open';let rosterThreadIds: ReadonlySet<string> | null = null;const storeListeners = new Set<() => void>();@@ -46,25 +45,26 @@ function subscribeStore(callback: () => void) {}vi.doMock('@/lib/acp/thread-client', () => ({- useOpenAgentThreadTabs: () =>+ useAgentThreads: () =>useSyncExternalStore(subscribeStore,() => openThreads,() => openThreads,),- useInitialRosterThreadIds: () => rosterThreadIds,- useArchivedAgentThreads: () =>+ useOpenAgentThreadTabs: () =>useSyncExternalStore(subscribeStore,- () => archivedThreads,- () => archivedThreads,+ () => openThreads,+ () => openThreads,),+ useInitialRosterThreadIds: () => rosterThreadIds,useAgentThreadConnection: () =>useSyncExternalStore(subscribeStore,() => connectionStatus,() => connectionStatus,),+ useAgentThreadScope: () => null,useAgentThreadUnread: () => false,getAgentThreadClient: () => ({closeThread: vi.fn(),@@ -312,7 +312,6 @@ async function renderPane(expectedStoreSubscribers: number): Promise<void> {describe('EditorPane agents-panel reload visibility', () => {beforeEach(() => {openThreads = [];- archivedThreads = [];connectionStatus = 'open';rosterThreadIds = null;localStorage.clear();diff --git a/packages/app/src/components/LargeFileEditorState.tsx b/packages/app/src/components/LargeFileEditorState.tsxindex 947b06f1b..8fa23f206 100644--- a/packages/app/src/components/LargeFileEditorState.tsx+++ b/packages/app/src/components/LargeFileEditorState.tsx@@ -51,7 +51,7 @@ export function LargeFileEditorState({ docName, size, limit, backNav }: LargeFil</EmptyMedia><EmptyHeader className="max-w-md gap-1">{}- <EmptyTitle asChild className="text-2xl font-light outline-none">+ <EmptyTitle asChild className="text-2xl font-normal outline-none"><h2 ref={headingRef} id={titleId} tabIndex={canGoBack ? undefined : -1}><Trans>File too large to open</Trans></h2>diff --git a/packages/app/src/components/SessionsHost.agents.dom.test.tsx b/packages/app/src/components/SessionsHost.agents.dom.test.tsxindex 953b8359f..38c7aec1e 100644--- a/packages/app/src/components/SessionsHost.agents.dom.test.tsx+++ b/packages/app/src/components/SessionsHost.agents.dom.test.tsx@@ -1,8 +1,9 @@import type { ThreadInfo } from '@inkeep/open-knowledge-core/acp/thread-protocol';-import { act, cleanup, render, screen, waitFor } from '@testing-library/react';+import { act, cleanup, render, screen, waitFor, within } from '@testing-library/react';import userEvent from '@testing-library/user-event';import { useEffect, useState, useSyncExternalStore } from 'react';import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';+import { requestSendToOpenChat, subscribeSendInThread } from '@/comments/open-chat-send';import { TooltipProvider } from '@/components/ui/tooltip';import { collectImageParts } from '@/editor/composer-drop.test-helper';import {@@ -27,7 +28,14 @@ import {let openThreads: ThreadInfo[] = [];const storeListeners = new Set<() => void>();let archivedThreads: ThreadInfo[] = [];+let agentThreads: ThreadInfo[] = [];let initialRosterIds: ReadonlySet<string> | null = null;+let threadScope: string | null = 'ws://project-a/collab/thread';+function refreshAgentThreads() {+ const byId = new Map(archivedThreads.map((thread) => [thread.threadId, thread]));+ for (const thread of openThreads) byId.set(thread.threadId, thread);+ agentThreads = [...byId.values()];+}function notifyStore() {for (const l of storeListeners) l();}@@ -35,15 +43,23 @@ function setInitialRosterIds(next: ReadonlySet<string> | null) {initialRosterIds = next;notifyStore();}+function setThreadScope(next: string | null) {+ threadScope = next;+ notifyStore();+}function setOpenThreads(next: ThreadInfo[]) {openThreads = next;+ refreshAgentThreads();notifyStore();}function setArchivedThreads(next: ThreadInfo[]) {archivedThreads = next;+ refreshAgentThreads();notifyStore();}-const closeThread = vi.fn((_id: string) => {});+const closeThread = vi.fn((id: string) => {+ setOpenThreads(openThreads.filter((thread) => thread.threadId !== id));+});const renameThread = vi.fn((_id: string, _title: string) => {});const openArchivedThread = vi.fn((id: string) => {const thread = archivedThreads.find((t) => t.threadId === id);@@ -52,6 +68,7 @@ const openArchivedThread = vi.fn((id: string) => {const deleteThread = vi.fn((id: string) => {setArchivedThreads(archivedThreads.filter((t) => t.threadId !== id));});+const markThreadViewed = vi.fn((_id: string) => {});let connectionStatus: 'idle' | 'connecting' | 'open' | 'closed' = 'open';function setConnectionStatus(next: typeof connectionStatus) {@@ -65,6 +82,12 @@ function subscribeStore(cb: () => void) {}vi.doMock('@/lib/acp/thread-client', () => ({+ useAgentThreads: () =>+ useSyncExternalStore(+ subscribeStore,+ () => agentThreads,+ () => agentThreads,+ ),useOpenAgentThreadTabs: () =>useSyncExternalStore(subscribeStore,@@ -77,39 +100,42 @@ vi.doMock('@/lib/acp/thread-client', () => ({() => initialRosterIds,() => initialRosterIds,),- useArchivedAgentThreads: () =>- useSyncExternalStore(- subscribeStore,- () => archivedThreads,- () => archivedThreads,- ),useAgentThreadConnection: () =>useSyncExternalStore(subscribeStore,() => connectionStatus,() => connectionStatus,),+ useAgentThreadScope: () =>+ useSyncExternalStore(+ subscribeStore,+ () => threadScope,+ () => threadScope,+ ),useAgentThreadUnread: () => false,getAgentThreadClient: () => ({closeThread,renameThread,openArchivedThread,deleteThread,- markThreadViewed: () => {},+ markThreadViewed,}),ThreadChannelUnavailableError: class ThreadChannelUnavailableError extends Error {},}));let threadViewHeld = false;+let threadComposerDisabled = false;+const renderThreadView = vi.fn(({ info }: { info: ThreadInfo }) =>+ threadViewHeld ? (+ <div data-testid="thread-view-pending" data-thread-id={info.threadId} />+ ) : (+ <div data-testid="thread-view" data-thread-id={info.threadId}>+ <textarea data-testid="agent-thread-composer" disabled={threadComposerDisabled} />+ </div>+ ),+);vi.doMock('@/components/acp/ThreadView', () => ({- ThreadView: ({ info }: { info: ThreadInfo }) =>- threadViewHeld ? (- <div data-testid="thread-view-pending" data-thread-id={info.threadId} />- ) : (- <div data-testid="thread-view" data-thread-id={info.threadId}>- <textarea data-testid="agent-thread-composer" />- </div>- ),+ ThreadView: renderThreadView,}));type MockAgent = {@@ -163,8 +189,17 @@ vi.doMock('@/lib/acp/launch-agent-thread', () => ({}));let catalogData: unknown;+let catalogLoading = false;+let catalogError: Error | null = null;+const refetchCatalog = vi.fn(() => Promise.resolve());vi.doMock('@tanstack/react-query', () => ({- useQuery: () => ({ data: catalogData, isLoading: false, isError: false }),+ useQuery: () => ({+ data: catalogData,+ isLoading: catalogLoading,+ isError: catalogError !== null,+ error: catalogError,+ refetch: refetchCatalog,+ }),}));const { SessionsHost } = await import('./SessionsHost');@@ -185,6 +220,14 @@ function makeThread(overrides: Partial<ThreadInfo> & { threadId: string }): Thre};}+function lastThreadViewActive(threadId: string): boolean | undefined {+ const calls = renderThreadView.mock.calls.filter(+ ([props]) => (props as { info: ThreadInfo }).info.threadId === threadId,+ );+ const last = calls.at(-1)?.[0] as { active?: boolean } | undefined;+ return last?.active;+}+function agentsDockWrites(setDockState: ReturnType<typeof vi.fn>) {return setDockState.mock.calls.filter((call) => (call[0] as { surface?: string }).surface === 'agents',@@ -274,7 +317,10 @@ function Harness({describe('SessionsHost — agents desktop order-restore gate', () => {beforeEach(() => {openThreads = [];+ archivedThreads = [];+ agentThreads = [];initialRosterIds = null;+ threadScope = 'ws://project-a/collab/thread';localStorage.clear();});@@ -423,6 +469,39 @@ describe('SessionsHost — agents desktop order-restore gate', () => {expect(writes.at(-1)?.[0]).toMatchObject({ surface: 'agents', order: ['t2', 't1'] });});+ test('a history selection made during restore wins over the late saved selection', async () => {+ const user = userEvent.setup();+ let resolveDockState: (state: unknown) => void = () => {};+ const bridge = {+ terminal: {+ getDockState: () =>+ new Promise((resolve) => {+ resolveDockState = resolve;+ }),+ setDockState: vi.fn(() => ({ ok: true as const })),+ },+ editor: { notifyViewMenuStateChanged: vi.fn() },+ } as unknown as OkDesktopBridge;+ setOpenThreads([+ makeThread({ threadId: 'a', title: 'Alpha' }),+ makeThread({ threadId: 'b', title: 'Beta', createdAt: 2, lastActivityAt: 2 }),+ ]);+ render(<Harness bridge={bridge} />);+ await screen.findByRole('tab', { name: /Alpha/ });++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.click(screen.getByTestId('agent-thread-history-open-a'));+ await act(async () => {+ resolveDockState({+ terminalVisible: false,+ agentPanelVisible: true,+ agents: { order: ['a', 'b'], activeKey: 'b' },+ });+ });++ expect(screen.getByRole('tab', { name: /Alpha/ }).getAttribute('aria-selected')).toBe('true');+ });+test('a completed order restore does not persist the empty settle beat before the roster lands', async () => {let resolveDockState: (state: unknown) => void = () => {};const setDockState = vi.fn(() => ({ ok: true as const }));@@ -797,18 +876,25 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {beforeEach(() => {openThreads = [];archivedThreads = [];+ agentThreads = [];connectionStatus = 'open';threadViewHeld = false;+ threadComposerDisabled = false;+ renderThreadView.mockClear();closeThread.mockClear();renameThread.mockClear();openArchivedThread.mockClear();deleteThread.mockClear();+ markThreadViewed.mockClear();launchAgentThread.mockClear();mockLaunchOutcome = 'started';toastError.mockClear();mockInflightLaunch = false;registerAgent.mockClear();catalogData = undefined;+ catalogLoading = false;+ catalogError = null;+ refetchCatalog.mockClear();mockRegisteredAgent = null;mockPersistedDefaultAgent = null;initialRosterIds = null;@@ -818,6 +904,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {afterEach(() => {cleanup();_resetReusableSession();+ vi.restoreAllMocks();});test('a thread-launch intent carrying an image attachment forwards it to launchAgentThread', async () => {@@ -859,6 +946,377 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {expect(await screen.findByTestId('thread-view')).toBeDefined();});+ test('history stays reachable for live chats and reflects the active conversation', async () => {+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({+ threadId: 'live',+ title: 'Active work',+ agent: FIRST_AGENT,+ status: 'ready',+ }),+ ]);+ render(<Harness />);+ await screen.findByRole('tab', { name: /Active work/ });++ await user.click(screen.getByRole('button', { name: 'Chat history' }));++ const row = screen.getByTestId('agent-thread-history-open-live');+ expect(row.getAttribute('aria-current')).toBe('true');+ expect(row.textContent).not.toContain('First Agent');+ expect(row.textContent).not.toContain('Ready');+ });++ test('covers the full narrow chat pane and restores focus on Escape', async () => {+ const user = userEvent.setup();+ setOpenThreads([makeThread({ threadId: 'live', title: 'Live conversation' })]);++ render(<Harness />);+ await screen.findByRole('tab', { name: /Live conversation/ });+ const historyToggle = screen.getByRole('button', { name: 'Chat history' });+ await user.click(historyToggle);++ const historyPanel = await screen.findByTestId('agent-thread-history-panel');+ expect(historyPanel.getAttribute('data-history-mode')).toBe('cover');+ const sessionSurface = screen.getByTestId('agent-panel-session-surface');+ const panelLayout = screen.getByTestId('agent-panel-layout');+ expect(sessionSurface.hasAttribute('inert')).toBe(true);+ expect(screen.getByTestId('agent-thread-history-surface').parentElement).toBe(panelLayout);+ expect(screen.getByRole('tab', { name: /Live conversation/ })).toBeDefined();++ await user.keyboard('{Escape}');++ expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull();+ expect(sessionSurface.hasAttribute('inert')).toBe(false);+ expect(document.activeElement).toBe(historyToggle);+ });++ test('docks history in a wide chat pane and keeps it open after selection', async () => {+ vi.spyOn(HTMLElement.prototype, 'getBoundingClientRect').mockReturnValue(+ DOMRect.fromRect({ width: 700, height: 600 }),+ );+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({ threadId: 'alpha', title: 'Alpha' }),+ makeThread({ threadId: 'beta', title: 'Beta' }),+ ]);++ render(<Harness />);+ await screen.findByRole('tab', { name: /Alpha/ });+ await user.click(screen.getByRole('button', { name: 'Chat history' }));++ const historyPanel = await screen.findByTestId('agent-thread-history-panel');+ expect(historyPanel.getAttribute('data-history-mode')).toBe('docked');+ expect(screen.getByTestId('agent-panel-session-surface').hasAttribute('inert')).toBe(false);+ const panelLayout = screen.getByTestId('agent-panel-layout');+ expect(screen.getByTestId('agent-panel-session-surface').parentElement).toBe(panelLayout);+ expect(screen.getByTestId('agent-thread-history-surface').parentElement).toBe(panelLayout);++ await user.click(screen.getByTestId('agent-thread-history-open-beta'));++ expect(screen.getByTestId('agent-thread-history-panel')).toBe(historyPanel);+ expect(screen.getByRole('tab', { name: /Beta/ }).getAttribute('aria-selected')).toBe('true');+ });++ test('keeps history search updates out of mounted chat transcripts', async () => {+ vi.spyOn(HTMLElement.prototype, 'getBoundingClientRect').mockReturnValue(+ DOMRect.fromRect({ width: 700, height: 600 }),+ );+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({ threadId: 'alpha', title: 'Alpha' }),+ makeThread({ threadId: 'beta', title: 'Beta' }),+ makeThread({ threadId: 'gamma', title: 'Gamma' }),+ ]);+ render(<Harness />);+ await screen.findByRole('tab', { name: /Alpha/ });+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ renderThreadView.mockClear();++ await user.type(screen.getByRole('searchbox', { name: 'Search chat history' }), 'xyz');++ expect(renderThreadView).not.toHaveBeenCalled();+ });++ test('closes docked history before shrinking the active chat', async () => {+ let paneWidth = 700;+ let notifyResize = () => {};+ const originalResizeObserver = globalThis.ResizeObserver;+ class ControlledResizeObserver {+ readonly callback: ResizeObserverCallback;++ constructor(callback: ResizeObserverCallback) {+ this.callback = callback;+ }+ observe(target: Element) {+ if ((target as HTMLElement).dataset.testid !== 'dock-container') return;+ notifyResize = () => this.callback([], this as unknown as ResizeObserver);+ }+ unobserve() {}+ disconnect() {}+ }+ globalThis.ResizeObserver = ControlledResizeObserver as unknown as typeof ResizeObserver;+ vi.spyOn(HTMLElement.prototype, 'getBoundingClientRect').mockImplementation(() =>+ DOMRect.fromRect({ width: paneWidth, height: 600 }),+ );++ try {+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({ threadId: 'alpha', title: 'Alpha planning' }),+ makeThread({ threadId: 'beta', title: 'Beta review' }),+ ]);+ render(<Harness />);+ await screen.findByRole('tab', { name: /Alpha planning/ });+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.type(screen.getByRole('searchbox', { name: 'Search chat history' }), 'Alpha');++ act(() => {+ paneWidth = 500;+ notifyResize();+ });++ await waitFor(() => expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull());+ expect(document.activeElement).toBe(screen.getByRole('button', { name: 'Chat history' }));+ expect(screen.getByTestId('agent-panel-session-surface').hasAttribute('inert')).toBe(false);+ expect(screen.getByRole('tab', { name: /Beta review/ }).getAttribute('aria-selected')).toBe(+ 'true',+ );++ act(() => {+ paneWidth = 700;+ notifyResize();+ });+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ const betaTab = screen.getByRole('tab', { name: /Beta review/ });+ act(() => betaTab.focus());+ expect(document.activeElement).toBe(betaTab);++ act(() => {+ paneWidth = 500;+ notifyResize();+ });++ await waitFor(() => expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull());+ expect(document.activeElement).toBe(betaTab);++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ expect(screen.getByTestId('agent-thread-history-panel').dataset.historyMode).toBe('cover');+ act(() => {+ paneWidth = 700;+ notifyResize();+ });++ await waitFor(() =>+ expect(screen.getByTestId('agent-thread-history-panel').dataset.historyMode).toBe('docked'),+ );+ expect(+ screen.getByRole('searchbox', { name: 'Search chat history' }).getAttribute('value'),+ ).toBe('Alpha');+ expect(screen.getByRole('tab', { name: /Beta review/ }).getAttribute('aria-selected')).toBe(+ 'true',+ );+ } finally {+ globalThis.ResizeObserver = originalResizeObserver;+ }+ });++ test('does not reopen history when the hidden agents pane is revealed', async () => {+ const control = makeControl();+ const user = userEvent.setup();+ setOpenThreads([makeThread({ threadId: 'alpha', title: 'Alpha planning' })]);+ render(<Harness control={control} />);+ await screen.findByRole('tab', { name: /Alpha planning/ });+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ expect(screen.getByTestId('agent-thread-history-panel')).toBeDefined();++ act(() => control.current?.setVisible(false));+ await waitFor(() => expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull());+ act(() => control.current?.setVisible(true));++ expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull();+ });++ test('does not mark covered transcript activity viewed until history closes', async () => {+ const user = userEvent.setup();+ setOpenThreads([makeThread({ threadId: 'live', title: 'Live', lastActivityAt: 1 })]);++ render(<Harness />);+ await screen.findByRole('tab', { name: /Live/ });+ await waitFor(() => expect(markThreadViewed).toHaveBeenCalledWith('live'));+ markThreadViewed.mockClear();++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ act(() => {+ setOpenThreads([makeThread({ threadId: 'live', title: 'Live', lastActivityAt: 2 })]);+ });++ expect(markThreadViewed).not.toHaveBeenCalled();++ await user.click(screen.getByRole('button', { name: 'Chat history' }));++ await waitFor(() => expect(markThreadViewed).toHaveBeenCalledWith('live'));+ });++ test('launches New chat from history through the existing launcher and dismisses cover', async () => {+ mockRegisteredAgent = FIRST_AGENT;+ mockPersistedDefaultAgent = FIRST_AGENT;+ setOpenThreads([makeThread({ threadId: 'live', title: 'Live' })]);+ const user = userEvent.setup();+ render(<Harness />);+ await screen.findByRole('tab', { name: /Live/ });+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ const historyPanel = screen.getByTestId('agent-thread-history-panel');+ const newChat = within(historyPanel).getByTestId('terminal-new-chat');++ expect(newChat.textContent).toContain('New chat');+ await user.click(newChat);++ expect(launchAgentThread).toHaveBeenCalledWith(+ { source: FIRST_AGENT.source, id: FIRST_AGENT.id },+ null,+ null,+ null,+ null,+ undefined,+ );+ expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull();+ });++ test('history search survives toggles and clears when the thread project scope changes', async () => {+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({ threadId: 'alpha', title: 'Alpha plan' }),+ makeThread({ threadId: 'beta', title: 'Beta plan' }),+ ]);+ render(<Harness />);+ await screen.findByRole('tab', { name: /Alpha plan/ });++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.type(screen.getByRole('searchbox', { name: 'Search chat history' }), 'Alpha');+ expect(screen.queryByTestId('agent-thread-history-open-beta')).toBeNull();+ await user.keyboard('{Escape}');+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ expect(+ (screen.getByRole('searchbox', { name: 'Search chat history' }) as HTMLInputElement).value,+ ).toBe('Alpha');++ act(() => setThreadScope('ws://project-b/collab/thread'));++ expect(+ (screen.getByRole('searchbox', { name: 'Search chat history' }) as HTMLInputElement).value,+ ).toBe('');+ expect(screen.getByTestId('agent-thread-history-open-beta')).toBeDefined();+ });++ test('empty history remains reachable and explains the empty collection', async () => {+ const user = userEvent.setup();+ render(<Harness />);++ await user.click(screen.getByRole('button', { name: 'Chat history' }));++ expect(screen.getByRole('heading', { name: 'No chats yet.' })).toBeDefined();+ });++ test('history and tabs share selection without reordering or lifecycle operations', async () => {+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({ threadId: 'a', title: 'Alpha', agent: FIRST_AGENT }),+ makeThread({ threadId: 'b', title: 'Beta', agent: SECOND_AGENT }),+ ]);+ render(<Harness />);+ const alphaTab = await screen.findByRole('tab', { name: /Alpha/ });+ const betaTab = await screen.findByRole('tab', { name: /Beta/ });+ const initialOrder = tabTitles();++ await user.click(alphaTab);+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ expect(screen.getByTestId('agent-thread-history-open-a').getAttribute('aria-current')).toBe(+ 'true',+ );+ await user.click(screen.getByTestId('agent-thread-history-open-b'));+ expect(betaTab.getAttribute('aria-selected')).toBe('true');++ await user.click(alphaTab);+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ expect(screen.getByTestId('agent-thread-history-open-a').getAttribute('aria-current')).toBe(+ 'true',+ );+ expect(tabTitles()).toEqual(initialOrder);+ expect(openArchivedThread).not.toHaveBeenCalled();+ expect(closeThread).not.toHaveBeenCalled();+ expect(deleteThread).not.toHaveBeenCalled();+ });++ test('history switching preserves the mounted conversation views and draft input', async () => {+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({ threadId: 'a', title: 'Alpha' }),+ makeThread({ threadId: 'b', title: 'Beta' }),+ ]);+ render(<Harness />);+ const alphaTab = await screen.findByRole('tab', { name: /Alpha/ });+ await screen.findByRole('tab', { name: /Beta/ });+ await user.click(alphaTab);+ const alphaView = document.querySelector<HTMLElement>('[data-thread-id="a"]');+ const alphaComposer = alphaView?.querySelector<HTMLTextAreaElement>(+ '[data-testid="agent-thread-composer"]',+ );+ expect(alphaView).not.toBeNull();+ expect(alphaComposer).not.toBeNull();+ await user.type(alphaComposer as HTMLTextAreaElement, 'unfinished thought');++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.click(screen.getByTestId('agent-thread-history-open-b'));+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.click(screen.getByTestId('agent-thread-history-open-a'));++ expect(document.querySelector('[data-thread-id="a"]')).toBe(alphaView);+ expect(alphaComposer?.value).toBe('unfinished thought');+ expect(lastThreadViewActive('a')).toBe(true);+ expect(lastThreadViewActive('b')).toBe(false);+ });++ test('Ask AI and queued comments target the conversation selected from history', async () => {+ const user = userEvent.setup();+ setOpenThreads([+ makeThread({ threadId: 'a', title: 'Alpha' }),+ makeThread({ threadId: 'b', title: 'Beta' }),+ ]);+ render(<Harness />);+ await screen.findByRole('tab', { name: /Alpha/ });+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.click(screen.getByTestId('agent-thread-history-open-b'));++ const staged: string[] = [];+ const queued: Array<{ threadId: string; threadIds: readonly string[] | undefined }> = [];+ const stopStaging = subscribeStagedThreadDraft('b', (text) => staged.push(text));+ const stopQueued = subscribeSendInThread((threadId, threadIds) =>+ queued.push({ threadId, threadIds }),+ );+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await act(async () => {+ requestActiveTerminalInput('Use this selection', { submit: false });+ });+ expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull();+ expect(document.activeElement).toBe(+ document+ .querySelector('[data-thread-id="b"]')+ ?.querySelector('[data-testid="agent-thread-composer"]'),+ );++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await act(async () => {+ requestSendToOpenChat(['comment-1']);+ });+ expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull();+ stopStaging();+ stopQueued();++ expect(staged).toEqual(['Use this selection']);+ expect(queued).toEqual([{ threadId: 'b', threadIds: ['comment-1'] }]);+ });+test('without an explicit default the primary reads "Start an agent" and opens Settings', async () => {const user = userEvent.setup();render(<Harness />);@@ -976,6 +1434,20 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {expect(document.activeElement).toBe(screen.getByTestId('agent-thread-composer'));});+ test('revealing the dock focuses the active tab while its composer is disabled', async () => {+ const control = makeControl();+ threadComposerDisabled = true;+ setOpenThreads([makeThread({ threadId: 't1', title: 'Connecting' })]);+ render(<Harness initialVisible={false} control={control} />);+ await screen.findByTestId('thread-view');++ act(() => {+ control.current?.setVisible(true);+ });++ expect(document.activeElement).toBe(screen.getByRole('tab', { name: /Connecting/ }));+ });+test('collapsing the dock hands focus back to the editor', async () => {const user = userEvent.setup();const onVisibleChange = vi.fn((_v: boolean) => {});@@ -1098,7 +1570,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {outside.remove();});- test('a reveal focus that never lands retires at the deadline with a warn', async () => {+ test('a reveal that reaches the fallback tab retires without a warning at the deadline', async () => {vi.useFakeTimers();const warnSpy = vi.spyOn(console, 'warn').mockImplementation(() => {});const control = makeControl();@@ -1111,6 +1583,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {act(() => {control.current?.setVisible(true);});+ expect(document.activeElement).toBe(screen.getByRole('tab', { name: /Pre-existing/ }));act(() => {vi.advanceTimersByTime(5_000);});@@ -1118,7 +1591,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {warnSpy.mock.calls.some((call) =>String(call[0]).includes('reveal focus did not land within its 5000ms bound'),),- ).toBe(true);+ ).toBe(false);threadViewHeld = false;await act(async () => {@@ -1176,11 +1649,16 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {setArchivedThreads([makeThread({ threadId: 'arch', title: 'Old chat', archived: true })]);await screen.findByRole('tab', { name: /Live/ });- await user.click(screen.getByRole('button', { name: 'Reopen a past chat' }));+ await user.click(screen.getByRole('button', { name: 'Chat history' }));await user.click(await screen.findByTestId('agent-thread-history-open-arch'));expect(openArchivedThread).toHaveBeenCalledWith('arch');expect(await screen.findByRole('tab', { name: /Old chat/ })).toBeDefined();++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.click(await screen.findByTestId('agent-thread-history-open-arch'));+ expect(openArchivedThread).toHaveBeenCalledTimes(1);+ expect(screen.getAllByRole('tab', { name: /Old chat/ })).toHaveLength(1);});test('the restore and delete controls explain themselves on hover', async () => {@@ -1190,31 +1668,51 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {setArchivedThreads([makeThread({ threadId: 'arch', title: 'Old chat', archived: true })]);await screen.findByRole('tab', { name: /Live/ });- const restore = screen.getByRole('button', { name: 'Reopen a past chat' });+ const restore = screen.getByRole('button', { name: 'Chat history' });await user.hover(restore);- expect((await screen.findByRole('tooltip')).textContent).toContain('Reopen a past chat');+ expect((await screen.findByRole('tooltip')).textContent).toContain('Chat history');await user.click(restore);const deleteButton = await screen.findByRole('button', { name: 'Delete Old chat' });await user.hover(deleteButton);- expect((await screen.findByRole('tooltip')).textContent).toContain('Delete Old chat');+ expect((await screen.findByRole('tooltip')).textContent).toContain('Delete chat');});- test('the history menu deletes an archived conversation behind an inline confirm', async () => {+ test('the history menu deletes an archived conversation after dialog confirmation', async () => {const user = userEvent.setup();render(<Harness />);setOpenThreads([makeThread({ threadId: 'live', title: 'Live' })]);setArchivedThreads([makeThread({ threadId: 'arch', title: 'Old chat', archived: true })]);await screen.findByRole('tab', { name: /Live/ });- await user.click(screen.getByRole('button', { name: 'Reopen a past chat' }));+ await user.click(screen.getByRole('button', { name: 'Chat history' }));await user.click(await screen.findByTestId('agent-thread-history-delete-arch'));expect(deleteThread).not.toHaveBeenCalled();- await user.click(await screen.findByTestId('agent-thread-history-confirm-delete'));+ const dialog = await screen.findByRole('alertdialog');+ expect(dialog.textContent).toContain('This action cannot be undone.');+ await user.click(within(dialog).getByRole('button', { name: 'Delete' }));expect(deleteThread).toHaveBeenCalledWith('arch');});+ test('Escape inside the delete confirmation closes the dialog and leaves history open', async () => {+ const user = userEvent.setup();+ render(<Harness />);+ setOpenThreads([makeThread({ threadId: 'live', title: 'Live' })]);+ setArchivedThreads([makeThread({ threadId: 'arch', title: 'Old chat', archived: true })]);+ await screen.findByRole('tab', { name: /Live/ });++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.click(await screen.findByTestId('agent-thread-history-delete-arch'));+ expect(await screen.findByRole('alertdialog')).toBeDefined();++ await user.keyboard('{Escape}');++ await waitFor(() => expect(screen.queryByRole('alertdialog')).toBeNull());+ expect(screen.getByTestId('agent-thread-history-panel')).toBeDefined();+ expect(deleteThread).not.toHaveBeenCalled();+ });+test('delete is off for an archived conversation that is open as a tab', async () => {const user = userEvent.setup();render(<Harness />);@@ -1226,7 +1724,8 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {]);await screen.findByRole('tab', { name: /Live/ });- await user.click(screen.getByRole('button', { name: 'Reopen a past chat' }));+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ expect(screen.getAllByTestId('agent-thread-history-open-arch')).toHaveLength(1);const openTabDelete = await screen.findByTestId('agent-thread-history-delete-arch');expect(openTabDelete.getAttribute('aria-disabled')).toBe('true');expect(openTabDelete).toHaveProperty('disabled', false);@@ -1245,11 +1744,16 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {);await user.click(openTabDelete);- expect(screen.queryByTestId('agent-thread-history-confirm')).toBeNull();- expect(screen.queryByTestId('agent-thread-history-confirm-delete')).toBeNull();+ expect(screen.queryByRole('alertdialog')).toBeNull();expect(deleteThread).not.toHaveBeenCalled();expect(screen.getByTestId('agent-thread-history-open-arch')).toHaveProperty('disabled', false);++ await user.keyboard('{Escape}');+ await user.click(screen.getByRole('button', { name: 'Close Old chat' }));+ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ const eligibleDelete = await screen.findByTestId('agent-thread-history-delete-arch');+ expect(eligibleDelete.getAttribute('aria-disabled')).toBeNull();});test('an archived conversation with no open tab is still deletable', async () => {@@ -1259,31 +1763,37 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {setArchivedThreads([makeThread({ threadId: 'cold', title: 'Cold chat', archived: true })]);await screen.findByRole('tab', { name: /Live/ });- await user.click(screen.getByRole('button', { name: 'Reopen a past chat' }));+ await user.click(screen.getByRole('button', { name: 'Chat history' }));const coldDelete = await screen.findByTestId('agent-thread-history-delete-cold');expect(coldDelete.getAttribute('aria-disabled')).toBeNull();expect(coldDelete.getAttribute('aria-describedby')).toBeNull();await user.click(coldDelete);- await user.click(await screen.findByTestId('agent-thread-history-confirm-delete'));+ await user.click(+ within(await screen.findByRole('alertdialog')).getByRole('button', { name: 'Delete' }),+ );expect(deleteThread).toHaveBeenCalledWith('cold');});- test('an empty dock offers a chooser to reopen a past conversation', async () => {+ test('an empty dock uses history as its only archived conversation roster', async () => {const user = userEvent.setup();render(<Harness />);setArchivedThreads([makeThread({ threadId: 'arch', title: 'Yesterday', archived: true })]);- await user.click(await screen.findByTestId('agent-thread-empty-open-arch'));+ expect(screen.queryByTestId('agent-thread-empty-chooser')).toBeNull();+ expect(await screen.findByTestId('sessions-dock-empty')).toBeDefined();++ await user.click(screen.getByRole('button', { name: 'Chat history' }));+ await user.click(await screen.findByTestId('agent-thread-history-open-arch'));expect(openArchivedThread).toHaveBeenCalledWith('arch');expect(await screen.findByRole('tab', { name: /Yesterday/ })).toBeDefined();});- test('the history menu is absent with no archived history', () => {+ test('the history menu remains available without archived history', () => {render(<Harness />);setOpenThreads([makeThread({ threadId: 'live', title: 'Live' })]);- expect(screen.queryByRole('button', { name: 'Reopen a past chat' })).toBeNull();+ expect(screen.getByRole('button', { name: 'Chat history' })).toBeDefined();});describe('Ask AI honors the preferred AI', () => {@@ -1309,6 +1819,53 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {expect(launches).toEqual([]);});+ test('a deduped Ask AI launch reports that the prompt was not sent', async () => {+ mockRegisteredAgent = { source: 'registry', id: 'acme-agent', name: 'Acme' };+ mockLaunchOutcome = 'deduped';+ setInitialRosterIds(new Set());+ render(<Harness initialVisible={false} />);++ await act(async () => {+ requestActiveTerminalInput('fix this lint error', { submit: true, target: 'agents' });+ });++ expect(toastError).toHaveBeenCalledTimes(1);+ expect(screen.queryByText("Couldn't start the agent thread.")).toBeNull();+ expect(+ screen.getByText('Already starting a chat with this agent — try again in a moment.'),+ ).toBeDefined();+ expect(screen.getByRole('button', { name: 'Try again' })).toBeDefined();+ expect(screen.queryByText('Starting the agent…')).toBeNull();+ });++ test('a deduped launch does not hide the tracked launch failure', async () => {+ mockRegisteredAgent = { source: 'registry', id: 'acme-agent', name: 'Acme' };+ setInitialRosterIds(new Set());+ let settleTrackedLaunch: (outcome: 'failed') => void = () => {};+ launchAgentThread+ .mockImplementationOnce(+ () =>+ new Promise((resolve) => {+ settleTrackedLaunch = resolve;+ }),+ )+ .mockResolvedValueOnce('deduped');+ render(<Harness initialVisible />);+ await waitFor(() => expect(launchAgentThread).toHaveBeenCalledTimes(1));++ await act(async () => {+ requestActiveTerminalInput('fix this lint error', { submit: true, target: 'agents' });+ });++ expect(toastError).toHaveBeenCalledTimes(1);+ expect(screen.getByText('Starting the agent…')).toBeDefined();++ await act(async () => settleTrackedLaunch('failed'));++ expect(await screen.findByText("Couldn't start the agent thread.")).toBeDefined();+ expect(screen.getByRole('button', { name: 'Try again' })).toBeDefined();+ });+test('a ⌘J selection send STAGES on a new thread instead of running', async () => {mockRegisteredAgent = { source: 'registry', id: 'acme-agent', name: 'Acme' };render(<Harness />);@@ -1324,6 +1881,31 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {expect(stagedDraft).toBe('a selected passage');});+ test('a failed Ask AI launch in an empty hidden panel offers a retry', async () => {+ mockRegisteredAgent = { source: 'registry', id: 'acme-agent', name: 'Acme' };+ mockLaunchOutcome = 'failed';+ setInitialRosterIds(new Set());+ render(<Harness initialVisible={false} />);++ await act(async () => {+ requestActiveTerminalInput('fix this lint error', { submit: true, target: 'agents' });+ });++ expect(await screen.findByText("Couldn't start the agent thread.")).toBeDefined();+ mockLaunchOutcome = 'started';+ await userEvent.click(screen.getByRole('button', { name: 'Try again' }));++ expect(launchAgentThread).toHaveBeenCalledTimes(2);+ expect(launchAgentThread.mock.calls[1]).toEqual([+ { source: 'registry', id: 'acme-agent' },+ 'fix this lint error',+ null,+ null,+ null,+ undefined,+ ]);+ });+test.each([true, false])('reusing an open thread always stages, submit=%s', async (submit) => {mockRegisteredAgent = { source: 'registry', id: 'acme-agent', name: 'Acme' };render(<Harness />);@@ -1654,6 +2236,8 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {null,null,null,+ null,+ undefined,]);expect(registerAgent).not.toHaveBeenCalled();});@@ -1719,25 +2303,138 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {expect(launchAgentThread).not.toHaveBeenCalled();});- test('the seed keys on the reveal transition, not on being visible', () => {+ test('an already-visible empty panel waits for the initial roster, then starts a conversation', () => {window.location.hash = '';mockRegisteredAgent = { source: 'registry', id: 'claude-acp', name: 'Claude Agent' };render(<Harness initialVisible />);expect(launchAgentThread).not.toHaveBeenCalled();++ act(() => setInitialRosterIds(new Set()));++ expect(launchAgentThread).toHaveBeenCalledTimes(1);+ expect(launchAgentThread.mock.calls[0][0]).toEqual({ source: 'registry', id: 'claude-acp' });+ expect(screen.getByText('Starting the agent…')).toBeDefined();expect(window.location.hash).toBe('');});- test('revealing an empty panel with no agent available stays empty and never opens the catalog', () => {+ test('an empty panel shows loading while agent discovery settles', () => {+ setInitialRosterIds(new Set());+ catalogLoading = true;++ render(<Harness initialVisible />);++ expect(screen.getByTestId('sessions-dock-loading').textContent).toContain('Loading agents…');+ expect(screen.queryByText('No agents enabled')).toBeNull();+ });++ test('archived history does not block an already-visible empty panel from starting a conversation', () => {+ mockRegisteredAgent = { source: 'registry', id: 'claude-acp', name: 'Claude Agent' };+ setArchivedThreads([makeThread({ threadId: 'archived', archived: true })]);+ setInitialRosterIds(new Set(['archived']));++ render(<Harness initialVisible />);++ expect(launchAgentThread).toHaveBeenCalledTimes(1);+ expect(launchAgentThread.mock.calls[0][0]).toEqual({ source: 'registry', id: 'claude-acp' });+ });++ test('an already-visible panel with a restored open conversation does not create another', async () => {+ mockRegisteredAgent = { source: 'registry', id: 'claude-acp', name: 'Claude Agent' };+ setOpenThreads([makeThread({ threadId: 'existing', title: 'Existing' })]);+ setInitialRosterIds(new Set(['existing']));++ render(<Harness initialVisible />);+ await screen.findByTestId('thread-view');++ expect(launchAgentThread).not.toHaveBeenCalled();+ });++ test('an already-visible panel does not replace a restored conversation that later closes', async () => {+ mockRegisteredAgent = { source: 'registry', id: 'claude-acp', name: 'Claude Agent' };+ setOpenThreads([makeThread({ threadId: 'existing', title: 'Existing' })]);+ setInitialRosterIds(new Set(['existing']));++ render(<Harness initialVisible />);+ await screen.findByTestId('thread-view');+ act(() => setOpenThreads([]));++ expect(launchAgentThread).not.toHaveBeenCalled();+ expect(screen.queryByTestId('sessions-dock-loading')).toBeNull();+ expect(screen.getByTestId('sessions-dock-empty').textContent).toBe('');+ });++ test('a failed agent catalog read offers a retry instead of reading as "No agents enabled."', async () => {+ const consoleError = vi.spyOn(console, 'error').mockImplementation(() => {});+ try {+ mockRegisteredAgent = null;+ catalogError = new Error('agent catalog request failed: HTTP 503');+ setInitialRosterIds(new Set());++ render(<Harness initialVisible />);++ expect(screen.queryByTestId('sessions-dock-no-agents')).toBeNull();+ expect(screen.queryByText('No agents enabled.')).toBeNull();+ expect(screen.getByTestId('sessions-dock-agents-unavailable').textContent).toContain(+ "Couldn't load your agents.",+ );+ expect(consoleError).toHaveBeenCalled();++ await userEvent.click(screen.getByRole('button', { name: 'Try again' }));++ expect(refetchCatalog).toHaveBeenCalledTimes(1);+ expect(launchAgentThread).not.toHaveBeenCalled();+ } finally {+ consoleError.mockRestore();+ }+ });++ test('an empty panel with no enabled agent links to Configure agents', async () => {window.location.hash = '';mockRegisteredAgent = null;- const control = makeControl();- render(<Harness initialVisible={false} control={control} />);+ setInitialRosterIds(new Set());+ render(<Harness initialVisible />);- act(() => control.current?.setVisible(true));+ expect(screen.getByText('No agents enabled.')).toBeDefined();+ await userEvent.click(screen.getByRole('button', { name: 'Configure agents' }));expect(launchAgentThread).not.toHaveBeenCalled();- expect(window.location.hash).toBe('');+ expect(window.location.hash).toBe('#settings/agent-connections');+ });++ test('a failed automatic launch offers a retry', async () => {+ mockRegisteredAgent = { source: 'registry', id: 'claude-acp', name: 'Claude Agent' };+ mockLaunchOutcome = 'failed';+ setInitialRosterIds(new Set());++ render(<Harness initialVisible />);++ expect(await screen.findByText("Couldn't start the agent thread.")).toBeDefined();+ mockLaunchOutcome = 'deduped';+ await userEvent.click(screen.getByRole('button', { name: 'Try again' }));++ expect(toastError).toHaveBeenCalledTimes(1);+ expect(screen.queryByText("Couldn't start the agent thread.")).toBeNull();+ expect(screen.queryByText('Starting the agent…')).toBeNull();+ expect(+ screen.getByText('Already starting a chat with this agent — try again in a moment.'),+ ).toBeDefined();+ const retry = screen.getByRole('button', { name: 'Try again' });+ await waitFor(() => expect(document.activeElement).toBe(retry));+ });++ test('a retry that fails again focuses the replacement retry action', async () => {+ mockRegisteredAgent = { source: 'registry', id: 'claude-acp', name: 'Claude Agent' };+ mockLaunchOutcome = 'failed';+ setInitialRosterIds(new Set());++ render(<Harness initialVisible />);++ const retry = await screen.findByRole('button', { name: 'Try again' });+ await userEvent.click(retry);++ const replacement = await screen.findByRole('button', { name: 'Try again' });+ await waitFor(() => expect(document.activeElement).toBe(replacement));});test('revealing a panel that already has a conversation does not create another', async () => {diff --git a/packages/app/src/components/SessionsHost.terminal-rehydration.dom.test.tsx b/packages/app/src/components/SessionsHost.terminal-rehydration.dom.test.tsxindex f96a709d7..a565cd45c 100644--- a/packages/app/src/components/SessionsHost.terminal-rehydration.dom.test.tsx+++ b/packages/app/src/components/SessionsHost.terminal-rehydration.dom.test.tsx@@ -13,10 +13,11 @@ import {} from './sessions-host-tabs.test-helper';vi.doMock('@/lib/acp/thread-client', () => ({+ useAgentThreads: () => [],useOpenAgentThreadTabs: () => [],useInitialRosterThreadIds: () => null,- useArchivedAgentThreads: () => [],useAgentThreadConnection: () => 'open',+ useAgentThreadScope: () => null,useAgentThreadUnread: () => false,getAgentThreadClient: () => ({closeThread: vi.fn(),diff --git a/packages/app/src/components/SessionsHost.tsx b/packages/app/src/components/SessionsHost.tsxindex 7189d2e16..f67c7e73f 100644--- a/packages/app/src/components/SessionsHost.tsx+++ b/packages/app/src/components/SessionsHost.tsx@@ -5,14 +5,21 @@ import {type TerminalCli,type TerminalPlacement,} from '@inkeep/open-knowledge-core';-import type { ThreadInfo, ThreadStatus } from '@inkeep/open-knowledge-core/acp/thread-protocol';+import type {+ AttachmentPart,+ ThreadInfo,+ ThreadStatus,+} from '@inkeep/open-knowledge-core/acp/thread-protocol';import { useLingui } from '@lingui/react/macro';import { SquareTerminalIcon } from 'lucide-react';import {+ type CSSProperties,lazy,type ReactNode,+ type RefObject,Suspense,useEffect,+ useId,useLayoutEffect,useRef,useState,@@ -20,11 +27,21 @@ import {import { createPortal } from 'react-dom';import { toast } from 'sonner';import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';-import { ArchivedThreadChooser, ThreadHistoryMenu } from '@/components/acp/ThreadHistoryMenu';+import {+ ThreadHistoryPanel,+ ThreadHistorySearchProvider,+ ThreadHistoryToggle,+} from '@/components/acp/ThreadHistoryPanel';import { publishReusableSession } from '@/components/reusable-session-store';+import { Button } from '@/components/ui/button';import { Spinner } from '@/components/ui/spinner';import { TabsContent } from '@/components/ui/tabs';+import {+ HISTORY_PANEL_WIDTH_PX,+ useHistoryPresentationMode,+} from '@/hooks/use-history-presentation-mode';import { isInAppAgentEnabled } from '@/lib/acp/agent-visibility';+import { detectedHarnessAgents, useAgentCatalogQuery } from '@/lib/acp/catalog';import { useEnabledOverrides } from '@/lib/acp/enabled-agents';import { hasInflightThreadLaunch, launchAgentThread } from '@/lib/acp/launch-agent-thread';import {@@ -42,8 +59,9 @@ import {import {getAgentThreadClient,useAgentThreadConnection,+ useAgentThreadScope,+ useAgentThreads,useAgentThreadUnread,- useArchivedAgentThreads,useInitialRosterThreadIds,useOpenAgentThreadTabs,} from '@/lib/acp/thread-client';@@ -115,6 +133,18 @@ type SessionDescriptor = TerminalSessionDescriptor | ThreadSessionDescriptor;type SessionOpenProvenance = 'user' | 'restore-seed';+type AgentPaneLaunchRequest = {+ readonly agent: { source: 'registry' | 'custom'; id: string };+ readonly docName?: string | null;+ readonly titleHint?: string | null;+ readonly attachments?: readonly AttachmentPart[];+} & (+ | { readonly prompt?: string | null; readonly stageDraft?: never }+ | { readonly prompt?: never; readonly stageDraft: string }+);++type EmptyAgentLaunchState = 'idle' | 'launching' | 'deduped' | 'failed';+function applyReorder(current: readonly SessionDescriptor[],newOrderIds: readonly string[],@@ -147,19 +177,34 @@ function threadSessionFocusSelector(id: string): string {return `[data-session-id="${escapeSelector(id)}"] [data-testid="agent-thread-composer"]`;}-function focusTerminalSession(id: string) {- if (id === '') return;- document.querySelector<HTMLElement>(terminalSessionFocusSelector(id))?.focus();+function focusTerminalSession(id: string): boolean {+ if (id === '') return false;+ const terminal = document.querySelector<HTMLElement>(terminalSessionFocusSelector(id));+ terminal?.focus();+ return terminal != null && document.activeElement === terminal;}-function focusThreadSession(id: string) {- if (id === '') return;- document.querySelector<HTMLElement>(threadSessionFocusSelector(id))?.focus();+function threadTabFocusElement(id: string): HTMLElement | null {+ const safeId = typeof CSS !== 'undefined' && CSS.escape ? CSS.escape(id) : id;+ return document.querySelector<HTMLElement>(`[role="tab"][data-tab-id="${safeId}"]`);}-function focusSession(session: SessionDescriptor) {- if (session.kind === 'terminal') focusTerminalSession(session.id);- else focusThreadSession(session.id);+function focusThreadSession(id: string): boolean {+ if (id === '') return false;+ const composer = document.querySelector<HTMLElement>(threadSessionFocusSelector(id));+ composer?.focus();+ if (composer != null && document.activeElement === composer) return true;+ threadTabFocusElement(id)?.focus();+ return false;+}++function focusSession(session: SessionDescriptor): boolean {+ if (session.kind === 'terminal') return focusTerminalSession(session.id);+ return focusThreadSession(session.id);+}++function fallbackSessionFocusElement(session: SessionDescriptor): HTMLElement | null {+ return session.kind === 'thread' ? threadTabFocusElement(session.id) : null;}function focusInsideHost(hostEl: HTMLElement | null): boolean {@@ -286,6 +331,20 @@ const TERMINAL_DOCK_KINDS: Record<Exclude<LauncherSelection['kind'], 'thread' |desktop: true,};+function closeHistory(+ setOpen: (open: boolean) => void,+ focus: 'always' | 'if-panel-focused' | 'never',+ panelId: string,+ toggleRef: RefObject<HTMLButtonElement | null>,+) {+ const shouldRestoreFocus =+ focus === 'always' ||+ (focus === 'if-panel-focused' &&+ document.getElementById(panelId)?.contains(document.activeElement) === true);+ setOpen(false);+ if (shouldRestoreFocus) queueMicrotask(() => toggleRef.current?.focus());+}+export function SessionsHost({bridge,terminalCapable = false,@@ -334,6 +393,22 @@ export function SessionsHost({if (hostEl.parentElement !== container) container.appendChild(hostEl);}, [hostEl, container]);+ const [historyOpen, setHistoryOpen] = useState(false);+ const { mode: historyMode, remeasure: remeasureHistoryMode } = useHistoryPresentationMode(+ container,+ hostThreads,+ );+ const historyPanelId = useId();+ const historyToggleRef = useRef<HTMLButtonElement>(null);+ const previousHistoryModeRef = useRef(historyMode);++ useLayoutEffect(() => {+ const previousMode = previousHistoryModeRef.current;+ previousHistoryModeRef.current = historyMode;+ if (historyOpen && previousMode === 'docked' && historyMode === 'cover') {+ closeHistory(setHistoryOpen, 'if-panel-focused', historyPanelId, historyToggleRef);+ }+ }, [historyMode, historyOpen, historyPanelId]);const canRehydrate = hostTerminals && typeof bridge?.terminal?.list === 'function';const restoresDesktopDockOrder =hostThreads && typeof bridge?.terminal?.getDockState === 'function';@@ -380,6 +455,12 @@ export function SessionsHost({const lastHandledThreadNonceRef = useRef<number | null>(null);const settingsShownForNonceRef = useRef<number | null>(null);const seedOwedRef = useRef(false);+ const initialVisibleSeedAttemptedRef = useRef(false);+ const [emptyAgentLaunchState, setEmptyAgentLaunchState] = useState<EmptyAgentLaunchState>('idle');+ const pendingAgentLaunchRequestRef = useRef<AgentPaneLaunchRequest | null>(null);+ const retryAgentLaunchRequestRef = useRef<AgentPaneLaunchRequest | null>(null);+ const emptyAgentRetryButtonRef = useRef<HTMLButtonElement>(null);+ const retryFocusRequestedRef = useRef(false);const restoreAbandonedRef = useRef(false);const restoreUnreadRef = useRef(false);const userArrangedRef = useRef(false);@@ -393,9 +474,32 @@ export function SessionsHost({const stripLaunchNonceRef = useRef(0);const openThreadTabs = useOpenAgentThreadTabs();- const archivedThreads = useArchivedAgentThreads();+ const agentThreads = useAgentThreads();+ const threadScope = useAgentThreadScope();const threadConnection = useAgentThreadConnection();+ useEffect(() => {+ void threadScope;+ initialVisibleSeedAttemptedRef.current = false;+ pendingAgentLaunchRequestRef.current = null;+ retryAgentLaunchRequestRef.current = null;+ retryFocusRequestedRef.current = false;+ setEmptyAgentLaunchState('idle');+ }, [threadScope]);+ useEffect(() => {+ if (!retryFocusRequestedRef.current) return;+ if (emptyAgentLaunchState !== 'failed' && emptyAgentLaunchState !== 'deduped') return;+ const frame = window.requestAnimationFrame(() => {+ retryFocusRequestedRef.current = false;+ emptyAgentRetryButtonRef.current?.focus();+ });+ return () => window.cancelAnimationFrame(frame);+ }, [emptyAgentLaunchState]);+ useEffect(() => {+ if (hostThreads && !visible && historyOpen)+ closeHistory(setHistoryOpen, 'never', historyPanelId, historyToggleRef);+ }, [historyOpen, historyPanelId, hostThreads, visible]);const threadConnectionDown = threadConnection === 'connecting' || threadConnection === 'closed';+ const agentCatalog = useAgentCatalogQuery(hostThreads);const registeredAgents = useRegisteredAgents();const enabledOverrides = useEnabledOverrides();const enabledRegisteredAgents = registeredAgents.filter((agent) =>@@ -406,14 +510,54 @@ export function SessionsHost({enabledRegisteredAgents,defaultRegisteredAgent,);+ const registeredAgentKeys = new Set(+ registeredAgents.map((agent) => `${agent.source}:${agent.id}`),+ );+ const detectedAgentRegistrationPending = detectedHarnessAgents(+ agentCatalog.data?.agents ?? [],+ ).some((agent) => !registeredAgentKeys.has(`${agent.source}:${agent.id}`));+ const refetchAgentCatalog = () => {+ void agentCatalog.refetch();+ };+ const agentCatalogFailed = agentCatalog.isError;+ const agentOptionsSettled = !agentCatalog.isLoading && !detectedAgentRegistrationPending;const liveThreadCount = openThreadTabs.filter((info) => info.archived !== true).length;const threadInfoById = new Map(openThreadTabs.map((info) => [info.threadId, info]));const openThreadIds = new Set(threadInfoById.keys());- function openArchivedThread(threadId: string) {+ function selectHistoryThread(threadId: string) {+ noteUserArrangement();+ pendingActiveKeyRef.current = null;+ const openSession = sessionsRef.current.find(+ (session) => session.kind === 'thread' && session.threadId === threadId,+ );+ if (openSession != null) {+ setActiveSessionId(openSession.id);+ queueMicrotask(() => focusSession(openSession));+ return;+ }getAgentThreadClient().openArchivedThread(threadId);}+ function dismissHistory(reason: 'explicit' | 'selection') {+ closeHistory(+ setHistoryOpen,+ reason === 'explicit' ? 'always' : 'never',+ historyPanelId,+ historyToggleRef,+ );+ }++ function setHistoryOpenForPane(open: boolean) {+ if (open) remeasureHistoryMode();+ setHistoryOpen(open);+ }++ function dismissCoveringHistory() {+ if (hostThreads && historyOpen && historyMode === 'cover')+ closeHistory(setHistoryOpen, 'never', historyPanelId, historyToggleRef);+ }+function dockPersistSuppressed(): boolean {if (!persistsOrder) return true;if (!rehydrationSettled) return true;@@ -521,28 +665,86 @@ export function SessionsHost({openSession({ prompt: null, cli, nonce: stripLaunchNonceRef.current }, null, provenance);}+ function launchAgentForPane(request: AgentPaneLaunchRequest) {+ const {+ agent,+ prompt = null,+ docName = null,+ titleHint = null,+ stageDraft = null,+ attachments,+ } = request;+ const tracksEmptyPane = hostThreads && sessionsRef.current.length === 0;+ const previousPendingRequest = pendingAgentLaunchRequestRef.current;+ if (tracksEmptyPane) {+ pendingAgentLaunchRequestRef.current = request;+ setEmptyAgentLaunchState('launching');+ }+ return launchAgentThread(+ { source: agent.source, id: agent.id },+ prompt,+ docName,+ titleHint,+ stageDraft,+ attachments,+ ).then((outcome) => {+ if (outcome === 'deduped') {+ toast.error(t`Already starting a chat with this agent — try again in a moment.`);+ }+ if (+ !tracksEmptyPane ||+ sessionsRef.current.length > 0 ||+ pendingAgentLaunchRequestRef.current !== request+ )+ return outcome;+ switch (outcome) {+ case 'failed':+ pendingAgentLaunchRequestRef.current = null;+ retryAgentLaunchRequestRef.current = request;+ setEmptyAgentLaunchState('failed');+ return outcome;+ case 'deduped':+ if (previousPendingRequest !== null) {+ pendingAgentLaunchRequestRef.current = previousPendingRequest;+ setEmptyAgentLaunchState('launching');+ } else {+ pendingAgentLaunchRequestRef.current = null;+ retryAgentLaunchRequestRef.current = request;+ setEmptyAgentLaunchState('deduped');+ }+ return outcome;+ case 'started':+ return outcome;+ default:+ return assertNeverThreadLaunchOutcome(outcome);+ }+ });+ }++ function retryFailedAgentLaunch() {+ dismissCoveringHistory();+ retryFocusRequestedRef.current = true;+ const request = retryAgentLaunchRequestRef.current;+ if (request === null) {+ launchSelectedNewTab();+ return;+ }+ void launchAgentForPane(request);+ }+function launchSelectedNewTab() {+ dismissCoveringHistory();if (newSessionChoice.kind === 'terminal') openSession(null, null, 'user');else if (newSessionChoice.kind === 'cli') openNewChatSession(newSessionChoice.cli, 'user');else if (newSessionChoice.kind === 'agent' && newSessionChoice.agent != null)- void launchAgentThread(- { source: newSessionChoice.agent.source, id: newSessionChoice.agent.id },- null,- null,- null,- );+ void launchAgentForPane({ agent: newSessionChoice.agent });else openAgentSettings();}function seedOnReveal(): boolean {if (hostThreads) {if (newSessionChoice.kind !== 'agent' || newSessionChoice.agent == null) return false;- void launchAgentThread(- { source: newSessionChoice.agent.source, id: newSessionChoice.agent.id },- null,- null,- null,- );+ void launchAgentForPane({ agent: newSessionChoice.agent });return true;}if (newSessionChoice.kind === 'terminal') openSession(null, null, 'restore-seed');@@ -633,6 +835,7 @@ export function SessionsHost({}, [activeSessionId, sessions, openThreadTabs]);function revealForReuse() {+ dismissCoveringHistory();if (!visible) onVisibleChange(true);}@@ -642,6 +845,7 @@ export function SessionsHost({if (!hostThreads) return;} else if (!claimsSessionKind(selection.kind)) return;if (!visible) onVisibleChange(true);+ dismissCoveringHistory();const activeId = activeSessionIdRef.current;const active = sessionsRef.current.find((s) => s.id === activeId);if (!newTab && active != null) {@@ -662,8 +866,9 @@ export function SessionsHost({}if (selection.kind === 'thread') {const agent = { source: selection.agent.source, id: selection.agent.id };- if (submit) void launchAgentThread(agent, text, null, null, null);- else void launchAgentThread(agent, null, null, null, text);+ void (submit+ ? launchAgentForPane({ agent, prompt: text })+ : launchAgentForPane({ agent, stageDraft: text }));} else if (selection.kind === 'cli') {requestTerminalLaunch(text, selection.cli, { stage: !submit });} else {@@ -672,21 +877,24 @@ export function SessionsHost({}function pickNewChatCli(cli: TerminalCli) {+ dismissCoveringHistory();writePreferBareTerminal(false);saveStickyAgent(terminalCliId(cli));openNewChatSession(cli, 'user');}function pickNewChatTerminal() {+ dismissCoveringHistory();writePreferBareTerminal(true);openSession(null, null, 'user');}function pickNewChatAgent(agent: RegisteredAgent) {+ dismissCoveringHistory();registerAgent(agent);writePreferBareTerminal(false);saveStickyAgent(threadAgentId(agent));- void launchAgentThread({ source: agent.source, id: agent.id }, null, null, null);+ void launchAgentForPane({ agent });}function setSessionTitle(id: string, title: string) {@@ -777,6 +985,7 @@ export function SessionsHost({const moveActiveSessionRef = useRef(moveActiveSession);const openSessionRef = useRef(openSession);const seedOnRevealRef = useRef(seedOnReveal);+ const launchAgentForPaneRef = useRef(launchAgentForPane);const dispatchAskAiRef = useRef(dispatchAskAi);const revealForReuseRef = useRef(revealForReuse);const launchPreferredSessionRef = useRef(launchPreferredSession);@@ -811,6 +1020,7 @@ export function SessionsHost({persistSuppressedRef.current = dockPersistSuppressed;openSessionRef.current = openSession;seedOnRevealRef.current = seedOnReveal;+ launchAgentForPaneRef.current = launchAgentForPane;dispatchAskAiRef.current = dispatchAskAi;revealForReuseRef.current = revealForReuse;launchPreferredSessionRef.current = launchPreferredSession;@@ -830,6 +1040,14 @@ export function SessionsHost({};});+ useEffect(() => {+ if (sessions.length === 0) return;+ pendingAgentLaunchRequestRef.current = null;+ retryAgentLaunchRequestRef.current = null;+ retryFocusRequestedRef.current = false;+ setEmptyAgentLaunchState('idle');+ }, [sessions.length]);+const initialRosterThreadIds = useInitialRosterThreadIds();useEffect(() => {@@ -1001,6 +1219,24 @@ export function SessionsHost({seedOwedRef.current = !seedOnRevealRef.current();return;}+ if (+ hostThreads &&+ visible &&+ wasVisible &&+ !initialVisibleSeedAttemptedRef.current &&+ initialRosterThreadIds !== null+ ) {+ initialVisibleSeedAttemptedRef.current = true;+ if (+ openThreadTabs.length === 0 &&+ sessions.length === 0 &&+ !threadLaunchPending &&+ !hasInflightThreadLaunch()+ ) {+ seedOwedRef.current = !seedOnRevealRef.current();+ }+ return;+ }if (!seedOwedRef.current) return;if (!visible || sessions.length > 0 || threadLaunchPending) {seedOwedRef.current = false;@@ -1017,6 +1253,8 @@ export function SessionsHost({rehydrationSettled,hostThreads,effectiveDefaultAgent,+ initialRosterThreadIds,+ openThreadTabs.length,hostTerminals,terminalRestoreRevealNonce,]);@@ -1039,19 +1277,14 @@ export function SessionsHost({return;}lastHandledThreadNonceRef.current = threadLaunch.nonce;- void launchAgentThread(+ void launchAgentForPaneRef.current({agent,- threadLaunch.prompt,- threadLaunch.docName,- threadLaunch.titleHint,- null,- threadLaunch.attachments ?? undefined,- ).then((outcome) => {- if (outcome === 'deduped') {- toast.error(t`Already starting a chat with this agent — try again in a moment.`);- }+ prompt: threadLaunch.prompt,+ docName: threadLaunch.docName,+ titleHint: threadLaunch.titleHint,+ attachments: threadLaunch.attachments ?? undefined,});- }, [threadLaunch, hostThreads, effectiveDefaultAgent, t]);+ }, [threadLaunch, hostThreads, effectiveDefaultAgent]);useEffect(() => {if (!hostTerminals) return;@@ -1356,32 +1589,49 @@ export function SessionsHost({}, [isShowing, visible, onRequestEditorFocus]);useEffect(() => {- if (!isShowing) return;- const active = sessionsRef.current.find((s) => s.id === activeSessionIdRef.current);- if (active == null) return;- focusSession(active);- if (hostEl == null || focusInsideHost(hostEl)) return;- let landed = false;+ if (!isShowing || hostEl == null) return;+ const focusOrigin = document.activeElement;+ const initialActive = sessionsRef.current.find((s) => s.id === activeSessionIdRef.current);+ if (initialActive != null && focusSession(initialActive)) return;+ let landed = focusInsideHost(hostEl);+ let retryFrame: number | null = null;const recordLanding = (event: FocusEvent) => {if (hostEl.contains(event.target as Node | null)) landed = true;};+ const retryFocus = () => {+ retryFrame = null;+ const active = sessionsRef.current.find((s) => s.id === activeSessionIdRef.current);+ if (active == null) return;+ const focused = document.activeElement;+ const fallback = fallbackSessionFocusElement(active);+ if (+ focused != null &&+ focused !== document.body &&+ focused !== focusOrigin &&+ focused !== fallback+ )+ return;+ const preferred = focusSession(active);+ landed = focusInsideHost(hostEl) || landed;+ if (preferred) observer.disconnect();+ };+ const scheduleRetry = () => {+ if (retryFrame !== null) return;+ retryFrame = window.requestAnimationFrame(retryFocus);+ };document.addEventListener('focusin', recordLanding, true);const observer = new MutationObserver(() => {- if (focusInsideHost(hostEl)) {- landed = true;- observer.disconnect();- return;- }- if (document.activeElement == null || document.activeElement === document.body) {- focusSession(active);- }+ retryFocus();+ if (!landed) scheduleRetry();});observer.observe(hostEl, { subtree: true, childList: true });+ scheduleRetry();const deadline = window.setTimeout(() => {observer.disconnect();const focusNowhere =document.activeElement == null || document.activeElement === document.body;- if (!landed && focusNowhere) {+ const active = sessionsRef.current.find((s) => s.id === activeSessionIdRef.current);+ if (!landed && focusNowhere && active != null) {console.warn(`[${hostThreads ? 'agents' : 'terminal'}] reveal focus did not land within its ${REVEAL_FOCUS_LANDING_TIMEOUT_MS}ms bound`,);@@ -1390,6 +1640,7 @@ export function SessionsHost({return () => {document.removeEventListener('focusin', recordLanding, true);observer.disconnect();+ if (retryFrame != null) window.cancelAnimationFrame(retryFrame);window.clearTimeout(deadline);};}, [isShowing, hostEl, hostThreads]);@@ -1402,11 +1653,18 @@ export function SessionsHost({activeThreadIdForView !== null ? threadInfoById.get(activeThreadIdForView) : undefined;const activeThreadActivityAt = activeThreadInfoForView?.lastActivityAt ?? null;const activeThreadStatus = activeThreadInfoForView?.status ?? null;- // biome-ignore lint/correctness/useExhaustiveDependencies: `activeThreadActivityAt` and `activeThreadStatus` are not read inside the effect body — they are dep-only, so an incoming activity tick OR a status transition (running → ready without a fresh activityAt) both re-fire the mark-viewed call. Without the status dep, a ready-flip on an unchanged activityAt would leave the tab pulsing forever.+ const historyCovering = hostThreads && historyOpen && historyMode === 'cover';+ // biome-ignore lint/correctness/useExhaustiveDependencies: `activeThreadActivityAt` and `activeThreadStatus` are not read inside the effect body — they are dep-only, so an incoming activity tick OR a status transition (running → ready without a fresh activityAt) both re-fire the mark-viewed call. Without the status dep, a ready-flip on an unchanged activityAt would leave the tab pulsing forever. Neither trigger marks anything while `historyCovering` holds: a transcript the history cover hides has not been read, so the effect returns before the call and re-fires once the cover lifts.useEffect(() => {- if (!isShowing || activeThreadIdForView === null) return;+ if (!isShowing || historyCovering || activeThreadIdForView === null) return;getAgentThreadClient().markThreadViewed(activeThreadIdForView);- }, [activeThreadIdForView, activeThreadActivityAt, activeThreadStatus, isShowing]);+ }, [+ activeThreadIdForView,+ activeThreadActivityAt,+ activeThreadStatus,+ historyCovering,+ isShowing,+ ]);const tabDescriptors: TerminalTabDescriptor[] = sessions.map((session) => ({id: session.id,@@ -1437,18 +1695,110 @@ export function SessionsHost({/>);- const trailingControls =- hostThreads && archivedThreads.length > 0 ? (- <ThreadHistoryMenu- archived={archivedThreads}- openThreadIds={openThreadIds}- onOpenThread={openArchivedThread}- />- ) : null;+ const historyNewButton = hostThreads ? (+ <TerminalNewChatButton+ selected={newSessionChoice}+ onLaunchSelected={launchSelectedNewTab}+ showAgents+ registeredAgents={enabledRegisteredAgents}+ onPickAgent={pickNewChatAgent}+ onOpenSettings={openAgentSettings}+ liveThreadCount={liveThreadCount}+ showClis={terminalAvailable}+ onPickCli={pickNewChatCli}+ onPickTerminal={pickNewChatTerminal}+ visibleClis={enabledTerminalClis(enabledOverrides, installedClis ?? {})}+ presentation="panel"+ />+ ) : null;++ const trailingControls = hostThreads ? (+ <ThreadHistoryToggle+ open={historyOpen}+ panelId={historyPanelId}+ triggerRef={historyToggleRef}+ onOpenChange={setHistoryOpenForPane}+ />+ ) : null;const showStrip = sessions.length > 0 || (visible && !isWindow);+ const emptyAgentStatePreview = readEmptyAgentStatePreview();+ const emptyAgentState =+ emptyAgentStatePreview ??+ (initialRosterThreadIds === null || (effectiveDefaultAgent === null && !agentOptionsSettled)+ ? 'loading'+ : effectiveDefaultAgent === null+ ? agentCatalogFailed+ ? 'agents-unavailable'+ : 'no-agents'+ : emptyAgentStateFromLaunchState(emptyAgentLaunchState));+ const showEmptyAgentState =+ hostThreads && (sessions.length === 0 || emptyAgentStatePreview !== null);++ const sessionContent = showEmptyAgentState ? (+ <EmptyAgentSessionsState+ state={emptyAgentState}+ onConfigureAgents={openAgentSettings}+ onRetry={+ emptyAgentState === 'agents-unavailable' ? refetchAgentCatalog : retryFailedAgentLaunch+ }+ retryButtonRef={emptyAgentRetryButtonRef}+ />+ ) : sessions.length === 0 ? (+ terminalAvailable ? null : (+ <EmptySessionsState />+ )+ ) : (+ panelSessions.map((session) => (+ <TabsContent+ key={session.id}+ value={session.id}+ forceMount+ data-session-id={session.id}+ {...(session.kind === 'terminal' ? { 'data-terminal-session': session.id } : {})}+ className={cn(+ 'm-0 flex min-h-0 flex-1 flex-col overflow-hidden data-[state=inactive]:hidden',+ isWindow && 'px-[22px] pb-[22px]',+ )}+ >+ {session.kind === 'terminal' ? (+ bridge != null && terminalAvailable ? (+ <TerminalGate+ bridge={bridge}+ launch={session.launch}+ commandId={session.commandId}+ adoptPtyId={session.adoptPtyId}+ onPtyId={(ptyId) => setSessionPtyId(session.id, ptyId)}+ onTitleChange={(title) => setSessionTitle(session.id, title)}+ onClose={() => closeSession(session.id)}+ />+ ) : null+ ) : (+ <ThreadPanel+ threadId={session.threadId}+ info={threadInfoById.get(session.threadId)}+ showConnectionBanner={threadConnectionDown && session.id === activeSessionId}+ active={visible && !historyCovering && session.id === activeSessionId}+ />+ )}+ </TabsContent>+ ))+ );- const sessionViews = showStrip ? (+ const historyPanel = historyOpen ? (+ <ThreadHistoryPanel+ threads={agentThreads}+ openThreadIds={openThreadIds}+ activeThreadId={activeThreadIdForView}+ onSelectThread={selectHistoryThread}+ mode={historyMode}+ panelId={historyPanelId}+ onDismiss={dismissHistory}+ newChatControl={historyNewButton}+ />+ ) : null;++ const sessionStrip = (<TerminalTabStripsessions={tabDescriptors}sessionKind={hostThreads ? 'agent' : 'terminal'}@@ -1484,49 +1834,51 @@ export function SessionsHost({draggable={isWindow}className="h-full">- {sessions.length === 0 ? (- terminalAvailable ? null : hostThreads && archivedThreads.length > 0 ? (- <ArchivedThreadChooser archived={archivedThreads} onOpen={openArchivedThread} />- ) : (- <EmptySessionsState />- )+ {hostThreads ? (+ <div className="flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden">{sessionContent}</div>) : (- panelSessions.map((session) => (- <TabsContent- key={session.id}- value={session.id}- forceMount- data-session-id={session.id}- {...(session.kind === 'terminal' ? { 'data-terminal-session': session.id } : {})}- className={cn(- 'm-0 flex min-h-0 flex-1 flex-col overflow-hidden data-[state=inactive]:hidden',- isWindow && 'px-[22px] pb-[22px]',- )}- >- {session.kind === 'terminal' ? (- bridge != null && terminalAvailable ? (- <TerminalGate- bridge={bridge}- launch={session.launch}- commandId={session.commandId}- adoptPtyId={session.adoptPtyId}- onPtyId={(ptyId) => setSessionPtyId(session.id, ptyId)}- onTitleChange={(title) => setSessionTitle(session.id, title)}- onClose={() => closeSession(session.id)}- />- ) : null- ) : (- <ThreadPanel- threadId={session.threadId}- info={threadInfoById.get(session.threadId)}- showConnectionBanner={threadConnectionDown && session.id === activeSessionId}- active={visible && session.id === activeSessionId}- />- )}- </TabsContent>- ))+ sessionContent)}</TerminalTabStrip>+ );++ const sessionViews = showStrip ? (+ hostThreads ? (+ <ThreadHistorySearchProvider scope={threadScope}>+ <div+ className="relative flex h-full min-h-0 min-w-0 overflow-hidden"+ data-testid="agent-panel-layout"+ >+ <div+ className="flex min-h-0 min-w-0 flex-1 flex-col"+ data-testid="agent-panel-session-surface"+ inert={historyCovering ? true : undefined}+ >+ {sessionStrip}+ </div>+ {historyOpen ? (+ <div+ className={cn(+ 'z-20 h-full max-w-full bg-background',+ historyMode === 'cover'+ ? 'absolute inset-0 w-full shadow-xl'+ : 'w-(--history-panel-width) shrink-0 border-s',+ )}+ style={+ {+ '--history-panel-width': `${HISTORY_PANEL_WIDTH_PX}px`,+ } as CSSProperties+ }+ data-testid="agent-thread-history-surface"+ >+ {historyPanel}+ </div>+ ) : null}+ </div>+ </ThreadHistorySearchProvider>+ ) : (+ sessionStrip+ )) : null;return (@@ -1606,6 +1958,149 @@ function EmptySessionsState() {);}+function EmptyAgentSessionsState({+ state,+ onConfigureAgents,+ onRetry,+ retryButtonRef,+}: {+ state: EmptyAgentState;+ onConfigureAgents: () => void;+ onRetry: () => void;+ retryButtonRef: RefObject<HTMLButtonElement | null>;+}) {+ const { t } = useLingui();+ let content: ReactNode;+ switch (state) {+ case 'idle':+ content = null;+ break;+ case 'loading':+ case 'starting':+ content = (+ <div+ role="status"+ aria-busy="true"+ className="flex items-center gap-2"+ data-testid="sessions-dock-loading"+ >+ <span aria-hidden="true">+ <Spinner className="size-4" />+ </span>+ <span>{state === 'loading' ? t`Loading agents…` : t`Starting the agent…`}</span>+ </div>+ );+ break;+ case 'no-agents':+ content = (+ <div className="flex flex-col items-center gap-2" data-testid="sessions-dock-no-agents">+ <p>{t`No agents enabled.`}</p>+ <Button type="button" size="sm" onClick={onConfigureAgents}>+ {t`Configure agents`}+ </Button>+ </div>+ );+ break;+ case 'agents-unavailable':+ content = (+ <div+ className="flex flex-col items-center gap-2"+ data-testid="sessions-dock-agents-unavailable"+ >+ <p>{t`Couldn't load your agents.`}</p>+ <Button type="button" size="sm" onClick={onRetry}>+ {t`Try again`}+ </Button>+ </div>+ );+ break;+ case 'failed':+ content = (+ <div className="flex flex-col items-center gap-2" data-testid="sessions-dock-launch-failed">+ <p>{t`Couldn't start the agent thread.`}</p>+ <Button ref={retryButtonRef} type="button" size="sm" onClick={onRetry}>+ {t`Try again`}+ </Button>+ </div>+ );+ break;+ case 'deduped':+ content = (+ <div+ className="flex flex-col items-center gap-2"+ data-testid="sessions-dock-launch-deduped"+ >+ <p>{t`Already starting a chat with this agent — try again in a moment.`}</p>+ <Button ref={retryButtonRef} type="button" size="sm" onClick={onRetry}>+ {t`Try again`}+ </Button>+ </div>+ );+ break;+ default:+ content = assertNeverEmptyAgentState(state);+ }+ return (+ <div+ className="flex min-h-0 flex-1 items-center justify-center px-6 text-center text-muted-foreground text-sm"+ data-testid="sessions-dock-empty"+ >+ {content}+ </div>+ );+}++type EmptyAgentState =+ | 'idle'+ | 'loading'+ | 'starting'+ | 'deduped'+ | 'no-agents'+ | 'agents-unavailable'+ | 'failed';++const EMPTY_AGENT_STATES: readonly EmptyAgentState[] = [+ 'loading',+ 'starting',+ 'deduped',+ 'no-agents',+ 'agents-unavailable',+ 'failed',+];++function readEmptyAgentStatePreview(): EmptyAgentState | null {+ if (!import.meta.env.DEV || typeof window === 'undefined') return null;+ const state = new URLSearchParams(window.location.search).get('preview-agent-empty');+ return EMPTY_AGENT_STATES.find((candidate) => candidate === state) ?? null;+}++function assertNeverThreadLaunchOutcome(outcome: never): never {+ throw new Error(`unhandled thread launch outcome: ${String(outcome)}`);+}++function assertNeverEmptyAgentState(state: never): never {+ throw new Error(`unhandled empty agent state: ${String(state)}`);+}++function emptyAgentStateFromLaunchState(state: EmptyAgentLaunchState): EmptyAgentState {+ switch (state) {+ case 'idle':+ return 'idle';+ case 'launching':+ return 'starting';+ case 'deduped':+ return 'deduped';+ case 'failed':+ return 'failed';+ default:+ return assertNeverEmptyAgentLaunchState(state);+ }+}++function assertNeverEmptyAgentLaunchState(state: never): never {+ throw new Error(`unhandled empty agent launch state: ${String(state)}`);+}+function computePersistKey(session: SessionDescriptor,ptyMap: ReadonlyMap<string, string>,diff --git a/packages/app/src/components/TerminalNewChatButton.dom.test.tsx b/packages/app/src/components/TerminalNewChatButton.dom.test.tsxindex 976ef8f6a..61e8d0ad5 100644--- a/packages/app/src/components/TerminalNewChatButton.dom.test.tsx+++ b/packages/app/src/components/TerminalNewChatButton.dom.test.tsx@@ -34,6 +34,7 @@ function renderButton(overrides: Partial<React.ComponentProps<typeof TerminalNewonPickCli={onPickCli}onPickTerminal={onPickTerminal}visibleClis={overrides.visibleClis}+ presentation={overrides.presentation}/></TooltipProvider></QueryClientProvider>,@@ -56,6 +57,48 @@ describe('TerminalNewChatButton (merged sessions-dock New button)', () => {expect(onPickCli).not.toHaveBeenCalled();});+ test('the panel presentation reuses the full-width split button without a plus icon', () => {+ renderButton({ presentation: 'panel', selected: { kind: 'agent', agent: AGENT_A } });++ const primary = screen.getByTestId('terminal-new-chat');+ const group = primary.closest('[data-slot="button-group"]');+ expect(group).not.toBeNull();+ expect(group?.className).toContain('w-full');+ expect(primary.querySelector('[data-lucide="plus"]')).toBeNull();+ expect(screen.getByRole('button', { name: 'Choose what a new chat starts' })).toBeDefined();+ });++ test.each([+ [{ kind: 'agent', agent: AGENT_A } as NewSessionChoice, 'New chat with Agent A', 'New chat'],+ [{ kind: 'cli', cli: 'codex' } as NewSessionChoice, 'New Codex chat', 'New Codex chat'],+ [{ kind: 'terminal' } as NewSessionChoice, 'New terminal', 'New terminal'],+ ])(+ 'the panel primary names its target and a user can read that name on the control',+ (selected, accessibleName, visibleName) => {+ renderButton({ presentation: 'panel', selected });++ const primary = screen.getByRole('button', { name: accessibleName });+ expect(primary.getAttribute('data-testid')).toBe('terminal-new-chat');+ expect(primary.textContent).toContain(visibleName);+ },+ );++ test('the panel dropdown keeps the bare Terminal row beside the CLI rows', async () => {+ const user = userEvent.setup();+ const { onPickTerminal } = renderButton({ presentation: 'panel' });++ await user.click(screen.getByRole('button', { name: 'Choose what a new chat starts' }));++ for (const name of ['Claude CLI', 'Codex CLI', 'OpenCode CLI']) {+ expect(await screen.findByRole('menuitem', { name })).toBeDefined();+ }+ const terminalRow = screen.getByTestId('terminal-new-chat-terminal');+ expect(terminalRow).toBeDefined();++ await user.click(terminalRow);+ expect(onPickTerminal).toHaveBeenCalledTimes(1);+ });+test('when Terminal is the selection the primary opens a bare terminal', async () => {const user = userEvent.setup();const { onLaunchSelected } = renderButton({ selected: { kind: 'terminal' } });@@ -65,9 +108,10 @@ describe('TerminalNewChatButton (merged sessions-dock New button)', () => {expect(onLaunchSelected).toHaveBeenCalledTimes(1);});- test('when an agent is the selection the primary reads "New <agent> chat"', () => {+ test('when an agent is selected the visible label stays concise and the accessible name is specific', () => {renderButton({ selected: { kind: 'agent', agent: AGENT_A } });- expect(screen.getByRole('button', { name: 'New Agent A chat' })).toBeDefined();+ const primary = screen.getByRole('button', { name: 'New chat with Agent A' });+ expect(primary.textContent).not.toContain('Agent A');});test('the dropdown lists registered agents, Configure agents, every available CLI, and Terminal', async () => {diff --git a/packages/app/src/components/TerminalNewChatButton.tsx b/packages/app/src/components/TerminalNewChatButton.tsxindex b5364845d..305aa820d 100644--- a/packages/app/src/components/TerminalNewChatButton.tsx+++ b/packages/app/src/components/TerminalNewChatButton.tsx@@ -1,6 +1,5 @@import { TERMINAL_CLIS, type TerminalCli } from '@inkeep/open-knowledge-core';import { Trans, useLingui } from '@lingui/react/macro';-import { useQuery } from '@tanstack/react-query';import {Bot,CheckIcon,@@ -11,6 +10,7 @@ import {} from 'lucide-react';import { useState } from 'react';import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';+import { AgentSplitButton } from '@/components/handoff/AgentSplitButton';import { TargetIcon } from '@/components/handoff/OpenInAgentMenuItem';import { cliIconTargetId, VISIBLE_CLIS } from '@/components/handoff/terminal-cli-display';import { Button } from '@/components/ui/button';@@ -24,7 +24,7 @@ import {DropdownMenuTrigger,} from '@/components/ui/dropdown-menu';import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';-import { fetchAgentCatalog } from '@/lib/acp/catalog';+import { useAgentCatalogQuery } from '@/lib/acp/catalog';import type { RegisteredAgent } from '@/lib/acp/registered-agents';import type { NewSessionChoice } from '@/lib/new-session-choice';import { cn } from '@/lib/utils';@@ -42,6 +42,7 @@ interface TerminalNewChatButtonProps {readonly onPickTerminal: () => void;readonly visibleClis?: readonly TerminalCli[];readonly className?: string;+ readonly presentation?: 'toolbar' | 'panel';}export function TerminalNewChatButton({@@ -57,28 +58,112 @@ export function TerminalNewChatButton({onPickTerminal,visibleClis = VISIBLE_CLIS,className,+ presentation = 'toolbar',}: TerminalNewChatButtonProps) {const { t } = useLingui();const [menuOpen, setMenuOpen] = useState(false);- const catalog = useQuery({- queryKey: ['acp-catalog'],- queryFn: ({ signal }) => fetchAgentCatalog(signal),- enabled: menuOpen && showAgents,- staleTime: 5 * 60 * 1000,- });+ const catalog = useAgentCatalogQuery(menuOpen && showAgents);const maxThreads = catalog.data?.maxThreads ?? 8;const atCap = liveThreadCount >= maxThreads;const hasMenu = showAgents || showClis;+ const panel = presentation === 'panel';+ const agentName = selected.kind === 'agent' ? selected.agent?.name : undefined;const primaryLabel =selected.kind === 'terminal'? t`New terminal`: selected.kind === 'cli'? t`New ${TERMINAL_CLIS[selected.cli].displayName} chat`- : selected.agent !== null- ? t`New ${selected.agent.name} chat`+ : agentName !== undefined+ ? t`New chat with ${agentName}`: t`Start an agent`;+ const visiblePrimaryLabel = panel && agentName !== undefined ? t`New chat` : primaryLabel;++ if (panel) {+ return (+ <AgentSplitButton+ className={cn('w-full', className)}+ primaryClassName="min-w-0 flex-1 justify-start"+ primary={+ <>+ {selected.kind === 'terminal' ? null : (+ <NewSessionPrimaryIcon selected={selected} className="size-4" />+ )}+ <span className="truncate">{visiblePrimaryLabel}</span>+ </>+ }+ primaryAriaLabel={primaryLabel}+ onPrimary={onLaunchSelected}+ enabledTargets={[]}+ selectedTargetId={null}+ onSelectTarget={() => {}}+ threadAgents={+ showAgents+ ? registeredAgents.map((agent) => ({+ key: `${agent.source}:${agent.id}`,+ id: agent.id,+ name: agent.name,+ ...(agent.iconUrl !== undefined ? { iconUrl: agent.iconUrl } : {}),+ selected:+ selected.kind === 'agent' &&+ selected.agent?.source === agent.source &&+ selected.agent?.id === agent.id,+ disabled: atCap,+ onSelect: () => onPickAgent(agent),+ }))+ : undefined+ }+ threadAgentsFooter={+ atCap ? (+ <DropdownMenuLabel+ className="py-1 font-normal text-muted-foreground text-xs"+ data-testid="terminal-new-chat-cap"+ >+ <Trans>Maximum agents already running</Trans>+ </DropdownMenuLabel>+ ) : undefined+ }+ terminals={+ showClis+ ? visibleClis.map((cli) => ({+ cli,+ label: TERMINAL_CLIS[cli].displayName,+ ariaLabel: t`${TERMINAL_CLIS[cli].displayName} CLI`,+ selected: selected.kind === 'cli' && selected.cli === cli,+ onSelect: () => onPickCli(cli),+ }))+ : undefined+ }+ terminal={+ showClis+ ? {+ selected: selected.kind === 'terminal',+ onSelect: onPickTerminal,+ label: t`Terminal`,+ icon: <SquareTerminalIcon aria-hidden="true" className="size-4" />,+ ariaLabel: t`Terminal`,+ testId: 'terminal-new-chat-terminal',+ }+ : undefined+ }+ onOpenSettings={onOpenSettings}+ onMenuOpenChange={setMenuOpen}+ menuAlign="start"+ triggerAriaLabel={t`Choose what a new chat starts`}+ testIds={{+ primary: 'terminal-new-chat',+ trigger: 'terminal-new-chat-menu',+ menu: 'terminal-new-chat-menu-content',+ option: (id) => `terminal-new-chat-option-${id}`,+ terminal: (cli) => `terminal-new-chat-cli-${cli}`,+ threadAgent: (key) =>+ `terminal-new-chat-agent-${registeredAgents.find((agent) => `${agent.source}:${agent.id}` === key)?.id ?? key}`,+ settings: 'terminal-new-chat-settings',+ }}+ />+ );+ }return (<div className={cn('flex shrink-0 items-center', className)}>@@ -115,7 +200,7 @@ export function TerminalNewChatButton({size="icon-xs"aria-label={t`Choose what a new tab starts`}data-testid="terminal-new-chat-menu"- className="cursor-pointer rounded-l-none text-muted-foreground hover:text-foreground"+ className="cursor-pointer rounded-s-none text-muted-foreground hover:text-foreground"><ChevronDownIcon aria-hidden="true" className="size-3" /></Button>diff --git a/packages/app/src/components/acp/AcpHarnessAgentDetection.tsx b/packages/app/src/components/acp/AcpHarnessAgentDetection.tsxindex 691214027..c6000d12f 100644--- a/packages/app/src/components/acp/AcpHarnessAgentDetection.tsx+++ b/packages/app/src/components/acp/AcpHarnessAgentDetection.tsx@@ -1,14 +1,9 @@-import { useQuery } from '@tanstack/react-query';import { useEffect } from 'react';-import { detectedHarnessAgents, fetchAgentCatalog } from '@/lib/acp/catalog';+import { detectedHarnessAgents, useAgentCatalogQuery } from '@/lib/acp/catalog';import { setDetectedRegisteredAgentSuggestions } from '@/lib/acp/registered-agents';export function AcpHarnessAgentDetection() {- const catalog = useQuery({- queryKey: ['acp-catalog'],- queryFn: ({ signal }) => fetchAgentCatalog(signal),- staleTime: 5 * 60 * 1000,- });+ const catalog = useAgentCatalogQuery();useEffect(() => {const suggestions = detectedHarnessAgents(catalog.data?.agents ?? []).map((agent) => ({diff --git a/packages/app/src/components/acp/ThreadHistoryMenu.dom.test.tsx b/packages/app/src/components/acp/ThreadHistoryMenu.dom.test.tsxdeleted file mode 100644index f6f04770a..000000000--- a/packages/app/src/components/acp/ThreadHistoryMenu.dom.test.tsx+++ /dev/null@@ -1,110 +0,0 @@-import type { ThreadInfo } from '@inkeep/open-knowledge-core/acp/thread-protocol';-import { cleanup, render as rtlRender, screen } from '@testing-library/react';-import userEvent from '@testing-library/user-event';-import { afterEach, describe, expect, test, vi } from 'vitest';-import { TooltipProvider } from '@/components/ui/tooltip';--const renameThread = vi.fn((_threadId: string, _title: string) => {});-const deleteThread = vi.fn((_threadId: string) => {});--vi.doMock('@/lib/acp/thread-client', () => ({- getAgentThreadClient: () => ({ renameThread, deleteThread }),-}));--const { ThreadHistoryMenu } = await import('./ThreadHistoryMenu');--function thread(overrides?: Partial<ThreadInfo>): ThreadInfo {- return {- threadId: 't1',- agent: { id: 'claude-acp', name: 'Claude', source: 'registry' },- title: 'First prompt title',- status: 'exited',- createdAt: 1,- lastActivityAt: 2,- lastSeq: 5,- archived: true,- ...overrides,- };-}--function render(ui: Parameters<typeof rtlRender>[0]) {- return rtlRender(<TooltipProvider>{ui}</TooltipProvider>);-}--async function openMenu(openThreadIds: ReadonlySet<string> = new Set()) {- render(- <ThreadHistoryMenu- archived={[thread()]}- openThreadIds={openThreadIds}- onOpenThread={() => {}}- />,- );- await userEvent.click(screen.getByRole('button', { name: 'Reopen a past chat' }));-}--afterEach(() => {- cleanup();- renameThread.mockClear();- deleteThread.mockClear();-});--describe('ThreadHistoryMenu rename', () => {- test('renaming a chat sends the new title and seeds the field with the current one', async () => {- await openMenu();- await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));-- const input = screen.getByTestId('agent-thread-history-rename-input') as HTMLInputElement;- expect(input.value).toBe('First prompt title');-- await userEvent.clear(input);- await userEvent.type(input, 'Renamed chat');- await userEvent.click(screen.getByTestId('agent-thread-history-rename-save'));-- expect(renameThread).toHaveBeenCalledWith('t1', 'Renamed chat');- });-- test('Enter commits and Escape abandons the edit', async () => {- await openMenu();- await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));- await userEvent.clear(screen.getByTestId('agent-thread-history-rename-input'));- await userEvent.type(- screen.getByTestId('agent-thread-history-rename-input'),- 'Via enter{Enter}',- );- expect(renameThread).toHaveBeenCalledWith('t1', 'Via enter');-- await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));- await userEvent.type(screen.getByTestId('agent-thread-history-rename-input'), '{Escape}');- expect(screen.queryByTestId('agent-thread-history-rename-input')).toBeNull();- expect(renameThread).toHaveBeenCalledTimes(1);- });-- test('a blank name cannot be saved, rather than silently doing nothing', async () => {- await openMenu();- await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));- await userEvent.clear(screen.getByTestId('agent-thread-history-rename-input'));-- expect(- (screen.getByTestId('agent-thread-history-rename-save') as HTMLButtonElement).disabled,- ).toBe(true);-- await userEvent.type(screen.getByTestId('agent-thread-history-rename-input'), '{Enter}');- expect(renameThread).not.toHaveBeenCalled();- });-- test('a chat open as a tab can still be renamed, though it cannot be deleted', async () => {- await openMenu(new Set(['t1']));-- await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));- await userEvent.clear(screen.getByTestId('agent-thread-history-rename-input'));- await userEvent.type(- screen.getByTestId('agent-thread-history-rename-input'),- 'Still renamable{Enter}',- );- expect(renameThread).toHaveBeenCalledWith('t1', 'Still renamable');-- await userEvent.click(screen.getByTestId('agent-thread-history-delete-t1'));- expect(screen.queryByTestId('agent-thread-history-confirm')).toBeNull();- expect(deleteThread).not.toHaveBeenCalled();- });-});diff --git a/packages/app/src/components/acp/ThreadHistoryMenu.tsx b/packages/app/src/components/acp/ThreadHistoryMenu.tsxdeleted file mode 100644index 4c0ad602b..000000000--- a/packages/app/src/components/acp/ThreadHistoryMenu.tsx+++ /dev/null@@ -1,301 +0,0 @@-import type { ThreadInfo } from '@inkeep/open-knowledge-core/acp/thread-protocol';-import { t as tStatic } from '@lingui/core/macro';-import { useLingui } from '@lingui/react/macro';-import { History, Pencil, Trash2 } from 'lucide-react';-import { type ReactNode, useEffect, useId, useState } from 'react';-import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';-import { Button } from '@/components/ui/button';-import { Input } from '@/components/ui/input';-import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';-import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';-import { getAgentThreadClient } from '@/lib/acp/thread-client';-import { cn } from '@/lib/utils';--export function ThreadHistoryMenu({- archived,- openThreadIds,- onOpenThread,-}: {- archived: readonly ThreadInfo[];- openThreadIds: ReadonlySet<string>;- onOpenThread: (threadId: string) => void;-}): ReactNode {- const { t } = useLingui();- const client = getAgentThreadClient();- const [open, setOpen] = useState(false);- const [confirmingId, setConfirmingId] = useState<string | null>(null);- const [renamingId, setRenamingId] = useState<string | null>(null);- const [draftTitle, setDraftTitle] = useState('');- const [now, setNow] = useState(0);- const reasonId = useId();- const openTabReason = t`Close this chat's tab to delete it`;- return (- <Popover- open={open}- onOpenChange={(next) => {- setOpen(next);- if (next) setNow(Date.now());- else {- setConfirmingId(null);- setRenamingId(null);- }- }}- >- <Tooltip>- <TooltipTrigger asChild>- <PopoverTrigger asChild>- <Button- type="button"- variant="ghost"- size="icon-xs"- className="shrink-0 cursor-pointer text-muted-foreground hover:text-foreground"- aria-label={t`Reopen a past chat`}- data-testid="agent-thread-history"- >- <History aria-hidden="true" />- </Button>- </PopoverTrigger>- </TooltipTrigger>- <TooltipContent side="bottom" sideOffset={8}>- {t`Reopen a past chat`}- </TooltipContent>- </Tooltip>- <PopoverContent align="end" className="w-72 p-1">- <div className="max-h-80 overflow-y-auto">- {archived.map((thread) => {- const openAsTab = openThreadIds.has(thread.threadId);- if (renamingId === thread.threadId) {- const commit = (): void => {- if (draftTitle.trim() === '') return;- client.renameThread(thread.threadId, draftTitle);- setRenamingId(null);- };- return (- <div- key={thread.threadId}- className="flex items-center gap-1.5 rounded-md bg-muted/40 px-2 py-1"- data-testid="agent-thread-history-rename"- >- <Input- autoFocus- value={draftTitle}- aria-label={t`Chat name`}- className="h-6 min-w-0 flex-1 text-xs"- onChange={(event) => setDraftTitle(event.target.value)}- onKeyDown={(event) => {- if (event.key === 'Enter') {- event.preventDefault();- commit();- }- if (event.key === 'Escape') {- event.preventDefault();- setRenamingId(null);- }- }}- data-testid="agent-thread-history-rename-input"- />- <Button- type="button"- size="sm"- className="h-6 px-2 text-xs"- disabled={draftTitle.trim() === ''}- onClick={commit}- data-testid="agent-thread-history-rename-save"- >- {t`Save`}- </Button>- <Button- type="button"- size="sm"- variant="ghost"- className="h-6 px-2 text-xs"- onClick={() => setRenamingId(null)}- >- {t`Cancel`}- </Button>- </div>- );- }- if (confirmingId === thread.threadId && !openAsTab) {- return (- <div- key={thread.threadId}- className="flex items-center gap-1.5 rounded-md bg-destructive/5 px-2 py-1"- data-testid="agent-thread-history-confirm"- >- <span className="min-w-0 flex-1 truncate text-xs">{t`Delete this chat?`}</span>- <Button- type="button"- size="sm"- variant="destructive"- className="h-6 px-2 text-xs"- onClick={() => {- client.deleteThread(thread.threadId);- setConfirmingId(null);- }}- data-testid="agent-thread-history-confirm-delete"- >- {t`Delete`}- </Button>- <Button- type="button"- size="sm"- variant="ghost"- className="h-6 px-2 text-xs"- onClick={() => setConfirmingId(null)}- >- {t`Cancel`}- </Button>- </div>- );- }- const rowReasonId = `${reasonId}-${thread.threadId}`;- return (- <div key={thread.threadId} className="group flex items-center gap-0.5">- <Button- type="button"- variant="ghost"- className="h-auto min-w-0 flex-1 justify-start gap-2 px-2 py-1.5"- onClick={() => {- onOpenThread(thread.threadId);- setOpen(false);- }}- data-testid={`agent-thread-history-open-${thread.threadId}`}- >- <RegisteredAgentIcon- agentId={thread.agent.id}- iconUrl={thread.agent.iconUrl}- className="size-4 shrink-0"- />- <span className="min-w-0 flex-1 truncate text-left text-xs">{thread.title}</span>- <span className="shrink-0 text-[10px] text-muted-foreground">- {formatRelative(thread.lastActivityAt, now)}- </span>- </Button>- <Tooltip>- <TooltipTrigger asChild>- <Button- type="button"- variant="ghost"- size="icon-xs"- aria-label={t`Rename ${thread.title}`}- className="text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100"- onClick={() => {- setConfirmingId(null);- setDraftTitle(thread.title);- setRenamingId(thread.threadId);- }}- data-testid={`agent-thread-history-rename-${thread.threadId}`}- >- <Pencil className="size-3" aria-hidden="true" />- </Button>- </TooltipTrigger>- <TooltipContent side="bottom" sideOffset={8}>- {t`Rename ${thread.title}`}- </TooltipContent>- </Tooltip>- <Tooltip>- <TooltipTrigger asChild>- {}- <span className={cn('inline-flex', openAsTab && 'cursor-not-allowed')}>- <Button- type="button"- variant="ghost"- size="icon-xs"- aria-label={t`Delete ${thread.title}`}- aria-disabled={openAsTab || undefined}- aria-describedby={openAsTab ? rowReasonId : undefined}- className={cn(- 'opacity-0 transition-opacity focus-visible:opacity-100 group-hover:opacity-100',- openAsTab- ? 'cursor-not-allowed text-muted-foreground/50'- : 'text-muted-foreground hover:text-destructive',- )}- onClick={() => {- if (openAsTab) return;- setConfirmingId(thread.threadId);- }}- data-testid={`agent-thread-history-delete-${thread.threadId}`}- >- <Trash2 className="size-3" aria-hidden="true" />- </Button>- {openAsTab ? (- <span id={rowReasonId} className="sr-only">- {openTabReason}- </span>- ) : null}- </span>- </TooltipTrigger>- <TooltipContent side="bottom" sideOffset={8}>- {openAsTab ? openTabReason : t`Delete ${thread.title}`}- </TooltipContent>- </Tooltip>- </div>- );- })}- </div>- </PopoverContent>- </Popover>- );-}--export function ArchivedThreadChooser({- archived,- onOpen,-}: {- archived: readonly ThreadInfo[];- onOpen: (threadId: string) => void;-}): ReactNode {- const { t } = useLingui();- const [now, setNow] = useState(0);- useEffect(() => {- setNow(Date.now());- }, []);- return (- <div- className="flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto p-3"- data-testid="agent-thread-empty-chooser"- >- <p className="px-1 text-muted-foreground text-xs">- {t`No open chats. Reopen a past one, or start a new one with the + button.`}- </p>- <div className="flex flex-col gap-0.5">- {archived.map((thread) => (- <Button- key={thread.threadId}- type="button"- variant="ghost"- className="h-auto w-full min-w-0 justify-start gap-2 px-2 py-1.5"- onClick={() => onOpen(thread.threadId)}- data-testid={`agent-thread-empty-open-${thread.threadId}`}- >- <RegisteredAgentIcon- agentId={thread.agent.id}- iconUrl={thread.agent.iconUrl}- className="size-4 shrink-0"- />- <span className="min-w-0 flex-1 truncate text-left text-xs">{thread.title}</span>- <span className="shrink-0 text-[10px] text-muted-foreground">- {formatRelative(thread.lastActivityAt, now)}- </span>- </Button>- ))}- </div>- </div>- );-}--function formatRelative(ms: number, now: number): string {- const diff = Math.max(0, now - ms);- if (diff < 60_000) return tStatic`just now`;- if (diff < 3_600_000) {- const minutes = Math.round(diff / 60_000);- return tStatic`${minutes}m ago`;- }- if (diff < 86_400_000) {- const hours = Math.round(diff / 3_600_000);- return tStatic`${hours}h ago`;- }- const days = Math.round(diff / 86_400_000);- return tStatic`${days}d ago`;-}diff --git a/packages/app/src/components/acp/ThreadHistoryPanel.dom.test.tsx b/packages/app/src/components/acp/ThreadHistoryPanel.dom.test.tsxnew file mode 100644index 000000000..321262858--- /dev/null+++ b/packages/app/src/components/acp/ThreadHistoryPanel.dom.test.tsx@@ -0,0 +1,484 @@+import type { ThreadInfo } from '@inkeep/open-knowledge-core/acp/thread-protocol';+import {+ act,+ cleanup,+ fireEvent,+ render as rtlRender,+ screen,+ within,+} from '@testing-library/react';+import userEvent from '@testing-library/user-event';+import { useState } from 'react';+import { afterEach, describe, expect, test, vi } from 'vitest';+import { TooltipProvider } from '@/components/ui/tooltip';++const renameThread = vi.fn((_threadId: string, _title: string) => {});+const deleteThread = vi.fn((_threadId: string) => {});++vi.doMock('@/lib/acp/thread-client', () => ({+ getAgentThreadClient: () => ({ renameThread, deleteThread }),+}));++const { ThreadHistoryPanel, ThreadHistorySearchProvider, ThreadHistoryToggle } = await import(+ './ThreadHistoryPanel'+);++function thread(overrides?: Partial<ThreadInfo>): ThreadInfo {+ return {+ threadId: 't1',+ agent: { id: 'claude-acp', name: 'Claude', source: 'registry' },+ title: 'First prompt title',+ status: 'exited',+ createdAt: 1,+ lastActivityAt: 2,+ lastSeq: 5,+ archived: true,+ ...overrides,+ };+}++function render(ui: Parameters<typeof rtlRender>[0]) {+ return rtlRender(<TooltipProvider>{ui}</TooltipProvider>);+}++function HistoryHarness({+ threads,+ openThreadIds = new Set(),+ activeThreadId = null,+ onSelectThread = () => {},+ scope = 'project-a',+}: {+ threads: readonly ThreadInfo[];+ openThreadIds?: ReadonlySet<string>;+ activeThreadId?: string | null;+ onSelectThread?: (threadId: string) => void;+ scope?: string;+}) {+ const [open, setOpen] = useState(false);+ return (+ <ThreadHistorySearchProvider scope={scope}>+ <ThreadHistoryToggle open={open} panelId="history-panel-test" onOpenChange={setOpen} />+ {open ? (+ <ThreadHistoryPanel+ threads={threads}+ openThreadIds={openThreadIds}+ activeThreadId={activeThreadId}+ onSelectThread={onSelectThread}+ mode="cover"+ panelId="history-panel-test"+ onDismiss={() => setOpen(false)}+ />+ ) : null}+ </ThreadHistorySearchProvider>+ );+}++async function openMenu(+ openThreadIds: ReadonlySet<string> = new Set(),+ onSelectThread: (threadId: string) => void = () => {},+) {+ render(+ <HistoryHarness+ threads={[thread()]}+ openThreadIds={openThreadIds}+ activeThreadId={null}+ onSelectThread={onSelectThread}+ />,+ );+ await userEvent.click(screen.getByRole('button', { name: 'Chat history' }));+}++afterEach(() => {+ cleanup();+ vi.restoreAllMocks();+ renameThread.mockClear();+ deleteThread.mockClear();+});++describe('ThreadHistoryPanel rename', () => {+ test('cover mode has a back action that dismisses history', async () => {+ await openMenu();++ expect(screen.getByRole('heading', { name: 'Chat history' })).toBeDefined();+ await userEvent.click(screen.getByRole('button', { name: 'Back' }));++ expect(screen.queryByTestId('agent-thread-history-panel')).toBeNull();+ });++ test('uses the shared sidebar menu anatomy without file-sidebar state', async () => {+ await openMenu();++ const panel = screen.getByTestId('agent-thread-history-panel');+ const row = screen.getByTestId('agent-thread-history-open-t1');+ const action = screen.getByTestId('agent-thread-history-rename-t1');++ expect(panel.querySelector('[data-sidebar="header"]')).not.toBeNull();+ expect(panel.querySelector('[data-sidebar="content"]')).not.toBeNull();+ expect(panel.querySelector('[data-sidebar="group"]')).not.toBeNull();+ expect(panel.querySelector('[data-sidebar="menu"]')).not.toBeNull();+ expect(row.getAttribute('data-sidebar')).toBe('menu-button');+ expect(row.closest('[data-sidebar="menu-item"]')).not.toBeNull();+ expect(action.closest('[data-sidebar="menu-action"]')).not.toBeNull();+ });++ test('renaming a chat saves on blur and seeds the field with the current title', async () => {+ await openMenu();+ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));++ const input = screen.getByTestId('agent-thread-history-rename-input') as HTMLInputElement;+ expect(input.value).toBe('First prompt title');+ expect(screen.queryByTestId('agent-thread-history-rename-save')).toBeNull();++ await userEvent.clear(input);+ await userEvent.type(input, 'Renamed chat');+ await userEvent.click(screen.getByRole('searchbox', { name: 'Search chat history' }));++ expect(renameThread).toHaveBeenCalledWith('t1', 'Renamed chat');+ expect(screen.queryByTestId('agent-thread-history-rename-input')).toBeNull();+ });++ test('Enter commits and Escape abandons the edit', async () => {+ await openMenu();+ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));+ await userEvent.clear(screen.getByTestId('agent-thread-history-rename-input'));+ await userEvent.type(+ screen.getByTestId('agent-thread-history-rename-input'),+ 'Via enter{Enter}',+ );+ expect(renameThread).toHaveBeenCalledWith('t1', 'Via enter');++ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));+ await userEvent.type(screen.getByTestId('agent-thread-history-rename-input'), '{Escape}');+ expect(screen.queryByTestId('agent-thread-history-rename-input')).toBeNull();+ expect(renameThread).toHaveBeenCalledTimes(1);+ });++ test('IME composition does not save or cancel a rename', async () => {+ await openMenu();+ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));+ const input = screen.getByTestId('agent-thread-history-rename-input');++ fireEvent.keyDown(input, { key: 'Enter', isComposing: true });+ expect(renameThread).not.toHaveBeenCalled();+ expect(screen.getByTestId('agent-thread-history-rename-input')).toBe(input);++ fireEvent.keyDown(input, { key: 'Escape', isComposing: true });+ expect(screen.getByTestId('agent-thread-history-rename-input')).toBe(input);+ expect(screen.getByRole('button', { name: 'Chat history' }).getAttribute('aria-expanded')).toBe(+ 'true',+ );+ });++ test('row actions do not select the conversation', async () => {+ const onSelectThread = vi.fn((_threadId: string) => {});+ await openMenu(new Set(), onSelectThread);++ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));++ expect(onSelectThread).not.toHaveBeenCalled();+ });++ test('a blank name exits rename without replacing the title', async () => {+ await openMenu();+ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));+ await userEvent.clear(screen.getByTestId('agent-thread-history-rename-input'));++ await userEvent.type(screen.getByTestId('agent-thread-history-rename-input'), '{Enter}');+ expect(renameThread).not.toHaveBeenCalled();+ expect(screen.queryByTestId('agent-thread-history-rename-input')).toBeNull();+ });++ test('a chat open as a tab can still be renamed, though it cannot be deleted', async () => {+ await openMenu(new Set(['t1']));++ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));+ await userEvent.clear(screen.getByTestId('agent-thread-history-rename-input'));+ await userEvent.type(+ screen.getByTestId('agent-thread-history-rename-input'),+ 'Still renamable{Enter}',+ );+ expect(renameThread).toHaveBeenCalledWith('t1', 'Still renamable');++ await userEvent.click(screen.getByTestId('agent-thread-history-delete-t1'));+ expect(screen.queryByRole('alertdialog')).toBeNull();+ expect(deleteThread).not.toHaveBeenCalled();+ });++ test('a live chat keeps a disabled delete action until its tab is closed', async () => {+ render(+ <HistoryHarness+ threads={[thread({ archived: false })]}+ openThreadIds={new Set(['t1'])}+ activeThreadId="t1"+ onSelectThread={() => {}}+ />,+ );+ await userEvent.click(screen.getByRole('button', { name: 'Chat history' }));++ expect(screen.getByTestId('agent-thread-history-rename-t1')).toBeDefined();+ const deleteAction = screen.getByTestId('agent-thread-history-delete-t1');+ expect(deleteAction.getAttribute('aria-disabled')).toBe('true');+ await userEvent.click(deleteAction);+ expect(screen.queryByRole('alertdialog')).toBeNull();+ expect(deleteThread).not.toHaveBeenCalled();+ expect(screen.getByTestId('agent-thread-history-open-t1').getAttribute('aria-current')).toBe(+ 'true',+ );+ });++ test('deleting an archived chat requires confirmation in a dialog', async () => {+ const onSelectThread = vi.fn((_threadId: string) => {});+ await openMenu(new Set(), onSelectThread);++ await userEvent.click(screen.getByTestId('agent-thread-history-delete-t1'));++ const dialog = screen.getByRole('alertdialog');+ expect(within(dialog).getByRole('heading', { name: 'Delete chat?' })).toBeDefined();+ expect(dialog.textContent).toContain('First prompt title');+ expect(dialog.textContent).toContain('This action cannot be undone.');+ expect(screen.getByTestId('agent-thread-history-open-t1')).toBeDefined();+ expect(deleteThread).not.toHaveBeenCalled();+ expect(onSelectThread).not.toHaveBeenCalled();++ await userEvent.click(within(dialog).getByRole('button', { name: 'Cancel' }));+ expect(screen.queryByRole('alertdialog')).toBeNull();+ expect(deleteThread).not.toHaveBeenCalled();++ await userEvent.click(screen.getByTestId('agent-thread-history-delete-t1'));+ await userEvent.click(+ within(screen.getByRole('alertdialog')).getByRole('button', { name: 'Delete' }),+ );+ expect(deleteThread).toHaveBeenCalledWith('t1');+ });+});++function panelTree(mode: 'cover' | 'docked', threads: readonly ThreadInfo[]) {+ return (+ <TooltipProvider>+ <ThreadHistorySearchProvider scope="project-a">+ <ThreadHistoryPanel+ threads={threads}+ openThreadIds={new Set()}+ activeThreadId={null}+ onSelectThread={() => {}}+ mode={mode}+ panelId="history-panel-test"+ onDismiss={() => {}}+ />+ </ThreadHistorySearchProvider>+ </TooltipProvider>+ );+}++describe('ThreadHistoryPanel elapsed time', () => {+ test('relative activity keeps tracking elapsed time while the panel stays mounted', () => {+ vi.useFakeTimers();+ try {+ const start = new Date(2026, 8, 15, 12).getTime();+ vi.setSystemTime(start);+ rtlRender(panelTree('docked', [thread({ lastActivityAt: start })]));++ expect(screen.getByTestId('agent-thread-history-open-t1').textContent).toContain('just now');++ act(() => {+ vi.advanceTimersByTime(120_000);+ });++ expect(screen.getByTestId('agent-thread-history-open-t1').textContent).toContain('2m ago');+ } finally {+ vi.useRealTimers();+ }+ });++ test('a conversation crossing local midnight moves from Today to Older', () => {+ vi.useFakeTimers();+ try {+ const lateLastNight = new Date(2026, 8, 15, 23, 59).getTime();+ vi.setSystemTime(lateLastNight + 10_000);+ rtlRender(panelTree('docked', [thread({ lastActivityAt: lateLastNight })]));++ expect(screen.getByRole('list', { name: 'Today' })).toBeDefined();++ act(() => {+ vi.advanceTimersByTime(60_000);+ });++ expect(screen.queryByRole('list', { name: 'Today' })).toBeNull();+ expect(screen.getByRole('list', { name: 'Older' })).toBeDefined();+ } finally {+ vi.useRealTimers();+ }+ });++ test('a presentation-mode change neither moves focus nor commits a pending rename', async () => {+ const threads = [thread()];+ const view = rtlRender(panelTree('docked', threads));++ await userEvent.click(screen.getByTestId('agent-thread-history-rename-t1'));+ const input = screen.getByTestId('agent-thread-history-rename-input') as HTMLInputElement;+ await userEvent.clear(input);+ await userEvent.type(input, 'Half typed');+ expect(document.activeElement).toBe(input);++ view.rerender(panelTree('cover', threads));++ expect(document.activeElement).toBe(input);+ expect(renameThread).not.toHaveBeenCalled();+ expect(+ (screen.getByTestId('agent-thread-history-rename-input') as HTMLInputElement).value,+ ).toBe('Half typed');+ });+});++describe('ThreadHistoryPanel search', () => {+ test('title matching ignores case and surrounding whitespace across live and archived chats', async () => {+ render(+ <HistoryHarness+ threads={[+ thread({+ threadId: 'live-match',+ title: 'Architecture planning',+ archived: false,+ }),+ thread({+ threadId: 'archived-match',+ title: 'Past ARCHITECTURE review',+ }),+ thread({ threadId: 'nonmatch', title: 'Release checklist' }),+ ]}+ openThreadIds={new Set(['live-match'])}+ activeThreadId="live-match"+ onSelectThread={() => {}}+ />,+ );+ await userEvent.click(screen.getByRole('button', { name: 'Chat history' }));++ await userEvent.type(+ screen.getByRole('searchbox', { name: 'Search chat history' }),+ ' aRcHi ',+ );++ expect(screen.getByTestId('agent-thread-history-open-live-match')).toBeDefined();+ expect(screen.getByTestId('agent-thread-history-open-archived-match')).toBeDefined();+ expect(screen.queryByTestId('agent-thread-history-open-nonmatch')).toBeNull();+ expect(renameThread).not.toHaveBeenCalled();+ expect(deleteThread).not.toHaveBeenCalled();++ await userEvent.click(screen.getByRole('button', { name: 'Clear history search' }));+ await userEvent.type(screen.getByRole('searchbox', { name: 'Search chat history' }), ' ');+ expect(screen.getByTestId('agent-thread-history-open-nonmatch')).toBeDefined();+ });++ test('groups by local calendar date and orders activity with a stable thread tie-break', async () => {+ const now = new Date(2026, 8, 15, 12).getTime();+ const tiedActivity = new Date(2026, 8, 15, 9).getTime();+ vi.spyOn(Date, 'now').mockReturnValue(now);+ render(+ <HistoryHarness+ threads={[+ thread({+ threadId: 'older',+ title: 'Yesterday locally',+ lastActivityAt: new Date(2026, 8, 14, 23, 59).getTime(),+ }),+ thread({ threadId: 'today-b', title: 'Tie B', lastActivityAt: tiedActivity }),+ thread({+ threadId: 'today-newest',+ title: 'Newest today',+ lastActivityAt: new Date(2026, 8, 15, 11).getTime(),+ }),+ thread({ threadId: 'today-a', title: 'Tie A', lastActivityAt: tiedActivity }),+ ]}+ />,+ );+ await userEvent.click(screen.getByRole('button', { name: 'Chat history' }));++ const today = screen.getByRole('list', { name: 'Today' });+ const older = screen.getByRole('list', { name: 'Older' });+ expect(+ within(today)+ .getAllByTestId(/^agent-thread-history-open-/)+ .map((row) => row.getAttribute('data-testid')),+ ).toEqual([+ 'agent-thread-history-open-today-newest',+ 'agent-thread-history-open-today-a',+ 'agent-thread-history-open-today-b',+ ]);+ expect(within(older).getByTestId('agent-thread-history-open-older')).toBeDefined();+ });++ test('distinguishes no matches from empty history and clears without changing selection', async () => {+ const onSelectThread = vi.fn((_threadId: string) => {});+ const { rerender } = render(+ <HistoryHarness+ threads={[thread({ lastActivityAt: Date.now() })]}+ activeThreadId="t1"+ onSelectThread={onSelectThread}+ />,+ );+ await userEvent.click(screen.getByRole('button', { name: 'Chat history' }));+ const status = screen.getByRole('status');+ expect(status.textContent).toBe('');+ const search = screen.getByRole('searchbox', { name: 'Search chat history' });+ await userEvent.type(search, 'missing title');++ expect(screen.getByRole('heading', { name: 'No chats match your search' })).toBeDefined();+ expect(status.textContent).toBe('No chats match your search');+ expect(screen.queryByRole('heading', { name: 'No chats yet.' })).toBeNull();+ expect(screen.queryByRole('region', { name: 'Today' })).toBeNull();+ expect(screen.queryByRole('region', { name: 'Older' })).toBeNull();++ await userEvent.click(screen.getByRole('button', { name: 'Clear history search' }));++ expect((search as HTMLInputElement).value).toBe('');+ expect(screen.getByTestId('agent-thread-history-open-t1').getAttribute('aria-current')).toBe(+ 'true',+ );+ expect(onSelectThread).not.toHaveBeenCalled();+ expect(document.activeElement).toBe(search);++ rerender(+ <TooltipProvider>+ <HistoryHarness threads={[]} activeThreadId="t1" onSelectThread={onSelectThread} />+ </TooltipProvider>,+ );+ expect(screen.getByRole('status').textContent).toBe('No chats yet.');+ });++ test('keeps an active query while roster title, status, and activity metadata update', async () => {+ const original = [+ thread({ threadId: 'draft', title: 'Draft plan', lastActivityAt: 1 }),+ thread({ threadId: 'release', title: 'Release notes', lastActivityAt: 2 }),+ ];+ const view = render(<HistoryHarness threads={original} />);+ await userEvent.click(screen.getByRole('button', { name: 'Chat history' }));+ await userEvent.type(screen.getByRole('searchbox', { name: 'Search chat history' }), 'release');+ expect(screen.queryByTestId('agent-thread-history-open-draft')).toBeNull();++ view.rerender(+ <TooltipProvider>+ <HistoryHarness+ threads={[+ thread({+ threadId: 'draft',+ title: 'Release plan',+ status: 'running',+ lastActivityAt: 3,+ }),+ original[1],+ ]}+ />+ </TooltipProvider>,+ );++ const rows = screen.getAllByTestId(/^agent-thread-history-open-/);+ expect(rows.map((row) => row.getAttribute('data-testid'))).toEqual([+ 'agent-thread-history-open-draft',+ 'agent-thread-history-open-release',+ ]);+ expect(rows[0]?.textContent).not.toContain('Running');+ expect(+ (screen.getByRole('searchbox', { name: 'Search chat history' }) as HTMLInputElement).value,+ ).toBe('release');+ });+});diff --git a/packages/app/src/components/acp/ThreadHistoryPanel.tsx b/packages/app/src/components/acp/ThreadHistoryPanel.tsxnew file mode 100644index 000000000..045aa4545--- /dev/null+++ b/packages/app/src/components/acp/ThreadHistoryPanel.tsx@@ -0,0 +1,522 @@+import type { ThreadInfo } from '@inkeep/open-knowledge-core/acp/thread-protocol';+import { t as tStatic } from '@lingui/core/macro';+import { useLingui } from '@lingui/react/macro';+import { ChevronLeft, History, Pencil, Search, Trash2, X } from 'lucide-react';+import {+ createContext,+ type ReactNode,+ type RefObject,+ use,+ useEffect,+ useId,+ useImperativeHandle,+ useRef,+ useState,+} from 'react';+import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';+import { DeleteConfirmationDialog } from '@/components/DeleteConfirmationDialog';+import { AlertDialog } from '@/components/ui/alert-dialog';+import { Button } from '@/components/ui/button';+import { Empty, EmptyHeader, EmptyTitle } from '@/components/ui/empty';+import { Input } from '@/components/ui/input';+import {+ InputGroup,+ InputGroupAddon,+ InputGroupButton,+ InputGroupInput,+} from '@/components/ui/input-group';+import {+ SidebarContent,+ SidebarFooter,+ SidebarGroup,+ SidebarGroupContent,+ SidebarGroupLabel,+ SidebarHeader,+ SidebarMenu,+ SidebarMenuAction,+ SidebarMenuButton,+ SidebarMenuItem,+} from '@/components/ui/sidebar';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';+import { getAgentThreadClient } from '@/lib/acp/thread-client';+import { cn } from '@/lib/utils';++interface ThreadHistoryContentProps {+ readonly threads: readonly ThreadInfo[];+ readonly openThreadIds: ReadonlySet<string>;+ readonly activeThreadId: string | null;+ readonly onSelectThread: (threadId: string) => void;+}++export type ThreadHistoryMode = 'cover' | 'docked';++interface ThreadHistorySearchState {+ readonly query: string;+ readonly setQuery: (query: string) => void;+}++const RELATIVE_TIME_TICK_MS = 30_000;++const ThreadHistorySearchContext = createContext<ThreadHistorySearchState | null>(null);++interface ThreadDeleteDialogController {+ readonly open: (thread: ThreadInfo) => void;+}++export function ThreadHistorySearchProvider({+ scope,+ children,+}: {+ readonly scope: string | null;+ readonly children: ReactNode;+}): ReactNode {+ const [query, setQuery] = useState('');+ useEffect(() => {+ void scope;+ setQuery('');+ }, [scope]);+ return (+ <ThreadHistorySearchContext value={{ query, setQuery }}>{children}</ThreadHistorySearchContext>+ );+}++export function ThreadHistoryToggle({+ open,+ panelId,+ triggerRef,+ onOpenChange,+}: {+ readonly open: boolean;+ readonly panelId: string;+ readonly triggerRef?: RefObject<HTMLButtonElement | null>;+ readonly onOpenChange: (open: boolean) => void;+}): ReactNode {+ const { t } = useLingui();+ return (+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ ref={triggerRef}+ type="button"+ variant="ghost"+ size="icon-xs"+ className="shrink-0 cursor-pointer text-muted-foreground hover:text-foreground"+ aria-label={t`Chat history`}+ aria-expanded={open}+ aria-controls={panelId}+ data-testid="agent-thread-history"+ onClick={() => onOpenChange(!open)}+ >+ <History aria-hidden="true" />+ </Button>+ </TooltipTrigger>+ <TooltipContent side="bottom" sideOffset={8}>+ {t`Chat history`}+ </TooltipContent>+ </Tooltip>+ );+}++function ThreadDeleteDialog({+ controllerRef,+}: {+ readonly controllerRef: RefObject<ThreadDeleteDialogController | null>;+}): ReactNode {+ const { t } = useLingui();+ const [thread, setThread] = useState<ThreadInfo | null>(null);+ useImperativeHandle(controllerRef, () => ({ open: setThread }), []);++ if (thread === null) return null;++ return (+ <AlertDialog+ open+ onOpenChange={(open) => {+ if (!open) setThread(null);+ }}+ >+ <DeleteConfirmationDialog+ itemName={thread.title}+ customTitle={t`Delete chat?`}+ isSubmitting={false}+ onDelete={() => {+ getAgentThreadClient().deleteThread(thread.threadId);+ setThread(null);+ }}+ />+ </AlertDialog>+ );+}++function ThreadHistoryRow({+ thread,+ openAsTab,+ active,+ mode,+ now,+ reasonId,+ openTabReason,+ deleteDialogRef,+ onSelectThread,+ onDismiss,+}: {+ readonly thread: ThreadInfo;+ readonly openAsTab: boolean;+ readonly active: boolean;+ readonly mode: ThreadHistoryMode;+ readonly now: number;+ readonly reasonId: string;+ readonly openTabReason: string;+ readonly deleteDialogRef: RefObject<ThreadDeleteDialogController | null>;+ readonly onSelectThread: (threadId: string) => void;+ readonly onDismiss: (reason: 'explicit' | 'selection') => void;+}): ReactNode {+ const { t } = useLingui();+ const [draftTitle, setDraftTitle] = useState<string | null>(null);+ const cancelRenameRef = useRef(false);++ if (draftTitle !== null) {+ const endRename = (): void => {+ const title = draftTitle.trim();+ if (!cancelRenameRef.current && title !== '' && title !== thread.title) {+ getAgentThreadClient().renameThread(thread.threadId, title);+ }+ cancelRenameRef.current = false;+ setDraftTitle(null);+ };+ return (+ <SidebarMenuItem className="[contain-intrinsic-size:auto_2.25rem] [content-visibility:auto]">+ <div className="rounded-md bg-sidebar-accent p-1" data-testid="agent-thread-history-rename">+ <Input+ autoFocus+ value={draftTitle}+ aria-label={t`Chat name`}+ className="h-7 min-w-0 text-sm"+ onChange={(event) => setDraftTitle(event.target.value)}+ onKeyDown={(event) => {+ if (event.nativeEvent.isComposing) return;+ if (event.key === 'Enter') {+ event.preventDefault();+ event.currentTarget.blur();+ }+ if (event.key === 'Escape') {+ event.preventDefault();+ cancelRenameRef.current = true;+ event.currentTarget.blur();+ }+ }}+ onBlur={endRename}+ data-testid="agent-thread-history-rename-input"+ />+ </div>+ </SidebarMenuItem>+ );+ }++ const rowReasonId = `${reasonId}-${thread.threadId}`;+ const deleteBlocked = openAsTab || thread.archived !== true;+ return (+ <SidebarMenuItem+ className={cn(+ 'rounded-md [--thread-row-destructive-foreground:var(--sidebar-hover-destructive-foreground)] [--thread-row-foreground:var(--sidebar-hover-foreground)] [--thread-row-muted-foreground:var(--sidebar-hover-muted-foreground)] [contain-intrinsic-size:auto_2.25rem] [content-visibility:auto]',+ active+ ? 'bg-[var(--thread-row-bg)] [--thread-row-bg:var(--sidebar-selected)] [--thread-row-destructive-foreground:var(--sidebar-selected-destructive-foreground)] [--thread-row-foreground:var(--sidebar-selected-foreground)] [--thread-row-muted-foreground:var(--sidebar-selected-muted-foreground)]'+ : 'hover:bg-[var(--thread-row-bg)] focus-within:bg-[var(--thread-row-bg)] [--thread-row-bg:var(--sidebar-hover)]',+ )}+ >+ <SidebarMenuButton+ type="button"+ size="default"+ isActive={active}+ aria-current={active ? 'true' : undefined}+ className="h-9 bg-transparent pr-2! text-sidebar-foreground hover:bg-transparent hover:text-[var(--thread-row-foreground)] active:bg-transparent data-active:bg-transparent data-active:text-[var(--thread-row-foreground)] data-active:hover:bg-transparent group-focus-within/menu-item:text-[var(--thread-row-foreground)] group-hover/menu-item:text-[var(--thread-row-foreground)]"+ onClick={() => {+ onSelectThread(thread.threadId);+ if (mode === 'cover') onDismiss('selection');+ }}+ data-testid={`agent-thread-history-open-${thread.threadId}`}+ >+ <RegisteredAgentIcon+ agentId={thread.agent.id}+ iconUrl={thread.agent.iconUrl}+ className="size-4 shrink-0"+ />+ <span className="min-w-0 flex-1 truncate text-start">{thread.title}</span>+ <span className="shrink-0 text-2xs text-[var(--thread-row-muted-foreground)] motion-safe:transition-opacity group-focus-within/menu-item:opacity-0 group-hover/menu-item:opacity-0">+ {formatRelative(thread.lastActivityAt, now)}+ </span>+ </SidebarMenuButton>+ <SidebarMenuAction+ asChild+ showOnHover+ className="pointer-events-none inset-y-0 top-0! end-0! z-10 aspect-auto h-auto w-auto overflow-visible rounded-none rounded-e-md bg-[var(--thread-row-bg)] p-1 opacity-0 shadow-none before:pointer-events-none before:absolute before:inset-y-0 before:end-full before:w-8 before:bg-[linear-gradient(to_right,transparent,var(--thread-row-bg))] after:hidden hover:bg-[var(--thread-row-bg)] group-focus-within/menu-item:pointer-events-auto group-hover/menu-item:pointer-events-auto rtl:before:bg-[linear-gradient(to_left,transparent,var(--thread-row-bg))]"+ >+ <div className="flex items-center gap-0.5">+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ type="button"+ variant="ghost"+ size="icon-xs"+ aria-label={t`Rename ${thread.title}`}+ className="rounded-sm bg-transparent text-[var(--thread-row-muted-foreground)] shadow-none hover:bg-transparent hover:text-[var(--thread-row-foreground)]"+ onClick={() => {+ cancelRenameRef.current = false;+ setDraftTitle(thread.title);+ }}+ data-testid={`agent-thread-history-rename-${thread.threadId}`}+ >+ <Pencil className="size-3" aria-hidden="true" />+ </Button>+ </TooltipTrigger>+ <TooltipContent side="bottom" sideOffset={8}>+ {t`Rename chat`}+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <span className={cn('inline-flex', deleteBlocked && 'cursor-not-allowed')}>+ <Button+ type="button"+ variant="ghost"+ size="icon-xs"+ aria-label={t`Delete ${thread.title}`}+ aria-disabled={deleteBlocked || undefined}+ aria-describedby={deleteBlocked ? rowReasonId : undefined}+ className={cn(+ deleteBlocked+ ? 'pointer-events-none cursor-not-allowed bg-transparent text-muted-foreground/35 shadow-none hover:bg-transparent hover:text-muted-foreground/35 active:translate-y-0'+ : 'rounded-sm bg-transparent text-[var(--thread-row-muted-foreground)] shadow-none hover:bg-transparent hover:text-[var(--thread-row-destructive-foreground)]',+ )}+ onClick={() => {+ if (deleteBlocked) return;+ deleteDialogRef.current?.open(thread);+ }}+ data-testid={`agent-thread-history-delete-${thread.threadId}`}+ >+ <Trash2 className="size-3" aria-hidden="true" />+ </Button>+ {deleteBlocked ? (+ <span id={rowReasonId} className="sr-only">+ {openTabReason}+ </span>+ ) : null}+ </span>+ </TooltipTrigger>+ <TooltipContent side="bottom" sideOffset={8}>+ {deleteBlocked ? openTabReason : t`Delete chat`}+ </TooltipContent>+ </Tooltip>+ </div>+ </SidebarMenuAction>+ </SidebarMenuItem>+ );+}++export function ThreadHistoryPanel({+ threads,+ openThreadIds,+ activeThreadId,+ onSelectThread,+ mode,+ panelId,+ onDismiss,+ newChatControl,+}: ThreadHistoryContentProps & {+ readonly mode: ThreadHistoryMode;+ readonly panelId: string;+ readonly onDismiss: (reason: 'explicit' | 'selection') => void;+ readonly newChatControl?: ReactNode;+}): ReactNode {+ const { t } = useLingui();+ const search = use(ThreadHistorySearchContext);+ if (search === null) throw new Error('ThreadHistoryPanel requires ThreadHistorySearchProvider');+ const { query, setQuery } = search;+ const [now, setNow] = useState(() => Date.now());+ const deleteDialogRef = useRef<ThreadDeleteDialogController>(null);+ const searchInputRef = useRef<HTMLInputElement>(null);+ const openedInModeRef = useRef(mode);+ const reasonId = useId();+ const openTabReason = t`Close this chat's tab to delete it`;+ const normalizedQuery = query.trim().toLowerCase();+ const visibleThreads = threads+ .filter((thread) => thread.title.toLowerCase().includes(normalizedQuery))+ .sort(compareHistoryThreads);+ const todayThreads = visibleThreads.filter((thread) =>+ isSameLocalDate(thread.lastActivityAt, now),+ );+ const olderThreads = visibleThreads.filter(+ (thread) => !isSameLocalDate(thread.lastActivityAt, now),+ );+ const groups = [+ { key: 'today', label: t`Today`, threads: todayThreads },+ { key: 'older', label: t`Older`, threads: olderThreads },+ ].filter((group) => group.threads.length > 0);+ const clearQuery = (): void => {+ setQuery('');+ searchInputRef.current?.focus();+ };+ useEffect(() => {+ const timer = setInterval(() => setNow(Date.now()), RELATIVE_TIME_TICK_MS);+ return () => clearInterval(timer);+ }, []);+ useEffect(() => {+ searchInputRef.current?.focus({ preventScroll: openedInModeRef.current === 'cover' });+ }, []);+ return (+ <aside+ id={panelId}+ aria-label={t`Chat history`}+ className="flex h-full min-h-0 w-full flex-col bg-muted/20 text-sidebar-foreground [--sidebar-accent-foreground:var(--foreground)]"+ data-testid="agent-thread-history-panel"+ data-history-mode={mode}+ onKeyDown={(event) => {+ if (event.key !== 'Escape' || event.nativeEvent.isComposing || event.defaultPrevented)+ return;+ event.preventDefault();+ onDismiss('explicit');+ }}+ >+ <SidebarHeader className="shrink-0 gap-0">+ {mode === 'cover' ? (+ <div className="mb-2 flex h-8 items-center gap-1">+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ type="button"+ variant="ghost"+ size="icon-sm"+ aria-label={t`Back`}+ data-testid="agent-thread-history-back"+ onClick={() => onDismiss('explicit')}+ >+ <ChevronLeft aria-hidden="true" />+ </Button>+ </TooltipTrigger>+ <TooltipContent side="bottom" sideOffset={8}>+ {t`Back`}+ </TooltipContent>+ </Tooltip>+ <h2 className="font-mono text-xs font-normal uppercase tracking-wide text-muted-foreground">+ {t`Chat history`}+ </h2>+ </div>+ ) : null}+ <InputGroup className="border-none bg-muted-foreground/5">+ <InputGroupAddon>+ <Search aria-hidden="true" />+ </InputGroupAddon>+ <InputGroupInput+ ref={searchInputRef}+ type="search"+ className="[&::-webkit-search-cancel-button]:hidden"+ name="chat-history-search"+ autoComplete="off"+ spellCheck={false}+ value={query}+ aria-label={t`Search chat history`}+ placeholder={t`Search chats`}+ onChange={(event) => setQuery(event.target.value)}+ />+ {query !== '' ? (+ <InputGroupAddon align="inline-end">+ <InputGroupButton+ size="icon-xs"+ aria-label={t`Clear history search`}+ onClick={clearQuery}+ >+ <X aria-hidden="true" />+ </InputGroupButton>+ </InputGroupAddon>+ ) : null}+ </InputGroup>+ </SidebarHeader>+ <SidebarContent className="px-1 pb-1 scroll-fade-mask">+ <div+ role="status"+ aria-atomic="true"+ className={threads.length === 0 ? 'flex min-h-0 flex-1 flex-col' : undefined}+ >+ {threads.length === 0 ? (+ <Empty className="min-h-32 p-4">+ <EmptyHeader>+ <EmptyTitle className="font-normal text-muted-foreground" asChild>+ <h2>{t`No chats yet.`}</h2>+ </EmptyTitle>+ </EmptyHeader>+ </Empty>+ ) : visibleThreads.length === 0 ? (+ <h2 className="px-4 py-6 text-center text-sm font-normal text-muted-foreground">+ {t`No chats match your search`}+ </h2>+ ) : null}+ </div>+ {groups.map((group) => (+ <SidebarGroup key={group.key} className="mt-1 p-0 first:mt-0">+ <SidebarGroupLabel+ asChild+ className="text-xs text-muted-foreground font-normal uppercase tracking-wide font-mono"+ >+ <h2 id={`${reasonId}-${group.key}`}>{group.label}</h2>+ </SidebarGroupLabel>+ <SidebarGroupContent>+ <SidebarMenu aria-labelledby={`${reasonId}-${group.key}`}>+ {group.threads.map((thread) => (+ <ThreadHistoryRow+ key={thread.threadId}+ thread={thread}+ openAsTab={openThreadIds.has(thread.threadId)}+ active={activeThreadId === thread.threadId}+ mode={mode}+ now={now}+ reasonId={reasonId}+ openTabReason={openTabReason}+ deleteDialogRef={deleteDialogRef}+ onSelectThread={onSelectThread}+ onDismiss={onDismiss}+ />+ ))}+ </SidebarMenu>+ </SidebarGroupContent>+ </SidebarGroup>+ ))}+ </SidebarContent>+ {newChatControl != null ? (+ <SidebarFooter className="shrink-0 gap-0">{newChatControl}</SidebarFooter>+ ) : null}+ <ThreadDeleteDialog controllerRef={deleteDialogRef} />+ </aside>+ );+}++function compareHistoryThreads(a: ThreadInfo, b: ThreadInfo): number {+ if (a.lastActivityAt !== b.lastActivityAt) return b.lastActivityAt - a.lastActivityAt;+ if (a.threadId < b.threadId) return -1;+ if (a.threadId > b.threadId) return 1;+ return 0;+}++function isSameLocalDate(a: number, b: number): boolean {+ const first = new Date(a);+ const second = new Date(b);+ return (+ first.getFullYear() === second.getFullYear() &&+ first.getMonth() === second.getMonth() &&+ first.getDate() === second.getDate()+ );+}++function formatRelative(ms: number, now: number): string {+ const diff = Math.max(0, now - ms);+ if (diff < 60_000) return tStatic`just now`;+ if (diff < 3_600_000) {+ const minutes = Math.round(diff / 60_000);+ return tStatic`${minutes}m ago`;+ }+ if (diff < 86_400_000) {+ const hours = Math.round(diff / 3_600_000);+ return tStatic`${hours}h ago`;+ }+ const days = Math.round(diff / 86_400_000);+ return tStatic`${days}d ago`;+}diff --git a/packages/app/src/components/handoff/AgentSplitButton.tsx b/packages/app/src/components/handoff/AgentSplitButton.tsxindex bb1f4790f..729e0fbb8 100644--- a/packages/app/src/components/handoff/AgentSplitButton.tsx+++ b/packages/app/src/components/handoff/AgentSplitButton.tsx@@ -17,6 +17,7 @@ import {DropdownMenuSeparator,DropdownMenuTrigger,} from '@/components/ui/dropdown-menu';+import { cn } from '@/lib/utils';export interface TerminalCliRow {readonly cli: TerminalCli;@@ -32,6 +33,7 @@ export interface ThreadAgentRow {readonly name: string;readonly iconUrl?: string;readonly selected: boolean;+ readonly disabled?: boolean;readonly onSelect: () => void;}@@ -61,6 +63,10 @@ export function AgentSplitButton({onMenuOpenChange,menuAlign = 'end',menuAttributes,+ className,+ primaryClassName,+ primaryAriaLabel,+ threadAgentsFooter,triggerAriaLabel,testIds,}: {@@ -70,7 +76,14 @@ export function AgentSplitButton({enabledTargets: readonly TargetData[];selectedTargetId: HandoffTarget | null;onSelectTarget: (target: TargetData) => void;- terminal?: { selected: boolean; onSelect: () => void };+ terminal?: {+ selected: boolean;+ onSelect: () => void;+ label?: ReactNode;+ icon?: ReactNode;+ ariaLabel?: string;+ testId?: string;+ };terminals?: readonly TerminalCliRow[];threadAgents?: readonly ThreadAgentRow[];onOpenSettings: () => void;@@ -79,6 +92,10 @@ export function AgentSplitButton({onMenuOpenChange?: (open: boolean) => void;menuAlign?: 'start' | 'end';menuAttributes?: Readonly<{ 'data-composer-portal'?: string }>;+ className?: string;+ primaryClassName?: string;+ primaryAriaLabel?: string;+ threadAgentsFooter?: ReactNode;triggerAriaLabel: string;testIds: AgentSplitButtonTestIds;}) {@@ -92,12 +109,13 @@ export function AgentSplitButton({typeof testIds.terminal === 'function' ? testIds.terminal(cli) : testIds.terminal;return (- <ButtonGroup>+ <ButtonGroup className={className}><Buttontype="button"variant="outline"- className="gap-1.5"+ className={cn('gap-1.5', primaryClassName)}disabled={primaryDisabled}+ aria-label={primaryAriaLabel}onClick={onPrimary}data-testid={testIds.primary}>@@ -138,7 +156,9 @@ export function AgentSplitButton({<DropdownMenuItemkey={row.key}onSelect={row.onSelect}+ disabled={row.disabled}data-testid={testIds.threadAgent?.(row.key)}+ aria-current={row.selected ? 'true' : undefined}><RegisteredAgentIconagentId={row.id}@@ -151,6 +171,7 @@ export function AgentSplitButton({) : null}</DropdownMenuItem>))}+ {threadAgentsFooter}</DropdownMenuGroup>{hasOptions ? <DropdownMenuSeparator /> : null}</>@@ -163,40 +184,39 @@ export function AgentSplitButton({<Trans>Terminal</Trans></DropdownMenuLabel>{}- {cliRows ? (- cliRows.map((row) => (- <DropdownMenuItem- key={row.cli}- onSelect={row.onSelect}- data-testid={terminalTestId(row.cli)}- aria-label={row.ariaLabel}- >- {}- <TargetIcon- id={cliIconTargetId(row.cli)}- className="size-4"- aria-hidden="true"- />- <span className="flex-1">{row.label}</span>- {row.selected ? (- <Check aria-hidden="true" className="size-4 text-muted-foreground" />- ) : null}- </DropdownMenuItem>- ))- ) : terminal ? (+ {cliRows?.map((row) => (<DropdownMenuItem- onSelect={terminal.onSelect}- data-testid={terminalTestId('claude')}- aria-label={t`Claude CLI`}+ key={row.cli}+ onSelect={row.onSelect}+ data-testid={terminalTestId(row.cli)}+ aria-label={row.ariaLabel}>+ {}<TargetIcon- id={cliIconTargetId('claude')}+ id={cliIconTargetId(row.cli)}className="size-4"aria-hidden="true"/>- <span className="flex-1">- <Trans>Claude</Trans>- </span>+ <span className="flex-1">{row.label}</span>+ {row.selected ? (+ <Check aria-hidden="true" className="size-4 text-muted-foreground" />+ ) : null}+ </DropdownMenuItem>+ ))}+ {terminal ? (+ <DropdownMenuItem+ onSelect={terminal.onSelect}+ data-testid={terminal.testId ?? terminalTestId('claude')}+ aria-label={terminal.ariaLabel ?? t`Claude CLI`}+ >+ {terminal.icon ?? (+ <TargetIcon+ id={cliIconTargetId('claude')}+ className="size-4"+ aria-hidden="true"+ />+ )}+ <span className="flex-1">{terminal.label ?? <Trans>Claude</Trans>}</span>{terminal.selected ? (<Check aria-hidden="true" className="size-4 text-muted-foreground" />) : null}diff --git a/packages/app/src/components/ui/button.tsx b/packages/app/src/components/ui/button.tsxindex 3e2271d53..0b3b7a18d 100644--- a/packages/app/src/components/ui/button.tsx+++ b/packages/app/src/components/ui/button.tsx@@ -20,7 +20,7 @@ const buttonVariants = cva(ghost:'hover:bg-muted hover:text-foreground text-muted-foreground data-[state=open]:bg-muted data-[state=open]:text-foreground dark:hover:bg-muted/50',destructive:- 'bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40 font-mono uppercase',+ 'bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:text-[color-mix(in_oklab,var(--destructive),white_12%)] dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40 font-mono uppercase',link: 'text-primary underline-offset-4 hover:underline','link-muted': 'text-muted-foreground hover:text-foreground font-normal',},diff --git a/packages/app/src/components/ui/empty.dom.test.tsx b/packages/app/src/components/ui/empty.dom.test.tsxindex 3612ea6fa..45c760b2a 100644--- a/packages/app/src/components/ui/empty.dom.test.tsx+++ b/packages/app/src/components/ui/empty.dom.test.tsx@@ -115,6 +115,18 @@ describe('EmptyTitle', () => {expect(screen.queryByRole('heading')).toBeNull();});+ test('leaves the text colour to the caller, so a consumer heading keeps its own contrast', () => {+ const { container } = render(<EmptyTitle>Nothing here</EmptyTitle>);++ const tokens = (slot(container, 'empty-title').getAttribute('class') ?? '')+ .split(/\s+/)+ .filter((token) => token.length > 0);++ expect(tokens.toSorted()).toEqual(+ ['font-heading', 'font-medium', 'text-sm', 'tracking-tight'].toSorted(),+ );+ });+test('asChild keeps the caller element, so a heading stays a heading', () => {const { container } = render(<EmptyTitle asChild>diff --git a/packages/app/src/components/ui/sidebar.tsx b/packages/app/src/components/ui/sidebar.tsxindex 29a7f42fe..8d6c112a8 100644--- a/packages/app/src/components/ui/sidebar.tsx+++ b/packages/app/src/components/ui/sidebar.tsx@@ -509,7 +509,7 @@ function SidebarGroupAction({data-slot="sidebar-group-action"data-sidebar="group-action"className={cn(- 'absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0',+ 'absolute top-3.5 end-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0',className,)}{...props}@@ -586,7 +586,7 @@ function SidebarMenuButton({tooltip?: string | React.ComponentProps<typeof TooltipContent>;} & VariantProps<typeof sidebarMenuButtonVariants>) {const Comp = asChild ? Slot.Root : 'button';- const { state } = useSidebar();+ const sidebar = React.use(SidebarContext);const button = (<Comp@@ -603,6 +603,10 @@ function SidebarMenuButton({return button;}+ if (!sidebar) {+ throw new Error('SidebarMenuButton tooltip requires a SidebarProvider.');+ }+if (typeof tooltip === 'string') {tooltip = {children: tooltip,@@ -612,7 +616,12 @@ function SidebarMenuButton({return (<Tooltip><TooltipTrigger asChild>{button}</TooltipTrigger>- <TooltipContent side="right" align="center" hidden={state !== 'collapsed'} {...tooltip} />+ <TooltipContent+ side="right"+ align="center"+ hidden={sidebar.state !== 'collapsed'}+ {...tooltip}+ /></Tooltip>);}@@ -633,7 +642,7 @@ function SidebarMenuAction({data-slot="sidebar-menu-action"data-sidebar="menu-action"className={cn(- 'absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0',+ 'absolute top-1.5 end-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0',showOnHover &&'group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0',className,@@ -649,7 +658,7 @@ function SidebarMenuBadge({ className, ...props }: React.ComponentProps<'div'>)data-slot="sidebar-menu-badge"data-sidebar="menu-badge"className={cn(- 'pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground',+ 'pointer-events-none absolute end-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground',className,)}{...props}diff --git a/packages/app/src/globals.css b/packages/app/src/globals.cssindex 8b1655b2e..962d71b2b 100644--- a/packages/app/src/globals.css+++ b/packages/app/src/globals.css@@ -3209,6 +3209,9 @@ button:active:not(:disabled) {--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);--color-sidebar-accent: var(--sidebar-accent);--color-sidebar-hover: var(--sidebar-hover);+ --color-sidebar-hover-foreground: var(--sidebar-hover-foreground);+ --color-sidebar-selected: var(--sidebar-selected);+ --color-sidebar-selected-foreground: var(--sidebar-selected-foreground);--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);--color-sidebar-primary: var(--sidebar-primary);--color-sidebar-foreground: var(--sidebar-foreground);@@ -3320,6 +3323,13 @@ button:active:not(:disabled) {); /* based off of azure-900 with lower opacity */--sidebar-accent-foreground: var(--color-azure-600);--sidebar-hover: oklch(0.97 0 0);+ --sidebar-hover-foreground: oklch(0.145 0 0);+ --sidebar-hover-muted-foreground: #707070;+ --sidebar-hover-destructive-foreground: var(--destructive);+ --sidebar-selected: color-mix(in oklab, var(--sidebar-hover), #000 2%);+ --sidebar-selected-foreground: #000;+ --sidebar-selected-muted-foreground: #6c6c6c;+ --sidebar-selected-destructive-foreground: var(--destructive);--sidebar-border: oklch(0.922 0 0);--sidebar-ring: oklch(0.708 0 0);@@ -3433,6 +3443,13 @@ button:active:not(:disabled) {--sidebar-accent: oklch(0.274 0.006 286.033);--sidebar-accent-foreground: var(--color-sky-blue);--sidebar-hover: oklch(0.269 0 0 / 50%);+ --sidebar-hover-foreground: oklch(0.985 0 0);+ --sidebar-hover-muted-foreground: var(--muted-foreground);+ --sidebar-hover-destructive-foreground: var(--destructive);+ --sidebar-selected: color-mix(in oklab, var(--sidebar-hover), #fff 4%);+ --sidebar-selected-foreground: #fff;+ --sidebar-selected-muted-foreground: var(--muted-foreground);+ --sidebar-selected-destructive-foreground: var(--destructive);--sidebar-border: oklch(1 0 0 / 10%);--sidebar-ring: oklch(0.556 0 0);diff --git a/packages/app/src/hooks/use-history-presentation-mode.ts b/packages/app/src/hooks/use-history-presentation-mode.tsnew file mode 100644index 000000000..fbe33adcb--- /dev/null+++ b/packages/app/src/hooks/use-history-presentation-mode.ts@@ -0,0 +1,46 @@+import { useLayoutEffect, useState } from 'react';+import type { ThreadHistoryMode } from '@/components/acp/ThreadHistoryPanel';++export const HISTORY_PANEL_WIDTH_PX = 248;+const HISTORY_MIN_TRANSCRIPT_WIDTH_PX = 300;+const HISTORY_DIVIDER_WIDTH_PX = 1;++function historyModeForPaneWidth(width: number): ThreadHistoryMode {+ return width >=+ HISTORY_PANEL_WIDTH_PX + HISTORY_MIN_TRANSCRIPT_WIDTH_PX + HISTORY_DIVIDER_WIDTH_PX+ ? 'docked'+ : 'cover';+}++export function useHistoryPresentationMode(+ container: HTMLElement | null,+ enabled: boolean,+): { mode: ThreadHistoryMode; remeasure: () => void } {+ const [mode, setMode] = useState<ThreadHistoryMode>('cover');++ useLayoutEffect(() => {+ if (!enabled || container == null) return;+ let frame = 0;+ const updateMode = () => {+ window.cancelAnimationFrame(frame);+ frame = window.requestAnimationFrame(() => {+ setMode(historyModeForPaneWidth(container.getBoundingClientRect().width));+ });+ };+ updateMode();+ const observer = new ResizeObserver(updateMode);+ observer.observe(container);+ return () => {+ window.cancelAnimationFrame(frame);+ observer.disconnect();+ };+ }, [container, enabled]);++ return {+ mode,+ remeasure: () => {+ if (container == null) return;+ setMode(historyModeForPaneWidth(container.getBoundingClientRect().width));+ },+ };+}diff --git a/packages/app/src/lib/acp/catalog.dom.test.tsx b/packages/app/src/lib/acp/catalog.dom.test.tsxindex 9807d50db..cdba4a996 100644--- a/packages/app/src/lib/acp/catalog.dom.test.tsx+++ b/packages/app/src/lib/acp/catalog.dom.test.tsx@@ -2,7 +2,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';import { cleanup, render, waitFor } from '@testing-library/react';import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';import type { AgentCatalog } from './catalog';-import { useHydrateRegisteredAgentMeta } from './catalog';+import { useAgentCatalogQuery, useHydrateRegisteredAgentMeta } from './catalog';import {getDefaultRegisteredAgent,registerAgent,@@ -40,6 +40,11 @@ function Harness() {return null;}+function CatalogObserver({ enabled }: { enabled: boolean }) {+ useAgentCatalogQuery(enabled);+ return null;+}+beforeEach(() => {localStorage.clear();reloadRegisteredAgentsFromStorage();@@ -51,6 +56,33 @@ beforeEach(() => {afterEach(() => cleanup());+describe('useAgentCatalogQuery', () => {+ test('a failed catalog read is logged once however many instances observe the shared query', async () => {+ const consoleError = vi.spyOn(console, 'error').mockImplementation(() => {});+ globalThis.fetch = vi.fn(async () => ({+ ok: false,+ status: 503,+ json: async () => ({}),+ })) as unknown as typeof fetch;+ const client = new QueryClient({ defaultOptions: { queries: { retry: false } } });++ render(+ <QueryClientProvider client={client}>+ <CatalogObserver enabled />+ <CatalogObserver enabled={false} />+ </QueryClientProvider>,+ );++ await waitFor(() => expect(consoleError).toHaveBeenCalled());+ expect(+ consoleError.mock.calls.filter(+ ([message]) => message === '[acp-catalog] agent catalog request failed',+ ),+ ).toHaveLength(1);+ consoleError.mockRestore();+ });+});+describe('useHydrateRegisteredAgentMeta', () => {test('fills a seeded agent brand icon from the catalog on mount', async () => {registerAgent({ source: 'registry', id: 'claude-acp', name: 'Claude' });diff --git a/packages/app/src/lib/acp/catalog.ts b/packages/app/src/lib/acp/catalog.tsindex 3e9f655d6..5b33e910b 100644--- a/packages/app/src/lib/acp/catalog.ts+++ b/packages/app/src/lib/acp/catalog.ts@@ -60,12 +60,28 @@ export async function fetchAgentCatalog(signal?: AbortSignal): Promise<AgentCata};}-export function useHydrateRegisteredAgentMeta(): void {- const { data } = useQuery({+const AGENT_CATALOG_STALE_MS = 5 * 60 * 1000;++let lastLoggedCatalogError: unknown = null;++export function useAgentCatalogQuery(enabled = true) {+ const query = useQuery({queryKey: ['acp-catalog'],queryFn: ({ signal }) => fetchAgentCatalog(signal),- staleTime: 5 * 60 * 1000,+ staleTime: AGENT_CATALOG_STALE_MS,+ enabled,});+ const { error } = query;+ useEffect(() => {+ if (error == null || error === lastLoggedCatalogError) return;+ lastLoggedCatalogError = error;+ console.error('[acp-catalog] agent catalog request failed', error);+ }, [error]);+ return query;+}++export function useHydrateRegisteredAgentMeta(): void {+ const { data } = useAgentCatalogQuery();const agents = data?.agents;useEffect(() => {diff --git a/packages/app/src/lib/acp/thread-client.test.ts b/packages/app/src/lib/acp/thread-client.test.tsindex f4c1cbd4e..e292ab141 100644--- a/packages/app/src/lib/acp/thread-client.test.ts+++ b/packages/app/src/lib/acp/thread-client.test.ts@@ -22,6 +22,116 @@ describe('AgentThreadClient store snapshots', () => {test('getConnectionStatus is idle before any URL is set', () => {expect(new AgentThreadClient().getConnectionStatus()).toBe('idle');});++ test('the thread scope publishes project retargets without treating reconnects as a new scope', () => {+ class FakeSocket {+ static OPEN = 1;+ readyState = 0;+ close(): void {}+ }+ vi.stubGlobal('WebSocket', FakeSocket);+ try {+ const client = new AgentThreadClient();+ const listener = vi.fn();+ client.subscribe(listener);++ client.setUrl('ws://project-a/collab/thread');+ expect(client.getThreadScope()).toBe('ws://project-a/collab/thread');+ const retargetNotifications = listener.mock.calls.length;++ client.setUrl('ws://project-a/collab/thread');+ expect(listener).toHaveBeenCalledTimes(retargetNotifications);++ client.setUrl('ws://project-b/collab/thread');+ expect(client.getThreadScope()).toBe('ws://project-b/collab/thread');+ expect(listener.mock.calls.length).toBeGreaterThan(retargetNotifications);+ } finally {+ vi.unstubAllGlobals();+ }+ });++ test('retargeting clears the previous project roster before the next socket opens', () => {+ class FakeSocket {+ static OPEN = 1;+ static instances: FakeSocket[] = [];+ readyState = 0;+ sent: string[] = [];+ constructor() {+ FakeSocket.instances.push(this);+ }+ close(): void {}+ send(frame: string): void {+ this.sent.push(frame);+ }+ }+ vi.stubGlobal('WebSocket', FakeSocket);+ try {+ const client = new AgentThreadClient();+ const archived: ThreadInfo = {+ threadId: 'project-a-archive',+ agent: { id: 'a', name: 'A', source: 'custom' },+ title: 'Project A',+ status: 'exited',+ createdAt: 1,+ lastActivityAt: 1,+ modes: null,+ configOptions: null,+ lastSeq: -1,+ archived: true,+ };+ client.setUrl('ws://project-a/collab/thread');+ client.receiveServerFrame(JSON.stringify({ op: 'threads', threads: [archived] }));+ expect(client.getThreads()).toEqual([archived]);++ client.setUrl('ws://project-b/collab/thread');+ expect(client.getThreads()).toEqual([]);+ expect(client.getOpenTabs()).toEqual([]);+ const projectBSocket = FakeSocket.instances.at(-1);+ if (projectBSocket === undefined) throw new Error('project B socket was not created');+ projectBSocket.readyState = FakeSocket.OPEN;+ client.openArchivedThread(archived.threadId);+ expect(projectBSocket.sent).toEqual([]);+ expect(client.getOpenTabs()).toEqual([]);+ } finally {+ vi.unstubAllGlobals();+ }+ });++ test('retargeting away and back preserves unread activity', () => {+ class FakeSocket {+ static OPEN = 1;+ readyState = 0;+ close(): void {}+ }+ vi.stubGlobal('WebSocket', FakeSocket);+ try {+ const client = new AgentThreadClient();+ const original: ThreadInfo = {+ threadId: 'project-a-thread',+ agent: { id: 'a', name: 'A', source: 'custom' },+ title: 'Project A',+ status: 'ready',+ createdAt: 1,+ lastActivityAt: 1,+ modes: null,+ configOptions: null,+ lastSeq: -1,+ };+ client.setUrl('ws://project-a/collab/thread');+ client.receiveServerFrame(JSON.stringify({ op: 'threads', threads: [original] }));+ expect(client.getThreadUnread(original.threadId)).toBe(false);++ client.setUrl('ws://project-b/collab/thread');+ client.setUrl('ws://project-a/collab/thread');+ client.receiveServerFrame(+ JSON.stringify({ op: 'threads', threads: [{ ...original, lastActivityAt: 2 }] }),+ );++ expect(client.getThreadUnread(original.threadId)).toBe(true);+ } finally {+ vi.unstubAllGlobals();+ }+ });});describe('initial roster attribution (agents-panel reload absorb)', () => {@@ -238,6 +348,20 @@ describe('batched event delivery', () => {expect(client.getThread('t1')?.events).toHaveLength(1);expect(client.getThread('t1')?.lastSeq).toBe(0);});++ test('title changes preserve the thread activity timestamp', () => {+ const { client, frame } = makeClient();+ frame({+ op: 'event',+ threadId: 't1',+ seq: 0,+ event: { kind: 'title_changed', title: 'Renamed', ts: 99 },+ });+ expect(client.getThread('t1')?.info).toMatchObject({+ title: 'Renamed',+ lastActivityAt: 1,+ });+ });});describe('queue edit settlement', () => {@@ -495,8 +619,8 @@ describe('store hooks return the useSyncExternalStore subscription value (React'useAgentThreads','useAgentThread','useAgentThreadConnection',+ 'useAgentThreadScope','useOpenAgentThreadTabs',- 'useArchivedAgentThreads',]) {test(`${hook} returns useSyncExternalStore(...) rather than discarding it`, () => {const body = hookBody(hook);@@ -558,6 +682,48 @@ describe('unread affordance (PRD-8021)', () => {expect(client.getThreadUnread(info.threadId)).toBe(true);});+ test('a deleted thread receives a fresh read floor if its id reappears', () => {+ const { client, bump } = boot();+ bump({ ...info, lastActivityAt: 200 });+ expect(client.getThreadUnread(info.threadId)).toBe(true);++ client.deleteThread(info.threadId);+ client.receiveServerFrame(+ JSON.stringify({ op: 'threads', threads: [{ ...info, lastActivityAt: 300 }] }),+ );++ expect(client.getThreadUnread(info.threadId)).toBe(false);+ });++ test('closing a thread preserves its read floor when the archived roster re-emits it', () => {+ const { client, bump } = boot();+ bump({ ...info, lastActivityAt: 200 });+ expect(client.getThreadUnread(info.threadId)).toBe(true);++ client.closeThread(info.threadId);+ client.receiveServerFrame(+ JSON.stringify({+ op: 'threads',+ threads: [{ ...info, lastActivityAt: 200, archived: true }],+ }),+ );++ expect(client.getThreadUnread(info.threadId)).toBe(true);+ });++ test('a thread dropped from the roster receives a fresh read floor if its id reappears', () => {+ const { client, bump } = boot();+ bump({ ...info, lastActivityAt: 200 });+ expect(client.getThreadUnread(info.threadId)).toBe(true);++ client.receiveServerFrame(JSON.stringify({ op: 'threads', threads: [] }));+ client.receiveServerFrame(+ JSON.stringify({ op: 'threads', threads: [{ ...info, lastActivityAt: 300 }] }),+ );++ expect(client.getThreadUnread(info.threadId)).toBe(false);+ });+test('only settled `ready` tabs report unread — a running turn already pulses via its status dot', () => {const { client, bump } = boot();client.markThreadViewed(info.threadId);diff --git a/packages/app/src/lib/acp/thread-client.ts b/packages/app/src/lib/acp/thread-client.tsindex 2d2a04323..ae4ab5223 100644--- a/packages/app/src/lib/acp/thread-client.ts+++ b/packages/app/src/lib/acp/thread-client.ts@@ -121,12 +121,13 @@ export class AgentThreadClient {setUrl(url: string | null): void {if (url === this.url) return;- this.url = url;- if (this.initialRosterIds !== null) {- this.initialRosterIds = null;- this.bump();- }this.teardownSocket();+ this.url = url;+ this.initialRosterIds = null;+ this.threads.clear();+ this.modelBuilders.clear();+ this.openedArchived.clear();+ this.bump();if (url !== null) this.connect();else this.setStatus('idle');}@@ -161,19 +162,6 @@ export class AgentThreadClient {return this.openTabsSnapshot;};- private archivedSnapshot: ThreadInfo[] = [];- private archivedSnapshotVersion = -1;- getArchivedThreads = (): ThreadInfo[] => {- if (this.archivedSnapshotVersion !== this.version) {- this.archivedSnapshot = [...this.threads.values()]- .map((t) => t.info)- .filter((info) => info.archived === true)- .sort((a, b) => b.lastActivityAt - a.lastActivityAt);- this.archivedSnapshotVersion = this.version;- }- return this.archivedSnapshot;- };-getThread = (threadId: string): ThreadState | null => this.threads.get(threadId) ?? null;getInitialRosterThreadIds = (): ReadonlySet<string> | null => this.initialRosterIds;@@ -192,6 +180,8 @@ export class AgentThreadClient {getConnectionStatus = (): ThreadConnectionStatus => this.status;+ getThreadScope = (): string | null => this.url;+async createThread(params: {agent: { source: 'registry' | 'custom'; id: string };prompt?: string;@@ -376,6 +366,7 @@ export class AgentThreadClient {this.openedArchived.delete(threadId);this.resumingThreads.delete(threadId);this.modelBuilders.delete(threadId);+ this.lastViewedByThread.delete(threadId);if (this.threads.delete(threadId)) this.bump();}@@ -607,6 +598,7 @@ export class AgentThreadClient {this.modelBuilders.delete(threadId);this.openedArchived.delete(threadId);this.resumingThreads.delete(threadId);+ this.lastViewedByThread.delete(threadId);dropped = true;}}@@ -823,7 +815,7 @@ function applyEventToInfo(info: ThreadInfo, event: ThreadEvent): ThreadInfo {case 'status':return { ...info, status: event.status, lastActivityAt: event.ts };case 'title_changed':- return { ...info, title: event.title, lastActivityAt: event.ts };+ return { ...info, title: event.title };default:return { ...info, lastActivityAt: event.ts };}@@ -851,14 +843,6 @@ export function useInitialRosterThreadIds(): ReadonlySet<string> | null {);}-export function useArchivedAgentThreads(): ThreadInfo[] {- return useSyncExternalStore(- client.subscribe,- client.getArchivedThreads,- client.getArchivedThreads,- );-}-export function useAgentThread(threadId: string): ThreadState | null {const getSnapshot = () => client.getThread(threadId);return useSyncExternalStore(client.subscribe, getSnapshot, getSnapshot);@@ -882,6 +866,10 @@ export function useAgentThreadConnection(): ThreadConnectionStatus {);}+export function useAgentThreadScope(): string | null {+ return useSyncExternalStore(client.subscribe, client.getThreadScope, client.getThreadScope);+}+export function threadUrlFromCollabUrl(collabUrl: string | null): string | null {if (collabUrl === null) return null;try {diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.jsonindex 2ed6d8cbe..bf35ef7a2 100644--- a/packages/app/src/locales/ar/messages.json+++ b/packages/app/src/locales/ar/messages.json@@ -660,7 +660,6 @@],"6Aih4U": ["غير متصل"],"6EoD0z": ["الحل في الطرفية"],- "6FCixu": ["إعادة فتح محادثة سابقة"],"6HCOwA": ["فشل الفتح."],"6KCH4m": ["الملفات المخفية"],"6KXnz5": ["يمكنك استعادة هذا الملف من المهملات."],@@ -670,6 +669,7 @@"6MnZEC": ["فشل تحميل الطرفية"],"6Nea1q": ["استخدام ", ["0"], " للوضع الداكن النشط"],"6O626z": ["لا توجد عناوين تطابق «", ["trimmedAnchorQuery"], "»"],+ "6PsaMr": ["إعادة تسمية الدردشة"],"6Pxqwv": ["لا توجد قوالب مشروع بعد. أنشئ واحدًا لإتاحته في كل مكان في هذا المشروع. أما القوالب المقيَّدة بمجلد فتعيش في صفحة النظرة العامة لكل مجلد."],@@ -904,6 +904,7 @@"8PmoQF": ["افتح قائمة الإدراج في موضع نصي فارغ أو نشط."],"8QLpZe": ["توقّف الخادم. أعد تشغيله لإعادة الاتصال."],"8RtNI0": ["فشل تحميل المستندات"],+ "8SVvE7": ["مسح البحث في السجل"],"8TvlHF": ["تفريغ الأعطال"],"8Uv5e6": ["الوكلاء"],"8VLpRT": [@@ -1890,6 +1891,7 @@"If0crP": ["الفتح بالذكاء الاصطناعي ", ["targetDisplayName"], "، ", ["hint"]],"IgN3LY": ["على النص المحدد في <0>", ["address"], "</0>"],"IgTwLt": ["افتح هذا المستند في المحرر واطوِ الرسم البياني."],+ "IgkKDg": ["حذف الدردشة؟"],"Ik-gP0": ["العنوان H", ["level"], ": ", ["text"]],"ImTzPZ": ["هذا الجهاز"],"IoHQYP": ["التحقق من الروابط غير متاح. جارٍ عرض آخر المشكلات المعروفة."],@@ -1967,6 +1969,7 @@"Jnz9AY": [["0"], " فوق ", ["destination"], "."],"Jqqevv": ["خطأ في النظام"],"JrqL_z": ["إدراج صف أعلاه"],+ "Jrwm42": ["تعذّر تحميل وكلائك."],"JsHvhz": ["أعلى من إرشاد ",["budgetLabel"],@@ -2821,6 +2824,7 @@"» في الوقت المناسب. أعد التحميل للمحاولة مرة أخرى."],"ScwcF2": ["يوجد مشروع بالفعل في هذا الموقع. اختر مجلدًا أبًا مختلفًا."],+ "Sdv6pQ": ["سجل الدردشة"],"Sg-6Bo": [["errorCount",@@ -2902,7 +2906,6 @@"Tofsyo": ["نقل Terminal إلى الأسفل"],"TpqW74": ["ثابت"],"Tq3pcs": ["الاحتفاظ بنسختي"],- "Tq9kNX": ["لا توجد محادثات مفتوحة. أعد فتح محادثة سابقة، أو ابدأ محادثة جديدة بزر +."],"TsZmgr": ["الملف على القرص، والمعرّف الذي يستخدمه الوكلاء."],"TvY_XA": ["التوثيق"],"TwYboS": ["تنقّل بين نتائج بحث مصدر CodeMirror أو أغلق لوحة البحث."],@@ -3160,6 +3163,7 @@"W9NSe0": ["جارٍ التحقق من الروابط"],"W9_Bub": ["تتداخل التغييرات المحلية مع المزامنة الواردة"],"WBNpt9": ["تعذّرت قراءة هذه السمة (", ["0"], ")"],+ "WC8Mr6": ["تعذّر بدء سلسلة الوكيل."],"WEYdDv": ["موصى به"],"WFEbV1": ["أشِر إلى مشكلات Markdown الشائعة في المحرر. مدعوم بـ <0>markdownlint<1/></0>."],"WG3MZ4": ["تم تحديد ", ["0"], " مهارات"],@@ -3369,6 +3373,7 @@],"YEP3X2": ["احذف جدولًا عندما يغطي تحديد الخلايا النشط الجدول بأكمله."],"YEzhIr": ["سحب ودفع"],+ "YFpLoV": ["حذف الدردشة"],"YGIi_c": ["إعادة التثبيت"],"YGNRB5": ["— باستثناء"],"YGt-0e": ["يجري القراءة…"],@@ -3602,6 +3607,7 @@"_fZSIY": ["لم يغيّر OpenKnowledge هذا الملف لأنه لم يتمكن من تحليله بأمان. أصلح الملف يدويًا ثم أعد المحاولة."],+ "_fwE6J": ["الأقدم"],"_gO_m8": ["في انتظار موافقتك"],"_gkGSK": ["حذف قالبًا"],"_oqKcJ": ["أدخل 3 أحرف على الأقل للبحث حسب المعنى."],@@ -3618,6 +3624,7 @@"a3LDKx": ["الأمان"],"a45f2c": ["أنماط glob التي ينطبق عليها هذا المخطط"],"a4FRQv": ["هل تتراجع إلى هذا التعديل؟"],+ "a4xYoA": ["البحث عن الدردشات"],"a5Gha5": ["منعت التغييرات المحلية الدمج"],"a5W0q0": ["هل أنت متأكد أنك تريد حذف ",@@ -3860,6 +3867,7 @@"cklVjM": ["الخط الزمني"],"clJ3qM": ["تم."],"cnGeoo": ["حذف"],+ "cnR7h2": ["لا توجد دردشات تطابق بحثك"],"cqQyPB": ["اسم المجلد"],"crqzW5": ["أدوات الذكاء الاصطناعي"],"cs4mps": ["مشاركة الإعدادات"],@@ -4083,6 +4091,7 @@". تم التحقق من أن كل أصل لم يتغير، لذا احذف تلك النسخ ثم أعد محاولة النقل."],"eJitUk": ["الرفع من الجهاز"],+ "eKGK4A": ["البحث في سجل المحادثات"],"eKThTQ": ["فشلت إعادة الترتيب"],"eMWRAs": ["الصفحات المفهرسة: ", ["semanticIndexedCount"], " من ", ["semanticTotalCount"], "."],"eNOyTV": [@@ -4107,6 +4116,7 @@"لا يستطيع Git تتبع هذا المجلد — فهو فارغ أو يحتوي على ملفات متجاهَلة فقط. لن يعمل الرابط حتى تضيف مستندًا متتبَّعًا."],"ebqMh6": ["مشترك مع كل من يعمل على هذا المشروع. يُخزَّن في مجلد المشروع وينتقل معه عبر git."],+ "ecUA8p": ["اليوم"],"ee15Vl": ["تعلّم المهارات أدوات الذكاء الاصطناعي لديك مهامّ متكررة. اكتب مهاراتك في الشريط الجانبي «المهارات» في المحرّر؛ وهذه الصفحة هي مكان تفعيلها ومشاركتها."],@@ -4384,6 +4394,7 @@"gwykHF": ["لم يُزامَن هذا المستند مع GitHub بعد. سيعمل الرابط بعد المزامنة التالية."],"gyHDWC": ["إصلاح الكل بالذكاء الاصطناعي (", ["count"], ")"],"gyYvCN": ["دفع تعديلاتي كل"],+ "gzaLgh": ["اختر ما تبدأ به محادثة جديدة"],"h-AdvS": ["المجلدات والقوالب موجودة هنا بالفعل، فلا شيء لإضافته."],"h-RPqa": ["المدة التي ينتظرها OpenKnowledge لكل طلب تضمين أثناء الفهرسة. لطلبات البحث مهلة ثابتة تبلغ 8 ثوانٍ لكل محاولة، ولا يغيّرها هذا الإعداد."@@ -4415,6 +4426,7 @@"hFmYGU": ["ملفات السمات المرتبطة غير مدعومة"],"hGmuTc": ["مستندات موسومة بـ #", ["tagDocsName"]],"hHMv6l": ["حذف الكتلة"],+ "hIQkLb": ["محادثة جديدة"],"hItdtk": ["استعراض مجلد"],"hLKfZe": ["استخدم رمزًا بدلًا من ذلك"],"hLod4_": ["تحويل إلى قالب"],@@ -4613,6 +4625,7 @@"j9Vqvc": ["موروث"],"j9tqwO": ["ليس في الشريط الجانبي"],"jAMpHn": ["ما حزمة البداية؟"],+ "jAQCRf": ["لا يوجد وكلاء مفعَّلون."],"jBVUXo": ["تعذّر فتح الطرفية — يرجى المحاولة مرة أخرى."],"jC8Bv4": ["يجري إلقاء نظرة…"],"jC8LSZ": ["إعادة تعيين مرشحات العرض"],@@ -4724,7 +4737,6 @@"لا ترى <0>المهارات</0>؟ فعّل <1>الإعدادات <2/> القدرات <3/> تنفيذ الكود وإنشاء الملفات</1> أولًا."],"kVS5tE": ["هل تريد الحفاظ على فهارس generated في كل مجلد؟"],- "kVgQUA": ["هل تريد حذف هذه المحادثة؟"],"kVzuTI": ["مهارة الوكيل الموصى بها"],"kXNv8P": ["تلقائي (سحب فقط) لا يدفع تغييراتك المحلية ولا يودعها أبدًا. تبقى على هذا الجهاز فقط."@@ -5403,6 +5415,7 @@"qze9od": ["هذا المجلد يخص ", ["alsoAffects"], " أيضًا."],"r-OJYm": ["أدخل اسم فرع صالحًا (بلا مسافات، وبلا نقطة في البداية، وبلا «..»)."],"r2eKE3": ["سجّل الدخول إلى ", ["agentName"], " أولًا"],+ "r3iaI0": ["لا توجد دردشات بعد."],"r4R7AZ": ["خطأ في الشبكة أثناء التنظيف"],"r51jLC": ["تم حفظ الملف وفتح تطبيق Claude Desktop"],"r6ncaO": ["إغلاق التبويب"],@@ -6273,6 +6286,7 @@}]],+ "yxH4Gs": ["واجهة ", ["0"], " السطرية"],"yz7wBu": ["إغلاق"],"yzF66j": ["رابط"],"yzGPkm": ["توسيع الرسم البياني"],diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.poindex c7021ea05..f6ef2b012 100644--- a/packages/app/src/locales/ar/messages.po+++ b/packages/app/src/locales/ar/messages.po@@ -302,6 +302,11 @@ msgstr "{0} يتصرف دون سؤال — لا يمكن لـ OpenKnowledge إضmsgid "{0} added, {1} removed"msgstr "تمت إضافة {0}، وإزالة {1}"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "واجهة {0} السطرية"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} مهارات"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, zero {قبل # يوم} one {قبل يوم واحد} two {قبل يومين} few {قبل # أيام} many {قبل # يومًا} other {قبل # يوم}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "قبل {days} يوم"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, zero {مجلدات} one {مجلد} two {مجلداmsgid "{formatted} GitHub stars"msgstr "{formatted} نجمة على GitHub"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{localizedMessage} في السطر {displayLine}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, zero {قبل # دقيقة} one {قبل # دقيقة} two {قبل # دقيقة} few {قبل # دقائق} many {قبل # دقيقة} other {قبل # دقيقة}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "متاح في كل مشروع على هذا الجهاز. غير مشتmsgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "متاح في تطبيق OpenKnowledge لسطح المكتب. من الطرفية، استخدم<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "تعذّرت مشاركة هذا المسار."#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "أحرف"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "سجل الدردشة"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "اسم المحادثة"@@ -2883,6 +2892,10 @@ msgstr "اختر مجلدًا"msgid "Choose icon"msgstr "اختيار أيقونة"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "اختر ما تبدأ به محادثة جديدة"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "اختر ما تبدأ به علامة تبويب جديدة"@@ -2967,6 +2980,10 @@ msgstr "أفرغ الحقل لاستعادة قيمته الافتراضية."msgid "Clear color"msgstr "إزالة اللون"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "مسح البحث في السجل"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "إغلاق التبويب"msgid "Close terminal"msgstr "إغلاق الطرفية"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "أغلق علامة تبويب هذه المحادثة لحذفها"@@ -3399,6 +3416,7 @@ msgstr "تحذيرات الإعداد"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "تعذّر تحميل مهارات OpenKnowledge. أعد المحاولmsgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "تعذّر تحميل معاينة النسخة. لا يزال بإمكانك اختيار طريقة الحل أدناه."+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "تعذّر تحميل وكلائك."+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "تعذّر تحميل تقارير العلل الخاصة بك."@@ -4425,6 +4447,10 @@ msgstr "تعذّر تشغيل Slidev."msgid "Couldn't start the agent thread — please try again."msgstr "تعذّر بدء سلسلة الوكيل — يرجى المحاولة مرة أخرى."+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "تعذّر بدء سلسلة الوكيل."+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "تعذّر بدء المزامنة. تحقق من اتصالك، ثم أعد المحاولة."@@ -4730,7 +4756,6 @@ msgstr "الخصائص الافتراضية"msgid "Default: <0>{0}</0>"msgstr "الافتراضي: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "حذف"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "حذف {0}"@@ -4780,6 +4805,14 @@ msgstr "احذف رقاقة رابط ويكي أو وسم مجاورة."msgid "Delete block"msgstr "حذف الكتلة"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "حذف الدردشة"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "حذف الدردشة؟"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "حذف كتلة الكود"@@ -4824,10 +4857,6 @@ msgstr "حذف الجدول"msgid "Delete the file"msgstr "حذف الملف"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "هل تريد حذف هذه المحادثة؟"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "حذف هذا التعليق"@@ -7734,7 +7763,7 @@ msgstr "الانتقال إلى النص المرتبط"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "انتقل إلى مصدر Markdown للكتلة عند المؤشر، موسّطًا ومظللًا."-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "يجري تحميل {fileName}"msgid "Loading agent activity"msgstr "يجري تحميل نشاط الوكيل"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "يجري تحميل الوكلاء…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "جديد"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "محادثة {0} جديدة"@@ -8816,8 +8845,13 @@ msgstr "سيُنشأ الفرع الجديد <0>{trimmed}</0> من الإيداmsgid "New changes from your remote appear in your copy automatically."msgstr "تظهر التغييرات الجديدة من مستودعك البعيد في نسختك تلقائيًا."+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "محادثة جديدة"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "محادثة جديدة مع {agentName}"@@ -8999,6 +9033,10 @@ msgstr "لا يوجد وكلاء متاحون."msgid "No agents enabled"msgstr "لا يوجد وكلاء مفعَّلون"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "لا يوجد وكلاء مفعَّلون."+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "لا يوجد وكلاء يطابقون بحثك."@@ -9044,6 +9082,14 @@ msgstr "لا توجد تقارير علل بعد."msgid "No changes"msgstr "لا تغييرات"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "لا توجد دردشات تطابق بحثك"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "لا توجد دردشات بعد."+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "لا يوجد خادم تعاون لشجرة العمل هذه — شغّل <0>ok start</0> هنا، أو أعد فتح المشروع."@@ -9212,10 +9258,6 @@ msgstr "لا توجد مستودعات مطابقة."msgid "No matching worktrees or branches."msgstr "لا توجد أشجار عمل أو فروع مطابقة."-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "لا توجد محادثات مفتوحة. أعد فتح محادثة سابقة، أو ابدأ محادثة جديدة بزر +."-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "لا روابط صادرة"@@ -9540,6 +9582,10 @@ msgstr "ضبط OK هذا المجلد آخر مرة على {0} — وقد غيّmsgid "OKF agent skill installed"msgstr "OKF تم تثبيت مهارة الوكيل"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "الأقدم"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "مفعّل — تمرير المؤشر فوق رابط خارجي يرسل رابطه إلى الموقع الوجهة لجلب معاينة."@@ -11454,7 +11500,7 @@ msgstr "إعادة تسمية"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "إعادة تسمية {0}"@@ -11463,6 +11509,10 @@ msgstr "إعادة تسمية {0}"msgid "Rename {keyName}"msgstr "إعادة تسمية {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "إعادة تسمية الدردشة"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "معروض"msgid "Reopen"msgstr "إعادة فتح"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "إعادة فتح محادثة سابقة"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "إعادة فتح التبويب المغلق"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "تضمين HTML معزول — اكتب HTML وشاهد المعاينة المعروضة مباشرةً."#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "البحث في الفروع..."msgid "Search by meaning"msgstr "البحث حسب المعنى"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "البحث في سجل المحادثات"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "البحث عن الدردشات"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "البحث في الرموز التعبيرية"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "جارٍ بدء تشغيل الطرفية…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "يجري تشغيل الوكيل…"@@ -14893,6 +14947,10 @@ msgstr "للقيام به"msgid "To do."msgstr "للقيام به."+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "اليوم"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "بدّل القائمة النقطية."@@ -15050,6 +15108,7 @@ msgstr "جرّب موجّهًا"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.jsonindex 7aa32b7c6..2b8be480f 100644--- a/packages/app/src/locales/bn/messages.json+++ b/packages/app/src/locales/bn/messages.json@@ -552,7 +552,6 @@],"6Aih4U": ["অফলাইন"],"6EoD0z": ["টার্মিনালে সমাধান করুন"],- "6FCixu": ["আগের চ্যাট আবার খুলুন"],"6HCOwA": ["খুলতে ব্যর্থ।"],"6KCH4m": ["লুকানো ফাইল"],"6KXnz5": ["আপনি এই ফাইলটি ট্র্যাশ থেকে পুনরুদ্ধার করতে পারেন।"],@@ -562,6 +561,7 @@"6MnZEC": ["টার্মিনাল লোড করা যায়নি"],"6Nea1q": ["সক্রিয় গাঢ় মোডের জন্য ", ["0"], " ব্যবহার করুন"],"6O626z": ["\"", ["trimmedAnchorQuery"], "\"-এর সঙ্গে কোনো শিরোনাম মেলে না"],+ "6PsaMr": ["চ্যাটের নাম বদলান"],"6Pxqwv": ["এখনও কোনো প্রকল্প টেমপ্লেট নেই। এই প্রকল্পের সব জায়গায় পেতে একটি তৈরি করুন। ফোল্ডার-সীমিত টেমপ্লেট প্রতিটি ফোল্ডারের সংক্ষিপ্তসার পাতায় থাকে।"],@@ -728,6 +728,7 @@"8PmoQF": ["কোনো খালি বা সক্রিয় লেখার অবস্থানে সন্নিবেশ মেনু খুলুন।"],"8QLpZe": ["সার্ভার বন্ধ হয়ে গেছে। পুনরায় সংযোগের জন্য এটি পুনরায় চালু করুন।"],"8RtNI0": ["নথি লোড করতে ব্যর্থ"],+ "8SVvE7": ["ইতিহাসের খোঁজ মুছুন"],"8TvlHF": ["ক্র্যাশ ডাম্প"],"8Uv5e6": ["এজেন্ট"],"8VLpRT": [@@ -1579,6 +1580,7 @@"If0crP": ["AI ", ["targetDisplayName"], " দিয়ে খুলুন, ", ["hint"]],"IgN3LY": ["<0>", ["address"], "</0>-এ নির্বাচিত লেখার উপর"],"IgTwLt": ["এই নথিটি সম্পাদকে খুলুন এবং গ্রাফ গুটিয়ে নিন।"],+ "IgkKDg": ["চ্যাট মুছবেন?"],"Ik-gP0": ["শিরোনাম H", ["level"], ": ", ["text"]],"ImTzPZ": ["এই যন্ত্র"],"IoHQYP": ["লিংক যাচাইকরণ উপলভ্য নয়। সর্বশেষ জানা সমস্যাগুলি দেখানো হচ্ছে।"],@@ -1645,6 +1647,7 @@"Jnz9AY": [["0"], " ", ["destination"], "-এর উপরে রয়েছে।"],"Jqqevv": ["সিস্টেম ত্রুটি"],"JrqL_z": ["উপরে সারি যোগ করুন"],+ "Jrwm42": ["আপনার এজেন্ট লোড করা যায়নি।"],"JsHvhz": [["budgetLabel"]," টোকেন নির্দেশিকার বেশি। স্কিল ব্যবহারের সময় এসব এজেন্টের কনটেক্সটে লোড হয় — এটি হালকা রাখুন, বা বিস্তারিত references/ ফাইলে সরান যা কেবল প্রয়োজনে লোড হয়।"@@ -2406,6 +2409,7 @@"\"-এর স্থানীয় সহযোগিতা তথ্য সময়মতো মুছে ফেলা যায়নি। আবার চেষ্টা করতে পাতাটি পুনরায় লোড করুন।"],"ScwcF2": ["এই জায়গায় আগে থেকেই একটি প্রকল্প আছে। অন্য মূল ফোল্ডার বাছুন।"],+ "Sdv6pQ": ["চ্যাটের ইতিহাস"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " ত্রুটি"], "other": ["#", " ত্রুটি"] }]],"SgAFuo": ["এখানে ফাইল যুক্ত করা যায় না।"],"SgKLfA": ["GitHub-এর সঙ্গে যুক্ত নয়।"],@@ -2461,7 +2465,6 @@"Tofsyo": ["Terminal নিচে সরান"],"TpqW74": ["নির্দিষ্ট"],"Tq3pcs": ["আমারটি রাখুন"],- "Tq9kNX": ["কোনো খোলা চ্যাট নেই। আগেরটি আবার খুলুন, বা + বোতাম দিয়ে নতুন একটি শুরু করুন।"],"TsZmgr": ["ডিস্কের ফাইলটি, এবং এজেন্টরা যে id ব্যবহার করে।"],"TvY_XA": ["নথিপত্র"],"TwYboS": ["CodeMirror-এর সোর্স অনুসন্ধানের ফলাফলে চলাচল করুন বা অনুসন্ধান প্যানেল সরিয়ে দিন।"],@@ -2649,6 +2652,7 @@"W9NSe0": ["লিংক যাচাই করা হচ্ছে"],"W9_Bub": ["স্থানীয় পরিবর্তন আগত সিঙ্কের সঙ্গে মিলে যাচ্ছে"],"WBNpt9": ["এই থিমটি পড়া যায়নি (", ["0"], ")"],+ "WC8Mr6": ["এজেন্ট থ্রেড শুরু করা যায়নি।"],"WEYdDv": ["প্রস্তাবিত"],"WFEbV1": ["সম্পাদকে সাধারণ markdown সমস্যা চিহ্নিত করুন। <0>markdownlint<1/></0> দ্বারা চালিত।"],"WG3MZ4": [["0"], "টি স্কিল নির্বাচিত"],@@ -2836,6 +2840,7 @@],"YEP3X2": ["সক্রিয় টেবিল-ঘরের নির্বাচন পুরো টেবিল ঘিরে থাকলে টেবিলটি মুছুন।"],"YEzhIr": ["টানুন ও পাঠান"],+ "YFpLoV": ["চ্যাট মুছুন"],"YGIi_c": ["আবার ইনস্টল করুন"],"YGNRB5": ["— ছাড়া"],"YGt-0e": ["পড়া হচ্ছে…"],@@ -3054,6 +3059,7 @@"_fZSIY": ["OpenKnowledge এই ফাইলটি পরিবর্তন করেনি কারণ এটি নিরাপদে পার্স করা যায়নি। ফাইলটি হাতে ঠিক করুন, তারপর আবার চেষ্টা করুন।"],+ "_fwE6J": ["পুরোনো"],"_gO_m8": ["আপনার অনুমোদনের অপেক্ষা"],"_gkGSK": ["টেমপ্লেট মুছে ফেলা হয়েছে"],"_oqKcJ": ["অর্থের ভিত্তিতে অনুসন্ধান করতে অন্তত ৩টি অক্ষর লিখুন।"],@@ -3070,6 +3076,7 @@"a3LDKx": ["নিরাপত্তা"],"a45f2c": ["এই স্কিমা যে গ্লোব প্যাটার্নগুলোর ক্ষেত্রে প্রযোজ্য"],"a4FRQv": ["এই সম্পাদনা পর্যন্ত পূর্বাবস্থায় ফেরাবেন?"],+ "a4xYoA": ["চ্যাট খুঁজুন"],"a5Gha5": ["স্থানীয় পরিবর্তন মার্জ আটকে দিয়েছে"],"a5W0q0": ["আপনি কি নিশ্চিত যে ",@@ -3282,6 +3289,7 @@"cklVjM": ["কালানুক্রম"],"clJ3qM": ["সম্পন্ন।"],"cnGeoo": ["মুছুন"],+ "cnR7h2": ["আপনার খোঁজের সঙ্গে কোনো চ্যাট মেলেনি"],"cqQyPB": ["ফোল্ডারের নাম"],"crqzW5": ["AI টুল"],"cs4mps": ["কনফিগ ভাগাভাগি"],@@ -3423,6 +3431,7 @@"। যাচাই করে দেখা গেছে প্রতিটি মূল অপরিবর্তিত আছে, তাই ওই কপিগুলো মুছে ফেলুন এবং সরানোর কাজটি আবার চেষ্টা করুন।"],"eJitUk": ["কম্পিউটার থেকে আপলোড করুন"],+ "eKGK4A": ["চ্যাটের ইতিহাসে খুঁজুন"],"eKThTQ": ["ক্রম বদলাতে ব্যর্থ"],"eMWRAs": ["ইনডেক্স করা পৃষ্ঠা: ",@@ -3453,6 +3462,7 @@"Git এই ফোল্ডারের হিসাব রাখতে পারে না — এটি খালি বা এতে কেবল উপেক্ষিত ফাইল আছে। আপনি একটি হিসাবভুক্ত নথি যোগ না করা পর্যন্ত লিংকটি কাজ করবে না।"],"ebqMh6": ["এই প্রকল্পের সবার সঙ্গে ভাগ করা। প্রকল্প ফোল্ডারে সংরক্ষিত এবং git-এর মাধ্যমে এর সঙ্গেই যায়।"],+ "ecUA8p": ["আজ"],"ee15Vl": ["স্কিল আপনার AI টুলকে পুনরাবৃত্ত কাজ শেখায়। নিজের স্কিল এডিটরের স্কিল সাইডবারে লিখুন; এই পাতায় সেগুলি চালু ও ভাগ করা হয়।"],@@ -3682,6 +3692,7 @@"gwykHF": ["এই নথিটি এখনও GitHub-এ সিঙ্ক হয়নি। পরের সিঙ্কের পর লিংকটি কাজ করবে।"],"gyHDWC": ["AI দিয়ে সব ঠিক করুন (", ["count"], ")"],"gyYvCN": ["আমার সম্পাদনা পাঠানোর ব্যবধান"],+ "gzaLgh": ["নতুন আলাপ কী চালু করবে তা বেছে নিন"],"h-AdvS": ["ফোল্ডার ও টেমপ্লেট আগে থেকেই এখানে আছে, তাই যোগ করার কিছু নেই।"],"h-RPqa": ["ইনডেক্স তৈরির সময় OpenKnowledge প্রতিটি এম্বেডিং অনুরোধের জন্য কতক্ষণ অপেক্ষা করে। অনুসন্ধান অনুরোধের প্রতি প্রচেষ্টায় সময়সীমা ৮ সেকেন্ড নির্ধারিত থাকে এবং এই সেটিং তা পরিবর্তন করে না।"@@ -3713,6 +3724,7 @@"hFmYGU": ["লিঙ্ক করা থিম ফাইল সমর্থিত নয়"],"hGmuTc": ["#", ["tagDocsName"], " ট্যাগযুক্ত নথি"],"hHMv6l": ["ব্লক মুছুন"],+ "hIQkLb": ["নতুন আলাপ"],"hItdtk": ["ফোল্ডার ব্রাউজ করুন"],"hLKfZe": ["বদলে একটি টোকেন ব্যবহার করুন"],"hLod4_": ["টেমপ্লেটে রূপান্তর করুন"],@@ -3901,6 +3913,7 @@"j9Vqvc": ["উত্তরাধিকারসূত্রে পাওয়া"],"j9tqwO": ["সাইডবারে নেই"],"jAMpHn": ["স্টার্টার প্যাক কী?"],+ "jAQCRf": ["কোনো এজেন্ট চালু নেই।"],"jBVUXo": ["টার্মিনাল খোলা যায়নি — অনুগ্রহ করে আবার চেষ্টা করুন।"],"jC8Bv4": ["চারপাশে দেখা হচ্ছে…"],"jC8LSZ": ["দৃশ্যের ছাঁকনি রিসেট করুন"],@@ -4018,7 +4031,6 @@"<0>Skills</0> দেখতে পাচ্ছেন না? আগে <1>Settings <2/> Capabilities <3/> Code execution and file creation</1> চালু করুন।"],"kVS5tE": ["প্রতি ফোল্ডারে generated সূচী বজায় রাখুন?"],- "kVgQUA": ["এই চ্যাট মুছবেন?"],"kVzuTI": ["প্রস্তাবিত এজেন্ট দক্ষতা"],"kXNv8P": ["স্বয়ংক্রিয় (শুধু টানুন) আপনার স্থানীয় পরিবর্তন কখনো পুশ বা কমিট করে না। সেগুলি শুধু এই মেশিনেই থাকে।"@@ -4583,6 +4595,7 @@"qze9od": ["এই ফোল্ডারটি ", ["alsoAffects"], "-এরও।"],"r-OJYm": ["একটি বৈধ ব্রাঞ্চ নাম দিন (ফাঁকা জায়গা নয়, শুরুতে বিন্দু নয়, \"..\" নয়)।"],"r2eKE3": ["আগে ", ["agentName"], "-এ সাইন ইন করুন"],+ "r3iaI0": ["এখনও কোনো চ্যাট নেই।"],"r4R7AZ": ["পরিষ্কারের সময় নেটওয়ার্ক ত্রুটি"],"r51jLC": ["ফাইল সংরক্ষিত হয়েছে ও Claude Desktop App খুলেছে"],"r6ncaO": ["ট্যাব বন্ধ করুন"],@@ -5289,6 +5302,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["ঠিক করা থামান। যেসব ফাইল আগেই ঠিক হয়েছে সেগুলো ঠিকই থাকে।"],"yxF19Y": [["0", "plural", { "one": ["#", " প্লাগইন"], "other": ["#", " প্লাগইন"] }]],+ "yxH4Gs": [["0"], " CLI"],"yz7wBu": ["বন্ধ করুন"],"yzF66j": ["লিংক"],"yzGPkm": ["গ্রাফ মেলে ধরুন"],diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.poindex 3f0d9a9bf..f7991ec1d 100644--- a/packages/app/src/locales/bn/messages.po+++ b/packages/app/src/locales/bn/messages.po@@ -302,6 +302,11 @@ msgstr "{0} জিজ্ঞাসা না করেই কাজ করে —msgid "{0} added, {1} removed"msgstr "{0} যোগ হয়েছে, {1} সরানো হয়েছে"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "{0} CLI"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count}টি স্কিল"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, one {# দিন আগে} other {# দিন আগে}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days} দিন আগে"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, one {ফোল্ডার} other {ফোল্ডmsgid "{formatted} GitHub stars"msgstr "{formatted}টি GitHub স্টার"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{displayLine} নম্বর লাইনে {localizedMessage}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, one {# মিনিট আগে} other {# মিনিট আগে}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2339,6 +2344,7 @@ msgstr "এই মেশিনের প্রতিটি প্রকল্পmsgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "OpenKnowledge ডেস্কটপ অ্যাপে পাওয়া যায়। টার্মিনাল থেকে <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> ব্যবহার করুন।"+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2611,7 +2617,6 @@ msgstr "এই পাথ শেয়ার করা যাচ্ছে না#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2741,7 +2746,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "অক্ষর"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "চ্যাটের ইতিহাস"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "চ্যাটের নাম"@@ -2879,6 +2888,10 @@ msgstr "ফোল্ডার বাছুন"msgid "Choose icon"msgstr "আইকন বেছে নিন"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "নতুন আলাপ কী চালু করবে তা বেছে নিন"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "নতুন ট্যাব কী চালু করবে তা বেছে নিন"@@ -2963,6 +2976,10 @@ msgstr "কোনো ফিল্ডের ডিফল্ট মান ফিmsgid "Clear color"msgstr "রং সরান"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "ইতিহাসের খোঁজ মুছুন"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3137,7 +3154,7 @@ msgstr "ট্যাব বন্ধ করুন"msgid "Close terminal"msgstr "টার্মিনাল বন্ধ করুন"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "এটি মুছতে এই চ্যাটের ট্যাব বন্ধ করুন"@@ -3395,6 +3412,7 @@ msgstr "কনফিগারেশন সতর্কতা"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4118,6 +4136,10 @@ msgstr "OpenKnowledge স্কিল লোড করা যায়নি।msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "সংস্করণের প্রাকদর্শন লোড করা যায়নি। আপনি তবুও নিচে বেছে নিতে পারেন কীভাবে এটি মীমাংসা করবেন।"+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "আপনার এজেন্ট লোড করা যায়নি।"+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "আপনার বাগ রিপোর্ট লোড করা যায়নি।"@@ -4421,6 +4443,10 @@ msgstr "Slidev চালু করা যায়নি।"msgid "Couldn't start the agent thread — please try again."msgstr "এজেন্ট থ্রেড শুরু করা যায়নি — অনুগ্রহ করে আবার চেষ্টা করুন।"+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "এজেন্ট থ্রেড শুরু করা যায়নি।"+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "সিঙ্ক শুরু করা যায়নি। আপনার সংযোগ দেখুন, তারপর আবার চেষ্টা করুন।"@@ -4726,7 +4752,6 @@ msgstr "ডিফল্ট প্রপার্টি"msgid "Default: <0>{0}</0>"msgstr "ডিফল্ট: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4737,7 +4762,7 @@ msgstr "মুছুন"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "{0} মুছুন"@@ -4776,6 +4801,14 @@ msgstr "পাশের একটি উইকি লিংক বা ট্যmsgid "Delete block"msgstr "ব্লক মুছুন"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "চ্যাট মুছুন"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "চ্যাট মুছবেন?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "কোড ব্লক মুছুন"@@ -4820,10 +4853,6 @@ msgstr "টেবিল মুছুন"msgid "Delete the file"msgstr "ফাইলটি মুছে ফেলুন"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "এই চ্যাট মুছবেন?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "এই মন্তব্যটি মুছুন"@@ -7730,7 +7759,7 @@ msgstr "অ্যাংকর করা লেখায় যান"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "কার্সরে থাকা ব্লকের markdown সোর্সে যান, মাঝখানে ও হাইলাইট করা অবস্থায়।"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8032,6 +8061,7 @@ msgstr "{fileName} লোড হচ্ছে"msgid "Loading agent activity"msgstr "এজেন্ট কার্যকলাপ লোড হচ্ছে"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "এজেন্ট লোড হচ্ছে…"@@ -8791,7 +8821,6 @@ msgid "New"msgstr "নতুন"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "নতুন {0} আলাপ"@@ -8812,8 +8841,13 @@ msgstr "নতুন ব্রাঞ্চ <0>{trimmed}</0> বর্তমাmsgid "New changes from your remote appear in your copy automatically."msgstr "আপনার রিমোটের নতুন পরিবর্তন আপনার অনুলিপিতে নিজে থেকেই চলে আসে।"+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "নতুন আলাপ"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "{agentName}-এর সাথে নতুন চ্যাট"@@ -8995,6 +9029,10 @@ msgstr "কোনো এজেন্ট নেই।"msgid "No agents enabled"msgstr "কোনো এজেন্ট চালু নেই"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "কোনো এজেন্ট চালু নেই।"+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "আপনার অনুসন্ধানের সঙ্গে কোনো এজেন্ট মেলে না।"@@ -9040,6 +9078,14 @@ msgstr "এখনও কোনো বাগ রিপোর্ট নেই।"msgid "No changes"msgstr "কোনো পরিবর্তন নেই"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "আপনার খোঁজের সঙ্গে কোনো চ্যাট মেলেনি"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "এখনও কোনো চ্যাট নেই।"+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "এই ওয়ার্কট্রির জন্য কোনো সহযোগিতা সার্ভার নেই — এখানে <0>ok start</0> চালান, নয়তো প্রকল্পটি আবার খুলুন।"@@ -9208,10 +9254,6 @@ msgstr "মিলে যাওয়া কোনো রিপোজিটরিmsgid "No matching worktrees or branches."msgstr "মিলে যাওয়া কোনো ওয়ার্কট্রি বা ব্রাঞ্চ নেই।"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "কোনো খোলা চ্যাট নেই। আগেরটি আবার খুলুন, বা + বোতাম দিয়ে নতুন একটি শুরু করুন।"-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "কোনো বহির্গামী নেই"@@ -9536,6 +9578,10 @@ msgstr "OK শেষবার এই ফোল্ডারটি {0}-এ নিmsgid "OKF agent skill installed"msgstr "OKF এজেন্ট দক্ষতা ইনস্টল করা হয়েছে"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "পুরোনো"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "চালু — কোনো বাইরের লিংকের উপর মাউস নিলে প্রাকদর্শন আনতে তার URL গন্তব্য সাইটে পাঠানো হয়।"@@ -11450,7 +11496,7 @@ msgstr "নাম বদলান"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "{0}-এর নাম বদলান"@@ -11459,6 +11505,10 @@ msgstr "{0}-এর নাম বদলান"msgid "Rename {keyName}"msgstr "{keyName}-এর নাম বদলান"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "চ্যাটের নাম বদলান"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11521,10 +11571,6 @@ msgstr "রেন্ডার করা"msgid "Reopen"msgstr "আবার খুলুন"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "আগের চ্যাট আবার খুলুন"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "বন্ধ করা ট্যাব আবার খুলুন"@@ -12010,7 +12056,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "স্যান্ডবক্স করা HTML এমবেড — HTML লিখুন, রেন্ডার করা প্রাকদর্শন সঙ্গে সঙ্গে দেখুন।"#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12147,6 +12192,14 @@ msgstr "ব্রাঞ্চ খুঁজুন…"msgid "Search by meaning"msgstr "অর্থ অনুযায়ী খুঁজুন"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "চ্যাটের ইতিহাসে খুঁজুন"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "চ্যাট খুঁজুন"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "ইমোজি খুঁজুন"@@ -13367,6 +13420,7 @@ msgid "Starting terminal…"msgstr "টার্মিনাল চালু হচ্ছে…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "এজেন্ট শুরু করা হচ্ছে…"@@ -14889,6 +14943,10 @@ msgstr "করণীয়"msgid "To do."msgstr "করণীয়।"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "আজ"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "বুলেট তালিকা চালু বা বন্ধ করুন।"@@ -15046,6 +15104,7 @@ msgstr "একটি প্রম্পট চেষ্টা করে দে#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex b8b205678..2c23bd4a5 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -561,7 +561,6 @@],"6Aih4U": ["Offline"],"6EoD0z": ["Resolve in terminal"],- "6FCixu": ["Reopen a past chat"],"6HCOwA": ["Failed to open."],"6KCH4m": ["Hidden files"],"6KXnz5": ["You can restore this file from the Trash."],@@ -571,6 +570,7 @@"6MnZEC": ["Terminal failed to load"],"6Nea1q": ["Use ", ["0"], " for the active dark mode"],"6O626z": ["No headings match \"", ["trimmedAnchorQuery"], "\""],+ "6PsaMr": ["Rename chat"],"6Pxqwv": ["No project templates yet. Create one to make it available everywhere in this project. Folder-scoped templates live on each folder's overview page."],@@ -752,6 +752,7 @@"8PmoQF": ["Open the insert menu in an empty or active text position."],"8QLpZe": ["The server stopped. Restart it to reconnect."],"8RtNI0": ["Failed to load documents"],+ "8SVvE7": ["Clear history search"],"8TvlHF": ["Crash dump"],"8Uv5e6": ["Agents"],"8VLpRT": [@@ -1636,6 +1637,7 @@"If0crP": ["Open with AI ", ["targetDisplayName"], ", ", ["hint"]],"IgN3LY": ["On selected text in <0>", ["address"], "</0>"],"IgTwLt": ["Open this document in the editor and collapse the graph."],+ "IgkKDg": ["Delete chat?"],"Ik-gP0": ["Heading H", ["level"], ": ", ["text"]],"ImTzPZ": ["This machine"],"IoHQYP": ["Link validation is unavailable. Showing last known problems."],@@ -1702,6 +1704,7 @@"Jnz9AY": [["0"], " is over ", ["destination"], "."],"Jqqevv": ["System error"],"JrqL_z": ["Insert row above"],+ "Jrwm42": ["Couldn't load your agents."],"JsHvhz": ["Over the ",["budgetLabel"],@@ -2479,6 +2482,7 @@"\" could not be cleared in time. Reload to retry."],"ScwcF2": ["A project already exists at this location. Pick a different parent folder."],+ "Sdv6pQ": ["Chat history"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " error"], "other": ["#", " errors"] }]],"SgAFuo": ["This composer doesn't accept attachments."],"SgKLfA": ["Not connected to GitHub."],@@ -2536,7 +2540,6 @@"Tofsyo": ["Move Terminal to bottom"],"TpqW74": ["Fixed"],"Tq3pcs": ["Keep mine"],- "Tq9kNX": ["No open chats. Reopen a past one, or start a new one with the + button."],"TsZmgr": ["The file on disk, and the id agents use."],"TvY_XA": ["Documentation"],"TwYboS": ["Navigate CodeMirror source search results or dismiss the search panel."],@@ -2726,6 +2729,7 @@"W9NSe0": ["Checking links"],"W9_Bub": ["Local changes overlap with incoming sync"],"WBNpt9": ["Couldn’t read this theme (", ["0"], ")"],+ "WC8Mr6": ["Couldn't start the agent thread."],"WEYdDv": ["Recommended"],"WFEbV1": ["Flag common markdown issues in the editor. Powered by <0>markdownlint<1/></0>."],"WG3MZ4": [["0"], " skills selected"],@@ -2915,6 +2919,7 @@],"YEP3X2": ["Delete a table when the active table cell selection covers the full table."],"YEzhIr": ["Pull and Push"],+ "YFpLoV": ["Delete chat"],"YGIi_c": ["Reinstall"],"YGNRB5": ["— except"],"YGt-0e": ["Reading…"],@@ -3135,6 +3140,7 @@"_fZSIY": ["OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."],+ "_fwE6J": ["Older"],"_gO_m8": ["Waiting for your approval"],"_gkGSK": ["deleted template"],"_oqKcJ": ["Enter at least 3 characters to search by meaning."],@@ -3151,6 +3157,7 @@"a3LDKx": ["Security"],"a45f2c": ["Glob patterns this schema applies to"],"a4FRQv": ["Undo to this edit?"],+ "a4xYoA": ["Search chats"],"a5Gha5": ["Local changes blocked the merge"],"a5W0q0": ["Are you sure you want to delete ",@@ -3376,6 +3383,7 @@"cklVjM": ["Timeline"],"clJ3qM": ["Done."],"cnGeoo": ["Delete"],+ "cnR7h2": ["No chats match your search"],"cqQyPB": ["Folder name"],"crqzW5": ["AI tools"],"cs4mps": ["Config sharing"],@@ -3533,6 +3541,7 @@". Each original was verified unchanged, so remove those copies and retry the move."],"eJitUk": ["Upload from computer"],+ "eKGK4A": ["Search chat history"],"eKThTQ": ["Failed to reorder"],"eMWRAs": ["Pages indexed: ", ["semanticIndexedCount"], " of ", ["semanticTotalCount"], "."],"eNOyTV": [@@ -3559,6 +3568,7 @@"ebqMh6": ["Shared with everyone on this project. Stored in the project folder and travels with it through git."],+ "ecUA8p": ["Today"],"ee15Vl": ["Skills teach your AI tools repeatable tasks. Write your own in the editor's Skills sidebar; this page is where they get switched on and shared."],@@ -3805,6 +3815,7 @@"gwykHF": ["This doc hasn't synced to GitHub yet. The link will work after the next sync."],"gyHDWC": ["Fix all with AI (", ["count"], ")"],"gyYvCN": ["Push my edits every"],+ "gzaLgh": ["Choose what a new chat starts"],"h-AdvS": ["The folders and templates are already here, so there's nothing to add."],"h-RPqa": ["How long OpenKnowledge waits for each embedding request while indexing. Search requests use a fixed 8-second timeout per attempt, unchanged by this setting."@@ -3840,6 +3851,7 @@"hFmYGU": ["Linked theme files aren’t supported"],"hGmuTc": ["Docs tagged #", ["tagDocsName"]],"hHMv6l": ["Delete block"],+ "hIQkLb": ["New chat"],"hItdtk": ["Browse folder"],"hLKfZe": ["Use a token instead"],"hLod4_": ["Convert to template"],@@ -4030,6 +4042,7 @@"j9Vqvc": ["inherited"],"j9tqwO": ["Not in sidebar"],"jAMpHn": ["What is a starter pack?"],+ "jAQCRf": ["No agents enabled."],"jBVUXo": ["Couldn't open the terminal — please try again."],"jC8Bv4": ["Having a look around…"],"jC8LSZ": ["Reset view filters"],@@ -4149,7 +4162,6 @@"Don't see <0>Skills</0>? Enable <1>Settings <2/> Capabilities <3/> Code execution and file creation</1> first."],"kVS5tE": ["Maintain generated indexes in every folder?"],- "kVgQUA": ["Delete this chat?"],"kVzuTI": ["Recommended agent skill"],"kXNv8P": ["Auto (Pull only) never pushes or commits your local changes. They stay only on this machine."@@ -4742,6 +4754,7 @@"qze9od": ["This folder is also ", ["alsoAffects"], "'s."],"r-OJYm": ["Enter a valid branch name (no spaces, no leading dot, no \"..\")."],"r2eKE3": ["Sign in to ", ["agentName"], " first"],+ "r3iaI0": ["No chats yet."],"r4R7AZ": ["Network error during cleanup"],"r51jLC": ["File saved & Claude Desktop App opened"],"r6ncaO": ["Close tab"],@@ -5492,6 +5505,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["Stop fixing. Files already fixed stay fixed."],"yxF19Y": [["0", "plural", { "one": ["#", " plugin"], "other": ["#", " plugins"] }]],+ "yxH4Gs": [["0"], " CLI"],"yz7wBu": ["Close"],"yzF66j": ["Link"],"yzGPkm": ["Expand graph"],diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex 60ec544d9..b0c005aed 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -302,6 +302,11 @@ msgstr "{0} acts without asking — OpenKnowledge can't add permission prompts fmsgid "{0} added, {1} removed"msgstr "{0} added, {1} removed"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "{0} CLI"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} skills"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, one {# day ago} other {# days ago}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days}d ago"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, one {folder} other {folders}}"msgid "{formatted} GitHub stars"msgstr "{formatted} GitHub stars"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{localizedMessage} at line {displayLine}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, one {# min ago} other {# min ago}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "Available in every project on this machine. Not shared through git."msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "Can't share this path."#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "characters"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "Chat history"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "Chat name"@@ -2883,6 +2892,10 @@ msgstr "Choose folder"msgid "Choose icon"msgstr "Choose icon"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "Choose what a new chat starts"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "Choose what a new tab starts"@@ -2967,6 +2980,10 @@ msgstr "Clear a field to restore its default value."msgid "Clear color"msgstr "Clear color"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "Clear history search"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "Close tab"msgid "Close terminal"msgstr "Close terminal"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "Close this chat's tab to delete it"@@ -3399,6 +3416,7 @@ msgstr "Configuration warnings"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "Couldn't load the OpenKnowledge skills. Try again."msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "Couldn't load the version preview. You can still choose how to resolve it below."+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "Couldn't load your agents."+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "Couldn't load your bug reports."@@ -4425,6 +4447,10 @@ msgstr "Couldn't start Slidev."msgid "Couldn't start the agent thread — please try again."msgstr "Couldn't start the agent thread — please try again."+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "Couldn't start the agent thread."+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "Couldn't start the sync. Check your connection, then retry."@@ -4730,7 +4756,6 @@ msgstr "Default properties"msgid "Default: <0>{0}</0>"msgstr "Default: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "Delete"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "Delete {0}"@@ -4780,6 +4805,14 @@ msgstr "Delete an adjacent wiki-link or tag chip."msgid "Delete block"msgstr "Delete block"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "Delete chat"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "Delete chat?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "Delete code block"@@ -4824,10 +4857,6 @@ msgstr "Delete table"msgid "Delete the file"msgstr "Delete the file"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "Delete this chat?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "Delete this comment"@@ -7734,7 +7763,7 @@ msgstr "Jump to the anchored text"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "Jump to the markdown source for the block at the cursor, centered and highlighted."-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "Loading {fileName}"msgid "Loading agent activity"msgstr "Loading agent activity"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Loading agents…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "New"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "New {0} chat"@@ -8816,8 +8845,13 @@ msgstr "New branch <0>{trimmed}</0> will be created from the current commit, inmsgid "New changes from your remote appear in your copy automatically."msgstr "New changes from your remote appear in your copy automatically."+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "New chat"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "New chat with {agentName}"@@ -8999,6 +9033,10 @@ msgstr "No agents available."msgid "No agents enabled"msgstr "No agents enabled"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "No agents enabled."+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "No agents match your search."@@ -9044,6 +9082,14 @@ msgstr "No bug reports yet."msgid "No changes"msgstr "No changes"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "No chats match your search"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "No chats yet."+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."@@ -9212,10 +9258,6 @@ msgstr "No matching repositories."msgid "No matching worktrees or branches."msgstr "No matching worktrees or branches."-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "No open chats. Reopen a past one, or start a new one with the + button."-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "No Outgoing"@@ -9540,6 +9582,10 @@ msgstr "OK last set this folder to {0} — something outside OK changed it sincemsgid "OKF agent skill installed"msgstr "OKF agent skill installed"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "Older"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "On — hovering an external link sends its URL to the destination site to fetch a preview."@@ -11454,7 +11500,7 @@ msgstr "Rename"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "Rename {0}"@@ -11463,6 +11509,10 @@ msgstr "Rename {0}"msgid "Rename {keyName}"msgstr "Rename {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "Rename chat"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "Rendered"msgid "Reopen"msgstr "Reopen"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "Reopen a past chat"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "Reopen closed tab"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "Sandboxed HTML embed — write HTML, see the rendered preview live."#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "Search branches..."msgid "Search by meaning"msgstr "Search by meaning"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "Search chat history"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "Search chats"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "Search emoji"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "Starting terminal…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "Starting the agent…"@@ -14893,6 +14947,10 @@ msgstr "To do"msgid "To do."msgstr "To do."+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "Today"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "Toggle a bullet list."@@ -15050,6 +15108,7 @@ msgstr "Try a prompt"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.jsonindex 58841e61d..c94a83e2f 100644--- a/packages/app/src/locales/es/messages.json+++ b/packages/app/src/locales/es/messages.json@@ -666,7 +666,6 @@],"6Aih4U": ["Sin conexión"],"6EoD0z": ["Resolver en la terminal"],- "6FCixu": ["Reabrir un chat anterior"],"6HCOwA": ["No se pudo abrir."],"6KCH4m": ["Archivos ocultos"],"6KXnz5": ["Puedes restaurar este archivo desde la Papelera."],@@ -676,6 +675,7 @@"6MnZEC": ["No se pudo cargar la terminal"],"6Nea1q": ["Usar ", ["0"], " para el modo oscuro activo"],"6O626z": ["Ningún encabezado coincide con \"", ["trimmedAnchorQuery"], "\""],+ "6PsaMr": ["Renombrar chat"],"6Pxqwv": ["Todavía no hay plantillas de proyecto. Crea una para tenerla disponible en todo el proyecto. Las plantillas de carpeta viven en la página general de cada carpeta."],@@ -892,6 +892,7 @@"8PmoQF": ["Abre el menú de inserción en una posición de texto vacía o activa."],"8QLpZe": ["El servidor se detuvo. Reinícialo para volver a conectarte."],"8RtNI0": ["No se pudieron cargar los documentos"],+ "8SVvE7": ["Borrar búsqueda del historial"],"8TvlHF": ["Volcado de fallo"],"8Uv5e6": ["Agentes"],"8VLpRT": [@@ -1916,6 +1917,7 @@"If0crP": ["Abrir con la IA ", ["targetDisplayName"], ", ", ["hint"]],"IgN3LY": ["Sobre el texto seleccionado en <0>", ["address"], "</0>"],"IgTwLt": ["Abre este documento en el editor y contrae el grafo."],+ "IgkKDg": ["¿Eliminar chat?"],"Ik-gP0": ["Encabezado H", ["level"], ": ", ["text"]],"ImTzPZ": ["Este equipo"],"IoHQYP": [@@ -1994,6 +1996,7 @@"Jnz9AY": [["0"], " está sobre ", ["destination"], "."],"Jqqevv": ["Error del sistema"],"JrqL_z": ["Insertar fila encima"],+ "Jrwm42": ["No se pudieron cargar tus agentes."],"JsHvhz": ["Por encima de la guía de ",["budgetLabel"],@@ -2860,6 +2863,7 @@"\". Recarga para reintentarlo."],"ScwcF2": ["Ya existe un proyecto en esta ubicación. Elige otra carpeta superior."],+ "Sdv6pQ": ["Historial de chats"],"Sg-6Bo": [["errorCount",@@ -2934,7 +2938,6 @@"Tofsyo": ["Mover Terminal a la parte inferior"],"TpqW74": ["Fijo"],"Tq3pcs": ["Conservar el mío"],- "Tq9kNX": ["No hay chats abiertos. Reabre uno anterior o inicia uno nuevo con el botón +."],"TsZmgr": ["El archivo en el disco, y el id que usan los agentes."],"TvY_XA": ["Documentación"],"TwYboS": ["Recorre los resultados de búsqueda de CodeMirror o cierra el panel de búsqueda."],@@ -3188,6 +3191,7 @@"W9NSe0": ["Comprobando enlaces"],"W9_Bub": ["Los cambios locales se solapan con la sincronización entrante"],"WBNpt9": ["No se pudo leer este tema (", ["0"], ")"],+ "WC8Mr6": ["No se pudo iniciar el hilo del agente."],"WEYdDv": ["Recomendado"],"WFEbV1": ["Señala problemas habituales de markdown en el editor. Funciona con <0>markdownlint<1/></0>."@@ -3401,6 +3405,7 @@],"YEP3X2": ["Elimina una tabla cuando la selección de celdas activa cubre la tabla entera."],"YEzhIr": ["Pull y Push"],+ "YFpLoV": ["Eliminar chat"],"YGIi_c": ["Reinstalar"],"YGNRB5": ["— excepto"],"YGt-0e": ["Leyendo…"],@@ -3643,6 +3648,7 @@"_fZSIY": ["OpenKnowledge no modificó este archivo porque no pudo analizarlo de forma segura. Corrige el archivo a mano y vuelve a intentarlo."],+ "_fwE6J": ["Anteriores"],"_gO_m8": ["Esperando tu aprobación"],"_gkGSK": ["plantilla eliminada"],"_oqKcJ": ["Introduce al menos 3 caracteres para buscar por significado."],@@ -3661,6 +3667,7 @@"a3LDKx": ["Seguridad"],"a45f2c": ["Patrones glob a los que se aplica este esquema"],"a4FRQv": ["¿Deshacer hasta esta edición?"],+ "a4xYoA": ["Buscar chats"],"a5Gha5": ["Los cambios locales impidieron la fusión"],"a5W0q0": ["¿Seguro que quieres eliminar ",@@ -3923,6 +3930,7 @@"cklVjM": ["Cronología"],"clJ3qM": ["Listo."],"cnGeoo": ["Eliminar"],+ "cnR7h2": ["Ningún chat coincide con tu búsqueda"],"cqQyPB": ["Nombre de la carpeta"],"crqzW5": ["Herramientas de IA"],"cs4mps": ["Compartir configuración"],@@ -4117,6 +4125,7 @@". Se verificó que cada original no cambió, así que elimina esas copias y vuelve a intentar el movimiento."],"eJitUk": ["Subir desde el equipo"],+ "eKGK4A": ["Buscar en el historial de chats"],"eKThTQ": ["No se pudo reordenar"],"eMWRAs": ["Páginas indexadas: ",@@ -4151,6 +4160,7 @@"ebqMh6": ["Se comparte con todos los del proyecto. Se guarda en la carpeta del proyecto y viaja con ella mediante git."],+ "ecUA8p": ["Hoy"],"ee15Vl": ["Las habilidades enseñan tareas repetibles a tus herramientas de IA. Escribe las tuyas en la barra lateral Habilidades del editor; esta página es donde se activan y se comparten."],@@ -4449,6 +4459,7 @@],"gyHDWC": ["Arreglarlo todo con IA (", ["count"], ")"],"gyYvCN": ["Enviar mis ediciones cada"],+ "gzaLgh": ["Elige qué inicia un chat nuevo"],"h-AdvS": ["Las carpetas y las plantillas ya están aquí, así que no hay nada que añadir."],"h-RPqa": ["Cuánto tiempo espera OpenKnowledge cada solicitud de embeddings durante la indexación. Las solicitudes de búsqueda tienen un tiempo de espera fijo de 8 segundos por intento, que no cambia con este ajuste."@@ -4484,6 +4495,7 @@"hFmYGU": ["No se admiten archivos de tema vinculados"],"hGmuTc": ["Documentos etiquetados con #", ["tagDocsName"]],"hHMv6l": ["Eliminar el bloque"],+ "hIQkLb": ["Nuevo chat"],"hItdtk": ["Elegir carpeta"],"hLKfZe": ["Usar un token en su lugar"],"hLod4_": ["Convertir en plantilla"],@@ -4692,6 +4704,7 @@"j9Vqvc": ["heredado"],"j9tqwO": ["No está en la barra lateral"],"jAMpHn": ["¿Qué es un paquete inicial?"],+ "jAQCRf": ["No hay agentes activados."],"jBVUXo": ["No se pudo abrir la terminal; inténtalo de nuevo."],"jC8Bv4": ["Echando un vistazo…"],"jC8LSZ": ["Restablecer los filtros de vista"],@@ -4817,7 +4830,6 @@"¿No ves <0>Habilidades</0>? Activa antes <1>Ajustes <2/> Capacidades <3/> Ejecución de código y creación de archivos</1>."],"kVS5tE": ["¿Mantener índices generados en cada carpeta?"],- "kVgQUA": ["¿Eliminar este chat?"],"kVzuTI": ["Habilidad de agente recomendada"],"kXNv8P": ["Automático (solo Pull) nunca hace push ni confirma tus cambios locales. Se quedan solo en esta máquina."@@ -5491,6 +5503,7 @@"qze9od": ["Esta carpeta también es de ", ["alsoAffects"], "."],"r-OJYm": ["Escribe un nombre de rama válido (sin espacios, sin punto inicial, sin \"..\")."],"r2eKE3": ["Inicia sesión primero en ", ["agentName"]],+ "r3iaI0": ["Aún no hay chats."],"r4R7AZ": ["Error de red durante la limpieza"],"r51jLC": ["Archivo guardado y aplicación Claude Desktop abierta"],"r6ncaO": ["Cerrar pestaña"],@@ -6345,6 +6358,7 @@}]],+ "yxH4Gs": ["CLI de ", ["0"]],"yz7wBu": ["Cerrar"],"yzF66j": ["Enlace"],"yzGPkm": ["Expandir el grafo"],diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.poindex 8fc6e51f4..80707a7ea 100644--- a/packages/app/src/locales/es/messages.po+++ b/packages/app/src/locales/es/messages.po@@ -302,6 +302,11 @@ msgstr "{0} actúa sin preguntar — OpenKnowledge no puede añadirle solicitudemsgid "{0} added, {1} removed"msgstr "{0} añadidos, {1} eliminados"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "CLI de {0}"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} habilidades"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, one {hace # día} many {hace # días} other {hace # días}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "hace {days} d"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, one {carpeta} many {carpetas} other {carpetas}}"msgid "{formatted} GitHub stars"msgstr "{formatted} estrellas en GitHub"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{localizedMessage} en la línea {displayLine}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, one {hace # min} many {hace # min} other {hace # min}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "Disponible en todos los proyectos de este equipo. No se comparte por gitmsgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "Disponible en la aplicación de escritorio de OpenKnowledge. Desde una terminal, usa<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "No se puede compartir esta ruta."#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "caracteres"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "Historial de chats"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "Nombre del chat"@@ -2883,6 +2892,10 @@ msgstr "Elegir carpeta"msgid "Choose icon"msgstr "Elegir icono"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "Elige qué inicia un chat nuevo"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "Elige qué inicia una pestaña nueva"@@ -2967,6 +2980,10 @@ msgstr "Borra el contenido de un campo para restaurar su valor predeterminado."msgid "Clear color"msgstr "Quitar color"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "Borrar búsqueda del historial"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "Cerrar pestaña"msgid "Close terminal"msgstr "Cerrar terminal"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "Cierra la pestaña de este chat para eliminarlo"@@ -3399,6 +3416,7 @@ msgstr "Advertencias de configuración"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "No se pudieron cargar las habilidades de OpenKnowledge. Inténtalo de numsgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "No se pudo cargar la vista previa de la versión. Aun así puedes elegir abajo cómo resolverlo."+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "No se pudieron cargar tus agentes."+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "No se pudieron cargar tus informes de error."@@ -4425,6 +4447,10 @@ msgstr "No se pudo iniciar Slidev."msgid "Couldn't start the agent thread — please try again."msgstr "No se pudo iniciar el hilo del agente; inténtalo de nuevo."+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "No se pudo iniciar el hilo del agente."+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "No se pudo iniciar la sincronización. Revisa tu conexión y vuelve a intentarlo."@@ -4730,7 +4756,6 @@ msgstr "Propiedades por defecto"msgid "Default: <0>{0}</0>"msgstr "Por defecto: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "Eliminar"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "Eliminar {0}"@@ -4780,6 +4805,14 @@ msgstr "Elimina un chip contiguo de enlace wiki o de etiqueta."msgid "Delete block"msgstr "Eliminar el bloque"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "Eliminar chat"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "¿Eliminar chat?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "Eliminar el bloque de código"@@ -4824,10 +4857,6 @@ msgstr "Eliminar tabla"msgid "Delete the file"msgstr "Eliminar el archivo"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "¿Eliminar este chat?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "Eliminar este comentario"@@ -7734,7 +7763,7 @@ msgstr "Ir al texto anclado"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "Ir al código markdown del bloque donde está el cursor, centrado y resaltado."-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "Cargando {fileName}"msgid "Loading agent activity"msgstr "Cargando la actividad del agente"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Cargando agentes…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "Nuevo"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "Nuevo chat de {0}"@@ -8816,8 +8845,13 @@ msgstr "La rama nueva <0>{trimmed}</0> se creará a partir del commit actual, enmsgid "New changes from your remote appear in your copy automatically."msgstr "Los cambios nuevos de tu remoto aparecen en tu copia automáticamente."+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "Nuevo chat"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "Nuevo chat con {agentName}"@@ -8999,6 +9033,10 @@ msgstr "No hay agentes disponibles."msgid "No agents enabled"msgstr "No hay agentes activados"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "No hay agentes activados."+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Ningún agente coincide con tu búsqueda."@@ -9044,6 +9082,14 @@ msgstr "Todavía no hay informes de error."msgid "No changes"msgstr "Sin cambios"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "Ningún chat coincide con tu búsqueda"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "Aún no hay chats."+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "No hay servidor de colaboración para este worktree: ejecuta <0>ok start</0> aquí o vuelve a abrir el proyecto."@@ -9212,10 +9258,6 @@ msgstr "Ningún repositorio coincide."msgid "No matching worktrees or branches."msgstr "Ningún worktree ni rama coincide."-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "No hay chats abiertos. Reabre uno anterior o inicia uno nuevo con el botón +."-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "Sin salientes"@@ -9540,6 +9582,10 @@ msgstr "La última vez OK dejó esta carpeta en {0}; algo ajeno a OK lo ha cambimsgid "OKF agent skill installed"msgstr "Habilidad de agente OKF instalada"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "Anteriores"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "Activada: al pasar el cursor por un enlace externo se envía su URL al sitio de destino para obtener una vista previa."@@ -11454,7 +11500,7 @@ msgstr "Renombrar"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "Renombrar {0}"@@ -11463,6 +11509,10 @@ msgstr "Renombrar {0}"msgid "Rename {keyName}"msgstr "Renombrar {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "Renombrar chat"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "Renderizado"msgid "Reopen"msgstr "Reabrir"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "Reabrir un chat anterior"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "Reabrir la pestaña cerrada"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "Incrustación de HTML aislada: escribe HTML y ve la vista previa renderizada en vivo."#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "Buscar ramas..."msgid "Search by meaning"msgstr "Buscar por significado"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "Buscar en el historial de chats"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "Buscar chats"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "Buscar emojis"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "Iniciando terminal…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "Iniciando el agente…"@@ -14893,6 +14947,10 @@ msgstr "Por hacer"msgid "To do."msgstr "Por hacer."+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "Hoy"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "Activa o desactiva una lista con viñetas."@@ -15050,6 +15108,7 @@ msgstr "Prueba un prompt"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.jsonindex 0641eb1aa..4bbedcb12 100644--- a/packages/app/src/locales/fr/messages.json+++ b/packages/app/src/locales/fr/messages.json@@ -689,7 +689,6 @@],"6Aih4U": ["Hors ligne"],"6EoD0z": ["Résoudre dans le terminal"],- "6FCixu": ["Rouvrir un chat précédent"],"6HCOwA": ["Échec de l'ouverture."],"6KCH4m": ["Fichiers masqués"],"6KXnz5": ["Vous pouvez restaurer ce fichier depuis la corbeille."],@@ -699,6 +698,7 @@"6MnZEC": ["Échec du chargement du terminal"],"6Nea1q": ["Utiliser ", ["0"], " pour le mode sombre actif"],"6O626z": ["Aucun titre ne correspond à « ", ["trimmedAnchorQuery"], " »"],+ "6PsaMr": ["Renommer la discussion"],"6Pxqwv": ["Pas encore de modèles de projet. Créez-en un pour le rendre disponible partout dans ce projet. Les modèles propres à un dossier se trouvent sur la page de synthèse de chaque dossier."],@@ -919,6 +919,7 @@"8PmoQF": ["Ouvre le menu d'insertion à une position de texte vide ou active."],"8QLpZe": ["Le serveur s'est arrêté. Redémarrez-le pour vous reconnecter."],"8RtNI0": ["Échec du chargement des documents"],+ "8SVvE7": ["Effacer la recherche dans l’historique"],"8TvlHF": ["Vidage de plantage"],"8Uv5e6": ["Agents"],"8VLpRT": [@@ -1946,6 +1947,7 @@"If0crP": ["Ouvrir avec l'IA ", ["targetDisplayName"], ", ", ["hint"]],"IgN3LY": ["Sur le texte sélectionné dans <0>", ["address"], "</0>"],"IgTwLt": ["Ouvre ce document dans l'éditeur et réduit le graphe."],+ "IgkKDg": ["Supprimer la discussion ?"],"Ik-gP0": ["Titre de niveau ", ["level"], " : ", ["text"]],"ImTzPZ": ["Cette machine"],"IoHQYP": [@@ -2024,6 +2026,7 @@"Jnz9AY": [["0"], " est au-dessus de ", ["destination"], "."],"Jqqevv": ["Erreur système"],"JrqL_z": ["Insérer une ligne au-dessus"],+ "Jrwm42": ["Impossible de charger vos agents."],"JsHvhz": ["Au-dessus du repère de ",["budgetLabel"],@@ -2900,6 +2903,7 @@" » n'ont pas pu être effacées à temps. Rechargez pour réessayer."],"ScwcF2": ["Un projet existe déjà à cet emplacement. Choisissez un autre dossier parent."],+ "Sdv6pQ": ["Historique des discussions"],"Sg-6Bo": [["errorCount",@@ -2976,9 +2980,6 @@"Tofsyo": ["Déplacer Terminal en bas"],"TpqW74": ["Fixe"],"Tq3pcs": ["Garder la mienne"],- "Tq9kNX": [- "Aucun chat ouvert. Rouvrez-en un ancien ou démarrez-en un nouveau avec le bouton +."- ],"TsZmgr": ["Le fichier sur le disque, et l'id qu'utilisent les agents."],"TvY_XA": ["Documentation"],"TwYboS": [@@ -3236,6 +3237,7 @@"W9NSe0": ["Vérification des liens"],"W9_Bub": ["Les modifications locales chevauchent la synchronisation entrante"],"WBNpt9": ["Impossible de lire ce thème (", ["0"], ")"],+ "WC8Mr6": ["Impossible de démarrer le fil de l'agent."],"WEYdDv": ["Recommandé"],"WFEbV1": ["Signale les problèmes markdown courants dans l'éditeur. Propulsé par <0>markdownlint<1/></0>."@@ -3444,6 +3446,7 @@"Supprime un tableau lorsque la sélection de cellules active couvre tout le tableau."],"YEzhIr": ["Tirer et Pousser"],+ "YFpLoV": ["Supprimer la discussion"],"YGIi_c": ["Réinstaller"],"YGNRB5": ["— sauf"],"YGt-0e": ["Lecture…"],@@ -3690,6 +3693,7 @@"_fZSIY": ["OpenKnowledge n'a pas touché à ce fichier, car il n'a pas pu l'analyser en toute sécurité. Corrigez le fichier à la main, puis réessayez."],+ "_fwE6J": ["Plus anciennes"],"_gO_m8": ["En attente de votre approbation"],"_gkGSK": ["modèle supprimé"],"_oqKcJ": ["Saisissez au moins 3 caractères pour rechercher par sens."],@@ -3708,6 +3712,7 @@"a3LDKx": ["Sécurité"],"a45f2c": ["Motifs glob auxquels ce schéma s'applique"],"a4FRQv": ["Annuler jusqu'à cette modification ?"],+ "a4xYoA": ["Rechercher des discussions"],"a5Gha5": ["Des modifications locales ont bloqué la fusion"],"a5W0q0": ["Voulez-vous vraiment supprimer ",@@ -3977,6 +3982,7 @@"cklVjM": ["Chronologie"],"clJ3qM": ["Terminé."],"cnGeoo": ["Supprimer"],+ "cnR7h2": ["Aucune discussion ne correspond à votre recherche"],"cqQyPB": ["Nom du dossier"],"crqzW5": ["Outils IA"],"cs4mps": ["Partage de la configuration"],@@ -4166,6 +4172,7 @@". Chaque original a été vérifié comme inchangé : supprimez ces copies, puis réessayez le déplacement."],"eJitUk": ["Envoyer depuis l'ordinateur"],+ "eKGK4A": ["Rechercher dans l’historique des chats"],"eKThTQ": ["Échec de la réorganisation"],"eMWRAs": ["Pages indexées : ", ["semanticIndexedCount"], " sur ", ["semanticTotalCount"], "."],"eNOyTV": [@@ -4194,6 +4201,7 @@"ebqMh6": ["Partagé avec tous les membres du projet. Stocké dans le dossier du projet et le suit via git."],+ "ecUA8p": ["Aujourd’hui"],"ee15Vl": ["Les compétences apprennent des tâches répétables à vos outils IA. Écrivez les vôtres dans la barre latérale Compétences de l'éditeur ; cette page sert à les activer et à les partager."],@@ -4484,6 +4492,7 @@],"gyHDWC": ["Tout corriger avec l'IA (", ["count"], ")"],"gyYvCN": ["Envoyer mes modifications toutes les"],+ "gzaLgh": ["Choisissez ce qu'ouvre une nouvelle discussion"],"h-AdvS": ["Les dossiers et les modèles sont déjà là, il n'y a donc rien à ajouter."],"h-RPqa": ["Durée pendant laquelle OpenKnowledge attend chaque requête d’embedding lors de l’indexation. Les requêtes de recherche ont un délai fixe de 8 secondes par tentative, que ce réglage ne modifie pas."@@ -4519,6 +4528,7 @@"hFmYGU": ["Les fichiers de thème liés ne sont pas pris en charge"],"hGmuTc": ["Documents étiquetés #", ["tagDocsName"]],"hHMv6l": ["Supprimer le bloc"],+ "hIQkLb": ["Nouvelle discussion"],"hItdtk": ["Parcourir le dossier"],"hLKfZe": ["Utiliser plutôt un jeton"],"hLod4_": ["Convertir en modèle"],@@ -4729,6 +4739,7 @@"j9Vqvc": ["hérité"],"j9tqwO": ["Pas dans la barre latérale"],"jAMpHn": ["Qu'est-ce qu'un pack de démarrage ?"],+ "jAQCRf": ["Aucun agent activé."],"jBVUXo": ["Impossible d'ouvrir le terminal — veuillez réessayer."],"jC8Bv4": ["Petit tour d'horizon…"],"jC8LSZ": ["Réinitialiser les filtres d'affichage"],@@ -4856,7 +4867,6 @@"Vous ne voyez pas <0>Compétences</0> ? Activez d'abord <1>Paramètres <2/> Fonctionnalités <3/> Exécution de code et création de fichiers</1>."],"kVS5tE": ["Conserver les index generated dans chaque dossier ?"],- "kVgQUA": ["Supprimer ce chat ?"],"kVzuTI": ["Compétence d'agent recommandée"],"kXNv8P": ["Auto (Tirer seulement) ne pousse ni ne valide jamais vos changements locaux. Ils restent uniquement sur cette machine."@@ -5552,6 +5562,7 @@"Saisissez un nom de branche valide (pas d'espaces, pas de point initial, pas de « .. »)."],"r2eKE3": ["Connectez-vous d'abord à ", ["agentName"]],+ "r3iaI0": ["Aucune discussion pour le moment."],"r4R7AZ": ["Erreur réseau pendant le nettoyage"],"r51jLC": ["Fichier enregistré et application Claude Desktop ouverte"],"r6ncaO": ["Fermer l'onglet"],@@ -6417,6 +6428,7 @@{ "one": ["#", " plugin"], "many": ["#", " plugins"], "other": ["#", " plugins"] }]],+ "yxH4Gs": ["CLI ", ["0"]],"yz7wBu": ["Fermer"],"yzF66j": ["Lien"],"yzGPkm": ["Développer le graphe"],diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.poindex 5fcdbfb1c..e6c3b40f8 100644--- a/packages/app/src/locales/fr/messages.po+++ b/packages/app/src/locales/fr/messages.po@@ -302,6 +302,11 @@ msgstr "{0} agit sans demander — OpenKnowledge ne peut pas lui ajouter de demamsgid "{0} added, {1} removed"msgstr "{0} ajouté(s), {1} retiré(s)"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "CLI {0}"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} compétences"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, one {il y a # jour} many {il y a # jours} other {il y a # jours}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "il y a {days} j"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, one {dossier} many {dossiers} other {dossiers}}"msgid "{formatted} GitHub stars"msgstr "{formatted} étoiles GitHub"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{localizedMessage} à la ligne {displayLine}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, one {il y a # min} many {il y a # min} other {il y a # min}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "Disponible dans tous les projets de cette machine. Non partagé via git.msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "Disponible dans l'application de bureau OpenKnowledge. Depuis un terminal, utilisez<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "Impossible de partager ce chemin."#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "caractères"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "Historique des discussions"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "Nom du chat"@@ -2883,6 +2892,10 @@ msgstr "Choisir un dossier"msgid "Choose icon"msgstr "Choisir une icône"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "Choisissez ce qu'ouvre une nouvelle discussion"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "Choisissez ce qu'ouvre un nouvel onglet"@@ -2967,6 +2980,10 @@ msgstr "Videz un champ pour rétablir sa valeur par défaut."msgid "Clear color"msgstr "Effacer la couleur"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "Effacer la recherche dans l’historique"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "Fermer l'onglet"msgid "Close terminal"msgstr "Fermer le terminal"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "Fermez l'onglet de ce chat pour le supprimer"@@ -3399,6 +3416,7 @@ msgstr "Avertissements de configuration"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "Impossible de charger les compétences OpenKnowledge. Réessayez."msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "Impossible de charger l'aperçu de la version. Vous pouvez tout de même choisir ci-dessous comment résoudre le conflit."+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "Impossible de charger vos agents."+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "Impossible de charger vos rapports de bug."@@ -4425,6 +4447,10 @@ msgstr "Impossible de démarrer Slidev."msgid "Couldn't start the agent thread — please try again."msgstr "Impossible de démarrer le fil de l'agent — veuillez réessayer."+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "Impossible de démarrer le fil de l'agent."+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "Impossible de démarrer la synchronisation. Vérifiez votre connexion, puis réessayez."@@ -4730,7 +4756,6 @@ msgstr "Propriétés par défaut"msgid "Default: <0>{0}</0>"msgstr "Par défaut : <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "Supprimer"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "Supprimer {0}"@@ -4780,6 +4805,14 @@ msgstr "Supprime une puce de lien wiki ou d'étiquette adjacente."msgid "Delete block"msgstr "Supprimer le bloc"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "Supprimer la discussion"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "Supprimer la discussion ?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "Supprimer le bloc de code"@@ -4824,10 +4857,6 @@ msgstr "Supprimer le tableau"msgid "Delete the file"msgstr "Supprimer le fichier"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "Supprimer ce chat ?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "Supprimer ce commentaire"@@ -7734,7 +7763,7 @@ msgstr "Aller au texte ancré"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "Va à la source markdown du bloc situé au curseur, centrée et mise en évidence."-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "Chargement de {fileName}"msgid "Loading agent activity"msgstr "Chargement de l'activité de l'agent"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Chargement des agents…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "Nouveau"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "Nouvelle discussion {0}"@@ -8816,8 +8845,13 @@ msgstr "La nouvelle branche <0>{trimmed}</0> sera créée à partir du commit acmsgid "New changes from your remote appear in your copy automatically."msgstr "Les nouvelles modifications de votre dépôt distant apparaissent automatiquement dans votre copie."+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "Nouvelle discussion"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "Nouveau chat avec {agentName}"@@ -8999,6 +9033,10 @@ msgstr "Aucun agent disponible."msgid "No agents enabled"msgstr "Aucun agent activé"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "Aucun agent activé."+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Aucun agent ne correspond à votre recherche."@@ -9044,6 +9082,14 @@ msgstr "Pas encore de rapport de bug."msgid "No changes"msgstr "Aucune modification"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "Aucune discussion ne correspond à votre recherche"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "Aucune discussion pour le moment."+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "Aucun serveur de collaboration pour ce worktree — exécutez <0>ok start</0> ici, ou rouvrez le projet."@@ -9212,10 +9258,6 @@ msgstr "Aucun dépôt correspondant."msgid "No matching worktrees or branches."msgstr "Aucun worktree ni branche correspondant."-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "Aucun chat ouvert. Rouvrez-en un ancien ou démarrez-en un nouveau avec le bouton +."-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "Aucun lien sortant"@@ -9540,6 +9582,10 @@ msgstr "OK avait réglé ce dossier sur {0} — quelque chose en dehors d'OK l'amsgid "OKF agent skill installed"msgstr "Compétence d'agent OKF installée"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "Plus anciennes"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "Activé — survoler un lien externe envoie son URL au site de destination pour récupérer un aperçu."@@ -11454,7 +11500,7 @@ msgstr "Renommer"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "Renommer {0}"@@ -11463,6 +11509,10 @@ msgstr "Renommer {0}"msgid "Rename {keyName}"msgstr "Renommer {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "Renommer la discussion"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "Rendu"msgid "Reopen"msgstr "Rouvrir"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "Rouvrir un chat précédent"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "Rouvrir l'onglet fermé"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "Intégration HTML en bac à sable — écrivez du HTML, voyez l'aperçu se rendre en direct."#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "Rechercher des branches…"msgid "Search by meaning"msgstr "Rechercher par le sens"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "Rechercher dans l’historique des chats"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "Rechercher des discussions"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "Rechercher un émoji"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "Démarrage du terminal…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "Démarrage de l'agent…"@@ -14893,6 +14947,10 @@ msgstr "À faire"msgid "To do."msgstr "À faire."+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "Aujourd’hui"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "Bascule une liste à puces."@@ -15050,6 +15108,7 @@ msgstr "Essayer une invite"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.jsonindex 95c099d6b..efceab405 100644--- a/packages/app/src/locales/hi/messages.json+++ b/packages/app/src/locales/hi/messages.json@@ -555,7 +555,6 @@],"6Aih4U": ["ऑफ़लाइन"],"6EoD0z": ["टर्मिनल में हल करें"],- "6FCixu": ["पिछली चैट फिर से खोलें"],"6HCOwA": ["खोलने में विफल।"],"6KCH4m": ["छिपी हुई फ़ाइलें"],"6KXnz5": ["आप इस फ़ाइल को ट्रैश से पुनर्स्थापित कर सकते हैं।"],@@ -565,6 +564,7 @@"6MnZEC": ["टर्मिनल लोड नहीं हो सका"],"6Nea1q": ["सक्रिय गहरे मोड के लिए ", ["0"], " का उपयोग करें"],"6O626z": ["\"", ["trimmedAnchorQuery"], "\" से कोई शीर्षक मेल नहीं खाता"],+ "6PsaMr": ["चैट का नाम बदलें"],"6Pxqwv": ["अभी कोई प्रोजेक्ट टेम्पलेट नहीं। इसे इस प्रोजेक्ट में हर जगह उपलब्ध कराने के लिए एक बनाएँ। फ़ोल्डर-सीमित टेम्पलेट हर फ़ोल्डर के सिंहावलोकन पेज पर रहते हैं।"],@@ -733,6 +733,7 @@"8PmoQF": ["किसी खाली या सक्रिय पाठ स्थिति में इन्सर्ट मेन्यू खोलें।"],"8QLpZe": ["सर्वर बंद हो गया। फिर से कनेक्ट करने के लिए इसे पुनः आरंभ करें।"],"8RtNI0": ["दस्तावेज़ लोड करने में विफल"],+ "8SVvE7": ["इतिहास खोज मिटाएँ"],"8TvlHF": ["क्रैश डंप"],"8Uv5e6": ["एजेंट"],"8VLpRT": [@@ -1580,6 +1581,7 @@"If0crP": ["AI ", ["targetDisplayName"], " से खोलें, ", ["hint"]],"IgN3LY": ["<0>", ["address"], "</0> में चयनित पाठ पर"],"IgTwLt": ["इस दस्तावेज़ को संपादक में खोलें और ग्राफ़ समेटें।"],+ "IgkKDg": ["चैट हटाएँ?"],"Ik-gP0": ["शीर्षक H", ["level"], ": ", ["text"]],"ImTzPZ": ["यह मशीन"],"IoHQYP": ["लिंक सत्यापन उपलब्ध नहीं है। पिछली ज्ञात समस्याएँ दिखाई जा रही हैं।"],@@ -1646,6 +1648,7 @@"Jnz9AY": [["0"], " ", ["destination"], " के ऊपर है।"],"Jqqevv": ["सिस्टम त्रुटि"],"JrqL_z": ["ऊपर पंक्ति जोड़ें"],+ "Jrwm42": ["आपके एजेंट लोड नहीं हो सके।"],"JsHvhz": [["budgetLabel"]," टोकन मार्गदर्शन से अधिक। स्किल के उपयोग पर यह सब एजेंट के संदर्भ में लोड होता है — इसे हल्का रखें, या विवरण को references/ फ़ाइलों में ले जाएँ जो केवल माँग पर लोड होती हैं।"@@ -2404,6 +2407,7 @@"\" का स्थानीय सहयोग डेटा समय पर साफ़ नहीं हो सका। फिर कोशिश करने के लिए पेज दोबारा लोड करें।"],"ScwcF2": ["इस स्थान पर एक प्रोजेक्ट पहले से मौजूद है। कोई दूसरा मूल फ़ोल्डर चुनें।"],+ "Sdv6pQ": ["चैट का इतिहास"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " त्रुटि"], "other": ["#", " त्रुटियाँ"] }]],"SgAFuo": ["यहाँ फ़ाइलें अटैच नहीं की जा सकतीं।"],"SgKLfA": ["GitHub से जुड़ा नहीं।"],@@ -2457,7 +2461,6 @@"Tofsyo": ["Terminal को नीचे ले जाएँ"],"TpqW74": ["निश्चित"],"Tq3pcs": ["मेरा वाला रखें"],- "Tq9kNX": ["कोई चैट खुली नहीं है। पिछली चैट फिर से खोलें, या + बटन से नई शुरू करें।"],"TsZmgr": ["डिस्क की फ़ाइल, और वह id जो एजेंट उपयोग करते हैं।"],"TvY_XA": ["दस्तावेज़ीकरण"],"TwYboS": ["CodeMirror के स्रोत खोज परिणामों के बीच जाएँ या खोज पैनल ख़ारिज करें।"],@@ -2641,6 +2644,7 @@"W9NSe0": ["लिंक की जाँच की जा रही है"],"W9_Bub": ["स्थानीय बदलाव आने वाले सिंक से टकराते हैं"],"WBNpt9": ["यह थीम पढ़ी नहीं जा सकी (", ["0"], ")"],+ "WC8Mr6": ["एजेंट थ्रेड शुरू नहीं किया जा सका।"],"WEYdDv": ["अनुशंसित"],"WFEbV1": ["संपादक में सामान्य markdown समस्याएँ चिह्नित करें। <0>markdownlint<1/></0> द्वारा संचालित।"],"WG3MZ4": [["0"], " स्किलें चुनी गईं"],@@ -2833,6 +2837,7 @@],"YEP3X2": ["जब सक्रिय तालिका सेल चयन पूरी तालिका को घेरता हो तब तालिका हटाएँ।"],"YEzhIr": ["खींचें और भेजें"],+ "YFpLoV": ["चैट हटाएँ"],"YGIi_c": ["फिर से इंस्टॉल करें"],"YGNRB5": ["— सिवाय"],"YGt-0e": ["पढ़ा जा रहा है…"],@@ -3049,6 +3054,7 @@"_fZSIY": ["OpenKnowledge ने इस फ़ाइल को नहीं बदला क्योंकि वह इसे सुरक्षित रूप से पार्स नहीं कर सका। फ़ाइल को हाथ से ठीक करें, फिर दोबारा कोशिश करें।"],+ "_fwE6J": ["पुरानी"],"_gO_m8": ["आपकी स्वीकृति की प्रतीक्षा"],"_gkGSK": ["टेम्पलेट हटाया गया"],"_oqKcJ": ["अर्थ के आधार पर खोजने के लिए कम से कम 3 अक्षर दर्ज करें।"],@@ -3065,6 +3071,7 @@"a3LDKx": ["सुरक्षा"],"a45f2c": ["वे ग्लोब पैटर्न जिन पर यह स्कीमा लागू होती है"],"a4FRQv": ["इस संपादन तक पूर्ववत करें?"],+ "a4xYoA": ["चैट खोजें"],"a5Gha5": ["स्थानीय बदलावों ने मर्ज रोक दिया"],"a5W0q0": ["क्या आप वाकई ",@@ -3278,6 +3285,7 @@"cklVjM": ["समयरेखा"],"clJ3qM": ["पूर्ण।"],"cnGeoo": ["हटाएँ"],+ "cnR7h2": ["आपकी खोज से कोई चैट मेल नहीं खाती"],"cqQyPB": ["फ़ोल्डर का नाम"],"crqzW5": ["AI टूल"],"cs4mps": ["कॉन्फ़िग साझाकरण"],@@ -3419,6 +3427,7 @@"। जाँच में हर मूल अपरिवर्तित मिला, इसलिए उन कॉपियों को हटाएँ और मूव दोबारा आज़माएँ।"],"eJitUk": ["कंप्यूटर से अपलोड करें"],+ "eKGK4A": ["चैट इतिहास खोजें"],"eKThTQ": ["क्रम बदलने में विफल"],"eMWRAs": ["इंडेक्स किए गए पेज: ", ["semanticTotalCount"], " में से ", ["semanticIndexedCount"], "।"],"eNOyTV": [@@ -3445,6 +3454,7 @@"ebqMh6": ["इस प्रोजेक्ट के सभी लोगों के साथ साझा। प्रोजेक्ट फ़ोल्डर में सहेजा जाता है और git के ज़रिए उसी के साथ जाता है।"],+ "ecUA8p": ["आज"],"ee15Vl": ["स्किल आपके AI टूल को दोहराए जाने वाले काम सिखाती हैं। अपनी स्किल एडिटर के स्किल साइडबार में लिखें; इस पेज पर उन्हें चालू और साझा किया जाता है।"],@@ -3677,6 +3687,7 @@"gwykHF": ["यह दस्तावेज़ अभी GitHub पर सिंक नहीं हुआ है। अगले सिंक के बाद लिंक काम करेगा।"],"gyHDWC": ["AI से सब ठीक करें (", ["count"], ")"],"gyYvCN": ["मेरे संपादन भेजने की आवृत्ति"],+ "gzaLgh": ["चुनें कि नई चैट क्या शुरू करे"],"h-AdvS": ["फ़ोल्डर और टेम्पलेट पहले से यहीं हैं, इसलिए जोड़ने को कुछ नहीं है।"],"h-RPqa": ["इंडेक्स बनाते समय OpenKnowledge हर एम्बेडिंग अनुरोध के लिए कितनी देर प्रतीक्षा करता है। खोज अनुरोधों की समय सीमा हर प्रयास के लिए 8 सेकंड तय है और यह सेटिंग उसे नहीं बदलती।"@@ -3708,6 +3719,7 @@"hFmYGU": ["लिंक की गई थीम फ़ाइलें समर्थित नहीं हैं"],"hGmuTc": ["#", ["tagDocsName"], " टैग वाले दस्तावेज़"],"hHMv6l": ["ब्लॉक हटाएँ"],+ "hIQkLb": ["नई चैट"],"hItdtk": ["फ़ोल्डर ब्राउज़ करें"],"hLKfZe": ["इसके बजाय कोई टोकन उपयोग करें"],"hLod4_": ["टेम्पलेट में बदलें"],@@ -3896,6 +3908,7 @@"j9Vqvc": ["विरासत में मिला"],"j9tqwO": ["साइडबार में नहीं"],"jAMpHn": ["स्टार्टर पैक क्या है?"],+ "jAQCRf": ["कोई एजेंट सक्षम नहीं है।"],"jBVUXo": ["टर्मिनल नहीं खोला जा सका — कृपया फिर कोशिश करें।"],"jC8Bv4": ["चारों ओर देखा जा रहा है…"],"jC8LSZ": ["दृश्य फ़िल्टर रीसेट करें"],@@ -4015,7 +4028,6 @@"<0>Skills</0> नहीं दिख रहा? पहले <1>Settings <2/> Capabilities <3/> Code execution and file creation</1> सक्षम करें।"],"kVS5tE": ["प्रत्येक फ़ोल्डर में generated अनुक्रमणिका बनाए रखें?"],- "kVgQUA": ["यह चैट हटाएं?"],"kVzuTI": ["अनुशंसित एजेंट कौशल"],"kXNv8P": ["स्वचालित (केवल खींचें) आपके स्थानीय बदलावों को कभी पुश या कमिट नहीं करता। वे केवल इसी मशीन पर रहते हैं।"@@ -4576,6 +4588,7 @@"qze9od": ["यह फ़ोल्डर ", ["alsoAffects"], " का भी है।"],"r-OJYm": ["एक मान्य ब्रांच नाम डालें (कोई रिक्त स्थान नहीं, शुरू में बिंदु नहीं, \"..\" नहीं)।"],"r2eKE3": ["पहले ", ["agentName"], " में साइन इन करें"],+ "r3iaI0": ["अभी तक कोई चैट नहीं है।"],"r4R7AZ": ["सफ़ाई के दौरान नेटवर्क त्रुटि"],"r51jLC": ["फ़ाइल सहेजी गई और Claude Desktop App खुला"],"r6ncaO": ["टैब बंद करें"],@@ -5285,6 +5298,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["ठीक करना रोकें। जो फ़ाइलें पहले ही ठीक हो चुकी हैं वे ठीक ही रहेंगी।"],"yxF19Y": [["0", "plural", { "one": ["#", " प्लगइन"], "other": ["#", " प्लगइन"] }]],+ "yxH4Gs": [["0"], " CLI"],"yz7wBu": ["बंद करें"],"yzF66j": ["लिंक"],"yzGPkm": ["ग्राफ़ फैलाएँ"],diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.poindex 508b4605f..93895d6d0 100644--- a/packages/app/src/locales/hi/messages.po+++ b/packages/app/src/locales/hi/messages.po@@ -302,6 +302,11 @@ msgstr "{0} बिना पूछे काम करता है — OpenKnowmsgid "{0} added, {1} removed"msgstr "{0} जोड़े गए, {1} हटाए गए"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "{0} CLI"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} स्किलें"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, one {# दिन पहले} other {# दिन पहले}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days} दिन पहले"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, one {फ़ोल्डर} other {फ़ोल्msgid "{formatted} GitHub stars"msgstr "{formatted} GitHub स्टार"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{displayLine} पंक्ति पर {localizedMessage}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, one {# मिनट पहले} other {# मिनट पहले}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2339,6 +2344,7 @@ msgstr "इस मशीन के हर प्रोजेक्ट मेंmsgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "OpenKnowledge डेस्कटॉप ऐप में उपलब्ध। टर्मिनल से <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> का उपयोग करें।"+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2611,7 +2617,6 @@ msgstr "यह पथ साझा नहीं किया जा सकता#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2741,7 +2746,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "अक्षर"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "चैट का इतिहास"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "चैट का नाम"@@ -2879,6 +2888,10 @@ msgstr "फ़ोल्डर चुनें"msgid "Choose icon"msgstr "आइकन चुनें"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "चुनें कि नई चैट क्या शुरू करे"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "चुनें कि नया टैब क्या शुरू करे"@@ -2963,6 +2976,10 @@ msgstr "किसी फ़ील्ड का डिफ़ॉल्ट माmsgid "Clear color"msgstr "रंग हटाएँ"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "इतिहास खोज मिटाएँ"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3137,7 +3154,7 @@ msgstr "टैब बंद करें"msgid "Close terminal"msgstr "टर्मिनल बंद करें"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "इसे हटाने के लिए इस चैट का टैब बंद करें"@@ -3395,6 +3412,7 @@ msgstr "कॉन्फ़िगरेशन चेतावनियाँ"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4118,6 +4136,10 @@ msgstr "OpenKnowledge स्किल लोड नहीं हो सकींmsgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "संस्करण पूर्वावलोकन लोड नहीं हो सका। आप फिर भी नीचे तय कर सकते हैं कि इसे कैसे सुलझाना है।"+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "आपके एजेंट लोड नहीं हो सके।"+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "आपकी बग रिपोर्ट लोड नहीं हो सकीं।"@@ -4421,6 +4443,10 @@ msgstr "Slidev शुरू नहीं किया जा सका।"msgid "Couldn't start the agent thread — please try again."msgstr "एजेंट थ्रेड शुरू नहीं किया जा सका — कृपया फिर कोशिश करें।"+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "एजेंट थ्रेड शुरू नहीं किया जा सका।"+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "सिंक शुरू नहीं किया जा सका। अपना कनेक्शन जाँचें, फिर कोशिश करें।"@@ -4726,7 +4752,6 @@ msgstr "डिफ़ॉल्ट प्रॉपर्टी"msgid "Default: <0>{0}</0>"msgstr "डिफ़ॉल्ट: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4737,7 +4762,7 @@ msgstr "हटाएँ"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "{0} हटाएँ"@@ -4776,6 +4801,14 @@ msgstr "बगल का विकी लिंक या टैग चिपmsgid "Delete block"msgstr "ब्लॉक हटाएँ"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "चैट हटाएँ"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "चैट हटाएँ?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "कोड ब्लॉक हटाएँ"@@ -4820,10 +4853,6 @@ msgstr "तालिका हटाएँ"msgid "Delete the file"msgstr "फ़ाइल हटाएँ"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "यह चैट हटाएं?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "यह टिप्पणी हटाएँ"@@ -7730,7 +7759,7 @@ msgstr "एंकर किए गए पाठ पर जाएँ"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "कर्सर वाले ब्लॉक के markdown स्रोत पर जाएँ, बीच में और उभारा हुआ।"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8032,6 +8061,7 @@ msgstr "{fileName} लोड हो रही है"msgid "Loading agent activity"msgstr "एजेंट गतिविधि लोड हो रही है"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "एजेंट लोड हो रहे हैं…"@@ -8791,7 +8821,6 @@ msgid "New"msgstr "नया"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "नई {0} चैट"@@ -8812,8 +8841,13 @@ msgstr "नई ब्रांच <0>{trimmed}</0> मौजूदा कमिmsgid "New changes from your remote appear in your copy automatically."msgstr "आपके रिमोट के नए बदलाव आपकी प्रति में अपने आप आ जाते हैं।"+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "नई चैट"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "{agentName} के साथ नई चैट"@@ -8995,6 +9029,10 @@ msgstr "कोई एजेंट उपलब्ध नहीं।"msgid "No agents enabled"msgstr "कोई एजेंट सक्षम नहीं"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "कोई एजेंट सक्षम नहीं है।"+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "आपकी खोज से कोई एजेंट मेल नहीं खाता।"@@ -9040,6 +9078,14 @@ msgstr "अभी कोई बग रिपोर्ट नहीं।"msgid "No changes"msgstr "कोई बदलाव नहीं"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "आपकी खोज से कोई चैट मेल नहीं खाती"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "अभी तक कोई चैट नहीं है।"+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "इस वर्कट्री के लिए कोई सहयोग सर्वर नहीं — यहाँ <0>ok start</0> चलाएँ, या प्रोजेक्ट दोबारा खोलें।"@@ -9208,10 +9254,6 @@ msgstr "कोई मेल खाती रिपॉज़िटरी नहmsgid "No matching worktrees or branches."msgstr "कोई मेल खाता वर्कट्री या ब्रांच नहीं।"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "कोई चैट खुली नहीं है। पिछली चैट फिर से खोलें, या + बटन से नई शुरू करें।"-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "कोई जाने वाला नहीं"@@ -9536,6 +9578,10 @@ msgstr "OK ने पिछली बार इस फ़ोल्डर कोmsgid "OKF agent skill installed"msgstr "OKF एजेंट कौशल स्थापित"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "पुरानी"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "चालू — किसी बाहरी लिंक पर माउस ले जाने पर पूर्वावलोकन लाने के लिए उसका URL गंतव्य साइट को भेजा जाता है।"@@ -11450,7 +11496,7 @@ msgstr "नाम बदलें"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "{0} का नाम बदलें"@@ -11459,6 +11505,10 @@ msgstr "{0} का नाम बदलें"msgid "Rename {keyName}"msgstr "{keyName} का नाम बदलें"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "चैट का नाम बदलें"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11521,10 +11571,6 @@ msgstr "रेंडर किया गया"msgid "Reopen"msgstr "फिर से खोलें"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "पिछली चैट फिर से खोलें"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "बंद किया गया टैब फिर से खोलें"@@ -12010,7 +12056,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "सैंडबॉक्स किया गया HTML एम्बेड — HTML लिखें, रेंडर किया गया पूर्वावलोकन तुरंत देखें।"#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12147,6 +12192,14 @@ msgstr "ब्रांच खोजें…"msgid "Search by meaning"msgstr "अर्थ के अनुसार खोजें"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "चैट इतिहास खोजें"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "चैट खोजें"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "इमोजी खोजें"@@ -13367,6 +13420,7 @@ msgid "Starting terminal…"msgstr "टर्मिनल शुरू हो रहा है…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "एजेंट शुरू किया जा रहा है…"@@ -14889,6 +14943,10 @@ msgstr "करना है"msgid "To do."msgstr "करना है।"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "आज"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "बुलेट सूची चालू या बंद करें।"@@ -15046,6 +15104,7 @@ msgstr "कोई प्रॉम्प्ट आज़माएँ"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.jsonindex 311d5ccb0..8c3c4a41b 100644--- a/packages/app/src/locales/id/messages.json+++ b/packages/app/src/locales/id/messages.json@@ -583,7 +583,6 @@],"6Aih4U": ["Luring"],"6EoD0z": ["Selesaikan di terminal"],- "6FCixu": ["Buka kembali obrolan sebelumnya"],"6HCOwA": ["Gagal membuka."],"6KCH4m": ["Berkas tersembunyi"],"6KXnz5": ["Anda dapat memulihkan berkas ini dari Tempat Sampah."],@@ -593,6 +592,7 @@"6MnZEC": ["Gagal memuat terminal"],"6Nea1q": ["Pakai ", ["0"], " untuk mode gelap yang aktif"],"6O626z": ["Tidak ada judul yang cocok dengan \"", ["trimmedAnchorQuery"], "\""],+ "6PsaMr": ["Ganti nama chat"],"6Pxqwv": ["Belum ada templat proyek. Buat satu agar tersedia di mana pun dalam proyek ini. Templat khusus folder ada di halaman ikhtisar tiap folder."],@@ -769,6 +769,7 @@"8PmoQF": ["Membuka menu sisip pada posisi teks yang kosong atau aktif."],"8QLpZe": ["Server berhenti. Mulai ulang untuk menyambung kembali."],"8RtNI0": ["Gagal memuat dokumen"],+ "8SVvE7": ["Hapus pencarian riwayat"],"8TvlHF": ["Crash dump"],"8Uv5e6": ["Agen"],"8VLpRT": [@@ -1663,6 +1664,7 @@"If0crP": ["Buka dengan AI ", ["targetDisplayName"], ", ", ["hint"]],"IgN3LY": ["Pada teks terpilih di <0>", ["address"], "</0>"],"IgTwLt": ["Membuka dokumen ini di penyunting dan menciutkan graf."],+ "IgkKDg": ["Hapus chat?"],"Ik-gP0": ["Judul H", ["level"], ": ", ["text"]],"ImTzPZ": ["Mesin ini"],"IoHQYP": ["Validasi tautan tidak tersedia. Menampilkan masalah terakhir yang diketahui."],@@ -1731,6 +1733,7 @@"Jnz9AY": [["0"], " berada di atas ", ["destination"], "."],"Jqqevv": ["Galat sistem"],"JrqL_z": ["Sisipkan baris di atas"],+ "Jrwm42": ["Agen Anda tidak bisa dimuat."],"JsHvhz": ["Melebihi panduan ",["budgetLabel"],@@ -2494,6 +2497,7 @@"\" tidak dapat dibersihkan tepat waktu. Muat ulang untuk mencoba lagi."],"ScwcF2": ["Sudah ada proyek di lokasi ini. Pilih folder induk lain."],+ "Sdv6pQ": ["Riwayat chat"],"Sg-6Bo": [["errorCount", "plural", { "other": ["#", " galat"] }]],"SgAFuo": ["Berkas tidak bisa dilampirkan di sini."],"SgKLfA": ["Tidak terhubung ke GitHub."],@@ -2556,9 +2560,6 @@"Tofsyo": ["Pindahkan Terminal ke bawah"],"TpqW74": ["Tetap"],"Tq3pcs": ["Pakai punya saya"],- "Tq9kNX": [- "Tidak ada obrolan terbuka. Buka kembali obrolan sebelumnya, atau mulai yang baru dengan tombol +."- ],"TsZmgr": ["Berkas di disk, dan id yang dipakai agen."],"TvY_XA": ["Dokumentasi"],"TwYboS": ["Menelusuri hasil pencarian sumber CodeMirror atau menutup panel pencariannya."],@@ -2758,6 +2759,7 @@"W9NSe0": ["Memeriksa tautan"],"W9_Bub": ["Perubahan lokal bertumpang tindih dengan sinkronisasi yang masuk"],"WBNpt9": ["Tema ini tidak dapat dibaca (", ["0"], ")"],+ "WC8Mr6": ["Utas agen tidak bisa dimulai."],"WEYdDv": ["Direkomendasikan"],"WFEbV1": ["Menandai masalah markdown yang umum di penyunting. Ditenagai <0>markdownlint<1/></0>."@@ -2948,6 +2950,7 @@],"YEP3X2": ["Menghapus tabel ketika pilihan sel aktif mencakup seluruh tabel."],"YEzhIr": ["Pull dan Push"],+ "YFpLoV": ["Hapus chat"],"YGIi_c": ["Pasang ulang"],"YGNRB5": ["— kecuali"],"YGt-0e": ["Membaca…"],@@ -3163,6 +3166,7 @@"_fZSIY": ["OpenKnowledge tidak mengubah file ini karena tidak dapat mengurainya dengan aman. Perbaiki file secara manual, lalu coba lagi."],+ "_fwE6J": ["Lebih lama"],"_gO_m8": ["Menunggu persetujuan Anda"],"_gkGSK": ["templat dihapus"],"_oqKcJ": ["Masukkan minimal 3 karakter untuk mencari berdasarkan makna."],@@ -3179,6 +3183,7 @@"a3LDKx": ["Keamanan"],"a45f2c": ["Pola glob tempat skema ini berlaku"],"a4FRQv": ["Batalkan hingga suntingan ini?"],+ "a4xYoA": ["Cari chat"],"a5Gha5": ["Perubahan lokal menghalangi penggabungan"],"a5W0q0": ["Yakin ingin menghapus ",@@ -3418,6 +3423,7 @@"cklVjM": ["Lini masa"],"clJ3qM": ["Selesai."],"cnGeoo": ["Hapus"],+ "cnR7h2": ["Tidak ada chat yang cocok dengan pencarian Anda"],"cqQyPB": ["Nama folder"],"crqzW5": ["Alat AI"],"cs4mps": ["Berbagi konfigurasi"],@@ -3555,6 +3561,7 @@". Setiap aslinya sudah diverifikasi tidak berubah, jadi hapus salinan itu lalu coba pemindahan lagi."],"eJitUk": ["Unggah dari komputer"],+ "eKGK4A": ["Cari riwayat percakapan"],"eKThTQ": ["Gagal menata ulang"],"eMWRAs": ["Halaman terindeks: ",@@ -3587,6 +3594,7 @@"ebqMh6": ["Dibagikan ke semua orang di proyek ini. Disimpan di folder proyek dan ikut berpindah lewat git."],+ "ecUA8p": ["Hari ini"],"ee15Vl": ["Keterampilan mengajarkan tugas berulang kepada alat AI Anda. Tulis milik Anda di bilah sisi Keterampilan pada editor; halaman ini tempat keterampilan diaktifkan dan dibagikan."],@@ -3833,6 +3841,7 @@],"gyHDWC": ["Perbaiki semua dengan AI (", ["count"], ")"],"gyYvCN": ["Kirim suntingan saya setiap"],+ "gzaLgh": ["Pilih apa yang dimulai obrolan baru"],"h-AdvS": ["Folder dan templatnya sudah ada di sini, jadi tidak ada yang perlu ditambahkan."],"h-RPqa": ["Berapa lama OpenKnowledge menunggu setiap permintaan embedding saat pengindeksan. Permintaan pencarian memiliki batas waktu tetap 8 detik per percobaan, yang tidak berubah oleh pengaturan ini."@@ -3868,6 +3877,7 @@"hFmYGU": ["Berkas tema tertaut tidak didukung"],"hGmuTc": ["Dokumen bertag #", ["tagDocsName"]],"hHMv6l": ["Hapus blok"],+ "hIQkLb": ["Obrolan baru"],"hItdtk": ["Pilih folder"],"hLKfZe": ["Pakai token saja"],"hLod4_": ["Ubah menjadi templat"],@@ -4063,6 +4073,7 @@"j9Vqvc": ["diwarisi"],"j9tqwO": ["Tidak ada di bilah sisi"],"jAMpHn": ["Apa itu paket awal?"],+ "jAQCRf": ["Tidak ada agen yang diaktifkan."],"jBVUXo": ["Terminal tidak bisa dibuka — silakan coba lagi."],"jC8Bv4": ["Melihat-lihat sekitar…"],"jC8LSZ": ["Setel ulang filter tampilan"],@@ -4188,7 +4199,6 @@"Tidak melihat <0>Keterampilan</0>? Aktifkan dulu <1>Pengaturan <2/> Kemampuan <3/> Eksekusi kode dan pembuatan berkas</1>."],"kVS5tE": ["Pertahankan indeks generated di setiap folder?"],- "kVgQUA": ["Hapus obrolan ini?"],"kVzuTI": ["Keterampilan agen yang direkomendasikan"],"kXNv8P": ["Otomatis (hanya Pull) tidak pernah melakukan push atau commit perubahan lokal Anda. Semuanya tetap hanya di mesin ini."@@ -4765,6 +4775,7 @@"qze9od": ["Folder ini juga milik ", ["alsoAffects"], "."],"r-OJYm": ["Masukkan nama cabang yang valid (tanpa spasi, tanpa titik di awal, tanpa \"..\")."],"r2eKE3": ["Masuk dulu ke ", ["agentName"]],+ "r3iaI0": ["Belum ada chat."],"r4R7AZ": ["Galat jaringan saat pembersihan"],"r51jLC": ["Berkas tersimpan & aplikasi Claude Desktop terbuka"],"r6ncaO": ["Tutup tab"],@@ -5504,6 +5515,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["Berhenti memperbaiki. Berkas yang sudah diperbaiki tetap terperbaiki."],"yxF19Y": [["0", "plural", { "other": ["#", " plugin"] }]],+ "yxH4Gs": ["CLI ", ["0"]],"yz7wBu": ["Tutup"],"yzF66j": ["Tautan"],"yzGPkm": ["Bentangkan graf"],diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.poindex 21c5a12f8..0c8d72d8e 100644--- a/packages/app/src/locales/id/messages.po+++ b/packages/app/src/locales/id/messages.po@@ -302,6 +302,11 @@ msgstr "{0} bertindak tanpa bertanya — OpenKnowledge tidak dapat menambahkan pmsgid "{0} added, {1} removed"msgstr "{0} ditambahkan, {1} dihapus"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "CLI {0}"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} keterampilan"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, other {# hari lalu}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days} hr lalu"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, other {folder}}"msgid "{formatted} GitHub stars"msgstr "{formatted} bintang GitHub"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{localizedMessage} pada baris {displayLine}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, other {# mnt lalu}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2339,6 +2344,7 @@ msgstr "Tersedia di setiap proyek pada komputer ini. Tidak dibagikan lewat git."msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "Tersedia di aplikasi desktop OpenKnowledge. Dari terminal, gunakan<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2611,7 +2617,6 @@ msgstr "Tidak dapat membagikan jalur ini."#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2741,7 +2746,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "karakter"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "Riwayat chat"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "Nama obrolan"@@ -2879,6 +2888,10 @@ msgstr "Pilih folder"msgid "Choose icon"msgstr "Pilih ikon"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "Pilih apa yang dimulai obrolan baru"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "Pilih apa yang dimulai tab baru"@@ -2963,6 +2976,10 @@ msgstr "Kosongkan kolom untuk mengembalikan nilai defaultnya."msgid "Clear color"msgstr "Hapus warna"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "Hapus pencarian riwayat"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3137,7 +3154,7 @@ msgstr "Tutup tab"msgid "Close terminal"msgstr "Tutup terminal"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "Tutup tab obrolan ini untuk menghapusnya"@@ -3395,6 +3412,7 @@ msgstr "Peringatan konfigurasi"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4118,6 +4136,10 @@ msgstr "Keterampilan OpenKnowledge tidak dapat dimuat. Coba lagi."msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "Pratinjau versinya tidak bisa dimuat. Anda tetap bisa memilih cara menyelesaikannya di bawah."+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "Agen Anda tidak bisa dimuat."+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "Laporan bug Anda tidak bisa dimuat."@@ -4421,6 +4443,10 @@ msgstr "Tidak dapat menjalankan Slidev."msgid "Couldn't start the agent thread — please try again."msgstr "Utas agen tidak bisa dimulai — silakan coba lagi."+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "Utas agen tidak bisa dimulai."+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "Sinkronisasinya tidak bisa dimulai. Periksa koneksi Anda, lalu coba lagi."@@ -4726,7 +4752,6 @@ msgstr "Properti bawaan"msgid "Default: <0>{0}</0>"msgstr "Bawaan: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4737,7 +4762,7 @@ msgstr "Hapus"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "Hapus {0}"@@ -4776,6 +4801,14 @@ msgstr "Menghapus chip tautan wiki atau tag yang ada di sebelahnya."msgid "Delete block"msgstr "Hapus blok"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "Hapus chat"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "Hapus chat?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "Hapus blok kode"@@ -4820,10 +4853,6 @@ msgstr "Hapus tabel"msgid "Delete the file"msgstr "Hapus berkas"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "Hapus obrolan ini?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "Hapus komentar ini"@@ -7730,7 +7759,7 @@ msgstr "Lompat ke teks berjangkar"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "Lompat ke sumber markdown untuk blok di posisi kursor, terpusat dan tersorot."-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8032,6 +8061,7 @@ msgstr "Memuat {fileName}"msgid "Loading agent activity"msgstr "Memuat aktivitas agen"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Memuat agen…"@@ -8791,7 +8821,6 @@ msgid "New"msgstr "Baru"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "Obrolan {0} baru"@@ -8812,8 +8841,13 @@ msgstr "Cabang baru <0>{trimmed}</0> akan dibuat dari commit saat ini, di worktrmsgid "New changes from your remote appear in your copy automatically."msgstr "Perubahan baru dari remote Anda muncul di salinan Anda secara otomatis."+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "Obrolan baru"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "Obrolan baru dengan {agentName}"@@ -8995,6 +9029,10 @@ msgstr "Tidak ada agen yang tersedia."msgid "No agents enabled"msgstr "Tidak ada agen yang diaktifkan"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "Tidak ada agen yang diaktifkan."+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Tidak ada agen yang cocok dengan pencarian Anda."@@ -9040,6 +9078,14 @@ msgstr "Belum ada laporan bug."msgid "No changes"msgstr "Tidak ada perubahan"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "Tidak ada chat yang cocok dengan pencarian Anda"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "Belum ada chat."+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "Tidak ada server kolaborasi untuk worktree ini — jalankan <0>ok start</0> di sini, atau buka lagi proyeknya."@@ -9208,10 +9254,6 @@ msgstr "Tidak ada repositori yang cocok."msgid "No matching worktrees or branches."msgstr "Tidak ada worktree atau cabang yang cocok."-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "Tidak ada obrolan terbuka. Buka kembali obrolan sebelumnya, atau mulai yang baru dengan tombol +."-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "Tidak Ada Keluar"@@ -9536,6 +9578,10 @@ msgstr "Terakhir kali OK menyetel folder ini menjadi {0} — sesuatu di luar OKmsgid "OKF agent skill installed"msgstr "OKF keterampilan agen diinstal"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "Lebih lama"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "Aktif — mengarahkan kursor ke tautan eksternal mengirim URL-nya ke situs tujuan untuk mengambil pratinjau."@@ -11450,7 +11496,7 @@ msgstr "Ganti nama"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "Ganti nama {0}"@@ -11459,6 +11505,10 @@ msgstr "Ganti nama {0}"msgid "Rename {keyName}"msgstr "Ganti nama {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "Ganti nama chat"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11521,10 +11571,6 @@ msgstr "Dirender"msgid "Reopen"msgstr "Buka lagi"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "Buka kembali obrolan sebelumnya"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "Buka lagi tab yang ditutup"@@ -12010,7 +12056,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "Sematan HTML tersekat — tulis HTML, lihat pratinjau terendernya secara langsung."#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12147,6 +12192,14 @@ msgstr "Cari cabang..."msgid "Search by meaning"msgstr "Cari berdasarkan makna"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "Cari riwayat percakapan"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "Cari chat"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "Cari emoji"@@ -13367,6 +13420,7 @@ msgid "Starting terminal…"msgstr "Memulai terminal…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "Memulai agennya…"@@ -14889,6 +14943,10 @@ msgstr "Akan dikerjakan"msgid "To do."msgstr "Akan dikerjakan."+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "Hari ini"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "Menyalakan atau mematikan daftar berpoin."@@ -15046,6 +15104,7 @@ msgstr "Coba sebuah prompt"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.jsonindex c238beb6c..132c748cc 100644--- a/packages/app/src/locales/ko/messages.json+++ b/packages/app/src/locales/ko/messages.json@@ -556,7 +556,6 @@],"6Aih4U": ["오프라인"],"6EoD0z": ["터미널에서 해결"],- "6FCixu": ["이전 채팅 다시 열기"],"6HCOwA": ["열지 못했습니다."],"6KCH4m": ["숨김 파일"],"6KXnz5": ["휴지통에서 이 파일을 복원할 수 있습니다."],@@ -568,6 +567,7 @@"6MnZEC": ["터미널 로드 실패"],"6Nea1q": ["현재 어두운 모드로 ", ["0"], " 사용"],"6O626z": ["\"", ["trimmedAnchorQuery"], "\"과 일치하는 제목이 없습니다"],+ "6PsaMr": ["채팅 이름 변경"],"6Pxqwv": ["아직 프로젝트 템플릿이 없습니다. 하나를 만들면 이 프로젝트 어디서나 사용할 수 있습니다. 폴더 범위 템플릿은 각 폴더 개요 페이지에 저장됩니다."],@@ -741,6 +741,7 @@"8PmoQF": ["비어 있거나 활성화된 텍스트 위치에서 삽입 메뉴를 엽니다."],"8QLpZe": ["서버가 중지되었습니다. 다시 연결하려면 재시작하세요."],"8RtNI0": ["문서를 불러오지 못했습니다"],+ "8SVvE7": ["기록 검색 지우기"],"8TvlHF": ["크래시 덤프"],"8Uv5e6": ["에이전트"],"8VLpRT": [@@ -1591,6 +1592,7 @@"If0crP": ["AI로 ", ["targetDisplayName"], " 열기, ", ["hint"]],"IgN3LY": ["선택 텍스트: <0>", ["address"], "</0>"],"IgTwLt": ["이 문서를 편집기에서 열고 그래프를 접습니다."],+ "IgkKDg": ["채팅을 삭제할까요?"],"Ik-gP0": ["제목 H", ["level"], ": ", ["text"]],"ImTzPZ": ["이 컴퓨터"],"IoHQYP": ["링크 검증을 사용할 수 없습니다. 마지막으로 확인된 문제를 표시합니다."],@@ -1656,6 +1658,7 @@"Jnz9AY": [["0"], "이 ", ["destination"], " 위에 있습니다."],"Jqqevv": ["시스템 오류"],"JrqL_z": ["위에 행 삽입"],+ "Jrwm42": ["에이전트를 불러오지 못했습니다."],"JsHvhz": [["budgetLabel"]," 토큰 가이드를 초과했습니다. 스킬이 사용될 때 이 내용 전체가 에이전트 컨텍스트에 로드됩니다 — 간결하게 유지하거나, 필요할 때만 로드되는 references/ 파일로 세부 내용을 옮기세요."@@ -2386,6 +2389,7 @@"\"의 로컬 협업 데이터를 제때 지우지 못했습니다. 다시 시도하려면 다시 로드하세요."],"ScwcF2": ["이 위치에 프로젝트가 이미 있습니다. 다른 상위 폴더를 선택하세요."],+ "Sdv6pQ": ["채팅 기록"],"Sg-6Bo": [["errorCount", "plural", { "other": ["오류 ", "#", "개"] }]],"SgAFuo": ["여기에는 파일을 첨부할 수 없습니다."],"SgKLfA": ["GitHub에 연결되지 않음"],@@ -2446,7 +2450,6 @@"Tofsyo": ["터미널을 아래로 이동"],"TpqW74": ["고정"],"Tq3pcs": ["내 것 유지"],- "Tq9kNX": ["열린 채팅 없음. 이전 채팅을 다시 열거나 + 버튼으로 새 채팅 시작하세요."],"TsZmgr": ["디스크의 파일과 에이전트가 사용하는 ID입니다."],"TvY_XA": ["문서"],"TwYboS": ["CodeMirror 소스 검색 결과를 탐색하거나 검색 패널을 닫습니다."],@@ -2637,6 +2640,7 @@"W9NSe0": ["링크 확인 중"],"W9_Bub": ["로컬 변경 사항이 들어오는 동기화와 겹칩니다."],"WBNpt9": ["이 테마를 읽지 못했습니다 (", ["0"], ")"],+ "WC8Mr6": ["에이전트 스레드를 시작할 수 없습니다."],"WEYdDv": ["권장"],"WFEbV1": ["편집기에서 일반적인 Markdown 문제를 감지합니다. <0>markdownlint<1/></0>가 제공합니다."@@ -2820,6 +2824,7 @@],"YEP3X2": ["활성 표 셀 선택 영역이 표 전체를 포함하면 표를 삭제합니다."],"YEzhIr": ["풀 및 푸시"],+ "YFpLoV": ["채팅 삭제"],"YGIi_c": ["재설치"],"YGNRB5": ["제외"],"YGt-0e": ["읽는 중…"],@@ -3034,6 +3039,7 @@"_fZSIY": ["OpenKnowledge가 이 파일을 안전하게 파싱할 수 없어 파일을 변경하지 않았습니다. 파일을 직접 수정한 뒤 다시 시도하세요."],+ "_fwE6J": ["이전"],"_gO_m8": ["승인 대기 중"],"_gkGSK": ["템플릿 삭제됨"],"_oqKcJ": ["의미로 검색하려면 3자 이상 입력하세요."],@@ -3052,6 +3058,7 @@"a3LDKx": ["보안"],"a45f2c": ["이 스키마가 적용되는 glob 패턴"],"a4FRQv": ["이 편집으로 되돌리시겠습니까?"],+ "a4xYoA": ["채팅 검색"],"a5Gha5": ["로컬 변경 사항 때문에 병합할 수 없습니다."],"a5W0q0": ["“",@@ -3265,6 +3272,7 @@"cklVjM": ["타임라인"],"clJ3qM": ["완료"],"cnGeoo": ["삭제"],+ "cnR7h2": ["검색과 일치하는 채팅이 없습니다"],"cqQyPB": ["폴더 이름"],"crqzW5": ["AI 도구"],"cs4mps": ["설정 공유"],@@ -3405,6 +3413,7 @@". 각 원본이 변경되지 않았음을 확인했으니 그 사본을 삭제한 뒤 이동을 다시 시도하세요."],"eJitUk": ["컴퓨터에서 업로드"],+ "eKGK4A": ["채팅 기록 검색"],"eKThTQ": ["순서 변경 실패"],"eMWRAs": ["인덱싱된 페이지: ",@@ -3441,6 +3450,7 @@"ebqMh6": ["이 프로젝트의 모든 사람과 공유됩니다. 프로젝트 폴더에 저장되어 git을 통해 함께 이동합니다."],+ "ecUA8p": ["오늘"],"ee15Vl": ["스킬은 AI 도구에 반복 작업을 가르칩니다. 직접 만든 스킬은 편집기의 스킬 사이드바에서 작성하세요. 이 페이지에서 스킬을 켜고 공유합니다."],@@ -3671,6 +3681,7 @@"gwykHF": ["이 문서는 아직 GitHub와 동기화되지 않았습니다. 다음 동기화 후 링크가 작동합니다."],"gyHDWC": ["AI로 모두 수정 (", ["count"], ")"],"gyYvCN": ["내 편집 내용 푸시 주기"],+ "gzaLgh": ["새 채팅 시작 화면 선택"],"h-AdvS": ["폴더와 템플릿이 이미 있으므로 추가할 항목이 없습니다."],"h-RPqa": ["색인 생성 중 OpenKnowledge가 각 임베딩 요청을 기다리는 시간입니다. 검색 요청의 시간 제한은 시도당 8초로 고정되어 있으며 이 설정의 영향을 받지 않습니다."@@ -3702,6 +3713,7 @@"hFmYGU": ["연결된 테마 파일은 지원되지 않습니다"],"hGmuTc": ["#", ["tagDocsName"], " 태그가 지정된 문서"],"hHMv6l": ["블록 삭제"],+ "hIQkLb": ["새 채팅"],"hItdtk": ["폴더 찾아보기"],"hLKfZe": ["대신 토큰 사용"],"hLod4_": ["템플릿으로 변환"],@@ -3886,6 +3898,7 @@"j9Vqvc": ["상속됨"],"j9tqwO": ["사이드바에 없음"],"jAMpHn": ["스타터 팩이란?"],+ "jAQCRf": ["활성화된 에이전트가 없습니다."],"jBVUXo": ["터미널 열기 실패. 다시 시도하세요."],"jC8Bv4": ["둘러보는 중…"],"jC8LSZ": ["보기 필터 초기화"],@@ -4007,7 +4020,6 @@"<0>Skills</0> 미표시? 먼저 <1>설정 <2/> 기능 <3/> 코드 실행 및 파일 생성</1> 활성화."],"kVS5tE": ["모든 폴더에서 생성된 인덱스를 유지하시겠습니까?"],- "kVgQUA": ["채팅 삭제?"],"kVzuTI": ["권장 에이전트 스킬"],"kXNv8P": ["자동(풀만)은 로컬 변경 사항을 절대 푸시하거나 커밋하지 않습니다. 이 기기에만 남습니다."@@ -4552,6 +4564,7 @@"qze9od": ["이 폴더는 ", ["alsoAffects"], "의 폴더이기도 합니다."],"r-OJYm": ["유효한 브랜치 이름을 입력하세요(공백, 앞의 점, \"..\" 제외)."],"r2eKE3": ["먼저 ", ["agentName"], " 로그인"],+ "r3iaI0": ["아직 채팅이 없습니다."],"r4R7AZ": ["정리 중 네트워크 오류가 발생했습니다."],"r51jLC": ["파일 저장됨, Claude Desktop App 열림"],"r6ncaO": ["탭 닫기"],@@ -5255,6 +5268,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["수정을 중지합니다. 이미 수정한 파일은 그대로 유지됩니다."],"yxF19Y": [["0", "plural", { "other": ["플러그인 ", "#", "개"] }]],+ "yxH4Gs": [["0"], " CLI"],"yz7wBu": ["닫기"],"yzF66j": ["링크"],"yzGPkm": ["그래프 펼치기"],diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.poindex 08c043e8f..1778c791d 100644--- a/packages/app/src/locales/ko/messages.po+++ b/packages/app/src/locales/ko/messages.po@@ -302,6 +302,11 @@ msgstr "{0}이 확인 없이 작업합니다. OpenKnowledge는 이 에이전트msgid "{0} added, {1} removed"msgstr "{0}개 추가, {1}개 제거"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "{0} CLI"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "스킬 {count}개"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, other {#일 전}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days}일 전"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, other {폴더}}"msgid "{formatted} GitHub stars"msgstr "{formatted} GitHub 스타"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{localizedMessage}, 줄 {displayLine}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, other {#분 전}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "이 컴퓨터의 모든 프로젝트에서 사용할 수 있습니다. gmsgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "OpenKnowledge 데스크톱 앱에서 사용할 수 있습니다. 터미널에서 <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>를 사용합니다."+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "이 경로는 공유할 수 없습니다."#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "문자"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "채팅 기록"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "채팅 이름"@@ -2883,6 +2892,10 @@ msgstr "폴더 선택"msgid "Choose icon"msgstr "아이콘 선택"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "새 채팅 시작 화면 선택"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "새 탭 시작 화면 선택"@@ -2967,6 +2980,10 @@ msgstr "필드를 비우면 기본값으로 복원됩니다."msgid "Clear color"msgstr "색상 지우기"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "기록 검색 지우기"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "탭 닫기"msgid "Close terminal"msgstr "터미널 닫기"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "삭제할 채팅 탭 닫기"@@ -3399,6 +3416,7 @@ msgstr "구성 경고"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "OpenKnowledge 스킬을 불러오지 못했습니다. 다시 시도하msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "버전 미리보기를 불러오지 못했습니다. 아래에서 해결 방법을 선택할 수 있습니다."+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "에이전트를 불러오지 못했습니다."+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "버그 보고서를 불러오지 못했습니다."@@ -4425,6 +4447,10 @@ msgstr "Slidev를 시작하지 못했습니다."msgid "Couldn't start the agent thread — please try again."msgstr "에이전트 스레드 시작 실패. 다시 시도하세요."+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "에이전트 스레드를 시작할 수 없습니다."+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "동기화를 시작할 수 없습니다. 연결을 확인한 후 다시 시도하세요."@@ -4730,7 +4756,6 @@ msgstr "기본 속성"msgid "Default: <0>{0}</0>"msgstr "기본값: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "삭제"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "{0} 삭제"@@ -4780,6 +4805,14 @@ msgstr "인접한 위키 링크 또는 태그 칩을 삭제합니다."msgid "Delete block"msgstr "블록 삭제"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "채팅 삭제"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "채팅을 삭제할까요?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "코드 블록 삭제"@@ -4824,10 +4857,6 @@ msgstr "표 삭제"msgid "Delete the file"msgstr "파일 삭제"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "채팅 삭제?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "이 댓글 삭제"@@ -7734,7 +7763,7 @@ msgstr "앵커 텍스트로 이동"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "커서가 있는 블록의 Markdown 소스로 이동해 가운데에 표시하고 강조합니다."-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "{fileName} 불러오는 중"msgid "Loading agent activity"msgstr "에이전트 활동 불러오는 중"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "에이전트 불러오는 중…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "새 항목"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "새 {0} 채팅"@@ -8816,8 +8845,13 @@ msgstr "새 브랜치 <0>{trimmed}</0>는 현재 커밋에서 생성되며 <1>.omsgid "New changes from your remote appear in your copy automatically."msgstr "원격의 새 변경 사항이 사본에 자동으로 표시됩니다."+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "새 채팅"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "{agentName}와 새 채팅"@@ -8999,6 +9033,10 @@ msgstr "사용 가능한 에이전트 없음."msgid "No agents enabled"msgstr "활성화된 에이전트 없음"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "활성화된 에이전트가 없습니다."+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "검색과 일치하는 에이전트 없음."@@ -9044,6 +9082,14 @@ msgstr "아직 버그 보고서가 없습니다."msgid "No changes"msgstr "변경 없음"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "검색과 일치하는 채팅이 없습니다"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "아직 채팅이 없습니다."+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "이 워크스페이스에 협업 서버 없음. 여기서 <0>ok start</0> 실행하거나 프로젝트 다시 열기."@@ -9212,10 +9258,6 @@ msgstr "일치하는 저장소가 없습니다."msgid "No matching worktrees or branches."msgstr "일치하는 워크트리 또는 브랜치 없음."-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "열린 채팅 없음. 이전 채팅을 다시 열거나 + 버튼으로 새 채팅 시작하세요."-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "나가는 링크 없음"@@ -9540,6 +9582,10 @@ msgstr "OK가 마지막으로 이 폴더에 설정한 값은 {0}이지만, 그msgid "OKF agent skill installed"msgstr "OKF 에이전트 스킬 설치됨"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "이전"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "켜짐, 외부 링크 위에 마우스를 올리면 미리보기를 가져오기 위해 URL을 대상 사이트로 전송합니다."@@ -11454,7 +11500,7 @@ msgstr "이름 변경"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "{0} 이름 변경"@@ -11463,6 +11509,10 @@ msgstr "{0} 이름 변경"msgid "Rename {keyName}"msgstr "{keyName} 이름 바꾸기"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "채팅 이름 변경"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "렌더링됨"msgid "Reopen"msgstr "다시 열기"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "이전 채팅 다시 열기"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "닫은 탭 다시 열기"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "샌드박스 처리된 HTML 삽입입니다. HTML을 작성하면 렌더링된 미리보기가 실시간으로 표시됩니다."#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "브랜치 검색…"msgid "Search by meaning"msgstr "의미로 검색"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "채팅 기록 검색"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "채팅 검색"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "이모지 검색"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "터미널 시작 중…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "에이전트 시작 중…"@@ -14893,6 +14947,10 @@ msgstr "할 일"msgid "To do."msgstr "할 일"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "오늘"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "글머리 기호 목록을 전환합니다."@@ -15050,6 +15108,7 @@ msgstr "프롬프트 사용"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex 6ea842511..b10288eae 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -561,7 +561,6 @@],"6Aih4U": ["Ōƒƒĺĩńē"],"6EoD0z": ["Ŕēśōĺvē ĩń ţēŕḿĩńàĺ"],- "6FCixu": ["Ŕēōƥēń à ƥàśţ ćĥàţ"],"6HCOwA": ["Ƒàĩĺēď ţō ōƥēń."],"6KCH4m": ["Ĥĩďďēń ƒĩĺēś"],"6KXnz5": ["Ŷōũ ćàń ŕēśţōŕē ţĥĩś ƒĩĺē ƒŕōḿ ţĥē Ţŕàśĥ."],@@ -571,6 +570,7 @@"6MnZEC": ["Ţēŕḿĩńàĺ ƒàĩĺēď ţō ĺōàď"],"6Nea1q": ["Ũśē ", ["0"], " ƒōŕ ţĥē àćţĩvē ďàŕķ ḿōďē"],"6O626z": ["Ńō ĥēàďĩńĝś ḿàţćĥ \"", ["trimmedAnchorQuery"], "\""],+ "6PsaMr": ["Ŕēńàḿē ćĥàţ"],"6Pxqwv": ["Ńō ƥŕōĴēćţ ţēḿƥĺàţēś ŷēţ. Ćŕēàţē ōńē ţō ḿàķē ĩţ àvàĩĺàƀĺē ēvēŕŷŵĥēŕē ĩń ţĥĩś ƥŕōĴēćţ. Ƒōĺďēŕ-śćōƥēď ţēḿƥĺàţēś ĺĩvē ōń ēàćĥ ƒōĺďēŕ'ś ōvēŕvĩēŵ ƥàĝē."],@@ -752,6 +752,7 @@"8PmoQF": ["Ōƥēń ţĥē ĩńśēŕţ ḿēńũ ĩń àń ēḿƥţŷ ōŕ àćţĩvē ţēxţ ƥōśĩţĩōń."],"8QLpZe": ["Ţĥē śēŕvēŕ śţōƥƥēď. Ŕēśţàŕţ ĩţ ţō ŕēćōńńēćţ."],"8RtNI0": ["Ƒàĩĺēď ţō ĺōàď ďōćũḿēńţś"],+ "8SVvE7": ["Ćĺēàŕ ĥĩśţōŕŷ śēàŕćĥ"],"8TvlHF": ["Ćŕàśĥ ďũḿƥ"],"8Uv5e6": ["Àĝēńţś"],"8VLpRT": [@@ -1636,6 +1637,7 @@"If0crP": ["Ōƥēń ŵĩţĥ ÀĨ ", ["targetDisplayName"], ", ", ["hint"]],"IgN3LY": ["Ōń śēĺēćţēď ţēxţ ĩń <0>", ["address"], "</0>"],"IgTwLt": ["Ōƥēń ţĥĩś ďōćũḿēńţ ĩń ţĥē ēďĩţōŕ àńď ćōĺĺàƥśē ţĥē ĝŕàƥĥ."],+ "IgkKDg": ["Ďēĺēţē ćĥàţ?"],"Ik-gP0": ["Ĥēàďĩńĝ Ĥ", ["level"], ": ", ["text"]],"ImTzPZ": ["Ţĥĩś ḿàćĥĩńē"],"IoHQYP": ["Ĺĩńķ vàĺĩďàţĩōń ĩś ũńàvàĩĺàƀĺē. Śĥōŵĩńĝ ĺàśţ ķńōŵń ƥŕōƀĺēḿś."],@@ -1702,6 +1704,7 @@"Jnz9AY": [["0"], " ĩś ōvēŕ ", ["destination"], "."],"Jqqevv": ["Śŷśţēḿ ēŕŕōŕ"],"JrqL_z": ["Ĩńśēŕţ ŕōŵ àƀōvē"],+ "Jrwm42": ["Ćōũĺďń'ţ ĺōàď ŷōũŕ àĝēńţś."],"JsHvhz": ["Ōvēŕ ţĥē ",["budgetLabel"],@@ -2479,6 +2482,7 @@"\" ćōũĺď ńōţ ƀē ćĺēàŕēď ĩń ţĩḿē. Ŕēĺōàď ţō ŕēţŕŷ."],"ScwcF2": ["À ƥŕōĴēćţ àĺŕēàďŷ ēxĩśţś àţ ţĥĩś ĺōćàţĩōń. Ƥĩćķ à ďĩƒƒēŕēńţ ƥàŕēńţ ƒōĺďēŕ."],+ "Sdv6pQ": ["Ćĥàţ ĥĩśţōŕŷ"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " ēŕŕōŕ"], "other": ["#", " ēŕŕōŕś"] }]],"SgAFuo": ["Ţĥĩś ćōḿƥōśēŕ ďōēśń'ţ àććēƥţ àţţàćĥḿēńţś."],"SgKLfA": ["Ńōţ ćōńńēćţēď ţō ĜĩţĤũƀ."],@@ -2536,7 +2540,6 @@"Tofsyo": ["Ḿōvē Ţēŕḿĩńàĺ ţō ƀōţţōḿ"],"TpqW74": ["Ƒĩxēď"],"Tq3pcs": ["Ķēēƥ ḿĩńē"],- "Tq9kNX": ["Ńō ōƥēń ćĥàţś. Ŕēōƥēń à ƥàśţ ōńē, ōŕ śţàŕţ à ńēŵ ōńē ŵĩţĥ ţĥē + ƀũţţōń."],"TsZmgr": ["Ţĥē ƒĩĺē ōń ďĩśķ, àńď ţĥē ĩď àĝēńţś ũśē."],"TvY_XA": ["Ďōćũḿēńţàţĩōń"],"TwYboS": ["Ńàvĩĝàţē ĆōďēḾĩŕŕōŕ śōũŕćē śēàŕćĥ ŕēśũĺţś ōŕ ďĩśḿĩśś ţĥē śēàŕćĥ ƥàńēĺ."],@@ -2726,6 +2729,7 @@"W9NSe0": ["Ćĥēćķĩńĝ ĺĩńķś"],"W9_Bub": ["Ĺōćàĺ ćĥàńĝēś ōvēŕĺàƥ ŵĩţĥ ĩńćōḿĩńĝ śŷńć"],"WBNpt9": ["Ćōũĺďń’ţ ŕēàď ţĥĩś ţĥēḿē (", ["0"], ")"],+ "WC8Mr6": ["Ćōũĺďń'ţ śţàŕţ ţĥē àĝēńţ ţĥŕēàď."],"WEYdDv": ["Ŕēćōḿḿēńďēď"],"WFEbV1": ["Ƒĺàĝ ćōḿḿōń ḿàŕķďōŵń ĩśśũēś ĩń ţĥē ēďĩţōŕ. Ƥōŵēŕēď ƀŷ <0>ḿàŕķďōŵńĺĩńţ<1/></0>."],"WG3MZ4": [["0"], " śķĩĺĺś śēĺēćţēď"],@@ -2915,6 +2919,7 @@],"YEP3X2": ["Ďēĺēţē à ţàƀĺē ŵĥēń ţĥē àćţĩvē ţàƀĺē ćēĺĺ śēĺēćţĩōń ćōvēŕś ţĥē ƒũĺĺ ţàƀĺē."],"YEzhIr": ["Ƥũĺĺ àńď Ƥũśĥ"],+ "YFpLoV": ["Ďēĺēţē ćĥàţ"],"YGIi_c": ["Ŕēĩńśţàĺĺ"],"YGNRB5": ["— ēxćēƥţ"],"YGt-0e": ["Ŕēàďĩńĝ…"],@@ -3135,6 +3140,7 @@"_fZSIY": ["ŌƥēńĶńōŵĺēďĝē ĺēƒţ ţĥĩś ƒĩĺē àĺōńē ƀēćàũśē ĩţ ćōũĺď ńōţ ƥàŕśē ĩţ śàƒēĺŷ. Ƒĩx ţĥē ƒĩĺē ƀŷ ĥàńď, ţĥēń ţŕŷ àĝàĩń."],+ "_fwE6J": ["Ōĺďēŕ"],"_gO_m8": ["Ŵàĩţĩńĝ ƒōŕ ŷōũŕ àƥƥŕōvàĺ"],"_gkGSK": ["ďēĺēţēď ţēḿƥĺàţē"],"_oqKcJ": ["Ēńţēŕ àţ ĺēàśţ 3 ćĥàŕàćţēŕś ţō śēàŕćĥ ƀŷ ḿēàńĩńĝ."],@@ -3151,6 +3157,7 @@"a3LDKx": ["Śēćũŕĩţŷ"],"a45f2c": ["Ĝĺōƀ ƥàţţēŕńś ţĥĩś śćĥēḿà àƥƥĺĩēś ţō"],"a4FRQv": ["Ũńďō ţō ţĥĩś ēďĩţ?"],+ "a4xYoA": ["Śēàŕćĥ ćĥàţś"],"a5Gha5": ["Ĺōćàĺ ćĥàńĝēś ƀĺōćķēď ţĥē ḿēŕĝē"],"a5W0q0": ["Àŕē ŷōũ śũŕē ŷōũ ŵàńţ ţō ďēĺēţē ",@@ -3376,6 +3383,7 @@"cklVjM": ["Ţĩḿēĺĩńē"],"clJ3qM": ["Ďōńē."],"cnGeoo": ["Ďēĺēţē"],+ "cnR7h2": ["Ńō ćĥàţś ḿàţćĥ ŷōũŕ śēàŕćĥ"],"cqQyPB": ["Ƒōĺďēŕ ńàḿē"],"crqzW5": ["ÀĨ ţōōĺś"],"cs4mps": ["Ćōńƒĩĝ śĥàŕĩńĝ"],@@ -3533,6 +3541,7 @@". Ēàćĥ ōŕĩĝĩńàĺ ŵàś vēŕĩƒĩēď ũńćĥàńĝēď, śō ŕēḿōvē ţĥōśē ćōƥĩēś àńď ŕēţŕŷ ţĥē ḿōvē."],"eJitUk": ["Ũƥĺōàď ƒŕōḿ ćōḿƥũţēŕ"],+ "eKGK4A": ["Śēàŕćĥ ćĥàţ ĥĩśţōŕŷ"],"eKThTQ": ["Ƒàĩĺēď ţō ŕēōŕďēŕ"],"eMWRAs": ["Ƥàĝēś ĩńďēxēď: ", ["semanticIndexedCount"], " ōƒ ", ["semanticTotalCount"], "."],"eNOyTV": [@@ -3559,6 +3568,7 @@"ebqMh6": ["Śĥàŕēď ŵĩţĥ ēvēŕŷōńē ōń ţĥĩś ƥŕōĴēćţ. Śţōŕēď ĩń ţĥē ƥŕōĴēćţ ƒōĺďēŕ àńď ţŕàvēĺś ŵĩţĥ ĩţ ţĥŕōũĝĥ ĝĩţ."],+ "ecUA8p": ["Ţōďàŷ"],"ee15Vl": ["Śķĩĺĺś ţēàćĥ ŷōũŕ ÀĨ ţōōĺś ŕēƥēàţàƀĺē ţàśķś. Ŵŕĩţē ŷōũŕ ōŵń ĩń ţĥē ēďĩţōŕ'ś Śķĩĺĺś śĩďēƀàŕ; ţĥĩś ƥàĝē ĩś ŵĥēŕē ţĥēŷ ĝēţ śŵĩţćĥēď ōń àńď śĥàŕēď."],@@ -3805,6 +3815,7 @@"gwykHF": ["Ţĥĩś ďōć ĥàśń'ţ śŷńćēď ţō ĜĩţĤũƀ ŷēţ. Ţĥē ĺĩńķ ŵĩĺĺ ŵōŕķ àƒţēŕ ţĥē ńēxţ śŷńć."],"gyHDWC": ["Ƒĩx àĺĺ ŵĩţĥ ÀĨ (", ["count"], ")"],"gyYvCN": ["Ƥũśĥ ḿŷ ēďĩţś ēvēŕŷ"],+ "gzaLgh": ["Ćĥōōśē ŵĥàţ à ńēŵ ćĥàţ śţàŕţś"],"h-AdvS": ["Ţĥē ƒōĺďēŕś àńď ţēḿƥĺàţēś àŕē àĺŕēàďŷ ĥēŕē, śō ţĥēŕē'ś ńōţĥĩńĝ ţō àďď."],"h-RPqa": ["Ĥōŵ ĺōńĝ ŌƥēńĶńōŵĺēďĝē ŵàĩţś ƒōŕ ēàćĥ ēḿƀēďďĩńĝ ŕēǫũēśţ ŵĥĩĺē ĩńďēxĩńĝ. Śēàŕćĥ ŕēǫũēśţś ũśē à ƒĩxēď 8-śēćōńď ţĩḿēōũţ ƥēŕ àţţēḿƥţ, ũńćĥàńĝēď ƀŷ ţĥĩś śēţţĩńĝ."@@ -3840,6 +3851,7 @@"hFmYGU": ["Ĺĩńķēď ţĥēḿē ƒĩĺēś àŕēń’ţ śũƥƥōŕţēď"],"hGmuTc": ["Ďōćś ţàĝĝēď #", ["tagDocsName"]],"hHMv6l": ["Ďēĺēţē ƀĺōćķ"],+ "hIQkLb": ["Ńēŵ ćĥàţ"],"hItdtk": ["ßŕōŵśē ƒōĺďēŕ"],"hLKfZe": ["Ũśē à ţōķēń ĩńśţēàď"],"hLod4_": ["Ćōńvēŕţ ţō ţēḿƥĺàţē"],@@ -4030,6 +4042,7 @@"j9Vqvc": ["ĩńĥēŕĩţēď"],"j9tqwO": ["Ńōţ ĩń śĩďēƀàŕ"],"jAMpHn": ["Ŵĥàţ ĩś à śţàŕţēŕ ƥàćķ?"],+ "jAQCRf": ["Ńō àĝēńţś ēńàƀĺēď."],"jBVUXo": ["Ćōũĺďń'ţ ōƥēń ţĥē ţēŕḿĩńàĺ — ƥĺēàśē ţŕŷ àĝàĩń."],"jC8Bv4": ["Ĥàvĩńĝ à ĺōōķ àŕōũńď…"],"jC8LSZ": ["Ŕēśēţ vĩēŵ ƒĩĺţēŕś"],@@ -4149,7 +4162,6 @@"Ďōń'ţ śēē <0>Śķĩĺĺś</0>? Ēńàƀĺē <1>Śēţţĩńĝś <2/> Ćàƥàƀĩĺĩţĩēś <3/> Ćōďē ēxēćũţĩōń àńď ƒĩĺē ćŕēàţĩōń</1> ƒĩŕśţ."],"kVS5tE": ["Ḿàĩńţàĩń ĝēńēŕàţēď ĩńďēxēś ĩń ēvēŕŷ ƒōĺďēŕ?"],- "kVgQUA": ["Ďēĺēţē ţĥĩś ćĥàţ?"],"kVzuTI": ["Ŕēćōḿḿēńďēď àĝēńţ śķĩĺĺ"],"kXNv8P": ["Àũţō (Ƥũĺĺ ōńĺŷ) ńēvēŕ ƥũśĥēś ōŕ ćōḿḿĩţś ŷōũŕ ĺōćàĺ ćĥàńĝēś. Ţĥēŷ śţàŷ ōńĺŷ ōń ţĥĩś ḿàćĥĩńē."@@ -4742,6 +4754,7 @@"qze9od": ["Ţĥĩś ƒōĺďēŕ ĩś àĺśō ", ["alsoAffects"], "'ś."],"r-OJYm": ["Ēńţēŕ à vàĺĩď ƀŕàńćĥ ńàḿē (ńō śƥàćēś, ńō ĺēàďĩńĝ ďōţ, ńō \"..\")."],"r2eKE3": ["Śĩĝń ĩń ţō ", ["agentName"], " ƒĩŕśţ"],+ "r3iaI0": ["Ńō ćĥàţś ŷēţ."],"r4R7AZ": ["Ńēţŵōŕķ ēŕŕōŕ ďũŕĩńĝ ćĺēàńũƥ"],"r51jLC": ["Ƒĩĺē śàvēď & Ćĺàũďē Ďēśķţōƥ Àƥƥ ōƥēńēď"],"r6ncaO": ["Ćĺōśē ţàƀ"],@@ -5492,6 +5505,7 @@"yvHDYG": ["Ćĺàũďē Ďēśķţōƥ"],"yvSAuM": ["Śţōƥ ƒĩxĩńĝ. Ƒĩĺēś àĺŕēàďŷ ƒĩxēď śţàŷ ƒĩxēď."],"yxF19Y": [["0", "plural", { "one": ["#", " ƥĺũĝĩń"], "other": ["#", " ƥĺũĝĩńś"] }]],+ "yxH4Gs": [["0"], " ĆĹĨ"],"yz7wBu": ["Ćĺōśē"],"yzF66j": ["Ĺĩńķ"],"yzGPkm": ["Ēxƥàńď ĝŕàƥĥ"],diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex 2728d7462..7fb01f239 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -302,6 +302,11 @@ msgstr ""msgid "{0} added, {1} removed"msgstr ""+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr ""+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr ""msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr ""@@ -858,7 +863,7 @@ msgstr ""msgid "{formatted} GitHub stars"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr ""msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2339,6 +2344,7 @@ msgstr ""msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2611,7 +2617,6 @@ msgstr ""#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2741,7 +2746,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr ""++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr ""@@ -2879,6 +2888,10 @@ msgstr ""msgid "Choose icon"msgstr ""+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr ""+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr ""@@ -2963,6 +2976,10 @@ msgstr ""msgid "Clear color"msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr ""+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3137,7 +3154,7 @@ msgstr ""msgid "Close terminal"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr ""@@ -3395,6 +3412,7 @@ msgstr ""#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4118,6 +4136,10 @@ msgstr ""msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr ""+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr ""+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr ""@@ -4421,6 +4443,10 @@ msgstr ""msgid "Couldn't start the agent thread — please try again."msgstr ""+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr ""+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr ""@@ -4726,7 +4752,6 @@ msgstr ""msgid "Default: <0>{0}</0>"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4737,7 +4762,7 @@ msgstr ""#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr ""@@ -4776,6 +4801,14 @@ msgstr ""msgid "Delete block"msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr ""++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr ""+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr ""@@ -4820,10 +4853,6 @@ msgstr ""msgid "Delete the file"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr ""-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr ""@@ -7730,7 +7759,7 @@ msgstr ""msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8032,6 +8061,7 @@ msgstr ""msgid "Loading agent activity"msgstr ""+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr ""@@ -8791,7 +8821,6 @@ msgid "New"msgstr ""#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr ""@@ -8812,8 +8841,13 @@ msgstr ""msgid "New changes from your remote appear in your copy automatically."msgstr ""+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr ""+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr ""@@ -8995,6 +9029,10 @@ msgstr ""msgid "No agents enabled"msgstr ""+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr ""+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr ""@@ -9040,6 +9078,14 @@ msgstr ""msgid "No changes"msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr ""++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr ""+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr ""@@ -9208,10 +9254,6 @@ msgstr ""msgid "No matching worktrees or branches."msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr ""-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr ""@@ -9536,6 +9578,10 @@ msgstr ""msgid "OKF agent skill installed"msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr ""+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr ""@@ -11450,7 +11496,7 @@ msgstr ""#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr ""@@ -11459,6 +11505,10 @@ msgstr ""msgid "Rename {keyName}"msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr ""+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11521,10 +11571,6 @@ msgstr ""msgid "Reopen"msgstr ""-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr ""-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr ""@@ -12010,7 +12056,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr ""#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12147,6 +12192,14 @@ msgstr ""msgid "Search by meaning"msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr ""++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr ""+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr ""@@ -13367,6 +13420,7 @@ msgid "Starting terminal…"msgstr ""#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr ""@@ -14889,6 +14943,10 @@ msgstr ""msgid "To do."msgstr ""+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr ""+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr ""@@ -15046,6 +15104,7 @@ msgstr ""#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.jsonindex 3e02b98ab..3ccccaa0f 100644--- a/packages/app/src/locales/pt-BR/messages.json+++ b/packages/app/src/locales/pt-BR/messages.json@@ -664,7 +664,6 @@],"6Aih4U": ["Offline"],"6EoD0z": ["Resolver no terminal"],- "6FCixu": ["Reabrir um chat anterior"],"6HCOwA": ["Falha ao abrir."],"6KCH4m": ["Arquivos ocultos"],"6KXnz5": ["Você pode restaurar este arquivo do Lixo."],@@ -674,6 +673,7 @@"6MnZEC": ["Falha ao carregar o terminal"],"6Nea1q": ["Usar ", ["0"], " no modo escuro ativo"],"6O626z": ["Nenhum título corresponde a \"", ["trimmedAnchorQuery"], "\""],+ "6PsaMr": ["Renomear chat"],"6Pxqwv": ["Ainda não há modelos de projeto. Crie um para deixá-lo disponível em todo o projeto. Os modelos de pasta ficam na página geral de cada pasta."],@@ -886,6 +886,7 @@"8PmoQF": ["Abre o menu de inserção em uma posição de texto vazia ou ativa."],"8QLpZe": ["O servidor parou. Reinicie-o para reconectar."],"8RtNI0": ["Falha ao carregar os documentos"],+ "8SVvE7": ["Limpar busca do histórico"],"8TvlHF": ["Despejo de falha"],"8Uv5e6": ["Agentes"],"8VLpRT": [@@ -1895,6 +1896,7 @@"If0crP": ["Abrir com a IA ", ["targetDisplayName"], ", ", ["hint"]],"IgN3LY": ["Sobre o texto selecionado em <0>", ["address"], "</0>"],"IgTwLt": ["Abre este documento no editor e recolhe o grafo."],+ "IgkKDg": ["Excluir chat?"],"Ik-gP0": ["Título H", ["level"], ": ", ["text"]],"ImTzPZ": ["Esta máquina"],"IoHQYP": [@@ -1975,6 +1977,7 @@"Jnz9AY": [["0"], " está sobre ", ["destination"], "."],"Jqqevv": ["Erro do sistema"],"JrqL_z": ["Inserir linha acima"],+ "Jrwm42": ["Não foi possível carregar seus agentes."],"JsHvhz": ["Acima da referência de ",["budgetLabel"],@@ -2821,6 +2824,7 @@"\". Recarregue para tentar de novo."],"ScwcF2": ["Já existe um projeto neste local. Escolha outra pasta acima."],+ "Sdv6pQ": ["Histórico de chats"],"Sg-6Bo": [["errorCount",@@ -2895,7 +2899,6 @@"Tofsyo": ["Mover o Terminal para a parte inferior"],"TpqW74": ["Fixa"],"Tq3pcs": ["Manter o meu"],- "Tq9kNX": ["Nenhum chat aberto. Reabra um anterior ou inicie um novo com o botão +."],"TsZmgr": ["O arquivo no disco, e o id que os agentes usam."],"TvY_XA": ["Documentação"],"TwYboS": ["Percorre os resultados de busca do CodeMirror ou fecha o painel de busca."],@@ -3141,6 +3144,7 @@"W9NSe0": ["Verificando links"],"W9_Bub": ["As alterações locais se sobrepõem à sincronização que está chegando"],"WBNpt9": ["Não foi possível ler este tema (", ["0"], ")"],+ "WC8Mr6": ["Não deu para iniciar a conversa com o agente."],"WEYdDv": ["Recomendado"],"WFEbV1": ["Sinaliza problemas comuns de markdown no editor. Funciona com <0>markdownlint<1/></0>."@@ -3346,6 +3350,7 @@],"YEP3X2": ["Exclui uma tabela quando a seleção de células ativa cobre a tabela inteira."],"YEzhIr": ["Pull e Push"],+ "YFpLoV": ["Excluir chat"],"YGIi_c": ["Reinstalar"],"YGNRB5": ["— exceto"],"YGt-0e": ["Lendo…"],@@ -3573,6 +3578,7 @@"_fZSIY": ["O OpenKnowledge não alterou este arquivo porque não conseguiu analisá-lo com segurança. Corrija o arquivo manualmente e tente novamente."],+ "_fwE6J": ["Anteriores"],"_gO_m8": ["Aguardando sua aprovação"],"_gkGSK": ["modelo excluído"],"_oqKcJ": ["Digite pelo menos 3 caracteres para buscar por significado."],@@ -3589,6 +3595,7 @@"a3LDKx": ["Segurança"],"a45f2c": ["Padrões glob a que este esquema se aplica"],"a4FRQv": ["Desfazer até esta edição?"],+ "a4xYoA": ["Pesquisar chats"],"a5Gha5": ["Alterações locais bloquearam a mesclagem"],"a5W0q0": ["Tem certeza de que quer excluir ",@@ -3844,6 +3851,7 @@"cklVjM": ["Linha do tempo"],"clJ3qM": ["Concluído."],"cnGeoo": ["Excluir"],+ "cnR7h2": ["Nenhum chat corresponde à sua busca"],"cqQyPB": ["Nome da pasta"],"crqzW5": ["Ferramentas de IA"],"cs4mps": ["Compartilhamento de configuração"],@@ -4029,6 +4037,7 @@". Cada original foi verificado e está inalterado, então remova essas cópias e tente a movimentação de novo."],"eJitUk": ["Enviar do computador"],+ "eKGK4A": ["Pesquisar no histórico de conversas"],"eKThTQ": ["Falha ao reordenar"],"eMWRAs": ["Páginas indexadas: ",@@ -4063,6 +4072,7 @@"ebqMh6": ["Compartilhado com todo mundo no projeto. Fica na pasta do projeto e viaja junto com ela pelo git."],+ "ecUA8p": ["Hoje"],"ee15Vl": ["As habilidades ensinam tarefas repetíveis às suas ferramentas de IA. Escreva as suas na barra lateral Habilidades do editor; esta página é onde elas são ativadas e compartilhadas."],@@ -4355,6 +4365,7 @@],"gyHDWC": ["Corrigir tudo com IA (", ["count"], ")"],"gyYvCN": ["Enviar minhas edições a cada"],+ "gzaLgh": ["Escolha o que um novo chat inicia"],"h-AdvS": ["As pastas e os modelos já estão aqui, então não há nada a acrescentar."],"h-RPqa": ["Quanto tempo o OpenKnowledge aguarda cada solicitação de embedding durante a indexação. As solicitações de pesquisa têm um tempo limite fixo de 8 segundos por tentativa, que não é alterado por esta configuração."@@ -4390,6 +4401,7 @@"hFmYGU": ["Arquivos de tema vinculados não são compatíveis"],"hGmuTc": ["Documentos com a tag #", ["tagDocsName"]],"hHMv6l": ["Excluir o bloco"],+ "hIQkLb": ["Novo chat"],"hItdtk": ["Escolher pasta"],"hLKfZe": ["Usar um token em vez disso"],"hLod4_": ["Converter em modelo"],@@ -4598,6 +4610,7 @@"j9Vqvc": ["herdado"],"j9tqwO": ["Não está na barra lateral"],"jAMpHn": ["O que é um pacote inicial?"],+ "jAQCRf": ["Nenhum agente ativado."],"jBVUXo": ["Não deu para abrir o terminal — tente de novo."],"jC8Bv4": ["Dando uma olhada…"],"jC8LSZ": ["Redefinir os filtros de visualização"],@@ -4721,7 +4734,6 @@"Não vê <0>Habilidades</0>? Ative antes <1>Configurações <2/> Recursos <3/> Execução de código e criação de arquivos</1>."],"kVS5tE": ["Manter índices generated em todas as pastas?"],- "kVgQUA": ["Excluir este chat?"],"kVzuTI": ["Habilidade recomendada do agente"],"kXNv8P": ["Automático (somente Pull) nunca faz push nem commit das suas alterações locais. Elas ficam somente nesta máquina."@@ -5377,6 +5389,7 @@"qze9od": ["Esta pasta também é de ", ["alsoAffects"], "."],"r-OJYm": ["Digite um nome de ramo válido (sem espaços, sem ponto inicial, sem \"..\")."],"r2eKE3": ["Entre primeiro no ", ["agentName"]],+ "r3iaI0": ["Ainda não há chats."],"r4R7AZ": ["Erro de rede durante a limpeza"],"r51jLC": ["Arquivo salvo e app Claude Desktop aberto"],"r6ncaO": ["Fechar aba"],@@ -6207,6 +6220,7 @@{ "one": ["#", " plugin"], "many": ["#", " plugins"], "other": ["#", " plugins"] }]],+ "yxH4Gs": ["CLI do ", ["0"]],"yz7wBu": ["Fechar"],"yzF66j": ["Link"],"yzGPkm": ["Expandir o grafo"],diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.poindex 341dc7d4c..c684db42c 100644--- a/packages/app/src/locales/pt-BR/messages.po+++ b/packages/app/src/locales/pt-BR/messages.po@@ -302,6 +302,11 @@ msgstr "{0} age sem perguntar — o OpenKnowledge não consegue adicionar pedidomsgid "{0} added, {1} removed"msgstr "{0} adicionados, {1} removidos"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "CLI do {0}"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} habilidades"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, one {há # dia} many {há # dias} other {há # dias}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "há {days} d"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, one {pasta} many {pastas} other {pastas}}"msgid "{formatted} GitHub stars"msgstr "{formatted} estrelas no GitHub"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "{localizedMessage} na linha {displayLine}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, one {há # min} many {há # min} other {há # min}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2339,6 +2344,7 @@ msgstr "Disponível em todos os projetos deste computador. Não é compartilhadomsgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "Disponível no app de desktop do OpenKnowledge. Em um terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2611,7 +2617,6 @@ msgstr "Não é possível compartilhar este caminho."#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2741,7 +2746,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "caracteres"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "Histórico de chats"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "Nome do chat"@@ -2879,6 +2888,10 @@ msgstr "Escolher pasta"msgid "Choose icon"msgstr "Escolher ícone"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "Escolha o que um novo chat inicia"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "Escolha o que uma nova aba inicia"@@ -2963,6 +2976,10 @@ msgstr "Limpe um campo para restaurar seu valor padrão."msgid "Clear color"msgstr "Limpar cor"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "Limpar busca do histórico"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3137,7 +3154,7 @@ msgstr "Fechar aba"msgid "Close terminal"msgstr "Fechar terminal"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "Feche a aba deste chat para excluí-lo"@@ -3395,6 +3412,7 @@ msgstr "Avisos de configuração"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4118,6 +4136,10 @@ msgstr "Não foi possível carregar as habilidades do OpenKnowledge. Tente de nomsgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "Não foi possível carregar a pré-visualização da versão. Você ainda pode escolher abaixo como resolver."+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "Não foi possível carregar seus agentes."+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "Não foi possível carregar seus relatórios de erro."@@ -4421,6 +4443,10 @@ msgstr "Não foi possível iniciar o Slidev."msgid "Couldn't start the agent thread — please try again."msgstr "Não deu para iniciar a conversa com o agente — tente de novo."+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "Não deu para iniciar a conversa com o agente."+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "Não deu para iniciar a sincronização. Verifique sua conexão e tente de novo."@@ -4726,7 +4752,6 @@ msgstr "Propriedades padrão"msgid "Default: <0>{0}</0>"msgstr "Padrão: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4737,7 +4762,7 @@ msgstr "Excluir"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "Excluir {0}"@@ -4776,6 +4801,14 @@ msgstr "Exclui um chip de link wiki ou de tag que esteja ao lado."msgid "Delete block"msgstr "Excluir o bloco"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "Excluir chat"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "Excluir chat?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "Excluir o bloco de código"@@ -4820,10 +4853,6 @@ msgstr "Excluir tabela"msgid "Delete the file"msgstr "Excluir o arquivo"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "Excluir este chat?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "Excluir este comentário"@@ -7730,7 +7759,7 @@ msgstr "Ir para o texto ancorado"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "Ir para o código markdown do bloco onde está o cursor, centralizado e destacado."-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8032,6 +8061,7 @@ msgstr "Carregando {fileName}"msgid "Loading agent activity"msgstr "Carregando a atividade do agente"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Carregando agentes…"@@ -8791,7 +8821,6 @@ msgid "New"msgstr "Novo"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "Novo chat do {0}"@@ -8812,8 +8841,13 @@ msgstr "O novo ramo <0>{trimmed}</0> será criado a partir do commit atual, em umsgid "New changes from your remote appear in your copy automatically."msgstr "As novidades do seu remoto aparecem na sua cópia automaticamente."+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "Novo chat"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "Novo chat com {agentName}"@@ -8995,6 +9029,10 @@ msgstr "Nenhum agente disponível."msgid "No agents enabled"msgstr "Nenhum agente ativado"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "Nenhum agente ativado."+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Nenhum agente corresponde à sua busca."@@ -9040,6 +9078,14 @@ msgstr "Ainda não há relatórios de erro."msgid "No changes"msgstr "Sem alterações"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "Nenhum chat corresponde à sua busca"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "Ainda não há chats."+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "Não há servidor de colaboração para este worktree — rode <0>ok start</0> aqui ou abra o projeto de novo."@@ -9208,10 +9254,6 @@ msgstr "Nenhum repositório corresponde."msgid "No matching worktrees or branches."msgstr "Nenhum worktree ou ramo corresponde."-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "Nenhum chat aberto. Reabra um anterior ou inicie um novo com o botão +."-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "Sem saída"@@ -9536,6 +9578,10 @@ msgstr "Da última vez o OK deixou esta pasta como {0} — algo fora do OK mudoumsgid "OKF agent skill installed"msgstr "OKF habilidade do agente instalada"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "Anteriores"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "Ligada — passar o cursor sobre um link externo envia a URL dele ao site de destino para buscar uma pré-visualização."@@ -11450,7 +11496,7 @@ msgstr "Renomear"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "Renomear {0}"@@ -11459,6 +11505,10 @@ msgstr "Renomear {0}"msgid "Rename {keyName}"msgstr "Renomear {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "Renomear chat"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11521,10 +11571,6 @@ msgstr "Renderizado"msgid "Reopen"msgstr "Reabrir"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "Reabrir um chat anterior"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "Reabrir a aba fechada"@@ -12010,7 +12056,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "HTML incorporado em modo isolado — escreva HTML e veja a pré-visualização renderizada ao vivo."#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12147,6 +12192,14 @@ msgstr "Buscar ramos..."msgid "Search by meaning"msgstr "Buscar por significado"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "Pesquisar no histórico de conversas"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "Pesquisar chats"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "Buscar emoji"@@ -13367,6 +13420,7 @@ msgid "Starting terminal…"msgstr "Iniciando terminal…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "Iniciando o agente…"@@ -14889,6 +14943,10 @@ msgstr "A fazer"msgid "To do."msgstr "A fazer."+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "Hoje"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "Liga ou desliga uma lista com marcadores."@@ -15046,6 +15104,7 @@ msgstr "Experimente um prompt"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.jsonindex 98ff132eb..0da33e967 100644--- a/packages/app/src/locales/ur/messages.json+++ b/packages/app/src/locales/ur/messages.json@@ -580,7 +580,6 @@],"6Aih4U": ["آف لائن"],"6EoD0z": ["ٹرمینل میں حل کریں"],- "6FCixu": ["پچھلی چیٹ دوبارہ کھولیں"],"6HCOwA": ["نہیں کھل سکا۔"],"6KCH4m": ["چھپی ہوئی فائلیں"],"6KXnz5": ["آپ اس فائل کو ردی سے بحال کر سکتے ہیں۔"],@@ -590,6 +589,7 @@"6MnZEC": ["ٹرمینل لوڈ نہیں ہو سکا"],"6Nea1q": ["فعال گہرے موڈ کے لیے ", ["0"], " استعمال کریں"],"6O626z": ["«", ["trimmedAnchorQuery"], "» سے کوئی عنوان مماثل نہیں"],+ "6PsaMr": ["چیٹ کا نام بدلیں"],"6Pxqwv": ["ابھی پروجیکٹ کا کوئی ٹیمپلیٹ نہیں۔ اسے اس پروجیکٹ میں ہر جگہ دستیاب کرنے کے لیے ایک بنائیں۔ فولڈر تک محدود ٹیمپلیٹس ہر فولڈر کے جائزہ صفحے پر رہتے ہیں۔"],@@ -770,6 +770,7 @@"8PmoQF": ["خالی یا فعال متن کی جگہ پر داخل کرنے کا مینو کھولیں۔"],"8QLpZe": ["سرور رک گیا۔ دوبارہ منسلک ہونے کے لیے اسے دوبارہ چلائیں۔"],"8RtNI0": ["دستاویزات لوڈ نہیں ہو سکیں"],+ "8SVvE7": ["ہسٹری کی تلاش صاف کریں"],"8TvlHF": ["کریش ڈمپ"],"8Uv5e6": ["ایجنٹس"],"8VLpRT": [@@ -1666,6 +1667,7 @@"If0crP": ["AI ", ["targetDisplayName"], " کے ساتھ کھولیں، ", ["hint"]],"IgN3LY": ["<0>", ["address"], "</0> میں منتخب متن پر"],"IgTwLt": ["یہ دستاویز ایڈیٹر میں کھولیں اور گراف سکیڑ دیں۔"],+ "IgkKDg": ["چیٹ حذف کریں؟"],"Ik-gP0": ["عنوان H", ["level"], ": ", ["text"]],"ImTzPZ": ["یہ مشین"],"IoHQYP": ["لنک کی توثیق دستیاب نہیں ہے۔ آخری معلوم مسائل دکھائے جا رہے ہیں۔"],@@ -1734,6 +1736,7 @@"Jnz9AY": [["0"], " ", ["destination"], " کے اوپر ہے۔"],"Jqqevv": ["سسٹم کی خرابی"],"JrqL_z": ["اوپر قطار داخل کریں"],+ "Jrwm42": ["آپ کے ایجنٹس لوڈ نہیں ہو سکے۔"],"JsHvhz": [["budgetLabel"]," ٹوکن رہنمائی سے زیادہ۔ مہارت کے استعمال پر یہ سب ایجنٹ کے سیاق میں لوڈ ہوتا ہے — اسے مختصر رکھیں، یا تفصیل references/ فائلوں میں منتقل کریں جو صرف ضرورت پر لوڈ ہوتی ہیں۔"@@ -2527,6 +2530,7 @@"» کا مقامی اشتراکی ڈیٹا وقت پر صاف نہیں ہو سکا۔ دوبارہ کوشش کے لیے صفحہ لوڈ کریں۔"],"ScwcF2": ["اس مقام پر پہلے سے ایک پروجیکٹ موجود ہے۔ کوئی مختلف والد فولڈر منتخب کریں۔"],+ "Sdv6pQ": ["چیٹ کی سرگزشت"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " خرابی"], "other": ["#", " خرابیاں"] }]],"SgAFuo": ["یہاں فائلیں منسلک نہیں کی جا سکتیں۔"],"SgKLfA": ["GitHub سے منسلک نہیں۔"],@@ -2591,7 +2595,6 @@"Tofsyo": ["Terminal کو نیچے منتقل کریں"],"TpqW74": ["مقررہ"],"Tq3pcs": ["میری والی رکھیں"],- "Tq9kNX": ["کوئی کھلی چیٹ نہیں۔ پچھلی چیٹ دوبارہ کھولیں، یا + بٹن سے نئی شروع کریں۔"],"TsZmgr": ["ڈسک پر موجود فائل، اور وہ شناخت جو ایجنٹس استعمال کرتے ہیں۔"],"TvY_XA": ["دستاویزات"],"TwYboS": ["CodeMirror کے سورس تلاش نتائج میں گھومیں یا تلاش کا پینل برخاست کریں۔"],@@ -2787,6 +2790,7 @@"W9NSe0": ["لنکس کی جانچ ہو رہی ہے"],"W9_Bub": ["مقامی تبدیلیاں آنے والی مطابقت پذیری سے ٹکراتی ہیں"],"WBNpt9": ["یہ تھیم پڑھی نہیں جا سکی (", ["0"], ")"],+ "WC8Mr6": ["ایجنٹ کا تھریڈ شروع نہیں ہو سکا۔"],"WEYdDv": ["تجویز کردہ"],"WFEbV1": ["ایڈیٹر میں Markdown کے عام مسائل نشان زد کریں۔ <0>markdownlint<1/></0> سے تقویت یافتہ۔"@@ -2981,6 +2985,7 @@],"YEP3X2": ["جب فعال ٹیبل سیل کا انتخاب پورے ٹیبل پر محیط ہو تو ٹیبل حذف کریں۔"],"YEzhIr": ["کھینچیں اور پُش کریں"],+ "YFpLoV": ["چیٹ حذف کریں"],"YGIi_c": ["دوبارہ نصب کریں"],"YGNRB5": ["— سوائے"],"YGt-0e": ["پڑھا جا رہا ہے…"],@@ -3205,6 +3210,7 @@"_fZSIY": ["OpenKnowledge نے اس فائل کو تبدیل نہیں کیا کیونکہ وہ اسے محفوظ طریقے سے پارس نہیں کر سکا۔ فائل کو خود درست کریں، پھر دوبارہ کوشش کریں۔"],+ "_fwE6J": ["پرانی"],"_gO_m8": ["آپ کی منظوری کا انتظار ہے"],"_gkGSK": ["ٹیمپلیٹ حذف کیا"],"_oqKcJ": ["معنی کے لحاظ سے تلاش کرنے کے لیے کم از کم 3 حروف درج کریں۔"],@@ -3223,6 +3229,7 @@"a3LDKx": ["سیکیورٹی"],"a45f2c": ["وہ glob پیٹرنز جن پر یہ اسکیما لاگو ہوتا ہے"],"a4FRQv": ["اس ترمیم تک واپس جائیں؟"],+ "a4xYoA": ["چیٹس تلاش کریں"],"a5Gha5": ["مقامی تبدیلیوں نے ضم ہونے سے روک دیا"],"a5W0q0": ["کیا آپ واقعی ",@@ -3460,6 +3467,7 @@"cklVjM": ["ٹائم لائن"],"clJ3qM": ["مکمل۔"],"cnGeoo": ["حذف کریں"],+ "cnR7h2": ["آپ کی تلاش سے کوئی چیٹ مماثل نہیں"],"cqQyPB": ["فولڈر کا نام"],"crqzW5": ["AI ٹولز"],"cs4mps": ["کنفیگ کا اشتراک"],@@ -3614,6 +3622,7 @@"۔ جانچ میں ہر اصل غیر تبدیل شدہ پایا گیا، اس لیے وہ کاپیاں حذف کریں اور منتقلی دوبارہ آزمائیں۔"],"eJitUk": ["کمپیوٹر سے اپ لوڈ کریں"],+ "eKGK4A": ["چیٹ ہسٹری میں تلاش کریں"],"eKThTQ": ["ترتیب نہیں بدلی جا سکی"],"eMWRAs": ["انڈیکس شدہ صفحات: ",@@ -3646,6 +3655,7 @@"ebqMh6": ["اس پروجیکٹ کے سب لوگوں کے ساتھ مشترک۔ پروجیکٹ فولڈر میں محفوظ ہوتا ہے اور git کے ذریعے اسی کے ساتھ جاتا ہے۔"],+ "ecUA8p": ["آج"],"ee15Vl": ["مہارتیں آپ کے AI ٹولز کو دہرائے جانے والے کام سکھاتی ہیں۔ اپنی مہارتیں ایڈیٹر کے مہارتیں سائیڈبار میں لکھیں؛ اس صفحے پر انہیں فعال اور شیئر کیا جاتا ہے۔"],@@ -3889,6 +3899,7 @@],"gyHDWC": ["AI سے سب ٹھیک کریں (", ["count"], ")"],"gyYvCN": ["میری ترامیم بھیجنے کا وقفہ"],+ "gzaLgh": ["منتخب کریں کہ نئی گفتگو کیا شروع کرے"],"h-AdvS": ["فولڈرز اور ٹیمپلیٹس یہاں پہلے سے موجود ہیں، اس لیے شامل کرنے کو کچھ نہیں۔"],"h-RPqa": ["انڈیکس بناتے وقت OpenKnowledge ہر ایمبیڈنگ درخواست کے لیے کتنی دیر انتظار کرتا ہے۔ تلاش کی درخواستوں کے ہر کوشش کے لیے وقت کی حد 8 سیکنڈ مقرر ہے اور یہ سیٹنگ اسے تبدیل نہیں کرتی۔"@@ -3923,6 +3934,7 @@"hFmYGU": ["منسلک تھیم فائلوں کی معاونت نہیں ہے"],"hGmuTc": ["#", ["tagDocsName"], " سے ٹیگ شدہ دستاویزات"],"hHMv6l": ["بلاک حذف کریں"],+ "hIQkLb": ["نئی گفتگو"],"hItdtk": ["فولڈر براؤز کریں"],"hLKfZe": ["اس کے بجائے ٹوکن استعمال کریں"],"hLod4_": ["ٹیمپلیٹ میں بدلیں"],@@ -4114,6 +4126,7 @@"j9Vqvc": ["وراثت میں ملا"],"j9tqwO": ["سائیڈ بار میں نہیں"],"jAMpHn": ["ابتدائی پیک کیا ہے؟"],+ "jAQCRf": ["کوئی ایجنٹ فعال نہیں۔"],"jBVUXo": ["ٹرمینل نہیں کھل سکا — براہِ کرم دوبارہ کوشش کریں۔"],"jC8Bv4": ["جائزہ لیا جا رہا ہے…"],"jC8LSZ": ["منظر کے فلٹرز دوبارہ ترتیب دیں"],@@ -4239,7 +4252,6 @@"<0>مہارتیں</0> نظر نہیں آ رہیں؟ پہلے <1>ترتیبات <2/> صلاحیتیں <3/> کوڈ کا اجرا اور فائل سازی</1> فعال کریں۔"],"kVS5tE": ["ہر فولڈر میں generated اشاریہ جات کو برقرار رکھیں؟"],- "kVgQUA": ["یہ چیٹ حذف کریں؟"],"kVzuTI": ["تجویز کردہ ایجنٹ کی مہارت"],"kXNv8P": ["خودکار (صرف کھینچیں) آپ کی مقامی تبدیلیاں کبھی پُش یا کمٹ نہیں کرتا۔ وہ صرف اسی مشین پر رہتی ہیں۔"@@ -4838,6 +4850,7 @@"qze9od": ["یہ فولڈر ", ["alsoAffects"], " کا بھی ہے۔"],"r-OJYm": ["برانچ کا درست نام درج کریں (کوئی خالی جگہ نہیں، شروع میں نقطہ نہیں، «..» نہیں)۔"],"r2eKE3": ["پہلے ", ["agentName"], " میں سائن اِن کریں"],+ "r3iaI0": ["ابھی کوئی چیٹ نہیں۔"],"r4R7AZ": ["صفائی کے دوران نیٹ ورک کی خرابی"],"r51jLC": ["فائل محفوظ ہو گئی اور Claude Desktop App کھل گیا"],"r6ncaO": ["ٹیب بند کریں"],@@ -5580,6 +5593,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["ٹھیک کرنا روکیں۔ جو فائلیں پہلے ہی ٹھیک ہو چکی ہیں وہ ٹھیک ہی رہیں گی۔"],"yxF19Y": [["0", "plural", { "one": ["#", " پلگ اِن"], "other": ["#", " پلگ اِنز"] }]],+ "yxH4Gs": [["0"], " CLI"],"yz7wBu": ["بند کریں"],"yzF66j": ["لنک"],"yzGPkm": ["گراف پھیلائیں"],diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.poindex 76725d0d4..08323e85e 100644--- a/packages/app/src/locales/ur/messages.po+++ b/packages/app/src/locales/ur/messages.po@@ -302,6 +302,11 @@ msgstr "{0} پوچھے بغیر عمل کرتا ہے — OpenKnowledge اس کےmsgid "{0} added, {1} removed"msgstr "{0} شامل، {1} ہٹائے گئے"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "{0} CLI"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} مہارتیں"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, one {# دن پہلے} other {# دن پہلے}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days} دن پہلے"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, one {فولڈر} other {فولڈرز}}"msgid "{formatted} GitHub stars"msgstr "{formatted} GitHub ستارے"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "سطر {displayLine} پر {localizedMessage}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, one {# منٹ پہلے} other {# منٹ پہلے}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "اس مشین کے ہر پروجیکٹ میں دستیاب۔ git کے ذmsgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب۔ ٹرمینل سے<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> استعمال کریں۔"+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "یہ راستہ شیئر نہیں کیا جا سکتا۔"#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "حروف"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "چیٹ کی سرگزشت"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "چیٹ کا نام"@@ -2883,6 +2892,10 @@ msgstr "فولڈر منتخب کریں"msgid "Choose icon"msgstr "آئیکن منتخب کریں"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "منتخب کریں کہ نئی گفتگو کیا شروع کرے"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "منتخب کریں کہ نیا ٹیب کیا شروع کرے"@@ -2967,6 +2980,10 @@ msgstr "کسی فیلڈ کی ڈیفالٹ قدر بحال کرنے کے لیےmsgid "Clear color"msgstr "رنگ ہٹائیں"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "ہسٹری کی تلاش صاف کریں"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "ٹیب بند کریں"msgid "Close terminal"msgstr "ٹرمینل بند کریں"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "اسے حذف کرنے کے لیے اس چیٹ کا ٹیب بند کریں"@@ -3399,6 +3416,7 @@ msgstr "کنفیگریشن کے انتباہات"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "OpenKnowledge مہارتیں لوڈ نہیں ہو سکیں۔ دوبارmsgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "ورژن کا پیش منظر لوڈ نہیں ہو سکا۔ آپ اب بھی نیچے سے حل کا طریقہ منتخب کر سکتے ہیں۔"+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "آپ کے ایجنٹس لوڈ نہیں ہو سکے۔"+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "آپ کی بگ رپورٹس لوڈ نہیں ہو سکیں۔"@@ -4425,6 +4447,10 @@ msgstr "Slidev شروع نہیں ہو سکا۔"msgid "Couldn't start the agent thread — please try again."msgstr "ایجنٹ کا تھریڈ شروع نہیں ہو سکا — براہِ کرم دوبارہ کوشش کریں۔"+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "ایجنٹ کا تھریڈ شروع نہیں ہو سکا۔"+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "مطابقت پذیری شروع نہیں ہو سکی۔ اپنا کنکشن دیکھیں، پھر دوبارہ کوشش کریں۔"@@ -4730,7 +4756,6 @@ msgstr "طے شدہ خصوصیات"msgid "Default: <0>{0}</0>"msgstr "طے شدہ: <0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "حذف کریں"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "{0} حذف کریں"@@ -4780,6 +4805,14 @@ msgstr "ملحقہ وکی لنک یا ٹیگ چِپ حذف کریں۔"msgid "Delete block"msgstr "بلاک حذف کریں"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "چیٹ حذف کریں"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "چیٹ حذف کریں؟"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "کوڈ بلاک حذف کریں"@@ -4824,10 +4857,6 @@ msgstr "ٹیبل حذف کریں"msgid "Delete the file"msgstr "فائل حذف کریں"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "یہ چیٹ حذف کریں؟"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "یہ تبصرہ حذف کریں"@@ -7734,7 +7763,7 @@ msgstr "لنگر انداز متن پر جائیں"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "کرسر والے بلاک کے Markdown سورس پر جائیں، بیچ میں اور نمایاں۔"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "{fileName} لوڈ ہو رہی ہے"msgid "Loading agent activity"msgstr "ایجنٹ کی سرگرمی لوڈ ہو رہی ہے"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "ایجنٹس لوڈ ہو رہے ہیں…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "نیا"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "نئی {0} گفتگو"@@ -8816,8 +8845,13 @@ msgstr "نئی برانچ <0>{trimmed}</0> موجودہ کمٹ سے بنے گیmsgid "New changes from your remote appear in your copy automatically."msgstr "آپ کے ریموٹ کی نئی تبدیلیاں خودکار طور پر آپ کی نقل میں آ جاتی ہیں۔"+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "نئی گفتگو"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "{agentName} کے ساتھ نئی چیٹ"@@ -8999,6 +9033,10 @@ msgstr "کوئی ایجنٹ دستیاب نہیں۔"msgid "No agents enabled"msgstr "کوئی ایجنٹ فعال نہیں"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "کوئی ایجنٹ فعال نہیں۔"+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "آپ کی تلاش سے کوئی ایجنٹ مماثل نہیں۔"@@ -9044,6 +9082,14 @@ msgstr "ابھی کوئی بگ رپورٹ نہیں۔"msgid "No changes"msgstr "کوئی تبدیلی نہیں"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "آپ کی تلاش سے کوئی چیٹ مماثل نہیں"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "ابھی کوئی چیٹ نہیں۔"+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "اس ورک ٹری کے لیے کوئی اشتراکی سرور نہیں — یہاں <0>ok start</0> چلائیں، یا پروجیکٹ دوبارہ کھولیں۔"@@ -9212,10 +9258,6 @@ msgstr "کوئی مماثل ریپازٹری نہیں۔"msgid "No matching worktrees or branches."msgstr "کوئی مماثل ورک ٹری یا برانچ نہیں۔"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "کوئی کھلی چیٹ نہیں۔ پچھلی چیٹ دوبارہ کھولیں، یا + بٹن سے نئی شروع کریں۔"-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "کوئی جانے والا نہیں"@@ -9540,6 +9582,10 @@ msgstr "OK نے آخری بار اس فولڈر کو {0} مقرر کیا تھاmsgid "OKF agent skill installed"msgstr "OKF ایجنٹ کی مہارت انسٹال ہوگئی"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "پرانی"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "فعال — بیرونی لنک پر ماؤس لے جانے سے اس کا URL پیش منظر لانے کے لیے منزل کی سائٹ کو بھیجا جاتا ہے۔"@@ -11454,7 +11500,7 @@ msgstr "نام بدلیں"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "{0} کا نام بدلیں"@@ -11463,6 +11509,10 @@ msgstr "{0} کا نام بدلیں"msgid "Rename {keyName}"msgstr "{keyName} کا نام بدلیں"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "چیٹ کا نام بدلیں"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "رینڈر شدہ"msgid "Reopen"msgstr "دوبارہ کھولیں"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "پچھلی چیٹ دوبارہ کھولیں"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "بند کیا گیا ٹیب دوبارہ کھولیں"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "سینڈ باکسڈ HTML ایمبیڈ — HTML لکھیں، رینڈر شدہ پیش منظر براہِ راست دیکھیں۔"#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "برانچیں تلاش کریں..."msgid "Search by meaning"msgstr "معنی کے لحاظ سے تلاش کریں"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "چیٹ ہسٹری میں تلاش کریں"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "چیٹس تلاش کریں"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "ایموجی تلاش کریں"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "ٹرمینل شروع ہو رہا ہے…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "ایجنٹ شروع کیا جا رہا ہے…"@@ -14893,6 +14947,10 @@ msgstr "کرنا ہے"msgid "To do."msgstr "کرنا ہے۔"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "آج"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "بلٹ فہرست بدلیں۔"@@ -15050,6 +15108,7 @@ msgstr "کوئی پرامپٹ آزمائیں"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.jsonindex 3a6af6ee8..c592c4c83 100644--- a/packages/app/src/locales/zh-Hans/messages.json+++ b/packages/app/src/locales/zh-Hans/messages.json@@ -502,7 +502,6 @@"6ASTuj": ["命令将以你在本机用户账户的完整权限运行。关闭此项可禁用 shell。"],"6Aih4U": ["离线"],"6EoD0z": ["在终端中解决"],- "6FCixu": ["重新打开之前的对话"],"6HCOwA": ["打开失败。"],"6KCH4m": ["隐藏文件"],"6KXnz5": ["你可以从废纸篓中恢复此文件。"],@@ -512,6 +511,7 @@"6MnZEC": ["终端加载失败"],"6Nea1q": ["将 ", ["0"], " 用于当前的深色模式"],"6O626z": ["没有标题匹配 \"", ["trimmedAnchorQuery"], "\""],+ "6PsaMr": ["重命名聊天"],"6Pxqwv": ["还没有项目模板。创建一个,就能在这个项目的任何地方使用它。文件夹范围的模板保存在各个文件夹的总览页上。"],@@ -663,6 +663,7 @@"8PmoQF": ["在空白或活动的文本位置打开插入菜单。"],"8QLpZe": ["服务器已停止。重启服务器以重新连接。"],"8RtNI0": ["加载文档失败"],+ "8SVvE7": ["清除历史记录搜索"],"8TvlHF": ["崩溃转储"],"8Uv5e6": ["智能体"],"8VLpRT": [@@ -1420,6 +1421,7 @@"If0crP": ["用 AI ", ["targetDisplayName"], " 打开,", ["hint"]],"IgN3LY": ["在 <0>", ["address"], "</0> 中选中的文本上"],"IgTwLt": ["在编辑器中打开这个文档并折叠关系图。"],+ "IgkKDg": ["删除聊天?"],"Ik-gP0": [["level"], " 级标题:", ["text"]],"ImTzPZ": ["本机"],"IoHQYP": ["链接验证不可用。正在显示上次已知的问题。"],@@ -1481,6 +1483,7 @@"Jnz9AY": [["0"], " 位于 ", ["destination"], " 上方。"],"Jqqevv": ["系统错误"],"JrqL_z": ["在上方插入行"],+ "Jrwm42": ["无法加载你的智能体。"],"JsHvhz": ["超出 ",["budgetLabel"],@@ -2155,6 +2158,7 @@],"Sc1bKE": ["未能及时清除“", ["docName"], "”的本地协作数据。请重新加载后重试。"],"ScwcF2": ["该位置已存在一个项目。请换一个上级文件夹。"],+ "Sdv6pQ": ["聊天记录"],"Sg-6Bo": [["errorCount", "plural", { "other": ["#", " 个错误"] }]],"SgAFuo": ["此处无法添加附件。"],"SgKLfA": ["未连接到 GitHub。"],@@ -2208,7 +2212,6 @@"Tofsyo": ["将 Terminal 移到底部"],"TpqW74": ["固定"],"Tq3pcs": ["保留我的"],- "Tq9kNX": ["没有打开的对话。重新打开之前的对话,或使用 + 按钮开始新对话。"],"TsZmgr": ["磁盘上的文件,以及智能体使用的 id。"],"TvY_XA": ["文档"],"TwYboS": ["在 CodeMirror 源码搜索结果之间移动,或关闭搜索面板。"],@@ -2386,6 +2389,7 @@"W9NSe0": ["正在检查链接"],"W9_Bub": ["本地改动与传入的同步内容重叠"],"WBNpt9": ["无法读取此主题(", ["0"], ")"],+ "WC8Mr6": ["无法启动智能体线程。"],"WEYdDv": ["推荐"],"WFEbV1": ["在编辑器中标出常见的 markdown 问题。由 <0>markdownlint<1/></0> 提供支持。"],"WG3MZ4": ["已选择 ", ["0"], " 个技能"],@@ -2558,6 +2562,7 @@],"YEP3X2": ["当活动的表格单元格选区覆盖整张表时,删除该表格。"],"YEzhIr": ["拉取并推送"],+ "YFpLoV": ["删除聊天"],"YGIi_c": ["重新安装"],"YGNRB5": ["— 除了"],"YGt-0e": ["正在阅读…"],@@ -2754,6 +2759,7 @@"_eguJc": ["正在上传"],"_fQGOp": ["路径中不允许有空格"],"_fZSIY": ["OpenKnowledge 未修改此文件,因为无法安全地解析它。请手动修复该文件,然后重试。"],+ "_fwE6J": ["更早"],"_gO_m8": ["正在等待你的批准"],"_gkGSK": ["已删除模板"],"_oqKcJ": ["输入至少 3 个字符以按含义搜索。"],@@ -2770,6 +2776,7 @@"a3LDKx": ["安全"],"a45f2c": ["这个架构适用的 glob 模式"],"a4FRQv": ["要撤销到这次编辑吗?"],+ "a4xYoA": ["搜索聊天"],"a5Gha5": ["本地改动阻止了合并"],"a5W0q0": ["确定要删除 ", ["folderName"], "/ 及其中的所有文件吗?此操作无法撤销。"],"a5gwRt": ["OpenKnowledge 运行了 ", ["command"]],@@ -2965,6 +2972,7 @@"cklVjM": ["时间线"],"clJ3qM": ["完成。"],"cnGeoo": ["删除"],+ "cnR7h2": ["没有与搜索匹配的聊天"],"cqQyPB": ["文件夹名"],"crqzW5": ["AI 工具"],"cs4mps": ["配置共享"],@@ -3088,6 +3096,7 @@"。每个原件都已核实未被改动,请删除这些副本,然后重试移动。"],"eJitUk": ["从电脑上传"],+ "eKGK4A": ["搜索聊天记录"],"eKThTQ": ["重新排序失败"],"eMWRAs": ["已建立索引的页面:", ["semanticIndexedCount"], " / ", ["semanticTotalCount"], "。"],"eNOyTV": ["你没有向此仓库推送的权限。自动(仅拉取)仍可让你的副本保持最新。"],@@ -3110,6 +3119,7 @@"Git 无法跟踪这个文件夹——它是空的,或者只包含被忽略的文件。在你添加一个受跟踪的文档之前,链接不会生效。"],"ebqMh6": ["与项目里的所有人共享。保存在项目文件夹中,并通过 git 随项目一起流转。"],+ "ecUA8p": ["今天"],"ee15Vl": ["技能让你的 AI 工具学会可重复的任务。在编辑器的“技能”侧边栏中编写你自己的技能;本页用于启用和共用它们。"],@@ -3321,6 +3331,7 @@"gwykHF": ["这个文档还没有同步到 GitHub。下次同步后链接就会生效。"],"gyHDWC": ["用 AI 全部修复(", ["count"], ")"],"gyYvCN": ["推送我的编辑的频率"],+ "gzaLgh": ["选择新建对话启动的内容"],"h-AdvS": ["文件夹和模板都已经在这里了,没有需要添加的内容。"],"h-RPqa": ["OpenKnowledge 在建立索引时等待每次嵌入请求的时长。搜索请求每次尝试的超时时间固定为 8 秒,不受此设置影响。"@@ -3352,6 +3363,7 @@"hFmYGU": ["不支持链接的主题文件"],"hGmuTc": ["带 #", ["tagDocsName"], " 标签的文档"],"hHMv6l": ["删除块"],+ "hIQkLb": ["新建对话"],"hItdtk": ["浏览文件夹"],"hLKfZe": ["改用令牌"],"hLod4_": ["转换为模板"],@@ -3522,6 +3534,7 @@"j9Vqvc": ["继承"],"j9tqwO": ["不在侧边栏中"],"jAMpHn": ["什么是入门包?"],+ "jAQCRf": ["没有启用任何智能体。"],"jBVUXo": ["无法打开终端——请重试。"],"jC8Bv4": ["正在四处看看…"],"jC8LSZ": ["重置视图筛选条件"],@@ -3631,7 +3644,6 @@"kUgGPO": ["每次索引请求的字符预算"],"kV2YZv": ["没看到<0>技能</0>?请先启用<1>设置 <2/> 功能 <3/> 代码执行与文件创建</1>。"],"kVS5tE": ["在每个文件夹中维护 generated 索引?"],- "kVgQUA": ["删除此对话?"],"kVzuTI": ["推荐代理技能"],"kXNv8P": ["自动(仅拉取)永远不会推送或提交你的本地更改。它们只保留在这台机器上。"],"kYL1lH": ["智能体活动"],@@ -4123,6 +4135,7 @@"qze9od": ["此文件夹同时也属于 ", ["alsoAffects"], "。"],"r-OJYm": ["请输入有效的分支名(不能有空格、不能以点开头、不能包含 \"..\")。"],"r2eKE3": ["请先登录 ", ["agentName"]],+ "r3iaI0": ["还没有聊天。"],"r4R7AZ": ["清理过程中出现网络错误"],"r51jLC": ["文件已保存,Claude 桌面应用已打开"],"r6ncaO": ["关闭标签页"],@@ -4754,6 +4767,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["停止修复。已修复的文件保持已修复状态。"],"yxF19Y": [["0", "plural", { "other": ["#", " 个插件"] }]],+ "yxH4Gs": [["0"], " CLI"],"yz7wBu": ["关闭"],"yzF66j": ["链接"],"yzGPkm": ["展开关系图"],diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.poindex ae8515d26..55566c4c2 100644--- a/packages/app/src/locales/zh-Hans/messages.po+++ b/packages/app/src/locales/zh-Hans/messages.po@@ -302,6 +302,11 @@ msgstr "{0} 不经询问即执行操作 — OpenKnowledge 无法为其添加权msgid "{0} added, {1} removed"msgstr "新增 {0} 项,移除 {1} 项"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "{0} CLI"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} 个技能"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, other {# 天前}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days} 天前"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, other {文件夹}}"msgid "{formatted} GitHub stars"msgstr "{formatted} 个 GitHub star"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "第 {displayLine} 行:{localizedMessage}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, other {# 分钟前}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "在这台电脑的每个项目中都可用。不通过 git 共享。"msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "在 OpenKnowledge 桌面应用中可用。在终端里可使用<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>。"+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "无法共享此路径。"#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "字符"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "聊天记录"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "对话名称"@@ -2883,6 +2892,10 @@ msgstr "选择文件夹"msgid "Choose icon"msgstr "选择图标"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "选择新建对话启动的内容"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "选择新标签页启动的内容"@@ -2967,6 +2980,10 @@ msgstr "清空字段可恢复其默认值。"msgid "Clear color"msgstr "清除颜色"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "清除历史记录搜索"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "关闭标签页"msgid "Close terminal"msgstr "关闭终端"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "关闭此对话的标签页后才能删除"@@ -3399,6 +3416,7 @@ msgstr "配置警告"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "无法加载 OpenKnowledge 技能。请重试。"msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "无法加载该版本的预览。你仍然可以在下方选择如何解决。"+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "无法加载你的智能体。"+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "无法加载你的错误报告。"@@ -4425,6 +4447,10 @@ msgstr "无法启动 Slidev。"msgid "Couldn't start the agent thread — please try again."msgstr "无法启动智能体线程——请重试。"+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "无法启动智能体线程。"+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "无法开始同步。请检查你的网络连接,然后重试。"@@ -4730,7 +4756,6 @@ msgstr "默认属性"msgid "Default: <0>{0}</0>"msgstr "默认:<0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "删除"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "删除 {0}"@@ -4780,6 +4805,14 @@ msgstr "删除相邻的维基链接或标签标记块。"msgid "Delete block"msgstr "删除块"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "删除聊天"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "删除聊天?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "删除代码块"@@ -4824,10 +4857,6 @@ msgstr "删除表格"msgid "Delete the file"msgstr "删除文件"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "删除此对话?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "删除这条评论"@@ -7734,7 +7763,7 @@ msgstr "跳到锚定的文本"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "跳到光标所在块的 markdown 源码,居中并高亮显示。"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "正在加载 {fileName}"msgid "Loading agent activity"msgstr "正在加载智能体活动"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "正在加载智能体…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "新建"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "新建 {0} 对话"@@ -8816,8 +8845,13 @@ msgstr "新分支 <0>{trimmed}</0> 将基于当前提交创建,位于 <1>.ok/wmsgid "New changes from your remote appear in your copy automatically."msgstr "来自远程的新改动会自动出现在你的副本中。"+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "新建对话"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "与 {agentName} 的新对话"@@ -8999,6 +9033,10 @@ msgstr "没有可用的智能体。"msgid "No agents enabled"msgstr "没有启用任何智能体"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "没有启用任何智能体。"+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "没有智能体匹配你的搜索。"@@ -9044,6 +9082,14 @@ msgstr "还没有错误报告。"msgid "No changes"msgstr "没有改动"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "没有与搜索匹配的聊天"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "还没有聊天。"+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "这个 worktree 没有协作服务器——请在这里运行 <0>ok start</0>,或重新打开项目。"@@ -9212,10 +9258,6 @@ msgstr "没有匹配的仓库。"msgid "No matching worktrees or branches."msgstr "没有匹配的 worktree 或分支。"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "没有打开的对话。重新打开之前的对话,或使用 + 按钮开始新对话。"-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "无出链"@@ -9540,6 +9582,10 @@ msgstr "OK 上次把这个文件夹设为 {0}——此后 OK 之外的操作改msgid "OKF agent skill installed"msgstr "OKF 代理技能已安装"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "更早"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "开启——把鼠标悬停在外部链接上时,会把它的 URL 发送到目标站点以获取预览。"@@ -11454,7 +11500,7 @@ msgstr "重命名"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "重命名 {0}"@@ -11463,6 +11509,10 @@ msgstr "重命名 {0}"msgid "Rename {keyName}"msgstr "重命名 {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "重命名聊天"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "已渲染"msgid "Reopen"msgstr "重新打开"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "重新打开之前的对话"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "重新打开已关闭的标签页"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "沙箱化的 HTML 嵌入——写下 HTML,实时查看渲染效果。"#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "搜索分支…"msgid "Search by meaning"msgstr "按语义搜索"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "搜索聊天记录"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "搜索聊天"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "搜索表情符号"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "正在启动终端…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "正在启动智能体…"@@ -14893,6 +14947,10 @@ msgstr "待办"msgid "To do."msgstr "待办。"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "今天"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "切换无序列表。"@@ -15050,6 +15108,7 @@ msgstr "试试一段提示词"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.jsonindex bf01cfabb..d054f30d8 100644--- a/packages/app/src/locales/zh-Hant/messages.json+++ b/packages/app/src/locales/zh-Hant/messages.json@@ -502,7 +502,6 @@"6ASTuj": ["命令會以你在這台電腦上使用者帳戶的完整權限執行。關閉此項可停用 shell。"],"6Aih4U": ["離線"],"6EoD0z": ["在終端機中解決"],- "6FCixu": ["重新開啟先前的對話"],"6HCOwA": ["開啟失敗。"],"6KCH4m": ["隱藏檔案"],"6KXnz5": ["你可以從垃圾桶還原此檔案。"],@@ -512,6 +511,7 @@"6MnZEC": ["終端機載入失敗"],"6Nea1q": ["將 ", ["0"], " 用於目前的深色模式"],"6O626z": ["沒有標題符合「", ["trimmedAnchorQuery"], "」"],+ "6PsaMr": ["重新命名聊天"],"6Pxqwv": ["還沒有專案範本。建立一個,就能在這個專案的任何地方使用它。資料夾範圍的範本放在各個資料夾的總覽頁上。"],@@ -663,6 +663,7 @@"8PmoQF": ["在空白或作用中的文字位置開啟插入選單。"],"8QLpZe": ["伺服器已停止。重新啟動伺服器以重新連線。"],"8RtNI0": ["載入文件失敗"],+ "8SVvE7": ["清除聊天記錄搜尋"],"8TvlHF": ["當機傾印"],"8Uv5e6": ["代理"],"8VLpRT": [@@ -1428,6 +1429,7 @@"If0crP": ["用 AI ", ["targetDisplayName"], " 開啟,", ["hint"]],"IgN3LY": ["在 <0>", ["address"], "</0> 中選取的文字上"],"IgTwLt": ["在編輯器中開啟這份文件並摺疊關係圖。"],+ "IgkKDg": ["刪除聊天?"],"Ik-gP0": ["第 ", ["level"], " 級標題:", ["text"]],"ImTzPZ": ["這台機器"],"IoHQYP": ["連結驗證無法使用。正在顯示上次已知的問題。"],@@ -1489,6 +1491,7 @@"Jnz9AY": [["0"], " 位於 ", ["destination"], " 上方。"],"Jqqevv": ["系統錯誤"],"JrqL_z": ["在上方插入列"],+ "Jrwm42": ["無法載入你的智慧代理。"],"JsHvhz": ["超出 ",["budgetLabel"],@@ -2173,6 +2176,7 @@],"Sc1bKE": ["來不及清除「", ["docName"], "」的本機協作資料。請重新載入後再試一次。"],"ScwcF2": ["這個位置已經有一個專案了。請換一個上層資料夾。"],+ "Sdv6pQ": ["聊天記錄"],"Sg-6Bo": [["errorCount", "plural", { "other": ["#", " 個錯誤"] }]],"SgAFuo": ["此處無法附加檔案。"],"SgKLfA": ["尚未連接到 GitHub。"],@@ -2226,7 +2230,6 @@"Tofsyo": ["將 Terminal 移到底部"],"TpqW74": ["固定"],"Tq3pcs": ["保留我的"],- "Tq9kNX": ["沒有開啟的對話。重新開啟先前的對話,或使用 + 按鈕開始新對話。"],"TsZmgr": ["磁碟上的檔案,以及代理使用的 id。"],"TvY_XA": ["說明文件"],"TwYboS": ["在 CodeMirror 原始碼搜尋結果之間移動,或關閉搜尋面板。"],@@ -2406,6 +2409,7 @@"W9NSe0": ["正在檢查連結"],"W9_Bub": ["本機變更和傳入的同步內容重疊"],"WBNpt9": ["無法讀取這個主題(", ["0"], ")"],+ "WC8Mr6": ["無法啟動代理執行緒。"],"WEYdDv": ["建議"],"WFEbV1": ["在編輯器中標出常見的 markdown 問題。由 <0>markdownlint<1/></0> 提供。"],"WG3MZ4": ["已選擇 ", ["0"], " 個技能"],@@ -2578,6 +2582,7 @@],"YEP3X2": ["當作用中的表格儲存格選取範圍涵蓋整張表時,刪除該表格。"],"YEzhIr": ["拉取並推送"],+ "YFpLoV": ["刪除聊天"],"YGIi_c": ["重新安裝"],"YGNRB5": ["— 除了"],"YGt-0e": ["閱讀中…"],@@ -2772,6 +2777,7 @@"_fZSIY": ["OpenKnowledge 未修改此檔案,因為無法安全地解析它。請手動修正該檔案,然後再試一次。"],+ "_fwE6J": ["較早"],"_gO_m8": ["正在等你核准"],"_gkGSK": ["已刪除範本"],"_oqKcJ": ["輸入至少 3 個字元以依含義搜尋。"],@@ -2788,6 +2794,7 @@"a3LDKx": ["安全性"],"a45f2c": ["這個結構描述適用的 glob 模式"],"a4FRQv": ["要復原到這次編輯嗎?"],+ "a4xYoA": ["搜尋聊天"],"a5Gha5": ["本機變更擋住了合併"],"a5W0q0": ["確定要刪除 ", ["folderName"], "/ 以及裡面的所有檔案嗎?這個動作無法復原。"],"a5gwRt": ["OpenKnowledge 執行了 ", ["command"]],@@ -2983,6 +2990,7 @@"cklVjM": ["時間軸"],"clJ3qM": ["完成。"],"cnGeoo": ["刪除"],+ "cnR7h2": ["沒有符合搜尋條件的聊天"],"cqQyPB": ["資料夾名稱"],"crqzW5": ["AI 工具"],"cs4mps": ["設定分享"],@@ -3106,6 +3114,7 @@"。每個原件都已核實未被更動,請刪除這些副本,然後重試移動。"],"eJitUk": ["從電腦上傳"],+ "eKGK4A": ["搜尋聊天記錄"],"eKThTQ": ["重新排序失敗"],"eMWRAs": ["已建立索引的頁面:", ["semanticIndexedCount"], " / ", ["semanticTotalCount"], "。"],"eNOyTV": ["你沒有向此儲存庫推送的權限。自動(僅拉取)仍可讓你的副本保持最新。"],@@ -3128,6 +3137,7 @@"Git 無法追蹤這個資料夾——它是空的,或者只有被忽略的檔案。在你加入一份被追蹤的文件之前,連結不會生效。"],"ebqMh6": ["與專案裡的所有人共享。存在專案資料夾中,並透過 git 隨專案一起流轉。"],+ "ecUA8p": ["今天"],"ee15Vl": ["技能讓你的 AI 工具學會可重複的工作。在編輯器的「技能」側邊欄中撰寫你自己的技能;本頁用於啟用與共用它們。"],@@ -3343,6 +3353,7 @@"gwykHF": ["這份文件還沒有同步到 GitHub。下次同步之後連結就會生效。"],"gyHDWC": ["用 AI 全部修正(", ["count"], ")"],"gyYvCN": ["推送我的編輯的頻率"],+ "gzaLgh": ["選擇新的對話啟動的內容"],"h-AdvS": ["資料夾和範本都已經在這裡了,沒有東西要加。"],"h-RPqa": ["OpenKnowledge 建立索引時等待每個嵌入請求的時間。搜尋請求每次嘗試的逾時時間固定為 8 秒,不受此設定影響。"@@ -3374,6 +3385,7 @@"hFmYGU": ["不支援連結的主題檔案"],"hGmuTc": ["標了 #", ["tagDocsName"], " 的文件"],"hHMv6l": ["刪除區塊"],+ "hIQkLb": ["新對話"],"hItdtk": ["瀏覽資料夾"],"hLKfZe": ["改用權杖"],"hLod4_": ["轉換成範本"],@@ -3540,6 +3552,7 @@"j9Vqvc": ["繼承"],"j9tqwO": ["不在側邊欄中"],"jAMpHn": ["什麼是入門套件?"],+ "jAQCRf": ["沒有啟用任何代理。"],"jBVUXo": ["無法開啟終端機——請再試一次。"],"jC8Bv4": ["四處看看…"],"jC8LSZ": ["重設檢視篩選條件"],@@ -3649,7 +3662,6 @@"kUgGPO": ["每次索引請求的字元預算"],"kV2YZv": ["沒看到<0>技能</0>嗎?請先啟用<1>設定 <2/> 功能 <3/> 程式碼執行與檔案建立</1>。"],"kVS5tE": ["在每個資料夾中維護 generated 索引?"],- "kVgQUA": ["刪除此對話?"],"kVzuTI": ["推薦代理技能"],"kXNv8P": ["自動(僅拉取)永遠不會推送或提交你的本機變更。它們只保留在這台機器上。"],"kYL1lH": ["代理活動"],@@ -4143,6 +4155,7 @@"qze9od": ["此資料夾同時也屬於 ", ["alsoAffects"], "。"],"r-OJYm": ["請輸入有效的分支名稱(不能有空格、不能以點開頭、不能包含「..」)。"],"r2eKE3": ["請先登入 ", ["agentName"]],+ "r3iaI0": ["尚無聊天。"],"r4R7AZ": ["清理過程中發生網路錯誤"],"r51jLC": ["檔案已儲存,Claude Desktop App 已開啟"],"r6ncaO": ["關閉分頁"],@@ -4778,6 +4791,7 @@"yvHDYG": ["Claude Desktop"],"yvSAuM": ["停止修正。已經修正好的檔案會維持原狀。"],"yxF19Y": [["0", "plural", { "other": ["#", " 個外掛"] }]],+ "yxH4Gs": [["0"], " CLI"],"yz7wBu": ["關閉"],"yzF66j": ["連結"],"yzGPkm": ["展開關係圖"],diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.poindex 255ecb7a1..397024b70 100644--- a/packages/app/src/locales/zh-Hant/messages.po+++ b/packages/app/src/locales/zh-Hant/messages.po@@ -302,6 +302,11 @@ msgstr "{0} 不經詢問即執行操作 — OpenKnowledge 無法為其加入權msgid "{0} added, {1} removed"msgstr "新增 {0} 項,移除 {1} 項"+#. placeholder {0}: TERMINAL_CLIS[cli].displayName+#: src/components/TerminalNewChatButton.tsx+msgid "{0} CLI"+msgstr "{0} CLI"+#. placeholder {0}: info.agent.name#: src/components/acp/ThreadView.tsxmsgid "{0} couldn't restart on that context window. Use Retry to bring it back."@@ -723,7 +728,7 @@ msgstr "{count} 個技能"msgid "{days, plural, one {# day ago} other {# days ago}}"msgstr "{days, plural, other {# 天前}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "{days}d ago"msgstr "{days} 天前"@@ -858,7 +863,7 @@ msgstr "{folderCount, plural, other {資料夾}}"msgid "{formatted} GitHub stars"msgstr "{formatted} 個 GitHub star"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelFileRow.tsx#: src/components/SyncStatusBadge.tsx@@ -935,7 +940,7 @@ msgstr "第 {displayLine} 行:{localizedMessage}"msgid "{mins, plural, one {# min ago} other {# min ago}}"msgstr "{mins, plural, other {# 分鐘前}}"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/ActivityModeContent.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/ActivityPanelFileRow.tsx@@ -2343,6 +2348,7 @@ msgstr "在這台電腦的每個專案中都可以使用。不會透過 git 分msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."msgstr "在 OpenKnowledge 桌面應用程式中提供。在終端機裡可以使用<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>。"+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/AppMenubar.tsx#: src/components/command-palette-commands.ts#: src/components/NavigationHistoryControls.tsx@@ -2615,7 +2621,6 @@ msgstr "無法分享這個路徑。"#: src/comments/PropertyCommentButton.tsx#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/acp/UserMessageActions.tsx#: src/components/ActivityPanelBurstRow.tsx#: src/components/AuthModal.tsx@@ -2745,7 +2750,11 @@ msgctxt "settings search keyword"msgid "characters"msgstr "字元"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Chat history"+msgstr "聊天記錄"++#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Chat name"msgstr "對話名稱"@@ -2883,6 +2892,10 @@ msgstr "選擇資料夾"msgid "Choose icon"msgstr "選擇圖示"+#: src/components/TerminalNewChatButton.tsx+msgid "Choose what a new chat starts"+msgstr "選擇新的對話啟動的內容"+#: src/components/TerminalNewChatButton.tsxmsgid "Choose what a new tab starts"msgstr "選擇新分頁啟動的內容"@@ -2967,6 +2980,10 @@ msgstr "清空欄位即可還原預設值。"msgid "Clear color"msgstr "清除顏色"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Clear history search"+msgstr "清除聊天記錄搜尋"+#: src/components/AppMenubar.tsx#: src/lib/native-menu-catalog.tsmsgid "Clear menu"@@ -3141,7 +3158,7 @@ msgstr "關閉分頁"msgid "Close terminal"msgstr "關閉終端機"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsxmsgid "Close this chat's tab to delete it"msgstr "關閉此對話的分頁後才能刪除"@@ -3399,6 +3416,7 @@ msgstr "設定警告"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -4122,6 +4140,10 @@ msgstr "無法載入 OpenKnowledge 技能。請再試一次。"msgid "Couldn't load the version preview. You can still choose how to resolve it below."msgstr "無法載入這個版本的預覽。你仍然可以在下方選擇要怎麼解決。"+#: src/components/SessionsHost.tsx+msgid "Couldn't load your agents."+msgstr "無法載入你的智慧代理。"+#: src/components/BugReportHistory.tsxmsgid "Couldn't load your bug reports."msgstr "無法載入你的錯誤回報。"@@ -4425,6 +4447,10 @@ msgstr "無法啟動 Slidev。"msgid "Couldn't start the agent thread — please try again."msgstr "無法啟動代理執行緒——請再試一次。"+#: src/components/SessionsHost.tsx+msgid "Couldn't start the agent thread."+msgstr "無法啟動代理執行緒。"+#: src/components/share-receive-miss-content.tsxmsgid "Couldn't start the sync. Check your connection, then retry."msgstr "無法開始同步。請檢查你的網路連線,然後再試一次。"@@ -4730,7 +4756,6 @@ msgstr "預設屬性"msgid "Default: <0>{0}</0>"msgstr "預設:<0>{0}</0>"-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/DeleteConfirmationDialog.tsx#: src/components/FileTargetMenuItems.tsx#: src/components/skill-actions.tsx@@ -4741,7 +4766,7 @@ msgstr "刪除"#. placeholder {0}: theme.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/settings/ColorThemePicker.tsxmsgid "Delete {0}"msgstr "刪除 {0}"@@ -4780,6 +4805,14 @@ msgstr "刪除相鄰的維基連結或標籤標記塊。"msgid "Delete block"msgstr "刪除區塊"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat"+msgstr "刪除聊天"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Delete chat?"+msgstr "刪除聊天?"+#: src/editor/extensions/CodeBlockView.tsxmsgid "Delete code block"msgstr "刪除程式碼區塊"@@ -4824,10 +4857,6 @@ msgstr "刪除表格"msgid "Delete the file"msgstr "刪除檔案"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Delete this chat?"-msgstr "刪除此對話?"-#: src/comments/ThreadCard.tsxmsgid "Delete this comment"msgstr "刪除這則註解"@@ -7734,7 +7763,7 @@ msgstr "跳到錨定的文字"msgid "Jump to the markdown source for the block at the cursor, centered and highlighted."msgstr "跳到游標所在區塊的 markdown 原始碼,置中並醒目提示。"-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/FolderOverview.tsx#: src/components/FolderTimelineCard.tsx#: src/components/SyncStatusBadge.tsx@@ -8036,6 +8065,7 @@ msgstr "正在載入 {fileName}"msgid "Loading agent activity"msgstr "正在載入代理活動"+#: src/components/SessionsHost.tsx#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "正在載入代理…"@@ -8795,7 +8825,6 @@ msgid "New"msgstr "新增"#. placeholder {0}: TERMINAL_CLIS[selected.cli].displayName-#. placeholder {0}: selected.agent.name#: src/components/TerminalNewChatButton.tsxmsgid "New {0} chat"msgstr "新的 {0} 對話"@@ -8816,8 +8845,13 @@ msgstr "新分支 <0>{trimmed}</0> 會從目前的提交建立,放在 <1>.ok/wmsgid "New changes from your remote appear in your copy automatically."msgstr "來自遠端的新變更會自動出現在你的副本裡。"+#: src/components/TerminalNewChatButton.tsx+msgid "New chat"+msgstr "新對話"+#: src/components/acp/thread-auth-offer.ts#: src/components/acp/ThreadView.tsx+#: src/components/TerminalNewChatButton.tsxmsgid "New chat with {agentName}"msgstr "與 {agentName} 的新對話"@@ -8999,6 +9033,10 @@ msgstr "沒有可用的代理。"msgid "No agents enabled"msgstr "沒有啟用任何代理"+#: src/components/SessionsHost.tsx+msgid "No agents enabled."+msgstr "沒有啟用任何代理。"+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "沒有代理符合你的搜尋。"@@ -9044,6 +9082,14 @@ msgstr "還沒有錯誤回報。"msgid "No changes"msgstr "沒有變更"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats match your search"+msgstr "沒有符合搜尋條件的聊天"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "No chats yet."+msgstr "尚無聊天。"+#: src/components/ConnectingBanner.tsxmsgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."msgstr "這個 worktree 沒有協作伺服器——請在這裡執行 <0>ok start</0>,或重新開啟專案。"@@ -9212,10 +9258,6 @@ msgstr "沒有相符的儲存庫。"msgid "No matching worktrees or branches."msgstr "沒有相符的 worktree 或分支。"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "No open chats. Reopen a past one, or start a new one with the + button."-msgstr "沒有開啟的對話。重新開啟先前的對話,或使用 + 按鈕開始新對話。"-#: src/components/GraphPanel.tsxmsgid "No Outgoing"msgstr "沒有連出"@@ -9540,6 +9582,10 @@ msgstr "OK 上次把這個資料夾設為 {0}——之後 OK 以外的東西改msgid "OKF agent skill installed"msgstr "OKF 代理程式技能已安裝"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Older"+msgstr "較早"+#: src/components/settings/LinkPreviewsSection.tsxmsgid "On — hovering an external link sends its URL to the destination site to fetch a preview."msgstr "開啟——把游標停在外部連結上時,會把它的 URL 送到目標網站以取得預覽。"@@ -11454,7 +11500,7 @@ msgstr "重新命名"#. placeholder {0}: session.label#. placeholder {0}: thread.title-#: src/components/acp/ThreadHistoryMenu.tsx+#: src/components/acp/ThreadHistoryPanel.tsx#: src/components/TerminalTabStrip.tsxmsgid "Rename {0}"msgstr "重新命名 {0}"@@ -11463,6 +11509,10 @@ msgstr "重新命名 {0}"msgid "Rename {keyName}"msgstr "重新命名 {keyName}"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Rename chat"+msgstr "重新命名聊天"+#. placeholder {0}: result.error#: src/components/SkillFileRenameDialog.tsxmsgid "Rename failed: {0}"@@ -11525,10 +11575,6 @@ msgstr "已顯示"msgid "Reopen"msgstr "重新開啟"-#: src/components/acp/ThreadHistoryMenu.tsx-msgid "Reopen a past chat"-msgstr "重新開啟先前的對話"-#: src/lib/keyboard-shortcuts.tsmsgid "Reopen closed tab"msgstr "重新開啟已關閉的分頁"@@ -12014,7 +12060,6 @@ msgid "Sandboxed HTML embed — write HTML, see the rendered preview live."msgstr "沙箱化的 HTML 嵌入——寫下 HTML,即時看到顯示結果。"#: src/comments/ThreadCard.tsx-#: src/components/acp/ThreadHistoryMenu.tsx#: src/components/AuthModal.tsx#: src/components/FileTargetRenameDialog.tsx#: src/components/settings/SearchSection.tsx@@ -12151,6 +12196,14 @@ msgstr "搜尋分支…"msgid "Search by meaning"msgstr "按語意搜尋"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chat history"+msgstr "搜尋聊天記錄"++#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Search chats"+msgstr "搜尋聊天"+#: src/components/emoji-picker.tsxmsgid "Search emoji"msgstr "搜尋表情符號"@@ -13371,6 +13424,7 @@ msgid "Starting terminal…"msgstr "正在啟動終端機…"#: src/components/acp/ThreadView.tsx+#: src/components/SessionsHost.tsxmsgid "Starting the agent…"msgstr "正在啟動代理…"@@ -14893,6 +14947,10 @@ msgstr "待辦"msgid "To do."msgstr "待辦。"+#: src/components/acp/ThreadHistoryPanel.tsx+msgid "Today"+msgstr "今天"+#: src/lib/keyboard-shortcuts.tsmsgid "Toggle a bullet list."msgstr "切換項目符號清單。"@@ -15050,6 +15108,7 @@ msgstr "試試一段提示"#: src/components/BugReportSendToast.tsx#: src/components/DocumentErrorBoundary.tsx#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/SessionsHost.tsx#: src/components/settings/AccountSection.tsx#: src/components/settings/SavedThemesTiles.tsx#: src/components/ShareReceiveDialog.tsxdiff --git a/packages/app/tests/stress/agents-panel-reload-visibility.e2e.ts b/packages/app/tests/stress/agents-panel-reload-visibility.e2e.tsindex df199ab1b..767dfced9 100644--- a/packages/app/tests/stress/agents-panel-reload-visibility.e2e.ts+++ b/packages/app/tests/stress/agents-panel-reload-visibility.e2e.ts@@ -1,6 +1,8 @@import { mkdirSync, writeFileSync } from 'node:fs';import { dirname, join } from 'node:path';-import type { Page } from '@playwright/test';+import AxeBuilder from '@axe-core/playwright';+import type { Locator, Page } from '@playwright/test';+import { HISTORY_PANEL_WIDTH_PX } from '../../src/hooks/use-history-presentation-mode';import { expect, test } from './_helpers';const AGENTS_PANEL_MOUNT = '[data-agents-panel-mount]';@@ -35,6 +37,92 @@ interface RouteMark {at: number;}+function relativeLuminance(channels: readonly number[]): number {+ const [red, green, blue] = channels.map((channel) => {+ const normalized = channel / 255;+ return normalized <= 0.04045 ? normalized / 12.92 : ((normalized + 0.055) / 1.055) ** 2.4;+ });+ return 0.2126 * red + 0.7152 * green + 0.0722 * blue;+}++async function readComputedColor(+ locator: Locator,+ property: 'color' | 'backgroundColor',+): Promise<readonly [number, number, number, number]> {+ return locator.evaluate((element, colorProperty) => {+ const color = getComputedStyle(element)[colorProperty];+ const canvas = new OffscreenCanvas(1, 1);+ const context = canvas.getContext('2d', { willReadFrequently: true });+ if (!context) throw new Error('Could not create a color conversion context');+ context.clearRect(0, 0, 1, 1);+ context.fillStyle = color;+ context.fillRect(0, 0, 1, 1);+ return Array.from(context.getImageData(0, 0, 1, 1).data) as [number, number, number, number];+ }, property);+}++async function readEffectiveBackground(+ locator: Locator,+): Promise<readonly [number, number, number, number]> {+ return locator.evaluate((element) => {+ const canvas = new OffscreenCanvas(1, 1);+ const context = canvas.getContext('2d', { willReadFrequently: true });+ if (!context) throw new Error('Could not create a color conversion context');+ const layers: Array<[number, number, number, number]> = [];+ let current: Element | null = element;+ while (current !== null) {+ context.clearRect(0, 0, 1, 1);+ context.fillStyle = getComputedStyle(current).backgroundColor;+ context.fillRect(0, 0, 1, 1);+ const layer = Array.from(context.getImageData(0, 0, 1, 1).data) as [+ number,+ number,+ number,+ number,+ ];+ layers.push(layer);+ if (layer[3] === 255) break;+ current = current.parentElement;+ }+ const base = layers.at(-1);+ if (base === undefined || base[3] !== 255) {+ throw new Error('Contrast background has no opaque ancestor');+ }+ const composite = [...base] as [number, number, number, number];+ for (let index = layers.length - 2; index >= 0; index -= 1) {+ const layer = layers[index];+ if (layer === undefined) continue;+ const alpha = layer[3] / 255;+ for (let channel = 0; channel < 3; channel += 1) {+ composite[channel] = layer[channel] * alpha + composite[channel] * (1 - alpha);+ }+ }+ return composite;+ });+}++async function expectContrast(+ foreground: Locator,+ background: Locator,+ minimum: number,+): Promise<void> {+ const foregroundColor = await readComputedColor(foreground, 'color');+ const backgroundColor = await readEffectiveBackground(background);+ const foregroundAlpha = foregroundColor[3] / 255;+ const composite = foregroundColor+ .slice(0, 3)+ .map(+ (channel, index) =>+ channel * foregroundAlpha + backgroundColor[index] * (1 - foregroundAlpha),+ );+ const foregroundLuminance = relativeLuminance(composite);+ const backgroundLuminance = relativeLuminance(backgroundColor.slice(0, 3));+ const ratio =+ (Math.max(foregroundLuminance, backgroundLuminance) + 0.05) /+ (Math.min(foregroundLuminance, backgroundLuminance) + 0.05);+ expect(ratio).toBeGreaterThanOrEqual(minimum);+}+function observedOrder(marks: RouteMark[]): RouteMarkRoute[] {const seen = new Set<RouteMarkRoute>();const order: RouteMarkRoute[] = [];@@ -271,6 +359,25 @@ async function openAgentsPanel(page: Page): Promise<void> {await settleAfterRoster(page);}+async function resizeAgentsPanel(page: Page, targetWidth: number): Promise<void> {+ const mount = page.locator(AGENTS_PANEL_MOUNT);+ const panel = mount.locator('xpath=ancestor::*[@data-slot="resizable-panel"][1]');+ const handle = panel.locator('xpath=preceding-sibling::*[1]');+ await expect(handle).toHaveAttribute('data-slot', 'resizable-handle');+ await handle.focus();+ const currentWidth = await mount.evaluate((element) => element.getBoundingClientRect().width);+ const grows = currentWidth < targetWidth;+ for (let index = 0; index < 20; index += 1) {+ const width = await mount.evaluate((element) => element.getBoundingClientRect().width);+ if (grows ? width >= targetWidth : width <= targetWidth) break;+ await page.keyboard.press(grows ? 'ArrowLeft' : 'ArrowRight');+ await settleAfterRoster(page);+ }+ const observedWidth = await mount.evaluate((element) => element.getBoundingClientRect().width);+ if (grows) expect(observedWidth).toBeGreaterThanOrEqual(targetWidth);+ else expect(observedWidth).toBeLessThanOrEqual(targetWidth);+}+async function waitForAgentsHostSettled(page: Page): Promise<void> {await expect(page.locator(`${AGENTS_PANEL_MOUNT} [role="tablist"]`)).toHaveCount(1, {timeout: BOOT_TIMEOUT_MS,@@ -316,6 +423,462 @@ async function reloadAndSettle(page: Page, marks?: RouteMark[]): Promise<void> {test.setTimeout(180_000);+test.describe('chat history navigation', () => {+ test.afterEach(async ({ page }) => {+ await page.evaluate(() => window.__acpThreadHarness?.reset());+ });++ test('chat history unifies live navigation with the selected tab', async ({ page }) => {+ await stubAgentCatalog(page);+ await openAppWithRoster(page);+ const threadIds = await page.evaluate(() => {+ const harness = window.__acpThreadHarness;+ if (harness === undefined) throw new Error('ACP thread harness is not installed');+ return [+ harness.openThread({+ agent: { id: 'history-a', name: 'First Agent', source: 'registry' },+ title: 'Alpha planning conversation',+ }),+ harness.openThread({+ agent: { id: 'history-b', name: 'Second Agent', source: 'registry' },+ title: 'Beta implementation conversation',+ status: 'running',+ }),+ ];+ });++ await openAgentsPanel(page);+ const panel = page.locator(AGENTS_PANEL_MOUNT);+ const tabs = panel.getByRole('tab');+ await expect(tabs).toHaveCount(2);+ const initialTitles = await tabs.allTextContents();++ await panel.getByRole('button', { name: 'Chat history' }).click();+ const alphaRow = page.locator(`[data-testid="agent-thread-history-open-${threadIds[0]}"]`);+ const betaRow = page.locator(`[data-testid="agent-thread-history-open-${threadIds[1]}"]`);+ await expect(alphaRow).not.toContainText('First Agent');+ await expect(betaRow).not.toContainText('Running');+ await expect(betaRow).toHaveAttribute('aria-current', 'true');+ const alphaListItem = alphaRow.locator('xpath=..');+ await expectContrast(alphaRow.locator('span').last(), alphaListItem, 4.5);+ await expectContrast(betaRow.locator('span').last(), betaRow.locator('xpath=..'), 4.5);+ const accessibility = await new AxeBuilder({ page })+ .include('[data-testid="agent-thread-history-panel"]')+ .analyze();+ expect(accessibility.violations).toEqual([]);+ await alphaRow.hover();+ await expectContrast(alphaRow, alphaListItem, 4.5);+ const alphaRename = page.getByTestId(`agent-thread-history-rename-${threadIds[0]}`);+ await expectContrast(alphaRename, alphaListItem, 4.5);+ await alphaRename.hover();+ await expectContrast(alphaRename, alphaListItem, 4.5);+ await expectContrast(betaRow, betaRow.locator('xpath=..'), 4.5);+ await page.evaluate(() => {+ document.documentElement.dataset.colorTheme = 'solarized';+ document.documentElement.style.colorScheme = 'light';+ });+ await alphaRow.hover();+ await expectContrast(alphaRow, alphaListItem, 4.5);+ await expectContrast(alphaRename, alphaListItem, 4.5);+ await alphaRename.hover();+ await expectContrast(alphaRename, alphaListItem, 4.5);+ await expectContrast(betaRow, betaRow.locator('xpath=..'), 4.5);+ const solarizedAccessibility = await new AxeBuilder({ page })+ .include('[data-testid="agent-thread-history-panel"]')+ .analyze();+ expect(solarizedAccessibility.violations).toEqual([]);++ await alphaRow.click();+ await expect(panel.getByRole('tab', { name: /Alpha planning conversation/ })).toHaveAttribute(+ 'aria-selected',+ 'true',+ );+ await expect(tabs).toHaveText(initialTitles);++ if ((await page.getByTestId('agent-thread-history-panel').count()) === 0) {+ await panel.getByRole('button', { name: 'Chat history' }).click();+ }+ await expect(alphaRow).toHaveAttribute('aria-current', 'true');+ });++ test('empty chat history fills and centers within the panel body', async ({ page }) => {+ await stubAgentCatalog(page);+ await openAppWithRoster(page);+ await page.evaluate(() => {+ const harness = window.__acpThreadHarness;+ if (harness === undefined) throw new Error('ACP thread harness is not installed');+ harness.openThread({+ agent: { id: 'empty-history', name: 'Empty History', source: 'registry' },+ });+ });+ await openAgentsPanel(page);+ await page.evaluate(() => window.__acpThreadHarness?.reset());+ const panel = page.locator(AGENTS_PANEL_MOUNT);+ await expect(panel.getByRole('tab')).toHaveCount(0);+ await panel.getByRole('button', { name: 'Chat history' }).click();++ const history = page.getByTestId('agent-thread-history-panel');+ const content = history.locator('[data-sidebar="content"]');+ const status = history.getByRole('status');+ const heading = status.getByRole('heading', { name: 'No chats yet.' });+ const [contentBox, statusBox, headingBox] = await Promise.all([+ content.boundingBox(),+ status.boundingBox(),+ heading.boundingBox(),+ ]);+ expect(contentBox).not.toBeNull();+ expect(statusBox).not.toBeNull();+ expect(headingBox).not.toBeNull();+ if (contentBox === null || statusBox === null || headingBox === null) return;+ expect(Math.abs(statusBox.y - contentBox.y)).toBeLessThanOrEqual(2);+ expect(Math.abs(statusBox.height - contentBox.height)).toBeLessThanOrEqual(4);+ const contentCenter = contentBox.y + contentBox.height / 2;+ const headingCenter = headingBox.y + headingBox.height / 2;+ expect(Math.abs(headingCenter - contentCenter)).toBeLessThanOrEqual(2);+ });++ test('chat history searches titles and groups conversations by local date', async ({ page }) => {+ await stubAgentCatalog(page);+ await openAppWithRoster(page);+ await page.evaluate(() => {+ const harness = window.__acpThreadHarness;+ if (harness === undefined) throw new Error('ACP thread harness is not installed');+ const now = Date.now();+ const yesterday = new Date(now);+ yesterday.setDate(yesterday.getDate() - 1);+ yesterday.setHours(23, 59, 0, 0);+ harness.openThread({+ threadId: 'history-live-architecture',+ agent: { id: 'history-live', name: 'Live Agent', source: 'registry' },+ title: 'Architecture planning',+ status: 'running',+ });+ harness.openThread({+ threadId: 'history-archived-architecture',+ agent: { id: 'history-archive', name: 'Archive Agent', source: 'registry' },+ title: 'Past ARCHITECTURE review',+ status: 'exited',+ });+ harness.openThread({+ threadId: 'history-release',+ agent: { id: 'history-release', name: 'Release Agent', source: 'registry' },+ title: 'Release checklist',+ status: 'ready',+ });+ harness.frame({+ op: 'threads',+ threads: [+ {+ threadId: 'history-live-architecture',+ agent: { id: 'history-live', name: 'Live Agent', source: 'registry' },+ title: 'Architecture planning',+ status: 'running',+ createdAt: now - 2_000,+ lastActivityAt: now - 1_000,+ modes: null,+ configOptions: null,+ lastSeq: -1,+ archived: false,+ },+ {+ threadId: 'history-archived-architecture',+ agent: { id: 'history-archive', name: 'Archive Agent', source: 'registry' },+ title: 'Past ARCHITECTURE review',+ status: 'exited',+ createdAt: yesterday.getTime(),+ lastActivityAt: yesterday.getTime(),+ modes: null,+ configOptions: null,+ lastSeq: -1,+ archived: true,+ },+ {+ threadId: 'history-release',+ agent: { id: 'history-release', name: 'Release Agent', source: 'registry' },+ title: 'Release checklist',+ status: 'ready',+ createdAt: now - 4_000,+ lastActivityAt: now - 3_000,+ modes: null,+ configOptions: null,+ lastSeq: -1,+ archived: false,+ },+ ],+ });+ });++ await openAgentsPanel(page);+ const panel = page.locator(AGENTS_PANEL_MOUNT);+ await expect(panel.getByRole('tab')).toHaveCount(2);+ await panel.getByRole('button', { name: 'Chat history' }).click();+ await expect(page.getByRole('list', { name: 'Today' })).toBeVisible();+ await expect(page.getByRole('list', { name: 'Older' })).toBeVisible();++ await page.getByRole('searchbox', { name: 'Search chat history' }).fill(' aRcHi ');++ await expect(+ page.getByTestId('agent-thread-history-open-history-live-architecture'),+ ).toBeVisible();+ await expect(+ page.getByTestId('agent-thread-history-open-history-archived-architecture'),+ ).toBeVisible();+ await expect(page.getByTestId('agent-thread-history-open-history-release')).toHaveCount(0);+ const archivedRow = page.getByTestId('agent-thread-history-open-history-archived-architecture');+ const archivedListItem = archivedRow.locator('xpath=..');+ await expectContrast(archivedRow.locator('span').last(), archivedListItem, 4.5);+ await archivedRow.hover();+ const archivedRename = page.getByTestId(+ 'agent-thread-history-rename-history-archived-architecture',+ );+ await expectContrast(archivedRename, archivedListItem, 4.5);+ await archivedRename.hover();+ await expectContrast(archivedRename, archivedListItem, 4.5);+ const archivedDelete = page.getByTestId(+ 'agent-thread-history-delete-history-archived-architecture',+ );+ await expect(archivedDelete).not.toHaveAttribute('aria-disabled');+ await archivedDelete.hover();+ await expectContrast(archivedDelete, archivedListItem, 3);+ await page.evaluate(() => {+ document.documentElement.dataset.colorTheme = 'solarized';+ });+ await archivedRow.hover();+ await expectContrast(archivedRename, archivedListItem, 4.5);+ await archivedDelete.hover();+ await expectContrast(archivedDelete, archivedListItem, 3);+ const accessibility = await new AxeBuilder({ page })+ .include('[data-testid="agent-thread-history-panel"]')+ .analyze();+ expect(accessibility.violations).toEqual([]);+ });++ test('chat history renders in dark, pseudo-locale, RTL, and reduced-motion modes', async ({+ page,+ }) => {+ await page.emulateMedia({ colorScheme: 'dark', reducedMotion: 'reduce' });+ await page.addInitScript(() => window.localStorage.setItem('ok-theme-v1', 'dark'));+ await stubAgentCatalog(page);++ const roster = nextRosterDelivery(page);+ await page.goto('/?lang=pseudo');+ await page.waitForFunction(() => Boolean(window.__acpThreadHarness), null, {+ timeout: BOOT_TIMEOUT_MS,+ });+ await roster;+ await settleAfterRoster(page);+ await page.evaluate(() => {+ const harness = window.__acpThreadHarness;+ if (harness === undefined) throw new Error('ACP thread harness is not installed');+ const threadId = harness.openThread({+ threadId: 'history-render-matrix',+ agent: { id: 'pseudo-dark', name: 'Pseudo Agent', source: 'registry' },+ title: 'A deliberately long archived conversation title for the RTL action overlay',+ status: 'exited',+ });+ const now = Date.now();+ harness.frame({+ op: 'threads',+ threads: [+ {+ threadId,+ agent: { id: 'pseudo-dark', name: 'Pseudo Agent', source: 'registry' },+ title: 'A deliberately long archived conversation title for the RTL action overlay',+ status: 'exited',+ createdAt: now,+ lastActivityAt: now,+ modes: null,+ configOptions: null,+ lastSeq: -1,+ archived: true,+ },+ ],+ });+ });+ const mount = page.locator(AGENTS_PANEL_MOUNT);+ if (await page.locator(AGENTS_REVEAL_TAB).isVisible()) {+ await page.locator(AGENTS_REVEAL_TAB).click();+ }+ await expect(mount).toBeVisible({ timeout: BOOT_TIMEOUT_MS });+ await mount.getByTestId('agent-thread-history').click();+ const historyPanel = page.getByTestId('agent-thread-history-panel');+ await expect(historyPanel).toBeVisible();+ await expect(page.locator('html')).toHaveClass(/dark/);+ expect(await page.evaluate(() => matchMedia('(prefers-reduced-motion: reduce)').matches)).toBe(+ true,+ );+ const pseudoPlaceholder = await historyPanel+ .locator('input[name="chat-history-search"]')+ .getAttribute('placeholder');+ expect(pseudoPlaceholder).not.toBe('Search chats');+ await page.evaluate(() => {+ document.documentElement.dir = 'rtl';+ });+ await expect(page.locator('html')).toHaveAttribute('dir', 'rtl');+ const row = page.getByTestId('agent-thread-history-open-history-render-matrix');+ const listItem = row.locator('xpath=..');+ const timestamp = row.locator('span').last();+ await expectContrast(timestamp, listItem, 4.5);+ await listItem.hover({ position: { x: 8, y: 18 } });+ await expectContrast(row, listItem, 4.5);+ await expect(timestamp).toHaveCSS('transition-duration', '0s');+ const rename = page.getByTestId('agent-thread-history-rename-history-render-matrix');+ await listItem.hover();+ expect(await rename.evaluate((element) => element.matches(':hover'))).toBe(false);+ await expectContrast(rename, listItem, 4.5);+ await rename.hover();+ await expectContrast(rename, listItem, 4.5);+ const deleteButton = page.getByTestId('agent-thread-history-delete-history-render-matrix');+ await deleteButton.hover();+ await expectContrast(deleteButton, listItem, 3);+ const listItemBounds = await listItem.boundingBox();+ if (listItemBounds === null) {+ throw new Error('Expected the RTL history row to have layout bounds');+ }+ const renameBounds = await rename.boundingBox();+ if (renameBounds === null) {+ throw new Error('Expected the RTL history rename action to have layout bounds');+ }+ expect(renameBounds.x - listItemBounds.x).toBeLessThan(52);+ const panelAccessibility = await new AxeBuilder({ page })+ .include('[data-testid="agent-thread-history-panel"]')+ .analyze();+ expect(panelAccessibility.violations).toEqual([]);+ await deleteButton.click();+ const dialog = page.getByRole('alertdialog');+ await expect(dialog).toBeVisible();+ const dialogAccessibility = await new AxeBuilder({ page })+ .include('[role="alertdialog"]')+ .analyze();+ expect(dialogAccessibility.violations).toEqual([]);+ });++ test('shrinking a docked history view closes history before the active chat', async ({+ page,+ }) => {+ await page.setViewportSize({ width: 1600, height: 900 });+ await stubAgentCatalog(page);+ await openAppWithRoster(page);+ await page.evaluate(() => {+ const harness = window.__acpThreadHarness;+ if (harness === undefined) throw new Error('ACP thread harness is not installed');+ harness.openThread({+ threadId: 'history-responsive-alpha',+ agent: { id: 'responsive-alpha', name: 'First Agent', source: 'registry' },+ title: 'Alpha planning conversation with a deliberately long translated-width title',+ });+ harness.openThread({+ threadId: 'history-responsive-beta',+ agent: { id: 'responsive-beta', name: 'Second Agent', source: 'registry' },+ title: 'Beta implementation conversation',+ });+ });+ await openAgentsPanel(page);+ await resizeAgentsPanel(page, 700);++ const mount = page.locator(AGENTS_PANEL_MOUNT);+ await mount.getByRole('button', { name: 'Chat history' }).click();+ const history = page.getByTestId('agent-thread-history-panel');+ await expect(history).toHaveAttribute('data-history-mode', 'docked');+ const historySurfaceBounds = await page+ .getByTestId('agent-thread-history-surface')+ .boundingBox();+ expect(historySurfaceBounds?.width).toBeCloseTo(HISTORY_PANEL_WIDTH_PX, 1);+ await history.getByRole('searchbox', { name: 'Search chat history' }).fill('Alpha');+ await page.getByTestId('agent-thread-history-open-history-responsive-alpha').click();+ await expect(history).toBeVisible();+ await expect(+ mount.getByRole('tab', {+ name: /Alpha planning conversation with a deliberately long translated-width title/,+ }),+ ).toHaveAttribute('aria-selected', 'true');++ await resizeAgentsPanel(page, 500);++ await expect(history).toHaveCount(0);+ await expect(mount.getByTestId('agent-panel-session-surface')).not.toHaveAttribute('inert');+ await expect(+ mount.getByRole('tab', {+ name: /Alpha planning conversation with a deliberately long translated-width title/,+ }),+ ).toHaveAttribute('aria-selected', 'true');+ });++ test('dragging a covered agent pane closed leaves the reveal control available', async ({+ page,+ }) => {+ await page.setViewportSize({ width: 1600, height: 900 });+ await stubAgentCatalog(page);+ await openAppWithRoster(page);+ await page.evaluate(() => {+ const harness = window.__acpThreadHarness;+ if (harness === undefined) throw new Error('ACP thread harness is not installed');+ harness.openThread({+ threadId: 'history-drag-close',+ agent: { id: 'drag-close', name: 'First Agent', source: 'registry' },+ title: 'Drag close conversation',+ });+ });+ await openAgentsPanel(page);+ await resizeAgentsPanel(page, 500);++ const mount = page.locator(AGENTS_PANEL_MOUNT);+ await mount.getByRole('button', { name: 'Chat history' }).click();+ await expect(page.getByTestId('agent-thread-history-panel')).toHaveAttribute(+ 'data-history-mode',+ 'cover',+ );+ const history = page.getByTestId('agent-thread-history-panel');+ const historyBounds = await history.boundingBox();+ const mountBounds = await mount.boundingBox();+ expect(historyBounds).not.toBeNull();+ expect(mountBounds).not.toBeNull();+ expect(Math.abs((historyBounds?.x ?? 0) - (mountBounds?.x ?? 0))).toBeLessThanOrEqual(2);+ expect(Math.abs((historyBounds?.y ?? 0) - (mountBounds?.y ?? 0))).toBeLessThanOrEqual(2);+ expect(Math.abs((historyBounds?.width ?? 0) - (mountBounds?.width ?? 0))).toBeLessThanOrEqual(+ 2,+ );+ expect(Math.abs((historyBounds?.height ?? 0) - (mountBounds?.height ?? 0))).toBeLessThanOrEqual(+ 2,+ );++ await history.getByRole('searchbox', { name: 'Search chat history' }).focus();+ for (let index = 0; index < 10; index += 1) {+ await page.keyboard.press('Tab');+ expect(+ await page.evaluate(+ () =>+ document.activeElement?.closest('[data-testid="agent-panel-session-surface"]') != null,+ ),+ ).toBe(false);+ }++ await history.getByRole('button', { name: 'Back' }).click();+ await expect(history).toHaveCount(0);+ await expect(mount.getByRole('button', { name: 'Chat history' })).toBeFocused();+ await mount.getByRole('button', { name: 'Chat history' }).click();+ await expect(history).toHaveAttribute('data-history-mode', 'cover');++ const panel = mount.locator('xpath=ancestor::*[@data-slot="resizable-panel"][1]');+ const handle = panel.locator('xpath=preceding-sibling::*[1]');+ const handleBounds = await handle.boundingBox();+ expect(handleBounds).not.toBeNull();+ const handleX = (handleBounds?.x ?? 0) + (handleBounds?.width ?? 0) / 2;+ const handleY = (handleBounds?.y ?? 0) + (handleBounds?.height ?? 0) / 2;+ await page.mouse.move(handleX, handleY);+ await page.mouse.down();+ await page.mouse.move(1598, handleY, { steps: 10 });+ await page.mouse.up();++ await expect(page.locator('[data-dragging="true"]')).toHaveCount(0);+ const reveal = page.locator(AGENTS_REVEAL_TAB);+ await expect(reveal).toBeVisible({ timeout: BOOT_TIMEOUT_MS });+ await reveal.click();+ await expect(page.locator(AGENTS_PANEL_MOUNT)).toBeVisible({ timeout: BOOT_TIMEOUT_MS });+ await expect(page.getByTestId('agent-thread-history-panel')).toBeVisible();+ });+});+test.describe('agents panel reload visibility level', () => {test.afterEach(async ({ workerServer }) => {await purgeLiveThreads(workerServer.port);diff --git a/packages/core/src/theme/base16.ts b/packages/core/src/theme/base16.tsindex fa98e3ab3..e9fedcd2a 100644--- a/packages/core/src/theme/base16.ts+++ b/packages/core/src/theme/base16.ts@@ -51,6 +51,12 @@ export interface Base16Scheme {const HEX_RE = /^#[0-9a-fA-F]{6}$/;const HAS_NON_WHITESPACE_RE = /\P{White_Space}/u;+type EndpointSearchContrastFloor = 3 | 4.5;++const MINIMUM_CONTRAST_RATIO = {+ graphical: 3,+ text: 4.5,+} as const satisfies Record<'graphical' | 'text', EndpointSearchContrastFloor>;export function containsNonWhitespace(value: string): boolean {return HAS_NON_WHITESPACE_RE.test(value);@@ -60,8 +66,45 @@ export function isBase16Hex(value: unknown): value is string {return typeof value === 'string' && HEX_RE.test(value);}+function contrastRatio(a: string, b: string): number {+ const aLuminance = relativeLuminance(a);+ const bLuminance = relativeLuminance(b);+ return (Math.max(aLuminance, bLuminance) + 0.05) / (Math.min(aLuminance, bLuminance) + 0.05);+}++function highestContrast(background: string, candidates: readonly string[]): string {+ return candidates.reduce((best, candidate) =>+ contrastRatio(background, candidate) > contrastRatio(background, best) ? candidate : best,+ );+}++function readableForeground(background: string, paletteCandidates: readonly string[]): string {+ const paletteForeground = highestContrast(background, paletteCandidates);+ return contrastRatio(background, paletteForeground) >= MINIMUM_CONTRAST_RATIO.text+ ? paletteForeground+ : highestContrast(background, ['#000000', '#ffffff']);+}++function minimumContrastForeground(+ background: string,+ preferred: string,+ minimum: EndpointSearchContrastFloor,+): string {+ if (contrastRatio(background, preferred) >= minimum) return preferred;+ const endpoint = highestContrast(background, ['#000000', '#ffffff']);+ for (let step = 1; step <= 255; step += 1) {+ const candidate = mixHex(preferred, endpoint, step / 255);+ if (contrastRatio(background, candidate) >= minimum) return candidate;+ }+ console.warn(+ `[base16] No foreground reaches a ${minimum}:1 contrast ratio against ${background}; using the highest-contrast endpoint`,+ );+ return endpoint;+}+export function base16ToTokens(scheme: Base16Scheme): Record<string, string> {const p = scheme.palette;+ const sidebarSelected = mixHex(p.base02, scheme.variant === 'dark' ? '#ffffff' : '#000000', 0.04);return {background: p.base00,foreground: p.base05,@@ -96,6 +139,33 @@ export function base16ToTokens(scheme: Base16Scheme): Record<string, string> {'sidebar-accent': p.base02,'sidebar-accent-foreground': p.base0D,'sidebar-hover': p.base02,+ 'sidebar-hover-foreground': readableForeground(p.base02, [p.base00, p.base05, p.base07]),+ 'sidebar-hover-muted-foreground': minimumContrastForeground(+ p.base02,+ p.base04,+ MINIMUM_CONTRAST_RATIO.text,+ ),+ 'sidebar-hover-destructive-foreground': minimumContrastForeground(+ p.base02,+ p.base08,+ MINIMUM_CONTRAST_RATIO.graphical,+ ),+ 'sidebar-selected': sidebarSelected,+ 'sidebar-selected-foreground': readableForeground(sidebarSelected, [+ p.base00,+ p.base05,+ p.base07,+ ]),+ 'sidebar-selected-muted-foreground': minimumContrastForeground(+ sidebarSelected,+ p.base04,+ MINIMUM_CONTRAST_RATIO.text,+ ),+ 'sidebar-selected-destructive-foreground': minimumContrastForeground(+ sidebarSelected,+ p.base08,+ MINIMUM_CONTRAST_RATIO.graphical,+ ),'sidebar-border': p.base02,'sidebar-ring': p.base0D,diff --git a/packages/core/src/theme/theme-plugins.test.ts b/packages/core/src/theme/theme-plugins.test.tsindex 56314ad2f..39010e610 100644--- a/packages/core/src/theme/theme-plugins.test.ts+++ b/packages/core/src/theme/theme-plugins.test.ts@@ -1,5 +1,5 @@import { describe, expect, test } from 'vitest';-import { BASE16_SLOTS, base16ToTokens } from './base16.ts';+import { BASE16_SLOTS, type Base16Palette, base16ToTokens, relativeLuminance } from './base16.ts';import {colorThemeMode,deriveSavedThemeId,@@ -188,6 +188,76 @@ describe('token mapping + generateColorThemesCss', () => {}});+ test('every generated palette theme keeps sidebar row text and actions readable', () => {+ for (const theme of THEME_PLUGINS) {+ if (!theme.toTokens) continue;+ const tokens = theme.toTokens();+ for (const [backgroundToken, foregroundToken, minimum] of [+ ['sidebar-hover', 'sidebar-hover-foreground', 4.5],+ ['sidebar-hover', 'sidebar-hover-muted-foreground', 4.5],+ ['sidebar-hover', 'sidebar-hover-destructive-foreground', 3],+ ['sidebar-selected', 'sidebar-selected-foreground', 4.5],+ ['sidebar-selected', 'sidebar-selected-muted-foreground', 4.5],+ ['sidebar-selected', 'sidebar-selected-destructive-foreground', 3],+ ] as const) {+ const background = relativeLuminance(tokens[backgroundToken] ?? '');+ const foreground = relativeLuminance(tokens[foregroundToken] ?? '');+ const ratio =+ (Math.max(background, foreground) + 0.05) / (Math.min(background, foreground) + 0.05);+ expect(ratio, `${theme.id} ${foregroundToken}`).toBeGreaterThanOrEqual(minimum);+ }+ }+ });++ test('custom low-contrast palettes receive readable sidebar row foregrounds', () => {+ const palette: Base16Palette = {+ base00: '#e0e0e0',+ base01: '#d9d9d9',+ base02: '#cccccc',+ base03: '#f0f0f0',+ base04: '#e0e0e0',+ base05: '#d9d9d9',+ base06: '#cccccc',+ base07: '#f0f0f0',+ base08: '#e0e0e0',+ base09: '#d9d9d9',+ base0A: '#cccccc',+ base0B: '#f0f0f0',+ base0C: '#e0e0e0',+ base0D: '#d9d9d9',+ base0E: '#cccccc',+ base0F: '#f0f0f0',+ };+ expect(Object.keys(palette).sort()).toEqual([...BASE16_SLOTS].sort());+ const tokens = base16ToTokens({+ name: 'Low contrast',+ variant: 'light',+ palette,+ });+ for (const [backgroundToken, foregroundToken] of [+ ['sidebar-hover', 'sidebar-hover-foreground'],+ ['sidebar-hover', 'sidebar-hover-muted-foreground'],+ ['sidebar-selected', 'sidebar-selected-foreground'],+ ['sidebar-selected', 'sidebar-selected-muted-foreground'],+ ] as const) {+ const background = relativeLuminance(tokens[backgroundToken] ?? '');+ const foreground = relativeLuminance(tokens[foregroundToken] ?? '');+ const ratio =+ (Math.max(background, foreground) + 0.05) / (Math.min(background, foreground) + 0.05);+ expect(ratio, foregroundToken).toBeGreaterThanOrEqual(4.5);+ }+ for (const [backgroundToken, foregroundToken] of [+ ['sidebar-hover', 'sidebar-hover-destructive-foreground'],+ ['sidebar-selected', 'sidebar-selected-destructive-foreground'],+ ] as const) {+ const background = relativeLuminance(tokens[backgroundToken] ?? '');+ const foreground = relativeLuminance(tokens[foregroundToken] ?? '');+ const ratio =+ (Math.max(background, foreground) + 0.05) / (Math.min(background, foreground) + 0.05);+ expect(ratio, foregroundToken).toBeGreaterThanOrEqual(3);+ }+ });+test('renderThemeBlock emits the selector, color-scheme, and every token', () => {const block = renderThemeBlock('html[data-color-theme="x"]', 'light', {background: '#ffffff',diff --git a/packages/server/src/acp/thread-manager.integration.test.ts b/packages/server/src/acp/thread-manager.integration.test.tsindex 2c1afadf9..0715a6c6d 100644--- a/packages/server/src/acp/thread-manager.integration.test.ts+++ b/packages/server/src/acp/thread-manager.integration.test.ts@@ -1290,13 +1290,16 @@ describe('AcpThreadManager persistence + resume', () => {expect(manager.getInfo(threadId)?.title).toBe('Update the roadmap');await manager.closeThread(threadId);+ const lastActivityAt = manager.getInfo(threadId)?.lastActivityAt;await manager.renameThread(threadId, 'Q3 roadmap thread');expect(manager.getInfo(threadId)?.title).toBe('Q3 roadmap thread');+ expect(manager.getInfo(threadId)?.lastActivityAt).toBe(lastActivityAt);const manager2 = makeManager(contentDir, localDir);await manager2.init();const rehydrated = manager2.listThreads().find((t) => t.threadId === threadId);expect(rehydrated?.title).toBe('Q3 roadmap thread');+ expect(rehydrated?.lastActivityAt).toBe(lastActivityAt);const replayed: Collected = [];await manager2.subscribe(threadId, 0, collector(replayed));expect(replayed.map((e) => e.seq)).toEqual(replayed.map((_, i) => i));diff --git a/packages/server/src/acp/thread-manager.ts b/packages/server/src/acp/thread-manager.tsindex 897dcbd2c..ff8a0a3f6 100644--- a/packages/server/src/acp/thread-manager.ts+++ b/packages/server/src/acp/thread-manager.ts@@ -2197,20 +2197,20 @@ export class AcpThreadManager {this.appendEvent(t, event);}- async renameThread(threadId: string, rawTitle: string): Promise<void> {+ async renameThread(threadId: string, rawTitle: string): Promise<ThreadInfo> {const t = this.mustGet(threadId);if (t.closed) {throw new ThreadOpError('not-ready', 'the thread is closing');}const title = clampThreadTitle(rawTitle);- if (title === '' || title === t.info.title) return;+ if (title === '' || title === t.info.title) return { ...t.info };await this.ensureLogResolved(t);t.info.title = title;- t.info.lastActivityAt = Date.now();this.appendEvent(t, { kind: 'title_changed', title, ts: Date.now() });this.flushBroadcast(t);this.emitInfo(t);await this.persistence.whenIdle(t.info.threadId);+ return { ...t.info };}private dispatchPrompt(diff --git a/packages/server/src/acp/thread-socket.test.ts b/packages/server/src/acp/thread-socket.test.tsindex d6c02a0b6..315290564 100644--- a/packages/server/src/acp/thread-socket.test.ts+++ b/packages/server/src/acp/thread-socket.test.ts@@ -401,13 +401,19 @@ describe('/collab/thread socket — history ops', () => {socket.emit(JSON.stringify({ op: 'close', threadId }));await waitStatus(manager, threadId, 'exited');+ const lastActivityAt = manager.getInfo(threadId)?.lastActivityAt;socket.emit(JSON.stringify({ op: 'rename', threadId, title: 'Archived and renamed' }));const deadline2 = Date.now() + 10_000;- while (manager.getInfo(threadId)?.title !== 'Archived and renamed') {+ while (+ !socket.frames.some(+ (frame) => frame.op === 'info' && frame.info.title === 'Archived and renamed',+ )+ ) {if (Date.now() > deadline2) throw new Error('archived rename never applied');await new Promise((r) => setTimeout(r, 25));}expect(manager.getInfo(threadId)?.archived).toBe(true);+ expect(manager.getInfo(threadId)?.lastActivityAt).toBe(lastActivityAt);socket.emit(JSON.stringify({ op: 'rename', threadId: 'nope', title: 'x' }));const err = await socket.awaitFrame('error');diff --git a/packages/server/src/acp/thread-socket.ts b/packages/server/src/acp/thread-socket.tsindex 3c8b0b11c..e0e2d034c 100644--- a/packages/server/src/acp/thread-socket.ts+++ b/packages/server/src/acp/thread-socket.ts@@ -156,7 +156,8 @@ export function attachAcpThreadSocket(return;}case 'rename': {- await manager.renameThread(frame.threadId, frame.title);+ const info = await manager.renameThread(frame.threadId, frame.title);+ if (!subscriptions.has(frame.threadId)) send({ op: 'info', info });return;}case 'set_config_option': {