dsh-gitbash-shell 0.31.1 → 0.32.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,268 +0,0 @@
1
- # ERA: dsh <= 0.1.1 text (built-in preset id `code`, presented with mode: code).
2
- # The dsh >= 0.1.2 era text (built-in id `ptc`) lives in agent.cordis.ptc.yml; the
3
- # plugin probes the roster at materialization and writes the picked text as the
4
- # preset's own agent.cordis.yml.
5
- # The `code` agent preset: the standard coding agent, presented as Code Mode.
6
- #
7
- # Everything in `standard` is here unchanged. What is added is the `tool-presentation`
8
- # row: instead of one tool call per action, the model writes a TypeScript
9
- # program against a generated SDK and `run_code` executes it, so a sequence
10
- # that would be five round trips becomes one.
11
- #
12
- # The registry itself stays on the host plane — the agent loop's scheduler and
13
- # the API proxy's presenters are its consumers — so what this preset owns is
14
- # the PRESENTATION of that registry for this agent alone. Native sessions run
15
- # beside this one in the same process, each seeing its own catalog.
16
- #
17
- # This file is an AGENT-PLANE composition. It is mounted under one agent's
18
- # scope context, so every tool and prompt section it registers belongs to that
19
- # session alone. The host composition (`base.cordis.yml` + `web.cordis.yml`)
20
- # keeps everything a preset must not own: the registries themselves, the
21
- # sandbox and approval stack, persistence, and the model route.
22
- #
23
- # A service row here MUST sit inside a group carrying an `isolate` realm.
24
- # Without one it publishes into the root realm, where it is process-global
25
- # rather than per-session and the second session mounting this preset collides
26
- # with the first; `dsh-agent-presets` rejects that at mount. `true` means an
27
- # entry-local realm — one private instance per mounted session, which is the
28
- # default this deployment wants. A shared label would instead pool one instance
29
- # across every session naming it.
30
-
31
- # ── identity ────────────────────────────────────────────────────────────────
32
-
33
- # The preset's own persona, shadowing the deployment default for this agent.
34
- # `{{model}}` and `{{cwd}}` resolve from the agent's own route and workspace.
35
- - id: persona
36
- name: '@deepseek-ai/dsh-persona'
37
- config:
38
- text: >-
39
- You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
40
-
41
- - id: agent-instructions
42
- name: '@deepseek-ai/dsh-agent-instructions'
43
- config:
44
- maxBytes: 65536
45
-
46
- # ── shell ───────────────────────────────────────────────────────────────────
47
-
48
- # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
49
- # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
50
- # the criterion for host-plane ownership — injection resolves before any session
51
- # exists, so there is no agent to key by. Behind a preset realm those variables
52
- # never reached the model's shell at all. Both shell tools consume the host
53
- # registry from here; the host executor is the Git Bash provider (`dsh-gitbash-shell`)
54
- # host-plane too.
55
- - id: tool-bash
56
- name: '@deepseek-ai/dsh-tool-bash'
57
- # Git Bash on Windows: the host executor is dsh-gitbash-shell (see $DSH_HOME/cordis.patch.yml).
58
- disabled: false
59
-
60
- - id: tool-pwsh
61
- name: '@deepseek-ai/dsh-tool-pwsh'
62
- disabled: true
63
-
64
- # ── filesystem ──────────────────────────────────────────────────────────────
65
-
66
- # Both register into the host `tools` registry and provide nothing, so
67
- # they need no realm. The `fs` service and its policy stay in the host.
68
- - id: tool-fs
69
- name: '@deepseek-ai/dsh-tool-fs'
70
-
71
- - id: tool-fs-search
72
- name: '@deepseek-ai/dsh-tool-fs-search'
73
- config:
74
- sampleOverCapGlobResults: false
75
-
76
- # ── background jobs ────────────────────────────────────────────────────────
77
-
78
- # Only the model-facing controls. The task REGISTRY stays on the host plane:
79
- # its producers sit outside any realm this file could put it in — `tool-bash`
80
- # above resolves it with `ctx.get`, and an entry-local realm here is invisible
81
- # to every sibling row, so `run_in_background` would answer "background jobs
82
- # unavailable" while these controls sat in the catalog. The registry is keyed by
83
- # owning agent anyway, so one host instance serves every session. What a preset
84
- # chooses is whether its agent can collect and stop background work at all.
85
- - id: tool-jobs
86
- name: '@deepseek-ai/dsh-tool-jobs'
87
-
88
- # ── skills ──────────────────────────────────────────────────────────────────
89
-
90
- # The skill REGISTRY lives in the host composition and is layered per scope:
91
- # these rows register into THIS preset's layer of it, so they need no realm.
92
- # `skill-filesystem` contributes local-root discovery for agents on this preset, and
93
- # `tool-skill` gives them the catalog and loader; the merged catalog also
94
- # carries whatever the deployment registered globally (repository plugins).
95
- - id: skill-filesystem
96
- name: '@deepseek-ai/dsh-skill-filesystem'
97
-
98
- - id: tool-skill
99
- name: '@deepseek-ai/dsh-tool-skill'
100
-
101
- # ── goals ───────────────────────────────────────────────────────────────────
102
-
103
- # Only the model-facing tool. The goal SERVICE, its session driver, and the
104
- # `/goal` command stay on the host plane: the Gateway serves the goal domain as
105
- # Remote endpoints whose receiver comes from a generated descriptor, so it
106
- # resolves `goals` on the host and an entry-local realm here would hide it. The
107
- # registry is keyed by session anyway, so one host instance serves every
108
- # session. What a preset chooses is whether its agent can call the goal tool.
109
- - id: tool-goal
110
- name: '@deepseek-ai/dsh-tool-goal'
111
-
112
- # ── plan mode ───────────────────────────────────────────────────────────────
113
-
114
- # Plan state is per-agent by nature, so an entry-local realm is not a
115
- # workaround here — it is the correct lifetime.
116
- - id: planning
117
- name: cordis:group
118
- group: true
119
- isolate:
120
- planMode: true
121
- config:
122
- - id: plan-mode
123
- name: '@deepseek-ai/dsh-plan-mode'
124
- config:
125
- section: |
126
- 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.
127
-
128
- 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.
129
-
130
- 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.
131
-
132
- 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.
133
-
134
- 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.
135
-
136
- 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.
137
-
138
- # ── compaction ──────────────────────────────────────────────────────────────
139
-
140
- # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
141
- # share this realm rather than sit outside it.
142
- #
143
- # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
144
- # plane, and the rows here resolve that one instance. It takes no configuration,
145
- # keys every fold by Session, and owns the context-meter projection units the
146
- # browser reads for every session — behind a realm those units would come and go
147
- # with whichever presets happen to be mounted. What a preset chooses is whether
148
- # its agent compacts at all, which is `compaction-basic` below.
149
- - id: compaction
150
- name: cordis:group
151
- group: true
152
- isolate:
153
- compaction: true
154
- toolResultPruner: true
155
- config:
156
- - id: compaction-basic
157
- name: '@deepseek-ai/dsh-compaction-basic'
158
-
159
- - id: command-compact
160
- name: '@deepseek-ai/dsh-command-compact'
161
-
162
- - id: tool-result-pruner
163
- name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
164
- config:
165
- thresholdChars: 8192
166
- headChars: 4096
167
- tailChars: 1024
168
-
169
- # ── delegation and workflows ────────────────────────────────────────────────
170
-
171
- # The `subagents` registry and its spawn/fork backends live in the HOST
172
- # composition: the registry is a process singleton whose cross-session queries
173
- # the api-proxy serves to the browser, and a provider name may only be
174
- # registered once. This preset contributes the delegation TOOLS, which resolve
175
- # that host registry.
176
- #
177
- # `workflows` is different — nothing outside an agent reads it — so every row
178
- # that reaches it shares one entry-local realm here, and a consumer left
179
- # outside would resolve a host registry this preset does not populate.
180
- - id: delegation
181
- name: cordis:group
182
- group: true
183
- isolate:
184
- workflowEngine: true
185
- config:
186
- - id: tool-subagent-control
187
- name: '@deepseek-ai/dsh-tool-subagent-control'
188
-
189
- - id: tool-subagent-list-agents
190
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
191
-
192
- - id: tool-subagent
193
- name: '@deepseek-ai/dsh-tool-subagent'
194
- config:
195
- provider: spawn
196
- toolName: subagent
197
- backgroundMode: continuable
198
-
199
- - id: tool-subagent-fork
200
- name: '@deepseek-ai/dsh-tool-subagent'
201
- config:
202
- provider: fork
203
- toolName: subagent_fork
204
- backgroundMode: continuable
205
-
206
- # Production dsh does not install these optional providers. Install the
207
- # matching Bundle in this Profile and restart the Host, then copy this
208
- # preset and remove `disabled` from the matching tool row. Host availability
209
- # alone grants no tool.
210
- - id: tool-subagent-codex
211
- name: '@deepseek-ai/dsh-tool-subagent'
212
- disabled: true
213
- config:
214
- provider: codex
215
- toolName: subagent_codex
216
- backgroundMode: one-shot
217
- maxDepth: provider-managed
218
-
219
- - id: tool-subagent-claude-code
220
- name: '@deepseek-ai/dsh-tool-subagent'
221
- disabled: true
222
- config:
223
- provider: claude-code
224
- toolName: subagent_claude_code
225
- backgroundMode: one-shot
226
- maxDepth: provider-managed
227
-
228
- - id: workflow-worker-thread
229
- name: '@deepseek-ai/dsh-workflow-worker-thread'
230
- config:
231
- provider: spawn
232
-
233
- - id: tool-workflow
234
- name: '@deepseek-ai/dsh-tool-workflow'
235
-
236
- - id: tool-ralph
237
- name: '@deepseek-ai/dsh-tool-ralph'
238
- config:
239
- subagentProvider: spawn
240
- maxRounds: 64
241
-
242
- # ── remaining model-facing rows ─────────────────────────────────────────────
243
-
244
- - id: tool-ask-user
245
- name: '@deepseek-ai/dsh-tool-ask-user'
246
-
247
- - id: tool-todo
248
- name: '@deepseek-ai/dsh-tool-todo'
249
- config:
250
- allowParallelInProgress: true
251
-
252
- # The `web` service and its search provider stay in the host composition; only
253
- # the model-facing tool is per-session.
254
- - id: tool-web
255
- name: '@deepseek-ai/dsh-tool-web'
256
- config:
257
- fetch: false
258
- searchTimeoutMs: 60000
259
-
260
- # ── presentation ────────────────────────────────────────────────────────────
261
-
262
- # Code Mode for this agent alone. The row waits for the host's `codeRuntime`
263
- # rather than assuming it: a deployment that composes no TypeScript runtime
264
- # fails this preset at mount, naming this id, instead of at the first request.
265
- - id: tool-presentation
266
- name: '@deepseek-ai/dsh-agent-tool-presentation'
267
- config:
268
- mode: code
@@ -1,3 +0,0 @@
1
- name: PTC 模式 · Git Bash
2
- description: 功能完整的编码 Agent,但默认不提供 workflow 工具;其他工具通过 PTC 模式 SDK 呈现,让模型用一个 TypeScript 程序组合多步操作。(Shell 使用 Git Bash)
3
- order: 2
@@ -1,283 +0,0 @@
1
- # ERA (persona-split): dsh >= 0.1.3-alpha.2 text — the persona row uses the
2
- # `prefix:`/`suffix:` keys (40792330c0 split dsh-persona single text key).
3
- # The pre-split texts live in the sibling files named in the banner below; the
4
- # plugin probes the roster AND the persona form at materialization and writes
5
- # the picked text as the preset own agent.cordis.yml.
6
- # ERA: dsh >= 0.1.2 text (renamed built-in rows, incl. the new `command-goal`).
7
- # The dsh <= 0.1.1 era text lives in agent.cordis.yml; the plugin probes the
8
- # roster at materialization and writes the picked text as the preset's own
9
- # agent.cordis.yml.
10
- # The `cordis` agent preset: the standard coding agent, plus the ability to
11
- # read and write the runtime it is running in.
12
- #
13
- # It exists so a person can ask an agent to author another agent. Everything in
14
- # `standard` is here unchanged; what is added is the self-referential Cordis
15
- # toolset, a skill that teaches composition authoring, and a persona that says
16
- # which of the two planes an edit belongs to.
17
- #
18
- # TRUST: `cordis_mount` evaluates model-written JavaScript against the live
19
- # runtime, and a composition this agent writes becomes a preset other sessions
20
- # mount. Treat a session on this preset as shell access — the toolset's own
21
- # documentation makes the same statement.
22
-
23
-
24
- # The preset's own persona, shadowing the deployment default for this agent.
25
- # `{{model}}` and `{{cwd}}` resolve from the agent's own route and workspace.
26
- - id: persona
27
- name: '@deepseek-ai/dsh-persona'
28
- config:
29
- suffix: Your working directory is {{cwd}}.
30
- prefix: |-
31
- You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness.
32
-
33
- 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.
34
-
35
- 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.
36
-
37
- Presets you author live one directory per preset under `${DSH_HOME:-$HOME/.dsh}/.agent-presets/<id>/`. Load `editing-cordis-compositions` for file discovery and copying instructions. 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.
38
-
39
- Load the `editing-cordis-compositions` skill before writing or changing a composition.
40
-
41
- Use plugin_manager for persistent bundle installation, removal and enablement in the current profile. Author plugin code and configuration as ordinary workspace bundle files. Changes affect every session in that profile. Read saved-state and activation outcomes separately; restart-required means the new capability is not available yet.
42
-
43
- In Creator mode, requests to make a visual object, decoration, or widget mean creating an installed UI plugin that displays it in this Harness Web UI, unless the user specifies another destination. Choose reasonable visual details and proceed. Load cordis-plugin-development, inspect the Client slots, build the plugin in the workspace, and install it with plugin_manager. Install a minimal working version before visual refinement; use the connected page as its preview. Verify that the open page renders it; a standalone image or HTML file does not complete an in-app creation request.
44
-
45
- Load the cordis-plugin-development skill before authoring an installed plugin. Use cordis_inspect_list to discover Host and Client providers, then cordis_inspect_query to read exact Service, Event, Tool, Theme or Slot APIs. These tools are read-only; queries do not invoke business methods.
46
-
47
- To connect an MCP server, create a configuration-only bundle whose patch inserts @deepseek-ai/dsh-mcp-client, then install it with plugin_manager. Load cordis-plugin-development for the package and YAML examples. After successful activation, call one of the newly available mcp__<serverName>__<tool> tools to verify the connection.
48
-
49
- Use installed bundles for new plugin code. Package installation may require explicit user approval for build scripts. Preserve returned failures and pending states; only report success after observing the requested capability.
50
-
51
- - id: agent-instructions
52
- name: '@deepseek-ai/dsh-agent-instructions'
53
- config:
54
- maxBytes: 65536
55
-
56
- # ── shell ───────────────────────────────────────────────────────────────────
57
-
58
- # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
59
- # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
60
- # the criterion for host-plane ownership — injection resolves before any session
61
- # exists, so there is no agent to key by. Behind a preset realm those variables
62
- # never reached the model's shell at all. Both shell tools consume the host
63
- # registry from here; the host executor is the Git Bash provider (`dsh-gitbash-shell`)
64
- # host-plane too.
65
- - id: tool-bash
66
- name: '@deepseek-ai/dsh-tool-bash'
67
- # Git Bash on Windows: the host executor is dsh-gitbash-shell (see $DSH_HOME/cordis.patch.yml).
68
- disabled: false
69
-
70
- - id: tool-pwsh
71
- name: '@deepseek-ai/dsh-tool-pwsh'
72
- disabled: true
73
-
74
- # ── filesystem ──────────────────────────────────────────────────────────────
75
-
76
- # Both register into the host `tools` registry and provide nothing, so
77
- # they need no realm. The `fs` service and its policy stay in the host.
78
- - id: tool-fs
79
- name: '@deepseek-ai/dsh-tool-fs'
80
-
81
- - id: tool-fs-search
82
- name: '@deepseek-ai/dsh-tool-fs-search'
83
- config:
84
- sampleOverCapGlobResults: false
85
-
86
- # ── background jobs ────────────────────────────────────────────────────────
87
-
88
- # Only the model-facing controls. The task REGISTRY stays on the host plane:
89
- # its producers sit outside any realm this file could put it in — `tool-bash`
90
- # above resolves it with `ctx.get`, and an entry-local realm here is invisible
91
- # to every sibling row, so `run_in_background` would answer "background jobs
92
- # unavailable" while these controls sat in the catalog. The registry is keyed by
93
- # owning agent anyway, so one host instance serves every session. What a preset
94
- # chooses is whether its agent can collect and stop background work at all.
95
- - id: tool-jobs
96
- name: '@deepseek-ai/dsh-tool-jobs'
97
-
98
- # ── goals ───────────────────────────────────────────────────────────────────
99
-
100
- # The goal service and session driver stay on the host plane, where the Gateway
101
- # can resolve them. The human command and model-facing tool register into this
102
- # preset's scoped layers.
103
- - id: command-goal
104
- name: '@deepseek-ai/dsh-command-goal'
105
-
106
- - id: tool-goal
107
- name: '@deepseek-ai/dsh-tool-goal'
108
-
109
- # ── plan mode ───────────────────────────────────────────────────────────────
110
-
111
- # Plan state is per-agent by nature, so an entry-local realm is not a
112
- # workaround here — it is the correct lifetime.
113
- - id: planning
114
- name: cordis:group
115
- group: true
116
- isolate:
117
- planMode: true
118
- config:
119
- - id: plan-mode
120
- name: '@deepseek-ai/dsh-plan-mode'
121
- config:
122
- section: |
123
- 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.
124
-
125
- 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.
126
-
127
- 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.
128
-
129
- 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.
130
-
131
- 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.
132
-
133
- 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.
134
-
135
- # ── compaction ──────────────────────────────────────────────────────────────
136
-
137
- # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
138
- # share this realm rather than sit outside it.
139
- #
140
- # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
141
- # plane, and the rows here resolve that one instance. It takes no configuration,
142
- # keys every fold by Session, and owns the context-meter projection units the
143
- # browser reads for every session — behind a realm those units would come and go
144
- # with whichever presets happen to be mounted. What a preset chooses is whether
145
- # its agent compacts at all, which is `compaction-basic` below.
146
- - id: compaction
147
- name: cordis:group
148
- group: true
149
- isolate:
150
- compaction: true
151
- toolResultPruner: true
152
- config:
153
- - id: compaction-basic
154
- name: '@deepseek-ai/dsh-compaction-basic'
155
-
156
- - id: command-compact
157
- name: '@deepseek-ai/dsh-command-compact'
158
-
159
- - id: tool-result-pruner
160
- name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
161
- config:
162
- thresholdChars: 8192
163
- headChars: 4096
164
- tailChars: 1024
165
-
166
- # ── delegation and workflows ────────────────────────────────────────────────
167
-
168
- # The `subagents` registry and its spawn/fork backends live in the HOST
169
- # composition: the registry is a process singleton whose cross-session queries
170
- # the api-proxy serves to the browser, and a provider name may only be
171
- # registered once. This preset contributes the delegation TOOLS, which resolve
172
- # that host registry.
173
- #
174
- # `workflows` is different — nothing outside an agent reads it — so every row
175
- # that reaches it shares one entry-local realm here, and a consumer left
176
- # outside would resolve a host registry this preset does not populate.
177
- - id: delegation
178
- name: cordis:group
179
- group: true
180
- isolate:
181
- workflowEngine: true
182
- config:
183
- - id: tool-subagent-control
184
- name: '@deepseek-ai/dsh-tool-subagent-control'
185
-
186
- - id: tool-subagent-list-agents
187
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
188
-
189
- - id: tool-subagent
190
- name: '@deepseek-ai/dsh-tool-subagent'
191
- config:
192
- provider: spawn
193
- toolName: subagent
194
- modelSelectionSettings: true
195
- backgroundMode: continuable
196
-
197
- # Fork omits model selection so provider/model stay equal to the parent and
198
- # the inherited history remains eligible for KV Cache reuse. This preset
199
- # keeps fork continuable; parent and child inherit the same messaging tool,
200
- # while the parent id and return guidance follow the inherited history.
201
- - id: tool-subagent-fork
202
- name: '@deepseek-ai/dsh-tool-subagent'
203
- config:
204
- provider: fork
205
- toolName: subagent_fork
206
- backgroundMode: continuable
207
-
208
- # Production dsh does not install these optional providers. Install the
209
- # matching Bundle in this Profile and restart the Host, then copy this
210
- # preset and remove `disabled` from the matching tool row. Host availability
211
- # alone grants no tool.
212
- - id: tool-subagent-codex
213
- name: '@deepseek-ai/dsh-tool-subagent'
214
- disabled: true
215
- config:
216
- provider: codex
217
- toolName: subagent_codex
218
- backgroundMode: one-shot
219
- maxDepth: provider-managed
220
-
221
- - id: tool-subagent-claude-code
222
- name: '@deepseek-ai/dsh-tool-subagent'
223
- disabled: true
224
- config:
225
- provider: claude-code
226
- toolName: subagent_claude_code
227
- backgroundMode: one-shot
228
- maxDepth: provider-managed
229
-
230
- - id: workflow-worker-thread
231
- name: '@deepseek-ai/dsh-workflow-worker-thread'
232
- config:
233
- provider: spawn
234
-
235
- - id: tool-workflow
236
- name: '@deepseek-ai/dsh-tool-workflow'
237
-
238
- - id: tool-ralph
239
- name: '@deepseek-ai/dsh-tool-ralph'
240
- config:
241
- subagentProvider: spawn
242
- maxRounds: 64
243
-
244
- # ── remaining model-facing rows ─────────────────────────────────────────────
245
-
246
- - id: tool-ask-user
247
- name: '@deepseek-ai/dsh-tool-ask-user'
248
-
249
- - id: tool-todo
250
- name: '@deepseek-ai/dsh-tool-todo'
251
- config:
252
- allowParallelInProgress: true
253
-
254
- # The `web` service and its search provider stay in the host composition; only
255
- # the model-facing tool is per-session.
256
- - id: tool-web
257
- name: '@deepseek-ai/dsh-tool-web'
258
- config:
259
- fetch: true
260
- searchTimeoutMs: 60000
261
-
262
- # ── self-modification ───────────────────────────────────────────────────────
263
-
264
- # Read the live runtime, mount a temporary plugin, unmount it. The toolset is a
265
- # trust boundary, not a sandbox — see this file's header.
266
- - id: tool-cordis
267
- name: '@deepseek-ai/dsh-tool-cordis'
268
-
269
- # The composition-authoring skill travels with this preset rather than living
270
- # in the user's skill root: it documents THIS deployment's two planes, and a
271
- # preset is the unit that gets copied and edited. `baseUrl` is the preset's
272
- # own directory, so the root resolves wherever the preset is installed.
273
- # Both rows register into THIS preset's layer of the host skill registry, so
274
- # they need no realm; the agent's merged catalog also carries whatever the
275
- # deployment registered globally (repository plugins).
276
- - id: skill-filesystem
277
- name: '@deepseek-ai/dsh-skill-filesystem'
278
- config:
279
- customSkillDirs:
280
- - !!js "process.getBuiltinModule('node:url').fileURLToPath(new URL('skills/', baseUrl))"
281
-
282
- - id: tool-skill
283
- name: '@deepseek-ai/dsh-tool-skill'