/** * dsh-tui localization — UI strings for Chinese (`zh`, the default) and * English (`en`). * * Resolution order mirrors the `/theme` mechanism (see themePrefs.ts): * * 1. `CHATCODE_CLI_TUI_LANG` (then legacy `DSH_TUI_LANG`) — pinned at process start * 2. `lang` cordis.yml config key (see Config in index.ts) * 3. the persisted `/lang` choice below `/tui` * 4. `zh` (the factory default) * * `/lang` switches at runtime and hot-swaps the whole UI. The dictionary is * a flat key → per-language text map; `t(key, params)` substitutes * `{{name}}` placeholders with the given params. A per-language value is * either a plain template or `{ one, other }` plural forms selected via * `Intl.PluralRules` on the `count` param (zh has no grammatical number and * always resolves to `other`). Missing keys render the key itself so a typo * is visible in the UI instead of silently blank. * * The dictionary shape is enforced at compile time (`satisfies` below): * every entry carries zh, and en is optional only for the `cmd-desc-*` * family whose en truth lives in the command registry (see {@link tOr}). * scripts/verify-i18n.ts adds the checks types cannot express: placeholder * parity between languages, single-brace typos, and dead keys. */ export type Lang = 'zh' | 'en'; /** The languages shipped with the plugin, in display order. */ export declare const LANGS: readonly ["zh", "en"]; /** * One dictionary value in one language: a plain `{{name}}` template, or * plural forms picked by the `count` param through `Intl.PluralRules`. * Only `one`/`other` exist because those are the only CLDR categories zh * and en use; a third shipped language may need more. */ export type I18nText = string | { one: string; other: string; }; declare const dict: { readonly 'activity-indicator-already': { readonly zh: "指示器已是:{{name}}"; readonly en: "Indicator already set: {{name}}"; }; readonly 'activity-indicator-switched': { readonly zh: "指示器已切换:{{name}}(已保存)"; readonly en: "Indicator switched: {{name}} (saved)"; }; readonly 'activity-pref-write-failed': { readonly zh: "无法写入 ~/.chatcode-cli/tui/working-activity.json,切换未保存"; readonly en: "Cannot write ~/.chatcode-cli/tui/working-activity.json, switch not saved"; }; readonly 'model-account-sync-failed': { readonly zh: "无法采用 Cherry 的模型选择:请确认账号认证、模型目录和 SDK 均可用。当前模型保持不变。"; readonly en: "Could not adopt the Cherry model. Check account verification, model availability and SDK support. The current model is unchanged."; }; readonly 'model-pref-write-failed': { readonly zh: "无法写入 ~/.chatcode-cli/model.json,模型选择不会保存或同步"; readonly en: "Cannot write ~/.chatcode-cli/model.json; the model choice will not persist or synchronize"; }; readonly 'model-route-invalid': { readonly zh: "持久化的模型路由 {{provider}}/{{model}} 不在该 provider 的模型列表中,已整体回退到 {{fallback}}"; readonly en: "Persisted model route {{provider}}/{{model}} is not advertised by that provider; fell back to {{fallback}}"; }; readonly 'model-startup-none': { readonly zh: "当前没有可用模型,仍可查看历史会话和修改设置。请通过 /model 选择模型,或通过 /provider 配置提供方后再发送消息。"; readonly en: "No model is available. You can still browse history and change settings. Select a model with /model or configure a provider with /provider before sending a message."; }; readonly 'model-unconfigured': { readonly zh: "未配置模型"; readonly en: "No model configured"; }; readonly 'unknown-activity-preset': { readonly zh: "未知预设「{{name}}」· /activity frames 查看全部"; readonly en: "Unknown preset \"{{name}}\" · /activity frames to view all"; }; readonly 'preset-unavailable': { readonly zh: "Preset 不可用——当前组合未挂载 agent-presets 名册"; readonly en: "Preset unavailable — the agent-presets roster is not mounted"; }; readonly 'preset-agent-running': { readonly zh: "Agent 运行中,无法切换 preset"; readonly en: "Agent is running, cannot switch preset"; }; readonly 'preset-not-found': { readonly zh: "Preset「{{id}}」不存在 · {{err}}"; readonly en: "Preset \"{{id}}\" not found · {{err}}"; }; readonly 'preset-load-failed': { readonly zh: "Preset「{{id}}」无法加载 · {{broken}}"; readonly en: "Preset \"{{id}}\" failed to load · {{broken}}"; }; readonly 'preset-already-current': { readonly zh: "当前 preset 已是:{{id}}"; readonly en: "Current preset already: {{id}}"; }; readonly 'preset-pref-write-failed': { readonly zh: "无法写入 ~/.chatcode-cli/tui/agent-preset.json,选择未保存"; readonly en: "Cannot write ~/.chatcode-cli/tui/agent-preset.json, selection not saved"; }; readonly 'preset-locked-saved-default': { readonly zh: "会话已开始,preset 已锁定(当前:{{current}})· 已保存为默认:{{id}}(/clear 或下次启动生效)"; readonly en: "Session already started, preset locked (current: {{current}}) · Saved as default: {{id}} (applies on /clear or next start)"; }; readonly 'preset-switch-failed': { readonly zh: "Preset 切换失败 · {{err}}"; readonly en: "Preset switch failed · {{err}}"; }; readonly 'preset-switched-pref-failed': { readonly zh: "Preset 已切换:{{id}},但默认偏好写入失败(重启后不保留)"; readonly en: "Preset switched: {{id}}, but writing the default preference failed (won't persist after restart)"; }; readonly 'preset-switched-saved': { readonly zh: "Preset 已切换:{{id}}(已保存为默认)"; readonly en: "Preset switched: {{id}} (saved as default)"; }; readonly 'preset-name-standard': { readonly zh: "标准模式"; readonly en: "Standard"; }; readonly 'preset-desc-standard': { readonly zh: "功能完整的编码 Agent,支持文件编辑、Shell、文件与网页检索、Skills、计划、目标、子代理和工作流。"; readonly en: "Full-featured coding agent: file editing, shell, file & web search, skills, plans, goals, subagents and workflows."; }; readonly 'preset-name-minimal': { readonly zh: "极简模式"; readonly en: "Minimal"; }; readonly 'preset-desc-minimal': { readonly zh: "仅提供持久 bash 与 str_replace_editor 的双工具编码 Agent。"; readonly en: "A two-tool coding agent exposing only persistent bash and str_replace_editor."; }; readonly 'preset-name-code': { readonly zh: "PTC 模式"; readonly en: "PTC"; }; readonly 'preset-desc-code': { readonly zh: "具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。"; readonly en: "Everything standard mode offers, with tools exposed through the Code Mode SDK so the model composes multi-step operations in one TypeScript program."; }; readonly 'preset-name-cordis': { readonly zh: "创造模式"; readonly en: "Creation"; }; readonly 'preset-desc-cordis': { readonly zh: "用于创建自定义 Agent preset:具备标准模式的全部能力,并提供运行时检查、插件实验和 preset 创作指导。"; readonly en: "For authoring custom agent presets: everything standard mode offers plus runtime inspection, plugin experiments and preset-authoring guidance."; }; readonly 'mcp-none-configured': { readonly zh: "未配置 MCP 服务器。"; readonly en: "No MCP servers configured."; }; readonly 'mcp-insert-hint': { readonly zh: "在用户目录的 .mcp.json 或当前项目的 .mcp.json 中配置,重启 CLI 后加载。例如:"; readonly en: "Configure .mcp.json in the user home or current project, then restart the CLI. Example:"; }; readonly 'mcp-readme-hint': { readonly zh: "详见仓库 README 的 MCP 章节。"; readonly en: "See the MCP section of the repo README."; }; readonly 'mcp-server-tools': { readonly zh: "{{server}}({{count}} 个工具): {{tools}}"; readonly en: "{{server}} ({{count}} tools): {{tools}}"; }; readonly 'mcp-server-connecting': { readonly zh: "{{server}}(已配置,正在连接并同步工具)"; readonly en: "{{server}} (configured; connecting and syncing tools)"; }; readonly 'mcp-server-configured': { readonly zh: "{{server}}(已发现配置,尚无已加载的工具;配置修改后请重启)"; readonly en: "{{server}} (configuration found; no loaded tools observed; restart after changes)"; }; readonly 'mcp-config-source': { readonly zh: "{{server}} 配置来源:{{configPath}}"; readonly en: "{{server}} configuration source: {{configPath}}"; }; readonly 'mcp-server-unavailable': { readonly zh: "{{server}}(已配置,当前无可用工具;连接失败或正在重连)"; readonly en: "{{server}} (configured; no tools available, connection failed or is reconnecting)"; }; readonly 'mcp-server-failed': { readonly zh: "{{server}}(配置加载失败,请检查 Harness 启动日志)"; readonly en: "{{server}} (configuration failed to load; check the Harness startup log)"; }; readonly 'child-stderr-line': { readonly zh: "子进程 stderr: {{line}}"; readonly en: "Subprocess stderr: {{line}}"; }; readonly 'child-stderr-line-repeat': { readonly zh: "子进程 stderr: {{line}}(重复 {{count}} 次)"; readonly en: "Subprocess stderr: {{line}} (repeated {{count}}×)"; }; readonly 'export-title': { readonly zh: "# ChatCode CLI TUI 会话导出"; readonly en: "# ChatCode CLI TUI session export"; }; readonly 'export-time': { readonly zh: "- 导出时间: {{time}}"; readonly en: "- Exported: {{time}}"; }; readonly 'export-model': { readonly zh: "- 模型: {{model}}"; readonly en: "- Model: {{model}}"; }; readonly 'export-session': { readonly zh: "- 会话: {{id}}"; readonly en: "- Session: {{id}}"; }; readonly 'export-dir': { readonly zh: "- 目录: {{cwd}}"; readonly en: "- Directory: {{cwd}}"; }; readonly 'mentions-attached': { readonly zh: "已附加 {{count}} 个文件引用"; readonly en: { readonly one: "Attached {{count}} file reference"; readonly other: "Attached {{count}} file references"; }; }; readonly 'mentions-missing': { readonly zh: "未找到引用: {{paths}}"; readonly en: "References not found: {{paths}}"; }; readonly 'send-failed': { readonly zh: "发送失败 · {{err}}"; readonly en: "Send failed · {{err}}"; }; readonly 'export-user-section': { readonly zh: "## 用户"; readonly en: "## User"; }; readonly 'export-thinking-section': { readonly zh: "## 思考"; readonly en: "## Thinking"; }; readonly 'export-assistant-section': { readonly zh: "## 助手"; readonly en: "## Assistant"; }; readonly 'export-tool-section': { readonly zh: "## 工具 · {{name}}"; readonly en: "## Tool · {{name}}"; }; readonly 'export-result-section': { readonly zh: "### 结果"; readonly en: "### Result"; }; readonly 'agentsmd-project': { readonly zh: "## 项目"; readonly en: "## Project"; }; readonly 'agentsmd-project-body': { readonly zh: "(在此描述项目的目标、结构与约定——这份文件会注入给每个 agent 作为工作区上下文。)"; readonly en: "(Describe the project's goals, structure and conventions here — this file is injected to every agent as workspace context.)"; }; readonly 'agentsmd-conventions': { readonly zh: "## 约定"; readonly en: "## Conventions"; }; readonly 'agentsmd-convention-read': { readonly zh: "- 改动前先阅读相关模块"; readonly en: "- Read the relevant modules before making changes"; }; readonly 'agentsmd-convention-style': { readonly zh: "- 保持与现有代码风格一致"; readonly en: "- Keep consistent with the existing code style"; }; readonly 'doctor-model': { readonly zh: "模型: {{model}} · 提供方: {{provider}}"; readonly en: "Model: {{model}} · Provider: {{provider}}"; }; readonly 'doctor-cwd': { readonly zh: "工作目录: {{cwd}}"; readonly en: "Working directory: {{cwd}}"; }; readonly 'doctor-context-window': { readonly zh: "上下文窗口: {{window}} tokens"; readonly en: "Context window: {{window}} tokens"; }; readonly 'doctor-unknown': { readonly zh: "未知"; readonly en: "unknown"; }; readonly 'doctor-session': { readonly zh: "会话: {{id}}"; readonly en: "Session: {{id}}"; }; readonly 'doctor-config': { readonly zh: "配置: {{candidate}} {{state}}"; readonly en: "Config: {{candidate}} {{state}}"; }; readonly 'doctor-config-missing': { readonly zh: "(不存在)"; readonly en: "(missing)"; }; readonly 'doctor-storage': { readonly zh: "会话存储: {{dir}} {{state}}"; readonly en: "Session storage: {{dir}} {{state}}"; }; readonly 'doctor-storage-uninit': { readonly zh: "(未初始化)"; readonly en: "(not initialized)"; }; readonly 'doctor-legacy-dir': { readonly zh: "检测到旧 TUI 数据目录(只读保留);请运行 chatcode-cli migrate --dry-run 查看迁移计划"; readonly en: "Legacy TUI data directory detected (kept read-only); run chatcode-cli migrate --dry-run to review the migration plan"; }; readonly 'subagent-not-mounted': { readonly zh: "子代理服务未挂载(leaf 未启用 subagent)"; readonly en: "Subagent service not mounted (leaf has no subagent)"; }; readonly 'subagent-none': { readonly zh: "当前会话暂无子代理"; readonly en: "No subagents in the current session"; }; readonly 'subagent-resumable': { readonly zh: "可续"; readonly en: "resumable"; }; readonly 'subagent-oneshot': { readonly zh: "一次性"; readonly en: "one-shot"; }; readonly 'subagent-row': { readonly zh: "{{mode}} {{label}}{{activity}} · {{id}}"; readonly en: "{{mode}} {{label}}{{activity}} · {{id}}"; }; readonly 'subagent-running': { readonly zh: " 运行中"; readonly en: " running"; }; readonly 'subagent-archived': { readonly zh: " 已归档"; readonly en: " archived"; }; readonly 'subagent-query-failed': { readonly zh: "查询失败 · {{err}}"; readonly en: "Query failed · {{err}}"; }; readonly 'agents-presets-heading': { readonly zh: "可用 Agent Preset:"; readonly en: "Available agent presets:"; }; readonly 'agents-preset-row': { readonly zh: " {{id}} — {{name}}{{desc}}"; readonly en: " {{id}} — {{name}}{{desc}}"; }; readonly 'agents-running-heading': { readonly zh: "运行中的子代理:"; readonly en: "Running subagents:"; }; readonly 'agents-configured-source': { readonly zh: "已配置的 Agent(来源:{{configPath}}):"; readonly en: "Configured agents (from: {{configPath}}):"; }; readonly 'subagent-tools': { readonly zh: "工具"; readonly en: "Tools"; }; readonly 'subagent-status-running': { readonly zh: "运行中"; readonly en: "running"; }; readonly 'subagent-status-completed': { readonly zh: "已完成"; readonly en: "completed"; }; readonly 'subagent-status-failed': { readonly zh: "失败"; readonly en: "failed"; }; readonly 'agent-preset-switched': { readonly zh: "Agent preset 已切换:{{preset}}"; readonly en: "Agent preset switched: {{preset}}"; }; readonly 'context-low-warning': { readonly zh: "上下文即将耗尽(剩余 {{percent}}%)· 运行 /compact 或 /clear 新建会话"; readonly en: "Context low ({{percent}}% remaining) · Run /compact or /clear to start a new session"; }; readonly 'rewind-unavailable': { readonly zh: "回退不可用——会话服务未加载"; readonly en: "Rewind unavailable — session services not loaded"; }; readonly 'rewind-settling': { readonly zh: "无法回退——回合仍在收尾,请稍候再试"; readonly en: "Cannot rewind — the turn is still settling, try again in a moment"; }; readonly 'rewind-fork-failed': { readonly zh: "无法回退到该处 · {{err}}"; readonly en: "Cannot rewind to this point · {{err}}"; }; readonly 'rewind-create-failed': { readonly zh: "回退失败——无法创建替代会话"; readonly en: "Rewind failed — could not create the replacement session"; }; readonly 'rewind-attach-failed': { readonly zh: "已回退,但工作区挂载失败 · {{err}}"; readonly en: "Session rewound, but workspace attachment failed · {{err}}"; }; readonly 'rewind-no-persistence': { readonly zh: "回退不可用——持久化服务未加载"; readonly en: "Rewind unavailable — session persistence not loaded"; }; readonly 'rewind-load-failed': { readonly zh: "无法读取该会话日志 · {{err}}"; readonly en: "Could not read that session log · {{err}}"; }; readonly 'rewind-first-message': { readonly zh: "不能回退到第一条消息之前"; readonly en: "Cannot rewind past the very first message"; }; readonly 'rewind-noop': { readonly zh: "该点之后没有可回退的内容"; readonly en: "Nothing to rewind past this point"; }; readonly 'rewind-session-changed': { readonly zh: "会话已切换,回退已放弃"; readonly en: "The session changed; the rewind was dropped"; }; readonly 'tree-unavailable': { readonly zh: "会话树不可用——持久化服务未加载"; readonly en: "Session tree unavailable — session persistence not loaded"; }; readonly 'fork-unavailable': { readonly zh: "分叉不可用——会话服务未加载"; readonly en: "Fork unavailable — session services not loaded"; }; readonly 'fork-while-working': { readonly zh: "回合运行中,无法分叉会话"; readonly en: "Cannot fork while a turn is running"; }; readonly 'fork-failed': { readonly zh: "分叉失败 · {{err}}"; readonly en: "Fork failed · {{err}}"; }; readonly 'fork-create-failed': { readonly zh: "分叉失败——无法创建分叉会话"; readonly en: "Fork failed — could not create the forked session"; }; readonly 'fork-attach-failed': { readonly zh: "已分叉,但工作区挂载失败 · {{err}}"; readonly en: "Session forked, but workspace attachment failed · {{err}}"; }; readonly 'fork-done': { readonly zh: "已分叉({{id}})——仍在原会话中\n新进程进入分叉:{{command}}"; readonly en: "Forked ({{id}}) — still in the original session\nEnter the fork in a new process: {{command}}"; }; readonly 'tree-title': { readonly zh: "会话树"; readonly en: "Session tree"; }; readonly 'tree-sessions': { readonly zh: "会话"; readonly en: "sessions"; }; readonly 'tree-loading': { readonly zh: "正在加载会话树…"; readonly en: "Loading the session tree…"; }; readonly 'tree-rewinding': { readonly zh: "正在分叉并切换…"; readonly en: "Forking and switching…"; }; readonly 'tree-empty': { readonly zh: "没有可显示的条目"; readonly en: "No entries to show"; }; readonly 'tree-truncated': { readonly zh: "已截断"; readonly en: "truncated"; }; readonly 'tree-search': { readonly zh: "输入即搜索…"; readonly en: "Type to search…"; }; readonly 'tree-filter-default': { readonly zh: "默认"; readonly en: "default"; }; readonly 'tree-filter-no-tools': { readonly zh: "无工具"; readonly en: "no tools"; }; readonly 'tree-filter-user-only': { readonly zh: "仅用户"; readonly en: "user only"; }; readonly 'tree-filter-all': { readonly zh: "全部"; readonly en: "all"; }; readonly 'tree-kind-user': { readonly zh: "用户消息"; readonly en: "user message"; }; readonly 'tree-kind-assistant': { readonly zh: "助手回复"; readonly en: "assistant message"; }; readonly 'tree-kind-tool': { readonly zh: "工具调用"; readonly en: "tool call"; }; readonly 'tree-kind-compact': { readonly zh: "压缩检查点"; readonly en: "compaction"; }; readonly 'tree-kind-interrupt': { readonly zh: "中断"; readonly en: "interrupt"; }; readonly 'tree-kind-notice': { readonly zh: "通知"; readonly en: "notice"; }; readonly 'tree-empty-fork': { readonly zh: "(空分叉)"; readonly en: "(empty fork)"; }; readonly 'tree-unreadable': { readonly zh: "(日志无法读取)"; readonly en: "(unreadable log)"; }; readonly 'tree-unloaded': { readonly zh: "(超出预算未加载)"; readonly en: "(not loaded — over budget)"; }; readonly 'tree-first-message': { readonly zh: "不能回退到第一条消息之前"; readonly en: "Cannot rewind past the very first message"; }; readonly 'tree-adopt-live': { readonly zh: "当前会话就在这条分支上"; readonly en: "The live session is already on this branch"; }; readonly 'tree-adopt-unavailable': { readonly zh: "该分支无法整体切换(未加载到末端)"; readonly en: "Cannot adopt this branch (its tip was not loaded)"; }; readonly 'tree-menu-rewind': { readonly zh: "回退到这里"; readonly en: "Rewind here"; }; readonly 'tree-menu-rewind-detail': { readonly zh: "丢弃该轮对话,提示词回到输入框"; readonly en: "Drops that turn; its prompt returns to the input"; }; readonly 'tree-menu-fork': { readonly zh: "从这分叉"; readonly en: "Fork here"; }; readonly 'tree-menu-fork-detail': { readonly zh: "保留这条消息,从这里开新分支"; readonly en: "Keeps this entry and branches here"; }; readonly 'tree-menu-adopt': { readonly zh: "切换到该分支"; readonly en: "Adopt this branch"; }; readonly 'tree-menu-adopt-detail': { readonly zh: "保留整条分支并切换过去"; readonly en: "Switches to the whole branch, content kept"; }; readonly 'tree-menu-cancel': { readonly zh: "取消"; readonly en: "Cancel"; }; readonly 'tree-confirm-rewind': { readonly zh: "回退到「{{text}}」?"; readonly en: "Rewind to \"{{text}}\"?"; }; readonly 'tree-confirm-drop': { readonly zh: "回退到「{{text}}」?该轮 {{n}} 条消息将丢弃"; readonly en: "Rewind to \"{{text}}\"? Drops that turn ({{n}} entries)"; }; readonly 'tree-confirm-adopt': { readonly zh: "切换到「{{text}}」所在分支?"; readonly en: "Switch to the branch of \"{{text}}\"?"; }; readonly 'tree-confirm-drops-branch': { readonly zh: "注意:该分支的全部内容都在这一轮里,回退后将看不到它们"; readonly en: "Heads-up: this branch’s whole content is that one turn — it disappears from the fork"; }; readonly 'tree-hint': { readonly zh: "**Enter** 菜单 · **{{mod}}F** 从这分叉 · **{{mod}}B** 切到分支 · **{{mod}}O** 过滤 · 点击行出菜单 · 输入搜索 · Esc 退出"; readonly en: "**Enter** menu · **{{mod}}F** fork here · **{{mod}}B** adopt branch · **{{mod}}O** filter · click a row for the menu · type to search · Esc exits"; }; readonly 'tree-hint-short': { readonly zh: "**Enter** 菜单 · 点击行出菜单 · Esc 退出"; readonly en: "**Enter** menu · click a row · Esc exits"; }; readonly 'tree-hint-menu': { readonly zh: "**↑↓** 选择 · **Enter** 执行 · 首字母直达 · Esc 返回"; readonly en: "**↑↓** move · **Enter** run · letter keys jump · Esc back"; }; readonly 'tree-hint-confirm': { readonly zh: "**Enter** 确认 · Esc 取消"; readonly en: "**Enter** to confirm · Esc to cancel"; }; readonly 'tree-refused': { readonly zh: "操作未执行(原因已记录到会话通知)"; readonly en: "Not executed — the reason was notified to the conversation"; }; readonly 'tree-rewind-failed': { readonly zh: "操作失败 · {{message}}"; readonly en: "Action failed · {{message}}"; }; readonly 'tree-rewound': { readonly zh: "已回退——编辑后重新发送"; readonly en: "Rewound — edit and resend"; }; readonly 'tree-forked': { readonly zh: "已从此处分叉"; readonly en: "Forked from this point"; }; readonly 'tree-adopted': { readonly zh: "已切换到该分支"; readonly en: "Switched to that branch"; }; readonly 'tree-preview-title': { readonly zh: "预览"; readonly en: "Preview"; }; readonly 'tree-branch-live': { readonly zh: "当前会话"; readonly en: "live session"; }; readonly 'resume-while-working': { readonly zh: "回合运行中,无法恢复会话"; readonly en: "Cannot resume while a turn is running"; }; readonly 'resume-unavailable': { readonly zh: "恢复不可用——agents 服务未加载"; readonly en: "Resume unavailable — agents service not loaded"; }; readonly 'desktop-history-connecting': { readonly zh: "正在接续 Cherry 会话,请稍候…"; readonly en: "Connecting to the Cherry Session, please wait…"; }; readonly 'desktop-history-failed': { readonly zh: "Cherry 会话接续失败,会话没有被替换。请保持 Cherry 运行并刷新历史后重试。"; readonly en: "Cherry Session handoff failed. The Session was not replaced. Keep Cherry running and refresh history before retrying."; }; readonly 'resume-failed': { readonly zh: "恢复失败 · {{err}}"; readonly en: "Resume failed · {{err}}"; }; readonly 'resume-attach-failed': { readonly zh: "已恢复会话,但工作区挂载失败 · {{err}}"; readonly en: "Session resumed, but workspace attachment failed · {{err}}"; }; readonly 'resume-session-changed': { readonly zh: "会话已切换,恢复已放弃"; readonly en: "The session changed; the resume was dropped"; }; readonly 'new-session-while-working': { readonly zh: "回合运行中,无法新建会话"; readonly en: "Cannot start a new session while a turn is running"; }; readonly 'new-session-unavailable': { readonly zh: "新建会话不可用——agents 服务未加载"; readonly en: "New session unavailable — agents service not loaded"; }; readonly 'new-session-failed': { readonly zh: "新建会话失败 · {{err}}"; readonly en: "New session failed · {{err}}"; }; readonly 'new-session-attach-failed': { readonly zh: "会话已创建,但工作区挂载失败 · {{err}}"; readonly en: "Session created, but workspace attachment failed · {{err}}"; }; readonly 'model-switch-while-working': { readonly zh: "回合运行中,无法切换模型"; readonly en: "Cannot switch models while a turn is running"; }; readonly 'model-switch-failed': { readonly zh: "模型切换失败 · {{err}}"; readonly en: "Model switch failed · {{err}}"; }; readonly 'model-usage': { readonly zh: "用法:/model (如 deepseek/deepseek-v4-flash)"; readonly en: "Usage: /model (e.g. deepseek/deepseek-v4-flash)"; }; readonly 'model-unknown': { readonly zh: "未知模型「{{spec}}」· /model 查看全部"; readonly en: "Unknown model \"{{spec}}\" · /model to view all"; }; readonly 'compact-unavailable': { readonly zh: "压缩不可用——当前 leaf 没有压缩服务"; readonly en: "Compaction unavailable · no compaction service in this leaf"; }; readonly 'compact-while-working': { readonly zh: "回合运行中,无法压缩会话"; readonly en: "Cannot compact while a turn is running"; }; readonly 'compact-working': { readonly zh: "正在压缩会话…"; readonly en: "Compacting conversation…"; }; readonly 'compact-done': { readonly zh: "会话已压缩"; readonly en: "Conversation compacted"; }; readonly 'compact-nothing': { readonly zh: "没有可压缩的内容"; readonly en: "Nothing to compact"; }; readonly 'compact-failed': { readonly zh: "压缩失败 · {{err}}"; readonly en: "Compaction failed · {{err}}"; }; readonly 'spinner-waiting': { readonly zh: "等待模型响应…"; readonly en: "Waiting for the model…"; }; readonly 'compact-flush-failed': { readonly zh: "压缩已生效,但落盘检查失败——历史已由摘要替代,请留意会话状态"; readonly en: "Compaction took effect, but its durability flush failed — history is now the summary"; }; readonly 'compact-cancelled-switch': { readonly zh: "压缩进行中,已取消并切换会话"; readonly en: "In-flight compaction cancelled for the session switch"; }; readonly 'turn-failed': { readonly zh: "回合出错{{detail}}"; readonly en: "Turn error{{detail}}"; }; readonly 'prompt-debug-saved': { readonly zh: "已写入 {{count}} 条最终 LLM 请求快照到 {{file}}。快照含敏感会话与提示词数据;文件位于当前工作区,若工作区在同步/共享目录请注意清理。"; readonly en: { readonly one: "Wrote 1 final LLM request snapshot to {{file}}. It contains sensitive conversation and prompt data, and lives in the current workspace — clean it up promptly if the workspace is synced or shared."; readonly other: "Wrote {{count}} final LLM request snapshots to {{file}}. It contains sensitive conversation and prompt data, and lives in the current workspace — clean it up promptly if the workspace is synced or shared."; }; }; readonly 'questionnaire-answered': { readonly zh: "📋 问卷已答 · {{total}} 题"; readonly en: "📋 Questionnaire answered · {{total}} questions"; }; readonly 'context-truncated': { readonly zh: "…(已截断)"; readonly en: "… (truncated)"; }; readonly 'context-sections': { readonly zh: "系统提示词 {{n}} 段"; readonly en: "System prompt {{n}} sections"; }; readonly 'context-files': { readonly zh: "工作区指令 ×{{n}}"; readonly en: "Workspace instructions ×{{n}}"; }; readonly 'context-runtime': { readonly zh: "运行时上下文 {{n}} 项"; readonly en: "Runtime context {{n}} items"; }; readonly 'context-skills': { readonly zh: "技能 {{n}}"; readonly en: "Skills {{n}}"; }; readonly 'context-tools': { readonly zh: "工具 {{n}}"; readonly en: "Tools {{n}}"; }; readonly 'skill-unavailable': { readonly zh: "技能 {{name}} 已不可用或未开放用户直调"; readonly en: "Skill {{name}} is gone or not user-invocable"; }; readonly 'context-loaded': { readonly zh: "已加载上下文"; readonly en: "Context loaded"; }; readonly 'context-panel-expand': { readonly zh: " 展开"; readonly en: " to expand"; }; readonly 'context-panel-collapse': { readonly zh: " 折叠"; readonly en: " to collapse"; }; readonly 'copied-chars': { readonly zh: "已复制 {{n}} 个字符"; readonly en: "Copied {{n}} characters"; }; readonly 'activity-current-preset': { readonly zh: "当前预设 {{name}}"; readonly en: "Current preset {{name}}"; }; readonly 'activity-switch-hint': { readonly zh: "切换 /activity(选择器)或 /activity frames <名>"; readonly en: "Switch /activity (picker) or /activity frames "; }; readonly 'activity-persist-hint': { readonly zh: "持久化 ~/.chatcode-cli/tui/working-activity.json(重启后仍生效)"; readonly en: "Persisted ~/.chatcode-cli/tui/working-activity.json (survives restart)"; }; readonly 'activity-current-direct': { readonly zh: "当前预设:{{name}} · /activity frames <名> 直接切换:"; readonly en: "Current preset: {{name}} · /activity frames to switch directly:"; }; readonly 'activity-random-each': { readonly zh: "每次随机"; readonly en: "random each time"; }; readonly 'activity-current-marker': { readonly zh: " ← 当前"; readonly en: " ← current"; }; readonly 'activity-usage': { readonly zh: "用法:/activity | /activity frames <名> | /activity status"; readonly en: "Usage: /activity | /activity frames | /activity status"; }; readonly 'preset-current': { readonly zh: "当前 preset {{name}}"; readonly en: "Current preset {{name}}"; }; readonly 'preset-roster-missing': { readonly zh: "(未挂载名册)"; readonly en: "(roster not mounted)"; }; readonly 'preset-switch-hint': { readonly zh: "切换 /preset(选择器)或 /preset "; readonly en: "Switch /preset (picker) or /preset "; }; readonly 'preset-persist-hint': { readonly zh: "持久化 ~/.chatcode-cli/tui/agent-preset.json(重启后仍生效;cordis.yml preset 优先)"; readonly en: "Persisted ~/.chatcode-cli/tui/agent-preset.json (survives restart; cordis.yml preset wins)"; }; readonly 'preset-lock-hint': { readonly zh: "锁定规则 已开始的会话不可切换(官方 blank-only 规则)"; readonly en: "Lock rule started sessions cannot switch (official blank-only rule)"; }; readonly 'preset-roster-unmounted': { readonly zh: "当前组合未挂载 agent-presets 名册(preset 不可用)"; readonly en: "The agent-presets roster is not mounted (presets unavailable)"; }; readonly 'theme-current': { readonly zh: "当前主题 {{name}}"; readonly en: "Current theme {{name}}"; }; readonly 'theme-switch-hint': { readonly zh: "切换 /theme(选择器)或 /theme <名字>"; readonly en: "Switch /theme (picker) or /theme "; }; readonly 'theme-persist-hint': { readonly zh: "持久化 ~/.chatcode-cli/tui/theme.json(重启后仍生效;CHATCODE_CLI_TUI_THEME 优先)"; readonly en: "Persisted ~/.chatcode-cli/tui/theme.json (survives restart; CHATCODE_CLI_TUI_THEME wins)"; }; readonly 'theme-custom-hint': { readonly zh: "自定义 静态 ~/.chatcode-cli/tui/themes/<名字>.json(插件也可提供运行时主题;见 README「自定义主题」)"; readonly en: "Custom static ~/.chatcode-cli/tui/themes/.json (plugins may also provide runtime themes; see README \"Custom themes\")"; }; readonly 'theme-auto-resolved': { readonly zh: "自动解析 当前为 {{name}}(跟随终端背景)"; readonly en: "Auto-resolved currently {{name}} (follows terminal background)"; }; readonly 'theme-switched-saved': { readonly zh: "主题已切换:{{name}}(已保存)"; readonly en: "Theme switched: {{name}} (saved)"; }; readonly 'theme-unknown': { readonly zh: "未知主题「{{name}}」· /theme 查看全部"; readonly en: "Unknown theme \"{{name}}\" · /theme to view all"; }; readonly 'status-model': { readonly zh: "模型 {{model}}"; readonly en: "Model {{model}}"; }; readonly 'status-working': { readonly zh: "工作中"; readonly en: "working"; }; readonly 'status-idle': { readonly zh: "空闲"; readonly en: "idle"; }; readonly 'status-state': { readonly zh: "状态 {{state}}"; readonly en: "Status {{state}}"; }; readonly 'status-session': { readonly zh: "会话 {{id}}"; readonly en: "Session {{id}}"; }; readonly 'status-dir': { readonly zh: "目录 {{cwd}}"; readonly en: "Directory {{cwd}}"; }; readonly 'workspace-picker-title': { readonly zh: "工作区"; readonly en: "Workspace"; }; readonly 'workspace-picker-hint': { readonly zh: "**Enter** 切换并新建会话 · Esc 退出 · 也可输入 /workspace open <路径或 URI>"; readonly en: "**Enter** switch and start a new session · Esc to exit · or type /workspace open "; }; readonly 'workspace-none': { readonly zh: "没有可用工作区"; readonly en: "No workspaces available"; }; readonly 'workspace-list-failed': { readonly zh: "读取工作区失败 · {{err}}"; readonly en: "Failed to list workspaces · {{err}}"; }; readonly 'workspace-uri-invalid': { readonly zh: "无法解析工作区目标:{{uri}}"; readonly en: "Cannot resolve workspace target: {{uri}}"; }; readonly 'workspace-uri-failed': { readonly zh: "加载工作区失败 · {{err}}"; readonly en: "Failed to load workspace · {{err}}"; }; readonly 'workspace-switch-working': { readonly zh: "Agent 运行中,无法切换工作区"; readonly en: "Cannot switch workspaces while the agent is running"; }; readonly 'workspace-open-invalid': { readonly zh: "无法打开工作区:{{target}} 不是存在的目录"; readonly en: "Cannot open workspace: {{target}} is not an existing directory"; }; readonly 'workspace-switched': { readonly zh: "已切换工作区:{{target}}"; readonly en: "Workspace switched: {{target}}"; }; readonly 'workspace-flow-hint': { readonly zh: "**Enter** 选择 · Esc 退出"; readonly en: "**Enter** select · Esc to exit"; }; readonly 'workspace-flow-edit-hint': { readonly zh: "**Enter** 选择当前目录 · Tab 手动输入路径 · Esc 退出"; readonly en: "**Enter** select current directory · Tab enter a path · Esc to exit"; }; readonly 'workspace-flow-input-hint': { readonly zh: "输入绝对路径 · **Enter** 读取目录 · Esc 返回"; readonly en: "Enter an absolute path · **Enter** load directory · Esc back"; }; readonly 'workspace-flow-input-empty': { readonly zh: "目录路径不能为空"; readonly en: "Directory path cannot be empty"; }; readonly 'workspace-flow-loading': { readonly zh: "正在连接并读取目录… · Esc 关闭"; readonly en: "Connecting and loading directories… · Esc to close"; }; readonly 'workspace-menu-title': { readonly zh: "Workspace 操作"; readonly en: "Workspace actions"; }; readonly 'workspace-menu-resume-desc': { readonly zh: "切换到另一个工作区"; readonly en: "Switch to another workspace"; }; readonly 'workspace-menu-rename-desc': { readonly zh: "重命名当前工作区(需输入名称)"; readonly en: "Rename the current workspace (needs a name)"; }; readonly 'workspace-menu-open-desc': { readonly zh: "打开路径或工作区 URI(需输入路径)"; readonly en: "Open a path or workspace URI (needs a path)"; }; readonly 'workspace-open-usage': { readonly zh: "用法:/workspace open <路径或 URI>"; readonly en: "Usage: /workspace open "; }; readonly 'workspace-rename-usage': { readonly zh: "用法:/workspace rename <名称>"; readonly en: "Usage: /workspace rename "; }; readonly 'workspace-command-unknown': { readonly zh: "未知的 workspace 子命令:{{command}}"; readonly en: "Unknown workspace subcommand: {{command}}"; }; readonly 'workspace-command-empty': { readonly zh: "该 workspace 操作没有可选目标"; readonly en: "This workspace action has no available targets"; }; readonly 'workspace-command-failed': { readonly zh: "workspace 操作失败 · {{err}}"; readonly en: "Workspace action failed · {{err}}"; }; readonly 'workspace-renamed': { readonly zh: "工作区已重命名:{{title}}"; readonly en: "Workspace renamed: {{title}}"; }; readonly 'workspace-rename-failed': { readonly zh: "工作区重命名失败 · {{err}}"; readonly en: "Failed to rename workspace · {{err}}"; }; readonly 'cost-cache-rate': { readonly zh: "缓存率 {{rate}}% · {{read}} 读 / {{write}} 写"; readonly en: "Cache rate {{rate}}% · {{read}} read / {{write}} write"; }; readonly 'cost-context': { readonly zh: "上下文 {{pct}}%"; readonly en: "Context {{pct}}%"; }; readonly 'status-title': { readonly zh: "标题 {{title}}"; readonly en: "Title {{title}}"; }; readonly 'cost-cache-hit-rate': { readonly zh: "缓存命中率 {{rate}}% · 缓存 {{read}} 读 / {{write}} 写"; readonly en: "Cache hit rate {{rate}}% · cache {{read}} read / {{write}} write"; }; readonly 'cost-note': { readonly zh: "注:ChatCode CLI 不提供 API 费用计量,以上为 token 用量(按 provider 账单计费)"; readonly en: "Note: ChatCode CLI provides no API cost metering; the above is token usage (billed by your provider)"; }; readonly 'doctor-example-config': { readonly zh: "示例配置 {{path}}"; readonly en: "Example config {{path}}"; }; readonly 'doctor-user-config': { readonly zh: "用户配置 {{path}}"; readonly en: "User config {{path}}"; }; readonly 'doctor-launch-hint': { readonly zh: "启动方式 chatcode-cli / cco"; readonly en: "Launch chatcode-cli / cco"; }; readonly 'doctor-route-hint': { readonly zh: "模型路由 来自用户自定义 Provider 或 ChatCode customModels"; readonly en: "Model route comes from a user-defined provider or ChatCode customModels"; }; readonly 'export-failed': { readonly zh: "导出失败(无法写入工作目录)"; readonly en: "Export failed (cannot write to working directory)"; }; readonly 'export-usage': { readonly zh: "用法:/export [jsonl|markdown](默认 JSONL,可重新导入)"; readonly en: "Usage: /export [jsonl|markdown] (default: re-importable JSONL)"; }; readonly 'export-import-hint': { readonly zh: "导入命令(需要会话导入插件):/import cco {{target}}"; readonly en: "Import command (requires the chat import plugin): /import cco {{target}}"; }; readonly 'import-running': { readonly zh: "正在导入会话,请稍候…"; readonly en: "Importing sessions, please wait…"; }; readonly 'export-saved': { readonly zh: "已导出: {{target}}(文件位于当前工作区,若工作区在同步/共享目录请注意清理)"; readonly en: "Exported: {{target}} (the file lives in the current workspace — clean it up promptly if the workspace is synced or shared)"; }; readonly 'agentsmd-create-failed': { readonly zh: "创建 AGENTS.md 失败"; readonly en: "Failed to create AGENTS.md"; }; readonly 'agentsmd-exists': { readonly zh: "AGENTS.md 已存在,未覆盖"; readonly en: "AGENTS.md already exists, not overwritten"; }; readonly 'agentsmd-created': { readonly zh: "已创建 {{result}}"; readonly en: "Created {{result}}"; }; readonly 'login-chatcode-completed': { readonly zh: "ChatCode 登录成功,Web 与 TUI 已共享此账号。"; readonly en: "ChatCode sign-in succeeded. Web and TUI now share this account."; }; readonly 'login-chatcode-cancelled': { readonly zh: "本次 ChatCode 登录已取消或被新的登录替代。"; readonly en: "This ChatCode sign-in was cancelled or replaced by a newer attempt."; }; readonly 'login-chatcode-ended': { readonly zh: "ChatCode 登录失败或超时,请使用 /login 重试。"; readonly en: "ChatCode sign-in failed or timed out. Use /login to retry."; }; readonly 'login-chatcode-status-failed': { readonly zh: "无法读取 ChatCode 状态,请检查本地服务及凭据文件权限。"; readonly en: "Cannot read ChatCode status. Check the local service and credential file permissions."; }; readonly 'login-chatcode-pending': { readonly zh: "正在等待浏览器完成 ChatCode 登录,使用 /logout 可取消。"; readonly en: "Waiting for ChatCode browser sign-in. Use /logout to cancel."; }; readonly 'login-chatcode-unverified': { readonly zh: "暂时无法验证 ChatCode 账号,请检查网络后再运行 /login。"; readonly en: "ChatCode verification is unavailable. Check your network and run /login again."; }; readonly 'login-chatcode-heading': { readonly zh: "ChatCode 账号:"; readonly en: "ChatCode account:"; }; readonly 'login-chatcode-account-default': { readonly zh: "当前账号"; readonly en: "current account"; }; readonly 'login-chatcode-in': { readonly zh: " 已登录 · {{name}}"; readonly en: " signed in · {{name}}"; }; readonly 'login-chatcode-hint': { readonly zh: " 使用 /logout 清除本机 ChatCode 登录凭证"; readonly en: " Use /logout to remove this machine's ChatCode sign-in grant"; }; readonly 'login-chatcode-expired': { readonly zh: " 登录凭证已过期,正在重新打开登录页"; readonly en: " sign-in grant expired; reopening the sign-in page"; }; readonly 'login-chatcode-signed-out': { readonly zh: " 未登录,正在打开登录页"; readonly en: " not signed in; opening the sign-in page"; }; readonly 'login-chatcode-started': { readonly zh: " 已在默认浏览器打开 ChatCode 登录页;完成登录后终端会显示结果。"; readonly en: " Opened the ChatCode sign-in page in the default browser; the terminal will report the result after sign-in."; }; readonly 'login-chatcode-url': { readonly zh: " 如浏览器未打开,请访问:{{url}}"; readonly en: " If the browser did not open, visit: {{url}}"; }; readonly 'login-chatcode-failed': { readonly zh: " 无法开始 ChatCode 登录,请检查本地服务及凭据文件权限"; readonly en: " Could not start ChatCode sign-in; check the local service and credential file permissions"; }; readonly 'login-chatcode-logged-out': { readonly zh: "已退出 ChatCode 登录,正在关闭当前 CLI 进程"; readonly en: "Signed out of ChatCode. Closing the current CLI process"; }; readonly 'login-chatcode-unavailable': { readonly zh: "未挂载 ChatCode 登录 bundle"; readonly en: "The ChatCode sign-in bundle is not mounted"; }; readonly 'login-chatcode-logout-failed': { readonly zh: "无法清除 ChatCode 登录凭证,请检查本地服务及凭据文件权限"; readonly en: "Could not remove the ChatCode sign-in grant; check the local service and credential file permissions"; }; readonly 'login-gate-checking': { readonly zh: "正在验证 ChatCode 登录状态…"; readonly en: "Checking ChatCode sign-in…"; }; readonly 'startup-gate-checking': { readonly zh: "正在检查 ChatCode CLI 可用状态…"; readonly en: "Checking ChatCode availability…"; }; readonly 'startup-gate-service-missing': { readonly zh: "ChatCode 启动检查服务未能启动;请重新构建 cco-llm-chatcode-config。"; readonly en: "The ChatCode startup check service did not start; rebuild cco-llm-chatcode-config."; }; readonly 'startup-gate-check-failed': { readonly zh: "无法执行 ChatCode 启动检查;请检查 CVP 地址和启动配置凭证。"; readonly en: "Cannot check ChatCode startup availability; check the CVP URL and startup credential."; }; readonly 'startup-gate-retry': { readonly zh: "重新检测"; readonly en: "Retry check"; }; readonly 'startup-gate-exit': { readonly zh: "退出"; readonly en: "Exit"; }; readonly 'startup-gate-prompt': { readonly zh: "请选择 [1/2](直接回车退出):"; readonly en: "Choose [1/2] (Enter exits): "; }; readonly 'startup-gate-invalid-choice': { readonly zh: "无效选项,请输入 1 重新检测,或输入 2 退出。"; readonly en: "Invalid choice. Enter 1 to retry or 2 to exit."; }; readonly 'login-gate-opened': { readonly zh: "未登录,已在默认浏览器打开 ChatCode 登录页。完成登录后 CLI 会继续启动。"; readonly en: "You are signed out. The ChatCode sign-in page opened in your browser; the CLI will continue after sign-in."; }; readonly 'login-gate-url': { readonly zh: "如浏览器未打开,请访问:{{url}}"; readonly en: "If the browser did not open, visit: {{url}}"; }; readonly 'login-gate-pending': { readonly zh: "上次 ChatCode 登录尚未完成,正在重新打开登录页…"; readonly en: "The previous ChatCode sign-in is unfinished; reopening the sign-in page…"; }; readonly 'login-gate-service-missing': { readonly zh: "已配置 ChatCode 登录 bundle,但鉴权服务未能启动。请重新构建 cco-llm-chatcode-config 后重试。"; readonly en: "The ChatCode sign-in bundle is configured, but its auth service did not start. Rebuild cco-llm-chatcode-config and try again."; }; readonly 'login-gate-status-failed': { readonly zh: "无法读取 ChatCode 登录状态;请检查 ~/.chatcode-cli 凭据文件权限。"; readonly en: "Cannot read ChatCode sign-in status; check the ~/.chatcode-cli credential file permissions."; }; readonly 'login-gate-verification-unavailable': { readonly zh: "当前无法连接 ChatCode 登录验证服务,本地凭据已保留。请检查内网连接后重新检测,或退出 CLI。"; readonly en: "The ChatCode sign-in verification service is unreachable. Your local credential was kept. Check the internal network, then retry or exit the CLI."; }; readonly 'login-gate-verification-retry': { readonly zh: "重新检测"; readonly en: "Retry validation"; }; readonly 'login-gate-verification-exit': { readonly zh: "退出"; readonly en: "Exit"; }; readonly 'login-gate-verification-prompt': { readonly zh: "请选择 [1/2](直接回车退出):"; readonly en: "Choose [1/2] (Enter exits): "; }; readonly 'login-gate-verification-invalid-choice': { readonly zh: "无效选项,请输入 1 重新检测,或输入 2 退出。"; readonly en: "Invalid choice. Enter 1 to retry validation or 2 to exit."; }; readonly 'login-gate-verification-retrying': { readonly zh: "正在重新连接 ChatCode 登录验证服务…"; readonly en: "Retrying the ChatCode sign-in verification service…"; }; readonly 'login-gate-verification-exiting': { readonly zh: "已取消启动,正在退出 CLI。"; readonly en: "Startup cancelled. Exiting the CLI."; }; readonly 'login-gate-start-failed': { readonly zh: "无法创建 ChatCode 登录请求;请检查本地鉴权服务和凭据文件权限。"; readonly en: "Could not create a ChatCode sign-in request; check the local auth service and credential file permissions."; }; readonly 'login-gate-ended': { readonly zh: "ChatCode 登录已取消、失败或超时,CLI 未启动。请重新执行 chatcode-cli。"; readonly en: "ChatCode sign-in was cancelled, failed, or timed out, so the CLI did not start. Run chatcode-cli again."; }; readonly 'login-gate-not-validated': { readonly zh: "ChatCode 登录结果未通过远端验证,CLI 未启动。请重新登录。"; readonly en: "The ChatCode sign-in result did not pass remote validation, so the CLI did not start. Sign in again."; }; readonly 'permission-policy-hint': { readonly zh: "ChatCode CLI 权限策略由 fs-policy / bash-sandbox 配置决定(当前 leaf:workspace 内读写、写入需已读文件)。"; readonly en: "ChatCode CLI permission policy is set by fs-policy / bash-sandbox config (current leaf: read/write in workspace, writes need a prior read)."; }; readonly 'permission-approval-hint': { readonly zh: "审批通道已挂载:命令申请权限提升(sandbox_permissions)时弹出审批条,Yes 放行一次、No / Esc 拒绝。"; readonly en: "The approval channel is mounted: sandbox escalations (sandbox_permissions) raise an approval bar — Yes allows once, No / Esc rejects."; }; readonly 'permission-root-hint': { readonly zh: "当前文件系统策略以工作目录为根:{{cwd}}"; readonly en: "Current filesystem policy is rooted at the working directory: {{cwd}}"; }; readonly 'permission-path-hint': { readonly zh: "模型工具相对路径均解析自该目录;跨目录访问由 fs-policy 拦截。"; readonly en: "Relative paths of model tools resolve from this directory; cross-directory access is blocked by fs-policy."; }; readonly 'permission-current': { readonly zh: "当前预设 {{name}}"; readonly en: "Current preset {{name}}"; }; readonly 'permission-roster-unavailable': { readonly zh: "权限预设名册不可用"; readonly en: "Permission preset roster unavailable"; }; readonly 'sandbox-unavailable': { readonly zh: "Sandbox 预设不可用——当前组合未挂载 /permission"; readonly en: "Sandbox presets are unavailable — /permission is not mounted in this composition"; }; readonly 'permission-picker-title': { readonly zh: "权限预设"; readonly en: "Permission preset"; }; readonly 'permission-preset-readonly': { readonly zh: "只读"; readonly en: "Read-only"; }; readonly 'permission-preset-readonly-desc': { readonly zh: "会话只读:不写文件、不执行命令"; readonly en: "Read-only session: no file writes, no commands"; }; readonly 'permission-preset-workspace-write': { readonly zh: "工作区读写"; readonly en: "Workspace read/write"; }; readonly 'permission-preset-workspace-write-desc': { readonly zh: "工作区内读写;写入需先读该文件"; readonly en: "Read/write inside the workspace; writes need a prior read"; }; readonly 'permission-preset-full-access': { readonly zh: "完全访问"; readonly en: "Full access"; }; readonly 'permission-preset-full-access-desc': { readonly zh: "不受限读写,无需审批"; readonly en: "Unrestricted access, no approvals"; }; readonly 'plan-picker-title': { readonly zh: "计划模式"; readonly en: "Plan mode"; }; readonly 'plan-mode-on': { readonly zh: "开启"; readonly en: "On"; }; readonly 'plan-mode-on-desc': { readonly zh: "进入计划模式:只读,先规划后动手"; readonly en: "Enter plan mode: read-only, plan before acting"; }; readonly 'plan-mode-off': { readonly zh: "关闭"; readonly en: "Off"; }; readonly 'plan-mode-off-desc': { readonly zh: "退出计划模式,恢复正常执行"; readonly en: "Exit plan mode, back to normal execution"; }; readonly 'hooks-mounted': { readonly zh: "Hooks 配置(来源:{{configPath}};修改后重启加载)"; readonly en: "Hooks configuration (from: {{configPath}}; restart after changes)"; }; readonly 'hooks-mounted-empty': { readonly zh: "用户与当前项目未配置 hook。已检查:{{configPath}}"; readonly en: "No hooks configured for the user or current project. Checked: {{configPath}}"; }; readonly 'hooks-config-invalid': { readonly zh: "Hooks 配置读取或解析失败:{{configPath}}"; readonly en: "Could not read or parse hooks configuration: {{configPath}}"; }; readonly 'hooks-event': { readonly zh: " 事件 {{event}}({{count}} 个 hook)"; readonly en: " Event {{event}} ({{count}} hook(s))"; }; readonly 'hooks-hook': { readonly zh: " [{{matcher}}] {{command}}"; readonly en: " [{{matcher}}] {{command}}"; }; readonly 'update-working': { readonly zh: "当前回合仍在运行,请等待完成后再更新 TUI。"; readonly en: "The current turn is still running. Wait for it to finish before updating the TUI."; }; readonly 'update-starting': { readonly zh: "正在更新 ChatCode CLI TUI,完成后会自动重启并恢复当前会话……"; readonly en: "Updating ChatCode CLI TUI. The TUI will restart and resume this session when finished…"; }; readonly 'update-panel-title': { readonly zh: "更新 ChatCode CLI"; readonly en: "Update ChatCode CLI"; }; readonly 'update-running': { readonly zh: "正在检查并安装更新…"; readonly en: "Checking and installing updates…"; }; readonly 'update-panel-exit': { readonly zh: "按 ESC 关闭面板"; readonly en: "Press ESC to close"; }; readonly 'update-available': { readonly zh: "发现新版本:v{{latest}}(当前 v{{current}})· 输入 /update 更新 TUI"; readonly en: "New version available: v{{latest}} (current v{{current}}) · type /update to update the TUI"; }; readonly 'update-already-latest': { readonly zh: "当前已是最新版本(v{{current}})。"; readonly en: "Already on the latest version (v{{current}})."; }; readonly 'update-check-failed': { readonly zh: "无法确认新版本(网络或 registry 不可达),已尝试直接更新……"; readonly en: "Could not confirm a newer version (network or registry unreachable); attempting the update anyway…"; }; readonly 'update-refused-deadlock': { readonly zh: "已取消更新:镜像 registry 目前只能装到 v{{latest}},而该版本在旧全局启动器的 patch 下会启动死锁(#183/#307);官方最新为 v{{authoritative}},待镜像同步后再 /update。"; readonly en: "Update cancelled: the mirror registry can only serve v{{latest}}, which deadlocks boot under older global-launcher patches (#183/#307); official latest is v{{authoritative}} — retry /update after the mirror syncs."; }; readonly 'update-mirror-lag': { readonly zh: "镜像 registry 滞后:本次安装 v{{latest}};官方最新 v{{authoritative}},镜像同步后可再 /update。"; readonly en: "Mirror registry lag: installing v{{latest}} now; official latest is v{{authoritative}} — run /update again once the mirror syncs."; }; readonly 'update-standalone-available': { readonly zh: "发现便携包新版本:v{{latest}}(当前 v{{current}})· 输入 /update 自动更新"; readonly en: "New standalone version available: v{{latest}} (current v{{current}}) · type /update to update"; }; readonly 'update-standalone-no-checksum': { readonly zh: "该版本未发布 SHA256 校验和,更新包完整性无法验证"; readonly en: "this release publishes no SHA256 checksums; the update payload cannot be integrity-verified"; }; readonly 'update-standalone-starting': { readonly zh: "正在下载便携包新版本并自动替换,完成后会自动重启并恢复当前会话……"; readonly en: "Downloading and replacing standalone binary. The TUI will restart and resume this session when finished…"; }; readonly 'reload-header': { readonly zh: "已重读偏好文件:"; readonly en: "Preferences reloaded:"; }; readonly 'reload-applied': { readonly zh: "{{kind}} {{from}} → {{to}}(已应用)"; readonly en: "{{kind}} {{from}} → {{to}} (applied)"; }; readonly 'reload-unchanged': { readonly zh: "{{kind}} 无变化"; readonly en: "{{kind}} unchanged"; }; readonly 'reload-skipped-env': { readonly zh: "{{kind}} 跳过:环境变量优先"; readonly en: "{{kind}} skipped: env override wins"; }; readonly 'reload-skipped-config': { readonly zh: "{{kind}} 跳过:显式配置优先"; readonly en: "{{kind}} skipped: explicit config wins"; }; readonly 'reload-skipped-invalid': { readonly zh: "{{kind}} 跳过:文件缺失或无效"; readonly en: "{{kind}} skipped: missing or invalid file"; }; readonly 'reload-footer': { readonly zh: "提示:settings.yaml / cordis.patch.yml 由 watcher 自动热重载;cordis.yml 根配置改动需 /restart"; readonly en: "Note: settings.yaml / cordis.patch.yml hot-reload via watchers; cordis.yml root config changes need /restart"; }; readonly 'reload-kind-theme': { readonly zh: "主题"; readonly en: "theme"; }; readonly 'reload-kind-lang': { readonly zh: "语言"; readonly en: "language"; }; readonly 'reload-kind-preset': { readonly zh: "预设"; readonly en: "preset"; }; readonly 'reload-kind-model': { readonly zh: "模型"; readonly en: "model"; }; readonly 'reload-kind-activity': { readonly zh: "活动指示"; readonly en: "activity"; }; readonly 'restart-starting': { readonly zh: "正在重启 ChatCode CLI TUI,完成后自动恢复当前会话……"; readonly en: "Restarting ChatCode CLI TUI. The session resumes when it comes back…"; }; readonly 'restart-unavailable': { readonly zh: "当前运行方式不支持进程内重启(未挂载重启通道)。"; readonly en: "Restart is unavailable in this launch mode (no restart channel mounted)."; }; readonly 'web-starting': { readonly zh: "正在启动 Web 端;浏览器将在服务就绪后自动打开。当前 TUI 会继续运行。"; readonly en: "Starting Web; the browser will open when the server is ready. This TUI will keep running."; }; readonly 'web-stopping': { readonly zh: "正在关闭 Web 服务并释放端口,当前 CLI 保持运行。"; readonly en: "Stopping Web and releasing its port; this CLI stays open."; }; readonly 'web-usage': { readonly zh: "/web [on|off]:默认 on,启动或复用 Web 并打开认证链接;off 关闭服务和端口。"; readonly en: "/web [on|off]: default on starts or reopens Web; off stops the server and releases its port."; }; readonly 'web-url': { readonly zh: "Web 访问链接(含认证 token,请勿分享):\n{{url}}"; readonly en: "Web access URL (includes an authentication token; do not share):\n{{url}}"; }; readonly 'web-stopped': { readonly zh: "Web 服务已关闭,端口已释放。"; readonly en: "Web is stopped and its port is released."; }; readonly 'web-unavailable': { readonly zh: "当前运行方式未挂载 Web 启动通道;请在终端运行 cco web。"; readonly en: "Web launch is unavailable in this mode; run cco web in a terminal."; }; readonly 'web-launch-failed': { readonly zh: "Web 端启动失败:{{err}}。请在终端运行 cco web。"; readonly en: "Failed to start Web: {{err}}. Run cco web in a terminal."; }; readonly 'streaming-folded': { readonly zh: "…(前 {{count}} 字符流式期间已折叠,落定后完整显示)"; readonly en: "…(first {{count}} chars folded while streaming; full text renders once the turn settles)"; }; readonly 'vim-on': { readonly zh: "vim 模式已开启(Esc 切 normal,i/a/o 回 insert)"; readonly en: "vim mode on (Esc = normal, i/a/o = insert)"; }; readonly 'vim-off': { readonly zh: "vim 模式已关闭"; readonly en: "vim mode off"; }; readonly 'terminal-setup-hint': { readonly zh: "推荐 Windows Terminal(≥110 列、等宽字体、TrueColor)。"; readonly en: "Recommended: Windows Terminal (≥110 columns, monospace, TrueColor)."; }; readonly 'terminal-paste-hint': { readonly zh: "{{mod}}V 或 Alt+V 粘贴文本、文件路径或图片;Ctrl+Shift+V 终端原生粘贴;右键粘贴同样可用;快捷键可在 /settings 修改。"; readonly en: "{{mod}}V or Alt+V pastes text, file paths, or images; Ctrl+Shift+V is native terminal paste; right-click paste also works; remappable via /settings."; }; readonly 'connect-none': { readonly zh: "ChatCode CLI 暂无远程连接机制(CC 的 /connect 对应能力未适配)。"; readonly en: "ChatCode CLI has no remote connection mechanism (CC's /connect equivalent is not adapted)."; }; readonly 'theme-switch-failed': { readonly zh: "主题「{{name}}」切换失败(无法写入 ~/.chatcode-cli/tui/theme.json)"; readonly en: "Theme \"{{name}}\" switch failed (cannot write ~/.chatcode-cli/tui/theme.json)"; }; readonly 'interrupt-delivered': { readonly zh: "已打断当前回合,{{n}} 条消息立即处理"; readonly en: "Interrupted current turn, {{n}} messages processed immediately"; }; readonly 'btw-usage': { readonly zh: "用法:/btw <问题> —— 不打断当前对话的快速侧问"; readonly en: "Usage: /btw — quick side question without interrupting the conversation"; }; readonly 'btw-answering': { readonly zh: "思考中…"; readonly en: "Answering…"; }; readonly 'btw-hint-loading': { readonly zh: "Esc 取消"; readonly en: "Esc cancel"; }; readonly 'btw-hint-done': { readonly zh: "↑/↓ 滚动 · Space/Enter/Esc 关闭 · c 复制"; readonly en: "↑/↓ scroll · Space/Enter/Esc dismiss · c copy"; }; readonly 'release-notes-title': { readonly zh: "v{{version}} 更新内容"; readonly en: "What's new in v{{version}}"; }; readonly 'release-notes-hint': { readonly zh: "↑/↓ 滚动 · Space/Enter/Esc 关闭"; readonly en: "↑/↓ scroll · Space/Enter/Esc dismiss"; }; readonly 'btw-llm-unavailable': { readonly zh: "侧问不可用(llm 服务未挂载)"; readonly en: "Side question unavailable (llm service not mounted)"; }; readonly 'recap-llm-unavailable': { readonly zh: "recap 不可用(llm 服务未挂载)"; readonly en: "Recap unavailable (llm service not mounted)"; }; readonly 'recap-no-activity': { readonly zh: "会话还没有可总结的活动"; readonly en: "No session activity to recap yet"; }; readonly 'recap-answering': { readonly zh: "正在总结最近活动…"; readonly en: "Summarizing recent activity…"; }; readonly 'recap-title-label': { readonly zh: "建议标题"; readonly en: "Suggested title"; }; readonly 'recap-apply-title': { readonly zh: "应用"; readonly en: "Apply"; }; readonly 'recap-title-applied': { readonly zh: "已应用"; readonly en: "Applied"; }; readonly 'recap-title-applied-notify': { readonly zh: "已将会话标题设为「{{title}}」"; readonly en: "Session title set to \"{{title}}\""; }; readonly 'recap-hint': { readonly zh: "↑/↓ 滚动 · Space/Enter/Esc 关闭 · c 复制{{apply}}"; readonly en: "↑/↓ scroll · Space/Enter/Esc dismiss · c copy{{apply}}"; }; readonly 'recap-auto-hint': { readonly zh: "点击展开查看/应用"; readonly en: "Click to expand & apply"; }; readonly 'recap-auto-close': { readonly zh: "关闭"; readonly en: "Dismiss"; }; readonly 'recap-auto-line': { readonly zh: "回顾:{{summary}}"; readonly en: "Recap: {{summary}}"; }; readonly 'recap-panel-title': { readonly zh: "会话回顾"; readonly en: "Session recap"; }; readonly 'recap-panel-subtitle': { readonly zh: "最近活动的快速复盘"; readonly en: "A quick recap of recent activity"; }; readonly 'color-current': { readonly zh: "当前会话颜色 {{name}}"; readonly en: "Current session color {{name}}"; }; readonly 'color-current-none': { readonly zh: "当前会话未设置颜色(用主题默认)"; readonly en: "No session color set (theme default)"; }; readonly 'color-usage': { readonly zh: "用法:/color <{{list}}|reset> —— 颜色按会话保存,resume 后仍在"; readonly en: "Usage: /color <{{list}}|reset> — per-session, survives resume"; }; readonly 'color-reset': { readonly zh: "已清除会话颜色,恢复主题默认"; readonly en: "Session color cleared — back to the theme default"; }; readonly 'color-unknown': { readonly zh: "未知颜色「{{name}}」· 可选:{{list}}"; readonly en: "Unknown color \"{{name}}\" · available: {{list}}"; }; readonly 'color-set': { readonly zh: "会话颜色已设为 {{name}}"; readonly en: "Session color set to {{name}}"; }; readonly 'exit-press-again': { readonly zh: "再次按 Ctrl+C 退出"; readonly en: "Press Ctrl+C again to exit"; }; readonly 'esc-again-rewind': { readonly zh: "再次按 Esc 时间回溯"; readonly en: "Press Esc again to rewind"; }; readonly 'esc-again-clear': { readonly zh: "再次按 Esc 清空"; readonly en: "Press Esc again to clear"; }; readonly 'new-session-started': { readonly zh: "已新建会话"; readonly en: "New session started"; }; readonly 'command-not-found': { readonly zh: "/{{name}}:没有这个命令"; readonly en: "/{{name}}: no such command"; }; readonly 'thinking-toggled': { readonly zh: "思考过程:{{state}}"; readonly en: "Thinking display: {{state}}"; }; readonly 'thinking-on': { readonly zh: "显示"; readonly en: "shown"; }; readonly 'thinking-off': { readonly zh: "隐藏"; readonly en: "hidden"; }; readonly 'tokens-usage': { readonly zh: "Tokens:{{in}} 输入 · {{out}} 输出"; readonly en: "Tokens: {{in}} in · {{out}} out"; }; readonly 'tokens-usage-context': { readonly zh: "{{usage}} · 上下文 {{percent}}%"; readonly en: "{{usage}} · {{percent}}% of context"; }; readonly 'token-dashboard-today': { readonly zh: "今日总Token消耗"; readonly en: "Total tokens today"; }; readonly 'token-dashboard-context': { readonly zh: "当前会话上下文"; readonly en: "Current context"; }; readonly 'token-dashboard-context-short': { readonly zh: "上下文"; readonly en: "Ctx"; }; readonly 'status-context-label': { readonly zh: "上下文 "; readonly en: "ctx "; }; readonly 'legacy-dir-detected': { readonly zh: "检测到旧 TUI 数据。请先运行 chatcode-cli migrate --dry-run 查看计划和冲突;确认后再显式应用,旧目录会保留。"; readonly en: "Legacy TUI data was detected. Run chatcode-cli migrate --dry-run to review the plan and conflicts, then apply explicitly; the old directory is preserved."; }; readonly 'legacy-env-renamed': { readonly zh: "环境变量 {{old}} 已弃用但仍兼容读取;请改用 {{new}}"; readonly en: "Environment variable {{old}} is deprecated but still accepted; use {{new}} instead"; }; readonly 'update-aborted-no-profile': { readonly zh: "ChatCode CLI TUI 更新中止:未解析到 ChatCode CLI Profile。"; readonly en: "ChatCode CLI TUI update aborted: no ChatCode CLI Profile was resolved."; }; readonly 'update-launcher-align-unknown': { readonly zh: "TUI 插件已更新到 v{{version}}。日常使用 chatcode-cli 或 cco 启动。仅当使用独立兼容启动器 cco-tui 时,才需对齐该启动器版本:\n npm install -g --legacy-peer-deps @chatcode/cco-tui@{{version}}"; readonly en: "The TUI plugin is now v{{version}}. Start with chatcode-cli or cco. Only if you use the separate cco-tui compatibility launcher, align its version with:\n npm install -g --legacy-peer-deps @chatcode/cco-tui@{{version}}"; }; readonly 'update-launcher-outdated': { readonly zh: "Profile 已更新到 v{{profile}},但全局启动器仍是 v{{launcher}}。请同步更新:\n npm install -g --legacy-peer-deps @chatcode/cco-tui@{{profile}}\n(--legacy-peer-deps 可绕过 npm 12 的 peer 解析崩溃,见 #459)"; readonly en: "The profile is now v{{profile}}, but the global launcher is still v{{launcher}}. Align it with:\n npm install -g --legacy-peer-deps @chatcode/cco-tui@{{profile}}\n(--legacy-peer-deps works around an npm 12 peer-resolution crash, see #459.)"; }; readonly 'activity-ctx-warn': { readonly zh: "⚠ 上下文"; readonly en: "⚠ ctx "; }; readonly 'activity-random-each-preset': { readonly zh: "每次随机一个预设"; readonly en: "random preset each time"; }; readonly 'preset-default-tag': { readonly zh: "(默认)"; readonly en: " (default)"; }; readonly 'preset-broken-tag': { readonly zh: "(无法加载)"; readonly en: " (failed to load)"; }; readonly 'effort-unavailable': { readonly zh: "推理等级切换不可用(llm 服务未挂载)"; readonly en: "Reasoning effort switching unavailable (llm service not mounted)"; }; readonly 'effort-read-failed': { readonly zh: "推理等级读取失败 · {{error}}"; readonly en: "Failed to read reasoning efforts · {{error}}"; }; readonly 'effort-single-tier': { readonly zh: "当前模型只有一档推理等级({{name}})"; readonly en: "Current model has a single reasoning effort ({{name}})"; }; readonly 'effort-unsupported': { readonly zh: "当前模型不支持推理等级切换"; readonly en: "Current model does not support reasoning effort switching"; }; readonly 'effort-switched': { readonly zh: "推理强度 → {{name}}"; readonly en: "Reasoning effort → {{name}}"; }; readonly 'effort-invalid': { readonly zh: "未知推理等级 {{id}}(当前模型可选:{{ids}})"; readonly en: "Unknown reasoning effort {{id}} (this model offers: {{ids}})"; }; readonly 'effort-current': { readonly zh: "当前推理强度 {{name}}"; readonly en: "Current reasoning effort {{name}}"; }; readonly 'effort-usage': { readonly zh: "用法:/effort(滑杆)| /effort | /effort status"; readonly en: "Usage: /effort (slider) | /effort | /effort status"; }; readonly 'mode-switched': { readonly zh: "模式 → {{name}}"; readonly en: "Mode → {{name}}"; }; readonly 'mode-default': { readonly zh: "默认"; readonly en: "default"; }; readonly 'mode-plan': { readonly zh: "计划模式"; readonly en: "plan mode"; }; readonly 'mode-full': { readonly zh: "完全访问"; readonly en: "full access"; }; readonly 'mode-plan-unavailable': { readonly zh: "当前 preset 未注册 /plan 命令,无法切换计划模式"; readonly en: "The active preset does not register /plan; cannot toggle plan mode"; }; readonly 'logo-ai-ratio-loading': { readonly zh: "加载中…"; readonly en: "Loading…"; }; readonly 'logo-ai-ratio-empty': { readonly zh: "暂无数据(当月)"; readonly en: "No data (month)"; }; readonly 'logo-ai-ratio-unavailable': { readonly zh: "暂不可用(稍后重试)"; readonly en: "Unavailable (retrying)"; }; readonly 'logo-ai-ratio-stale': { readonly zh: "(待刷新)"; readonly en: " (stale)"; }; readonly 'logo-notification-label': { readonly zh: "通知"; readonly en: "Notification"; }; readonly 'logo-web-hint': { readonly zh: "🌐 输入 /web,或在终端运行 cco web,进行可视化配置"; readonly en: "🌐 type /web, or run cco web in another terminal"; }; readonly 'logo-drift-newer': { readonly zh: "ChatCode CLI 引擎为 {{installed}},比本界面验证过的 {{validated}} 新,可能出现兼容问题;请更新本界面,或执行 npm i -g @chatcode/chatcode-cli@latest 重装 CLI。"; readonly en: "The ChatCode CLI engine ({{installed}}) is newer than the {{validated}} this UI is validated against, so issues are possible; update this UI or reinstall the CLI via npm i -g @chatcode/chatcode-cli@latest."; }; readonly 'logo-drift-older': { readonly zh: "ChatCode CLI 引擎为 {{installed}},低于本界面验证过的 {{validated}},部分功能可能不可用;建议执行 npm i -g @chatcode/chatcode-cli@latest 升级。"; readonly en: "The ChatCode CLI engine ({{installed}}) is older than the {{validated}} this UI is validated against; some features may be missing. Upgrade via npm i -g @chatcode/chatcode-cli@latest."; }; readonly 'logo-drift-mixed': { readonly zh: "检测到 ChatCode CLI 引擎多版本混装({{installed}}),容易出现异常;建议执行 npm i -g @chatcode/chatcode-cli@latest 统一版本。"; readonly en: "Mixed ChatCode CLI engine versions detected ({{installed}}), which can cause odd behavior; unify them via npm i -g @chatcode/chatcode-cli@latest."; }; readonly 'logo-drift-broken': { readonly zh: "ChatCode CLI 引擎版本异常({{installed}}),本界面验证过 {{validated}};建议执行 npm i -g @chatcode/chatcode-cli@latest 重装。"; readonly en: "Unexpected ChatCode CLI engine versions ({{installed}}); this UI is validated against {{validated}}. Reinstall via npm i -g @chatcode/chatcode-cli@latest."; }; readonly 'input-sent-after-turn': { readonly zh: "已发送,当前回合结束后处理"; readonly en: "Sent, processed after the current turn"; }; readonly 'input-injected': { readonly zh: "已从编辑器发送"; readonly en: "Sent from editor"; }; readonly 'input-interrupted-next': { readonly zh: "已插话 · 下一步立即处理"; readonly en: "Interrupted · processed next"; }; readonly 'input-queued-after-turn': { readonly zh: "已排队 · 回合结束后处理"; readonly en: "Queued · processed after the turn"; }; readonly 'input-cannot-retract': { readonly zh: "无法撤回:消息可能已被处理,或当前版本不支持"; readonly en: "Cannot retract: the message may already be processed, or this version doesn't support it"; }; readonly 'input-retracted': { readonly zh: "已撤回,可编辑后重新发送"; readonly en: "Retracted, editable and resendable"; }; readonly 'input-empty': { readonly zh: "输入为空,没有可发送的内容"; readonly en: "Empty input, nothing to send"; }; readonly 'input-interrupt-immediate': { readonly zh: "已打断当前回合,正在立即处理"; readonly en: "Interrupted current turn, processing immediately"; }; readonly 'input-clipboard-empty': { readonly zh: "剪贴板为空"; readonly en: "Clipboard is empty"; }; readonly 'input-editor-unavailable': { readonly zh: "错误:未配置编辑器。请设置 $VISUAL 或 $EDITOR 环境变量。"; readonly en: "Error: No editor configured. Set $VISUAL or $EDITOR environment variable."; }; readonly 'input-editor-failed': { readonly zh: "外部编辑器失败:{{name}}"; readonly en: "External editor failed: {{name}}"; }; readonly 'input-clipboard-read-failed': { readonly zh: "读取剪贴板失败"; readonly en: "Failed to read the clipboard"; }; readonly 'input-clipboard-unavailable': { readonly zh: "无法读取剪贴板:没有可用的 wl-paste / xclip / xsel(未安装或会话不可连接)"; readonly en: "Cannot read clipboard: no usable wl-paste / xclip / xsel (not installed or session unreachable)"; }; readonly 'input-image-pasted': { readonly zh: "已粘贴图片 {{token}}"; readonly en: "Pasted image {{token}}"; }; readonly 'input-image-paste-failed': { readonly zh: "粘贴图片失败:{{err}}"; readonly en: "Could not paste image: {{err}}"; }; readonly 'input-pending-steer-label': { readonly zh: "插话 · 下一步送达"; readonly en: "Steer · delivered next"; }; readonly 'input-pending-queue-label': { readonly zh: "排队 · 回合结束后送达"; readonly en: "Queued · delivered after the turn"; }; readonly 'input-pending-actions-hint': { readonly zh: "撤回 · Esc 打断并立即发送"; readonly en: "Retract · Esc interrupts and sends immediately"; }; readonly 'input-fold-stats': { readonly zh: "{{lines}} 行 · {{chars}} 字"; readonly en: "{{lines}} lines · {{chars}} chars"; }; readonly 'input-fold-hover': { readonly zh: "悬停查看"; readonly en: "hover to peek"; }; readonly 'input-fold-peek-footer': { readonly zh: "… 共 {{lines}} 行 · 点击展开编辑"; readonly en: "… {{lines}} lines total · click to edit"; }; readonly 'input-expand-editor-title': { readonly zh: "草稿编辑"; readonly en: "Draft editor"; }; readonly 'input-expand-editor-position': { readonly zh: "行 {{line}} · 列 {{col}}"; readonly en: "Ln {{line}}, Col {{col}}"; }; readonly 'input-expand-editor-scroll': { readonly zh: "滚轮翻动 · 光标行自动跟随"; readonly en: "wheel scrolls · caret row follows"; }; readonly 'input-expand-editor-send': { readonly zh: "发送"; readonly en: "Send"; }; readonly 'input-expand-editor-collapse': { readonly zh: "收起"; readonly en: "Collapse"; }; readonly 'input-expand-editor-hint-send': { readonly zh: "Ctrl+Enter 发送"; readonly en: "Ctrl+Enter sends"; }; readonly 'input-expand-editor-hint-collapse': { readonly zh: "Esc 收起"; readonly en: "Esc collapses"; }; readonly 'tool-tip-started': { readonly zh: "开始 {{time}}"; readonly en: "started {{time}}"; }; readonly 'tool-tip-finished': { readonly zh: "结束 {{time}}"; readonly en: "finished {{time}}"; }; readonly 'tool-tip-failed': { readonly zh: "失败 {{time}}"; readonly en: "failed {{time}}"; }; readonly 'tool-tip-exit': { readonly zh: "退出码 {{code}}"; readonly en: "exit {{code}}"; }; readonly 'tool-tip-signal': { readonly zh: "信号 {{name}}"; readonly en: "signal {{name}}"; }; readonly 'sugg-commands-title': { readonly zh: "命令"; readonly en: "commands"; }; readonly 'sugg-files-title': { readonly zh: "文件"; readonly en: "files"; }; readonly 'sugg-count': { readonly zh: "共 {{n}} 项"; readonly en: "{{n}} items"; }; readonly 'sugg-more-above': { readonly zh: "↑{{n}}"; readonly en: "↑{{n}}"; }; readonly 'sugg-more-below': { readonly zh: "↓{{n}}"; readonly en: "↓{{n}}"; }; readonly 'sugg-enter-directory': { readonly zh: "Enter/Tab 进入目录 · Esc 关闭"; readonly en: "Enter/Tab: open directory · Esc: close"; }; readonly 'sugg-scan-complete': { readonly zh: "请选择文件"; readonly en: "Please select a file"; }; readonly 'sugg-scanning-select': { readonly zh: "正在扫描,扫描完成后可选择"; readonly en: "Scanning; select when complete"; }; readonly 'sugg-status-desc': { readonly zh: "显示当前选择"; readonly en: "Show the current choice"; }; readonly 'sugg-lang-zh-desc': { readonly zh: "切换界面语言到中文"; readonly en: "Switch the UI language to Chinese"; }; readonly 'sugg-lang-en-desc': { readonly zh: "切换界面语言到英文"; readonly en: "Switch the UI language to English"; }; readonly 'sugg-theme-auto-desc': { readonly zh: "跟随终端背景自动切换"; readonly en: "Follow the terminal background"; }; readonly 'sugg-theme-builtin-desc': { readonly zh: "内置主题"; readonly en: "Built-in theme"; }; readonly 'sugg-theme-user-desc': { readonly zh: "用户主题({{base}} 基底)"; readonly en: "User theme ({{base}} base)"; }; readonly 'sugg-theme-plugin-desc': { readonly zh: "插件主题({{base}} 基底)"; readonly en: "Plugin theme ({{base}} base)"; }; readonly 'sugg-effort-level-desc': { readonly zh: "思考强度档位"; readonly en: "Reasoning effort level"; }; readonly 'sugg-preset-manage-desc': { readonly zh: "列出预设与管理命令"; readonly en: "List presets and management actions"; }; readonly 'sugg-preset-create-desc': { readonly zh: "从现有预设复制创建用户预设"; readonly en: "Copy an existing preset into a user preset"; }; readonly 'sugg-preset-edit-desc': { readonly zh: "编辑用户预设组合文件"; readonly en: "Edit a user preset composition"; }; readonly 'sugg-preset-delete-desc': { readonly zh: "删除用户预设"; readonly en: "Delete a user preset"; }; readonly 'sugg-preset-plugins-desc': { readonly zh: "查看预设声明的组合行"; readonly en: "List rows declared by a preset"; }; readonly 'sugg-stats-session-desc': { readonly zh: "查看当前会话的全日志统计"; readonly en: "Show whole-log statistics for this session"; }; readonly 'sugg-activity-frames-desc': { readonly zh: "列出或切换动画帧预设"; readonly en: "List or switch frame presets"; }; readonly 'sugg-activity-frame-desc': { readonly zh: "动画帧预设"; readonly en: "Animation frame preset"; }; readonly 'sugg-color-reset-desc': { readonly zh: "清除会话颜色,恢复主题默认"; readonly en: "Clear the session color"; }; readonly 'sugg-color-name-desc': { readonly zh: "会话强调色"; readonly en: "Session accent color"; }; readonly 'settings-fullscreen-restart': { readonly zh: "全屏设置已保存,重启 ChatCode CLI TUI 后生效"; readonly en: "Fullscreen preference saved — restart ChatCode CLI TUI to apply"; }; readonly 'settings-fullscreen-migrated': { readonly zh: "全屏已是出厂默认(已清除更新前的 inline 选择);偏好 inline 可在 /settings 改回"; readonly en: "Fullscreen is now the factory default (pre-update inline choice cleared); prefer inline? Switch back in /settings"; }; readonly 'help-for-commands': { readonly zh: "/ 查看命令"; readonly en: "/ for commands"; }; readonly 'help-this-help': { readonly zh: "? 查看本帮助"; readonly en: "? for this help"; }; readonly 'help-verbose-output': { readonly zh: "{{mod}}o 详细输出"; readonly en: "{{mod}}o for verbose output"; }; readonly 'help-open-trajectory': { readonly zh: "{{mod}}t 打开会话轨迹"; readonly en: "{{mod}}t to open trajectory"; }; readonly 'help-search-history': { readonly zh: "{{mod}}r 搜索历史"; readonly en: "{{mod}}r to search history"; }; readonly 'help-interrupt': { readonly zh: "ctrl+c 打断"; readonly en: "ctrl+c to interrupt"; }; readonly 'help-exit': { readonly zh: "ctrl+d 退出"; readonly en: "ctrl+d to exit"; }; readonly 'help-redraw': { readonly zh: "{{mod}}l 重绘"; readonly en: "{{mod}}l to redraw"; }; readonly 'help-clear-input': { readonly zh: "esc 清空输入"; readonly en: "esc to clear input"; }; readonly 'help-history-nav': { readonly zh: "↑/↓ 历史"; readonly en: "↑/↓ for history"; }; readonly 'help-move-cursor': { readonly zh: "←/→ 移动光标"; readonly en: "←/→ to move cursor"; }; readonly 'help-word-jumps': { readonly zh: "{{mod}}←/→ 按词跳转"; readonly en: "{{mod}}←/→ for word jumps"; }; readonly 'help-complete-command': { readonly zh: "tab 补全命令"; readonly en: "tab to complete command"; }; readonly 'help-cycle-mode': { readonly zh: "shift+tab 切换模式"; readonly en: "shift+tab to cycle mode"; }; readonly 'help-open-editor': { readonly zh: "ctrl+g 打开编辑器"; readonly en: "ctrl+g to open editor"; }; readonly 'help-fold-todos': { readonly zh: "{{mod}}q 折叠待办"; readonly en: "{{mod}}q to fold todos"; }; readonly 'goal-todo-fold-hint': { readonly zh: "{{mod}}q 折叠"; readonly en: "{{mod}}q to fold"; }; readonly 'help-commands-title': { readonly zh: "命令:"; readonly en: "commands:"; }; readonly 'help-scroll-hint': { readonly zh: "↑/↓ 滚动 · PgUp/PgDn 翻页 · Home/End 首尾 · Esc 关闭"; readonly en: "↑/↓ scroll · PgUp/PgDn page · Home/End jump · Esc close"; }; readonly 'tips-title': { readonly zh: "使用技巧(快捷键 · 命令 · 工作流 · 个性化 · 避坑)"; readonly en: "Usage tips (shortcuts · commands · workflow · display · gotchas)"; }; readonly 'tips-hint': { readonly zh: "↑/↓ 滚动 · Esc 关闭"; readonly en: "↑/↓ scroll · Esc to close"; }; readonly 'interrupted-by-user': { readonly zh: "已打断 "; readonly en: "Interrupted "; }; readonly 'interrupted-ask-next': { readonly zh: "· 接下来想让 ChatCode CLI 做什么?"; readonly en: "· What should ChatCode CLI do instead?"; }; readonly 'load-earlier': { readonly zh: " ↑ 加载更早消息(会话日志完整,/export 导出全文) "; readonly en: " ↑ load earlier messages (full session log; /export for full text) "; }; readonly 'show-previous-messages': { readonly zh: " ctrl+e 显示前 {{n}} 条消息 "; readonly en: " ctrl+e to show {{n}} previous messages "; }; readonly 'resume-none-in-cwd': { readonly zh: "当前目录没有可恢复的历史会话"; readonly en: "No resumable sessions in the current directory"; }; readonly 'resume-resumed': { readonly zh: "已恢复会话"; readonly en: "Session resumed"; }; readonly 'resume-delete-confirm': { readonly zh: "永久删除 {{n}} 条记录(含子代理):「{{name}}」?无法撤销。"; readonly en: "Permanently delete {{n}} records: \"{{name}}\"? Cannot undo."; }; readonly 'resume-deleted': { readonly zh: "已删除会话「{{name}}」"; readonly en: "Deleted session {{name}}"; }; readonly 'resume-archived': { readonly zh: "已归档会话「{{name}}」"; readonly en: "Archived session {{name}}"; }; readonly 'resume-archive-confirm': { readonly zh: "归档「{{name}}」?会话日志会保留,可在 Web 或 CLI 端恢复。"; readonly en: "Archive \"{{name}}\"? The log is retained and can be restored in Web or CLI."; }; readonly 'resume-archive-failed': { readonly zh: "无法归档会话「{{name}}」"; readonly en: "Could not archive session {{name}}"; }; readonly 'resume-delete-failed': { readonly zh: "无法删除会话「{{name}}」"; readonly en: "Could not delete session {{name}}"; }; readonly 'resume-rename-placeholder': { readonly zh: "新的会话名称…"; readonly en: "New session name…"; }; readonly 'resume-rename-failed': { readonly zh: "无法重命名会话「{{name}}」"; readonly en: "Could not rename session {{name}}"; }; readonly 'resume-hint-rename': { readonly zh: "**Enter** 保存 · Esc 取消"; readonly en: "**Enter** to save · Esc to cancel"; }; readonly 'resume-archived-title': { readonly zh: "已归档会话"; readonly en: "Archived sessions"; }; readonly 'resume-toggle-archived': { readonly zh: "切换归档列表"; readonly en: "Toggle archived"; }; readonly 'resume-menu-restore': { readonly zh: "恢复"; readonly en: "Restore"; }; readonly 'resume-hint-archived-list': { readonly zh: "**Enter** 恢复 · {{mod}}d 永久删除 · {{mod}}e 返回"; readonly en: "**Enter** restore · {{mod}}d delete permanently · {{mod}}e back"; }; readonly 'resume-hint-archived-short': { readonly zh: "**Enter** 恢复 · {{mod}}e 返回"; readonly en: "**Enter** restore · {{mod}}e back"; }; readonly 'resume-hint-permanent-delete': { readonly zh: "**Tab / ← →** 选择 · **Enter** 确认 · Esc 取消"; readonly en: "**Tab / ← →** choose · **Enter** confirm · Esc cancel"; }; readonly 'resume-hint-archive': { readonly zh: "**Enter** 归档 · Esc 取消"; readonly en: "**Enter** archive · Esc cancel"; }; readonly 'resume-delete-unavailable': { readonly zh: "共享会话删除服务不可用,请更新主程序"; readonly en: "Shared session deletion is unavailable; update the Host"; }; readonly 'resume-restored': { readonly zh: "已恢复会话「{{name}}」"; readonly en: "Restored session {{name}}"; }; readonly 'resume-restore-failed': { readonly zh: "无法恢复会话「{{name}}」"; readonly en: "Could not restore session {{name}}"; }; readonly 'resume-title': { readonly zh: "恢复会话"; readonly en: "Resume session"; }; readonly 'agentview-title': { readonly zh: "会话总览"; readonly en: "Agent view"; }; readonly 'agentview-count-awaited': { readonly zh: "{{n}} 个等待输入"; readonly en: "{{n}} awaiting input"; }; readonly 'agentview-count-working': { readonly zh: "{{n}} 个运行中"; readonly en: "{{n}} working"; }; readonly 'agentview-count-completed': { readonly zh: "{{n}} 个已完成"; readonly en: "{{n}} completed"; }; readonly 'agentview-count-failed': { readonly zh: "{{n}} 个失败"; readonly en: "{{n}} failed"; }; readonly 'agentview-bg-notice': { readonly zh: "当前会话已转入后台 —— **Enter** 打开它 · **Esc** 返回它 · **Ctrl+C** 两次退出"; readonly en: "Your conversation moved to the background — **Enter** opens it · **Esc** returns to it · **Ctrl+C** twice quits"; }; readonly 'agentview-current-session': { readonly zh: "当前会话"; readonly en: "current session"; }; readonly 'agentview-untitled': { readonly zh: "未命名"; readonly en: "untitled"; }; readonly 'agentview-summary-empty': { readonly zh: "输入提示词开始"; readonly en: "send a prompt to start"; }; readonly 'agentview-none': { readonly zh: "没有会话。在下方输入任务描述并回车,派发第一个后台会话。"; readonly en: "No sessions. Type a task below and press Enter to dispatch your first background session."; }; readonly 'agentview-empty-prompt': { readonly zh: "派发内容不能为空"; readonly en: "Dispatch prompt cannot be empty"; }; readonly 'agentview-dispatch-unavailable': { readonly zh: "无法派发后台会话——agent 服务不可用"; readonly en: "Cannot dispatch a background session — the agent service is unavailable"; }; readonly 'agentview-dispatch-failed': { readonly zh: "后台会话创建失败 · {{err}}"; readonly en: "Background session creation failed · {{err}}"; }; readonly 'agentview-dispatch-done': { readonly zh: "已派发新会话"; readonly en: "Dispatched a new session"; }; readonly 'agentview-stopped': { readonly zh: "已停止会话"; readonly en: "Session stopped"; }; readonly 'agentview-stop-failed': { readonly zh: "无法停止——该会话不是本 TUI 派发的后台会话"; readonly en: "Cannot stop — this is not a background session dispatched by this TUI"; }; readonly 'agentview-stop-confirm': { readonly zh: "**Ctrl+X** 再次按下归档会话「{{name}}」,其他键取消"; readonly en: "**Ctrl+X** again to archive \"{{name}}\", any other key cancels"; }; readonly 'agentview-deleted': { readonly zh: "已归档会话「{{name}}」"; readonly en: "Archived session \"{{name}}\""; }; readonly 'agentview-delete-failed': { readonly zh: "无法归档会话「{{name}}」"; readonly en: "Could not archive session \"{{name}}\""; }; readonly 'agentview-attached': { readonly zh: "已切换到会话"; readonly en: "Attached to session"; }; readonly 'agentview-attach-failed': { readonly zh: "切换失败 · {{err}}"; readonly en: "Attach failed · {{err}}"; }; readonly 'agentview-current-marker': { readonly zh: "当前"; readonly en: "attached"; }; readonly 'agentview-input-placeholder': { readonly zh: "输入任务并回车派发后台会话 · Shift+Enter 派发并立即切换"; readonly en: "Type a task and press Enter to dispatch · Shift+Enter dispatch and attach"; }; readonly 'agentview-hint-list': { readonly zh: "**Enter**/→ 切换 · **Space** 预览 · **Ctrl+X** 停止(两次删除) · **Ctrl+R** 重命名 · **Esc** 退出 · **?** 帮助"; readonly en: "**Enter**/→ attach · **Space** peek · **Ctrl+X** stop (twice: delete) · **Ctrl+R** rename · **Esc** exit · **?** help"; }; readonly 'agentview-hint-rename': { readonly zh: "**Enter** 保存 · Esc 取消"; readonly en: "**Enter** to save · Esc to cancel"; }; readonly 'agentview-hint-peek': { readonly zh: "输入回复并按 **Enter** 发送 · **Esc** 关闭预览"; readonly en: "Type a reply and press **Enter** to send · **Esc** close"; }; readonly 'agentview-reply-sent': { readonly zh: "已发送回复"; readonly en: "Reply sent"; }; readonly 'agentview-reply-failed': { readonly zh: "回复发送失败 · {{err}}"; readonly en: "Reply failed · {{err}}"; }; readonly 'agentview-reply-empty': { readonly zh: "回复内容为空"; readonly en: "Reply is empty"; }; readonly 'agentview-reply-stopped': { readonly zh: "该会话未运行——回车切换进去后回复"; readonly en: "This session is not running — press Enter to attach and reply"; }; readonly 'agentview-help-title': { readonly zh: "会话总览快捷键"; readonly en: "Agent view shortcuts"; }; readonly 'agentview-help': { readonly zh: "↑/↓ 移动 · PgUp/PgDn 翻页\nEnter/→ 切换到选中会话(输入框有文字时:派发);后台化打开时 **Enter** 打开当前会话\nShift+Enter 派发并立即切换\nSpace 打开/关闭预览 · 预览内可输入回复并 Enter 发送\nCtrl+X 停止会话 · 两秒内再次按下删除\nCtrl+R 重命名选中会话\nEsc 关闭预览 → 清空输入 → 退出;后台化打开时返回被转入后台的会话\nCtrl+C 清空输入 · 两次退出\n? 本帮助\n\n后台会话运行在本进程内:TUI 退出后停止,日志保留可 /resume 恢复。"; readonly en: "↑/↓ move · PgUp/PgDn page\nEnter/→ attach to the selected session (with input text: dispatch); after backgrounding, **Enter** opens the current session\nShift+Enter dispatch and attach\nSpace toggle the peek panel · type a reply inside and Enter to send\nCtrl+X stop the session · press again within 2s to delete\nCtrl+R rename the selected session\nEsc close peek → clear input → exit; after backgrounding, returns to the backgrounded session\nCtrl+C clear input · twice to exit\n? this help\n\nBackground sessions run inside this process: they stop when the TUI exits; their logs survive for /resume."; }; readonly 'agentview-rename-placeholder': { readonly zh: "新的会话名称…"; readonly en: "New session name…"; }; readonly 'agentview-renamed': { readonly zh: "已重命名「{{title}}」"; readonly en: "Renamed \"{{title}}\""; }; readonly 'agentview-rename-failed': { readonly zh: "重命名失败"; readonly en: "Rename failed"; }; readonly 'agentview-hint-help': { readonly zh: "**Esc** 关闭帮助"; readonly en: "**Esc** to close help"; }; readonly 'agentview-state-needs-input': { readonly zh: "等待输入"; readonly en: "Needs input"; }; readonly 'agentview-state-working': { readonly zh: "运行中"; readonly en: "Working"; }; readonly 'agentview-state-completed': { readonly zh: "已完成"; readonly en: "Completed"; }; readonly 'agentview-state-failed': { readonly zh: "失败"; readonly en: "Failed"; }; readonly 'agentview-state-idle': { readonly zh: "空闲"; readonly en: "Idle"; }; readonly 'agentview-state-stopped': { readonly zh: "已停止"; readonly en: "Stopped"; }; readonly 'approval-background-agent': { readonly zh: "来自后台会话 {{id}} 的审批请求"; readonly en: "Approval request from background session {{id}}"; }; readonly 'input-background-hint-count': { readonly zh: "← {{n}} 个会话等待输入"; readonly en: "← {{n}} agents"; }; readonly 'input-background-hint-idle': { readonly zh: "← 会话总览"; readonly en: "← for agents"; }; readonly 'settings-title': { readonly zh: "插件设置"; readonly en: "Plugin settings"; }; readonly 'settings-unavailable': { readonly zh: "设置服务未挂载——只读"; readonly en: "settings service absent — read-only"; }; readonly 'settings-empty': { readonly zh: "没有可配置的插件设置(尚无插件注册设置区块)"; readonly en: "No configurable plugin settings (no plugin has registered a section)"; }; readonly 'settings-group-empty': { readonly zh: "此分组没有可配置字段"; readonly en: "No configurable fields in this group"; }; readonly 'settings-section-unavailable': { readonly zh: "命名空间未注册"; readonly en: "namespace not served"; }; readonly 'settings-badge-restart': { readonly zh: "重启生效"; readonly en: "applies on restart"; }; readonly 'settings-badge-dirty': { readonly zh: "未保存"; readonly en: "unsaved"; }; readonly 'settings-badge-saving': { readonly zh: "保存中"; readonly en: "saving"; }; readonly 'settings-badge-failed': { readonly zh: "保存失败"; readonly en: "save failed"; }; readonly 'settings-field-customized': { readonly zh: "已自定义"; readonly en: "customized"; }; readonly 'settings-field-empty': { readonly zh: "(未设置)"; readonly en: "(unset)"; }; readonly 'settings-field-invalid': { readonly zh: "无效输入"; readonly en: "invalid"; }; readonly 'settings-secret-set': { readonly zh: "●●●●●●(已配置)"; readonly en: "●●●●●● (configured)"; }; readonly 'settings-secret-unset': { readonly zh: "(未配置)"; readonly en: "(not configured)"; }; readonly 'settings-secret-staged': { readonly zh: "(待保存)"; readonly en: "(pending save)"; }; readonly 'settings-saved': { readonly zh: "已保存 {{ns}}"; readonly en: "Saved {{ns}}"; }; readonly 'settings-save-failed': { readonly zh: "保存 {{ns}} 失败——请重试"; readonly en: "Saving {{ns}} failed — please retry"; }; readonly 'settings-secret-ref-reserved': { readonly zh: "凭据 {{ref}} 由宿主保留,写入被拒绝:第三方设置区块不能覆盖宿主共享凭据"; readonly en: "Credential {{ref}} is reserved by the host; write rejected: third-party settings sections cannot overwrite host-shared credentials"; }; readonly 'settings-hint-list': { readonly zh: "**Enter** 进入/编辑/切换(改动即保存) · Esc 退出"; readonly en: "**Enter** open/edit/toggle (auto-saves) · Esc exit"; }; readonly 'settings-hint-group': { readonly zh: "**Enter** 编辑/切换(改动即保存) · Esc 返回"; readonly en: "**Enter** edit/toggle (auto-saves) · Esc back"; }; readonly 'settings-hint-edit': { readonly zh: "**Enter** 确认并保存 · Esc 取消"; readonly en: "**Enter** to confirm & save · Esc to cancel"; }; readonly 'settings-confirm-enable': { readonly zh: "Enter 允许并开启 · Esc 取消"; readonly en: "Enter to allow and enable · Esc to cancel"; }; readonly 'session-loading': { readonly zh: "正在读取会话…"; readonly en: "Reading sessions…"; }; readonly 'session-list-failed': { readonly zh: "无法读取会话列表 · {{err}}"; readonly en: "Could not read the session list · {{err}}"; }; readonly 'session-resume-failed': { readonly zh: "恢复会话失败 · {{err}}"; readonly en: "Resuming the session failed · {{err}}"; }; readonly 'session-when-now': { readonly zh: "刚刚"; readonly en: "just now"; }; readonly 'session-when-minutes': { readonly zh: "{{n}} 分钟前"; readonly en: "{{n}}m ago"; }; readonly 'session-when-hours': { readonly zh: "{{n}} 小时前"; readonly en: "{{n}}h ago"; }; readonly 'session-when-days': { readonly zh: "{{n}} 天前"; readonly en: "{{n}}d ago"; }; readonly 'session-when-date': { readonly zh: "{{month}} 月 {{day}} 日"; readonly en: "{{month}}/{{day}}"; }; readonly 'session-children': { readonly zh: "{{n}} 个子运行"; readonly en: "{{n}} runs"; }; readonly 'session-kind-root': { readonly zh: "对话"; readonly en: "Conversation"; }; readonly 'session-kind-fork': { readonly zh: "回溯分支"; readonly en: "Rewound branch"; }; readonly 'session-kind-subagent': { readonly zh: "子 agent 运行"; readonly en: "Sub-agent run"; }; readonly 'session-project-unknown': { readonly zh: "未分组"; readonly en: "Ungrouped"; }; readonly 'session-scope-all': { readonly zh: "全部工作目录"; readonly en: "all working directories"; }; readonly 'session-search-placeholder': { readonly zh: "输入以搜索 · {{scope}}"; readonly en: "Type to search · {{scope}}"; }; readonly 'session-workspace-scope': { readonly zh: "工作目录"; readonly en: "Working directory"; }; readonly 'session-workspace-switch': { readonly zh: "← 选择目录"; readonly en: "← choose directory"; }; readonly 'session-workspace-select-title': { readonly zh: "选择工作目录"; readonly en: "Choose working directory"; }; readonly 'session-workspace-search-placeholder': { readonly zh: "输入以搜索工作目录"; readonly en: "Type to search working directories"; }; readonly 'session-workspace-all': { readonly zh: "全部工作目录"; readonly en: "All working directories"; }; readonly 'session-workspace-current': { readonly zh: "当前"; readonly en: "current"; }; readonly 'session-workspace-ungrouped': { readonly zh: "未分组"; readonly en: "Ungrouped"; }; readonly 'session-workspace-project-count': { readonly zh: "{{n}} 个目录"; readonly en: "{{n}} directories"; }; readonly 'session-workspace-all-detail': { readonly zh: "跨目录浏览 · {{n}} 个会话"; readonly en: "browse across directories · {{n}} sessions"; }; readonly 'session-workspace-empty': { readonly zh: "暂无历史会话"; readonly en: "no history yet"; }; readonly 'session-workspace-no-match': { readonly zh: "没有匹配的工作目录"; readonly en: "No matching working directory"; }; readonly 'resume-menu-open': { readonly zh: "打开"; readonly en: "Open"; }; readonly 'resume-menu-pin': { readonly zh: "固定到顶部"; readonly en: "Pin to top"; }; readonly 'resume-menu-unpin': { readonly zh: "取消固定"; readonly en: "Unpin"; }; readonly 'resume-menu-rename': { readonly zh: "重命名"; readonly en: "Rename"; }; readonly 'resume-menu-delete': { readonly zh: "永久删除"; readonly en: "Permanently delete"; }; readonly 'resume-menu-archive': { readonly zh: "归档"; readonly en: "Archive"; }; readonly 'session-pinned-group': { readonly zh: "已固定"; readonly en: "Pinned"; }; readonly 'resume-pinned': { readonly zh: "已固定 {{name}}"; readonly en: "Pinned {{name}}"; }; readonly 'resume-unpinned': { readonly zh: "已取消固定 {{name}}"; readonly en: "Unpinned {{name}}"; }; readonly 'resume-pin-save-failed': { readonly zh: "固定状态保存失败,未应用更改"; readonly en: "Could not save pin; no change was applied"; }; readonly 'session-count-shown': { readonly zh: "{{n}} 个会话"; readonly en: "{{n}} sessions"; }; readonly 'session-count-subagents': { readonly zh: "{{n}} 个子运行已折叠"; readonly en: "{{n}} runs folded"; }; readonly 'session-count-empty': { readonly zh: "{{n}} 个空会话"; readonly en: "{{n}} empty"; }; readonly 'session-archive-clean-confirm': { readonly zh: "归档 {{n}} 个没有对话内容的会话?日志会保留。"; readonly en: "Archive {{n}} empty sessions? Their logs will be retained."; }; readonly 'session-archive-cleaned': { readonly zh: "已归档 {{n}} 个空会话"; readonly en: "Archived {{n}} empty sessions"; }; readonly 'session-preview-times': { readonly zh: "创建于 {{created}} · 最后活动 {{updated}}"; readonly en: "created {{created}} · last active {{updated}}"; }; readonly 'session-preview-loading': { readonly zh: "正在读取会话结尾…"; readonly en: "Reading the end of this session…"; }; readonly 'session-preview-empty': { readonly zh: "这个会话没有可预览的往来消息"; readonly en: "No exchanges to preview in this session"; }; readonly 'session-toggle-on': { readonly zh: "开"; readonly en: "on"; }; readonly 'session-toggle-off': { readonly zh: "关"; readonly en: "off"; }; readonly 'session-hint-list-archive': { readonly zh: "**Enter** 恢复 · ← 工作目录 · Tab 预览 · 右键菜单 · {{mod}}a 全部目录({{projects}}) · {{mod}}s 子运行({{runs}}) · {{mod}}b 本分支 · {{mod}}r 重命名 · {{mod}}p 固定 · {{mod}}d 归档 · {{mod}}x 归档空会话 · Esc 退出"; readonly en: "**Enter** resume · ← directories · Tab preview · right-click menu · {{mod}}a all directories ({{projects}}) · {{mod}}s runs ({{runs}}) · {{mod}}b this branch · {{mod}}r rename · {{mod}}p pin · {{mod}}d archive · {{mod}}x archive empty · Esc exit"; }; readonly 'session-hint-list-mid-archive': { readonly zh: "**Enter** 恢复 · ← 工作目录 · Tab 预览 · 右键菜单 · {{mod}}a 全部目录 · {{mod}}s 子运行 · {{mod}}r 重命名 · {{mod}}p 固定 · {{mod}}d 归档 · Esc 退出"; readonly en: "**Enter** resume · ← directories · Tab preview · right-click menu · {{mod}}a all directories · {{mod}}s runs · {{mod}}r rename · {{mod}}p pin · {{mod}}d archive · Esc exit"; }; readonly 'session-hint-list-short': { readonly zh: "**Enter** 恢复 · {{mod}}p ★ · ← 目录 · Esc"; readonly en: "**Enter** resume · {{mod}}p ★ · ← dirs · Esc"; }; readonly 'session-hint-workspaces': { readonly zh: "**Enter/→** 查看会话 · ↑/↓ 选择 · {{mod}}a 全部目录 · Esc 返回"; readonly en: "**Enter/→** view sessions · ↑/↓ choose · {{mod}}a all directories · Esc back"; }; readonly 'session-hint-workspaces-short': { readonly zh: "**Enter/→** 查看 · Esc"; readonly en: "**Enter/→** view · Esc"; }; readonly 'hint-confirm-exit': { readonly zh: "**Enter** 确认 · Esc 退出"; readonly en: "**Enter** to confirm · Esc to exit"; }; readonly 'hint-select-exit': { readonly zh: "**Enter** 选择 · Esc 退出"; readonly en: "**Enter** to select · Esc to exit"; }; readonly 'hint-fill-exit': { readonly zh: "**Enter** 填入命令 · Esc 退出"; readonly en: "**Enter** to insert · Esc to exit"; }; readonly 'hint-rewind-back': { readonly zh: "**Enter** 回退 · Esc 返回"; readonly en: "**Enter** to rewind · Esc to back"; }; readonly 'statusline-hint-select': { readonly zh: "esc 返回输入"; readonly en: "esc to return to input"; }; readonly 'statusline-hint-working': { readonly zh: "esc 中断"; readonly en: "esc to interrupt"; }; readonly 'statusline-hint-shortcuts': { readonly zh: "? 查看快捷键"; readonly en: "? for shortcuts"; }; readonly 'status-detail-of-window': { readonly zh: "的窗口"; readonly en: "of window"; }; readonly 'status-detail-session-id': { readonly zh: "会话日志目录与此 id 同名"; readonly en: "the session log directory is named after this id"; }; readonly 'hint-ext-dialog-input': { readonly zh: "**Enter** 确认 · Esc 取消"; readonly en: "**Enter** to confirm · Esc to cancel"; }; readonly 'hint-adjust-done': { readonly zh: "**←/→** 调整 · Enter/Esc 完成"; readonly en: "**←/→** to adjust · Enter/Esc to done"; }; readonly 'hint-history-search': { readonly zh: "↑/↓ 选择 · **Enter** 确认 · Esc 取消"; readonly en: "↑/↓ to navigate · **Enter** to select · Esc to cancel"; }; readonly 'hint-expand-ctrl-o': { readonly zh: "(ctrl+o 展开)"; readonly en: "(ctrl+o to expand)"; }; readonly 'file-actions-title': { readonly zh: "文件操作"; readonly en: "File actions"; }; readonly 'file-actions-open': { readonly zh: "打开文件"; readonly en: "Open file"; }; readonly 'file-actions-open-dir': { readonly zh: "打开文件夹"; readonly en: "Open folder"; }; readonly 'file-actions-reveal': { readonly zh: "打开所在文件夹"; readonly en: "Reveal in folder"; }; readonly 'file-actions-copy': { readonly zh: "复制绝对路径"; readonly en: "Copy absolute path"; }; readonly 'picker-title-model': { readonly zh: "模型"; readonly en: "Model"; }; readonly 'picker-title-skills': { readonly zh: "技能"; readonly en: "Skills"; }; readonly 'skills-loading': { readonly zh: "正在加载技能"; readonly en: "Loading skills"; }; readonly 'skills-loading-subtitle': { readonly zh: "正在查询技能注册表…"; readonly en: "Querying the skill registry…"; }; readonly 'skills-empty': { readonly zh: "当前会话没有可用技能"; readonly en: "No skills available in this session"; }; readonly 'skills-load-failed': { readonly zh: "技能列表加载失败"; readonly en: "Failed to load the skill list"; }; readonly 'skills-unknown': { readonly zh: "未知技能「{{name}}」"; readonly en: "Unknown skill \"{{name}}\""; }; readonly 'skills-not-invocable': { readonly zh: "技能「{{name}}」不可直接调用"; readonly en: "Skill \"{{name}}\" is not directly invocable"; }; readonly 'plugin-scene-crashed': { readonly zh: "插件场景「{{id}}」渲染崩溃:{{err}}(已自动关闭)"; readonly en: "Plugin scene \"{{id}}\" crashed while rendering: {{err}} (closed)"; }; readonly 'skills-source-bundled': { readonly zh: "内置"; readonly en: "built-in"; }; readonly 'skills-source-user': { readonly zh: "用户"; readonly en: "user"; }; readonly 'skills-source-project': { readonly zh: "项目"; readonly en: "project"; }; readonly 'skills-source-runtime': { readonly zh: "运行时"; readonly en: "runtime"; }; readonly 'skills-source-custom': { readonly zh: "自定义"; readonly en: "custom"; }; readonly 'picker-title-theme': { readonly zh: "颜色主题"; readonly en: "Color theme"; }; readonly 'picker-title-activity': { readonly zh: "指示器预设"; readonly en: "Indicator preset"; }; readonly 'picker-title-color': { readonly zh: "会话强调色"; readonly en: "Session accent color"; }; readonly 'copy-picker-title': { readonly zh: "复制第 {{age}} 条助手回复"; readonly en: "Copy assistant reply #{{age}}"; }; readonly 'copy-picker-full': { readonly zh: "完整回复"; readonly en: "Full reply"; }; readonly 'copy-picker-code': { readonly zh: "代码块 {{index}} · {{language}}"; readonly en: "Code block {{index}} · {{language}}"; }; readonly 'copy-picker-plain': { readonly zh: "纯文本"; readonly en: "plain text"; }; readonly 'copy-no-reply': { readonly zh: "没有可复制的助手文本回复"; readonly en: "No assistant text reply is available to copy"; }; readonly 'copy-invalid-format': { readonly zh: "用法:/copy [N],N 必须是正整数"; readonly en: "Usage: /copy [N], where N is a positive integer"; }; readonly 'copy-invalid-range': { readonly zh: "找不到第 {{age}} 条最近回复(当前可选 {{count}} 条)"; readonly en: "Reply #{{age}} is unavailable ({{count}} recent replies found)"; }; readonly 'copy-success': { readonly zh: "已复制到剪贴板"; readonly en: "Copied to clipboard"; }; readonly 'copy-fallback': { readonly zh: "剪贴板不可用,已写入 {{path}}"; readonly en: "Clipboard unavailable; wrote {{path}}"; }; readonly 'copy-failed': { readonly zh: "复制失败 · {{{err}}}"; readonly en: "Copy failed · {{{err}}}"; }; readonly 'memory-picker-title': { readonly zh: "编辑 ChatCode CLI 指令文件"; readonly en: "Edit ChatCode CLI instruction file"; }; readonly 'memory-picker-existing': { readonly zh: "{{scope}} · 已存在"; readonly en: "{{scope}} · existing"; }; readonly 'memory-picker-create': { readonly zh: "{{scope}} · Enter 创建"; readonly en: "{{scope}} · Enter to create"; }; readonly 'memory-scope-user': { readonly zh: "用户级"; readonly en: "user"; }; readonly 'memory-scope-workspace': { readonly zh: "工作区"; readonly en: "workspace"; }; readonly 'memory-unavailable': { readonly zh: "无法编辑指令文件 · {{{err}}}"; readonly en: "Instruction editing unavailable · {{{err}}}"; }; readonly 'memory-editor-unavailable': { readonly zh: "未配置编辑器,请设置 $VISUAL 或 $EDITOR"; readonly en: "No editor configured; set $VISUAL or $EDITOR"; }; readonly 'memory-editor-failed': { readonly zh: "编辑器启动失败 · {{{err}}}"; readonly en: "Editor failed · {{{err}}}"; }; readonly 'memory-created': { readonly zh: "已创建并打开 {{path}}"; readonly en: "Created and opened {{path}}"; }; readonly 'memory-opened': { readonly zh: "已打开 {{path}}"; readonly en: "Opened {{path}}"; }; readonly 'diff-loading': { readonly zh: "正在读取 Git 改动"; readonly en: "Reading Git changes"; }; readonly 'diff-loading-subtitle': { readonly zh: "Esc 取消"; readonly en: "Esc to cancel"; }; readonly 'diff-failed': { readonly zh: "读取 Git 改动失败 · {{{err}}}"; readonly en: "Failed to read Git changes · {{{err}}}"; }; readonly 'diff-clean': { readonly zh: "工作区没有未提交改动。"; readonly en: "Working tree clean."; }; readonly 'diff-unavailable': { readonly zh: "不可用"; readonly en: "Unavailable"; }; readonly 'diff-status': { readonly zh: "状态"; readonly en: "Status"; }; readonly 'diff-staged': { readonly zh: "已暂存改动"; readonly en: "Staged changes"; }; readonly 'diff-unstaged': { readonly zh: "未暂存改动"; readonly en: "Unstaged changes"; }; readonly 'diff-none': { readonly zh: "(无)"; readonly en: "(none)"; }; readonly 'diff-truncated': { readonly zh: "【输出已截断】"; readonly en: "[output truncated]"; }; readonly 'stats-usage': { readonly zh: "用法:/stats [session]"; readonly en: "Usage: /stats [session]"; }; readonly 'stats-unavailable': { readonly zh: "当前组合未挂载 ChatCode CLI 会话统计投影,无法提供可靠的全会话统计。"; readonly en: "The current composition does not expose the ChatCode CLI session statistics projection; reliable whole-session statistics are unavailable."; }; readonly 'stats-turns': { readonly zh: "对话轮次"; readonly en: "Turns"; }; readonly 'stats-steps': { readonly zh: "执行步骤"; readonly en: "Steps"; }; readonly 'stats-model-time': { readonly zh: "模型耗时"; readonly en: "Model time"; }; readonly 'stats-tool-time': { readonly zh: "工具耗时"; readonly en: "Tool time"; }; readonly 'stats-average-ttft': { readonly zh: "平均首 Token 延迟"; readonly en: "Average TTFT"; }; readonly 'stats-decode': { readonly zh: "解码"; readonly en: "Decode"; }; readonly 'stats-none': { readonly zh: "无样本"; readonly en: "no samples"; }; readonly 'tag-current-none': { readonly zh: "当前会话没有标签"; readonly en: "This session has no tag"; }; readonly 'tag-current': { readonly zh: "当前标签:#{{tag}}"; readonly en: "Current tag: #{{tag}}"; }; readonly 'tag-usage': { readonly zh: "用法:/tag <名称>(重复同名可移除)| /tag --remove"; readonly en: "Usage: /tag (repeat to remove) | /tag --remove"; }; readonly 'tag-invalid': { readonly zh: "标签不能为空、不能包含控制字符,且最长 64 个字符"; readonly en: "A tag must be non-empty, contain no control characters, and be at most 64 characters"; }; readonly 'tag-save-failed': { readonly zh: "标签保存失败;原有标签未改变"; readonly en: "Failed to save the tag; the previous tag was preserved"; }; readonly 'tag-set': { readonly zh: "已为当前会话添加标签 #{{tag}}"; readonly en: "Tagged this session with #{{tag}}"; }; readonly 'tag-removed': { readonly zh: "已移除标签 #{{tag}}"; readonly en: "Removed tag #{{tag}}"; }; readonly 'tag-already-empty': { readonly zh: "当前会话没有可移除的标签"; readonly en: "This session has no tag to remove"; }; readonly 'preset-manage-current': { readonly zh: "当前"; readonly en: "current"; }; readonly 'preset-manage-default': { readonly zh: "默认"; readonly en: "default"; }; readonly 'preset-manage-user': { readonly zh: "用户"; readonly en: "user"; }; readonly 'preset-manage-system': { readonly zh: "系统"; readonly en: "system"; }; readonly 'preset-manage-broken': { readonly zh: "不可加载"; readonly en: "broken"; }; readonly 'preset-manage-usage': { readonly zh: "管理:/preset create <新ID> --from <源ID> | edit | plugins | delete [--yes]"; readonly en: "Manage: /preset create --from | edit | plugins | delete [--yes]"; }; readonly 'preset-manage-failed': { readonly zh: "预设操作失败 · {{{err}}}"; readonly en: "Preset operation failed · {{{err}}}"; }; readonly 'preset-created': { readonly zh: "已从 {{from}} 创建用户预设 {{id}};当前会话未切换"; readonly en: "Created user preset {{id}} from {{from}}; the current session was not switched"; }; readonly 'preset-delete-confirm': { readonly zh: "将删除用户预设 {{id}}。确认请执行:"; readonly en: "This will delete user preset {{id}}. Confirm by running:"; }; readonly 'preset-deleted': { readonly zh: "已删除用户预设 {{id}}"; readonly en: "Deleted user preset {{id}}"; }; readonly 'preset-edit-readonly': { readonly zh: "系统预设 {{id}} 为只读;请先用 /preset create 复制为用户预设"; readonly en: "System preset {{id}} is read-only; copy it with /preset create first"; }; readonly 'preset-editor-unavailable': { readonly zh: "未配置编辑器,请设置 $VISUAL 或 $EDITOR"; readonly en: "No editor configured; set $VISUAL or $EDITOR"; }; readonly 'preset-edited': { readonly zh: "已关闭 {{id}} 的编辑器;后续新会话将读取最新组合"; readonly en: "Closed the editor for {{id}}; future sessions will read the updated composition"; }; readonly 'preset-plugins-empty': { readonly zh: "组合文件未声明可识别的 id/name 行"; readonly en: "No recognizable id/name rows were declared by this composition"; }; readonly 'preset-plugins-truncated': { readonly zh: "…输出已截断"; readonly en: "…output truncated"; }; readonly 'picker-title-effort': { readonly zh: "推理强度"; readonly en: "Reasoning effort"; }; readonly 'model-loading': { readonly zh: "正在加载模型"; readonly en: "Loading models"; }; readonly 'model-loading-subtitle': { readonly zh: "正在查询 provider…"; readonly en: "Querying the provider…"; }; readonly 'model-switching': { readonly zh: "正在切换模型到 {{name}}…"; readonly en: "Switching model to {{name}}…"; }; readonly 'model-switch-in-progress': { readonly zh: "正在切换模型,请稍候"; readonly en: "Model switch in progress; please wait"; }; readonly 'model-default-saved-session-changed': { readonly zh: "默认模型已保存,但当前会话已变化,请重新选择模型"; readonly en: "Default saved, but the active session changed; select the model again"; }; readonly 'model-default-saved-session-record-failed': { readonly zh: "默认模型已保存,但会话选择记录失败 · {{err}}"; readonly en: "Default saved, but the session selection could not be recorded · {{err}}"; }; readonly 'model-switched': { readonly zh: "已切换至「{{name}}」"; readonly en: "Switched to “{{name}}”"; }; readonly 'rewind-title': { readonly zh: "回退"; readonly en: "Rewind"; }; readonly 'rewind-subtitle': { readonly zh: "选择一条消息,将对话回退到该处"; readonly en: "Pick a message to rewind the conversation to"; }; readonly 'rewind-confirm-title': { readonly zh: "将对话回退到这条消息?"; readonly en: "Rewind conversation to this message?"; }; readonly 'rewind-confirm-desc': { readonly zh: "对话从此处重新开始"; readonly en: "conversation restarts here"; }; readonly 'rewind-empty': { readonly zh: "没有可回退的消息"; readonly en: "No messages to rewind to"; }; readonly 'rewind-last-message': { readonly zh: "最近一条消息"; readonly en: "last message"; }; readonly 'rewind-none': { readonly zh: "还没有可回退的消息"; readonly en: "Nothing to rewind yet"; }; readonly 'rewind-done': { readonly zh: "已回退——编辑后按 Enter 重新发送"; readonly en: "Rewound — edit and press Enter to resend"; }; readonly 'rewind-mode-default': { readonly zh: "仅回退会话"; readonly en: "Conversation only"; }; readonly 'rewind-waiting-plugins': { readonly zh: "正在等待插件决定…(Esc 放弃等待)"; readonly en: "Waiting for plugins… (Esc to stop waiting)"; }; readonly 'ext-action-cancelled': { readonly zh: "操作已被插件取消"; readonly en: "Action cancelled by a plugin"; }; readonly 'ext-action-handled': { readonly zh: "输入已由插件处理"; readonly en: "Input handled by a plugin"; }; readonly 'ext-decision-pending': { readonly zh: "正在等待插件决定({{event}})…"; readonly en: "Waiting for a plugin decision ({{event}})…"; }; readonly 'ext-stale-dropped': { readonly zh: "等待插件期间会话已切换,该条输入已丢弃"; readonly en: "Session switched while a plugin decided — the input was dropped"; }; readonly 'ext-compact-stale': { readonly zh: "等待插件期间会话已切换,压缩已取消"; readonly en: "Session switched while a plugin decided — compaction abandoned"; }; readonly 'ext-shortcut-failed': { readonly zh: "插件快捷键 {{combo}} 执行失败"; readonly en: "Plugin shortcut {{combo}} failed"; }; readonly 'command-invoke-denied': { readonly zh: "命令调用已被授权文件拒绝(commands.invoke 已撤销)"; readonly en: "Command invocation denied by the grants file (commands.invoke revoked)"; }; readonly 'command-invoke-denied-owner': { readonly zh: "命令 \"/{{name}}\" 的调用已被拒绝——注册它的插件 \"{{owner}}\" 已被撤销 commands.invoke"; readonly en: "Command \"/{{name}}\" invocation denied — its owner plugin \"{{owner}}\" lost commands.invoke"; }; readonly 'plugins-trust-banner': { readonly zh: "插件与宿主同进程运行:授权是行为约束而非安全隔离;通过校验 ≠ 插件安全(C-070)。"; readonly en: "Plugins run in-process with the host: grants are behavioral constraints, not a security boundary; passing validation ≠ a safe plugin (C-070)."; }; readonly 'plugins-host-unavailable': { readonly zh: "plugin-host 行未挂载:Host Descriptor 与授权矩阵按无信息降级。"; readonly en: "plugin-host row not mounted: Host Descriptor and grant matrix degraded to no-data."; }; readonly 'plugins-contract-dropped': { readonly zh: "已剔除(vendored 哈希漂移)"; readonly en: "dropped (vendored hash drift)"; }; readonly 'plugins-matrix-note': { readonly zh: "授权矩阵(✓ 允许 / · 拒绝;仅显示有足迹的插件——授权文件、效果台账与存储目录的并集):"; readonly en: "Grant matrix (✓ allowed / · denied; plugins with footprints only — union of the grants file, effect ledger, and storage directory):"; }; readonly 'plugins-matrix-no-registry': { readonly zh: "(权限注册表不可用)"; readonly en: "(permission registry unavailable)"; }; readonly 'plugins-matrix-empty': { readonly zh: "(暂无插件足迹)"; readonly en: "(no plugin footprints yet)"; }; readonly 'plugins-footprint-overflow': { readonly zh: "…另有 {{count}} 个插件未显示"; readonly en: { readonly one: "…{{count}} more plugin not shown"; readonly other: "…{{count}} more plugins not shown"; }; }; readonly 'plugins-ledger-empty': { readonly zh: "效果台账为空。"; readonly en: "The effect ledger is empty."; }; readonly 'plugins-ledger-header': { readonly zh: "效果台账({{file}})尾 5 条:"; readonly en: "Effect ledger ({{file}}), last 5 records:"; }; readonly 'plugins-unknown-subcommand': { readonly zh: "未知子命令:{{sub}}(支持:check <路径>)"; readonly en: "Unknown subcommand: {{sub}} (supported: check )"; }; readonly 'plugins-check-usage': { readonly zh: "用法:/plugins check "; readonly en: "Usage: /plugins check "; }; readonly 'plugins-check-not-found': { readonly zh: "文件不存在:{{path}}"; readonly en: "File not found: {{path}}"; }; readonly 'plugins-check-invalid-json': { readonly zh: "不是可解析的 JSON:{{err}}"; readonly en: "Not parseable JSON: {{err}}"; }; readonly 'plugins-check-spec-unavailable': { readonly zh: "vendored 规范数据不可用(dsh-ecosystem-spec/),无法校验。"; readonly en: "Vendored spec data unavailable (dsh-ecosystem-spec/); cannot validate."; }; readonly 'plugins-check-schema-failed': { readonly zh: "schema 校验失败:{{err}}"; readonly en: "Schema validation failed: {{err}}"; }; readonly 'plugins-check-invalid': { readonly zh: "语义校验失败:{{err}}"; readonly en: "Semantic validation failed: {{err}}"; }; readonly 'plugins-check-state': { readonly zh: "协商结果:{{state}}"; readonly en: "Negotiation decision: {{state}}"; }; readonly 'plugins-grant-hint': { readonly zh: "授权方法:在 ~/.chatcode-cli/tui/extension-grants.json 的 \"grants\" 段为插件 id 添加规则(如 { \"name\": \"<权限>\", \"scope\": \"<范围>\" }),保存即生效、无需重启。"; readonly en: "To grant: add a rule for the plugin id under \"grants\" in ~/.chatcode-cli/tui/extension-grants.json (e.g. { \"name\": \"\", \"scope\": \"\" }); saved changes apply immediately, no restart."; }; readonly 'plugins-check-grant-hint': { readonly zh: "授权方法:在 ~/.chatcode-cli/tui/extension-grants.json 的 \"grants\" 段加入 \"{{id}}\": [{ \"name\": \"<权限>\", \"scope\": \"<范围>\" }];待授权权限:{{perms}}。"; readonly en: "To authorize: add \"{{id}}\": [{ \"name\": \"\", \"scope\": \"\" }] under \"grants\" in ~/.chatcode-cli/tui/extension-grants.json; pending permissions: {{perms}}."; }; readonly 'plugins-check-dropped': { readonly zh: "(宿主描述符已剔除漂移契约:{{dropped}})"; readonly en: "(host descriptor dropped drifted contracts: {{dropped}})"; }; readonly 'doctor-plugin-generation': { readonly zh: "插件运行时 generation:{{id}}"; readonly en: "Plugin runtime generation: {{id}}"; }; readonly 'doctor-plugin-registry': { readonly zh: "插件规范注册表自检:{{state}}"; readonly en: "Plugin-spec registry self-check: {{state}}"; }; readonly 'doctor-plugin-host-missing': { readonly zh: "plugin-host 行未挂载"; readonly en: "plugin-host row not mounted"; }; readonly 'ext-dialog-yes': { readonly zh: "是"; readonly en: "Yes"; }; readonly 'ext-dialog-no': { readonly zh: "否"; readonly en: "No"; }; readonly 'thinking-title': { readonly zh: "思考过程显示"; readonly en: "Thinking display"; }; readonly 'thinking-subtitle': { readonly zh: "只控制思考过程是否显示,不改变模型的思考行为。"; readonly en: "Only controls whether reasoning is shown; it does not change model behavior."; }; readonly 'thinking-enabled': { readonly zh: "显示"; readonly en: "Shown"; }; readonly 'thinking-enabled-desc': { readonly zh: "在对话中显示模型的思考过程"; readonly en: "Show the model's reasoning in the conversation"; }; readonly 'thinking-disabled': { readonly zh: "隐藏"; readonly en: "Hidden"; }; readonly 'thinking-disabled-desc': { readonly zh: "隐藏思考过程;模型仍会照常思考"; readonly en: "Hide reasoning; the model will still think as usual"; }; readonly 'thinking-label': { readonly zh: "思考"; readonly en: "Thinking"; }; readonly 'history-search-title': { readonly zh: "搜索历史"; readonly en: "Search history"; }; readonly 'history-search-placeholder': { readonly zh: "输入以搜索…"; readonly en: "Type to search…"; }; readonly 'history-search-empty': { readonly zh: "没有匹配的命令"; readonly en: "No matching commands"; }; readonly 'time-now': { readonly zh: "刚刚"; readonly en: "now"; }; readonly 'time-minutes-ago': { readonly zh: "{{n}} 分钟前"; readonly en: "{{n}}m ago"; }; readonly 'time-hours-ago': { readonly zh: "{{n}} 小时前"; readonly en: "{{n}}h ago"; }; readonly 'time-days-ago': { readonly zh: "{{n}} 天前"; readonly en: "{{n}}d ago"; }; readonly 'search-no-matches': { readonly zh: "无匹配"; readonly en: "no matches"; }; readonly 'rename-usage': { readonly zh: "用法 /rename <新名称>"; readonly en: "Usage /rename "; }; readonly 'rename-current': { readonly zh: "当前名称 {{title}}"; readonly en: "Current title {{title}}"; }; readonly 'rename-done': { readonly zh: "已重命名为「{{title}}」"; readonly en: "Renamed to \"{{title}}\""; }; readonly 'compact-summary-folded': { readonly zh: "摘要已折叠"; readonly en: "Summary folded"; }; readonly 'new-message': { readonly zh: "↓ {{n}} 条新消息"; readonly en: "↓ 1 new message"; }; readonly 'new-messages': { readonly zh: "↓ {{n}} 条新消息"; readonly en: "↓ {{n}} new messages"; }; readonly 'back-to-bottom': { readonly zh: "↓ 回到底部(Enter/End)"; readonly en: "↓ back to bottom (Enter/End)"; }; readonly 'theme-builtin-base': { readonly zh: "内置 · {{name}} 基底"; readonly en: "Built-in · {{name}} base"; }; readonly 'theme-auto-base': { readonly zh: "内置 · 跟随系统/终端背景自动选择 light/dark"; readonly en: "Built-in · follows the system/terminal background (light/dark)"; }; readonly 'theme-user-base': { readonly zh: "{{base}} 基底 · ~/.chatcode-cli/tui/themes/{{name}}.json"; readonly en: "{{base}} base · ~/.chatcode-cli/tui/themes/{{name}}.json"; }; readonly 'theme-plugin-base': { readonly zh: "插件 · {{base}} 基底 · {{name}}"; readonly en: "Plugin · {{base}} base · {{name}}"; }; readonly 'context-unavailable': { readonly zh: "当前会话没有已加载的上下文"; readonly en: "No loaded context is available for this session"; }; readonly 'files-heading': { readonly zh: "模型已加载的指令文件"; readonly en: "Instruction files loaded by the model"; }; readonly 'files-empty': { readonly zh: "当前上下文没有加载任何指令文件"; readonly en: "No instruction files are loaded in the current context"; }; readonly 'files-unavailable': { readonly zh: "当前会话的已加载上下文尚不可用"; readonly en: "Loaded context is not available for this session"; }; readonly 'hub-heading': { readonly zh: "命令中心(仅显示当前可用命令)"; readonly en: "Command hub (currently available commands only)"; }; readonly 'hub-workflows': { readonly zh: "工作流"; readonly en: "Workflows"; }; readonly 'hub-context': { readonly zh: "上下文与项目"; readonly en: "Context and project"; }; readonly 'hub-session': { readonly zh: "会话与界面"; readonly en: "Session and interface"; }; readonly 'hub-empty': { readonly zh: "此分组当前没有可用命令"; readonly en: "No commands in this group are currently available"; }; readonly 'hub-aliases': { readonly zh: "兼容入口:/home、/workbench"; readonly en: "Compatibility entries: /home, /workbench"; }; readonly 'code-ratio-period': { readonly zh: "统计周期:{{since}} 至今 · 本地 Git 非合并提交(最多 {{limit}} 条)"; readonly en: "Period: {{since}} to now · local non-merge Git commits (up to {{limit}})"; }; readonly 'code-ratio-summary': { readonly zh: "{{commits}} 次提交 · +{{added}} / -{{deleted}} · {{changed}} 行 churn"; readonly en: "{{commits}} commits · +{{added}} / -{{deleted}} · {{changed}} lines churn"; }; readonly 'code-ratio-author': { readonly zh: "{{email}} · {{commits}} 次提交 · +{{added}} / -{{deleted}} · {{ratio}}%"; readonly en: "{{email}} · {{commits}} commits · +{{added}} / -{{deleted}} · {{ratio}}%"; }; readonly 'code-ratio-other': { readonly zh: "其他 {{authors}} 位作者"; readonly en: "Other {{authors}} authors"; }; readonly 'code-ratio-binary': { readonly zh: "另有 {{count}} 条二进制文件变更未计入行数"; readonly en: "{{count}} binary-file changes are excluded from line counts"; }; readonly 'code-ratio-truncated': { readonly zh: "结果已截断为最近 {{limit}} 次提交"; readonly en: "Results are capped at the most recent {{limit}} commits"; }; readonly 'code-ratio-empty': { readonly zh: "本月没有可统计的 Git 行变更"; readonly en: "No countable Git line changes were found this month"; }; readonly 'code-ratio-unavailable': { readonly zh: "无法读取 Git 统计:{{reason}}"; readonly en: "Git statistics unavailable: {{reason}}"; }; readonly 'code-ratio-note': { readonly zh: "说明:这是本地代码增删行占比,不代表 AI 生成或采纳率,也不会上传数据。"; readonly en: "Note: this is local added/deleted-line share, not AI generation or adoption, and no data is uploaded."; }; readonly 'context-panel-sections': { readonly zh: "系统提示词 · {{n}} 段"; readonly en: "System prompt · {{n}} sections"; }; readonly 'context-panel-files': { readonly zh: "工作区指令 · {{n}} 个文件"; readonly en: "Workspace instructions · {{n}} files"; }; readonly 'context-panel-runtime': { readonly zh: "运行时上下文 · {{n}} 项"; readonly en: "Runtime context · {{n}} items"; }; readonly 'context-panel-skills': { readonly zh: "技能 · {{n}}"; readonly en: "Skills · {{n}}"; }; readonly 'context-panel-tools': { readonly zh: "工具 · {{n}}"; readonly en: "Tools · {{n}}"; }; readonly 'context-scene-title': { readonly zh: "已加载上下文"; readonly en: "Loaded context"; }; readonly 'context-scene-empty': { readonly zh: "没有可显示的上下文条目"; readonly en: "No context entries to display"; }; readonly 'context-scene-hint': { readonly zh: "Esc/q 返回会话 · ←/→ 切换分组 · ↑/↓/PgUp/PgDn 滚动 · Home/End 首尾"; readonly en: "Esc/q back to conversation · ←/→ switch group · ↑/↓/PgUp/PgDn scroll · Home/End top/bottom"; }; readonly 'question-provider-occupied': { readonly zh: "⚠️ 问卷通道已被非宿主组件 {{id}} 占用,模型提问可能被代答(本界面未接入问卷)"; readonly en: "⚠️ The questionnaire channel is held by a non-host component ({{id}}); model questions may be answered by it (this UI did not take the seat)"; }; readonly 'question-provider-occupied-unverified': { readonly zh: "⚠️ 问卷通道被一个自报为 {{id}} 的组件占用——身份未经宿主验证,模型提问可能被代答(本界面未接入问卷)"; readonly en: "⚠️ The questionnaire channel is held by a component self-reporting as {{id}} — identity not host-verified; model questions may be answered by it (this UI did not take the seat)"; }; readonly 'question-provider-occupied-unknown': { readonly zh: "身份未知"; readonly en: "identity unknown"; }; readonly 'question-select-or-answer': { readonly zh: "至少选择一个选项,或在最后一行输入回答"; readonly en: "Select at least one option, or type an answer on the last line"; }; readonly 'question-answer-or-check': { readonly zh: "输入回答或勾选选项后再提交"; readonly en: "Type an answer or check options before submitting"; }; readonly 'question-type-answer-first': { readonly zh: "先输入回答内容再提交"; readonly en: "Type your answer before submitting"; }; readonly 'question-header-progress': { readonly zh: " 📋 提问 · 第 {{position}}/{{total}} 题{{remaining}} "; readonly en: " 📋 Question {{position}}/{{total}} {{remaining}} "; }; readonly 'question-remaining-more': { readonly zh: " · 还剩 {{n}} 题"; readonly en: " · {{n}} left"; }; readonly 'question-hint-type': { readonly zh: "输入回答"; readonly en: "Type answer"; }; readonly 'question-hint-enter': { readonly zh: "Enter 提交"; readonly en: "Enter submit"; }; readonly 'question-hint-back': { readonly zh: "↑ 返回选项"; readonly en: "↑ back to options"; }; readonly 'question-hint-esc': { readonly zh: "Esc 中断"; readonly en: "Esc cancel"; }; readonly 'question-hint-previous': { readonly zh: "Esc 上一题"; readonly en: "Esc previous question"; }; readonly 'question-hint-cancel': { readonly zh: "Ctrl+C 取消整批"; readonly en: "Ctrl+C cancel batch"; }; readonly 'question-hint-selected': { readonly zh: "已选 {{n}}"; readonly en: "Selected {{n}}"; }; readonly 'question-hint-select': { readonly zh: "↑/↓ 选择"; readonly en: "↑/↓ select"; }; readonly 'question-hint-multi': { readonly zh: "Space 多选"; readonly en: "Space multi-select"; }; readonly 'question-hint-attach': { readonly zh: "输入文字附带回答"; readonly en: "Type text to attach an answer"; }; readonly 'question-custom-tab': { readonly zh: "自定义回答"; readonly en: "Custom answer"; }; readonly 'question-attached-label': { readonly zh: "(附加:{{label}})"; readonly en: "(attached: {{label}})"; }; readonly 'question-direct-input': { readonly zh: "直接输入…"; readonly en: "Type directly…"; }; readonly 'approval-waiting': { readonly zh: " ⏳ 等待审批 · {{tool}} "; readonly en: " Awaiting approval · {{tool}} "; }; readonly 'approval-external-hint': { readonly zh: "外部来源:该审批未关联当前会话的活跃工具调用,命令文本可能被伪造,请核实后再决定"; readonly en: "External origin: this approval is not tied to a live tool call of this session — the command text may be forged; verify before deciding"; }; readonly 'approval-proceed': { readonly zh: "要允许这次操作吗?"; readonly en: "Do you want to proceed?"; }; readonly 'approval-yes': { readonly zh: "允许(仅本次)"; readonly en: "Yes, allow once"; }; readonly 'approval-no': { readonly zh: "拒绝"; readonly en: "No"; }; readonly 'approval-hint': { readonly zh: "↑/↓ 选择 · Enter 确认 · Esc 拒绝"; readonly en: "↑/↓ select · Enter confirm · Esc reject"; }; readonly 'subagent-model': { readonly zh: "模型"; readonly en: "Model"; }; readonly 'subagent-duration': { readonly zh: "时长"; readonly en: "Duration"; }; readonly 'subagent-status-label': { readonly zh: "状态"; readonly en: "Status"; }; readonly 'subagent-status-cancelled': { readonly zh: "已取消"; readonly en: "Cancelled"; }; readonly 'subagent-count-running': { readonly zh: "运行中"; readonly en: "running"; }; readonly 'subagent-count-completed': { readonly zh: "已完成"; readonly en: "completed"; }; readonly 'subagent-count-failed': { readonly zh: "失败"; readonly en: "failed"; }; readonly 'subagent-started': { readonly zh: "开始时间"; readonly en: "Started"; }; readonly 'subagent-completed': { readonly zh: "完成时间"; readonly en: "Completed"; }; readonly 'subagent-error-label': { readonly zh: "错误"; readonly en: "Error"; }; readonly 'subagent-output-label': { readonly zh: "输出"; readonly en: "Output"; }; readonly 'subagent-no-output': { readonly zh: "暂无输出"; readonly en: "No output yet"; }; readonly 'subagent-dashboard-title': { readonly zh: " 子代理面板 "; readonly en: " Subagent Dashboard "; }; readonly 'subagent-dashboard-hint-basic': { readonly zh: "↑/↓ 浏览 · Esc 关闭"; readonly en: "↑/↓ browse · Esc close"; }; readonly 'subagent-dashboard-hint-detail': { readonly zh: "↑/↓ 选择 · Enter 查看详情 · Esc 关闭"; readonly en: "↑/↓ select · Enter view detail · Esc close"; }; readonly 'subagent-card-prefix': { readonly zh: "子代理:"; readonly en: "Subagent: "; }; readonly 'subagent-tab-summary': { readonly zh: "摘要"; readonly en: "Summary"; }; readonly 'subagent-no-summary': { readonly zh: "暂无摘要"; readonly en: "No summary yet"; }; readonly 'subagent-no-tools': { readonly zh: "暂无工具调用"; readonly en: "No tool calls"; }; readonly 'subagent-hint-page': { readonly zh: "切页"; readonly en: "page"; }; readonly 'subagent-hint-scroll': { readonly zh: "滚动"; readonly en: "scroll"; }; readonly 'subagent-hint-back': { readonly zh: "返回"; readonly en: "back"; }; readonly 'subagent-interrupt-requested': { readonly zh: "已请求中断,等待任务结束;Esc 可返回。"; readonly en: "Interrupt requested; waiting for the task to stop. Esc returns."; }; readonly 'subagent-interrupt-unavailable': { readonly zh: "当前子代理无法中断;Esc 可返回。"; readonly en: "This subagent cannot be interrupted. Esc returns."; }; readonly 'subagent-empty-hint': { readonly zh: "让主代理发起 Task 后,子代理会出现在这里"; readonly en: "Subagents appear here once the main agent starts Task delegations"; }; readonly 'jobs-card-prefix': { readonly zh: "任务:"; readonly en: "job: "; }; readonly 'jobs-status-running': { readonly zh: "运行中"; readonly en: "running"; }; readonly 'jobs-status-stopping': { readonly zh: "停止中"; readonly en: "stopping"; }; readonly 'jobs-status-completed': { readonly zh: "已完成"; readonly en: "completed"; }; readonly 'jobs-status-failed': { readonly zh: "失败"; readonly en: "failed"; }; readonly 'jobs-status-killed': { readonly zh: "已停止"; readonly en: "killed"; }; readonly 'jobs-panel-title': { readonly zh: " 后台任务 "; readonly en: " Background Jobs "; }; readonly 'jobs-panel-count-running': { readonly zh: "运行中"; readonly en: "running"; }; readonly 'jobs-panel-count-completed': { readonly zh: "已完成"; readonly en: "completed"; }; readonly 'jobs-panel-count-failed': { readonly zh: "失败"; readonly en: "failed"; }; readonly 'jobs-panel-empty': { readonly zh: "当前会话暂无后台任务"; readonly en: "No background jobs in the current session"; }; readonly 'jobs-panel-empty-hint': { readonly zh: "后台运行的命令(run_in_background)会出现在这里"; readonly en: "Commands the agent runs in the background appear here"; }; readonly 'jobs-panel-hint': { readonly zh: "↑/↓ 选择(聚焦行显示详情)· k 停止选中任务 · Esc 关闭"; readonly en: "↑/↓ select (focused row shows details) · k kill focused job · Esc close"; }; readonly 'jobs-panel-started': { readonly zh: "开始"; readonly en: "started"; }; readonly 'jobs-panel-finished': { readonly zh: "结束"; readonly en: "finished"; }; readonly 'jobs-panel-command': { readonly zh: "命令"; readonly en: "command"; }; readonly 'jobs-panel-output-at': { readonly zh: "输出更新于"; readonly en: "output updated"; }; readonly 'jobs-panel-no-output-yet': { readonly zh: "(暂无镜像输出——agent 读取后显示)"; readonly en: "(no mirrored output yet — appears when the agent reads it)"; }; readonly 'jobs-toast-completed': { readonly zh: "后台任务完成:{{label}}({{id}} · 用时 {{duration}})"; readonly en: "Background job completed: {{label}} ({{id}} · {{duration}})"; }; readonly 'jobs-toast-failed': { readonly zh: "后台任务失败:{{label}}({{id}} · {{detail}})"; readonly en: "Background job failed: {{label}} ({{id}} · {{detail}})"; }; readonly 'jobs-toast-killed': { readonly zh: "后台任务已停止:{{label}}({{id}} · 用时 {{duration}})"; readonly en: "Background job killed: {{label}} ({{id}} · {{duration}})"; }; readonly 'jobs-kill-failed': { readonly zh: "无法停止任务 {{id}}(任务不存在或任务服务未挂载)"; readonly en: "Could not kill job {{id}} (unknown job or jobs service not mounted)"; }; readonly 'jobs-steer-killed': { readonly zh: "我通过 /jobs 面板停止了后台任务 {{id}}({{label}})"; readonly en: "I killed background job {{id}} ({{label}}) via the /jobs panel"; }; readonly 'plan-review-fallback-header': { readonly zh: "计划评审"; readonly en: "Plan review"; }; readonly 'plan-review-feedback-placeholder': { readonly zh: "输入反馈,告诉模型要改什么…"; readonly en: "Tell the model what to change…"; }; readonly 'plan-review-approve-needs-empty': { readonly zh: "请先清空反馈再批准(或在输入行回车提交反馈)"; readonly en: "Clear the feedback to approve (or press Enter on the input row to send it)"; }; readonly 'plan-review-hint': { readonly zh: "↑/↓ 选择 · 1/2 快选 · 打字输入反馈 · Enter 提交 · Esc 打断评审"; readonly en: "↑/↓ select · 1/2 quick-pick · type feedback · Enter submit · Esc dismiss"; }; readonly 'question-form-hint': { readonly zh: "↑/↓ 选择 · Enter 编辑/执行 · Esc 返回"; readonly en: "↑/↓ select · Enter edit/run · Esc back"; }; readonly 'model-config-unavailable': { readonly zh: "/model-config 需要经 dsh profile 启动(settings / credentials / llm-pi-ai 服务未挂载)"; readonly en: "/model-config requires starting through a dsh profile (settings / credentials / llm-pi-ai services not mounted)"; }; readonly 'model-config-q-action': { readonly zh: "模型配置"; readonly en: "Model configuration"; }; readonly 'model-config-form-hint': { readonly zh: "↑/↓ 切换字段 · Enter 编辑/执行 · Esc 取消"; readonly en: "↑/↓ select field · Enter edit/run · Esc cancel"; }; readonly 'model-config-menu-hint': { readonly zh: "↑/↓ 选择 · Enter 执行 · Esc 返回模型列表"; readonly en: "↑/↓ select · Enter run · Esc back to model list"; }; readonly 'model-config-landing-footer': { readonly zh: "提供商与模型配置保存在 /cordis.patch.yml,Web 与 TUI 共用;内置与元景模型仍由平台提供。"; readonly en: "Web and TUI share providers and models in /cordis.patch.yml; built-in and Yuanjing models still come from the platform."; }; readonly 'model-config-q-provider': { readonly zh: "模型提供商"; readonly en: "Model provider"; }; readonly 'model-config-q-provider-id': { readonly zh: "新增提供商 ID"; readonly en: "New provider ID"; }; readonly 'model-config-provider-create': { readonly zh: "新增提供商"; readonly en: "Create provider"; }; readonly 'model-config-provider-id-hint': { readonly zh: "选择目录提供商,或输入以小写字母开头的 ID;仅允许小写字母、数字和连字符。已有提供商请返回选择,不要重复创建。"; readonly en: "Choose a catalog provider or enter an ID starting with a lowercase letter, using lowercase letters, digits, and dashes. Select an existing provider instead of creating it again."; }; readonly 'model-config-invalid-provider': { readonly zh: "请选择提供商,或输入有效的提供商 ID"; readonly en: "Select a provider or enter a valid provider ID"; }; readonly 'model-config-provider-exists': { readonly zh: "提供商 {{provider}} 已存在,请选择已有提供商或编辑其配置"; readonly en: "Provider {{provider}} already exists; select it or edit its configuration"; }; readonly 'model-config-provider-id-taken': { readonly zh: "已有提供商使用了这个 ID:{{provider}}。请使用其他 ID,或按 Esc 返回选择已有提供商。"; readonly en: "An existing provider already uses this ID: {{provider}}. Use another ID, or press Esc to select the existing provider."; }; readonly 'model-config-provider-missing': { readonly zh: "提供商 {{provider}} 已不存在,请重新选择"; readonly en: "Provider {{provider}} no longer exists; select a provider again"; }; readonly 'model-config-model-exists': { readonly zh: "提供商 {{provider}} 已有模型 ID {{model}} 的配置,请编辑已有模型"; readonly en: "Provider {{provider}} already has model ID {{model}}; edit the existing model"; }; readonly 'model-config-provider-fixed': { readonly zh: "现有模型的提供商 ID 不可修改;请在目标提供商下添加模型"; readonly en: "An existing model cannot change its provider ID; add the model under the target provider"; }; readonly 'model-config-catalog-unavailable': { readonly zh: "无法读取提供商 {{provider}} 的模型目录,请稍后重试"; readonly en: "Cannot read the model catalog for provider {{provider}}; try again later"; }; readonly 'model-config-catalog-test-save': { readonly zh: "目录提供商请先保存配置,再从模型列表测试"; readonly en: "Save the catalog provider configuration before testing from the model list"; }; readonly 'model-config-delete-last-provider': { readonly zh: "这是该提供商的最后一个模型,删除后也会移除提供商配置,但保留凭据"; readonly en: "This is the provider’s last model; deletion also removes its configuration but retains credentials"; }; readonly 'model-config-maas-row': { readonly zh: "启用元景模型"; readonly en: "Enable Yuanjing models"; }; readonly 'model-config-state-on': { readonly zh: "开"; readonly en: "On"; }; readonly 'model-config-state-off': { readonly zh: "关"; readonly en: "Off"; }; readonly 'model-config-state-unavailable': { readonly zh: "不可用"; readonly en: "Unavailable"; }; readonly 'model-config-add-title': { readonly zh: "添加自定义模型"; readonly en: "Add custom model"; }; readonly 'model-config-edit-title': { readonly zh: "编辑模型配置"; readonly en: "Edit model configuration"; }; readonly 'model-config-add-footer': { readonly zh: "选择请求使用的兼容协议。完成后可先测试连接,再保存配置。"; readonly en: "Choose the compatible wire protocol. You can test the connection before saving."; }; readonly 'model-config-edit-footer': { readonly zh: "当前值直接回显;选中字段后按 Enter 编辑,选择操作行后按 Enter 执行。"; readonly en: "Current values are shown inline; select a field and press Enter to edit, or select an action and press Enter to run it."; }; readonly 'model-config-value-unset': { readonly zh: "未设置"; readonly en: "Not set"; }; readonly 'model-config-value-optional': { readonly zh: "未填写(可选)"; readonly en: "Not set (optional)"; }; readonly 'model-config-edit-field': { readonly zh: "编辑{{field}}"; readonly en: "Edit {{field}}"; }; readonly 'model-config-current-value-short': { readonly zh: "当前值:{{value}}。可直接输入新值。"; readonly en: "Current: {{value}}. Type a new value directly."; }; readonly 'model-config-opt-key-unset': { readonly zh: "保持未配置"; readonly en: "Keep unconfigured"; }; readonly 'model-config-opt-add': { readonly zh: "手动添加自定义模型"; readonly en: "Manually add a custom model"; }; readonly 'model-config-enter-add': { readonly zh: "Enter 添加"; readonly en: "Enter to add"; }; readonly 'model-config-maas-unavailable': { readonly zh: "元景模型服务不可用"; readonly en: "Yuanjing model service is unavailable"; }; readonly 'model-config-current-tag': { readonly zh: "[当前]"; readonly en: "[current]"; }; readonly 'model-config-builtin-provider-label': { readonly zh: "内置模型"; readonly en: "Built-in model"; }; readonly 'model-config-maas-provider-label': { readonly zh: "元景"; readonly en: "Yuanjing"; }; readonly 'model-config-custom-provider-label': { readonly zh: "自定义模型"; readonly en: "Custom model"; }; readonly 'model-config-maas-models-failed': { readonly zh: "元景模型列表加载失败 · {{{err}}}"; readonly en: "Failed to load Yuanjing models · {{{err}}}"; }; readonly 'model-config-maas-enabled': { readonly zh: "已开启元景,WEB 与 TUI 将同步使用该设置"; readonly en: "Yuanjing enabled; Web and TUI now share this setting"; }; readonly 'model-config-maas-disabled': { readonly zh: "已关闭元景,WEB 与 TUI 将同步使用该设置"; readonly en: "Yuanjing disabled; Web and TUI now share this setting"; }; readonly 'model-config-q-protocol': { readonly zh: "API 协议"; readonly en: "API protocol"; }; readonly 'model-config-q-model': { readonly zh: "模型 ID"; readonly en: "Model ID"; }; readonly 'model-config-q-baseurl': { readonly zh: "Base URL"; readonly en: "Base URL"; }; readonly 'model-config-q-apikey': { readonly zh: "API Key"; readonly en: "API Key"; }; readonly 'model-config-q-apikey-detail': { readonly zh: "输入内容会隐藏;密钥由凭据服务保存到 /.credentials.yaml,CLI 与 Web 共用同一引用"; readonly en: "Input is masked; the credential service stores the key in /.credentials.yaml. CLI and Web share the same reference."; }; readonly 'model-config-q-description': { readonly zh: "模型显示名称"; readonly en: "Model display name"; }; readonly 'model-config-q-max-tokens': { readonly zh: "最大输出 token"; readonly en: "Maximum output tokens"; }; readonly 'model-config-q-context-window': { readonly zh: "上下文窗口"; readonly en: "Context window"; }; readonly 'model-config-opt-confirm-save': { readonly zh: "保存配置"; readonly en: "Save configuration"; }; readonly 'model-config-opt-cancel': { readonly zh: "取消"; readonly en: "Cancel"; }; readonly 'model-config-add-success': { readonly zh: "自定义模型 {{model}} 已添加"; readonly en: "Custom model {{model}} added"; }; readonly 'model-config-opt-set-current': { readonly zh: "设为当前模型"; readonly en: "Set as current model"; }; readonly 'model-config-opt-edit': { readonly zh: "编辑配置"; readonly en: "Edit configuration"; }; readonly 'model-config-opt-test-model': { readonly zh: "测试模型"; readonly en: "Test model"; }; readonly 'model-config-opt-back-list': { readonly zh: "返回模型列表"; readonly en: "Back to model list"; }; readonly 'model-config-opt-test': { readonly zh: "测试连接"; readonly en: "Test connection"; }; readonly 'model-config-opt-delete': { readonly zh: "删除配置"; readonly en: "Delete configuration"; }; readonly 'model-config-already-current': { readonly zh: "该模型已经是当前模型"; readonly en: "This is already the current model"; }; readonly 'model-config-current-rename-blocked': { readonly zh: "不能修改当前模型的 ID:请先将其他模型设为当前模型"; readonly en: "Cannot rename the current model ID; set another model as current first"; }; readonly 'model-config-current-delete-blocked': { readonly zh: "当前模型正在使用,不可删除;请先切换到其他模型"; readonly en: "The current model is in use and cannot be deleted; switch to another model first."; }; readonly 'model-config-opt-keep': { readonly zh: "保持当前值"; readonly en: "Keep current value"; }; readonly 'model-config-opt-clear': { readonly zh: "清空"; readonly en: "Clear"; }; readonly 'model-config-value-none': { readonly zh: "未设置"; readonly en: "not set"; }; readonly 'model-config-value-default': { readonly zh: "使用默认值"; readonly en: "use default"; }; readonly 'model-config-opt-key-keep': { readonly zh: "保持现有密钥"; readonly en: "Keep existing key"; }; readonly 'model-config-key-configured': { readonly zh: "已配置"; readonly en: "configured"; }; readonly 'model-config-key-configured-form': { readonly zh: "已配置(留空保留)"; readonly en: "configured (leave blank to keep)"; }; readonly 'model-config-key-not-configured': { readonly zh: "未配置"; readonly en: "not configured"; }; readonly 'model-config-edit-success': { readonly zh: "模型 {{model}} 配置已更新"; readonly en: "Model {{model}} configuration updated"; }; readonly 'model-config-shared-provider-warning': { readonly zh: "此供应商包含多个模型,修改协议、Base URL 或密钥会影响该供应商下的全部模型"; readonly en: "This provider has multiple models. Protocol, Base URL, and key changes affect all of them."; }; readonly 'model-config-test-running': { readonly zh: "正在测试 {{model}} 的连接…"; readonly en: "Testing the connection for {{model}}…"; }; readonly 'model-config-test-prompt': { readonly zh: "这是一条连接测试消息。请用一句简短的话回复,表示你已成功收到消息。"; readonly en: "This is a connection test. Reply briefly to confirm that you received this message."; }; readonly 'model-config-test-result-title': { readonly zh: "模型测试:{{model}}"; readonly en: "Model test: {{model}}"; }; readonly 'model-config-test-response': { readonly zh: "模型回复:{{{response}}}"; readonly en: "Model response: {{{response}}"; }; readonly 'model-config-test-message-success': { readonly zh: "模型 {{model}} 测试成功"; readonly en: "Model {{model}} responded successfully"; }; readonly 'model-config-test-message-failed': { readonly zh: "模型测试失败 · {{{err}}}"; readonly en: "Model test failed · {{{err}}}"; }; readonly 'model-config-test-empty-response': { readonly zh: "模型没有返回可见文本"; readonly en: "The model returned no visible text"; }; readonly 'model-config-test-timeout': { readonly zh: "模型请求超时(30 秒)"; readonly en: "Model request timed out (30 seconds)"; }; readonly 'model-config-q-delete': { readonly zh: "确认删除模型 {{model}}?"; readonly en: "Delete model {{model}}?"; }; readonly 'model-config-opt-delete-confirm': { readonly zh: "删除模型配置"; readonly en: "Delete model configuration"; }; readonly 'model-config-delete-success': { readonly zh: "模型 {{model}} 已删除"; readonly en: "Model {{model}} deleted"; }; readonly 'model-config-line-provider': { readonly zh: "供应商:{{provider}}(路由 {{route}})"; readonly en: "Provider: {{provider}} (route {{route}})"; }; readonly 'model-config-line-model': { readonly zh: "模型:{{model}}"; readonly en: "Model: {{model}}"; }; readonly 'model-config-line-protocol': { readonly zh: "协议:{{api}}"; readonly en: "Protocol: {{api}}"; }; readonly 'model-config-line-baseurl': { readonly zh: "Base URL:{{url}}"; readonly en: "Base URL: {{url}}"; }; readonly 'model-config-line-key': { readonly zh: "API Key:{{state}}"; readonly en: "API Key: {{state}}"; }; readonly 'model-config-line-description': { readonly zh: "模型显示名称:{{description}}"; readonly en: "Model display name: {{description}}"; }; readonly 'model-config-line-max-tokens': { readonly zh: "最大输出 token:{{value}}"; readonly en: "Maximum output tokens: {{value}}"; }; readonly 'model-config-line-context-window': { readonly zh: "上下文窗口:{{value}}"; readonly en: "Context window: {{value}}"; }; readonly 'model-config-detail-protocol': { readonly zh: "协议:{{api}}"; readonly en: "Protocol: {{api}}"; }; readonly 'model-config-detail-baseurl': { readonly zh: "Base URL:{{url}}"; readonly en: "Base URL: {{url}}"; }; readonly 'model-config-detail-key': { readonly zh: "API Key:{{state}}"; readonly en: "API Key: {{state}}"; }; readonly 'model-config-detail-max-tokens': { readonly zh: "最大输出:{{value}}"; readonly en: "Maximum output: {{value}}"; }; readonly 'model-config-detail-context-window': { readonly zh: "上下文窗口:{{value}}"; readonly en: "Context window: {{value}}"; }; readonly 'model-config-line-deleted': { readonly zh: "已删除 {{route}}/{{model}}"; readonly en: "Deleted {{route}}/{{model}}"; }; readonly 'model-config-invalid-protocol': { readonly zh: "请选择有效的 API 协议"; readonly en: "Choose a valid API protocol"; }; readonly 'model-config-invalid-model': { readonly zh: "模型名称 / ID 不能为空"; readonly en: "Model name / ID cannot be empty"; }; readonly 'model-config-invalid-baseurl': { readonly zh: "Base URL 必须是不含凭据、查询参数或锚点的 HTTP(S) 地址"; readonly en: "Base URL must be an HTTP(S) URL without credentials, query, or fragment"; }; readonly 'model-config-invalid-apikey': { readonly zh: "API Key 不能为空,且只能包含可打印的非空格 ASCII 字符"; readonly en: "API Key must be non-empty printable ASCII without spaces"; }; readonly 'model-config-invalid-max-tokens': { readonly zh: "最大输出 token 必须是正整数"; readonly en: "Maximum output tokens must be a positive integer"; }; readonly 'model-config-invalid-context-window': { readonly zh: "上下文窗口必须是正整数"; readonly en: "Context window must be a positive integer"; }; readonly 'model-config-invalid-capacity-order': { readonly zh: "最大输出 token 不能大于上下文窗口"; readonly en: "Maximum output tokens cannot exceed the context window"; }; readonly 'model-config-failed': { readonly zh: "模型配置失败 · {{{err}}}"; readonly en: "Model configuration failed · {{{err}}}"; }; readonly 'provider-unavailable': { readonly zh: "/provider 需要经 dsh profile 启动(settings / credentials / llm-pi-ai 服务未挂载)"; readonly en: "/provider requires starting through a dsh profile (settings / credentials / llm-pi-ai services not mounted)"; }; readonly 'provider-q-mode': { readonly zh: "要添加哪种模型提供方?"; readonly en: "Which kind of model provider do you want to add?"; }; readonly 'provider-opt-catalog': { readonly zh: "内置 provider"; readonly en: "Built-in provider"; }; readonly 'provider-opt-catalog-desc': { readonly zh: "openai、anthropic、deepseek 等内置目录,自动继承端点与协议"; readonly en: "Built-in catalog such as openai, anthropic, deepseek — endpoint and protocol inherited"; }; readonly 'provider-opt-custom': { readonly zh: "自定义 API 端点"; readonly en: "Custom API endpoint"; }; readonly 'provider-opt-custom-desc': { readonly zh: "OpenAI / Anthropic 兼容的网关或自建服务"; readonly en: "An OpenAI/Anthropic-compatible gateway or self-hosted server"; }; readonly 'provider-q-catalog': { readonly zh: "选择 provider"; readonly en: "Choose a provider"; }; readonly 'provider-opt-other-route': { readonly zh: "其他(手动输入路由名)"; readonly en: "Other (enter a route name)"; }; readonly 'provider-opt-other-route-desc': { readonly zh: "目录里没列出的 catalog 路由"; readonly en: "A catalog route not listed above"; }; readonly 'provider-q-route-id': { readonly zh: "输入路由名"; readonly en: "Enter a route name"; }; readonly 'provider-q-route-id-detail': { readonly zh: "小写字母开头,可含数字与连字符,如 my-gateway"; readonly en: "Lowercase letter first, digits and dashes allowed, e.g. my-gateway"; }; readonly 'provider-route-id-invalid': { readonly zh: "路由名不合法:须以小写字母开头,仅含小写字母 / 数字 / 连字符"; readonly en: "Invalid route name: must start with a lowercase letter, only lowercase letters / digits / dashes"; }; readonly 'provider-q-apikey': { readonly zh: "输入 API key"; readonly en: "Enter the API key"; }; readonly 'provider-q-apikey-detail': { readonly zh: "密钥将写入 ~/.chatcode-cli/.credentials.yaml(权限 0600),不会出现在会话记录中"; readonly en: "The key is stored in ~/.chatcode-cli/.credentials.yaml (mode 0600) and never shown in the transcript"; }; readonly 'provider-q-baseurl-choice': { readonly zh: "是否覆盖默认 API 端点(baseURL)?"; readonly en: "Override the default API endpoint (baseURL)?"; }; readonly 'provider-opt-baseurl-skip': { readonly zh: "跳过,使用默认端点"; readonly en: "Skip — use the default endpoint"; }; readonly 'provider-opt-baseurl-input': { readonly zh: "现在输入 baseURL"; readonly en: "Enter a baseURL now"; }; readonly 'provider-q-baseurl': { readonly zh: "输入 baseURL"; readonly en: "Enter the baseURL"; }; readonly 'provider-q-protocol': { readonly zh: "选择 API 协议"; readonly en: "Choose the wire protocol"; }; readonly 'provider-protocol-completions-desc': { readonly zh: "OpenAI Chat Completions 兼容(大多数网关)"; readonly en: "OpenAI Chat Completions compatible (most gateways)"; }; readonly 'provider-protocol-responses-desc': { readonly zh: "OpenAI Responses API"; readonly en: "OpenAI Responses API"; }; readonly 'provider-protocol-anthropic-desc': { readonly zh: "Anthropic Messages API"; readonly en: "Anthropic Messages API"; }; readonly 'provider-discovery-running': { readonly zh: "正在探测该端点公布的模型…"; readonly en: "Discovering the models this endpoint advertises…"; }; readonly 'provider-discovery-failed': { readonly zh: "模型探测失败,改为手动输入模型 id"; readonly en: "Model discovery failed — enter model ids manually instead"; }; readonly 'provider-q-models': { readonly zh: "选择要启用的模型(可在输入行逗号分隔补充)"; readonly en: "Select the models to enable (add more comma-separated on the input row)"; }; readonly 'provider-q-models-fallback': { readonly zh: "输入模型 id(逗号分隔)"; readonly en: "Enter model ids (comma-separated)"; }; readonly 'provider-models-required': { readonly zh: "自定义端点至少需要一个模型 id"; readonly en: "A custom endpoint needs at least one model id"; }; readonly 'provider-q-confirm': { readonly zh: "确认写入该 provider 配置?"; readonly en: "Write this provider configuration?"; }; readonly 'provider-route-exists-warning': { readonly zh: "⚠ 该路由已有配置,写入将覆盖现有设置"; readonly en: "⚠ This route is already configured — writing overwrites it"; }; readonly 'provider-opt-confirm-write': { readonly zh: "写入并启用"; readonly en: "Write and enable"; }; readonly 'provider-opt-confirm-cancel': { readonly zh: "取消"; readonly en: "Cancel"; }; readonly 'provider-line-route': { readonly zh: "路由:{{route}}"; readonly en: "Route: {{route}}"; }; readonly 'provider-line-keyref': { readonly zh: "密钥引用:{{ref}}(已写入 ~/.chatcode-cli/.credentials.yaml)"; readonly en: "Key ref: {{ref}} (stored in ~/.chatcode-cli/.credentials.yaml)"; }; readonly 'provider-line-keyref-env': { readonly zh: "密钥引用:{{ref}}(进程环境已提供同名变量,跳过写入)"; readonly en: "Key ref: {{ref}} (already in the process environment, write skipped)"; }; readonly 'provider-line-baseurl': { readonly zh: "baseURL:{{url}}"; readonly en: "baseURL: {{url}}"; }; readonly 'provider-line-protocol': { readonly zh: "协议:{{api}}"; readonly en: "Protocol: {{api}}"; }; readonly 'provider-line-models': { readonly zh: "模型:{{models}}"; readonly en: "Models: {{models}}"; }; readonly 'provider-line-models-catalog': { readonly zh: "模型:整个 catalog(未收窄)"; readonly en: "Models: the whole catalog (not narrowed)"; }; readonly 'provider-rollback-ok': { readonly zh: "已回滚刚写入的密钥"; readonly en: "Rolled back the just-written key"; }; readonly 'provider-rollback-failed': { readonly zh: "密钥回滚失败,请手动检查 ~/.chatcode-cli/.credentials.yaml"; readonly en: "Key rollback failed — check ~/.chatcode-cli/.credentials.yaml manually"; }; readonly 'provider-write-failed': { readonly zh: "provider 配置写入失败 · {{{err}}}"; readonly en: "Failed to write the provider configuration · {{{err}}}"; }; readonly 'provider-cancelled': { readonly zh: "已取消添加 provider"; readonly en: "Provider setup cancelled"; }; readonly 'provider-success': { readonly zh: "provider {{route}} 已添加"; readonly en: "Provider {{route}} added"; }; readonly 'provider-switch-hint': { readonly zh: "运行 /model 可切换到新 provider 的模型"; readonly en: "Run /model to switch to the new provider’s models"; }; readonly 'provider-q-switch': { readonly zh: "立即切换到新 provider?"; readonly en: "Switch to the new provider now?"; }; readonly 'provider-opt-switch-now': { readonly zh: "切换到 {{model}}"; readonly en: "Switch to {{model}}"; }; readonly 'provider-opt-switch-keep': { readonly zh: "保持当前模型"; readonly en: "Keep the current model"; }; readonly 'provider-opt-oauth': { readonly zh: "订阅账号登录(OAuth)"; readonly en: "Subscription sign-in (OAuth)"; }; readonly 'provider-opt-oauth-desc': { readonly zh: "用 ChatGPT / Claude / Grok 等官方订阅账号登录,无需 API key"; readonly en: "Sign in with an official subscription (ChatGPT / Claude / Grok) — no API key"; }; readonly 'provider-q-oauth': { readonly zh: "登录哪个订阅账号?"; readonly en: "Sign in to which subscription?"; }; readonly 'provider-oauth-state-in': { readonly zh: "已登录 · 令牌到期 {{time}}"; readonly en: "Signed in · token expires {{time}}"; }; readonly 'provider-oauth-state-expired': { readonly zh: "已登录但令牌已过期,重新登录即可恢复"; readonly en: "Signed in but the token expired — sign in again to restore"; }; readonly 'provider-q-oauth-signed': { readonly zh: "{{provider}} 已登录,接下来?"; readonly en: "{{provider}} is signed in — what next?"; }; readonly 'provider-opt-oauth-relogin': { readonly zh: "重新登录"; readonly en: "Sign in again"; }; readonly 'provider-opt-oauth-relogin-desc': { readonly zh: "更换账号或刷新已有凭据"; readonly en: "Switch accounts or refresh the stored credential"; }; readonly 'provider-opt-oauth-logout': { readonly zh: "登出"; readonly en: "Sign out"; }; readonly 'provider-opt-oauth-logout-desc': { readonly zh: "删除本地保存的 OAuth 凭据"; readonly en: "Remove the locally stored OAuth credential"; }; readonly 'provider-oauth-none': { readonly zh: "没有可 OAuth 登录的 provider(检查 dsh-auth 插件是否挂载)"; readonly en: "No OAuth-capable providers (check whether the dsh-auth plugin is mounted)"; }; readonly 'provider-oauth-login-ok': { readonly zh: "{{provider}} 登录成功"; readonly en: "Signed in to {{provider}}"; }; readonly 'provider-oauth-login-failed': { readonly zh: "OAuth 登录失败 · {{{err}}}"; readonly en: "OAuth sign-in failed · {{{err}}}"; }; readonly 'provider-oauth-logout-ok': { readonly zh: "{{provider}} 已登出"; readonly en: "Signed out of {{provider}}"; }; readonly 'provider-line-oauth-provider': { readonly zh: "路由:{{provider}}"; readonly en: "Route: {{provider}}"; }; readonly 'provider-line-oauth-flow': { readonly zh: "登录方式:{{flow}}"; readonly en: "Sign-in: {{flow}}"; }; readonly 'provider-line-oauth-expires': { readonly zh: "令牌到期:{{time}}"; readonly en: "Token expires: {{time}}"; }; readonly 'provider-line-oauth-out': { readonly zh: "已登出,本地 OAuth 凭据已删除"; readonly en: "Signed out — the stored OAuth credential was removed"; }; readonly 'provider-q-action': { readonly zh: "要做什么?"; readonly en: "What do you want to do?"; }; readonly 'provider-opt-action-add': { readonly zh: "添加新 provider"; readonly en: "Add a new provider"; }; readonly 'provider-opt-action-add-desc': { readonly zh: "内置目录或自定义 API 端点"; readonly en: "Built-in catalog or a custom API endpoint"; }; readonly 'provider-opt-action-edit': { readonly zh: "编辑已有 provider"; readonly en: "Edit an existing provider"; }; readonly 'provider-opt-action-edit-desc': { readonly zh: "修改密钥、端点、协议、模型,或删除该 provider"; readonly en: "Change the key, endpoint, protocol, or models — or delete the provider"; }; readonly 'provider-q-edit': { readonly zh: "选择要编辑的 provider"; readonly en: "Choose a provider to edit"; }; readonly 'provider-none-configured': { readonly zh: "没有已配置的 provider,先用「添加新 provider」创建"; readonly en: "No configured providers — create one with “Add a new provider” first"; }; readonly 'provider-row-models': { readonly zh: "{{n}} 个模型"; readonly en: "{{n}} models"; }; readonly 'provider-row-catalog': { readonly zh: "整个 catalog"; readonly en: "whole catalog"; }; readonly 'provider-row-key-shadowed': { readonly zh: "密钥来自环境变量"; readonly en: "key from the environment"; }; readonly 'provider-q-edit-menu': { readonly zh: "{{route}} 要编辑哪一项?"; readonly en: "What would you like to change for {{route}}?"; }; readonly 'provider-opt-edit-key': { readonly zh: "编辑 API Key"; readonly en: "Edit API Key"; }; readonly 'provider-opt-edit-baseurl': { readonly zh: "编辑 Base URL"; readonly en: "Edit Base URL"; }; readonly 'provider-opt-edit-protocol': { readonly zh: "编辑 wire protocol"; readonly en: "Edit wire protocol"; }; readonly 'provider-opt-edit-models': { readonly zh: "编辑模型列表"; readonly en: "Edit model list"; }; readonly 'provider-opt-edit-delete': { readonly zh: "删除该 provider"; readonly en: "Delete this provider"; }; readonly 'provider-opt-edit-delete-desc': { readonly zh: "移除配置与 API key"; readonly en: "Remove the configuration and the API key"; }; readonly 'provider-key-env-not-editable': { readonly zh: "{{route}} 的 API key 来自环境变量({{ref}}),无法在此修改"; readonly en: "{{route}}’s API key comes from the environment ({{ref}}) and cannot be edited here"; }; readonly 'provider-key-no-ref': { readonly zh: "{{route}} 未配置密钥引用(没有可持久化的 API key),无法在此修改"; readonly en: "{{route}} has no credential ref (no persisted API key) and cannot be edited here"; }; readonly 'provider-line-key-none': { readonly zh: "密钥:未配置(无密钥引用,环境提供时按需读取)"; readonly en: "Key: none configured (no credential ref; resolved from environment when present)"; }; readonly 'provider-key-empty': { readonly zh: "API key 不能为空,未作修改"; readonly en: "API key cannot be empty — no change made"; }; readonly 'provider-q-key-overwrite-confirm': { readonly zh: "密钥 {{ref}} 被多个 provider 共用,确认覆盖?"; readonly en: "Key ref {{ref}} is shared by several providers — overwrite it?"; }; readonly 'provider-opt-key-overwrite-yes': { readonly zh: "覆盖共用密钥"; readonly en: "Overwrite the shared key"; }; readonly 'provider-key-overwrite-warning': { readonly zh: "⚠ 该密钥还被 {{routes}} 使用,写入新 key 会同时替换它们的凭据"; readonly en: "⚠ This key is also used by {{routes}}; writing a new one rotates the credential for all of them"; }; readonly 'provider-row-model-missing': { readonly zh: "本次未发现(保留现有配置)"; readonly en: "not found in this discovery (kept as configured)"; }; readonly 'provider-edit-no-changes': { readonly zh: "没有做任何修改"; readonly en: "No changes made"; }; readonly 'provider-line-key-kept': { readonly zh: "密钥:保持不变({{ref}})"; readonly en: "Key: unchanged ({{ref}})"; }; readonly 'provider-line-key-updated': { readonly zh: "密钥引用:{{ref}}(已更新)"; readonly en: "Key ref: {{ref}} (updated)"; }; readonly 'provider-edit-current': { readonly zh: "当前值:{{value}}"; readonly en: "Current: {{value}}"; }; readonly 'provider-edit-success': { readonly zh: "provider {{route}} 已更新"; readonly en: "Provider {{route}} updated"; }; readonly 'provider-edit-cancelled': { readonly zh: "已取消编辑 provider"; readonly en: "Provider edit cancelled"; }; readonly 'provider-q-delete-confirm': { readonly zh: "确认删除 provider {{route}}?"; readonly en: "Delete provider {{route}}?"; }; readonly 'provider-opt-delete-yes': { readonly zh: "删除配置和密钥"; readonly en: "Delete config and key"; }; readonly 'provider-delete-cancelled': { readonly zh: "已取消删除 provider"; readonly en: "Provider deletion cancelled"; }; readonly 'provider-delete-success': { readonly zh: "provider {{route}} 已删除"; readonly en: "Provider {{route}} deleted"; }; readonly 'provider-delete-failed': { readonly zh: "删除失败 · {{{err}}}"; readonly en: "Failed to delete · {{{err}}}"; }; readonly 'provider-line-deleted-key': { readonly zh: "已删除密钥引用 {{ref}}"; readonly en: "Removed key ref {{ref}}"; }; readonly 'provider-line-deleted-key-shadowed': { readonly zh: "密钥引用 {{ref}} 来自环境变量,未删除"; readonly en: "Key ref {{ref}} comes from the environment; not removed"; }; readonly 'provider-delete-shared-warning': { readonly zh: "⚠ 密钥 {{ref}} 与 {{routes}} 共用,删除本 provider 不会移除该密钥"; readonly en: "⚠ Key ref {{ref}} is shared with {{routes}}; deleting this provider keeps the key"; }; readonly 'provider-line-deleted-key-shared': { readonly zh: "密钥引用 {{ref}} 仍被 {{routes}} 使用,未删除"; readonly en: "Key ref {{ref}} is still used by {{routes}}; not removed"; }; readonly 'provider-line-deleted-key-reserved': { readonly zh: "密钥引用 {{ref}} 属于宿主保留命名空间,未删除"; readonly en: "Key ref {{ref}} is in the host-reserved credential namespace; not removed"; }; readonly 'provider-unknown-ref-users': { readonly zh: "(引用查询不可用)"; readonly en: "(ref query unavailable)"; }; readonly 'provider-line-deleted-key-cleanup-failed': { readonly zh: "密钥引用 {{ref}} 清理失败,请手动检查 ~/.chatcode-cli/.credentials.yaml"; readonly en: "Failed to remove key ref {{ref}} — check ~/.chatcode-cli/.credentials.yaml manually"; }; readonly 'provider-delete-key-cleanup-failed': { readonly zh: "provider {{route}} 已删除,但密钥 {{ref}} 清理失败,请手动处理"; readonly en: "Provider {{route}} deleted, but removing key {{ref}} failed — clean it up manually"; }; readonly 'cmd-desc-clear': { readonly zh: "新开会话"; }; readonly 'cmd-desc-clean': { readonly zh: "清空当前会话视图"; }; readonly 'cmd-desc-compact': { readonly zh: "压缩会话历史"; }; readonly 'cmd-desc-resume': { readonly zh: "恢复历史会话"; }; readonly 'cmd-desc-agentview': { readonly zh: "打开会话总览(Agent View)"; }; readonly 'cmd-desc-bg': { readonly zh: "当前会话转入后台并打开总览"; }; readonly 'cmd-desc-background': { readonly zh: "当前会话转入后台并打开总览"; }; readonly 'cmd-desc-rename': { readonly zh: "重命名当前会话"; }; readonly 'cmd-desc-recap': { readonly zh: "生成最近会话活动摘要(可应用建议标题)"; }; readonly 'cmd-desc-quit': { readonly zh: "退出 ChatCode CLI TUI"; }; readonly 'cmd-desc-q': { readonly zh: "退出 ChatCode CLI TUI"; }; readonly 'cmd-desc-rewind': { readonly zh: "回退会话到历史消息"; }; readonly 'cmd-desc-tree': { readonly zh: "浏览会话分叉树(回退/分叉/切分支)"; }; readonly 'cmd-desc-fork': { readonly zh: "把当前会话分叉为可恢复副本"; }; readonly 'cmd-desc-branch': { readonly zh: "分叉当前会话,并可指定副本标题"; }; readonly 'cmd-desc-export': { readonly zh: "导出可重新导入的 JSONL 会话(或 Markdown)"; }; readonly 'cmd-desc-copy': { readonly zh: "复制最近的助手回复或其中的代码块"; }; readonly 'cmd-desc-context': { readonly zh: "查看已加载的上下文明细"; }; readonly 'cmd-desc-files': { readonly zh: "列出已加载到会话上下文的指令文件"; }; readonly 'cmd-desc-diff': { readonly zh: "查看 Git 状态、暂存和未暂存改动"; }; readonly 'cmd-desc-memory': { readonly zh: "在编辑器中打开 ChatCode CLI 指令文件"; }; readonly 'cmd-desc-stats': { readonly zh: "查看全会话执行统计"; }; readonly 'cmd-desc-tag': { readonly zh: "查看或切换当前会话标签"; }; readonly 'cmd-desc-inspect': { readonly zh: "只读检查工作区架构、约定与风险"; }; readonly 'cmd-desc-map': { readonly zh: "只读检查工作区架构、约定与风险"; }; readonly 'cmd-desc-repair': { readonly zh: "定位根因、实施最小修复并验证"; }; readonly 'cmd-desc-fixit': { readonly zh: "定位根因、实施最小修复并验证"; }; readonly 'cmd-desc-ship': { readonly zh: "生成经验证的只读实现交接报告"; }; readonly 'cmd-desc-handoff': { readonly zh: "生成经验证的只读实现交接报告"; }; readonly 'cmd-desc-review': { readonly zh: "审查当前改动或 Pull Request 的可操作问题"; }; readonly 'cmd-desc-security-review': { readonly zh: "审查改动中有证据支撑的安全漏洞"; }; readonly 'cmd-desc-pr-comments': { readonly zh: "读取并整理已有 Pull Request 反馈"; }; readonly 'cmd-desc-status': { readonly zh: "查看会话状态"; }; readonly 'cmd-desc-version': { readonly zh: "查看 ChatCode CLI 与 TUI 插件版本"; }; readonly 'cmd-desc-cost': { readonly zh: "查看会话 token 用量"; }; readonly 'cmd-desc-config': { readonly zh: "查看 ChatCode CLI TUI 配置来源"; }; readonly 'cmd-desc-reload': { readonly zh: "重读偏好文件并立即生效"; }; readonly 'cmd-desc-settings': { readonly zh: "查看和编辑插件设置"; }; readonly 'cmd-desc-keybindings': { readonly zh: "直达快捷键设置"; }; readonly 'cmd-desc-statusline': { readonly zh: "直达底栏设置"; }; readonly 'cmd-desc-doctor': { readonly zh: "运行环境检查"; }; readonly 'cmd-desc-init': { readonly zh: "在工作目录创建 AGENTS.md"; }; readonly 'cmd-desc-agents': { readonly zh: "查看本会话的子代理"; }; readonly 'cmd-desc-jobs': { readonly zh: "查看本会话的后台任务"; }; readonly 'cmd-desc-tasks': { readonly zh: "查看本会话的后台任务"; }; readonly 'cmd-desc-bashes': { readonly zh: "查看本会话的后台任务"; }; readonly 'cmd-desc-code-ratio': { readonly zh: "查看本月本地 Git 作者变更占比"; }; readonly 'cmd-desc-activity': { readonly zh: "切换工作状态指示器预设"; }; readonly 'cmd-desc-preset': { readonly zh: "切换 Agent 预设"; }; readonly 'cmd-desc-theme': { readonly zh: "切换配色主题(auto 跟随系统,或内置/静态 JSON/插件主题)"; }; readonly 'cmd-desc-color': { readonly zh: "设置当前会话强调色(输入框边框与会话标签)"; }; readonly 'cmd-desc-lang': { readonly zh: "切换界面语言(en / zh)"; }; readonly 'cmd-desc-model': { readonly zh: "查看当前模型"; }; readonly 'cmd-desc-model-config': { readonly zh: "管理自定义模型、配置元景并选择平台模型"; }; readonly 'cmd-desc-thinking': { readonly zh: "显示或隐藏思考过程"; }; readonly 'cmd-desc-tokens': { readonly zh: "查看会话 token 与当前上下文用量"; }; readonly 'cmd-desc-provider': { readonly zh: "添加、编辑或删除模型提供方(内置目录或自定义 API 端点)"; }; readonly 'cmd-desc-login': { readonly zh: "查看凭证状态并登录 ChatCode"; }; readonly 'cmd-desc-logout': { readonly zh: "退出本机 ChatCode 登录并关闭当前 CLI 进程"; }; readonly 'cmd-desc-add-dir': { readonly zh: "查看文件系统策略范围"; }; readonly 'cmd-desc-sandbox': { readonly zh: "打开 ChatCode CLI 权限与 Sandbox 预设"; }; readonly 'cmd-desc-hooks': { readonly zh: "查看 hooks 状态"; }; readonly 'cmd-desc-mcp': { readonly zh: "查看 MCP 状态"; }; readonly 'cmd-desc-skills': { readonly zh: "列出所有可用技能"; }; readonly 'cmd-desc-plugins': { readonly zh: "浏览插件市场、查询、安装和卸载插件"; }; readonly 'cmd-desc-update': { readonly zh: "更新 ChatCode CLI TUI 并重启"; }; readonly 'cmd-desc-web': { readonly zh: "开启/打开 Web(默认或 on),off 关闭服务及端口"; }; readonly 'cmd-desc-web-on': { readonly zh: "启动或复用 Web,打开并显示认证访问链接"; readonly en: "Start or reopen Web and show its authenticated URL"; }; readonly 'cmd-desc-web-off': { readonly zh: "关闭 Web 服务并释放端口"; readonly en: "Stop Web and release its port"; }; readonly 'cmd-desc-btw': { readonly zh: "询问一个旁支问题,不打断当前会话"; }; readonly 'cmd-desc-trace': { readonly zh: "查看会话事件轨迹时间线"; }; readonly 'cmd-desc-effort': { readonly zh: "调整模型推理强度"; }; readonly 'cmd-desc-tips': { readonly zh: "查看使用提示和快捷键"; }; readonly 'cmd-desc-permission': { readonly zh: "查看或切换权限预设"; }; readonly 'cmd-desc-vim': { readonly zh: "切换 vim 模式"; }; readonly 'cmd-desc-terminal-setup': { readonly zh: "查看终端配置建议"; }; readonly 'cmd-desc-connect': { readonly zh: "连接远程机器"; }; readonly 'cmd-desc-workspace': { readonly zh: "切换、重命名或打开工作区"; }; readonly 'cmd-desc-hub': { readonly zh: "查看仅含当前可用命令的命令中心"; }; readonly 'cmd-desc-home': { readonly zh: "查看仅含当前可用命令的命令中心"; }; readonly 'cmd-desc-workbench': { readonly zh: "查看仅含当前可用命令的命令中心"; }; readonly 'cmd-desc-workspace-resume': { readonly zh: "切换到另一个工作区"; readonly en: "Switch to another workspace"; }; readonly 'cmd-desc-workspace-rename': { readonly zh: "重命名当前工作区"; readonly en: "Rename the current workspace"; }; readonly 'cmd-desc-workspace-open': { readonly zh: "打开路径或工作区 URI"; readonly en: "Open a path or workspace URI"; }; readonly 'cmd-desc-help': { readonly zh: "查看快捷键与命令"; }; readonly 'cmd-desc-restart': { readonly zh: "重启 ChatCode CLI TUI 并恢复当前会话"; }; readonly 'cmd-desc-exit': { readonly zh: "退出 ChatCode CLI TUI"; }; readonly 'cmd-desc-plan': { readonly zh: "切换计划模式(/plan off 退出)"; }; readonly 'cmd-desc-goal': { readonly zh: "设置或查看会话目标"; }; readonly 'cmd-desc-feedback': { readonly zh: "提交使用反馈"; }; readonly 'lang-current': { readonly zh: "当前语言 {{lang}}"; readonly en: "Current language {{lang}}"; }; readonly 'lang-switch-hint': { readonly zh: "切换 /lang en | /lang zh"; readonly en: "Switch /lang en | /lang zh"; }; readonly 'lang-persist-hint': { readonly zh: "持久化 ~/.chatcode-cli/tui/lang.json(重启后仍生效;CHATCODE_CLI_TUI_LANG 优先)"; readonly en: "Persisted ~/.chatcode-cli/tui/lang.json (survives restart; CHATCODE_CLI_TUI_LANG wins)"; }; readonly 'lang-switched': { readonly zh: "语言已切换:{{lang}}(已保存)"; readonly en: "Language switched: {{lang}} (saved)"; }; readonly 'lang-unknown': { readonly zh: "未知语言「{{lang}}」· /lang 查看全部(en / zh)"; readonly en: "Unknown language \"{{lang}}\" · /lang to view all (en / zh)"; }; readonly 'lang-switch-failed': { readonly zh: "语言「{{lang}}」切换失败(无法写入 ~/.chatcode-cli/tui/lang.json)"; readonly en: "Language \"{{lang}}\" switch failed (cannot write ~/.chatcode-cli/tui/lang.json)"; }; readonly 'lang-picker-title': { readonly zh: "界面语言"; readonly en: "UI language"; }; readonly 'lang-zh-desc': { readonly zh: "简体中文(默认)"; readonly en: "Simplified Chinese (default)"; }; readonly 'lang-en-desc': { readonly zh: "English(英文)"; readonly en: "English"; }; readonly 'status-cache-label': { readonly zh: "缓存 "; readonly en: "cache "; }; readonly 'traj-title': { readonly zh: "轨迹"; readonly en: "Trajectory"; }; readonly 'traj-totals': { readonly zh: "{{turns}} 轮 · {{steps}} 步"; readonly en: "{{turns}} turns · {{steps}} rows"; }; readonly 'traj-errors': { readonly zh: "{{n}} 错"; readonly en: "{{n}} failed"; }; readonly 'traj-retries': { readonly zh: "{{n}} 重试"; readonly en: "{{n}} retries"; }; readonly 'traj-matches': { readonly zh: "{{n}}/{{total}} 匹配"; readonly en: "{{n}}/{{total}} matched"; }; readonly 'traj-tab-timeline': { readonly zh: "时序"; readonly en: "Timeline"; }; readonly 'traj-tab-hotspot': { readonly zh: "热点"; readonly en: "Hotspot"; }; readonly 'traj-hot-tools': { readonly zh: "工具"; readonly en: "Tools"; }; readonly 'traj-hot-model': { readonly zh: "模型"; readonly en: "Model"; }; readonly 'traj-hot-turns': { readonly zh: "轮次"; readonly en: "Turns"; }; readonly 'traj-sort-duration': { readonly zh: "按耗时"; readonly en: "by duration"; }; readonly 'traj-sort-count': { readonly zh: "按次数"; readonly en: "by count"; }; readonly 'traj-sort-tokens': { readonly zh: "按 token"; readonly en: "by tokens"; }; readonly 'traj-proj-sequence': { readonly zh: "序号等宽"; readonly en: "even"; }; readonly 'traj-proj-time': { readonly zh: "真实墙钟"; readonly en: "wall-clock"; }; readonly 'traj-proj-compressed': { readonly zh: "压缩空闲"; readonly en: "compressed"; }; readonly 'traj-hint-timeline': { readonly zh: "**↑/↓** 移动 · **←/→** 视图 · **[ ]** 跳错 · **{ }** 跳轮 · **/** 查询 · **m** 投影 · **enter** 详情 · **q** 退出"; readonly en: "**↑/↓** move · **←/→** view · **[ ]** failures · **{ }** turns · **/** query · **m** projection · **enter** detail · **q** exit"; }; readonly 'traj-hint-hotspot': { readonly zh: "**↑/↓** 移动 · **←/→** 视图 · **t** 排序 · **enter** 回时序定位 · **q** 退出"; readonly en: "**↑/↓** move · **←/→** view · **t** sort · **enter** locate in timeline · **q** exit"; }; readonly 'traj-hint-query': { readonly zh: "**tool:** **kind:** **turn:** **err:** **run:** **>10s** **tok>1k** · 裸词全文 · **enter** 确认 · **esc** 清除"; readonly en: "**tool:** **kind:** **turn:** **err:** **run:** **>10s** **tok>1k** · bare word = full text · **enter** apply · **esc** clear"; }; readonly 'traj-hint-expanded': { readonly zh: "**j/k** 翻页 · **enter/esc** 收起 · **q** 退出"; readonly en: "**j/k** page · **enter/esc** collapse · **q** exit"; }; readonly 'traj-hint-failure': { readonly zh: "{{key}} 看完整轨迹"; readonly en: "{{key}} for the full trajectory"; }; }; export type I18nKey = keyof typeof dict; export type I18nParams = Record; /** Emitted on every language switch so React screens can re-render. */ type Listener = () => void; /** Subscribe to language switches (mirrors themePrefs subscription style). */ export declare function subscribeLang(listener: Listener): () => void; /** The currently active language. */ export declare function getLang(): Lang; /** Switch the active language and notify subscribers. */ export declare function setLang(lang: Lang): void; /** Is a string a valid shipped language code? */ export declare function isLang(value: unknown): value is Lang; /** * Translate a dictionary key into the active language, substituting * `{{name}}` placeholders with params. Missing keys render the key itself * so a typo is visible instead of silently blank. * @param key - Dictionary key (see dict). * @param params - Placeholder values. */ export declare function t(key: I18nKey, params?: I18nParams): string; /** * Translate a runtime-computed key (e.g. `cmd-desc-${name}`), falling back * to the given text when the key is missing or has no entry in the active * language — unlike {@link t}, which renders the key itself. Used where the * fallback holds the authoritative text (command descriptions: the en copy * lives in `LOCAL_COMMANDS` / the DSH registry, the dict carries zh only). * @param key - Dictionary key, computed at runtime so it is not type-checked. * @param fallback - Text used when no translation exists. * @param params - Placeholder values substituted into whichever text wins. */ export declare function tOr(key: string, fallback: string, params?: I18nParams): string; /** Read-only view of the dictionary for audits (scripts/verify-i18n.ts). */ export declare const i18nDict: Readonly>; /** * Parse a persisted `{ lang }` value; anything else yields undefined. * @param text - Raw file contents. */ export declare function parseLangPref(text: string): Lang | undefined; /** The persisted `/lang` choice, or undefined when unset or invalid. */ export declare function readLangPref(dir?: string): Lang | undefined; /** Persist the chosen language (best effort). */ export declare function writeLangPref(lang: Lang, dir?: string): boolean; /** * Map an OS locale to a shipped language. Kept as a standalone helper for * integrations that explicitly want locale detection; normal TUI startup no * longer calls it because an unset language has the deterministic `zh` * factory default. */ export declare function detectLocaleLang(): Lang; /** * Resolve the startup language: `CHATCODE_CLI_TUI_LANG`, then its legacy alias, * when either holds a valid value * (pinned at process start — the repro/verify scripts rely on this for * deterministic UI copy), else the persisted `/lang` choice, else `zh`. * The cordis.yml `lang` precedence lives in plugin.apply. * @param dir - Preference directory; injectable for focused verification. * @param env - Environment map; injectable for focused verification. */ export declare function resolveStartupLang(dir?: string, env?: NodeJS.ProcessEnv): Lang; export {}; //# sourceMappingURL=i18n.d.ts.map