@anytowork/cli 0.12.70 → 0.12.71
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/package.json +1 -1
- package/src/wb-rules-text.js +4 -4
package/package.json
CHANGED
package/src/wb-rules-text.js
CHANGED
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
// (agent-setup); the platform's copy (app/wb/rules_text.py, WB_RULES_REV) is the reference.
|
|
6
6
|
import { pickLang } from "./model-pledge.js";
|
|
7
7
|
|
|
8
|
-
// rev history: 9 -> 10 (2026-11-28): the full text states what the chat renders (bold, headings, ordered / bullet
|
|
8
|
+
// rev history: 10 -> 11 (2026-11-29): step 4 asks for what changed, how the owner can check it, and what comes next; 9 -> 10 (2026-11-28): the full text states what the chat renders (bold, headings, ordered / bullet
|
|
9
9
|
// lists, inline code, code blocks; a table shows row by row) and that very long content goes as a file;
|
|
10
10
|
// 9 -> 10 (2026-11-29): step 3 also asks for a plan first (anytowork chat plan, 3 to 8 steps); the progress line
|
|
11
11
|
// stays. The platform copy (app/wb/rules_text.py) is the reference; 7 and 9 had drifted apart from it, both are 10 now.
|
|
12
|
-
export const WB_RULES_REV =
|
|
12
|
+
export const WB_RULES_REV = 11;
|
|
13
13
|
|
|
14
14
|
export const WB_RULES_TEXT = {
|
|
15
15
|
"wb.rules.full": {
|
|
16
|
-
zh: "主人在工作台等你的回话,照这几步做:\n1. 先读消息:anytowork chat read {sid}\n2. 马上回一句收到和打算:anytowork chat send {sid} \"……\" --wip(还要接着做就带 --wip)\n3. 三步以上的活,开工前先把计划说给主人看:anytowork chat plan {sid} \"第一步|第二步|第三步\"(3 到 8 步);做完一步用 --done,同时做几步就把那几步都标 --doing。计划变了就重发一份,不用另开。做的过程中隔一会儿说进展:anytowork chat progress {sid} \"……\"(不说,主人以为你没收到)。\n4. 做完交成果:anytowork chat result {sid}
|
|
17
|
-
en: "Your owner is waiting for your reply in the workbench. Do this:\n1. Read the message: anytowork chat read {sid}\n2. Reply at once with what you plan to do: anytowork chat send {sid} \"...\" --wip (keep --wip while you are still working)\n3. For a job with three or more steps, show your plan first: anytowork chat plan {sid} \"one|two|three\" (3 to 8 steps); tick a step with --done, and mark steps you run in parallel with --doing. If the plan changes, send it again. Now and then say a line of progress: anytowork chat progress {sid} \"...\". (without it, your owner thinks you never got it).\n4. When done, hand in the result: anytowork chat result {sid}\nOnce you read a message, act: reply, --wip or progress. If you only read, the platform will call you again. Every round must end with a formal reply or a result (without --wip); a round answered only with --wip counts as no answer. When your owner asks you something, answer with a reply in the chat (chat send); your owner cannot see progress, so it does not count as an answer.\nIf a command says there are N new messages, your owner has said more: you must run chat read first, then decide whether to carry on or change course. Do not wait until your current step is done. The same goes for a supplement or a progress question on an order. The chat renders bold, headings, ordered / bullet lists, inline code and code blocks; a table shows row by row in the bubble; send very long content as a file.",
|
|
16
|
+
zh: "主人在工作台等你的回话,照这几步做:\n1. 先读消息:anytowork chat read {sid}\n2. 马上回一句收到和打算:anytowork chat send {sid} \"……\" --wip(还要接着做就带 --wip)\n3. 三步以上的活,开工前先把计划说给主人看:anytowork chat plan {sid} \"第一步|第二步|第三步\"(3 到 8 步);做完一步用 --done,同时做几步就把那几步都标 --doing。计划变了就重发一份,不用另开。做的过程中隔一会儿说进展:anytowork chat progress {sid} \"……\"(不说,主人以为你没收到)。\n4. 做完交成果:anytowork chat result {sid},说清改了哪些文件、主人怎么验收、下一步做什么\n读了消息就要有动作:回复、--wip 或 progress 三选一,只读不动平台会再叫你。每一轮必须以一条正式回复或成果(不带 --wip)收尾,只发 --wip 算没有回应。主人问你的问题,必须用聊天里的回复(chat send)回答;progress 主人看不到,不算回答。\n命令返回提示「另有 N 条新消息」,是主人又说话了:必须先 chat read 读完,再决定继续还是改方向,不要等手头这步做完。订单的补充需求或追问进度同理。聊天支持加粗、标题、有序/无序列表、行内代码和代码块,表格在气泡里按行显示;内容很长就先落成文件再发。",
|
|
17
|
+
en: "Your owner is waiting for your reply in the workbench. Do this:\n1. Read the message: anytowork chat read {sid}\n2. Reply at once with what you plan to do: anytowork chat send {sid} \"...\" --wip (keep --wip while you are still working)\n3. For a job with three or more steps, show your plan first: anytowork chat plan {sid} \"one|two|three\" (3 to 8 steps); tick a step with --done, and mark steps you run in parallel with --doing. If the plan changes, send it again. Now and then say a line of progress: anytowork chat progress {sid} \"...\". (without it, your owner thinks you never got it).\n4. When done, hand in the result: anytowork chat result {sid} — say which files changed, how your owner can check it, and what comes next\nOnce you read a message, act: reply, --wip or progress. If you only read, the platform will call you again. Every round must end with a formal reply or a result (without --wip); a round answered only with --wip counts as no answer. When your owner asks you something, answer with a reply in the chat (chat send); your owner cannot see progress, so it does not count as an answer.\nIf a command says there are N new messages, your owner has said more: you must run chat read first, then decide whether to carry on or change course. Do not wait until your current step is done. The same goes for a supplement or a progress question on an order. The chat renders bold, headings, ordered / bullet lists, inline code and code blocks; a table shows row by row in the bubble; send very long content as a file.",
|
|
18
18
|
},
|
|
19
19
|
"wb.rules.short": {
|
|
20
20
|
zh: "主人在等你:先读消息,先回一句收到,边做边说一两句,做完交成果。",
|