@deepseek-ai/dsh 0.0.1-rc.2 → 0.1.0-rc.2

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 CHANGED
@@ -1,28 +1,21 @@
1
- BSD 3-Clause License
1
+ MIT License
2
2
 
3
- Copyright (c) 2026, DeepSeek
3
+ Copyright (c) 2026 DeepSeek
4
4
 
5
- Redistribution and use in source and binary forms, with or without
6
- modification, are permitted provided that the following conditions are met:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
7
11
 
8
- 1. Redistributions of source code must retain the above copyright notice, this
9
- list of conditions and the following disclaimer.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
10
14
 
11
- 2. Redistributions in binary form must reproduce the above copyright notice,
12
- this list of conditions and the following disclaimer in the documentation
13
- and/or other materials provided with the distribution.
14
-
15
- 3. Neither the name of the copyright holder nor the names of its
16
- contributors may be used to endorse or promote products derived from
17
- this software without specific prior written permission.
18
-
19
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write apps/cli/README.md
5
- README.md: 98a856261bc632c97f350db8fc7bb0b10c22235d
6
- README.zh.md: 283e54138e24202ed6b88d1d309538c58cd66b3e
5
+ README.md: 9a8d722b044ed5d8e31e3c27e54f8c9ef0839f82
6
+ README.zh.md: 7889b4180b5ce2f65550f98708d498f324ac349d
package/README.md CHANGED
@@ -9,7 +9,7 @@ The `dsh` command is the product launcher for profiles: ordered stacks of plugin
9
9
  | Command | Purpose |
10
10
  |---|---|
11
11
  | `dsh --profile <name>` | Boot the named profile under `$DSH_HOME/profiles/<name>`. |
12
- | `dsh --profile headless "task"` | Run one fresh persisted session, print the final answer, and exit. |
12
+ | `dsh --profile headless "job"` | Run one fresh persisted session, print the final answer, and exit. |
13
13
  | `dsh web` | Alias of `--profile web`. |
14
14
  | `dsh plugin --profile <name> <pnpm args>` | Manage a profile's plugins by forwarding to pnpm in the profile directory. |
15
15
 
@@ -21,7 +21,7 @@ The launcher parses only its own flags and hands everything after them to the bo
21
21
 
22
22
  ```sh
23
23
  dsh --profile web --port 8080 # --port belongs to the web app
24
- dsh --profile tui --resume <id> # --resume belongs to the terminal app
24
+ dsh --profile tui --resume <id> # example, assuming the tui profile is installed; --resume belongs to the terminal app
25
25
  dsh --profile headless "run the tests"
26
26
  dsh --profile web --help # the web app's flags, not the launcher's
27
27
  dsh --help # the launcher's own help
@@ -29,10 +29,19 @@ dsh --help # the launcher's own help
29
29
 
30
30
  ## Profiles
31
31
 
32
- A profile directory holds a `package.json` (out-of-tree plugin dependencies plus the profile manifest `dsh.profile` with its ordered `bundles` list) and a `cordis.patch.yml` (the user's own patch layer, hot-reloaded on long-lived surfaces). The tree composes over an empty root: each bundle's patch in `dsh.profile.bundles` order, then the profile's `cordis.patch.yml`, then the home-level `$DSH_HOME/cordis.patch.yml`, then `--patch` overlays. Bundles named in `dsh.profile.bundles` resolve from the dsh installation first (`@deepseek-ai/dsh-base`, `@deepseek-ai/dsh-web-app`, `@deepseek-ai/dsh-headless`), then from the profile's own `node_modules`, where pnpm installs out-of-tree plugins. Use `--dump-default-config` and `--dump-config` to inspect the composed tree without booting it.
32
+ A profile directory holds a `package.json` (out-of-tree plugin dependencies plus the profile manifest `dsh.profile` with its ordered `bundles` list) and a `cordis.patch.yml` (the user's own patch layer).
33
+
34
+ The tree composes over an empty root:
35
+ - each bundle's patch in `dsh.profile.bundles` order
36
+ - then the profile's `cordis.patch.yml`, then the home-level `$DSH_HOME/cordis.patch.yml`
37
+ - then `--patch` overlays
38
+
39
+ Bundles named in `dsh.profile.bundles` resolve from the dsh installation first (`@deepseek-ai/dsh-base`, `@deepseek-ai/dsh-web-app`, `@deepseek-ai/dsh-headless`), then from the profile's own `node_modules`, where pnpm installs out-of-tree plugins.
40
+
41
+ Use `--dump-default-config` and `--dump-config` to inspect the composed tree without booting it.
33
42
 
34
43
  The [CLI behavior reference](reference/README.md) owns exact layer precedence, flags, shutdown behavior, deployment defaults, and source execution.
35
44
 
36
45
  ## Development
37
46
 
38
- Production runs require built package and frontend artifacts. From the repository root, `pnpm dsh <args...>` builds those artifacts, runs the TypeScript entry, and forwards every argument; the [source-execution reference](reference/README.md#source-execution) owns the module-resolution contract.
47
+ Production runs require built package and frontend artifacts. From the repository root, run `pnpm run build` separately, then use `pnpm dsh <args...>` to run the TypeScript entry and forward every argument; the [source-execution reference](reference/README.md#source-execution) owns the module-resolution contract.
package/README.zh.md CHANGED
@@ -2,26 +2,26 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- `dsh` 命令是 profile 的产品启动器:profile 是按序叠放的插件组合包 patch 层,之上再叠加用户自己的覆盖层。[`src/args.ts`](src/args.ts) 负责命令语法,[`src/bin.ts`](src/bin.ts) 只加载选中的运行器。无效命令、来自其他模式的选项、配置错误和启动失败都会以非零状态退出。
5
+ `dsh` DeepSeek Harness 中用于启动 profile 的命令;profile 由多个插件组合包 patch 层按顺序叠加而成,其上再应用用户自己的覆盖配置。[`src/args.ts`](src/args.ts) 负责命令语法,[`src/bin.ts`](src/bin.ts) 只加载选中的运行器。无效命令、来自其他模式的选项、配置错误和启动失败都会以非零状态退出。
6
6
 
7
7
  ## 入口模式
8
8
 
9
9
  | 命令 | 用途 |
10
10
  |---|---|
11
11
  | `dsh --profile <name>` | 启动位于 `$DSH_HOME/profiles/<name>` 的指定 profile。 |
12
- | `dsh --profile headless "task"` | 运行一个新的持久化会话,打印最终答案并退出。 |
12
+ | `dsh --profile headless "job"` | 运行一个全新的持久化会话,打印最终答案并退出。 |
13
13
  | `dsh web` | `--profile web` 的别名。 |
14
14
  | `dsh plugin --profile <name> <pnpm args>` | 通过在 profile 目录中转发给 pnpm 来管理该 profile 的插件。 |
15
15
 
16
- 调用目录是默认 workspace 根目录。`web` 和 `headless` profile 在首次使用时会从随附模板自动初始化;其他任何 profile 都必须通过 `dsh plugin` 创建。
16
+ 运行命令时所在的目录将作为默认 workspace 根目录。`web` 和 `headless` profile 在首次使用时会从随附模板自动初始化;其他任何 profile 都必须通过 `dsh plugin` 创建。
17
17
 
18
18
  ## 应用参数
19
19
 
20
- 启动器只解析属于自己的 flag,并把其后的一切交给启动起来的 profile,任何注入它的应用插件都可以解析这份共享的不可变快照([`dsh-cmdline`](../../packages/boot/cmdline/README.md))。因此启动器的 flag 必须写在前面,而启动器不认识的第一个 token 就是应用参数的起点:
20
+ 启动器只解析自身的 flag,并将其后的所有内容交给已启动的 profile;注入该 profile 的任意应用插件都可以解析这份共享的不可变快照([`dsh-cmdline`](../../packages/boot/cmdline/README.md))。因此,启动器的 flag 必须写在最前面;启动器无法识别的第一个 token 标志着应用参数的开始:
21
21
 
22
22
  ```sh
23
23
  dsh --profile web --port 8080 # --port belongs to the web app
24
- dsh --profile tui --resume <id> # --resume belongs to the terminal app
24
+ dsh --profile tui --resume <id> # example, assuming the tui profile is installed; --resume belongs to the terminal app
25
25
  dsh --profile headless "run the tests"
26
26
  dsh --profile web --help # the web app's flags, not the launcher's
27
27
  dsh --help # the launcher's own help
@@ -29,10 +29,19 @@ dsh --help # the launcher's own help
29
29
 
30
30
  ## Profile
31
31
 
32
- profile 目录包含一个 `package.json`(树外插件依赖,加上 profile manifest(元数据清单)`dsh.profile` 及其有序的 `bundles` 列表)和一个 `cordis.patch.yml`(用户自己的 patch 层,在长期运行的 surface 上热重载)。配置树在空根之上组合:先按 `dsh.profile.bundles` 顺序应用各组合包的 patch,然后是 profile 的 `cordis.patch.yml`,然后是 home 级的 `$DSH_HOME/cordis.patch.yml`,然后是 `--patch` overlay。`dsh.profile.bundles` 中列出的组合包先从 dsh 安装目录解析(`@deepseek-ai/dsh-base`、`@deepseek-ai/dsh-web-app`、`@deepseek-ai/dsh-headless`),再从 profile 自己的 `node_modules` 解析;pnpm 把树外插件安装在后者。使用 `--dump-default-config` 和 `--dump-config` 可在不启动的情况下检查组合后的配置树。
32
+ profile 目录包含一个 `package.json`,其中记录树外插件依赖,以及 profile manifest(元数据清单)`dsh.profile` 和其中按顺序排列的 `bundles` 列表;还包含一个 `cordis.patch.yml`,其中保存用户自己的 patch 层。
33
33
 
34
- [CLI(命令行界面)行为参考](reference/README.md)负责确切的层优先级、flag、关闭行为、部署默认值和源码执行。
34
+ 配置树以空根为起点,依次叠加以下配置层:
35
+ - `dsh.profile.bundles` 中各组合包的 patch
36
+ - profile 自身的 `cordis.patch.yml`,然后是 home 级的 `$DSH_HOME/cordis.patch.yml`
37
+ - `--patch` 指定的覆盖层
38
+
39
+ `dsh.profile.bundles` 中列出的组合包先从 dsh 安装目录解析(`@deepseek-ai/dsh-base`、`@deepseek-ai/dsh-web-app`、`@deepseek-ai/dsh-headless`),再从 profile 自身的 `node_modules` 解析;pnpm 会将树外插件安装到该目录。
40
+
41
+ 使用 `--dump-default-config` 和 `--dump-config` 可在不启动的情况下检查组合后的配置树。
42
+
43
+ 层的确切优先级、flag、关闭行为、部署默认值和源码执行方式,以 [CLI(命令行界面)行为参考](reference/README.md)为准。
35
44
 
36
45
  ## 开发
37
46
 
38
- 生产运行需要已构建的包与前端产物。从仓库根目录运行 `pnpm dsh <args...>` 会先构建这些产物,再运行 TypeScript 入口并转发所有参数;模块解析约定由[源码执行参考](reference/README.md#source-execution)负责。
47
+ 生产运行需要已构建的包与前端产物。请在仓库根目录单独运行 `pnpm run build`,然后使用 `pnpm dsh <args...>` 运行 TypeScript 入口并转发所有参数;模块解析约定以[源码执行参考](reference/README.md#source-execution)为准。
@@ -1,6 +1,6 @@
1
1
  # The `code` agent preset: the standard coding agent, presented as Code Mode.
2
2
  #
3
- # Everything in `standard` is here unchanged. What is added is the `tool-mode`
3
+ # Everything in `standard` is here unchanged. What is added is the `tool-presentation`
4
4
  # row: instead of one tool call per action, the model writes a TypeScript
5
5
  # program against a generated SDK and `run_code` executes it, so a sequence
6
6
  # that would be five round trips becomes one.
@@ -34,22 +34,27 @@
34
34
  text: >-
35
35
  You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
36
36
 
37
- - id: workspace-context
38
- name: '@deepseek-ai/dsh-workspace-context'
37
+ - id: agent-instructions
38
+ name: '@deepseek-ai/dsh-agent-instructions'
39
39
  config:
40
40
  maxBytes: 65536
41
41
 
42
42
  # ── shell ───────────────────────────────────────────────────────────────────
43
43
 
44
- # `bash-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
44
+ # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
45
45
  # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
46
46
  # the criterion for host-plane ownership — injection resolves before any session
47
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. `tool-bash` consumes the host registry
49
- # from here; the executor behind it (`bash-sandbox`) is host-plane too, where the
50
- # sandbox policy owns it.
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
51
  - id: tool-bash
52
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'
53
58
 
54
59
  # ── filesystem ──────────────────────────────────────────────────────────────
55
60
 
@@ -63,27 +68,27 @@
63
68
  config:
64
69
  sampleOverCapGlobResults: false
65
70
 
66
- # ── background tasks ────────────────────────────────────────────────────────
71
+ # ── background jobs ────────────────────────────────────────────────────────
67
72
 
68
73
  # Only the model-facing controls. The task REGISTRY stays on the host plane:
69
74
  # its producers sit outside any realm this file could put it in — `tool-bash`
70
75
  # above resolves it with `ctx.get`, and an entry-local realm here is invisible
71
- # to every sibling row, so `run_in_background` would answer "background tasks
76
+ # to every sibling row, so `run_in_background` would answer "background jobs
72
77
  # unavailable" while these controls sat in the catalog. The registry is keyed by
73
78
  # owning agent anyway, so one host instance serves every session. What a preset
74
79
  # chooses is whether its agent can collect and stop background work at all.
75
- - id: tool-tasks
76
- name: '@deepseek-ai/dsh-tool-tasks'
80
+ - id: tool-jobs
81
+ name: '@deepseek-ai/dsh-tool-jobs'
77
82
 
78
83
  # ── skills ──────────────────────────────────────────────────────────────────
79
84
 
80
85
  # The skill REGISTRY lives in the host composition and is layered per scope:
81
86
  # these rows register into THIS preset's layer of it, so they need no realm.
82
- # `skill-local` contributes local-root discovery for agents on this preset, and
87
+ # `skill-filesystem` contributes local-root discovery for agents on this preset, and
83
88
  # `tool-skill` gives them the catalog and loader; the merged catalog also
84
89
  # carries whatever the deployment registered globally (repository plugins).
85
- - id: skill-local
86
- name: '@deepseek-ai/dsh-skill-local'
90
+ - id: skill-filesystem
91
+ name: '@deepseek-ai/dsh-skill-filesystem'
87
92
 
88
93
  - id: tool-skill
89
94
  name: '@deepseek-ai/dsh-tool-skill'
@@ -127,7 +132,7 @@
127
132
 
128
133
  # ── compaction ──────────────────────────────────────────────────────────────
129
134
 
130
- # `compact-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
135
+ # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
131
136
  # share this realm rather than sit outside it.
132
137
  #
133
138
  # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
@@ -135,22 +140,22 @@
135
140
  # keys every fold by Session, and owns the context-meter projection units the
136
141
  # browser reads for every session — behind a realm those units would come and go
137
142
  # with whichever presets happen to be mounted. What a preset chooses is whether
138
- # its agent compacts at all, which is `compact-basic` below.
143
+ # its agent compacts at all, which is `compaction-basic` below.
139
144
  - id: compaction
140
145
  name: cordis:group
141
146
  group: true
142
147
  isolate:
143
- compact: true
144
- toolResultPrune: true
148
+ compaction: true
149
+ toolResultPruner: true
145
150
  config:
146
- - id: compact-basic
147
- name: '@deepseek-ai/dsh-compact-basic'
151
+ - id: compaction-basic
152
+ name: '@deepseek-ai/dsh-compaction-basic'
148
153
 
149
154
  - id: command-compact
150
155
  name: '@deepseek-ai/dsh-command-compact'
151
156
 
152
- - id: tool-result-prune
153
- name: '@deepseek-ai/dsh-compact-tool-result-prune'
157
+ - id: tool-result-pruner
158
+ name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
154
159
  config:
155
160
  thresholdChars: 8192
156
161
  headChars: 4096
@@ -171,7 +176,7 @@
171
176
  name: cordis:group
172
177
  group: true
173
178
  isolate:
174
- workflows: true
179
+ workflowEngine: true
175
180
  config:
176
181
  - id: tool-subagent-control
177
182
  name: '@deepseek-ai/dsh-tool-subagent-control'
@@ -214,8 +219,8 @@
214
219
  enableRunInBackground: false
215
220
  maxDepth: provider-managed
216
221
 
217
- - id: workflow-workerthread
218
- name: '@deepseek-ai/dsh-workflow-workerthread'
222
+ - id: workflow-worker-thread
223
+ name: '@deepseek-ai/dsh-workflow-worker-thread'
219
224
  config:
220
225
  provider: spawn
221
226
 
@@ -251,7 +256,7 @@
251
256
  # Code Mode for this agent alone. The row waits for the host's `codeRuntime`
252
257
  # rather than assuming it: a deployment that composes no TypeScript runtime
253
258
  # fails this preset at mount, naming this id, instead of at the first request.
254
- - id: tool-mode
255
- name: '@deepseek-ai/dsh-agent-tool-mode'
259
+ - id: tool-presentation
260
+ name: '@deepseek-ai/dsh-agent-tool-presentation'
256
261
  config:
257
262
  mode: code
@@ -1,3 +1,3 @@
1
- name: 代码模式
1
+ name: PTC 模式
2
2
  description: 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
3
3
  order: 2
@@ -28,22 +28,27 @@
28
28
 
29
29
  Load the `editing-cordis-compositions` skill before writing or changing a composition.
30
30
 
31
- - id: workspace-context
32
- name: '@deepseek-ai/dsh-workspace-context'
31
+ - id: agent-instructions
32
+ name: '@deepseek-ai/dsh-agent-instructions'
33
33
  config:
34
34
  maxBytes: 65536
35
35
 
36
36
  # ── shell ───────────────────────────────────────────────────────────────────
37
37
 
38
- # `bash-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
38
+ # `shell-env` stays in the HOST composition: `apps/cli/src/web.ts` injects it to
39
39
  # publish `DSH_WEB_URL`/`DSH_WEB_MODE`, and a host row that injects a service is
40
40
  # the criterion for host-plane ownership — injection resolves before any session
41
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. `tool-bash` consumes the host registry
43
- # from here; the executor behind it (`bash-sandbox`) is host-plane too, where the
44
- # sandbox policy owns it.
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
45
  - id: tool-bash
46
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'
47
52
 
48
53
  # ── filesystem ──────────────────────────────────────────────────────────────
49
54
 
@@ -57,17 +62,17 @@
57
62
  config:
58
63
  sampleOverCapGlobResults: false
59
64
 
60
- # ── background tasks ────────────────────────────────────────────────────────
65
+ # ── background jobs ────────────────────────────────────────────────────────
61
66
 
62
67
  # Only the model-facing controls. The task REGISTRY stays on the host plane:
63
68
  # its producers sit outside any realm this file could put it in — `tool-bash`
64
69
  # above resolves it with `ctx.get`, and an entry-local realm here is invisible
65
- # to every sibling row, so `run_in_background` would answer "background tasks
70
+ # to every sibling row, so `run_in_background` would answer "background jobs
66
71
  # unavailable" while these controls sat in the catalog. The registry is keyed by
67
72
  # owning agent anyway, so one host instance serves every session. What a preset
68
73
  # chooses is whether its agent can collect and stop background work at all.
69
- - id: tool-tasks
70
- name: '@deepseek-ai/dsh-tool-tasks'
74
+ - id: tool-jobs
75
+ name: '@deepseek-ai/dsh-tool-jobs'
71
76
 
72
77
  # ── goals ───────────────────────────────────────────────────────────────────
73
78
 
@@ -108,7 +113,7 @@
108
113
 
109
114
  # ── compaction ──────────────────────────────────────────────────────────────
110
115
 
111
- # `compact-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
116
+ # `compaction-basic` reads `toolResultPrune` through `ctx.get`, so the pruner must
112
117
  # share this realm rather than sit outside it.
113
118
  #
114
119
  # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST
@@ -116,22 +121,22 @@
116
121
  # keys every fold by Session, and owns the context-meter projection units the
117
122
  # browser reads for every session — behind a realm those units would come and go
118
123
  # with whichever presets happen to be mounted. What a preset chooses is whether
119
- # its agent compacts at all, which is `compact-basic` below.
124
+ # its agent compacts at all, which is `compaction-basic` below.
120
125
  - id: compaction
121
126
  name: cordis:group
122
127
  group: true
123
128
  isolate:
124
- compact: true
125
- toolResultPrune: true
129
+ compaction: true
130
+ toolResultPruner: true
126
131
  config:
127
- - id: compact-basic
128
- name: '@deepseek-ai/dsh-compact-basic'
132
+ - id: compaction-basic
133
+ name: '@deepseek-ai/dsh-compaction-basic'
129
134
 
130
135
  - id: command-compact
131
136
  name: '@deepseek-ai/dsh-command-compact'
132
137
 
133
- - id: tool-result-prune
134
- name: '@deepseek-ai/dsh-compact-tool-result-prune'
138
+ - id: tool-result-pruner
139
+ name: '@deepseek-ai/dsh-compaction-tool-result-pruner'
135
140
  config:
136
141
  thresholdChars: 8192
137
142
  headChars: 4096
@@ -158,7 +163,7 @@
158
163
  name: cordis:group
159
164
  group: true
160
165
  isolate:
161
- workflows: true
166
+ workflowEngine: true
162
167
  config:
163
168
  - id: tool-subagent-control
164
169
  name: '@deepseek-ai/dsh-tool-subagent-control'
@@ -201,8 +206,8 @@
201
206
  enableRunInBackground: false
202
207
  maxDepth: provider-managed
203
208
 
204
- - id: workflow-workerthread
205
- name: '@deepseek-ai/dsh-workflow-workerthread'
209
+ - id: workflow-worker-thread
210
+ name: '@deepseek-ai/dsh-workflow-worker-thread'
206
211
  config:
207
212
  provider: spawn
208
213
 
@@ -247,8 +252,8 @@
247
252
  # Both rows register into THIS preset's layer of the host skill registry, so
248
253
  # they need no realm; the agent's merged catalog also carries whatever the
249
254
  # deployment registered globally (repository plugins).
250
- - id: skill-local
251
- name: '@deepseek-ai/dsh-skill-local'
255
+ - id: skill-filesystem
256
+ name: '@deepseek-ai/dsh-skill-filesystem'
252
257
  config:
253
258
  customSkillDirs:
254
259
  - !!js "process.getBuiltinModule('node:url').fileURLToPath(new URL('skills/', baseUrl))"