@michengai/dsh-skills-manager 1.2.35 → 1.3.0

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
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.0] - 2026-11-08
4
+
5
+ ### New Features
6
+
7
+ - **Bulk operations for skill repositories**: select several entries and install, check for updates, update, restore the previous version, or uninstall in one run. A preflight shows what will run and what will be skipped, and each item reports success, failure, skip, or not run.
8
+ - **The batch scope is spelled out in the header**: items hidden by filters stay selected, and the header says so before you run anything.
9
+
10
+ ### Behavior Changes
11
+
12
+ - **Reinstalling after a permanent delete no longer creates duplicate records**: the same skill used to come back as two source records, which then failed with "install record is ambiguous, choose a location"; there is now always exactly one.
13
+ - **A failed permanent delete keeps both the backup and the source record**: if writing provenance or removing the files fails, the trash entry stays and its source record is kept, so you can still restore or retry instead of being left with missing files and a stale record.
14
+ - **A state file that already exceeds 16 MiB can still shrink by deleting trash entries**: the write was rejected before, which made the size limit a dead end.
15
+ - **An interrupted uninstall recovers on its own**: if a single uninstall fails midway, reopening the repository page confirms the files and restores the source record instead of leaving a dangling trash entry.
16
+ - **Batch runs no longer show a possibly wrong progress percentage**: the current phase is shown instead, so concurrent windows cannot interfere. The internal `POST /repositories/progress` endpoint was removed with it, so any external script calling it now gets a 404.
17
+ - **A failed batch uninstall no longer certifies an edited copy as installed**: when files change during the move, that copy now shows as untracked (conflicting) and is claimed again automatically once the files match the install record, so both entry points agree about the same failure.
18
+ - **Clearing the repository list also clears the selection**: removing the last repository no longer leaves a stale selected count or a persisted selection that comes back later.
19
+ - **"Retry failed items" says so when nothing is left to retry**: it no longer does nothing silently when the state changed.
20
+ - **Select-all uses a short label**: long repository names no longer push the header out. Checkboxes now use host controls, so keyboard and screen-reader behavior matches the rest of DSH.
21
+
22
+ [中文](CHANGELOG.zh-CN.md)
23
+
24
+
3
25
  ## [1.2.35] - 2026-11-06
4
26
 
5
27
  ### Behavior Changes
@@ -1,5 +1,27 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.3.0] - 2026-11-08
4
+
5
+ ### 新功能
6
+
7
+ - **技能仓库支持批量操作**:在多选后一次性安装、检查更新、更新、恢复上一版或卸载,执行前先预检哪些项可做、哪些会被跳过,执行后逐项给出成功、失败、跳过和未执行的结果。
8
+ - **批量操作的实际范围写在标题上**:被筛选隐藏的项目仍计入已选,操作前会明确提示,避免以为只处理了可见项。
9
+
10
+ ### 行为变更
11
+
12
+ - **永久删除回收站条目后重新安装不再产生重复记录**:此前同一技能删除后再装回,可能出现两条来源记录,并提示「安装记录不唯一,请明确选择安装位置」;现在始终只有一条。
13
+ - **永久删除失败时会保留备份和来源记录**:删除回收站条目如果在写入来源状态或删除文件时失败,条目仍留在回收站、来源记录也不会丢,可以继续恢复或重试,不会出现「文件没了、记录还在」。
14
+ - **来源状态超过 16 MiB 时仍能通过删除回收站条目收缩**:以前状态达到上限后连删除都会被拒绝,现在删除这类记录的写入被单独放行。
15
+ - **卸载中断后能自行恢复**:单条卸载如果中途失败,重新打开仓库页会按文件内容确认后恢复来源记录,不再留下悬空的回收站记录。
16
+ - **批量执行时不再显示可能错乱的进度百分比**:改为显示当前阶段,避免多个窗口互相干扰。配套移除了插件内部的 `POST /repositories/progress` 接口,若有外部脚本调用该接口会得到 404。
17
+ - **批量卸载失败后不再把改过的副本当作「已安装」**:如果移动过程中文件被改动,该副本会显示为未跟踪(冲突),等磁盘内容重新与安装记录一致后自动恢复认领,不再让两个入口对同一次失败给出不同结论。
18
+ - **仓库被清空时勾选一并清空**:删掉最后一个仓库后,残留的已选计数和会话里保存的选择不再复现。
19
+ - **「重试失败项」没有可重试项时会给出提示**:状态已变化时不再静默无反应。
20
+ - **全选使用短标签**:仓库名较长时不再把标题行挤出去。复选框改用宿主控件,键盘与读屏行为与 DSH 其他界面一致。
21
+
22
+ [English](CHANGELOG.md)
23
+
24
+
3
25
  ## [1.2.35] - 2026-11-06
4
26
 
5
27
  ### 行为变更
package/README.en.md CHANGED
@@ -73,7 +73,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
73
73
 
74
74
  Restart DSH, refresh the page, and open **Settings → Skills**. To update, select **Check for updates** or run the installation command again.
75
75
 
76
- - Plugin `1.2.35` is tested with DeepSeek Harness `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, `0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`, `0.2.1-rc.5`, `0.2.2-rc.1`.
76
+ - Plugin `1.3.0` is tested with DeepSeek Harness `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, `0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`, `0.2.1-rc.5`, `0.2.2-rc.1`.
77
77
  - Host compatibility: Full DeepSeek Harness `0.2.x` line (`>=0.2.0-rc.1 <0.3.0-0`), forwards-compatible with subsequent `0.2.x` RC releases without requiring routine plugin version bumps. Legacy versions and breaking changes in the `0.3.0` generation are rejected by the version gate. If you still use a `0.1.x` host, install plugin `1.1.23` instead of `@latest`.
78
78
  - **Reverse proxy deployment**: Supports hosting DSH behind prefix-stripping reverse proxies (e.g. `/app/dsh/`). API and update endpoints resolve against the page base URI (`document.baseURI`).
79
79
 
package/README.md CHANGED
@@ -73,7 +73,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
73
73
 
74
74
  安装后重启 DSH 并刷新页面,打开「设置 → 技能」即可使用。更新时可点击「检查更新」,或重新执行安装命令。
75
75
 
76
- - `1.2.35` 已验证兼容 DeepSeek Harness `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-rc.1`。
76
+ - `1.3.0` 已验证兼容 DeepSeek Harness `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-rc.1`。
77
77
  - 宿主支持范围:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`),自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。早期版本与 `0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的,请安装插件 `1.1.23`,不要装 `@latest`。
78
78
  - **反向代理部署**:支持将 DSH 部署在带路径前缀的反向代理后面(如 `/app/dsh/`),插件 API 统一自动按页面基址(`document.baseURI`)相对解析。
79
79
 
package/README.zh-CN.md CHANGED
@@ -73,7 +73,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
73
73
 
74
74
  安装后重启 DSH 并刷新页面,打开「设置 → 技能」即可使用。更新时可点击「检查更新」,或重新执行安装命令。
75
75
 
76
- - `1.2.35` 已验证兼容 DeepSeek Harness `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-rc.1`。
76
+ - `1.3.0` 已验证兼容 DeepSeek Harness `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-rc.1`。
77
77
  - 宿主支持范围:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`),自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。早期版本与 `0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的,请安装插件 `1.1.23`,不要装 `@latest`。
78
78
  - **反向代理部署**:支持将 DSH 部署在带路径前缀的反向代理后面(如 `/app/dsh/`),插件 API 统一自动按页面基址(`document.baseURI`)相对解析。
79
79