dsh-minimal-ptc 0.5.0 → 0.5.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,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 stardustlc
4
-
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:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
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.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 stardustlc
4
+
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:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
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.en.md CHANGED
@@ -1,65 +1,71 @@
1
- [中文](README.md)
2
-
3
- # dsh-minimal-ptc
4
-
5
- Adds **Minimal PTC** to DeepSeek Harness: a concise system prompt with files, terminals, search, skills and installed plugin tools, orchestrated through `run_code`. Windows includes Git Bash and persistent PowerShell.
6
-
7
- ## Install and use
8
-
9
- Version 0.5.0 requires **Harness 0.1.7 or later**. Use `dsh-minimal-ptc@0.4.7` on Harness 0.1.5/0.1.6.
10
-
11
- ```bash
12
- dsh plugin --profile web add dsh-minimal-ptc
13
- ```
14
-
15
- Restart `dsh web`, start a new session and choose **极简 PTC 模式** (Minimal PTC) from the mode picker above the message box. Describe your task normally; no preset directory or YAML editing is required.
16
-
17
- For example: “Run this project’s tests, find the failures and fix them.” Existing email, calendar and other plugin tools remain available.
18
-
19
- ## Changes in 0.5.0
20
-
21
- - Registers through the official Harness 0.1.7 declarative Agent preset service, fixing the missing mode after a host upgrade.
22
- - Installs and updates the preset with the plugin. Existing user content in `.agent-presets/ptc-minimal` is preserved.
23
- - Checks for conflicting runtime packages without flagging supported helpers such as `schemastery` and `cosmokit`.
24
- - Uses `workflow-ptc` and retains plugin tools, Git Bash, persistent PowerShell, search, plans, goals and subagents.
25
-
26
- ## Compatibility and validation
27
-
28
- Tested on 2026-09-23 with official-source **Harness 0.1.7-alpha.2**, including a local `Symbol.for` tool-scheduler fix. All 18 plugins load together with passing tool contracts and skill registration. The real Web mode picker lists and selects the preset; a real agent mounts it with `run_code` as its model entry point while retaining plugin tools and the shell.
29
-
30
- A real `run_code` call to the RSS plugin passed in a sandboxed Windows workspace and again after restart. The fixture owner has full control of the disposable directory so the host can apply sandbox permissions. External mail, databases and other services still require their own valid configuration.
31
-
32
- Requires Node 22.19 or later within 22.x, or 24 or later.
33
-
34
- ## Windows terminals
35
-
36
- A standard Git for Windows installation is detected automatically. For a custom location, set `GIT_BASH` to the full path of `bash.exe` before starting DSH. PowerShell sessions preserve their current directory, variables and functions.
37
-
38
- Developers creating their own preset can use the bundled `ptc-minimal.patch.yml` as a reference; the executor module is `dsh-minimal-ptc/gitbash-executor`.
39
-
40
- | Executor option | Default | Purpose |
41
- | :-- | :-- | :-- |
42
- | `shellPath` | auto-detected | Git Bash path |
43
- | `timeoutMs` | 120000 | Per-command timeout in ms |
44
- | `maxTimeoutMs` | 600000 | Maximum requested timeout |
45
- | `maxOutputBytes` | 64000 | Output cap per call |
46
- | `maxSpillBytes` | 67108864 | Output spill-to-disk cap |
47
- | `graceMs` | 3000 | Grace period after timeout |
48
-
49
- ## Troubleshooting
50
-
51
- If the mode is missing, confirm Harness is 0.1.7 or later and restart after installation. Recreating a retired preset directory will not help: the new host does not discover presets there.
52
-
53
- If every tool fails with `Cannot read properties of undefined (reading 'prepare')`, check startup logs for duplicate runtime packages. Update the plugin bringing in extra `dsh-tools` / `cordis` copies and reinstall dependencies. Do not remove the entire `@deepseek-ai` directory: public helpers are supported dependencies. Another confirmed cause is the host loading two tool build outputs with a module-local scheduler `Symbol`; source builds can use `Symbol.for('@deepseek-ai/dsh-tools.scheduler')` and rebuild.
54
-
55
- ## Uninstall
56
-
57
- ```bash
58
- dsh plugin --profile web remove dsh-minimal-ptc
59
- ```
60
-
61
- Restart the Web service afterward.
62
-
63
- ## License
64
-
65
- MIT
1
+ [中文](README.md)
2
+
3
+ # dsh-minimal-ptc
4
+
5
+ ## 0.5.1 update (2026-09-27)
6
+
7
+ Declares the tools service dependency so the startup health check can inspect the tool scheduler on the current Cordis host.
8
+
9
+ Validation host: Harness `0.2.0-rc.1` built from official sources (commit `407e65c8`) with Node `24.16.0` on 2026-09-28. All 18 plugin tests pass in an isolated environment; all 18 plugins mount together in one host registering 0 tools, with tool schemas and health-check contracts passing. No live ports or external services were exercised in this round.
10
+
11
+ Adds **Minimal PTC** to DeepSeek Harness: a concise system prompt with files, terminals, search, skills and installed plugin tools, orchestrated through `run_code`. Windows includes Git Bash and persistent PowerShell.
12
+
13
+ ## Install and use
14
+
15
+ Version 0.5.0 requires **Harness 0.1.7 or later**. Use `dsh-minimal-ptc@0.4.7` on Harness 0.1.5/0.1.6.
16
+
17
+ ```bash
18
+ dsh plugin --profile web add dsh-minimal-ptc
19
+ ```
20
+
21
+ Restart `dsh web`, start a new session and choose **极简 PTC 模式** (Minimal PTC) from the mode picker above the message box. Describe your task normally; no preset directory or YAML editing is required.
22
+
23
+ For example: “Run this project’s tests, find the failures and fix them.” Existing email, calendar and other plugin tools remain available.
24
+
25
+ ## Changes in 0.5.0
26
+
27
+ - Registers through the official Harness 0.1.7 declarative Agent preset service, fixing the missing mode after a host upgrade.
28
+ - Installs and updates the preset with the plugin. Existing user content in `.agent-presets/ptc-minimal` is preserved.
29
+ - Checks for conflicting runtime packages without flagging supported helpers such as `schemastery` and `cosmokit`.
30
+ - Uses `workflow-ptc` and retains plugin tools, Git Bash, persistent PowerShell, search, plans, goals and subagents.
31
+
32
+ ## Compatibility and validation
33
+
34
+ Validation host: Harness `0.2.0-rc.1` built from official sources (commit `407e65c8`) with Node `24.16.0` on 2026-09-28. 18 plugin tests pass in an isolated environment (1 skipped); all 18 plugins load together in one host with passing tool contracts and skill registration. The real Web mode picker lists and selects the preset; a real agent mounts it with `run_code` as its model entry point while retaining plugin tools and the shell.
35
+
36
+ A real `run_code` call to the RSS plugin passed in a sandboxed Windows workspace and again after restart. The fixture owner has full control of the disposable directory so the host can apply sandbox permissions. External mail, databases and other services still require their own valid configuration.
37
+
38
+ Requires Node 22.19 or later within 22.x, or 24 or later.
39
+
40
+ ## Windows terminals
41
+
42
+ A standard Git for Windows installation is detected automatically. For a custom location, set `GIT_BASH` to the full path of `bash.exe` before starting DSH. PowerShell sessions preserve their current directory, variables and functions.
43
+
44
+ Developers creating their own preset can use the bundled `ptc-minimal.patch.yml` as a reference; the executor module is `dsh-minimal-ptc/gitbash-executor`.
45
+
46
+ | Executor option | Default | Purpose |
47
+ | :-- | :-- | :-- |
48
+ | `shellPath` | auto-detected | Git Bash path |
49
+ | `timeoutMs` | 120000 | Per-command timeout in ms |
50
+ | `maxTimeoutMs` | 600000 | Maximum requested timeout |
51
+ | `maxOutputBytes` | 64000 | Output cap per call |
52
+ | `maxSpillBytes` | 67108864 | Output spill-to-disk cap |
53
+ | `graceMs` | 3000 | Grace period after timeout |
54
+
55
+ ## Troubleshooting
56
+
57
+ If the mode is missing, confirm Harness is 0.1.7 or later and restart after installation. Recreating a retired preset directory will not help: the new host does not discover presets there.
58
+
59
+ If every tool fails with `Cannot read properties of undefined (reading 'prepare')`, check startup logs for duplicate runtime packages. Update the plugin bringing in extra `dsh-tools` / `cordis` copies and reinstall dependencies. Do not remove the entire `@deepseek-ai` directory: public helpers are supported dependencies. Another confirmed cause is the host loading two tool build outputs with a module-local scheduler `Symbol`; source builds can use `Symbol.for('@deepseek-ai/dsh-tools.scheduler')` and rebuild.
60
+
61
+ ## Uninstall
62
+
63
+ ```bash
64
+ dsh plugin --profile web remove dsh-minimal-ptc
65
+ ```
66
+
67
+ Restart the Web service afterward.
68
+
69
+ ## License
70
+
71
+ MIT
package/README.md CHANGED
@@ -1,65 +1,71 @@
1
- [English](README.en.md)
2
-
3
- # dsh-minimal-ptc
4
-
5
- 给 DeepSeek Harness 添加「极简 PTC 模式」:使用简短的系统提示词,保留文件、终端、搜索、技能与已安装插件,通过 `run_code` 编排多步操作。Windows 支持 Git Bash 和持久 PowerShell。
6
-
7
- ## 安装和使用
8
-
9
- 0.5.0 需要 **Harness 0.1.7 及以上**。仍使用 Harness 0.1.5/0.1.6 时,请安装 `dsh-minimal-ptc@0.4.7`。
10
-
11
- ```bash
12
- dsh plugin --profile web add dsh-minimal-ptc
13
- ```
14
-
15
- 重启 `dsh web`,新建会话,在输入框上方的模式列表中选择 **极简 PTC 模式**,然后像平时一样描述任务。无需创建预设目录或修改 YAML。
16
-
17
- 例如:「检查这个项目的测试,找出失败原因并修复。」已有的邮件、日历等插件也可按原来的方式使用。
18
-
19
- ## 0.5.0 的变化
20
-
21
- - 使用 Harness 0.1.7 官方的声明式 Agent 预设注册方式,修复升级后模式消失的问题。
22
- - 预设随插件安装和更新;保留用户旧的 `.agent-presets/ptc-minimal` 目录,不覆盖其中的自定义内容。
23
- - 启动检查只提示会影响工具运行的核心包副本,不再把 `schemastery`、`cosmokit` 等正常依赖误报为冲突。
24
- - 使用新版 `workflow-ptc`,保留插件工具、Git Bash、持久 PowerShell、搜索、计划、目标与子代理能力。
25
-
26
- ## 兼容性与验证
27
-
28
- 2026-09-23 在官方源码构建的 **Harness 0.1.7-alpha.2** 上验证(含本地工具调度器 `Symbol.for` 修复):18 个插件同载,工具契约与技能注册通过;极简 PTC 出现在实际网页模式列表中并可选择,真实 Agent 挂载后以 `run_code` 为模型入口,保留插件工具与 Shell。
29
-
30
- 已在沙箱开启的 Windows 隔离工作区通过 `run_code` 实际调用 RSS 插件,重启后再次通过。测试工作区由当前用户拥有完整管理权限,以便宿主设置沙箱权限;外部邮箱、数据库等业务仍需各插件的有效配置。
31
-
32
- Node 要求为 22.19 及以上的 22.x,或 24 及以上。
33
-
34
- ## Windows 终端
35
-
36
- 安装常规版 Git for Windows 后会自动找到 Git Bash。若安装在自定义位置,可设置 `GIT_BASH` 为 `bash.exe` 的完整路径,再启动 DSH。PowerShell 会话会保留当前目录、变量和函数。
37
-
38
- 开发者如需自建预设,可参考包内的 `ptc-minimal.patch.yml`,执行器模块为 `dsh-minimal-ptc/gitbash-executor`。
39
-
40
- | 执行器选项 | 默认值 | 作用 |
41
- | :-- | :-- | :-- |
42
- | `shellPath` | 自动探测 | 指定 Git Bash 路径 |
43
- | `timeoutMs` | 120000 | 单次命令超时,毫秒 |
44
- | `maxTimeoutMs` | 600000 | 允许请求的最长超时 |
45
- | `maxOutputBytes` | 64000 | 单次输出上限 |
46
- | `maxSpillBytes` | 67108864 | 输出落盘上限 |
47
- | `graceMs` | 3000 | 超时后的退出宽限时间 |
48
-
49
- ## 排错
50
-
51
- 模式未出现时,先确认 DSH 为 0.1.7 及以上且安装后已重启。不要通过重建旧预设目录解决,新宿主不再从该目录发现预设。
52
-
53
- 若每个工具都报 `Cannot read properties of undefined (reading 'prepare')`,查看启动日志中的核心包冲突提示。应升级带入额外 `dsh-tools` / `cordis` 副本的插件并重新安装依赖;不要删除整个 `@deepseek-ai` 目录,官方的公共辅助包属于正常依赖。另一个已确认原因是宿主同时加载两份工具构建产物且调度器键使用模块局部 `Symbol`;源码构建可将其改为 `Symbol.for('@deepseek-ai/dsh-tools.scheduler')` 后重新构建。
54
-
55
- ## 卸载
56
-
57
- ```bash
58
- dsh plugin --profile web remove dsh-minimal-ptc
59
- ```
60
-
61
- 重启 Web 服务后生效。
62
-
63
- ## License
64
-
65
- MIT
1
+ [English](README.en.md)
2
+
3
+ # dsh-minimal-ptc
4
+
5
+ ## 0.5.1 更新(2026-09-27)
6
+
7
+ 补齐 tools 服务依赖声明,让启动健康检查可以在新版 Cordis 宿主中读取工具调度器。
8
+
9
+ 验证宿主:官方源码构建的 Harness `0.2.0-rc.1`(commit `407e65c8`)+ Node `24.16.0`(2026-09-28)。18 项插件测试在隔离环境全部通过;同一个宿主里 18 个插件共同加载,注册 0 个工具,工具 schema 与健康检查契约通过。本轮未启用真实端口与外部服务。
10
+
11
+ 给 DeepSeek Harness 添加「极简 PTC 模式」:使用简短的系统提示词,保留文件、终端、搜索、技能与已安装插件,通过 `run_code` 编排多步操作。Windows 支持 Git Bash 和持久 PowerShell。
12
+
13
+ ## 安装和使用
14
+
15
+ 0.5.0 需要 **Harness 0.1.7 及以上**。仍使用 Harness 0.1.5/0.1.6 时,请安装 `dsh-minimal-ptc@0.4.7`。
16
+
17
+ ```bash
18
+ dsh plugin --profile web add dsh-minimal-ptc
19
+ ```
20
+
21
+ 重启 `dsh web`,新建会话,在输入框上方的模式列表中选择 **极简 PTC 模式**,然后像平时一样描述任务。无需创建预设目录或修改 YAML。
22
+
23
+ 例如:「检查这个项目的测试,找出失败原因并修复。」已有的邮件、日历等插件也可按原来的方式使用。
24
+
25
+ ## 0.5.0 的变化
26
+
27
+ - 使用 Harness 0.1.7 官方的声明式 Agent 预设注册方式,修复升级后模式消失的问题。
28
+ - 预设随插件安装和更新;保留用户旧的 `.agent-presets/ptc-minimal` 目录,不覆盖其中的自定义内容。
29
+ - 启动检查只提示会影响工具运行的核心包副本,不再把 `schemastery`、`cosmokit` 等正常依赖误报为冲突。
30
+ - 使用新版 `workflow-ptc`,保留插件工具、Git Bash、持久 PowerShell、搜索、计划、目标与子代理能力。
31
+
32
+ ## 兼容性与验证
33
+
34
+ 验证宿主:官方源码构建的 Harness `0.2.0-rc.1`(commit `407e65c8`)+ Node `24.16.0`(2026-09-28)。18 项插件测试在隔离环境通过(1 项按环境跳过);同一个宿主里 18 个插件共同加载,工具契约与技能注册通过;极简 PTC 出现在实际网页模式列表中并可选择,真实 Agent 挂载后以 `run_code` 为模型入口,保留插件工具与 Shell。
35
+
36
+ 已在沙箱开启的 Windows 隔离工作区通过 `run_code` 实际调用 RSS 插件,重启后再次通过。测试工作区由当前用户拥有完整管理权限,以便宿主设置沙箱权限;外部邮箱、数据库等业务仍需各插件的有效配置。
37
+
38
+ Node 要求为 22.19 及以上的 22.x,或 24 及以上。
39
+
40
+ ## Windows 终端
41
+
42
+ 安装常规版 Git for Windows 后会自动找到 Git Bash。若安装在自定义位置,可设置 `GIT_BASH` 为 `bash.exe` 的完整路径,再启动 DSH。PowerShell 会话会保留当前目录、变量和函数。
43
+
44
+ 开发者如需自建预设,可参考包内的 `ptc-minimal.patch.yml`,执行器模块为 `dsh-minimal-ptc/gitbash-executor`。
45
+
46
+ | 执行器选项 | 默认值 | 作用 |
47
+ | :-- | :-- | :-- |
48
+ | `shellPath` | 自动探测 | 指定 Git Bash 路径 |
49
+ | `timeoutMs` | 120000 | 单次命令超时,毫秒 |
50
+ | `maxTimeoutMs` | 600000 | 允许请求的最长超时 |
51
+ | `maxOutputBytes` | 64000 | 单次输出上限 |
52
+ | `maxSpillBytes` | 67108864 | 输出落盘上限 |
53
+ | `graceMs` | 3000 | 超时后的退出宽限时间 |
54
+
55
+ ## 排错
56
+
57
+ 模式未出现时,先确认 DSH 为 0.1.7 及以上且安装后已重启。不要通过重建旧预设目录解决,新宿主不再从该目录发现预设。
58
+
59
+ 若每个工具都报 `Cannot read properties of undefined (reading 'prepare')`,查看启动日志中的核心包冲突提示。应升级带入额外 `dsh-tools` / `cordis` 副本的插件并重新安装依赖;不要删除整个 `@deepseek-ai` 目录,官方的公共辅助包属于正常依赖。另一个已确认原因是宿主同时加载两份工具构建产物且调度器键使用模块局部 `Symbol`;源码构建可将其改为 `Symbol.for('@deepseek-ai/dsh-tools.scheduler')` 后重新构建。
60
+
61
+ ## 卸载
62
+
63
+ ```bash
64
+ dsh plugin --profile web remove dsh-minimal-ptc
65
+ ```
66
+
67
+ 重启 Web 服务后生效。
68
+
69
+ ## License
70
+
71
+ MIT
package/cordis.patch.yml CHANGED
@@ -1,8 +1,8 @@
1
- # dsh-minimal-ptc 组合包补丁:向 profile 插入本插件的宿主行。
2
- #
3
- # 宿主行(name: dsh-minimal-ptc)在启动时把内置的 ptc-minimal 预设
4
- # 物化到用户预设根目录($DSH_HOME/.agent-presets/ptc-minimal),
5
- # 安装即获得「极简 PTC 模式」Agent 模式。
6
- - insert:
7
- - id: ptc-minimal-preset
8
- name: 'dsh-minimal-ptc'
1
+ # dsh-minimal-ptc 组合包补丁:向 profile 插入本插件的宿主行。
2
+ #
3
+ # 宿主行(name: dsh-minimal-ptc)在启动时把内置的 ptc-minimal 预设
4
+ # 物化到用户预设根目录($DSH_HOME/.agent-presets/ptc-minimal),
5
+ # 安装即获得「极简 PTC 模式」Agent 模式。
6
+ - insert:
7
+ - id: ptc-minimal-preset
8
+ name: 'dsh-minimal-ptc'
package/lib/index.js CHANGED
@@ -16,7 +16,7 @@ import { fileURLToPath } from 'node:url'
16
16
  import pkg from '../package.json' with { type: 'json' }
17
17
 
18
18
  export const name = 'ptc-minimal-preset'
19
- export const inject = ['appReady']
19
+ export const inject = ['appReady', 'tools']
20
20
 
21
21
  const VERSION = pkg.version
22
22
  const PRESET_ID = 'ptc-minimal'
@@ -75,11 +75,11 @@ function materialize(logger, modernRuntime) {
75
75
  export function apply(ctx) {
76
76
  ctx.effect(() => ctx.appReady.onReady(() => {
77
77
  try {
78
- // 0.1.7 discovers the declarative row shipped by this bundle. Never
79
- // rewrite a user's retired directory while running on that host.
80
- if (typeof ctx.get('agentPresets')?.register !== 'function') {
81
- materialize(ctx.logger, ctx.get('ptcRuntime') !== undefined)
82
- }
78
+ // 0.1.7 discovers the declarative row shipped by this bundle. Never
79
+ // rewrite a user's retired directory while running on that host.
80
+ if (typeof ctx.get('agentPresets')?.register !== 'function') {
81
+ materialize(ctx.logger, ctx.get('ptcRuntime') !== undefined)
82
+ }
83
83
  } catch (error) {
84
84
  ctx.logger?.warn(`dsh-minimal-ptc: preset materialization failed: ${String(error)}`)
85
85
  }
@@ -107,8 +107,8 @@ function healthCheck(ctx) {
107
107
  `dsh-minimal-ptc: duplicate core package in profile: ${hit}\n`
108
108
  + ' A second @deepseek-ai copy breaks the tool scheduler key (module-local Symbol) '
109
109
  + 'and every tool call fails with "reading \'prepare\'".\n'
110
- + ' Fix: update the plugin that brings in this runtime package, reinstall profile dependencies, '
111
- + 'then restart. Shared helpers such as schemastery and cosmokit are supported dependencies.',
110
+ + ' Fix: update the plugin that brings in this runtime package, reinstall profile dependencies, '
111
+ + 'then restart. Shared helpers such as schemastery and cosmokit are supported dependencies.',
112
112
  )
113
113
  }
114
114
 
@@ -150,8 +150,8 @@ export function findProfileCoreCopies(home = dshHomePath('profiles')) {
150
150
  continue
151
151
  }
152
152
  for (const entry of entries) {
153
- // Schema helpers are ordinary published dependencies, not another host.
154
- if (entry.isDirectory() && (entry.name === 'dsh-tools' || entry.name === 'cordis')) hits.push(join(scopeDir, entry.name))
153
+ // Schema helpers are ordinary published dependencies, not another host.
154
+ if (entry.isDirectory() && (entry.name === 'dsh-tools' || entry.name === 'cordis')) hits.push(join(scopeDir, entry.name))
155
155
  }
156
156
  }
157
157
  return hits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-minimal-ptc",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "DeepSeek Harness 极简 PTC 预设:简洁提示词、run_code 工具编排、完整插件工具,以及 Windows Git Bash 和持久 PowerShell。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",