summaryrefslogtreecommitdiff
path: root/check_tasks.py
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-03-31 20:49:17 -0500
committerhaoyuren <13851610112@163.com>2026-03-31 20:49:17 -0500
commit592db07d2f6cf6710bc19a48e629fa99c882393b (patch)
tree6d03123ab08566d92d4cc6484df82b2d0ef14d56 /check_tasks.py
parent816e289954f03ed56dfc6d35647e9626afc3d235 (diff)
All user-facing strings to English
Diffstat (limited to 'check_tasks.py')
-rwxr-xr-xcheck_tasks.py8
1 files changed, 4 insertions, 4 deletions
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: