cli-swarm 7.0.29 → 7.0.31
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/skill/SKILL.md +1 -1
- package/skill/references/autocoord.md +1 -1
- package/skill/skill.json +1 -1
- package/swarm-coordinator.mjs +1 -1
- package/swarm-runtime.mjs +1 -1
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
- 事件到达:5 秒目标窗口内路由唤醒包,内容含事件与重取清单。
|
|
28
28
|
- 对方失败或被回收:立即以 `dependency-terminated` 唤醒,不等超时。
|
|
29
|
-
- 超时:按声明处置;`escalate-need-human`
|
|
29
|
+
- 超时:按声明处置;`escalate-need-human` 和连续第二次超时返回 `status=blocked`、高风险 Confirm Protocol 请求与 `nextStep=confirm-protocol`。宿主必须先调用该请求并等待人类答案,不能把请求对象当作已确认。
|
|
30
30
|
- 成环:登记时或 `tick` 检出后立即打断全部相关等待,并生成真人裁决请求。
|
|
31
31
|
- 未登记等待:`task-status=waiting` 返回 `undeclaredWait=true` 和补登提示。
|
|
32
32
|
|
package/skill/skill.json
CHANGED
package/swarm-coordinator.mjs
CHANGED
|
@@ -139,7 +139,7 @@ function createDecision(state, kind, agents, waitIds, question, riskDescription,
|
|
|
139
139
|
}
|
|
140
140
|
state.decisions.push(decision)
|
|
141
141
|
addMessage(state, 'need-human', 'coordinator', 'human', { decisionId: decision.decisionId, kind, agents, waitIds }, now)
|
|
142
|
-
return { decision, confirmProtocolRequest: confirmationRequest(decision) }
|
|
142
|
+
return { decision, status: 'blocked', confirmationRequired: true, confirmProtocolRequest: confirmationRequest(decision), nextStep: { operation: 'confirm-protocol', instruction: 'Invoke Confirm Protocol and wait for the human answer.' } }
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
async function registerTask(repositoryRoot, input) {
|
package/swarm-runtime.mjs
CHANGED
|
@@ -7,7 +7,7 @@ const ORG_SCHEMA = "swarm.org-chart/1.0";
|
|
|
7
7
|
const TASK_SCHEMA = "swarm.tasks/1.0";
|
|
8
8
|
const TEST_EVIDENCE_SCHEMA = "cli.tax.test-evidence/1.0";
|
|
9
9
|
const COMPILER_NAME = "swarm";
|
|
10
|
-
const COMPILER_VERSION = "v7.0.
|
|
10
|
+
const COMPILER_VERSION = "v7.0.31";
|
|
11
11
|
const SHA256_PATTERN = /^[0-9a-f]{64}$/;
|
|
12
12
|
const PURE_OPERATIONS = new Set([
|
|
13
13
|
"capabilities", "help", "intake", "org-chart", "blueprint-bridge", "dispatch", "claim",
|