cc-zh-watcher 0.3.1 → 0.3.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/README.md CHANGED
@@ -200,7 +200,7 @@ Claude 用英文流式回复时,watcher 同步翻译并显示中文,**同时
200
200
  | `notify_on_complete` | **on** | Claude 一个 turn 结束(`stop_reason=end_turn`)**且** en→zh 翻译队列耗尽时响一次终端 bell(`\x07`)。中间 tool 调用或 thinking 不响 |
201
201
  | `translate_thinking` | off | 译 Claude 的 thinking 块(Opus 4.7 多为 redacted;空块自动跳过)|
202
202
  | `translate_todos` | **on** | 译 TodoWrite 计划项(按当前状态自动选 `content` 或 `activeForm`)|
203
- | `translate_agent` | **on** | 译 Agent/Task 子代理派遣(description + prompt)|
203
+ | `translate_agent` | off | 译 Agent/Task 子代理派遣(description + prompt)。默认 **off** —— Agent 派遣的 prompt 经常多段、译成中文有上百行,但 Claude Code 自身 UI 也不显示,所以 watcher 默认也跟着隐藏。需要审查派给子代理的 prompt 时再开 |
204
204
  | `context_enabled` | **on** | zh→en 翻译时用 Claude 上一条 text 作消歧 context |
205
205
  | `show_tool_calls` | session-aware ¹ | 显示原始 tool 调用 + 结果(Bash/Read/Edit 等,CC 同款样式)|
206
206
 
@@ -401,7 +401,7 @@ cc-zh-watcher prompts show zh-to-en --base
401
401
  "notify_on_complete": true, // 默认 true
402
402
  "translate_thinking": false, // 默认 false
403
403
  "translate_todos": true, // 默认 true
404
- "translate_agent": true, // 默认 true
404
+ "translate_agent": true, // 默认 false(agent prompt 太长,开关在 settings 面板)
405
405
  "context_enabled": true, // 默认 true
406
406
  "show_tool_calls": true, // 默认 session-aware:CLI on, 桌面应用 off
407
407
 
package/dist/cli.js CHANGED
@@ -44792,7 +44792,7 @@ var DEFAULT_TIMEOUT = 30;
44792
44792
  var DEFAULT_NOTIFY_ON_COMPLETE = true;
44793
44793
  var DEFAULT_TRANSLATE_THINKING = false;
44794
44794
  var DEFAULT_TRANSLATE_TODOS = true;
44795
- var DEFAULT_TRANSLATE_AGENT = true;
44795
+ var DEFAULT_TRANSLATE_AGENT = false;
44796
44796
  var DEFAULT_CONTEXT_ENABLED = true;
44797
44797
  var DEFAULT_SHOW_TOOL_CALLS = true;
44798
44798
  function readJsonIfExists(path) {
@@ -48573,7 +48573,7 @@ function patchTodoField(payload, i, which, zh) {
48573
48573
  // package.json
48574
48574
  var package_default = {
48575
48575
  name: "cc-zh-watcher",
48576
- version: "0.3.1",
48576
+ version: "0.3.2",
48577
48577
  description: "Side-channel Chinese ↔ English bridge for Claude Code (single-watcher TUI). Type Chinese, Claude sees English; Claude replies in English, you see Chinese.",
48578
48578
  type: "module",
48579
48579
  bin: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-zh-watcher",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Side-channel Chinese ↔ English bridge for Claude Code (single-watcher TUI). Type Chinese, Claude sees English; Claude replies in English, you see Chinese.",
5
5
  "type": "module",
6
6
  "bin": {