Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
feat(ok): make a failed tool row say what to do about it (PRD-8015) (#4452)
Abraham0fb66763727e
diff --git a/.changeset/failed-tool-rows-suggest-a-next-step.md b/.changeset/failed-tool-rows-suggest-a-next-step.mdnew file mode 100644index 000000000..8f9f37dc3--- /dev/null+++ b/.changeset/failed-tool-rows-suggest-a-next-step.md@@ -0,0 +1,5 @@+---+"@inkeep/open-knowledge": patch+---++A failed tool call in the Agents panel now says what to do next when the app can tell what went wrong: an unreachable OpenKnowledge server, a timed-out request, or a permission you denied. Other failures get no guess. Rows with error text gain a copy control.diff --git a/packages/app/src/components/acp/ThreadView.dom.test.tsx b/packages/app/src/components/acp/ThreadView.dom.test.tsxindex 3e30be518..186378c80 100644--- a/packages/app/src/components/acp/ThreadView.dom.test.tsx+++ b/packages/app/src/components/acp/ThreadView.dom.test.tsx@@ -160,6 +160,129 @@ function toolCall(overrides?: Partial<Extract<RenderedItem, { kind: 'tool_call'};}+describe('ThreadView failed tool rows', () => {+ const okTool = 'mcp__open-knowledge__write';++ test('a failure it recognises says what to do about it and offers the error for pasting', () => {+ model = makeModel({+ turnActive: false,+ items: [+ toolCall({+ title: okTool,+ status: 'failed',+ content: ['Error: Server unreachable: fetch failed'],+ }),+ ],+ });+ render(<ThreadView info={makeInfo({ status: 'ready' })} />);++ const help = screen.getByTestId('agent-thread-tool-failure-help');+ expect(help.textContent).toContain('start a new chat');+ expect(screen.getByRole('button', { name: 'Copy error' })).toBeTruthy();+ });++ test('a denial shows even when the failed call left nothing else to show', () => {+ const denial = permission({+ toolCallId: 'c1',+ mergedIntoToolCall: true,+ options: [{ optionId: 'no', name: 'Reject', kind: 'reject_once' }],+ resolved: { optionId: 'no', auto: false },+ });+ model = makeModel({+ turnActive: false,+ items: [toolCall({ status: 'failed' }), denial],+ permissionsByToolCall: { c1: denial },+ });+ render(<ThreadView info={makeInfo({ status: 'ready' })} />);++ expect(screen.getByTestId('agent-thread-tool-failure-help').textContent).toContain(+ 'You denied this',+ );+ expect(screen.queryByRole('button', { name: 'Copy error' })).toBeNull();+ });++ test('another tool with a lookalike error gets no OpenKnowledge advice', () => {+ model = makeModel({+ turnActive: false,+ items: [toolCall({ status: 'failed', content: ['TypeError: fetch failed'] })],+ });+ render(<ThreadView info={makeInfo({ status: 'ready' })} />);++ expect(screen.getByTestId('agent-thread-tool-failure-help').textContent?.trim()).toBe('');+ });++ test('a tool you denied says so and how to let it run', () => {+ const denial = permission({+ toolCallId: 'c1',+ mergedIntoToolCall: true,+ options: [{ optionId: 'no', name: 'Reject', kind: 'reject_once' }],+ resolved: { optionId: 'no', auto: false },+ });+ model = makeModel({+ turnActive: false,+ items: [toolCall({ status: 'failed', content: ['User refused permission'] }), denial],+ permissionsByToolCall: { c1: denial },+ });+ render(<ThreadView info={makeInfo({ status: 'ready' })} />);++ expect(screen.getByTestId('agent-thread-tool-failure-help').textContent).toContain(+ 'You denied this',+ );+ });++ test('a failure it does not recognise still offers the error, and invents no advice', () => {+ model = makeModel({+ turnActive: false,+ items: [toolCall({ status: 'failed', content: ['Error: exit code 2'] })],+ });+ render(<ThreadView info={makeInfo({ status: 'ready' })} />);++ const help = screen.getByTestId('agent-thread-tool-failure-help');+ expect(help.textContent?.trim()).toBe('');+ expect(screen.getByTestId('agent-thread-tool-failure-copy')).toBeTruthy();+ });++ test('a tool call that has not failed carries no error help at all', () => {+ for (const status of ['in_progress', 'completed'] as const) {+ model = makeModel({+ turnActive: false,+ items: [toolCall({ status, content: ['all good'] })],+ });+ const view = render(<ThreadView info={makeInfo({ status: 'ready' })} />);+ expect({ status, help: screen.queryByTestId('agent-thread-tool-failure-help') }).toEqual({+ status,+ help: null,+ });+ view.unmount();+ }+ });++ test('the copy button carries the raw error, not the rendered hint', async () => {+ const writeText = vi.fn((_text: string) => Promise.resolve());+ vi.stubGlobal('navigator', { ...navigator, clipboard: { writeText } });+ try {+ model = makeModel({+ turnActive: false,+ items: [+ toolCall({+ title: okTool,+ status: 'failed',+ content: ['Error: Server unreachable: fetch failed'],+ }),+ ],+ });+ render(<ThreadView info={makeInfo({ status: 'ready' })} />);++ await userEvent.click(screen.getByRole('button', { name: 'Copy error' }));+ await waitFor(() =>+ expect(writeText).toHaveBeenCalledWith('Error: Server unreachable: fetch failed'),+ );+ } finally {+ vi.unstubAllGlobals();+ }+ });+});+describe('ThreadView permission gate shows the command', () => {const COMPOUND ='ps -p $$ -o pid,command 2>/dev/null | tail -n +1; echo "----unavailable----"; curl -s -o /dev/null -w "%{http_code}" --max-time 5 http://localhost:5173/ 2>&1 || echo "curl failed"';diff --git a/packages/app/src/components/acp/ThreadView.tsx b/packages/app/src/components/acp/ThreadView.tsxindex 23cc185a2..39fc77fc2 100644--- a/packages/app/src/components/acp/ThreadView.tsx+++ b/packages/app/src/components/acp/ThreadView.tsx@@ -64,6 +64,7 @@ import {import { subscribeSendInThread } from '@/comments/open-chat-send';import { dispatchComments, subscribeCommentPosted } from '@/comments/store';import { ComposerContextChips } from '@/components/ComposerContextChips';+import { CopyButton } from '@/components/CopyButton';import { isExternalFileDrag } from '@/components/file-tree-adapter';import { focusComposerInputOnCardPointer } from '@/components/focus-composer-on-card-pointer';import { requestTerminalLaunch } from '@/components/handoff/terminal-launch-events';@@ -144,9 +145,11 @@ import {resolvePermissionOutcome,} from '@/lib/acp/thread-event-model';import { describeToolCall, type ToolCallGlyph } from '@/lib/acp/tool-call-display';+import { toolFailureHint } from '@/lib/acp/tool-failure-hint';import { docNameFromHash, hashFromDocName } from '@/lib/doc-hash';import { dispatchExternalLinkClick } from '@/lib/external-link';import { isOverlayLayerOpen } from '@/lib/overlay-layers';+import { scheduleClipboardWrite } from '@/lib/share/clipboard-adapter';import { useWorkspace } from '@/lib/use-workspace';import { cn } from '@/lib/utils';import { AgentMarkdown } from './AgentMarkdown';@@ -2567,6 +2570,7 @@ function ToolCallCard({terminals: Record<string, RenderedTerminal>;permission?: RenderedPermission;}): ReactNode {+ const { t } = useLingui();const [open, setOpen] = useState(call.status === 'failed');const userToggledRef = useRef(false);const prevStatusRef = useRef(call.status);@@ -2594,12 +2598,15 @@ function ToolCallCard({.map((id) => terminals[id]).filter((terminal): terminal is RenderedTerminal => terminal !== undefined);const rawInput = formatRawInput(call.rawInput);+ const failureText = call.status === 'failed' ? call.content.join('\n').trim() : '';+ const failureHint = toolFailureHint(call, permission);const hasBody =call.diffs.length > 0 ||call.content.length > 0 ||call.locations.length > 0 ||callTerminals.length > 0 ||- rawInput !== null;+ rawInput !== null ||+ failureHint !== null;const expanded = open && hasBody;const row = (<>@@ -2654,6 +2661,20 @@ function ToolCallCard({{stripWrappingFence(text)}</pre>))}+ {failureHint !== null || failureText !== '' ? (+ <div className="flex items-center gap-2" data-testid="agent-thread-tool-failure-help">+ <span className="flex-1 text-muted-foreground">{failureHint}</span>+ {failureText !== '' ? (+ <CopyButton+ copyContent={failureText}+ clipboardWrite={scheduleClipboardWrite}+ size="icon-xs"+ ariaLabel={t`Copy error`}+ testId="agent-thread-tool-failure-copy"+ />+ ) : null}+ </div>+ ) : null}{rawInput !== null ? <RawInputBlock text={rawInput} /> : null}{call.locations.length > 0 ? (<div className="flex flex-wrap gap-1 text-muted-foreground">diff --git a/packages/app/src/lib/acp/tool-call-display.ts b/packages/app/src/lib/acp/tool-call-display.tsindex 793fe1671..3393a14f0 100644--- a/packages/app/src/lib/acp/tool-call-display.ts+++ b/packages/app/src/lib/acp/tool-call-display.ts@@ -53,6 +53,10 @@ function identifyOpenKnowledgeCall(title: string, rawInput: unknown): OpenKnowlereturn { tool, args: unwrapped?.args ?? {} };}+export function openKnowledgeToolName(call: { title: string; rawInput: unknown }): string | null {+ return identifyOpenKnowledgeCall(call.title, call.rawInput)?.tool ?? null;+}+function pathsOf(value: unknown): string[] {if (typeof value === 'string') return value.trim() === '' ? [] : [value.trim()];if (Array.isArray(value)) return value.flatMap(pathsOf);diff --git a/packages/app/src/lib/acp/tool-failure-hint.test.ts b/packages/app/src/lib/acp/tool-failure-hint.test.tsnew file mode 100644index 000000000..29761b00e--- /dev/null+++ b/packages/app/src/lib/acp/tool-failure-hint.test.ts@@ -0,0 +1,136 @@+import { describe, expect, test } from 'vitest';+import type { RenderedPermission, RenderedToolCall } from './thread-event-model';+import { classifyToolFailure, toolFailureHint } from './tool-failure-hint';++const okTool = (text: string, status: RenderedToolCall['status'] = 'failed') => ({+ status,+ title: 'mcp__open-knowledge__write',+ rawInput: {},+ content: [text],+});++const otherTool = (text: string, status: RenderedToolCall['status'] = 'failed') => ({+ status,+ title: 'Run tests',+ rawInput: {},+ content: [text],+});++function permission(resolved: RenderedPermission['resolved']): RenderedPermission {+ return {+ kind: 'permission',+ requestId: 'r1',+ title: 'Run npm test?',+ toolKind: 'execute',+ options: [+ { optionId: 'yes', name: 'Allow', kind: 'allow_once' },+ { optionId: 'no', name: 'Reject', kind: 'reject_once' },+ ],+ resolved,+ toolCallId: 'c1',+ mergedIntoToolCall: true,+ };+}++describe('classifyToolFailure', () => {+ test('recognises the failure the report was filed about', () => {+ expect(classifyToolFailure(okTool('Error: Server unreachable: fetch failed'))).toBe(+ 'server-unreachable',+ );+ });++ test('tells a request that timed out apart from a server that is not there', () => {+ for (const text of [+ 'Error: Server timed out: The operation was aborted due to timeout',+ 'Error: Server unreachable: The operation was aborted due to timeout',+ ]) {+ expect({ text, got: classifyToolFailure(okTool(text)) }).toEqual({+ text,+ got: 'server-timeout',+ });+ }+ });++ test('does not blame the server for a timeout the tool hit somewhere else', () => {+ expect(+ classifyToolFailure(okTool('exec failed: The operation was aborted due to timeout')),+ ).toBe(null);+ });++ test('gives another tool no OpenKnowledge advice, even for a lookalike error', () => {+ for (const text of [+ 'Error: Server unreachable: fetch failed',+ 'TypeError: fetch failed',+ 'connect ECONNREFUSED 127.0.0.1:3000',+ "EACCES: permission denied, open '/etc/hosts'",+ 'EPERM: operation not permitted',+ 'Exceeded timeout of 5000 ms',+ ]) {+ expect({ text, got: classifyToolFailure(otherTool(text)) }).toEqual({ text, got: null });+ }+ });++ test('says nothing rather than guessing at an OpenKnowledge error it does not know', () => {+ for (const text of ['', 'Error: Document not found', 'exit code 2']) {+ expect({ text, got: classifyToolFailure(okTool(text)) }).toEqual({ text, got: null });+ }+ });++ test('reads a denial from what you chose on the permission card, whatever the tool', () => {+ for (const optionId of ['no', null]) {+ expect(+ classifyToolFailure(otherTool('Error: exit code 1'), permission({ optionId, auto: false })),+ ).toBe('permission-denied');+ }+ });++ test('does not put a denial on you for a prompt you approved or nobody answered', () => {+ for (const resolved of [+ { optionId: 'yes', auto: false },+ { optionId: 'yes', auto: true },+ { optionId: null, auto: true },+ ]) {+ expect({+ resolved,+ got: classifyToolFailure(otherTool('Error: exit code 1'), permission(resolved)),+ }).toEqual({ resolved, got: null });+ }+ });++ test('only speaks for a call that failed', () => {+ for (const status of ['pending', 'in_progress', 'completed'] as const) {+ expect({+ status,+ got: classifyToolFailure(+ otherTool('', status),+ permission({ optionId: 'no', auto: false }),+ ),+ }).toEqual({ status, got: null });+ }+ });+});++describe('toolFailureHint', () => {+ test('every recognised failure carries a hint, and unknown ones carry none', () => {+ expect(toolFailureHint(okTool('Error: Server unreachable: fetch failed'))).not.toBe(null);+ expect(+ toolFailureHint(okTool('Error: Server timed out: The operation was aborted due to timeout')),+ ).not.toBe(null);+ expect(+ toolFailureHint(otherTool('Error: exit code 1'), permission({ optionId: 'no', auto: false })),+ ).toContain('approve');+ expect(toolFailureHint(otherTool('Error: exit code 1'))).toBe(null);+ });++ test('an unreachable server seen from a running chat points at the connection, not ok start', () => {+ const hint = toolFailureHint(okTool('Error: Server unreachable: fetch failed'));+ expect(hint).toContain('start a new chat');+ expect(hint).not.toContain('ok start');+ });++ test('a timeout warns that the tool may have finished before anyone retries it', () => {+ expect(+ toolFailureHint(okTool('Error: Server timed out: The operation was aborted due to timeout')),+ ).toContain('check before trying again');+ });+});diff --git a/packages/app/src/lib/acp/tool-failure-hint.ts b/packages/app/src/lib/acp/tool-failure-hint.tsnew file mode 100644index 000000000..c249c8e5f--- /dev/null+++ b/packages/app/src/lib/acp/tool-failure-hint.ts@@ -0,0 +1,61 @@+import {+ OPEN_KNOWLEDGE_MCP_WRITE_TOOLS,+ SERVER_TIMEOUT_ERROR_PREFIX,+ SERVER_UNREACHABLE_ERROR_PREFIX,+} from '@inkeep/open-knowledge-core';+import { t } from '@lingui/core/macro';+import {+ type RenderedPermission,+ type RenderedToolCall,+ resolvePermissionOutcome,+} from '@/lib/acp/thread-event-model';+import { openKnowledgeToolName } from '@/lib/acp/tool-call-display';++export type ToolFailureClass =+ | 'permission-denied'+ | 'server-unreachable'+ | 'server-timeout'+ | 'server-timeout-read';++type ToolCallOutcome = Pick<RenderedToolCall, 'status' | 'title' | 'rawInput' | 'content'>;++const LEGACY_TIMEOUT_ERROR = `${SERVER_UNREACHABLE_ERROR_PREFIX} The operation was aborted due to timeout`;++export function classifyToolFailure(+ call: ToolCallOutcome,+ permission?: RenderedPermission,+): ToolFailureClass | null {+ if (call.status !== 'failed') return null;+ const outcome = permission === undefined ? null : resolvePermissionOutcome(permission);+ if (outcome?.kind === 'denied' && !outcome.auto) return 'permission-denied';+ const tool = openKnowledgeToolName(call);+ if (tool === null) return null;+ const text = call.content.join('\n');+ if (text.includes(SERVER_TIMEOUT_ERROR_PREFIX) || text.includes(LEGACY_TIMEOUT_ERROR)) {+ const mutating: readonly string[] = OPEN_KNOWLEDGE_MCP_WRITE_TOOLS;+ return mutating.includes(tool) ? 'server-timeout' : 'server-timeout-read';+ }+ if (text.includes(SERVER_UNREACHABLE_ERROR_PREFIX)) return 'server-unreachable';+ return null;+}++export function toolFailureHint(+ call: ToolCallOutcome,+ permission?: RenderedPermission,+): string | null {+ const failure = classifyToolFailure(call, permission);+ switch (failure) {+ case null:+ return null;+ case 'permission-denied':+ return t`You denied this. To let it run, ask the agent to try again and approve it.`;+ case 'server-unreachable':+ return t`The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat.`;+ case 'server-timeout':+ return t`The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again.`;+ case 'server-timeout-read':+ return t`The OpenKnowledge server took too long to answer. Ask the agent to try again.`;+ default:+ return failure satisfies never;+ }+}diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.jsonindex ff976399d..b6e681fb5 100644--- a/packages/app/src/locales/ar/messages.json+++ b/packages/app/src/locales/ar/messages.json@@ -221,6 +221,9 @@"110eEb": ["يقوم Open Knowledge بإنشاء ملف تنقل يسمى index.md والحفاظ عليه في كل مجلد يحتوي على Markdown."],+ "113NNl": [+ "استغرق خادم OpenKnowledge وقتا طويلا للرد، وربما يكون التغيير قد طبق بالفعل. اطلب من الوكيل التحقق قبل المحاولة مرة أخرى."+ ],"11ukmX": ["فشلت إعادة التسمية: ", ["0"]],"12F9WL": ["(بدون معرّف)"],"151wvk": ["إظهار الشريط الجانبي"],@@ -959,6 +962,7 @@],"99eR72": ["تحديد جدول المحرر المرئي"],"9Bd18D": ["فشل تحميل الصفحات المحورية"],+ "9CNRDG": ["استغرق خادم OpenKnowledge وقتا طويلا للرد. اطلب من الوكيل المحاولة مرة أخرى."],"9E_WAi": [["errorText"], " و", ["warningText"]],"9EykGQ": ["إدراج عمود إلى اليمين"],"9GbR5F": ["الأعلى"],@@ -3241,6 +3245,9 @@"XPqe3B": ["إنشاء وسم جديد #", ["tagValue"]],"XRuL0i": ["إنشاء صفحة"],"XSb9HS": ["تجاهل التعديلات المحلية واستعد النسخة المثبتة"],+ "XSy4nN": [+ "تعذّر على أدوات OpenKnowledge لدى الوكيل الوصول إلى الخادم. اطلب من الوكيل أن يعيد المحاولة، وإذا استمر الفشل فابدأ محادثة جديدة."+ ],"XT-L4j": ["شغّل وكيلًا للإنشاء بالذكاء الاصطناعي"],"XU5AOg": ["إدخال"],"XV5sC0": ["فتح شجرة العمل"],@@ -3596,6 +3603,7 @@"_rP3HI": ["قبل ", ["minutes"], " دقيقة"],"_tekeB": ["حدّث خصائص المجلد"],"_tjopj": ["لصق نسخة"],+ "_uOJBO": ["لقد رفضت هذا. لتشغيله، اطلب من الوكيل أن يعيد المحاولة ثم وافق عليه."],"_uxBz5": ["إضافة MCP ومهارة لـ ", ["rowLabel"]],"_xWxLt": ["توقّف ", ["agentName"], " بسبب خطأ."],"_yB-24": ["كل ما تحت أي مجلد ", ["0"], "/"],@@ -4851,6 +4859,7 @@"lwCV5v": ["تعذّر فتح ", ["0"], " للتحرير: ", ["1"]],"lyWa43": ["صفحات منفصلة على مستوى المشروع"],"lzmtKp": ["فشل تحميل خصائص المجلد: ", ["message"]],+ "lzsa2d": ["نسخ الخطأ"],"lzwo7p": ["تعذّر فتح تسجيل الدخول إلى GitHub. يرجى المحاولة مرة أخرى."],"m-1Z7o": ["استخدم حزمة البداية هذه"],"m0eHej": [diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.poindex a1ba9a055..9884795f6 100644--- a/packages/app/src/locales/ar/messages.po+++ b/packages/app/src/locales/ar/messages.po@@ -3682,6 +3682,10 @@ msgstr "نسخ الرمز {userCode}"msgid "Copy command"msgstr "نسخ الأمر"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "نسخ الخطأ"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "الوكيل يعمل"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "الوكيل لا يتوقف. الإيقاف القسري يغلق هذه المحادثة وينهي الوكيل."+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "تعذّر على أدوات OpenKnowledge لدى الوكيل الوصول إلى الخادم. اطلب من الوكيل أن يعيد المحاولة، وإذا استمر الفشل فابدأ محادثة جديدة."+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "شخصية الوكيل وقيمه ونبرته."@@ -14028,6 +14036,14 @@ msgstr "معرّف النموذج الذي تخدمه نقطة نهايتك. يmsgid "the open agent"msgstr "الوكيل المفتوح"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "استغرق خادم OpenKnowledge وقتا طويلا للرد، وربما يكون التغيير قد طبق بالفعل. اطلب من الوكيل التحقق قبل المحاولة مرة أخرى."++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "استغرق خادم OpenKnowledge وقتا طويلا للرد. اطلب من الوكيل المحاولة مرة أخرى."+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "تم حذف النص الأصلي. يمكنك إعادة وضع هذا التعليق على النص المحدد."@@ -15983,6 +15999,10 @@ msgstr "ألغيت تحميل «{docName}»."msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "حذفت <0>{filePath}</0> محليًا، لكنه عُدِّل في المستودع البعيد."+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "لقد رفضت هذا. لتشغيله، اطلب من الوكيل أن يعيد المحاولة ثم وافق عليه."+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "ليس لديك صلاحية الوصول إلى هذا المستودع الخاص. سجّل الدخول بحساب يملكها."diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.jsonindex d21fecc33..42e8e6da2 100644--- a/packages/app/src/locales/bn/messages.json+++ b/packages/app/src/locales/bn/messages.json@@ -163,6 +163,9 @@"110eEb": ["Open Knowledge Markdown ধারণকারী প্রতিটি ফোল্ডারে index.md নামের একটি নেভিগেশন ফাইল তৈরি ও রক্ষণাবেক্ষণ করে।"],+ "113NNl": [+ "OpenKnowledge সার্ভার সাড়া দিতে অনেক সময় নিয়েছে, এবং পরিবর্তনটি তবুও প্রয়োগ হয়ে থাকতে পারে। আবার চেষ্টা করার আগে এজেন্টকে যাচাই করতে বলুন।"+ ],"11ukmX": ["নাম বদলানো ব্যর্থ: ", ["0"]],"12F9WL": ["(কোনো id নেই)"],"151wvk": ["সাইডবার দেখান"],@@ -787,6 +790,7 @@],"99eR72": ["দৃশ্য সম্পাদকের টেবিল নির্বাচন"],"9Bd18D": ["হাব পাতা লোড করতে ব্যর্থ"],+ "9CNRDG": ["OpenKnowledge সার্ভার সাড়া দিতে অনেক সময় নিয়েছে। এজেন্টকে আবার চেষ্টা করতে বলুন।"],"9E_WAi": [["errorText"], " এবং ", ["warningText"]],"9EykGQ": ["ডানে কলাম যোগ করুন"],"9GbR5F": ["সর্বোচ্চ"],@@ -2726,6 +2730,9 @@"XPqe3B": ["নতুন ট্যাগ #", ["tagValue"], " তৈরি করুন"],"XRuL0i": ["পাতা তৈরি করুন"],"XSb9HS": ["স্থানীয় সম্পাদনা বাদ দিন, ইনস্টল করা সংস্করণ ফিরিয়ে আনুন"],+ "XSy4nN": [+ "এজেন্টের OpenKnowledge টুলগুলো সার্ভারে পৌঁছাতে পারেনি। এজেন্টকে আবার চেষ্টা করতে বলুন, আর বারবার ব্যর্থ হলে একটি নতুন চ্যাট শুরু করুন।"+ ],"XT-L4j": ["AI দিয়ে তৈরি করতে একটি এজেন্ট চালু করুন"],"XU5AOg": ["ইনপুট"],"XV5sC0": ["ওয়ার্কট্রি খুলুন"],@@ -3048,6 +3055,7 @@"_rP3HI": [["minutes"], " মিনিট আগে"],"_tekeB": ["ফোল্ডার প্রপার্টি হালনাগাদ হয়েছে"],"_tjopj": ["প্রতিলিপি পেস্ট করুন"],+ "_uOJBO": ["আপনি এটি প্রত্যাখ্যান করেছেন। এটি চালাতে এজেন্টকে আবার চেষ্টা করতে বলুন, তারপর অনুমোদন করুন।"],"_uxBz5": [["rowLabel"], " এর জন্য MCP ও স্কিল যোগ করুন"],"_xWxLt": [["agentName"], " একটি ত্রুটি নিয়ে থেমে গেছে।"],"_yB-24": ["যেকোনো ", ["0"], "/ ফোল্ডারের নিচের সবকিছু"],@@ -4133,6 +4141,7 @@"lwCV5v": [["0"], " সম্পাদনার জন্য খোলা যায়নি: ", ["1"]],"lyWa43": ["প্রকল্প-স্তরের বিচ্ছিন্ন পাতা"],"lzmtKp": ["ফোল্ডার প্রপার্টি লোড করতে ব্যর্থ: ", ["message"]],+ "lzsa2d": ["ত্রুটি কপি করুন"],"lzwo7p": ["GitHub সাইন-ইন খোলা যায়নি। অনুগ্রহ করে আবার চেষ্টা করুন।"],"m-1Z7o": ["এই স্টার্টার প্যাক ব্যবহার করুন"],"m0eHej": [diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.poindex 32c1f8247..64b5e2454 100644--- a/packages/app/src/locales/bn/messages.po+++ b/packages/app/src/locales/bn/messages.po@@ -3678,6 +3678,10 @@ msgstr "কোড {userCode} কপি করুন"msgid "Copy command"msgstr "কমান্ড কপি করুন"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "ত্রুটি কপি করুন"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13907,6 +13911,10 @@ msgstr "এজেন্ট কাজ করছে"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "এজেন্ট থামছে না। ফোর্স স্টপ এই চ্যাট বন্ধ করবে এবং এজেন্ট থেকে বেরিয়ে যাবে।"+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "এজেন্টের OpenKnowledge টুলগুলো সার্ভারে পৌঁছাতে পারেনি। এজেন্টকে আবার চেষ্টা করতে বলুন, আর বারবার ব্যর্থ হলে একটি নতুন চ্যাট শুরু করুন।"+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "এজেন্টের ব্যক্তিত্ব, মূল্যবোধ ও স্বর।"@@ -14024,6 +14032,14 @@ msgstr "আপনার এন্ডপয়েন্ট যে মডেল idmsgid "the open agent"msgstr "খোলা এজেন্ট"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "OpenKnowledge সার্ভার সাড়া দিতে অনেক সময় নিয়েছে, এবং পরিবর্তনটি তবুও প্রয়োগ হয়ে থাকতে পারে। আবার চেষ্টা করার আগে এজেন্টকে যাচাই করতে বলুন।"++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "OpenKnowledge সার্ভার সাড়া দিতে অনেক সময় নিয়েছে। এজেন্টকে আবার চেষ্টা করতে বলুন।"+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "মূল লেখাটি মুছে ফেলা হয়েছে। আপনি এই মন্তব্যটি নির্বাচিত লেখার উপর আবার বসাতে পারেন।"@@ -15979,6 +15995,10 @@ msgstr "আপনি \"{docName}\" লোড করা বাতিল করেmsgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "আপনি <0>{filePath}</0> স্থানীয়ভাবে মুছে ফেলেছেন, কিন্তু সেটি আপস্ট্রিমে বদলানো হয়েছিল।"+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "আপনি এটি প্রত্যাখ্যান করেছেন। এটি চালাতে এজেন্টকে আবার চেষ্টা করতে বলুন, তারপর অনুমোদন করুন।"+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "এই ব্যক্তিগত রিপোজিটরিতে আপনার প্রবেশাধিকার নেই। যে অ্যাকাউন্টের আছে সেটি দিয়ে সাইন ইন করুন।"diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex 932167b3a..7f2fa9551 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -167,6 +167,9 @@"110eEb": ["Open Knowledge creates and maintains a navigation file named index.md in every folder that contains Markdown."],+ "113NNl": [+ "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+ ],"11ukmX": ["Rename failed: ", ["0"]],"12F9WL": ["(no id)"],"151wvk": ["Show sidebar"],@@ -808,6 +811,7 @@],"99eR72": ["Visual editor table selection"],"9Bd18D": ["Failed to load hub pages"],+ "9CNRDG": ["The OpenKnowledge server took too long to answer. Ask the agent to try again."],"9E_WAi": [["errorText"], " and ", ["warningText"]],"9EykGQ": ["Insert column right"],"9GbR5F": ["HI"],@@ -2800,6 +2804,9 @@"XPqe3B": ["Create new tag #", ["tagValue"]],"XRuL0i": ["Create page"],"XSb9HS": ["Discard local edits, restore the installed version"],+ "XSy4nN": [+ "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+ ],"XT-L4j": ["Turn on an agent to create with AI"],"XU5AOg": ["Input"],"XV5sC0": ["Open worktree"],@@ -3124,6 +3131,7 @@"_rP3HI": [["minutes"], "m ago"],"_tekeB": ["updated folder properties"],"_tjopj": ["Paste duplicate"],+ "_uOJBO": ["You denied this. To let it run, ask the agent to try again and approve it."],"_uxBz5": ["Add MCP & skill for ", ["rowLabel"]],"_xWxLt": [["agentName"], " stopped with an error."],"_yB-24": ["everything under any ", ["0"], "/ folder"],@@ -4264,6 +4272,7 @@"lwCV5v": ["Couldn't open ", ["0"], " for editing: ", ["1"]],"lyWa43": ["Project-level disconnected pages"],"lzmtKp": ["Failed to load folder properties: ", ["message"]],+ "lzsa2d": ["Copy error"],"lzwo7p": ["Could not open GitHub sign-in. Please try again."],"m-1Z7o": ["Use this starter pack"],"m0eHej": [diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex 912f3144f..ccd086eb1 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -3682,6 +3682,10 @@ msgstr "Copy code {userCode}"msgid "Copy command"msgstr "Copy command"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "Copy error"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "The agent is working"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "The agent isn't stopping. Force stop closes this chat and quits the agent."+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "The agent's persona, values, and voice."@@ -14028,6 +14036,14 @@ msgstr "The model id your endpoint serves. Its vector size is detected automaticmsgid "the open agent"msgstr "the open agent"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "The OpenKnowledge server took too long to answer. Ask the agent to try again."+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "The original text was deleted. You can re-place this comment on selected text."@@ -15983,6 +15999,10 @@ msgstr "You cancelled loading \"{docName}\"."msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "You deleted <0>{filePath}</0> locally, but it was modified upstream."+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "You denied this. To let it run, ask the agent to try again and approve it."+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "You don't have access to this private repo. Sign in with an account that does."diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.jsonindex ffeae3658..528233c0b 100644--- a/packages/app/src/locales/es/messages.json+++ b/packages/app/src/locales/es/messages.json@@ -197,6 +197,9 @@"110eEb": ["Open Knowledge crea y mantiene un archivo de navegación llamado index.md en cada carpeta que contiene Markdown."],+ "113NNl": [+ "El servidor de OpenKnowledge tardo demasiado en responder y es posible que el cambio se haya aplicado igualmente. Pide al agente que lo compruebe antes de volver a intentarlo."+ ],"11ukmX": ["Falló al renombrar: ", ["0"]],"12F9WL": ["(sin id)"],"151wvk": ["Mostrar la barra lateral"],@@ -950,6 +953,9 @@],"99eR72": ["Selección de tabla del editor visual"],"9Bd18D": ["No se pudieron cargar las páginas índice"],+ "9CNRDG": [+ "El servidor de OpenKnowledge tardo demasiado en responder. Pide al agente que vuelva a intentarlo."+ ],"9E_WAi": [["errorText"], " y ", ["warningText"]],"9EykGQ": ["Insertar columna a la derecha"],"9GbR5F": ["MÁX"],@@ -3262,6 +3268,9 @@"XPqe3B": ["Crear la etiqueta nueva #", ["tagValue"]],"XRuL0i": ["Crear página"],"XSb9HS": ["Descartar las ediciones locales y restaurar la versión instalada"],+ "XSy4nN": [+ "Las herramientas de OpenKnowledge del agente no pudieron conectar con el servidor. Pide al agente que vuelva a intentarlo y, si sigue fallando, empieza un chat nuevo."+ ],"XT-L4j": ["Activa un agente para crear con IA"],"XU5AOg": ["Entrada"],"XV5sC0": ["Abrir el worktree"],@@ -3627,6 +3636,9 @@"_rP3HI": ["hace ", ["minutes"], " min"],"_tekeB": ["se actualizaron las propiedades de la carpeta"],"_tjopj": ["Pegar duplicado"],+ "_uOJBO": [+ "Lo denegaste. Para que se ejecute, pide al agente que vuelva a intentarlo y apruébalo."+ ],"_uxBz5": ["Añadir MCP y habilidad para ", ["rowLabel"]],"_xWxLt": [["agentName"], " se detuvo con un error."],"_yB-24": ["todo lo que hay en cualquier carpeta ", ["0"], "/"],@@ -4942,6 +4954,7 @@"lwCV5v": ["No se pudo abrir ", ["0"], " para editarlo: ", ["1"]],"lyWa43": ["Páginas desconectadas de todo el proyecto"],"lzmtKp": ["No se pudieron cargar las propiedades de la carpeta: ", ["message"]],+ "lzsa2d": ["Copiar el error"],"lzwo7p": ["No se pudo abrir el inicio de sesión de GitHub. Inténtalo de nuevo."],"m-1Z7o": ["Usar este paquete inicial"],"m0eHej": [diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.poindex 12c3e2467..f6a356398 100644--- a/packages/app/src/locales/es/messages.po+++ b/packages/app/src/locales/es/messages.po@@ -3682,6 +3682,10 @@ msgstr "Copiar el código {userCode}"msgid "Copy command"msgstr "Copiar comando"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "Copiar el error"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "El agente está trabajando"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "El agente no se detiene. La detención forzada cierra este chat y sale del agente."+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "Las herramientas de OpenKnowledge del agente no pudieron conectar con el servidor. Pide al agente que vuelva a intentarlo y, si sigue fallando, empieza un chat nuevo."+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "La personalidad, los valores y la voz del agente."@@ -14028,6 +14036,14 @@ msgstr "El id del modelo que sirve tu endpoint. El tamaño de su vector se detecmsgid "the open agent"msgstr "el agente abierto"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "El servidor de OpenKnowledge tardo demasiado en responder y es posible que el cambio se haya aplicado igualmente. Pide al agente que lo compruebe antes de volver a intentarlo."++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "El servidor de OpenKnowledge tardo demasiado en responder. Pide al agente que vuelva a intentarlo."+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "El texto original se eliminó. Puedes volver a colocar este comentario sobre el texto seleccionado."@@ -15983,6 +15999,10 @@ msgstr "Cancelaste la carga de \"{docName}\"."msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "Eliminaste <0>{filePath}</0> en local, pero se modificó en el remoto."+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "Lo denegaste. Para que se ejecute, pide al agente que vuelva a intentarlo y apruébalo."+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "No tienes acceso a este repositorio privado. Inicia sesión con una cuenta que sí lo tenga."diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.jsonindex bef47cf1d..37dfaa737 100644--- a/packages/app/src/locales/fr/messages.json+++ b/packages/app/src/locales/fr/messages.json@@ -199,6 +199,9 @@"110eEb": ["Open Knowledge crée et gère un fichier de navigation nommé index.md dans chaque dossier contenant Markdown."],+ "113NNl": [+ "Le serveur OpenKnowledge a mis trop de temps a repondre et la modification a peut-etre quand meme ete appliquee. Demandez a l'agent de verifier avant de reessayer."+ ],"11ukmX": ["Échec du renommage : ", ["0"]],"12F9WL": ["(aucun id)"],"151wvk": ["Afficher la barre latérale"],@@ -977,6 +980,9 @@],"99eR72": ["Sélection de tableau de l'éditeur visuel"],"9Bd18D": ["Échec du chargement des pages pivots"],+ "9CNRDG": [+ "Le serveur OpenKnowledge a mis trop de temps a repondre. Demandez a l'agent de reessayer."+ ],"9E_WAi": [["errorText"], " et ", ["warningText"]],"9EykGQ": ["Insérer une colonne à droite"],"9GbR5F": ["MAX"],@@ -3310,6 +3316,9 @@"XPqe3B": ["Créer l'étiquette #", ["tagValue"]],"XRuL0i": ["Créer la page"],"XSb9HS": ["Abandonner les modifications locales, restaurer la version installée"],+ "XSy4nN": [+ "Les outils OpenKnowledge de l'agent n'ont pas pu joindre le serveur. Demandez à l'agent de réessayer et, si l'échec persiste, démarrez un nouveau chat."+ ],"XT-L4j": ["Activez un agent pour créer avec l'IA"],"XU5AOg": ["Entrée"],"XV5sC0": ["Ouvrir le worktree"],@@ -3674,6 +3683,9 @@"_rP3HI": ["il y a ", ["minutes"], " min"],"_tekeB": ["propriétés du dossier mises à jour"],"_tjopj": ["Coller le duplicata"],+ "_uOJBO": [+ "Vous l'avez refusé. Pour qu'il s'exécute, demandez à l'agent de réessayer et approuvez-le."+ ],"_uxBz5": ["Ajouter MCP et la compétence pour ", ["rowLabel"]],"_xWxLt": [["agentName"], " s'est arrêté sur une erreur."],"_yB-24": ["tout ce qui se trouve sous n'importe quel dossier ", ["0"], "/"],@@ -4985,6 +4997,7 @@"lwCV5v": ["Impossible d'ouvrir ", ["0"], " pour modification : ", ["1"]],"lyWa43": ["Pages isolées au niveau du projet"],"lzmtKp": ["Échec du chargement des propriétés du dossier : ", ["message"]],+ "lzsa2d": ["Copier l'erreur"],"lzwo7p": ["Impossible d'ouvrir la connexion GitHub. Veuillez réessayer."],"m-1Z7o": ["Utiliser ce pack de démarrage"],"m0eHej": [diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.poindex 687e3826c..dee0cd1bd 100644--- a/packages/app/src/locales/fr/messages.po+++ b/packages/app/src/locales/fr/messages.po@@ -3682,6 +3682,10 @@ msgstr "Copier le code {userCode}"msgid "Copy command"msgstr "Copier la commande"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "Copier l'erreur"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "L'agent travaille"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "L'agent ne s'arrête pas. L'arrêt forcé ferme ce chat et quitte l'agent."+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "Les outils OpenKnowledge de l'agent n'ont pas pu joindre le serveur. Demandez à l'agent de réessayer et, si l'échec persiste, démarrez un nouveau chat."+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "La personnalité, les valeurs et le ton de l'agent."@@ -14028,6 +14036,14 @@ msgstr "L'id du modèle servi par votre point de terminaison. La taille de ses vmsgid "the open agent"msgstr "l'agent ouvert"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "Le serveur OpenKnowledge a mis trop de temps a repondre et la modification a peut-etre quand meme ete appliquee. Demandez a l'agent de verifier avant de reessayer."++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "Le serveur OpenKnowledge a mis trop de temps a repondre. Demandez a l'agent de reessayer."+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "Le texte d'origine a été supprimé. Vous pouvez replacer ce commentaire sur le texte sélectionné."@@ -15983,6 +15999,10 @@ msgstr "Vous avez annulé le chargement de « {docName} »."msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "Vous avez supprimé <0>{filePath}</0> en local, mais il a été modifié en amont."+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "Vous l'avez refusé. Pour qu'il s'exécute, demandez à l'agent de réessayer et approuvez-le."+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "Vous n'avez pas accès à ce dépôt privé. Connectez-vous avec un compte qui y a accès."diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.jsonindex ad05b1493..d1fa757c2 100644--- a/packages/app/src/locales/hi/messages.json+++ b/packages/app/src/locales/hi/messages.json@@ -165,6 +165,9 @@"110eEb": ["Open Knowledge प्रत्येक फ़ोल्डर में index.md नामक एक नेविगेशन फ़ाइल बनाता है और उसका रखरखाव करता है जिसमें Markdown होता है।"],+ "113NNl": [+ "OpenKnowledge सर्वर ने जवाब देने में बहुत समय लिया, और हो सकता है कि बदलाव फिर भी लागू हो गया हो। दोबारा कोशिश करने से पहले एजेंट से जाँच करने को कहें।"+ ],"11ukmX": ["नाम बदलना विफल: ", ["0"]],"12F9WL": ["(कोई id नहीं)"],"151wvk": ["साइडबार दिखाएँ"],@@ -794,6 +797,7 @@],"99eR72": ["दृश्य संपादक की तालिका का चयन"],"9Bd18D": ["हब पेज लोड करने में विफल"],+ "9CNRDG": ["OpenKnowledge सर्वर ने जवाब देने में बहुत समय लिया। एजेंट से दोबारा कोशिश करने को कहें।"],"9E_WAi": [["errorText"], " और ", ["warningText"]],"9EykGQ": ["दाईं ओर कॉलम जोड़ें"],"9GbR5F": ["उच्च"],@@ -2721,6 +2725,9 @@"XPqe3B": ["नया टैग #", ["tagValue"], " बनाएँ"],"XRuL0i": ["पेज बनाएँ"],"XSb9HS": ["स्थानीय संपादन छोड़ें, इंस्टॉल किया गया संस्करण बहाल करें"],+ "XSy4nN": [+ "एजेंट के OpenKnowledge टूल सर्वर तक नहीं पहुँच सके। एजेंट से फिर से कोशिश करने को कहें, और अगर यह बार-बार विफल हो, तो नई चैट शुरू करें।"+ ],"XT-L4j": ["AI से बनाने के लिए कोई एजेंट चालू करें"],"XU5AOg": ["इनपुट"],"XV5sC0": ["वर्कट्री खोलें"],@@ -3041,6 +3048,7 @@"_rP3HI": [["minutes"], " मिनट पहले"],"_tekeB": ["फ़ोल्डर प्रॉपर्टी अपडेट की गईं"],"_tjopj": ["नकल चिपकाएँ"],+ "_uOJBO": ["आपने इसे अस्वीकार किया। इसे चलाने के लिए एजेंट से फिर से कोशिश करने को कहें और स्वीकृति दें।"],"_uxBz5": [["rowLabel"], " के लिए MCP और स्किल जोड़ें"],"_xWxLt": [["agentName"], " एक त्रुटि के साथ रुक गया।"],"_yB-24": ["किसी भी ", ["0"], "/ फ़ोल्डर के अंतर्गत सब कुछ"],@@ -4128,6 +4136,7 @@"lwCV5v": [["0"], " संपादन के लिए नहीं खोली जा सकी: ", ["1"]],"lyWa43": ["प्रोजेक्ट-स्तर के असंबद्ध पेज"],"lzmtKp": ["फ़ोल्डर प्रॉपर्टी लोड करने में विफल: ", ["message"]],+ "lzsa2d": ["त्रुटि कॉपी करें"],"lzwo7p": ["GitHub साइन-इन नहीं खोला जा सका। कृपया फिर कोशिश करें।"],"m-1Z7o": ["यह स्टार्टर पैक उपयोग करें"],"m0eHej": [["display"], " पर मौजूद प्रति को स्किल के स्रोत फ़ोल्डर के सिमलिंक से बदलें? और कुछ नहीं हिलता।"],diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.poindex 34a2b7215..d29de40c9 100644--- a/packages/app/src/locales/hi/messages.po+++ b/packages/app/src/locales/hi/messages.po@@ -3678,6 +3678,10 @@ msgstr "कोड {userCode} कॉपी करें"msgid "Copy command"msgstr "कमांड कॉपी करें"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "त्रुटि कॉपी करें"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13907,6 +13911,10 @@ msgstr "एजेंट काम कर रहा है"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "एजेंट रुक नहीं रहा है। फ़ोर्स स्टॉप इस चैट को बंद कर देगा और एजेंट से बाहर निकल जाएगा।"+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "एजेंट के OpenKnowledge टूल सर्वर तक नहीं पहुँच सके। एजेंट से फिर से कोशिश करने को कहें, और अगर यह बार-बार विफल हो, तो नई चैट शुरू करें।"+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "एजेंट का व्यक्तित्व, मूल्य और स्वर।"@@ -14024,6 +14032,14 @@ msgstr "वह मॉडल id जो आपका एंडपॉइंट दmsgid "the open agent"msgstr "खुला हुआ एजेंट"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "OpenKnowledge सर्वर ने जवाब देने में बहुत समय लिया, और हो सकता है कि बदलाव फिर भी लागू हो गया हो। दोबारा कोशिश करने से पहले एजेंट से जाँच करने को कहें।"++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "OpenKnowledge सर्वर ने जवाब देने में बहुत समय लिया। एजेंट से दोबारा कोशिश करने को कहें।"+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "मूल पाठ हटा दिया गया था। आप इस टिप्पणी को चयनित पाठ पर फिर से रख सकते हैं।"@@ -15979,6 +15995,10 @@ msgstr "आपने \"{docName}\" लोड करना रद्द करmsgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "आपने <0>{filePath}</0> स्थानीय रूप से हटाई, पर उसे अपस्ट्रीम में बदला गया था।"+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "आपने इसे अस्वीकार किया। इसे चलाने के लिए एजेंट से फिर से कोशिश करने को कहें और स्वीकृति दें।"+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "इस निजी रिपॉज़िटरी तक आपकी पहुँच नहीं है। ऐसे खाते से साइन इन करें जिसकी पहुँच हो।"diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.jsonindex 499348778..f274e9b7d 100644--- a/packages/app/src/locales/id/messages.json+++ b/packages/app/src/locales/id/messages.json@@ -165,6 +165,9 @@"110eEb": ["Open Knowledge membuat dan memelihara file navigasi bernama index.md di setiap folder yang berisi Markdown."],+ "113NNl": [+ "Server OpenKnowledge terlalu lama merespons, dan perubahan mungkin tetap diterapkan. Minta agen memeriksanya sebelum mencoba lagi."+ ],"11ukmX": ["Gagal mengganti nama: ", ["0"]],"12F9WL": ["(tanpa id)"],"151wvk": ["Tampilkan bilah sisi"],@@ -827,6 +830,7 @@],"99eR72": ["Pilihan tabel penyunting visual"],"9Bd18D": ["Gagal memuat halaman pusat"],+ "9CNRDG": ["Server OpenKnowledge terlalu lama merespons. Minta agen mencoba lagi."],"9E_WAi": [["errorText"], " dan ", ["warningText"]],"9EykGQ": ["Sisipkan kolom di kanan"],"9GbR5F": ["MAKS"],@@ -2834,6 +2838,9 @@"XPqe3B": ["Buat tag baru #", ["tagValue"]],"XRuL0i": ["Buat halaman"],"XSb9HS": ["Buang suntingan lokal, pulihkan versi yang terpasang"],+ "XSy4nN": [+ "Alat OpenKnowledge milik agen tidak bisa menjangkau server. Minta agen untuk mencoba lagi, dan jika terus gagal, mulai obrolan baru."+ ],"XT-L4j": ["Nyalakan sebuah agen untuk membuat dengan AI"],"XU5AOg": ["Masukan"],"XV5sC0": ["Buka worktree"],@@ -3149,6 +3156,7 @@"_rP3HI": [["minutes"], " mnt lalu"],"_tekeB": ["properti folder diperbarui"],"_tjopj": ["Tempel gandaan"],+ "_uOJBO": ["Anda menolak ini. Agar bisa berjalan, minta agen untuk mencoba lagi lalu setujui."],"_uxBz5": ["Tambahkan MCP & keterampilan untuk ", ["rowLabel"]],"_xWxLt": [["agentName"], " berhenti dengan galat."],"_yB-24": ["semua yang ada di folder ", ["0"], "/ mana pun"],@@ -4304,6 +4312,7 @@"lwCV5v": [["0"], " tidak bisa dibuka untuk disunting: ", ["1"]],"lyWa43": ["Halaman terputus di tingkat proyek"],"lzmtKp": ["Gagal memuat properti folder: ", ["message"]],+ "lzsa2d": ["Salin galat"],"lzwo7p": ["Halaman masuk GitHub tidak dapat dibuka. Silakan coba lagi."],"m-1Z7o": ["Pakai paket awal ini"],"m0eHej": [diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.poindex d288c5ac1..3357b1346 100644--- a/packages/app/src/locales/id/messages.po+++ b/packages/app/src/locales/id/messages.po@@ -3678,6 +3678,10 @@ msgstr "Salin kode {userCode}"msgid "Copy command"msgstr "Salin perintah"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "Salin galat"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13907,6 +13911,10 @@ msgstr "Agennya sedang bekerja"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "Agen tidak berhenti. Hentikan paksa menutup obrolan ini dan keluar dari agen."+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "Alat OpenKnowledge milik agen tidak bisa menjangkau server. Minta agen untuk mencoba lagi, dan jika terus gagal, mulai obrolan baru."+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "Kepribadian, nilai, dan gaya bicara agen."@@ -14024,6 +14032,14 @@ msgstr "Id model yang dilayani endpoint Anda. Ukuran vektornya terdeteksi otomatmsgid "the open agent"msgstr "agen yang terbuka"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "Server OpenKnowledge terlalu lama merespons, dan perubahan mungkin tetap diterapkan. Minta agen memeriksanya sebelum mencoba lagi."++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "Server OpenKnowledge terlalu lama merespons. Minta agen mencoba lagi."+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "Teks aslinya telah dihapus. Anda dapat menempatkan ulang komentar ini pada teks terpilih."@@ -15979,6 +15995,10 @@ msgstr "Anda membatalkan pemuatan \"{docName}\"."msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "Anda menghapus <0>{filePath}</0> secara lokal, tetapi ia diubah di remote."+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "Anda menolak ini. Agar bisa berjalan, minta agen untuk mencoba lagi lalu setujui."+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "Anda tidak punya akses ke repo pribadi ini. Masuk dengan akun yang punya akses."diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.jsonindex 3a4524d76..ede15c113 100644--- a/packages/app/src/locales/ko/messages.json+++ b/packages/app/src/locales/ko/messages.json@@ -157,6 +157,9 @@"110eEb": ["Open Knowledge는 Markdown이 있는 모든 폴더에 index.md라는 탐색 파일을 만들고 유지합니다."],+ "113NNl": [+ "OpenKnowledge 서버의 응답이 너무 오래 걸렸으며 변경 사항이 이미 적용되었을 수 있습니다. 다시 시도하기 전에 에이전트에게 확인해 달라고 요청하세요."+ ],"11ukmX": ["이름 변경 실패: ", ["0"]],"12F9WL": ["(ID 없음)"],"151wvk": ["사이드바 표시"],@@ -795,6 +798,9 @@],"99eR72": ["비주얼 편집기 표 선택 영역"],"9Bd18D": ["허브 페이지 불러오기 실패"],+ "9CNRDG": [+ "OpenKnowledge 서버의 응답이 너무 오래 걸렸습니다. 에이전트에게 다시 시도해 달라고 요청하세요."+ ],"9E_WAi": [["errorText"], ", ", ["warningText"]],"9EykGQ": ["오른쪽에 열 삽입"],"9GbR5F": ["안녕"],@@ -2707,6 +2713,9 @@"XPqe3B": ["새 태그 #", ["tagValue"], " 만들기"],"XRuL0i": ["페이지 만들기"],"XSb9HS": ["로컬 편집을 버리고 설치된 버전을 복원"],+ "XSy4nN": [+ "에이전트의 OpenKnowledge 도구가 서버에 연결하지 못했습니다. 에이전트에게 다시 시도해 달라고 요청하고, 계속 실패하면 새 채팅을 시작하세요."+ ],"XT-L4j": ["AI로 만들려면 에이전트를 켜세요"],"XU5AOg": ["입력"],"XV5sC0": ["워크트리 열기"],@@ -3020,6 +3029,9 @@"_rP3HI": [["minutes"], "분 전"],"_tekeB": ["폴더 속성 업데이트됨"],"_tjopj": ["복제하여 붙여넣기"],+ "_uOJBO": [+ "이 작업을 거부했습니다. 실행하려면 에이전트에게 다시 시도해 달라고 요청한 뒤 승인하세요."+ ],"_uxBz5": [["rowLabel"], "에 MCP 및 스킬 추가"],"_xWxLt": [["agentName"], "이(가) 오류로 중지되었습니다."],"_yB-24": ["모든 ", ["0"], "/ 폴더 아래의 항목"],@@ -4116,6 +4128,7 @@"lwCV5v": [["0"], " 편집용 열기 실패: ", ["1"]],"lyWa43": ["프로젝트 수준 연결 끊긴 페이지"],"lzmtKp": ["폴더 속성을 불러오지 못했습니다: ", ["message"]],+ "lzsa2d": ["오류 복사"],"lzwo7p": ["GitHub 로그인 화면을 열 수 없습니다. 다시 시도하세요."],"m-1Z7o": ["이 스타터 팩 사용"],"m0eHej": [diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.poindex d64db1c20..6faf21190 100644--- a/packages/app/src/locales/ko/messages.po+++ b/packages/app/src/locales/ko/messages.po@@ -3682,6 +3682,10 @@ msgstr "코드 {userCode} 복사"msgid "Copy command"msgstr "명령 복사"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "오류 복사"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "에이전트 작업 중"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "에이전트 중지 실패. 강제 중지 시 채팅 종료 및 에이전트 종료."+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "에이전트의 OpenKnowledge 도구가 서버에 연결하지 못했습니다. 에이전트에게 다시 시도해 달라고 요청하고, 계속 실패하면 새 채팅을 시작하세요."+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "에이전트의 페르소나, 가치관, 말투입니다."@@ -14028,6 +14036,14 @@ msgstr "엔드포인트가 제공하는 모델 ID입니다. 벡터 크기는 자msgid "the open agent"msgstr "열린 에이전트"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "OpenKnowledge 서버의 응답이 너무 오래 걸렸으며 변경 사항이 이미 적용되었을 수 있습니다. 다시 시도하기 전에 에이전트에게 확인해 달라고 요청하세요."++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "OpenKnowledge 서버의 응답이 너무 오래 걸렸습니다. 에이전트에게 다시 시도해 달라고 요청하세요."+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "원문 삭제됨. 선택한 텍스트에 댓글 다시 배치 가능"@@ -15983,6 +15999,10 @@ msgstr "\"{docName}\" 불러오기를 취소했습니다."msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "로컬에서 <0>{filePath}</0>을 삭제했지만, 원격에서 수정되었습니다."+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "이 작업을 거부했습니다. 실행하려면 에이전트에게 다시 시도해 달라고 요청한 뒤 승인하세요."+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "이 비공개 저장소에 접근 권한이 없습니다. 접근 권한이 있는 계정으로 로그인하세요."diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex 3d0d47e46..889b5b1ca 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -167,6 +167,9 @@"110eEb": ["Ōƥēń Ķńōŵĺēďĝē ćŕēàţēś àńď ḿàĩńţàĩńś à ńàvĩĝàţĩōń ƒĩĺē ńàḿēď ĩńďēx.ḿď ĩń ēvēŕŷ ƒōĺďēŕ ţĥàţ ćōńţàĩńś Ḿàŕķďōŵń."],+ "113NNl": [+ "Ţĥē ŌƥēńĶńōŵĺēďĝē śēŕvēŕ ţōōķ ţōō ĺōńĝ ţō àńśŵēŕ, àńď ţĥē ćĥàńĝē ḿàŷ śţĩĺĺ ĥàvē ĝōńē ţĥŕōũĝĥ. Àśķ ţĥē àĝēńţ ţō ćĥēćķ ƀēƒōŕē ţŕŷĩńĝ àĝàĩń."+ ],"11ukmX": ["Ŕēńàḿē ƒàĩĺēď: ", ["0"]],"12F9WL": ["(ńō ĩď)"],"151wvk": ["Śĥōŵ śĩďēƀàŕ"],@@ -808,6 +811,7 @@],"99eR72": ["Vĩśũàĺ ēďĩţōŕ ţàƀĺē śēĺēćţĩōń"],"9Bd18D": ["Ƒàĩĺēď ţō ĺōàď ĥũƀ ƥàĝēś"],+ "9CNRDG": ["Ţĥē ŌƥēńĶńōŵĺēďĝē śēŕvēŕ ţōōķ ţōō ĺōńĝ ţō àńśŵēŕ. Àśķ ţĥē àĝēńţ ţō ţŕŷ àĝàĩń."],"9E_WAi": [["errorText"], " àńď ", ["warningText"]],"9EykGQ": ["Ĩńśēŕţ ćōĺũḿń ŕĩĝĥţ"],"9GbR5F": ["ĤĨ"],@@ -2800,6 +2804,9 @@"XPqe3B": ["Ćŕēàţē ńēŵ ţàĝ #", ["tagValue"]],"XRuL0i": ["Ćŕēàţē ƥàĝē"],"XSb9HS": ["Ďĩśćàŕď ĺōćàĺ ēďĩţś, ŕēśţōŕē ţĥē ĩńśţàĺĺēď vēŕśĩōń"],+ "XSy4nN": [+ "Ţĥē àĝēńţ'ś ŌƥēńĶńōŵĺēďĝē ţōōĺś ćōũĺďń'ţ ŕēàćĥ ţĥē śēŕvēŕ. Àśķ ţĥē àĝēńţ ţō ţŕŷ àĝàĩń, àńď ĩƒ ĩţ ķēēƥś ƒàĩĺĩńĝ, śţàŕţ à ńēŵ ćĥàţ."+ ],"XT-L4j": ["Ţũŕń ōń àń àĝēńţ ţō ćŕēàţē ŵĩţĥ ÀĨ"],"XU5AOg": ["Ĩńƥũţ"],"XV5sC0": ["Ōƥēń ŵōŕķţŕēē"],@@ -3124,6 +3131,7 @@"_rP3HI": [["minutes"], "ḿ àĝō"],"_tekeB": ["ũƥďàţēď ƒōĺďēŕ ƥŕōƥēŕţĩēś"],"_tjopj": ["Ƥàśţē ďũƥĺĩćàţē"],+ "_uOJBO": ["Ŷōũ ďēńĩēď ţĥĩś. Ţō ĺēţ ĩţ ŕũń, àśķ ţĥē àĝēńţ ţō ţŕŷ àĝàĩń àńď àƥƥŕōvē ĩţ."],"_uxBz5": ["Àďď ḾĆƤ & śķĩĺĺ ƒōŕ ", ["rowLabel"]],"_xWxLt": [["agentName"], " śţōƥƥēď ŵĩţĥ àń ēŕŕōŕ."],"_yB-24": ["ēvēŕŷţĥĩńĝ ũńďēŕ àńŷ ", ["0"], "/ ƒōĺďēŕ"],@@ -4264,6 +4272,7 @@"lwCV5v": ["Ćōũĺďń'ţ ōƥēń ", ["0"], " ƒōŕ ēďĩţĩńĝ: ", ["1"]],"lyWa43": ["ƤŕōĴēćţ-ĺēvēĺ ďĩśćōńńēćţēď ƥàĝēś"],"lzmtKp": ["Ƒàĩĺēď ţō ĺōàď ƒōĺďēŕ ƥŕōƥēŕţĩēś: ", ["message"]],+ "lzsa2d": ["Ćōƥŷ ēŕŕōŕ"],"lzwo7p": ["Ćōũĺď ńōţ ōƥēń ĜĩţĤũƀ śĩĝń-ĩń. Ƥĺēàśē ţŕŷ àĝàĩń."],"m-1Z7o": ["Ũśē ţĥĩś śţàŕţēŕ ƥàćķ"],"m0eHej": [diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex e39a3d089..6b7ed57e3 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -3678,6 +3678,10 @@ msgstr ""msgid "Copy command"msgstr ""+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr ""+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13907,6 +13911,10 @@ msgstr ""msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr ""+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr ""+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr ""@@ -14024,6 +14032,14 @@ msgstr ""msgid "the open agent"msgstr ""+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr ""++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr ""+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr ""@@ -15979,6 +15995,10 @@ msgstr ""msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr ""+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr ""+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr ""diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.jsonindex 0f97d7e16..b0b0fac7e 100644--- a/packages/app/src/locales/pt-BR/messages.json+++ b/packages/app/src/locales/pt-BR/messages.json@@ -197,6 +197,9 @@"110eEb": ["Open Knowledge cria e mantém um arquivo de navegação denominado index.md em cada pasta que contém Markdown."],+ "113NNl": [+ "O servidor do OpenKnowledge demorou demais para responder e a alteracao pode ter sido aplicada mesmo assim. Peca ao agente que verifique antes de tentar de novo."+ ],"11ukmX": ["Falha ao renomear: ", ["0"]],"12F9WL": ["(sem id)"],"151wvk": ["Mostrar a barra lateral"],@@ -942,6 +945,9 @@],"99eR72": ["Seleção de tabela do editor visual"],"9Bd18D": ["Falha ao carregar as páginas de índice"],+ "9CNRDG": [+ "O servidor do OpenKnowledge demorou demais para responder. Peca ao agente que tente de novo."+ ],"9E_WAi": [["errorText"], " e ", ["warningText"]],"9EykGQ": ["Inserir coluna à direita"],"9GbR5F": ["MÁX"],@@ -3217,6 +3223,9 @@"XPqe3B": ["Criar a nova tag #", ["tagValue"]],"XRuL0i": ["Criar página"],"XSb9HS": ["Descartar as edições locais e restaurar a versão instalada"],+ "XSy4nN": [+ "As ferramentas do OpenKnowledge do agente não conseguiram alcançar o servidor. Peça ao agente para tentar de novo e, se continuar falhando, comece um novo chat."+ ],"XT-L4j": ["Ligue um agente para criar com IA"],"XU5AOg": ["Entrada"],"XV5sC0": ["Abrir o worktree"],@@ -3559,6 +3568,7 @@"_rP3HI": ["há ", ["minutes"], " min"],"_tekeB": ["propriedades da pasta atualizadas"],"_tjopj": ["Colar duplicado"],+ "_uOJBO": ["Você negou isto. Para deixar rodar, peça ao agente para tentar de novo e aprove."],"_uxBz5": ["Adicionar MCP e habilidade para ", ["rowLabel"]],"_xWxLt": [["agentName"], " parou com um erro."],"_yB-24": ["tudo dentro de qualquer pasta ", ["0"], "/"],@@ -4842,6 +4852,7 @@"lwCV5v": ["Não deu para abrir ", ["0"], " para edição: ", ["1"]],"lyWa43": ["Páginas desconectadas em todo o projeto"],"lzmtKp": ["Falha ao carregar as propriedades da pasta: ", ["message"]],+ "lzsa2d": ["Copiar o erro"],"lzwo7p": ["Não foi possível abrir o login do GitHub. Tente de novo."],"m-1Z7o": ["Usar este pacote inicial"],"m0eHej": [diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.poindex 7efbf9199..4a5afa9d7 100644--- a/packages/app/src/locales/pt-BR/messages.po+++ b/packages/app/src/locales/pt-BR/messages.po@@ -3678,6 +3678,10 @@ msgstr "Copiar o código {userCode}"msgid "Copy command"msgstr "Copiar comando"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "Copiar o erro"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13907,6 +13911,10 @@ msgstr "O agente está trabalhando"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "O agente não está parando. A parada forçada fecha este chat e encerra o agente."+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "As ferramentas do OpenKnowledge do agente não conseguiram alcançar o servidor. Peça ao agente para tentar de novo e, se continuar falhando, comece um novo chat."+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "A personalidade, os valores e a voz do agente."@@ -14024,6 +14032,14 @@ msgstr "O id do modelo que seu endpoint serve. O tamanho do vector é detectadomsgid "the open agent"msgstr "o agente aberto"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "O servidor do OpenKnowledge demorou demais para responder e a alteracao pode ter sido aplicada mesmo assim. Peca ao agente que verifique antes de tentar de novo."++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "O servidor do OpenKnowledge demorou demais para responder. Peca ao agente que tente de novo."+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "O texto original foi excluído. Você pode reposicionar este comentário no texto selecionado."@@ -15979,6 +15995,10 @@ msgstr "Você cancelou o carregamento de \"{docName}\"."msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "Você excluiu <0>{filePath}</0> localmente, mas ele foi modificado no remoto."+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "Você negou isto. Para deixar rodar, peça ao agente para tentar de novo e aprove."+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "Você não tem acesso a este repositório privado. Entre com uma conta que tenha."diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.jsonindex 2412a2f70..107fbb1a7 100644--- a/packages/app/src/locales/ur/messages.json+++ b/packages/app/src/locales/ur/messages.json@@ -165,6 +165,9 @@"110eEb": ["Open Knowledge ہر فولڈر میں index.md نامی نیویگیشن فائل بناتا اور برقرار رکھتا ہے جس میں Markdown ہوتا ہے۔"],+ "113NNl": [+ "OpenKnowledge سرور نے جواب دینے میں بہت وقت لیا، اور ممکن ہے تبدیلی پھر بھی لاگو ہو چکی ہو۔ دوبارہ کوشش کرنے سے پہلے ایجنٹ سے تصدیق کرنے کو کہیں۔"+ ],"11ukmX": ["نام بدلنا ناکام: ", ["0"]],"12F9WL": ["(کوئی شناخت نہیں)"],"151wvk": ["سائیڈ بار دکھائیں"],@@ -828,6 +831,9 @@],"99eR72": ["بصری ایڈیٹر کے ٹیبل کا انتخاب"],"9Bd18D": ["مرکزی صفحات لوڈ نہیں ہو سکے"],+ "9CNRDG": [+ "OpenKnowledge سرور نے جواب دینے میں بہت وقت لیا۔ ایجنٹ سے دوبارہ کوشش کرنے کو کہیں۔"+ ],"9E_WAi": [["errorText"], " اور ", ["warningText"]],"9EykGQ": ["دائیں طرف کالم داخل کریں"],"9GbR5F": ["بلند ترین"],@@ -2861,6 +2867,9 @@"XPqe3B": ["نیا ٹیگ #", ["tagValue"], " بنائیں"],"XRuL0i": ["صفحہ بنائیں"],"XSb9HS": ["مقامی ترامیم رد کریں، نصب شدہ ورژن بحال کریں"],+ "XSy4nN": [+ "ایجنٹ کے OpenKnowledge ٹولز سرور تک نہیں پہنچ سکے۔ ایجنٹ سے دوبارہ کوشش کرنے کو کہیں، اور اگر یہ بار بار ناکام ہو تو نئی چیٹ شروع کریں۔"+ ],"XT-L4j": ["AI سے بنانے کے لیے کوئی ایجنٹ فعال کریں"],"XU5AOg": ["اِن پٹ"],"XV5sC0": ["ورک ٹری کھولیں"],@@ -3189,6 +3198,9 @@"_rP3HI": [["minutes"], " منٹ پہلے"],"_tekeB": ["فولڈر کی خصوصیات تازہ کیں"],"_tjopj": ["نقل چسپاں کریں"],+ "_uOJBO": [+ "آپ نے اسے مسترد کیا۔ اسے چلانے کے لیے ایجنٹ سے دوبارہ کوشش کرنے کو کہیں اور منظوری دیں۔"+ ],"_uxBz5": [["rowLabel"], " کے لیے MCP اور اسکل شامل کریں"],"_xWxLt": [["agentName"], " ایک خرابی کے ساتھ رک گیا۔"],"_yB-24": ["کسی بھی ", ["0"], "/ فولڈر کے تحت سب کچھ"],@@ -4353,6 +4365,7 @@"lwCV5v": [["0"], " ترمیم کے لیے نہیں کھل سکا: ", ["1"]],"lyWa43": ["پروجیکٹ کی سطح کے منقطع صفحات"],"lzmtKp": ["فولڈر کی خصوصیات لوڈ نہیں ہو سکیں: ", ["message"]],+ "lzsa2d": ["خرابی نقل کریں"],"lzwo7p": ["GitHub سائن اِن نہیں کھل سکا۔ براہِ کرم دوبارہ کوشش کریں۔"],"m-1Z7o": ["یہ ابتدائی پیک استعمال کریں"],"m0eHej": [diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.poindex 9236d63ca..cb2428943 100644--- a/packages/app/src/locales/ur/messages.po+++ b/packages/app/src/locales/ur/messages.po@@ -3682,6 +3682,10 @@ msgstr "کوڈ {userCode} نقل کریں"msgid "Copy command"msgstr "کمانڈ نقل کریں"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "خرابی نقل کریں"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "ایجنٹ کام کر رہا ہے"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "ایجنٹ رک نہیں رہا۔ زبردستی روکنے سے یہ چیٹ بند ہو جائے گی اور ایجنٹ ختم ہو جائے گا۔"+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "ایجنٹ کے OpenKnowledge ٹولز سرور تک نہیں پہنچ سکے۔ ایجنٹ سے دوبارہ کوشش کرنے کو کہیں، اور اگر یہ بار بار ناکام ہو تو نئی چیٹ شروع کریں۔"+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "ایجنٹ کی شخصیت، اقدار اور لہجہ۔"@@ -14028,6 +14036,14 @@ msgstr "وہ ماڈل شناخت جو آپ کا اینڈ پوائنٹ فراہمmsgid "the open agent"msgstr "کھلا ہوا ایجنٹ"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "OpenKnowledge سرور نے جواب دینے میں بہت وقت لیا، اور ممکن ہے تبدیلی پھر بھی لاگو ہو چکی ہو۔ دوبارہ کوشش کرنے سے پہلے ایجنٹ سے تصدیق کرنے کو کہیں۔"++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "OpenKnowledge سرور نے جواب دینے میں بہت وقت لیا۔ ایجنٹ سے دوبارہ کوشش کرنے کو کہیں۔"+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "اصل متن حذف کر دیا گیا تھا۔ آپ اس تبصرے کو منتخب متن پر دوبارہ رکھ سکتے ہیں۔"@@ -15983,6 +15999,10 @@ msgstr "آپ نے «{docName}» کا لوڈ ہونا منسوخ کر دیا۔"msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "آپ نے <0>{filePath}</0> مقامی طور پر حذف کی، مگر اپ سٹریم اس میں ترمیم ہوئی۔"+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "آپ نے اسے مسترد کیا۔ اسے چلانے کے لیے ایجنٹ سے دوبارہ کوشش کرنے کو کہیں اور منظوری دیں۔"+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "آپ کو اس نجی ریپو تک رسائی نہیں۔ کسی ایسے اکاؤنٹ سے سائن اِن کریں جسے رسائی ہو۔"diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.jsonindex c72d73933..f8148c3a5 100644--- a/packages/app/src/locales/zh-Hans/messages.json+++ b/packages/app/src/locales/zh-Hans/messages.json@@ -150,6 +150,7 @@"1-flC9": ["本地服务器端口"],"10g8I_": ["关闭「只显示 markdown 文件」"],"110eEb": ["Open Knowledge 在包含 Markdown 的每个文件夹中创建并维护名为 index.md 的导航文件。"],+ "113NNl": ["OpenKnowledge 服务器响应超时,更改可能已经生效。请让代理先确认,然后再重试。"],"11ukmX": ["重命名失败:", ["0"]],"12F9WL": ["(无 id)"],"151wvk": ["显示侧边栏"],@@ -720,6 +721,7 @@],"99eR72": ["可视化编辑器表格选区"],"9Bd18D": ["加载中枢页面失败"],+ "9CNRDG": ["OpenKnowledge 服务器响应超时。请让代理重试。"],"9E_WAi": [["errorText"], "和", ["warningText"]],"9EykGQ": ["在右侧插入列"],"9GbR5F": ["最高"],@@ -2465,6 +2467,9 @@"XPqe3B": ["新建标签 #", ["tagValue"]],"XRuL0i": ["创建页面"],"XSb9HS": ["丢弃本地编辑,恢复已安装的版本"],+ "XSy4nN": [+ "智能体的 OpenKnowledge 工具无法连接到服务器。请让智能体重试;如果一直失败,请开始新对话。"+ ],"XT-L4j": ["开启一个智能体,用 AI 来创作"],"XU5AOg": ["输入"],"XV5sC0": ["打开 worktree"],@@ -2750,6 +2755,7 @@"_rP3HI": [["minutes"], " 分钟前"],"_tekeB": ["已更新文件夹属性"],"_tjopj": ["粘贴副本"],+ "_uOJBO": ["你拒绝了此操作。如需运行,请让智能体重试并批准。"],"_uxBz5": ["为 ", ["rowLabel"], " 添加 MCP 和技能"],"_xWxLt": [["agentName"], " 因错误已停止。"],"_yB-24": ["任意 ", ["0"], "/ 文件夹下的所有内容"],@@ -3742,6 +3748,7 @@"lwCV5v": ["无法打开 ", ["0"], " 进行编辑:", ["1"]],"lyWa43": ["项目级孤立页面"],"lzmtKp": ["加载文件夹属性失败:", ["message"]],+ "lzsa2d": ["复制错误"],"lzwo7p": ["无法打开 GitHub 登录页。请重试。"],"m-1Z7o": ["使用此入门包"],"m0eHej": [diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.poindex 356cbb2f5..ca5da30a9 100644--- a/packages/app/src/locales/zh-Hans/messages.po+++ b/packages/app/src/locales/zh-Hans/messages.po@@ -3682,6 +3682,10 @@ msgstr "复制验证码 {userCode}"msgid "Copy command"msgstr "复制命令"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "复制错误"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "智能体正在工作"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "智能体没有停止。强制停止将关闭此对话并退出智能体。"+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "智能体的 OpenKnowledge 工具无法连接到服务器。请让智能体重试;如果一直失败,请开始新对话。"+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "智能体的人设、价值观和语气。"@@ -14028,6 +14036,14 @@ msgstr "你的端点提供的模型 id。它的向量维度会自动检测——msgid "the open agent"msgstr "已打开的智能体"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "OpenKnowledge 服务器响应超时,更改可能已经生效。请让代理先确认,然后再重试。"++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "OpenKnowledge 服务器响应超时。请让代理重试。"+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "原始文本已被删除。你可以将此评论重新定位到选中的文本上。"@@ -15983,6 +15999,10 @@ msgstr "你取消了“{docName}”的加载。"msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "你在本地删除了 <0>{filePath}</0>,但它在上游被修改过。"+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "你拒绝了此操作。如需运行,请让智能体重试并批准。"+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "你没有这个私有仓库的访问权限。请用有权限的账户登录。"diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.jsonindex 13c7a353c..a9fa3680e 100644--- a/packages/app/src/locales/zh-Hant/messages.json+++ b/packages/app/src/locales/zh-Hant/messages.json@@ -150,6 +150,7 @@"1-flC9": ["本機伺服器連接埠"],"10g8I_": ["關閉「只顯示 markdown 檔案」"],"110eEb": ["Open Knowledge 在包含 Markdown 的每個資料夾中建立並維護名為 index.md 的導覽檔案。"],+ "113NNl": ["OpenKnowledge 伺服器回應逾時,變更可能已經生效。請讓代理先確認,然後再重試。"],"11ukmX": ["重新命名失敗:", ["0"]],"12F9WL": ["(無 id)"],"151wvk": ["顯示側邊欄"],@@ -720,6 +721,7 @@],"99eR72": ["視覺化編輯器表格選取範圍"],"9Bd18D": ["載入樞紐頁面失敗"],+ "9CNRDG": ["OpenKnowledge 伺服器回應逾時。請讓代理重試。"],"9E_WAi": [["errorText"], "和", ["warningText"]],"9EykGQ": ["在右側插入欄"],"9GbR5F": ["最高"],@@ -2485,6 +2487,9 @@"XPqe3B": ["建立新標籤 #", ["tagValue"]],"XRuL0i": ["建立頁面"],"XSb9HS": ["捨棄本機編輯,還原成已安裝的版本"],+ "XSy4nN": [+ "智慧代理的 OpenKnowledge 工具無法連接到伺服器。請讓智慧代理再試一次;如果一直失敗,請開始新的對話。"+ ],"XT-L4j": ["開啟一個代理,用 AI 來創作"],"XU5AOg": ["輸入"],"XV5sC0": ["開啟 worktree"],@@ -2768,6 +2773,7 @@"_rP3HI": [["minutes"], " 分鐘前"],"_tekeB": ["已更新資料夾屬性"],"_tjopj": ["貼上副本"],+ "_uOJBO": ["你拒絕了這個操作。若要執行,請讓智慧代理再試一次並核准。"],"_uxBz5": ["為 ", ["rowLabel"], " 新增 MCP 和技能"],"_xWxLt": [["agentName"], " 因錯誤已停止。"],"_yB-24": ["任何 ", ["0"], "/ 資料夾底下的所有內容"],@@ -3760,6 +3766,7 @@"lwCV5v": ["無法開啟 ", ["0"], " 進行編輯:", ["1"]],"lyWa43": ["專案層級的孤立頁面"],"lzmtKp": ["載入資料夾屬性失敗:", ["message"]],+ "lzsa2d": ["複製錯誤"],"lzwo7p": ["無法開啟 GitHub 登入頁。請再試一次。"],"m-1Z7o": ["使用此入門套件"],"m0eHej": [diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.poindex 0a2fa7aa2..16555fe2a 100644--- a/packages/app/src/locales/zh-Hant/messages.po+++ b/packages/app/src/locales/zh-Hant/messages.po@@ -3682,6 +3682,10 @@ msgstr "複製驗證碼 {userCode}"msgid "Copy command"msgstr "複製指令"+#: src/components/acp/ThreadView.tsx+msgid "Copy error"+msgstr "複製錯誤"+#: src/components/command-palette-commands.ts#: src/components/FileSidebar.tsxmsgid "Copy full path"@@ -13911,6 +13915,10 @@ msgstr "代理正在工作"msgid "The agent isn't stopping. Force stop closes this chat and quits the agent."msgstr "智慧代理沒有停止。強制停止將關閉此對話並結束智慧代理。"+#: src/lib/acp/tool-failure-hint.ts+msgid "The agent's OpenKnowledge tools couldn't reach the server. Ask the agent to try again, and if it keeps failing, start a new chat."+msgstr "智慧代理的 OpenKnowledge 工具無法連接到伺服器。請讓智慧代理再試一次;如果一直失敗,請開始新的對話。"+#: src/components/CreatedItemsList.tsxmsgid "The agent's persona, values, and voice."msgstr "代理的人設、價值觀和語氣。"@@ -14028,6 +14036,14 @@ msgstr "你的端點提供的模型 id。它的向量維度會自動偵測——msgid "the open agent"msgstr "已開啟的代理"+#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer, and the change may still have gone through. Ask the agent to check before trying again."+msgstr "OpenKnowledge 伺服器回應逾時,變更可能已經生效。請讓代理先確認,然後再重試。"++#: src/lib/acp/tool-failure-hint.ts+msgid "The OpenKnowledge server took too long to answer. Ask the agent to try again."+msgstr "OpenKnowledge 伺服器回應逾時。請讓代理重試。"+#: src/comments/ThreadCard.tsxmsgid "The original text was deleted. You can re-place this comment on selected text."msgstr "原始文字已被刪除。你可以將此註解重新定位到選取的文字上。"@@ -15983,6 +15999,10 @@ msgstr "你取消了「{docName}」的載入。"msgid "You deleted <0>{filePath}</0> locally, but it was modified upstream."msgstr "你在本機刪除了 <0>{filePath}</0>,但它在上游被修改過。"+#: src/lib/acp/tool-failure-hint.ts+msgid "You denied this. To let it run, ask the agent to try again and approve it."+msgstr "你拒絕了這個操作。若要執行,請讓智慧代理再試一次並核准。"+#: src/components/SyncStatusBadge.tsxmsgid "You don't have access to this private repo. Sign in with an account that does."msgstr "你沒有這個私人儲存庫的存取權。請用有權限的帳戶登入。"diff --git a/packages/core/src/constants/mcp.ts b/packages/core/src/constants/mcp.tsindex c5266b99b..7c54e8f10 100644--- a/packages/core/src/constants/mcp.ts+++ b/packages/core/src/constants/mcp.ts@@ -4,6 +4,10 @@ export const GREP_MAX_RESULTS = 50;export const MCP_SERVER_NAME = 'open-knowledge';+export const SERVER_UNREACHABLE_ERROR_PREFIX = 'Server unreachable:';++export const SERVER_TIMEOUT_ERROR_PREFIX = 'Server timed out:';+export const OPEN_KNOWLEDGE_MCP_TOOLS = ['exec','search',diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex de64b542f..989c992e4 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -470,6 +470,8 @@ export {type OpenKnowledgeMcpTool,READ_DOCUMENT_HISTORY_DEPTH,resolveIsHostedAgent,+ SERVER_TIMEOUT_ERROR_PREFIX,+ SERVER_UNREACHABLE_ERROR_PREFIX,} from './constants/mcp.ts';export {classifyMcpLauncherEntry,diff --git a/packages/server/src/mcp/tools/share-link.ts b/packages/server/src/mcp/tools/share-link.tsindex faa2f8b9e..d61cc8eef 100644--- a/packages/server/src/mcp/tools/share-link.ts+++ b/packages/server/src/mcp/tools/share-link.ts@@ -14,9 +14,11 @@ import { encodeDocName, resolvePreviewUrlForTool } from './preview-url.ts';import type { ConfigOrResolver, ServerInstance, ServerUrlOrResolver } from './shared.ts';import {HOCUSPOCUS_NOT_RUNNING_ERROR,+ isTimeoutError,outputSchemaWithText,ROUTED_CWD_DESCRIPTION,resolveProjectServerContext,+ serverRequestFailure,textPlusStructured,textResult,} from './shared.ts';@@ -265,7 +267,7 @@ export function register(server: ServerInstance, deps: ShareLinkDeps): void {signal: AbortSignal.timeout(30_000),});} catch (err) {- const errMessage = `Server unreachable: ${err instanceof Error ? err.message : String(err)}`;+ const errMessage = serverRequestFailure(err, { mutating: false });return textPlusStructured(`Error: ${errMessage}`,{ ok: false, error: 'unknown', message: errMessage } satisfies ShareLinkError,@@ -276,9 +278,11 @@ export function register(server: ServerInstance, deps: ShareLinkDeps): void {try {rawBody = await res.json();} catch (parseErr) {- const errMessage = `Server returned non-JSON body: ${- parseErr instanceof Error ? parseErr.message : String(parseErr)- }`;+ const errMessage = isTimeoutError(parseErr)+ ? serverRequestFailure(parseErr, { mutating: false })+ : `Server returned non-JSON body: ${+ parseErr instanceof Error ? parseErr.message : String(parseErr)+ }`;return textPlusStructured(`Error: ${errMessage}`,{ ok: false, error: 'unknown', message: errMessage } satisfies ShareLinkError,diff --git a/packages/server/src/mcp/tools/shared.test.ts b/packages/server/src/mcp/tools/shared.test.tsindex 1187ecebf..8fa998836 100644--- a/packages/server/src/mcp/tools/shared.test.ts+++ b/packages/server/src/mcp/tools/shared.test.ts@@ -1,9 +1,9 @@import { summarizeLintPluginFailures } from '@inkeep/open-knowledge-core';-import { afterAll, beforeAll, describe, expect, test } from 'vitest';+import { afterAll, beforeAll, describe, expect, test, vi } from 'vitest';import { z } from 'zod';import { type Config, ConfigSchema } from '../../config/schema.ts';-import type { LocalApiDispatch } from '../../http/local-api-dispatch.ts';+import { createLocalApiDispatch, type LocalApiDispatch } from '../../http/local-api-dispatch.ts';import {formatValidatorDegradationWarning,formatValidatorFailureWarning,@@ -507,6 +507,53 @@ describe('httpPost', () => {});});+describe('a request that runs out of time', () => {+ const timedOutWriting =+ 'Server timed out: The operation was aborted due to timeout. The server may still have applied the request, so check before retrying.';+ const timedOutReading = 'Server timed out: The operation was aborted due to timeout.';+ const timeout = () =>+ new DOMException('The operation was aborted due to timeout', 'TimeoutError');++ test('over HTTP it reads as a timeout, not as an unreachable server', async () => {+ vi.stubGlobal('fetch', () => Promise.reject(timeout()));+ try {+ expect((await httpGet('http://localhost:1', '/anything')).error).toBe(timedOutReading);+ expect((await httpPost('http://localhost:1', '/anything', { data: 1 })).error).toBe(+ timedOutWriting,+ );+ } finally {+ vi.unstubAllGlobals();+ }+ });++ test('a response whose body runs out of time reads the same way', async () => {+ vi.stubGlobal(+ 'fetch',+ async () =>+ new Response(new ReadableStream({ start: (controller) => controller.error(timeout()) }), {+ status: 200,+ }),+ );+ try {+ expect((await httpGet('http://localhost:1', '/anything')).error).toBe(timedOutReading);+ expect((await httpPost('http://localhost:1', '/anything', { data: 1 })).error).toBe(+ timedOutWriting,+ );+ } finally {+ vi.unstubAllGlobals();+ }+ });++ test('in process it reads the same way', async () => {+ const neverAnswers = createLocalApiDispatch({ resolve: () => () => {}, timeoutMs: 5 });+ const result = await httpPost(+ { url: 'http://localhost:1', local: neverAnswers },+ '/api/anything',+ );+ expect(result.error).toBe(timedOutWriting);+ });+});+describe('ApiTarget local dispatch', () => {const jsonDispatch =(status: number, body: unknown): LocalApiDispatch =>diff --git a/packages/server/src/mcp/tools/shared.ts b/packages/server/src/mcp/tools/shared.tsindex f518270a8..83a7405e4 100644--- a/packages/server/src/mcp/tools/shared.ts+++ b/packages/server/src/mcp/tools/shared.ts@@ -4,6 +4,8 @@ import {AdvisoryWarningSchema,BrokenLinkSchema,BrokenLinkSuppressionSchema,+ SERVER_TIMEOUT_ERROR_PREFIX,+ SERVER_UNREACHABLE_ERROR_PREFIX,UNREADABLE_WARNINGS_TEXT,validateDocName,} from '@inkeep/open-knowledge-core';@@ -347,6 +349,20 @@ export function apiTarget(url: string, local: LocalApiDispatch | undefined): Apireturn local ? { url, local } : url;}+export function isTimeoutError(err: unknown): boolean {+ return err instanceof Error && err.name === 'TimeoutError';+}++export function serverRequestFailure(err: unknown, opts?: { mutating?: boolean }): string {+ const detail = err instanceof Error ? err.message : String(err);+ if (!isTimeoutError(err)) return `${SERVER_UNREACHABLE_ERROR_PREFIX} ${detail}`;+ const caution =+ opts?.mutating === false+ ? ''+ : ' The server may still have applied the request, so check before retrying.';+ return `${SERVER_TIMEOUT_ERROR_PREFIX} ${detail}.${caution}`;+}+async function localApiCall(local: LocalApiDispatch,method: 'GET' | 'POST' | 'PUT' | 'DELETE',@@ -364,7 +380,7 @@ async function localApiCall(: undefined,);} catch (err) {- return { ok: false, error: `Server unreachable: ${err instanceof Error ? err.message : err}` };+ return { ok: false, error: serverRequestFailure(err) };}if (raw === null) return null;const ok = raw.status >= 200 && raw.status <= 299;@@ -404,12 +420,19 @@ export async function httpGet(try {res = await fetch(`${base}${path}`, { signal: AbortSignal.timeout(30_000) });} catch (err) {- return { ok: false, error: `Server unreachable: ${err instanceof Error ? err.message : err}` };+ return { ok: false, error: serverRequestFailure(err, { mutating: false }) };}let body: unknown;try {body = await res.json();} catch (parseErr) {+ if (isTimeoutError(parseErr)) {+ return {+ ok: false,+ httpStatus: res.status,+ error: serverRequestFailure(parseErr, { mutating: false }),+ };+ }const detail = parseErr instanceof Error ? parseErr.message : String(parseErr);if (res.ok) {return {@@ -475,12 +498,13 @@ async function httpSend(signal: AbortSignal.timeout(30_000),});} catch (err) {- return { ok: false, error: `Server unreachable: ${err instanceof Error ? err.message : err}` };+ return { ok: false, error: serverRequestFailure(err) };}let parsed: unknown;try {parsed = await res.json();} catch (parseErr) {+ if (isTimeoutError(parseErr)) return { ok: false, error: serverRequestFailure(parseErr) };const detail = parseErr instanceof Error ? parseErr.message : String(parseErr);if (res.ok) {return {diff --git a/packages/server/src/mcp/tools/write.test.ts b/packages/server/src/mcp/tools/write.test.tsindex 80430c966..de610f854 100644--- a/packages/server/src/mcp/tools/write.test.ts+++ b/packages/server/src/mcp/tools/write.test.ts@@ -213,3 +213,54 @@ describe('write({ skill }) with bundle files — the per-file report reaches botexpect(result.structuredContent?.text).toBe(result.content[0]?.text);});});++describe('write — an asset upload whose request to the server fails', () => {+ type AssetHandler = (args: Record<string, unknown>) => Promise<{+ isError?: boolean;+ content: Array<{ type: string; text?: string }>;+ }>;+ const asset = { path: 'assets/photo.bin', content: Buffer.from('bytes').toString('base64') };+ let cwd: string;++ beforeAll(() => {+ cwd = mkdtempSync(join(tmpdir(), 'ok-write-asset-transport-'));+ mkdirSync(join(cwd, '.ok'), { recursive: true });+ });++ afterAll(() => {+ rmSync(cwd, { recursive: true, force: true });+ });++ function writeTool(deps: Omit<Parameters<typeof registerWrite>[1], 'config' | 'resolveCwd'>) {+ let captured: AssetHandler | null = null;+ const server = {+ registerTool(_name: string, _cfg: unknown, toolHandler: AssetHandler) {+ captured = toolHandler;+ },+ } as unknown as ServerInstance;+ registerWrite(server, { ...deps, config: ConfigSchema.parse({}), resolveCwd: async () => cwd });+ if (captured === null) throw new Error('write tool did not register');+ return captured as AssetHandler;+ }++ it('says the server timed out, and may have applied it, when the upload runs out of time', async () => {+ const upload = writeTool({+ serverUrl: 'http://127.0.0.1:1',+ localApi: async () => {+ throw new DOMException('The operation was aborted due to timeout', 'TimeoutError');+ },+ });+ const result = await upload({ asset });+ expect(result.isError).toBe(true);+ expect(result.content[0]?.text).toBe(+ 'Error: Server timed out: The operation was aborted due to timeout. The server may still have applied the request, so check before retrying.',+ );+ });++ it('says the server is unreachable when the upload cannot connect', async () => {+ const upload = writeTool({ serverUrl: 'http://127.0.0.1:1' });+ const result = await upload({ asset });+ expect(result.isError).toBe(true);+ expect(result.content[0]?.text).toBe('Error: Server unreachable: fetch failed');+ });+});diff --git a/packages/server/src/mcp/tools/write.ts b/packages/server/src/mcp/tools/write.tsindex 64246770b..6f414bd11 100644--- a/packages/server/src/mcp/tools/write.ts+++ b/packages/server/src/mcp/tools/write.ts@@ -57,6 +57,7 @@ import {previewUrlSourceField,ROUTED_CWD_DESCRIPTION,resolveProjectServerContext,+ serverRequestFailure,summaryArgSchema,textPlusStructured,textResult,@@ -476,23 +477,23 @@ async function handleAsset(form.append('parentDocName', parentDocName);form.append('file', new Blob([new Uint8Array(bytes)]), fileName);- let resBody: { ok: boolean; status: number; data?: Record<string, unknown>; error?: string };+ const uploadPath = `/api/upload${qs ? `?${qs}` : ''}`;+ const localApi = deps.localApi;+ let localRequest: Parameters<LocalApiDispatch>[2] | null = null;+ if (localApi) {+ try {+ const encoded = new Request('http://localhost/api/upload', { method: 'POST', body: form });+ const contentType = encoded.headers.get('content-type') ?? 'multipart/form-data';+ localRequest = { body: new Uint8Array(await encoded.arrayBuffer()), contentType };+ } catch (err) {+ return textResult(`Error: upload request failed: ${(err as Error).message}`, true);+ }+ }+ let status: number;+ let bodyText: string;try {- const uploadPath = `/api/upload${qs ? `?${qs}` : ''}`;- let status: number;- let bodyText: string;- const localApi = deps.localApi;- const local = localApi- ? await (async () => {- const encoded = new Request('http://localhost/api/upload', {- method: 'POST',- body: form,- });- const contentType = encoded.headers.get('content-type') ?? 'multipart/form-data';- const bytes = new Uint8Array(await encoded.arrayBuffer());- return localApi('POST', uploadPath, { body: bytes, contentType });- })()- : null;+ const local =+ localApi && localRequest ? await localApi('POST', uploadPath, localRequest) : null;if (local !== null) {status = local.status;bodyText = local.bodyText;@@ -505,20 +506,24 @@ async function handleAsset(status = res.status;bodyText = await res.text();}- const ok = status >= 200 && status <= 299;- let data: Record<string, unknown> | null;- try {- data = JSON.parse(bodyText) as Record<string, unknown>;- } catch (parseErr) {- const detail = parseErr instanceof Error ? parseErr.message : String(parseErr);- return textResult(- ok- ? `Error: Server returned 2xx response with non-JSON body: ${detail}`- : `Error: Server returned HTTP ${status} with non-JSON body: ${detail}`,- true,- );- }- resBody = ok+ } catch (err) {+ return textResult(`Error: ${serverRequestFailure(err)}`, true);+ }+ const ok = status >= 200 && status <= 299;+ let data: Record<string, unknown> | null;+ try {+ data = JSON.parse(bodyText) as Record<string, unknown>;+ } catch (parseErr) {+ const detail = parseErr instanceof Error ? parseErr.message : String(parseErr);+ return textResult(+ ok+ ? `Error: Server returned 2xx response with non-JSON body: ${detail}`+ : `Error: Server returned HTTP ${status} with non-JSON body: ${detail}`,+ true,+ );+ }+ const resBody: { ok: boolean; status: number; data?: Record<string, unknown>; error?: string } =+ ok? { ok: true, status, data: data ?? {} }: {ok: false,@@ -527,9 +532,6 @@ async function handleAsset((data && (typeof data.title === 'string' ? data.title : (data.error as string))) ||`Upload failed (HTTP ${status}).`,};- } catch (err) {- return textResult(`Error: upload request failed: ${(err as Error).message}`, true);- }if (!resBody.ok) return textResult(`Error: ${resBody.error}`, true);const src = typeof resBody.data?.src === 'string' ? resBody.data.src : undefined;