@deepseek-ai/dsh 0.1.1-rc.2 → 0.1.2-alpha.3

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,263 +0,0 @@
1
- # The `code` agent preset: the standard coding agent, presented as Code Mode.
2
- #
3
- # Everything in `standard` is here unchanged. What is added is the `tool-presentation`
4
- # row: instead of one tool call per action, the model writes a TypeScript
5
- # program against a generated SDK and `run_code` executes it, so a sequence
6
- # that would be five round trips becomes one.
7
- #
8
- # The registry itself stays on the host plane — the agent loop's scheduler and
9
- # the API proxy's presenters are its consumers — so what this preset owns is
10
- # the PRESENTATION of that registry for this agent alone. Native sessions run
11
- # beside this one in the same process, each seeing its own catalog.
12
- #
13
- # This file is an AGENT-PLANE composition. It is mounted under one agent's
14
- # scope context, so every tool and prompt section it registers belongs to that
15
- # session alone. The host composition (`base.cordis.yml` + `web.cordis.yml`)
16
- # keeps everything a preset must not own: the registries themselves, the
17
- # sandbox and approval stack, persistence, and the model route.
18
- #
19
- # A service row here MUST sit inside a group carrying an `isolate` realm.
20
- # Without one it publishes into the root realm, where it is process-global
21
- # rather than per-session and the second session mounting this preset collides
22
- # with the first; `dsh-agent-presets` rejects that at mount. `true` means an
23
- # entry-local realm — one private instance per mounted session, which is the
24
- # default this deployment wants. A shared label would instead pool one instance
25
- # across every session naming it.
26
-
27
- # ── identity ────────────────────────────────────────────────────────────────
28
-
29
- # The preset's own persona, shadowing the deployment default for this agent.
30
- # `{{model}}` and `{{cwd}}` resolve from the agent's own route and workspace.
31
- - id: persona
32
- name: '@deepseek-ai/dsh-persona'
33
- config:
34
- text: >-
35
- You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
36
-
37
- - id: agent-instructions
38
- name: '@deepseek-ai/dsh-agent-instructions'
39
- config:
40
- maxBytes: 65536
41
-
42
- # ── shell ───────────────────────────────────────────────────────────────────
43
-
44
- # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
45
- # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
46
- # the criterion for host-plane ownership — injection resolves before any session
47
- # exists, so there is no agent to key by. Behind a preset realm those variables
48
- # never reached the model's shell at all. Both shell tools consume the host
49
- # registry from here; their executors (`bash-sandbox`/`pwsh-sandbox`) are
50
- # host-plane too.
51
- - id: tool-bash
52
- name: '@deepseek-ai/dsh-tool-bash'
53
- disabled: !!js process.platform === 'win32'
54
-
55
- - id: tool-pwsh
56
- name: '@deepseek-ai/dsh-tool-pwsh'
57
- disabled: !!js process.platform !== 'win32'
58
-
59
- # ── filesystem ──────────────────────────────────────────────────────────────
60
-
61
- # Both register into the host `tools` registry and provide nothing, so
62
- # they need no realm. The `fs` service and its policy stay in the host.
63
- - id: tool-fs
64
- name: '@deepseek-ai/dsh-tool-fs'
65
-
66
- - id: tool-fs-search
67
- name: '@deepseek-ai/dsh-tool-fs-search'
68
- config:
69
- sampleOverCapGlobResults: false
70
-
71
- # ── background jobs ────────────────────────────────────────────────────────
72
-
73
- # Only the model-facing controls. The task REGISTRY stays on the host plane:
74
- # its producers sit outside any realm this file could put it in — `tool-bash`
75
- # above resolves it with `ctx.get`, and an entry-local realm here is invisible
76
- # to every sibling row, so `run_in_background` would answer "background jobs
77
- # unavailable" while these controls sat in the catalog. The registry is keyed by
78
- # owning agent anyway, so one host instance serves every session. What a preset
79
- # chooses is whether its agent can collect and stop background work at all.
80
- - id: tool-jobs
81
- name: '@deepseek-ai/dsh-tool-jobs'
82
-
83
- # ── skills ──────────────────────────────────────────────────────────────────
84
-
85
- # The skill REGISTRY lives in the host composition and is layered per scope:
86
- # these rows register into THIS preset's layer of it, so they need no realm.
87
- # `skill-filesystem` contributes local-root discovery for agents on this preset, and
88
- # `tool-skill` gives them the catalog and loader; the merged catalog also
89
- # carries whatever the deployment registered globally (repository plugins).
90
- - id: skill-filesystem
91
- name: '@deepseek-ai/dsh-skill-filesystem'
92
-
93
- - id: tool-skill
94
- name: '@deepseek-ai/dsh-tool-skill'
95
-
96
- # ── goals ───────────────────────────────────────────────────────────────────
97
-
98
- # Only the model-facing tool. The goal SERVICE, its session driver, and the
99
- # `/goal` command stay on the host plane: the Gateway serves the goal domain as
100
- # Remote endpoints whose receiver comes from a generated descriptor, so it
101
- # resolves `goals` on the host and an entry-local realm here would hide it. The
102
- # registry is keyed by session anyway, so one host instance serves every
103
- # session. What a preset chooses is whether its agent can call the goal tool.
104
- - id: tool-goal
105
- name: '@deepseek-ai/dsh-tool-goal'
106
-
107
- # ── plan mode ───────────────────────────────────────────────────────────────
108
-
109
- # Plan state is per-agent by nature, so an entry-local realm is not a
110
- # workaround here — it is the correct lifetime.
111
- - id: planning
112
- name: cordis:group
113
- group: true
114
- isolate:
115
- planMode: true
116
- config:
117
- - id: plan-mode
118
- name: '@deepseek-ai/dsh-plan-mode'
119
- config:
120
- section: |
121
- 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.
122
-
123
- 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.
124
-
125
- 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.
126
-
127
- 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.
128
-
129
- 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.
130
-
131
- 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.
132
-
133
- # ── compaction ──────────────────────────────────────────────────────────────
134
-
135
- # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
136
- # share this realm rather than sit outside it.
137
- #
138
- # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
139
- # plane, and the rows here resolve that one instance. It takes no configuration,
140
- # keys every fold by Session, and owns the context-meter projection units the
141
- # browser reads for every session — behind a realm those units would come and go
142
- # with whichever presets happen to be mounted. What a preset chooses is whether
143
- # its agent compacts at all, which is `compaction-basic` below.
144
- - id: compaction
145
- name: cordis:group
146
- group: true
147
- isolate:
148
- compaction: true
149
- toolResultPruner: true
150
- config:
151
- - id: compaction-basic
152
- name: '@deepseek-ai/dsh-compaction-basic'
153
-
154
- - id: command-compact
155
- name: '@deepseek-ai/dsh-command-compact'
156
-
157
- - id: tool-result-pruner
158
- name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
159
- config:
160
- thresholdChars: 8192
161
- headChars: 4096
162
- tailChars: 1024
163
-
164
- # ── delegation and workflows ────────────────────────────────────────────────
165
-
166
- # The `subagents` registry and its spawn/fork backends live in the HOST
167
- # composition: the registry is a process singleton whose cross-session queries
168
- # the api-proxy serves to the browser, and a provider name may only be
169
- # registered once. This preset contributes the delegation TOOLS, which resolve
170
- # that host registry.
171
- #
172
- # `workflows` is different — nothing outside an agent reads it — so every row
173
- # that reaches it shares one entry-local realm here, and a consumer left
174
- # outside would resolve a host registry this preset does not populate.
175
- - id: delegation
176
- name: cordis:group
177
- group: true
178
- isolate:
179
- workflowEngine: true
180
- config:
181
- - id: tool-subagent-control
182
- name: '@deepseek-ai/dsh-tool-subagent-control'
183
-
184
- - id: tool-subagent-list-agents
185
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
186
-
187
- - id: tool-subagent
188
- name: '@deepseek-ai/dsh-tool-subagent'
189
- config:
190
- provider: spawn
191
- toolName: subagent
192
- backgroundMode: continuable
193
-
194
- - id: tool-subagent-fork
195
- name: '@deepseek-ai/dsh-tool-subagent'
196
- config:
197
- provider: fork
198
- toolName: subagent_fork
199
- backgroundMode: continuable
200
-
201
- # Production dsh does not install these optional providers. Install the
202
- # matching Bundle in this Profile and restart the Host, then copy this
203
- # preset and remove `disabled` from the matching tool row. Host availability
204
- # alone grants no tool.
205
- - id: tool-subagent-codex
206
- name: '@deepseek-ai/dsh-tool-subagent'
207
- disabled: true
208
- config:
209
- provider: codex
210
- toolName: subagent_codex
211
- backgroundMode: one-shot
212
- maxDepth: provider-managed
213
-
214
- - id: tool-subagent-claude-code
215
- name: '@deepseek-ai/dsh-tool-subagent'
216
- disabled: true
217
- config:
218
- provider: claude-code
219
- toolName: subagent_claude_code
220
- backgroundMode: one-shot
221
- maxDepth: provider-managed
222
-
223
- - id: workflow-worker-thread
224
- name: '@deepseek-ai/dsh-workflow-worker-thread'
225
- config:
226
- provider: spawn
227
-
228
- - id: tool-workflow
229
- name: '@deepseek-ai/dsh-tool-workflow'
230
-
231
- - id: tool-ralph
232
- name: '@deepseek-ai/dsh-tool-ralph'
233
- config:
234
- subagentProvider: spawn
235
- maxRounds: 64
236
-
237
- # ── remaining model-facing rows ─────────────────────────────────────────────
238
-
239
- - id: tool-ask-user
240
- name: '@deepseek-ai/dsh-tool-ask-user'
241
-
242
- - id: tool-todo
243
- name: '@deepseek-ai/dsh-tool-todo'
244
- config:
245
- allowParallelInProgress: true
246
-
247
- # The `web` service and its search provider stay in the host composition; only
248
- # the model-facing tool is per-session.
249
- - id: tool-web
250
- name: '@deepseek-ai/dsh-tool-web'
251
- config:
252
- fetch: false
253
- searchTimeoutMs: 60000
254
-
255
- # ── presentation ────────────────────────────────────────────────────────────
256
-
257
- # Code Mode for this agent alone. The row waits for the host's `codeRuntime`
258
- # rather than assuming it: a deployment that composes no TypeScript runtime
259
- # fails this preset at mount, naming this id, instead of at the first request.
260
- - id: tool-presentation
261
- name: '@deepseek-ai/dsh-agent-tool-presentation'
262
- config:
263
- mode: code
@@ -1,3 +0,0 @@
1
- name: PTC 模式
2
- description: 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
3
- order: 2
@@ -1,263 +0,0 @@
1
- # The `cordis` agent preset: the standard coding agent, plus the ability to
2
- # read and write the runtime it is running in.
3
- #
4
- # It exists so a person can ask an agent to author another agent. Everything in
5
- # `standard` is here unchanged; what is added is the self-referential Cordis
6
- # toolset, a skill that teaches composition authoring, and a persona that says
7
- # which of the two planes an edit belongs to.
8
- #
9
- # TRUST: `cordis_mount` evaluates model-written JavaScript against the live
10
- # runtime, and a composition this agent writes becomes a preset other sessions
11
- # mount. Treat a session on this preset as shell access — the toolset's own
12
- # documentation makes the same statement.
13
-
14
-
15
- # The preset's own persona, shadowing the deployment default for this agent.
16
- # `{{model}}` and `{{cwd}}` resolve from the agent's own route and workspace.
17
- - id: persona
18
- name: '@deepseek-ai/dsh-persona'
19
- config:
20
- text: |-
21
- You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness. Your working directory is {{cwd}}.
22
-
23
- You can read and modify the harness you run on. Its composition is Cordis: every capability is a plugin row in a `cordis.yml`, and an agent preset is one such file mounted for a single session.
24
-
25
- Two planes decide where an edit belongs. The HOST composition holds the registries and anything shared across sessions — persistence, the sandbox and approval stack, the model route, the subagent registry and its backends. An AGENT PRESET holds what one session contributes to those registries: its tools, its persona, its prompt sections. A row that publishes a service belongs in the host composition, or inside an `isolate` realm if the preset genuinely owns that service and nothing outside one agent reads it.
26
-
27
- Presets you author live one directory per preset under `${DSH_HOME:-$HOME/.dsh}/.agent-presets/<id>/`; the roster reports each preset's real path, so take the one you edit from there. NEVER edit or delete the shipped preset install (the `agent-presets` directory beside the deployment's own config): it belongs to the deployment, an upgrade overwrites it, and corrupting the `cordis` preset would disable this very mode. To change what a shipped preset does, copy its composition into a new preset directory and edit the copy.
28
-
29
- Load the `editing-cordis-compositions` skill before writing or changing a composition.
30
-
31
- - id: agent-instructions
32
- name: '@deepseek-ai/dsh-agent-instructions'
33
- config:
34
- maxBytes: 65536
35
-
36
- # ── shell ───────────────────────────────────────────────────────────────────
37
-
38
- # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
39
- # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
40
- # the criterion for host-plane ownership — injection resolves before any session
41
- # exists, so there is no agent to key by. Behind a preset realm those variables
42
- # never reached the model's shell at all. Both shell tools consume the host
43
- # registry from here; their executors (`bash-sandbox`/`pwsh-sandbox`) are
44
- # host-plane too.
45
- - id: tool-bash
46
- name: '@deepseek-ai/dsh-tool-bash'
47
- disabled: !!js process.platform === 'win32'
48
-
49
- - id: tool-pwsh
50
- name: '@deepseek-ai/dsh-tool-pwsh'
51
- disabled: !!js process.platform !== 'win32'
52
-
53
- # ── filesystem ──────────────────────────────────────────────────────────────
54
-
55
- # Both register into the host `tools` registry and provide nothing, so
56
- # they need no realm. The `fs` service and its policy stay in the host.
57
- - id: tool-fs
58
- name: '@deepseek-ai/dsh-tool-fs'
59
-
60
- - id: tool-fs-search
61
- name: '@deepseek-ai/dsh-tool-fs-search'
62
- config:
63
- sampleOverCapGlobResults: false
64
-
65
- # ── background jobs ────────────────────────────────────────────────────────
66
-
67
- # Only the model-facing controls. The task REGISTRY stays on the host plane:
68
- # its producers sit outside any realm this file could put it in — `tool-bash`
69
- # above resolves it with `ctx.get`, and an entry-local realm here is invisible
70
- # to every sibling row, so `run_in_background` would answer "background jobs
71
- # unavailable" while these controls sat in the catalog. The registry is keyed by
72
- # owning agent anyway, so one host instance serves every session. What a preset
73
- # chooses is whether its agent can collect and stop background work at all.
74
- - id: tool-jobs
75
- name: '@deepseek-ai/dsh-tool-jobs'
76
-
77
- # ── goals ───────────────────────────────────────────────────────────────────
78
-
79
- # Only the model-facing tool. The goal SERVICE, its session driver, and the
80
- # `/goal` command stay on the host plane: the Gateway serves the goal domain as
81
- # Remote endpoints whose receiver comes from a generated descriptor, so it
82
- # resolves `goals` on the host and an entry-local realm here would hide it. The
83
- # registry is keyed by session anyway, so one host instance serves every
84
- # session. What a preset chooses is whether its agent can call the goal tool.
85
- - id: tool-goal
86
- name: '@deepseek-ai/dsh-tool-goal'
87
-
88
- # ── plan mode ───────────────────────────────────────────────────────────────
89
-
90
- # Plan state is per-agent by nature, so an entry-local realm is not a
91
- # workaround here — it is the correct lifetime.
92
- - id: planning
93
- name: cordis:group
94
- group: true
95
- isolate:
96
- planMode: true
97
- config:
98
- - id: plan-mode
99
- name: '@deepseek-ai/dsh-plan-mode'
100
- config:
101
- section: |
102
- 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.
103
-
104
- 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.
105
-
106
- 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.
107
-
108
- 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.
109
-
110
- 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.
111
-
112
- 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.
113
-
114
- # ── compaction ──────────────────────────────────────────────────────────────
115
-
116
- # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
117
- # share this realm rather than sit outside it.
118
- #
119
- # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
120
- # plane, and the rows here resolve that one instance. It takes no configuration,
121
- # keys every fold by Session, and owns the context-meter projection units the
122
- # browser reads for every session — behind a realm those units would come and go
123
- # with whichever presets happen to be mounted. What a preset chooses is whether
124
- # its agent compacts at all, which is `compaction-basic` below.
125
- - id: compaction
126
- name: cordis:group
127
- group: true
128
- isolate:
129
- compaction: true
130
- toolResultPruner: true
131
- config:
132
- - id: compaction-basic
133
- name: '@deepseek-ai/dsh-compaction-basic'
134
-
135
- - id: command-compact
136
- name: '@deepseek-ai/dsh-command-compact'
137
-
138
- - id: tool-result-pruner
139
- name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
140
- config:
141
- thresholdChars: 8192
142
- headChars: 4096
143
- tailChars: 1024
144
-
145
- # ── delegation and workflows ────────────────────────────────────────────────
146
-
147
- # The `subagents` registry and its spawn/fork backends live in the HOST
148
- # composition: the registry is a process singleton whose cross-session queries
149
- # the api-proxy serves to the browser, and a provider name may only be
150
- # registered once. This preset contributes the delegation TOOLS, which resolve
151
- # that host registry.
152
- #
153
- # `workflows` is different — nothing outside an agent reads it — so every row
154
- # that reaches it shares one entry-local realm here, and a consumer left
155
- # outside would resolve a host registry this preset does not populate.
156
- #
157
- # `tool-subagent-report` is host-plane for the same reason as the registry,
158
- # not because a preset may not want it: it registers a CONTINUABLE SETUP on
159
- # that singleton rather than a tool this agent calls, and the setup list is
160
- # not scope-aware — one copy per mounted preset means every child gets
161
- # `report` registered once per live session, which throws on the second.
162
- - id: delegation
163
- name: cordis:group
164
- group: true
165
- isolate:
166
- workflowEngine: true
167
- config:
168
- - id: tool-subagent-control
169
- name: '@deepseek-ai/dsh-tool-subagent-control'
170
-
171
- - id: tool-subagent-list-agents
172
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
173
-
174
- - id: tool-subagent
175
- name: '@deepseek-ai/dsh-tool-subagent'
176
- config:
177
- provider: spawn
178
- toolName: subagent
179
- backgroundMode: continuable
180
-
181
- - id: tool-subagent-fork
182
- name: '@deepseek-ai/dsh-tool-subagent'
183
- config:
184
- provider: fork
185
- toolName: subagent_fork
186
- backgroundMode: continuable
187
-
188
- # Production dsh does not install these optional providers. Install the
189
- # matching Bundle in this Profile and restart the Host, then copy this
190
- # preset and remove `disabled` from the matching tool row. Host availability
191
- # alone grants no tool.
192
- - id: tool-subagent-codex
193
- name: '@deepseek-ai/dsh-tool-subagent'
194
- disabled: true
195
- config:
196
- provider: codex
197
- toolName: subagent_codex
198
- backgroundMode: one-shot
199
- maxDepth: provider-managed
200
-
201
- - id: tool-subagent-claude-code
202
- name: '@deepseek-ai/dsh-tool-subagent'
203
- disabled: true
204
- config:
205
- provider: claude-code
206
- toolName: subagent_claude_code
207
- backgroundMode: one-shot
208
- maxDepth: provider-managed
209
-
210
- - id: workflow-worker-thread
211
- name: '@deepseek-ai/dsh-workflow-worker-thread'
212
- config:
213
- provider: spawn
214
-
215
- - id: tool-workflow
216
- name: '@deepseek-ai/dsh-tool-workflow'
217
-
218
- - id: tool-ralph
219
- name: '@deepseek-ai/dsh-tool-ralph'
220
- config:
221
- subagentProvider: spawn
222
- maxRounds: 64
223
-
224
- # ── remaining model-facing rows ─────────────────────────────────────────────
225
-
226
- - id: tool-ask-user
227
- name: '@deepseek-ai/dsh-tool-ask-user'
228
-
229
- - id: tool-todo
230
- name: '@deepseek-ai/dsh-tool-todo'
231
- config:
232
- allowParallelInProgress: true
233
-
234
- # The `web` service and its search provider stay in the host composition; only
235
- # the model-facing tool is per-session.
236
- - id: tool-web
237
- name: '@deepseek-ai/dsh-tool-web'
238
- config:
239
- fetch: false
240
- searchTimeoutMs: 60000
241
-
242
- # ── self-modification ───────────────────────────────────────────────────────
243
-
244
- # Read the live runtime, mount a temporary plugin, unmount it. The toolset is a
245
- # trust boundary, not a sandbox — see this file's header.
246
- - id: tool-cordis
247
- name: '@deepseek-ai/dsh-tool-cordis'
248
-
249
- # The composition-authoring skill travels with this preset rather than living
250
- # in the user's skill root: it documents THIS deployment's two planes, and a
251
- # preset is the unit that gets copied and edited. `baseUrl` is the preset's
252
- # own directory, so the root resolves wherever the preset is installed.
253
- # Both rows register into THIS preset's layer of the host skill registry, so
254
- # they need no realm; the agent's merged catalog also carries whatever the
255
- # deployment registered globally (repository plugins).
256
- - id: skill-filesystem
257
- name: '@deepseek-ai/dsh-skill-filesystem'
258
- config:
259
- customSkillDirs:
260
- - !!js "process.getBuiltinModule('node:url').fileURLToPath(new URL('skills/', baseUrl))"
261
-
262
- - id: tool-skill
263
- name: '@deepseek-ai/dsh-tool-skill'
@@ -1,3 +0,0 @@
1
- name: 创造模式
2
- description: 用于创建自定义 Agent preset:具备标准模式的全部能力,并提供运行时检查、插件实验和 preset 创作指导。
3
- order: 4