@mzzsfy/dsh-rs-workflow 1.0.1 → 1.1.0

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.
@@ -1,15 +1,4 @@
1
- # The `rs-workflow` agent preset: 若水工作流(v5,主循环协作编排)。
2
- #
3
- # 本文件是释放骨架源:release 生成器把它作为唯一源生成 rs-<id> 模式组合
4
- # (运行时仅改写 orchestrator 行的 templateId 锚定),不在包内被宿主装载。
5
- #
6
- # 基底是 `standard` 全功能编码代理行集,差异:
7
- # 1. persona 换成流程模式纪律 v5(人机接口+受约束规划者,任务交付由编排子代理承担);
8
- # 2. delegation 组内 rs-workflow-orchestrator 工具行与 template-tool 行;
9
- # 3. 无 report 行(trace 事件 + run-store 取代);plan-mode 组移除(规划在编排内)。
10
-
11
- # ── identity ────────────────────────────────────────────────────────────────
12
-
1
+ # 由 lib/skeleton.mjs emitRows 规范化生成,勿手改;漂移对拍见 test/skeleton.test.mjs。
13
2
  - id: persona
14
3
  name: '@deepseek-ai/dsh-persona'
15
4
  config:
@@ -33,60 +22,35 @@
33
22
  5. 引擎不可用或编排启动失败时,不得自行完成文件类请求——向用户说明故障与已尝试的调用,
34
23
  等待用户处置;文件交付只有 rs_workflow_ 通道,没有自行兜底。
35
24
  suffix: Your working directory is {{cwd}}.
36
-
37
25
  - id: agent-instructions
38
26
  name: '@deepseek-ai/dsh-agent-instructions'
39
27
  config:
40
28
  maxBytes: 65536
41
-
42
- # ── shell ───────────────────────────────────────────────────────────────────
43
-
44
- # 注:不可禁本组合 shell/fs 工具行——宿主 workflow worker 的段子代理继承组合行集,
45
- # 禁行使段子代理无法落盘交付物(实测证实)。主循环不写文件由 persona 判据约束,
46
- # 物理隔离需宿主提供 worker 行集覆写能力(外部依赖)。
47
-
48
29
  - id: tool-bash
49
30
  name: '@deepseek-ai/dsh-tool-bash'
50
31
  disabled: !!js process.platform === 'win32'
51
-
52
32
  - id: tool-pwsh
53
33
  name: '@deepseek-ai/dsh-tool-pwsh'
54
34
  disabled: !!js process.platform !== 'win32'
55
-
56
- # ── filesystem ──────────────────────────────────────────────────────────────
57
-
58
35
  - id: tool-fs
59
36
  name: '@deepseek-ai/dsh-tool-fs'
60
-
61
37
  - id: tool-fs-search
62
38
  name: '@deepseek-ai/dsh-tool-fs-search'
63
39
  config:
64
40
  sampleOverCapGlobResults: false
65
-
66
- # ── background jobs ────────────────────────────────────────────────────────
67
-
68
41
  - id: tool-jobs
69
42
  name: '@deepseek-ai/dsh-tool-jobs'
70
-
71
- # ── skills ──────────────────────────────────────────────────────────────────
72
-
43
+ config:
44
+ maxConsecutiveWakes: 64
73
45
  - id: skill-filesystem
74
46
  name: '@deepseek-ai/dsh-skill-filesystem'
75
-
76
47
  - id: tool-skill
77
48
  name: '@deepseek-ai/dsh-tool-skill'
78
-
79
- # ── web ─────────────────────────────────────────────────────────────────────
80
-
81
49
  - id: tool-web
82
50
  name: '@deepseek-ai/dsh-tool-web'
83
51
  config:
84
52
  fetch: false
85
53
  searchTimeoutMs: 60000
86
-
87
- # ── compaction ──────────────────────────────────────────────────────────────
88
-
89
- # 编排子代理上下文较长,保留 standard 的压缩组。
90
54
  - id: compaction
91
55
  name: cordis:group
92
56
  group: true
@@ -96,23 +60,14 @@
96
60
  config:
97
61
  - id: compaction-basic
98
62
  name: '@deepseek-ai/dsh-compaction-basic'
99
-
100
63
  - id: command-compact
101
64
  name: '@deepseek-ai/dsh-command-compact'
102
-
103
65
  - id: tool-result-pruner
104
66
  name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
105
67
  config:
106
68
  thresholdChars: 8192
107
69
  headChars: 4096
108
70
  tailChars: 1024
109
-
110
- # ── delegation and workflows ────────────────────────────────────────────────
111
-
112
- # workflowEngine 是预设私有服务(preset 组合发布全局服务会被宿主拒绝 mount),
113
- # 所有触达它的行共享一个 entry-local isolate realm。
114
- # orchestrator 行注册 rs_workflow_* 六工具(含裁决回写 rs_workflow_verdict)并经 jobs 服务拉起分段 continuable job;
115
- # 控制队列与 store 为普通模块单例,host/agent 行经同一 realpath 解析共享实例。
116
71
  - id: delegation
117
72
  name: cordis:group
118
73
  group: true
@@ -121,56 +76,42 @@
121
76
  config:
122
77
  - id: tool-subagent-control
123
78
  name: '@deepseek-ai/dsh-tool-subagent-control'
124
-
125
79
  - id: tool-subagent-list-agents
126
80
  name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
127
-
128
81
  - id: tool-subagent
129
82
  name: '@deepseek-ai/dsh-tool-subagent'
130
83
  config:
131
84
  provider: spawn
132
85
  toolName: subagent
133
86
  backgroundMode: continuable
134
-
135
87
  - id: tool-subagent-fork
136
88
  name: '@deepseek-ai/dsh-tool-subagent'
137
89
  config:
138
90
  provider: fork
139
91
  toolName: subagent_fork
140
92
  backgroundMode: continuable
141
-
142
- - id: workflow-worker-thread
143
- name: '@deepseek-ai/dsh-workflow-worker-thread'
93
+ - id: workflow-ptc
94
+ name: '@deepseek-ai/dsh-workflow-ptc'
144
95
  config:
145
96
  provider: spawn
146
-
147
97
  - id: tool-workflow
148
98
  name: '@deepseek-ai/dsh-tool-workflow'
149
-
150
99
  - id: tool-ralph
151
100
  name: '@deepseek-ai/dsh-tool-ralph'
152
101
  config:
153
102
  subagentProvider: spawn
154
103
  maxRounds: 64
155
-
156
- # orchestrator 工具行:模板 id 由组合名承载(rs-<id> → <id>),释放生成器按组合名写入
157
104
  - id: rs-workflow-orchestrator
158
105
  name: '@mzzsfy/dsh-rs-workflow'
159
106
  config:
160
107
  role: orchestrator
161
108
  templateId: TPL_ANCHOR
162
-
163
- # 模板编辑工具行:rs_workflow_template(AI 按口述逻辑生成/修改流程模板)
164
109
  - id: rs-workflow-template-tool
165
110
  name: '@mzzsfy/dsh-rs-workflow'
166
111
  config:
167
112
  role: template-tool
168
-
169
- # ── remaining model-facing rows ─────────────────────────────────────────────
170
-
171
113
  - id: tool-ask-user
172
114
  name: '@deepseek-ai/dsh-tool-ask-user'
173
-
174
115
  - id: tool-todo
175
116
  name: '@deepseek-ai/dsh-tool-todo'
176
117
  config:
package/src/client.js CHANGED
@@ -1260,7 +1260,6 @@ window.__ModuleLoader__.load({
1260
1260
  unsubscribe()
1261
1261
  if (timer) clearInterval(timer)
1262
1262
  if (disposeView) disposeView()
1263
- if (disposeChip) disposeChip()
1264
1263
  }
1265
1264
  }, 'rs-workflow: session-aware flow view')
1266
1265
  },