@michengai/dsh-skills-manager 1.2.32 → 1.2.34
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 +21 -0
- package/CHANGELOG.zh-CN.md +21 -0
- package/README.en.md +2 -2
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/client.js +7 -7
- package/lib/repositories.js +30 -16
- package/lib/repository-git.js +122 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.34] - 2026-11-06
|
|
4
|
+
|
|
5
|
+
### Improvements
|
|
6
|
+
|
|
7
|
+
- **Load large skill repositories without size-limit errors** (Issue #79):
|
|
8
|
+
- GitHub repositories are now fetched on demand: only directories containing `SKILL.md` are downloaded, so README screenshots and other unrelated assets no longer count against the size limit (the reported 235 MiB repository now transfers about 20 MiB while listing all 177 skills);
|
|
9
|
+
- Repository scanning and installation are no longer capped by the old 32 MiB archive limit; when no usable local Git is available, the plugin falls back to the previous full-archive download;
|
|
10
|
+
- The snapshot version badge now shows the Git commit of GitHub repositories.
|
|
11
|
+
|
|
12
|
+
[中文文档](CHANGELOG.zh-CN.md)
|
|
13
|
+
|
|
14
|
+
## [1.2.33] - 2026-11-05
|
|
15
|
+
|
|
16
|
+
### Improvements
|
|
17
|
+
|
|
18
|
+
- **Allow closing the repository management modal during updates and scans** (Issue #78):
|
|
19
|
+
- In the "Discover Skills -> Manage Repositories" panel, clicking the top-right close button (X) now immediately closes the modal while repository updates or initial scans are in progress.
|
|
20
|
+
- Background refresh tasks continue smoothly with progress visible on the main page, avoiding modal freeze during network delays.
|
|
21
|
+
|
|
22
|
+
[中文文档](CHANGELOG.zh-CN.md)
|
|
23
|
+
|
|
3
24
|
## [1.2.32] - 2026-11-05
|
|
4
25
|
|
|
5
26
|
### Security & Compatibility
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.2.34] - 2026-11-06
|
|
4
|
+
|
|
5
|
+
### 体验优化
|
|
6
|
+
|
|
7
|
+
- **大体积技能仓库不再报体积超限**(Issue #79):
|
|
8
|
+
- GitHub 仓库改为按需检出:只下载包含 `SKILL.md` 的技能目录,仓库首页截图等无关文件不再计入体积限制(反馈中的 235 MiB 仓库现在只传输约 20 MiB,即可列出全部 177 个技能);
|
|
9
|
+
- 仓库扫描与安装不再受旧的 32 MiB 归档上限约束;本机没有可用 Git 时自动回落为整库下载;
|
|
10
|
+
- 扫描版本标识改为显示 GitHub 仓库的 Git 提交。
|
|
11
|
+
|
|
12
|
+
[English](CHANGELOG.md)
|
|
13
|
+
|
|
14
|
+
## [1.2.33] - 2026-11-05
|
|
15
|
+
|
|
16
|
+
### 交互体验优化
|
|
17
|
+
|
|
18
|
+
- **修复仓库更新与扫描期间无法关闭管理弹窗的问题**(Issue #78):
|
|
19
|
+
- 在「发现技能 -> 管理仓库」面板中,当正在刷新仓库、检查更新或初始化扫描时,支持随时点击弹窗右上角关闭按钮(X)退出管理面板;
|
|
20
|
+
- 关闭弹窗后后台刷新任务继续平稳运行并在主页面显示更新进度,避免因网络耗时导致弹窗锁死在屏幕中央。
|
|
21
|
+
|
|
22
|
+
[English](CHANGELOG.md)
|
|
23
|
+
|
|
3
24
|
## [1.2.32] - 2026-11-05
|
|
4
25
|
|
|
5
26
|
### 安全与兼容性优化
|
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.
|
|
76
|
+
- Plugin `1.2.34` 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
|
|
|
@@ -159,7 +159,7 @@ The DeepSeek Harness loader enforces strict identifier policies:
|
|
|
159
159
|
|
|
160
160
|
- The header **Check for updates** updates the plugin itself; repository **Refresh** checks subscribed skill contents without replacing local files.
|
|
161
161
|
- Repository installation can target user DSH skills, Shared Agent (`~/.agents/skills`, overridable via `DSH_AGENTS_HOME`), or `<project>/.dsh/skills` for registered workspaces. Unsafe paths and external agent roots (Codex, Claude) are locked against writes.
|
|
162
|
-
-
|
|
162
|
+
- GitHub repositories are fetched on demand: only directories containing `SKILL.md` are downloaded, so README images and other unrelated assets are skipped (a subdirectory narrows the scope further). Without a usable local Git the plugin falls back to the full archive, capped at 32 MiB.
|
|
163
163
|
- Local edits are detected and require explicit confirmation before overwriting; backup history is preserved for rollback.
|
|
164
164
|
|
|
165
165
|
## Supported Agent directories
|
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.
|
|
76
|
+
- `1.2.34` 已验证兼容 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
|
|
|
@@ -159,7 +159,7 @@ DeepSeek Harness 宿主加载机制对技能标识符遵循规范命名约束:
|
|
|
159
159
|
|
|
160
160
|
- 顶栏「检查更新」用于更新技能管理器插件自身;仓库区「刷新」仅检查技能仓库内容更新,不自动覆盖本地。
|
|
161
161
|
- 仓库安装可以写入用户目录下的 DSH skills 或公共 Agent(`~/.agents/skills`,可用 `DSH_AGENTS_HOME` 覆盖),也可以写入已登记工作区的 `<项目根>/.dsh/skills`。选择器显示实际配置路径,并禁用不安全路径;缺少的目录仅在确认安装后创建。不能安装到 Codex、Claude 等其他 Agent 目录。
|
|
162
|
-
-
|
|
162
|
+
- GitHub 仓库按需检出:只下载包含 `SKILL.md` 的技能目录,仓库首页配图等无关内容不参与下载(指定子目录可进一步缩小范围);本机没有可用 Git 时回落整库归档,归档上限 32 MiB。
|
|
163
163
|
- 更新前检测本地修改,覆盖必须明确确认;历史备份不自动清理,可随时恢复上一版。
|
|
164
164
|
|
|
165
165
|
## 支持的 Agent 目录
|
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.
|
|
76
|
+
- `1.2.34` 已验证兼容 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
|
|
|
@@ -159,7 +159,7 @@ DeepSeek Harness 宿主加载机制对技能标识符遵循规范命名约束:
|
|
|
159
159
|
|
|
160
160
|
- 顶栏「检查更新」用于更新技能管理器插件自身;仓库区「刷新」仅检查技能仓库内容更新,不自动覆盖本地。
|
|
161
161
|
- 仓库安装可以写入用户目录下的 DSH skills 或公共 Agent(`~/.agents/skills`,可用 `DSH_AGENTS_HOME` 覆盖),也可以写入已登记工作区的 `<项目根>/.dsh/skills`。选择器显示实际配置路径,并禁用不安全路径;缺少的目录仅在确认安装后创建。不能安装到 Codex、Claude 等其他 Agent 目录。
|
|
162
|
-
-
|
|
162
|
+
- GitHub 仓库按需检出:只下载包含 `SKILL.md` 的技能目录,仓库首页配图等无关内容不参与下载(指定子目录可进一步缩小范围);本机没有可用 Git 时回落整库归档,归档上限 32 MiB。
|
|
163
163
|
- 更新前检测本地修改,覆盖必须明确确认;历史备份不自动清理,可随时恢复上一版。
|
|
164
164
|
|
|
165
165
|
## 支持的 Agent 目录
|