@michengai/dsh-skills-manager 1.2.15 → 1.2.16
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 +4 -0
- package/CHANGELOG.zh-CN.md +4 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/core.js +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.16 - 2026-10-24
|
|
4
|
+
|
|
5
|
+
- Dynamically migrate non-baseline external sources in `migrateManagerStateDocument()`, resolving state lockup and accidental fail-closed disablement when upgrading from older releases (Issue #63).
|
|
6
|
+
|
|
3
7
|
## 1.2.15 - 2026-10-24
|
|
4
8
|
|
|
5
9
|
- Recognize Google Antigravity global skills under `~/.gemini/config/skills` with `DSH_ANTIGRAVITY_HOME` override support (#61).
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[English](CHANGELOG.md)
|
|
4
4
|
|
|
5
|
+
## 1.2.16 - 2026-10-24
|
|
6
|
+
|
|
7
|
+
- 修复状态文档迁移逻辑:动态识别并补齐所有新增外部来源的缺省字段(含 `antigravity`),解决从旧版本升级后状态文件校验失败、导致所有技能被安全停用且写入锁定的问题(Issue #63)。
|
|
8
|
+
|
|
5
9
|
## 1.2.15 - 2026-10-24
|
|
6
10
|
|
|
7
11
|
- 支持识别 Google Antigravity 全局技能目录(`~/.gemini/config/skills`),并支持通过 `DSH_ANTIGRAVITY_HOME` 环境变量自定义覆盖(#61)。
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
> DSH Skills Manager is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.
|
|
21
21
|
|
|
22
|
-
This README describes **1.2.
|
|
22
|
+
This README describes **1.2.16**. Released changes are in the [changelog](CHANGELOG.md).
|
|
23
23
|
|
|
24
24
|
## Features
|
|
25
25
|
|
|
@@ -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.16` 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`.
|
|
77
77
|
- Hosts before `0.2.0` are no longer supported. 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.zh-CN.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
> DSH Skills Manager 是社区维护的 DeepSeek Harness(DSH)插件,并非 DeepSeek AI 官方产品。
|
|
21
21
|
|
|
22
|
-
本文描述 **1.2.
|
|
22
|
+
本文描述 **1.2.16**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
|
|
23
23
|
|
|
24
24
|
## 功能概览
|
|
25
25
|
|
|
@@ -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.16` 已验证兼容 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`。
|
|
77
77
|
- 不再支持 `0.2.0` 之前的宿主。仍在使用 `0.1.x` 的,请安装插件 `1.1.23`,不要装 `@latest`。
|
|
78
78
|
- **反向代理部署**:支持将 DSH 部署在带路径前缀的反向代理后面(如 `/app/dsh/`),插件 API 统一自动按页面基址(`document.baseURI`)相对解析。
|
|
79
79
|
|
package/lib/core.js
CHANGED
|
@@ -1261,10 +1261,18 @@ function validManagerStateDocument(value) {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
return true;
|
|
1263
1263
|
}
|
|
1264
|
+
const BASELINE_SOURCES = /* @__PURE__ */ new Set([
|
|
1265
|
+
"dsh",
|
|
1266
|
+
"agents",
|
|
1267
|
+
"codex",
|
|
1268
|
+
"claude",
|
|
1269
|
+
"gemini",
|
|
1270
|
+
"opencode"
|
|
1271
|
+
]);
|
|
1264
1272
|
function migrateManagerStateDocument(value) {
|
|
1265
1273
|
if (!value || typeof value !== "object" || Array.isArray(value) || value.version !== 1)
|
|
1266
1274
|
return value;
|
|
1267
|
-
const addedSources =
|
|
1275
|
+
const addedSources = userRoots().map((root) => root.key).filter((key) => !BASELINE_SOURCES.has(key));
|
|
1268
1276
|
for (const key of addedSources) {
|
|
1269
1277
|
for (const field of ["sources", "disabledSkills", "enabledSkills"]) {
|
|
1270
1278
|
if (value[field] && typeof value[field] === "object" && !Array.isArray(value[field]) && value[field][key] === void 0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-skills-manager",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "DSH Skills Manager — 在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills · Load and safely manage local Agent Skills in DSH",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|