@michengai/dsh-skills-manager 0.1.45 → 0.1.47

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/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@
4
4
 
5
5
  The five most recent published versions are listed below.
6
6
 
7
+ ## 0.1.47 - 2026-09-10
8
+
9
+ - Centralize supported Host versions and validate package metadata, required peers, and README consistency; retain the exact four tested RC versions and development dependencies.
10
+ - Harden real-Host regression tooling with complete argument parsing, single-version browser serving, tool discovery, process shutdown, sandbox cleanup, and retained evidence; add a manually triggered four-version Windows CI matrix.
11
+ - Align CI peer installation settings with the lockfile and correct README Node.js badges and requirements; plugin runtime behavior is unchanged.
12
+
13
+ ## 0.1.46 - 2026-09-10
14
+
15
+ - Upgrade official development dependencies to `0.1.5-rc.1` and explicitly support Host versions `0.1.0-rc.8`, `0.1.1-rc.2`, `0.1.2-rc.1`, and `0.1.5-rc.1`; remove the retired `dsh-client-runtime` peer and client loading metadata to avoid pulling in the legacy runtime.
16
+ - Add real-Host compatibility tests across all four versions for Agent-scoped skill reads, enable/disable policy refresh, and source-file preservation; retain existing skill management and source policies.
17
+
7
18
  ## 0.1.45 - 2026-09-09
8
19
 
9
20
  - Stop scanning resources inside ordinary skill bundles and skip `node_modules`, while retaining nested discovery beside a root skill. Hide overlapping project Agent roots so they cannot bypass user disable policies.
@@ -17,12 +28,3 @@ The five most recent published versions are listed below.
17
28
  ## 0.1.43 - 2026-09-08
18
29
 
19
30
  - Fixed Settings opening with the Codex Skill list expanded by default. All Skill sources now start collapsed while matching search results still expand automatically.
20
-
21
- ## 0.1.42 - 2026-09-07
22
-
23
- - Fixed the release-contract check so valid package version updates no longer block verification and npm publishing.
24
-
25
- ## 0.1.41 - 2026-09-07
26
-
27
- - Added independent in-product update checks with automatic updates when a verified DSH update service is available and a profile-specific manual fallback otherwise.
28
- - Removed the update-button dependency on `react-dom/client` so the client can load on Hosts that do not register that module id.
@@ -4,6 +4,17 @@
4
4
 
5
5
  以下记录最近发布的五个版本。
6
6
 
7
+ ## 0.1.47 - 2026-09-10
8
+
9
+ - 集中宿主版本清单,同步并校验发布元数据、必需 peer 和 README;保持四个已验证 RC 的精确兼容范围与开发依赖不变。
10
+ - 加强真实宿主回归:完善参数解析、单版本浏览器服务模式、工具发现、进程退出、沙箱清理和证据保存;增加可手动触发的 Windows 四版本 CI 矩阵。
11
+ - 对齐 CI 与锁文件的 peer 安装配置,修正 README 的 Node.js 徽章与要求说明;插件运行逻辑保持不变。
12
+
13
+ ## 0.1.46 - 2026-09-10
14
+
15
+ - 官方开发依赖升级至 `0.1.5-rc.1`,peer 精确兼容 `0.1.0-rc.8`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.5-rc.1`;移除已退役的 `dsh-client-runtime` peer 与客户端加载声明,避免引入旧运行时。
16
+ - 新增四版本真实宿主兼容测试,覆盖 Agent 作用域技能读取、启停权限刷新与源文件保护;技能管理与来源策略保持原有行为。
17
+
7
18
  ## 0.1.45 - 2026-09-09
8
19
 
9
20
  - 修复 bundle 内部资源耗尽扫描预算的问题:普通 bundle 作为叶子并跳过 `node_modules`,根技能仍允许嵌套发现。重叠的项目 Agent 来源现在隐藏,防止绕过用户停用策略。
@@ -17,12 +28,3 @@
17
28
  ## 0.1.43 - 2026-09-08
18
29
 
19
30
  - 修复设置页首次进入时默认展开 Codex 技能列表的问题;现在所有技能来源初始保持折叠,搜索匹配时仍会自动展开相应分组。
20
-
21
- ## 0.1.42 - 2026-09-07
22
-
23
- - 修复发布契约校验,合法的包版本升级不再阻断验证和 npm 发布。
24
-
25
- ## 0.1.41 - 2026-09-07
26
-
27
- - 新增独立的插件内检查更新能力:仅在已验证的 DSH 更新服务可用时自动更新,其余环境提供与 Profile 对应的手工更新命令。
28
- - 更新按钮图标不再依赖 `react-dom/client`,避免宿主未注册该模块 id 时客户端无法加载。
package/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-skills-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
15
15
  [![npm downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-skills-manager.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
16
16
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-skills-manager)
17
- [![Node.js 20 or later](https://img.shields.io/badge/Node.js-20%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
17
+ [![Node.js ^22.19.0 || >=24.0.0](https://img.shields.io/badge/Node.js-22.19%2B%20%7C%20%3E%3D24-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
18
18
  </div>
19
19
 
20
20
  > DSH Skills Manager is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.
@@ -63,7 +63,8 @@ For a ready-to-use workbench, download [DSH Codex Desktop](https://github.com/Mi
63
63
 
64
64
  - A working DeepSeek Harness Web installation with `dsh` available in PowerShell.
65
65
  - Examples use the `web` profile; replace it with the target profile.
66
- - Source installation and development require Node.js 20+. npm installation does not require running `npm install` in an arbitrary directory.
66
+ - Plugin `0.1.47` is tested with DeepSeek Harness `0.1.0-rc.8`, `0.1.1-rc.2`, `0.1.2-rc.1`, `0.1.5-rc.1`. Development dependencies remain pinned to `0.1.5-rc.1`; other Host versions are not implicitly supported.
67
+ - Source installation and development require Node.js `^22.19.0 || >=24.0.0`. npm installation does not require running `npm install` in an arbitrary directory.
67
68
 
68
69
  ## Installation
69
70
 
@@ -195,3 +196,18 @@ npm run verify
195
196
  ## License
196
197
 
197
198
  Licensed under [Apache License 2.0](LICENSE).
199
+
200
+ ## Host compatibility regression
201
+
202
+ `scripts/hosts.mjs` defines supported hosts; contract tests check package peer and development dependencies against it. Tests cover matching official component versions, not mixed versions or unlisted alpha/RC releases.
203
+
204
+ ```powershell
205
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
206
+ $OutputEncoding = [System.Text.Encoding]::UTF8
207
+ pnpm run test:compat
208
+ pnpm run test:compat 0.1.5-rc.1 --keep
209
+ ```
210
+
211
+ Without arguments, all hosts run sequentially. `--keep` retains the sandbox; `--serve` keeps the Host available for manual browser checks. Successful runs clean up by default; failures retain diagnostics. Compact evidence always goes to `.compat-results/`. npm and the project's pnpm must be available on PATH. The manual GitHub Actions compatibility workflow runs a Windows matrix and uploads evidence. It covers real Host APIs and Agent skill policies, not complete UI or external-model end-to-end testing.
212
+
213
+ To change supported hosts, edit `scripts/hosts.mjs`, run `node scripts/sync-hosts.mjs --write`, update the lockfile, and run the compatibility matrix. `verify` rejects metadata and README drift.
package/README.zh-CN.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <div align="center">
6
6
 
7
- # DSH Skills Manager
7
+ # DSH Skills Manager
8
8
 
9
9
  **在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills**
10
10
 
@@ -14,12 +14,11 @@
14
14
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-skills-manager.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
15
15
  [![npm 下载量](https://img.shields.io/npm/dt/%40michengai%2Fdsh-skills-manager.svg?label=npm%20%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://www.npmjs.com/package/@michengai/dsh-skills-manager)
16
16
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-skills-manager)
17
- [![Node.js 20 or later](https://img.shields.io/badge/Node.js-20%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
17
+ [![Node.js ^22.19.0 || >=24.0.0](https://img.shields.io/badge/Node.js-22.19%2B%20%7C%20%3E%3D24-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
18
18
  </div>
19
19
 
20
20
  > DSH Skills Manager 是社区维护的 DeepSeek Harness(DSH)插件,并非 DeepSeek AI 官方产品。
21
21
 
22
-
23
22
  ## 功能概览
24
23
 
25
24
  把散落在本机和项目中的 Agent 技能集中到 DSH 管理。在同一个页面里查找技能、查看内容、控制启停,也能创建或导入自己的技能。
@@ -64,7 +63,8 @@ DSH 本地技能移入回收站前需要确认;永久删除前仍可恢复:
64
63
 
65
64
  - 已可正常运行 DeepSeek Harness Web,且可在 PowerShell 中使用 `dsh`。
66
65
  - 以下示例使用 `web` profile;请替换为实际目标 profile。
67
- - 从源码安装或二次开发需要 Node.js 20+;仅从 npm 安装无需在任意目录执行 `npm install`。
66
+ - `0.1.47` 已验证兼容 DeepSeek Harness `0.1.0-rc.8`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.5-rc.1`;开发依赖固定使用 `0.1.5-rc.1`,不自动声明支持其他版本。
67
+ - 从源码安装或二次开发需要 Node.js `^22.19.0 || >=24.0.0`;仅从 npm 安装无需在任意目录执行 `npm install`。
68
68
 
69
69
  ## 安装
70
70
 
@@ -196,3 +196,18 @@ npm run verify
196
196
  ## 许可证
197
197
 
198
198
  本项目采用 [Apache License 2.0](LICENSE)。
199
+
200
+ ## 宿主兼容回归
201
+
202
+ 支持范围以 `scripts/hosts.mjs` 为准,契约测试检查发布包的 peer 和开发依赖与其一致。验证对象为官方同版本组件组合,不声明混装或其他 alpha/RC 版本兼容。
203
+
204
+ ```powershell
205
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
206
+ $OutputEncoding = [System.Text.Encoding]::UTF8
207
+ pnpm run test:compat
208
+ pnpm run test:compat 0.1.5-rc.1 --keep
209
+ ```
210
+
211
+ 不带参数顺序运行全部宿主;`--keep` 保留沙箱,`--serve` 保留宿主供手动浏览器验收。成功默认清理沙箱,失败保留诊断;精简证据始终写入 `.compat-results/`。需要 PATH 中可用的 npm 和项目指定 pnpm。GitHub Actions 的“四版本宿主兼容验证”可手动触发 Windows 矩阵并下载证据;它验证真实宿主 API 和 Agent 技能策略,不等同于完整 UI 或外部模型端到端测试。
212
+
213
+ 维护兼容范围时先编辑 `scripts/hosts.mjs`,运行 `node scripts/sync-hosts.mjs --write`,再更新锁文件并跑兼容矩阵;`verify` 会拦截元数据和 README 漂移。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-skills-manager",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "description": "NPM-installable DSH Web plugin for safely loading and managing skills across DSH and common local Agents.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,7 +32,6 @@
32
32
  },
33
33
  "client": {
34
34
  "inject": [
35
- "@deepseek-ai/dsh-client-runtime",
36
35
  "@deepseek-ai/dsh-client-ui-slots",
37
36
  "@deepseek-ai/dsh-client-locale"
38
37
  ],
@@ -41,10 +40,11 @@
41
40
  },
42
41
  "scripts": {
43
42
  "build": "node scripts/build.mjs",
44
- "test": "npm run build && node test/build-test.mjs && node test/core-test.mjs && node test/readonly-discovery.test.mjs && node test/locale-test.mjs",
45
- "verify": "npm test && npm run pack:check && node scripts/check-generated.mjs",
43
+ "test": "npm run build && node test/build-test.mjs && node test/core-test.mjs && node test/readonly-discovery.test.mjs && node test/locale-test.mjs && node test/compatibility-options-test.mjs",
44
+ "verify": "node scripts/sync-hosts.mjs && npm test && npm run pack:check && node scripts/check-generated.mjs",
46
45
  "pack:check": "npm pack --dry-run --json",
47
- "prepublishOnly": "npm run verify"
46
+ "prepublishOnly": "npm run verify",
47
+ "test:compat": "node scripts/test-host-compatibility.mjs"
48
48
  },
49
49
  "publishConfig": {
50
50
  "registry": "https://registry.npmjs.org/",
@@ -52,28 +52,27 @@
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@deepseek-ai/cordis": ">=4.0.1 <5.0.0",
55
- "@deepseek-ai/dsh-client-locale": ">=0.1.0-rc.5 <0.2.0",
56
- "@deepseek-ai/dsh-client-runtime": ">=0.1.0-rc.5 <0.2.0",
57
- "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.0-rc.5 <0.2.0",
58
- "@deepseek-ai/dsh-client-ui-slots": ">=0.1.0-rc.5 <0.2.0",
59
- "@deepseek-ai/dsh-host-webserver": ">=0.1.0-rc.5 <0.2.0",
60
- "@deepseek-ai/dsh-session": ">=0.1.0-rc.5 <0.2.0",
61
- "@deepseek-ai/dsh-skill": ">=0.1.0-rc.5 <0.2.0",
62
- "@deepseek-ai/dsh-tools": ">=0.1.0-rc.5 <0.2.0",
63
- "@deepseek-ai/dsh-web-app": ">=0.1.0-rc.5 <0.2.0",
55
+ "@deepseek-ai/dsh-client-locale": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
56
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
57
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
58
+ "@deepseek-ai/dsh-host-webserver": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
59
+ "@deepseek-ai/dsh-session": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
60
+ "@deepseek-ai/dsh-skill": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
61
+ "@deepseek-ai/dsh-tools": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
62
+ "@deepseek-ai/dsh-web-app": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1",
64
63
  "react": "^18.2.0"
65
64
  },
66
65
  "devDependencies": {
67
66
  "@deepseek-ai/cordis": "4.0.2",
68
- "@deepseek-ai/dsh-client-locale": "0.1.2-rc.1",
69
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
70
- "@deepseek-ai/dsh-client-ui-slots": "0.1.2-rc.1",
71
- "@deepseek-ai/dsh-host-webserver": "0.1.2-rc.1",
72
- "@deepseek-ai/dsh-session": "0.1.2-rc.1",
73
- "@deepseek-ai/dsh-scope": "0.1.2-rc.1",
74
- "@deepseek-ai/dsh-skill": "0.1.2-rc.1",
75
- "@deepseek-ai/dsh-tools": "0.1.2-rc.1",
76
- "@deepseek-ai/dsh-web-app": "0.1.2-rc.1",
67
+ "@deepseek-ai/dsh-client-locale": "0.1.5-rc.1",
68
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.1",
69
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1",
70
+ "@deepseek-ai/dsh-host-webserver": "0.1.5-rc.1",
71
+ "@deepseek-ai/dsh-session": "0.1.5-rc.1",
72
+ "@deepseek-ai/dsh-scope": "0.1.5-rc.1",
73
+ "@deepseek-ai/dsh-skill": "0.1.5-rc.1",
74
+ "@deepseek-ai/dsh-tools": "0.1.5-rc.1",
75
+ "@deepseek-ai/dsh-web-app": "0.1.5-rc.1",
77
76
  "esbuild": "0.25.0"
78
77
  },
79
78
  "engines": {