@hfyjq/crannia 1.1.1 → 1.1.2

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/core/activity.py CHANGED
@@ -146,7 +146,7 @@ _VERBS: dict[str, str] = {
146
146
  "cron_delete": "正在删除定时任务",
147
147
  # 提问面板。不给 `{arg}` —— 参数是
148
148
  # `question` + 一个选项数组,糊在活动行上会很长(正文在浮窗里)。
149
- "ask_user": "正在等你选一下",
149
+ "ask_user": "正在等您选一下",
150
150
  # 文件原语五件套。五个都要有自己的一行 ——
151
151
  # 上面 `parse_*` 那段的判据:家族不逐个给条目就会渲染成同一行,
152
152
  # 而界面上分不出模型到底在做什么(换过工具也看不出来)。
@@ -1536,9 +1536,9 @@ def _auto_review_gate(session_id: str, tool_name: str, tool_args, messages,
1536
1536
  # 落一格给审批载荷 —— "自动档还是弹窗"里,熔断是最可能的那个原因,
1537
1537
  # 不写就只有用户能看到结果,事后查不出因。
1538
1538
  _set_auto_gate_note(
1539
- tr("自动模式这次没替你答:**连续/累计被拦超限**(熔断)——"
1540
- "按设计**退回问你**,并且计数器已清零(下一次它会重新开始判)。"
1541
- "最近一次被拦的是:%s")
1539
+ tr("自动审查失效:**连续/累计被拦超限**(熔断触发)——"
1540
+ "本次需要人工审查。计数器已清零。"
1541
+ "最近一次拦截条目:%s")
1542
1542
  % (st.last_blocked or tr("(没记)")))
1543
1543
  return None
1544
1544
 
@@ -1567,9 +1567,8 @@ def _auto_review_gate(session_id: str, tool_name: str, tool_args, messages,
1567
1567
  # 所以手动档:退回问人(什么都不做);自动档:维持现状(拒)。
1568
1568
  if not mode_is_auto:
1569
1569
  _set_auto_gate_note(
1570
- tr("这次没替你答:**分类器没给出结论**(%s)—— 你开着的那个"
1571
- "「全部放行」开关**不再等于放行**,所以退回问你。")
1572
- % (verdict.reason or tr("没有原因可报")))
1570
+ tr("自动审查失效,需要人工审查")
1571
+ + ("(%s)" % (verdict.reason or tr("没有原因可报"))))
1573
1572
  print("[auto] 手动档 ⇒ 退回问人(让那个工具自己去问)")
1574
1573
  return None
1575
1574
  # 这一支有意不调 `record_denial`(「设施故障不计入熔断」):
@@ -1594,8 +1593,8 @@ def _auto_review_gate(session_id: str, tool_name: str, tool_args, messages,
1594
1593
  return None
1595
1594
  print(f"[auto] 判为安全,但**不知道怎么放行** {tool_name} —— 退回问人")
1596
1595
  _set_auto_gate_note(
1597
- tr("自动模式这次没替你答:**它判了「安全」,但不知道用哪种方式放行**"
1598
- "`%s` —— 于是退回问你(不是它判你危险)。") % tool_name)
1596
+ tr("自动审查失效"
1597
+ "`%s` 需要您手动审批") % tool_name)
1599
1598
  return None
1600
1599
 
1601
1600
  AC.note_stat("blocked")
package/core/approval.py CHANGED
@@ -569,7 +569,7 @@ _DEFAULT_BODY: dict[str, str] = {
569
569
  # (那是好结果),而是 `build_payload` 走到 `_DEFAULT_BODY.get(kind, "")`
570
570
  #空正文的浮窗("冒号后面啥也没有")。
571
571
  # 措辞刻意与 `delete` 不同:要说清这次为什么还要问。
572
- "delete_bulk": "Crannia 想**批量**删除以下文件(数量超过了你设的阈值):",
572
+ "delete_bulk": "Crannia 想**批量**删除以下文件(数量超过了您设的阈值):",
573
573
  "egress": "Crannia 想访问以下目标 ——",
574
574
  "command": "Crannia 想执行以下命令:",
575
575
  "destructive": "Crannia 想执行一个**不可逆**的操作:",
@@ -577,7 +577,7 @@ _DEFAULT_BODY: dict[str, str] = {
577
577
  # (计划正文),而 `body` 非空时 `render_prompt` / `build_payload` 都不看默认值。
578
578
  # 仍然写上:缺一格的默认值会让 `pending_payload` / `build_payload`
579
579
  # 悄悄产出一个空正文的浮窗。
580
- "plan": "Crannia 写好了计划,请你过目:",
580
+ "plan": "Crannia 写好了计划,请您过目:",
581
581
  # 这一格只在极端情况下会被用到 —— 生产那条路自带 `body`
582
582
  # ("想写到 <目录>,它在工作区之外")。仍然写上:缺一格的默认值会让
583
583
  # 浮窗冒号后面啥也没有(`delete_bulk` 那条同款)。
@@ -831,19 +831,19 @@ def diff_for(session_id: str, path, version: int,
831
831
  if parser_hint_for(Path(str(path)).suffix)[0]:
832
832
  return {"ok": False, "kind": "binary", "diff": "", "before": "",
833
833
  "after": "", "text": "",
834
- "note": "这是二进制文件,不按文本比较它的改动"}
834
+ "note": "二进制文件,不支持文本类比较"}
835
835
  except Exception: # noqa: BLE001
836
836
  pass
837
837
  if not sid or latest_version(sid, path) == 0:
838
838
  return {"ok": False, "kind": "missing", "diff": "", "before": "",
839
839
  "after": "", "text": "",
840
- "note": "这个文件没有留档(留档从本会话开始;旧会话不会补)"}
840
+ "note": "此文件没有留档"}
841
841
 
842
842
  kind_before, before = read_version(sid, path, version)
843
843
  if kind_before == "":
844
844
  return {"ok": False, "kind": "missing", "diff": "", "before": "",
845
845
  "after": "", "text": "",
846
- "note": "这一版的留档不在了(可能已被保留期清掉)"}
846
+ "note": "无法找到此版本留档(可能已被保留期清掉)"}
847
847
  if kind_before == "big":
848
848
  return {"ok": False, "kind": "big", "diff": "", "before": "",
849
849
  "after": "", "text": "",
@@ -875,7 +875,7 @@ def diff_for(session_id: str, path, version: int,
875
875
  return {"ok": True, "kind": "new", "diff": "", "before": "",
876
876
  "after": after, "text": after,
877
877
  "added": len(after.splitlines()), "removed": 0,
878
- "note": "这个文件是这一轮新建的(改前不存在)"}
878
+ "note": "此文件为本轮新建的"}
879
879
 
880
880
  src = str(path)
881
881
  diff_lines = list(difflib.unified_diff(
@@ -899,7 +899,7 @@ def diff_for(session_id: str, path, version: int,
899
899
  return {"ok": True, "kind": "gone", "diff": "\n".join(diff_lines),
900
900
  "before": before, "after": "", "text": "",
901
901
  "added": 0, "removed": removed,
902
- "note": "这个文件现在不在了(改前的内容留在这里)"}
902
+ "note": "此文件已消失"}
903
903
 
904
904
  return {"ok": True, "kind": "diff", "diff": "\n".join(diff_lines),
905
905
  "before": before, "after": after, "text": after,
@@ -201,7 +201,7 @@ def _render_question(numbering: Dict[int, str],
201
201
  def _tips() -> str:
202
202
  #: 这是给用户看的一句话:不用 Markdown(`**`)、不用内部词
203
203
  #: ("接入"/"换默认"),说清两个动作各自会发生什么。
204
- return ("提示:临时切到其他会话,发 `/c<编号> 你的话`;设为默认,发 `/change <编号>`。")
204
+ return ("提示:临时切到其他会话,发 `/c<编号> 您的话`;设为默认,发 `/change <编号>`。")
205
205
 
206
206
 
207
207
  def route(event, activity: Dict[str, float],
@@ -133,7 +133,7 @@ def kind_of(err, kind: str = "", exc_name: str = "") -> str:
133
133
  def headline(err, *, kind: str = "", exc_name: str = "") -> str:
134
134
  """横幅上那一句(短、不含原文)。
135
135
 
136
- 认不出的类别不装懂:退到 400 的两种形状,再退到"这一轮出错了"。
136
+ 认不出的类别不装懂:退到 400 的两种形状,再退到"此轮出错"。
137
137
  """
138
138
  k = kind_of(err, kind=kind, exc_name=exc_name)
139
139
  if k in HEADLINES:
@@ -806,7 +806,7 @@ class PreProcessStage(Stage):
806
806
  threads = _visible_threads(
807
807
  pool.list_threads(session_key, limit=_RESUME_LIMIT))
808
808
  if not threads:
809
- ctx.response = tr("这条通道还没有对话可以切换。")
809
+ ctx.response = tr("此通道还没有对话可以切换。")
810
810
  else:
811
811
  ctx.response = (_render_thread_list(threads)
812
812
  + tr("\n(用 `/change <编号>` 切过去;"
@@ -1053,7 +1053,7 @@ def _validate_input(text: str) -> str | None:
1053
1053
  )
1054
1054
  if len(text) >= 20 and emoji_count / len(text) > _MAX_EMOJI_RATIO:
1055
1055
  return (
1056
- tr("⚠️ 你的消息主要是表情符号。请用文字描述你的需求,我会尽力帮助你。")
1056
+ tr("⚠️ 您的消息主要是表情符号。请用文字描述您的需求,我会尽力帮助您。")
1057
1057
  )
1058
1058
 
1059
1059
  # --- 3. Gibberish / binary detection ---
@@ -1067,7 +1067,7 @@ def _validate_input(text: str) -> str | None:
1067
1067
  ratio = printable / max(len(text), 1)
1068
1068
  if ratio < _MIN_PRINTABLE_RATIO:
1069
1069
  return (
1070
- tr("⚠️ 你的输入似乎包含大量非文本内容。如果你想解析文件,请使用对应的解析指令。")
1070
+ tr("⚠️ 您的输入似乎包含大量非文本内容。如果您想解析文件,请使用对应的解析指令。")
1071
1071
  )
1072
1072
 
1073
1073
  return None
@@ -1112,7 +1112,7 @@ def _handle_mcp_command() -> str:
1112
1112
  # 把"你没装 Node"说成"连不上",用户会去查服务器、而不是装东西。
1113
1113
  missing = missing_runtime(cfg)
1114
1114
  if missing:
1115
- status = trf("运行环境缺失:找不到 {cmd}", missing)
1115
+ status = trf("运行环境缺失:无法找到 {cmd}", missing)
1116
1116
  else:
1117
1117
  status = tr("❌ 未连接(重启后自动连接)")
1118
1118
  lines.append(f" {status} {name} ({transport}: {cmd})")
@@ -1496,7 +1496,7 @@ def _handle_resume(parts, ctx, session_key: str, pool) -> str:
1496
1496
  """
1497
1497
  threads = _visible_threads(pool.list_threads(session_key, limit=_RESUME_LIMIT))
1498
1498
  if not threads:
1499
- return (tr("这条通道还没有归档的对话。使用 `/clear` 之后,上一段会出现在这里。"))
1499
+ return (tr("此通道还没有归档的对话。使用 `/clear` 之后,上一段会出现在这里。"))
1500
1500
 
1501
1501
  arg = parts[1].strip() if len(parts) > 1 else ""
1502
1502
  if not arg:
@@ -2028,7 +2028,7 @@ _COMMANDS: tuple = (
2028
2028
  _CommandSpec("/resume", "切换回以前的对话(/resume 查看列表)",
2029
2029
  "_cmd_resume", MATCH_BOTH),
2030
2030
  _CommandSpec("/fork", "复制当前对话为新线程", "_cmd_fork"),
2031
- _CommandSpec("/rewind", "退回到第 N 轮之前(对话与工作区文件一起回退)",
2031
+ _CommandSpec("/rewind", "退回至第 N 轮之前(对话与工作区文件一起回退)",
2032
2032
  "_cmd_rewind", MATCH_BOTH),
2033
2033
  _CommandSpec("/remember", "把一句话展开为完整提示词后执行",
2034
2034
  "_cmd_remember", MATCH_PREFIX, CMD_REWRITE),
@@ -2357,7 +2357,7 @@ def _answer_ask_user(pend: dict, user_input: str, ctx):
2357
2357
  # 对上了一部分、另一些不在表里 —— 不猜,也不结算。
2358
2358
  return _ask_keep_pending(
2359
2359
  pend, ctx,
2360
- tr("「%s」不在这次的选项里。回数字,或者直接说你自己的想法。")
2360
+ tr("「%s」不在这次的选项里。回数字,或者直接说您自己的想法。")
2361
2361
  % "、".join(unknown))
2362
2362
  if not multi and len(chosen) > 1:
2363
2363
  return _ask_keep_pending(
@@ -2369,7 +2369,7 @@ def _answer_ask_user(pend: dict, user_input: str, ctx):
2369
2369
  # 其余 = 用户想先聊(这正是那段回传文案定义的场景)。
2370
2370
  if unknown and all(t.isdigit() for t in unknown):
2371
2371
  return _ask_keep_pending(
2372
- pend, ctx, tr("「%s」不在这次的选项里。回数字,或者直接说你自己的想法。")
2372
+ pend, ctx, tr("「%s」不在这次的选项里。回数字,或者直接说您自己的想法。")
2373
2373
  % "、".join(unknown))
2374
2374
  pend["_free_text"] = text or tr("(用户没有作答)")
2375
2375
  return _SETTLERS["ask_user"]("", pend, ctx)
@@ -3062,7 +3062,7 @@ def _settle_write_outside(key: str, pend: dict, ctx):
3062
3062
  # —— 所以正常情况下模型不需要再发一次;这句话是退路。
3063
3063
  approve_msg=("[系统] 用户已同意把文件写到工作区之外的 `%s`。"
3064
3064
  "请**继续刚才那一步**。"
3065
- % (str(pend.get("subject") or "") or tr("那个目录"))),
3065
+ % (str(pend.get("subject") or "") or tr("该目录"))),
3066
3066
  deny_msg=(tr("本次没有写入任何文件。要写入该目录,可以:① 把产物放进工作区;② 在设置页把该目录加入工作区列表(长期有效);③ 在对话中同意这一次。")),
3067
3067
  all_msg=("[系统] 用户已同意:**本次对话内**往工作区之外写文件不再询问。"
3068
3068
  "请**继续刚才那一步**。"),
package/core/version.py CHANGED
@@ -9,6 +9,6 @@ canonical source. Keep pyproject.toml `version` field in sync manually
9
9
  or use [tool.hatch.version] path = "core/version.py".
10
10
  """
11
11
 
12
- __version__ = "1.1.1"
13
- __version_tuple__ = (1, 1, 1)
12
+ __version__ = "1.1.2"
13
+ __version_tuple__ = (1, 1, 2)
14
14
  __build__ = ""
package/locales/en.json CHANGED
@@ -15,6 +15,7 @@
15
15
  "Agent 请求执行一项操作。": "The agent is asking to perform an operation.",
16
16
  "Anthropic 兼容,不要以 / 结尾": "Anthropic-compatible, no trailing /",
17
17
  "CLI 为终端式对话,始终可用,无需配置。": "CLI is a terminal-style conversation that is always available and needs no setup.",
18
+ "CLI 通道由终端自己读写,后端不代它启动": "The CLI channel is driven by the terminal; the backend does not start it.",
18
19
  "CLI 终端": "CLI terminal",
19
20
  "CRANNIA 技能": "CRANNIA skill",
20
21
  "CSS 变量": "CSS variable",
@@ -22,9 +23,9 @@
22
23
  "Codex 目录": "Codex directory",
23
24
  "Context 解析(括号内为与上次读数的差值):": "Context breakdown (differences from the last reading in parentheses):",
24
25
  "Crannia 写好了计划(`%s`),请过目:\n\n%s": "Crannia has written a plan (`%s`) for your review:\n\n%s",
25
- "Crannia 写好了计划,请你过目:": "Crannia has written a plan for your review:",
26
+ "Crannia 写好了计划,请您过目:": "Crannia has written a plan for your review:",
26
27
  "Crannia 后端未启动,请先运行 python -m web。": "The Crannia backend is not running — start it with `python -m web` first.",
27
- "Crannia 想**批量**删除以下文件(数量超过了你设的阈值):": "Crannia wants to **bulk-delete** the following files (the count exceeds the threshold you set):",
28
+ "Crannia 想**批量**删除以下文件(数量超过了您设的阈值):": "Crannia wants to **bulk-delete** the following files (the count exceeds the threshold you set):",
28
29
  "Crannia 想删除以下文件:": "Crannia wants to delete the following files:",
29
30
  "Crannia 想在工作区之外写文件:": "Crannia wants to write a file outside the workspace:",
30
31
  "Crannia 想执行一个**不可逆**的操作:": "Crannia wants to perform an **irreversible** operation:",
@@ -36,7 +37,7 @@
36
37
  "Crannia 想访问 **{host}** 上的内容({tool}):\n{url}": "Crannia wants to reach content on **{host}** ({tool}):\n{url}",
37
38
  "Crannia 想访问以下目标 ——": "Crannia wants to reach the following target —",
38
39
  "Crannia 想读取一个受保护的值:": "Crannia wants to read a protected value:",
39
- "Crannia 想问你": "Crannia has a question for you",
40
+ "Crannia 想问您": "Crannia has a question for you",
40
41
  "Crannia 没有在工作区找到您需要的文件,即将进行全局搜索——": "Crannia did not find the file you need in the workspace; it will now search globally —",
41
42
  "GitHub 令牌": "GitHub token",
42
43
  "ICE 已关闭。": "ICE is off.",
@@ -94,7 +95,6 @@
94
95
  "· 接近触发": "· near trigger",
95
96
  "· 没有产出": "· no output",
96
97
  "· 没连上": "· not connected",
97
- "—— 改它的是模型自己那个": "— it is changed by the model's own",
98
98
  "—— 点击配置": "— click to configure",
99
99
  "…还有 {n} 个没列出": "…and {n} more not listed",
100
100
  "ℹ️ 文件未改动 —— 文件回退功能请前往设置页更改": "ℹ️ No files changed — change file restore in Settings",
@@ -111,18 +111,18 @@
111
111
  "★ 已加载的工具会保留:重复 reload 只更新定义,不会叠加,也不会把正在运行的工具换回占位实现。": "★ Loaded tools are kept: reloading only refreshes definitions — nothing is stacked, and running tools are never swapped back to placeholder stubs.",
112
112
  "⚠ 请注意信息安全。诈骗者通常会提供未知插件或未经验证的功能,借此窃取您的 个人信息或其它数据。来自可靠机构的工作人员绝不会要求您关闭此设置!": "⚠ Be careful with your information. Scammers often offer unknown plugins or unverified features to steal your personal information or other data. Staff from reputable organizations will never ask you to turn off this setting!",
113
113
  "⚠️ MCP 状态不可用: {e}": "⚠️ MCP status unavailable: {e}",
114
- "⚠️ 你的消息主要是表情符号。请用文字描述你的需求,我会尽力帮助你。": "⚠️ Your message is mostly emoji. Please describe what you need in words, and I will do my best to help.",
115
- "⚠️ 你的输入似乎包含大量非文本内容。如果你想解析文件,请使用对应的解析指令。": "⚠️ Your input seems to contain a lot of non-text content. To parse a file, use the matching parse command.",
116
- "⚠️ 如果你正在通话,请立即挂断!来电者可能在冒充他人!": "⚠️ If you are on a call, hang up now! The caller may be impersonating someone.",
114
+ "⚠️ 您的消息主要是表情符号。请用文字描述您的需求,我会尽力帮助您。": "⚠️ Your message is mostly emoji. Please describe what you need in words, and I will do my best to help.",
115
+ "⚠️ 您的输入似乎包含大量非文本内容。如果您想解析文件,请使用对应的解析指令。": "⚠️ Your input seems to contain a lot of non-text content. To parse a file, use the matching parse command.",
116
+ "⚠️ 如果您正在通话,请立即挂断!来电者可能在冒充他人!": "⚠️ If you are on a call, hang up now! The caller may be impersonating someone.",
117
117
  "⚠️ 您的消息过长({len(text)} 字符),已截断至 {_MAX_INPUT_LENGTH} 字符。如果内容不完整,请分段发送。\n\n--- 截断内容 ---\n{truncated}\n---": "⚠️ Your message is too long ({len(text)} characters) and was truncated to {_MAX_INPUT_LENGTH} characters. If something is missing, please send it in parts.\n\n--- Truncated content ---\n{truncated}\n---",
118
118
  "⚠️ 文件回退失败:%s: %s": "⚠️ File restore failed: %s: %s",
119
119
  "⚠️ 注:这条命令本来属于**危险档**(每次都问、不能记住)。「关闭安全询问」开关开着,所以它被降级成普通档 —— 批准之后可以「本次对话内不再询问此命令」。": "⚠️ Note: this command normally belongs to the **danger tier** (asked every time, cannot be remembered). The “turn off safety prompts” switch is on, so it has been downgraded to a normal command — once approved you can “don’t ask about this command again in this conversation”.",
120
- "⚠️ 请勿付款或分享你的信息": "⚠️ Do not pay or share your information",
120
+ "⚠️ 请勿付款或分享您的信息": "⚠️ Do not pay or share your information",
121
121
  "✅ 已连接": "✅ Connected",
122
122
  "❌ 未连接(重启后自动连接)": "❌ Not connected (connects automatically after a restart)",
123
123
  "《接管模式说明》": "'Takeover mode guide'",
124
124
  "《自动模式说明》": "'Auto mode guide'",
125
- "「%s」不在这次的选项里。回数字,或者直接说你自己的想法。": "'%s' is not one of these options. Reply with a number, or just say what you have in mind.",
125
+ "「%s」不在这次的选项里。回数字,或者直接说您自己的想法。": "'%s' is not one of these options. Reply with a number, or just say what you have in mind.",
126
126
  "「%s」不能设为默认模式。请在对话里用 /mode %s,仅对当前对话开启": "'%s' cannot be set as the default mode. Use /mode %s in a conversation to turn it on for that conversation only",
127
127
  "「%s」还没做好,暂时不能选。": "'%s' is not ready yet and cannot be selected for now.",
128
128
  "「%s」这一档暂不可用,其他档位不受影响。": "'%s' is not available right now; other levels are unaffected.",
@@ -155,14 +155,12 @@
155
155
  "下午好": "Good afternoon",
156
156
  "下载 SVG": "Download SVG",
157
157
  "下载失败:{why}": "Download failed: {why}",
158
- "不会影响你正在进行的对话": "does not affect the conversation you are in",
159
158
  "不允许": "Deny",
160
159
  "不再提醒": "Do not remind me again",
161
160
  "不再询问只读类型命令": "Stop asking about read-only commands",
162
161
  "不参与加总:": "Not counted in the total:",
163
162
  "不同意": "Decline",
164
163
  "不同意,继续规划": "No, keep planning",
165
- "不带上下文": "no context",
166
164
  "不指定条目时用这一条": "Use this one when no entry is named",
167
165
  "不支持": "Not supported",
168
166
  "不是一个目录": "Not a directory",
@@ -171,7 +169,6 @@
171
169
  "不选了,这一段回到默认工作区": "Skip it — this conversation goes back to the default workspace",
172
170
  "丢弃当前列表,恢复系统默认那一批": "Discard this list and restore the system default set",
173
171
  "中午好": "Good midday",
174
- "临时对话": "temporary conversation",
175
172
  "为什么被屏蔽": "Why it was blocked",
176
173
  "主理人": "Host",
177
174
  "主理人 {host.name}": "Host {host.name}",
@@ -186,11 +183,11 @@
186
183
  "什么时候(本地时间)": "When (local time)",
187
184
  "仅一次": "Once only",
188
185
  "仅一次:{at}": "Once only: {at}",
189
- "仅供测试反馈,请不要对外泄露你的运行日志": "For testing feedback only — please do not share your run logs with anyone else",
186
+ "仅供测试反馈,请不要对外泄露您的运行日志": "For testing feedback only — please do not share your run logs with anyone else",
190
187
  "仅对完全权限模式生效:代理执行时不再有任何拦截": "Applies to Full access mode only: the agent runs with no interception at all",
191
188
  "仅影响观感,不影响任何功能": "Affects appearance only, not any functionality",
192
189
  "今天从哪里开始?": "where shall we start today?",
193
- "今天我能帮你什么?": "what can I help you with today?",
190
+ "今天我能帮您什么?": "what can I help you with today?",
194
191
  "今天有什么安排?": "what is on your plate today?",
195
192
  "仍然继续": "Continue anyway",
196
193
  "仍要关闭": "Turn it off anyway",
@@ -208,11 +205,10 @@
208
205
  "会话构成": "Conversation breakdown",
209
206
  "位置": "Location",
210
207
  "体检未通过": "Doctor check failed",
211
- "你": "You",
212
- "你对环境的说明(信任的域名 / 仓库、数据在哪)—— 它只是背景,不直接放行或拦截。": "Your description of the environment (trusted domains / repos, where data lives) — background only; it neither allows nor blocks.",
213
- "你正在启用Agent的": "You are enabling the Agent's",
214
- "你正在将框架运行模式切换至": "You are switching the framework run mode to",
215
- "你正在将框架运行模式切换至自动模式,此模式下 agent 的请求将移交自动审查。 绝大多数情况下,agent 的行动将不再询问您。请注意,您仍然是您的生产安全第一负责人。 有关自动模式的详细介绍,详见": "You are switching the framework run mode to auto mode: the agent's requests now go to automatic review. In most cases the agent will no longer ask you before acting. Please note that you remain the first person responsible for your operational safety. For details about auto mode, see",
208
+ "您": "You",
209
+ "您正在启用Agent的": "You are enabling the Agent's",
210
+ "您正在将框架运行模式切换至": "You are switching the framework run mode to",
211
+ "您正在将框架运行模式切换至自动模式,此模式下 agent 的请求将移交自动审查。 绝大多数情况下,agent 的行动将不再询问您。请注意,您仍然是您的生产安全第一负责人。 有关自动模式的详细介绍,详见": "You are switching the framework run mode to auto mode: the agent's requests now go to automatic review. In most cases the agent will no longer ask you before acting. Please note that you remain the first person responsible for your operational safety. For details about auto mode, see",
216
212
  "使用 /rewind 时是否回退文件改动": "Whether /rewind also reverts file changes",
217
213
  "使用/rewind 编号 以回退至目标轮次之前": "Use /rewind <number> to rewind to before that turn",
218
214
  "例如 example.com": "e.g. example.com",
@@ -239,9 +235,9 @@
239
235
  "允许": "Allow",
240
236
  "允许 / 禁止 / 环境三段规则;限位闸(出网命令族、受保护路径)不受它影响": "Three rule sections: Allow / Deny / Environment; the boundary gate (network command family, protected paths) is not affected",
241
237
  "允许 Agent 离开工作区做只读操作": "Allow the Agent to do read-only work outside the workspace",
242
- "允许工作区里的 hooks 配置执行命令(仓库自带的脚本会在你的机器上运行)": "Allow the workspace's hooks config to run commands (scripts shipped with the repo will run on your machine)",
238
+ "允许工作区里的 hooks 配置执行命令(仓库自带的脚本会在您的机器上运行)": "Allow the workspace's hooks config to run commands (scripts shipped with the repo will run on your machine)",
243
239
  "允许工作区里的 lsp.json 启动语言服务器(它会按那份文件里的命令起进程)": "Allow the workspace's lsp.json to start language servers (it launches processes from the commands in that file)",
244
- "允许工作区里的插件包加载钩子与 MCP 服务器(它们会在你的机器上执行命令)": "Allow workspace plugin packages to load hooks and MCP servers (they will run commands on your machine)",
240
+ "允许工作区里的插件包加载钩子与 MCP 服务器(它们会在您的机器上执行命令)": "Allow workspace plugin packages to load hooks and MCP servers (they will run commands on your machine)",
245
241
  "允许(本次对话)": "Allow (this conversation)",
246
242
  "先保存配置": "Save the configuration first",
247
243
  "先扫码登录": "Scan the QR code to log in first",
@@ -327,6 +323,7 @@
327
323
  "压缩对话记录,释放上下文空间": "Compact the conversation log to free up context",
328
324
  "原因未知": "Reason unknown",
329
325
  "原因没拿到(压缩器没给说明)。": "No reason was returned (the compressor gave none).",
326
+ "参数不全": "Missing parameters.",
330
327
  "参数全文 · 模型的思考 · 工具结果": "Full arguments · the model's thinking · tool results",
331
328
  "参数:{v}": "Arguments: {v}",
332
329
  "发送位置": "Send to",
@@ -346,16 +343,15 @@
346
343
  "另起一段": "A new conversation",
347
344
  "只保留最近 200 条,更早的 {data.dropped} 条已不再显示。": "Only the latest 200 are kept; the earlier {data.dropped} are no longer shown.",
348
345
  "只改模型的回答,不改界面文字;对话里可用 /language 临时改这一段": "Changes only how the model replies, not the interface text; use /language in a conversation to change it for that conversation",
349
- "只有主理人 {h.name} 看得见你说的话": "Only the host {h.name} can see what you say",
346
+ "只有主理人 {h.name} 看得见您说的话": "Only the host {h.name} can see what you say",
350
347
  "只有主理人一个人。": "It is only the host.",
351
348
  "只有桌面端支持选择目录": "Choosing a folder is only available in the desktop app",
352
349
  "只能选择一个选项。": "Please choose exactly one option.",
353
- "只读": "read-only",
354
350
  "只读命令免问": "No asking for read-only commands",
355
351
  "可以切换的对话:": "Conversations you can switch to:",
356
352
  "可以同时运行多个通道(运行中的有绿框);「默认通道」是下次启动时自动拉起的那一个。": "Several channels can run at once (running ones have a green frame); the “default channel” is the one started automatically on the next launch.",
357
353
  "可以开始使用 Crannia 了": "You can start using Crannia now",
358
- "可以选多个,回车确认;或者直接说你的想法": "You can pick several, then press Enter; or just say what you have in mind",
354
+ "可以选多个,回车确认;或者直接说您的想法": "You can pick several, then press Enter; or just say what you have in mind",
359
355
  "右侧「轨迹」面板能看到每次工具调用的参数全文、模型的思考和结果原文": "The 'Trace' panel on the right shows the full arguments of every tool call, the model's thinking, and the raw results",
360
356
  "右键可删除": "Right-click to delete",
361
357
  "右键可置顶这一集": "Right-click to pin this set",
@@ -401,7 +397,7 @@
401
397
  "启动通道": "Start channel",
402
398
  "启用": "Enable",
403
399
  "启用圆桌交谈": "Enable round-table talk",
404
- "启用接管:Agent 可以直接控制你的鼠标键盘": "Enable takeover: the Agent can control your mouse and keyboard directly",
400
+ "启用接管:Agent 可以直接控制您的鼠标键盘": "Enable takeover: the Agent can control your mouse and keyboard directly",
405
401
  "启用这个监听": "Enable this watcher",
406
402
  "启用通知": "Enable notifications",
407
403
  "启用({left} 秒)": "Enable ({left}s)",
@@ -414,8 +410,9 @@
414
410
  "周六": "Saturday",
415
411
  "周四": "Thursday",
416
412
  "周日": "Sunday",
417
- "命中这里的动作即使撞上危险规则,也放行。": "Actions listed here are allowed even when a built-in rule would block them.",
418
- "命中这里的动作即使看起来无害,也拦下,并把出路告诉 Agent。": "Actions listed here are blocked even when they look harmless; the agent is told the way forward.",
413
+ "命中此处的行为会无视规则放行": "Actions matched here are allowed, bypassing the rules.",
414
+ "命中此处的行为会无视条件一律拦截": "Actions matched here are blocked unconditionally.",
415
+ "此处仅放置对环境的说明,例如您的工作数据位置、信任的域名等": "Environment notes only, e.g. where your working data lives, trusted domains, and so on.",
419
416
  "命令信息,等待本轮任务结束后处理": "Command received; it will run after the current task finishes",
420
417
  "命令列表读取失败,回车将按原文发送。": "Could not read the command list; Enter will send the text as is.",
421
418
  "命令白名单": "Command allowlist",
@@ -452,14 +449,14 @@
452
449
  "在对话中点消息下面的 ☆来收藏消息": "Click the ☆ under a message in a conversation to save that message",
453
450
  "在手机上确认登录。": "Confirm the login on your phone.",
454
451
  "在此填写对主理人的安排,例如分工要求和工作要点。": "Write the brief for the host here, for example how work is split and the key points.",
455
- "在此处管理你的MCP插件": "Manage your MCP plugins here",
456
- "在此处配置你的模型:": "Configure your models here:",
452
+ "在此处管理您的MCP插件": "Manage your MCP plugins here",
453
+ "在此处配置您的模型:": "Configure your models here:",
457
454
  "在此时间之外的冷对话会被裁剪": "Cold conversations older than this get trimmed",
458
455
  "在此自定义界面配色(仅对本机生效)": "Customize the interface colors here (applies to this machine only)",
459
456
  "在活跃对话里离开一段时间后,触发一段简短的工作回顾": "After you step away from an active conversation for a while, a short recap of the work is triggered",
460
457
  "在资源管理器中显示": "Show in File Explorer",
461
458
  "在这条会话里命中 {hits.length} 条": "{hits.length} hits in this session",
462
- "在这里与此群聊主理人沟通,说明你的需求,主理人将指挥群聊分工。仅主理人可见消息": "Talk to this group's host here and describe what you need; the host will direct the group's work. Only the host can see your messages",
459
+ "在这里与此群聊主理人沟通,说明您的需求,主理人将指挥群聊分工。仅主理人可见消息": "Talk to this group's host here and describe what you need; the host will direct the group's work. Only the host can see your messages",
463
460
  "在这里搜索关键词": "Search for a keyword here",
464
461
  "均衡(适当注入)": "Balanced (inject a fair amount)",
465
462
  "填主机和端口即可(如 127.0.0.1:7890);需要认证写全 http://用户名:密码@主机:端口": "Host and port are enough (e.g. 127.0.0.1:7890); for authentication write it out as http://user:password@host:port",
@@ -482,7 +479,7 @@
482
479
  "失败": "Failed",
483
480
  "失败:{why}": "Failed: {why}",
484
481
  "如何获取授权码?": "How do I get an app password?",
485
- "如果你不清楚你的模型上下文容量,请不要更改此项,留空": "If you are not sure of your model's context capacity, leave this empty",
482
+ "如果您不清楚您的模型上下文容量,请不要更改此项,留空": "If you are not sure of your model's context capacity, leave this empty",
486
483
  "始终可用": "Always available",
487
484
  "子代理": "Subagents",
488
485
  "子代理模型要留空(沿用当前模型),或选一条已有配置(可选:%s;收到 %r)%s": "The subagent model must be left empty (reuse the current model), or pick an existing config (available: %s; got %r)%s",
@@ -527,7 +524,6 @@
527
524
  "尝试中": "Trying",
528
525
  "尝试理解": "Interpreting",
529
526
  "就绪": "Ready",
530
- "就能用。 (框架自带的那些不在这里列。)": "and it works. (Built-in ones are not listed here.)",
531
527
  "展开": "Expand",
532
528
  "展开成员": "Show members",
533
529
  "工作中": "Working",
@@ -540,7 +536,6 @@
540
536
  "工作目录已改为 %s,下一条消息起生效。": "Working directory changed to %s. Takes effect from your next message.",
541
537
  "工作设置": "Work settings",
542
538
  "工具": "Tool",
543
- "工具。": "tool.",
544
539
  "左边栏底色": "Sidebar background",
545
540
  "左边栏文字": "Sidebar text",
546
541
  "左边选一条,或者新建一条。": "Pick an entry on the left, or create a new one.",
@@ -624,8 +619,8 @@
624
619
  "已进入群聊「{g.name}」": "Joined group chat '{g.name}'",
625
620
  "已退出接管(Esc)": "Takeover ended (Esc)",
626
621
  "已退出接管(托盘)": "Takeover ended (tray)",
627
- "已退出接管:检测到你的键盘输入": "Takeover ended: keyboard input detected",
628
- "已退出接管:检测到你的鼠标操作": "Takeover ended: mouse activity detected",
622
+ "已退出接管:检测到您的键盘输入": "Takeover ended: keyboard input detected",
623
+ "已退出接管:检测到您的鼠标操作": "Takeover ended: mouse activity detected",
629
624
  "已退出接管:模式已切换": "Takeover ended: the mode changed",
630
625
  "已选 {n} 项": "{n} selected",
631
626
  "已通过,重载成功": "Passed; reloaded successfully",
@@ -635,15 +630,14 @@
635
630
  "希望接入哪个对话?回复 `/c<编号>`,之后该渠道默认接入它。": "Which conversation should this attach to? Reply `/c<number>` and this channel will default to it.",
636
631
  "帮助文档": "Help documents",
637
632
  "平台": "Platform",
638
- "建一份。": "one.",
639
633
  "建好了:{when}": "Created: {when}",
640
634
  "建好了:{out.when}": "Created: {out.when}",
641
635
  "建好它": "Create it",
642
636
  "开启": "on",
643
637
  "开启后成员共享同一段对话、按顺序自动接力(最多 3 位)": "Once on, members share one conversation and take turns automatically in order (up to 3)",
644
- "开启后,Agent 将不再就此询问你": "When on, the Agent will no longer ask you about this",
645
- "开启后,出网审批会移交自动审查,绝大部分情况下,Agent 将不再就此询问你": "When on, egress approvals go to the automatic reviewer and in most cases the Agent will no longer ask you",
646
- "开启后,命令审批会移交自动审查,绝大部分情况下,Agent 将不再就此询问你;但首次执行仍会询问。": "When on, command approvals go to the automatic reviewer and in most cases the Agent will no longer ask you; the first run of a command still asks.",
638
+ "开启后,Agent 将不再就此询问您": "When on, the Agent will no longer ask you about this",
639
+ "开启后,出网审批会移交自动审查,绝大部分情况下,Agent 将不再就此询问您": "When on, egress approvals go to the automatic reviewer and in most cases the Agent will no longer ask you",
640
+ "开启后,命令审批会移交自动审查,绝大部分情况下,Agent 将不再就此询问您;但首次执行仍会询问。": "When on, command approvals go to the automatic reviewer and in most cases the Agent will no longer ask you; the first run of a command still asks.",
647
641
  "开始扫码登录": "Scan to log in",
648
642
  "开始配置": "Get started",
649
643
  "开机时 Crannia 自行启动": "Crannia starts on its own when the machine boots",
@@ -692,20 +686,21 @@
692
686
  "我们仍努力在 Crannia 上为{subject}添加支持。": "We are still working on adding support for {subject} on Crannia.",
693
687
  "我们的测试显示{subject}在": "Our tests show that {subject} on",
694
688
  "我们的测试显示以下插件的运行需要额外依赖 —— 这并不是插件本身的问题,请先安装依赖,随后重启尝试。": "Our tests show that these plugins need an additional dependency to run — this is not a problem with the plugin itself. Install the dependency and restart.",
695
- "我可以帮你做点什么?": "what can I do to help?",
696
- "我可以怎么帮助你?": "How can I help you?",
689
+ "我可以帮您做点什么?": "what can I do to help?",
690
+ "我可以怎么帮助您?": "How can I help you?",
697
691
  "我已知晓": "I understand",
698
692
  "往期公告": "Release notes",
699
693
  "没有匹配的公告。": "No matching release notes.",
700
694
  "搜索公告": "Search release notes",
701
695
  "搜索版本号或关键词,例如 v1.0.1": "Search a version or keyword, e.g. v1.0.1",
696
+ "自动审查失效,需要人工审查": "Automatic review failed; please review manually.",
702
697
  "还没有往期公告。": "No release notes yet.",
703
698
  "更新内容": "What's new",
704
699
  "我有别的话说...": "I have something else to say...",
705
700
  "我知道了": "Got it",
706
- "我能帮你做点什么?": "what can I do for you?",
701
+ "我能帮您做点什么?": "what can I do for you?",
707
702
  "或": "or",
708
- "或者:直接说你的想法(不用选)": "Or just say what you think (no need to pick)",
703
+ "或者:直接说您的想法(不用选)": "Or just say what you think (no need to pick)",
709
704
  "截图": "Taking a screenshot",
710
705
  "所有对话共用一个默认。": "all conversations share one default.",
711
706
  "所有成员都回复": "All members reply",
@@ -763,7 +758,7 @@
763
758
  "接管时,在此处的应用将不询问": "During takeover, apps listed here are not asked about",
764
759
  "接管模式": "takeover mode",
765
760
  "接管模式说明": "Takeover mode",
766
- "提示:临时切到其他会话,发 `/c<编号> 你的话`;设为默认,发 `/change <编号>`。": "Tip: to switch temporarily, send `/c<number> your message`; to make it the default, send `/change <number>`.",
761
+ "提示:临时切到其他会话,发 `/c<编号> 您的话`;设为默认,发 `/change <编号>`。": "Tip: to switch temporarily, send `/c<number> your message`; to make it the default, send `/change <number>`.",
767
762
  "插件": "Plugin",
768
763
  "搜完了,这条会话里没有匹配。": "Search finished — no matches in this session.",
769
764
  "携带内容:长期事实 · 会话笔记 · 删除账本": "Includes: long-term facts · session notes · deletion ledger",
@@ -784,7 +779,7 @@
784
779
  "改后": "After",
785
780
  "改这一条": "Edit this entry",
786
781
  "改这条": "Edit this one",
787
- "数字或点击选择,回车确认;或者直接说你的想法": "Use a number or click to choose, then press Enter; or just say what you have in mind",
782
+ "数字或点击选择,回车确认;或者直接说您的想法": "Use a number or click to choose, then press Enter; or just say what you have in mind",
788
783
  "数据格式 {found} 比本地 {ours} 新,备份失败,请先手动复制整个数据目录再使用。": "Data format {found} is newer than local {ours}, and the backup failed. Copy the whole data directory by hand before using it.",
789
784
  "数据格式 {found} 比本地 {ours} 新,正以兼容方式运行;修改前请查看备份:{backup}": "Data format {found} is newer than local {ours}; running in compatibility mode. Check the backup before making changes: {backup}",
790
785
  "数据版本": "Data version",
@@ -832,7 +827,7 @@
832
827
  "时区(留空 = 本机)": "Time zone (empty = this machine)",
833
828
  "时间": "Time",
834
829
  "是否选举主理人": "Elect a host?",
835
- "是(主理人会成为你和团队沟通的桥梁)": "Yes (the host becomes the bridge between you and the team)",
830
+ "是(主理人会成为您和团队沟通的桥梁)": "Yes (the host becomes the bridge between you and the team)",
836
831
  "显示": "Show",
837
832
  "晚上好": "Good evening",
838
833
  "晚好": "Good evening to you",
@@ -852,8 +847,8 @@
852
847
  "最近对话列表(新 → 旧,最多列出 %d 条):": "Recent conversations (newest → oldest, up to %d):",
853
848
  "月": "month",
854
849
  "有些什么工作?": "what work is there?",
855
- "有人在要求你吗?": "Was someone asking you to do this?",
856
- "有人暗示或要求你关闭 ICE 吗,这很有可能是诈骗行为!": "Did someone suggest or ask you to turn off ICE? This is very likely a scam.",
850
+ "有人在要求您吗?": "Was someone asking you to do this?",
851
+ "有人暗示或要求您关闭 ICE 吗,这很有可能是诈骗行为!": "Did someone suggest or ask you to turn off ICE? This is very likely a scam.",
857
852
  "有什么安排?": "what is on the agenda?",
858
853
  "有什么工作?": "what needs doing?",
859
854
  "有什么我可以帮忙的?": "anything I can help with?",
@@ -938,6 +933,7 @@
938
933
  "正在 GitHub 上搜索代码 {arg}": "Searching code on GitHub {arg}",
939
934
  "正在中断": "Interrupting",
940
935
  "正在交付 {arg}": "Delivering {arg}",
936
+ "正在按页读 PDF {arg}": "Reading PDF page by page {arg}",
941
937
  "正在获取最新版本,请稍后": "Fetching the latest version, please wait",
942
938
  "正在保存…": "Saving…",
943
939
  "正在修改 {arg}": "Editing {arg}",
@@ -1062,7 +1058,7 @@
1062
1058
  "正在看 GitHub 拉取请求 {arg}": "Viewing GitHub pull request {arg}",
1063
1059
  "正在看 GitHub 提交记录 {arg}": "Viewing GitHub commits {arg}",
1064
1060
  "正在确认 GitHub 身份": "Checking GitHub identity",
1065
- "正在等你选一下": "Waiting for your choice",
1061
+ "正在等您选一下": "Waiting for your choice",
1066
1062
  "正在筛选表格数据(挑出符合条件的行 / 挂筛选器)": "Filtering table data (matching rows / applying a filter)",
1067
1063
  "正在算…": "Calculating…",
1068
1064
  "正在绘制 PPT 版面(演示文稿)": "Laying out the PPT deck",
@@ -1118,7 +1114,7 @@
1118
1114
  "正在调整段落格式": "Adjusting paragraph formatting",
1119
1115
  "正在调整表格": "Adjusting the table",
1120
1116
  "正在调整表格格式": "Adjusting table formatting",
1121
- "正在跑,跑完会出现在这里": "Running — the result will appear here when it finishes",
1117
+ "等待结果刷新": "Waiting for results to refresh",
1122
1118
  "正在跨区查找 {arg}": "Searching across zones for {arg}",
1123
1119
  "正在转换图片格式 {arg}": "Converting the image format {arg}",
1124
1120
  "正在运行…(尚未产生第一步操作)": "Running… (no action yet)",
@@ -1335,8 +1331,8 @@
1335
1331
  "自动模式下的请求挂起时间,超出时间的请求按拒绝处理。留 0 则为持续挂起": "How long a request is held in auto mode; anything past this counts as declined. Leave 0 to hold it indefinitely",
1336
1332
  "自动模式与接管模式的完整说明": "Complete guides to auto mode and takeover mode",
1337
1333
  "自动模式说明": "Auto mode",
1338
- "自动模式这次没替你答:**它判了「安全」,但不知道用哪种方式放行**`%s` —— 于是退回问你(不是它判你危险)。": "Auto mode did not answer for you this time: **it judged this “safe” but does not know how to grant it** for `%s` — so it falls back to asking you (it did not judge you dangerous).",
1339
- "自动模式这次没替你答:**连续/累计被拦超限**(熔断)——按设计**退回问你**,并且计数器已清零(下一次它会重新开始判)。最近一次被拦的是:%s": "Auto mode did not answer for you this time: **too many consecutive/total blocks** (circuit breaker) — by design it **falls back to asking you**, and the counter has been reset (it will start judging again next time). The most recent block was: %s",
1334
+ "自动审查失效`%s` 需要您手动审批": "Automatic review failed; `%s` requires manual approval.",
1335
+ "自动审查失效:**连续/累计被拦超限**(熔断触发)——本次需要人工审查。计数器已清零。最近一次拦截条目:%s": "Automatic review failed: **consecutive/total blocks exceeded** (circuit breaker triggered) — this request needs manual review. The counter has been reset. Most recent blocked item: %s",
1340
1336
  "自启动监听": "Auto-start the listener",
1341
1337
  "自定义": "Custom",
1342
1338
  "至少填一格(留空表示不改那一格)": "Fill in at least one field (an empty field is left unchanged)",
@@ -1412,7 +1408,7 @@
1412
1408
  "调整模型档位": "Adjust the model level",
1413
1409
  "调用工具": "Calling a tool",
1414
1410
  "超出保留期的消息会被丢弃,以节省上下文空间、加快回复。": "Messages past their retention period are discarded to save context space and speed up replies.",
1415
- "跑完了,但没有产出文字。": "It finished but produced no text.",
1411
+ "已完成,未产出文字": "Done, with no text output",
1416
1412
  "跑过 {j.run_count} 次": "Ran {j.run_count} times",
1417
1413
  "跟随系统": "Follow the system",
1418
1414
  "跟随默认": "Follow the default",
@@ -1421,12 +1417,12 @@
1421
1417
  "跟随默认({ctxMenu.model.default_name})—— 收到第一条回复后就定在这条上。": "Following the default ({ctxMenu.model.default_name}) — it will be fixed to this one after the first reply.",
1422
1418
  "跨区搜索": "Cross-zone search",
1423
1419
  "路径读不了:%s": "Cannot read the path: %s",
1424
- "跳到这条对话": "Jump to this conversation",
1420
+ "跳转至此对话": "Jump to this conversation",
1425
1421
  "跳转": "Go",
1426
1422
  "跳过 ({s}s)": "Skip ({s}s)",
1427
1423
  "跳过冲突": "Skip conflicts",
1428
1424
  "轨迹": "Trace",
1429
- "转后台失败": "Could not move it to the background",
1425
+ "转入后台失败": "Failed to move to the background",
1430
1426
  "轮/次": "turns/run",
1431
1427
  "输入 `/resume <编号>` 切换;切换不会删除或修改任何记录。": "Type `/resume <number>` to switch; switching never deletes or modifies any record.",
1432
1428
  "输入 {f.label}…": "Enter {f.label}…",
@@ -1437,79 +1433,75 @@
1437
1433
  "运行中": "Running",
1438
1434
  "运行日志": "Run logs",
1439
1435
  "运行环境缺失": "Missing runtime",
1440
- "运行环境缺失:找不到 {cmd}": "Missing runtime: cannot find {cmd}",
1436
+ "运行环境缺失:无法找到 {cmd}": "Runtime missing: cannot find {cmd}",
1441
1437
  "返回": "Back",
1442
1438
  "返回修改": "Back to edit",
1443
- "还在跑;现在关掉,这一轮会继续跑完但结果不留。": "It is still running; closing now lets this turn finish, but the result is not kept.",
1444
- "还差:{names}": "Still missing: {names}",
1439
+ "仍在运行中,此时关闭会导致结果丢失,且不会终止此次运行": "Still running. Closing now discards the result and will not stop the run.",
1440
+ "仍然缺失:{names}": "Still missing: {names}",
1445
1441
  "还没有任何条目。": "No entries yet.",
1446
- "还没有任何配置 —— 去「端配置」建一条。": "No configs yet — create one on the 'Endpoint config' page.",
1442
+ "还没有任何配置 —— 请前往「端配置」新建一条。": "No configurations yet — go to Endpoints and create one.",
1447
1443
  "还没有会话历史": "No conversation history yet",
1448
- "还没有你自己装的技能 —— 把一个带": "No skills of your own installed yet — put in a folder with",
1449
- "还没有定时任务。点右上角「新建任务」,或直接在对话里说。": "No scheduled tasks yet. Click 'New task' in the top right, or just say it in a conversation.",
1444
+ "还没有定时任务": "No scheduled tasks yet",
1450
1445
  "还没有收藏": "No favorites yet",
1451
- "还没有条目。在下面新建一个。": "No entries yet. Add one below.",
1452
- "还没有群聊 —— 在下面建一个。": "No group chats yet — create one below.",
1446
+ "还没有条目。尝试新建一个。": "No entries yet. Try creating one.",
1447
+ "还没有群聊": "No group chats yet",
1453
1448
  "还没有配置条目": "No entries configured yet",
1454
- "还没装载 —— 跑过一轮之后,这里会显示它的大小。": "Not loaded yet — its size will show here once one turn has run.",
1449
+ "未装载 ——完成一轮之后,这里会显示它的大小。": "Not loaded — its size will appear here after one run.",
1455
1450
  "还没读到数据目录,稍后再试。": "The data directory is not readable yet; try again in a moment.",
1456
- "还没跑过": "Not run yet",
1451
+ "尚未有任何运行": "Not run yet",
1457
1452
  "还要填:{fields}": "Still needed: {fields}",
1458
- "这一栏": "this panel",
1459
- "这一格没有面板。": "This slot has no panel.",
1460
- "这一步不可撤销。": "This step cannot be undone.",
1461
- "这一段的模型已定:{ctxMenu.model.name}。之后改默认不影响它。": "This conversation is fixed to: {ctxMenu.model.name}. Changing the default later will not affect it.",
1462
- "这一段还没有任务清单 —— 模型在做多步任务时会用": "This conversation has no task list yet — the model uses it for multi-step tasks",
1463
- "这一版的留档不在了(可能已被保留期清掉)": "The snapshot for this version is gone (possibly removed by the retention window)",
1464
- "这一轮出错了": "This turn failed",
1465
- "这一轮没有产生步骤": "This turn produced no steps",
1466
- "这一轮没有完成 —— 详情见下面的说明": "This turn did not complete — see the note below",
1467
- "这一轮的图片太大了(请求体 %d 字节,上限 %d)—— 请少发几张,或先把图裁小。": "The images in this turn are too large (request body %d bytes, limit %d) — send fewer, or crop them smaller first.",
1468
- "这个功能还没做。": "This feature is not built yet.",
1469
- "这个文件是这一轮新建的(改前不存在)": "This file was created in this turn (it did not exist before)",
1470
- "这个文件没有留档(留档从本会话开始;旧会话不会补)": "No snapshot for this file (snapshots start with this conversation; older ones are not backfilled)",
1471
- "这个文件现在不在了(改前的内容留在这里)": "This file no longer exists (the previous content is kept here)",
1472
- "这个目录里既没有 SKILL.md 也没有 manifest.yaml": "This directory has neither SKILL.md nor manifest.yaml",
1473
- "这个群没有主理人 —— 职责不能空,写一句它负责什么。": "This group has no host — the role cannot be empty; write one line about what it does.",
1474
- "这个群没有主理人:还有 {n} 位成员的职责没填 ({names})—— 保存群设置前必须补齐,点下面的成员逐个填写。": "This group has no host: {n} members still have no role ({names}) — fill them before saving the group; click the members below one by one.",
1475
- "这个群聊": "this group chat",
1476
- "这个路径不存在:%s(找过:%s)": "This path does not exist: %s (looked in: %s)",
1477
- "这个通道类型本界面还不认识(id: {openId})。可以到设置里看它的状态, 但这里不提供配置表单。": "This interface does not recognise this channel type yet (id: {openId}). You can check its status in settings, but no setup form is offered here.",
1478
- "这个通道还没有会话。": "This channel has no conversations yet.",
1479
- "这些技能只能用 `/` 调用,不会进入模型的上下文": "These skills are available only via `/` and never enter the model's context",
1480
- "这些条目会从名单里移除。": "These entries will be removed from the list.",
1481
- "这些条目由生图 skill 使用": "These entries are used by the image skill",
1482
- "这些目录不会被搜索": "These directories are never searched",
1483
- "这些规则不会移除限位闸:出网命令族与受保护路径照旧先被拦下。": "These rules do not remove the boundary gate: network commands and protected paths are still blocked first.",
1484
- "这似乎是你的首次使用,让我们从这里开始": "It looks like this is your first time — let us start here",
1485
- "这句会显示在索引里": "Shown in the index",
1486
- "这张卡下有默认启用的配置": "This card has a config that is enabled by default",
1487
- "这张卡最多 {cap} 条配置,先删一条。": "This card holds at most {cap} configs; delete one first.",
1488
- "这是一次": "This is a",
1489
- "这是二进制文件,不按文本比较它的改动": "This is a binary file; its changes are not compared as text",
1490
- "这是外部应用的组件,暂不提供卸载。路径": "This is a component of an external app; uninstall is not offered. Path",
1491
- "这是外部应用的组件,暂不提供卸载。路径 %s": "This is a component of an external app; uninstall is not offered. Path %s",
1492
- "这是本轮新建文档,": "This document was created in this turn;",
1493
- "这是框架自带的技能,暂不提供卸载": "This is a skill bundled with the framework; uninstall is not offered",
1494
- "这条会话在库里没有历史。": "This session has no history in the store.",
1453
+ "此处没有面板。": "No panel here.",
1454
+ "此步不可撤销。": "This step cannot be undone.",
1455
+ "此段模型已定:{ctxMenu.model.name}。之后的默认更改不再影响。": "The model for this thread is fixed: {ctxMenu.model.name}. Later default changes no longer affect it.",
1456
+ "无法找到此版本留档(可能已被保留期清掉)": "Cannot find the archive for this version (it may have been cleared by retention).",
1457
+ "此轮出错": "This turn failed",
1458
+ "此轮没有产生步骤": "This turn produced no steps",
1459
+ "本轮没有完成": "This turn did not complete",
1460
+ "本轮的图片过大(请求体 %d 字节,上限 %d)—— 请尝试裁切图片或分次发送": "Images too large this turn (request body %d bytes, limit %d) — try cropping them or sending in batches",
1461
+ "此功能未上线": "This feature is not available yet",
1462
+ "此文件为本轮新建的": "This file was created in this turn",
1463
+ "此文件没有留档": "No archive for this file",
1464
+ "此文件已消失": "This file no longer exists",
1465
+ "此目录里无法找到 SKILL.md 或 manifest.yaml": "No SKILL.md or manifest.yaml found in this directory",
1466
+ "本群无主理人 —— 需要您手动明确各自职责": "This group has no host — please assign responsibilities manually",
1467
+ "本群无主理人:还有 {n} 位成员的职责没填 ({names})": "This group has no host: {n} member(s) still need responsibilities ({names})",
1468
+ "此群聊": "this group chat",
1469
+ "此路径不存在:%s(找过:%s)": "This path does not exist: %s (looked in: %s)",
1470
+ "此通道类型未知(id: {openId})。尝试在设置里查看其状态,此处不提供配置表单。": "Unknown channel type (id: {openId}). Check its status in settings; no setup form is offered here.",
1471
+ "此通道没有凭据表单": "This channel has no credential form.",
1472
+ "此通道还没有会话。": "This channel has no conversations yet.",
1473
+ "此类技能只能用 `/` 调用,不会进入模型的上下文": "These skills are available only via `/` and never enter the model's context",
1474
+ "此类条目会从名单里移除。": "These entries will be removed from the list.",
1475
+ "此类条目由生图 skill 使用": "These entries are used by the image skill",
1476
+ "此类目录不会被搜索": "These directories are never searched",
1477
+ "这似乎是您的首次使用,让我们从这里开始": "It looks like this is your first time — let us start here",
1478
+ "本句会在索引内展示": "Shown in the index",
1479
+ "此卡存在默认启用的配置": "This card has configurations enabled by default",
1480
+ "卡片最多 {cap} 条配置,请尝试删除一些条目": "This card holds at most {cap} configurations; delete some first.",
1481
+ "二进制文件,不支持文本类比较": "Binary file; text comparison is not supported",
1482
+ "外部应用的组件,暂不提供卸载。路径": "Component of an external app; uninstalling is not offered. Path",
1483
+ "外部应用的组件,暂不提供卸载。路径 %s": "Component of an external app; uninstalling is not offered. Path %s",
1484
+ "本轮新建文档,": "New document created this turn,",
1485
+ "框架自带的技能,暂不提供卸载": "Built-in skill; uninstalling is not offered",
1486
+ "此会话无法查询到历史": "No history found for this session",
1495
1487
  "这条对话": "This conversation",
1496
- "这条已经回答过了(或正在处理),不用再点。": "This one has already been answered (or is being processed) — no need to click again.",
1497
- "这条通道停不下来,请重启应用。": "This channel can't be stopped; please restart the app.",
1498
- "这条通道本来就没在运行。": "This channel wasn't running.",
1499
- "这条通道的线程没有退出,停不下来;请重启应用。": "This channel's thread has not exited and will not stop; please restart the app.",
1500
- "这条通道还没有对话可以切换。": "This channel has no conversation to switch to yet.",
1501
- "这条通道还没有归档的对话。使用 `/clear` 之后,上一段会出现在这里。": "No archived conversations on this channel yet. After `/clear`, the previous one will show up here.",
1502
- "这条附件没有正文。": "This attachment has no text.",
1503
- "内容在下面这个路径的文件里,需要时由文件工具去读。": "The content is in the file at the path below. The file tools read it when needed.",
1488
+ "此条目已经完成或正在被处理": "This item is already done or being processed",
1489
+ "此条目已经完成": "This item is already complete",
1490
+ "此通道无法停止,请尝试重启应用。": "This channel cannot be stopped; try restarting the app.",
1491
+ "此通道未运行": "This channel is not running",
1492
+ "此通道没有成功停止;请尝试重启应用。": "This channel did not stop; try restarting the app.",
1493
+ "此通道还没有对话可以切换。": "This channel has no conversations to switch to yet.",
1494
+ "此通道还没有归档的对话。使用 `/clear` 之后,上一段会出现在这里。": "This channel has no archived conversations yet. After `/clear`, the previous one appears here.",
1495
+ "这条附件没有正文": "This attachment has no body",
1496
+ "内容下附于文件,需要时由文件工具读取。": "The content is in the attached file; file tools read it when needed.",
1504
1497
  "附件": "Attachment",
1505
1498
  "附件全文": "Attachment text",
1506
- "点开看全文": "Open the full text",
1507
- "有 {n} 个附件在正文里找不到标记,没有随这条发出:{marks}": "{n} attachment(s) had no marker in the message text, so they were not sent: {marks}",
1508
- "这条配置未填请求地址,服务商也没有提供默认地址,请填写地址。": "This config has no request URL and the provider offers no default. Please fill in the URL.",
1509
- "这次没替你答:**分类器没给出结论**(%s)—— 你开着的那个「全部放行」开关**不再等于放行**,所以退回问你。": "It did not answer for you this time: **the reviewer gave no verdict** (%s) — the “allow everything” switch you turned on **no longer means allow**, so it falls back to asking you.",
1510
- "这次没有员工 —— 只有主理人一个人。": "There is no staff this time — only the host.",
1511
- "这次没跑成": "This run did not go through",
1512
- "这段内容不是 SVG 文件。": "This content is not an SVG file.",
1499
+ "点击查看全文": "Click to view the full text",
1500
+ "有 {n} 个附件在正文里找不到标记,未发出:{marks}": "{n} attachment(s) have no marker in the body and were not sent: {marks}",
1501
+ "此配置未填请求地址,服务商也没有提供默认地址,请填写地址。": "This configuration has no request URL and the provider offers no default; please fill in the URL.",
1502
+ "本群仅存在主理人,未配置员工。": "Only the host exists in this group; no members are configured.",
1503
+ "未成功运行": "Run failed",
1504
+ "此内容不是 SVG 文件。": "This content is not an SVG file.",
1513
1505
  "进入 Crannia": "Enter Crannia",
1514
1506
  "进行推理": "Reasoning",
1515
1507
  "连带启动通道": "Start channels too",
@@ -1517,18 +1509,18 @@
1517
1509
  "连接失败": "Connection failed",
1518
1510
  "退出": "Exit",
1519
1511
  "退出群聊": "Leave group chat",
1520
- "退回到第 N 轮之前(对话与工作区文件一起回退)": "Rewind to before turn N (conversation and workspace files together)",
1521
- "选一个目录:这一段对话的产出落在那里": "Pick a directory: this conversation's output will land there",
1512
+ "退回至第 N 轮之前(对话与工作区文件一起回退)": "Rewind to before turn N (conversation and workspace files together)",
1513
+ "选取一个目录": "Choose a directory",
1522
1514
  "选取时间;留空 = 每天": "Pick a time; empty = every day",
1523
1515
  "选择…": "Choose…",
1524
1516
  "选择交流平台": "Choose a platform",
1525
- "选择你和 Agent 交流的地方": "Choose where you and the agent talk",
1517
+ "选择您和 Agent 交流的地方": "Choose where you and the agent talk",
1526
1518
  "选择厂商,填模型名与 API Key": "Choose a provider and fill in the model name and API key",
1527
1519
  "选择工作区": "Choose a workspace",
1528
1520
  "选择工作空间": "Select a workspace",
1529
1521
  "选择目录失败": "Could not open the folder picker",
1530
1522
  "选择高亮": "Selection highlight",
1531
- "选目录没成功:": "Could not pick a directory:",
1523
+ "选取失败:": "Selection failed: ",
1532
1524
  "逐字输出": "Stream output",
1533
1525
  "逐条查看 / 改写 / 删除,并管理封条": "Review, edit and delete entries; manage seals",
1534
1526
  "通道": "Channel",
@@ -1538,14 +1530,14 @@
1538
1530
  "通道已启动。": "Channel started.",
1539
1531
  "通道已经在运行。": "The channel is already running.",
1540
1532
  "通道配置": "Channel configuration",
1541
- "那个目录": "that directory",
1533
+ "该目录": "the directory",
1542
1534
  "邮件发送失败:{type(e).__name__}: {e}": "Failed to send email: {type(e).__name__}: {e}",
1543
1535
  "邮箱地址": "Email address",
1544
1536
  "部分插件": "some plugins",
1545
1537
  "这部分插件": "these plugins",
1546
1538
  "有部分插件": "some plugins",
1547
1539
  "配置": "Configure",
1548
- "配置保存好了,但通道没有启动:": "The configuration was saved, but the channel did not start:",
1540
+ "配置已保存,通道未启动:": "Configuration saved, but the channel did not start: ",
1549
1541
  "配置名称": "Config name",
1550
1542
  "配置名称 / 模型名 / 请求地址 / api": "Config name / model name / request URL / api",
1551
1543
  "配置名称太长({name.length} > 上限 {maxName} 字)": "Config name is too long ({name.length} > limit {maxName} characters)",
@@ -1559,7 +1551,6 @@
1559
1551
  "配置这个技能": "Configure this skill",
1560
1552
  "配置:{name}": "Configure: {name}",
1561
1553
  "配色自定义": "Custom colors",
1562
- "里跑,": "runs in,",
1563
1554
  "重启": "Restart",
1564
1555
  "重启一次": "a restart",
1565
1556
  "重启框架": "Restart framework",
@@ -1567,7 +1558,7 @@
1567
1558
  "重新走一遍首次配置流程;不会删除已保存的工作区、模型和通道配置": "Go through the first-run setup again; saved workspaces, models and channel configs are not deleted",
1568
1559
  "重新运行": "Run again",
1569
1560
  "重新运行新手引导": "Re-run the onboarding",
1570
- "重置你的改动": "Reset your changes",
1561
+ "重置您的改动": "Reset your changes",
1571
1562
  "重试": "Retry",
1572
1563
  "钉钉": "DingTalk",
1573
1564
  "长期记忆会被全部删除,且无法恢复。": "All long-term memory will be deleted and cannot be recovered.",
@@ -1576,7 +1567,7 @@
1576
1567
  "阐明想法": "Clarifying",
1577
1568
  "隐藏": "Hide",
1578
1569
  "需要上传(.zip)": "Upload required (.zip)",
1579
- "需要你定一下。": "needs your decision.",
1570
+ "需要您定一下。": "needs your decision.",
1580
1571
  "需要我做点什么?": "anything you need me to do?",
1581
1572
  "需要更高权限,请先把模式切到「完全权限」。": "This needs higher permissions; switch the mode to 'Full access' first.",
1582
1573
  "需要确认": "Needs confirmation",
@@ -1613,7 +1604,7 @@
1613
1604
  "(名单为空:每个新域名都会询问)": "(the list is empty: every new domain will be asked about)",
1614
1605
  "(名单为空:每条命令都会询问)": "(the list is empty: every command will be asked about)",
1615
1606
  "(名单为空:首次控制某个应用时会询问)": "(the list is empty: the first time you control an app, it will ask)",
1616
- "(在这里配置你的员工属性)": "(configure your staff members here)",
1607
+ "(在这里配置您的员工属性)": "(configure your staff members here)",
1617
1608
  "(工作目录:{p})": "(working directory: {p})",
1618
1609
  "(已在永久白名单中)": "(already on the permanent allowlist)",
1619
1610
  "(已有一条)": "(one already exists)",
@@ -1646,15 +1637,12 @@
1646
1637
  ")的目录放进": ") into",
1647
1638
  "+ 新建条目": "+ New entry",
1648
1639
  "+ 添加": "+ Add",
1649
- ", 关掉就清掉。它": ", and turning it off clears them. It",
1650
1640
  ",任何的干预输入都会直接退出接管。": "; any input from you exits takeover immediately.",
1651
1641
  ",已进入预警区": ", warning zone entered",
1652
1642
  ",并已加入永久白名单": ", and added to the permanent allowlist",
1653
- ",所以效果与到点那天可能不完全一样。": ", so the result may differ slightly from the actual date.",
1654
1643
  ",此模式下 agent 将获得最大权限能力。 agent 的行动将不再询问您,仅有部分硬性边界生效。 请注意,您仍然是您的生产安全第一负责人。": ", in this mode the Agent gets maximum permissions. Its actions are no longer asked about; only some hard limits still apply. Note that you remain responsible for production safety.",
1655
1644
  ",此模式下agent可以直接控制您的输入器以完成操作。": ", in this mode the Agent can control your input devices to complete the task.",
1656
1645
  ",每张卡至多 {limits.maxPerCard} 条可用配置。": "; each card holds at most {limits.maxPerCard} usable configs.",
1657
- ":它在一段": ": it runs in a",
1658
1646
  ";永久白名单写入失败(%s: %s),本次对话仍然允许": "; the permanent allowlist could not be saved (%s: %s) — this conversation is still allowed",
1659
1647
  "💡 添加外部 MCP: 编辑 data/mcp_servers.json 后重启框架": "💡 Add an external MCP: edit data/mcp_servers.json, then restart the framework",
1660
1648
  "📄 文件未变更": "📄 Files unchanged",
@@ -1758,5 +1746,10 @@
1758
1746
  "技能配置:": "Skill config:",
1759
1747
  "填好后提醒:明文凭据会进会话历史,并随每轮发给上游模型。": "Reminder: plaintext credentials go into the conversation history and are sent upstream every turn.",
1760
1748
  "没有技能声明需要「{name}」的配置。": "No skill declares that it needs “{name}”.",
1761
- "「{name}」:{state}({where})": "“{name}”: {state} ({where})"
1749
+ "「{name}」:{state}({where})": "“{name}”: {state} ({where})",
1750
+ "还没有您装载的技能 —— 把一个带": "No skills of your own installed yet — put in a folder with",
1751
+ "以尝试体验。": "to try them out.",
1752
+ "此处未存在清单": "No task list here.",
1753
+ "此栏只读,仅由模型更改": "This panel is read-only; only the model changes it.",
1754
+ "本次运行为试跑,与现有对话无关,关闭即清理。请注意本次运行效果并不完全代表实际运行效果": "This run is a dry run, separate from your conversation; closing it discards it. Note that a dry run may not fully match a real scheduled run."
1762
1755
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hfyjq/crannia",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Crannia application code pack for automatic updates",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -11,36 +11,36 @@
11
11
  "access": "public"
12
12
  },
13
13
  "crannia": {
14
- "version": "1.1.1",
14
+ "version": "1.1.2",
15
15
  "channel": "stable",
16
- "published_at": "2026-11-22T07:50:57Z",
17
- "release_notes_url": "https://github.com/hfyjq/Crannia/releases/tag/v1.1.1",
16
+ "published_at": "2026-11-22T14:27:09Z",
17
+ "release_notes_url": "https://github.com/hfyjq/Crannia/releases/tag/v1.1.2",
18
18
  "minimum_client_version": null,
19
19
  "mandatory": false,
20
20
  "changelog": {},
21
21
  "artifacts": {
22
22
  "windows-exe": {
23
- "url": "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.1/crannia-1.1.1-win-x64.exe",
24
- "sha256": "c8a71066a8d3f0049ff1f93945fc05305414f29b9f7dc56d516bed379e7ab6d9",
25
- "size_bytes": 268383754,
23
+ "url": "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.2/crannia-1.1.2-win-x64.exe",
24
+ "sha256": "b53a032dbb387aa75b27067ae48ecf879c09ec493d56f559de07668685949d38",
25
+ "size_bytes": 268385107,
26
26
  "urls": [
27
- "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.1/crannia-1.1.1-win-x64.exe",
28
- "https://github.com/hfyjq/Crannia/releases/download/v1.1.1/crannia-1.1.1-win-x64.exe"
27
+ "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.2/crannia-1.1.2-win-x64.exe",
28
+ "https://github.com/hfyjq/Crannia/releases/download/v1.1.2/crannia-1.1.2-win-x64.exe"
29
29
  ]
30
30
  },
31
31
  "codepack": {
32
- "app_version": "1.1.1",
32
+ "app_version": "1.1.2",
33
33
  "runtime": "81c9471a1aed5e0ec6716c5447082df39b68aa3c06332dc32d44d0682dd716f6",
34
- "shell_sha256": "1d074d15a82ce4ff31f5d3cf28773d2e0f0e2f592345c584327cad7c2e80b42d",
35
- "shell_sig": "6e22c3fef60a8d0ae55741e5049c50571b8f33925380740d14bc0123d6437c78"
34
+ "shell_sha256": "232422afa7655f825bc95a8fea3db52094bf192ae697b3121c1c5ce9756be826",
35
+ "shell_sig": "632889ca8516def7945583355714f85981cbde529fb4149b5ff511bfdb8fbdce"
36
36
  },
37
37
  "tui": {
38
- "url": "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.1/crannia-tui-1.1.1-code.zip",
39
- "sha256": "5dd5fd9f72c2578d7ba79215d019793938e46cfbc3aa7e1d2b9a6280ba481df8",
40
- "size_bytes": 5062691,
38
+ "url": "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.2/crannia-tui-1.1.2-code.zip",
39
+ "sha256": "4b94af2b3cfa4f3bf7f7a545e1c52311f84cf42b834b1a173937ec26ad80be5f",
40
+ "size_bytes": 5061573,
41
41
  "urls": [
42
- "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.1/crannia-tui-1.1.1-code.zip",
43
- "https://github.com/hfyjq/Crannia/releases/download/v1.1.1/crannia-tui-1.1.1-code.zip"
42
+ "https://gitcode.com/KanocRain/crannia-release/releases/download/v1.1.2/crannia-tui-1.1.2-code.zip",
43
+ "https://github.com/hfyjq/Crannia/releases/download/v1.1.2/crannia-tui-1.1.2-code.zip"
44
44
  ]
45
45
  }
46
46
  }
@@ -25,7 +25,6 @@
25
25
  "%s 字符": "%s chars",
26
26
  "未知错误": "Unknown error",
27
27
  "正在初始化…": "Starting…",
28
- "我可以怎么帮助您?": "How can I help you?",
29
28
  "后端未就绪,输入不会生效": "Backend not ready — input is ignored",
30
29
  "步骤流已断开,正在重连...": "Step stream disconnected, reconnecting…",
31
30
  "提交审批失败:%s": "Could not submit the approval: %s",
@@ -259,5 +258,6 @@
259
258
  "[warn] 技能配置:检查失败(%s)—— 跳过": "[warn] Skill config: check failed (%s) — skipped",
260
259
  "提示:这个窗口用不了 ANSI,颜色退到 16 色、底部实时区关掉(功能都在)。": "Note: this window cannot render ANSI. Colors fall back to 16, and the live area at the bottom is disabled (everything still works).",
261
260
  "想恢复:换 Windows Terminal 跑,或设 CRANNIA_TUI_ANSI=1 强制开启。": "To restore them, run in Windows Terminal, or set CRANNIA_TUI_ANSI=1.",
262
- "无法确定会话(/api/status 没有 session),不再订阅全部会话;请改用交互界面。": "Could not determine the session (/api/status returned no session); refusing to subscribe to all sessions. Use the interactive UI instead."
261
+ "无法确定会话(/api/status 没有 session),不再订阅全部会话;请改用交互界面。": "Could not determine the session (/api/status returned no session); refusing to subscribe to all sessions. Use the interactive UI instead.",
262
+ "转后台失败": "Could not move it to the background"
263
263
  }
package/web/server.py CHANGED
@@ -1012,7 +1012,7 @@ def api_skill_uninstall():
1012
1012
 
1013
1013
  · 目录内(`source == "repo"` 且不是框架自带)-> 挪到系统回收站(可恢复)
1014
1014
  · 外部来源 -> 不卸,回一句
1015
- 「这是外部应用的组件,暂不提供卸载。路径 __」
1015
+ 「外部应用的组件,暂不提供卸载。路径 __」
1016
1016
 
1017
1017
  [!] 路径只从扫描结果取(`_scan_skills()`),请求里那个 `name` 只当键——
1018
1018
  用户传 `../core` 之类在这里查不到 -> 404 -> 构造不出路径。
@@ -1042,10 +1042,10 @@ def api_skill_uninstall():
1042
1042
  return jsonify({"ok": False, "error": tr("没有这个技能:%r") % name}), 404
1043
1043
  if target.get("source") != "repo":
1044
1044
  return jsonify({"ok": False, "external": True, "path": target.get("path", ""),
1045
- "error": tr("这是外部应用的组件,暂不提供卸载。路径 %s")
1045
+ "error": tr("外部应用的组件,暂不提供卸载。路径 %s")
1046
1046
  % (target.get("path") or "(未提供)")}), 400
1047
1047
  if target.get("builtin"):
1048
- return jsonify({"ok": False, "error": tr("这是框架自带的技能,暂不提供卸载")}), 400
1048
+ return jsonify({"ok": False, "error": tr("框架自带的技能,暂不提供卸载")}), 400
1049
1049
 
1050
1050
  skill_dir = Path(target["path"])
1051
1051
  try:
@@ -1204,7 +1204,7 @@ def api_skill_install():
1204
1204
  return jsonify({"ok": False, "error": tr("不是一个目录")}), 400
1205
1205
  if not ((src / "SKILL.md").is_file() or (src / "manifest.yaml").is_file()):
1206
1206
  return jsonify({"ok": False,
1207
- "error": tr("这个目录里既没有 SKILL.md 也没有 manifest.yaml")}), 400
1207
+ "error": tr("此目录里无法找到 SKILL.md 或 manifest.yaml")}), 400
1208
1208
 
1209
1209
  name = src.name
1210
1210
  if not name or name.startswith((".", "_", "$")):
@@ -2103,7 +2103,7 @@ def api_model_configs_test():
2103
2103
  base_url = _PROTOCOL_DEFAULT_BASE.get(provider_dir, "")
2104
2104
  if not base_url:
2105
2105
  return jsonify({"ok": False, "window": None,
2106
- "error": tr("这条配置未填请求地址,服务商也没有提供默认地址,请填写地址。")}), 400
2106
+ "error": tr("此配置未填请求地址,服务商也没有提供默认地址,请填写地址。")}), 400
2107
2107
 
2108
2108
  from urllib.parse import urlsplit
2109
2109
  scheme = (urlsplit(base_url).scheme or "").lower()
@@ -3344,7 +3344,7 @@ def _stop_channel(channel_id: str, *, wait_s: float = 5.0,
3344
3344
 
3345
3345
  _log(f"[channel] {channel_id} 停不下来(线程没有退出)—— 需要重启应用")
3346
3346
  return {"ok": False, "status": "stuck", "channel_id": channel_id,
3347
- "error": tr("这条通道的线程没有退出,停不下来;请重启应用。")}
3347
+ "error": tr("此通道没有成功停止;请尝试重启应用。")}
3348
3348
 
3349
3349
 
3350
3350
  @app.route("/api/channel/stop", methods=["POST"])
@@ -3411,7 +3411,7 @@ def api_channel_entry_create():
3411
3411
  data = request.get_json() or {}
3412
3412
  platform = _channel_platform(data.get("channel_id", ""))
3413
3413
  if platform not in _cc.PLATFORMS:
3414
- return jsonify({"error": "这个通道没有凭据表单"}), 400
3414
+ return jsonify({"error": "此通道没有凭据表单"}), 400
3415
3415
  try:
3416
3416
  row = _cc.create(platform, data.get("name", ""), data.get("fields") or {})
3417
3417
  except _cc.ChannelConfigError as exc:
@@ -4057,8 +4057,8 @@ def api_chat():
4057
4057
  # (那是逐张、逐轮的判据,在下游);它管的是"在解析之前就拒绝"。
4058
4058
  # 给的是一个余量很大的数:4 张 4 MB 的图 ≈ 21 MB body。
4059
4059
  if (request.content_length or 0) > _CHAT_BODY_MAX_BYTES:
4060
- return jsonify({"error": "这一轮的图片太大了(请求体 %d 字节,上限 %d)—— "
4061
- "请少发几张,或先把图裁小。"
4060
+ return jsonify({"error": "本轮的图片过大(请求体 %d 字节,上限 %d)"
4061
+ "—— 请尝试裁切图片或分次发送"
4062
4062
  % (request.content_length, _CHAT_BODY_MAX_BYTES)}), 413
4063
4063
 
4064
4064
  data = request.get_json() or {}
@@ -4332,12 +4332,12 @@ def api_approval_post():
4332
4332
  verdict, why = _ca.answer(_key, request_id, choice)
4333
4333
  if verdict != REPLY_OK:
4334
4334
  return jsonify({"ok": False, "reason": REPLY_STALE,
4335
- "error": why or tr("这条已经回答过了,不用再点。")}), 409
4335
+ "error": why or tr("此条目已经完成")}), 409
4336
4336
  return jsonify({"ok": True, "reply": "", "sent": choice})
4337
4337
  if not cur:
4338
4338
  # 已经没有待审批了 —— 多半是双击的第二下,或者已经在别处答过
4339
4339
  return jsonify({"ok": False, "reason": REPLY_STALE,
4340
- "error": tr("这条已经回答过了(或正在处理),不用再点。")}), 409
4340
+ "error": tr("此条目已经完成或正在被处理")}), 409
4341
4341
 
4342
4342
  verdict, payload_text = reply_decision(
4343
4343
  request_id=request_id,
@@ -4354,7 +4354,7 @@ def api_approval_post():
4354
4354
  return jsonify({
4355
4355
  "ok": False, "reason": verdict,
4356
4356
  #: 说人话:界面上弹的是 `error`,而 `409` 本身对用户没有信息量。
4357
- "error": ("这条已经回答过了,不用再点。" if verdict == REPLY_STALE
4357
+ "error": ("此条目已经完成" if verdict == REPLY_STALE
4358
4358
  else "这个选项不在这次给出的选项里。"),
4359
4359
  }), 409
4360
4360
 
@@ -4367,7 +4367,7 @@ def api_approval_post():
4367
4367
  _key = session_key_for(_web_session(group))
4368
4368
  if not _claim_approval(_key):
4369
4369
  return jsonify({"ok": False, "reason": REPLY_STALE,
4370
- "error": tr("这条已经回答过了(或正在处理),不用再点。")}), 409
4370
+ "error": tr("此条目已经完成或正在被处理")}), 409
4371
4371
  try:
4372
4372
  reply = _run_chat_turn(payload_text, group=group)
4373
4373
  except Exception as e:
@@ -5281,7 +5281,7 @@ def api_reveal():
5281
5281
  #: 顺便把"试过哪儿"说一句,那是唯一能让他自己纠的地方。
5282
5282
  tried = "、".join(str(c) for c in cands[:3])
5283
5283
  return jsonify({"ok": False,
5284
- "error": tr("这个路径不存在:%s(找过:%s)") % (raw, tried)}), 404
5284
+ "error": tr("此路径不存在:%s(找过:%s)") % (raw, tried)}), 404
5285
5285
 
5286
5286
  try:
5287
5287
  if os.name == "nt":