dsh-vibe-math 2.0.21 → 2.0.22
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/LICENSE +21 -21
- package/README.md +5 -4
- package/RELEASE-NOTES-2.0.22.md +112 -0
- package/cordis.patch.yml +9 -9
- package/installer.js +304 -290
- package/package.json +10 -4
- package/vibe-math-v2/agent.cordis.yml +256 -212
- package/vibe-math-v2/preset.yml +2 -2
- package/vibe-math-v2/vibe-math-v2.js +243 -36
- package/vibe-math-v3/agent.cordis.yml +278 -226
- package/vibe-math-v3/preset.yml +2 -2
- package/vibe-math-v3/vibe-math-v3.js +2938 -2631
- package/vibe-math-v3//345/256/236/347/216/260/346/226/271/346/241/210.md +540 -540
- package/vibe-math-v4/agent.cordis.yml +300 -239
- package/vibe-math-v4/preset.yml +2 -2
- package/vibe-math-v4/vibe-math-v4.js +1275 -1111
- package/vibe-math-v4//345/256/236/347/216/260/346/226/271/346/241/210.md +647 -636
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-vibe-math",
|
|
3
3
|
"description": "Multi-agent mathematical problem-solving & verification frameworks for DeepSeek Harness — THREE agent presets in one install: vibe-math-v2 (probability-driven: qs.json + Propos knowledge base + explorer→solver→review/debate verdict), vibe-math-v3 (THIRD-generation, recommended: paper-style Markdown knowledge base with Problems/Progress/Propos/Methods/Verified + planner-agent scheduling that decides the next N actions + universal theory/method invention library + agents write their own Markdown directly via a per-file write lock), and vibe-math-v4 (FOURTH-generation: persistent self-organizing resident subagents that message & meet to decide all tasks, verify only by unanimous consensus, /compact at a context threshold, and stop only when all agree the problem is solved). Installing this bundle auto-installs all three presets (v1 was removed at v2.0.0).",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.22",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": "^22.19.0 || >=24.0.0"
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"installer.js",
|
|
17
17
|
"cordis.patch.yml",
|
|
18
|
+
"RELEASE-NOTES-2.0.22.md",
|
|
18
19
|
"vibe-math-v2/agent.cordis.yml",
|
|
19
20
|
"vibe-math-v2/preset.yml",
|
|
20
21
|
"vibe-math-v2/vibe-math-v2.js",
|
|
@@ -56,13 +57,18 @@
|
|
|
56
57
|
"patch": "./cordis.patch.yml"
|
|
57
58
|
},
|
|
58
59
|
"minVersion": "0.1.2-rc.1",
|
|
59
|
-
"testedVersion": "0.1.
|
|
60
|
-
"compatNote": "依赖宿主提供的 subagents/agents/tools/commands/fs 服务与 @deepseek-ai/dsh-*
|
|
60
|
+
"testedVersion": "0.1.5-rc.2",
|
|
61
|
+
"compatNote": "依赖宿主提供的 subagents/agents/tools/commands/fs 服务与 @deepseek-ai/dsh-* 插件行;可选 subprocess/sandboxPolicy/compaction。persona 行同时携带 prefix 与 text 两个键,以兼容 0.1.3-alpha.2 的 schema 更名(prefix 必填)与 0.1.2 及更早的 text 键。已在 dsh-v0.1.5-rc.2(@deepseek-ai/dsh-persona 0.1.5-rc.2)上逐行校验全部预设行并通过(v2/v3/v4;v1 已于 v2.0.0 移除)。注意:DSH 0.1.2 起 subagents.startContinuable 的 agentOptions/toolFilter 需要宿主 provider 声明对应 capability(spawn/fork 进程内 provider 均支持),安装器启动时会做能力自检并在旧版宿主上告警。2026 兼容性修复:v2/v3 工具权限名表原先硬编码 web/fetch/bash(未注册名会使 tools.restrict() 抛错、子代理无法建立),现按真实注册名并加带守卫的重试;v4 真实 /compact 原先在 subagent/end 里查 agents.get()(该事件触发时子代理已移出注册表,属死代码),现改为在 subagent/start 捕获 Agent 引用;三套预设的可选服务改为惰性读取,不再在 apply() 快照;v4 的 tools/commands 注册补入 ctx.effect;安装器自检新增 subprocess/sandboxPolicy/compaction。",
|
|
61
62
|
"compatibility": {
|
|
62
63
|
"dshReleases": {
|
|
63
64
|
"0.1.2-alpha.4": "compatible",
|
|
64
65
|
"0.1.2-alpha.5": "compatible",
|
|
65
|
-
"0.1.2-rc.1": "compatible"
|
|
66
|
+
"0.1.2-rc.1": "compatible",
|
|
67
|
+
"0.1.3-alpha.2": "compatible",
|
|
68
|
+
"0.1.5-alpha.1": "compatible",
|
|
69
|
+
"0.1.5-alpha.2": "compatible",
|
|
70
|
+
"0.1.5-rc.1": "compatible",
|
|
71
|
+
"0.1.5-rc.2": "compatible"
|
|
66
72
|
}
|
|
67
73
|
}
|
|
68
74
|
}
|
|
@@ -1,212 +1,256 @@
|
|
|
1
|
-
# The `vibe-math-v2` agent preset: the full coding agent (`standard`), plus the
|
|
2
|
-
# NEW-architecture multi-agent mathematical problem-solving & verification
|
|
3
|
-
# framework (see 新架构-vibe-math-实现方案.md).
|
|
4
|
-
#
|
|
5
|
-
# The vibe-math-v2 plugin row consumes the HOST subagents/agents/fs/tools/commands
|
|
6
|
-
# services and publishes nothing, so it needs no isolate realm.
|
|
7
|
-
|
|
8
|
-
# ── identity ────────────────────────────────────────────────────────────────
|
|
9
|
-
|
|
10
|
-
- id: persona
|
|
11
|
-
name: '@deepseek-ai/dsh-persona'
|
|
12
|
-
config:
|
|
13
|
-
|
|
14
|
-
You are a coding agent powered by the {{model}} model.
|
|
15
|
-
|
|
16
|
-
## Vibe Math V2 toolkit
|
|
17
|
-
|
|
18
|
-
This session includes the "Vibe Math V2" multi-agent mathematical problem-solving and
|
|
19
|
-
verification framework (NEW architecture). It is driven by a background scheduler (code),
|
|
20
|
-
NOT by the model: you only issue the control tools below and read status; the scheduler
|
|
21
|
-
programmatically runs explorer (direction setting) → per-direction solvers (agent_self_iteration)
|
|
22
|
-
→ multi-reviewer independent review → debate → verdict, and promotes/updates data itself.
|
|
23
|
-
|
|
24
|
-
- vibe_math_add_problem {id, description, priority} — add a problem to qs/qs.json.
|
|
25
|
-
- vibe_math_add_proposition {id, 概述, 布尔估计, 优先级, 价值/关键性} — add a proposition to Propos/.
|
|
26
|
-
- vibe_math_list_propositions — list the proposition knowledge base (summary index).
|
|
27
|
-
- vibe_math_start / vibe_math_resume — start / resume the scheduler (resume = continue after a checkpoint or restart).
|
|
28
|
-
- vibe_math_status / vibe_math_report — read scheduler status / full progress report (report also writes Progress_Logs/report.json).
|
|
29
|
-
- vibe_math_pause / vibe_math_abort — pause / abort (abort interrupts all children).
|
|
30
|
-
- vibe_math_set_mode {mode: manual|auto} — switch manual / auto control.
|
|
31
|
-
- vibe_math_set_params {...} — tune any parameter (see vibe_math_setup for the full schema; e.g. reportMode file|push|both, promoteValueThreshold, verdictMode flat|forced).
|
|
32
|
-
- vibe_math_setup / vibe_math_save_settings / vibe_math_template — guided configuration / persist defaults / generate template.
|
|
33
|
-
- vibe_math_new_project / vibe_math_set_project / vibe_math_list_projects — per-project folders.
|
|
34
|
-
- vibe_math_list_decisions / vibe_math_decide {id, action: approve|reject|override, verdict?} — resolve manual decisions.
|
|
35
|
-
- vibe_math_list_agents / vibe_math_message_agent / vibe_math_interrupt_agent — inspect / steer / interrupt subagents.
|
|
36
|
-
|
|
37
|
-
A /vibe slash command mirrors the main controls. Data lives under {{cwd}}/VibeMath/Projects/<project>/
|
|
38
|
-
(qs/qs.json, Propos/<分类>_Propos.json, Reliable/, Verified/, Verification_logs/, Progress_Logs/, VibeMath_State/)
|
|
39
|
-
and survives restarts via vibe_math_resume.
|
|
40
|
-
|
|
41
|
-
Key rules to remember when reporting: a problem is "solved" when one of its solutions reaches
|
|
42
|
-
正确概率 = 1; a proposition reaches 布尔估计 = 1/0 when a proof/refutation in its lists reaches
|
|
43
|
-
正确概率 = 1; Propos propositions with 价值/关键性 ≥ promoteValueThreshold auto-promote to qs.json.
|
|
44
|
-
When the user asks about progress, call vibe_math_report and summarize in plain language.
|
|
45
|
-
|
|
46
|
-
Configuration highlights (all tunable via vibe_math_set_params / the settings file):
|
|
47
|
-
`knowledgeContext` overrides the shared data-model explanation injected into every child prompt
|
|
48
|
-
(empty = built-in full version); `explorerPersona` / `solverPersona` / `verifierPersona` prepend
|
|
49
|
-
role instructions; `solverAllowNetwork` / `verifierAllowNetwork` / `solverAllowScripts` /
|
|
50
|
-
`verifierAllowScripts` toggle network / script tools (empty = inherit, true = allow, false = deny);
|
|
51
|
-
`directionsPerSolver` = how many directions each solver's prompt includes (1 = own direction only).
|
|
52
|
-
Data behaviors: an auto-promoted proposition becomes the problem "判断下述命题是否成立:<命题>"
|
|
53
|
-
with its proofs/refutations transferred into the solution list (verification results sync back to the
|
|
54
|
-
source proposition); a solver-reported sub-question q_sub registers THREE objects — the q_sub problem,
|
|
55
|
-
the temporary-assumption proposition p_{q-tmp}, and the problem "判断下述命题是否成立:p_{q-tmp}".
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- id
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
- id: tool-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
- id:
|
|
212
|
-
|
|
1
|
+
# The `vibe-math-v2` agent preset: the full coding agent (`standard`), plus the
|
|
2
|
+
# NEW-architecture multi-agent mathematical problem-solving & verification
|
|
3
|
+
# framework (see 新架构-vibe-math-实现方案.md).
|
|
4
|
+
#
|
|
5
|
+
# The vibe-math-v2 plugin row consumes the HOST subagents/agents/fs/tools/commands
|
|
6
|
+
# services and publishes nothing, so it needs no isolate realm.
|
|
7
|
+
|
|
8
|
+
# ── identity ────────────────────────────────────────────────────────────────
|
|
9
|
+
|
|
10
|
+
- id: persona
|
|
11
|
+
name: '@deepseek-ai/dsh-persona'
|
|
12
|
+
config:
|
|
13
|
+
prefix: |-
|
|
14
|
+
You are a coding agent powered by the {{model}} model.
|
|
15
|
+
|
|
16
|
+
## Vibe Math V2 toolkit
|
|
17
|
+
|
|
18
|
+
This session includes the "Vibe Math V2" multi-agent mathematical problem-solving and
|
|
19
|
+
verification framework (NEW architecture). It is driven by a background scheduler (code),
|
|
20
|
+
NOT by the model: you only issue the control tools below and read status; the scheduler
|
|
21
|
+
programmatically runs explorer (direction setting) → per-direction solvers (agent_self_iteration)
|
|
22
|
+
→ multi-reviewer independent review → debate → verdict, and promotes/updates data itself.
|
|
23
|
+
|
|
24
|
+
- vibe_math_add_problem {id, description, priority} — add a problem to qs/qs.json.
|
|
25
|
+
- vibe_math_add_proposition {id, 概述, 布尔估计, 优先级, 价值/关键性} — add a proposition to Propos/.
|
|
26
|
+
- vibe_math_list_propositions — list the proposition knowledge base (summary index).
|
|
27
|
+
- vibe_math_start / vibe_math_resume — start / resume the scheduler (resume = continue after a checkpoint or restart).
|
|
28
|
+
- vibe_math_status / vibe_math_report — read scheduler status / full progress report (report also writes Progress_Logs/report.json).
|
|
29
|
+
- vibe_math_pause / vibe_math_abort — pause / abort (abort interrupts all children).
|
|
30
|
+
- vibe_math_set_mode {mode: manual|auto} — switch manual / auto control.
|
|
31
|
+
- vibe_math_set_params {...} — tune any parameter (see vibe_math_setup for the full schema; e.g. reportMode file|push|both, promoteValueThreshold, verdictMode flat|forced).
|
|
32
|
+
- vibe_math_setup / vibe_math_save_settings / vibe_math_template — guided configuration / persist defaults / generate template.
|
|
33
|
+
- vibe_math_new_project / vibe_math_set_project / vibe_math_list_projects — per-project folders.
|
|
34
|
+
- vibe_math_list_decisions / vibe_math_decide {id, action: approve|reject|override, verdict?} — resolve manual decisions.
|
|
35
|
+
- vibe_math_list_agents / vibe_math_message_agent / vibe_math_interrupt_agent — inspect / steer / interrupt subagents.
|
|
36
|
+
|
|
37
|
+
A /vibe slash command mirrors the main controls. Data lives under {{cwd}}/VibeMath/Projects/<project>/
|
|
38
|
+
(qs/qs.json, Propos/<分类>_Propos.json, Reliable/, Verified/, Verification_logs/, Progress_Logs/, VibeMath_State/)
|
|
39
|
+
and survives restarts via vibe_math_resume.
|
|
40
|
+
|
|
41
|
+
Key rules to remember when reporting: a problem is "solved" when one of its solutions reaches
|
|
42
|
+
正确概率 = 1; a proposition reaches 布尔估计 = 1/0 when a proof/refutation in its lists reaches
|
|
43
|
+
正确概率 = 1; Propos propositions with 价值/关键性 ≥ promoteValueThreshold auto-promote to qs.json.
|
|
44
|
+
When the user asks about progress, call vibe_math_report and summarize in plain language.
|
|
45
|
+
|
|
46
|
+
Configuration highlights (all tunable via vibe_math_set_params / the settings file):
|
|
47
|
+
`knowledgeContext` overrides the shared data-model explanation injected into every child prompt
|
|
48
|
+
(empty = built-in full version); `explorerPersona` / `solverPersona` / `verifierPersona` prepend
|
|
49
|
+
role instructions; `solverAllowNetwork` / `verifierAllowNetwork` / `solverAllowScripts` /
|
|
50
|
+
`verifierAllowScripts` toggle network / script tools (empty = inherit, true = allow, false = deny);
|
|
51
|
+
`directionsPerSolver` = how many directions each solver's prompt includes (1 = own direction only).
|
|
52
|
+
Data behaviors: an auto-promoted proposition becomes the problem "判断下述命题是否成立:<命题>"
|
|
53
|
+
with its proofs/refutations transferred into the solution list (verification results sync back to the
|
|
54
|
+
source proposition); a solver-reported sub-question q_sub registers THREE objects — the q_sub problem,
|
|
55
|
+
the temporary-assumption proposition p_{q-tmp}, and the problem "判断下述命题是否成立:p_{q-tmp}".
|
|
56
|
+
suffix: Your working directory is {{cwd}}.
|
|
57
|
+
text: |-
|
|
58
|
+
You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
|
|
59
|
+
|
|
60
|
+
## Vibe Math V2 toolkit
|
|
61
|
+
|
|
62
|
+
This session includes the "Vibe Math V2" multi-agent mathematical problem-solving and
|
|
63
|
+
verification framework (NEW architecture). It is driven by a background scheduler (code),
|
|
64
|
+
NOT by the model: you only issue the control tools below and read status; the scheduler
|
|
65
|
+
programmatically runs explorer (direction setting) → per-direction solvers (agent_self_iteration)
|
|
66
|
+
→ multi-reviewer independent review → debate → verdict, and promotes/updates data itself.
|
|
67
|
+
|
|
68
|
+
- vibe_math_add_problem {id, description, priority} — add a problem to qs/qs.json.
|
|
69
|
+
- vibe_math_add_proposition {id, 概述, 布尔估计, 优先级, 价值/关键性} — add a proposition to Propos/.
|
|
70
|
+
- vibe_math_list_propositions — list the proposition knowledge base (summary index).
|
|
71
|
+
- vibe_math_start / vibe_math_resume — start / resume the scheduler (resume = continue after a checkpoint or restart).
|
|
72
|
+
- vibe_math_status / vibe_math_report — read scheduler status / full progress report (report also writes Progress_Logs/report.json).
|
|
73
|
+
- vibe_math_pause / vibe_math_abort — pause / abort (abort interrupts all children).
|
|
74
|
+
- vibe_math_set_mode {mode: manual|auto} — switch manual / auto control.
|
|
75
|
+
- vibe_math_set_params {...} — tune any parameter (see vibe_math_setup for the full schema; e.g. reportMode file|push|both, promoteValueThreshold, verdictMode flat|forced).
|
|
76
|
+
- vibe_math_setup / vibe_math_save_settings / vibe_math_template — guided configuration / persist defaults / generate template.
|
|
77
|
+
- vibe_math_new_project / vibe_math_set_project / vibe_math_list_projects — per-project folders.
|
|
78
|
+
- vibe_math_list_decisions / vibe_math_decide {id, action: approve|reject|override, verdict?} — resolve manual decisions.
|
|
79
|
+
- vibe_math_list_agents / vibe_math_message_agent / vibe_math_interrupt_agent — inspect / steer / interrupt subagents.
|
|
80
|
+
|
|
81
|
+
A /vibe slash command mirrors the main controls. Data lives under {{cwd}}/VibeMath/Projects/<project>/
|
|
82
|
+
(qs/qs.json, Propos/<分类>_Propos.json, Reliable/, Verified/, Verification_logs/, Progress_Logs/, VibeMath_State/)
|
|
83
|
+
and survives restarts via vibe_math_resume.
|
|
84
|
+
|
|
85
|
+
Key rules to remember when reporting: a problem is "solved" when one of its solutions reaches
|
|
86
|
+
正确概率 = 1; a proposition reaches 布尔估计 = 1/0 when a proof/refutation in its lists reaches
|
|
87
|
+
正确概率 = 1; Propos propositions with 价值/关键性 ≥ promoteValueThreshold auto-promote to qs.json.
|
|
88
|
+
When the user asks about progress, call vibe_math_report and summarize in plain language.
|
|
89
|
+
|
|
90
|
+
Configuration highlights (all tunable via vibe_math_set_params / the settings file):
|
|
91
|
+
`knowledgeContext` overrides the shared data-model explanation injected into every child prompt
|
|
92
|
+
(empty = built-in full version); `explorerPersona` / `solverPersona` / `verifierPersona` prepend
|
|
93
|
+
role instructions; `solverAllowNetwork` / `verifierAllowNetwork` / `solverAllowScripts` /
|
|
94
|
+
`verifierAllowScripts` toggle network / script tools (empty = inherit, true = allow, false = deny);
|
|
95
|
+
`directionsPerSolver` = how many directions each solver's prompt includes (1 = own direction only).
|
|
96
|
+
Data behaviors: an auto-promoted proposition becomes the problem "判断下述命题是否成立:<命题>"
|
|
97
|
+
with its proofs/refutations transferred into the solution list (verification results sync back to the
|
|
98
|
+
source proposition); a solver-reported sub-question q_sub registers THREE objects — the q_sub problem,
|
|
99
|
+
the temporary-assumption proposition p_{q-tmp}, and the problem "判断下述命题是否成立:p_{q-tmp}".
|
|
100
|
+
|
|
101
|
+
- id: agent-instructions
|
|
102
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
103
|
+
config:
|
|
104
|
+
maxBytes: 65536
|
|
105
|
+
|
|
106
|
+
# ── shell ───────────────────────────────────────────────────────────────────
|
|
107
|
+
|
|
108
|
+
- id: tool-bash
|
|
109
|
+
name: '@deepseek-ai/dsh-tool-bash'
|
|
110
|
+
disabled: !!js process.platform === 'win32'
|
|
111
|
+
|
|
112
|
+
- id: tool-pwsh
|
|
113
|
+
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
114
|
+
disabled: !!js process.platform !== 'win32'
|
|
115
|
+
|
|
116
|
+
# ── filesystem ──────────────────────────────────────────────────────────────
|
|
117
|
+
|
|
118
|
+
- id: tool-fs
|
|
119
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
120
|
+
|
|
121
|
+
- id: tool-fs-search
|
|
122
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
123
|
+
config:
|
|
124
|
+
sampleOverCapGlobResults: false
|
|
125
|
+
|
|
126
|
+
# ── background jobs ────────────────────────────────────────────────────────
|
|
127
|
+
|
|
128
|
+
- id: tool-jobs
|
|
129
|
+
name: '@deepseek-ai/dsh-tool-jobs'
|
|
130
|
+
|
|
131
|
+
# ── skills ──────────────────────────────────────────────────────────────────
|
|
132
|
+
|
|
133
|
+
- id: skill-filesystem
|
|
134
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
135
|
+
|
|
136
|
+
- id: tool-skill
|
|
137
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
138
|
+
|
|
139
|
+
# ── goals ───────────────────────────────────────────────────────────────────
|
|
140
|
+
|
|
141
|
+
- id: tool-goal
|
|
142
|
+
name: '@deepseek-ai/dsh-tool-goal'
|
|
143
|
+
|
|
144
|
+
# ── plan mode ───────────────────────────────────────────────────────────────
|
|
145
|
+
|
|
146
|
+
- id: planning
|
|
147
|
+
name: cordis:group
|
|
148
|
+
group: true
|
|
149
|
+
isolate:
|
|
150
|
+
planMode: true
|
|
151
|
+
config:
|
|
152
|
+
- id: plan-mode
|
|
153
|
+
name: '@deepseek-ai/dsh-plan-mode'
|
|
154
|
+
config:
|
|
155
|
+
section: |
|
|
156
|
+
You are in plan mode. Stay in plan mode until exit_plan_mode succeeds or the user switches the session mode. Imperative language to implement changes means plan the implementation, not execute it. A user's conversational agreement — including an answer confirming something you asked — approves nothing and does not end plan mode; fold the confirmed decision into the plan and submit it through exit_plan_mode.
|
|
157
|
+
|
|
158
|
+
Explore first. Use non-mutating reads, searches, static analysis, and checks to ground the plan in the actual repository. Do not edit or write files, change configuration, run formatters or code generation that rewrites tracked files, commit, or otherwise carry out the plan. Prefer existing functions and patterns over new machinery.
|
|
159
|
+
|
|
160
|
+
The tool catalog stays the same across modes for request-cache stability. These plan-mode rules override any later tool description or guidance that suggests using mutation tools; those tools remain listed to keep the tool catalog unchanged. Do not use todo_write to track this planning phase: it tracks implementation after an approved plan, while the plan itself belongs in exit_plan_mode.
|
|
161
|
+
|
|
162
|
+
Resolve discoverable facts by inspection. Use ask_user_question only for user-owned choices or material ambiguity that inspection cannot answer. Do not ask the user where code lives or how current behavior works when you can find out.
|
|
163
|
+
|
|
164
|
+
Make the plan decision-complete: state the goal and success criteria; group implementation changes by subsystem; identify public API, schema, and data-flow changes; cover edge cases, failure modes, tests, acceptance criteria, and explicit assumptions. Keep it concise enough to review but detailed enough that another engineer can implement it without making design decisions.
|
|
165
|
+
|
|
166
|
+
When ready, call exit_plan_mode with the complete plan markdown, starting with a # title. Make exit_plan_mode the only and final tool call in that assistant response: it presents the plan for approval, and implementation begins only in a later step after approval. Do not paste the final plan as a plain reply or ask "should I proceed?" through prose or ask_user_question. If review rejects it, incorporate the feedback and present again. If the review channel is unavailable or aborted, stay in plan mode and ask the user to switch modes manually; do not proceed with implementation.
|
|
167
|
+
|
|
168
|
+
# ── compaction ──────────────────────────────────────────────────────────────
|
|
169
|
+
|
|
170
|
+
- id: compaction
|
|
171
|
+
name: cordis:group
|
|
172
|
+
group: true
|
|
173
|
+
isolate:
|
|
174
|
+
compaction: true
|
|
175
|
+
toolResultPruner: true
|
|
176
|
+
config:
|
|
177
|
+
- id: compaction-basic
|
|
178
|
+
name: '@deepseek-ai/dsh-compaction-basic'
|
|
179
|
+
|
|
180
|
+
- id: command-compact
|
|
181
|
+
name: '@deepseek-ai/dsh-command-compact'
|
|
182
|
+
|
|
183
|
+
- id: tool-result-pruner
|
|
184
|
+
name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
|
|
185
|
+
config:
|
|
186
|
+
thresholdChars: 8192
|
|
187
|
+
headChars: 4096
|
|
188
|
+
tailChars: 1024
|
|
189
|
+
|
|
190
|
+
# ── delegation and workflows ────────────────────────────────────────────────
|
|
191
|
+
|
|
192
|
+
- id: delegation
|
|
193
|
+
name: cordis:group
|
|
194
|
+
group: true
|
|
195
|
+
isolate:
|
|
196
|
+
workflowEngine: true
|
|
197
|
+
config:
|
|
198
|
+
- id: tool-subagent-control
|
|
199
|
+
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
200
|
+
|
|
201
|
+
- id: tool-subagent-list-agents
|
|
202
|
+
name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
|
|
203
|
+
|
|
204
|
+
- id: tool-subagent
|
|
205
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
206
|
+
config:
|
|
207
|
+
provider: spawn
|
|
208
|
+
toolName: subagent
|
|
209
|
+
backgroundMode: continuable
|
|
210
|
+
|
|
211
|
+
- id: tool-subagent-fork
|
|
212
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
213
|
+
config:
|
|
214
|
+
provider: fork
|
|
215
|
+
toolName: subagent_fork
|
|
216
|
+
backgroundMode: continuable
|
|
217
|
+
|
|
218
|
+
- id: workflow-worker-thread
|
|
219
|
+
name: '@deepseek-ai/dsh-workflow-worker-thread'
|
|
220
|
+
config:
|
|
221
|
+
provider: spawn
|
|
222
|
+
|
|
223
|
+
- id: tool-workflow
|
|
224
|
+
name: '@deepseek-ai/dsh-tool-workflow'
|
|
225
|
+
|
|
226
|
+
- id: tool-ralph
|
|
227
|
+
name: '@deepseek-ai/dsh-tool-ralph'
|
|
228
|
+
config:
|
|
229
|
+
subagentProvider: spawn
|
|
230
|
+
maxRounds: 64
|
|
231
|
+
|
|
232
|
+
# ── remaining model-facing rows ─────────────────────────────────────────────
|
|
233
|
+
|
|
234
|
+
- id: tool-ask-user
|
|
235
|
+
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
236
|
+
|
|
237
|
+
- id: tool-todo
|
|
238
|
+
name: '@deepseek-ai/dsh-tool-todo'
|
|
239
|
+
config:
|
|
240
|
+
allowParallelInProgress: true
|
|
241
|
+
|
|
242
|
+
- id: tool-web
|
|
243
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
244
|
+
config:
|
|
245
|
+
fetch: false
|
|
246
|
+
searchTimeoutMs: 60000
|
|
247
|
+
|
|
248
|
+
# ── Vibe Math V2 ────────────────────────────────────────────────────────────
|
|
249
|
+
|
|
250
|
+
# The NEW-architecture framework: a preset-local plugin (./vibe-math-v2.js)
|
|
251
|
+
# that registers the vibe_math_* tools, a /vibe slash command, and a background
|
|
252
|
+
# scheduler (explorer → per-direction solvers → multi-reviewer verification).
|
|
253
|
+
# It consumes the HOST subagents/agents/fs/tools/commands services and provides
|
|
254
|
+
# nothing, so it sits loose (no isolate realm).
|
|
255
|
+
- id: vibe-math-v2
|
|
256
|
+
name: './vibe-math-v2.js'
|
package/vibe-math-v2/preset.yml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
name: Vibe Math V2
|
|
2
|
-
description: 多代理数学问题求解与验证框架(新架构):概率驱动调度 —— qs.json 问题清单 + Propos/ 命题库 + Reliable/ 参考文献,explorer 拆方向 → 逐方向 Solver 迭代 → 多验证器独立审查→辩论→裁决;断点续跑、人工/自动干预、file/push 双模式进度汇报。
|
|
1
|
+
name: Vibe Math V2
|
|
2
|
+
description: 多代理数学问题求解与验证框架(新架构):概率驱动调度 —— qs.json 问题清单 + Propos/ 命题库 + Reliable/ 参考文献,explorer 拆方向 → 逐方向 Solver 迭代 → 多验证器独立审查→辩论→裁决;断点续跑、人工/自动干预、file/push 双模式进度汇报。
|