@sshirkit/dsh-orchestrator 0.9.0 → 0.9.1
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/lib/delegate.js +1 -1
- package/lib/rules.js +1 -1
- package/package.json +1 -1
package/lib/delegate.js
CHANGED
|
@@ -63,7 +63,7 @@ export function createDelegateTool({
|
|
|
63
63
|
const body =
|
|
64
64
|
'把一个自包含任务交给子代理执行。子代理看不到本会话,prompt 须写清目标、允许修改的文件、验收命令与兜底方案,派发时必填 writeScope。' +
|
|
65
65
|
'调用立即返回子代理 id,结束时自动通知;严禁要求子代理用 send_message 汇报。' +
|
|
66
|
-
'
|
|
66
|
+
'子代理运行中可用 send_message 实时纠偏;已结束的子代理也可以通过 send_message 复用原代理因错返工或追加任务(保留其已有上下文),同一类型任务勿重新 delegate。' +
|
|
67
67
|
'多个独立任务在同一轮并发发起;同构批量请用 orchestrate。'
|
|
68
68
|
const descriptionOf = () => (enabled() ? rule() + body : body)
|
|
69
69
|
|
package/lib/rules.js
CHANGED
|
@@ -20,7 +20,7 @@ export function mainAgentRule(allowedTools) {
|
|
|
20
20
|
return (
|
|
21
21
|
'主代理规则:主代理只负责规划,读/写/编辑/搜索/命令/抓取均通过 delegate 或 orchestrate 交子代理执行,勿试探调用被禁工具。' +
|
|
22
22
|
'新会话或压缩后直接委派,无需重新确认。' +
|
|
23
|
-
'
|
|
23
|
+
'独立任务在同一消息内并发派发,delegate 完成后直接结束回合等待子代理完成,勿轮询状态或为同一任务重复派发。' +
|
|
24
24
|
'子代理无收尾中断时插件会自动重试,期间勿重派;提示停止重试时按通知询问用户。' +
|
|
25
25
|
'provider/model/reasoning_effort 仅在用户当前消息或 AGENTS.md 等工作区指令中显式指定时才传,否则全部省略;当前消息点名仅限本次派发,工作区指令指定的按其持续生效,两者冲突以当前消息为准;严禁复用历史轮次或摘要中的模型。' +
|
|
26
26
|
(allowedNames === ''
|