dsh-gitbash-shell 0.31.1 → 0.32.1

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,267 +0,0 @@
1
- # ERA: dsh >= 0.1.2 text (renamed built-in rows, incl. the new `command-goal`).
2
- # The dsh <= 0.1.1 era text lives in agent.cordis.yml; the plugin probes the
3
- # roster at materialization and writes the picked text as the preset's own
4
- # agent.cordis.yml.
5
- # The `cordis` agent preset: the standard coding agent, plus the ability to
6
- # read and write the runtime it is running in.
7
- #
8
- # It exists so a person can ask an agent to author another agent. Everything in
9
- # `standard` is here unchanged; what is added is the self-referential Cordis
10
- # toolset, a skill that teaches composition authoring, and a persona that says
11
- # which of the two planes an edit belongs to.
12
- #
13
- # TRUST: `cordis_mount` evaluates model-written JavaScript against the live
14
- # runtime, and a composition this agent writes becomes a preset other sessions
15
- # mount. Treat a session on this preset as shell access — the toolset's own
16
- # documentation makes the same statement.
17
-
18
-
19
- # The preset's own persona, shadowing the deployment default for this agent.
20
- # `{{model}}` and `{{cwd}}` resolve from the agent's own route and workspace.
21
- - id: persona
22
- name: '@deepseek-ai/dsh-persona'
23
- config:
24
- text: |-
25
- You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness. Your working directory is {{cwd}}.
26
-
27
- 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.
28
-
29
- 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.
30
-
31
- 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.
32
-
33
- Load the `editing-cordis-compositions` skill before writing or changing a composition.
34
-
35
- - id: agent-instructions
36
- name: '@deepseek-ai/dsh-agent-instructions'
37
- config:
38
- maxBytes: 65536
39
-
40
- # ── shell ───────────────────────────────────────────────────────────────────
41
-
42
- # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
43
- # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
44
- # the criterion for host-plane ownership — injection resolves before any session
45
- # exists, so there is no agent to key by. Behind a preset realm those variables
46
- # never reached the model's shell at all. Both shell tools consume the host
47
- # registry from here; the host executor is the Git Bash provider (`dsh-gitbash-shell`)
48
- # host-plane too.
49
- - id: tool-bash
50
- name: '@deepseek-ai/dsh-tool-bash'
51
- # Git Bash on Windows: the host executor is dsh-gitbash-shell (see $DSH_HOME/cordis.patch.yml).
52
- disabled: false
53
-
54
- - id: tool-pwsh
55
- name: '@deepseek-ai/dsh-tool-pwsh'
56
- disabled: true
57
-
58
- # ── filesystem ──────────────────────────────────────────────────────────────
59
-
60
- # Both register into the host `tools` registry and provide nothing, so
61
- # they need no realm. The `fs` service and its policy stay in the host.
62
- - id: tool-fs
63
- name: '@deepseek-ai/dsh-tool-fs'
64
-
65
- - id: tool-fs-search
66
- name: '@deepseek-ai/dsh-tool-fs-search'
67
- config:
68
- sampleOverCapGlobResults: false
69
-
70
- # ── background jobs ────────────────────────────────────────────────────────
71
-
72
- # Only the model-facing controls. The task REGISTRY stays on the host plane:
73
- # its producers sit outside any realm this file could put it in — `tool-bash`
74
- # above resolves it with `ctx.get`, and an entry-local realm here is invisible
75
- # to every sibling row, so `run_in_background` would answer "background jobs
76
- # unavailable" while these controls sat in the catalog. The registry is keyed by
77
- # owning agent anyway, so one host instance serves every session. What a preset
78
- # chooses is whether its agent can collect and stop background work at all.
79
- - id: tool-jobs
80
- name: '@deepseek-ai/dsh-tool-jobs'
81
-
82
- # ── goals ───────────────────────────────────────────────────────────────────
83
-
84
- # The goal service and session driver stay on the host plane, where the Gateway
85
- # can resolve them. The human command and model-facing tool register into this
86
- # preset's scoped layers.
87
- - id: command-goal
88
- name: '@deepseek-ai/dsh-command-goal'
89
-
90
- - id: tool-goal
91
- name: '@deepseek-ai/dsh-tool-goal'
92
-
93
- # ── plan mode ───────────────────────────────────────────────────────────────
94
-
95
- # Plan state is per-agent by nature, so an entry-local realm is not a
96
- # workaround here — it is the correct lifetime.
97
- - id: planning
98
- name: cordis:group
99
- group: true
100
- isolate:
101
- planMode: true
102
- config:
103
- - id: plan-mode
104
- name: '@deepseek-ai/dsh-plan-mode'
105
- config:
106
- section: |
107
- 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.
108
-
109
- 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.
110
-
111
- 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.
112
-
113
- 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.
114
-
115
- 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.
116
-
117
- 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.
118
-
119
- # ── compaction ──────────────────────────────────────────────────────────────
120
-
121
- # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
122
- # share this realm rather than sit outside it.
123
- #
124
- # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
125
- # plane, and the rows here resolve that one instance. It takes no configuration,
126
- # keys every fold by Session, and owns the context-meter projection units the
127
- # browser reads for every session — behind a realm those units would come and go
128
- # with whichever presets happen to be mounted. What a preset chooses is whether
129
- # its agent compacts at all, which is `compaction-basic` below.
130
- - id: compaction
131
- name: cordis:group
132
- group: true
133
- isolate:
134
- compaction: true
135
- toolResultPruner: true
136
- config:
137
- - id: compaction-basic
138
- name: '@deepseek-ai/dsh-compaction-basic'
139
-
140
- - id: command-compact
141
- name: '@deepseek-ai/dsh-command-compact'
142
-
143
- - id: tool-result-pruner
144
- name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
145
- config:
146
- thresholdChars: 8192
147
- headChars: 4096
148
- tailChars: 1024
149
-
150
- # ── delegation and workflows ────────────────────────────────────────────────
151
-
152
- # The `subagents` registry and its spawn/fork backends live in the HOST
153
- # composition: the registry is a process singleton whose cross-session queries
154
- # the api-proxy serves to the browser, and a provider name may only be
155
- # registered once. This preset contributes the delegation TOOLS, which resolve
156
- # that host registry.
157
- #
158
- # `workflows` is different — nothing outside an agent reads it — so every row
159
- # that reaches it shares one entry-local realm here, and a consumer left
160
- # outside would resolve a host registry this preset does not populate.
161
- - id: delegation
162
- name: cordis:group
163
- group: true
164
- isolate:
165
- workflowEngine: true
166
- config:
167
- - id: tool-subagent-control
168
- name: '@deepseek-ai/dsh-tool-subagent-control'
169
-
170
- - id: tool-subagent-list-agents
171
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
172
-
173
- - id: tool-subagent
174
- name: '@deepseek-ai/dsh-tool-subagent'
175
- config:
176
- provider: spawn
177
- toolName: subagent
178
- modelSelectionSettings: true
179
- backgroundMode: continuable
180
-
181
- # Fork omits model selection so provider/model stay equal to the parent and
182
- # the inherited history remains eligible for KV Cache reuse. This preset
183
- # keeps fork continuable; parent and child inherit the same messaging tool,
184
- # while the parent id and return guidance follow the inherited history.
185
- - id: tool-subagent-fork
186
- name: '@deepseek-ai/dsh-tool-subagent'
187
- config:
188
- provider: fork
189
- toolName: subagent_fork
190
- backgroundMode: continuable
191
-
192
- # Production dsh does not install these optional providers. Install the
193
- # matching Bundle in this Profile and restart the Host, then copy this
194
- # preset and remove `disabled` from the matching tool row. Host availability
195
- # alone grants no tool.
196
- - id: tool-subagent-codex
197
- name: '@deepseek-ai/dsh-tool-subagent'
198
- disabled: true
199
- config:
200
- provider: codex
201
- toolName: subagent_codex
202
- backgroundMode: one-shot
203
- maxDepth: provider-managed
204
-
205
- - id: tool-subagent-claude-code
206
- name: '@deepseek-ai/dsh-tool-subagent'
207
- disabled: true
208
- config:
209
- provider: claude-code
210
- toolName: subagent_claude_code
211
- backgroundMode: one-shot
212
- maxDepth: provider-managed
213
-
214
- - id: workflow-worker-thread
215
- name: '@deepseek-ai/dsh-workflow-worker-thread'
216
- config:
217
- provider: spawn
218
-
219
- - id: tool-workflow
220
- name: '@deepseek-ai/dsh-tool-workflow'
221
-
222
- - id: tool-ralph
223
- name: '@deepseek-ai/dsh-tool-ralph'
224
- config:
225
- subagentProvider: spawn
226
- maxRounds: 64
227
-
228
- # ── remaining model-facing rows ─────────────────────────────────────────────
229
-
230
- - id: tool-ask-user
231
- name: '@deepseek-ai/dsh-tool-ask-user'
232
-
233
- - id: tool-todo
234
- name: '@deepseek-ai/dsh-tool-todo'
235
- config:
236
- allowParallelInProgress: true
237
-
238
- # The `web` service and its search provider stay in the host composition; only
239
- # the model-facing tool is per-session.
240
- - id: tool-web
241
- name: '@deepseek-ai/dsh-tool-web'
242
- config:
243
- fetch: true
244
- searchTimeoutMs: 60000
245
-
246
- # ── self-modification ───────────────────────────────────────────────────────
247
-
248
- # Read the live runtime, mount a temporary plugin, unmount it. The toolset is a
249
- # trust boundary, not a sandbox — see this file's header.
250
- - id: tool-cordis
251
- name: '@deepseek-ai/dsh-tool-cordis'
252
-
253
- # The composition-authoring skill travels with this preset rather than living
254
- # in the user's skill root: it documents THIS deployment's two planes, and a
255
- # preset is the unit that gets copied and edited. `baseUrl` is the preset's
256
- # own directory, so the root resolves wherever the preset is installed.
257
- # Both rows register into THIS preset's layer of the host skill registry, so
258
- # they need no realm; the agent's merged catalog also carries whatever the
259
- # deployment registered globally (repository plugins).
260
- - id: skill-filesystem
261
- name: '@deepseek-ai/dsh-skill-filesystem'
262
- config:
263
- customSkillDirs:
264
- - !!js "process.getBuiltinModule('node:url').fileURLToPath(new URL('skills/', baseUrl))"
265
-
266
- - id: tool-skill
267
- name: '@deepseek-ai/dsh-tool-skill'
@@ -1,267 +0,0 @@
1
- # ERA: dsh <= 0.1.1 text (pre-rename built-in rows). The dsh >= 0.1.2 era text
2
- # lives in agent.cordis.ptc.yml; the plugin probes the roster at materialization
3
- # and writes the picked text as the preset's own agent.cordis.yml.
4
- # The `cordis` agent preset: the standard coding agent, plus the ability to
5
- # read and write the runtime it is running in.
6
- #
7
- # It exists so a person can ask an agent to author another agent. Everything in
8
- # `standard` is here unchanged; what is added is the self-referential Cordis
9
- # toolset, a skill that teaches composition authoring, and a persona that says
10
- # which of the two planes an edit belongs to.
11
- #
12
- # TRUST: `cordis_mount` evaluates model-written JavaScript against the live
13
- # runtime, and a composition this agent writes becomes a preset other sessions
14
- # mount. Treat a session on this preset as shell access — the toolset's own
15
- # documentation makes the same statement.
16
-
17
-
18
- # The preset's own persona, shadowing the deployment default for this agent.
19
- # `{{model}}` and `{{cwd}}` resolve from the agent's own route and workspace.
20
- - id: persona
21
- name: '@deepseek-ai/dsh-persona'
22
- config:
23
- text: |-
24
- You are a coding agent powered by the {{model}} model, running on the DeepSeek Harness. Your working directory is {{cwd}}.
25
-
26
- 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.
27
-
28
- 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.
29
-
30
- 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.
31
-
32
- Load the `editing-cordis-compositions` skill before writing or changing a composition.
33
-
34
- - id: agent-instructions
35
- name: '@deepseek-ai/dsh-agent-instructions'
36
- config:
37
- maxBytes: 65536
38
-
39
- # ── shell ───────────────────────────────────────────────────────────────────
40
-
41
- # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
42
- # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
43
- # the criterion for host-plane ownership — injection resolves before any session
44
- # exists, so there is no agent to key by. Behind a preset realm those variables
45
- # never reached the model's shell at all. Both shell tools consume the host
46
- # registry from here; the host executor is the Git Bash provider (`dsh-gitbash-shell`)
47
- # host-plane too.
48
- - id: tool-bash
49
- name: '@deepseek-ai/dsh-tool-bash'
50
- # Git Bash on Windows: the host executor is dsh-gitbash-shell (see $DSH_HOME/cordis.patch.yml).
51
- disabled: false
52
-
53
- - id: tool-pwsh
54
- name: '@deepseek-ai/dsh-tool-pwsh'
55
- disabled: true
56
-
57
- # ── filesystem ──────────────────────────────────────────────────────────────
58
-
59
- # Both register into the host `tools` registry and provide nothing, so
60
- # they need no realm. The `fs` service and its policy stay in the host.
61
- - id: tool-fs
62
- name: '@deepseek-ai/dsh-tool-fs'
63
-
64
- - id: tool-fs-search
65
- name: '@deepseek-ai/dsh-tool-fs-search'
66
- config:
67
- sampleOverCapGlobResults: false
68
-
69
- # ── background jobs ────────────────────────────────────────────────────────
70
-
71
- # Only the model-facing controls. The task REGISTRY stays on the host plane:
72
- # its producers sit outside any realm this file could put it in — `tool-bash`
73
- # above resolves it with `ctx.get`, and an entry-local realm here is invisible
74
- # to every sibling row, so `run_in_background` would answer "background jobs
75
- # unavailable" while these controls sat in the catalog. The registry is keyed by
76
- # owning agent anyway, so one host instance serves every session. What a preset
77
- # chooses is whether its agent can collect and stop background work at all.
78
- - id: tool-jobs
79
- name: '@deepseek-ai/dsh-tool-jobs'
80
-
81
- # ── goals ───────────────────────────────────────────────────────────────────
82
-
83
- # Only the model-facing tool. The goal SERVICE, its session driver, and the
84
- # `/goal` command stay on the host plane: the Gateway serves the goal domain as
85
- # Remote endpoints whose receiver comes from a generated descriptor, so it
86
- # resolves `goals` on the host and an entry-local realm here would hide it. The
87
- # registry is keyed by session anyway, so one host instance serves every
88
- # session. What a preset chooses is whether its agent can call the goal tool.
89
- - id: tool-goal
90
- name: '@deepseek-ai/dsh-tool-goal'
91
-
92
- # ── plan mode ───────────────────────────────────────────────────────────────
93
-
94
- # Plan state is per-agent by nature, so an entry-local realm is not a
95
- # workaround here — it is the correct lifetime.
96
- - id: planning
97
- name: cordis:group
98
- group: true
99
- isolate:
100
- planMode: true
101
- config:
102
- - id: plan-mode
103
- name: '@deepseek-ai/dsh-plan-mode'
104
- config:
105
- section: |
106
- 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.
107
-
108
- 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.
109
-
110
- 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.
111
-
112
- 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.
113
-
114
- 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.
115
-
116
- 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.
117
-
118
- # ── compaction ──────────────────────────────────────────────────────────────
119
-
120
- # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
121
- # share this realm rather than sit outside it.
122
- #
123
- # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
124
- # plane, and the rows here resolve that one instance. It takes no configuration,
125
- # keys every fold by Session, and owns the context-meter projection units the
126
- # browser reads for every session — behind a realm those units would come and go
127
- # with whichever presets happen to be mounted. What a preset chooses is whether
128
- # its agent compacts at all, which is `compaction-basic` below.
129
- - id: compaction
130
- name: cordis:group
131
- group: true
132
- isolate:
133
- compaction: true
134
- toolResultPruner: true
135
- config:
136
- - id: compaction-basic
137
- name: '@deepseek-ai/dsh-compaction-basic'
138
-
139
- - id: command-compact
140
- name: '@deepseek-ai/dsh-command-compact'
141
-
142
- - id: tool-result-pruner
143
- name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
144
- config:
145
- thresholdChars: 8192
146
- headChars: 4096
147
- tailChars: 1024
148
-
149
- # ── delegation and workflows ────────────────────────────────────────────────
150
-
151
- # The `subagents` registry and its spawn/fork backends live in the HOST
152
- # composition: the registry is a process singleton whose cross-session queries
153
- # the api-proxy serves to the browser, and a provider name may only be
154
- # registered once. This preset contributes the delegation TOOLS, which resolve
155
- # that host registry.
156
- #
157
- # `workflows` is different — nothing outside an agent reads it — so every row
158
- # that reaches it shares one entry-local realm here, and a consumer left
159
- # outside would resolve a host registry this preset does not populate.
160
- #
161
- # `tool-subagent-report` is host-plane for the same reason as the registry,
162
- # not because a preset may not want it: it registers a CONTINUABLE SETUP on
163
- # that singleton rather than a tool this agent calls, and the setup list is
164
- # not scope-aware — one copy per mounted preset means every child gets
165
- # `report` registered once per live session, which throws on the second.
166
- - id: delegation
167
- name: cordis:group
168
- group: true
169
- isolate:
170
- workflowEngine: true
171
- config:
172
- - id: tool-subagent-control
173
- name: '@deepseek-ai/dsh-tool-subagent-control'
174
-
175
- - id: tool-subagent-list-agents
176
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
177
-
178
- - id: tool-subagent
179
- name: '@deepseek-ai/dsh-tool-subagent'
180
- config:
181
- provider: spawn
182
- toolName: subagent
183
- backgroundMode: continuable
184
-
185
- - id: tool-subagent-fork
186
- name: '@deepseek-ai/dsh-tool-subagent'
187
- config:
188
- provider: fork
189
- toolName: subagent_fork
190
- backgroundMode: continuable
191
-
192
- # Production dsh does not install these optional providers. Install the
193
- # matching Bundle in this Profile and restart the Host, then copy this
194
- # preset and remove `disabled` from the matching tool row. Host availability
195
- # alone grants no tool.
196
- - id: tool-subagent-codex
197
- name: '@deepseek-ai/dsh-tool-subagent'
198
- disabled: true
199
- config:
200
- provider: codex
201
- toolName: subagent_codex
202
- backgroundMode: one-shot
203
- maxDepth: provider-managed
204
-
205
- - id: tool-subagent-claude-code
206
- name: '@deepseek-ai/dsh-tool-subagent'
207
- disabled: true
208
- config:
209
- provider: claude-code
210
- toolName: subagent_claude_code
211
- backgroundMode: one-shot
212
- maxDepth: provider-managed
213
-
214
- - id: workflow-worker-thread
215
- name: '@deepseek-ai/dsh-workflow-worker-thread'
216
- config:
217
- provider: spawn
218
-
219
- - id: tool-workflow
220
- name: '@deepseek-ai/dsh-tool-workflow'
221
-
222
- - id: tool-ralph
223
- name: '@deepseek-ai/dsh-tool-ralph'
224
- config:
225
- subagentProvider: spawn
226
- maxRounds: 64
227
-
228
- # ── remaining model-facing rows ─────────────────────────────────────────────
229
-
230
- - id: tool-ask-user
231
- name: '@deepseek-ai/dsh-tool-ask-user'
232
-
233
- - id: tool-todo
234
- name: '@deepseek-ai/dsh-tool-todo'
235
- config:
236
- allowParallelInProgress: true
237
-
238
- # The `web` service and its search provider stay in the host composition; only
239
- # the model-facing tool is per-session.
240
- - id: tool-web
241
- name: '@deepseek-ai/dsh-tool-web'
242
- config:
243
- fetch: false
244
- searchTimeoutMs: 60000
245
-
246
- # ── self-modification ───────────────────────────────────────────────────────
247
-
248
- # Read the live runtime, mount a temporary plugin, unmount it. The toolset is a
249
- # trust boundary, not a sandbox — see this file's header.
250
- - id: tool-cordis
251
- name: '@deepseek-ai/dsh-tool-cordis'
252
-
253
- # The composition-authoring skill travels with this preset rather than living
254
- # in the user's skill root: it documents THIS deployment's two planes, and a
255
- # preset is the unit that gets copied and edited. `baseUrl` is the preset's
256
- # own directory, so the root resolves wherever the preset is installed.
257
- # Both rows register into THIS preset's layer of the host skill registry, so
258
- # they need no realm; the agent's merged catalog also carries whatever the
259
- # deployment registered globally (repository plugins).
260
- - id: skill-filesystem
261
- name: '@deepseek-ai/dsh-skill-filesystem'
262
- config:
263
- customSkillDirs:
264
- - !!js "process.getBuiltinModule('node:url').fileURLToPath(new URL('skills/', baseUrl))"
265
-
266
- - id: tool-skill
267
- name: '@deepseek-ai/dsh-tool-skill'
@@ -1,3 +0,0 @@
1
- name: 创造模式 · Git Bash
2
- description: 用于创建自定义 Agent preset:具备标准模式的全部能力,并提供运行时检查、插件实验和 preset 创作指导。(Shell 使用 Git Bash)
3
- order: 4
@@ -1,79 +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: one text serves both dsh eras — the built-in `minimal` preset did not
7
- # change across the 0.1.1 → 0.1.2 code→ptc rename, so no agent.cordis.ptc.yml
8
- # twin exists here. The plugin probes the roster and writes this file as the
9
- # preset's own agent.cordis.yml either way.
10
- # The `minimal` agent preset: a fixed-prompt, single-tool coding-agent composition.
11
- #
12
- # The persona is the complete system prompt, so global identity, Web orientation,
13
- # tool guidance, and later assembly listeners cannot add prompt text. Runtime
14
- # context snapshots are suppressed for this preset, and the model receives only
15
- # the persistent shell (Git for Windows bash; bash on POSIX). Context compaction
16
- # is absent.
17
-
18
- - id: persona
19
- name: '@deepseek-ai/dsh-persona'
20
- config:
21
- prefix: You are a helpful software engineer assistant.
22
- complete: true
23
- includeRuntimeContext: false
24
-
25
- # The PTY registry is an agent-owned service, so it lives in an entry-local
26
- # realm. The backend still consumes the host sandbox policy and subprocess
27
- # implementation, while the tool registers into this agent's scoped catalog.
28
- # Exactly one shell stack mounts per host: the bash stack gates off win32 and
29
- # its pwsh twin gates off POSIX, mirroring the one-shot shell rows.
30
- - id: persistent-shell
31
- name: cordis:group
32
- group: true
33
- isolate:
34
- terminals: true
35
- config:
36
- - id: pty
37
- name: '@deepseek-ai/dsh-terminal'
38
-
39
- - id: terminal-bash
40
- name: '@deepseek-ai/dsh-terminal-bash'
41
- disabled: false
42
- config:
43
- timeoutMs: 300000
44
- shellPath: !!js "process.platform === 'win32' ? 'C:/Program Files/Git/bin/bash.exe' : '/bin/bash'"
45
-
46
- - id: persistent-bash
47
- name: '@deepseek-ai/dsh-tool-bash-persistent'
48
- disabled: false
49
- config:
50
- timeoutMs: 300000
51
- description: |-
52
- Run commands in a bash shell (Git for Windows bash on Windows: native paths like C:/... work, and PATH plus the rest of the environment are inherited from the host)
53
- * When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
54
- * Network access depends on the task environment. Prefer configured mirrors/proxies when they are available.
55
- * State is persistent across command calls and discussions with the user.
56
- * To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.
57
- * Please avoid commands that may produce a very large amount of output.
58
- * Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.
59
-
60
- - id: terminal-pwsh
61
- name: '@deepseek-ai/dsh-terminal-bash'
62
- disabled: true
63
- config:
64
- shellDialect: pwsh
65
- timeoutMs: 300000
66
-
67
- - id: persistent-pwsh
68
- name: '@deepseek-ai/dsh-tool-pwsh-persistent'
69
- disabled: true
70
- config:
71
- timeoutMs: 300000
72
- description: |-
73
- Run commands in a PowerShell shell
74
- * When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
75
- * You don't have access to the internet via this tool.
76
- * State is persistent across command calls and discussions with the user.
77
- * Use native Windows paths (C:\...) and $env:NAME variables; this is PowerShell, not bash.
78
- * Please avoid commands that may produce a very large amount of output.
79
- * Please run long lived commands in the background, e.g. 'Start-Job' or start a server with Start-Process.