@neuralnomads/codenomad-dev 0.18.0-dev-20260715-07e8ce68 → 0.18.0-dev-20260716-40cee071
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/THIRD_PARTY_NOTICES.md +26 -0
- package/dist/events/bus.js +13 -0
- package/dist/events/bus.test.js +37 -0
- package/dist/index.js +33 -56
- package/dist/index.test.js +32 -0
- package/dist/server/__tests__/remote-proxy.test.js +102 -6
- package/dist/server/http-server.js +2 -0
- package/dist/server/remote-proxy.js +96 -9
- package/dist/server/routes/usage.js +18 -0
- package/dist/server/routes/usage.test.js +26 -0
- package/dist/server/routes/workspaces.js +32 -1
- package/dist/server/routes/workspaces.test.js +75 -0
- package/dist/settings/binaries.js +4 -1
- package/dist/settings/binaries.test.js +24 -0
- package/dist/shutdown.js +75 -0
- package/dist/shutdown.test.js +111 -0
- package/dist/usage/providers/api-key.js +171 -0
- package/dist/usage/providers/google.js +171 -0
- package/dist/usage/providers/minimax.js +109 -0
- package/dist/usage/providers/oauth.js +111 -0
- package/dist/usage/providers/special.js +148 -0
- package/dist/usage/service.js +83 -0
- package/dist/usage/service.test.js +59 -0
- package/dist/usage/shared.js +130 -0
- package/dist/usage/shared.test.js +33 -0
- package/dist/usage/types.js +1 -0
- package/dist/workspaces/__tests__/spawn.test.js +64 -7
- package/dist/workspaces/__tests__/workspace-identity.test.js +177 -25
- package/dist/workspaces/launch-cleanup.js +132 -0
- package/dist/workspaces/launch-cleanup.test.js +33 -0
- package/dist/workspaces/manager.js +393 -135
- package/dist/workspaces/manager.test.js +318 -0
- package/dist/workspaces/process-identity.js +408 -0
- package/dist/workspaces/process-identity.test.js +165 -0
- package/dist/workspaces/runtime.js +567 -122
- package/dist/workspaces/runtime.test.js +603 -0
- package/dist/workspaces/spawn.js +86 -15
- package/package.json +1 -1
- package/public/assets/{FilesTab-EPvldvn1.js → FilesTab-BjztpSdj.js} +2 -2
- package/public/assets/{GitChangesTab-ofjovmv2.js → GitChangesTab-B9XraSoR.js} +2 -2
- package/public/assets/{SplitFilePanel-CyoPkcLd.js → SplitFilePanel-Cu_5-Z-E.js} +1 -1
- package/public/assets/StatusTab-D_IE79r-.js +1 -0
- package/public/assets/{align-justify-Bcf1-ZOl.js → align-justify-BKS9gyRk.js} +1 -1
- package/public/assets/{bundle-full-D5dzvToA.js → bundle-full-CXGXXlzR.js} +1 -1
- package/public/assets/{diff-viewer-DViXCI-4.js → diff-viewer-CSNOYoEB.js} +1 -1
- package/public/assets/{git-diff-vendor-CSgooKT_.js → git-diff-vendor-CYS3ApzA.js} +1 -1
- package/public/assets/index-B3YjNCh4.js +1 -0
- package/public/assets/index-B3ZD2_SU.js +1 -0
- package/public/assets/index-Bh2ofaQo.js +1 -0
- package/public/assets/index-CM0c9xRZ.js +1 -0
- package/public/assets/index-CdDxouJl.js +2 -0
- package/public/assets/index-D06Y2cFq.js +1 -0
- package/public/assets/{index-lf4nUOU1.js → index-DVc4ls8c.js} +1 -1
- package/public/assets/index-PmE51vPh.js +1 -0
- package/public/assets/{index-BMvFMsuy.css → index-Qj63IiSj.css} +1 -1
- package/public/assets/index-VY_zwmsG.js +1 -0
- package/public/assets/index-qiiH7egV.js +1 -0
- package/public/assets/{index-UbL8tz_V.js → index-sLe9hEfQ.js} +1 -1
- package/public/assets/{loading-CZ_tt3h0.js → loading-CDmt9OJU.js} +1 -1
- package/public/assets/main-CTN6Wwz1.js +68 -0
- package/public/assets/{markdown-G11aN6hz.js → markdown-1ZLSxCFT.js} +55 -44
- package/public/assets/monaco-viewer-D6JgH76W.js +26 -0
- package/public/assets/{tool-call-BsSXWErm.js → tool-call-CyXb63LH.js} +32 -32
- package/public/assets/{unified-picker-BRNI3UvE.js → unified-picker-DCCdSVwI.js} +1 -1
- package/public/assets/{wrap-text-B7up-uv7.js → wrap-text-pNMdTIq3.js} +1 -1
- package/public/index.html +5 -5
- package/public/loading.html +5 -5
- package/public/sw.js +1 -1
- package/public/assets/StatusTab-Bgu1Fh24.js +0 -1
- package/public/assets/index-3KsjbWGP.js +0 -1
- package/public/assets/index-B0WK8-cF.js +0 -1
- package/public/assets/index-BDv_iVtj.js +0 -1
- package/public/assets/index-BjxZvyb9.js +0 -2
- package/public/assets/index-BleKf9Nj.js +0 -1
- package/public/assets/index-CiIQ43NW.js +0 -1
- package/public/assets/index-DBquqL6Q.js +0 -1
- package/public/assets/index-yf9zolv4.js +0 -1
- package/public/assets/index-ypaL7i_s.js +0 -1
- package/public/assets/main-CAkg_fp_.js +0 -68
- package/public/assets/monaco-viewer-CZefBfct.js +0 -26
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as e}from"./index-CdDxouJl.js";import"./monaco-viewer-D6JgH76W.js";import"./git-diff-vendor-CYS3ApzA.js";import"./fast-diff-vendor-DgdwVvTQ.js";import"./highlight-vendor-8FKMu9os.js";const t={"advancedSettings.title":"高级设置","advancedSettings.environmentVariables.title":"环境变量","advancedSettings.environmentVariables.subtitle":"每当启动新的 OpenCode 实例时应用","advancedSettings.actions.close":"关闭"},s={"app.launchError.title":"无法启动 OpenCode","app.launchError.description":"我们无法启动所选的 OpenCode 可执行文件。请查看下面的错误输出,或在 OpenCode 设置中选择其他可执行文件。","app.launchError.binaryPathLabel":"可执行文件路径","app.launchError.errorOutputLabel":"错误输出","app.launchError.openAdvancedSettings":"打开 OpenCode 设置","app.launchError.close":"关闭","app.launchError.closeTitle":"关闭 (Esc)","app.launchError.fallbackMessage":"启动工作区失败","app.stopInstance.confirmMessage":"停止 OpenCode 实例?这将停止服务器。","app.stopInstance.title":"停止实例","app.stopInstance.confirmLabel":"停止","app.stopInstance.cancelLabel":"继续运行","app.stopInstance.toast.error":"无法停止工作区。","emptyState.logoAlt":"CodeNomad 徽标","emptyState.brandTitle":"CodeNomad","emptyState.tagline":"选择文件夹,开始与 AI 一起编码","emptyState.actions.selectFolder":"选择文件夹","emptyState.actions.selecting":"正在选择...","emptyState.keyboardShortcut":"键盘快捷键:{shortcut}","emptyState.examples":"示例:{example}","emptyState.multipleInstances":"同一个文件夹可以同时打开多个实例","releases.upgradeRequired.title":"需要升级","releases.upgradeRequired.message.withVersion":"更新到 CodeNomad {version} 以使用最新的 UI。","releases.upgradeRequired.message.noVersion":"更新 CodeNomad 以使用最新的 UI。","releases.upgradeRequired.action.getUpdate":"获取更新","releases.uiUpdated.title":"UI 已更新","releases.uiUpdated.message":"UI 已更新到 {version}。","releases.devUpdateAvailable.title":"可用的开发版","releases.devUpdateAvailable.message":"有新的开发版可用:{version}。","releases.devUpdateAvailable.action":"查看发布","theme.mode.system":"系统","theme.mode.light":"浅色","theme.mode.dark":"深色","theme.toggle.title":"主题:{mode}","theme.toggle.ariaLabel":"主题:{mode}"},o={"commandPalette.title":"命令面板","commandPalette.description":"搜索并执行命令","commandPalette.searchPlaceholder":"输入命令或搜索...","commandPalette.empty":'未找到与 "{query}" 匹配的命令',"commandPalette.category.customCommands":"自定义命令","commandPalette.category.instance":"实例","commandPalette.category.session":"会话","commandPalette.category.agentModel":"智能体与模型","commandPalette.category.inputFocus":"输入与焦点","commandPalette.category.system":"系统","commandPalette.category.other":"其他","commands.newInstance.label":"新建实例","commands.newInstance.description":"打开文件夹选择器以创建新实例","commands.newInstance.keywords":"folder, project, workspace, 文件夹, 项目, 工作区","commands.closeInstance.label":"关闭标签页","commands.closeInstance.description":"关闭当前顶层标签页","commands.closeInstance.keywords":"stop, quit, close, 停止, 退出, 关闭, 标签","commands.nextInstance.label":"下一个标签页","commands.nextInstance.description":"切换到下一个顶层标签页","commands.nextInstance.keywords":"switch, navigate, 切换, 导航, 标签","commands.previousInstance.label":"上一个标签页","commands.previousInstance.description":"切换到上一个顶层标签页","commands.previousInstance.keywords":"switch, navigate, 切换, 导航, 标签","commands.newSession.label":"新建会话","commands.newSession.description":"创建新的父会话","commands.newSession.keywords":"create, start, 创建, 开始","commands.closeSession.label":"关闭会话","commands.closeSession.description":"关闭当前父会话","commands.closeSession.keywords":"close, stop, 关闭, 停止","commands.scrubSessions.label":"清理会话","commands.scrubSessions.description":"移除空会话、已完成主任务的子智能体会话,以及多余的分叉会话。","commands.scrubSessions.keywords":"cleanup, blank, empty, sessions, remove, delete, scrub, 清理, 空白, 会话, 删除, 整理","commands.instanceInfo.label":"实例信息","commands.instanceInfo.description":"打开实例概览以查看日志和状态","commands.instanceInfo.keywords":"info, logs, console, output, 信息, 日志, 控制台, 输出","commands.nextSession.label":"下一个会话","commands.nextSession.description":"切换到下一个会话标签页","commands.nextSession.keywords":"switch, navigate, 切换, 导航","commands.previousSession.label":"上一个会话","commands.previousSession.description":"切换到上一个会话标签页","commands.previousSession.keywords":"switch, navigate, 切换, 导航","commands.compactSession.label":"压缩会话","commands.compactSession.description":"总结并压缩当前会话","commands.compactSession.keywords":"summarize, compress, 总结, 压缩","commands.compactSession.errorFallback":"压缩会话失败","commands.compactSession.alert.title":"压缩失败","commands.compactSession.alert.message":"压缩失败:{message}","commands.undoLastMessage.label":"撤销上一条消息","commands.undoLastMessage.description":"回退上一条消息","commands.undoLastMessage.keywords":"revert, undo, 回退, 撤销","commands.undoLastMessage.none.title":"没有可撤销的操作","commands.undoLastMessage.none.message":"没有可撤销的内容","commands.undoLastMessage.failed.title":"撤销失败","commands.undoLastMessage.failed.message":"回退消息失败","commands.openModelSelector.label":"打开模型选择器","commands.openModelSelector.description":"选择其他模型","commands.openModelSelector.keywords":"model, llm, ai, 模型","commands.selectModelVariant.label":"选择模型变体","commands.selectModelVariant.description":"为当前模型选择思考强度","commands.selectModelVariant.keywords":"variant, thinking, reasoning, effort, 变体, 思考, 推理, 强度","commands.openAgentSelector.label":"打开智能体选择器","commands.openAgentSelector.description":"选择其他智能体","commands.openAgentSelector.keywords":"agent, mode, 智能体, 模式","commands.clearInput.label":"清空输入","commands.clearInput.description":"清空 prompt 输入框","commands.clearInput.keywords":"clear, reset, 清空, 重置","commands.promptSubmitShortcut.label.default":"Enter: 换行, Cmd/Ctrl+Enter: 提交提示词","commands.promptSubmitShortcut.label.swapped":"Enter: 提交提示词, Cmd/Ctrl+Enter: 换行","commands.promptSubmitShortcut.description":"在提示词输入框中交换 Enter 与 Cmd/Ctrl+Enter 的行为","commands.promptSubmitShortcut.keywords":"enter, 换行, 提交, 发送, 快捷键, cmd, ctrl, 提示词","commands.thinkingBlocks.label.show":"显示思考","commands.thinkingBlocks.label.hide":"隐藏思考","commands.thinkingBlocks.description":"显示或隐藏 AI 思考部分","commands.thinkingBlocks.keywords":"thinking, reasoning, toggle, show, hide, 思考, 推理, 切换, 显示, 隐藏","commands.timelineToolCalls.label.show":"显示时间轴工具调用","commands.timelineToolCalls.label.hide":"隐藏时间轴工具调用","commands.timelineToolCalls.description":"切换消息时间轴中的工具调用条目","commands.timelineToolCalls.keywords":"timeline, tool, toggle, 时间轴, 工具, 切换","commands.keyboardShortcutHints.label.show":"显示键盘快捷键提示","commands.keyboardShortcutHints.label.hide":"隐藏键盘快捷键提示","commands.keyboardShortcutHints.description":"显示或隐藏界面中的键盘快捷键提示","commands.keyboardShortcutHints.description.disabledWeb":"WebUI 中已禁用(提示始终隐藏)","commands.keyboardShortcutHints.keywords":"shortcuts, keyboard, hints, 快捷键, 键盘, 提示","commands.common.expanded":"展开","commands.common.collapsed":"折叠","commands.common.visible":"可见","commands.common.hidden":"隐藏","commands.common.enabled":"启用","commands.common.disabled":"禁用","commands.thinkingBlocksDefault.label":"思考视图: {state}","commands.thinkingBlocksDefault.description":"在显示时折叠 / 展开 AI 思考部分","commands.thinkingBlocksDefault.keywords":"thinking, reasoning, expand, collapse, default, 思考, 推理, 展开, 折叠, 默认","commands.diffViewSplit.label":"使用分栏 Diff 视图","commands.diffViewSplit.description":"并排显示工具调用的 diff","commands.diffViewSplit.keywords":"diff, split, view, 差异, 分栏, 视图","commands.diffViewUnified.label":"使用统一 Diff 视图","commands.diffViewUnified.description":"以内联方式显示工具调用的 diff","commands.diffViewUnified.keywords":"diff, unified, view, 差异, 统一, 视图","commands.toolOutputsDefault.label":"工具输出默认 · {state}","commands.toolOutputsDefault.description":"切换工具输出是否默认展开","commands.toolOutputsDefault.keywords":"tool, output, expand, collapse, 工具, 输出, 展开, 折叠","commands.diagnosticsDefault.label":"诊断默认 · {state}","commands.diagnosticsDefault.description":"切换诊断输出是否默认展开","commands.diagnosticsDefault.keywords":"diagnostics, expand, collapse, 诊断, 展开, 折叠","commands.toolInputsVisibility.label":"工具输入可见性 · {state}","commands.toolInputsVisibility.description":"设置工具调用输入参数的默认可见性","commands.toolInputsVisibility.keywords":"工具, 输入, 参数, 可见性, 隐藏, 显示, 展开, 折叠, tool, inputs, arguments, visibility, hide, show, expand, collapse","commands.tokenUsageDisplay.label":"Token 使用显示 · {state}","commands.tokenUsageDisplay.description":"显示或隐藏助手消息的 token 和费用统计","commands.tokenUsageDisplay.keywords":"token, usage, cost, stats, 令牌, 用量, 费用, 统计","commands.autoCleanupBlankSessions.label":"自动清理空白会话 · {state}","commands.autoCleanupBlankSessions.description":"在创建新会话时自动清理空白会话","commands.autoCleanupBlankSessions.keywords":"auto, cleanup, blank, sessions, toggle, 自动, 清理, 空白, 会话, 切换","commands.showHelp.label":"显示帮助","commands.showHelp.description":"显示键盘快捷键与帮助","commands.showHelp.keywords":"shortcuts, help, 快捷键, 帮助","commands.custom.argumentsPrompt.message":"/{name} 的参数","commands.custom.argumentsPrompt.title":"自定义命令","commands.custom.argumentsPrompt.inputLabel":"参数","commands.custom.argumentsPrompt.inputPlaceholder":"例如 foo bar","commands.custom.argumentsPrompt.confirmLabel":"运行","commands.custom.argumentsPrompt.cancelLabel":"取消","commands.custom.argumentsPrompt.openFailed.message":"无法打开参数输入框。","commands.custom.argumentsPrompt.openFailed.title":"命令参数","commands.custom.entries.descriptionFallback":"自定义命令","commands.custom.sessionRequired.message":"运行自定义命令前请先选择一个会话。","commands.custom.sessionRequired.title":"需要会话","commands.custom.runFailed.message":"运行自定义命令失败。请查看控制台了解详情。","commands.custom.runFailed.title":"命令失败","unifiedPicker.loading.searching":"正在搜索...","unifiedPicker.loading.loadingWorkspace":"正在加载工作区...","unifiedPicker.title.command":"选择命令","unifiedPicker.title.mention":"选择智能体或文件","unifiedPicker.empty":"未找到结果","unifiedPicker.sections.commands":"命令","unifiedPicker.sections.agents":"智能体","unifiedPicker.sections.files":"文件","unifiedPicker.sections.workspaceRoot":"工作区根目录","unifiedPicker.badge.subagent":"子智能体","unifiedPicker.footer.navigate":"导航","unifiedPicker.footer.select":"选择","unifiedPicker.footer.close":"关闭"},i={"alertDialog.fallbackTitle.info":"提示","alertDialog.fallbackTitle.warning":"请确认","alertDialog.fallbackTitle.error":"出错了","alertDialog.actions.confirm":"确认","alertDialog.actions.run":"运行","alertDialog.actions.ok":"确定","alertDialog.actions.cancel":"取消","alertDialog.prompt.inputLabel":"输入","backgroundProcessOutputDialog.title":"后台输出","backgroundProcessOutputDialog.actions.close":"关闭","backgroundProcessOutputDialog.loading":"正在加载输出...","backgroundProcessOutputDialog.truncatedNotice":"为便于显示,输出已截断。","backgroundProcessOutputDialog.loadErrorFallback":"加载输出失败。"},n={"directoryBrowser.defaultDescription":"浏览已配置的工作区根目录下的文件夹。","directoryBrowser.close":"关闭","directoryBrowser.currentFolder":"选择文件夹或输入路径","directoryBrowser.currentFolder.inputAriaLabel":"文件夹路径","directoryBrowser.currentFolder.inputPlaceholder":"输入或粘贴文件夹路径","directoryBrowser.openCurrent":"打开","directoryBrowser.selectCurrent":"选择当前","directoryBrowser.newFolder":"新建文件夹","directoryBrowser.creating":"正在创建…","directoryBrowser.loadingFolders":"正在加载文件夹…","directoryBrowser.noFolders":"没有可用的文件夹。","directoryBrowser.upOneLevel":"上一级","directoryBrowser.select":"选择","directoryBrowser.load.errorFallback":"无法加载文件系统","directoryBrowser.createFolder.promptMessage":"在当前目录中新建文件夹。","directoryBrowser.createFolder.title":"新建文件夹","directoryBrowser.createFolder.inputLabel":"文件夹名称","directoryBrowser.createFolder.inputPlaceholder":"例如 my-new-project","directoryBrowser.createFolder.confirmLabel":"创建","directoryBrowser.createFolder.cancelLabel":"取消","directoryBrowser.createFolder.invalidNameMessage":"请输入单个文件夹名称。","directoryBrowser.createFolder.invalidNameDetail":'文件夹名称不能包含斜杠、".." 或 "~"。',"directoryBrowser.createFolder.errorFallback":"无法创建文件夹","filesystemBrowser.descriptionFallback":"在已配置的工作区根目录下搜索路径。","filesystemBrowser.rootLabel":"根目录:{root}","filesystemBrowser.actions.close":"关闭","filesystemBrowser.actions.retry":"重试","filesystemBrowser.actions.select":"选择","filesystemBrowser.filterLabel":"筛选","filesystemBrowser.search.placeholder.directories":"搜索文件夹","filesystemBrowser.search.placeholder.files":"搜索文件","filesystemBrowser.currentFolder.label":"当前文件夹","filesystemBrowser.currentFolder.selectCurrent":"选择当前","filesystemBrowser.loading.filesystem":"文件系统","filesystemBrowser.loading.workspaceRoot":"工作区根目录","filesystemBrowser.loading.loadingWithPath":"正在加载 {path}…","filesystemBrowser.empty.noEntries":"未找到任何条目。","filesystemBrowser.navigation.upOneLevel":"上一级","filesystemBrowser.hints.navigate":"导航","filesystemBrowser.hints.select":"选择","filesystemBrowser.hints.close":"关闭","filesystemBrowser.errors.loadFilesystemFallback":"无法加载文件系统","filesystemBrowser.errors.openDirectoryFallback":"无法打开目录"},a={"folderSelection.language.ariaLabel":"语言","folderSelection.logoAlt":"CodeNomad 徽标","folderSelection.tagline":"选择文件夹,开始与 AI 一起编码","folderSelection.links.github":"CodeNomad 的 GitHub","folderSelection.links.githubStars":"CodeNomad GitHub Star 数","folderSelection.links.discord":"CodeNomad 的 Discord","folderSelection.empty.title":"没有最近的文件夹","folderSelection.empty.description":"浏览并选择文件夹以开始使用","folderSelection.recent.title":"最近的文件夹","folderSelection.recent.subtitle.one":"{count} 个文件夹可用","folderSelection.recent.subtitle.other":"{count} 个文件夹可用","folderSelection.recent.rename":"重命名工作区","folderSelection.recent.remove":"从最近列表移除","folderSelection.recent.openBadge":"已打开","folderSelection.recent.alreadyOpenTitle":"项目已打开","folderSelection.recent.alreadyOpenMessage":"选择如何打开此文件夹。","folderSelection.recent.switchToOpenProject":"切换到已打开的项目","folderSelection.recent.openAnotherInstance":"打开另一个实例","folderSelection.browse.title":"浏览文件夹","folderSelection.browse.subtitle":"选择你电脑上的任意文件夹","folderSelection.browse.button":"浏览文件夹","folderSelection.browse.buttonOpening":"正在打开...","folderSelection.clone.button":"克隆 Git 仓库","folderSelection.clone.destination.title":"选择克隆目标位置","folderSelection.clone.destination.description":"选择要将仓库克隆到的文件夹。","folderSelection.clone.dialog.title":"克隆 Git 仓库","folderSelection.clone.dialog.description":"将 Git 仓库克隆到本地文件夹,然后作为工作区打开。","folderSelection.clone.dialog.repositoryUrl":"仓库 URL","folderSelection.clone.dialog.repositoryUrlPlaceholder":"https://github.com/user/repo.git","folderSelection.clone.dialog.destinationPath":"目标文件夹","folderSelection.clone.dialog.destinationPathPlaceholder":"选择或输入目标文件夹","folderSelection.clone.dialog.browseDestination":"浏览","folderSelection.clone.dialog.cleanupDestination":"如果目标文件夹已存在,先将其删除。","folderSelection.clone.dialog.cancel":"取消","folderSelection.clone.dialog.clone":"克隆","folderSelection.clone.dialog.cloning":"正在克隆...","folderSelection.clone.dialog.errorRequired":"仓库 URL 和目标文件夹为必填项。","folderSelection.actions.title":"打开文件夹或连接服务器","folderSelection.actions.subtitle":"打开本地文件夹或连接到 CodeNomad 服务器","folderSelection.actions.connectButton":"连接 CodeNomad 服务器","folderSelection.advancedSettings":"高级设置","folderSelection.opencode":"OpenCode","folderSelection.hints.navigate":"导航","folderSelection.hints.select":"选择","folderSelection.hints.remove":"移除","folderSelection.hints.browse":"浏览","folderSelection.loading.title":"正在启动实例...","folderSelection.loading.subtitle":"正在准备你的工作区,请稍候。","folderSelection.drop.title":"拖放文件夹以打开","folderSelection.drop.subtitle":"在拖放的文件夹中启动一个新实例。","folderSelection.drop.invalidTitle":"无法打开拖放的项目","folderSelection.drop.invalidMessage":"请拖放一个文件夹来启动新实例。","folderSelection.dialog.title":"选择工作区","folderSelection.dialog.description":"选择工作区以开始编码。","folderSelection.tabs.local":"本地文件夹","folderSelection.tabs.servers":"服务器","folderSelection.servers.title":"已保存的服务器","folderSelection.servers.subtitle":"在新窗口中打开已保存的远程 CodeNomad 服务器","folderSelection.servers.count":"{count} 个服务器","folderSelection.servers.empty.title":"没有已保存的服务器","folderSelection.servers.empty.description":"添加远程服务器,以便在此设备上快速重新连接","folderSelection.servers.connectTitle":"连接到服务器","folderSelection.servers.connectSubtitle":"保存远程 CodeNomad 服务器并在新窗口中打开它","folderSelection.servers.connectButton":"连接到服务器","folderSelection.servers.remove":"删除已保存服务器","folderSelection.servers.skipTls":"自签名 TLS","folderSelection.servers.errorTitle":"远程连接失败","folderSelection.servers.dialog.title":"连接到服务器","folderSelection.servers.dialog.description":"添加远程 CodeNomad 服务器,并可选择立即打开。","folderSelection.servers.dialog.name":"服务器名称","folderSelection.servers.dialog.namePlaceholder":"生产服务器","folderSelection.servers.dialog.url":"服务器 URL","folderSelection.servers.dialog.urlPlaceholder":"https://server.example.com","folderSelection.servers.dialog.skipTls":"为自签名证书跳过 TLS 验证。","folderSelection.servers.dialog.cancel":"取消","folderSelection.servers.dialog.save":"保存","folderSelection.servers.dialog.connect":"连接","folderSelection.servers.dialog.connecting":"连接中...","folderSelection.servers.dialog.errorRequired":"服务器名称和 URL 为必填项。","folderSelection.servers.dialog.errorConnect":"无法连接到远程服务器。","folderSelection.servers.certificateInstall.title":"安装本地证书","folderSelection.servers.certificateInstall.confirmMessage":"CodeNomad 需要安装本地证书,才能打开使用自签名 HTTPS 的远程窗口。此证书仅用于你这台设备上的本地桌面代理流量。之后你的操作系统可能还会显示第二个证书提示。","folderSelection.servers.certificateInstall.confirmLabel":"继续","folderSelection.servers.certificateInstall.cancelLabel":"取消","folderSelection.servers.certificateInstall.cancelled":"CodeNomad 需要先信任本地证书,才能打开使用自签名 HTTPS 的远程窗口。","folderSelection.sidecars.button":"打开 SideCar","projectRenameDialog.title":"重命名工作区","projectRenameDialog.description.withLabel":"更新“{label}”的工作区名称。","projectRenameDialog.description.default":"为此文件夹设置工作区名称。","projectRenameDialog.input.label":"工作区名称","projectRenameDialog.input.placeholder":"输入工作区名称","projectRenameDialog.actions.cancel":"取消","projectRenameDialog.actions.rename":"重命名","projectRenameDialog.actions.renaming":"正在重命名..."},l={"instanceTabs.new.title":"新建实例 (Cmd/Ctrl+N)","instanceTabs.new.ariaLabel":"新建实例","instanceTabs.remote.title":"远程连接","instanceTabs.remote.ariaLabel":"远程连接","instanceInfo.title":"实例信息","instanceInfo.labels.folder":"文件夹","instanceInfo.labels.project":"项目","instanceInfo.labels.versionControl":"版本控制","instanceInfo.labels.opencodeVersion":"OpenCode 版本","instanceInfo.labels.binaryPath":"可执行文件路径","instanceInfo.labels.environmentVariables":"环境变量({count})","instanceInfo.loading":"正在加载...","instanceInfo.server.title":"服务器","instanceInfo.server.port":"端口:","instanceInfo.server.pid":"PID:","instanceInfo.server.status":"状态:","instanceTab.status.permission":"等待权限","instanceTab.status.compacting":"压缩中","instanceTab.status.working":"工作中","instanceTab.status.idle":"空闲","instanceTab.status.ariaLabel":"实例状态:{status}","instanceTab.actions.close.ariaLabel":"关闭实例","instanceShell.leftPanel.sessionsTitle":"会话","instanceShell.leftPanel.instanceInfo":"实例信息","instanceShell.leftDrawer.pin":"固定左侧抽屉","instanceShell.leftDrawer.unpin":"取消固定左侧抽屉","instanceShell.leftDrawer.toggle.pinned":"左侧抽屉已固定","instanceShell.leftDrawer.toggle.open":"打开左侧抽屉","instanceShell.leftDrawer.toggle.close":"关闭左侧抽屉","instanceShell.rightDrawer.pin":"固定右侧抽屉","instanceShell.rightDrawer.unpin":"取消固定右侧抽屉","instanceShell.rightDrawer.toggle.pinned":"右侧抽屉已固定","instanceShell.rightDrawer.toggle.open":"打开右侧抽屉","instanceShell.rightDrawer.toggle.close":"关闭右侧抽屉","instanceShell.fullscreen.enter":"全屏","instanceShell.fullscreen.exit":"退出全屏","instanceShell.metrics.usedLabel":"已用","instanceShell.metrics.availableLabel":"可用","instanceShell.commandPalette.openAriaLabel":"打开命令面板","instanceShell.commandPalette.button":"命令面板","instanceShell.chatSearch.openAriaLabel":"搜索聊天历史","instanceShell.connection.ariaLabel":"连接 {status}","instanceShell.connection.connected":"已连接","instanceShell.connection.connecting":"连接中...","instanceShell.connection.disconnected":"已断开","instanceShell.connection.unknown":"未知","instanceWelcome.shortcuts.newSession":"新建会话","instanceWelcome.empty.title":"没有历史会话","instanceWelcome.empty.description":"在下方创建新会话以开始使用","instanceWelcome.loading.title":"正在启动工作区","instanceWelcome.loading.description":"正在为此工作区启动 OpenCode...","instanceWelcome.resume.title":"继续会话","instanceWelcome.resume.subtitle.one":"{count} 个会话可用","instanceWelcome.resume.subtitle.other":"{count} 个会话可用","instanceWelcome.session.untitled":"未命名会话","instanceWelcome.new.title":"开始新会话","instanceWelcome.new.subtitle":"将自动沿用上一次的智能体/模型","instanceWelcome.new.createButton":"创建会话","instanceWelcome.overlay.close":"关闭","instanceWelcome.actions.viewInstanceInfo":"查看实例信息","instanceWelcome.actions.renameTitle":"重命名会话","instanceWelcome.actions.deleteTitle":"删除会话","instanceWelcome.hints.navigate":"导航","instanceWelcome.hints.jump":"跳转","instanceWelcome.hints.firstLast":"首/末","instanceWelcome.hints.resume":"继续","instanceWelcome.hints.delete":"删除","instanceWelcome.toasts.renameError":"无法重命名会话","instanceDisconnected.title":"实例已断开连接","instanceDisconnected.folderFallback":"此工作区","instanceDisconnected.reasonFallback":"服务器停止响应","instanceDisconnected.description":"{folder} 已无法访问。关闭此标签页以继续工作。","instanceDisconnected.details.title":"详情","instanceDisconnected.details.folderLabel":"文件夹:","instanceDisconnected.actions.closeInstance":"关闭实例","instanceShell.empty.title":"未选择会话","instanceShell.empty.description":"在下方发送消息以创建新会话,或选择现有会话继续。","instanceShell.rightPanel.title":"状态面板","instanceShell.rightPanel.tabs.gitChanges":"Git 更改","instanceShell.rightPanel.tabs.files":"文件","instanceShell.rightPanel.tabs.status":"状态","instanceShell.rightPanel.tabs.ariaLabel":"右侧面板标签页","instanceShell.rightPanel.actions.refresh":"刷新","instanceShell.rightPanel.actions.save":"保存 (Ctrl+S)","instanceShell.rightPanel.actions.saveConfirm.message":'切换前是否保存对 "{path}" 的更改?',"instanceShell.rightPanel.actions.saveConfirm.confirmLabel":"保存","instanceShell.rightPanel.actions.saveConfirm.cancelLabel":"放弃更改","instanceShell.rightPanel.actions.conflict.message":"文件已被智能体修改。是否覆盖智能体的更改?","instanceShell.rightPanel.actions.conflict.confirmLabel":"覆盖","instanceShell.rightPanel.actions.conflict.cancelLabel":"取消","instanceShell.rightPanel.actions.refreshDirty.message":"文件有未保存的更改。刷新将放弃您的编辑。继续?","instanceShell.rightPanel.actions.refreshDirty.confirmLabel":"刷新","instanceShell.rightPanel.actions.refreshDirty.cancelLabel":"取消","instanceShell.rightPanel.toast.saveSuccess":"文件保存成功","instanceShell.rightPanel.toast.saveError":"保存文件失败","instanceShell.rightPanel.sections.yoloMode":"Yolo 模式","instanceShell.rightPanel.sections.yoloMode.tooltip":"自动批准当前会话的权限请求。仅在你信任正在运行的工具时启用。","instanceShell.rightPanel.sections.plan":"计划","instanceShell.rightPanel.sections.plan.tooltip":"智能体在此会话中的路线图。跟踪任务、子任务及其完成状态。","instanceShell.rightPanel.sections.backgroundProcesses":"后台 Shell","instanceShell.rightPanel.sections.backgroundProcesses.tooltip":"智能体启动的长时间运行进程。你可以监控其输出、停止或终止它们。","instanceShell.rightPanel.sections.mcp":"MCP 服务器","instanceShell.rightPanel.sections.mcp.tooltip":"模型上下文协议服务器,使用外部工具和服务扩展代理能力。","instanceShell.rightPanel.sections.lsp":"LSP 服务器","instanceShell.rightPanel.sections.lsp.tooltip":"语言服务器协议服务器,提供代码智能、诊断和语言特定的功能。","instanceShell.rightPanel.sections.plugins":"插件","instanceShell.rightPanel.sections.plugins.tooltip":"自定义 UI 和服务器行为的插件,添加超出 MCP 和 LSP 的功能。","instanceShell.gitChanges.noSessionSelected":"选择会话以查看 Git 更改。","instanceShell.gitChanges.loading":"正在加载 Git 更改...","instanceShell.gitChanges.empty":"暂无 Git 更改。","instanceShell.gitChanges.deleted":"已删除","instanceShell.gitChanges.binaryViewer":"无法显示二进制文件","instanceShell.gitChanges.sections.staged":"已暂存的更改","instanceShell.gitChanges.sections.unstaged":"更改","instanceShell.gitChanges.actions.insertContext":"添加到提示词","instanceShell.gitChanges.actions.stage":"暂存文件","instanceShell.gitChanges.actions.unstage":"取消暂存","instanceShell.gitChanges.commit.placeholder":"输入提交信息","instanceShell.gitChanges.commit.submit":"提交","instanceShell.gitChanges.commit.submitting":"正在提交...","instanceShell.gitChanges.commit.success":"提交已成功创建","instanceShell.gitChanges.commit.error":"无法创建提交","instanceShell.filesShell.fileListTitle":"文件列表","instanceShell.filesShell.mobileSelectorLabel":"选择文件","instanceShell.filesShell.mobileSelectorEmpty":"请选择文件","instanceShell.filesShell.viewerTitle":"更改查看器","instanceShell.filesShell.viewerPlaceholder":"详细更改渲染将在下一步中添加。","instanceShell.filesShell.viewerEmpty":"未选择文件。","instanceShell.filesShell.listEmpty":"此文件夹中没有文件。","instanceShell.filesShell.hideFiles":"隐藏文件","instanceShell.filesShell.showFiles":"显示文件","instanceShell.filesShell.search.placeholder":"筛选此文件夹中的文件","instanceShell.filesShell.search.ariaLabel":"筛选此文件夹中的文件","instanceShell.filesShell.search.empty":"没有匹配的文件。","instanceShell.filesShell.actions.copyPath":"复制路径","instanceShell.filesShell.toast.copyPathSuccess":"路径已复制","instanceShell.filesShell.toast.copyPathError":"无法复制路径","instanceShell.filesShell.previewMarkdown":"Markdown 预览","instanceShell.filesShell.showSource":"显示源码","instanceShell.filesShell.enableWordWrap":"启用自动换行","instanceShell.filesShell.disableWordWrap":"禁用自动换行","instanceShell.diff.hideUnchanged":"隐藏未更改区域","instanceShell.diff.showFull":"显示完整文件","instanceShell.diff.switchToSplit":"切换到分栏视图","instanceShell.diff.switchToUnified":"切换到统一视图","instanceShell.diff.enableWordWrap":"启用自动换行","instanceShell.diff.disableWordWrap":"禁用自动换行","instanceShell.worktree.create":"+ 创建 worktree","instanceShell.plan.noSessionSelected":"选择会话以查看计划。","instanceShell.plan.empty":"暂无计划。","instanceShell.yoloMode.noSessionSelected":"请选择一个会话来配置 Yolo 模式。","instanceShell.yoloMode.title":"Yolo 模式","instanceShell.yoloMode.description":"自动批准此会话的权限请求。默认关闭。","instanceShell.yoloMode.badge":"Yolo","instanceShell.yoloMode.badgeAriaLabel":"Yolo 模式已启用","instanceShell.backgroundProcesses.empty":"没有后台进程。","instanceShell.backgroundProcesses.status":"状态:{status}","instanceShell.backgroundProcesses.output":"输出:{sizeKb}KB","instanceShell.backgroundProcesses.notify.enabled":"已启用完成通知","instanceShell.backgroundProcesses.notify.disabled":"已禁用完成通知","instanceShell.backgroundProcesses.actions.output":"输出","instanceShell.backgroundProcesses.actions.stop":"停止","instanceShell.backgroundProcesses.actions.terminate":"终止","instanceShell.worktree.delete.error.title":"删除失败","instanceShell.worktree.delete.error.fallback":"删除 worktree 失败","instanceShell.worktree.delete.error.causeLabel":"可能原因:","instanceShell.worktree.delete.error.nextStepLabel":"建议的下一步:","instanceShell.worktree.delete.error.summary.localChanges":"Git 拒绝删除这个 worktree,因为其中包含已修改或未跟踪的文件。","instanceShell.worktree.delete.error.summary.inUse":"CodeNomad 无法删除这个 worktree,因为目录中的文件仍在被某些进程使用。","instanceShell.worktree.delete.error.summary.notFound":"CodeNomad 无法删除这个 worktree,因为目录或 worktree 记录未找到。","instanceShell.worktree.delete.error.summary.permissionDenied":"CodeNomad 无法删除这个 worktree,因为目录访问被拒绝。","instanceShell.worktree.delete.error.summary.unknown":"CodeNomad 无法删除这个 worktree。","instanceShell.worktree.delete.error.cause.localChanges":"本地更改","instanceShell.worktree.delete.error.cause.inUse":"另一个进程正在使用这个 worktree","instanceShell.worktree.delete.error.cause.notFound":"worktree 目录或记录缺失","instanceShell.worktree.delete.error.cause.permissionDenied":"文件系统权限不足","instanceShell.worktree.delete.error.cause.unknown":"后端返回了未分类的删除错误","instanceShell.worktree.delete.error.nextStep.localChanges":"如果你想丢弃本地更改,请启用强制删除,或者先清理 worktree 后再重试。","instanceShell.worktree.delete.error.nextStep.inUse":"关闭正在使用这个 worktree 的终端、编辑器、watcher 或后台进程,然后再试一次。","instanceShell.worktree.delete.error.nextStep.notFound":"刷新 worktree 列表后再试一次。如果仍然失败,请检查磁盘上的 worktree 路径。","instanceShell.worktree.delete.error.nextStep.permissionDenied":"检查文件系统权限,并关闭可能锁定此目录的应用程序,然后再试一次。","instanceShell.worktree.delete.error.nextStep.unknown":"查看下方原始错误详情,并在处理提示的问题后再次重试。","instanceShell.worktree.delete.error.copyRaw":"复制错误","instanceShell.worktree.delete.error.copySanitized":"复制脱敏内容","instanceShell.worktree.delete.error.copySuccess":"已复制删除错误","instanceShell.worktree.delete.error.copySanitizedSuccess":"已复制脱敏后的删除错误","instanceShell.worktree.delete.error.copyFailure":"复制删除错误失败","versionPill.appWithVersion":"应用 {version}","versionPill.ui":"UI","versionPill.uiWithVersion":"UI {version}","versionPill.source":" ({source})","opencodeBinarySelector.title":"OpenCode 可执行文件","opencodeBinarySelector.subtitle":"选择 OpenCode 要运行的可执行文件","opencodeBinarySelector.customPath.placeholder":"输入 opencode 可执行文件路径…","opencodeBinarySelector.actions.add":"添加","opencodeBinarySelector.actions.browse":"浏览可执行文件…","opencodeBinarySelector.actions.removeTitle":"移除可执行文件","opencodeBinarySelector.badge.systemPath":"使用系统 PATH 中的可执行文件","opencodeBinarySelector.status.checkingVersions":"正在检查版本…","opencodeBinarySelector.status.checking":"正在检查…","opencodeBinarySelector.dialog.title":"选择 OpenCode 可执行文件","opencodeBinarySelector.dialog.description":"浏览 CLI 服务器暴露的文件。","opencodeBinarySelector.validation.invalidBinary":"无效的 OpenCode 可执行文件","opencodeBinarySelector.validation.alreadyValidating":"正在验证中","opencodeBinarySelector.display.systemPath":"{name}(系统 PATH)","opencodeBinarySelector.versionLabel":"v{version}"},r={"loadingScreen.logoAlt":"CodeNomad 徽标","loadingScreen.status.issue":"遇到问题","loadingScreen.actions.showAnother":"换一句","loadingScreen.errors.missingRoot":"未找到加载根元素","loadingScreen.phrases.neurons":"正在热身 AI 神经元…","loadingScreen.phrases.daydreaming":"正在劝 AI 别再走神…","loadingScreen.phrases.goggles":"正在擦亮 AI 的代码护目镜…","loadingScreen.phrases.reorganizingFiles":"正在请求 AI 别再帮你重排文件…","loadingScreen.phrases.coffee":"正在给 AI 加杯咖啡…","loadingScreen.phrases.nodeModules":"正在教 AI 别再删除 node_modules(又一次)…","loadingScreen.phrases.actNatural":"正在提醒 AI 在你到来前表现自然点…","loadingScreen.phrases.rewritingHistory":"正在请 AI 别再重写历史…","loadingScreen.phrases.stretch":"正在让 AI 在编码冲刺前伸个懒腰…","loadingScreen.phrases.keyboardControl":"正在说服 AI 把键盘控制权交给你…"},c={"logsView.title":"服务器日志","logsView.actions.show":"显示服务器日志","logsView.actions.hide":"隐藏服务器日志","logsView.actions.clear":"清除日志","logsView.actions.back":"返回对话","logsView.envVars.title":"环境变量({count})","logsView.paused.title":"服务器日志已暂停","logsView.paused.description":"启用流式输出以查看 OpenCode 服务器活动。","logsView.empty.waiting":"正在等待服务器输出...","logsView.scrollToTop":"滚动到顶部","logsView.scrollToBottom":"滚动到底部","infoView.logs.title":"服务器日志","infoView.logs.actions.show":"显示服务器日志","infoView.logs.actions.hide":"隐藏服务器日志","infoView.logs.actions.clear":"清除日志","infoView.logs.actions.back":"返回对话","infoView.logs.paused.title":"服务器日志已暂停","infoView.logs.paused.description":"启用流式输出以查看 OpenCode 服务器活动。","infoView.logs.empty.waiting":"正在等待服务器输出...","infoView.logs.scrollToTop":"滚动到顶部","infoView.logs.scrollToBottom":"滚动到底部","infoView.dispose.actions.dispose":"释放实例","infoView.dispose.actions.disposing":"正在释放...","infoView.dispose.confirm.title":"要释放实例吗?","infoView.dispose.confirm.message":"这将清除此目录的项目缓存状态,并重新加载实例。","infoView.dispose.confirm.confirmLabel":"释放","infoView.dispose.confirm.cancelLabel":"取消","infoView.dispose.toast.success":"实例已释放。正在重新加载...","infoView.dispose.toast.error":"释放实例失败。"},d={"markdown.codeBlock.copy.label":"复制","markdown.codeBlock.copy.copied":"已复制!","markdown.codeBlock.copy.failed":"失败","markdown.codeBlock.wrap.enable":"启用自动换行","markdown.codeBlock.wrap.disable":"禁用自动换行","markdown.copy":"复制"},p={"messageListHeader.sidebar.openSessionListAriaLabel":"打开会话列表","messageListHeader.metrics.usedLabel":"已用","messageListHeader.metrics.availableLabel":"可用","messageListHeader.commandPalette.ariaLabel":"打开命令面板","messageListHeader.commandPalette.button":"命令面板","messageListHeader.connection.connected":"已连接","messageListHeader.connection.connecting":"连接中...","messageListHeader.connection.disconnected":"已断开","messageSection.empty.logoAlt":"CodeNomad 徽标","messageSection.empty.brandTitle":"CodeNomad","messageSection.empty.title":"开始对话","messageSection.empty.description":"在下方输入消息,或打开命令面板:","messageSection.empty.tips.commandPalette":"命令面板","messageSection.empty.tips.askAboutCodebase":"询问你的代码库","messageSection.empty.tips.attachFilesPrefix":"通过以下方式附加文件","messageSection.loading.messages":"正在加载消息...","messageSection.loadError.title":"无法加载消息","messageSection.loadError.reload":"重新加载消息","messageSection.scroll.toFirstAriaLabel":"滚动到第一条消息","messageSection.scroll.toLatestAriaLabel":"滚动到最新消息","messageSection.scroll.showControlsAriaLabel":"显示滚动控件","messageSection.scroll.enableHoldAriaLabel":"启用长助手回复保持","messageSection.scroll.disableHoldAriaLabel":"禁用长助手回复保持","messageSection.quote.addAsQuote":"作为引用添加","messageSection.quote.addAsCode":"作为代码添加","messageSection.quote.copy":"复制","messageSection.quote.copied":"已复制!","messageSection.quote.copyFailed":"无法复制","messageSection.search.ariaLabel":"搜索聊天历史","messageSection.search.placeholder":"搜索当前聊天...","messageSection.search.count.empty":"搜索","messageSection.search.count.minChars":"{count}+ 个字符","messageSection.search.count.searching":"正在搜索...","messageSection.search.count.none":"无匹配项","messageSection.search.count.matches":"{current} / {total}","messageSection.search.previousAriaLabel":"上一个匹配项","messageSection.search.nextAriaLabel":"下一个匹配项","messageSection.search.closeAriaLabel":"关闭搜索","messageSection.search.searching":"正在搜索...","messageSection.search.noVisibleMatches":"没有可见匹配项","messageTimeline.ariaLabel":"消息时间线","messageTimeline.segment.user.label":"你","messageTimeline.segment.assistant.label":"助手","messageTimeline.segment.compaction.label":"压缩","messageTimeline.tool.fallbackLabel":"工具调用","messageTimeline.tooltip.userFallback":"用户消息","messageTimeline.tooltip.assistantFallback":"助手回复","messageTimeline.tooltip.compaction.auto":"自动压缩","messageTimeline.tooltip.compaction.manual":"手动压缩","messageTimeline.text.filePrefix":"[文件] {filename}","messageTimeline.text.attachment":"附件","messageBlock.tool.header":"工具调用","messageBlock.tool.unknown":"未知","messageBlock.tool.goToSession.label":"前往会话","messageBlock.tool.goToSession.title":"前往会话","messageBlock.tool.goToSession.unavailableTitle":"会话尚不可用","messageBlock.tool.deletePart.label":"删除部分","messageBlock.tool.deletePart.deleting":"正在删除...","messageBlock.tool.deletePart.title":"删除此工具输出","messageBlock.tool.deletePart.failed.title":"删除失败","messageBlock.tool.deletePart.failed.message":"删除工具输出失败","messageBlock.compaction.ariaLabel":"会话压缩","messageBlock.compaction.autoLabel":"会话已自动压缩","messageBlock.compaction.manualLabel":"会话已由你压缩","messageBlock.usage.input":"输入","messageBlock.usage.output":"输出","messageBlock.usage.reasoning":"推理","messageBlock.usage.cacheRead":"缓存读取","messageBlock.usage.cacheWrite":"缓存写入","messageBlock.usage.cost":"费用","messageBlock.step.agentLabel":"智能体:{agent}","messageBlock.step.modelLabel":"模型:{model}","messageBlock.reasoning.thinkingLabel":"思考","messageBlock.reasoning.expandAriaLabel":"展开思考","messageBlock.reasoning.collapseAriaLabel":"折叠思考","messageBlock.reasoning.indicator.hide":"隐藏","messageBlock.reasoning.indicator.view":"查看","messageBlock.reasoning.detailsAriaLabel":"推理详情","messageBlock.reasoning.thoughtsFallback":"思考","messageBlock.reasoning.thoughtFor.seconds.one":"思考了 {count} 秒","messageBlock.reasoning.thoughtFor.seconds.other":"思考了 {count} 秒","messageBlock.reasoning.thoughtFor.minutes.one":"思考了 {count} 分钟","messageBlock.reasoning.thoughtFor.minutes.other":"思考了 {count} 分钟","messageBlock.reasoning.thoughtFor.hours.one":"思考了 {count} 小时","messageBlock.reasoning.thoughtFor.hours.other":"思考了 {count} 小时","messageBlock.reasoning.copyTitle":"复制思考","messageBlock.reasoning.copyAriaLabel":"复制思考","codeBlockInline.actions.copy":"复制","codeBlockInline.actions.copied":"已复制!","messageItem.speaker.you":"你","messageItem.speaker.assistant":"助手","messageItem.actions.revert":"回退","messageItem.actions.revertTitle":"撤销到此处的更改(会删除消息)","messageItem.actions.fork":"分叉","messageItem.actions.forkTitle":"从这条消息分叉","messageItem.actions.copy":"复制","messageItem.actions.copyTitle":"复制消息","messageItem.actions.copied":"已复制!","messageItem.actions.more":"更多操作","messageItem.actions.speak":"朗读消息","messageItem.actions.generatingSpeech":"正在生成语音","messageItem.actions.stopSpeech":"停止播放","messageItem.actions.speak.error.title":"语音播放失败","messageItem.actions.speak.error.unsupported":"此浏览器不支持语音播放。","messageItem.actions.speak.error.unavailable":"语音设置完成前,语音播放不可用。","messageItem.actions.speak.error.generate":"无法为这条消息生成语音。","messageItem.actions.deleteMessage":"删除消息(不会撤销更改)","messageItem.actions.deleteMessagesUpTo":"删除到此处的消息(不会撤销更改)","messageItem.actions.deletingMessage":"正在删除...","messageItem.actions.deleteMessageFailedTitle":"删除失败","messageItem.actions.deleteMessageFailedMessage":"无法删除消息","messageItem.selection.checkboxAriaLabel":"选择要删除的消息","messageItem.selection.selectForDeletion":"选择要删除的消息","messageItem.selection.deselectForDeletion":"取消选择要删除的消息","messageItem.duration.workedFor.seconds.one":"工作了 {count} 秒","messageItem.duration.workedFor.seconds.other":"工作了 {count} 秒","messageItem.duration.workedFor.minutes.one":"工作了 {count} 分钟","messageItem.duration.workedFor.minutes.other":"工作了 {count} 分钟","messageItem.duration.workedFor.hours.one":"工作了 {count} 小时","messageItem.duration.workedFor.hours.other":"工作了 {count} 小时","messageSection.bulkDelete.toolbarAriaLabel":"已选择的项目({count})","messageSection.bulkDelete.deleteSelectedTitle":"删除已选择的项目","messageSection.bulkDelete.selectAllTitle":"全选消息","messageSection.bulkDelete.moreOptionsTitle":"更多选项","messageSection.bulkDelete.selectionModeLabel":"选择","messageSection.bulkDelete.selectionModeAll":"全部","messageSection.bulkDelete.selectionModeTools":"仅工具","messageSection.bulkDelete.selectionHint.toggle":"选择项目","messageSection.bulkDelete.selectionHint.range":"选择范围","messageSection.bulkDelete.selectionHint.clear":"清除选择","messageSection.bulkDelete.cancelTitle":"取消选择","messageSection.bulkDelete.failedTitle":"删除失败","messageSection.bulkDelete.failedMessage":"无法删除已选择的项目","messageItem.status.queued":"排队中","messageItem.status.generating":"正在生成...","messageItem.status.sending":"正在发送...","messageItem.status.failedToSend":"消息发送失败","messagePart.actions.delete":"删除部分","messagePart.actions.deleting":"正在删除...","messagePart.actions.deleteTitle":"删除此项","messagePart.actions.deleteFailedTitle":"删除失败","messagePart.actions.deleteFailedMessage":"删除失败","messagePart.pastedText.summary":"粘贴的文本","messagePart.pastedText.lines.one":"{count} 行","messagePart.pastedText.lines.other":"{count} 行","messagePart.pastedText.copyAriaLabel":"复制粘贴文本块","messageItem.attachment.defaultName":"附件","messageItem.attachment.downloadAriaLabel":"下载 {name}","messageItem.agentMeta.agentLabel":"智能体:{agent}","messageItem.agentMeta.modelLabel":"模型:{model}","messageItem.errors.authenticationFallback":"认证错误","messageItem.errors.outputLengthExceeded":"消息输出长度超限","messageItem.errors.requestAborted":"请求已中止","messageItem.errors.unknownFallback":"发生未知错误","attachmentChip.removeAriaLabel":"移除附件","expandButton.toggleAriaLabel":"切换聊天输入框高度","promptInput.placeholder.shell":"运行 shell 命令(Esc 退出)...","promptInput.placeholder.default":"输入消息、@file、@agent,或粘贴图片与文本...","promptInput.hints.shell.exit":"退出 shell 模式","promptInput.hints.shell.enable":"Shell 模式","promptInput.hints.commands":"命令","promptInput.history.previousAriaLabel":"上一条 prompt","promptInput.history.nextAriaLabel":"下一条 prompt","promptInput.overlay.newLine":"换行","promptInput.overlay.send":"发送","promptInput.overlay.filesAgents":"文件/智能体","promptInput.overlay.history":"历史","promptInput.overlay.attachments":"• 已附加 {count} 个文件","promptInput.overlay.shellModeActive":"Shell 模式已启用","promptInput.overlay.press":"按下","promptInput.overlay.againToAbort":"再次按下以中止会话","promptInput.stopSession.ariaLabel":"停止会话","promptInput.stopSession.title":"停止会话","promptInput.attachFiles.ariaLabel":"附加文件","promptInput.attachFiles.title":"附加文件","promptInput.attachFiles.dialogTitle":"附加文件","promptInput.attachFiles.errorTitle":"附加失败","promptInput.attachFiles.skipped.title":"部分文件未附加","promptInput.attachFiles.skipped.one":"由于当前环境未提供文件路径或支持的预览数据,1 个选中的文件无法附加。","promptInput.attachFiles.skipped.other":"由于当前环境未提供文件路径或支持的预览数据,{count} 个选中的文件无法附加。","promptInput.attachFiles.tooLarge.one":"由于超过 5 MB 附件大小限制,1 个选中的文件无法附加。","promptInput.clear.ariaLabel":"清除输入框文本","promptInput.clear.title":"清除输入框文本","promptInput.send.ariaLabel":"发送消息","promptInput.send.errorFallback":"发送消息失败","promptInput.send.errorTitle":"发送失败","promptInput.conversationMode.enable.title":"开启对话模式","promptInput.conversationMode.disable.title":"关闭对话模式","promptInput.conversationMode.error.title":"对话播报失败","promptInput.conversationMode.error.message":"无法继续播报助手回复。","promptInput.voiceInput.start.title":"开始语音输入","promptInput.voiceInput.stop.title":"停止录音并转写","promptInput.voiceInput.transcribing.title":"正在转写音频","promptInput.voiceInput.error.title":"语音输入失败","promptInput.voiceInput.error.permission":"录制语音输入需要麦克风访问权限。","promptInput.voiceInput.error.permissionDenied":"macOS 已拒绝麦克风访问。","promptInput.voiceInput.error.unsupported":"此浏览器不支持语音输入。","promptInput.voiceInput.error.transcribe":"无法转写录制的音频。","promptInput.resizeHandle.title":"拖动以调整输入框高度"},m={"remoteAccess.eyebrow":"远程接管","remoteAccess.title":"远程连接到 CodeNomad","remoteAccess.subtitle":"使用下面的地址从其他设备打开 CodeNomad。","remoteAccess.close":"关闭远程访问","remoteAccess.refresh":"刷新","remoteAccess.sections.listeningMode.label":"监听模式","remoteAccess.sections.listeningMode.help":"通过绑定到所有接口或仅 localhost 来允许或限制远程接管。","remoteAccess.toggle.on":"开","remoteAccess.toggle.off":"关","remoteAccess.toggle.title":"允许其他 IP 连接","remoteAccess.toggle.caption.all":"绑定到 0.0.0.0","remoteAccess.toggle.caption.local":"绑定到 127.0.0.1","remoteAccess.toggle.note":"更改此项需要重启,并会暂时停止所有活动实例。服务器重启后再分享下方地址。","remoteAccess.listeningMode.restartConfirm.message":"重启以应用监听模式?这将停止所有正在运行的实例。","remoteAccess.listeningMode.restartConfirm.title.all":"对其他设备开放","remoteAccess.listeningMode.restartConfirm.title.local":"仅限此设备","remoteAccess.listeningMode.restartConfirm.confirmLabel":"立即重启","remoteAccess.listeningMode.restartConfirm.cancelLabel":"取消","remoteAccess.restart.errorManual":"无法自动重启。请手动重启应用以应用更改。","remoteAccess.sections.serverPassword.label":"服务器密码","remoteAccess.sections.serverPassword.help":"远程接管需要密码。设置一个易记的密码,以允许其他设备登录。","remoteAccess.authStatus.unavailable":"无法获取认证状态。","remoteAccess.username":"用户名:{username}","remoteAccess.password.status.set":"已为远程访问设置密码。","remoteAccess.password.status.unset":"尚未设置易记密码。设置后可允许远程接管登录。","remoteAccess.password.actions.cancel":"取消","remoteAccess.password.actions.change":"修改密码","remoteAccess.password.actions.set":"设置密码","remoteAccess.password.form.newPassword":"新密码","remoteAccess.password.form.confirmPassword":"确认密码","remoteAccess.password.form.placeholder":"至少 8 个字符","remoteAccess.password.error.tooShort":"密码至少需要 8 个字符。","remoteAccess.password.error.mismatch":"两次输入的密码不一致。","remoteAccess.password.save.saving":"正在保存…","remoteAccess.password.save.label":"保存密码","remoteAccess.sections.addresses.label":"可访问地址","remoteAccess.sections.addresses.help":"从另一台设备打开或扫描,以接管控制权。","remoteAccess.addresses.loading":"正在加载地址…","remoteAccess.addresses.none":"暂时没有可用地址。","remoteAccess.addresses.actions.showOther":"显示另外 {count} 个地址","remoteAccess.addresses.actions.hideOther":"隐藏其他地址","remoteAccess.address.scope.network":"网络","remoteAccess.address.scope.loopback":"回环","remoteAccess.address.scope.internal":"内部","remoteAccess.address.open":"打开","remoteAccess.address.showQr":"显示二维码","remoteAccess.address.hideQr":"隐藏二维码","remoteAccess.address.qrAlt":"{url} 的二维码"},g={"sessionPicker.title":"OpenCode • {folder}","sessionPicker.empty.noPrevious":"没有历史会话","sessionPicker.resume.title":"继续会话({count}):","sessionPicker.session.untitled":"未命名","sessionPicker.divider.or":"或","sessionPicker.new.title":"开始新会话:","sessionPicker.agents.loading":"正在加载智能体...","sessionPicker.actions.creating":"正在创建...","sessionPicker.actions.createSession":"创建会话","sessionPicker.actions.cancel":"取消","sessionList.header.title":"会话","sessionList.session.untitled":"未命名","sessionList.status.working":"工作中","sessionList.status.compacting":"压缩中","sessionList.status.idle":"空闲","sessionList.status.interrupted":"已中断","sessionList.status.retrying":"重试中","sessionList.status.retryingIn":"{seconds} 秒后重试","sessionList.status.retryTooltip":"{message}(第 {attempt} 次尝试)","sessionList.status.retryToast":"{countdown}: {message}(第 {attempt} 次尝试)","sessionList.status.needsPermission":"需要权限","sessionList.status.needsInput":"需要输入","sessionList.expand.collapseAriaLabel":"折叠会话","sessionList.expand.expandAriaLabel":"展开会话","sessionList.expand.collapseTitle":"折叠","sessionList.expand.expandTitle":"展开","sessionList.actions.newSession.ariaLabel":"新建会话","sessionList.actions.newSession.title":"新建会话","sessionList.actions.copyId.ariaLabel":"复制会话 ID","sessionList.actions.copyId.title":"复制会话 ID","sessionList.actions.reload.ariaLabel":"重新加载会话","sessionList.actions.reload.title":"重新加载会话","sessionList.actions.rename.ariaLabel":"重命名会话","sessionList.actions.rename.title":"重命名会话","sessionList.actions.delete.ariaLabel":"删除会话","sessionList.actions.delete.title":"删除会话","sessionList.copyId.success":"已复制会话 ID","sessionList.copyId.error":"无法复制会话 ID","sessionList.reload.error":"无法重新加载会话","sessionList.delete.error":"无法删除会话","sessionList.delete.title":"删除会话","sessionList.delete.confirmMessage":"删除“{label}”?此操作无法撤销。","sessionList.delete.confirmLabel":"删除","sessionList.delete.cancelLabel":"取消","sessionList.rename.error":"无法重命名会话","sessionList.filter.placeholder":"搜索会话…","sessionList.filter.ariaLabel":"搜索会话","sessionList.loading.more":"正在加载更多会话…","sessionList.selection.selectAllLabel":"全选","sessionList.selection.selectAllAriaLabel":"选择所有会话","sessionList.selection.clearLabel":"清除","sessionList.selection.clearAriaLabel":"清除选择","sessionList.selection.checkboxAriaLabel":"选择会话","sessionList.bulkDelete.button":"删除 {count}","sessionList.bulkDelete.ariaLabel":"删除已选择的 {count} 个会话","sessionList.bulkDelete.title":"删除会话","sessionList.bulkDelete.confirmMessage":"删除已选择的 {count} 个会话?此操作无法撤销。","sessionList.bulkDelete.confirmLabel":"删除","sessionList.bulkDelete.cancelLabel":"取消","sessionList.bulkDelete.error":"无法删除 {count} 个会话","sessionRenameDialog.title":"重命名会话","sessionRenameDialog.description.withLabel":"更新“{label}”的标题。","sessionRenameDialog.description.default":"为此会话设置新标题。","sessionRenameDialog.input.label":"会话名称","sessionRenameDialog.input.placeholder":"输入会话名称","sessionRenameDialog.actions.cancel":"取消","sessionRenameDialog.actions.rename":"重命名","sessionRenameDialog.actions.renaming":"正在重命名…","sessionView.fallback.sessionNotFound":"未找到会话","sessionView.alerts.abortFailed.message":"停止会话失败","sessionView.alerts.abortFailed.title":"停止失败","sessionView.alerts.revertFailed.message":"回退到消息失败","sessionView.alerts.revertFailed.title":"回退失败","sessionView.alerts.deleteUpToFailed.message":"无法删除消息","sessionView.alerts.deleteUpToFailed.title":"删除失败","sessionView.alerts.forkFailed.message":"分叉会话失败","sessionView.alerts.forkFailed.title":"分叉失败","sessionView.attachments.expandPastedTextAriaLabel":"展开粘贴的文本","sessionView.attachments.insertPastedTextTitle":"插入粘贴的文本","sessionView.attachments.removeAriaLabel":"移除附件","sessionPreview.title":"网页预览","sessionPreview.backToChat":"返回聊天","sessionPreview.close":"关闭预览","sessionPreview.chat.button":"返回聊天","sessionPreview.open.button":"打开网页预览","sessionPreview.open.title":"打开网页预览","sessionPreview.open.prompt":"输入可信的本地或预发布 URL,以便在此会话中预览。","sessionPreview.open.label":"预览 URL","sessionPreview.open.placeholder":"https://staging.example.com","sessionPreview.open.confirm":"打开预览","sessionPreview.open.cancel":"取消","sessionPreview.comment.mode":"评论模式","sessionPreview.comment.title":"添加预览评论","sessionPreview.comment.prompt":"描述所选元素需要更改的内容。","sessionPreview.comment.label":"评论","sessionPreview.comment.add":"添加评论","sessionPreview.comment.cancel":"取消","browserFrame.viewport":"视口大小","browserFrame.viewport.responsive":"响应式视口","browserFrame.viewport.desktop":"桌面视口 (1440 x 900)","browserFrame.viewport.tablet":"平板视口 (768 x 1024)","browserFrame.viewport.tabletLandscape":"平板横屏 (1024 x 768)","browserFrame.viewport.mobile":"移动视口 (390 x 844)","browserFrame.viewport.mobileLandscape":"移动横屏 (844 x 390)","sessionEvents.sessionCompactedToast":"会话 {label} 已被压缩","sessionEvents.sessionError.unknown":"未知错误","sessionEvents.sessionError.title":"会话错误","sessionEvents.sessionError.message":"错误:{message}","sessionState.cleanup.deepConfirm.message":"此清理可能较慢,并且可能删除你并不想删除的会话。确定要继续吗?","sessionState.cleanup.deepConfirm.title":"深度清理会话","sessionState.cleanup.deepConfirm.detail":"深度清理会话将删除所有没有消息的会话、移除已完成的子智能体会话,并清除会话中未使用的分叉。","sessionState.cleanup.deepConfirm.confirmLabel":"继续","sessionState.cleanup.deepConfirm.cancelLabel":"取消","sessionState.cleanup.toast.one":"已清理 {count} 个空白会话","sessionState.cleanup.toast.other":"已清理 {count} 个空白会话"},u={"instanceServiceStatus.sections.lsp":"LSP 服务器","instanceServiceStatus.sections.mcp":"MCP 服务器","instanceServiceStatus.sections.plugins":"插件","instanceServiceStatus.lsp.loading":"正在加载 LSP 服务器...","instanceServiceStatus.lsp.empty":"未检测到 LSP 服务器。","instanceServiceStatus.lsp.status.connected":"已连接","instanceServiceStatus.lsp.status.error":"错误","instanceServiceStatus.mcp.loading":"正在加载 MCP 服务器...","instanceServiceStatus.mcp.empty":"未检测到 MCP 服务器。","instanceServiceStatus.mcp.toggleAriaLabel":"切换 {name} MCP 服务器","instanceServiceStatus.plugins.loading":"正在加载插件...","instanceServiceStatus.plugins.empty":"未配置插件。","permissionBanner.pendingRequests.one":"{count} 个待处理请求","permissionBanner.pendingRequests.other":"{count} 个待处理请求","permissionBanner.detail.permission.one":"{count} 项权限","permissionBanner.detail.permission.other":"{count} 项权限","permissionBanner.detail.question.one":"{count} 个问题","permissionBanner.detail.question.other":"{count} 个问题","permissionBanner.detail.wrapper":" ({detail})","agentSelector.placeholder":"选择智能体...","agentSelector.badge.subagent":"子智能体","agentSelector.none":"无","agentSelector.trigger.primary":"智能体:{agent}","modelSelector.placeholder.search":"搜索模型...","modelSelector.none":"无","modelSelector.trigger.primary":"模型:{model}","modelSelector.favoritesOnly.toggle.ariaLabel":"仅显示收藏","modelSelector.favoritesOnly.showAll":"显示所有模型","modelSelector.favorite.add":"添加到收藏","modelSelector.favorite.remove":"从收藏移除","modelSelector.manageProviders":"管理提供商","thinkingSelector.variant.default":"默认","thinkingSelector.label":"思考:{variant}","envEditor.title":"环境变量","envEditor.count.one":"({count} 个变量)","envEditor.count.other":"({count} 个变量)","envEditor.fields.name.placeholder":"变量名","envEditor.fields.name.readOnlyTitle":"变量名(只读)","envEditor.fields.value.placeholder":"变量值","envEditor.fields.secure.enabled":"值已隐藏(安全)","envEditor.fields.secure.disabled":"点击隐藏值","envEditor.fields.secure.masked":"值已隐藏(安全)","envEditor.actions.remove.title":"移除变量","envEditor.actions.add.title":"添加变量","envEditor.empty":"未配置环境变量。在上方添加变量以自定义 OpenCode 环境。","envEditor.help":"启动实例时,这些变量将在 OpenCode 环境中可用。","contextUsagePanel.headings.tokens":"令牌","contextUsagePanel.headings.context":"上下文","contextUsagePanel.labels.input":"输入","contextUsagePanel.labels.output":"输出","contextUsagePanel.labels.cost":"费用","contextUsagePanel.labels.totalInput":"总输入","contextUsagePanel.labels.totalOutput":"总输出","contextUsagePanel.labels.totalCost":"总费用","contextUsagePanel.labels.totalReasoning":"总推理","contextUsagePanel.labels.used":"已用","contextUsagePanel.labels.available":"可用","contextUsagePanel.unavailable":"--","providerUsage.title":"套餐用量","providerUsage.tooltip":"活动会话所选提供商的用量和重置周期。","providerUsage.noSession":"请选择一个会话以查看套餐用量。","providerUsage.loading":"正在加载用量...","providerUsage.unsupported":"此提供商不支持用量查询。","providerUsage.notConfigured":"未找到兼容的订阅凭据。","providerUsage.unavailable":"用量暂时不可用。","providerUsage.unavailableValue":"--","providerUsage.usedPercent":"已使用 {percent}%","providerUsage.resets":"重置时间 {time}","providerUsage.progressLabel":"{window} 套餐用量","providerUsage.windows.fiveHours":"5 小时","providerUsage.windows.sevenDays":"7 天","providerUsage.windows.sevenDaysSonnet":"7 天 · Sonnet","providerUsage.windows.sevenDaysOpus":"7 天 · Opus","providerUsage.windows.weekly":"每周","providerUsage.windows.daily":"每日","providerUsage.windows.monthly":"每月","providerUsage.windows.credits":"额度","providerUsage.windows.creditsBalance":"额度余额","providerUsage.windows.billingCycle":"计费周期","providerUsage.windows.session":"会话","providerUsage.windows.premium":"高级请求","providerUsage.windows.chat":"聊天","providerUsage.windows.completions":"补全","providerUsage.windows.mcpTools":"MCP 工具","settings.title":"设置","settings.navigationAriaLabel":"设置分区","settings.close":"关闭设置","settings.content.eyebrow":"工作区偏好设置","settings.open.title":"打开设置","settings.open.ariaLabel":"打开设置","settings.nav.appearance":"外观","settings.nav.notifications":"通知","settings.nav.remote":"远程访问","settings.nav.speech":"语音","settings.nav.providers":"提供商","settings.nav.opencode":"OpenCode","settings.nav.configFiles":"配置文件","settings.nav.info":"信息","settings.scope.device":"此设备","settings.scope.server":"服务器设置","settings.common.enabled":"已启用","settings.common.disabled":"已禁用","settings.section.appearance.title":"外观","settings.section.appearance.subtitle":"调整此设备上的应用外观。","settings.appearance.theme.title":"主题","settings.appearance.theme.subtitle":"选择整个应用使用的颜色模式。","settings.appearance.theme.option.system":"跟随操作系统设置","settings.appearance.theme.option.light":"使用浅色外观","settings.appearance.theme.option.dark":"使用深色外观","settings.appearance.startup.title":"启动","settings.appearance.startup.subtitle":"选择 CodeNomad 启动时在此设备上恢复的内容。","settings.appearance.startup.restore.title":"恢复上次状态","settings.appearance.startup.restore.subtitle":"重新打开工作区和边栏标签页、活动会话、草稿、滚动位置和面板布局。","settings.appearance.startup.clear.title":"已保存的启动状态","settings.appearance.startup.clear.subtitle":"移除已保存的标签页、草稿、滚动位置和面板布局。不会删除 CodeNomad 或 OpenCode 数据。","settings.appearance.startup.clear.action":"清除已保存状态","settings.appearance.startup.clearSuccess":"已清除保存的启动状态。","settings.appearance.startup.clearError":"无法清除保存的启动状态。","settings.appearance.startup.updateError":"无法更新启动恢复设置。","settings.section.notifications.title":"通知","settings.section.notifications.subtitle":"控制会话活动的系统级通知。","settings.notifications.permission.granted":"已授予","settings.notifications.permission.denied":"已拒绝","settings.notifications.permission.default":"未授予","settings.notifications.permission.unsupported":"不支持","settings.notifications.messages.unsupportedEnvironment":"此环境不支持系统通知。","settings.notifications.messages.permissionDenied":"通知权限已被拒绝。请在系统或浏览器设置中启用通知。","settings.notifications.messages.permissionNotGranted":"尚未授予通知权限。","settings.notifications.messages.unsupportedGeneral":"此环境不支持通知。","settings.notifications.messages.permissionGranted":"权限已授予。你现在可以启用通知。","settings.notifications.messages.permissionRequestDenied":"权限被拒绝。你可能需要在系统或浏览器设置中启用通知。","settings.notifications.sessionStatus.title":"会话状态通知","settings.notifications.sessionStatus.subtitle":"当会话需要你关注时接收提醒。","settings.notifications.enable.title":"启用通知","settings.notifications.enable.permission":"权限:{permission}","settings.notifications.requestPermission.title":"请求权限","settings.notifications.requestPermission.subtitle":"允许应用在此设备上发送通知。","settings.notifications.requestPermission.action":"请求","settings.notifications.allowVisible.title":"应用获得焦点时也通知","settings.notifications.allowVisible.subtitle":"即使此窗口可见,也保持提醒启用。","settings.notifications.unsupportedNote":"此环境不支持通知。通知控制项将保持禁用。","settings.notifications.events.title":"在以下情况通知我","settings.notifications.events.subtitle":"选择哪些会话事件应发送提醒。","settings.notifications.events.needsInput":"会话需要输入","settings.notifications.events.idle":"会话变为空闲","settings.notifications.status.enabled":"通知已启用","settings.notifications.status.disabled":"通知已禁用","settings.notifications.status.unsupported":"不支持通知","settings.section.remote.title":"远程访问","settings.section.remote.subtitle":"查看此服务器如何暴露到网络,以及安全访问凭据。","settings.section.opencode.title":"OpenCode","settings.section.opencode.subtitle":"选择新实例使用的 OpenCode 可执行文件和环境。","settings.opencode.runtime.title":"运行时","settings.opencode.runtime.subtitle":"配置新实例启动时使用的 OpenCode 可执行文件。","settings.opencode.logLevel.title":"OpenCode 日志级别","settings.opencode.logLevel.subtitle":"设置启动新的 OpenCode 实例时使用的日志级别。","settings.opencode.logLevel.selector.title":"日志详细程度","settings.opencode.logLevel.selector.subtitle":"选择新的 OpenCode 实例应输出多少日志信息。","settings.opencode.logLevel.option.debug":"调试","settings.opencode.logLevel.option.info":"信息","settings.opencode.logLevel.option.warn":"警告","settings.opencode.logLevel.option.error":"错误","settings.configFiles.title":"配置文件","settings.configFiles.subtitle":"编辑此服务器允许列表中的全局配置文件。","settings.configFiles.selector.label":"文件","settings.configFiles.selector.placeholder":"选择配置文件","settings.configFiles.actions.save":"保存","settings.configFiles.actions.reload":"重新加载","settings.configFiles.state.unsaved":"未保存的更改","settings.configFiles.state.notCreated":"保存时将创建此文件","settings.configFiles.empty":"未选择配置文件。","settings.configFiles.errors.loadList":"加载配置文件失败。","settings.configFiles.errors.loadContent":"加载配置文件内容失败。","settings.configFiles.errors.save":"保存配置文件失败。","settings.configFiles.toast.saveSuccess":"配置文件已保存。","settings.configFiles.toast.saveError":"保存配置文件失败。","settings.configFiles.confirmDiscard.message":"继续前要放弃未保存的更改吗?","settings.configFiles.confirmDiscard.confirmLabel":"放弃更改","settings.configFiles.confirmDiscard.cancelLabel":"继续编辑","settings.providers.title":"提供商认证","settings.providers.subtitle":"为当前 OpenCode 实例连接 API 密钥或 OAuth 账号。","settings.providers.refresh":"刷新","settings.providers.selectProvider":"选择提供商","settings.providers.available.title":"可用提供商","settings.providers.configured.title":"已配置提供商","settings.providers.loading":"正在加载提供商认证方式...","settings.providers.empty.noInstance":"请先启动 OpenCode 工作区,再管理提供商认证。","settings.providers.empty.noProviders":"此 OpenCode 实例没有可用的提供商。","settings.providers.empty.noConfiguredProviders":"此 OpenCode 实例当前未配置任何提供商。","settings.providers.models.one":"{count} 个模型","settings.providers.models.other":"{count} 个模型","settings.providers.actions.connect":"连接","settings.providers.actions.disconnect":"断开连接","settings.providers.actions.remove":"移除已保存认证","settings.providers.actions.close":"关闭","settings.providers.actions.continue":"继续","settings.providers.actions.working":"处理中...","settings.providers.method.title":"认证方式","settings.providers.method.subtitle":"选择 OpenCode 为此提供商暴露的流程。","settings.providers.method.api":"API 密钥","settings.providers.method.oauth":"OAuth","settings.providers.method.mixed":"API 密钥和 OAuth","settings.providers.method.fallback":"API 密钥","settings.providers.status.available":"可用","settings.providers.auth.title":"连接 {provider}","settings.providers.auth.subtitle":"认证信息会保存在当前 OpenCode 服务器中。","settings.providers.apiKey.label":"API 密钥","settings.providers.apiKey.placeholder":"粘贴提供商 API 密钥","settings.providers.oauth.noPrompts":"此 OAuth 方式在打开浏览器前不需要额外信息。","settings.providers.oauth.promptsUnsupported":"此 OAuth 方式需要提供商专属的提示输入,但当前 SDK 构建不支持。","settings.providers.oauth.enterCode":"完成浏览器流程后,粘贴授权码。","settings.providers.oauth.openPage":"打开授权页面","settings.providers.oauth.openHere":"在此标签页打开","settings.providers.oauth.copyLink":"复制链接","settings.providers.oauth.linkCopied":"链接已复制","settings.providers.oauth.popupBlocked":"你的浏览器可能拦截了授权页面。请使用上方操作继续登录流程。","settings.providers.oauth.popup.loadingTitle":"OpenCode 授权","settings.providers.oauth.popup.loadingBody":"正在准备授权页面...","settings.providers.oauth.codeLabel":"授权码","settings.providers.oauth.codePlaceholder":"粘贴提供商返回的代码","settings.providers.oauth.submitCode":"提交代码","settings.providers.oauth.waitingTitle":"等待授权","settings.providers.oauth.cancelWait":"取消","settings.providers.prompt.selectPlaceholder":"选择一个选项","settings.providers.success":"提供商认证已保存。提供商数据已刷新。","settings.providers.source.api":"已保存的提供商认证","settings.providers.source.config":"在 opencode.jsonc 中配置","settings.providers.source.custom":"由自定义提供商逻辑配置","settings.providers.source.env":"由环境变量配置","settings.providers.source.unknown":"已配置的提供商来源","settings.providers.errors.loadFailed":"加载提供商认证方式失败。","settings.providers.errors.noAuthorization":"提供商未返回授权数据。","settings.providers.errors.authorizationFailed":"授权失败。","settings.providers.errors.removeFailed":"移除提供商认证失败。","settings.providers.errors.envDisconnectUnavailable":"此提供商由环境变量配置,无法从界面断开连接。","settings.appearance.behavior.title":"交互","settings.appearance.behavior.subtitle":"消息、差异与输入的默认值。","settings.behavior.expansionPresets.ariaLabel":"Transcript detail presets","settings.behavior.expansionPreset.minimal.title":"Minimal","settings.behavior.expansionPreset.minimal.description":"Keep most generated detail tucked away until needed.","settings.behavior.expansionPreset.balanced.title":"Balanced","settings.behavior.expansionPreset.balanced.description":"Show important actions while keeping noisy reads and fetches compact.","settings.behavior.expansionPreset.detailed.title":"Detailed","settings.behavior.expansionPreset.detailed.description":"Open most tool and thinking output for a fuller transcript.","settings.behavior.expansionPreset.everything.title":"Everything","settings.behavior.expansionPreset.everything.description":"Expand all tool and thinking output by default.","settings.behavior.expansionPreset.custom.title":"Custom","settings.behavior.expansionPreset.custom.description":"Your customized transcript detail defaults.","settings.behavior.expansionDefaults.title":"Expansion defaults","settings.behavior.expansionDefaults.itemColumn":"Item","settings.behavior.expansionDefaults.stateColumn":"Default state","settings.behavior.expansionDefaults.thinking":"thinking","settings.behavior.expansionDefaults.otherTools":"Other tools","settings.behavior.expansionDefaults.rowAriaLabel":"Default state for {item}","settings.behavior.keyboardHints.title":"键盘快捷键提示","settings.behavior.keyboardHints.subtitle":"在整个界面中显示键盘快捷键提示。","settings.behavior.thinking.title":"思考区块","settings.behavior.thinking.subtitle":"在消息中显示或隐藏AI的思考区块。","settings.behavior.thinkingDefault.title":"思考默认状态","settings.behavior.thinkingDefault.subtitle":"选择思考区块默认是展开还是折叠。","settings.behavior.messageTimeline.title":"消息时间线","settings.behavior.messageTimeline.subtitle":"显示或隐藏消息时间线侧边栏。","settings.behavior.timelineTools.title":"时间线工具调用","settings.behavior.timelineTools.subtitle":"在消息时间线中显示或隐藏工具调用条目。","settings.behavior.diffView.title":"差异视图","settings.behavior.diffView.subtitle":"选择工具调用差异的显示方式。","settings.behavior.diffView.option.split":"分栏","settings.behavior.diffView.option.unified":"统一","settings.behavior.toolOutputsDefault.title":"工具输出默认状态","settings.behavior.toolOutputsDefault.subtitle":"选择工具输出默认是展开还是折叠。","settings.behavior.diagnosticsDefault.title":"诊断默认状态","settings.behavior.diagnosticsDefault.subtitle":"选择诊断输出默认是展开还是折叠。","settings.behavior.toolInputsVisibility.title":"工具输入可见性","settings.behavior.toolInputsVisibility.subtitle":"设置工具调用输入参数的默认可见性。","settings.behavior.usageMetrics.title":"令牌用量指标","settings.behavior.usageMetrics.subtitle":"显示或隐藏助手消息的令牌与成本统计。","settings.behavior.autoCleanup.title":"自动清理空会话","settings.behavior.autoCleanup.subtitle":"创建新会话时自动清理空会话。","settings.behavior.keepUnseenSubagentIdle.title":"保留子智能体 idle 标记","settings.behavior.keepUnseenSubagentIdle.subtitle":"让子智能体 idle 标记保持可见直到查看,而不是 5 秒后隐藏。","settings.behavior.tauriNativeEventTransport.title":"Tauri 原生事件传输","settings.behavior.tauriNativeEventTransport.subtitle":"在 Tauri 中使用 Rust 原生桌面事件传输。禁用后将回退到浏览器 EventSource 路径。","settings.behavior.promptVoiceInput.title":"提示词语音输入","settings.behavior.promptVoiceInput.subtitle":"语音已配置时,显示用于语音转文字提示词输入的麦克风控件。","settings.behavior.promptSubmit.title":"回车发送","settings.behavior.promptSubmit.subtitle":"使用回车发送;Cmd/Ctrl+回车插入新行。","settings.speech.title":"语音","settings.speech.subtitle":"立即配置语音转文字,并为后续功能预留文字转语音基础。","settings.speech.provider.title":"提供商","settings.speech.provider.subtitle":"语音请求使用服务器端语音适配器。","settings.speech.provider.openaiCompatible":"兼容 OpenAI","settings.speech.status.loading":"正在检查配置...","settings.speech.status.configured":"已配置","settings.speech.status.missing":"缺少 API 密钥","settings.speech.status.partial":"部分已配置","settings.speech.status.error":"语音服务不可用","settings.speech.apiKey.title":"API 密钥","settings.speech.apiKey.subtitle":"用于 CodeNomad 管理的语音请求。","settings.speech.apiKey.placeholder":"输入新的 API 密钥","settings.speech.apiKey.storedNote":"已保存的 API 密钥会被隐藏。输入新值可替换它,留空则保留当前密钥。","settings.speech.apiKey.clearAction":"清除已保存的密钥","settings.speech.apiKey.clearPending":"保存后将删除已保存的 API 密钥。","settings.speech.baseUrl.title":"基础 URL","settings.speech.baseUrl.subtitle":"可选,用于覆盖 OpenAI 兼容语音端点的基础地址。","settings.speech.baseUrl.placeholder":"https://api.openai.com/v1","settings.speech.sttModel.title":"转写模型","settings.speech.sttModel.subtitle":"用于提示框语音转文字请求的模型。","settings.speech.ttsModel.title":"语音模型","settings.speech.ttsModel.subtitle":"为未来播放功能预留的默认文字转语音模型。","settings.speech.ttsVoice.title":"默认语音","settings.speech.ttsVoice.subtitle":"为未来播放功能预留的默认文字转语音音色。","settings.speech.playbackMode.title":"播放模式","settings.speech.playbackMode.subtitle":"选择在音频流入时开始播放,还是在整个文件生成完成后再播放。","settings.speech.playbackMode.streaming":"流式","settings.speech.playbackMode.buffered":"缓冲后播放","settings.speech.ttsFormat.title":"输出格式","settings.speech.ttsFormat.subtitle":"选择语音合成的音频格式。流式支持取决于你的提供商和浏览器。","settings.speech.help":"当语音转写已配置且受支持时,提示框语音输入会显示。消息播放会使用这里选择的 TTS 模式和格式。","settings.speech.compatibility.streamingUnavailable":"你当前的语音提供商配置没有声明支持流式 TTS。如果你现在就想让播放可用,请把播放模式切换为 buffered。","settings.speech.compatibility.browserStreamingUnavailable":"你当前的浏览器无法流式播放所选的 TTS 格式。请选择 buffered 播放,或切换到其他格式。","settings.speech.compatibility.runtimeNote":"在流式模式下仍然可以选择所有格式,但某些浏览器与提供商的组合在播放时仍可能失败。","settings.speech.testPlayback.action":"测试播放","settings.speech.testPlayback.generating":"正在生成示例","settings.speech.testPlayback.stop":"停止示例","settings.speech.testPlayback.sample":"感谢你使用 CodeNomad,你的语音设置工作正常。","settings.speech.testPlayback.note":"测试会立即使用当前播放模式和格式。如果你也想测试 API key、Base URL、模型或音色的更改,请先保存。","settings.speech.testInput.action":"测试输入","settings.speech.testInput.stop":"停止录音","settings.speech.testInput.transcribing":"转录中","settings.speech.testInput.requesting":"启动中…","settings.speech.testInput.empty":"未检测到语音","settings.speech.save.action":"保存","settings.speech.save.saving":"保存中...","settings.speech.save.saved":"已保存","settings.speech.save.unsaved":"有未保存的更改","settings.speech.save.error":"保存失败","settings.speech.separateProviders.title":"为输入和输出使用不同供应商","settings.speech.separateProviders.subtitle":"为语音输入 (STT) 和语音输出 (TTS) 使用不同的 API 密钥和端点。","settings.speech.stt.section.title":"语音输入 (语音转文字)","settings.speech.tts.section.title":"语音输出 (文字转语音)","settings.speech.stt.apiKey.title":"输入 API 密钥","settings.speech.stt.apiKey.subtitle":"用于语音转文字请求。","settings.speech.stt.apiKey.placeholder":"输入新的输入 API 密钥","settings.speech.stt.apiKey.storedNote":"已保存的输入 API 密钥已隐藏。输入新值可替换,留空则保留当前密钥。","settings.speech.stt.apiKey.usingShared":"正在使用共享 API 密钥。输入新密钥可覆盖。","settings.speech.stt.apiKey.clearAction":"清除已保存的输入密钥","settings.speech.stt.apiKey.clearPending":"保存后将删除已保存的输入 API 密钥。","settings.speech.stt.baseUrl.title":"输入基础 URL","settings.speech.stt.baseUrl.subtitle":"用于语音转文字的 OpenAI 兼容端点。","settings.speech.stt.baseUrl.placeholder":"https://api.openai.com/v1","settings.speech.stt.model.title":"输入模型","settings.speech.stt.model.subtitle":"用于语音转文字的模型。","settings.speech.tts.apiKey.title":"输出 API 密钥","settings.speech.tts.apiKey.subtitle":"用于文字转语音请求。","settings.speech.tts.apiKey.placeholder":"输入新的输出 API 密钥","settings.speech.tts.apiKey.storedNote":"已保存的输出 API 密钥已隐藏。输入新值可替换,留空则保留当前密钥。","settings.speech.tts.apiKey.usingShared":"正在使用共享 API 密钥。输入新密钥可覆盖。","settings.speech.tts.apiKey.clearAction":"清除已保存的输出密钥","settings.speech.tts.apiKey.clearPending":"保存后将删除已保存的输出 API 密钥。","settings.speech.tts.baseUrl.title":"输出基础 URL","settings.speech.tts.baseUrl.subtitle":"用于文字转语音的 OpenAI 兼容端点。","settings.speech.tts.baseUrl.placeholder":"https://api.openai.com/v1","settings.speech.tts.model.title":"输出模型","settings.speech.tts.model.subtitle":"用于文字转语音的模型。","settings.nav.sidecars":"SideCars","settings.section.sidecars.eyebrow":"服务器服务","settings.section.sidecars.title":"SideCars","settings.section.sidecars.subtitle":"配置监听固定端口的本地服务,服务器可将其代理到标签页中。","sidecars.form.name":"名称","sidecars.form.validation":"请输入有效的 SideCar 名称和端口。","sidecars.form.port":"端口","sidecars.form.insecure":"使用 HTTP","sidecars.form.protocol":"协议","sidecars.form.protocol.help":"选择代理连接到本地服务的方式。","sidecars.form.protocol.https":"HTTPS","sidecars.form.protocol.http":"HTTP","sidecars.form.prefixMode":"前缀模式","sidecars.form.prefixMode.help":"选择 SideCar 是否接收公开的 /sidecars 路径前缀。","sidecars.form.prefixMode.strip":"移除前缀","sidecars.form.prefixMode.preserve":"保留前缀","sidecars.form.add":"添加 SideCar","sidecars.kind.port":"端口","sidecars.status.running":"运行中","sidecars.status.stopped":"已停止","sidecars.basePath":"基础路径","sidecars.settings.listTitle":"已配置的 SideCar","sidecars.settings.listSubtitle":"查看选择器中可用的基于端口的 SideCar。","sidecars.settings.empty":"尚未配置 SideCar。","sidecars.picker.title":"打开 SideCar","sidecars.picker.loading":"正在加载 SideCar...","sidecars.picker.subtitle":"选择一个可用的 SideCar,在新标签页中打开。","sidecars.picker.empty":"目前没有可用的基于端口的 SideCar。","sidecars.picker.close":"关闭","sidecars.open.errorTitle":"无法打开 SideCar","sidecars.open.notFound":"未找到 SideCar。","sidecars.open.notRunning":"无法通过配置的端口访问 SideCar。","sidecars.back":"返回","sidecars.refresh":"刷新","sidecars.path":"路径","sidecars.go":"前往","toastHistory.title":"通知历史","toastHistory.empty":"暂无通知","toastHistory.empty.filter":"没有符合此筛选条件的通知","toastHistory.clearAll":"清除全部","toastHistory.markAllRead":"全部已读","toastHistory.filter.label":"筛选通知","toastHistory.filter.all":"全部","toastHistory.filter.info":"信息","toastHistory.filter.success":"成功","toastHistory.filter.warning":"警告","toastHistory.filter.error":"错误","toastHistory.today":"今天","toastHistory.yesterday":"昨天","toastHistory.earlier":"更早","toastHistory.unread":"{count} 条未读","toastHistory.viewSettings":"设置","toastHistory.close":"关闭","toastHistory.deleteItem":"删除通知","settings.section.info.title":"关于","settings.section.info.subtitle":"查看版本、运行时,并收集诊断信息。","settings.info.version.server":"服务器版本","settings.info.version.ui":"UI 版本","settings.info.version.uiSource":"UI 来源","settings.info.runtime.type":"运行时","settings.info.runtime.platform":"平台","settings.info.runtime.os":"操作系统","settings.info.server.url":"服务器 URL","settings.info.server.root":"工作区根目录","settings.info.updates.title":"更新","settings.info.updates.subtitle":"检查 CodeNomad 的新版本。","settings.info.updates.latest":"最新版本","settings.info.updates.download":"下载更新","settings.info.updates.refresh":"刷新","settings.info.diagnostics.copyFailed":"剪贴板访问被拒绝。请改用下载按钮。","settings.info.diagnostics.title":"诊断","settings.info.diagnostics.subtitle":"收集系统和版本信息,用于错误报告。","settings.info.diagnostics.copy":"复制到剪贴板","settings.info.diagnostics.download":"下载 .txt","settings.info.diagnostics.copied":"诊断信息已复制到剪贴板。"},h={"time.relative.justNow":"刚刚","time.relative.daysAgoShort":"{count} 天前","time.relative.hoursAgoShort":"{count} 小时前","time.relative.minutesAgoShort":"{count} 分钟前"},b={"toolCall.pending.waitingToRun":"等待运行...","toolCall.error.label":"错误:","toolCall.header.copyTitle":"复制工具调用标题","toolCall.header.copyAriaLabel":"复制工具调用标题","toolCall.header.copyOutputTitle":"复制工具输出","toolCall.header.copyOutputAriaLabel":"复制工具输出","toolCall.header.showInputTitle":"显示工具参数","toolCall.header.showInputAriaLabel":"显示工具参数","toolCall.header.hideInputTitle":"隐藏工具参数","toolCall.header.hideInputAriaLabel":"隐藏工具参数","toolCall.io.input":"工具输入","toolCall.io.output":"工具输出","toolCall.io.copyInputTitle":"复制工具输入","toolCall.io.copyInputAriaLabel":"复制工具输入","toolCall.io.copyOutputTitle":"复制工具输出","toolCall.io.copyOutputAriaLabel":"复制工具输出","toolCall.diff.label":"差异","toolCall.diff.label.withPath":"差异 · {path}","toolCall.diff.viewMode.ariaLabel":"Diff 视图模式","toolCall.diff.viewMode.split":"分栏","toolCall.diff.viewMode.unified":"统一","toolCall.diff.switchToSplit":"切换到分栏视图","toolCall.diff.switchToUnified":"切换到统一视图","toolCall.diff.enableWordWrap":"启用自动换行","toolCall.diff.disableWordWrap":"禁用自动换行","toolCall.diff.copyPatch":"复制补丁","toolCall.diagnostics.title":"诊断","toolCall.diagnostics.ariaLabel":"诊断","toolCall.diagnostics.ariaLabel.withLabel":"诊断 {label}","toolCall.diagnostics.severity.error.short":"ERR","toolCall.diagnostics.severity.warning.short":"WARN","toolCall.diagnostics.severity.info.short":"INFO","toolCall.renderer.toolName.shell":"终端","toolCall.renderer.toolName.fetch":"获取","toolCall.renderer.toolName.invalid":"无效","toolCall.renderer.toolName.plan":"计划","toolCall.renderer.toolName.applyPatch":"应用补丁","toolCall.renderer.action.working":"处理中...","toolCall.renderer.action.writingCommand":"正在编写命令...","toolCall.renderer.action.preparingEdit":"正在准备编辑...","toolCall.renderer.action.readingFile":"正在读取文件...","toolCall.renderer.action.preparingWrite":"正在准备写入...","toolCall.renderer.action.preparingPatch":"正在准备补丁...","toolCall.renderer.action.planning":"正在规划...","toolCall.renderer.action.fetchingFromWeb":"正在从网络获取...","toolCall.renderer.action.findingFiles":"正在查找文件...","toolCall.renderer.action.searchingContent":"正在搜索内容...","toolCall.renderer.action.listingDirectory":"正在列出目录...","toolCall.renderer.bash.title.timeout":"超时:{timeout}","toolCall.renderer.read.detail.offset":"偏移:{offset}","toolCall.renderer.read.detail.limit":"限制:{limit}","toolCall.renderer.todo.empty":"暂无已计划项目","toolCall.renderer.todo.status.pending":"待处理","toolCall.renderer.todo.status.inProgress":"进行中","toolCall.renderer.todo.status.completed":"已完成","toolCall.renderer.todo.status.cancelled":"已取消","toolCall.renderer.todo.title.plan":"计划","toolCall.renderer.todo.title.creating":"正在创建计划","toolCall.renderer.todo.title.completing":"正在完成计划","toolCall.renderer.todo.title.updating":"正在更新计划","toolCall.permission.status.required":"需要权限","toolCall.permission.status.queued":"权限已排队","toolCall.permission.requestedDiff.label":"请求的 Diff","toolCall.permission.requestedDiff.withPath":"请求的 Diff · {path}","toolCall.permission.queuedText":"正在等待更早的权限响应。","toolCall.permission.actions.allowOnce":"仅允许一次","toolCall.permission.actions.alwaysAllow":"始终允许","toolCall.permission.actions.deny":"拒绝","toolCall.permission.shortcuts.allowOnce":"仅允许一次","toolCall.permission.shortcuts.alwaysAllow":"始终允许","toolCall.permission.rejectReason.placeholder":"拒绝时的可选反馈,例如使用更安全的命令...","toolCall.permission.errors.unableToUpdate":"无法更新权限","permissionApproval.title":"请求","permissionApproval.empty":"暂无待处理请求。","permissionApproval.kind.permission":"权限","permissionApproval.kind.question":"问题","permissionApproval.questionCount.one":"{count} 个问题","permissionApproval.questionCount.other":"{count} 个问题","permissionApproval.status.active":"活动","permissionApproval.actions.closeAriaLabel":"关闭","permissionApproval.actions.goToSession":"前往会话","permissionApproval.actions.loadingSession":"正在加载…","permissionApproval.actions.loadSession":"加载会话","permissionApproval.actions.allowOnce":"仅允许一次","permissionApproval.actions.alwaysAllow":"始终允许","permissionApproval.actions.deny":"拒绝","permissionApproval.rejectReason.placeholder":"拒绝时的可选反馈,例如使用更安全的命令...","permissionApproval.fallbackHint":"加载会话以查看更多信息。","permissionApproval.errors.unableToUpdatePermission":"无法更新权限","toolCall.question.status.required":"需要回答问题","toolCall.question.status.queued":"问题已排队","toolCall.question.status.questions":"问题","toolCall.question.action.awaitingAnswers":"等待回答...","toolCall.question.title.questions":"问题","toolCall.question.title.askingQuestions":"正在提问","toolCall.question.type.one":"问题","toolCall.question.type.other":"问题","toolCall.question.number":"Q{number}:","toolCall.question.multiple":"多个","toolCall.question.custom.title":"输入自定义答案","toolCall.question.custom.label":"自定义答案","toolCall.question.custom.placeholder":"输入你的答案","toolCall.question.actions.submit":"提交","toolCall.question.actions.dismiss":"忽略","toolCall.question.shortcuts.submit":"提交","toolCall.question.shortcuts.dismiss":"忽略","toolCall.question.queuedText":"正在等待更早的响应。","toolCall.question.validation.answerAll":"请先回答所有问题再提交。","toolCall.question.errors.unableToReply":"无法回复","toolCall.question.errors.unableToDismiss":"无法忽略","toolCall.task.action.delegating":"正在委派...","toolCall.task.sections.prompt":"提示词","toolCall.task.sections.steps":"步骤","toolCall.task.sections.output":"输出","toolCall.task.steps.count":"{count} 个步骤","toolCall.task.meta.agentModel":"智能体:{agent} • 模型:{model}","toolCall.task.meta.agent":"智能体:{agent}","toolCall.task.meta.model":"模型:{model}","toolCall.status.pending":"待处理","toolCall.status.running":"运行中","toolCall.status.completed":"已完成","toolCall.status.error":"错误","toolCall.status.unknown":"未知","toolCall.applyPatch.action.preparing":"正在准备 apply_patch...","toolCall.applyPatch.title.withFileCount.one":"{tool}({count} 个文件)","toolCall.applyPatch.title.withFileCount.other":"{tool}({count} 个文件)","toolCall.applyPatch.fileFallback":"文件 {number}"},k=e(a,t,r,h,s,i,n,l,c,g,p,b,d,u,m,o);export{k as zhHansMessages};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-qiiH7egV.js","assets/monaco-viewer-D6JgH76W.js","assets/git-diff-vendor-CYS3ApzA.js","assets/fast-diff-vendor-DgdwVvTQ.js","assets/highlight-vendor-8FKMu9os.js","assets/git-diff-vendor-HAZkIolJ.css","assets/index-VY_zwmsG.js","assets/index-Bh2ofaQo.js","assets/index-B3YjNCh4.js","assets/index-CM0c9xRZ.js","assets/index-D06Y2cFq.js","assets/index-B3ZD2_SU.js","assets/index-PmE51vPh.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as r,M as O}from"./monaco-viewer-D6JgH76W.js";import{d as v,l as B,k as E,t as N,c as C,b as k,o as P,n as V}from"./git-diff-vendor-CYS3ApzA.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))i(t);new MutationObserver(t=>{for(const o of t)if(o.type==="childList")for(const p of o.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&i(p)}).observe(document,{childList:!0,subtree:!0});function n(t){const o={};return t.integrity&&(o.integrity=t.integrity),t.referrerPolicy&&(o.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?o.credentials="include":t.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(t){if(t.ep)return;t.ep=!0;const o=n(t);fetch(t.href,o)}})();const q={"advancedSettings.title":"Advanced Settings","advancedSettings.environmentVariables.title":"Environment Variables","advancedSettings.environmentVariables.subtitle":"Applied whenever a new OpenCode instance starts","advancedSettings.actions.close":"Close"},H={"app.launchError.title":"Unable to launch OpenCode","app.launchError.description":"We couldn't start the selected OpenCode binary. Review the error output below or choose a different binary from OpenCode settings.","app.launchError.binaryPathLabel":"Binary path","app.launchError.errorOutputLabel":"Error output","app.launchError.openAdvancedSettings":"Open OpenCode Settings","app.launchError.close":"Close","app.launchError.closeTitle":"Close (Esc)","app.launchError.fallbackMessage":"Failed to launch workspace","app.stopInstance.confirmMessage":"Stop OpenCode instance? This will stop the server.","app.stopInstance.title":"Stop instance","app.stopInstance.confirmLabel":"Stop","app.stopInstance.cancelLabel":"Keep running","app.stopInstance.toast.error":"Failed to stop workspace.","emptyState.logoAlt":"CodeNomad logo","emptyState.brandTitle":"CodeNomad","emptyState.tagline":"Select a folder to start coding with AI","emptyState.actions.selectFolder":"Select Folder","emptyState.actions.selecting":"Selecting...","emptyState.keyboardShortcut":"Keyboard shortcut: {shortcut}","emptyState.examples":"Examples: {example}","emptyState.multipleInstances":"You can have multiple instances of the same folder","releases.upgradeRequired.title":"Upgrade required","releases.upgradeRequired.message.withVersion":"Update to CodeNomad {version} to use the latest UI.","releases.upgradeRequired.message.noVersion":"Update CodeNomad to use the latest UI.","releases.upgradeRequired.action.getUpdate":"Get update","releases.uiUpdated.title":"UI updated","releases.uiUpdated.message":"UI is now updated to {version}.","releases.devUpdateAvailable.title":"Dev build available","releases.devUpdateAvailable.message":"A new dev build is available: {version}.","releases.devUpdateAvailable.action":"View release","theme.mode.system":"System","theme.mode.light":"Light","theme.mode.dark":"Dark","theme.toggle.title":"Theme: {mode}","theme.toggle.ariaLabel":"Theme: {mode}"},W={"commandPalette.title":"Command Palette","commandPalette.description":"Search and execute commands","commandPalette.searchPlaceholder":"Type a command or search...","commandPalette.empty":'No commands found for "{query}"',"commandPalette.category.customCommands":"Custom Commands","commandPalette.category.instance":"Instance","commandPalette.category.session":"Session","commandPalette.category.agentModel":"Agent & Model","commandPalette.category.inputFocus":"Input & Focus","commandPalette.category.system":"System","commandPalette.category.other":"Other","commands.newInstance.label":"New Instance","commands.newInstance.description":"Open folder picker to create new instance","commands.newInstance.keywords":"folder, project, workspace","commands.closeInstance.label":"Close Tab","commands.closeInstance.description":"Close the current top-level tab","commands.closeInstance.keywords":"stop, quit, close, tab","commands.nextInstance.label":"Next Tab","commands.nextInstance.description":"Cycle to the next top-level tab","commands.nextInstance.keywords":"switch, navigate, tab","commands.previousInstance.label":"Previous Tab","commands.previousInstance.description":"Cycle to the previous top-level tab","commands.previousInstance.keywords":"switch, navigate, tab","commands.newSession.label":"New Session","commands.newSession.description":"Create a new parent session","commands.newSession.keywords":"create, start","commands.closeSession.label":"Close Session","commands.closeSession.description":"Close current parent session","commands.closeSession.keywords":"close, stop","commands.scrubSessions.label":"Scrub Sessions","commands.scrubSessions.description":"Remove empty sessions, subagent sessions that have completed their primary task, and extraneous forked sessions.","commands.scrubSessions.keywords":"cleanup, blank, empty, sessions, remove, delete, scrub","commands.instanceInfo.label":"Instance Info","commands.instanceInfo.description":"Open the instance overview for logs and status","commands.instanceInfo.keywords":"info, logs, console, output","commands.nextSession.label":"Next Session","commands.nextSession.description":"Cycle to next session tab","commands.nextSession.keywords":"switch, navigate","commands.previousSession.label":"Previous Session","commands.previousSession.description":"Cycle to previous session tab","commands.previousSession.keywords":"switch, navigate","commands.compactSession.label":"Compact Session","commands.compactSession.description":"Summarize and compact the current session","commands.compactSession.keywords":"summarize, compress","commands.compactSession.errorFallback":"Failed to compact session","commands.compactSession.alert.title":"Compact failed","commands.compactSession.alert.message":"Compact failed: {message}","commands.undoLastMessage.label":"Undo Last Message","commands.undoLastMessage.description":"Revert the last message","commands.undoLastMessage.keywords":"revert, undo","commands.undoLastMessage.none.title":"No actions to undo","commands.undoLastMessage.none.message":"Nothing to undo","commands.undoLastMessage.failed.title":"Undo failed","commands.undoLastMessage.failed.message":"Failed to revert message","commands.openModelSelector.label":"Open Model Selector","commands.openModelSelector.description":"Choose a different model","commands.openModelSelector.keywords":"model, llm, ai","commands.selectModelVariant.label":"Select Model Variant","commands.selectModelVariant.description":"Choose a thinking effort for the current model","commands.selectModelVariant.keywords":"variant, thinking, reasoning, effort","commands.openAgentSelector.label":"Open Agent Selector","commands.openAgentSelector.description":"Choose a different agent","commands.openAgentSelector.keywords":"agent, mode","commands.clearInput.label":"Clear Input","commands.clearInput.description":"Clear the prompt textarea","commands.clearInput.keywords":"clear, reset","commands.promptSubmitShortcut.label.default":"Enter: New Line, Cmd/Ctrl+Enter: Submit Prompt","commands.promptSubmitShortcut.label.swapped":"Enter: Submit Prompt, Cmd/Ctrl+Enter: New Line","commands.promptSubmitShortcut.description":"Swap Enter and Cmd/Ctrl+Enter behavior in the prompt input","commands.promptSubmitShortcut.keywords":"enter, cmd, ctrl, submit, send, newline, shortcut, keybind, prompt","commands.thinkingBlocks.label.show":"Show Thinking","commands.thinkingBlocks.label.hide":"Hide Thinking","commands.thinkingBlocks.description":"Show or hide AI thinking sections","commands.thinkingBlocks.keywords":"thinking, reasoning, toggle, show, hide","commands.timelineToolCalls.label.show":"Show Timeline Tool Calls","commands.timelineToolCalls.label.hide":"Hide Timeline Tool Calls","commands.timelineToolCalls.description":"Toggle tool call entries in the message timeline","commands.timelineToolCalls.keywords":"timeline, tool, toggle","commands.keyboardShortcutHints.label.show":"Show Keyboard Shortcut Hints","commands.keyboardShortcutHints.label.hide":"Hide Keyboard Shortcut Hints","commands.keyboardShortcutHints.description":"Show or hide keyboard shortcut hints across the UI","commands.keyboardShortcutHints.description.disabledWeb":"Disabled in WebUI (shortcut hints are always hidden)","commands.keyboardShortcutHints.keywords":"shortcut, shortcuts, keyboard, keybind, hints","commands.common.expanded":"Expanded","commands.common.collapsed":"Collapsed","commands.common.visible":"Visible","commands.common.hidden":"Hidden","commands.common.enabled":"Enabled","commands.common.disabled":"Disabled","commands.thinkingBlocksDefault.label":"Thinking View: {state}","commands.thinkingBlocksDefault.description":"Collapse / Expand AI thinking sections when shown","commands.thinkingBlocksDefault.keywords":"thinking, reasoning, expand, collapse, default","commands.diffViewSplit.label":"Use Split Diff View","commands.diffViewSplit.description":"Display tool-call diffs side-by-side","commands.diffViewSplit.keywords":"diff, split, view","commands.diffViewUnified.label":"Use Unified Diff View","commands.diffViewUnified.description":"Display tool-call diffs inline","commands.diffViewUnified.keywords":"diff, unified, view","commands.toolOutputsDefault.label":"Tool Outputs Default · {state}","commands.toolOutputsDefault.description":"Toggle default expansion for tool outputs","commands.toolOutputsDefault.keywords":"tool, output, expand, collapse","commands.diagnosticsDefault.label":"Diagnostics Default · {state}","commands.diagnosticsDefault.description":"Toggle default expansion for diagnostics output","commands.diagnosticsDefault.keywords":"diagnostics, expand, collapse","commands.toolInputsVisibility.label":"Tool Inputs Visibility · {state}","commands.toolInputsVisibility.description":"Set default visibility for tool call input arguments","commands.toolInputsVisibility.keywords":"tool, inputs, arguments, visibility, hide, show, expand, collapse","commands.tokenUsageDisplay.label":"Token Usage Display · {state}","commands.tokenUsageDisplay.description":"Show or hide token and cost stats for assistant messages","commands.tokenUsageDisplay.keywords":"token, usage, cost, stats","commands.autoCleanupBlankSessions.label":"Auto-Cleanup Blank Sessions · {state}","commands.autoCleanupBlankSessions.description":"Automatically clean up blank sessions when creating new ones","commands.autoCleanupBlankSessions.keywords":"auto, cleanup, blank, sessions, toggle","commands.showHelp.label":"Show Help","commands.showHelp.description":"Display keyboard shortcuts and help","commands.showHelp.keywords":"shortcuts, help","commands.custom.argumentsPrompt.message":"Arguments for /{name}","commands.custom.argumentsPrompt.title":"Custom command","commands.custom.argumentsPrompt.inputLabel":"Arguments","commands.custom.argumentsPrompt.inputPlaceholder":"e.g. foo bar","commands.custom.argumentsPrompt.confirmLabel":"Run","commands.custom.argumentsPrompt.cancelLabel":"Cancel","commands.custom.argumentsPrompt.openFailed.message":"Failed to open arguments prompt.","commands.custom.argumentsPrompt.openFailed.title":"Command arguments","commands.custom.entries.descriptionFallback":"Custom command","commands.custom.sessionRequired.message":"Select a session before running a custom command.","commands.custom.sessionRequired.title":"Session required","commands.custom.runFailed.message":"Failed to run custom command. Check the console for details.","commands.custom.runFailed.title":"Command failed","unifiedPicker.loading.searching":"Searching...","unifiedPicker.loading.loadingWorkspace":"Loading workspace...","unifiedPicker.title.command":"Select Command","unifiedPicker.title.mention":"Select Agent or File","unifiedPicker.empty":"No results found","unifiedPicker.sections.commands":"COMMANDS","unifiedPicker.sections.agents":"AGENTS","unifiedPicker.sections.files":"FILES","unifiedPicker.sections.workspaceRoot":"WORKSPACE ROOT","unifiedPicker.badge.subagent":"subagent","unifiedPicker.footer.navigate":"navigate","unifiedPicker.footer.select":"select","unifiedPicker.footer.close":"close"},_={"alertDialog.fallbackTitle.info":"Heads up","alertDialog.fallbackTitle.warning":"Please review","alertDialog.fallbackTitle.error":"Something went wrong","alertDialog.actions.confirm":"Confirm","alertDialog.actions.run":"Run","alertDialog.actions.ok":"OK","alertDialog.actions.cancel":"Cancel","alertDialog.prompt.inputLabel":"Input","backgroundProcessOutputDialog.title":"Background Output","backgroundProcessOutputDialog.actions.close":"Close","backgroundProcessOutputDialog.loading":"Loading output...","backgroundProcessOutputDialog.truncatedNotice":"Output truncated for display.","backgroundProcessOutputDialog.loadErrorFallback":"Failed to load output."},z={"directoryBrowser.defaultDescription":"Browse folders under the configured workspace root.","directoryBrowser.close":"Close","directoryBrowser.currentFolder":"Select folder or enter path","directoryBrowser.currentFolder.inputAriaLabel":"Folder path","directoryBrowser.currentFolder.inputPlaceholder":"Type or paste a folder path","directoryBrowser.openCurrent":"Open","directoryBrowser.selectCurrent":"Select Current","directoryBrowser.newFolder":"New Folder","directoryBrowser.creating":"Creating…","directoryBrowser.loadingFolders":"Loading folders…","directoryBrowser.noFolders":"No folders available.","directoryBrowser.upOneLevel":"Up one level","directoryBrowser.select":"Select","directoryBrowser.load.errorFallback":"Unable to load filesystem","directoryBrowser.createFolder.promptMessage":"Create a new folder in the current directory.","directoryBrowser.createFolder.title":"New Folder","directoryBrowser.createFolder.inputLabel":"Folder name","directoryBrowser.createFolder.inputPlaceholder":"e.g. my-new-project","directoryBrowser.createFolder.confirmLabel":"Create","directoryBrowser.createFolder.cancelLabel":"Cancel","directoryBrowser.createFolder.invalidNameMessage":"Please enter a single folder name.","directoryBrowser.createFolder.invalidNameDetail":"Folder names cannot include slashes, '..', or '~'.","directoryBrowser.createFolder.errorFallback":"Unable to create folder","filesystemBrowser.descriptionFallback":"Search for a path under the configured workspace root.","filesystemBrowser.rootLabel":"Root: {root}","filesystemBrowser.actions.close":"Close","filesystemBrowser.actions.retry":"Retry","filesystemBrowser.actions.select":"Select","filesystemBrowser.filterLabel":"Filter","filesystemBrowser.search.placeholder.directories":"Search for folders","filesystemBrowser.search.placeholder.files":"Search for files","filesystemBrowser.currentFolder.label":"Current folder","filesystemBrowser.currentFolder.selectCurrent":"Select Current","filesystemBrowser.loading.filesystem":"filesystem","filesystemBrowser.loading.workspaceRoot":"workspace root","filesystemBrowser.loading.loadingWithPath":"Loading {path}…","filesystemBrowser.empty.noEntries":"No entries found.","filesystemBrowser.navigation.upOneLevel":"Up one level","filesystemBrowser.hints.navigate":"Navigate","filesystemBrowser.hints.select":"Select","filesystemBrowser.hints.close":"Close","filesystemBrowser.errors.loadFilesystemFallback":"Unable to load filesystem","filesystemBrowser.errors.openDirectoryFallback":"Unable to open directory"},K={"folderSelection.language.ariaLabel":"Language","folderSelection.logoAlt":"CodeNomad logo","folderSelection.tagline":"Select a folder to start coding with AI","folderSelection.links.github":"CodeNomad GitHub","folderSelection.links.githubStars":"CodeNomad GitHub Stars","folderSelection.links.discord":"CodeNomad Discord","folderSelection.empty.title":"No Recent Folders","folderSelection.empty.description":"Browse for a folder to get started","folderSelection.recent.title":"Recent Folders","folderSelection.recent.subtitle.one":"{count} folder available","folderSelection.recent.subtitle.other":"{count} folders available","folderSelection.recent.rename":"Rename workspace","folderSelection.recent.remove":"Remove from recent","folderSelection.recent.openBadge":"Open","folderSelection.recent.alreadyOpenTitle":"Project already open","folderSelection.recent.alreadyOpenMessage":"Choose how to open this folder.","folderSelection.recent.switchToOpenProject":"Switch to open project","folderSelection.recent.openAnotherInstance":"Open another instance","folderSelection.browse.title":"Browse for Folder","folderSelection.browse.subtitle":"Select any folder on your computer","folderSelection.browse.button":"Browse Folders","folderSelection.browse.buttonOpening":"Opening...","folderSelection.clone.button":"Clone Git Repo","folderSelection.clone.destination.title":"Select Clone Destination","folderSelection.clone.destination.description":"Select the folder where the repository should be cloned.","folderSelection.clone.dialog.title":"Clone Git Repository","folderSelection.clone.dialog.description":"Clone a Git repository into a local folder, then open it as your workspace.","folderSelection.clone.dialog.repositoryUrl":"Repository URL","folderSelection.clone.dialog.repositoryUrlPlaceholder":"https://github.com/user/repo.git","folderSelection.clone.dialog.destinationPath":"Destination folder","folderSelection.clone.dialog.destinationPathPlaceholder":"Select or enter a destination folder","folderSelection.clone.dialog.browseDestination":"Browse","folderSelection.clone.dialog.cleanupDestination":"Remove the destination folder first if it already exists.","folderSelection.clone.dialog.cancel":"Cancel","folderSelection.clone.dialog.clone":"Clone","folderSelection.clone.dialog.cloning":"Cloning...","folderSelection.clone.dialog.errorRequired":"Repository URL and destination folder are required.","folderSelection.actions.title":"Open Folder or Connect Server","folderSelection.actions.subtitle":"Open local folder or connect to a CodeNomad server","folderSelection.actions.connectButton":"Connect CodeNomad Server","folderSelection.advancedSettings":"Advanced Settings","folderSelection.opencode":"OpenCode","folderSelection.hints.navigate":"Navigate","folderSelection.hints.select":"Select","folderSelection.hints.remove":"Remove","folderSelection.hints.browse":"Browse","folderSelection.loading.title":"Starting instance...","folderSelection.loading.subtitle":"Hang tight while we prepare your workspace.","folderSelection.drop.title":"Drop a folder to open it","folderSelection.drop.subtitle":"Start a new instance in the dropped folder.","folderSelection.drop.invalidTitle":"Couldn't open dropped item","folderSelection.drop.invalidMessage":"Drop a folder to start a new instance.","folderSelection.dialog.title":"Select Workspace","folderSelection.dialog.description":"Select workspace to start coding.","folderSelection.tabs.local":"Local Folders","folderSelection.tabs.servers":"Servers","folderSelection.servers.title":"Saved Servers","folderSelection.servers.subtitle":"Open a saved remote CodeNomad server in a new window","folderSelection.servers.count":"{count} Servers","folderSelection.servers.empty.title":"No Saved Servers","folderSelection.servers.empty.description":"Add a remote server to reconnect quickly from this device","folderSelection.servers.connectTitle":"Connect to Server","folderSelection.servers.connectSubtitle":"Save a remote CodeNomad server and open it in a new window","folderSelection.servers.connectButton":"Connect to Server","folderSelection.servers.remove":"Remove saved server","folderSelection.servers.skipTls":"Self-signed TLS","folderSelection.servers.errorTitle":"Remote Connection Failed","folderSelection.servers.dialog.title":"Connect to Server","folderSelection.servers.dialog.description":"Add a remote CodeNomad server and optionally open it right away.","folderSelection.servers.dialog.name":"Server name","folderSelection.servers.dialog.namePlaceholder":"Production Server","folderSelection.servers.dialog.url":"Server URL","folderSelection.servers.dialog.urlPlaceholder":"https://server.example.com","folderSelection.servers.dialog.skipTls":"Skip TLS verification for self-signed certificates.","folderSelection.servers.dialog.cancel":"Cancel","folderSelection.servers.dialog.save":"Save","folderSelection.servers.dialog.connect":"Connect","folderSelection.servers.dialog.connecting":"Connecting...","folderSelection.servers.dialog.errorRequired":"Server name and URL are required.","folderSelection.servers.dialog.errorConnect":"Could not connect to the remote server.","folderSelection.servers.certificateInstall.title":"Install Local Certificate","folderSelection.servers.certificateInstall.confirmMessage":"CodeNomad needs to install a local certificate to open self-signed HTTPS remote windows. This certificate is only used for local desktop proxy traffic on your machine. Your operating system may show a second certificate prompt after this.","folderSelection.servers.certificateInstall.confirmLabel":"Continue","folderSelection.servers.certificateInstall.cancelLabel":"Cancel","folderSelection.servers.certificateInstall.cancelled":"CodeNomad needs the local certificate to be trusted before it can open self-signed HTTPS remote windows.","folderSelection.sidecars.button":"Open SideCar","projectRenameDialog.title":"Rename workspace","projectRenameDialog.description.withLabel":'Update the workspace name for "{label}".',"projectRenameDialog.description.default":"Set a workspace name for this folder.","projectRenameDialog.input.label":"Workspace name","projectRenameDialog.input.placeholder":"Enter workspace name","projectRenameDialog.actions.cancel":"Cancel","projectRenameDialog.actions.rename":"Rename","projectRenameDialog.actions.renaming":"Renaming..."},j={"instanceTabs.new.title":"New instance (Cmd/Ctrl+N)","instanceTabs.new.ariaLabel":"New instance","instanceTabs.remote.title":"Remote connect","instanceTabs.remote.ariaLabel":"Remote connect","instanceInfo.title":"Instance Information","instanceInfo.labels.folder":"Folder","instanceInfo.labels.project":"Project","instanceInfo.labels.versionControl":"Version Control","instanceInfo.labels.opencodeVersion":"OpenCode Version","instanceInfo.labels.binaryPath":"Binary Path","instanceInfo.labels.environmentVariables":"Environment Variables ({count})","instanceInfo.loading":"Loading...","instanceInfo.server.title":"Server","instanceInfo.server.port":"Port:","instanceInfo.server.pid":"PID:","instanceInfo.server.status":"Status:","instanceTab.status.permission":"Waiting on permission","instanceTab.status.compacting":"Compacting","instanceTab.status.working":"Working","instanceTab.status.idle":"Idle","instanceTab.status.ariaLabel":"Instance status: {status}","instanceTab.actions.close.ariaLabel":"Close instance","instanceShell.leftPanel.sessionsTitle":"Sessions","instanceShell.leftPanel.instanceInfo":"Instance Info","instanceShell.leftDrawer.pin":"Pin left drawer","instanceShell.leftDrawer.unpin":"Unpin left drawer","instanceShell.leftDrawer.toggle.pinned":"Left drawer pinned","instanceShell.leftDrawer.toggle.open":"Open left drawer","instanceShell.leftDrawer.toggle.close":"Close left drawer","instanceShell.rightDrawer.pin":"Pin right drawer","instanceShell.rightDrawer.unpin":"Unpin right drawer","instanceShell.rightDrawer.toggle.pinned":"Right drawer pinned","instanceShell.rightDrawer.toggle.open":"Open right drawer","instanceShell.rightDrawer.toggle.close":"Close right drawer","instanceShell.fullscreen.enter":"Full screen","instanceShell.fullscreen.exit":"Exit full screen","instanceShell.metrics.usedLabel":"Used","instanceShell.metrics.availableLabel":"Avail","instanceShell.commandPalette.openAriaLabel":"Open command palette","instanceShell.commandPalette.button":"Command Palette","instanceShell.chatSearch.openAriaLabel":"Search chat history","instanceShell.connection.ariaLabel":"Connection {status}","instanceShell.connection.connected":"Connected","instanceShell.connection.connecting":"Connecting...","instanceShell.connection.disconnected":"Disconnected","instanceShell.connection.unknown":"Unknown","instanceWelcome.shortcuts.newSession":"New Session","instanceWelcome.empty.title":"No Previous Sessions","instanceWelcome.empty.description":"Create a new session below to get started","instanceWelcome.loading.title":"Launching workspace","instanceWelcome.loading.description":"Starting OpenCode for this workspace...","instanceWelcome.resume.title":"Resume Session","instanceWelcome.resume.subtitle.one":"{count} session available","instanceWelcome.resume.subtitle.other":"{count} sessions available","instanceWelcome.session.untitled":"Untitled Session","instanceWelcome.new.title":"Start New Session","instanceWelcome.new.subtitle":"We’ll reuse your last agent/model automatically","instanceWelcome.new.createButton":"Create Session","instanceWelcome.overlay.close":"Close","instanceWelcome.actions.viewInstanceInfo":"View Instance Info","instanceWelcome.actions.renameTitle":"Rename session","instanceWelcome.actions.deleteTitle":"Delete session","instanceWelcome.hints.navigate":"Navigate","instanceWelcome.hints.jump":"Jump","instanceWelcome.hints.firstLast":"First/Last","instanceWelcome.hints.resume":"Resume","instanceWelcome.hints.delete":"Delete","instanceWelcome.toasts.renameError":"Unable to rename session","instanceDisconnected.title":"Instance Disconnected","instanceDisconnected.folderFallback":"this workspace","instanceDisconnected.reasonFallback":"The server stopped responding","instanceDisconnected.description":"{folder} can no longer be reached. Close the tab to continue working.","instanceDisconnected.details.title":"Details","instanceDisconnected.details.folderLabel":"Folder:","instanceDisconnected.actions.closeInstance":"Close Instance","instanceShell.empty.title":"No session selected","instanceShell.empty.description":"Send a message below to create a new session, or select an existing session to continue.","instanceShell.rightPanel.title":"Status Panel","instanceShell.rightPanel.tabs.gitChanges":"Git Changes","instanceShell.rightPanel.tabs.files":"Files","instanceShell.rightPanel.tabs.status":"Status","instanceShell.rightPanel.tabs.ariaLabel":"Right panel tabs","instanceShell.rightPanel.actions.refresh":"Refresh","instanceShell.rightPanel.actions.save":"Save (Ctrl+S)","instanceShell.rightPanel.actions.saveConfirm.message":'Do you want to save changes to "{path}" before switching?',"instanceShell.rightPanel.actions.saveConfirm.confirmLabel":"Save","instanceShell.rightPanel.actions.saveConfirm.cancelLabel":"Discard Changes","instanceShell.rightPanel.actions.conflict.message":"File was modified by the agent. Overwrite agent's changes?","instanceShell.rightPanel.actions.conflict.confirmLabel":"Overwrite","instanceShell.rightPanel.actions.conflict.cancelLabel":"Cancel","instanceShell.rightPanel.actions.refreshDirty.message":"File has unsaved changes. Refresh will discard your edits. Continue?","instanceShell.rightPanel.actions.refreshDirty.confirmLabel":"Refresh","instanceShell.rightPanel.actions.refreshDirty.cancelLabel":"Cancel","instanceShell.rightPanel.toast.saveSuccess":"File saved successfully","instanceShell.rightPanel.toast.saveError":"Failed to save file","instanceShell.rightPanel.sections.yoloMode":"Yolo Mode","instanceShell.rightPanel.sections.yoloMode.tooltip":"Automatically approves permission requests for the current session. Use it only when you trust the tools being run.","instanceShell.rightPanel.sections.plan":"Plan","instanceShell.rightPanel.sections.plan.tooltip":"The agent's roadmap for this session. Tracks tasks, subtasks, and their completion status.","instanceShell.rightPanel.sections.backgroundProcesses":"Background Shells","instanceShell.rightPanel.sections.backgroundProcesses.tooltip":"Long-running processes started by the agent. You can monitor their output, stop, or terminate them.","instanceShell.rightPanel.sections.mcp":"MCP Servers","instanceShell.rightPanel.sections.mcp.tooltip":"Model Context Protocol servers that extend the agent's capabilities with external tools and services.","instanceShell.rightPanel.sections.lsp":"LSP Servers","instanceShell.rightPanel.sections.lsp.tooltip":"Language Server Protocol servers providing code intelligence, diagnostics, and language-specific features.","instanceShell.rightPanel.sections.plugins":"Plugins","instanceShell.rightPanel.sections.plugins.tooltip":"Plugins that customize the UI and server behavior, adding features beyond MCP and LSP.","instanceShell.gitChanges.noSessionSelected":"Select a session to view git changes.","instanceShell.gitChanges.loading":"Loading git changes...","instanceShell.gitChanges.empty":"No git changes yet.","instanceShell.gitChanges.deleted":"Deleted","instanceShell.gitChanges.binaryViewer":"Binary file cannot be displayed","instanceShell.gitChanges.sections.staged":"Staged Changes","instanceShell.gitChanges.sections.unstaged":"Changes","instanceShell.gitChanges.actions.insertContext":"Add to prompt","instanceShell.gitChanges.actions.stage":"Stage file","instanceShell.gitChanges.actions.unstage":"Unstage file","instanceShell.gitChanges.commit.placeholder":"Enter commit message","instanceShell.gitChanges.commit.submit":"Commit","instanceShell.gitChanges.commit.submitting":"Committing...","instanceShell.gitChanges.commit.success":"Commit created successfully","instanceShell.gitChanges.commit.error":"Failed to create commit","instanceShell.filesShell.fileListTitle":"File list","instanceShell.filesShell.mobileSelectorLabel":"Select file","instanceShell.filesShell.mobileSelectorEmpty":"Select a file","instanceShell.filesShell.viewerTitle":"Change viewer","instanceShell.filesShell.viewerPlaceholder":"Detailed change rendering will be added in the next step.","instanceShell.filesShell.viewerEmpty":"No file selected.","instanceShell.filesShell.listEmpty":"No files in this folder.","instanceShell.filesShell.hideFiles":"Hide files","instanceShell.filesShell.showFiles":"Show files","instanceShell.filesShell.search.placeholder":"Filter files in this folder","instanceShell.filesShell.search.ariaLabel":"Filter files in this folder","instanceShell.filesShell.search.empty":"No matching files.","instanceShell.filesShell.actions.copyPath":"Copy path","instanceShell.filesShell.toast.copyPathSuccess":"Copied path","instanceShell.filesShell.toast.copyPathError":"Failed to copy path","instanceShell.filesShell.previewMarkdown":"Preview Markdown","instanceShell.filesShell.showSource":"Show source","instanceShell.filesShell.enableWordWrap":"Enable word wrap","instanceShell.filesShell.disableWordWrap":"Disable word wrap","instanceShell.diff.hideUnchanged":"Hide unchanged regions","instanceShell.diff.showFull":"Show full file","instanceShell.diff.switchToSplit":"Switch to split view","instanceShell.diff.switchToUnified":"Switch to unified view","instanceShell.diff.enableWordWrap":"Enable word wrap","instanceShell.diff.disableWordWrap":"Disable word wrap","instanceShell.worktree.create":"+ Create worktree","instanceShell.worktree.delete.error.title":"Delete failed","instanceShell.worktree.delete.error.fallback":"Failed to delete worktree","instanceShell.worktree.delete.error.causeLabel":"Likely cause:","instanceShell.worktree.delete.error.nextStepLabel":"Suggested next step:","instanceShell.worktree.delete.error.summary.localChanges":"Git refused to delete this worktree because it has modified or untracked files.","instanceShell.worktree.delete.error.summary.inUse":"CodeNomad could not delete this worktree because something is still using files in the directory.","instanceShell.worktree.delete.error.summary.notFound":"CodeNomad could not delete this worktree because the directory or worktree record was not found.","instanceShell.worktree.delete.error.summary.permissionDenied":"CodeNomad could not delete this worktree because access to the directory was denied.","instanceShell.worktree.delete.error.summary.unknown":"CodeNomad could not delete this worktree.","instanceShell.worktree.delete.error.cause.localChanges":"Local changes","instanceShell.worktree.delete.error.cause.inUse":"Another process is using this worktree","instanceShell.worktree.delete.error.cause.notFound":"The worktree directory or record is missing","instanceShell.worktree.delete.error.cause.permissionDenied":"Insufficient filesystem permissions","instanceShell.worktree.delete.error.cause.unknown":"The backend returned an unclassified delete error","instanceShell.worktree.delete.error.nextStep.localChanges":"Enable Force delete if you want to discard local changes, or clean the worktree and try again.","instanceShell.worktree.delete.error.nextStep.inUse":"Close terminals, editors, watchers, or background processes using this worktree and try again.","instanceShell.worktree.delete.error.nextStep.notFound":"Refresh worktrees and try again. If it still fails, inspect the worktree path on disk.","instanceShell.worktree.delete.error.nextStep.permissionDenied":"Check filesystem permissions and close applications that may be locking this directory, then try again.","instanceShell.worktree.delete.error.nextStep.unknown":"Review the raw error below for details, then retry after addressing the reported problem.","instanceShell.worktree.delete.error.copyRaw":"Copy error","instanceShell.worktree.delete.error.copySanitized":"Copy sanitized","instanceShell.worktree.delete.error.copySuccess":"Copied delete error","instanceShell.worktree.delete.error.copySanitizedSuccess":"Copied sanitized delete error","instanceShell.worktree.delete.error.copyFailure":"Failed to copy delete error","instanceShell.plan.noSessionSelected":"Select a session to view plan.","instanceShell.plan.empty":"Nothing planned yet.","instanceShell.yoloMode.noSessionSelected":"Select a session to configure Yolo mode.","instanceShell.yoloMode.title":"Yolo mode","instanceShell.yoloMode.description":"Automatically approve permission requests for this session. Disabled by default.","instanceShell.yoloMode.badge":"Yolo mode","instanceShell.yoloMode.badgeAriaLabel":"Yolo mode enabled","instanceShell.backgroundProcesses.empty":"No background processes.","instanceShell.backgroundProcesses.status":"Status: {status}","instanceShell.backgroundProcesses.output":"Output: {sizeKb}KB","instanceShell.backgroundProcesses.notify.enabled":"Completion notification enabled","instanceShell.backgroundProcesses.notify.disabled":"Completion notification disabled","instanceShell.backgroundProcesses.actions.output":"Output","instanceShell.backgroundProcesses.actions.stop":"Stop","instanceShell.backgroundProcesses.actions.terminate":"Terminate","versionPill.appWithVersion":"App {version}","versionPill.ui":"UI","versionPill.uiWithVersion":"UI {version}","versionPill.source":" ({source})","opencodeBinarySelector.title":"OpenCode Binary","opencodeBinarySelector.subtitle":"Choose which executable OpenCode should run","opencodeBinarySelector.customPath.placeholder":"Enter path to opencode binary…","opencodeBinarySelector.actions.add":"Add","opencodeBinarySelector.actions.browse":"Browse for Binary…","opencodeBinarySelector.actions.removeTitle":"Remove binary","opencodeBinarySelector.badge.systemPath":"Use binary from system PATH","opencodeBinarySelector.status.checkingVersions":"Checking versions…","opencodeBinarySelector.status.checking":"Checking…","opencodeBinarySelector.dialog.title":"Select OpenCode Binary","opencodeBinarySelector.dialog.description":"Browse files exposed by the CLI server.","opencodeBinarySelector.validation.invalidBinary":"Invalid OpenCode binary","opencodeBinarySelector.validation.alreadyValidating":"Already validating","opencodeBinarySelector.display.systemPath":"{name} (system PATH)","opencodeBinarySelector.versionLabel":"v{version}"},G={"loadingScreen.logoAlt":"CodeNomad logo","loadingScreen.status.issue":"Encountered an issue","loadingScreen.actions.showAnother":"Show another","loadingScreen.errors.missingRoot":"Loading root element not found","loadingScreen.phrases.neurons":"Warming up the AI neurons…","loadingScreen.phrases.daydreaming":"Convincing the AI to stop daydreaming…","loadingScreen.phrases.goggles":"Polishing the AI’s code goggles…","loadingScreen.phrases.reorganizingFiles":"Asking the AI to stop reorganizing your files…","loadingScreen.phrases.coffee":"Feeding the AI additional coffee…","loadingScreen.phrases.nodeModules":"Teaching the AI not to delete node_modules (again)…","loadingScreen.phrases.actNatural":"Telling the AI to act natural before you arrive…","loadingScreen.phrases.rewritingHistory":"Asking the AI to please stop rewriting history…","loadingScreen.phrases.stretch":"Letting the AI stretch before its coding sprint…","loadingScreen.phrases.keyboardControl":"Persuading the AI to give you keyboard control…"},Q={"logsView.title":"Server Logs","logsView.actions.show":"Show server logs","logsView.actions.hide":"Hide server logs","logsView.actions.clear":"Clear logs","logsView.actions.back":"Back to conversation","logsView.envVars.title":"Environment Variables ({count})","logsView.paused.title":"Server logs are paused","logsView.paused.description":"Enable streaming to watch your OpenCode server activity.","logsView.empty.waiting":"Waiting for server output...","logsView.scrollToTop":"Scroll to top","logsView.scrollToBottom":"Scroll to bottom","infoView.logs.title":"Server Logs","infoView.logs.actions.show":"Show server logs","infoView.logs.actions.hide":"Hide server logs","infoView.logs.actions.clear":"Clear logs","infoView.logs.actions.back":"Back to conversation","infoView.logs.paused.title":"Server logs are paused","infoView.logs.paused.description":"Enable streaming to watch your OpenCode server activity.","infoView.logs.empty.waiting":"Waiting for server output...","infoView.logs.scrollToTop":"Scroll to top","infoView.logs.scrollToBottom":"Scroll to bottom","infoView.dispose.actions.dispose":"Dispose instance","infoView.dispose.actions.disposing":"Disposing...","infoView.dispose.confirm.title":"Dispose instance?","infoView.dispose.confirm.message":"This clears cached per-project state for this directory and reloads the instance.","infoView.dispose.confirm.confirmLabel":"Dispose","infoView.dispose.confirm.cancelLabel":"Cancel","infoView.dispose.toast.success":"Instance disposed. Reloading...","infoView.dispose.toast.error":"Failed to dispose instance."},Y={"markdown.codeBlock.copy.label":"Copy","markdown.codeBlock.copy.copied":"Copied!","markdown.codeBlock.copy.failed":"Failed","markdown.codeBlock.wrap.enable":"Enable word wrap","markdown.codeBlock.wrap.disable":"Disable word wrap","markdown.copy":"Copy"},J={"messageListHeader.sidebar.openSessionListAriaLabel":"Open session list","messageListHeader.metrics.usedLabel":"Used","messageListHeader.metrics.availableLabel":"Avail","messageListHeader.commandPalette.ariaLabel":"Open command palette","messageListHeader.commandPalette.button":"Command Palette","messageListHeader.connection.connected":"Connected","messageListHeader.connection.connecting":"Connecting...","messageListHeader.connection.disconnected":"Disconnected","messageSection.empty.logoAlt":"CodeNomad logo","messageSection.empty.brandTitle":"CodeNomad","messageSection.empty.title":"Start a conversation","messageSection.empty.description":"Type a message below or open the Command Palette:","messageSection.empty.tips.commandPalette":"Command Palette","messageSection.empty.tips.askAboutCodebase":"Ask about your codebase","messageSection.empty.tips.attachFilesPrefix":"Attach files with","messageSection.loading.messages":"Loading messages...","messageSection.loadError.title":"Could not load messages","messageSection.loadError.reload":"Reload messages","messageSection.scroll.toFirstAriaLabel":"Scroll to first message","messageSection.scroll.toLatestAriaLabel":"Scroll to latest message","messageSection.scroll.showControlsAriaLabel":"Show scroll controls","messageSection.scroll.enableHoldAriaLabel":"Enable hold for long assistant replies","messageSection.scroll.disableHoldAriaLabel":"Disable hold for long assistant replies","messageSection.quote.addAsQuote":"Add as quote","messageSection.quote.addAsCode":"Add as code","messageSection.quote.copy":"Copy","messageSection.quote.copied":"Copied!","messageSection.quote.copyFailed":"Copy failed","messageSection.search.ariaLabel":"Search chat history","messageSection.search.placeholder":"Search current chat...","messageSection.search.count.empty":"Search","messageSection.search.count.minChars":"{count}+ chars","messageSection.search.count.searching":"Searching...","messageSection.search.count.none":"No matches","messageSection.search.count.matches":"{current} / {total}","messageSection.search.previousAriaLabel":"Previous match","messageSection.search.nextAriaLabel":"Next match","messageSection.search.closeAriaLabel":"Close search","messageSection.search.searching":"Searching...","messageSection.search.noVisibleMatches":"No visible matches","messageTimeline.ariaLabel":"Message timeline","messageTimeline.segment.user.label":"You","messageTimeline.segment.assistant.label":"Asst","messageTimeline.segment.compaction.label":"Compaction","messageTimeline.tool.fallbackLabel":"Tool Call","messageTimeline.tooltip.userFallback":"User message","messageTimeline.tooltip.assistantFallback":"Assistant response","messageTimeline.tooltip.compaction.auto":"Auto Compaction","messageTimeline.tooltip.compaction.manual":"User Compaction","messageTimeline.text.filePrefix":"[File] {filename}","messageTimeline.text.attachment":"Attachment","messageBlock.tool.header":"Tool Call","messageBlock.tool.unknown":"unknown","messageBlock.tool.goToSession.label":"Go to Session","messageBlock.tool.goToSession.title":"Go to session","messageBlock.tool.goToSession.unavailableTitle":"Session not available yet","messageBlock.tool.deletePart.label":"Delete Part","messageBlock.tool.deletePart.deleting":"Deleting...","messageBlock.tool.deletePart.title":"Delete this tool call output","messageBlock.tool.deletePart.failed.title":"Delete failed","messageBlock.tool.deletePart.failed.message":"Failed to delete tool call output","messageBlock.compaction.ariaLabel":"Session compaction","messageBlock.compaction.autoLabel":"Session auto-compacted","messageBlock.compaction.manualLabel":"Session compacted by you","messageBlock.usage.input":"Input","messageBlock.usage.output":"Output","messageBlock.usage.reasoning":"Reasoning","messageBlock.usage.cacheRead":"Cache Read","messageBlock.usage.cacheWrite":"Cache Write","messageBlock.usage.cost":"Cost","messageBlock.step.agentLabel":"Agent: {agent}","messageBlock.step.modelLabel":"Model: {model}","messageBlock.reasoning.thinkingLabel":"Thinking","messageBlock.reasoning.expandAriaLabel":"Expand thinking","messageBlock.reasoning.collapseAriaLabel":"Collapse thinking","messageBlock.reasoning.indicator.hide":"Hide","messageBlock.reasoning.indicator.view":"View","messageBlock.reasoning.detailsAriaLabel":"Reasoning details","messageBlock.reasoning.thoughtsFallback":"Thoughts","messageBlock.reasoning.thoughtFor.seconds.one":"Thought for {count} second","messageBlock.reasoning.thoughtFor.seconds.other":"Thought for {count} seconds","messageBlock.reasoning.thoughtFor.minutes.one":"Thought for {count} minute","messageBlock.reasoning.thoughtFor.minutes.other":"Thought for {count} minutes","messageBlock.reasoning.thoughtFor.hours.one":"Thought for {count} hour","messageBlock.reasoning.thoughtFor.hours.other":"Thought for {count} hours","messageBlock.reasoning.copyTitle":"Copy thoughts","messageBlock.reasoning.copyAriaLabel":"Copy thoughts","codeBlockInline.actions.copy":"Copy","codeBlockInline.actions.copied":"Copied!","messageItem.speaker.you":"You","messageItem.speaker.assistant":"Assistant","messageItem.actions.revert":"Revert","messageItem.actions.revertTitle":"Undo changes up to here (deletes messages)","messageItem.actions.fork":"Fork","messageItem.actions.forkTitle":"Fork from this message","messageItem.actions.copy":"Copy","messageItem.actions.copyTitle":"Copy message","messageItem.actions.copied":"Copied!","messageItem.actions.more":"More actions","messageItem.actions.speak":"Speak message","messageItem.actions.generatingSpeech":"Generating speech","messageItem.actions.stopSpeech":"Stop playback","messageItem.actions.speak.error.title":"Speech playback failed","messageItem.actions.speak.error.unsupported":"Speech playback is not supported in this browser.","messageItem.actions.speak.error.unavailable":"Speech playback is unavailable until speech settings are configured.","messageItem.actions.speak.error.generate":"Unable to generate speech for this message.","messageItem.actions.deleteMessage":"Delete message (doesn't undo changes)","messageItem.actions.deleteMessagesUpTo":"Delete messages up to here (doesn't undo changes)","messageItem.actions.deletingMessage":"Deleting...","messageItem.actions.deleteMessageFailedTitle":"Delete failed","messageItem.actions.deleteMessageFailedMessage":"Failed to delete message","messageItem.selection.checkboxAriaLabel":"Select message for deletion","messageItem.selection.selectForDeletion":"Select message for deletion","messageItem.selection.deselectForDeletion":"Deselect message for deletion","messageItem.duration.workedFor.seconds.one":"Worked for {count} second","messageItem.duration.workedFor.seconds.other":"Worked for {count} seconds","messageItem.duration.workedFor.minutes.one":"Worked for {count} minute","messageItem.duration.workedFor.minutes.other":"Worked for {count} minutes","messageItem.duration.workedFor.hours.one":"Worked for {count} hour","messageItem.duration.workedFor.hours.other":"Worked for {count} hours","messageSection.bulkDelete.toolbarAriaLabel":"Selected items ({count})","messageSection.bulkDelete.deleteSelectedTitle":"Delete selected items","messageSection.bulkDelete.selectAllTitle":"Select all messages","messageSection.bulkDelete.moreOptionsTitle":"More options","messageSection.bulkDelete.selectionModeLabel":"Selection","messageSection.bulkDelete.selectionModeAll":"All","messageSection.bulkDelete.selectionModeTools":"Tools only","messageSection.bulkDelete.selectionHint.toggle":"Select item","messageSection.bulkDelete.selectionHint.range":"Select range","messageSection.bulkDelete.selectionHint.clear":"Clear Selection","messageSection.bulkDelete.cancelTitle":"Cancel selection","messageSection.bulkDelete.failedTitle":"Delete failed","messageSection.bulkDelete.failedMessage":"Failed to delete selected items","messageItem.status.queued":"QUEUED","messageItem.status.generating":"Generating...","messageItem.status.sending":"Sending...","messageItem.status.failedToSend":"Message failed to send","messagePart.actions.delete":"Delete Part","messagePart.actions.deleting":"Deleting...","messagePart.actions.deleteTitle":"Delete this item","messagePart.actions.deleteFailedTitle":"Delete failed","messagePart.actions.deleteFailedMessage":"Failed to delete item","messagePart.pastedText.summary":"Pasted text","messagePart.pastedText.lines.one":"{count} line","messagePart.pastedText.lines.other":"{count} lines","messagePart.pastedText.copyAriaLabel":"Copy pasted text block","messageItem.attachment.defaultName":"attachment","messageItem.attachment.downloadAriaLabel":"Download {name}","messageItem.agentMeta.agentLabel":"Agent: {agent}","messageItem.agentMeta.modelLabel":"Model: {model}","messageItem.errors.authenticationFallback":"Authentication error","messageItem.errors.outputLengthExceeded":"Message output length exceeded","messageItem.errors.requestAborted":"Request was aborted","messageItem.errors.unknownFallback":"Unknown error occurred","attachmentChip.removeAriaLabel":"Remove attachment","expandButton.toggleAriaLabel":"Toggle chat input height","promptInput.placeholder.shell":"Run a shell command (Esc to exit)...","promptInput.placeholder.default":"Type your message, @file, @agent, or paste images and text...","promptInput.hints.shell.exit":"to exit shell mode","promptInput.hints.shell.enable":"Shell mode","promptInput.hints.commands":"Commands","promptInput.history.previousAriaLabel":"Previous prompt","promptInput.history.nextAriaLabel":"Next prompt","promptInput.overlay.newLine":"New line","promptInput.overlay.send":"Send","promptInput.overlay.filesAgents":"Files/agents","promptInput.overlay.history":"History","promptInput.overlay.attachments":"• {count} file(s) attached","promptInput.overlay.shellModeActive":"Shell mode active","promptInput.overlay.press":"Press","promptInput.overlay.againToAbort":"again to abort session","promptInput.stopSession.ariaLabel":"Stop session","promptInput.stopSession.title":"Stop session","promptInput.attachFiles.ariaLabel":"Attach files","promptInput.attachFiles.title":"Attach files","promptInput.attachFiles.dialogTitle":"Attach files","promptInput.attachFiles.errorTitle":"Attach failed","promptInput.attachFiles.skipped.title":"Some files were not attached","promptInput.attachFiles.skipped.one":"1 selected file could not be attached because this environment did not expose a file path or supported preview data.","promptInput.attachFiles.skipped.other":"{count} selected files could not be attached because this environment did not expose file paths or supported preview data.","promptInput.attachFiles.tooLarge.one":"1 selected file could not be attached because it is larger than the 5 MB attachment limit.","promptInput.clear.ariaLabel":"Clear prompt text","promptInput.clear.title":"Clear prompt text","promptInput.send.ariaLabel":"Send message","promptInput.send.errorFallback":"Failed to send message","promptInput.send.errorTitle":"Send failed","promptInput.conversationMode.enable.title":"Enable conversation mode","promptInput.conversationMode.disable.title":"Disable conversation mode","promptInput.conversationMode.error.title":"Conversation playback failed","promptInput.conversationMode.error.message":"Unable to continue speaking assistant replies.","promptInput.voiceInput.start.title":"Start voice input","promptInput.voiceInput.stop.title":"Stop recording and transcribe","promptInput.voiceInput.transcribing.title":"Transcribing audio","promptInput.voiceInput.error.title":"Voice input failed","promptInput.voiceInput.error.permission":"Microphone access is required to record voice input.","promptInput.voiceInput.error.permissionDenied":"Microphone access was denied by macOS.","promptInput.voiceInput.error.unsupported":"Voice input is not supported in this browser.","promptInput.voiceInput.error.transcribe":"Unable to transcribe the recorded audio.","promptInput.resizeHandle.title":"Drag to resize input height"},$={"remoteAccess.eyebrow":"Remote handover","remoteAccess.title":"Connect to CodeNomad remotely","remoteAccess.subtitle":"Use the addresses below to open CodeNomad from another device.","remoteAccess.close":"Close remote access","remoteAccess.refresh":"Refresh","remoteAccess.sections.listeningMode.label":"Listening mode","remoteAccess.sections.listeningMode.help":"Allow or limit remote handovers by binding to all interfaces or just localhost.","remoteAccess.toggle.on":"On","remoteAccess.toggle.off":"Off","remoteAccess.toggle.title":"Allow connections from other IPs","remoteAccess.toggle.caption.all":"Binding to 0.0.0.0","remoteAccess.toggle.caption.local":"Binding to 127.0.0.1","remoteAccess.toggle.note":"Changing this requires a restart and temporarily stops all active instances. Share the addresses below once the server restarts.","remoteAccess.listeningMode.restartConfirm.message":"Restart to apply listening mode? This will stop all running instances.","remoteAccess.listeningMode.restartConfirm.title.all":"Open to other devices","remoteAccess.listeningMode.restartConfirm.title.local":"Limit to this device","remoteAccess.listeningMode.restartConfirm.confirmLabel":"Restart now","remoteAccess.listeningMode.restartConfirm.cancelLabel":"Cancel","remoteAccess.restart.errorManual":"Unable to restart automatically. Please restart the app to apply the change.","remoteAccess.sections.serverPassword.label":"Server password","remoteAccess.sections.serverPassword.help":"Remote handovers require a password. Set a memorable one to enable logins from other devices.","remoteAccess.authStatus.unavailable":"Authentication status unavailable.","remoteAccess.username":"Username: {username}","remoteAccess.password.status.set":"A password is set for remote access.","remoteAccess.password.status.unset":"No memorable password is set yet. Set one to allow remote handover logins.","remoteAccess.password.actions.cancel":"Cancel","remoteAccess.password.actions.change":"Change password","remoteAccess.password.actions.set":"Set password","remoteAccess.password.form.newPassword":"New password","remoteAccess.password.form.confirmPassword":"Confirm password","remoteAccess.password.form.placeholder":"At least 8 characters","remoteAccess.password.error.tooShort":"Password must be at least 8 characters.","remoteAccess.password.error.mismatch":"Passwords do not match.","remoteAccess.password.save.saving":"Saving…","remoteAccess.password.save.label":"Save password","remoteAccess.sections.addresses.label":"Reachable addresses","remoteAccess.sections.addresses.help":"Launch or scan from another machine to hand over control.","remoteAccess.addresses.loading":"Loading addresses…","remoteAccess.addresses.none":"No addresses available yet.","remoteAccess.addresses.actions.showOther":"Show {count} other addresses","remoteAccess.addresses.actions.hideOther":"Hide other addresses","remoteAccess.address.scope.network":"Network","remoteAccess.address.scope.loopback":"Loopback","remoteAccess.address.scope.internal":"Internal","remoteAccess.address.open":"Open","remoteAccess.address.showQr":"Show QR","remoteAccess.address.hideQr":"Hide QR","remoteAccess.address.qrAlt":"QR for {url}"},X={"sessionPicker.title":"OpenCode • {folder}","sessionPicker.empty.noPrevious":"No previous sessions","sessionPicker.resume.title":"Resume a session ({count}):","sessionPicker.session.untitled":"Untitled","sessionPicker.divider.or":"or","sessionPicker.new.title":"Start new session:","sessionPicker.agents.loading":"Loading agents...","sessionPicker.actions.creating":"Creating...","sessionPicker.actions.createSession":"Create Session","sessionPicker.actions.cancel":"Cancel","sessionList.header.title":"Sessions","sessionList.session.untitled":"Untitled","sessionList.status.working":"Working","sessionList.status.compacting":"Compacting","sessionList.status.idle":"Idle","sessionList.status.interrupted":"Interrupted","sessionList.status.retrying":"Retrying","sessionList.status.retryingIn":"Retrying in {seconds}s","sessionList.status.retryTooltip":"{message} (Attempt {attempt})","sessionList.status.retryToast":"{countdown}: {message} (Attempt {attempt})","sessionList.status.needsPermission":"Needs Permission","sessionList.status.needsInput":"Needs Input","sessionList.expand.collapseAriaLabel":"Collapse session","sessionList.expand.expandAriaLabel":"Expand session","sessionList.expand.collapseTitle":"Collapse","sessionList.expand.expandTitle":"Expand","sessionList.actions.newSession.ariaLabel":"New session","sessionList.actions.newSession.title":"New session","sessionList.actions.copyId.ariaLabel":"Copy session ID","sessionList.actions.copyId.title":"Copy session ID","sessionList.actions.reload.ariaLabel":"Reload session","sessionList.actions.reload.title":"Reload session","sessionList.actions.rename.ariaLabel":"Rename session","sessionList.actions.rename.title":"Rename session","sessionList.actions.delete.ariaLabel":"Delete session","sessionList.actions.delete.title":"Delete session","sessionList.copyId.success":"Session ID copied","sessionList.copyId.error":"Unable to copy session ID","sessionList.reload.error":"Unable to reload session","sessionList.delete.error":"Unable to delete session","sessionList.delete.title":"Delete session","sessionList.delete.confirmMessage":'Delete "{label}"? This cannot be undone.',"sessionList.delete.confirmLabel":"Delete","sessionList.delete.cancelLabel":"Cancel","sessionList.rename.error":"Unable to rename session","sessionList.filter.placeholder":"Search sessions…","sessionList.filter.ariaLabel":"Search sessions","sessionList.loading.more":"Loading more sessions…","sessionList.selection.selectAllLabel":"Select all","sessionList.selection.selectAllAriaLabel":"Select all sessions","sessionList.selection.clearLabel":"Clear","sessionList.selection.clearAriaLabel":"Clear selection","sessionList.selection.checkboxAriaLabel":"Select session","sessionList.bulkDelete.button":"Delete {count}","sessionList.bulkDelete.ariaLabel":"Delete {count} selected sessions","sessionList.bulkDelete.title":"Delete sessions","sessionList.bulkDelete.confirmMessage":"Delete {count} selected sessions? This cannot be undone.","sessionList.bulkDelete.confirmLabel":"Delete","sessionList.bulkDelete.cancelLabel":"Cancel","sessionList.bulkDelete.error":"Unable to delete {count} sessions","sessionRenameDialog.title":"Rename Session","sessionRenameDialog.description.withLabel":'Update the title for "{label}".',"sessionRenameDialog.description.default":"Set a new title for this session.","sessionRenameDialog.input.label":"Session name","sessionRenameDialog.input.placeholder":"Enter a session name","sessionRenameDialog.actions.cancel":"Cancel","sessionRenameDialog.actions.rename":"Rename","sessionRenameDialog.actions.renaming":"Renaming…","sessionView.fallback.sessionNotFound":"Session not found","sessionView.alerts.abortFailed.message":"Failed to stop session","sessionView.alerts.abortFailed.title":"Stop failed","sessionView.alerts.revertFailed.message":"Failed to revert to message","sessionView.alerts.revertFailed.title":"Revert failed","sessionView.alerts.deleteUpToFailed.message":"Failed to delete messages","sessionView.alerts.deleteUpToFailed.title":"Delete failed","sessionView.alerts.forkFailed.message":"Failed to fork session","sessionView.alerts.forkFailed.title":"Fork failed","sessionView.attachments.expandPastedTextAriaLabel":"Expand pasted text","sessionView.attachments.insertPastedTextTitle":"Insert pasted text","sessionView.attachments.removeAriaLabel":"Remove attachment","sessionPreview.title":"Web preview","sessionPreview.backToChat":"Back to chat","sessionPreview.close":"Close preview","sessionPreview.chat.button":"Back to chat","sessionPreview.open.button":"Open web preview","sessionPreview.open.title":"Open web preview","sessionPreview.open.prompt":"Enter a trusted local or staging URL to preview in this session.","sessionPreview.open.label":"Preview URL","sessionPreview.open.placeholder":"https://staging.example.com","sessionPreview.open.confirm":"Open preview","sessionPreview.open.cancel":"Cancel","sessionPreview.comment.mode":"Comment mode","sessionPreview.comment.title":"Add preview comment","sessionPreview.comment.prompt":"Describe what should change for the selected element.","sessionPreview.comment.label":"Comment","sessionPreview.comment.add":"Add comment","sessionPreview.comment.cancel":"Cancel","browserFrame.viewport":"Viewport size","browserFrame.viewport.responsive":"Responsive viewport","browserFrame.viewport.desktop":"Desktop viewport (1440 x 900)","browserFrame.viewport.tablet":"Tablet viewport (768 x 1024)","browserFrame.viewport.tabletLandscape":"Tablet landscape (1024 x 768)","browserFrame.viewport.mobile":"Mobile viewport (390 x 844)","browserFrame.viewport.mobileLandscape":"Mobile landscape (844 x 390)","sessionEvents.sessionCompactedToast":"Session {label} was compacted","sessionEvents.sessionError.unknown":"Unknown error","sessionEvents.sessionError.title":"Session error","sessionEvents.sessionError.message":"Error: {message}","sessionState.cleanup.deepConfirm.message":"This cleanup may be slow, and may delete sessions you didn't intend to delete. Are you sure?","sessionState.cleanup.deepConfirm.title":"Deep Clean Sessions","sessionState.cleanup.deepConfirm.detail":"Deep Clean Sessions will delete all sessions that have no messages, remove any finished sub-agent sessions, and clear out any unused forks of a session.","sessionState.cleanup.deepConfirm.confirmLabel":"Continue","sessionState.cleanup.deepConfirm.cancelLabel":"Cancel","sessionState.cleanup.toast.one":"Cleaned up {count} blank session","sessionState.cleanup.toast.other":"Cleaned up {count} blank sessions"},Z={"instanceServiceStatus.sections.lsp":"LSP Servers","instanceServiceStatus.sections.mcp":"MCP Servers","instanceServiceStatus.sections.plugins":"Plugins","instanceServiceStatus.lsp.loading":"Loading LSP servers...","instanceServiceStatus.lsp.empty":"No LSP servers detected.","instanceServiceStatus.lsp.status.connected":"Connected","instanceServiceStatus.lsp.status.error":"Error","instanceServiceStatus.mcp.loading":"Loading MCP servers...","instanceServiceStatus.mcp.empty":"No MCP servers detected.","instanceServiceStatus.mcp.toggleAriaLabel":"Toggle {name} MCP server","instanceServiceStatus.plugins.loading":"Loading plugins...","instanceServiceStatus.plugins.empty":"No plugins configured.","permissionBanner.pendingRequests.one":"{count} pending request","permissionBanner.pendingRequests.other":"{count} pending requests","permissionBanner.detail.permission.one":"{count} permission","permissionBanner.detail.permission.other":"{count} permissions","permissionBanner.detail.question.one":"{count} question","permissionBanner.detail.question.other":"{count} questions","permissionBanner.detail.wrapper":" ({detail})","agentSelector.placeholder":"Select agent...","agentSelector.badge.subagent":"subagent","agentSelector.none":"None","agentSelector.trigger.primary":"Agent: {agent}","modelSelector.placeholder.search":"Search models...","modelSelector.none":"None","modelSelector.trigger.primary":"Model: {model}","modelSelector.favoritesOnly.toggle.ariaLabel":"Toggle favorites only","modelSelector.favoritesOnly.showAll":"Show all models","modelSelector.favorite.add":"Add to favorites","modelSelector.favorite.remove":"Remove from favorites","modelSelector.manageProviders":"Manage Providers","thinkingSelector.variant.default":"Default","thinkingSelector.label":"Thinking: {variant}","envEditor.title":"Environment Variables","envEditor.count.one":"({count} variable)","envEditor.count.other":"({count} variables)","envEditor.fields.name.placeholder":"Variable name","envEditor.fields.name.readOnlyTitle":"Variable name (read-only)","envEditor.fields.value.placeholder":"Variable value","envEditor.fields.secure.enabled":"Value masked (secure)","envEditor.fields.secure.disabled":"Click to mask value","envEditor.fields.secure.masked":"Value hidden (secure)","envEditor.actions.remove.title":"Remove variable","envEditor.actions.add.title":"Add variable","envEditor.empty":"No environment variables configured. Add variables above to customize the OpenCode environment.","envEditor.help":"These variables will be available in the OpenCode environment when starting instances.","contextUsagePanel.headings.tokens":"Tokens","contextUsagePanel.headings.context":"Context","contextUsagePanel.labels.input":"Input","contextUsagePanel.labels.output":"Output","contextUsagePanel.labels.cost":"Cost","contextUsagePanel.labels.totalInput":"Total In","contextUsagePanel.labels.totalOutput":"Total Out","contextUsagePanel.labels.totalCost":"Total Cost","contextUsagePanel.labels.totalReasoning":"Total Reasoning","contextUsagePanel.labels.used":"Used","contextUsagePanel.labels.available":"Avail","contextUsagePanel.unavailable":"--","providerUsage.title":"Plan usage","providerUsage.tooltip":"Usage and reset windows for the provider selected by the active session.","providerUsage.noSession":"Select a session to view plan usage.","providerUsage.loading":"Loading usage...","providerUsage.unsupported":"Usage is not available for this provider.","providerUsage.notConfigured":"No compatible subscription credential was found.","providerUsage.unavailable":"Usage is temporarily unavailable.","providerUsage.unavailableValue":"--","providerUsage.usedPercent":"{percent}% used","providerUsage.resets":"Resets {time}","providerUsage.progressLabel":"{window} plan usage","providerUsage.windows.fiveHours":"5 hours","providerUsage.windows.sevenDays":"7 days","providerUsage.windows.sevenDaysSonnet":"7 days · Sonnet","providerUsage.windows.sevenDaysOpus":"7 days · Opus","providerUsage.windows.weekly":"Weekly","providerUsage.windows.daily":"Daily","providerUsage.windows.monthly":"Monthly","providerUsage.windows.credits":"Credits","providerUsage.windows.creditsBalance":"Credit balance","providerUsage.windows.billingCycle":"Billing cycle","providerUsage.windows.session":"Session","providerUsage.windows.premium":"Premium requests","providerUsage.windows.chat":"Chat","providerUsage.windows.completions":"Completions","providerUsage.windows.mcpTools":"MCP tools","settings.title":"Settings","settings.navigationAriaLabel":"Settings sections","settings.close":"Close settings","settings.content.eyebrow":"Workspace preferences","settings.open.title":"Open settings","settings.open.ariaLabel":"Open settings","settings.nav.appearance":"Appearance","settings.nav.notifications":"Notifications","settings.nav.remote":"Remote Access","settings.nav.speech":"Speech","settings.nav.providers":"Providers","settings.nav.opencode":"OpenCode","settings.nav.configFiles":"Config Files","settings.nav.info":"Info","settings.scope.device":"This device","settings.scope.server":"Server setting","settings.common.enabled":"Enabled","settings.common.disabled":"Disabled","settings.section.appearance.title":"Appearance","settings.section.appearance.subtitle":"Adjust how the app looks on this device.","settings.appearance.theme.title":"Theme","settings.appearance.theme.subtitle":"Choose the color mode used throughout the app.","settings.appearance.theme.option.system":"Match your operating system setting","settings.appearance.theme.option.light":"Use the light appearance","settings.appearance.theme.option.dark":"Use the dark appearance","settings.appearance.startup.title":"Startup","settings.appearance.startup.subtitle":"Choose what this device restores when CodeNomad starts.","settings.appearance.startup.restore.title":"Restore previous state","settings.appearance.startup.restore.subtitle":"Reopen workspace and sidecar tabs, active sessions, drafts, scroll positions, and panel layout.","settings.appearance.startup.clear.title":"Saved startup state","settings.appearance.startup.clear.subtitle":"Remove saved tabs, drafts, scroll positions, and panel layout. CodeNomad and OpenCode data are not deleted.","settings.appearance.startup.clear.action":"Clear saved state","settings.appearance.startup.clearSuccess":"Saved startup state cleared.","settings.appearance.startup.clearError":"Could not clear the saved startup state.","settings.appearance.startup.updateError":"Could not update the startup restore setting.","settings.section.notifications.title":"Notifications","settings.section.notifications.subtitle":"Control OS-level notifications for session activity.","settings.notifications.permission.granted":"Granted","settings.notifications.permission.denied":"Denied","settings.notifications.permission.default":"Not granted","settings.notifications.permission.unsupported":"Unsupported","settings.notifications.messages.unsupportedEnvironment":"OS notifications are not supported in this environment.","settings.notifications.messages.permissionDenied":"Notification permission denied. Enable notifications in your system or browser settings.","settings.notifications.messages.permissionNotGranted":"Notification permission not granted.","settings.notifications.messages.unsupportedGeneral":"Notifications are not supported in this environment.","settings.notifications.messages.permissionGranted":"Permission granted. You can now enable notifications.","settings.notifications.messages.permissionRequestDenied":"Permission denied. You may need to enable notifications in your system or browser settings.","settings.notifications.sessionStatus.title":"Session status notifications","settings.notifications.sessionStatus.subtitle":"Receive alerts when sessions need your attention.","settings.notifications.enable.title":"Enable notifications","settings.notifications.enable.permission":"Permission: {permission}","settings.notifications.requestPermission.title":"Request permission","settings.notifications.requestPermission.subtitle":"Allow the app to send notifications on this device.","settings.notifications.requestPermission.action":"Request","settings.notifications.allowVisible.title":"Notify when the app is focused","settings.notifications.allowVisible.subtitle":"Keep alerts enabled even while this window is visible.","settings.notifications.unsupportedNote":"Notifications are not supported in this environment. The notifications control stays disabled.","settings.notifications.events.title":"Notify me when","settings.notifications.events.subtitle":"Choose which session events should send alerts.","settings.notifications.events.needsInput":"Session needs input","settings.notifications.events.idle":"Session becomes idle","settings.notifications.status.enabled":"Notifications enabled","settings.notifications.status.disabled":"Notifications disabled","settings.notifications.status.unsupported":"Notifications unsupported","settings.section.remote.title":"Remote Access","settings.section.remote.subtitle":"Review how this server is exposed on your network and secure access credentials.","settings.section.opencode.title":"OpenCode","settings.section.opencode.subtitle":"Choose the OpenCode binary and environment used for new instances.","settings.opencode.runtime.title":"Runtime","settings.opencode.runtime.subtitle":"Configure which OpenCode binary new instances launch with.","settings.opencode.logLevel.title":"OpenCode Log Level","settings.opencode.logLevel.subtitle":"Control the log verbosity used when launching new OpenCode instances.","settings.opencode.logLevel.selector.title":"Default log level","settings.opencode.logLevel.selector.subtitle":"Choose how verbose new OpenCode instances should be.","settings.opencode.logLevel.option.debug":"Debug","settings.opencode.logLevel.option.info":"Info","settings.opencode.logLevel.option.warn":"Warn","settings.opencode.logLevel.option.error":"Error","settings.configFiles.title":"Config Files","settings.configFiles.subtitle":"Edit allowlisted global configuration files on this server.","settings.configFiles.selector.label":"File","settings.configFiles.selector.placeholder":"Select config file","settings.configFiles.actions.save":"Save","settings.configFiles.actions.reload":"Reload","settings.configFiles.state.unsaved":"Unsaved changes","settings.configFiles.state.notCreated":"File will be created on save","settings.configFiles.empty":"No config file selected.","settings.configFiles.errors.loadList":"Failed to load config files.","settings.configFiles.errors.loadContent":"Failed to load config file.","settings.configFiles.errors.save":"Failed to save config file.","settings.configFiles.toast.saveSuccess":"Config file saved.","settings.configFiles.toast.saveError":"Failed to save config file.","settings.configFiles.confirmDiscard.message":"Discard unsaved changes before continuing?","settings.configFiles.confirmDiscard.confirmLabel":"Discard changes","settings.configFiles.confirmDiscard.cancelLabel":"Keep editing","settings.providers.title":"Provider Authentication","settings.providers.subtitle":"Connect API keys or OAuth accounts for the active OpenCode instance.","settings.providers.refresh":"Refresh","settings.providers.selectProvider":"Select provider","settings.providers.available.title":"Available Providers","settings.providers.configured.title":"Configured Providers","settings.providers.loading":"Loading provider authentication methods...","settings.providers.empty.noInstance":"Start an OpenCode workspace before managing provider authentication.","settings.providers.empty.noProviders":"No providers are available from this OpenCode instance.","settings.providers.empty.noConfiguredProviders":"No providers are currently configured for this OpenCode instance.","settings.providers.models.one":"{count} model","settings.providers.models.other":"{count} models","settings.providers.actions.connect":"Connect","settings.providers.actions.disconnect":"Disconnect","settings.providers.actions.remove":"Remove saved auth","settings.providers.actions.close":"Close","settings.providers.actions.continue":"Continue","settings.providers.actions.working":"Working...","settings.providers.method.title":"Authentication method","settings.providers.method.subtitle":"Choose the flow OpenCode exposes for this provider.","settings.providers.method.api":"API key","settings.providers.method.oauth":"OAuth","settings.providers.method.mixed":"API key and OAuth","settings.providers.method.fallback":"API key","settings.providers.status.available":"Available","settings.providers.auth.title":"Connect {provider}","settings.providers.auth.subtitle":"Authentication is saved inside the active OpenCode server.","settings.providers.apiKey.label":"API key","settings.providers.apiKey.placeholder":"Paste provider API key","settings.providers.oauth.noPrompts":"This OAuth method does not need additional details before opening the browser.","settings.providers.oauth.promptsUnsupported":"This OAuth method requires provider-specific prompt inputs that are not supported by the current SDK build.","settings.providers.oauth.enterCode":"Complete the browser flow, then paste the authorization code.","settings.providers.oauth.openPage":"Open authorization page","settings.providers.oauth.openHere":"Open in this tab","settings.providers.oauth.copyLink":"Copy link","settings.providers.oauth.linkCopied":"Link copied","settings.providers.oauth.popupBlocked":"Your browser may have blocked the authorization page. Use the actions above to continue the sign-in flow.","settings.providers.oauth.popup.loadingTitle":"OpenCode authorization","settings.providers.oauth.popup.loadingBody":"Preparing authorization page...","settings.providers.oauth.codeLabel":"Authorization code","settings.providers.oauth.codePlaceholder":"Paste code from provider","settings.providers.oauth.submitCode":"Submit code","settings.providers.oauth.waitingTitle":"Waiting for authorization","settings.providers.oauth.cancelWait":"Cancel","settings.providers.prompt.selectPlaceholder":"Select an option","settings.providers.success":"Provider authentication saved. Provider data has been refreshed.","settings.providers.source.api":"Saved provider authentication","settings.providers.source.config":"Configured in opencode.jsonc","settings.providers.source.custom":"Configured by custom provider logic","settings.providers.source.env":"Configured from environment variables","settings.providers.source.unknown":"Configured provider source","settings.providers.errors.loadFailed":"Failed to load provider authentication methods.","settings.providers.errors.noAuthorization":"Provider did not return authorization data.","settings.providers.errors.authorizationFailed":"Authorization failed.","settings.providers.errors.removeFailed":"Failed to remove provider authentication.","settings.providers.errors.envDisconnectUnavailable":"This provider is configured from environment variables and cannot be disconnected from the UI.","settings.appearance.behavior.title":"Interaction","settings.appearance.behavior.subtitle":"Message, diff, and input defaults.","settings.behavior.expansionPresets.ariaLabel":"Transcript detail presets","settings.behavior.expansionPreset.minimal.title":"Minimal","settings.behavior.expansionPreset.minimal.description":"Keep most generated detail tucked away until needed.","settings.behavior.expansionPreset.balanced.title":"Balanced","settings.behavior.expansionPreset.balanced.description":"Show important actions while keeping noisy reads and fetches compact.","settings.behavior.expansionPreset.detailed.title":"Detailed","settings.behavior.expansionPreset.detailed.description":"Open most tool and thinking output for a fuller transcript.","settings.behavior.expansionPreset.everything.title":"Everything","settings.behavior.expansionPreset.everything.description":"Expand all tool and thinking output by default.","settings.behavior.expansionPreset.custom.title":"Custom","settings.behavior.expansionPreset.custom.description":"Your customized transcript detail defaults.","settings.behavior.expansionDefaults.title":"Expansion defaults","settings.behavior.expansionDefaults.itemColumn":"Item","settings.behavior.expansionDefaults.stateColumn":"Default state","settings.behavior.expansionDefaults.thinking":"thinking","settings.behavior.expansionDefaults.otherTools":"Other tools","settings.behavior.expansionDefaults.rowAriaLabel":"Default state for {item}","settings.behavior.keyboardHints.title":"Keyboard shortcut hints","settings.behavior.keyboardHints.subtitle":"Show keyboard shortcut hints across the UI.","settings.behavior.thinking.title":"Thinking sections","settings.behavior.thinking.subtitle":"Show or hide AI thinking sections in messages.","settings.behavior.thinkingDefault.title":"Thinking default","settings.behavior.thinkingDefault.subtitle":"Choose whether thinking sections start expanded or collapsed.","settings.behavior.messageTimeline.title":"Message timeline","settings.behavior.messageTimeline.subtitle":"Show or hide the message timeline sidebar.","settings.behavior.timelineTools.title":"Timeline tool calls","settings.behavior.timelineTools.subtitle":"Show or hide tool call entries in the message timeline.","settings.behavior.diffView.title":"Diff view","settings.behavior.diffView.subtitle":"Choose how tool-call diffs are displayed.","settings.behavior.diffView.option.split":"Split","settings.behavior.diffView.option.unified":"Unified","settings.behavior.toolOutputsDefault.title":"Tool outputs default","settings.behavior.toolOutputsDefault.subtitle":"Choose whether tool outputs start expanded or collapsed.","settings.behavior.diagnosticsDefault.title":"Diagnostics default","settings.behavior.diagnosticsDefault.subtitle":"Choose whether diagnostics output starts expanded or collapsed.","settings.behavior.toolInputsVisibility.title":"Tool inputs visibility","settings.behavior.toolInputsVisibility.subtitle":"Set default visibility for tool call input arguments.","settings.behavior.usageMetrics.title":"Token usage metrics","settings.behavior.usageMetrics.subtitle":"Show or hide token and cost stats for assistant messages.","settings.behavior.autoCleanup.title":"Auto-cleanup blank sessions","settings.behavior.autoCleanup.subtitle":"Automatically clean up blank sessions when creating new ones.","settings.behavior.keepUnseenSubagentIdle.title":"Keep subagent idle markers","settings.behavior.keepUnseenSubagentIdle.subtitle":"Keep subagent idle markers visible until viewed instead of hiding them after 5 seconds.","settings.behavior.tauriNativeEventTransport.title":"Native Tauri event transport","settings.behavior.tauriNativeEventTransport.subtitle":"Use the Rust-native desktop event transport in Tauri. Disable this to fall back to the browser EventSource path.","settings.behavior.promptVoiceInput.title":"Prompt voice input","settings.behavior.promptVoiceInput.subtitle":"Show the microphone control for speech-to-text prompt input when speech is configured.","settings.behavior.promptSubmit.title":"Enter to submit","settings.behavior.promptSubmit.subtitle":"Use Enter to submit prompts; Cmd/Ctrl+Enter inserts a new line.","settings.speech.title":"Speech","settings.speech.subtitle":"Configure speech-to-text now and text-to-speech groundwork for later features.","settings.speech.provider.title":"Provider","settings.speech.provider.subtitle":"Speech requests use the server-side speech adapter.","settings.speech.provider.openaiCompatible":"OpenAI-compatible","settings.speech.status.loading":"Checking configuration...","settings.speech.status.configured":"Configured","settings.speech.status.missing":"Missing API key","settings.speech.status.partial":"Partially configured","settings.speech.status.error":"Speech service unavailable","settings.speech.apiKey.title":"API key","settings.speech.apiKey.subtitle":"Used for CodeNomad-managed speech requests.","settings.speech.apiKey.placeholder":"Enter a new API key","settings.speech.apiKey.storedNote":"A saved API key is hidden. Enter a new value to replace it, or leave the field blank to keep it.","settings.speech.apiKey.clearAction":"Clear saved key","settings.speech.apiKey.clearPending":"The saved API key will be removed when you save.","settings.speech.baseUrl.title":"Base URL","settings.speech.baseUrl.subtitle":"Optional override for OpenAI-compatible speech endpoints.","settings.speech.baseUrl.placeholder":"https://api.openai.com/v1","settings.speech.sttModel.title":"Transcription model","settings.speech.sttModel.subtitle":"Model used for prompt speech-to-text requests.","settings.speech.ttsModel.title":"Speech model","settings.speech.ttsModel.subtitle":"Default text-to-speech model reserved for future playback features.","settings.speech.ttsVoice.title":"Default voice","settings.speech.ttsVoice.subtitle":"Default text-to-speech voice reserved for future playback features.","settings.speech.playbackMode.title":"Playback mode","settings.speech.playbackMode.subtitle":"Choose whether TTS starts playing as audio streams in or after the full file is generated.","settings.speech.playbackMode.streaming":"Streaming","settings.speech.playbackMode.buffered":"Buffered","settings.speech.ttsFormat.title":"Output format","settings.speech.ttsFormat.subtitle":"Choose the audio format for synthesized speech. Streaming support depends on your provider and browser.","settings.speech.help":"Prompt voice input appears when speech transcription is configured and supported. Message playback uses the TTS mode and format selected here.","settings.speech.compatibility.streamingUnavailable":"Your current speech provider configuration does not advertise streaming TTS. Switch playback mode to buffered if you want playback to work now.","settings.speech.compatibility.browserStreamingUnavailable":"Your current browser cannot stream the selected TTS format. Choose buffered playback or switch to a different format.","settings.speech.compatibility.runtimeNote":"All formats stay selectable in streaming mode. Some browser and provider combinations may still fail at playback time.","settings.speech.testPlayback.action":"Test playback","settings.speech.testPlayback.generating":"Generating sample","settings.speech.testPlayback.stop":"Stop sample","settings.speech.testPlayback.sample":"Thank you for using CodeNomad, your speech settings are working fine.","settings.speech.testPlayback.note":"The test uses your current playback mode and format immediately. Save API key, base URL, model, or voice changes first if you want those reflected too.","settings.speech.testInput.action":"Test input","settings.speech.testInput.stop":"Stop recording","settings.speech.testInput.transcribing":"Transcribing","settings.speech.testInput.requesting":"Starting…","settings.speech.testInput.empty":"No speech detected","settings.speech.save.action":"Save","settings.speech.save.saving":"Saving...","settings.speech.save.saved":"Saved","settings.speech.save.unsaved":"Unsaved changes","settings.speech.save.error":"Save failed","settings.speech.separateProviders.title":"Separate providers for input and output","settings.speech.separateProviders.subtitle":"Use different API keys and endpoints for voice input (STT) and output (TTS).","settings.speech.stt.section.title":"Voice Input (Speech-to-Text)","settings.speech.tts.section.title":"Voice Output (Text-to-Speech)","settings.speech.stt.apiKey.title":"Input API key","settings.speech.stt.apiKey.subtitle":"Used for speech-to-text transcription requests.","settings.speech.stt.apiKey.placeholder":"Enter a new input API key","settings.speech.stt.apiKey.storedNote":"A saved input API key is hidden. Enter a new value to replace it, or leave the field blank to keep it.","settings.speech.stt.apiKey.usingShared":"Using the shared API key. Enter a new key to override.","settings.speech.stt.apiKey.clearAction":"Clear saved input key","settings.speech.stt.apiKey.clearPending":"The saved input API key will be removed when you save.","settings.speech.stt.baseUrl.title":"Input base URL","settings.speech.stt.baseUrl.subtitle":"OpenAI-compatible endpoint for transcription requests.","settings.speech.stt.baseUrl.placeholder":"https://api.openai.com/v1","settings.speech.stt.model.title":"Input model","settings.speech.stt.model.subtitle":"Model used for speech-to-text.","settings.speech.tts.apiKey.title":"Output API key","settings.speech.tts.apiKey.subtitle":"Used for text-to-speech synthesis requests.","settings.speech.tts.apiKey.placeholder":"Enter a new output API key","settings.speech.tts.apiKey.storedNote":"A saved output API key is hidden. Enter a new value to replace it, or leave the field blank to keep it.","settings.speech.tts.apiKey.usingShared":"Using the shared API key. Enter a new key to override.","settings.speech.tts.apiKey.clearAction":"Clear saved output key","settings.speech.tts.apiKey.clearPending":"The saved output API key will be removed when you save.","settings.speech.tts.baseUrl.title":"Output base URL","settings.speech.tts.baseUrl.subtitle":"OpenAI-compatible endpoint for synthesis requests.","settings.speech.tts.baseUrl.placeholder":"https://api.openai.com/v1","settings.speech.tts.model.title":"Output model","settings.speech.tts.model.subtitle":"Model used for text-to-speech.","settings.nav.sidecars":"SideCars","settings.section.sidecars.eyebrow":"Server services","settings.section.sidecars.title":"SideCars","settings.section.sidecars.subtitle":"Configure local services listening on fixed ports that the server can proxy into tabs.","sidecars.form.name":"Name","sidecars.form.validation":"Enter a valid SideCar name and port.","sidecars.form.port":"Port","sidecars.form.insecure":"Use HTTP","sidecars.form.protocol":"Protocol","sidecars.form.protocol.help":"Choose how the proxy should connect to the local service.","sidecars.form.protocol.https":"HTTPS","sidecars.form.protocol.http":"HTTP","sidecars.form.prefixMode":"Prefix mode","sidecars.form.prefixMode.help":"Choose whether the SideCar receives the public /sidecars path prefix.","sidecars.form.prefixMode.strip":"Strip prefix","sidecars.form.prefixMode.preserve":"Preserve prefix","sidecars.form.add":"Add SideCar","sidecars.kind.port":"Port","sidecars.status.running":"Running","sidecars.status.stopped":"Stopped","sidecars.basePath":"Base path","sidecars.settings.listTitle":"Configured SideCars","sidecars.settings.listSubtitle":"Review the port-based SideCars available in the picker.","sidecars.settings.empty":"No SideCars configured yet.","sidecars.picker.title":"Open SideCar","sidecars.picker.loading":"Loading SideCars...","sidecars.picker.subtitle":"Choose an available SideCar to open in a new tab.","sidecars.picker.empty":"No port-based SideCars are available yet.","sidecars.picker.close":"Close","sidecars.open.errorTitle":"Unable to open SideCar","sidecars.open.notFound":"SideCar not found.","sidecars.open.notRunning":"SideCar is not reachable on its configured port.","sidecars.back":"Back","sidecars.refresh":"Refresh","sidecars.path":"Path","sidecars.go":"Go","toastHistory.title":"Notification History","toastHistory.empty":"No notifications yet","toastHistory.empty.filter":"No matching notifications for this filter","toastHistory.clearAll":"Clear all","toastHistory.markAllRead":"Mark all read","toastHistory.filter.label":"Filter notifications","toastHistory.filter.all":"All","toastHistory.filter.info":"Info","toastHistory.filter.success":"Success","toastHistory.filter.warning":"Warning","toastHistory.filter.error":"Error","toastHistory.today":"Today","toastHistory.yesterday":"Yesterday","toastHistory.earlier":"Earlier","toastHistory.unread":"{count} unread","toastHistory.viewSettings":"Settings","toastHistory.close":"Close","toastHistory.deleteItem":"Delete notification","settings.section.info.title":"About","settings.section.info.subtitle":"View version, runtime, and gather diagnostic information.","settings.info.version.server":"Server version","settings.info.version.ui":"UI version","settings.info.version.uiSource":"UI source","settings.info.runtime.type":"Runtime","settings.info.runtime.platform":"Platform","settings.info.runtime.os":"Operating system","settings.info.server.url":"Server URL","settings.info.server.root":"Workspace root","settings.info.updates.title":"Updates","settings.info.updates.subtitle":"Check for new releases of CodeNomad.","settings.info.updates.latest":"Latest version","settings.info.updates.download":"Download update","settings.info.updates.refresh":"Refresh","settings.info.diagnostics.copyFailed":"Clipboard access denied. Use the download button instead.","settings.info.diagnostics.title":"Diagnostics","settings.info.diagnostics.subtitle":"Collect system and version info for bug reports.","settings.info.diagnostics.copy":"Copy to clipboard","settings.info.diagnostics.download":"Download .txt","settings.info.diagnostics.copied":"Diagnostic info copied to clipboard."},ee={"time.relative.justNow":"just now","time.relative.daysAgoShort":"{count}d ago","time.relative.hoursAgoShort":"{count}h ago","time.relative.minutesAgoShort":"{count}m ago"},te={"toolCall.pending.waitingToRun":"Waiting to run...","toolCall.error.label":"Error:","toolCall.header.copyTitle":"Copy tool call title","toolCall.header.copyAriaLabel":"Copy tool call title","toolCall.header.copyOutputTitle":"Copy tool output","toolCall.header.copyOutputAriaLabel":"Copy tool output","toolCall.header.showInputTitle":"Show Tool Arguments","toolCall.header.showInputAriaLabel":"Show Tool Arguments","toolCall.header.hideInputTitle":"Hide Tool Arguments","toolCall.header.hideInputAriaLabel":"Hide Tool Arguments","toolCall.io.input":"Tool Input","toolCall.io.output":"Tool Output","toolCall.io.copyInputTitle":"Copy tool input","toolCall.io.copyInputAriaLabel":"Copy tool input","toolCall.io.copyOutputTitle":"Copy tool output","toolCall.io.copyOutputAriaLabel":"Copy tool output","toolCall.diff.label":"Diff","toolCall.diff.label.withPath":"Diff · {path}","toolCall.diff.viewMode.ariaLabel":"Diff view mode","toolCall.diff.viewMode.split":"Split","toolCall.diff.viewMode.unified":"Unified","toolCall.diff.switchToSplit":"Switch to split view","toolCall.diff.switchToUnified":"Switch to unified view","toolCall.diff.enableWordWrap":"Enable word wrap","toolCall.diff.disableWordWrap":"Disable word wrap","toolCall.diff.copyPatch":"Copy patch","toolCall.diagnostics.title":"Diagnostics","toolCall.diagnostics.ariaLabel":"Diagnostics","toolCall.diagnostics.ariaLabel.withLabel":"Diagnostics {label}","toolCall.diagnostics.severity.error.short":"ERR","toolCall.diagnostics.severity.warning.short":"WARN","toolCall.diagnostics.severity.info.short":"INFO","toolCall.renderer.toolName.shell":"Shell","toolCall.renderer.toolName.fetch":"Fetch","toolCall.renderer.toolName.invalid":"Invalid","toolCall.renderer.toolName.plan":"Plan","toolCall.renderer.toolName.applyPatch":"Apply patch","toolCall.renderer.action.working":"Working...","toolCall.renderer.action.writingCommand":"Writing command...","toolCall.renderer.action.preparingEdit":"Preparing edit...","toolCall.renderer.action.readingFile":"Reading file...","toolCall.renderer.action.preparingWrite":"Preparing write...","toolCall.renderer.action.preparingPatch":"Preparing patch...","toolCall.renderer.action.planning":"Planning...","toolCall.renderer.action.fetchingFromWeb":"Fetching from the web...","toolCall.renderer.action.findingFiles":"Finding files...","toolCall.renderer.action.searchingContent":"Searching content...","toolCall.renderer.action.listingDirectory":"Listing directory...","toolCall.renderer.bash.title.timeout":"Timeout: {timeout}","toolCall.renderer.read.detail.offset":"Offset: {offset}","toolCall.renderer.read.detail.limit":"Limit: {limit}","toolCall.renderer.todo.empty":"No items planned","toolCall.renderer.todo.status.pending":"Pending","toolCall.renderer.todo.status.inProgress":"In progress","toolCall.renderer.todo.status.completed":"Completed","toolCall.renderer.todo.status.cancelled":"Cancelled","toolCall.renderer.todo.title.plan":"Plan","toolCall.renderer.todo.title.creating":"Creating plan","toolCall.renderer.todo.title.completing":"Completing plan","toolCall.renderer.todo.title.updating":"Updating plan","toolCall.permission.status.required":"Permission Required","toolCall.permission.status.queued":"Permission Queued","toolCall.permission.requestedDiff.label":"Requested diff","toolCall.permission.requestedDiff.withPath":"Requested diff · {path}","toolCall.permission.queuedText":"Waiting for earlier permission responses.","toolCall.permission.actions.allowOnce":"Allow Once","toolCall.permission.actions.alwaysAllow":"Always Allow","toolCall.permission.actions.deny":"Deny","toolCall.permission.shortcuts.allowOnce":"Allow once","toolCall.permission.shortcuts.alwaysAllow":"Always allow","toolCall.permission.rejectReason.placeholder":"Optional feedback for Deny, e.g. use a safer command...","toolCall.permission.errors.unableToUpdate":"Unable to update permission","permissionApproval.title":"Requests","permissionApproval.empty":"No pending requests.","permissionApproval.kind.permission":"Permission","permissionApproval.kind.question":"Question","permissionApproval.questionCount.one":"{count} question","permissionApproval.questionCount.other":"{count} questions","permissionApproval.status.active":"Active","permissionApproval.actions.closeAriaLabel":"Close","permissionApproval.actions.goToSession":"Go to Session","permissionApproval.actions.loadingSession":"Loading…","permissionApproval.actions.loadSession":"Load Session","permissionApproval.actions.allowOnce":"Allow Once","permissionApproval.actions.alwaysAllow":"Always Allow","permissionApproval.actions.deny":"Deny","permissionApproval.rejectReason.placeholder":"Optional feedback for Deny, e.g. use a safer command...","permissionApproval.fallbackHint":"Load session for more information.","permissionApproval.errors.unableToUpdatePermission":"Unable to update permission","toolCall.question.status.required":"Question Required","toolCall.question.status.queued":"Question Queued","toolCall.question.status.questions":"Questions","toolCall.question.action.awaitingAnswers":"Awaiting answers...","toolCall.question.title.questions":"Questions","toolCall.question.title.askingQuestions":"Asking questions","toolCall.question.type.one":"Question","toolCall.question.type.other":"Questions","toolCall.question.number":"Q{number}:","toolCall.question.multiple":"Multiple","toolCall.question.custom.title":"Type a custom answer","toolCall.question.custom.label":"Custom answer","toolCall.question.custom.placeholder":"Type your own answer","toolCall.question.actions.submit":"Submit","toolCall.question.actions.dismiss":"Dismiss","toolCall.question.shortcuts.submit":"Submit","toolCall.question.shortcuts.dismiss":"Dismiss","toolCall.question.queuedText":"Waiting for earlier responses.","toolCall.question.validation.answerAll":"Please answer all questions before submitting.","toolCall.question.errors.unableToReply":"Unable to reply","toolCall.question.errors.unableToDismiss":"Unable to dismiss","toolCall.task.action.delegating":"Delegating...","toolCall.task.sections.prompt":"Prompt","toolCall.task.sections.steps":"Steps","toolCall.task.sections.output":"Output","toolCall.task.steps.count":"{count} steps","toolCall.task.meta.agentModel":"Agent: {agent} • Model: {model}","toolCall.task.meta.agent":"Agent: {agent}","toolCall.task.meta.model":"Model: {model}","toolCall.status.pending":"Pending","toolCall.status.running":"Running","toolCall.status.completed":"Completed","toolCall.status.error":"Error","toolCall.status.unknown":"Unknown","toolCall.applyPatch.action.preparing":"Preparing apply_patch...","toolCall.applyPatch.title.withFileCount.one":"{tool} ({count} file)","toolCall.applyPatch.title.withFileCount.other":"{tool} ({count} files)","toolCall.applyPatch.fileFallback":"File {number}"};function se(...e){const s={};for(const n of e)for(const[i,t]of Object.entries(n)){if(i in s)throw new Error(`Duplicate i18n message key: ${i}`);s[i]=t}return s}const d=se(K,q,G,ee,H,_,z,j,Q,X,J,te,Y,Z,$,W),oe=["en","es","fr","ru","ja","zh-Hans","he","de","ne"],b=new Map(oe.map(e=>[e.toLowerCase(),e])),ne=new Set(["he"]),S=new Map([["en",d]]),u=new Map,ie={en:async()=>d,es:async()=>(await r(async()=>{const{esMessages:e}=await import("./index-qiiH7egV.js");return{esMessages:e}},__vite__mapDeps([0,1,2,3,4,5]))).esMessages,fr:async()=>(await r(async()=>{const{frMessages:e}=await import("./index-VY_zwmsG.js");return{frMessages:e}},__vite__mapDeps([6,1,2,3,4,5]))).frMessages,ru:async()=>(await r(async()=>{const{ruMessages:e}=await import("./index-Bh2ofaQo.js");return{ruMessages:e}},__vite__mapDeps([7,1,2,3,4,5]))).ruMessages,ja:async()=>(await r(async()=>{const{jaMessages:e}=await import("./index-B3YjNCh4.js");return{jaMessages:e}},__vite__mapDeps([8,1,2,3,4,5]))).jaMessages,"zh-Hans":async()=>(await r(async()=>{const{zhHansMessages:e}=await import("./index-CM0c9xRZ.js");return{zhHansMessages:e}},__vite__mapDeps([9,1,2,3,4,5]))).zhHansMessages,he:async()=>(await r(async()=>{const{heMessages:e}=await import("./index-D06Y2cFq.js");return{heMessages:e}},__vite__mapDeps([10,1,2,3,4,5]))).heMessages,de:async()=>(await r(async()=>{const{deMessages:e}=await import("./index-B3ZD2_SU.js");return{deMessages:e}},__vite__mapDeps([11,1,2,3,4,5]))).deMessages,ne:async()=>(await r(async()=>{const{neMessages:e}=await import("./index-PmE51vPh.js");return{neMessages:e}},__vite__mapDeps([12,1,2,3,4,5]))).neMessages};function ae(e){return ne.has(e)?"rtl":"ltr"}function re(e){return e.trim().replace(/_/g,"-")}function w(e){if(!e)return null;const n=re(e).toLowerCase(),i=b.get(n);if(i)return i;const o=n.split("-")[0];return o?o==="zh"?b.get("zh-hans")??null:b.get(o)??null:null}function L(){if(typeof navigator>"u")return null;const e=Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages:navigator.language?[navigator.language]:[];for(const s of e){const n=w(s);if(n)return n}return null}function le(e,s){return s?e.replace(/\{(\w+)\}/g,(n,i)=>{const t=s[i];return t==null?"":String(t)}):e}function A(e,s,n){const i=e[s],t=d[s];return le(i??t??s,n)}const[ce,g]=v(0);let c=d,l="en";function de(e){return S.get(e)??d}async function I(e){const s=S.get(e);if(s)return s;const n=u.get(e);if(n)return n;const i=ie[e],t=i().then(o=>(S.set(e,o),u.delete(e),o)).catch(o=>{throw u.delete(e),o});return u.set(e,t),t}async function ge(e){const s=w(e??void 0)??L()??"en";try{return c=await I(s),l=s,g(n=>n+1),s}catch{return c=d,l="en",g(n=>n+1),"en"}}function ue(e,s){return ce(),A(c,e,s)}const T=E(),he=e=>{const{preferences:s}=O(),[n,i]=v(l),[t,o]=v(l),p=c,y=l,D=typeof document<"u"?document.documentElement.lang:"",F=typeof document<"u"?document.documentElement.dir:"";N(()=>{const a=L();a&&i(a)});const h=C(()=>w(s().locale)??n()??"en"),U=C(()=>de(t()));function M(a,m){return A(U(),a,m)}k(()=>{const a=h();let m=!1;I(a).then(f=>{m||(o(a),l=a,c=f,g(R=>R+1))}).catch(()=>{m||(o("en"),c=d,l="en",g(f=>f+1))}),P(()=>{m=!0})}),k(()=>{if(typeof document>"u")return;const a=h();document.documentElement.dir=ae(a),document.documentElement.lang=a}),P(()=>{c=p,l=y,g(a=>a+1),typeof document<"u"&&(document.documentElement.lang=D,document.documentElement.dir=F)});const x={locale:h,t:M};return V(T.Provider,{value:x,get children(){return e.children}})};function fe(){const e=B(T);if(!e)throw new Error("useI18n must be used within I18nProvider");return e}export{he as I,se as m,ge as p,ue as t,fe as u};
|