nexum-code 0.18.7 → 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.
- package/README.md +14 -14
- package/dist/{app-aqWxJw2S.mjs → app-CYLTD0b3.mjs} +19994 -15221
- package/dist/{dispatch-DQ6ufFQt.mjs → dispatch-DnZRjRNm.mjs} +21929 -9483
- package/dist/{dispatch-ByfuGE0h.mjs → dispatch-cUxbpzTE.mjs} +1 -1
- package/dist/{markit-XGWU21rO.mjs → esm-C0toZ4e0.mjs} +19 -2344
- package/dist/main.mjs +1 -1
- package/dist/markdown-BwvhOvCA.mjs +25943 -0
- package/dist/markit-LwaDGgYt.mjs +2334 -0
- package/dist/{src-pqi1HIGh.mjs → src-C6YAs3fd.mjs} +1 -1
- package/dist/{src-BPh-7A8j.mjs → src-C8mW2wSe.mjs} +779 -276
- package/dist/{text-input-dialog-CAaXBGxG.mjs → text-input-dialog-BbyJmVbH.mjs} +1 -1
- package/dist/{text-input-dialog-BIhpfWk_.mjs → text-input-dialog-CAxwn6Ze.mjs} +930 -74
- package/docs/architecture.md +80 -0
- package/docs/configuration.md +204 -0
- package/docs/line.md +159 -0
- package/docs/mcp.md +141 -0
- package/docs/plugins.md +198 -0
- package/docs/sessions.md +78 -0
- package/docs/skills.md +76 -0
- package/package.json +9 -8
|
@@ -3,13 +3,13 @@ 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
9
|
import { arch, hostname, release, type } from "node:os";
|
|
10
|
-
import {
|
|
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";
|
|
12
|
+
import chalk from "chalk";
|
|
13
13
|
//#region ../../packages/config/src/identity.ts
|
|
14
14
|
/**
|
|
15
15
|
* Nexum host and device identity header factories.
|
|
@@ -132,7 +132,15 @@ const dictionaries = {
|
|
|
132
132
|
"status.awaiting_approval": "等待批准",
|
|
133
133
|
"status.awaiting_answer": "等待回答",
|
|
134
134
|
"status.reconnecting_short": "重连中 {attempt}/{max}",
|
|
135
|
-
"status.
|
|
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",
|
|
136
144
|
"status.reason_rate_limit": "限流",
|
|
137
145
|
"status.reason_server": "服务器错误",
|
|
138
146
|
"status.reason_timeout": "网络超时",
|
|
@@ -187,7 +195,7 @@ const dictionaries = {
|
|
|
187
195
|
"common.not_set": "未设置",
|
|
188
196
|
"error.path_empty": "路径不能为空",
|
|
189
197
|
"error.path_not_exist": "路径不存在: {path}",
|
|
190
|
-
"error.unsupported_format": "仅支持 .md、.markdown、.txt 文件",
|
|
198
|
+
"error.unsupported_format": "仅支持 .md、.markdown、.txt、.pdf、.docx、.xlsx 文件",
|
|
191
199
|
"error.image_not_supported": "当前模型不支持图片输入。",
|
|
192
200
|
"error.video_not_supported": "当前模型不支持视频输入。",
|
|
193
201
|
"error.network_timeout": "网络超时,建议检查网络或开启加速后重试。",
|
|
@@ -195,26 +203,22 @@ const dictionaries = {
|
|
|
195
203
|
"error.internal": "内部错误",
|
|
196
204
|
"error.no_session": "没有活跃的会话。",
|
|
197
205
|
"error.session_header_hint": "请在 config.toml 对应服务商下设置 session_header = \"{name}\",以提供网关要求的会话标识。",
|
|
198
|
-
"footer.
|
|
199
|
-
"footer.
|
|
200
|
-
"footer.
|
|
201
|
-
"footer.
|
|
202
|
-
"footer.
|
|
203
|
-
"footer.
|
|
204
|
-
"footer.
|
|
205
|
-
"footer.
|
|
206
|
-
"footer.
|
|
207
|
-
"footer.
|
|
208
|
-
"footer.skill": "/skill: 打开 Skill 中心",
|
|
209
|
-
"footer.help": "/help: 显示命令",
|
|
210
|
-
"footer.config": "/config: 选择并配置你常用的模型商",
|
|
211
|
-
"footer.reminder": "让 Nexum 安排任务,例如 \"2个小时后提醒我去拿快递\"",
|
|
212
|
-
"footer.context": "上下文: {bar} ({tokens}/{maxTokens})",
|
|
213
|
-
"footer.context_short": "上下文: {bar}",
|
|
214
|
-
"footer.hit": "HitR",
|
|
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": "飞书",
|
|
215
216
|
"footer.tasks_running": "后台任务 x{count}",
|
|
216
217
|
"footer.agents_running": "后台Agent x{count}",
|
|
217
218
|
"footer.subagents_working": "前台Agent x{count}",
|
|
219
|
+
"footer.running_total": "运行中 {count}",
|
|
220
|
+
"footer.goal": "目标 {time} · {turns}轮",
|
|
221
|
+
"footer.goal_turns": "目标 {turns}轮",
|
|
218
222
|
"sidebar.git": "Git",
|
|
219
223
|
"sidebar.session": "会话",
|
|
220
224
|
"sidebar.goal": "目标",
|
|
@@ -286,6 +290,7 @@ const dictionaries = {
|
|
|
286
290
|
"language.switched": "语言已切换为 {locale}",
|
|
287
291
|
"language.restart_hint": "建议重启 nexum-code 以使所有界面文本生效",
|
|
288
292
|
"knowledge.chunking": "切分文件中...",
|
|
293
|
+
"knowledge.converting": "转换文档:{file}",
|
|
289
294
|
"knowledge.embedding_chunks": "嵌入 chunks: {index}/{total}",
|
|
290
295
|
"knowledge.extracting": "抽取事件: {index}/{total}",
|
|
291
296
|
"knowledge.embedding_events": "嵌入 events: {index}/{total}",
|
|
@@ -293,7 +298,7 @@ const dictionaries = {
|
|
|
293
298
|
"knowledge.embedding_relations": "嵌入关系...",
|
|
294
299
|
"knowledge.error": "错误: {msg}",
|
|
295
300
|
"knowledge.ingest": "摄入文件/文件夹",
|
|
296
|
-
"knowledge.ingest_desc": "输入
|
|
301
|
+
"knowledge.ingest_desc": "输入 Markdown/TXT 文件或文件夹路径(推荐 Markdown:结构清晰、检索最准)。也支持 PDF / Word(.docx) / Excel(.xlsx),但扫描件、图片多、宽表格的提取效果会明显下降【摄入后首次抽取事件关联需要调用llm,文件过大建议更换性价比模型】",
|
|
297
302
|
"knowledge.ingesting": "开始摄入...",
|
|
298
303
|
"knowledge.ingest_done": "摄入完成",
|
|
299
304
|
"knowledge.ingest_fail": "摄入失败",
|
|
@@ -340,7 +345,7 @@ const dictionaries = {
|
|
|
340
345
|
"knowledge.stats_chunks": "切片数(按标题切分)",
|
|
341
346
|
"knowledge.stats_events": "LLM 抽取的融合事件数",
|
|
342
347
|
"knowledge.stats_entities": "去重后的实体数",
|
|
343
|
-
"knowledge.ingest_full": "从
|
|
348
|
+
"knowledge.ingest_full": "从 Markdown / TXT / PDF / Word(.docx) / Excel(.xlsx) 文件或文件夹摄入知识(chunk + 抽事件 + 抽实体)",
|
|
344
349
|
"knowledge.doc_list": "文档列表",
|
|
345
350
|
"knowledge.doc_list_desc": "查看所有已摄入的文档",
|
|
346
351
|
"knowledge.search_effect": "输入查询,测试多跳检索效果",
|
|
@@ -428,7 +433,59 @@ const dictionaries = {
|
|
|
428
433
|
"mcp.install_fail": "{name} 安装失败。",
|
|
429
434
|
"mcp.uninstall_confirm": "确认卸载 \"{name}\"?",
|
|
430
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 中更新。",
|
|
431
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 取消",
|
|
432
489
|
"mcp.uninstalled": "{name} 已卸载。",
|
|
433
490
|
"mcp.no_session": "请先创建或恢复一个会话。",
|
|
434
491
|
"mcp.manage_title": "MCP 管理({count} 已连接)",
|
|
@@ -447,7 +504,12 @@ const dictionaries = {
|
|
|
447
504
|
"mcp.start_failed": "启动失败: {msg}",
|
|
448
505
|
"mcp.uninstall_done": "已卸载。",
|
|
449
506
|
"mcp.uninstall_failed": "卸载失败: {msg}",
|
|
450
|
-
"mcp.
|
|
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 返回",
|
|
451
513
|
"mcp.macos_only": "仅支持 macOS",
|
|
452
514
|
"cc.start": "启动",
|
|
453
515
|
"cc.stop": "关闭",
|
|
@@ -485,6 +547,93 @@ const dictionaries = {
|
|
|
485
547
|
"cc.confirm_uninstall_btn": "确认卸载",
|
|
486
548
|
"cc.uninstall_step_npm": "· 执行 npm uninstall -g cc-connect",
|
|
487
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": "微信",
|
|
488
637
|
"auth.fetching_models": "正在拉取最新模型目录...",
|
|
489
638
|
"auth.catalog_fetch_failed": "拉取远程模型目录失败: {error}。请检查网络(目录站点在你的网络环境下可能无法访问)后重试,或使用 /config diy 自行配置服务商。",
|
|
490
639
|
"auth.no_providers": "没有已配置的模型商。",
|
|
@@ -589,7 +738,7 @@ const dictionaries = {
|
|
|
589
738
|
"session.title": "会话",
|
|
590
739
|
"session.loading": "正在加载会话...",
|
|
591
740
|
"session_picker.empty": "未找到会话。按 Escape 关闭。",
|
|
592
|
-
"session_picker.cc_restricted": "
|
|
741
|
+
"session_picker.cc_restricted": "通道会话不支持切换或删除,请点击或复制下方文件路径进入手动管理",
|
|
593
742
|
"session_picker.batch_delete_confirm": "删除选中的 {count} 个会话?",
|
|
594
743
|
"session_picker.batch_delete_hint": " 按 Enter 确认批量删除,Esc 取消",
|
|
595
744
|
"session_picker.batch_delete_unavailable": "此处不支持批量删除。",
|
|
@@ -630,6 +779,9 @@ const dictionaries = {
|
|
|
630
779
|
"help.browse_history": "浏览输入历史",
|
|
631
780
|
"help.submit": "提交",
|
|
632
781
|
"help.title": " 帮助 ",
|
|
782
|
+
"help.hotkeys_title": " 键盘快捷键 ",
|
|
783
|
+
"help.recall_queued": "忙碌时召回上一条排队中的消息",
|
|
784
|
+
"help.paste_image": "粘贴图片(Windows: Alt-V)",
|
|
633
785
|
"help.close_hint": "Esc / Enter / q 关闭 · ↑↓ 滚动",
|
|
634
786
|
"help.welcome_msg": "Nexum 已准备好帮助您!发送消息即可开始。",
|
|
635
787
|
"help.hidden_commands": "/config diy 自定义模型服务商 /config image 生图配置 /model diy 多代理编排配置",
|
|
@@ -688,13 +840,27 @@ const dictionaries = {
|
|
|
688
840
|
"memory.pitfall_label": "踩坑: ",
|
|
689
841
|
"memory.experience_label": "经验: ",
|
|
690
842
|
"memory.note_label": "笔记: ",
|
|
691
|
-
"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": "这是归纳结果,原始条目已删除,删除后无法恢复",
|
|
692
857
|
"plugin.no_session": "请先创建或恢复一个会话,再使用 Plugin 中心。",
|
|
693
858
|
"extension.no_session": "请先创建或恢复一个会话,再使用扩展命令。",
|
|
694
|
-
"extension.usage": "用法:/extension activate|deactivate|status [pluginId]",
|
|
859
|
+
"extension.usage": "用法:/extension activate|deactivate|reload|status [pluginId]",
|
|
695
860
|
"extension.missing_id": "缺少扩展 id:/extension {action} <pluginId>",
|
|
696
861
|
"extension.activated": "扩展 {pluginId} 已激活。",
|
|
697
862
|
"extension.deactivated": "扩展 {pluginId} 已停用。",
|
|
863
|
+
"extension.reloaded": "扩展 {pluginId} 已重新加载。",
|
|
698
864
|
"extension.no_extensions": "没有安装代码插件(entryPoint)。",
|
|
699
865
|
"plugin.loading": "正在加载 Plugin 中心…",
|
|
700
866
|
"plugin.center_title": "Plugin 中心",
|
|
@@ -778,8 +944,13 @@ const dictionaries = {
|
|
|
778
944
|
"handler.max_tokens_hint": "如果此限制对您的模型不合适,请在 nexum-code 配置中为模型别名设置 `max_output_size`。",
|
|
779
945
|
"handler.user_interrupted": "用户中断",
|
|
780
946
|
"handler.max_steps_reached": "达到每轮步骤限制(max_steps)",
|
|
947
|
+
"handler.token_cap_reached": "本会话 token 用量已达上限({used} / {limit}),不再发起模型请求;用 /budget 调高后即可继续",
|
|
781
948
|
"handler.step_interrupted": "步骤中断 ({reason})",
|
|
782
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),压缩已取消。",
|
|
783
954
|
"handler.mcp_server_failed": "MCP 服务器 \"{name}\" 失败{error}",
|
|
784
955
|
"handler.mcp_server_needs_auth": "MCP 服务器 \"{name}\" 需要 OAuth 认证,请运行 /mcp",
|
|
785
956
|
"handler.mcp_server_disabled": "MCP 服务器 \"{name}\" 已禁用",
|
|
@@ -885,11 +1056,32 @@ const dictionaries = {
|
|
|
885
1056
|
"subagent.follow_main_desc": "使用主代理当前模型(默认)",
|
|
886
1057
|
"subagent.stale_binding": "{alias}(已失效)",
|
|
887
1058
|
"subagent.invalid_alias": "模型别名 {alias} 不存在",
|
|
1059
|
+
"subagent.follow_default": "跟随默认(配置项优先)",
|
|
1060
|
+
"subagent.follow_default_desc": "未绑定时先走配置内的角色/压缩模型,再跟随主模型",
|
|
888
1061
|
"subagent.title": "子代理模型绑定",
|
|
889
1062
|
"subagent.hint": "↑↓ 选择子代理 · Enter 绑定模型 · Esc 取消",
|
|
890
1063
|
"subagent.bind_title": "绑定 {profile}",
|
|
891
1064
|
"subagent.model_hint": "↑↓ 选择模型 · Enter 确认 · Esc 返回",
|
|
892
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 返回",
|
|
893
1085
|
"kdoctree.no_title": "(无标题)",
|
|
894
1086
|
"kdoctree.empty": "(空)",
|
|
895
1087
|
"kdoctree.move": "移动",
|
|
@@ -909,6 +1101,8 @@ const dictionaries = {
|
|
|
909
1101
|
"usage.subagent_title": "子 Agent 用量",
|
|
910
1102
|
"usage.panel_title": " 用量 ",
|
|
911
1103
|
"usage.session_total": "会话总计",
|
|
1104
|
+
"usage.token_limit": "本次运行 token 上限:{used} / {limit}",
|
|
1105
|
+
"usage.cost": "花费",
|
|
912
1106
|
"usage.cache_rw": "缓存",
|
|
913
1107
|
"usage.main_agent": "主 Agent",
|
|
914
1108
|
"usage.sub_agent": "子 Agent",
|
|
@@ -1086,9 +1280,9 @@ const dictionaries = {
|
|
|
1086
1280
|
"tc.rejected": "已拒绝",
|
|
1087
1281
|
"tc.cancelled": "已取消",
|
|
1088
1282
|
"tc.error_prefix": "错误:",
|
|
1089
|
-
"dialog.cc_session_connected": "
|
|
1283
|
+
"dialog.cc_session_connected": "已连接通道会话({id})。",
|
|
1090
1284
|
"dialog.create_session_failed": "创建会话失败",
|
|
1091
|
-
"dialog.cc_managed": "
|
|
1285
|
+
"dialog.cc_managed": "该会话由 IM 通道管理,请在聊天应用里操作,或停止对应通道后删除。",
|
|
1092
1286
|
"dialog.memo_injected": "已注入备忘录 #{id}",
|
|
1093
1287
|
"dialog.approval_title": "Nexum Code 需要审批",
|
|
1094
1288
|
"dialog.question_title": "Nexum Code 需要您的回答",
|
|
@@ -1282,18 +1476,23 @@ const dictionaries = {
|
|
|
1282
1476
|
"dispatch.eval_suggest_tool": "文件读写工具执行未成功,请检查工作目录权限;若重试后仍失败,请反馈",
|
|
1283
1477
|
"dispatch.eval_suggest_answer": "模型回答可能不完整或不正确,可尝试更换更强的模型后重试",
|
|
1284
1478
|
"constant.llm_not_set": "LLM 未设置,运行 /config 自定义模型配置",
|
|
1479
|
+
"constant.model_detached": "当前模型已被移除,请用 /config 或 /model 重新选择。",
|
|
1285
1480
|
"constant.no_active_session": "没有活动会话。运行 /config 自定义模型配置。",
|
|
1286
1481
|
"constant.ctrl_d_hint": "再次按 Ctrl+D 退出",
|
|
1287
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}",
|
|
1288
1488
|
"tui.resume_warning": "警告:{warning}",
|
|
1289
1489
|
"tui.skill_failed": "Skill \"{skill}\" 执行失败:{message}",
|
|
1290
1490
|
"tui.replay_no_new_session": "历史回放期间无法启动新会话。",
|
|
1291
1491
|
"adapter.task_label": "任务 {taskId}",
|
|
1292
|
-
"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",
|
|
1293
1493
|
"knowledge.ingest_summary": "总计: {chunks} chunks, {events} events, {entities} entities",
|
|
1294
1494
|
"knowledge.empty_store": "知识库为空,请先用 /knowledge 摄入文档",
|
|
1295
1495
|
"knowledge.web_opened": "知识图谱已打开: {url}",
|
|
1296
|
-
"cc.clean_config.detail": " ~/.cc-connect(含会话记录、配置、日志)",
|
|
1297
1496
|
"registry.auto_desc": "切换自动权限模式",
|
|
1298
1497
|
"registry.yolo_desc": "切换至自动批准模式(yolo)",
|
|
1299
1498
|
"registry.bot_desc": "切换无人值守 Bot 模式(bot)",
|
|
@@ -1326,8 +1525,11 @@ const dictionaries = {
|
|
|
1326
1525
|
"registry.fusionplan_desc": "切换融合计划模式(多子代理并行规划)",
|
|
1327
1526
|
"registry.tasks_desc": "浏览后台任务",
|
|
1328
1527
|
"registry.help_desc": "显示可用命令和快捷键",
|
|
1528
|
+
"registry.hotkeys_desc": "查看键盘快捷键",
|
|
1529
|
+
"registry.copy_desc": "复制上一条回复到剪贴板",
|
|
1329
1530
|
"registry.status_desc": "显示当前会话和运行时状态",
|
|
1330
1531
|
"registry.usage_desc": "显示 token 用量和上下文窗口",
|
|
1532
|
+
"registry.budget_desc": "设置本会话的 token 上限",
|
|
1331
1533
|
"registry.btw_desc": "在不中断对话的情况下快速提问",
|
|
1332
1534
|
"registry.snaptimer_desc": "开关会话快照计时器(每次回复后的用时标记)",
|
|
1333
1535
|
"snaptimer.enabled": "会话快照计时器已开启",
|
|
@@ -1379,6 +1581,9 @@ const dictionaries = {
|
|
|
1379
1581
|
"cron.kind_recurring": "重复",
|
|
1380
1582
|
"cron.kind_once": "一次性",
|
|
1381
1583
|
"cron.stale": "已过期",
|
|
1584
|
+
"cron.silent": "静默",
|
|
1585
|
+
"cron.mute": "静音",
|
|
1586
|
+
"cron.last_error": "上次失败:{error}",
|
|
1382
1587
|
"cron.sched_5m": "每 5 分钟",
|
|
1383
1588
|
"cron.sched_hourly": "每小时",
|
|
1384
1589
|
"cron.sched_daily9": "每天 09:00",
|
|
@@ -1397,7 +1602,8 @@ const dictionaries = {
|
|
|
1397
1602
|
"cron.wizard_task_placeholder": "例如:检查 CI 状态并汇报失败原因",
|
|
1398
1603
|
"cron.wizard_kind_title": "只做一次,还是每次都做?",
|
|
1399
1604
|
"cron.wizard_kind_hint": "↑↓ 选择 · Enter 确认 · Esc 取消",
|
|
1400
|
-
"cron.kind_recurring_hint": "
|
|
1605
|
+
"cron.kind_recurring_hint": "按表达式反复触发;满 7 天后触发最后一次并自动删除",
|
|
1606
|
+
"cron.session_only": "只在本会话运行期间触发;关闭后,在同一目录用 nexum -C(或进入后用 /sessions)恢复该会话才会继续",
|
|
1401
1607
|
"cron.kind_once_hint": "只在下一次触发,随后自动删除",
|
|
1402
1608
|
"cron.cancelled": "已取消",
|
|
1403
1609
|
"cron.creating": "正在创建定时任务…",
|
|
@@ -1420,12 +1626,10 @@ const dictionaries = {
|
|
|
1420
1626
|
"registry.mcp_desc": "管理 MCP 服务器(安装/停用/卸载)",
|
|
1421
1627
|
"registry.plugin_desc": "插件中心,管理插件,含激活、安装、卸载等",
|
|
1422
1628
|
"registry.extension_desc": "代码扩展,激活或停用插件入口",
|
|
1423
|
-
"registry.cc_desc": "操控你的cc(启动/关闭/重启)",
|
|
1424
|
-
"registry.cc_connect_desc": "cc-connect 快速通道配置(需先安装)",
|
|
1425
1629
|
"registry.revoke_desc": "撤回上一次对话(可指定轮数,如 /revoke 3)",
|
|
1426
1630
|
"registry.fork_desc": "复制当前会话并新开分支",
|
|
1427
1631
|
"registry.title_desc": "设置或显示会话标题",
|
|
1428
|
-
"registry.config_desc": "
|
|
1632
|
+
"registry.config_desc": "配置模型服务(快捷选择 / 自定义 / 生图)",
|
|
1429
1633
|
"registry.permission_desc": "选择权限模式",
|
|
1430
1634
|
"registry.grants_desc": "查看并撤销本会话的审批授权",
|
|
1431
1635
|
"registry.theme_desc": "设置终端 UI 主题",
|
|
@@ -1468,14 +1672,20 @@ const dictionaries = {
|
|
|
1468
1672
|
"wolfpack.on_desc": "批量并发代理已激活。",
|
|
1469
1673
|
"wolfpack.off": "WolfPack 模式:关闭",
|
|
1470
1674
|
"badge.plan": "计划",
|
|
1471
|
-
"badge.fusion": "
|
|
1675
|
+
"badge.fusion": "融合",
|
|
1472
1676
|
"badge.wolfpack": "群狼",
|
|
1473
1677
|
"badge.rlm": "RLM",
|
|
1474
1678
|
"badge.goal": "目标",
|
|
1475
1679
|
"badge.auto": "自动",
|
|
1476
1680
|
"badge.yes": "YES",
|
|
1681
|
+
"badge.bot": "BOT",
|
|
1682
|
+
"badge.ask": "ASK",
|
|
1477
1683
|
"kw.lang_toggle": "English",
|
|
1478
1684
|
"kw.embedding_downloading": "向量模型下载中…",
|
|
1685
|
+
"kw.embedding_progress": "正在下载向量模型 {done} / {total}({percent}%)",
|
|
1686
|
+
"kw.embedding_progress_unknown": "正在下载向量模型 {done}",
|
|
1687
|
+
"kw.embedding_verifying": "正在校验模型文件…",
|
|
1688
|
+
"kw.embedding_loading": "正在加载模型…(首次约需十几秒)",
|
|
1479
1689
|
"kw.embedding_failed": "向量模型加载失败",
|
|
1480
1690
|
"kw.embedding_ready": "向量模型已就绪",
|
|
1481
1691
|
"kw.embedding_not_downloaded": "向量模型未下载(选择「下载向量模型」手动下载)",
|
|
@@ -1484,7 +1694,222 @@ const dictionaries = {
|
|
|
1484
1694
|
"kw.setup_description": "检测到向量模型尚未下载。下载后 /knowledge 知识库与 /memory 记忆将启用语义检索(模型约 95 MB,只需下载一次)。",
|
|
1485
1695
|
"kw.setup_download": "立即下载",
|
|
1486
1696
|
"kw.setup_skip": "暂不下载",
|
|
1487
|
-
"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"
|
|
1488
1913
|
},
|
|
1489
1914
|
en: {
|
|
1490
1915
|
"status.not_set": "Not set",
|
|
@@ -1517,7 +1942,15 @@ const dictionaries = {
|
|
|
1517
1942
|
"status.awaiting_approval": "Awaiting approval",
|
|
1518
1943
|
"status.awaiting_answer": "Awaiting answer",
|
|
1519
1944
|
"status.reconnecting_short": "Retrying {attempt}/{max}",
|
|
1520
|
-
"status.
|
|
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",
|
|
1521
1954
|
"status.reason_rate_limit": "rate limited",
|
|
1522
1955
|
"status.reason_server": "server error",
|
|
1523
1956
|
"status.reason_timeout": "network timeout",
|
|
@@ -1572,7 +2005,7 @@ const dictionaries = {
|
|
|
1572
2005
|
"common.not_set": "Not set",
|
|
1573
2006
|
"error.path_empty": "Path cannot be empty",
|
|
1574
2007
|
"error.path_not_exist": "Path does not exist: {path}",
|
|
1575
|
-
"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",
|
|
1576
2009
|
"error.image_not_supported": "Current model does not support image input.",
|
|
1577
2010
|
"error.video_not_supported": "Current model does not support video input.",
|
|
1578
2011
|
"error.network_timeout": "Network timeout. Check your connection or try with a proxy.",
|
|
@@ -1580,26 +2013,22 @@ const dictionaries = {
|
|
|
1580
2013
|
"error.internal": "Internal error",
|
|
1581
2014
|
"error.no_session": "No active session.",
|
|
1582
2015
|
"error.session_header_hint": "Set session_header = \"{name}\" under this provider in config.toml to supply the required session id.",
|
|
1583
|
-
"footer.
|
|
1584
|
-
"footer.
|
|
1585
|
-
"footer.
|
|
1586
|
-
"footer.
|
|
1587
|
-
"footer.
|
|
1588
|
-
"footer.
|
|
1589
|
-
"footer.
|
|
1590
|
-
"footer.
|
|
1591
|
-
"footer.
|
|
1592
|
-
"footer.
|
|
1593
|
-
"footer.skill": "/skill: Skill center",
|
|
1594
|
-
"footer.help": "/help: Show commands",
|
|
1595
|
-
"footer.config": "/config: Configure your model provider",
|
|
1596
|
-
"footer.reminder": "Let Nexum schedule tasks, e.g. \"remind me to pick up the package in 2 hours\"",
|
|
1597
|
-
"footer.context": "Context: {bar} ({tokens}/{maxTokens})",
|
|
1598
|
-
"footer.context_short": "Context: {bar}",
|
|
1599
|
-
"footer.hit": "HitR",
|
|
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",
|
|
1600
2026
|
"footer.tasks_running": "bg task x{count}",
|
|
1601
2027
|
"footer.agents_running": "bg agent x{count}",
|
|
1602
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",
|
|
1603
2032
|
"sidebar.git": "Git",
|
|
1604
2033
|
"sidebar.session": "Session",
|
|
1605
2034
|
"sidebar.goal": "Goal",
|
|
@@ -1671,6 +2100,7 @@ const dictionaries = {
|
|
|
1671
2100
|
"language.switched": "Language switched to {locale}",
|
|
1672
2101
|
"language.restart_hint": "Restart nexum-code for all UI text to take effect",
|
|
1673
2102
|
"knowledge.chunking": "Chunking file...",
|
|
2103
|
+
"knowledge.converting": "Converting document: {file}",
|
|
1674
2104
|
"knowledge.embedding_chunks": "Embedding chunks: {index}/{total}",
|
|
1675
2105
|
"knowledge.extracting": "Extracting events: {index}/{total}",
|
|
1676
2106
|
"knowledge.embedding_events": "Embedding events: {index}/{total}",
|
|
@@ -1678,7 +2108,7 @@ const dictionaries = {
|
|
|
1678
2108
|
"knowledge.embedding_relations": "Embedding relations...",
|
|
1679
2109
|
"knowledge.error": "Error: {msg}",
|
|
1680
2110
|
"knowledge.ingest": "Ingest files",
|
|
1681
|
-
"knowledge.ingest_desc": "Enter a
|
|
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]",
|
|
1682
2112
|
"knowledge.ingesting": "Starting ingest...",
|
|
1683
2113
|
"knowledge.ingest_done": "Ingest complete",
|
|
1684
2114
|
"knowledge.ingest_fail": "Ingest failed",
|
|
@@ -1725,7 +2155,7 @@ const dictionaries = {
|
|
|
1725
2155
|
"knowledge.stats_chunks": "Chunks (split by heading)",
|
|
1726
2156
|
"knowledge.stats_events": "LLM-extracted fusion events",
|
|
1727
2157
|
"knowledge.stats_entities": "Deduplicated entities",
|
|
1728
|
-
"knowledge.ingest_full": "Ingest knowledge from
|
|
2158
|
+
"knowledge.ingest_full": "Ingest knowledge from Markdown / TXT / PDF / Word(.docx) / Excel(.xlsx) files or folders (chunk + extract events + extract entities)",
|
|
1729
2159
|
"knowledge.doc_list": "Document List",
|
|
1730
2160
|
"knowledge.doc_list_desc": "View all ingested documents",
|
|
1731
2161
|
"knowledge.search_effect": "Enter a query to test multi-hop retrieval",
|
|
@@ -1813,7 +2243,59 @@ const dictionaries = {
|
|
|
1813
2243
|
"mcp.install_fail": "{name} installation failed.",
|
|
1814
2244
|
"mcp.uninstall_confirm": "Uninstall \"{name}\"?",
|
|
1815
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.",
|
|
1816
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",
|
|
1817
2299
|
"mcp.uninstalled": "{name} uninstalled.",
|
|
1818
2300
|
"mcp.no_session": "Please create or resume a session first.",
|
|
1819
2301
|
"mcp.manage_title": "MCP Management ({count} connected)",
|
|
@@ -1832,7 +2314,12 @@ const dictionaries = {
|
|
|
1832
2314
|
"mcp.start_failed": "Start failed: {msg}",
|
|
1833
2315
|
"mcp.uninstall_done": "Uninstalled.",
|
|
1834
2316
|
"mcp.uninstall_failed": "Uninstall failed: {msg}",
|
|
1835
|
-
"mcp.
|
|
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",
|
|
1836
2323
|
"mcp.macos_only": "macOS only",
|
|
1837
2324
|
"cc.start": "Start",
|
|
1838
2325
|
"cc.stop": "Stop",
|
|
@@ -1870,6 +2357,93 @@ const dictionaries = {
|
|
|
1870
2357
|
"cc.confirm_uninstall_btn": "Confirm Uninstall",
|
|
1871
2358
|
"cc.uninstall_step_npm": "· Run npm uninstall -g cc-connect",
|
|
1872
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",
|
|
1873
2447
|
"auth.fetching_models": "Fetching latest model catalog...",
|
|
1874
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.",
|
|
1875
2449
|
"auth.no_providers": "No model providers configured.",
|
|
@@ -1974,7 +2548,7 @@ const dictionaries = {
|
|
|
1974
2548
|
"session.title": "Sessions",
|
|
1975
2549
|
"session.loading": "Loading sessions...",
|
|
1976
2550
|
"session_picker.empty": "No sessions found. Press Escape to close.",
|
|
1977
|
-
"session_picker.cc_restricted": "
|
|
2551
|
+
"session_picker.cc_restricted": "Channel-managed sessions cannot be switched or deleted here — use the file path below to manage manually",
|
|
1978
2552
|
"session_picker.batch_delete_confirm": "Delete {count} selected sessions?",
|
|
1979
2553
|
"session_picker.batch_delete_hint": " Press Enter to confirm batch delete, Esc to cancel",
|
|
1980
2554
|
"session_picker.batch_delete_unavailable": "Batch delete is not available here.",
|
|
@@ -2015,6 +2589,9 @@ const dictionaries = {
|
|
|
2015
2589
|
"help.browse_history": "Browse input history",
|
|
2016
2590
|
"help.submit": "Submit",
|
|
2017
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)",
|
|
2018
2595
|
"help.close_hint": "Esc / Enter / q Close · ↑↓ Scroll",
|
|
2019
2596
|
"help.welcome_msg": "Nexum is ready to help! Send a message to get started.",
|
|
2020
2597
|
"help.hidden_commands": "/config diy Custom model provider /config image Image generation /model diy Multi-agent orchestration",
|
|
@@ -2073,13 +2650,27 @@ const dictionaries = {
|
|
|
2073
2650
|
"memory.pitfall_label": "Pitfalls: ",
|
|
2074
2651
|
"memory.experience_label": "Experience: ",
|
|
2075
2652
|
"memory.note_label": "Note: ",
|
|
2076
|
-
"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",
|
|
2077
2667
|
"plugin.no_session": "Please create or resume a session before using the Plugin center.",
|
|
2078
2668
|
"extension.no_session": "Please create or resume a session before using extension commands.",
|
|
2079
|
-
"extension.usage": "Usage: /extension activate|deactivate|status [pluginId]",
|
|
2669
|
+
"extension.usage": "Usage: /extension activate|deactivate|reload|status [pluginId]",
|
|
2080
2670
|
"extension.missing_id": "Missing plugin id: /extension {action} <pluginId>",
|
|
2081
2671
|
"extension.activated": "Extension {pluginId} activated.",
|
|
2082
2672
|
"extension.deactivated": "Extension {pluginId} deactivated.",
|
|
2673
|
+
"extension.reloaded": "Extension {pluginId} reloaded.",
|
|
2083
2674
|
"extension.no_extensions": "No code extensions (entryPoint) installed.",
|
|
2084
2675
|
"plugin.loading": "Loading Plugin center…",
|
|
2085
2676
|
"plugin.center_title": "Plugin Center",
|
|
@@ -2163,8 +2754,13 @@ const dictionaries = {
|
|
|
2163
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.",
|
|
2164
2755
|
"handler.user_interrupted": "User interrupted",
|
|
2165
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",
|
|
2166
2758
|
"handler.step_interrupted": "Step interrupted ({reason})",
|
|
2167
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).",
|
|
2168
2764
|
"handler.mcp_server_failed": "MCP server \"{name}\" failed{error}",
|
|
2169
2765
|
"handler.mcp_server_needs_auth": "MCP server \"{name}\" requires OAuth authentication, run /mcp",
|
|
2170
2766
|
"handler.mcp_server_disabled": "MCP server \"{name}\" disabled",
|
|
@@ -2270,11 +2866,32 @@ const dictionaries = {
|
|
|
2270
2866
|
"subagent.follow_main_desc": "Use the main agent's current model (default)",
|
|
2271
2867
|
"subagent.stale_binding": "{alias} (stale)",
|
|
2272
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",
|
|
2273
2871
|
"subagent.title": "Subagent Model Binding",
|
|
2274
2872
|
"subagent.hint": "↑↓ Select subagent · Enter bind model · Esc cancel",
|
|
2275
2873
|
"subagent.bind_title": "Bind {profile}",
|
|
2276
2874
|
"subagent.model_hint": "↑↓ Select model · Enter confirm · Esc back",
|
|
2277
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",
|
|
2278
2895
|
"kdoctree.no_title": "(untitled)",
|
|
2279
2896
|
"kdoctree.empty": "(empty)",
|
|
2280
2897
|
"kdoctree.move": "Move",
|
|
@@ -2294,6 +2911,8 @@ const dictionaries = {
|
|
|
2294
2911
|
"usage.subagent_title": "Sub-Agent Usage",
|
|
2295
2912
|
"usage.panel_title": " Usage ",
|
|
2296
2913
|
"usage.session_total": "Session Total",
|
|
2914
|
+
"usage.token_limit": "Token limit (this run): {used} / {limit}",
|
|
2915
|
+
"usage.cost": "Cost",
|
|
2297
2916
|
"usage.cache_rw": "cache",
|
|
2298
2917
|
"usage.main_agent": "Main Agent",
|
|
2299
2918
|
"usage.sub_agent": "Sub-Agent",
|
|
@@ -2471,9 +3090,9 @@ const dictionaries = {
|
|
|
2471
3090
|
"tc.rejected": "Rejected",
|
|
2472
3091
|
"tc.cancelled": "Cancelled",
|
|
2473
3092
|
"tc.error_prefix": "Error: ",
|
|
2474
|
-
"dialog.cc_session_connected": "Connected to
|
|
3093
|
+
"dialog.cc_session_connected": "Connected to channel session ({id}).",
|
|
2475
3094
|
"dialog.create_session_failed": "Failed to create session",
|
|
2476
|
-
"dialog.cc_managed": "
|
|
3095
|
+
"dialog.cc_managed": "This session is managed by an IM channel. Operate from the chat app, or stop that channel before deleting.",
|
|
2477
3096
|
"dialog.memo_injected": "Injected memo #{id}",
|
|
2478
3097
|
"dialog.approval_title": "Nexum Code requires approval",
|
|
2479
3098
|
"dialog.question_title": "Nexum Code needs your answer",
|
|
@@ -2667,18 +3286,23 @@ const dictionaries = {
|
|
|
2667
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",
|
|
2668
3287
|
"dispatch.eval_suggest_answer": "The model answer may be incomplete or incorrect. Try a stronger model and retry",
|
|
2669
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.",
|
|
2670
3290
|
"constant.no_active_session": "No active session. Run /config to configure model.",
|
|
2671
3291
|
"constant.ctrl_d_hint": "Press Ctrl+D again to exit",
|
|
2672
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}",
|
|
2673
3298
|
"tui.resume_warning": "Warning: {warning}",
|
|
2674
3299
|
"tui.skill_failed": "Skill \"{skill}\" failed: {message}",
|
|
2675
3300
|
"tui.replay_no_new_session": "Cannot start a new session during history replay.",
|
|
2676
3301
|
"adapter.task_label": "Task {taskId}",
|
|
2677
|
-
"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",
|
|
2678
3303
|
"knowledge.ingest_summary": "Total: {chunks} chunks, {events} events, {entities} entities",
|
|
2679
3304
|
"knowledge.empty_store": "Knowledge base is empty, please ingest documents with /knowledge first",
|
|
2680
3305
|
"knowledge.web_opened": "Knowledge graph opened: {url}",
|
|
2681
|
-
"cc.clean_config.detail": " ~/.cc-connect (includes session records, config, logs)",
|
|
2682
3306
|
"registry.auto_desc": "Toggle auto permission mode",
|
|
2683
3307
|
"registry.yolo_desc": "Toggle auto-approve mode (yolo)",
|
|
2684
3308
|
"registry.bot_desc": "Toggle unattended bot mode (bot)",
|
|
@@ -2711,8 +3335,11 @@ const dictionaries = {
|
|
|
2711
3335
|
"registry.fusionplan_desc": "Toggle fusion plan mode (multi-agent parallel planning)",
|
|
2712
3336
|
"registry.tasks_desc": "Browse background tasks",
|
|
2713
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",
|
|
2714
3340
|
"registry.status_desc": "Show current session and runtime status",
|
|
2715
3341
|
"registry.usage_desc": "Show token usage and context window",
|
|
3342
|
+
"registry.budget_desc": "Set a token limit for this session",
|
|
2716
3343
|
"registry.btw_desc": "Quick question without interrupting conversation",
|
|
2717
3344
|
"registry.snaptimer_desc": "Toggle the per-turn elapsed snapshot timer",
|
|
2718
3345
|
"snaptimer.enabled": "Session snapshot timer enabled",
|
|
@@ -2764,6 +3391,9 @@ const dictionaries = {
|
|
|
2764
3391
|
"cron.kind_recurring": "repeats",
|
|
2765
3392
|
"cron.kind_once": "one-shot",
|
|
2766
3393
|
"cron.stale": "expired",
|
|
3394
|
+
"cron.silent": "silent",
|
|
3395
|
+
"cron.mute": "muted",
|
|
3396
|
+
"cron.last_error": "last failed: {error}",
|
|
2767
3397
|
"cron.sched_5m": "Every 5 minutes",
|
|
2768
3398
|
"cron.sched_hourly": "Hourly",
|
|
2769
3399
|
"cron.sched_daily9": "Daily at 09:00",
|
|
@@ -2782,7 +3412,8 @@ const dictionaries = {
|
|
|
2782
3412
|
"cron.wizard_task_placeholder": "e.g. check CI status and report failures",
|
|
2783
3413
|
"cron.wizard_kind_title": "Once, or every time?",
|
|
2784
3414
|
"cron.wizard_kind_hint": "↑↓ select · Enter confirm · Esc cancel",
|
|
2785
|
-
"cron.kind_recurring_hint": "Fire on every cron match
|
|
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",
|
|
2786
3417
|
"cron.kind_once_hint": "Fire at the next match, then delete itself",
|
|
2787
3418
|
"cron.cancelled": "Cancelled",
|
|
2788
3419
|
"cron.creating": "Creating scheduled task…",
|
|
@@ -2805,12 +3436,10 @@ const dictionaries = {
|
|
|
2805
3436
|
"registry.mcp_desc": "Manage MCP servers (install/disable/uninstall)",
|
|
2806
3437
|
"registry.plugin_desc": "Plugin center, manage plugins including activate, install, uninstall",
|
|
2807
3438
|
"registry.extension_desc": "Code extensions, activate or deactivate a plugin entry point",
|
|
2808
|
-
"registry.cc_desc": "Control your cc (start/stop/restart)",
|
|
2809
|
-
"registry.cc_connect_desc": "cc-connect quick channel setup (requires installation)",
|
|
2810
3439
|
"registry.revoke_desc": "Undo last conversation round (specify rounds, e.g. /revoke 3)",
|
|
2811
3440
|
"registry.fork_desc": "Copy current session and start a new branch",
|
|
2812
3441
|
"registry.title_desc": "Set or show session title",
|
|
2813
|
-
"registry.config_desc": "
|
|
3442
|
+
"registry.config_desc": "Configure model services (quick pick / custom / image)",
|
|
2814
3443
|
"registry.permission_desc": "Select permission mode",
|
|
2815
3444
|
"registry.grants_desc": "Review and revoke session approvals",
|
|
2816
3445
|
"registry.theme_desc": "Set terminal UI theme",
|
|
@@ -2859,8 +3488,14 @@ const dictionaries = {
|
|
|
2859
3488
|
"badge.goal": "Goal",
|
|
2860
3489
|
"badge.auto": "Auto",
|
|
2861
3490
|
"badge.yes": "YES",
|
|
3491
|
+
"badge.bot": "BOT",
|
|
3492
|
+
"badge.ask": "ASK",
|
|
2862
3493
|
"kw.lang_toggle": "中文",
|
|
2863
3494
|
"kw.embedding_downloading": "Vector model downloading…",
|
|
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)",
|
|
2864
3499
|
"kw.embedding_failed": "Vector model load failed",
|
|
2865
3500
|
"kw.embedding_ready": "Vector model ready",
|
|
2866
3501
|
"kw.embedding_not_downloaded": "Vector model not downloaded (select Download vector model)",
|
|
@@ -2869,19 +3504,240 @@ const dictionaries = {
|
|
|
2869
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).",
|
|
2870
3505
|
"kw.setup_download": "Download now",
|
|
2871
3506
|
"kw.setup_skip": "Not now",
|
|
2872
|
-
"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"
|
|
2873
3723
|
}
|
|
2874
3724
|
};
|
|
2875
3725
|
function detectSystemLocale() {
|
|
2876
3726
|
const env = process.env;
|
|
2877
|
-
const envLang = (
|
|
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();
|
|
2878
3733
|
if (envLang.startsWith("zh")) return "zh";
|
|
2879
3734
|
if (envLang.length > 0) return "en";
|
|
2880
3735
|
try {
|
|
2881
3736
|
if (Intl.DateTimeFormat().resolvedOptions().locale.toLowerCase().startsWith("zh")) return "zh";
|
|
2882
3737
|
} catch {}
|
|
2883
3738
|
if (process.platform === "win32") {
|
|
2884
|
-
|
|
3739
|
+
const winRaw = env["LANG"];
|
|
3740
|
+
if ((winRaw !== void 0 && winRaw !== "" ? winRaw : "").toLowerCase().startsWith("zh")) return "zh";
|
|
2885
3741
|
}
|
|
2886
3742
|
return "en";
|
|
2887
3743
|
}
|