nexum-code 0.15.3 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +23 -13
  2. package/dist/XMLParser-DFAnGqkc.mjs +3956 -0
  3. package/dist/{app-Dzqtno-_.mjs → app-CYLTD0b3.mjs} +21151 -12642
  4. package/dist/{dispatch-RwKBVuHW.mjs → dispatch-DnZRjRNm.mjs} +55743 -34590
  5. package/dist/{dispatch-ClUS04uO.mjs → dispatch-cUxbpzTE.mjs} +1 -1
  6. package/dist/{markit-DG5XsAGz.mjs → esm-C0toZ4e0.mjs} +19 -6205
  7. package/dist/main.mjs +1 -1
  8. package/dist/markdown-BwvhOvCA.mjs +25943 -0
  9. package/dist/markit-LwaDGgYt.mjs +2334 -0
  10. package/dist/public/assets/astro-DAp21e1Q.js +2 -0
  11. package/dist/public/assets/astro-DAp21e1Q.js.map +1 -0
  12. package/dist/public/assets/bash-Yzrsuije.js +2 -0
  13. package/dist/public/assets/bash-Yzrsuije.js.map +1 -0
  14. package/dist/public/assets/c-BIGW1oBm.js +2 -0
  15. package/dist/public/assets/c-BIGW1oBm.js.map +1 -0
  16. package/dist/public/assets/cpp-BRuaLJcg.js +2 -0
  17. package/dist/public/assets/cpp-BRuaLJcg.js.map +1 -0
  18. package/dist/public/assets/csharp-COcwbKMJ.js +2 -0
  19. package/dist/public/assets/csharp-COcwbKMJ.js.map +1 -0
  20. package/dist/public/assets/css-DEUVOdPa.js +2 -0
  21. package/dist/public/assets/css-DEUVOdPa.js.map +1 -0
  22. package/dist/public/assets/dart-CF10PKvl.js +2 -0
  23. package/dist/public/assets/dart-CF10PKvl.js.map +1 -0
  24. package/dist/public/assets/docker-BcOcwvcX.js +2 -0
  25. package/dist/public/assets/docker-BcOcwvcX.js.map +1 -0
  26. package/dist/public/assets/go-CxLEBnE3.js +2 -0
  27. package/dist/public/assets/go-CxLEBnE3.js.map +1 -0
  28. package/dist/public/assets/graphql-ChdNCCLP.js +2 -0
  29. package/dist/public/assets/graphql-ChdNCCLP.js.map +1 -0
  30. package/dist/public/assets/html-CNxCFRDw.js +2 -0
  31. package/dist/public/assets/html-CNxCFRDw.js.map +1 -0
  32. package/dist/public/assets/index-BfTRKbmy.css +1 -0
  33. package/dist/public/assets/index-C28kWE_L.js +240 -0
  34. package/dist/public/assets/index-C28kWE_L.js.map +1 -0
  35. package/dist/public/assets/ini-BEwlwnbL.js +2 -0
  36. package/dist/public/assets/ini-BEwlwnbL.js.map +1 -0
  37. package/dist/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  38. package/dist/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  39. package/dist/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  40. package/dist/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  41. package/dist/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  42. package/dist/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  43. package/dist/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  44. package/dist/public/assets/java-CylS5w8V.js +2 -0
  45. package/dist/public/assets/java-CylS5w8V.js.map +1 -0
  46. package/dist/public/assets/javascript-wDzz0qaB.js +2 -0
  47. package/dist/public/assets/javascript-wDzz0qaB.js.map +1 -0
  48. package/dist/public/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
  49. package/dist/public/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
  50. package/dist/public/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  51. package/dist/public/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  52. package/dist/public/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
  53. package/dist/public/assets/json-Cp-IABpG.js +2 -0
  54. package/dist/public/assets/json-Cp-IABpG.js.map +1 -0
  55. package/dist/public/assets/jsx-g9-lgVsj.js +2 -0
  56. package/dist/public/assets/jsx-g9-lgVsj.js.map +1 -0
  57. package/dist/public/assets/kotlin-BdnUsdx6.js +2 -0
  58. package/dist/public/assets/kotlin-BdnUsdx6.js.map +1 -0
  59. package/dist/public/assets/lua-BaeVxFsk.js +2 -0
  60. package/dist/public/assets/lua-BaeVxFsk.js.map +1 -0
  61. package/dist/public/assets/make-CHLpvVh8.js +2 -0
  62. package/dist/public/assets/make-CHLpvVh8.js.map +1 -0
  63. package/dist/public/assets/markdown-Cvjx9yec.js +2 -0
  64. package/dist/public/assets/markdown-Cvjx9yec.js.map +1 -0
  65. package/dist/public/assets/perl-CptaX86O.js +2 -0
  66. package/dist/public/assets/perl-CptaX86O.js.map +1 -0
  67. package/dist/public/assets/postcss-DnzrXTVv.js +2 -0
  68. package/dist/public/assets/postcss-DnzrXTVv.js.map +1 -0
  69. package/dist/public/assets/protobuf-C7zT0LnQ.js +2 -0
  70. package/dist/public/assets/protobuf-C7zT0LnQ.js.map +1 -0
  71. package/dist/public/assets/python-B6aJPvgy.js +2 -0
  72. package/dist/public/assets/python-B6aJPvgy.js.map +1 -0
  73. package/dist/public/assets/r-Dspwwk_N.js +2 -0
  74. package/dist/public/assets/r-Dspwwk_N.js.map +1 -0
  75. package/dist/public/assets/ruby-CcrC3V9I.js +2 -0
  76. package/dist/public/assets/ruby-CcrC3V9I.js.map +1 -0
  77. package/dist/public/assets/rust-B1yitclQ.js +2 -0
  78. package/dist/public/assets/rust-B1yitclQ.js.map +1 -0
  79. package/dist/public/assets/scala-C151Ov-r.js +2 -0
  80. package/dist/public/assets/scala-C151Ov-r.js.map +1 -0
  81. package/dist/public/assets/sql-BLtJtn59.js +2 -0
  82. package/dist/public/assets/sql-BLtJtn59.js.map +1 -0
  83. package/dist/public/assets/svelte-U4fHntn6.js +2 -0
  84. package/dist/public/assets/svelte-U4fHntn6.js.map +1 -0
  85. package/dist/public/assets/swift-D82vCrfD.js +2 -0
  86. package/dist/public/assets/swift-D82vCrfD.js.map +1 -0
  87. package/dist/public/assets/toml-vGWfd6FD.js +2 -0
  88. package/dist/public/assets/toml-vGWfd6FD.js.map +1 -0
  89. package/dist/public/assets/tsx-COt5Ahok.js +2 -0
  90. package/dist/public/assets/tsx-COt5Ahok.js.map +1 -0
  91. package/dist/public/assets/typescript-BPQ3VLAy.js +2 -0
  92. package/dist/public/assets/typescript-BPQ3VLAy.js.map +1 -0
  93. package/dist/public/assets/xml-sdJ4AIDG.js +2 -0
  94. package/dist/public/assets/xml-sdJ4AIDG.js.map +1 -0
  95. package/dist/public/assets/yaml-Buea-lGh.js +2 -0
  96. package/dist/public/assets/yaml-Buea-lGh.js.map +1 -0
  97. package/dist/public/index.html +2 -2
  98. package/dist/{src-CtMkYz0K.mjs → src-C6YAs3fd.mjs} +1 -1
  99. package/dist/src-C8mW2wSe.mjs +7765 -0
  100. package/dist/{text-input-dialog-WSd537y1.mjs → text-input-dialog-BbyJmVbH.mjs} +1 -1
  101. package/dist/{text-input-dialog-Dvux6kIR.mjs → text-input-dialog-CAxwn6Ze.mjs} +1437 -111
  102. package/docs/architecture.md +80 -0
  103. package/docs/configuration.md +204 -0
  104. package/docs/line.md +159 -0
  105. package/docs/mcp.md +141 -0
  106. package/docs/plugins.md +198 -0
  107. package/docs/sessions.md +78 -0
  108. package/docs/skills.md +76 -0
  109. package/package.json +18 -7
  110. package/dist/base64-js-DzVmk6Nb.mjs +0 -95
  111. package/dist/public/assets/index-CGwN8W_j.js +0 -93
  112. package/dist/public/assets/index-CGwN8W_j.js.map +0 -1
  113. package/dist/public/assets/index-DMyG0a38.css +0 -1
  114. package/dist/public/assets/wasm-CG6Dc4jp.js +0 -2
  115. package/dist/public/assets/wasm-CG6Dc4jp.js.map +0 -1
  116. package/dist/src-DE9LHL58.mjs +0 -2249
@@ -3,14 +3,14 @@ import { fileURLToPath as __cjsShimFileURLToPath } from 'node:url';
3
3
  import { dirname as __cjsShimDirname } from 'node:path';
4
4
  const __filename = __cjsShimFileURLToPath(import.meta.url);
5
5
  const __dirname = __cjsShimDirname(__filename);
6
+ import { execFileSync } from "node:child_process";
6
7
  import { randomUUID } from "node:crypto";
7
8
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
8
- import { join } from "node:path";
9
- import { execFileSync } from "node:child_process";
10
9
  import { arch, hostname, release, type } from "node:os";
11
- import chalk from "chalk";
10
+ import { join } from "node:path";
12
11
  import { Container, Input, Key, matchesKey, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
13
- //#region ../../packages/config/dist/index.mjs
12
+ import chalk from "chalk";
13
+ //#region ../../packages/config/src/identity.ts
14
14
  /**
15
15
  * Nexum host and device identity header factories.
16
16
  *
@@ -98,6 +98,8 @@ function requiredAsciiHeader(value, fieldName) {
98
98
  if (cleaned.length === 0) throw new Error(`${fieldName} must be a non-empty ASCII string.`);
99
99
  return cleaned;
100
100
  }
101
+ //#endregion
102
+ //#region ../../packages/config/src/i18n/index.ts
101
103
  const dictionaries = {
102
104
  zh: {
103
105
  "status.not_set": "未设置",
@@ -126,7 +128,19 @@ const dictionaries = {
126
128
  "status.composing": "输出中",
127
129
  "status.tool": "执行中",
128
130
  "status.waiting": "等待中",
129
- "status.reconnecting_detail": "重连中 {attempt}/{max} · {reason} · {delay}s 后重试",
131
+ "status.compacting": "压缩中",
132
+ "status.awaiting_approval": "等待批准",
133
+ "status.awaiting_answer": "等待回答",
134
+ "status.reconnecting_short": "重连中 {attempt}/{max}",
135
+ "status.collab_request": "🤝 {name} 求助:{issue}",
136
+ "status.collab_request_bare": "🤝 {name} 求助",
137
+ "status.collab_handled": "✓ Nexum 已处理 {name} 的请求",
138
+ "status.cron_fired": "⏰ 定时任务已触发:{preview}",
139
+ "status.cron_fired_coalesced": "⏰ 定时任务已触发(合并 {count} 次):{preview}",
140
+ "status.cron_once": "⏰ 一次性提醒已触发:{preview}",
141
+ "status.cron_stale": "⚠️ 定时任务已过期,仍触发:{preview}",
142
+ "status.cron_empty": "⚠️ 定时任务执行结束但没有输出:{preview}",
143
+ "status.reconnecting_detail": "⚠️ 重连中 {attempt}/{max}:{reason} · {delay}s",
130
144
  "status.reason_rate_limit": "限流",
131
145
  "status.reason_server": "服务器错误",
132
146
  "status.reason_timeout": "网络超时",
@@ -160,6 +174,8 @@ const dictionaries = {
160
174
  "approval.header.plan": "是否按此计划构建?",
161
175
  "approval.header.generic": "是否批准 {name}?",
162
176
  "approval.feedback_hint": "输入反馈 · ↵ 提交。",
177
+ "approval.warnings_title": "风险提示",
178
+ "approval.request_summary": "本回合请求:",
163
179
  "common.cancel": "取消",
164
180
  "common.confirm": "确认",
165
181
  "common.submit": "提交",
@@ -179,32 +195,70 @@ const dictionaries = {
179
195
  "common.not_set": "未设置",
180
196
  "error.path_empty": "路径不能为空",
181
197
  "error.path_not_exist": "路径不存在: {path}",
182
- "error.unsupported_format": "仅支持 .md、.markdown、.txt 文件",
198
+ "error.unsupported_format": "仅支持 .md、.markdown、.txt、.pdf、.docx、.xlsx 文件",
183
199
  "error.image_not_supported": "当前模型不支持图片输入。",
184
200
  "error.video_not_supported": "当前模型不支持视频输入。",
185
201
  "error.network_timeout": "网络超时,建议检查网络或开启加速后重试。",
186
202
  "error.load_failed": "加载失败: {msg}",
187
203
  "error.internal": "内部错误",
188
204
  "error.no_session": "没有活跃的会话。",
189
- "footer.shift_tab": "shift+tab: 计划模式",
190
- "footer.model": "/model: 切换模型",
191
- "footer.ctrl_s": "ctrl+s: 中途干预",
192
- "footer.compact": "/compact: 压缩上下文",
193
- "footer.ctrl_o": "ctrl+o: 展开工具输出",
194
- "footer.tasks": "/tasks: 后台任务",
195
- "footer.shift_enter": "shift+enter: 换行",
196
- "footer.init": "/init: 生成 AGENTS.md",
197
- "footer.at": "@: 提及文件",
198
- "footer.ctrl_c": "ctrl+c: 取消",
199
- "footer.skill": "/skill: 打开 Skill 中心",
200
- "footer.help": "/help: 显示命令",
201
- "footer.config": "/config: 选择并配置你常用的模型商",
202
- "footer.reminder": "让 Nexum 安排任务,例如 \"2个小时后提醒我去拿快递\"",
203
- "footer.context": "上下文: {bar} ({tokens}/{maxTokens})",
204
- "footer.context_short": "上下文: {bar}",
205
- "footer.hit": "HitR",
206
- "footer.tasks_running": "{count}个任务 运行中",
207
- "footer.agents_running": "{count}个代理 运行中",
205
+ "error.session_header_hint": "请在 config.toml 对应服务商下设置 session_header = \"{name}\",以提供网关要求的会话标识。",
206
+ "footer.context": "📨 Context:{bar} {percent}",
207
+ "footer.context_plain": "📨 Context:{percent}",
208
+ "footer.hit": "缓存命中",
209
+ "footer.hit_short": "缓存",
210
+ "footer.git_label": "📁 Git",
211
+ "footer.line_status": "Line: {status}",
212
+ "footer.line_short": "Line",
213
+ "footer.line_disconnected": "未连接",
214
+ "footer.line_wechat": "微信",
215
+ "footer.line_lark": "飞书",
216
+ "footer.tasks_running": "后台任务 x{count}",
217
+ "footer.agents_running": "后台Agent x{count}",
218
+ "footer.subagents_working": "前台Agent x{count}",
219
+ "footer.running_total": "运行中 {count}",
220
+ "footer.goal": "目标 {time} · {turns}轮",
221
+ "footer.goal_turns": "目标 {turns}轮",
222
+ "sidebar.git": "Git",
223
+ "sidebar.session": "会话",
224
+ "sidebar.goal": "目标",
225
+ "sidebar.git_no_repo": "非 Git 仓库",
226
+ "sidebar.git_clean": "工作区干净",
227
+ "sidebar.git_files": "{count} 个文件",
228
+ "sidebar.session_empty": "暂无会话数据",
229
+ "sidebar.tokens": "总Token",
230
+ "sidebar.tokens_cache_hit": "命中",
231
+ "sidebar.tokens_cache_miss": "未命中",
232
+ "sidebar.tokens_output": "输出",
233
+ "sidebar.turns": "会话轮次",
234
+ "sidebar.tools": "工具调用",
235
+ "sidebar.calls": "调用次数",
236
+ "sidebar.compacts": "压缩次数",
237
+ "sidebar.agents": "Agent",
238
+ "sidebar.agent_idle": "休息中",
239
+ "sidebar.agent_working": "工作中",
240
+ "sidebar.agent_outputting": "输出中",
241
+ "sidebar.agent_messaging": "交谈中",
242
+ "sidebar.agent_reworking": "返工中",
243
+ "sidebar.agent_requesting": "求助中",
244
+ "sidebar.hub": "网络 Hub",
245
+ "sidebar.hub_model": "模型",
246
+ "sidebar.goal_idle": "空闲中",
247
+ "sidebar.goal_active": "进行中",
248
+ "sidebar.goal_completed": "已完成",
249
+ "sidebar.goal_paused": "已暂停",
250
+ "sidebar.goal_blocked": "受阻",
251
+ "sidebar.goal_judging": "裁定中",
252
+ "sidebar.goal_criterion": "判据",
253
+ "sidebar.goal_tokens": "消耗",
254
+ "sidebar.goal_tokens_input": "输入",
255
+ "sidebar.goal_tokens_output": "输出",
256
+ "sidebar.goal_turns": "轮次",
257
+ "sidebar.goal_wall": "耗时",
258
+ "sidebar.goal_judge": "裁判",
259
+ "sidebar.goal_judge_awaiting": "等待中",
260
+ "sidebar.goal_judge_judging": "裁定中",
261
+ "sidebar.goal_judge_adjudicated": "已裁定",
208
262
  "input.replay_blocked": "会话历史正在回放时无法发送输入。",
209
263
  "input.send_failed": "发送失败:{message}",
210
264
  "input.guide_failed": "引导失败:{message}",
@@ -236,6 +290,7 @@ const dictionaries = {
236
290
  "language.switched": "语言已切换为 {locale}",
237
291
  "language.restart_hint": "建议重启 nexum-code 以使所有界面文本生效",
238
292
  "knowledge.chunking": "切分文件中...",
293
+ "knowledge.converting": "转换文档:{file}",
239
294
  "knowledge.embedding_chunks": "嵌入 chunks: {index}/{total}",
240
295
  "knowledge.extracting": "抽取事件: {index}/{total}",
241
296
  "knowledge.embedding_events": "嵌入 events: {index}/{total}",
@@ -243,7 +298,7 @@ const dictionaries = {
243
298
  "knowledge.embedding_relations": "嵌入关系...",
244
299
  "knowledge.error": "错误: {msg}",
245
300
  "knowledge.ingest": "摄入文件/文件夹",
246
- "knowledge.ingest_desc": "输入 markdown/txt 文件或文件夹路径【摄入后首次抽取事件关联需要调用llm,文件过大建议更换性价比模型】",
301
+ "knowledge.ingest_desc": "输入 Markdown/TXT 文件或文件夹路径(推荐 Markdown:结构清晰、检索最准)。也支持 PDF / Word(.docx) / Excel(.xlsx),但扫描件、图片多、宽表格的提取效果会明显下降【摄入后首次抽取事件关联需要调用llm,文件过大建议更换性价比模型】",
247
302
  "knowledge.ingesting": "开始摄入...",
248
303
  "knowledge.ingest_done": "摄入完成",
249
304
  "knowledge.ingest_fail": "摄入失败",
@@ -263,7 +318,9 @@ const dictionaries = {
263
318
  "knowledge.search_fail": "搜索失败",
264
319
  "knowledge.search_result": "搜索结果",
265
320
  "knowledge.no_hits": "查询 \"{query}\" 未命中任何 chunk",
266
- "knowledge.vector_degraded": "向量模型未就绪,当前为关键词检索模式。如下载失败,建议开启科学上网后重启。",
321
+ "knowledge.search_deep": "深度搜索",
322
+ "knowledge.search_deep_desc": "走 LLM 实体抽取+重排:更准但更慢(默认搜索为纯本地快速模式)",
323
+ "knowledge.vector_degraded": "向量模型未就绪,当前为关键词检索模式。可在 /knowledge 菜单重新下载模型。",
267
324
  "knowledge.query_label": "查询",
268
325
  "knowledge.no_title": "(无标题)",
269
326
  "knowledge.source_label": "来源",
@@ -280,7 +337,6 @@ const dictionaries = {
280
337
  "knowledge.deleted": "已删除",
281
338
  "knowledge.doc_removed": "文档已从知识库移除",
282
339
  "knowledge.cancelled": "已取消",
283
- "knowledge.no_delete_doc": "未删除任何文档",
284
340
  "knowledge.stats": "知识库统计",
285
341
  "knowledge.stats_desc": "查看知识库整体统计",
286
342
  "knowledge.stats_note": "说明",
@@ -289,7 +345,7 @@ const dictionaries = {
289
345
  "knowledge.stats_chunks": "切片数(按标题切分)",
290
346
  "knowledge.stats_events": "LLM 抽取的融合事件数",
291
347
  "knowledge.stats_entities": "去重后的实体数",
292
- "knowledge.ingest_full": "从 markdown/txt 文件或文件夹摄入知识(chunk + 抽事件 + 抽实体)",
348
+ "knowledge.ingest_full": "从 Markdown / TXT / PDF / Word(.docx) / Excel(.xlsx) 文件或文件夹摄入知识(chunk + 抽事件 + 抽实体)",
293
349
  "knowledge.doc_list": "文档列表",
294
350
  "knowledge.doc_list_desc": "查看所有已摄入的文档",
295
351
  "knowledge.search_effect": "输入查询,测试多跳检索效果",
@@ -298,7 +354,10 @@ const dictionaries = {
298
354
  "knowledge.download_model": "下载向量模型",
299
355
  "knowledge.download_model_desc": "手动下载 bge-small-zh-v1.5 模型(约 95 MB)以启用语义搜索",
300
356
  "knowledge.download_model_installed": "(已安装)",
301
- "knowledge.download_model_retry_hint": "可返回菜单重新选择「下载向量模型」重试,建议科学上网",
357
+ "knowledge.embedding_platform_hint": "当前平台缺少本地向量模型二进制;知识库仍可用关键词检索",
358
+ "knowledge.embedding_cache_corrupt_hint": "本地模型缓存已损坏;清理并重试仍未成功,请稍后再试",
359
+ "knowledge.embedding_network_hint": "可返回菜单重选「下载向量模型」重试;网络受限时可用代理",
360
+ "knowledge.embedding_unknown_hint": "请再试一次;若持续失败,请把下面这行错误信息反馈给我们",
302
361
  "knowledge.menu_title": "SAG知识库管理",
303
362
  "knowledge.menu_hint": "选择操作(esc 退出)",
304
363
  "knowledge.op_failed": "操作失败: {msg}",
@@ -374,7 +433,59 @@ const dictionaries = {
374
433
  "mcp.install_fail": "{name} 安装失败。",
375
434
  "mcp.uninstall_confirm": "确认卸载 \"{name}\"?",
376
435
  "mcp.already_installed": "{name} 已安装,无需重复安装。",
436
+ "mcp.update_available": "有 {count} 项推荐参数缺失 —— 回车更新",
437
+ "mcp.update_confirm": "把「{name}」的启动参数重置为当前推荐值?将补上 {count} 项,自定义参数会被替换(env 与运行形态选项保留),随后重启服务。",
438
+ "mcp.args_saved_parked": "{name} 参数已保存;该条目在 mcp.json 里是 enabled: false,因此没有启动。",
439
+ "mcp.args_not_written": "没有写入任何内容:{msg}",
440
+ "mcp.skills_remove_blocked": "有目录删不掉:{names} —— 它们仍然装着。",
441
+ "mcp.args_saved_label": "{name} 参数已保存。",
442
+ "mcp.args_saved_restart_failed": "启动参数已写入,但重连失败:{msg} —— 重启会话后生效。",
443
+ "mcp.update_requires_reinstall": "「{name}」的本地安装目录已不存在 —— 请重新安装,而不是重置参数。",
444
+ "mcp.update_done": "{name} 启动参数已更新并重启。",
445
+ "mcp.update_failed_label": "{name} 更新失败。",
446
+ "mcp.update_failed": "更新失败:{msg}",
447
+ "mcp.update_plugin_blocked": "「{name}」由插件提供 —— 请在 /plugin 中更新。",
377
448
  "mcp.disabled_done": "{name} 已停用。",
449
+ "mcp.options_title": "Chrome DevTools 运行选项",
450
+ "mcp.options_hint": "Enter 切换 Esc 放弃(只有「保存并重启」才写入)",
451
+ "mcp.auth_action": "认证",
452
+ "mcp.auth_needed_hint": "需要 OAuth:按 a 开始登录(会在浏览器打开授权页)。",
453
+ "mcp.auth_discovering": "正在发现 {name} 的 OAuth 元数据…",
454
+ "mcp.auth_reconnected": "{name} 已有有效凭据 —— 已重连。",
455
+ "mcp.auth_opened": "{name} 授权页已在浏览器打开。",
456
+ "mcp.auth_url_hint": "浏览器没打开就手动访问 {url} —— 完成后服务器会自动重连。",
457
+ "mcp.auth_failed_label": "{name} 认证失败。",
458
+ "mcp.auth_failed": "认证未完成:{msg}",
459
+ "mcp.opt_section_runtime": "浏览器运行形态",
460
+ "mcp.opt_headless": "无头模式(不显示窗口)",
461
+ "mcp.opt_isolated": "独立配置目录(临时 user-data-dir)",
462
+ "mcp.opt_viewport": "视口",
463
+ "mcp.opt_channel": "Chrome 通道",
464
+ "mcp.opt_autoconnect": "连接已运行的 Chrome",
465
+ "mcp.opt_autoconnect_note": "(Chrome 144+,需在 chrome://inspect 开远程调试)",
466
+ "mcp.opt_inert_with_autoconnect": "auto-connect 开启时不生效",
467
+ "mcp.opt_on": "开",
468
+ "mcp.opt_off": "关",
469
+ "mcp.opt_default": "默认",
470
+ "mcp.opt_section_actions": "操作",
471
+ "mcp.opt_apply": "保存并重启",
472
+ "mcp.opt_applied": "{name} 运行选项已保存并重启。",
473
+ "mcp.opt_not_available": "「{name}」没有可调的启动选项。",
474
+ "mcp.opt_section_skills": "上游技能",
475
+ "mcp.skills_up_to_date": "上游技能已是最新(v{version})。",
476
+ "mcp.skills_none": "这个包里没有 skills 目录 —— 没有可安装的技能。",
477
+ "mcp.skills_install": "安装上游技能",
478
+ "mcp.skills_update": "更新上游技能",
479
+ "mcp.skills_remove": "移除上游技能",
480
+ "mcp.skills_version_note": "已装 {installed} · 包内 {available}",
481
+ "mcp.skills_package_missing": "npx 缓存里还没有 chrome-devtools-mcp —— 先启动一次服务器(打开一个页面)再试。",
482
+ "mcp.skills_installed": "已从 v{version} 安装 {count} 个上游技能。",
483
+ "mcp.skills_conflicts": "跳过了 {names}:本地已有同名技能。",
484
+ "mcp.skills_restart": "重启会话(/new)后技能才会加载。",
485
+ "mcp.skills_install_failed": "技能安装失败:{msg}",
486
+ "mcp.skills_removed": "已移除 {count} 个上游技能。",
487
+ "mcp.skills_remove_failed": "技能移除失败:{msg}",
488
+ "mcp.confirm_hint": "Enter 确认 Esc 取消",
378
489
  "mcp.uninstalled": "{name} 已卸载。",
379
490
  "mcp.no_session": "请先创建或恢复一个会话。",
380
491
  "mcp.manage_title": "MCP 管理({count} 已连接)",
@@ -393,7 +504,12 @@ const dictionaries = {
393
504
  "mcp.start_failed": "启动失败: {msg}",
394
505
  "mcp.uninstall_done": "已卸载。",
395
506
  "mcp.uninstall_failed": "卸载失败: {msg}",
396
- "mcp.footer_hint": "Enter 安装/启停 d 卸载 Esc 返回",
507
+ "mcp.plugin_owned": "插件提供",
508
+ "mcp.uninstall_plugin_blocked": "\"{name}\" 由插件 \"{plugin}\" 提供,卸载 MCP 不会生效 —— 请在 /plugin 中卸载该插件。",
509
+ "mcp.uninstall_project_owned": "\"{name}\" 由项目级配置提供({files}),运行时移除后重启仍会加载;请直接编辑该文件。",
510
+ "mcp.uninstall_verify_failed": "\"{name}\" 已从运行期移除,但仍在服务器列表中;请检查 mcp.json(项目级 .nexum-code/mcp.json 会在每次启动时重新加载)。",
511
+ "mcp.plugin_owned_stop_note": "(插件提供:重启会话后会随插件恢复)",
512
+ "mcp.footer_hint": "Enter 选择 a 认证 o 运行选项 d 卸载 Esc 返回",
397
513
  "mcp.macos_only": "仅支持 macOS",
398
514
  "cc.start": "启动",
399
515
  "cc.stop": "关闭",
@@ -431,22 +547,135 @@ const dictionaries = {
431
547
  "cc.confirm_uninstall_btn": "确认卸载",
432
548
  "cc.uninstall_step_npm": "· 执行 npm uninstall -g cc-connect",
433
549
  "cc.unknown_error": "未知错误",
550
+ "line.title": "原生 IM 通道",
551
+ "line.picker_hint": "配置向导 / 启停守护进程 / 卸载",
552
+ "line.state_running": "运行中(pid {pid})",
553
+ "line.state_stopped": "未运行",
554
+ "line.opt_wizard": "配置飞书(向导)",
555
+ "line.opt_wizard_desc": "傻瓜式教程:创建应用 → 粘贴凭证 → 校验 → 启动",
556
+ "line.opt_start_desc": "后台启动 line 守护进程",
557
+ "line.opt_stop_desc": "停止 line 守护进程",
558
+ "line.opt_restart_desc": "重启 line 守护进程",
559
+ "line.opt_uninstall": "卸载",
560
+ "line.opt_uninstall_desc": "停止守护进程并删除 ~/.nexum-code/line",
561
+ "line.wizard_title": "配置飞书通道",
562
+ "line.wizard_hint": "跟着向导创建飞书应用(约 3 分钟),或直接粘贴已有凭证",
563
+ "line.opt_guided": "跟着向导创建应用(推荐)",
564
+ "line.opt_guided_desc": "分步引导:创建应用 → 开权限 → 长连接 → 发布 → 粘贴凭证",
565
+ "line.fs_wizard_title": "飞书应用创建向导",
566
+ "line.fs_step_title": "第 {n} 步,共 {total} 步",
567
+ "line.fs_next": "已完成,下一步",
568
+ "line.fs_later": "随时可退出,运行 /line 从当前步骤继续",
569
+ "line.fs_goto_credentials": "去粘贴凭证",
570
+ "line.fs_step1": "① 创建应用\n\n1. 打开 https://open.feishu.cn/app 并登录(个人账号也可以)\n2. 进入「控制台」→ 点击「创建企业自建应用」\n3. 名称随意(如 nexum),描述可留空",
571
+ "line.fs_step2": "② 启用机器人\n\n应用详情页 → 左侧「应用能力」→ 添加并启用「机器人」(名称、描述随意)",
572
+ "line.fs_step3": "③ 开通权限\n\n左侧「权限管理」→ 逐个搜索并开通:\n· contact:user.base:readonly(获取用户信息)\n· im:message.group_at_msg:readonly(群聊 @ 机器人)\n· im:message.p2p_msg:readonly(私聊消息)\n· im:message:send_as_bot(以应用身份发消息)\n可选:im:message.group_msg(读取群内全部消息;不开则群聊仅响应 @机器人)",
573
+ "line.fs_step4": "④ 配置事件订阅(长连接,无需公网 IP)\n\n左侧「事件与回调」→\n· 事件配置:订阅方式选「使用长连接接收事件」→ 添加事件 im.message.receive_v1(接收消息)\n· 回调配置:订阅方式同样选「使用长连接接收事件」",
574
+ "line.fs_step5": "⑤ 发布应用\n\n左侧「版本管理与发布」→ 创建版本 → 申请发布(企业自建应用管理员即可通过)",
575
+ "line.fs_step6": "⑥ 获取凭证\n\n左侧「凭证与基础信息」→ 复制 App ID(cli_ 开头)与 App Secret。\n\n下一步把它们粘贴给向导即可完成配置。",
576
+ "line.opt_manual": "手动输入凭证",
577
+ "line.opt_manual_desc": "粘贴飞书应用的 App ID 与 App Secret",
578
+ "line.opt_tutorial": "查看配置教程",
579
+ "line.opt_tutorial_desc": "从零创建飞书应用的步骤",
580
+ "line.tutorial_title": "飞书应用配置教程",
581
+ "line.tutorial": "① 打开 open.feishu.cn → 控制台 →「创建企业自建应用」(个人账号也可以)\n② 应用详情 →「添加应用能力」→ 开通「机器人」\n③「权限管理」→ 开通 im:message 相关权限(接收与发送消息)\n④「事件与回调」→ 订阅方式选择「使用长连接接收事件」(无需公网 IP)\n⑤「版本管理与发布」→ 创建版本并发布\n⑥「凭证与基础信息」→ 复制 App ID(cli_…)与 App Secret\n\n完成后重新运行 /line,选择「手动输入凭证」粘贴即可。",
582
+ "line.input_appid": "输入 App ID",
583
+ "line.input_secret": "输入 App Secret",
584
+ "line.validating": "正在校验飞书凭证…",
585
+ "line.config_saved": "配置已保存",
586
+ "line.ask_start": "配置完成,立即启动守护进程?",
587
+ "line.opt_start_now": "立即启动",
588
+ "line.opt_start_now_desc": "后台拉起守护进程,之后在飞书里直接发消息即可",
589
+ "line.not_configured": "尚未配置任何平台(飞书/微信),请先运行配置向导。",
590
+ "line.starting": "正在启动守护进程…",
591
+ "line.started": "line 守护进程已启动(pid {pid})",
592
+ "line.already_running": "line 守护进程已在运行(pid {pid})",
593
+ "line.start_failed": "启动失败:{error}",
594
+ "line.stopping": "正在停止守护进程…",
595
+ "line.stopped": "line 守护进程已停止。",
596
+ "line.not_running": "line 守护进程未在运行。",
597
+ "line.restarting": "正在重启守护进程…",
598
+ "line.config_broken": "line 配置文件有问题",
599
+ "line.confirm_uninstall": "确认卸载 line 通道?",
600
+ "line.uninstall_irreversible": "此操作不可撤销;仅删除 line 配置与日志",
601
+ "line.confirm_uninstall_btn": "卸载",
602
+ "line.will_clean": "停止守护进程并删除 ~/.nexum-code/line(配置与日志)",
603
+ "line.uninstalling": "正在卸载 line 通道…",
604
+ "line.uninstalled": "line 通道已卸载",
605
+ "line.uninstall_note": "随时可用 /line 重新配置。",
606
+ "line.uninstall_failed": "卸载失败:{error}",
607
+ "registry.line_desc": "飞书/微信原生通道(配置向导 / 守护进程)",
608
+ "line.opt_wizard_weixin": "配置微信(向导)",
609
+ "line.opt_wizard_weixin_desc": "官方 ilink 机器人接口,粘贴 token 即可",
610
+ "line.weixin_wizard_title": "配置微信通道",
611
+ "line.weixin_wizard_hint": "选择配置方式",
612
+ "line.weixin_opt_qr": "扫码登录(推荐)",
613
+ "line.weixin_opt_qr_desc": "终端显示登录链接,手机微信打开确认即可,全程无需其他工具",
614
+ "line.weixin_qr_begin": "正在获取微信登录链接…",
615
+ "line.weixin_qr_title": "微信扫码登录",
616
+ "line.weixin_qr_notice": "请完成微信登录:\n\n1. 复制下面的链接\n2. 在手机微信中打开该链接(或用微信「扫一扫」识别)\n3. 在手机上确认登录\n\n{url}\n\n确认后向导会自动获取 token 并写入配置(最多等待 8 分钟)。",
617
+ "line.weixin_qr_waiting": "等待微信确认登录…(最多 8 分钟)",
618
+ "line.weixin_qr_confirmed": "登录成功,token 已获取",
619
+ "line.weixin_qr_failed": "扫码登录失败:{error}",
620
+ "line.weixin_qr_timeout": "等待超时:未在 8 分钟内确认登录,请重新发起扫码。",
621
+ "line.weixin_allow_from_note": "已自动把你的微信 ID 加入 allow_from 白名单(可编辑配置文件调整):",
622
+ "line.weixin_tutorial_title": "微信通道教程",
623
+ "line.weixin_tutorial": "微信通道使用微信官方 ilink 机器人网关(无需公网 IP、无需任何第三方工具)。\n\n完整流程(约 1 分钟):\n① 运行 /line → 选「配置微信(向导)」→ 选「扫码登录(推荐)」\n② 终端显示一个登录链接 → 复制并在手机微信中打开(或用微信「扫一扫」识别)\n③ 在手机上确认登录 → token 自动写入配置,你的微信 ID 自动加入 allow_from 白名单\n④ 回到 /line → 选「启动」→ footer 出现绿色 ◆\n⑤ 用微信给机器人发一条消息 → 完成会话激活,之后即可随时对话\n\n白名单:allow_from 未配置时任何私聊用户都能触发你的模型计费;扫码登录会自动填入你自己的 ID,如需给同事开放,编辑 ~/.nexum-code/line/config.json 追加(多个用英文逗号分隔,形如 xxx@im.wechat)。\n\n已有现成 token(运营商提供)→ 选「手动输入 token」直接粘贴。",
624
+ "line.weixin_opt_manual": "手动输入 token",
625
+ "line.weixin_opt_manual_desc": "粘贴 ilink bot Bearer token",
626
+ "line.weixin_opt_tutorial": "查看微信教程",
627
+ "line.weixin_opt_tutorial_desc": "完整流程说明(扫码/白名单/激活)",
628
+ "line.weixin_input_token": "输入 ilink bot token",
629
+ "line.weixin_validating": "正在校验微信 token…",
630
+ "line.weixin_session_expired": "token 有效,会话待激活",
631
+ "line.weixin_session_expired_hint": "启动守护进程后,用允许的微信账号给机器人发一条消息即可完成会话激活。",
632
+ "line.weixin_config_saved": "微信配置已保存",
633
+ "line.platform_taken": "line 是单通道设计",
634
+ "line.platform_taken_detail": "当前已配置{taken}通道,请先运行 /line → 卸载,再配置另一个平台。",
635
+ "line.channel_feishu": "飞书",
636
+ "line.channel_weixin": "微信",
434
637
  "auth.fetching_models": "正在拉取最新模型目录...",
435
638
  "auth.catalog_fetch_failed": "拉取远程模型目录失败: {error}。请检查网络(目录站点在你的网络环境下可能无法访问)后重试,或使用 /config diy 自行配置服务商。",
436
639
  "auth.no_providers": "没有已配置的模型商。",
437
640
  "auth.deleted": "已删除模型商: {name}",
438
641
  "auth.input_api_url": "输入服务商 API 地址",
439
642
  "auth.api_url_hint": "例如 https://api.example.com(可粘贴)",
643
+ "auth.api_url_hint_google": "例如 https://generativelanguage.googleapis.com(官方)或代理/网关地址(可粘贴)",
440
644
  "auth.input_api_key": "输入 API Key",
441
645
  "auth.api_key_hint": "密钥保存到 ~/.nexum/config.toml(可粘贴,Esc 取消)",
442
646
  "auth.input_model": "输入模型型号",
443
647
  "auth.model_hint": "例如 my-model-v2",
648
+ "auth.model_hint_google": "例如 gemini-2.5-pro",
444
649
  "auth.input_context": "输入模型最大上下文长度 (tokens)",
445
650
  "auth.context_hint": "默认 131072,请查阅你的服务商获取准确限制",
651
+ "auth.context_hint_google": "默认 1048576(Gemini 2.5 百万窗口),请查阅你的服务商获取准确限制",
446
652
  "auth.connected": "已连接: {name}",
447
653
  "auth.error_empty_base_url": "API 地址不能为空。",
448
654
  "auth.error_empty_model_id": "模型名称不能为空。",
449
655
  "auth.error_invalid_context_size": "上下文长度必须是 >= 4096 的数字。",
656
+ "image.provider_title": "选择生图服务商",
657
+ "image.provider_hint": "选择 API 兼容形态,下一步填写地址与密钥",
658
+ "image.already_configured": "当前已配置生图模型为:{model}({provider} · {url})——继续将覆盖原配置,Esc 取消",
659
+ "image.provider_openai": "OpenAI 官方",
660
+ "image.provider_volcengine": "豆包 Seedream(火山方舟)",
661
+ "image.provider_generic": "自定义服务商(OpenAI 兼容 URL)",
662
+ "image.input_url": "输入生图 API 完整地址",
663
+ "image.url_hint": "照服务商文档原样粘贴完整地址,不做任何补全;文生图接口通常形如 https://host/v1/images/generations",
664
+ "image.input_key": "输入生图 API 密钥",
665
+ "image.key_hint": "仅保存到本地配置文件,不会出现在对话中(Esc 取消)",
666
+ "image.error_empty_url": "生图 API 地址不能为空。",
667
+ "image.error_empty_key": "生图 API 密钥不能为空。",
668
+ "image.input_model": "输入生图模型 ID",
669
+ "image.model_hint": "回车使用默认模型(见输入框提示的模型 ID)",
670
+ "image.input_edit_url": "输入图生图 API 完整地址(可选)",
671
+ "image.edit_url_hint": "留空时:若主地址以 /images/generations 结尾,自动改用同路径 /images/edits",
672
+ "image.input_edit_model": "输入图生图模型 ID(可选)",
673
+ "image.edit_model_hint": "改图专用模型(如 xxx-edit)才需要填;回车 = 与文生图相同",
674
+ "image.checking": "正在检测生图 API...",
675
+ "image.check_ok": "连通性正常",
676
+ "image.check_failed": "连通性检测失败(配置已保存)",
677
+ "image.check_model_missing": "已连通,但未找到该模型(配置已保存)",
678
+ "image.configured": "生图已配置 · {provider} · {model}",
450
679
  "like.priority": "用户通过 /like 设置的偏好具有最高优先级,每次回复都必须遵守。",
451
680
  "like.do_not": "用户禁止",
452
681
  "like.do_not_hint": "用户明确不让做的事。Agent 绝不能做这些。",
@@ -471,6 +700,12 @@ const dictionaries = {
471
700
  "revoke.usage": "用法:/revoke [数量],数量为正整数。",
472
701
  "revoke.nothing": "没有可以撤回的内容。",
473
702
  "revoke.failed": "撤回失败:{msg}",
703
+ "grants.title": "会话授权({count})",
704
+ "grants.hint": "↑/↓ 选择 · ↵ 撤销 · esc 取消",
705
+ "grants.empty": "当前没有会话授权。",
706
+ "grants.revoked": "已撤销会话授权:{pattern} — 下次匹配调用会重新询问。",
707
+ "grants.revoke_failed": "未撤销:没有找到该会话授权({pattern})。",
708
+ "grants.load_failed": "读取会话授权失败:{msg}",
474
709
  "btw.usage": "/btw 用法",
475
710
  "btw.desc": "在不中断当前对话的情况下快速提问。",
476
711
  "btw.example1": "示例:/btw 这个项目有多少个包?",
@@ -503,7 +738,7 @@ const dictionaries = {
503
738
  "session.title": "会话",
504
739
  "session.loading": "正在加载会话...",
505
740
  "session_picker.empty": "未找到会话。按 Escape 关闭。",
506
- "session_picker.cc_restricted": "CC专属会话不支持切换或删除,请点击或复制下方文件路径进入手动管理",
741
+ "session_picker.cc_restricted": "通道会话不支持切换或删除,请点击或复制下方文件路径进入手动管理",
507
742
  "session_picker.batch_delete_confirm": "删除选中的 {count} 个会话?",
508
743
  "session_picker.batch_delete_hint": " 按 Enter 确认批量删除,Esc 取消",
509
744
  "session_picker.batch_delete_unavailable": "此处不支持批量删除。",
@@ -526,8 +761,15 @@ const dictionaries = {
526
761
  "model.not_supported": "✗ 不支持",
527
762
  "model.video": "视频",
528
763
  "model.audio": "音频",
764
+ "model.image_gen_configured": " 生图模型:{model} · 已配置(/config image 修改)",
765
+ "model.image_gen_missing": " 生图模型:未配置 · /config image 设置",
529
766
  "help.toggle_plan": "切换计划模式",
530
767
  "help.toggle_output": "切换工具输出展开",
768
+ "help.cycle_thinking": "空输入时循环思考档位",
769
+ "help.toggle_plan_view": "展开/收起计划",
770
+ "help.toggle_sidebar": "开关侧边面板",
771
+ "help.toggle_hint": "隐藏/显示空会话提示",
772
+ "help.cancel_memory": "取消挂起的记忆提取",
531
773
  "help.interrupt": "中途干预 — 在流式传输中插入后续提示",
532
774
  "help.newline": "插入换行",
533
775
  "help.external_editor": "在外部编辑器中编辑 ($VISUAL / $EDITOR)",
@@ -537,9 +779,12 @@ const dictionaries = {
537
779
  "help.browse_history": "浏览输入历史",
538
780
  "help.submit": "提交",
539
781
  "help.title": " 帮助 ",
782
+ "help.hotkeys_title": " 键盘快捷键 ",
783
+ "help.recall_queued": "忙碌时召回上一条排队中的消息",
784
+ "help.paste_image": "粘贴图片(Windows: Alt-V)",
540
785
  "help.close_hint": "Esc / Enter / q 关闭 · ↑↓ 滚动",
541
786
  "help.welcome_msg": "Nexum 已准备好帮助您!发送消息即可开始。",
542
- "help.hidden_commands": "/config diy 自定义模型服务商 /model diy 多代理编排配置",
787
+ "help.hidden_commands": "/config diy 自定义模型服务商 /config image 生图配置 /model diy 多代理编排配置",
543
788
  "help.shortcuts": "键盘快捷键",
544
789
  "help.slash_commands": "斜杠命令",
545
790
  "help.showing_range": "显示 {start}-{end} / {total}",
@@ -595,13 +840,27 @@ const dictionaries = {
595
840
  "memory.pitfall_label": "踩坑: ",
596
841
  "memory.experience_label": "经验: ",
597
842
  "memory.note_label": "笔记: ",
598
- "memory.detail_nav_hint": " Enter/Esc 返回 | i 注入 | d 删除",
843
+ "memory.detail_nav_hint": " Enter/Esc 返回 | i 注入 | d 删除 | e 编辑",
844
+ "memory.distilled": "最新归纳",
845
+ "memory.note": "笔记",
846
+ "memory.distilled_label": "最新归纳: ",
847
+ "memory.origin_dream": "归纳",
848
+ "memory.origin_user": "人工归纳",
849
+ "memory.distilled_at": "归纳于",
850
+ "memory.distilled_at_unknown": "归纳时间未知",
851
+ "memory.source_count": "来源 {count} 条",
852
+ "memory.source_more": "+{count} 条",
853
+ "memory.source_unknown": "来源未知",
854
+ "memory.edit_save_failed": "保存失败,请重试",
855
+ "memory.edit_distilled_hint": "编辑最新归纳 · Enter 保存 · Esc 取消",
856
+ "memory.delete_rule_warning": "这是归纳结果,原始条目已删除,删除后无法恢复",
599
857
  "plugin.no_session": "请先创建或恢复一个会话,再使用 Plugin 中心。",
600
858
  "extension.no_session": "请先创建或恢复一个会话,再使用扩展命令。",
601
- "extension.usage": "用法:/extension activate|deactivate|status [pluginId]",
859
+ "extension.usage": "用法:/extension activate|deactivate|reload|status [pluginId]",
602
860
  "extension.missing_id": "缺少扩展 id:/extension {action} <pluginId>",
603
861
  "extension.activated": "扩展 {pluginId} 已激活。",
604
862
  "extension.deactivated": "扩展 {pluginId} 已停用。",
863
+ "extension.reloaded": "扩展 {pluginId} 已重新加载。",
605
864
  "extension.no_extensions": "没有安装代码插件(entryPoint)。",
606
865
  "plugin.loading": "正在加载 Plugin 中心…",
607
866
  "plugin.center_title": "Plugin 中心",
@@ -660,8 +919,10 @@ const dictionaries = {
660
919
  "toolcall.running": "运行中",
661
920
  "toolcall.completed": "已完成",
662
921
  "toolcall.tool_count": "{count} 个 tool",
922
+ "toolcall.turns": "{count} 轮",
663
923
  "toolcall.failed": "失败",
664
924
  "toolcall.bg_running": "后台运行",
925
+ "toolcall.bg_handed_off": "已转后台运行",
665
926
  "toolcall.truncation_notice": "Tool 调用参数因 max_tokens 被截断 — 调用未执行。",
666
927
  "toolcall.lines_hidden": "...(还有 {hidden} 行,共 {total} 行,按 ctrl+o 展开)",
667
928
  "toolcall.preparing_changes": "正在准备变更{path}...{bytes} · 已用 {elapsed}",
@@ -683,8 +944,13 @@ const dictionaries = {
683
944
  "handler.max_tokens_hint": "如果此限制对您的模型不合适,请在 nexum-code 配置中为模型别名设置 `max_output_size`。",
684
945
  "handler.user_interrupted": "用户中断",
685
946
  "handler.max_steps_reached": "达到每轮步骤限制(max_steps)",
947
+ "handler.token_cap_reached": "本会话 token 用量已达上限({used} / {limit}),不再发起模型请求;用 /budget 调高后即可继续",
686
948
  "handler.step_interrupted": "步骤中断 ({reason})",
687
949
  "handler.warning_prefix": "警告: {message}",
950
+ "handler.compaction_circuit_open": "压缩连续失败,已自动暂停本回合的自动压缩。使用 /compact 手动重试。",
951
+ "handler.compaction_circuit_open_overflow": "压缩熔断器已打开,使用 /compact 手动重试。",
952
+ "handler.compaction_timeout": "压缩超时(120 秒),已取消。请使用 /compact 手动重试。",
953
+ "handler.compaction_context_changed": "上下文已被更改(如 /revoke),压缩已取消。",
688
954
  "handler.mcp_server_failed": "MCP 服务器 \"{name}\" 失败{error}",
689
955
  "handler.mcp_server_needs_auth": "MCP 服务器 \"{name}\" 需要 OAuth 认证,请运行 /mcp",
690
956
  "handler.mcp_server_disabled": "MCP 服务器 \"{name}\" 已禁用",
@@ -709,6 +975,7 @@ const dictionaries = {
709
975
  "session.new_started": "已启动新会话 ({sessionId})。",
710
976
  "replay.history_unavailable": "此会话的历史记录不可用。",
711
977
  "replay.history_failed": "回放会话历史失败: {message}",
978
+ "replay.streamDraftPartial": "回复不完整:进程在回复流式输出期间退出,结尾内容可能缺失。",
712
979
  "replay.skill_activated": "已激活技能: {skillName}",
713
980
  "replay.yes_mode_on": "YES 模式:开启",
714
981
  "replay.yes_mode_on_detail": "所有操作将自动批准。请谨慎使用。",
@@ -728,7 +995,6 @@ const dictionaries = {
728
995
  "plugin.source_label": "来源:",
729
996
  "plugin.plugin_label": "插件:",
730
997
  "taskbrowser.running": "运行中",
731
- "taskbrowser.awaiting": "等待中",
732
998
  "taskbrowser.completed": "已完成",
733
999
  "taskbrowser.interrupted": "已中断",
734
1000
  "taskbrowser.total": "总计",
@@ -757,24 +1023,65 @@ const dictionaries = {
757
1023
  "taskbrowser.stop_reason": "停止原因:",
758
1024
  "taskbrowser.timed_out": "已超时:",
759
1025
  "taskbrowser.yes": "是",
760
- "taskbrowser.awaiting_label": "等待中:",
1026
+ "taskbrowser.task_source_via": "来自 {name}",
1027
+ "taskbrowser.agents": "子代理",
1028
+ "taskbrowser.agents_title": "子代理",
1029
+ "taskbrowser.agents_live": "运行中",
1030
+ "taskbrowser.agents_ended": "已结束",
1031
+ "taskbrowser.agents_completed": "已完成",
1032
+ "taskbrowser.agents_failed": "已失败",
1033
+ "taskbrowser.agents_empty": "本会话无活动子代理。",
1034
+ "taskbrowser.agents_no_output": "子代理输出显示在对话卡片中 — 此处无实时输出。",
1035
+ "taskbrowser.agent_detail": "代理详情",
1036
+ "taskbrowser.agent_type": "类型:",
1037
+ "taskbrowser.agent_source": "来源:",
1038
+ "taskbrowser.agent_chain": "父链:",
1039
+ "taskbrowser.agent_activity": "最新活动:",
1040
+ "taskbrowser.agent_instance": "实例:",
1041
+ "taskbrowser.agent_main": "主代理",
1042
+ "taskbrowser.agent_source_rlm": "RLM 派生",
1043
+ "taskbrowser.agent_source_main": "主代理直接派生",
1044
+ "taskbrowser.agent_source_via": "由 {name} 派生",
1045
+ "taskbrowser.agent_source_unknown": "独立(无父线索)",
761
1046
  "subagent.desc_coder": "通用软件工程任务",
762
1047
  "subagent.desc_reviewer": "代码审查,发现 bug 和 API 契约违反",
763
1048
  "subagent.desc_writer": "内容生产与研究报告",
764
1049
  "subagent.desc_explore": "快速代码库探索(只读)",
765
- "subagent.desc_oracle": "深度调试与架构决策",
1050
+ "subagent.desc_oracle": "既有代码的系统尺度审查(架构/技术债/可维护性/冗余)",
766
1051
  "subagent.desc_plan": "实现规划与架构设计(只读)",
767
1052
  "subagent.desc_verify": "运行构建/测试/lint 验证改动",
768
1053
  "subagent.desc_worker": "办公自动化:格式转换、批量处理、文件整理",
1054
+ "subagent.desc_designer": "视觉层设计:UI/UX/TUI 方向、规格、落地与审计",
769
1055
  "subagent.follow_main": "跟随主模型",
770
1056
  "subagent.follow_main_desc": "使用主代理当前模型(默认)",
771
1057
  "subagent.stale_binding": "{alias}(已失效)",
772
1058
  "subagent.invalid_alias": "模型别名 {alias} 不存在",
1059
+ "subagent.follow_default": "跟随默认(配置项优先)",
1060
+ "subagent.follow_default_desc": "未绑定时先走配置内的角色/压缩模型,再跟随主模型",
773
1061
  "subagent.title": "子代理模型绑定",
774
1062
  "subagent.hint": "↑↓ 选择子代理 · Enter 绑定模型 · Esc 取消",
775
1063
  "subagent.bind_title": "绑定 {profile}",
776
1064
  "subagent.model_hint": "↑↓ 选择模型 · Enter 确认 · Esc 返回",
777
1065
  "subagent.save_failed": "保存失败:{msg}",
1066
+ "modeldiy.title": "模型 DIY",
1067
+ "modeldiy.hint": "↑↓ 选择 · Enter 确认 · Esc 取消",
1068
+ "modeldiy.entry_roles": "按分工配置模型(兜底)",
1069
+ "modeldiy.entry_roles_desc": "为一类子代理设默认模型;该子代理没有单独配置时生效(writer、designer 不参与分工,始终跟随默认)",
1070
+ "modeldiy.entry_housekeeping": "压缩专用模型",
1071
+ "modeldiy.entry_housekeeping_desc": "上下文压缩摘要使用的模型,默认先走配置项,再跟随主模型",
1072
+ "modeldiy.entry_profiles": "按子代理类型配置模型(优先)",
1073
+ "modeldiy.entry_profiles_desc": "为单个子代理点名模型;与分工配置同时存在时以此为准",
1074
+ "modeldiy.roles_title": "按分工配置模型",
1075
+ "modeldiy.roles_hint": "↑↓ 选择分工 · Enter 绑定模型 · Esc 返回",
1076
+ "modeldiy.role_read": "read · 探索/规划/验证",
1077
+ "modeldiy.role_read_desc": "成员:explore、plan、verify —— 只读型子代理(代码探索、方案规划、验证运行)",
1078
+ "modeldiy.role_task": "task · 写码/执行",
1079
+ "modeldiy.role_task_desc": "成员:coder、worker —— 写入型子代理(代码实现、批量文件处理)",
1080
+ "modeldiy.role_judge": "judge · 审查把关",
1081
+ "modeldiy.role_judge_desc": "成员:reviewer、oracle —— 评审型子代理(diff 审查、架构审查)",
1082
+ "modeldiy.bind_title": "绑定 {name}",
1083
+ "modeldiy.housekeeping_title": "压缩专用模型",
1084
+ "modeldiy.housekeeping_hint": "↑↓ 选择模型 · Enter 确认 · Esc 返回",
778
1085
  "kdoctree.no_title": "(无标题)",
779
1086
  "kdoctree.empty": "(空)",
780
1087
  "kdoctree.move": "移动",
@@ -793,6 +1100,13 @@ const dictionaries = {
793
1100
  "usage.context_window": "上下文窗口",
794
1101
  "usage.subagent_title": "子 Agent 用量",
795
1102
  "usage.panel_title": " 用量 ",
1103
+ "usage.session_total": "会话总计",
1104
+ "usage.token_limit": "本次运行 token 上限:{used} / {limit}",
1105
+ "usage.cost": "花费",
1106
+ "usage.cache_rw": "缓存",
1107
+ "usage.main_agent": "主 Agent",
1108
+ "usage.sub_agent": "子 Agent",
1109
+ "usage.model": "模型",
796
1110
  "agentgroup.n_agent_done": "{total} 个 {name} agent 已完成",
797
1111
  "agentgroup.n_agents_done": "{total} 个 agent 已完成",
798
1112
  "agentgroup.running_n_agents": "正在运行 {total} 个 agent",
@@ -861,14 +1175,12 @@ const dictionaries = {
861
1175
  "bash.background_completed": "后台任务 {id} 已完成:{command}",
862
1176
  "bash.background_failed": "后台任务 {id} 执行失败(退出码 {exitCode}):{command}",
863
1177
  "bgtask.started_bg": "{subject} 已在后台启动",
864
- "bgtask.awaiting_approval": "{subject} 等待审批",
865
1178
  "bgtask.completed_bg": "{subject} 已在后台完成",
866
1179
  "bgtask.failed_bg": "{subject} 在后台失败",
867
1180
  "bgtask.killed": "{subject} 已停止",
868
1181
  "bgtask.lost": "{subject} 已丢失",
869
1182
  "bgtask.stopped_reason": "已停止 — {reason}",
870
1183
  "bgtask.stopped": "已停止",
871
- "bgtask.waiting": "等待中: {reason}",
872
1184
  "bgtask.session_restarted": "会话在完成前已重启",
873
1185
  "bgtask.timed_out": "已超时",
874
1186
  "mcpstatus.failed": "{count} 失败",
@@ -882,7 +1194,9 @@ const dictionaries = {
882
1194
  "permission.manual_desc": "执行命令、编辑等风险操作前询问。读取/搜索工具直接运行;会话审批规则生效。",
883
1195
  "permission.auto": "自动",
884
1196
  "permission.auto_desc": "完全无交互运行。工具操作自动批准,跳过代理问题以便其自行决策。",
885
- "permission.yolo_desc": "自动批准工具操作和计划转换。需要您输入时代理仍会明确提问。",
1197
+ "permission.yolo_desc": "自动批准工具操作(含危险命令)。需要您决策时(提问、计划评审)代理仍会来找您。",
1198
+ "permission.bot": "Bot",
1199
+ "permission.bot_desc": "无人值守模式:可逆操作自动执行;其余一律拒绝并排队等你决策。",
886
1200
  "permission.ask_desc": "只读问答模式:直接对话回答,不修改文件、不运行命令、不调用 MCP 工具。",
887
1201
  "permission.select_title": "选择权限模式",
888
1202
  "theme.auto": "自动(跟随终端)",
@@ -917,6 +1231,17 @@ const dictionaries = {
917
1231
  "transcript.tool_name": "工具 {name}:",
918
1232
  "transcript.activated_skill": "已激活插件:{name}",
919
1233
  "transcript.more_history": "↑ 还有 {count} 条历史消息",
1234
+ "transcript.child_request": "{name} 向主 Agent 求助({type})",
1235
+ "transcript.child_request_anon": "子代理向主 Agent 求助({type})",
1236
+ "transcript.child_request_type_info": "补充信息",
1237
+ "transcript.child_request_type_handoff": "转交工作",
1238
+ "transcript.child_request_type_escalate": "上报决策",
1239
+ "transcript.child_request_needs": "需要 {value}",
1240
+ "transcript.child_request_expecting": "期望 {value}",
1241
+ "readgroup.more_files": "… 还有 {count} 个文件",
1242
+ "transcript.child_request_artifacts": "产出 {value}",
1243
+ "transcript.child_request_evidence": "证据 {value}",
1244
+ "transcript.child_request_missing": "缺项 {value}",
920
1245
  "compaction.done": "压缩完成",
921
1246
  "compaction.canceled": "压缩已取消",
922
1247
  "compaction.in_progress": "正在压缩上下文...",
@@ -928,9 +1253,10 @@ const dictionaries = {
928
1253
  "textinput.empty_hint": "输入不能为空。",
929
1254
  "editor.auto_detect": "自动检测 ($VISUAL / $EDITOR)",
930
1255
  "editor.select_title": "选择外部编辑器",
931
- "editor.empty_session_hint": "Tips:推荐使用 OpencodeGo 作为模型提供商,按 Ctrl+F 获取 API,按 Ctrl+B 切换显示",
932
- "editor.tip_ad": "💡 Tips:使用 OpencodeGo 可免费调用模型或选择低价套餐,按 Ctrl+F 获取 API 【Ctrl+B 关闭 Tips】",
933
- "editor.tip_1": "💡 Tips:空输入框按 Tab 可切换模型思考等级 【Ctrl+B 关闭 Tips】",
1256
+ "editor.empty_session_hint": "Tips:如果你支持本项目或遇到问题,欢迎在 GitHub 上反馈或点个星标。按 Ctrl+B 切换显示",
1257
+ "editor.tip_offer": "💡 Tips:部分模型低至1折起,一个API搞定!todapi.work 【Ctrl+B 关闭 Tips】",
1258
+ "editor.tip_ad": "💡 Tips:如果你支持本项目或遇到问题,欢迎在 GitHub 上反馈或点个星标 【Ctrl+B 关闭 Tips】",
1259
+ "editor.tip_1": "💡 Tips:空输入框状态下可按下 Tab 切换模型思考等级 【Ctrl+B 关闭 Tips】",
934
1260
  "editor.tip_2": "💡 Tips:输入 / 查看所有命令,输入 @ 引用文件路径 【Ctrl+B 关闭 Tips】",
935
1261
  "editor.tip_3": "💡 Tips:按 Shift+Tab 切换计划模式 【Ctrl+B 关闭 Tips】",
936
1262
  "editor.tip_4": "💡 Tips:输入 /model diy 可为子代理配置不同模型 【Ctrl+B 关闭 Tips】",
@@ -939,7 +1265,7 @@ const dictionaries = {
939
1265
  "editor.tip_7": "💡 Tips:按 Ctrl+E 跳到行尾,Ctrl+W 删除前一个单词 【Ctrl+B 关闭 Tips】",
940
1266
  "editor.tip_8": "💡 Tips:输入 /compact 可手动压缩上下文并释放 token 空间 【Ctrl+B 关闭 Tips】",
941
1267
  "editor.tip_9": "💡 Tips:按 Ctrl+G 可在外部编辑器中编写长消息 【Ctrl+B 关闭 Tips】",
942
- "editor.tip_10": "💡 Tips:输入 /rlm 可开启运行时记忆,让 Agent 跨轮记住更多上下文 【Ctrl+B 关闭 Tips】",
1268
+ "editor.tip_10": "💡 Tips:输入 /rlm 开启持久 Python 工作环境(可派生 subagent) 【Ctrl+B 关闭 Tips】",
943
1269
  "editor.tip_11": "💡 Tips:空输入时按 Ctrl+D 可退出,再按一次确认 【Ctrl+B 关闭 Tips】",
944
1270
  "editor.tip_12": "💡 Tips:输入 /sessions 可查看并恢复历史会话 【Ctrl+B 关闭 Tips】",
945
1271
  "editor.tip_13": "💡 Tips:按 Ctrl+Shift+F 或输入 /search 可搜索会话历史 【Ctrl+B 关闭 Tips】",
@@ -954,9 +1280,9 @@ const dictionaries = {
954
1280
  "tc.rejected": "已拒绝",
955
1281
  "tc.cancelled": "已取消",
956
1282
  "tc.error_prefix": "错误:",
957
- "dialog.cc_session_connected": "已连接 CC 会话 ({id})。",
1283
+ "dialog.cc_session_connected": "已连接通道会话({id})。",
958
1284
  "dialog.create_session_failed": "创建会话失败",
959
- "dialog.cc_managed": "CC 会话由 cc-connect 管理,请在聊天通道中操作。",
1285
+ "dialog.cc_managed": "该会话由 IM 通道管理,请在聊天应用里操作,或停止对应通道后删除。",
960
1286
  "dialog.memo_injected": "已注入备忘录 #{id}",
961
1287
  "dialog.approval_title": "Nexum Code 需要审批",
962
1288
  "dialog.question_title": "Nexum Code 需要您的回答",
@@ -977,7 +1303,23 @@ const dictionaries = {
977
1303
  "cronmsg.coalesced": "{count} 次合并触发",
978
1304
  "cronmsg.missed": "{count} 次错过",
979
1305
  "cronmsg.final_delivery": "最终投递",
1306
+ "activitygroup.running": "工具执行中",
1307
+ "activitygroup.done": "工具执行完成",
1308
+ "activitygroup.steps": "{count} 步",
1309
+ "activitygroup.tools": "{count} 个工具",
1310
+ "activitygroup.diff": "{added} {removed}",
1311
+ "activitygroup.diffAddedOnly": "{added}",
1312
+ "activitygroup.rate": " · 实速 {rate} toks/s",
1313
+ "activitygroup.hint_expand": " (ctrl+o 展开)",
1314
+ "activitygroup.hint_collapse": " (ctrl+o 收起)",
1315
+ "activitygroup.segments_hidden": "… 还有 {count} 步",
1316
+ "activitygroup.segments_folded_above": "… 前 {count} 步已折叠",
1317
+ "activitygroup.thinking_label": "Thinking",
1318
+ "activitygroup.thinking_summary": "Thinking: {summary}",
1319
+ "activitygroup.thinking_more": "...(还有 {count} 行)",
1320
+ "activitygroup.thinking_earlier": "...(前面还有 {count} 行)",
980
1321
  "thinking.in_progress": "思考中...",
1322
+ "tool.more_lines": "...(还有 {count} 行)",
981
1323
  "thinking.more_lines": "...(还有 {count} 行,按 ctrl+o 展开)",
982
1324
  "shell.more_lines": "...(还有 {count} 行,按 ctrl+o 展开)",
983
1325
  "ccconnect.note_botfather": "需先在 @BotFather 创建 bot",
@@ -1069,6 +1411,8 @@ const dictionaries = {
1069
1411
  "prompts.wire_openai_responses_desc": "OpenAI Responses API(推理模型)",
1070
1412
  "prompts.wire_anthropic": "Anthropic 协议",
1071
1413
  "prompts.wire_anthropic_desc": "Messages API 兼容的服务商",
1414
+ "prompts.wire_google_genai": "Google GenAI 协议",
1415
+ "prompts.wire_google_genai_desc": "Gemini generateContent API 兼容的服务商",
1072
1416
  "prompts.image_off": "关闭识图",
1073
1417
  "prompts.image_off_desc": "模型不支持图片输入时请选择此项",
1074
1418
  "prompts.image_on": "开启识图",
@@ -1093,11 +1437,14 @@ const dictionaries = {
1093
1437
  "config.plan_cleared": "计划已清除",
1094
1438
  "config.yolo_already_on": "YES 模式已开启",
1095
1439
  "config.yolo_already_off": "YES 模式已关闭",
1440
+ "config.bot_already_on": "Bot 模式已开启",
1441
+ "config.bot_already_off": "Bot 模式已关闭",
1096
1442
  "config.ask_already_on": "ASK 模式已开启",
1097
1443
  "config.ask_already_off": "ASK 模式已关闭",
1098
1444
  "config.rlm_on": "RLM 模式已开启 — 持久化 Python 内核可用",
1445
+ "config.script_on": "脚本模式已开启 — RunScript 可在沙箱中批量调用工具",
1446
+ "config.script_off": "脚本模式已关闭 — RunScript 已从工具中移除",
1099
1447
  "config.rlm_off": "RLM 模式已关闭",
1100
- "config.rlm_usage": "用法: /rlm (切换) | /rlm on | /rlm off",
1101
1448
  "config.auto_already_on": "自动模式已开启",
1102
1449
  "config.auto_already_off": "自动模式已关闭",
1103
1450
  "settings.title": "设置",
@@ -1129,32 +1476,42 @@ const dictionaries = {
1129
1476
  "dispatch.eval_suggest_tool": "文件读写工具执行未成功,请检查工作目录权限;若重试后仍失败,请反馈",
1130
1477
  "dispatch.eval_suggest_answer": "模型回答可能不完整或不正确,可尝试更换更强的模型后重试",
1131
1478
  "constant.llm_not_set": "LLM 未设置,运行 /config 自定义模型配置",
1479
+ "constant.model_detached": "当前模型已被移除,请用 /config 或 /model 重新选择。",
1132
1480
  "constant.no_active_session": "没有活动会话。运行 /config 自定义模型配置。",
1133
1481
  "constant.ctrl_d_hint": "再次按 Ctrl+D 退出",
1134
1482
  "constant.ctrl_c_hint": "再次按 Ctrl+C 退出",
1483
+ "tui.crash_recovery_title": "检测到上次会话未正常退出",
1484
+ "tui.crash_recovery_detail": "「{title}」没有正常关闭,可输入 /sessions 恢复。",
1485
+ "tui.copy_done": "已复制上一条回复",
1486
+ "tui.copy_empty": "没有可复制的回复",
1487
+ "tui.copy_failed": "复制失败:{msg}",
1135
1488
  "tui.resume_warning": "警告:{warning}",
1136
1489
  "tui.skill_failed": "Skill \"{skill}\" 执行失败:{message}",
1137
1490
  "tui.replay_no_new_session": "历史回放期间无法启动新会话。",
1138
1491
  "adapter.task_label": "任务 {taskId}",
1139
- "knowledge.path_placeholder": "/path/to/doc.md 或 /path/to/docs",
1492
+ "knowledge.path_placeholder": "/path/to/doc.md、/path/to/report.pdf 或 /path/to/docs",
1140
1493
  "knowledge.ingest_summary": "总计: {chunks} chunks, {events} events, {entities} entities",
1141
1494
  "knowledge.empty_store": "知识库为空,请先用 /knowledge 摄入文档",
1142
1495
  "knowledge.web_opened": "知识图谱已打开: {url}",
1143
- "cc.clean_config.detail": " ~/.cc-connect(含会话记录、配置、日志)",
1144
1496
  "registry.auto_desc": "切换自动权限模式",
1145
1497
  "registry.yolo_desc": "切换至自动批准模式(yolo)",
1498
+ "registry.bot_desc": "切换无人值守 Bot 模式(bot)",
1146
1499
  "registry.ask_desc": "切换至只读问答模式(ask)",
1147
1500
  "registry.rlm_desc": "RLM 模式:面向长任务的持久 Python 工作环境,支持无限递归子代理(/rlm 切换开关)",
1501
+ "registry.script_desc": "脚本模式:在沙箱中运行 JavaScript 批量调用工具(/script 切换)",
1148
1502
  "registry.rlm_max_depth_desc": "设置 RLM 递归深度上限(/rlm-max-depth N)",
1149
1503
  "registry.wolfpack_desc": "切换群狼协作模式,自动批准+批量并发",
1150
1504
  "registry.sessions_desc": "浏览并恢复会话",
1151
1505
  "registry.goal_desc": "查看/管理自动目标",
1506
+ "registry.sidebar_desc": "打开/关闭侧边面板(Ctrl+X 快速开关)",
1152
1507
  "registry.memory_desc": "浏览、搜索、注入记忆备忘录",
1153
1508
  "registry.knowledge_desc": "管理本地知识库(摄入/搜索/删除/统计)",
1154
1509
  "registry.new_desc": "在当前工作区开启新会话",
1155
1510
  "registry.model_desc": "切换 LLM 模型",
1156
1511
  "mcp.desktop_desc": "macOS 桌面自动化:截图/点击/键入/滚动/窗口管理(Background delivery,无需聚焦)",
1157
- "mcp.browser_desc": "浏览器自动化:46 个工具,支持导航/点击/填表/截图/性能分析/内存调试/扩展管理",
1512
+ "mcp.browser_desc": "浏览器自动化:导航/点击/填表/截图/控制台与网络调试/性能分析",
1513
+ "mcp.capability_browser": "🌐 浏览器自动化",
1514
+ "mcp.capability_memory": "🧠 决策记忆",
1158
1515
  "kw.title": "Nexum 知识图谱",
1159
1516
  "kw.entity": "实体",
1160
1517
  "kw.event": "事件",
@@ -1168,8 +1525,11 @@ const dictionaries = {
1168
1525
  "registry.fusionplan_desc": "切换融合计划模式(多子代理并行规划)",
1169
1526
  "registry.tasks_desc": "浏览后台任务",
1170
1527
  "registry.help_desc": "显示可用命令和快捷键",
1528
+ "registry.hotkeys_desc": "查看键盘快捷键",
1529
+ "registry.copy_desc": "复制上一条回复到剪贴板",
1171
1530
  "registry.status_desc": "显示当前会话和运行时状态",
1172
1531
  "registry.usage_desc": "显示 token 用量和上下文窗口",
1532
+ "registry.budget_desc": "设置本会话的 token 上限",
1173
1533
  "registry.btw_desc": "在不中断对话的情况下快速提问",
1174
1534
  "registry.snaptimer_desc": "开关会话快照计时器(每次回复后的用时标记)",
1175
1535
  "snaptimer.enabled": "会话快照计时器已开启",
@@ -1177,6 +1537,87 @@ const dictionaries = {
1177
1537
  "registry.hl_desc": "开关用户消息高亮块 — 开启后用户消息带背景色(暗色主题黄色、亮色主题橙红),便于与 AI 回复区分;关闭恢复默认显示",
1178
1538
  "hl.enabled": "用户消息高亮已开启",
1179
1539
  "hl.disabled": "用户消息高亮已关闭",
1540
+ "registry.blockrows_desc": "调整活动块行数(折叠高度 / 每个工具结果行数 / 每段思考行数),选择后立即生效并持久保存",
1541
+ "blockrows.title": "活动块行数",
1542
+ "blockrows.hint": "选择要调整的项",
1543
+ "blockrows.value_hint": "选择行数",
1544
+ "blockrows.item_collapsed": "折叠时的高度(含标题行)",
1545
+ "blockrows.item_tool": "展开时每个工具结果的行数",
1546
+ "blockrows.item_thinking": "展开时每段思考的行数",
1547
+ "blockrows.current": "当前: {value}",
1548
+ "blockrows.saved": "{label} → {value} 行",
1549
+ "registry.codebg_desc": "开关代码块的背景色面板(关闭后代码靠自身颜色与缩进区分),选择后立即生效并持久保存",
1550
+ "codebg.enabled": "代码块背景面板已开启",
1551
+ "codebg.disabled": "代码块背景面板已关闭",
1552
+ "registry.mermaid_desc": "选择 Mermaid 图的渲染方式",
1553
+ "mermaid.picker_title": "Mermaid 图渲染",
1554
+ "mermaid.picker_hint": "↑↓ 选择 · Enter 确认 · Esc 取消",
1555
+ "mermaid.picker_cancelled": "未改动,当前仍为「{mode}」",
1556
+ "mermaid.usage": "用法:/mermaid [on|ascii|off]",
1557
+ "mermaid.option.on": "开",
1558
+ "mermaid.option.ascii": "双宽模式",
1559
+ "mermaid.option.off": "关",
1560
+ "mermaid.desc.on": "把 ```mermaid 画成图(制表符边框)",
1561
+ "mermaid.desc.ascii": "照样画,但边框改用 ASCII 字符 —— 终端把制表符画成两格宽时用这个",
1562
+ "mermaid.desc.off": "不画,mermaid 块保持原样代码",
1563
+ "mermaid.applied": "Mermaid 图渲染已设为「{mode}」",
1564
+ "mermaid.note.not_rendered": "Mermaid 图未渲染:{reason}",
1565
+ "mermaid.note.incomplete": "Mermaid 图未完整渲染:{reason}",
1566
+ "mermaid.note.wider": "比当前终端还宽({width} > {available} 列)—— 把窗口拉宽一些,或让它拆成两张更小的图",
1567
+ "mermaid.note.flipped": "已自动改用更省纵向空间的排布方向",
1568
+ "mermaid.note.unsupported": "终端不画这类图",
1569
+ "mermaid.note.unparsed": "源码没能解析",
1570
+ "registry.cron_desc": "查看与管理定时任务",
1571
+ "cron.panel_title": "定时任务",
1572
+ "cron.panel_hint": "↑↓ 选择 · d 删除 · /cron add 新建 · Esc 关闭",
1573
+ "cron.empty": "还没有定时任务",
1574
+ "cron.empty_hint": "回车新建一个",
1575
+ "cron.no_next_fire": "无下次触发",
1576
+ "cron.firing": "即将触发",
1577
+ "cron.in_seconds": "{n} 秒后",
1578
+ "cron.in_minutes": "{n} 分钟后",
1579
+ "cron.in_hours": "{n} 小时后",
1580
+ "cron.in_days": "{n} 天后",
1581
+ "cron.kind_recurring": "重复",
1582
+ "cron.kind_once": "一次性",
1583
+ "cron.stale": "已过期",
1584
+ "cron.silent": "静默",
1585
+ "cron.mute": "静音",
1586
+ "cron.last_error": "上次失败:{error}",
1587
+ "cron.sched_5m": "每 5 分钟",
1588
+ "cron.sched_hourly": "每小时",
1589
+ "cron.sched_daily9": "每天 09:00",
1590
+ "cron.sched_daily18": "每天 18:00",
1591
+ "cron.sched_weekdays9": "工作日 09:00",
1592
+ "cron.sched_custom": "自定义表达式…",
1593
+ "cron.sched_custom_hint": "5 段 cron:分 时 日 月 周",
1594
+ "cron.sched_every_minutes": "每 {n} 分钟",
1595
+ "cron.sched_daily": "每天 {time}",
1596
+ "cron.sched_weekdays": "工作日 {time}",
1597
+ "cron.wizard_schedule_title": "什么时候触发?",
1598
+ "cron.wizard_schedule_hint": "↑↓ 选择 · Enter 下一步 · Esc 取消",
1599
+ "cron.wizard_custom_title": "自定义 cron 表达式",
1600
+ "cron.wizard_custom_hint": "分 时 日 月 周,例如 */5 * * * *",
1601
+ "cron.wizard_task_title": "要它做什么?",
1602
+ "cron.wizard_task_placeholder": "例如:检查 CI 状态并汇报失败原因",
1603
+ "cron.wizard_kind_title": "只做一次,还是每次都做?",
1604
+ "cron.wizard_kind_hint": "↑↓ 选择 · Enter 确认 · Esc 取消",
1605
+ "cron.kind_recurring_hint": "按表达式反复触发;满 7 天后触发最后一次并自动删除",
1606
+ "cron.session_only": "只在本会话运行期间触发;关闭后,在同一目录用 nexum -C(或进入后用 /sessions)恢复该会话才会继续",
1607
+ "cron.kind_once_hint": "只在下一次触发,随后自动删除",
1608
+ "cron.cancelled": "已取消",
1609
+ "cron.creating": "正在创建定时任务…",
1610
+ "cron.created": "定时任务已创建",
1611
+ "cron.create_failed": "创建失败",
1612
+ "cron.deleting": "正在删除定时任务…",
1613
+ "cron.deleted": "定时任务已删除",
1614
+ "cron.not_found": "该任务不存在(可能已被删除)",
1615
+ "cron.delete_failed": "删除失败",
1616
+ "cron.confirm_title": "删除这个定时任务?",
1617
+ "cron.confirm_hint": "删除后不可恢复",
1618
+ "cron.confirm_delete": "确认删除",
1619
+ "cron.usage": "用法:/cron [list|add|rm <id>]",
1620
+ "cron.no_session": "当前没有会话",
1180
1621
  "onboarding.description": "Nexum 需要先选一个模型才能开始工作,一分钟即可完成配置。",
1181
1622
  "onboarding.configure": "立即配置",
1182
1623
  "onboarding.skip": "跳过(稍后用 /config 配置)",
@@ -1185,13 +1626,12 @@ const dictionaries = {
1185
1626
  "registry.mcp_desc": "管理 MCP 服务器(安装/停用/卸载)",
1186
1627
  "registry.plugin_desc": "插件中心,管理插件,含激活、安装、卸载等",
1187
1628
  "registry.extension_desc": "代码扩展,激活或停用插件入口",
1188
- "registry.cc_desc": "操控你的cc(启动/关闭/重启)",
1189
- "registry.cc_connect_desc": "cc-connect 快速通道配置(需先安装)",
1190
1629
  "registry.revoke_desc": "撤回上一次对话(可指定轮数,如 /revoke 3)",
1191
1630
  "registry.fork_desc": "复制当前会话并新开分支",
1192
1631
  "registry.title_desc": "设置或显示会话标题",
1193
- "registry.config_desc": "浏览并配置模型(远程拉取最新目录)",
1632
+ "registry.config_desc": "配置模型服务(快捷选择 / 自定义 / 生图)",
1194
1633
  "registry.permission_desc": "选择权限模式",
1634
+ "registry.grants_desc": "查看并撤销本会话的审批授权",
1195
1635
  "registry.theme_desc": "设置终端 UI 主题",
1196
1636
  "registry.language_desc": "切换界面语言 / Switch interface language",
1197
1637
  "registry.editor_desc": "设置外部编辑器",
@@ -1232,15 +1672,21 @@ const dictionaries = {
1232
1672
  "wolfpack.on_desc": "批量并发代理已激活。",
1233
1673
  "wolfpack.off": "WolfPack 模式:关闭",
1234
1674
  "badge.plan": "计划",
1235
- "badge.fusion": "融合计划",
1675
+ "badge.fusion": "融合",
1236
1676
  "badge.wolfpack": "群狼",
1237
1677
  "badge.rlm": "RLM",
1238
1678
  "badge.goal": "目标",
1239
1679
  "badge.auto": "自动",
1240
1680
  "badge.yes": "YES",
1681
+ "badge.bot": "BOT",
1682
+ "badge.ask": "ASK",
1241
1683
  "kw.lang_toggle": "English",
1242
1684
  "kw.embedding_downloading": "向量模型下载中…",
1243
- "kw.embedding_failed": "向量模型加载失败,请返回菜单选择重新下载(建议科学上网)",
1685
+ "kw.embedding_progress": "正在下载向量模型 {done} / {total}({percent}%)",
1686
+ "kw.embedding_progress_unknown": "正在下载向量模型 {done}",
1687
+ "kw.embedding_verifying": "正在校验模型文件…",
1688
+ "kw.embedding_loading": "正在加载模型…(首次约需十几秒)",
1689
+ "kw.embedding_failed": "向量模型加载失败",
1244
1690
  "kw.embedding_ready": "向量模型已就绪",
1245
1691
  "kw.embedding_not_downloaded": "向量模型未下载(选择「下载向量模型」手动下载)",
1246
1692
  "kw.embedding_data_intact": " —— 你的知识数据仍然存在,下载模型后即可正常使用",
@@ -1248,7 +1694,222 @@ const dictionaries = {
1248
1694
  "kw.setup_description": "检测到向量模型尚未下载。下载后 /knowledge 知识库与 /memory 记忆将启用语义检索(模型约 95 MB,只需下载一次)。",
1249
1695
  "kw.setup_download": "立即下载",
1250
1696
  "kw.setup_skip": "暂不下载",
1251
- "kw.setup_hint": "↑↓ 选择 · Enter 确认 · Esc 跳过"
1697
+ "kw.setup_hint": "↑↓ 选择 · Enter 确认 · Esc 跳过",
1698
+ "status.calling_tool": "调用中",
1699
+ "knowledge.embedding_install_hint": "本地向量组件缺失或不完整。请重装后重试:npm i -g nexum-code",
1700
+ "auth.deleted_current": "已删除模型商: {name}。当前会话已保留,重新选择模型后即可继续(/config 或 /model)。",
1701
+ "auth.logout_busy": "正在执行任务时无法删除模型商 — 请先按 Esc 或 Ctrl-C。",
1702
+ "config.entry_title": "配置模型服务",
1703
+ "config.entry_hint": "使用 ↑/↓ 选择,Enter 确认,Esc 取消",
1704
+ "config.entry_quick": "快速选择",
1705
+ "config.entry_quick_desc": "从内置目录挑选服务商与模型,自动完成配置",
1706
+ "config.entry_diy": "自定义",
1707
+ "config.entry_diy_desc": "手动填写接口类型、地址、密钥与模型参数",
1708
+ "config.entry_image": "生图配置",
1709
+ "config.entry_image_desc": "配置生图服务(服务商 / 地址 / 密钥 / 模型)",
1710
+ "footer.shift_tab": "shift+tab: 计划模式",
1711
+ "footer.model": "/model: 切换模型",
1712
+ "footer.ctrl_s": "ctrl+s: 中途干预",
1713
+ "footer.compact": "/compact: 压缩上下文",
1714
+ "footer.ctrl_o": "ctrl+o: 展开工具输出",
1715
+ "footer.tasks": "/tasks: 后台任务",
1716
+ "footer.shift_enter": "shift+enter: 换行",
1717
+ "footer.init": "/init: 生成 AGENTS.md",
1718
+ "footer.at": "@: 提及文件",
1719
+ "footer.ctrl_c": "ctrl+c: 取消",
1720
+ "footer.skill": "/skill: 打开 Skill 中心",
1721
+ "footer.help": "/help: 显示命令",
1722
+ "footer.config": "/config: 选择并配置你常用的模型商",
1723
+ "footer.reminder": "让 Nexum 安排任务,例如 \"2个小时后提醒我去拿快递\"",
1724
+ "footer.context_short": "上下文: {bar}",
1725
+ "cc.clean_config.detail": " ~/.cc-connect(含会话记录、配置、日志)",
1726
+ "registry.cc_desc": "操控你的cc(启动/关闭/重启)",
1727
+ "registry.cc_connect_desc": "cc-connect 快速通道配置(需先安装)",
1728
+ "cli.err.prompt_empty": "提示不能为空。",
1729
+ "cli.err.model_empty": "模型不能为空。",
1730
+ "cli.err.max_time_prompt_only": "--max-time 只在提示模式(-p)下可用。",
1731
+ "cli.err.max_time_invalid": "--max-time 的值无效:{value}。可写 600、90s、10m、1h30m,至少 1 秒。",
1732
+ "cli.err.output_format_prompt_only": "输出格式仅在提示模式下支持。",
1733
+ "cli.err.prompt_conflict": "--prompt 不能与 {flag} 同时使用。",
1734
+ "cli.err.session_id_required": "在提示模式下不能使用不带 ID 的 --session。",
1735
+ "cli.err.continue_session_conflict": "--continue 和 --session 不能同时使用。",
1736
+ "cli.err.yolo_auto_conflict": "--yolo 不能与 --auto 同时使用。",
1737
+ "cli.err.resume_conflict": "{flag} 不能与 --continue 或 --session 同时使用。",
1738
+ "cli.err.prefix": "错误:{message}",
1739
+ "cli.err.see_log": "查看日志:{path}",
1740
+ "cli.op.run_prompt": "运行提示",
1741
+ "cli.op.start_shell": "启动 shell",
1742
+ "cli.err.operation_failed": "错误:{operation} 失败:{message}",
1743
+ "cli.err.title": "错误:{title}",
1744
+ "cli.err.message_label": "消息:",
1745
+ "cli.help.description": "下一代智能体的起点",
1746
+ "cli.help.help": "显示帮助。",
1747
+ "cli.help.docs": "文档:",
1748
+ "cli.opt.session": "恢复会话。带 ID:恢复该会话。不带 ID:交互式选择。",
1749
+ "cli.opt.continue": "继续当前工作目录的上一个会话。",
1750
+ "cli.opt.yolo": "自动批准所有操作。",
1751
+ "cli.opt.auto": "以自动权限模式启动。",
1752
+ "cli.opt.model": "本次调用使用的 LLM 模型别名。默认使用 config.toml 中的 default_model。",
1753
+ "cli.opt.prompt": "非交互式运行一条提示并打印响应。",
1754
+ "cli.opt.max_time": "提示模式的总时限,超时后中止并以退出码 124 结束,会话保留可恢复(如 600、90s、10m、1h30m)。",
1755
+ "cli.opt.output_format": "提示模式的输出格式。默认为 text。",
1756
+ "cli.opt.skills_dir": "从该目录加载技能,而不是自动发现的用户和项目目录。可多次指定。",
1757
+ "cli.opt.plan": "以计划模式启动。",
1758
+ "cli.opt.wolfpack": "启动时默认开启 WolfPack 批量并发模式。",
1759
+ "cli.line.description": "IM 原生通道守护进程(飞书/Lark、微信;在 TUI 里用 /line 配置)",
1760
+ "cli.line.cmd_run": "前台运行守护进程(调试用)",
1761
+ "cli.line.cmd_start": "后台启动守护进程",
1762
+ "cli.line.cmd_stop": "停止守护进程",
1763
+ "cli.line.cmd_status": "查看守护进程状态",
1764
+ "cli.goodbye": "再见!",
1765
+ "cli.resume_hint": "恢复此会话:{command}",
1766
+ "cli.prompt.session_not_found": "未找到会话 \"{id}\"。",
1767
+ "cli.prompt.session_other_dir": "会话 \"{id}\" 是在其他目录下创建的。",
1768
+ "cli.prompt.no_session_to_continue": "\"{dir}\" 下没有可继续的会话;正在启动新会话。",
1769
+ "cli.prompt.no_model": "未配置模型。运行 `nexum` 并使用 /login 登录后重试;或在 config.toml 中设置 default_model。",
1770
+ "cli.prompt.max_time": "已达到 --max-time 时限({duration}),本次运行已中止;会话已保存,可用 --session 继续。",
1771
+ "cli.prompt.token_cap": "会话 token 用量已达上限({used} / {limit},max_session_tokens)",
1772
+ "cli.prompt.hook_blocked": " 已阻止",
1773
+ "cli.prompt.empty": "(空)",
1774
+ "cli.prompt.turn_ended": "提示回合结束,原因:{reason}",
1775
+ "cli.stream.session_ended": "会话已结束",
1776
+ "cli.stream.subtask_started": "[子任务: {name}]",
1777
+ "cli.stream.subtask_done": "[子任务完成: {name}]",
1778
+ "cli.stream.subtask_failed": "[子任务失败: {name} - {error}]",
1779
+ "cli.stream.session_reset": "会话已重置",
1780
+ "cli.stream.session_auto_reset": "会话已自动重置,请重新发送你的消息。",
1781
+ "cli.export.none": "未找到可导出的历史会话。",
1782
+ "cli.export.cancelled": "导出已取消。",
1783
+ "cli.export.description": "导出会话为 ZIP 压缩包。",
1784
+ "cli.export.opt_output": "输出 ZIP 路径。",
1785
+ "cli.export.opt_yes": "跳过历史会话确认。",
1786
+ "cli.export.opt_no_log": "不打包当前全局诊断日志(~/.nexum-code/logs/nexum-code.log,不含轮转的 .1 文件)。默认会包含全局日志。",
1787
+ "cli.export.arg_session": "要导出的会话 ID。默认使用最近的会话。",
1788
+ "cli.export.confirm": "导出历史会话 \"{title}\"?[Y/n] ",
1789
+ "cli.line.not_configured": "尚未配置任何平台(飞书/微信)。请在 nexum TUI 里运行 /line 完成配置向导。",
1790
+ "cli.line.already_running": "line 守护进程已在运行(pid {pid})。",
1791
+ "cli.line.started": "line 守护进程已启动(pid {pid})。日志:~/.nexum-code/line/daemon.log",
1792
+ "cli.line.stopped": "line 守护进程已停止。",
1793
+ "cli.line.not_running": "line 守护进程未在运行。",
1794
+ "cli.line.state_running": "运行中(pid {pid})",
1795
+ "cli.line.state_stopped": "未运行",
1796
+ "cli.line.status": "line 守护进程:{state}",
1797
+ "cli.line.platforms": "飞书配置:{feishu};微信配置:{weixin}",
1798
+ "cli.line.configured": "已配置",
1799
+ "cli.line.unconfigured": "未配置",
1800
+ "cli.line.config_file": "配置文件:{path}",
1801
+ "cli.line.mode": "权限模式:{mode};开机随 nexum 自动拉起:{auto}",
1802
+ "cli.line.on": "开",
1803
+ "cli.line.off": "关",
1804
+ "cli.line.setup_hint": "提示:在 nexum TUI 里运行 /line 完成配置向导(飞书或微信)。",
1805
+ "cli.update.manual": "Nexum Code 有新版本可用 ({current} -> {target})。\n自动更新失败,请手动执行:\n {command}\n",
1806
+ "cli.update.success": "已更新至 {version}。请重新启动 nexum 以使用新版本。\n",
1807
+ "cli.update.timeout": "npm install 超时",
1808
+ "cli.update.install_failed": "npm install 失败(exit {code})",
1809
+ "cli.update.failed_warning": "警告:更新失败:{message}\n",
1810
+ "cli.update.install_hint": "立即安装更新",
1811
+ "cli.update.skip_hint": "继续使用当前版本",
1812
+ "cli.update.source_npm": "npm 安装",
1813
+ "cli.update.changelog": "查看更新日志:{url}",
1814
+ "cli.update.title": "Nexum Code 更新可用",
1815
+ "cli.update.available": "{product} 有新版本可用。",
1816
+ "cli.update.label_current": "当前",
1817
+ "cli.update.label_target": "目标 ",
1818
+ "cli.update.label_source": "来源 ",
1819
+ "cli.update.label_command": "命令",
1820
+ "cli.update.keys": "↑↓ 选择 · Enter 确认 · Esc 继续",
1821
+ "cli.update.bad_semver": "npm view 返回的版本号不是合法 semver: {raw}",
1822
+ "cli.version.no_package_json": "无法在 {dir} 附近找到 package.json",
1823
+ "budget.picker_title": "会话 token 上限",
1824
+ "budget.picker_hint": "↑↓ 选择 · Enter 确认 · Esc 取消 · 也可直接输入 /budget 50m",
1825
+ "budget.status": "本次运行已用:{used} · 上限:{limit}",
1826
+ "budget.limit_none": "未设置",
1827
+ "budget.option_off": "不设上限",
1828
+ "budget.option_custom": "自定义…",
1829
+ "budget.custom_title": "会话 token 上限",
1830
+ "budget.custom_subtitle": "本会话最多可以用多少 token?例如 50m、500k、1b、500万(0 = 不设上限)",
1831
+ "budget.custom_invalid": "\"{input}\" 不是有效的 token 数量,可以写 50m、500k 或 1b",
1832
+ "budget.invalid": "无法把 \"{input}\" 识别为 token 数量,可以写 500k、20m、1b、500万 或 off。",
1833
+ "budget.set": "会话 token 上限已设为 {limit},立即生效,并作为新会话的默认值。",
1834
+ "budget.cleared": "已取消会话 token 上限,立即生效,新会话也不再限制。",
1835
+ "budget.already_over": "本次运行已用 {used},已超过新上限,模型请求会保持暂停,直到你调高上限。",
1836
+ "budget.apply_failed": "无法在当前会话上修改上限:{error}",
1837
+ "budget.save_failed": "已在当前会话生效,但保存为默认值失败:{error}",
1838
+ "skill_candidate.purpose": "({purpose})",
1839
+ "skill_candidate.request": "检测到可复用过程「{name}」{purpose}。请用 AskUserQuestion 工具询问用户是否将其保存为可复用技能(选项:生成 / 忽略)。用户选择「生成」后,用 MakeSkillPlan 生成该技能,再用 MakeSkillApply 落盘;落盘后把 plan.verification.instructions 原样告诉用户,并说明这是装完后要跑的触发检查。选择「忽略」则直接说明已跳过。",
1840
+ "skill_candidate.ask_failed": "检测到可复用过程「{name}」,但询问失败。可稍后手动处理。",
1841
+ "compact.guard_notice": "当前上下文仅 {current} / {max}({pct}%),压缩无收益。建议继续对话,待上下文增长至 5% 以上再执行 /compact。",
1842
+ "model.switch_guard_notice": "无法切换到模型「{alias}」:当前会话上下文 {current} 已超出该模型上限 {max}。建议先执行 /compact 压缩上下文,或选择上下文窗口更大的模型。",
1843
+ "model.picker_empty_title": "未配置模型",
1844
+ "model.picker_empty_detail": "运行 /config 自定义模型配置。",
1845
+ "editor.unchanged": "编辑器未变化:{value}",
1846
+ "editor.save_failed": "保存编辑器设置失败:{error}",
1847
+ "editor.set_value": "编辑器已设置为 \"{value}\"。",
1848
+ "editor.set_auto": "编辑器设置为自动检测 ($VISUAL / $EDITOR)。",
1849
+ "trace.err.no_session": "当前会话不可用,无法导出轨迹",
1850
+ "trace.err.no_wire": "未找到轨迹文件: {path}",
1851
+ "trace.opened": "轨迹已打开",
1852
+ "trace.generated": "轨迹已生成,请手动打开",
1853
+ "trace.err.export_failed": "轨迹导出失败: {error}",
1854
+ "clipboard.video_too_large": "视频大小为 {size} MB;最大支持 100 MB。",
1855
+ "session.imported_badge": "[已导入]",
1856
+ "marketplace.err.invalid_json": "插件市场不是有效的 JSON: {error}",
1857
+ "marketplace.err.not_object": "插件市场必须是一个对象.",
1858
+ "marketplace.err.plugins_array": "插件市场必须包含 \"plugins\" 数组.",
1859
+ "marketplace.err.url_empty": "{env} 不能为空.",
1860
+ "marketplace.err.http": "插件市场返回 HTTP {status}",
1861
+ "marketplace.err.entry_object": "插件市场条目 {index} 必须是一个对象.",
1862
+ "marketplace.err.entry_source": "插件市场条目 {id} 必须定义 \"source\".",
1863
+ "marketplace.err.tier_string": "插件市场条目 {id} \"tier\" 必须是字符串.",
1864
+ "marketplace.err.tier_values": "插件市场条目 {id} \"tier\" 必须是以下之一: {values}.",
1865
+ "marketplace.err.entry_field": "插件市场条目 {index} 必须定义 \"{field}\".",
1866
+ "lifecycle.memory_countdown": "即将提取记忆",
1867
+ "lifecycle.memory_cancel_hint": "会话已空闲,将在 {seconds} 秒后提取记忆。按任意键取消。",
1868
+ "lifecycle.memory_cancelled": "已取消记忆提取。",
1869
+ "lifecycle.memory_processing": "正在提取记忆…",
1870
+ "lifecycle.memory_done": "已提取 {count} 条记忆。",
1871
+ "lifecycle.memory_none": "没有可提取的新记忆。",
1872
+ "lifecycle.memory_failed": "记忆提取失败。",
1873
+ "trace.cell.thinking": "思考…",
1874
+ "trace.cell.tools": "工具: {tools}",
1875
+ "trace.cell.empty_reply": "(空回复)",
1876
+ "trace.cell.empty_input": "(空输入)",
1877
+ "trace.cell.steer": "转向: {text}",
1878
+ "trace.cell.approval_timeout": "审批超时",
1879
+ "trace.cell.approval_cancelled": "审批取消",
1880
+ "trace.cell.approval_rejected": "审批拒绝",
1881
+ "trace.cell.request": "请求 {model}",
1882
+ "trace.cell.toolset": "工具集: {tools}",
1883
+ "trace.cell.model_alias": "模型别名: {alias}",
1884
+ "trace.cell.prompt_updated": "系统提示词已更新",
1885
+ "trace.cell.reason": "({reason})",
1886
+ "trace.cell.compaction": "压缩上下文{reason}",
1887
+ "trace.cell.micro_compaction": "微压缩{reason}",
1888
+ "trace.cell.source": "来源: {source}",
1889
+ "trace.cell.truncated": "…[已截断 {count} 字符]",
1890
+ "trace.cell.folded_range": "(回合 {first}-{last})",
1891
+ "trace.cell.folded": "更早的轨迹已折叠{range}:{count} 条记录",
1892
+ "trace.html.title_suffix": "会话轨迹",
1893
+ "trace.html.search": "搜索…",
1894
+ "trace.html.kind": "类型",
1895
+ "trace.html.index": "序号",
1896
+ "trace.html.time": "耗时",
1897
+ "trace.html.turn": "回合",
1898
+ "trace.html.input": "输入",
1899
+ "trace.html.cache_read": "缓存读",
1900
+ "trace.html.cache_write": "缓存写",
1901
+ "trace.html.output": "输出",
1902
+ "trace.html.decode": "解码",
1903
+ "trace.html.model": "模型",
1904
+ "trace.html.finish": "结束",
1905
+ "trace.html.thinking": "思考",
1906
+ "trace.html.content": "内容",
1907
+ "trace.html.tool_result": "工具结果",
1908
+ "trace.html.no_detail": "无详情",
1909
+ "trace.html.no_match": "无匹配记录",
1910
+ "trace.html.count": "{shown} / {total} 条",
1911
+ "trace.html.turn_count": "· {n} 条",
1912
+ "trace.html.time_tip": "耗时 {seconds}s"
1252
1913
  },
1253
1914
  en: {
1254
1915
  "status.not_set": "Not set",
@@ -1277,7 +1938,19 @@ const dictionaries = {
1277
1938
  "status.composing": "Writing",
1278
1939
  "status.tool": "Running",
1279
1940
  "status.waiting": "Waiting",
1280
- "status.reconnecting_detail": "Reconnecting {attempt}/{max} · {reason} · retry in {delay}s",
1941
+ "status.compacting": "Compacting",
1942
+ "status.awaiting_approval": "Awaiting approval",
1943
+ "status.awaiting_answer": "Awaiting answer",
1944
+ "status.reconnecting_short": "Retrying {attempt}/{max}",
1945
+ "status.collab_request": "🤝 {name} needs help: {issue}",
1946
+ "status.collab_request_bare": "🤝 {name} needs help",
1947
+ "status.collab_handled": "✓ Nexum handled the request from {name}",
1948
+ "status.cron_fired": "⏰ Scheduled task fired: {preview}",
1949
+ "status.cron_fired_coalesced": "⏰ Scheduled task fired ({count} runs merged): {preview}",
1950
+ "status.cron_once": "⏰ One-time reminder fired: {preview}",
1951
+ "status.cron_stale": "⚠️ Scheduled task expired, fired anyway: {preview}",
1952
+ "status.cron_empty": "⚠️ Scheduled task finished with no output: {preview}",
1953
+ "status.reconnecting_detail": "⚠️ Reconnecting {attempt}/{max}: {reason} · {delay}s",
1281
1954
  "status.reason_rate_limit": "rate limited",
1282
1955
  "status.reason_server": "server error",
1283
1956
  "status.reason_timeout": "network timeout",
@@ -1311,6 +1984,8 @@ const dictionaries = {
1311
1984
  "approval.header.plan": "Build according to this plan?",
1312
1985
  "approval.header.generic": "Approve {name}?",
1313
1986
  "approval.feedback_hint": "Enter feedback · ↵ to submit.",
1987
+ "approval.warnings_title": "Warnings",
1988
+ "approval.request_summary": "Request:",
1314
1989
  "common.cancel": "Cancel",
1315
1990
  "common.confirm": "Confirm",
1316
1991
  "common.submit": "Submit",
@@ -1330,32 +2005,70 @@ const dictionaries = {
1330
2005
  "common.not_set": "Not set",
1331
2006
  "error.path_empty": "Path cannot be empty",
1332
2007
  "error.path_not_exist": "Path does not exist: {path}",
1333
- "error.unsupported_format": "Only .md, .markdown, .txt files are supported",
2008
+ "error.unsupported_format": "Only .md, .markdown, .txt, .pdf, .docx and .xlsx files are supported",
1334
2009
  "error.image_not_supported": "Current model does not support image input.",
1335
2010
  "error.video_not_supported": "Current model does not support video input.",
1336
2011
  "error.network_timeout": "Network timeout. Check your connection or try with a proxy.",
1337
2012
  "error.load_failed": "Load failed: {msg}",
1338
2013
  "error.internal": "Internal error",
1339
2014
  "error.no_session": "No active session.",
1340
- "footer.shift_tab": "shift+tab: Plan mode",
1341
- "footer.model": "/model: Switch model",
1342
- "footer.ctrl_s": "ctrl+s: Interrupt",
1343
- "footer.compact": "/compact: Compress context",
1344
- "footer.ctrl_o": "ctrl+o: Expand tool output",
1345
- "footer.tasks": "/tasks: Background tasks",
1346
- "footer.shift_enter": "shift+enter: New line",
1347
- "footer.init": "/init: Generate AGENTS.md",
1348
- "footer.at": "@: Mention files",
1349
- "footer.ctrl_c": "ctrl+c: Cancel",
1350
- "footer.skill": "/skill: Skill center",
1351
- "footer.help": "/help: Show commands",
1352
- "footer.config": "/config: Configure your model provider",
1353
- "footer.reminder": "Let Nexum schedule tasks, e.g. \"remind me to pick up the package in 2 hours\"",
1354
- "footer.context": "Context: {bar} ({tokens}/{maxTokens})",
1355
- "footer.context_short": "Context: {bar}",
1356
- "footer.hit": "HitR",
1357
- "footer.tasks_running": "{count} tasks running",
1358
- "footer.agents_running": "{count} agents running",
2015
+ "error.session_header_hint": "Set session_header = \"{name}\" under this provider in config.toml to supply the required session id.",
2016
+ "footer.context": "📨 Context:{bar} {percent}",
2017
+ "footer.context_plain": "📨 Context:{percent}",
2018
+ "footer.hit": "Cache hit",
2019
+ "footer.hit_short": "Cache",
2020
+ "footer.git_label": "📁 Git",
2021
+ "footer.line_status": "Line: {status}",
2022
+ "footer.line_short": "Line",
2023
+ "footer.line_disconnected": "Disconnected",
2024
+ "footer.line_wechat": "WeChat",
2025
+ "footer.line_lark": "Lark",
2026
+ "footer.tasks_running": "bg task x{count}",
2027
+ "footer.agents_running": "bg agent x{count}",
2028
+ "footer.subagents_working": "fg agent x{count}",
2029
+ "footer.running_total": "running {count}",
2030
+ "footer.goal": "Goal {time} · {turns} turns",
2031
+ "footer.goal_turns": "Goal {turns} turns",
2032
+ "sidebar.git": "Git",
2033
+ "sidebar.session": "Session",
2034
+ "sidebar.goal": "Goal",
2035
+ "sidebar.git_no_repo": "no git repo",
2036
+ "sidebar.git_clean": "clean working tree",
2037
+ "sidebar.git_files": "{count} files",
2038
+ "sidebar.session_empty": "no session data",
2039
+ "sidebar.tokens": "Total",
2040
+ "sidebar.tokens_cache_hit": "Cached",
2041
+ "sidebar.tokens_cache_miss": "Uncached",
2042
+ "sidebar.tokens_output": "Output",
2043
+ "sidebar.turns": "Turns",
2044
+ "sidebar.tools": "Tool calls",
2045
+ "sidebar.calls": "API calls",
2046
+ "sidebar.compacts": "Compacts",
2047
+ "sidebar.agents": "Agents",
2048
+ "sidebar.agent_idle": "idle",
2049
+ "sidebar.agent_working": "working",
2050
+ "sidebar.agent_outputting": "outputting",
2051
+ "sidebar.agent_messaging": "messaging",
2052
+ "sidebar.agent_reworking": "reworking",
2053
+ "sidebar.agent_requesting": "asking",
2054
+ "sidebar.hub": "Network Hub",
2055
+ "sidebar.hub_model": "model",
2056
+ "sidebar.goal_idle": "no goal",
2057
+ "sidebar.goal_active": "active",
2058
+ "sidebar.goal_completed": "completed",
2059
+ "sidebar.goal_paused": "paused",
2060
+ "sidebar.goal_blocked": "blocked",
2061
+ "sidebar.goal_judging": "judging",
2062
+ "sidebar.goal_criterion": "criterion",
2063
+ "sidebar.goal_tokens": "tokens",
2064
+ "sidebar.goal_tokens_input": "input",
2065
+ "sidebar.goal_tokens_output": "output",
2066
+ "sidebar.goal_turns": "turns",
2067
+ "sidebar.goal_wall": "wall",
2068
+ "sidebar.goal_judge": "judge",
2069
+ "sidebar.goal_judge_awaiting": "awaiting",
2070
+ "sidebar.goal_judge_judging": "judging",
2071
+ "sidebar.goal_judge_adjudicated": "adjudicated",
1359
2072
  "input.replay_blocked": "Cannot send input while session history is replaying.",
1360
2073
  "input.send_failed": "Send failed: {message}",
1361
2074
  "input.guide_failed": "Guide failed: {message}",
@@ -1387,6 +2100,7 @@ const dictionaries = {
1387
2100
  "language.switched": "Language switched to {locale}",
1388
2101
  "language.restart_hint": "Restart nexum-code for all UI text to take effect",
1389
2102
  "knowledge.chunking": "Chunking file...",
2103
+ "knowledge.converting": "Converting document: {file}",
1390
2104
  "knowledge.embedding_chunks": "Embedding chunks: {index}/{total}",
1391
2105
  "knowledge.extracting": "Extracting events: {index}/{total}",
1392
2106
  "knowledge.embedding_events": "Embedding events: {index}/{total}",
@@ -1394,7 +2108,7 @@ const dictionaries = {
1394
2108
  "knowledge.embedding_relations": "Embedding relations...",
1395
2109
  "knowledge.error": "Error: {msg}",
1396
2110
  "knowledge.ingest": "Ingest files",
1397
- "knowledge.ingest_desc": "Enter a markdown/txt file or folder path [Ingestion calls LLM for event extraction; for large files, consider a cost-effective model]",
2111
+ "knowledge.ingest_desc": "Enter a Markdown/TXT file or folder path (Markdown recommended: cleanest structure, best retrieval). PDF / Word(.docx) / Excel(.xlsx) are supported too, but scans, image-heavy files and wide tables extract poorly [Ingestion calls LLM for event extraction; for large files, consider a cost-effective model]",
1398
2112
  "knowledge.ingesting": "Starting ingest...",
1399
2113
  "knowledge.ingest_done": "Ingest complete",
1400
2114
  "knowledge.ingest_fail": "Ingest failed",
@@ -1414,7 +2128,9 @@ const dictionaries = {
1414
2128
  "knowledge.search_fail": "Search failed",
1415
2129
  "knowledge.search_result": "Search Results",
1416
2130
  "knowledge.no_hits": "Query \"{query}\" matched no chunks",
1417
- "knowledge.vector_degraded": "Vector model not ready, using keyword search mode. If download failed, try enabling a proxy and restart.",
2131
+ "knowledge.search_deep": "Deep search",
2132
+ "knowledge.search_deep_desc": "LLM entity recall + rerank: slower but more precise (default search is local-only fast mode)",
2133
+ "knowledge.vector_degraded": "Vector model not ready, using keyword search mode. You can retry the download from the /knowledge menu.",
1418
2134
  "knowledge.query_label": "Query",
1419
2135
  "knowledge.no_title": "(untitled)",
1420
2136
  "knowledge.source_label": "Source",
@@ -1431,7 +2147,6 @@ const dictionaries = {
1431
2147
  "knowledge.deleted": "Deleted",
1432
2148
  "knowledge.doc_removed": "Document removed from knowledge base",
1433
2149
  "knowledge.cancelled": "Cancelled",
1434
- "knowledge.no_delete_doc": "No documents deleted",
1435
2150
  "knowledge.stats": "Knowledge Base Stats",
1436
2151
  "knowledge.stats_desc": "View knowledge base statistics",
1437
2152
  "knowledge.stats_note": "Notes",
@@ -1440,7 +2155,7 @@ const dictionaries = {
1440
2155
  "knowledge.stats_chunks": "Chunks (split by heading)",
1441
2156
  "knowledge.stats_events": "LLM-extracted fusion events",
1442
2157
  "knowledge.stats_entities": "Deduplicated entities",
1443
- "knowledge.ingest_full": "Ingest knowledge from markdown/txt files or folders (chunk + extract events + extract entities)",
2158
+ "knowledge.ingest_full": "Ingest knowledge from Markdown / TXT / PDF / Word(.docx) / Excel(.xlsx) files or folders (chunk + extract events + extract entities)",
1444
2159
  "knowledge.doc_list": "Document List",
1445
2160
  "knowledge.doc_list_desc": "View all ingested documents",
1446
2161
  "knowledge.search_effect": "Enter a query to test multi-hop retrieval",
@@ -1449,7 +2164,10 @@ const dictionaries = {
1449
2164
  "knowledge.download_model": "Download vector model",
1450
2165
  "knowledge.download_model_desc": "Manually download the bge-small-zh-v1.5 model (~95 MB) to enable semantic search",
1451
2166
  "knowledge.download_model_installed": " (installed)",
1452
- "knowledge.download_model_retry_hint": "Return to the menu and select Download vector model to retry. A proxy is recommended.",
2167
+ "knowledge.embedding_platform_hint": "No local model binary on this platform; keyword search still works",
2168
+ "knowledge.embedding_cache_corrupt_hint": "Corrupt model cache; cleared and retried, still failing — try again later",
2169
+ "knowledge.embedding_network_hint": "Return to the menu and retry the download; a proxy helps when the network is restricted.",
2170
+ "knowledge.embedding_unknown_hint": "Please retry; if it keeps failing, send us the error line below.",
1453
2171
  "knowledge.menu_title": "SAG Knowledge Base",
1454
2172
  "knowledge.menu_hint": "Select an action (Esc to exit)",
1455
2173
  "knowledge.op_failed": "Operation failed: {msg}",
@@ -1525,7 +2243,59 @@ const dictionaries = {
1525
2243
  "mcp.install_fail": "{name} installation failed.",
1526
2244
  "mcp.uninstall_confirm": "Uninstall \"{name}\"?",
1527
2245
  "mcp.already_installed": "{name} is already installed.",
2246
+ "mcp.update_available": "{count} recommended flags missing — Enter to update",
2247
+ "mcp.update_confirm": "Reset \"{name}\" launch args to the current recommendations? {count} flag(s) will be added and custom args replaced (env and launch options are kept), then the server restarts.",
2248
+ "mcp.args_saved_parked": "{name} arguments saved; the entry is parked (enabled: false), so it was not started.",
2249
+ "mcp.args_not_written": "Nothing was saved: {msg}",
2250
+ "mcp.skills_remove_blocked": "Could not delete {names} — they are still installed.",
2251
+ "mcp.args_saved_label": "{name} arguments saved.",
2252
+ "mcp.args_saved_restart_failed": "Startup arguments were written, but reconnecting failed: {msg} — restart the session to apply them.",
2253
+ "mcp.update_requires_reinstall": "\"{name}\" has no local checkout any more — reinstall it instead of resetting its arguments.",
2254
+ "mcp.update_done": "{name} launch args updated and restarted.",
2255
+ "mcp.update_failed_label": "{name} update failed.",
2256
+ "mcp.update_failed": "Update failed: {msg}",
2257
+ "mcp.update_plugin_blocked": "\"{name}\" is provided by a plugin — update it in /plugin instead.",
1528
2258
  "mcp.disabled_done": "{name} disabled.",
2259
+ "mcp.options_title": "Chrome DevTools options",
2260
+ "mcp.options_hint": "Enter change Esc discard (only \"Save and restart\" writes)",
2261
+ "mcp.auth_action": "auth",
2262
+ "mcp.auth_needed_hint": "Needs OAuth: press a to start the login (opens the authorization page in your browser).",
2263
+ "mcp.auth_discovering": "Discovering OAuth metadata for {name}…",
2264
+ "mcp.auth_reconnected": "{name} already had valid credentials — reconnected.",
2265
+ "mcp.auth_opened": "{name} authorization page opened in your browser.",
2266
+ "mcp.auth_url_hint": "If the browser did not open, visit {url} — the server reconnects by itself when you finish.",
2267
+ "mcp.auth_failed_label": "{name} authorization failed.",
2268
+ "mcp.auth_failed": "Authorization did not complete: {msg}",
2269
+ "mcp.opt_section_runtime": "Browser runtime",
2270
+ "mcp.opt_headless": "Headless (no window)",
2271
+ "mcp.opt_isolated": "Isolated profile (temp user-data-dir)",
2272
+ "mcp.opt_viewport": "Viewport",
2273
+ "mcp.opt_channel": "Chrome channel",
2274
+ "mcp.opt_autoconnect": "Connect to a running Chrome",
2275
+ "mcp.opt_autoconnect_note": "(Chrome 144+, remote debugging on)",
2276
+ "mcp.opt_inert_with_autoconnect": "ignored while auto-connect is on",
2277
+ "mcp.opt_on": "on",
2278
+ "mcp.opt_off": "off",
2279
+ "mcp.opt_default": "default",
2280
+ "mcp.opt_section_actions": "Actions",
2281
+ "mcp.opt_apply": "Save and restart",
2282
+ "mcp.opt_applied": "{name} launch options saved, server restarted.",
2283
+ "mcp.opt_not_available": "{name} has no adjustable launch options.",
2284
+ "mcp.opt_section_skills": "Upstream skills",
2285
+ "mcp.skills_up_to_date": "Upstream skills are already at v{version}.",
2286
+ "mcp.skills_none": "The installed package ships no skills directory — nothing to install.",
2287
+ "mcp.skills_install": "Install upstream skills",
2288
+ "mcp.skills_update": "Update upstream skills",
2289
+ "mcp.skills_remove": "Remove upstream skills",
2290
+ "mcp.skills_version_note": "installed {installed} · package {available}",
2291
+ "mcp.skills_package_missing": "No chrome-devtools-mcp copy in the npx cache yet — start the server once (open a page), then retry.",
2292
+ "mcp.skills_installed": "{count} upstream skill(s) installed from v{version}.",
2293
+ "mcp.skills_conflicts": "Skipped {names}: a skill of that name already exists locally.",
2294
+ "mcp.skills_restart": "Restart the session (/new) for skills to load.",
2295
+ "mcp.skills_install_failed": "Skill install failed: {msg}",
2296
+ "mcp.skills_removed": "{count} upstream skill(s) removed.",
2297
+ "mcp.skills_remove_failed": "Skill removal failed: {msg}",
2298
+ "mcp.confirm_hint": "Enter confirm Esc cancel",
1529
2299
  "mcp.uninstalled": "{name} uninstalled.",
1530
2300
  "mcp.no_session": "Please create or resume a session first.",
1531
2301
  "mcp.manage_title": "MCP Management ({count} connected)",
@@ -1544,7 +2314,12 @@ const dictionaries = {
1544
2314
  "mcp.start_failed": "Start failed: {msg}",
1545
2315
  "mcp.uninstall_done": "Uninstalled.",
1546
2316
  "mcp.uninstall_failed": "Uninstall failed: {msg}",
1547
- "mcp.footer_hint": "Enter install/toggle d uninstall Esc back",
2317
+ "mcp.plugin_owned": "plugin",
2318
+ "mcp.uninstall_plugin_blocked": "\"{name}\" is provided by plugin \"{plugin}\" — uninstalling the MCP server has no effect. Remove the plugin in /plugin instead.",
2319
+ "mcp.uninstall_project_owned": "\"{name}\" is declared by project config ({files}); it comes back after restart. Edit that file instead.",
2320
+ "mcp.uninstall_verify_failed": "\"{name}\" was removed from the runtime but is still listed. Check mcp.json — project-level .nexum-code/mcp.json files are reloaded on every start.",
2321
+ "mcp.plugin_owned_stop_note": "(plugin-owned: it comes back with the plugin after restart)",
2322
+ "mcp.footer_hint": "Enter select a auth o options d uninstall Esc back",
1548
2323
  "mcp.macos_only": "macOS only",
1549
2324
  "cc.start": "Start",
1550
2325
  "cc.stop": "Stop",
@@ -1582,22 +2357,135 @@ const dictionaries = {
1582
2357
  "cc.confirm_uninstall_btn": "Confirm Uninstall",
1583
2358
  "cc.uninstall_step_npm": "· Run npm uninstall -g cc-connect",
1584
2359
  "cc.unknown_error": "Unknown error",
2360
+ "line.title": "Native IM Channels",
2361
+ "line.picker_hint": "Wizard / daemon lifecycle / uninstall",
2362
+ "line.state_running": "running (pid {pid})",
2363
+ "line.state_stopped": "not running",
2364
+ "line.opt_wizard": "Configure Feishu (wizard)",
2365
+ "line.opt_wizard_desc": "Guided setup: create app → paste credentials → verify → start",
2366
+ "line.opt_start_desc": "Start the line daemon in the background",
2367
+ "line.opt_stop_desc": "Stop the line daemon",
2368
+ "line.opt_restart_desc": "Restart the line daemon",
2369
+ "line.opt_uninstall": "Uninstall",
2370
+ "line.opt_uninstall_desc": "Stop the daemon and delete ~/.nexum-code/line",
2371
+ "line.wizard_title": "Configure Feishu channel",
2372
+ "line.wizard_hint": "Follow the guided setup to create a Feishu app (~3 min), or paste existing credentials",
2373
+ "line.opt_guided": "Guided app creation (recommended)",
2374
+ "line.opt_guided_desc": "Step-by-step: create app → grant scopes → long connection → release → paste credentials",
2375
+ "line.fs_wizard_title": "Feishu app setup wizard",
2376
+ "line.fs_step_title": "Step {n} of {total}",
2377
+ "line.fs_next": "Done — next step",
2378
+ "line.fs_later": "Quit any time; run /line to resume where you left off",
2379
+ "line.fs_goto_credentials": "Paste credentials now",
2380
+ "line.fs_step1": "① Create the app\n\n1. Open https://open.feishu.cn/app and sign in (personal accounts work)\n2. Console → \"Create custom app\"\n3. Any name (e.g. nexum); description optional",
2381
+ "line.fs_step2": "② Enable the bot\n\nApp details → \"App capability\" in the sidebar → add & enable \"Bot\" (name/description optional)",
2382
+ "line.fs_step3": "③ Grant scopes\n\n\"Permissions\" in the sidebar → search and enable each:\n· contact:user.base:readonly (user info)\n· im:message.group_at_msg:readonly (group @bot)\n· im:message.p2p_msg:readonly (direct messages)\n· im:message:send_as_bot (send as the app)\nOptional: im:message.group_msg (read all group messages; without it groups only respond when @-mentioned)",
2383
+ "line.fs_step4": "④ Event subscription (long connection, no public IP)\n\n\"Events & callbacks\" in the sidebar →\n· Event config: subscription method = \"Use long connection to receive events\" → add event im.message.receive_v1 (receive messages)\n· Callback config: subscription method = \"Use long connection to receive events\" too",
2384
+ "line.fs_step5": "⑤ Release the app\n\n\"Version management & release\" in the sidebar → create a version → submit for release (admin approval for custom apps)",
2385
+ "line.fs_step6": "⑥ Get credentials\n\n\"Credentials & basic info\" in the sidebar → copy the App ID (starts with cli_) and App Secret.\n\nPaste them in the next step to finish.",
2386
+ "line.opt_manual": "Enter credentials manually",
2387
+ "line.opt_manual_desc": "Paste your Feishu app App ID and App Secret",
2388
+ "line.opt_tutorial": "View setup tutorial",
2389
+ "line.opt_tutorial_desc": "Steps to create a Feishu app from scratch",
2390
+ "line.tutorial_title": "Feishu app setup tutorial",
2391
+ "line.tutorial": "① Open open.feishu.cn → Console → \"Create custom app\" (personal accounts work)\n② App details → \"Add app capability\" → enable \"Bot\"\n③ \"Permissions\" → grant im:message related scopes (receive & send messages)\n④ \"Events & callbacks\" → choose \"Use long connection to receive events\" (no public IP needed)\n⑤ \"Version management\" → create and release a version\n⑥ \"Credentials\" → copy the App ID (cli_…) and App Secret\n\nThen run /line again and choose \"Enter credentials manually\".",
2392
+ "line.input_appid": "Enter App ID",
2393
+ "line.input_secret": "Enter App Secret",
2394
+ "line.validating": "Verifying Feishu credentials…",
2395
+ "line.config_saved": "Configuration saved",
2396
+ "line.ask_start": "Configured. Start the daemon now?",
2397
+ "line.opt_start_now": "Start now",
2398
+ "line.opt_start_now_desc": "Launch the daemon in the background; then just message the bot in Feishu",
2399
+ "line.not_configured": "No platform configured yet (Feishu/WeChat). Run the wizard first.",
2400
+ "line.starting": "Starting daemon…",
2401
+ "line.started": "line daemon started (pid {pid})",
2402
+ "line.already_running": "line daemon already running (pid {pid})",
2403
+ "line.start_failed": "Start failed: {error}",
2404
+ "line.stopping": "Stopping daemon…",
2405
+ "line.stopped": "line daemon stopped.",
2406
+ "line.not_running": "line daemon is not running.",
2407
+ "line.restarting": "Restarting daemon…",
2408
+ "line.config_broken": "line configuration file is broken",
2409
+ "line.confirm_uninstall": "Uninstall the line channel?",
2410
+ "line.uninstall_irreversible": "This cannot be undone; only line config and logs are removed",
2411
+ "line.confirm_uninstall_btn": "Uninstall",
2412
+ "line.will_clean": "Stop the daemon and delete ~/.nexum-code/line (config & logs)",
2413
+ "line.uninstalling": "Uninstalling the line channel…",
2414
+ "line.uninstalled": "line channel uninstalled",
2415
+ "line.uninstall_note": "Re-run /line any time to set it up again.",
2416
+ "line.uninstall_failed": "Uninstall failed: {error}",
2417
+ "registry.line_desc": "Native Feishu & WeChat channels (wizard / daemon)",
2418
+ "line.opt_wizard_weixin": "Configure WeChat (wizard)",
2419
+ "line.opt_wizard_weixin_desc": "Official ilink bot gateway — just paste a token",
2420
+ "line.weixin_wizard_title": "Configure WeChat channel",
2421
+ "line.weixin_wizard_hint": "Choose how to configure",
2422
+ "line.weixin_opt_qr": "Scan to log in (recommended)",
2423
+ "line.weixin_opt_qr_desc": "The terminal shows a login link — open it in WeChat on your phone. No other tools needed",
2424
+ "line.weixin_qr_begin": "Requesting a WeChat login link…",
2425
+ "line.weixin_qr_title": "WeChat QR login",
2426
+ "line.weixin_qr_notice": "To log in with WeChat:\n\n1. Copy the link below\n2. Open it in WeChat on your phone (or recognize it with WeChat \"Scan\")\n3. Confirm the login on your phone\n\n{url}\n\nOnce confirmed, the wizard fetches the token and writes the config automatically (waits up to 8 minutes).",
2427
+ "line.weixin_qr_waiting": "Waiting for WeChat confirmation… (up to 8 minutes)",
2428
+ "line.weixin_qr_confirmed": "Login confirmed — token received",
2429
+ "line.weixin_qr_failed": "QR login failed: {error}",
2430
+ "line.weixin_qr_timeout": "Timed out: no confirmation within 8 minutes. Start the QR login again.",
2431
+ "line.weixin_allow_from_note": "Your WeChat id was added to the allow_from list (edit the config file to adjust):",
2432
+ "line.weixin_tutorial_title": "WeChat channel tutorial",
2433
+ "line.weixin_tutorial": "The WeChat channel uses WeChat's official ilink bot gateway (no public IP, no third-party tools).\n\nComplete flow (about 1 minute):\n① Run /line → \"Configure WeChat (wizard)\" → \"Scan to log in (recommended)\"\n② The terminal shows a login link → copy it and open it in WeChat on your phone (or recognize it with WeChat \"Scan\")\n③ Confirm on your phone → the token is saved automatically and your WeChat id is added to allow_from\n④ Back to /line → \"Start\" → the footer shows a green ◆\n⑤ Message the bot once on WeChat → session activation done, then just chat\n\nAllow list: with allow_from unset, ANY private-chat user could trigger your model billing. QR login auto-fills your own id; to invite colleagues, edit ~/.nexum-code/line/config.json (comma-separated, like xxx@im.wechat).\n\nAlready have a token (from a carrier) → \"Enter token manually\".",
2434
+ "line.weixin_opt_manual": "Enter token manually",
2435
+ "line.weixin_opt_manual_desc": "Paste the ilink bot Bearer token",
2436
+ "line.weixin_opt_tutorial": "View WeChat tutorial",
2437
+ "line.weixin_opt_tutorial_desc": "Complete flow (QR login / allow list / activation)",
2438
+ "line.weixin_input_token": "Enter ilink bot token",
2439
+ "line.weixin_validating": "Verifying WeChat token…",
2440
+ "line.weixin_session_expired": "Token valid, session pending activation",
2441
+ "line.weixin_session_expired_hint": "After the daemon starts, message the bot once from an allowed WeChat account to activate the session.",
2442
+ "line.weixin_config_saved": "WeChat configuration saved",
2443
+ "line.platform_taken": "line is a single-channel design",
2444
+ "line.platform_taken_detail": "The {taken} channel is configured. Run /line → Uninstall first, then set up the other platform.",
2445
+ "line.channel_feishu": "Feishu",
2446
+ "line.channel_weixin": "WeChat",
1585
2447
  "auth.fetching_models": "Fetching latest model catalog...",
1586
2448
  "auth.catalog_fetch_failed": "Failed to fetch the remote model catalog: {error}. Check your network (the catalog host may be unreachable in your region) and retry, or use /config diy to set up a provider manually.",
1587
2449
  "auth.no_providers": "No model providers configured.",
1588
2450
  "auth.deleted": "Deleted provider: {name}",
1589
2451
  "auth.input_api_url": "Enter provider API URL",
1590
2452
  "auth.api_url_hint": "e.g. https://api.example.com (paste supported)",
2453
+ "auth.api_url_hint_google": "e.g. https://generativelanguage.googleapis.com (official) or a proxy/gateway URL (paste supported)",
1591
2454
  "auth.input_api_key": "Enter API Key",
1592
2455
  "auth.api_key_hint": "Key saved to ~/.nexum/config.toml (paste supported, Esc to cancel)",
1593
2456
  "auth.input_model": "Enter model name",
1594
2457
  "auth.model_hint": "e.g. my-model-v2",
2458
+ "auth.model_hint_google": "e.g. gemini-2.5-pro",
1595
2459
  "auth.input_context": "Enter max context length (tokens)",
1596
2460
  "auth.context_hint": "Default 131072; check your provider for the exact limit",
2461
+ "auth.context_hint_google": "Default 1048576 (Gemini 2.5 1M window); check your provider for the exact limit",
1597
2462
  "auth.connected": "Connected: {name}",
1598
2463
  "auth.error_empty_base_url": "Base URL cannot be empty.",
1599
2464
  "auth.error_empty_model_id": "Model name cannot be empty.",
1600
2465
  "auth.error_invalid_context_size": "Context size must be a number >= 4096.",
2466
+ "image.provider_title": "Select image service",
2467
+ "image.provider_hint": "Pick the API compatibility shape, then enter URL and key",
2468
+ "image.already_configured": "Image model already configured: {model} ({provider} · {url}) — continuing overwrites it; Esc cancels",
2469
+ "image.provider_openai": "OpenAI official",
2470
+ "image.provider_volcengine": "Doubao Seedream (Volcano Ark)",
2471
+ "image.provider_generic": "Custom service (OpenAI-compatible URL)",
2472
+ "image.input_url": "Enter the full image API URL",
2473
+ "image.url_hint": "Paste the full endpoint exactly as documented; nothing is appended — text-to-image is usually https://host/v1/images/generations",
2474
+ "image.input_key": "Enter image API key",
2475
+ "image.key_hint": "Saved to the local config file only; never appears in the conversation (Esc cancels)",
2476
+ "image.error_empty_url": "Image API URL cannot be empty.",
2477
+ "image.error_empty_key": "Image API key cannot be empty.",
2478
+ "image.input_model": "Enter image model ID",
2479
+ "image.model_hint": "Press Enter to keep the default model (the ID shown in the field)",
2480
+ "image.input_edit_url": "Enter the full image-edit URL (optional)",
2481
+ "image.edit_url_hint": "When empty: if the main URL ends in /images/generations, the sibling /images/edits endpoint is used automatically",
2482
+ "image.input_edit_model": "Enter image-edit model ID (optional)",
2483
+ "image.edit_model_hint": "Only needed for edit-specific models (e.g. xxx-edit); Enter = same as text-to-image",
2484
+ "image.checking": "Checking image API...",
2485
+ "image.check_ok": "Connectivity OK",
2486
+ "image.check_failed": "Connectivity check failed (config saved)",
2487
+ "image.check_model_missing": "Reachable, but the model was not listed (config saved)",
2488
+ "image.configured": "Image generation configured · {provider} · {model}",
1601
2489
  "like.priority": "User preferences set via /like have the highest priority and must be followed in every response.",
1602
2490
  "like.do_not": "User Prohibitions",
1603
2491
  "like.do_not_hint": "Things the user explicitly does NOT want done. The agent must NEVER do these.",
@@ -1622,6 +2510,12 @@ const dictionaries = {
1622
2510
  "revoke.usage": "Usage: /revoke [count], where count is a positive integer.",
1623
2511
  "revoke.nothing": "Nothing to revoke.",
1624
2512
  "revoke.failed": "Revoke failed: {msg}",
2513
+ "grants.title": "Session approvals ({count})",
2514
+ "grants.hint": "↑/↓ select · ↵ revoke · esc cancel",
2515
+ "grants.empty": "No session approvals are active.",
2516
+ "grants.revoked": "Revoked session approval: {pattern} — the next matching call asks again.",
2517
+ "grants.revoke_failed": "Nothing revoked: no such session approval ({pattern}).",
2518
+ "grants.load_failed": "Failed to load session approvals: {msg}",
1625
2519
  "btw.usage": "/btw usage",
1626
2520
  "btw.desc": "Ask a quick question without interrupting the current conversation.",
1627
2521
  "btw.example1": "Example: /btw How many packages does this project have?",
@@ -1654,7 +2548,7 @@ const dictionaries = {
1654
2548
  "session.title": "Sessions",
1655
2549
  "session.loading": "Loading sessions...",
1656
2550
  "session_picker.empty": "No sessions found. Press Escape to close.",
1657
- "session_picker.cc_restricted": "CC sessions cannot be switched or deleted. Use the file path below to manage manually",
2551
+ "session_picker.cc_restricted": "Channel-managed sessions cannot be switched or deleted here — use the file path below to manage manually",
1658
2552
  "session_picker.batch_delete_confirm": "Delete {count} selected sessions?",
1659
2553
  "session_picker.batch_delete_hint": " Press Enter to confirm batch delete, Esc to cancel",
1660
2554
  "session_picker.batch_delete_unavailable": "Batch delete is not available here.",
@@ -1677,8 +2571,15 @@ const dictionaries = {
1677
2571
  "model.not_supported": "✗ Not supported",
1678
2572
  "model.video": "Video",
1679
2573
  "model.audio": "Audio",
2574
+ "model.image_gen_configured": " Image model: {model} · configured (/config image to change)",
2575
+ "model.image_gen_missing": " Image model: not configured · set it with /config image",
1680
2576
  "help.toggle_plan": "Toggle plan mode",
1681
2577
  "help.toggle_output": "Toggle tool output expansion",
2578
+ "help.cycle_thinking": "Cycle thinking effort (empty input)",
2579
+ "help.toggle_plan_view": "Expand / collapse the plan",
2580
+ "help.toggle_sidebar": "Toggle the sidebar panel",
2581
+ "help.toggle_hint": "Toggle the empty-session hint",
2582
+ "help.cancel_memory": "Cancel the pending memory extraction",
1682
2583
  "help.interrupt": "Interrupt — insert follow-up prompt during streaming",
1683
2584
  "help.newline": "Insert newline",
1684
2585
  "help.external_editor": "Edit in external editor ($VISUAL / $EDITOR)",
@@ -1688,9 +2589,12 @@ const dictionaries = {
1688
2589
  "help.browse_history": "Browse input history",
1689
2590
  "help.submit": "Submit",
1690
2591
  "help.title": " Help ",
2592
+ "help.hotkeys_title": " Keyboard shortcuts ",
2593
+ "help.recall_queued": "Recall the last queued message (while busy)",
2594
+ "help.paste_image": "Paste an image (Alt-V on Windows)",
1691
2595
  "help.close_hint": "Esc / Enter / q Close · ↑↓ Scroll",
1692
2596
  "help.welcome_msg": "Nexum is ready to help! Send a message to get started.",
1693
- "help.hidden_commands": "/config diy Custom model provider /model diy Multi-agent orchestration",
2597
+ "help.hidden_commands": "/config diy Custom model provider /config image Image generation /model diy Multi-agent orchestration",
1694
2598
  "help.shortcuts": "Keyboard Shortcuts",
1695
2599
  "help.slash_commands": "Slash Commands",
1696
2600
  "help.showing_range": "Showing {start}-{end} / {total}",
@@ -1746,13 +2650,27 @@ const dictionaries = {
1746
2650
  "memory.pitfall_label": "Pitfalls: ",
1747
2651
  "memory.experience_label": "Experience: ",
1748
2652
  "memory.note_label": "Note: ",
1749
- "memory.detail_nav_hint": " Enter/Esc Back | i Inject | d Delete",
2653
+ "memory.detail_nav_hint": " Enter/Esc Back | i Inject | d Delete | e Edit",
2654
+ "memory.distilled": "Latest distillation",
2655
+ "memory.note": "Note",
2656
+ "memory.distilled_label": "Latest distillation: ",
2657
+ "memory.origin_dream": "Distilled",
2658
+ "memory.origin_user": "Edited",
2659
+ "memory.distilled_at": "Distilled at",
2660
+ "memory.distilled_at_unknown": "Distillation time unknown",
2661
+ "memory.source_count": "{count} sources",
2662
+ "memory.source_more": "+{count} more",
2663
+ "memory.source_unknown": "Source unknown",
2664
+ "memory.edit_save_failed": "Save failed, try again",
2665
+ "memory.edit_distilled_hint": "Edit latest distillation · Enter save · Esc cancel",
2666
+ "memory.delete_rule_warning": "This is a distilled rule; its original memos are gone and cannot be restored",
1750
2667
  "plugin.no_session": "Please create or resume a session before using the Plugin center.",
1751
2668
  "extension.no_session": "Please create or resume a session before using extension commands.",
1752
- "extension.usage": "Usage: /extension activate|deactivate|status [pluginId]",
2669
+ "extension.usage": "Usage: /extension activate|deactivate|reload|status [pluginId]",
1753
2670
  "extension.missing_id": "Missing plugin id: /extension {action} <pluginId>",
1754
2671
  "extension.activated": "Extension {pluginId} activated.",
1755
2672
  "extension.deactivated": "Extension {pluginId} deactivated.",
2673
+ "extension.reloaded": "Extension {pluginId} reloaded.",
1756
2674
  "extension.no_extensions": "No code extensions (entryPoint) installed.",
1757
2675
  "plugin.loading": "Loading Plugin center…",
1758
2676
  "plugin.center_title": "Plugin Center",
@@ -1811,8 +2729,10 @@ const dictionaries = {
1811
2729
  "toolcall.running": "Running",
1812
2730
  "toolcall.completed": "Completed",
1813
2731
  "toolcall.tool_count": "{count} tools",
2732
+ "toolcall.turns": "{count} turns",
1814
2733
  "toolcall.failed": "Failed",
1815
2734
  "toolcall.bg_running": "Background",
2735
+ "toolcall.bg_handed_off": "Moved to the background",
1816
2736
  "toolcall.truncation_notice": "Tool call arguments truncated due to max_tokens — call not executed.",
1817
2737
  "toolcall.lines_hidden": "...({hidden} more lines, {total} total, press ctrl+o to expand)",
1818
2738
  "toolcall.preparing_changes": "Preparing changes{path}...{bytes} · Elapsed {elapsed}",
@@ -1834,8 +2754,13 @@ const dictionaries = {
1834
2754
  "handler.max_tokens_hint": "If this limit is unsuitable for your model, set `max_output_size` for the model alias in nexum-code config.",
1835
2755
  "handler.user_interrupted": "User interrupted",
1836
2756
  "handler.max_steps_reached": "Per-turn step limit reached (max_steps)",
2757
+ "handler.token_cap_reached": "Session token limit reached ({used} of {limit}) — no more model requests until you raise it with /budget",
1837
2758
  "handler.step_interrupted": "Step interrupted ({reason})",
1838
2759
  "handler.warning_prefix": "Warning: {message}",
2760
+ "handler.compaction_circuit_open": "Compaction failed repeatedly; auto-compaction is paused for this turn. Run /compact to retry.",
2761
+ "handler.compaction_circuit_open_overflow": "Auto-compaction is paused after repeated failures; run /compact to retry.",
2762
+ "handler.compaction_timeout": "Compaction timed out (120s) and was cancelled; run /compact to retry.",
2763
+ "handler.compaction_context_changed": "Compaction cancelled: the context changed while it ran (e.g. /revoke).",
1839
2764
  "handler.mcp_server_failed": "MCP server \"{name}\" failed{error}",
1840
2765
  "handler.mcp_server_needs_auth": "MCP server \"{name}\" requires OAuth authentication, run /mcp",
1841
2766
  "handler.mcp_server_disabled": "MCP server \"{name}\" disabled",
@@ -1860,6 +2785,7 @@ const dictionaries = {
1860
2785
  "session.new_started": "New session started ({sessionId}).",
1861
2786
  "replay.history_unavailable": "Session history is unavailable.",
1862
2787
  "replay.history_failed": "Failed to replay session history: {message}",
2788
+ "replay.streamDraftPartial": "Response incomplete: the process exited while this reply was still streaming, so the tail may be missing.",
1863
2789
  "replay.skill_activated": "Skill activated: {skillName}",
1864
2790
  "replay.yes_mode_on": "YES mode: ON",
1865
2791
  "replay.yes_mode_on_detail": "All operations will be auto-approved. Use with caution.",
@@ -1879,7 +2805,6 @@ const dictionaries = {
1879
2805
  "plugin.source_label": "Source:",
1880
2806
  "plugin.plugin_label": "Plugin:",
1881
2807
  "taskbrowser.running": "running",
1882
- "taskbrowser.awaiting": "awaiting",
1883
2808
  "taskbrowser.completed": "completed",
1884
2809
  "taskbrowser.interrupted": "interrupted",
1885
2810
  "taskbrowser.total": "total",
@@ -1908,24 +2833,65 @@ const dictionaries = {
1908
2833
  "taskbrowser.stop_reason": "Stop reason: ",
1909
2834
  "taskbrowser.timed_out": "Timed out: ",
1910
2835
  "taskbrowser.yes": "Yes",
1911
- "taskbrowser.awaiting_label": "Awaiting: ",
2836
+ "taskbrowser.task_source_via": "from {name}",
2837
+ "taskbrowser.agents": "agents",
2838
+ "taskbrowser.agents_title": "Agents",
2839
+ "taskbrowser.agents_live": "live",
2840
+ "taskbrowser.agents_ended": "ended",
2841
+ "taskbrowser.agents_completed": "completed",
2842
+ "taskbrowser.agents_failed": "failed",
2843
+ "taskbrowser.agents_empty": "No active subagents in this session.",
2844
+ "taskbrowser.agents_no_output": "Subagents stream into their transcript card — no live output here.",
2845
+ "taskbrowser.agent_detail": "Agent Detail",
2846
+ "taskbrowser.agent_type": "Type: ",
2847
+ "taskbrowser.agent_source": "Source: ",
2848
+ "taskbrowser.agent_chain": "Chain: ",
2849
+ "taskbrowser.agent_activity": "Activity: ",
2850
+ "taskbrowser.agent_instance": "Instance: ",
2851
+ "taskbrowser.agent_main": "main",
2852
+ "taskbrowser.agent_source_rlm": "RLM-derived",
2853
+ "taskbrowser.agent_source_main": "spawned by main agent",
2854
+ "taskbrowser.agent_source_via": "via {name}",
2855
+ "taskbrowser.agent_source_unknown": "standalone (no parent info)",
1912
2856
  "subagent.desc_coder": "General software engineering",
1913
2857
  "subagent.desc_reviewer": "Code review, bug & API contract violations",
1914
2858
  "subagent.desc_writer": "Content production & research reports",
1915
2859
  "subagent.desc_explore": "Quick codebase exploration (read-only)",
1916
- "subagent.desc_oracle": "Deep debugging & architecture decisions",
2860
+ "subagent.desc_oracle": "Large-scope review of existing code (architecture, debt, maintainability, dead weight)",
1917
2861
  "subagent.desc_plan": "Implementation planning & architecture design (read-only)",
1918
2862
  "subagent.desc_verify": "Run build/test/lint to verify changes",
1919
2863
  "subagent.desc_worker": "Office automation: format conversion, batch processing, file organization",
2864
+ "subagent.desc_designer": "Visual design: UI/UX/TUI direction, specs & polish",
1920
2865
  "subagent.follow_main": "Follow main model",
1921
2866
  "subagent.follow_main_desc": "Use the main agent's current model (default)",
1922
2867
  "subagent.stale_binding": "{alias} (stale)",
1923
2868
  "subagent.invalid_alias": "Model alias {alias} does not exist",
2869
+ "subagent.follow_default": "Follow default (config first)",
2870
+ "subagent.follow_default_desc": "Config role/compaction model first when unbound, then the main model",
1924
2871
  "subagent.title": "Subagent Model Binding",
1925
2872
  "subagent.hint": "↑↓ Select subagent · Enter bind model · Esc cancel",
1926
2873
  "subagent.bind_title": "Bind {profile}",
1927
2874
  "subagent.model_hint": "↑↓ Select model · Enter confirm · Esc back",
1928
2875
  "subagent.save_failed": "Save failed: {msg}",
2876
+ "modeldiy.title": "Model DIY",
2877
+ "modeldiy.hint": "↑↓ Select · Enter confirm · Esc cancel",
2878
+ "modeldiy.entry_roles": "Models by role (fallback)",
2879
+ "modeldiy.entry_roles_desc": "Default model per role class; applies when the subagent has no explicit binding (writer and designer are never role-routed)",
2880
+ "modeldiy.entry_housekeeping": "Compaction model",
2881
+ "modeldiy.entry_housekeeping_desc": "Model for compaction summaries; the configured model first, then the main model",
2882
+ "modeldiy.entry_profiles": "Models by subagent type (priority)",
2883
+ "modeldiy.entry_profiles_desc": "Pin one subagent profile to a model; wins over the role binding",
2884
+ "modeldiy.roles_title": "Models by Role",
2885
+ "modeldiy.roles_hint": "↑↓ Select role · Enter bind model · Esc back",
2886
+ "modeldiy.role_read": "read · explore/plan/verify",
2887
+ "modeldiy.role_read_desc": "Members: explore, plan, verify — read-tier subagents (code recon, planning, gate runs)",
2888
+ "modeldiy.role_task": "task · code/execute",
2889
+ "modeldiy.role_task_desc": "Members: coder, worker — write-tier subagents (implementation, batch file work)",
2890
+ "modeldiy.role_judge": "judge · review",
2891
+ "modeldiy.role_judge_desc": "Members: reviewer, oracle — judgement-tier subagents (diff review, architecture review)",
2892
+ "modeldiy.bind_title": "Bind {name}",
2893
+ "modeldiy.housekeeping_title": "Compaction Model",
2894
+ "modeldiy.housekeeping_hint": "↑↓ Select model · Enter confirm · Esc back",
1929
2895
  "kdoctree.no_title": "(untitled)",
1930
2896
  "kdoctree.empty": "(empty)",
1931
2897
  "kdoctree.move": "Move",
@@ -1944,6 +2910,13 @@ const dictionaries = {
1944
2910
  "usage.context_window": "Context Window",
1945
2911
  "usage.subagent_title": "Sub-Agent Usage",
1946
2912
  "usage.panel_title": " Usage ",
2913
+ "usage.session_total": "Session Total",
2914
+ "usage.token_limit": "Token limit (this run): {used} / {limit}",
2915
+ "usage.cost": "Cost",
2916
+ "usage.cache_rw": "cache",
2917
+ "usage.main_agent": "Main Agent",
2918
+ "usage.sub_agent": "Sub-Agent",
2919
+ "usage.model": "Model",
1947
2920
  "agentgroup.n_agent_done": "{total} {name} agent(s) done",
1948
2921
  "agentgroup.n_agents_done": "{total} agent(s) done",
1949
2922
  "agentgroup.running_n_agents": "Running {total} agent(s)",
@@ -2012,14 +2985,12 @@ const dictionaries = {
2012
2985
  "bash.background_completed": "Background task {id} completed: {command}",
2013
2986
  "bash.background_failed": "Background task {id} failed (exit {exitCode}): {command}",
2014
2987
  "bgtask.started_bg": "{subject} started in background",
2015
- "bgtask.awaiting_approval": "{subject} awaiting approval",
2016
2988
  "bgtask.completed_bg": "{subject} completed in background",
2017
2989
  "bgtask.failed_bg": "{subject} failed in background",
2018
2990
  "bgtask.killed": "{subject} stopped",
2019
2991
  "bgtask.lost": "{subject} lost",
2020
2992
  "bgtask.stopped_reason": "Stopped — {reason}",
2021
2993
  "bgtask.stopped": "Stopped",
2022
- "bgtask.waiting": "Waiting: {reason}",
2023
2994
  "bgtask.session_restarted": "Session restarted before completion",
2024
2995
  "bgtask.timed_out": "Timed out",
2025
2996
  "mcpstatus.failed": "{count} failed",
@@ -2033,7 +3004,9 @@ const dictionaries = {
2033
3004
  "permission.manual_desc": "Ask before risky operations like running commands or editing files. Read/search tools run directly; session approval rules apply.",
2034
3005
  "permission.auto": "Auto",
2035
3006
  "permission.auto_desc": "Run fully without interaction. Tool operations are auto-approved; agent questions are skipped so it can decide on its own.",
2036
- "permission.yolo_desc": "Auto-approve tool operations and plan transitions. The agent will still explicitly ask when it needs your input.",
3007
+ "permission.yolo_desc": "Auto-approve tool operations (dangerous commands included). The agent still brings its questions and plan reviews to you.",
3008
+ "permission.bot": "Bot",
3009
+ "permission.bot_desc": "Unattended mode: reversible actions auto-approve; anything else is denied and parked for you to review.",
2037
3010
  "permission.ask_desc": "Read-only Q&A mode: answer in conversation, never modify files, run commands, or call MCP tools.",
2038
3011
  "permission.select_title": "Select permission mode",
2039
3012
  "theme.auto": "Auto (follow terminal)",
@@ -2068,6 +3041,17 @@ const dictionaries = {
2068
3041
  "transcript.tool_name": "Tool {name}: ",
2069
3042
  "transcript.activated_skill": "Activated plugin: {name}",
2070
3043
  "transcript.more_history": "↑ {count} more history message(s)",
3044
+ "transcript.child_request": "{name} is asking the parent agent ({type})",
3045
+ "transcript.child_request_anon": "A subagent is asking the parent agent ({type})",
3046
+ "transcript.child_request_type_info": "info",
3047
+ "transcript.child_request_type_handoff": "handoff",
3048
+ "transcript.child_request_type_escalate": "escalate",
3049
+ "transcript.child_request_needs": "needs {value}",
3050
+ "transcript.child_request_expecting": "expecting {value}",
3051
+ "readgroup.more_files": "… {count} more files",
3052
+ "transcript.child_request_artifacts": "artifacts {value}",
3053
+ "transcript.child_request_evidence": "evidence {value}",
3054
+ "transcript.child_request_missing": "missing {value}",
2071
3055
  "compaction.done": "Compaction complete",
2072
3056
  "compaction.canceled": "Compaction cancelled",
2073
3057
  "compaction.in_progress": "Compacting context...",
@@ -2079,8 +3063,9 @@ const dictionaries = {
2079
3063
  "textinput.empty_hint": "Input cannot be empty.",
2080
3064
  "editor.auto_detect": "Auto detect ($VISUAL / $EDITOR)",
2081
3065
  "editor.select_title": "Select external editor",
2082
- "editor.empty_session_hint": "Tips: Use OpencodeGo as your model provider. Ctrl+F: get an API key. Ctrl+B: toggle this tip.",
2083
- "editor.tip_ad": "💡 Tips: Use OpencodeGo for free models or a low-cost plan. Ctrl+F: get an API key [Ctrl+B to hide Tips]",
3066
+ "editor.empty_session_hint": "Tips: Like this project or hit an issue? Give feedback or a star on GitHub. Ctrl+B: toggle this tip.",
3067
+ "editor.tip_offer": "💡 Tips: Some models from 90% off — one API for all! todapi.work [Ctrl+B to hide Tips]",
3068
+ "editor.tip_ad": "💡 Tips: Like this project or hit an issue? Give feedback or a star on GitHub [Ctrl+B to hide Tips]",
2084
3069
  "editor.tip_1": "💡 Tips: Press Tab on an empty input to cycle thinking effort [Ctrl+B to hide Tips]",
2085
3070
  "editor.tip_2": "💡 Tips: Type / to see all commands, type @ to reference a file path [Ctrl+B to hide Tips]",
2086
3071
  "editor.tip_3": "💡 Tips: Press Shift+Tab to switch plan mode [Ctrl+B to hide Tips]",
@@ -2090,7 +3075,7 @@ const dictionaries = {
2090
3075
  "editor.tip_7": "💡 Tips: Ctrl+E jumps to end of line, Ctrl+W deletes the previous word [Ctrl+B to hide Tips]",
2091
3076
  "editor.tip_8": "💡 Tips: Type /compact to compact context and free token space [Ctrl+B to hide Tips]",
2092
3077
  "editor.tip_9": "💡 Tips: Press Ctrl+G to compose long messages in an external editor [Ctrl+B to hide Tips]",
2093
- "editor.tip_10": "💡 Tips: Type /rlm to enable runtime memory for cross-turn recall [Ctrl+B to hide Tips]",
3078
+ "editor.tip_10": "💡 Tips: Type /rlm to enable a persistent Python workspace (subagents can be spawned from it) [Ctrl+B to hide Tips]",
2094
3079
  "editor.tip_11": "💡 Tips: Press Ctrl+D on empty input to quit, then press again to confirm [Ctrl+B to hide Tips]",
2095
3080
  "editor.tip_12": "💡 Tips: Type /sessions to browse and resume past sessions [Ctrl+B to hide Tips]",
2096
3081
  "editor.tip_13": "💡 Tips: Press Ctrl+Shift+F or type /search to search the conversation [Ctrl+B to hide Tips]",
@@ -2105,9 +3090,9 @@ const dictionaries = {
2105
3090
  "tc.rejected": "Rejected",
2106
3091
  "tc.cancelled": "Cancelled",
2107
3092
  "tc.error_prefix": "Error: ",
2108
- "dialog.cc_session_connected": "Connected to CC session ({id}).",
3093
+ "dialog.cc_session_connected": "Connected to channel session ({id}).",
2109
3094
  "dialog.create_session_failed": "Failed to create session",
2110
- "dialog.cc_managed": "CC session managed by cc-connect. Please operate from the chat channel.",
3095
+ "dialog.cc_managed": "This session is managed by an IM channel. Operate from the chat app, or stop that channel before deleting.",
2111
3096
  "dialog.memo_injected": "Injected memo #{id}",
2112
3097
  "dialog.approval_title": "Nexum Code requires approval",
2113
3098
  "dialog.question_title": "Nexum Code needs your answer",
@@ -2128,7 +3113,23 @@ const dictionaries = {
2128
3113
  "cronmsg.coalesced": "{count} coalesced fire(s)",
2129
3114
  "cronmsg.missed": "{count} missed",
2130
3115
  "cronmsg.final_delivery": "Final delivery",
3116
+ "activitygroup.running": "Tool calling",
3117
+ "activitygroup.done": "Tool calls finished",
3118
+ "activitygroup.steps": "{count} steps",
3119
+ "activitygroup.tools": "{count} tools",
3120
+ "activitygroup.diff": "{added} {removed}",
3121
+ "activitygroup.diffAddedOnly": "{added}",
3122
+ "activitygroup.rate": " · live {rate} toks/s",
3123
+ "activitygroup.hint_expand": " (ctrl+o to expand)",
3124
+ "activitygroup.hint_collapse": " (ctrl+o to collapse)",
3125
+ "activitygroup.segments_hidden": "… {count} more steps",
3126
+ "activitygroup.segments_folded_above": "… {count} earlier steps folded",
3127
+ "activitygroup.thinking_label": "Thinking",
3128
+ "activitygroup.thinking_summary": "Thinking: {summary}",
3129
+ "activitygroup.thinking_more": "... ({count} more lines)",
3130
+ "activitygroup.thinking_earlier": "... ({count} earlier lines)",
2131
3131
  "thinking.in_progress": "Thinking...",
3132
+ "tool.more_lines": "... ({count} more lines)",
2132
3133
  "thinking.more_lines": "... ({count} more lines, ctrl+o to expand)",
2133
3134
  "shell.more_lines": "... ({count} more lines, ctrl+o to expand)",
2134
3135
  "ccconnect.note_botfather": "Create a bot at @BotFather first",
@@ -2220,6 +3221,8 @@ const dictionaries = {
2220
3221
  "prompts.wire_openai_responses_desc": "OpenAI Responses API (reasoning models)",
2221
3222
  "prompts.wire_anthropic": "Anthropic protocol",
2222
3223
  "prompts.wire_anthropic_desc": "Messages API compatible providers",
3224
+ "prompts.wire_google_genai": "Google GenAI protocol",
3225
+ "prompts.wire_google_genai_desc": "Gemini generateContent API compatible providers",
2223
3226
  "prompts.image_off": "Image off",
2224
3227
  "prompts.image_off_desc": "Select this when the model does not support image input",
2225
3228
  "prompts.image_on": "Image on",
@@ -2244,11 +3247,14 @@ const dictionaries = {
2244
3247
  "config.plan_cleared": "Plan cleared",
2245
3248
  "config.yolo_already_on": "YES mode is already on",
2246
3249
  "config.yolo_already_off": "YES mode is already off",
3250
+ "config.bot_already_on": "Bot mode is already on",
3251
+ "config.bot_already_off": "Bot mode is already off",
2247
3252
  "config.ask_already_on": "ASK mode is already on",
2248
3253
  "config.ask_already_off": "ASK mode is already off",
2249
3254
  "config.rlm_on": "RLM mode enabled — persistent python kernel available",
3255
+ "config.script_on": "Script mode enabled — RunScript can batch tool calls from a sandbox",
3256
+ "config.script_off": "Script mode disabled — RunScript removed from the tools",
2250
3257
  "config.rlm_off": "RLM mode disabled",
2251
- "config.rlm_usage": "Usage: /rlm (toggle) | /rlm on | /rlm off",
2252
3258
  "config.auto_already_on": "Auto mode is already on",
2253
3259
  "config.auto_already_off": "Auto mode is already off",
2254
3260
  "settings.title": "Settings",
@@ -2280,32 +3286,42 @@ const dictionaries = {
2280
3286
  "dispatch.eval_suggest_tool": "A file read/write tool did not complete. Please check directory permissions; if it still fails after retrying, please report it",
2281
3287
  "dispatch.eval_suggest_answer": "The model answer may be incomplete or incorrect. Try a stronger model and retry",
2282
3288
  "constant.llm_not_set": "LLM not set, run /config to configure model",
3289
+ "constant.model_detached": "The current model was removed — pick one with /config or /model.",
2283
3290
  "constant.no_active_session": "No active session. Run /config to configure model.",
2284
3291
  "constant.ctrl_d_hint": "Press Ctrl+D again to exit",
2285
3292
  "constant.ctrl_c_hint": "Press Ctrl+C again to exit",
3293
+ "tui.crash_recovery_title": "Previous session ended abnormally",
3294
+ "tui.crash_recovery_detail": "\"{title}\" did not shut down cleanly — run /sessions to recover it.",
3295
+ "tui.copy_done": "Copied the last reply",
3296
+ "tui.copy_empty": "No reply to copy",
3297
+ "tui.copy_failed": "Copy failed: {msg}",
2286
3298
  "tui.resume_warning": "Warning: {warning}",
2287
3299
  "tui.skill_failed": "Skill \"{skill}\" failed: {message}",
2288
3300
  "tui.replay_no_new_session": "Cannot start a new session during history replay.",
2289
3301
  "adapter.task_label": "Task {taskId}",
2290
- "knowledge.path_placeholder": "/path/to/doc.md or /path/to/docs",
3302
+ "knowledge.path_placeholder": "/path/to/doc.md, /path/to/report.pdf or /path/to/docs",
2291
3303
  "knowledge.ingest_summary": "Total: {chunks} chunks, {events} events, {entities} entities",
2292
3304
  "knowledge.empty_store": "Knowledge base is empty, please ingest documents with /knowledge first",
2293
3305
  "knowledge.web_opened": "Knowledge graph opened: {url}",
2294
- "cc.clean_config.detail": " ~/.cc-connect (includes session records, config, logs)",
2295
3306
  "registry.auto_desc": "Toggle auto permission mode",
2296
3307
  "registry.yolo_desc": "Toggle auto-approve mode (yolo)",
3308
+ "registry.bot_desc": "Toggle unattended bot mode (bot)",
2297
3309
  "registry.ask_desc": "Toggle read-only Q&A mode (ask)",
2298
3310
  "registry.rlm_desc": "RLM mode: a persistent Python workspace for long-running tasks with unlimited recursive subagents (/rlm toggles)",
3311
+ "registry.script_desc": "Script mode: run JavaScript in a sandbox that batches tool calls (/script toggles)",
2299
3312
  "registry.rlm_max_depth_desc": "Set RLM recursion depth limit (/rlm-max-depth N)",
2300
3313
  "registry.wolfpack_desc": "Toggle wolfpack mode, auto-approve + batch concurrency",
2301
3314
  "registry.sessions_desc": "Browse and restore sessions",
2302
3315
  "registry.goal_desc": "View/manage auto goals",
3316
+ "registry.sidebar_desc": "Open/close the sidebar panel (Ctrl+X to toggle)",
2303
3317
  "registry.memory_desc": "Browse, search, inject memory memos",
2304
3318
  "registry.knowledge_desc": "Manage local knowledge base (ingest/search/delete/stats)",
2305
3319
  "registry.new_desc": "Start a new session in the current workspace",
2306
3320
  "registry.model_desc": "Switch LLM model",
2307
3321
  "mcp.desktop_desc": "macOS desktop automation: screenshot/click/type/scroll/window management (Background delivery, no focus needed)",
2308
- "mcp.browser_desc": "Browser automation: 46 tools, supports navigation/click/fill/screenshot/performance/memory debugging/extension management",
3322
+ "mcp.browser_desc": "Browser automation: navigation/click/fill/screenshot/console & network debugging/performance analysis",
3323
+ "mcp.capability_browser": "🌐 browser automation",
3324
+ "mcp.capability_memory": "🧠 decision memory",
2309
3325
  "kw.title": "Nexum Knowledge Graph",
2310
3326
  "kw.entity": "Entities",
2311
3327
  "kw.event": "Events",
@@ -2319,8 +3335,11 @@ const dictionaries = {
2319
3335
  "registry.fusionplan_desc": "Toggle fusion plan mode (multi-agent parallel planning)",
2320
3336
  "registry.tasks_desc": "Browse background tasks",
2321
3337
  "registry.help_desc": "Show available commands and shortcuts",
3338
+ "registry.hotkeys_desc": "Show keyboard shortcuts",
3339
+ "registry.copy_desc": "Copy the last reply to the clipboard",
2322
3340
  "registry.status_desc": "Show current session and runtime status",
2323
3341
  "registry.usage_desc": "Show token usage and context window",
3342
+ "registry.budget_desc": "Set a token limit for this session",
2324
3343
  "registry.btw_desc": "Quick question without interrupting conversation",
2325
3344
  "registry.snaptimer_desc": "Toggle the per-turn elapsed snapshot timer",
2326
3345
  "snaptimer.enabled": "Session snapshot timer enabled",
@@ -2328,6 +3347,87 @@ const dictionaries = {
2328
3347
  "registry.hl_desc": "Toggle the user-message highlight block — user messages get a colored background (yellow in dark themes, orange-red in light themes) when enabled; disable to return to the default look",
2329
3348
  "hl.enabled": "User message highlight enabled",
2330
3349
  "hl.disabled": "User message highlight disabled",
3350
+ "registry.blockrows_desc": "Adjust activity block rows (collapsed height, rows per tool result, rows per reasoning run); applied immediately and saved",
3351
+ "blockrows.title": "Activity block rows",
3352
+ "blockrows.hint": "Pick the budget to adjust",
3353
+ "blockrows.value_hint": "Pick the row count",
3354
+ "blockrows.item_collapsed": "Collapsed height, header row included",
3355
+ "blockrows.item_tool": "Rows per tool result when expanded",
3356
+ "blockrows.item_thinking": "Rows per reasoning run when expanded",
3357
+ "blockrows.current": "Current: {value}",
3358
+ "blockrows.saved": "{label} → {value} rows",
3359
+ "registry.codebg_desc": "Toggle the background panel behind code blocks (off: code stands out by colour and gutter only); applied immediately and saved",
3360
+ "codebg.enabled": "Code block background panel on",
3361
+ "codebg.disabled": "Code block background panel off",
3362
+ "registry.mermaid_desc": "Choose how Mermaid diagrams are rendered",
3363
+ "mermaid.picker_title": "Mermaid diagram rendering",
3364
+ "mermaid.picker_hint": "↑↓ select · Enter confirm · Esc cancel",
3365
+ "mermaid.picker_cancelled": "Unchanged — still “{mode}”",
3366
+ "mermaid.usage": "Usage: /mermaid [on|ascii|off]",
3367
+ "mermaid.option.on": "On",
3368
+ "mermaid.option.ascii": "Double-width safe",
3369
+ "mermaid.option.off": "Off",
3370
+ "mermaid.desc.on": "Draw ```mermaid blocks as pictures (box-drawing frames)",
3371
+ "mermaid.desc.ascii": "Still draw, but frame with ASCII characters — for terminals that render box glyphs two cells wide",
3372
+ "mermaid.desc.off": "Don't draw; mermaid blocks stay source",
3373
+ "mermaid.applied": "Mermaid rendering set to “{mode}”",
3374
+ "mermaid.note.not_rendered": "Mermaid diagram not rendered: {reason}",
3375
+ "mermaid.note.incomplete": "Mermaid diagram incomplete: {reason}",
3376
+ "mermaid.note.wider": "wider than this terminal ({width} > {available} columns) — widen the window, or ask for two smaller diagrams",
3377
+ "mermaid.note.flipped": "laid out in the more compact direction automatically",
3378
+ "mermaid.note.unsupported": "this diagram type is not drawn in the terminal",
3379
+ "mermaid.note.unparsed": "the source did not parse",
3380
+ "registry.cron_desc": "View and manage scheduled tasks",
3381
+ "cron.panel_title": "Scheduled tasks",
3382
+ "cron.panel_hint": "↑↓ select · d delete · /cron add to create · Esc close",
3383
+ "cron.empty": "No scheduled tasks yet",
3384
+ "cron.empty_hint": "Press Enter to create one",
3385
+ "cron.no_next_fire": "no next fire",
3386
+ "cron.firing": "firing now",
3387
+ "cron.in_seconds": "in {n}s",
3388
+ "cron.in_minutes": "in {n}m",
3389
+ "cron.in_hours": "in {n}h",
3390
+ "cron.in_days": "in {n}d",
3391
+ "cron.kind_recurring": "repeats",
3392
+ "cron.kind_once": "one-shot",
3393
+ "cron.stale": "expired",
3394
+ "cron.silent": "silent",
3395
+ "cron.mute": "muted",
3396
+ "cron.last_error": "last failed: {error}",
3397
+ "cron.sched_5m": "Every 5 minutes",
3398
+ "cron.sched_hourly": "Hourly",
3399
+ "cron.sched_daily9": "Daily at 09:00",
3400
+ "cron.sched_daily18": "Daily at 18:00",
3401
+ "cron.sched_weekdays9": "Weekdays at 09:00",
3402
+ "cron.sched_custom": "Custom expression…",
3403
+ "cron.sched_custom_hint": "5-field cron: minute hour day month weekday",
3404
+ "cron.sched_every_minutes": "every {n} min",
3405
+ "cron.sched_daily": "daily at {time}",
3406
+ "cron.sched_weekdays": "weekdays at {time}",
3407
+ "cron.wizard_schedule_title": "When should it run?",
3408
+ "cron.wizard_schedule_hint": "↑↓ select · Enter next · Esc cancel",
3409
+ "cron.wizard_custom_title": "Custom cron expression",
3410
+ "cron.wizard_custom_hint": "minute hour day month weekday, e.g. */5 * * * *",
3411
+ "cron.wizard_task_title": "What should it do?",
3412
+ "cron.wizard_task_placeholder": "e.g. check CI status and report failures",
3413
+ "cron.wizard_kind_title": "Once, or every time?",
3414
+ "cron.wizard_kind_hint": "↑↓ select · Enter confirm · Esc cancel",
3415
+ "cron.kind_recurring_hint": "Fire on every cron match; after 7 days it fires one last time and deletes itself",
3416
+ "cron.session_only": "Runs only while this session is open; after closing, resume it in the same directory with `nexum -C` (or /sessions once inside) to carry on",
3417
+ "cron.kind_once_hint": "Fire at the next match, then delete itself",
3418
+ "cron.cancelled": "Cancelled",
3419
+ "cron.creating": "Creating scheduled task…",
3420
+ "cron.created": "Scheduled task created",
3421
+ "cron.create_failed": "Could not create it",
3422
+ "cron.deleting": "Deleting scheduled task…",
3423
+ "cron.deleted": "Scheduled task deleted",
3424
+ "cron.not_found": "No such task (it may be gone already)",
3425
+ "cron.delete_failed": "Could not delete it",
3426
+ "cron.confirm_title": "Delete this scheduled task?",
3427
+ "cron.confirm_hint": "This cannot be undone",
3428
+ "cron.confirm_delete": "Delete",
3429
+ "cron.usage": "Usage: /cron [list|add|rm <id>]",
3430
+ "cron.no_session": "No active session",
2331
3431
  "onboarding.description": "Nexum needs a model to start working. Set one up in under a minute.",
2332
3432
  "onboarding.configure": "Configure now",
2333
3433
  "onboarding.skip": "Skip (config later with /config)",
@@ -2336,13 +3436,12 @@ const dictionaries = {
2336
3436
  "registry.mcp_desc": "Manage MCP servers (install/disable/uninstall)",
2337
3437
  "registry.plugin_desc": "Plugin center, manage plugins including activate, install, uninstall",
2338
3438
  "registry.extension_desc": "Code extensions, activate or deactivate a plugin entry point",
2339
- "registry.cc_desc": "Control your cc (start/stop/restart)",
2340
- "registry.cc_connect_desc": "cc-connect quick channel setup (requires installation)",
2341
3439
  "registry.revoke_desc": "Undo last conversation round (specify rounds, e.g. /revoke 3)",
2342
3440
  "registry.fork_desc": "Copy current session and start a new branch",
2343
3441
  "registry.title_desc": "Set or show session title",
2344
- "registry.config_desc": "Browse and configure models (fetch latest directory remotely)",
3442
+ "registry.config_desc": "Configure model services (quick pick / custom / image)",
2345
3443
  "registry.permission_desc": "Select permission mode",
3444
+ "registry.grants_desc": "Review and revoke session approvals",
2346
3445
  "registry.theme_desc": "Set terminal UI theme",
2347
3446
  "registry.language_desc": "Switch interface language",
2348
3447
  "registry.editor_desc": "Set external editor",
@@ -2389,9 +3488,15 @@ const dictionaries = {
2389
3488
  "badge.goal": "Goal",
2390
3489
  "badge.auto": "Auto",
2391
3490
  "badge.yes": "YES",
3491
+ "badge.bot": "BOT",
3492
+ "badge.ask": "ASK",
2392
3493
  "kw.lang_toggle": "中文",
2393
3494
  "kw.embedding_downloading": "Vector model downloading…",
2394
- "kw.embedding_failed": "Vector model load failed. Return to the menu and select Download to retry.",
3495
+ "kw.embedding_progress": "Downloading vector model {done} / {total} ({percent}%)",
3496
+ "kw.embedding_progress_unknown": "Downloading vector model {done}",
3497
+ "kw.embedding_verifying": "Verifying model files…",
3498
+ "kw.embedding_loading": "Loading model… (first run takes a few seconds)",
3499
+ "kw.embedding_failed": "Vector model load failed",
2395
3500
  "kw.embedding_ready": "Vector model ready",
2396
3501
  "kw.embedding_not_downloaded": "Vector model not downloaded (select Download vector model)",
2397
3502
  "kw.embedding_data_intact": " — your knowledge data is still there; download the model to use it again",
@@ -2399,19 +3504,240 @@ const dictionaries = {
2399
3504
  "kw.setup_description": "The vector model is not downloaded yet. Once downloaded, /knowledge and /memory gain semantic retrieval (about 95 MB, one-time download).",
2400
3505
  "kw.setup_download": "Download now",
2401
3506
  "kw.setup_skip": "Not now",
2402
- "kw.setup_hint": "↑↓ select · Enter confirm · Esc skip"
3507
+ "kw.setup_hint": "↑↓ select · Enter confirm · Esc skip",
3508
+ "status.calling_tool": "Calling",
3509
+ "knowledge.embedding_install_hint": "The local vector components are missing or incomplete. Reinstall and retry: npm i -g nexum-code",
3510
+ "auth.deleted_current": "Deleted provider: {name}. The current session is kept — pick a model to continue (/config or /model).",
3511
+ "auth.logout_busy": "Cannot remove a provider while a turn is running — press Esc or Ctrl-C first.",
3512
+ "config.entry_title": "Configure a model service",
3513
+ "config.entry_hint": "↑/↓ to choose · Enter to confirm · Esc to cancel",
3514
+ "config.entry_quick": "Quick pick",
3515
+ "config.entry_quick_desc": "Choose from the built-in directory; configuration is applied automatically",
3516
+ "config.entry_diy": "Custom",
3517
+ "config.entry_diy_desc": "Enter the wire type, endpoint, key and model parameters yourself",
3518
+ "config.entry_image": "Image",
3519
+ "config.entry_image_desc": "Configure the image service (provider, URL, key, model)",
3520
+ "footer.shift_tab": "shift+tab: Plan mode",
3521
+ "footer.model": "/model: Switch model",
3522
+ "footer.ctrl_s": "ctrl+s: Interrupt",
3523
+ "footer.compact": "/compact: Compress context",
3524
+ "footer.ctrl_o": "ctrl+o: Expand tool output",
3525
+ "footer.tasks": "/tasks: Background tasks",
3526
+ "footer.shift_enter": "shift+enter: New line",
3527
+ "footer.init": "/init: Generate AGENTS.md",
3528
+ "footer.at": "@: Mention files",
3529
+ "footer.ctrl_c": "ctrl+c: Cancel",
3530
+ "footer.skill": "/skill: Skill center",
3531
+ "footer.help": "/help: Show commands",
3532
+ "footer.config": "/config: Configure your model provider",
3533
+ "footer.reminder": "Let Nexum schedule tasks, e.g. \"remind me to pick up the package in 2 hours\"",
3534
+ "footer.context_short": "Context: {bar}",
3535
+ "cc.clean_config.detail": " ~/.cc-connect (includes session records, config, logs)",
3536
+ "registry.cc_desc": "Control your cc (start/stop/restart)",
3537
+ "registry.cc_connect_desc": "cc-connect quick channel setup (requires installation)",
3538
+ "cli.err.prompt_empty": "The prompt cannot be empty.",
3539
+ "cli.err.model_empty": "The model cannot be empty.",
3540
+ "cli.err.max_time_prompt_only": "--max-time is only supported in prompt mode (-p).",
3541
+ "cli.err.max_time_invalid": "Invalid --max-time value: {value}. Use e.g. 600, 90s, 10m or 1h30m (at least 1 second).",
3542
+ "cli.err.output_format_prompt_only": "--output-format is only supported in prompt mode.",
3543
+ "cli.err.prompt_conflict": "--prompt cannot be combined with {flag}.",
3544
+ "cli.err.session_id_required": "--session needs a session ID in prompt mode.",
3545
+ "cli.err.continue_session_conflict": "--continue and --session cannot be combined.",
3546
+ "cli.err.yolo_auto_conflict": "--yolo cannot be combined with --auto.",
3547
+ "cli.err.resume_conflict": "{flag} cannot be combined with --continue or --session.",
3548
+ "cli.err.prefix": "Error: {message}",
3549
+ "cli.err.see_log": "See the log: {path}",
3550
+ "cli.op.run_prompt": "run prompt",
3551
+ "cli.op.start_shell": "start shell",
3552
+ "cli.err.operation_failed": "Error: {operation} failed: {message}",
3553
+ "cli.err.title": "Error: {title}",
3554
+ "cli.err.message_label": "Message:",
3555
+ "cli.help.description": "The starting point for next-generation agents",
3556
+ "cli.help.help": "Show help.",
3557
+ "cli.help.docs": "Docs:",
3558
+ "cli.opt.session": "Resume a session. With an ID: resume that session. Without: pick one interactively.",
3559
+ "cli.opt.continue": "Continue the previous session in the current working directory.",
3560
+ "cli.opt.yolo": "Approve every operation automatically.",
3561
+ "cli.opt.auto": "Start in auto permission mode.",
3562
+ "cli.opt.model": "LLM model alias for this run. Defaults to default_model in config.toml.",
3563
+ "cli.opt.prompt": "Run one prompt non-interactively and print the response.",
3564
+ "cli.opt.max_time": "Wall-clock limit for prompt mode: stop and exit with status 124 when it runs out; the session is kept and resumable (e.g. 600, 90s, 10m, 1h30m).",
3565
+ "cli.opt.output_format": "Output format for prompt mode. Defaults to text.",
3566
+ "cli.opt.skills_dir": "Load skills from this directory instead of the discovered user and project directories. Repeatable.",
3567
+ "cli.opt.plan": "Start in plan mode.",
3568
+ "cli.opt.wolfpack": "Start with WolfPack batch-concurrency mode on.",
3569
+ "cli.line.description": "Native IM channel daemon (Feishu/Lark, WeChat; configure with /line in the TUI)",
3570
+ "cli.line.cmd_run": "Run the daemon in the foreground (for debugging)",
3571
+ "cli.line.cmd_start": "Start the daemon in the background",
3572
+ "cli.line.cmd_stop": "Stop the daemon",
3573
+ "cli.line.cmd_status": "Show the daemon status",
3574
+ "cli.goodbye": "Bye!",
3575
+ "cli.resume_hint": "Resume this session: {command}",
3576
+ "cli.prompt.session_not_found": "Session \"{id}\" was not found.",
3577
+ "cli.prompt.session_other_dir": "Session \"{id}\" was created in a different directory.",
3578
+ "cli.prompt.no_session_to_continue": "No session to continue in \"{dir}\"; starting a new one.",
3579
+ "cli.prompt.no_model": "No model configured. Run `nexum` and sign in with /login, then retry; or set default_model in config.toml.",
3580
+ "cli.prompt.max_time": "Reached the --max-time limit ({duration}); this run was stopped. The session is saved — continue it with --session.",
3581
+ "cli.prompt.token_cap": "Session token limit reached ({used} of {limit}, max_session_tokens)",
3582
+ "cli.prompt.hook_blocked": " blocked",
3583
+ "cli.prompt.empty": "(empty)",
3584
+ "cli.prompt.turn_ended": "Turn ended: {reason}",
3585
+ "cli.stream.session_ended": "Session ended",
3586
+ "cli.stream.subtask_started": "[Subtask: {name}]",
3587
+ "cli.stream.subtask_done": "[Subtask done: {name}]",
3588
+ "cli.stream.subtask_failed": "[Subtask failed: {name} - {error}]",
3589
+ "cli.stream.session_reset": "Session reset",
3590
+ "cli.stream.session_auto_reset": "The session was reset automatically; please send your message again.",
3591
+ "cli.export.none": "No past session to export.",
3592
+ "cli.export.cancelled": "Export cancelled.",
3593
+ "cli.export.description": "Export a session as a ZIP archive.",
3594
+ "cli.export.opt_output": "Output ZIP path.",
3595
+ "cli.export.opt_yes": "Skip the past-session confirmation.",
3596
+ "cli.export.opt_no_log": "Do not bundle the current global diagnostic log (~/.nexum-code/logs/nexum-code.log, rotated .1 files excluded). The global log is included by default.",
3597
+ "cli.export.arg_session": "Session ID to export. Defaults to the most recent session.",
3598
+ "cli.export.confirm": "Export past session \"{title}\"? [Y/n] ",
3599
+ "cli.line.not_configured": "No platform is configured yet (Feishu/WeChat). Run /line in the nexum TUI to finish the setup wizard.",
3600
+ "cli.line.already_running": "The line daemon is already running (pid {pid}).",
3601
+ "cli.line.started": "The line daemon started (pid {pid}). Log: ~/.nexum-code/line/daemon.log",
3602
+ "cli.line.stopped": "The line daemon stopped.",
3603
+ "cli.line.not_running": "The line daemon is not running.",
3604
+ "cli.line.state_running": "running (pid {pid})",
3605
+ "cli.line.state_stopped": "not running",
3606
+ "cli.line.status": "line daemon: {state}",
3607
+ "cli.line.platforms": "Feishu: {feishu}; WeChat: {weixin}",
3608
+ "cli.line.configured": "configured",
3609
+ "cli.line.unconfigured": "not configured",
3610
+ "cli.line.config_file": "Config file: {path}",
3611
+ "cli.line.mode": "Permission mode: {mode}; auto-start with nexum: {auto}",
3612
+ "cli.line.on": "on",
3613
+ "cli.line.off": "off",
3614
+ "cli.line.setup_hint": "Tip: run /line in the nexum TUI to finish the setup wizard (Feishu or WeChat).",
3615
+ "cli.update.manual": "A new version of Nexum Code is available ({current} -> {target}).\nThe automatic update failed; run this manually:\n {command}\n",
3616
+ "cli.update.success": "Updated to {version}. Restart nexum to use the new version.\n",
3617
+ "cli.update.timeout": "npm install timed out",
3618
+ "cli.update.install_failed": "npm install failed (exit {code})",
3619
+ "cli.update.failed_warning": "Warning: the update failed: {message}\n",
3620
+ "cli.update.install_hint": "Install the update now",
3621
+ "cli.update.skip_hint": "Keep the current version",
3622
+ "cli.update.source_npm": "npm install",
3623
+ "cli.update.changelog": "View the changelog: {url}",
3624
+ "cli.update.title": "Nexum Code update available",
3625
+ "cli.update.available": "A new version of {product} is available.",
3626
+ "cli.update.label_current": "Current",
3627
+ "cli.update.label_target": "Target ",
3628
+ "cli.update.label_source": "Source ",
3629
+ "cli.update.label_command": "Command",
3630
+ "cli.update.keys": "↑↓ select · Enter confirm · Esc continue",
3631
+ "cli.update.bad_semver": "npm view returned a version that is not valid semver: {raw}",
3632
+ "cli.version.no_package_json": "Could not find package.json near {dir}",
3633
+ "budget.picker_title": "Session token limit",
3634
+ "budget.picker_hint": "↑↓ select · Enter confirm · Esc cancel · or type /budget 50m",
3635
+ "budget.status": "Used this run: {used} · Limit: {limit}",
3636
+ "budget.limit_none": "none",
3637
+ "budget.option_off": "No limit",
3638
+ "budget.option_custom": "Custom…",
3639
+ "budget.custom_title": "Session token limit",
3640
+ "budget.custom_subtitle": "How many tokens may this session use? e.g. 50m, 500k, 1b, 500万 (0 = no limit)",
3641
+ "budget.custom_invalid": "\"{input}\" is not a token count — try 50m, 500k or 1b",
3642
+ "budget.invalid": "Could not read \"{input}\" as a token count. Try 500k, 20m, 1b, 500万 or off.",
3643
+ "budget.set": "Session token limit set to {limit}. Applies now, and is the default for new sessions.",
3644
+ "budget.cleared": "Session token limit turned off. Applies now, and for new sessions.",
3645
+ "budget.already_over": "This run has already used {used}, above the new limit — model requests stay paused until you raise it.",
3646
+ "budget.apply_failed": "Could not change the limit on this session: {error}",
3647
+ "budget.save_failed": "Applied to this session, but saving it as the default failed: {error}",
3648
+ "skill_candidate.purpose": " ({purpose})",
3649
+ "skill_candidate.request": "A reusable process \"{name}\"{purpose} was detected. Use the AskUserQuestion tool to ask the user whether to save it as a reusable skill (options: Generate / Dismiss). If the user picks \"Generate\", build the skill with MakeSkillPlan and write it to disk with MakeSkillApply; afterwards tell the user plan.verification.instructions verbatim and explain that it is the trigger check to run once the skill is installed. If the user picks \"Dismiss\", just say it was skipped.",
3650
+ "skill_candidate.ask_failed": "A reusable process \"{name}\" was detected, but asking about it failed. You can handle it manually later.",
3651
+ "compact.guard_notice": "Context is only {current} / {max} ({pct}%), so compaction would gain nothing. Keep chatting and run /compact once it grows past 5%.",
3652
+ "model.switch_guard_notice": "Cannot switch to model \"{alias}\": the current context ({current}) exceeds its limit ({max}). Run /compact first, or pick a model with a larger context window.",
3653
+ "model.picker_empty_title": "No model configured",
3654
+ "model.picker_empty_detail": "Run /config to set up a model.",
3655
+ "editor.unchanged": "Editor unchanged: {value}",
3656
+ "editor.save_failed": "Failed to save editor: {error}",
3657
+ "editor.set_value": "Editor set to \"{value}\".",
3658
+ "editor.set_auto": "Editor set to auto-detect ($VISUAL / $EDITOR).",
3659
+ "trace.err.no_session": "No active session — cannot export the trace.",
3660
+ "trace.err.no_wire": "Trace file not found: {path}",
3661
+ "trace.opened": "Trace opened in your browser.",
3662
+ "trace.generated": "Trace generated — please open it manually.",
3663
+ "trace.err.export_failed": "Trace export failed: {error}",
3664
+ "clipboard.video_too_large": "The video is {size} MB; the maximum is 100 MB.",
3665
+ "session.imported_badge": "[imported]",
3666
+ "marketplace.err.invalid_json": "The plugin marketplace is not valid JSON: {error}",
3667
+ "marketplace.err.not_object": "The plugin marketplace must be an object.",
3668
+ "marketplace.err.plugins_array": "The plugin marketplace must contain a \"plugins\" array.",
3669
+ "marketplace.err.url_empty": "{env} must not be empty.",
3670
+ "marketplace.err.http": "The plugin marketplace returned HTTP {status}",
3671
+ "marketplace.err.entry_object": "Plugin marketplace entry {index} must be an object.",
3672
+ "marketplace.err.entry_source": "Plugin marketplace entry {id} must define \"source\".",
3673
+ "marketplace.err.tier_string": "Plugin marketplace entry {id} \"tier\" must be a string.",
3674
+ "marketplace.err.tier_values": "Plugin marketplace entry {id} \"tier\" must be one of: {values}.",
3675
+ "marketplace.err.entry_field": "Plugin marketplace entry {index} must define \"{field}\".",
3676
+ "lifecycle.memory_countdown": "Extracting memories soon",
3677
+ "lifecycle.memory_cancel_hint": "This session has been idle; memories will be extracted in {seconds}s. Press any key to cancel.",
3678
+ "lifecycle.memory_cancelled": "Memory extraction cancelled.",
3679
+ "lifecycle.memory_processing": "Extracting memories…",
3680
+ "lifecycle.memory_done": "Extracted {count} memories.",
3681
+ "lifecycle.memory_none": "No new memories to extract.",
3682
+ "lifecycle.memory_failed": "Memory extraction failed.",
3683
+ "trace.cell.thinking": "Thinking…",
3684
+ "trace.cell.tools": "Tools: {tools}",
3685
+ "trace.cell.empty_reply": "(empty reply)",
3686
+ "trace.cell.empty_input": "(empty input)",
3687
+ "trace.cell.steer": "Steer: {text}",
3688
+ "trace.cell.approval_timeout": "Approval timed out",
3689
+ "trace.cell.approval_cancelled": "Approval cancelled",
3690
+ "trace.cell.approval_rejected": "Approval rejected",
3691
+ "trace.cell.request": "Request {model}",
3692
+ "trace.cell.toolset": "Tool set: {tools}",
3693
+ "trace.cell.model_alias": "Model alias: {alias}",
3694
+ "trace.cell.prompt_updated": "System prompt updated",
3695
+ "trace.cell.reason": " ({reason})",
3696
+ "trace.cell.compaction": "Compact context{reason}",
3697
+ "trace.cell.micro_compaction": "Micro-compaction{reason}",
3698
+ "trace.cell.source": "Source: {source}",
3699
+ "trace.cell.truncated": "…[truncated {count} characters]",
3700
+ "trace.cell.folded_range": " (turns {first}-{last})",
3701
+ "trace.cell.folded": "Earlier trace folded{range}: {count} records",
3702
+ "trace.html.title_suffix": "Session trace",
3703
+ "trace.html.search": "Search…",
3704
+ "trace.html.kind": "Kind",
3705
+ "trace.html.index": "No.",
3706
+ "trace.html.time": "Time",
3707
+ "trace.html.turn": "Turn",
3708
+ "trace.html.input": "Input",
3709
+ "trace.html.cache_read": "Cache read",
3710
+ "trace.html.cache_write": "Cache write",
3711
+ "trace.html.output": "Output",
3712
+ "trace.html.decode": "Decode",
3713
+ "trace.html.model": "Model",
3714
+ "trace.html.finish": "Finish",
3715
+ "trace.html.thinking": "Thinking",
3716
+ "trace.html.content": "Content",
3717
+ "trace.html.tool_result": "Tool result",
3718
+ "trace.html.no_detail": "No details",
3719
+ "trace.html.no_match": "No matching records",
3720
+ "trace.html.count": "{shown} / {total} records",
3721
+ "trace.html.turn_count": "· {n} records",
3722
+ "trace.html.time_tip": "Time {seconds}s"
2403
3723
  }
2404
3724
  };
2405
3725
  function detectSystemLocale() {
2406
3726
  const env = process.env;
2407
- const envLang = (env["LC_ALL"] || env["LC_MESSAGES"] || env["LANG"] || env["LANGUAGE"] || "").toLowerCase();
3727
+ const envLang = ([
3728
+ "LC_ALL",
3729
+ "LC_MESSAGES",
3730
+ "LANG",
3731
+ "LANGUAGE"
3732
+ ].map((name) => env[name]).find((v) => v !== void 0 && v !== "") ?? "").toLowerCase();
2408
3733
  if (envLang.startsWith("zh")) return "zh";
2409
3734
  if (envLang.length > 0) return "en";
2410
3735
  try {
2411
3736
  if (Intl.DateTimeFormat().resolvedOptions().locale.toLowerCase().startsWith("zh")) return "zh";
2412
3737
  } catch {}
2413
3738
  if (process.platform === "win32") {
2414
- if ((env["LANG"] || "").toLowerCase().startsWith("zh")) return "zh";
3739
+ const winRaw = env["LANG"];
3740
+ if ((winRaw !== void 0 && winRaw !== "" ? winRaw : "").toLowerCase().startsWith("zh")) return "zh";
2415
3741
  }
2416
3742
  return "en";
2417
3743
  }
@@ -2520,4 +3846,4 @@ var TextInputDialogComponent = class extends Container {
2520
3846
  }
2521
3847
  };
2522
3848
  //#endregion
2523
- export { setLocale as a, getLocale as i, assertNexumHostIdentity as n, t as o, createNexumDefaultHeaders as r, TextInputDialogComponent as t };
3849
+ export { assertNexumHostIdentity as a, t as i, getLocale as n, createNexumDefaultHeaders as o, setLocale as r, TextInputDialogComponent as t };