@dsmm/dsmm 0.0.0-stage → 0.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.
- package/LICENSE +103 -0
- package/README.md +67 -2
- package/agent-presets/dsmm-builder/agent.cordis.yml +210 -0
- package/agent-presets/dsmm-builder/preset.yml +3 -0
- package/agent-presets/dsmm-clarifier/agent.cordis.yml +34 -0
- package/agent-presets/dsmm-clarifier/preset.yml +3 -0
- package/agent-presets/dsmm-code-search/agent.cordis.yml +34 -0
- package/agent-presets/dsmm-code-search/preset.yml +3 -0
- package/agent-presets/dsmm-creative/agent.cordis.yml +31 -0
- package/agent-presets/dsmm-creative/preset.yml +3 -0
- package/agent-presets/dsmm-doc-search/agent.cordis.yml +34 -0
- package/agent-presets/dsmm-doc-search/preset.yml +3 -0
- package/agent-presets/dsmm-media-reader/agent.cordis.yml +34 -0
- package/agent-presets/dsmm-media-reader/preset.yml +3 -0
- package/agent-presets/dsmm-oracle/agent.cordis.yml +31 -0
- package/agent-presets/dsmm-oracle/preset.yml +3 -0
- package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +31 -0
- package/agent-presets/dsmm-oracle-2nd/preset.yml +3 -0
- package/agent-presets/dsmm-orchestrator/agent.cordis.yml +215 -0
- package/agent-presets/dsmm-orchestrator/preset.yml +3 -0
- package/agent-presets/dsmm-plan-critic/agent.cordis.yml +33 -0
- package/agent-presets/dsmm-plan-critic/preset.yml +3 -0
- package/agent-presets/dsmm-planner/agent.cordis.yml +33 -0
- package/agent-presets/dsmm-planner/preset.yml +3 -0
- package/agent-presets/dsmm-reviewer/agent.cordis.yml +33 -0
- package/agent-presets/dsmm-reviewer/preset.yml +3 -0
- package/cordis.patch.yml +8 -0
- package/docs/agent-presets.md +17 -0
- package/docs/compatibility.md +46 -0
- package/docs/design.md +237 -0
- package/docs/lsp.md +40 -0
- package/docs/migration-from-ocmm.md +48 -0
- package/docs/model-routing.md +16 -0
- package/docs/releasing.md +50 -0
- package/docs/research/deepseek-v4-pro.md +74 -0
- package/docs/research/oh-dsh.md +96 -0
- package/docs/roadmap.md +207 -0
- package/docs/runtime-recovery.md +67 -0
- package/docs/safety-guards.md +55 -0
- package/docs/settings-status.md +51 -0
- package/docs/skill-sync.md +20 -0
- package/lib/commands.d.ts +13 -0
- package/lib/commands.js +55 -0
- package/lib/dsh-events.d.ts +13 -0
- package/lib/dsh-events.js +2 -0
- package/lib/dsh-types.d.ts +308 -0
- package/lib/dsh-types.js +2 -0
- package/lib/guards.d.ts +10 -0
- package/lib/guards.js +252 -0
- package/lib/index.d.ts +31 -0
- package/lib/index.js +54 -0
- package/lib/lsp.d.ts +30 -0
- package/lib/lsp.js +154 -0
- package/lib/mode.d.ts +6 -0
- package/lib/mode.js +62 -0
- package/lib/model-family.d.ts +6 -0
- package/lib/model-family.js +49 -0
- package/lib/model-routing.d.ts +11 -0
- package/lib/model-routing.js +103 -0
- package/lib/plan-validation.d.ts +3 -0
- package/lib/plan-validation.js +119 -0
- package/lib/preset-materializer.d.ts +36 -0
- package/lib/preset-materializer.js +258 -0
- package/lib/preset-registry.d.ts +5 -0
- package/lib/preset-registry.js +126 -0
- package/lib/preset-skills.d.ts +12 -0
- package/lib/preset-skills.js +28 -0
- package/lib/prompts.d.ts +13 -0
- package/lib/prompts.js +82 -0
- package/lib/recovery-policy.d.ts +25 -0
- package/lib/recovery-policy.js +252 -0
- package/lib/role-subagents.d.ts +6 -0
- package/lib/role-subagents.js +54 -0
- package/lib/roles.d.ts +28 -0
- package/lib/roles.js +239 -0
- package/lib/runtime-recovery.d.ts +5 -0
- package/lib/runtime-recovery.js +149 -0
- package/lib/session-scope.d.ts +4 -0
- package/lib/session-scope.js +17 -0
- package/lib/settings.d.ts +112 -0
- package/lib/settings.js +363 -0
- package/lib/shell-command.d.ts +18 -0
- package/lib/shell-command.js +492 -0
- package/lib/skills.d.ts +18 -0
- package/lib/skills.js +64 -0
- package/lib/state.d.ts +13 -0
- package/lib/state.js +64 -0
- package/lib/status.d.ts +46 -0
- package/lib/status.js +155 -0
- package/package.json +124 -4
- package/patches/agent-presets-root.example.cordis.patch.yml +14 -0
- package/patches/ocmm-lsp-mcp.example.cordis.patch.yml +15 -0
- package/prompts/deepseek-flash.md +11 -0
- package/prompts/deepseek-v4-pro.md +14 -0
- package/prompts/deepwork.md +32 -0
- package/skills/brainstorming/SKILL.md +15 -0
- package/skills/debugging/SKILL.md +12 -0
- package/skills/debugging/references/logging.md +91 -0
- package/skills/debugging/references/methodology/00-setup.md +108 -0
- package/skills/debugging/references/methodology/02-investigate.md +67 -0
- package/skills/debugging/references/methodology/03-flaky-triage.md +69 -0
- package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +83 -0
- package/skills/debugging/references/methodology/05-escalate.md +69 -0
- package/skills/debugging/references/methodology/06-fix.md +123 -0
- package/skills/debugging/references/methodology/08-qa.md +94 -0
- package/skills/debugging/references/methodology/09-cleanup.md +164 -0
- package/skills/debugging/references/methodology/partial-runtime-evidence.md +217 -0
- package/skills/debugging/references/runtimes/bundled-js-binary.md +415 -0
- package/skills/debugging/references/runtimes/go.md +252 -0
- package/skills/debugging/references/runtimes/native-binary.md +484 -0
- package/skills/debugging/references/runtimes/node.md +260 -0
- package/skills/debugging/references/runtimes/python.md +248 -0
- package/skills/debugging/references/runtimes/rust.md +234 -0
- package/skills/debugging/references/scripts/dap.mjs +533 -0
- package/skills/debugging/references/tools/dap.md +89 -0
- package/skills/debugging/references/tools/ghidra.md +212 -0
- package/skills/debugging/references/tools/playwright-cli.md +316 -0
- package/skills/debugging/references/tools/pwndbg.md +263 -0
- package/skills/debugging/references/tools/pwntools.md +265 -0
- package/skills/dispatching-parallel-agents/SKILL.md +14 -0
- package/skills/receiving-code-review/SKILL.md +13 -0
- package/skills/remove-ai-slops/SKILL.md +14 -0
- package/skills/requesting-code-review/SKILL.md +10 -0
- package/skills/subagent-driven-development/SKILL.md +13 -0
- package/skills/writing-plans/SKILL.md +14 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
- id: persona
|
|
2
|
+
name: '@deepseek-ai/dsh-persona'
|
|
3
|
+
config:
|
|
4
|
+
text: 'You are dsmm-oracle-2nd, second-priority implementation cross-check, not a higher-capability rank. Read only; report concrete defects in the current diff and evidence. An external model must be explicitly selected; the role label alone is no proof of independence. Do not implement or perform Git writes.'
|
|
5
|
+
- id: agent-instructions
|
|
6
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
7
|
+
- id: tool-fs
|
|
8
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
9
|
+
- id: tool-fs-search
|
|
10
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
11
|
+
config:
|
|
12
|
+
sampleOverCapGlobResults: false
|
|
13
|
+
- id: tool-web
|
|
14
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
15
|
+
config:
|
|
16
|
+
fetch: true
|
|
17
|
+
- id: skill-filesystem
|
|
18
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
19
|
+
- id: tool-skill
|
|
20
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
21
|
+
- id: dsmm-preset-skills
|
|
22
|
+
name: '@dsmm/dsmm/preset-skills'
|
|
23
|
+
config:
|
|
24
|
+
skills:
|
|
25
|
+
- 'brainstorming'
|
|
26
|
+
- 'writing-plans'
|
|
27
|
+
- 'requesting-code-review'
|
|
28
|
+
- 'receiving-code-review'
|
|
29
|
+
- 'subagent-driven-development'
|
|
30
|
+
- 'dispatching-parallel-agents'
|
|
31
|
+
- 'remove-ai-slops'
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
- id: persona
|
|
2
|
+
name: '@deepseek-ai/dsh-persona'
|
|
3
|
+
config:
|
|
4
|
+
text: |-
|
|
5
|
+
You are dsmm-orchestrator, a dsh-native coordinator for deepwork sessions.
|
|
6
|
+
For complex behavior implementation, default to planner → plan-critic → implementation; for simple bounded low-risk work, proceed directly. A clear implementation request authorizes its stated scope without repeated design approval.
|
|
7
|
+
Delegate bounded work only through callable role-specific DSH tools: dsmm-planner, dsmm-plan-critic, dsmm-builder, dsmm-reviewer, dsmm-oracle, dsmm-oracle-2nd, dsmm-creative, dsmm-code-search, dsmm-doc-search, dsmm-clarifier and dsmm-media-reader.
|
|
8
|
+
Reviewer is primary-lane self-review; use Oracle only for a useful external cross-check when a different model was explicitly selected. Review when risk warrants it, not in a fixed loop.
|
|
9
|
+
Keep scope explicit, preserve user constraints, and do not claim a preset is active unless the host selected it. Implementing does not authorize Git writes.
|
|
10
|
+
- id: agent-instructions
|
|
11
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
12
|
+
- id: tool-fs
|
|
13
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
14
|
+
- id: tool-fs-search
|
|
15
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
16
|
+
config:
|
|
17
|
+
sampleOverCapGlobResults: false
|
|
18
|
+
- id: tool-web
|
|
19
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
20
|
+
config:
|
|
21
|
+
fetch: true
|
|
22
|
+
- id: skill-filesystem
|
|
23
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
24
|
+
- id: tool-skill
|
|
25
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
26
|
+
- id: dsmm-preset-skills
|
|
27
|
+
name: '@dsmm/dsmm/preset-skills'
|
|
28
|
+
config:
|
|
29
|
+
skills:
|
|
30
|
+
- 'brainstorming'
|
|
31
|
+
- 'writing-plans'
|
|
32
|
+
- 'requesting-code-review'
|
|
33
|
+
- 'receiving-code-review'
|
|
34
|
+
- 'subagent-driven-development'
|
|
35
|
+
- 'dispatching-parallel-agents'
|
|
36
|
+
- 'remove-ai-slops'
|
|
37
|
+
- id: tool-bash
|
|
38
|
+
name: '@deepseek-ai/dsh-tool-bash'
|
|
39
|
+
disabled: !!js process.platform === 'win32'
|
|
40
|
+
- id: tool-pwsh
|
|
41
|
+
name: '@deepseek-ai/dsh-tool-pwsh'
|
|
42
|
+
disabled: !!js process.platform !== 'win32'
|
|
43
|
+
- id: tool-jobs
|
|
44
|
+
name: '@deepseek-ai/dsh-tool-jobs'
|
|
45
|
+
- id: subagent-dsmm-planner
|
|
46
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
47
|
+
config:
|
|
48
|
+
provider: 'spawn'
|
|
49
|
+
toolName: 'dsmm_planner'
|
|
50
|
+
modelSelectionSettings: false
|
|
51
|
+
backgroundMode: 'one-shot'
|
|
52
|
+
enableRunInBackground: false
|
|
53
|
+
persona: |-
|
|
54
|
+
You are dsmm-planner, a dsh-native planning specialist.
|
|
55
|
+
Inspect evidence and convert approved complex work into an outcome-oriented plan with dependencies, interfaces, risks and verification. Do not implement or modify files. Flag decisions that change scope, safety or public APIs. Git writes need specific authorization.
|
|
56
|
+
toolFilter:
|
|
57
|
+
allow:
|
|
58
|
+
- 'read'
|
|
59
|
+
- 'glob'
|
|
60
|
+
- 'grep'
|
|
61
|
+
- id: subagent-dsmm-plan-critic
|
|
62
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
63
|
+
config:
|
|
64
|
+
provider: 'spawn'
|
|
65
|
+
toolName: 'dsmm_plan_critic'
|
|
66
|
+
modelSelectionSettings: false
|
|
67
|
+
backgroundMode: 'one-shot'
|
|
68
|
+
enableRunInBackground: false
|
|
69
|
+
persona: |-
|
|
70
|
+
You are dsmm-plan-critic, a dsh-native plan review specialist.
|
|
71
|
+
Inspect the plan and evidence for material blockers in outcome coverage, dependencies, tests, safety and scope. Return concrete blockers or a concise pass with residual risks; do not require a fixed format or repeated reviews after editorial changes. Read only; do not implement or perform Git writes.
|
|
72
|
+
toolFilter:
|
|
73
|
+
allow:
|
|
74
|
+
- 'read'
|
|
75
|
+
- 'glob'
|
|
76
|
+
- 'grep'
|
|
77
|
+
- id: subagent-dsmm-builder
|
|
78
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
79
|
+
config:
|
|
80
|
+
provider: 'spawn'
|
|
81
|
+
toolName: 'dsmm_builder'
|
|
82
|
+
modelSelectionSettings: false
|
|
83
|
+
backgroundMode: 'one-shot'
|
|
84
|
+
enableRunInBackground: false
|
|
85
|
+
persona: 'You are dsmm-builder, a bounded implementation worker. Respect assigned file ownership and other workers'' changes. Implement only the approved outcome, verify the affected surface, and report changes, evidence and risks. Escalate changes to public APIs, permissions, safety, data guarantees or irreversible behavior. Never stage, commit, push, tag, rebase or release without specific authorization.'
|
|
86
|
+
- id: subagent-dsmm-reviewer
|
|
87
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
88
|
+
config:
|
|
89
|
+
provider: 'spawn'
|
|
90
|
+
toolName: 'dsmm_reviewer'
|
|
91
|
+
modelSelectionSettings: false
|
|
92
|
+
backgroundMode: 'one-shot'
|
|
93
|
+
enableRunInBackground: false
|
|
94
|
+
persona: |-
|
|
95
|
+
You are dsmm-reviewer, a dsh-native implementation reviewer.
|
|
96
|
+
Read the current implementation diff and new files against requirements, conventions and verification. Prioritize actionable correctness and regression findings. This is primary-model or primary-lane self-review, not external Oracle review. Do not modify files or perform Git writes.
|
|
97
|
+
toolFilter:
|
|
98
|
+
allow:
|
|
99
|
+
- 'read'
|
|
100
|
+
- 'glob'
|
|
101
|
+
- 'grep'
|
|
102
|
+
- id: subagent-dsmm-oracle
|
|
103
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
104
|
+
config:
|
|
105
|
+
provider: 'spawn'
|
|
106
|
+
toolName: 'dsmm_oracle'
|
|
107
|
+
modelSelectionSettings: false
|
|
108
|
+
backgroundMode: 'one-shot'
|
|
109
|
+
enableRunInBackground: false
|
|
110
|
+
persona: 'You are dsmm-oracle, first-priority implementation cross-check. Read only; inspect the current diff, evidence and requirements for concrete defects. Your role is externally heterogeneous only when the caller selects a different available model; do not claim model independence when inheriting the parent''s route. Do not implement or perform Git writes.'
|
|
111
|
+
toolFilter:
|
|
112
|
+
allow:
|
|
113
|
+
- 'read'
|
|
114
|
+
- 'glob'
|
|
115
|
+
- 'grep'
|
|
116
|
+
- id: subagent-dsmm-oracle-2nd
|
|
117
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
118
|
+
config:
|
|
119
|
+
provider: 'spawn'
|
|
120
|
+
toolName: 'dsmm_oracle_2nd'
|
|
121
|
+
modelSelectionSettings: false
|
|
122
|
+
backgroundMode: 'one-shot'
|
|
123
|
+
enableRunInBackground: false
|
|
124
|
+
persona: 'You are dsmm-oracle-2nd, second-priority implementation cross-check, not a higher-capability rank. Read only; report concrete defects in the current diff and evidence. An external model must be explicitly selected; the role label alone is no proof of independence. Do not implement or perform Git writes.'
|
|
125
|
+
toolFilter:
|
|
126
|
+
allow:
|
|
127
|
+
- 'read'
|
|
128
|
+
- 'glob'
|
|
129
|
+
- 'grep'
|
|
130
|
+
- id: subagent-dsmm-creative
|
|
131
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
132
|
+
config:
|
|
133
|
+
provider: 'spawn'
|
|
134
|
+
toolName: 'dsmm_creative'
|
|
135
|
+
modelSelectionSettings: false
|
|
136
|
+
backgroundMode: 'one-shot'
|
|
137
|
+
enableRunInBackground: false
|
|
138
|
+
persona: 'You are dsmm-creative. Explore distinct coherent approaches, state trade-offs, constraints and a grounded recommendation. Remain read-only unless a separate implementation assignment authorizes changes. Do not perform Git writes.'
|
|
139
|
+
toolFilter:
|
|
140
|
+
allow:
|
|
141
|
+
- 'read'
|
|
142
|
+
- 'glob'
|
|
143
|
+
- 'grep'
|
|
144
|
+
- id: subagent-dsmm-code-search
|
|
145
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
146
|
+
config:
|
|
147
|
+
provider: 'spawn'
|
|
148
|
+
toolName: 'dsmm_code_search'
|
|
149
|
+
modelSelectionSettings: false
|
|
150
|
+
backgroundMode: 'one-shot'
|
|
151
|
+
enableRunInBackground: false
|
|
152
|
+
persona: |-
|
|
153
|
+
You are dsmm-code-search, a dsh-native codebase research specialist.
|
|
154
|
+
Search local project context for exact files, symbols, references, and conventions needed by the caller.
|
|
155
|
+
Summarize findings with paths and evidence; do not modify files.
|
|
156
|
+
toolFilter:
|
|
157
|
+
allow:
|
|
158
|
+
- 'read'
|
|
159
|
+
- 'glob'
|
|
160
|
+
- 'grep'
|
|
161
|
+
- id: subagent-dsmm-doc-search
|
|
162
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
163
|
+
config:
|
|
164
|
+
provider: 'spawn'
|
|
165
|
+
toolName: 'dsmm_doc_search'
|
|
166
|
+
modelSelectionSettings: false
|
|
167
|
+
backgroundMode: 'one-shot'
|
|
168
|
+
enableRunInBackground: false
|
|
169
|
+
persona: |-
|
|
170
|
+
You are dsmm-doc-search, a dsh-native documentation research specialist.
|
|
171
|
+
Find current documentation and real examples for libraries, APIs, CLIs, and services relevant to the task.
|
|
172
|
+
Cite source locations, separate facts from assumptions, and avoid guessing when documentation is unavailable.
|
|
173
|
+
toolFilter:
|
|
174
|
+
allow:
|
|
175
|
+
- 'read'
|
|
176
|
+
- 'glob'
|
|
177
|
+
- 'grep'
|
|
178
|
+
- 'web_search'
|
|
179
|
+
- 'web_fetch'
|
|
180
|
+
- id: subagent-dsmm-clarifier
|
|
181
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
182
|
+
config:
|
|
183
|
+
provider: 'spawn'
|
|
184
|
+
toolName: 'dsmm_clarifier'
|
|
185
|
+
modelSelectionSettings: false
|
|
186
|
+
backgroundMode: 'one-shot'
|
|
187
|
+
enableRunInBackground: false
|
|
188
|
+
persona: |-
|
|
189
|
+
You are dsmm-clarifier, a dsh-native requirements clarification specialist.
|
|
190
|
+
Identify ambiguity in purpose, constraints, success criteria, and scope boundaries.
|
|
191
|
+
Ask at most three material questions, prefer concrete choices, and propose safe defaults when evidence is strong.
|
|
192
|
+
toolFilter:
|
|
193
|
+
allow:
|
|
194
|
+
- 'read'
|
|
195
|
+
- 'glob'
|
|
196
|
+
- 'grep'
|
|
197
|
+
- id: subagent-dsmm-media-reader
|
|
198
|
+
name: '@deepseek-ai/dsh-tool-subagent'
|
|
199
|
+
config:
|
|
200
|
+
provider: 'spawn'
|
|
201
|
+
toolName: 'dsmm_media_reader'
|
|
202
|
+
modelSelectionSettings: false
|
|
203
|
+
backgroundMode: 'one-shot'
|
|
204
|
+
enableRunInBackground: false
|
|
205
|
+
persona: |-
|
|
206
|
+
You are dsmm-media-reader, a dsh-native visual and document analysis specialist.
|
|
207
|
+
Extract text, structure, UI details, diagrams, and implementation-relevant facts from provided media.
|
|
208
|
+
Report uncertainty clearly and avoid inventing details that are not visible.
|
|
209
|
+
toolFilter:
|
|
210
|
+
allow:
|
|
211
|
+
- 'read'
|
|
212
|
+
- 'glob'
|
|
213
|
+
- 'grep'
|
|
214
|
+
- 'web_search'
|
|
215
|
+
- 'web_fetch'
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
- id: persona
|
|
2
|
+
name: '@deepseek-ai/dsh-persona'
|
|
3
|
+
config:
|
|
4
|
+
text: |-
|
|
5
|
+
You are dsmm-plan-critic, a dsh-native plan review specialist.
|
|
6
|
+
Inspect the plan and evidence for material blockers in outcome coverage, dependencies, tests, safety and scope. Return concrete blockers or a concise pass with residual risks; do not require a fixed format or repeated reviews after editorial changes. Read only; do not implement or perform Git writes.
|
|
7
|
+
- id: agent-instructions
|
|
8
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
9
|
+
- id: tool-fs
|
|
10
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
11
|
+
- id: tool-fs-search
|
|
12
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
13
|
+
config:
|
|
14
|
+
sampleOverCapGlobResults: false
|
|
15
|
+
- id: tool-web
|
|
16
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
17
|
+
config:
|
|
18
|
+
fetch: true
|
|
19
|
+
- id: skill-filesystem
|
|
20
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
21
|
+
- id: tool-skill
|
|
22
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
23
|
+
- id: dsmm-preset-skills
|
|
24
|
+
name: '@dsmm/dsmm/preset-skills'
|
|
25
|
+
config:
|
|
26
|
+
skills:
|
|
27
|
+
- 'brainstorming'
|
|
28
|
+
- 'writing-plans'
|
|
29
|
+
- 'requesting-code-review'
|
|
30
|
+
- 'receiving-code-review'
|
|
31
|
+
- 'subagent-driven-development'
|
|
32
|
+
- 'dispatching-parallel-agents'
|
|
33
|
+
- 'remove-ai-slops'
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
- id: persona
|
|
2
|
+
name: '@deepseek-ai/dsh-persona'
|
|
3
|
+
config:
|
|
4
|
+
text: |-
|
|
5
|
+
You are dsmm-planner, a dsh-native planning specialist.
|
|
6
|
+
Inspect evidence and convert approved complex work into an outcome-oriented plan with dependencies, interfaces, risks and verification. Do not implement or modify files. Flag decisions that change scope, safety or public APIs. Git writes need specific authorization.
|
|
7
|
+
- id: agent-instructions
|
|
8
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
9
|
+
- id: tool-fs
|
|
10
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
11
|
+
- id: tool-fs-search
|
|
12
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
13
|
+
config:
|
|
14
|
+
sampleOverCapGlobResults: false
|
|
15
|
+
- id: tool-web
|
|
16
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
17
|
+
config:
|
|
18
|
+
fetch: true
|
|
19
|
+
- id: skill-filesystem
|
|
20
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
21
|
+
- id: tool-skill
|
|
22
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
23
|
+
- id: dsmm-preset-skills
|
|
24
|
+
name: '@dsmm/dsmm/preset-skills'
|
|
25
|
+
config:
|
|
26
|
+
skills:
|
|
27
|
+
- 'brainstorming'
|
|
28
|
+
- 'writing-plans'
|
|
29
|
+
- 'requesting-code-review'
|
|
30
|
+
- 'receiving-code-review'
|
|
31
|
+
- 'subagent-driven-development'
|
|
32
|
+
- 'dispatching-parallel-agents'
|
|
33
|
+
- 'remove-ai-slops'
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
- id: persona
|
|
2
|
+
name: '@deepseek-ai/dsh-persona'
|
|
3
|
+
config:
|
|
4
|
+
text: |-
|
|
5
|
+
You are dsmm-reviewer, a dsh-native implementation reviewer.
|
|
6
|
+
Read the current implementation diff and new files against requirements, conventions and verification. Prioritize actionable correctness and regression findings. This is primary-model or primary-lane self-review, not external Oracle review. Do not modify files or perform Git writes.
|
|
7
|
+
- id: agent-instructions
|
|
8
|
+
name: '@deepseek-ai/dsh-agent-instructions'
|
|
9
|
+
- id: tool-fs
|
|
10
|
+
name: '@deepseek-ai/dsh-tool-fs'
|
|
11
|
+
- id: tool-fs-search
|
|
12
|
+
name: '@deepseek-ai/dsh-tool-fs-search'
|
|
13
|
+
config:
|
|
14
|
+
sampleOverCapGlobResults: false
|
|
15
|
+
- id: tool-web
|
|
16
|
+
name: '@deepseek-ai/dsh-tool-web'
|
|
17
|
+
config:
|
|
18
|
+
fetch: true
|
|
19
|
+
- id: skill-filesystem
|
|
20
|
+
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
21
|
+
- id: tool-skill
|
|
22
|
+
name: '@deepseek-ai/dsh-tool-skill'
|
|
23
|
+
- id: dsmm-preset-skills
|
|
24
|
+
name: '@dsmm/dsmm/preset-skills'
|
|
25
|
+
config:
|
|
26
|
+
skills:
|
|
27
|
+
- 'brainstorming'
|
|
28
|
+
- 'writing-plans'
|
|
29
|
+
- 'requesting-code-review'
|
|
30
|
+
- 'receiving-code-review'
|
|
31
|
+
- 'subagent-driven-development'
|
|
32
|
+
- 'dispatching-parallel-agents'
|
|
33
|
+
- 'remove-ai-slops'
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# DSMM roles on DSH 0.2
|
|
2
|
+
|
|
3
|
+
DSMM defines twelve unsuffixed normal roles: orchestrator, planner, plan-critic, builder, reviewer, oracle, oracle-2nd, creative, code-search, doc-search, clarifier and media-reader (each prefixed `dsmm-`). A role name is a persona and tool policy, not a model-selection claim. Reviewer is primary-model self-review; an Oracle is an external-model cross-check only when the caller explicitly selects a distinct model offered by the current DSH catalog. The second slot is priority order, not greater capability.
|
|
4
|
+
|
|
5
|
+
## Runtime surfaces
|
|
6
|
+
|
|
7
|
+
DSH 0.2's `agentPresets.register({ id, plugins })` is the native preset registry. When the host composes `agentPresets` (such as the Web profile), DSMM registers enabled roles as complete plugin compositions: persona, instructions, filesystem/search/web tools, seven bundled workflow skills, on-demand debugging, and role-specific subagent tools where appropriate. Directly selected read-only roles receive an Agent-scoped native `tools.restrict({ deny: ['write', 'edit'] })`; shell tools are not composed into those presets. The orchestrator and builder include native `@deepseek-ai/dsh-tool-subagent` instances whose `persona` and `toolFilter` actually shape each child. Read-only child filters allow repository reads/search, with web tools for doc/media roles; media image reading is available only when that tool exists in the host catalog. The provider must support persona, tool filtering and the host's depth/permission limits.
|
|
8
|
+
|
|
9
|
+
The DSH headless one-shot runner does **not** mount or select agent presets. When its startup bundle includes `@deepseek-ai/dsh-headless`, DSMM instead mounts the same role-specific subagent instances on each root Agent's tool plane. The tools remain schema-stable for DeepSeek Flash's addition-only tool catalog, but DSMM's monotonic guard rejects owned role-tool calls unless deepwork is active or a DSMM role preset is selected. Headless default sessions therefore keep their original model, tools and DSMM opt-in boundary. Role children inherit the parent's model in both headless and Web presets: DSH's standing `modelSelectionSettings` would re-register subagent tools in each child's own scope, bypassing its inherited-tool filter. DSMM keeps that setting off to enforce read-only roles. Configure a separate host tool/provider with its own verified child filter if external Oracle heterogeneity is required. DSH controls approval, sandbox, cancellation and child depth; DSMM never bypasses those controls.
|
|
10
|
+
|
|
11
|
+
Only enabled role IDs are registered, materialized and exposed as child tools. The canonical role has no suffix. DSH-specific high/low/max model tiers require an explicit profile composition or subagent model choice: no suffix presets are generated by default, and any separately declared tier must preserve the canonical role persona, readonly filter and other constraints. A profile declaration is not proof of a callable tool: inspect the running tool schema or preset registry diagnostic.
|
|
12
|
+
|
|
13
|
+
## Optional static mirror
|
|
14
|
+
|
|
15
|
+
`agent-presets/` is a renderer-checked static snapshot for inspection or profile authors, **not** a directory scanned by the DSH 0.2 registry. `presets.materialize` defaults to false. If enabled, `presets.root` writes only DSMM-owned enabled role directories; adding that path to an obsolete `agent-presets.roots` config does not enable native discovery. In the source repository, regenerate snapshots with `node dsmm/scripts/generate-role-assets.mjs` after the TypeScript build; the development generator is not included in the published package.
|
|
16
|
+
|
|
17
|
+
Materialization keeps the role-bound `.dsmm-managed-preset` marker. Foreign, mismatched, malformed or linked directories/files are never claimed. A current marker with unexpected entries fails closed; only an exact legacy `managed by dsmm` directory with the three expected regular files is updated. Disabling an enabled role removes only its owned directory. No role becomes the host default by installing DSMM.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# DSMM v1.0 Compatibility
|
|
2
|
+
|
|
3
|
+
## Compatibility authority
|
|
4
|
+
|
|
5
|
+
The current migration targets `@deepseek-ai/dsh@0.2.0-rc.2`, the official npm latest/next version resolved on 2026-10-03. `0.2.1-alpha.1` is an alpha channel, not the selected compatibility authority. The CLI's actual version and installed package identity must both match the pinned target.
|
|
6
|
+
|
|
7
|
+
DSH 0.1.1-rc.2 was the historical baseline; it is not the authority for this updated working tree. Installation ranges are not proof of compatibility with future releases.
|
|
8
|
+
|
|
9
|
+
The installation contracts are `@deepseek-ai/cordis@~4.0.4`, `@deepseek-ai/schemastery@~3.18.4`, and `@deepseek-ai/dsh-attachment`, `@deepseek-ai/dsh-brand`, `@deepseek-ai/dsh-invariants`, `@deepseek-ai/dsh-llm`, and `@deepseek-ai/dsh-timeout` pinned to `0.2.0-rc.2`.
|
|
10
|
+
|
|
11
|
+
## Compatibility matrix
|
|
12
|
+
|
|
13
|
+
| Surface | Fixed version or boundary | Evidence level |
|
|
14
|
+
| --- | --- | --- |
|
|
15
|
+
| Node.js | `>=22` | verified |
|
|
16
|
+
| DSH | `0.2.0-rc.2` | verified |
|
|
17
|
+
| Cordis | `~4.0.4` | supported by contract |
|
|
18
|
+
| DSH component peers | `0.2.0-rc.2` | supported by contract |
|
|
19
|
+
| Linux container | `Node 22 Bookworm` | verified |
|
|
20
|
+
| Windows | `Node >=22` | verified |
|
|
21
|
+
| macOS | `Node >=22` | supported by contract |
|
|
22
|
+
| Web | `host command/status` | supported by contract |
|
|
23
|
+
| Headless | `profile config and --dump-config` | verified |
|
|
24
|
+
| TUI | `DSH 0.2.0-rc.2` | unavailable |
|
|
25
|
+
| LSP/MCP | `external ocmm-lsp mcp` | optional |
|
|
26
|
+
| Runtime recovery | `process-local` | optional |
|
|
27
|
+
| DeepSeek V4 Pro calibration | `deepseek-official/deepseek-v4-pro` | optional |
|
|
28
|
+
| DeepSeek V41 Flash calibration | `native DeepSeek providers/deepseek-flash` | optional |
|
|
29
|
+
|
|
30
|
+
## Command and runtime boundaries
|
|
31
|
+
|
|
32
|
+
`/deepwork` and `/dsmm-status` are host-adapter commands, not headless task-text commands. Web exposes host command/status but has no custom panel.
|
|
33
|
+
|
|
34
|
+
Headless uses profile `cordis.patch.yml` plus `--dump-config`; real task execution requires a separately configured provider and uses `dsmm.defaultActive: true`. Old `$DSH_HOME/settings.yaml` namespaces must be migrated explicitly; DSMM does not mutate that file.
|
|
35
|
+
|
|
36
|
+
The old directory discovery `roots/includeUserRoot` no longer configures the native preset registry. DSMM uses native preset definitions in preset-capable hosts and role-specific subagent tool composition; ordinary native subagents otherwise inherit the parent preset. DSH's headless one-shot runner does not select or compose agent presets: headless role delegation must use native role tools, not a registry default. The original managed preset directory materializer remains an opt-in export facility, not discovery evidence.
|
|
37
|
+
|
|
38
|
+
## Evidence limits
|
|
39
|
+
|
|
40
|
+
The Linux packed-lifecycle smoke pins pnpm `12.8.1` and retains DSH's native `nodeLinker: hoisted` profile layout. On Linux Node 22, pnpm `11.9.0` with that layout and DSMM's auto-installed peer graph can print `Done` after removal without exiting; the same failure was reproduced directly without DSH, while `12.8.1` returned normally. A printed `Done` is not uninstall completion. This does not claim the same failure on Windows or modify a user's existing package manager or profile. The smoke enforces a bounded fail-closed timeout and checks actual remove/reinstall exits and profile state.
|
|
41
|
+
|
|
42
|
+
The matrix separates observed CLI/configuration and source-contract evidence from packed runtime and credentialed model evidence. See the dated migration/test report for actual completed checks; a version string or a successful unit test alone does not establish an end-to-end model result. Windows, Linux, Web, and macOS evidence are not interchangeable.
|
|
43
|
+
|
|
44
|
+
LSP/MCP and runtime recovery are disabled by default. V4 Pro calibration remains limited to the exact `deepseek-official/deepseek-v4-pro` route. V41 Flash calibration recognizes only `deepseek-official/deepseek-flash` and `deepseek-account/deepseek-flash`, whose native DSH catalog label is `DeepSeek-V41-Flash`; similarly named third-party models do not match.
|
|
45
|
+
|
|
46
|
+
A credentialed smoke must prove the actual selected request route, DSMM prompt, successful tools, and subsequent model response without substituting another model. Account and API-key authentication are distinct; an AAPI key is not assumed valid for the official endpoint. No publication, browser/UI, untested OS, or future-release claim follows from these checks.
|