@michengai/dsh-skills-manager 0.1.35 → 0.1.37

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
@@ -6,6 +6,19 @@ The five most recent published versions are listed below.
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 0.1.37 - 2026-09-03
10
+
11
+ - Updated the direct DSH development dependencies from `0.1.2-alpha.5` to `0.1.2-rc.1` without changing the published peer-dependency contract.
12
+ - Rebased the dependency-version regression assertion on RC.1 and verified the complete package gate.
13
+ - Verified plugin registration, the Skill provider, SessionStore access, and the HTTP state endpoint against the real RC.1 Cordis host services.
14
+
15
+ ## 0.1.36 - 2026-09-03
16
+
17
+ - Separated maintained runtime source under `src` from generated `lib` package artifacts, with a reproducible Host and AMD-client build.
18
+ - Made artifact publication atomic: failed builds preserve the previous `lib` output, and release verification rejects stale or untracked generated files.
19
+ - Removed source maps from generated and published artifacts to avoid duplicating complete source files in the npm package.
20
+ - Added a pull-request and main-branch verification workflow that runs the complete release gate before merge.
21
+
9
22
  ## 0.1.35 - 2026-09-03
10
23
 
11
24
  - Aligned Settings header actions with the archive plugin: a GitHub project link and an Issues feedback link, with matching icons, accessible labels, responsive layout, and localized copy.
@@ -6,6 +6,19 @@
6
6
 
7
7
  ## 未发布
8
8
 
9
+ ## 0.1.37 - 2026-09-03
10
+
11
+ - 将直接 DSH 开发依赖从 `0.1.2-alpha.5` 升级至 `0.1.2-rc.1`,不改动已发布的 peer 依赖兼容范围。
12
+ - 将依赖版本回归断言同步到 RC.1,并完成完整发布门禁验证。
13
+ - 使用真实 RC.1 Cordis 宿主服务验证插件注册、Skill Provider、SessionStore 访问和 HTTP 状态接口。
14
+
15
+ ## 0.1.36 - 2026-09-03
16
+
17
+ - 将可维护运行源码统一迁移到 `src`,`lib` 改为可复现生成的 Host 与 AMD 客户端发布产物。
18
+ - 构建产物改为原子发布:构建失败时保留旧 `lib`,发布校验拒绝过期或未跟踪的生成文件。
19
+ - 不再生成或发布 source map,避免 npm 包重复携带完整源码。
20
+ - 新增 PR 与主分支验证工作流,在合入前执行完整发布门禁。
21
+
9
22
  ## 0.1.35 - 2026-09-03
10
23
 
11
24
  - 设置页标题操作与归档插件统一:新增 GitHub 项目链接和 Issues 问题反馈链接,图标、无障碍标签、响应式布局及中英文文案保持一致。
package/README.md CHANGED
@@ -173,10 +173,12 @@ Escape closes only the frontmost upload or confirmation dialog and leaves Settin
173
173
 
174
174
  ## Secondary development
175
175
 
176
- This repository has no `src` directory. `lib` is directly maintained runtime source, which is its current layout rather than the recommended layout for new plugins. New plugins should prefer `src` built to `lib`.
176
+ Runtime source is maintained under `src`; `lib` is generated by `npm run build` and published with the npm package. Change `src`, never `lib` directly.
177
177
 
178
- - [lib\index.js](lib/index.js): host service and local skill file operations.
179
- - [lib\client.js](lib/client.js): Settings page, upload, and confirmation interactions.
178
+ - [src\core.js](src/core.js): file-operation, permission, and import boundary core.
179
+ - [src\index.js](src/index.js): host service and local skill file operations.
180
+ - [src\client.js](src/client.js): Settings page, upload, and confirmation interactions.
181
+ - [scripts\build.mjs](scripts/build.mjs): produces Host and browser `lib` artifacts.
180
182
  - `test\core-test.mjs`: file-operation, permission, and import boundary tests.
181
183
  - `test\locale-test.mjs`: UI locale tests.
182
184
 
@@ -186,7 +188,7 @@ After changing the runtime source, test, inspect package contents, and install f
186
188
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
187
189
  $OutputEncoding = [System.Text.Encoding]::UTF8
188
190
  npm test
189
- npm run pack:check
191
+ npm run verify
190
192
  dsh plugin --profile web add .
191
193
  ```
192
194
 
@@ -198,10 +200,10 @@ Preserve path validation, temporary-copy replacement, and shared-skill read-only
198
200
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
199
201
  $OutputEncoding = [System.Text.Encoding]::UTF8
200
202
  npm test
201
- npm run pack:check
203
+ npm run verify
202
204
  ```
203
205
 
204
- `prepublishOnly` runs the core tests before publishing.
206
+ `prepublishOnly` runs the complete `verify` gate before publishing: build, tests, package inspection, and generated-artifact synchronization.
205
207
 
206
208
  ## Documentation and license
207
209
 
package/README.zh-CN.md CHANGED
@@ -173,10 +173,12 @@ dsh --profile web --dump-config
173
173
 
174
174
  ## 二次开发
175
175
 
176
- 当前仓库未提供 `src` 源目录,`lib` 是直接维护的运行源码;这是当前仓库的实现方式,不是新插件的推荐布局。新插件建议使用 `src` 开发并构建到 `lib`:
176
+ 运行源码维护在 `src`,`lib` 是由 `npm run build` 生成并随 npm 包发布的产物。请修改 `src`,不要直接修改 `lib`:
177
177
 
178
- - [lib\index.js](lib/index.js):Host 服务与本地技能文件操作入口。
179
- - [lib\client.js](lib/client.js):设置页、上传和确认交互。
178
+ - [src\core.js](src/core.js):文件操作、权限和导入边界核心。
179
+ - [src\index.js](src/index.js):Host 服务与本地技能文件操作入口。
180
+ - [src\client.js](src/client.js):设置页、上传和确认交互。
181
+ - [scripts\build.mjs](scripts/build.mjs):生成 Host 与浏览器端 `lib` 产物。
180
182
  - `test\core-test.mjs`:文件操作、权限和导入边界测试。
181
183
  - `test\locale-test.mjs`:界面词条测试。
182
184
 
@@ -186,7 +188,7 @@ dsh --profile web --dump-config
186
188
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
187
189
  $OutputEncoding = [System.Text.Encoding]::UTF8
188
190
  npm test
189
- npm run pack:check
191
+ npm run verify
190
192
  dsh plugin --profile web add .
191
193
  ```
192
194
 
@@ -198,10 +200,10 @@ dsh plugin --profile web add .
198
200
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
199
201
  $OutputEncoding = [System.Text.Encoding]::UTF8
200
202
  npm test
201
- npm run pack:check
203
+ npm run verify
202
204
  ```
203
205
 
204
- `prepublishOnly` 会在发布前自动执行核心测试。
206
+ `prepublishOnly` 会在发布前自动执行完整 `verify` 门禁:构建、测试、发布包检查和生成产物同步检查。
205
207
 
206
208
  ## 项目文档与许可证
207
209