From 504f85d4c841af6af11a4dcfa0d70f177ddc6bcd Mon Sep 17 00:00:00 2001 From: Roo Code Date: Thu, 27 Nov 2025 16:32:04 +0000 Subject: [PATCH] fix: show configured timeout in checkpoint warning message The checkpoint warning message was always showing "Waited 5 seconds" regardless of the user's configured timeout setting. This fix adds the configuredTimeout parameter to the warning message so users understand that while the warning appears after 5 seconds (the warning threshold), their configured timeout (e.g., 30 seconds) is still being respected. Changes: - Add configuredTimeout field to checkpointWarning in ExtensionMessage.ts - Pass task.checkpointTimeout to sendCheckpointInitWarn in checkpoints/index.ts - Update CheckpointWarning component to display configuredTimeout - Update ChatView.tsx state type to include configuredTimeout - Update all 18 i18n locale files with configuredTimeout parameter - Update tests to include configuredTimeout --- .../checkpoints/__tests__/checkpoint.test.ts | 31 +++++++++++++------ src/core/checkpoints/index.ts | 23 +++++++++++--- src/shared/ExtensionMessage.ts | 1 + webview-ui/src/components/chat/ChatView.tsx | 2 +- .../src/components/chat/CheckpointWarning.tsx | 3 +- webview-ui/src/i18n/locales/ca/common.json | 4 +-- webview-ui/src/i18n/locales/de/common.json | 4 +-- webview-ui/src/i18n/locales/en/common.json | 4 +-- webview-ui/src/i18n/locales/es/common.json | 4 +-- webview-ui/src/i18n/locales/fr/common.json | 4 +-- webview-ui/src/i18n/locales/hi/common.json | 4 +-- webview-ui/src/i18n/locales/id/common.json | 4 +-- webview-ui/src/i18n/locales/it/common.json | 4 +-- webview-ui/src/i18n/locales/ja/common.json | 4 +-- webview-ui/src/i18n/locales/ko/common.json | 4 +-- webview-ui/src/i18n/locales/nl/common.json | 4 +-- webview-ui/src/i18n/locales/pl/common.json | 4 +-- webview-ui/src/i18n/locales/pt-BR/common.json | 4 +-- webview-ui/src/i18n/locales/ru/common.json | 4 +-- webview-ui/src/i18n/locales/tr/common.json | 4 +-- webview-ui/src/i18n/locales/vi/common.json | 4 +-- webview-ui/src/i18n/locales/zh-CN/common.json | 4 +-- webview-ui/src/i18n/locales/zh-TW/common.json | 4 +-- 23 files changed, 80 insertions(+), 52 deletions(-) diff --git a/src/core/checkpoints/__tests__/checkpoint.test.ts b/src/core/checkpoints/__tests__/checkpoint.test.ts index e9e565853f..04306d9ef3 100644 --- a/src/core/checkpoints/__tests__/checkpoint.test.ts +++ b/src/core/checkpoints/__tests__/checkpoint.test.ts @@ -42,10 +42,10 @@ vi.mock("../../../utils/git", () => ({ vi.mock("../../../i18n", () => ({ t: vi.fn((key: string, options?: Record) => { if (key === "common:errors.wait_checkpoint_long_time") { - return `Checkpoint initialization is taking longer than ${options?.timeout} seconds...` + return `Checkpoint initialization is taking longer than ${options?.timeout} seconds (configured timeout: ${options?.configuredTimeout}s)...` } if (key === "common:errors.init_checkpoint_fail_long_time") { - return `Checkpoint initialization failed after ${options?.timeout} seconds` + return `Checkpoint initialization failed after ${options?.timeout} seconds (configured timeout: ${options?.configuredTimeout}s)` } return key }), @@ -473,7 +473,10 @@ describe("Checkpoint functionality", () => { const provider = mockTask.providerRef.deref() provider?.postMessageToWebview({ type: "checkpointInitWarning", - checkpointWarning: i18nModule.t("common:errors.wait_checkpoint_long_time", { timeout: 5 }), + checkpointWarning: i18nModule.t("common:errors.wait_checkpoint_long_time", { + timeout: 5, + configuredTimeout: mockTask.checkpointTimeout, + }), }) } @@ -488,7 +491,8 @@ describe("Checkpoint functionality", () => { expect(simulateConditionCheck(5000)).toBe(false) expect(mockProvider.postMessageToWebview).toHaveBeenCalledWith({ type: "checkpointInitWarning", - checkpointWarning: "Checkpoint initialization is taking longer than 5 seconds...", + checkpointWarning: + "Checkpoint initialization is taking longer than 5 seconds (configured timeout: 15s)...", }) // Test: At 6 seconds, warning should not be sent again (warningShown is true) @@ -518,6 +522,7 @@ describe("Checkpoint functionality", () => { type: "checkpointInitWarning", checkpointWarning: i18nModule.t("common:errors.init_checkpoint_fail_long_time", { timeout: mockTask.checkpointTimeout, + configuredTimeout: mockTask.checkpointTimeout, }), }) } @@ -527,7 +532,7 @@ describe("Checkpoint functionality", () => { // Verify expect(mockProvider.postMessageToWebview).toHaveBeenCalledWith({ type: "checkpointInitWarning", - checkpointWarning: "Checkpoint initialization failed after 10 seconds", + checkpointWarning: "Checkpoint initialization failed after 10 seconds (configured timeout: 10s)", }) expect(mockTask.enableCheckpoints).toBe(false) }) @@ -580,12 +585,20 @@ describe("Checkpoint functionality", () => { vi.clearAllMocks() // Test warning message i18n key - const warningMessage = i18nModule.t("common:errors.wait_checkpoint_long_time", { timeout: 5 }) - expect(warningMessage).toBe("Checkpoint initialization is taking longer than 5 seconds...") + const warningMessage = i18nModule.t("common:errors.wait_checkpoint_long_time", { + timeout: 5, + configuredTimeout: 15, + }) + expect(warningMessage).toBe( + "Checkpoint initialization is taking longer than 5 seconds (configured timeout: 15s)...", + ) // Test timeout error message i18n key - const errorMessage = i18nModule.t("common:errors.init_checkpoint_fail_long_time", { timeout: 30 }) - expect(errorMessage).toBe("Checkpoint initialization failed after 30 seconds") + const errorMessage = i18nModule.t("common:errors.init_checkpoint_fail_long_time", { + timeout: 30, + configuredTimeout: 30, + }) + expect(errorMessage).toBe("Checkpoint initialization failed after 30 seconds (configured timeout: 30s)") }) }) }) diff --git a/src/core/checkpoints/index.ts b/src/core/checkpoints/index.ts index 3efdb466e6..6e90a7da07 100644 --- a/src/core/checkpoints/index.ts +++ b/src/core/checkpoints/index.ts @@ -18,10 +18,18 @@ import { CheckpointServiceOptions, RepoPerTaskCheckpointService } from "../../se const WARNING_THRESHOLD_MS = 5000 -function sendCheckpointInitWarn(task: Task, type?: "WAIT_TIMEOUT" | "INIT_TIMEOUT", timeout?: number) { +function sendCheckpointInitWarn( + task: Task, + type?: "WAIT_TIMEOUT" | "INIT_TIMEOUT", + timeout?: number, + configuredTimeout?: number, +) { task.providerRef.deref()?.postMessageToWebview({ type: "checkpointInitWarning", - checkpointWarning: type && timeout ? { type, timeout } : undefined, + checkpointWarning: + type && timeout !== undefined && configuredTimeout !== undefined + ? { type, timeout, configuredTimeout } + : undefined, }) } @@ -86,7 +94,12 @@ export async function getCheckpointService(task: Task, { interval = 250 }: { int // Show warning if we're past the threshold and haven't shown it yet if (!warningShown && elapsed >= WARNING_THRESHOLD_MS) { warningShown = true - sendCheckpointInitWarn(task, "WAIT_TIMEOUT", WARNING_THRESHOLD_MS / 1000) + sendCheckpointInitWarn( + task, + "WAIT_TIMEOUT", + WARNING_THRESHOLD_MS / 1000, + task.checkpointTimeout, + ) } console.log( @@ -97,7 +110,7 @@ export async function getCheckpointService(task: Task, { interval = 250 }: { int { interval, timeout: checkpointTimeoutMs }, ) if (!task?.checkpointService) { - sendCheckpointInitWarn(task, "INIT_TIMEOUT", task.checkpointTimeout) + sendCheckpointInitWarn(task, "INIT_TIMEOUT", task.checkpointTimeout, task.checkpointTimeout) task.enableCheckpoints = false return undefined } else { @@ -120,7 +133,7 @@ export async function getCheckpointService(task: Task, { interval = 250 }: { int return service } catch (err) { if (err.name === "TimeoutError" && task.enableCheckpoints) { - sendCheckpointInitWarn(task, "INIT_TIMEOUT", task.checkpointTimeout) + sendCheckpointInitWarn(task, "INIT_TIMEOUT", task.checkpointTimeout, task.checkpointTimeout) } log(`[Task#getCheckpointService] ${err.message}`) task.enableCheckpoints = false diff --git a/src/shared/ExtensionMessage.ts b/src/shared/ExtensionMessage.ts index 53327df720..d703e1fe54 100644 --- a/src/shared/ExtensionMessage.ts +++ b/src/shared/ExtensionMessage.ts @@ -137,6 +137,7 @@ export interface ExtensionMessage { checkpointWarning?: { type: "WAIT_TIMEOUT" | "INIT_TIMEOUT" timeout: number + configuredTimeout: number // The user-configured checkpoint timeout in seconds } action?: | "chatButtonClicked" diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index e09cdc557a..eba5c36215 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -156,7 +156,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction("") const [wasStreaming, setWasStreaming] = useState(false) const [checkpointWarning, setCheckpointWarning] = useState< - { type: "WAIT_TIMEOUT" | "INIT_TIMEOUT"; timeout: number } | undefined + { type: "WAIT_TIMEOUT" | "INIT_TIMEOUT"; timeout: number; configuredTimeout: number } | undefined >(undefined) const [isCondensing, setIsCondensing] = useState(false) const [showAnnouncementModal, setShowAnnouncementModal] = useState(false) diff --git a/webview-ui/src/components/chat/CheckpointWarning.tsx b/webview-ui/src/components/chat/CheckpointWarning.tsx index 81675f4993..e86e692e7a 100644 --- a/webview-ui/src/components/chat/CheckpointWarning.tsx +++ b/webview-ui/src/components/chat/CheckpointWarning.tsx @@ -5,6 +5,7 @@ interface CheckpointWarningProps { warning: { type: "WAIT_TIMEOUT" | "INIT_TIMEOUT" timeout: number + configuredTimeout: number } } @@ -38,7 +39,7 @@ export const CheckpointWarning = ({ warning }: CheckpointWarningProps) => { diff --git a/webview-ui/src/i18n/locales/ca/common.json b/webview-ui/src/i18n/locales/ca/common.json index 9146480ae0..c4cc57eef3 100644 --- a/webview-ui/src/i18n/locales/ca/common.json +++ b/webview-ui/src/i18n/locales/ca/common.json @@ -97,8 +97,8 @@ "years_ago": "fa {{count}} anys" }, "errors": { - "wait_checkpoint_long_time": "Has esperat {{timeout}} segons per inicialitzar el punt de control. Si no necessites aquesta funció, desactiva-la a la configuració del punt de control.", - "init_checkpoint_fail_long_time": "La inicialització del punt de control ha trigat més de {{timeout}} segons, per això els punts de control estan desactivats per a aquesta tasca. Pots desactivar els punts de control o augmentar el temps d'espera a la configuració del punt de control.", + "wait_checkpoint_long_time": "Has esperat {{timeout}} segons per inicialitzar el punt de control (temps d'espera configurat: {{configuredTimeout}}s). Si no necessites aquesta funció, desactiva-la a la configuració del punt de control.", + "init_checkpoint_fail_long_time": "La inicialització del punt de control ha trigat més de {{timeout}} segons (temps d'espera configurat: {{configuredTimeout}}s), per això els punts de control estan desactivats per a aquesta tasca. Pots desactivar els punts de control o augmentar el temps d'espera a la configuració del punt de control.", "attempt_completion_tool_failed": "No es pot executar attempt_completion perquè una crida d'eina anterior ha fallat en aquest torn. Si us plau, resol el problema de l'eina abans d'intentar completar." } } diff --git a/webview-ui/src/i18n/locales/de/common.json b/webview-ui/src/i18n/locales/de/common.json index a6a3c683b4..c14df68f5d 100644 --- a/webview-ui/src/i18n/locales/de/common.json +++ b/webview-ui/src/i18n/locales/de/common.json @@ -97,8 +97,8 @@ "years_ago": "vor {{count}} Jahren" }, "errors": { - "wait_checkpoint_long_time": "Du hast {{timeout}} Sekunden auf die Initialisierung des Checkpoints gewartet. Wenn du die Checkpoint-Funktion nicht brauchst, kannst du sie in den Checkpoint-Einstellungen ausschalten.", - "init_checkpoint_fail_long_time": "Die Initialisierung des Checkpoints dauert länger als {{timeout}} Sekunden, deshalb sind Checkpoints für diese Aufgabe deaktiviert. Du kannst Checkpoints ausschalten oder die Wartezeit in den Checkpoint-Einstellungen verlängern.", + "wait_checkpoint_long_time": "Du hast {{timeout}} Sekunden auf die Initialisierung des Checkpoints gewartet (konfiguriertes Timeout: {{configuredTimeout}}s). Wenn du die Checkpoint-Funktion nicht brauchst, kannst du sie in den Checkpoint-Einstellungen ausschalten.", + "init_checkpoint_fail_long_time": "Die Initialisierung des Checkpoints dauert länger als {{timeout}} Sekunden (konfiguriertes Timeout: {{configuredTimeout}}s), deshalb sind Checkpoints für diese Aufgabe deaktiviert. Du kannst Checkpoints ausschalten oder die Wartezeit in den Checkpoint-Einstellungen verlängern.", "attempt_completion_tool_failed": "Du kannst attempt_completion nicht ausführen, weil ein vorheriger Tool-Aufruf in diesem Durchgang fehlgeschlagen ist. Behebe den Tool-Fehler, bevor du versuchst, abzuschließen." } } diff --git a/webview-ui/src/i18n/locales/en/common.json b/webview-ui/src/i18n/locales/en/common.json index 77b014eae2..beb159ba39 100644 --- a/webview-ui/src/i18n/locales/en/common.json +++ b/webview-ui/src/i18n/locales/en/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} years ago" }, "errors": { - "wait_checkpoint_long_time": "Waited {{timeout}} seconds for checkpoint initialization. If you don't need the checkpoint feature, please turn it off in the checkpoint settings.", - "init_checkpoint_fail_long_time": "Checkpoint initialization has taken more than {{timeout}} seconds, so checkpoints are disabled for this task. You can disable checkpoints or extend the waiting time in the checkpoint settings.", + "wait_checkpoint_long_time": "Waited {{timeout}} seconds for checkpoint initialization (configured timeout: {{configuredTimeout}}s). If you don't need the checkpoint feature, please turn it off in the checkpoint settings.", + "init_checkpoint_fail_long_time": "Checkpoint initialization has taken more than {{timeout}} seconds (configured timeout: {{configuredTimeout}}s), so checkpoints are disabled for this task. You can disable checkpoints or extend the waiting time in the checkpoint settings.", "attempt_completion_tool_failed": "Cannot execute attempt_completion because a previous tool call failed in this turn. Please address the tool failure before attempting completion." } } diff --git a/webview-ui/src/i18n/locales/es/common.json b/webview-ui/src/i18n/locales/es/common.json index 8efa783486..b6d6d4264d 100644 --- a/webview-ui/src/i18n/locales/es/common.json +++ b/webview-ui/src/i18n/locales/es/common.json @@ -97,8 +97,8 @@ "years_ago": "hace {{count}} años" }, "errors": { - "wait_checkpoint_long_time": "Has esperado {{timeout}} segundos para la inicialización del punto de control. Si no necesitas esta función, desactívala en la configuración del punto de control.", - "init_checkpoint_fail_long_time": "La inicialización del punto de control ha tardado más de {{timeout}} segundos, por lo que los puntos de control están desactivados para esta tarea. Puedes desactivar los puntos de control o aumentar el tiempo de espera en la configuración del punto de control.", + "wait_checkpoint_long_time": "Has esperado {{timeout}} segundos para la inicialización del punto de control (tiempo de espera configurado: {{configuredTimeout}}s). Si no necesitas esta función, desactívala en la configuración del punto de control.", + "init_checkpoint_fail_long_time": "La inicialización del punto de control ha tardado más de {{timeout}} segundos (tiempo de espera configurado: {{configuredTimeout}}s), por lo que los puntos de control están desactivados para esta tarea. Puedes desactivar los puntos de control o aumentar el tiempo de espera en la configuración del punto de control.", "attempt_completion_tool_failed": "No se puede ejecutar attempt_completion porque una llamada de herramienta anterior falló en este turno. Por favor, resuelve el error de la herramienta antes de intentar completar." } } diff --git a/webview-ui/src/i18n/locales/fr/common.json b/webview-ui/src/i18n/locales/fr/common.json index 70c8ac9511..eaf46ae8c3 100644 --- a/webview-ui/src/i18n/locales/fr/common.json +++ b/webview-ui/src/i18n/locales/fr/common.json @@ -97,8 +97,8 @@ "years_ago": "il y a {{count}} ans" }, "errors": { - "wait_checkpoint_long_time": "Tu as attendu {{timeout}} secondes pour l'initialisation du checkpoint. Si tu n'as pas besoin de cette fonction, désactive-la dans les paramètres du checkpoint.", - "init_checkpoint_fail_long_time": "L'initialisation du checkpoint a pris plus de {{timeout}} secondes, donc les checkpoints sont désactivés pour cette tâche. Tu peux désactiver les checkpoints ou prolonger le délai dans les paramètres du checkpoint.", + "wait_checkpoint_long_time": "Tu as attendu {{timeout}} secondes pour l'initialisation du checkpoint (délai configuré: {{configuredTimeout}}s). Si tu n'as pas besoin de cette fonction, désactive-la dans les paramètres du checkpoint.", + "init_checkpoint_fail_long_time": "L'initialisation du checkpoint a pris plus de {{timeout}} secondes (délai configuré: {{configuredTimeout}}s), donc les checkpoints sont désactivés pour cette tâche. Tu peux désactiver les checkpoints ou prolonger le délai dans les paramètres du checkpoint.", "attempt_completion_tool_failed": "Tu ne peux pas exécuter attempt_completion car un appel d'outil précédent a échoué dans ce tour. Résous l'échec de l'outil avant de tenter de terminer." } } diff --git a/webview-ui/src/i18n/locales/hi/common.json b/webview-ui/src/i18n/locales/hi/common.json index 4b97bf73f8..1954f4daf4 100644 --- a/webview-ui/src/i18n/locales/hi/common.json +++ b/webview-ui/src/i18n/locales/hi/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} साल पहले" }, "errors": { - "wait_checkpoint_long_time": "तुमने {{timeout}} सेकंड तक चेकपॉइंट इनिशियलाइज़ेशन का इंतजार किया। अगर तुम्हें यह फ़ीचर नहीं चाहिए, तो चेकपॉइंट सेटिंग्स में बंद कर दो।", - "init_checkpoint_fail_long_time": "चेकपॉइंट इनिशियलाइज़ेशन {{timeout}} सेकंड से ज़्यादा समय ले रहा है, इसलिए इस कार्य के लिए चेकपॉइंट बंद कर दिए गए हैं। तुम चेकपॉइंट बंद कर सकते हो या चेकपॉइंट सेटिंग्स में इंतजार का समय बढ़ा सकते हो।", + "wait_checkpoint_long_time": "तुमने {{timeout}} सेकंड तक चेकपॉइंट इनिशियलाइज़ेशन का इंतजार किया (कॉन्फ़िगर किया गया टाइमआउट: {{configuredTimeout}}s)। अगर तुम्हें यह फ़ीचर नहीं चाहिए, तो चेकपॉइंट सेटिंग्स में बंद कर दो।", + "init_checkpoint_fail_long_time": "चेकपॉइंट इनिशियलाइज़ेशन {{timeout}} सेकंड से ज़्यादा समय ले रहा है (कॉन्फ़िगर किया गया टाइमआउट: {{configuredTimeout}}s), इसलिए इस कार्य के लिए चेकपॉइंट बंद कर दिए गए हैं। तुम चेकपॉइंट बंद कर सकते हो या चेकपॉइंट सेटिंग्स में इंतजार का समय बढ़ा सकते हो।", "attempt_completion_tool_failed": "attempt_completion निष्पादित नहीं किया जा सकता क्योंकि इस टर्न में पिछली टूल कॉल विफल रही है। कृपया पूरा करने का प्रयास करने से पहले टूल विफलता को ठीक करें।" } } diff --git a/webview-ui/src/i18n/locales/id/common.json b/webview-ui/src/i18n/locales/id/common.json index 27c03c4b02..88a98da5ee 100644 --- a/webview-ui/src/i18n/locales/id/common.json +++ b/webview-ui/src/i18n/locales/id/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} tahun yang lalu" }, "errors": { - "wait_checkpoint_long_time": "Kamu sudah menunggu {{timeout}} detik untuk inisialisasi checkpoint. Kalau tidak butuh fitur ini, matikan saja di pengaturan checkpoint.", - "init_checkpoint_fail_long_time": "Inisialisasi checkpoint sudah lebih dari {{timeout}} detik, jadi checkpoint dinonaktifkan untuk tugas ini. Kamu bisa mematikan checkpoint atau menambah waktu tunggu di pengaturan checkpoint.", + "wait_checkpoint_long_time": "Kamu sudah menunggu {{timeout}} detik untuk inisialisasi checkpoint (timeout yang dikonfigurasi: {{configuredTimeout}}s). Kalau tidak butuh fitur ini, matikan saja di pengaturan checkpoint.", + "init_checkpoint_fail_long_time": "Inisialisasi checkpoint sudah lebih dari {{timeout}} detik (timeout yang dikonfigurasi: {{configuredTimeout}}s), jadi checkpoint dinonaktifkan untuk tugas ini. Kamu bisa mematikan checkpoint atau menambah waktu tunggu di pengaturan checkpoint.", "attempt_completion_tool_failed": "Tidak dapat mengeksekusi attempt_completion karena panggilan alat sebelumnya gagal dalam giliran ini. Harap atasi kegagalan alat sebelum mencoba menyelesaikan." } } diff --git a/webview-ui/src/i18n/locales/it/common.json b/webview-ui/src/i18n/locales/it/common.json index 0a1c7396dc..61c2852a2d 100644 --- a/webview-ui/src/i18n/locales/it/common.json +++ b/webview-ui/src/i18n/locales/it/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} anni fa" }, "errors": { - "wait_checkpoint_long_time": "Hai aspettato {{timeout}} secondi per l'inizializzazione del checkpoint. Se non ti serve questa funzione, disattivala nelle impostazioni del checkpoint.", - "init_checkpoint_fail_long_time": "L'inizializzazione del checkpoint ha impiegato più di {{timeout}} secondi, quindi i checkpoint sono disabilitati per questa attività. Puoi disattivare i checkpoint o aumentare il tempo di attesa nelle impostazioni del checkpoint.", + "wait_checkpoint_long_time": "Hai aspettato {{timeout}} secondi per l'inizializzazione del checkpoint (timeout configurato: {{configuredTimeout}}s). Se non ti serve questa funzione, disattivala nelle impostazioni del checkpoint.", + "init_checkpoint_fail_long_time": "L'inizializzazione del checkpoint ha impiegato più di {{timeout}} secondi (timeout configurato: {{configuredTimeout}}s), quindi i checkpoint sono disabilitati per questa attività. Puoi disattivare i checkpoint o aumentare il tempo di attesa nelle impostazioni del checkpoint.", "attempt_completion_tool_failed": "Non puoi eseguire attempt_completion perché una chiamata di strumento precedente è fallita in questo turno. Risolvi il problema dello strumento prima di tentare di completare." } } diff --git a/webview-ui/src/i18n/locales/ja/common.json b/webview-ui/src/i18n/locales/ja/common.json index 12a8cd0c7e..b70de210ee 100644 --- a/webview-ui/src/i18n/locales/ja/common.json +++ b/webview-ui/src/i18n/locales/ja/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}}年前" }, "errors": { - "wait_checkpoint_long_time": "{{timeout}} 秒間チェックポイントの初期化を待機しました。チェックポイント機能が不要な場合は、チェックポイント設定でオフにしてください。", - "init_checkpoint_fail_long_time": "チェックポイントの初期化が {{timeout}} 秒以上かかったため、このタスクではチェックポイントが無効化されました。チェックポイントをオフにするか、チェックポイント設定で待機時間を延長できます。", + "wait_checkpoint_long_time": "{{timeout}} 秒間チェックポイントの初期化を待機しました(設定されたタイムアウト: {{configuredTimeout}}秒)。チェックポイント機能が不要な場合は、チェックポイント設定でオフにしてください。", + "init_checkpoint_fail_long_time": "チェックポイントの初期化が {{timeout}} 秒以上かかりました(設定されたタイムアウト: {{configuredTimeout}}秒)。このタスクではチェックポイントが無効化されました。チェックポイントをオフにするか、チェックポイント設定で待機時間を延長できます。", "attempt_completion_tool_failed": "前回のツール呼び出しがこのターンで失敗したため、attempt_completionを実行できません。完了を試みる前にツールの失敗に対処してください。" } } diff --git a/webview-ui/src/i18n/locales/ko/common.json b/webview-ui/src/i18n/locales/ko/common.json index c5c8010d07..40e3a99005 100644 --- a/webview-ui/src/i18n/locales/ko/common.json +++ b/webview-ui/src/i18n/locales/ko/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}}년 전" }, "errors": { - "wait_checkpoint_long_time": "{{timeout}}초 동안 체크포인트 초기화를 기다렸어. 체크포인트 기능이 필요 없다면 체크포인트 설정에서 꺼 줘.", - "init_checkpoint_fail_long_time": "체크포인트 초기화가 {{timeout}}초 이상 걸려서 이 작업에 대해 체크포인트가 꺼졌어. 체크포인트를 끄거나 체크포인트 설정에서 대기 시간을 늘릴 수 있어.", + "wait_checkpoint_long_time": "{{timeout}}초 동안 체크포인트 초기화를 기다렸어 (설정된 타임아웃: {{configuredTimeout}}초). 체크포인트 기능이 필요 없다면 체크포인트 설정에서 꺼 줘.", + "init_checkpoint_fail_long_time": "체크포인트 초기화가 {{timeout}}초 이상 걸렸어 (설정된 타임아웃: {{configuredTimeout}}초). 이 작업에 대해 체크포인트가 꺼졌어. 체크포인트를 끄거나 체크포인트 설정에서 대기 시간을 늘릴 수 있어.", "attempt_completion_tool_failed": "이전 도구 호출이 이 턴에서 실패했기 때문에 attempt_completion을 실행할 수 없습니다. 완료를 시도하기 전에 도구 실패를 해결하세요." } } diff --git a/webview-ui/src/i18n/locales/nl/common.json b/webview-ui/src/i18n/locales/nl/common.json index a030a8a286..04866b7ae8 100644 --- a/webview-ui/src/i18n/locales/nl/common.json +++ b/webview-ui/src/i18n/locales/nl/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} jaar geleden" }, "errors": { - "wait_checkpoint_long_time": "Je hebt {{timeout}} seconden gewacht op de initialisatie van de checkpoint. Als je deze functie niet nodig hebt, schakel hem dan uit in de checkpoint-instellingen.", - "init_checkpoint_fail_long_time": "De initialisatie van de checkpoint duurde meer dan {{timeout}} seconden, dus checkpoints zijn uitgeschakeld voor deze taak. Je kunt checkpoints uitschakelen of de wachttijd in de checkpoint-instellingen verhogen.", + "wait_checkpoint_long_time": "Je hebt {{timeout}} seconden gewacht op de initialisatie van de checkpoint (ingestelde timeout: {{configuredTimeout}}s). Als je deze functie niet nodig hebt, schakel hem dan uit in de checkpoint-instellingen.", + "init_checkpoint_fail_long_time": "De initialisatie van de checkpoint duurde meer dan {{timeout}} seconden (ingestelde timeout: {{configuredTimeout}}s), dus checkpoints zijn uitgeschakeld voor deze taak. Je kunt checkpoints uitschakelen of de wachttijd in de checkpoint-instellingen verhogen.", "attempt_completion_tool_failed": "Je kunt attempt_completion niet uitvoeren omdat een eerdere tool-aanroep in deze beurt is mislukt. Los het tool-probleem op voordat je probeert te voltooien." } } diff --git a/webview-ui/src/i18n/locales/pl/common.json b/webview-ui/src/i18n/locales/pl/common.json index 0eeb2ef15e..afd1a7c6fc 100644 --- a/webview-ui/src/i18n/locales/pl/common.json +++ b/webview-ui/src/i18n/locales/pl/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} lat temu" }, "errors": { - "wait_checkpoint_long_time": "Czekałeś {{timeout}} sekund na inicjalizację punktu kontrolnego. Jeśli nie potrzebujesz tej funkcji, wyłącz ją w ustawieniach punktu kontrolnego.", - "init_checkpoint_fail_long_time": "Inicjalizacja punktu kontrolnego trwała ponad {{timeout}} sekund, więc punkty kontrolne zostały wyłączone dla tego zadania. Możesz wyłączyć punkty kontrolne lub wydłużyć czas oczekiwania w ustawieniach punktu kontrolnego.", + "wait_checkpoint_long_time": "Czekałeś {{timeout}} sekund na inicjalizację punktu kontrolnego (skonfigurowany limit czasu: {{configuredTimeout}}s). Jeśli nie potrzebujesz tej funkcji, wyłącz ją w ustawieniach punktu kontrolnego.", + "init_checkpoint_fail_long_time": "Inicjalizacja punktu kontrolnego trwała ponad {{timeout}} sekund (skonfigurowany limit czasu: {{configuredTimeout}}s), więc punkty kontrolne zostały wyłączone dla tego zadania. Możesz wyłączyć punkty kontrolne lub wydłużyć czas oczekiwania w ustawieniach punktu kontrolnego.", "attempt_completion_tool_failed": "Nie można wykonać attempt_completion, ponieważ poprzednie wywołanie narzędzia nie powiodło się w tym cyklu. Rozwiąż błąd narzędzia przed próbą zakończenia." } } diff --git a/webview-ui/src/i18n/locales/pt-BR/common.json b/webview-ui/src/i18n/locales/pt-BR/common.json index c7519fa24f..10e168cbbc 100644 --- a/webview-ui/src/i18n/locales/pt-BR/common.json +++ b/webview-ui/src/i18n/locales/pt-BR/common.json @@ -97,8 +97,8 @@ "years_ago": "há {{count}} anos" }, "errors": { - "wait_checkpoint_long_time": "Você esperou {{timeout}} segundos para inicializar o checkpoint. Se não precisa dessa função, desative nas configurações do checkpoint.", - "init_checkpoint_fail_long_time": "A inicialização do checkpoint levou mais de {{timeout}} segundos, então os checkpoints foram desativados para esta tarefa. Você pode desativar os checkpoints ou aumentar o tempo de espera nas configurações do checkpoint.", + "wait_checkpoint_long_time": "Você esperou {{timeout}} segundos para inicializar o checkpoint (timeout configurado: {{configuredTimeout}}s). Se não precisa dessa função, desative nas configurações do checkpoint.", + "init_checkpoint_fail_long_time": "A inicialização do checkpoint levou mais de {{timeout}} segundos (timeout configurado: {{configuredTimeout}}s), então os checkpoints foram desativados para esta tarefa. Você pode desativar os checkpoints ou aumentar o tempo de espera nas configurações do checkpoint.", "attempt_completion_tool_failed": "Não é possível executar attempt_completion porque uma chamada de ferramenta anterior falhou neste turno. Por favor, resolva a falha da ferramenta antes de tentar concluir." } } diff --git a/webview-ui/src/i18n/locales/ru/common.json b/webview-ui/src/i18n/locales/ru/common.json index 7e98bf1247..e8bd28c375 100644 --- a/webview-ui/src/i18n/locales/ru/common.json +++ b/webview-ui/src/i18n/locales/ru/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} лет назад" }, "errors": { - "wait_checkpoint_long_time": "Ожидание инициализации контрольной точки заняло {{timeout}} секунд. Если тебе не нужна эта функция, отключи её в настройках контрольных точек.", - "init_checkpoint_fail_long_time": "Инициализация контрольной точки заняла более {{timeout}} секунд, поэтому контрольные точки отключены для этой задачи. Ты можешь отключить контрольные точки или увеличить время ожидания в настройках контрольных точек.", + "wait_checkpoint_long_time": "Ожидание инициализации контрольной точки заняло {{timeout}} секунд (настроенный таймаут: {{configuredTimeout}}с). Если тебе не нужна эта функция, отключи её в настройках контрольных точек.", + "init_checkpoint_fail_long_time": "Инициализация контрольной точки заняла более {{timeout}} секунд (настроенный таймаут: {{configuredTimeout}}с), поэтому контрольные точки отключены для этой задачи. Ты можешь отключить контрольные точки или увеличить время ожидания в настройках контрольных точек.", "attempt_completion_tool_failed": "Невозможно выполнить attempt_completion, потому что предыдущий вызов инструмента не удался в этом повороте. Пожалуйста, устрани сбой инструмента перед попыткой завершения." } } diff --git a/webview-ui/src/i18n/locales/tr/common.json b/webview-ui/src/i18n/locales/tr/common.json index fbcdb2179a..b40e585f73 100644 --- a/webview-ui/src/i18n/locales/tr/common.json +++ b/webview-ui/src/i18n/locales/tr/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} yıl önce" }, "errors": { - "wait_checkpoint_long_time": "{{timeout}} saniye boyunca kontrol noktası başlatılması beklendi. Bu özelliğe ihtiyacın yoksa kontrol noktası ayarlarından kapatabilirsin.", - "init_checkpoint_fail_long_time": "Kontrol noktası başlatılması {{timeout}} saniyeden fazla sürdü, bu yüzden bu görev için kontrol noktaları devre dışı bırakıldı. Kontrol noktalarını kapatabilir veya kontrol noktası ayarlarından bekleme süresini artırabilirsin.", + "wait_checkpoint_long_time": "{{timeout}} saniye boyunca kontrol noktası başlatılması beklendi (yapılandırılmış zaman aşımı: {{configuredTimeout}}s). Bu özelliğe ihtiyacın yoksa kontrol noktası ayarlarından kapatabilirsin.", + "init_checkpoint_fail_long_time": "Kontrol noktası başlatılması {{timeout}} saniyeden fazla sürdü (yapılandırılmış zaman aşımı: {{configuredTimeout}}s), bu yüzden bu görev için kontrol noktaları devre dışı bırakıldı. Kontrol noktalarını kapatabilir veya kontrol noktası ayarlarından bekleme süresini artırabilirsin.", "attempt_completion_tool_failed": "attempt_completion çalıştırılamıyor çünkü bu turda önceki bir araç çağrısı başarısız oldu. Lütfen tamamlamayı denemeden önce araç hatasını giderin." } } diff --git a/webview-ui/src/i18n/locales/vi/common.json b/webview-ui/src/i18n/locales/vi/common.json index 8ccf58dac7..5f1547f42a 100644 --- a/webview-ui/src/i18n/locales/vi/common.json +++ b/webview-ui/src/i18n/locales/vi/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} năm trước" }, "errors": { - "wait_checkpoint_long_time": "Bạn đã chờ {{timeout}} giây để khởi tạo điểm kiểm tra. Nếu không cần chức năng này, hãy tắt nó trong cài đặt điểm kiểm tra.", - "init_checkpoint_fail_long_time": "Khởi tạo điểm kiểm tra mất hơn {{timeout}} giây, vì vậy các điểm kiểm tra đã bị vô hiệu hóa cho tác vụ này. Bạn có thể tắt các điểm kiểm tra hoặc tăng thời gian chờ trong cài đặt điểm kiểm tra.", + "wait_checkpoint_long_time": "Bạn đã chờ {{timeout}} giây để khởi tạo điểm kiểm tra (thời gian chờ đã cấu hình: {{configuredTimeout}}s). Nếu không cần chức năng này, hãy tắt nó trong cài đặt điểm kiểm tra.", + "init_checkpoint_fail_long_time": "Khởi tạo điểm kiểm tra mất hơn {{timeout}} giây (thời gian chờ đã cấu hình: {{configuredTimeout}}s), vì vậy các điểm kiểm tra đã bị vô hiệu hóa cho tác vụ này. Bạn có thể tắt các điểm kiểm tra hoặc tăng thời gian chờ trong cài đặt điểm kiểm tra.", "attempt_completion_tool_failed": "Không thể thực thi attempt_completion vì một lệnh gọi công cụ trước đó đã thất bại trong lượt này. Vui lòng giải quyết lỗi công cụ trước khi cố gắng hoàn thành." } } diff --git a/webview-ui/src/i18n/locales/zh-CN/common.json b/webview-ui/src/i18n/locales/zh-CN/common.json index 53da4313be..0dbcfbd5e1 100644 --- a/webview-ui/src/i18n/locales/zh-CN/common.json +++ b/webview-ui/src/i18n/locales/zh-CN/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}}年前" }, "errors": { - "wait_checkpoint_long_time": "初始化存档点已等待 {{timeout}} 秒。如果你不需要存档点功能,请在存档点设置中关闭。", - "init_checkpoint_fail_long_time": "存档点初始化已超过 {{timeout}} 秒,因此本任务已禁用存档点。你可以关闭存档点或在存档点设置中延长等待时间。", + "wait_checkpoint_long_time": "初始化存档点已等待 {{timeout}} 秒(配置的超时时间:{{configuredTimeout}}秒)。如果你不需要存档点功能,请在存档点设置中关闭。", + "init_checkpoint_fail_long_time": "存档点初始化已超过 {{timeout}} 秒(配置的超时时间:{{configuredTimeout}}秒),因此本任务已禁用存档点。你可以关闭存档点或在存档点设置中延长等待时间。", "attempt_completion_tool_failed": "无法执行 attempt_completion,因为本轮中先前的工具调用失败了。请在尝试完成前解决工具失败问题。" } } diff --git a/webview-ui/src/i18n/locales/zh-TW/common.json b/webview-ui/src/i18n/locales/zh-TW/common.json index 9b2a69c77d..38ddd794ee 100644 --- a/webview-ui/src/i18n/locales/zh-TW/common.json +++ b/webview-ui/src/i18n/locales/zh-TW/common.json @@ -97,8 +97,8 @@ "years_ago": "{{count}} 年前" }, "errors": { - "wait_checkpoint_long_time": "初始化存檔點已等待 {{timeout}} 秒。如果你不需要存檔點功能,請在存檔點設定中關閉。", - "init_checkpoint_fail_long_time": "存檔點初始化已超過 {{timeout}} 秒,因此此工作已停用存檔點。你可以關閉存檔點或在存檔點設定中延長等待時間。", + "wait_checkpoint_long_time": "初始化存檔點已等待 {{timeout}} 秒(設定的逾時時間:{{configuredTimeout}}秒)。如果你不需要存檔點功能,請在存檔點設定中關閉。", + "init_checkpoint_fail_long_time": "存檔點初始化已超過 {{timeout}} 秒(設定的逾時時間:{{configuredTimeout}}秒),因此此工作已停用存檔點。你可以關閉存檔點或在存檔點設定中延長等待時間。", "attempt_completion_tool_failed": "無法執行 attempt_completion,因為本輪中先前的工具呼叫失敗了。請在嘗試完成前解決工具失敗問題。" } }