diff options
| author | haoyuren <13851610112@163.com> | 2026-03-31 20:49:17 -0500 |
|---|---|---|
| committer | haoyuren <13851610112@163.com> | 2026-03-31 20:49:17 -0500 |
| commit | 592db07d2f6cf6710bc19a48e629fa99c882393b (patch) | |
| tree | 6d03123ab08566d92d4cc6484df82b2d0ef14d56 | |
| parent | 816e289954f03ed56dfc6d35647e9626afc3d235 (diff) | |
All user-facing strings to English
| -rw-r--r-- | CLAUDE.md | 2 | ||||
| -rwxr-xr-x | check_tasks.py | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -18,7 +18,7 @@ If background tasks are running (e.g., experiments), let them continue, but you ## Replying to Messages -- `[Bridge btw 请用reply_to_dispatcher回复]` → **must reply using `reply_to_dispatcher`** +- `[Bridge btw reply with reply_to_dispatcher]` → **must reply using `reply_to_dispatcher`** - `[from Slack ... reply with reply_to_slack]` → **must reply using `reply_to_slack`** - Direct text output is invisible to dispatch/Slack — only tool calls deliver messages - Use `get_slack_channel_history` if you need context from previous Slack conversation diff --git a/check_tasks.py b/check_tasks.py index c1377b3..ffb26c2 100755 --- a/check_tasks.py +++ b/check_tasks.py @@ -89,7 +89,7 @@ try: # Hook 被触发了 = Claude 在活跃状态,可以消费 messages for m in messages: - output_lines.append(f"[Bridge btw 请用reply_to_dispatcher回复] {m['content']}") + output_lines.append(f"[Bridge btw — reply with reply_to_dispatcher] {m['content']}") consume_task(m["id"]) if event == "Stop" and tasks: @@ -98,10 +98,10 @@ try: ) if output_lines: output_lines.append("") - output_lines.append(f"有 {len(tasks)} 个新任务等待执行:") + output_lines.append(f"{len(tasks)} new task(s) pending:") output_lines.append(task_list) output_lines.append("") - output_lines.append("请用 fetch_pending_tasks 获取完整信息,claim_task 领取并执行。") + output_lines.append("Use fetch_pending_tasks to view details, then claim_task to claim and execute.") output = { "decision": "block", "reason": "\n".join(output_lines), @@ -112,7 +112,7 @@ try: [f" - [{t['id']}] {t['content'][:120]}" for t in tasks] ) output_lines.append( - f"\n[Bridge 提示] 有 {len(tasks)} 个新任务,当前工作完成后请处理:\n{task_list}" + f"\n[Bridge] {len(tasks)} new task(s) pending. Handle after current work:\n{task_list}" ) print("\n".join(output_lines)) elif output_lines: |
