@michengai/dsh-skills-manager 0.1.52 → 0.1.53
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 +6 -4
- package/CHANGELOG.zh-CN.md +6 -4
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +16 -3
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
The five most recent published versions are listed below.
|
|
6
6
|
|
|
7
|
+
## 0.1.53 - 2026-09-18
|
|
8
|
+
|
|
9
|
+
- Fix the empty Project tab on official DeepSeek Harness `0.1.6-alpha.2`. Session lists no longer expose a current-session field; the tab now follows the session shown in the main view, while older hosts keep the previous current-session binding.
|
|
10
|
+
- Add support for DeepSeek Harness `0.1.6-alpha.2` while retaining the six previously supported versions.
|
|
11
|
+
- Use a bilingual package.json description matching the GitHub repository.
|
|
12
|
+
|
|
7
13
|
## 0.1.52 - 2026-09-16
|
|
8
14
|
|
|
9
15
|
- Add support for DeepSeek Harness `0.1.6-alpha.1` while retaining support for the five previously supported versions; skill discovery, enable/disable policies, and management workflows remain unchanged.
|
|
@@ -23,7 +29,3 @@ The five most recent published versions are listed below.
|
|
|
23
29
|
- Prioritize project copies over global copies and toggle each source independently. Another enabled copy can take over when one is disabled, with the active source identified in the UI; invocation is blocked only when all copies are disabled.
|
|
24
30
|
- Give Global, Project, and Trash separate tabs, group skills into collapsible sources, hide long descriptions, and remove redundant information. Creation and import always save to global DSH; generic project `skills/` directories use a neutral source label.
|
|
25
31
|
- Fix update buttons and dialogs not following language changes, and align Trash date formatting and import-warning separators with the UI language.
|
|
26
|
-
|
|
27
|
-
## 0.1.48 - 2026-09-11
|
|
28
|
-
|
|
29
|
-
- Add support for DeepSeek Harness `0.1.5-rc.2` while retaining support for the four previously supported versions; skill discovery, enable/disable policies, and management workflows remain unchanged.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录最近发布的五个版本。
|
|
6
6
|
|
|
7
|
+
## 0.1.53 - 2026-09-18
|
|
8
|
+
|
|
9
|
+
- 修复官方 DeepSeek Harness `0.1.6-alpha.2` 上「项目」页为空:会话列表不再提供当前会话字段,项目页改为跟随主界面正在查看的会话;旧宿主仍按原来的当前会话工作。
|
|
10
|
+
- 新增 DeepSeek Harness `0.1.6-alpha.2` 兼容支持,保留此前六个版本的支持。
|
|
11
|
+
- package.json 描述改为中英双语,与 GitHub 仓库描述一致。
|
|
12
|
+
|
|
7
13
|
## 0.1.52 - 2026-09-16
|
|
8
14
|
|
|
9
15
|
- 新增 DeepSeek Harness `0.1.6-alpha.1` 兼容支持,保留此前五个版本的支持;技能发现、启停及管理方式保持不变。
|
|
@@ -23,7 +29,3 @@
|
|
|
23
29
|
- 项目副本优先于全局副本,各来源独立启停;停用后可由其他已启用副本接管,并在页面提示实际来源,全部副本停用时才阻断调用。
|
|
24
30
|
- 全局、项目和回收站使用独立 Tab,技能按来源折叠并隐藏长描述,精简重复信息。创建和导入固定保存到全局 DSH;通用项目 `skills/` 使用中性来源名称。
|
|
25
31
|
- 修复切换中英文时更新按钮和弹窗未同步、回收站时间格式及导入警告分隔符不一致的问题。
|
|
26
|
-
|
|
27
|
-
## 0.1.48 - 2026-09-11
|
|
28
|
-
|
|
29
|
-
- 新增 DeepSeek Harness `0.1.5-rc.2` 兼容支持,保留此前四个版本的支持;技能发现、启停及管理方式保持不变。
|
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
67
67
|
|
|
68
68
|
Restart DSH, refresh the page, and open **Settings → Skills**. To update, select **Check for updates** or run the installation command again.
|
|
69
69
|
|
|
70
|
-
- Plugin `0.1.
|
|
70
|
+
- Plugin `0.1.53` 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`, `0.1.5-rc.2`, `0.1.6-alpha.1`, `0.1.6-alpha.2`.
|
|
71
71
|
|
|
72
72
|
## Usage
|
|
73
73
|
|
package/README.zh-CN.md
CHANGED
|
@@ -67,7 +67,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
67
67
|
|
|
68
68
|
安装后重启 DSH 并刷新页面,打开「设置 → 技能」即可使用。更新时可点击「检查更新」,或重新执行安装命令。
|
|
69
69
|
|
|
70
|
-
- `0.1.
|
|
70
|
+
- `0.1.53` 已验证兼容 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.2`、`0.1.6-alpha.1`、`0.1.6-alpha.2`。
|
|
71
71
|
|
|
72
72
|
## 使用说明
|
|
73
73
|
|
package/lib/client.js
CHANGED
|
@@ -1017,10 +1017,22 @@
|
|
|
1017
1017
|
if (!handleModalEscape(e, props.onClose)) trapModalFocus(e.currentTarget, e);
|
|
1018
1018
|
} }, h("div", { className: "dssm-modal-head" }, h("h3", { className: "dssm-modal-title" }, props.title), h("button", { type: "button", className: "dssm-btn dssm-btn-secondary", onClick: props.onClose }, props.closeLabel)), props.children));
|
|
1019
1019
|
}
|
|
1020
|
+
function currentSessionId(snapshot) {
|
|
1021
|
+
if (!snapshot) return void 0;
|
|
1022
|
+
if (typeof snapshot.current === "string" && snapshot.current) return snapshot.current;
|
|
1023
|
+
var byId = snapshot.byId || {};
|
|
1024
|
+
var ids = Array.isArray(snapshot.ids) && snapshot.ids.length ? snapshot.ids : Object.keys(byId);
|
|
1025
|
+
for (var i = 0; i < ids.length; i++) {
|
|
1026
|
+
var row = byId[ids[i]];
|
|
1027
|
+
if (row && row.retainedBy && row.retainedBy.mainView) return ids[i];
|
|
1028
|
+
}
|
|
1029
|
+
for (var id in byId) {
|
|
1030
|
+
if (ids.indexOf(id) !== -1) continue;
|
|
1031
|
+
if (byId[id] && byId[id].retainedBy && byId[id].retainedBy.mainView) return id;
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1020
1034
|
function SkillManagerSection(props) {
|
|
1021
|
-
var sessionId = props.useSessions ? props.useSessions(
|
|
1022
|
-
return snapshot.current;
|
|
1023
|
-
}) : void 0;
|
|
1035
|
+
var sessionId = props.useSessions ? props.useSessions(currentSessionId) : void 0;
|
|
1024
1036
|
var scopes = react.useState("user"), filtersState = react.useState({}), expandedState = react.useState({});
|
|
1025
1037
|
return h(SkillManagerView, Object.assign({}, props, { key: sessionId || "no-session", sessionId, scope: scopes[0], setScope: scopes[1], savedFilters: filtersState[0], setSavedFilters: filtersState[1], expanded: expandedState[0], setExpanded: expandedState[1] }));
|
|
1026
1038
|
}
|
|
@@ -1403,6 +1415,7 @@
|
|
|
1403
1415
|
module.exports.skillStatus = skillStatus;
|
|
1404
1416
|
module.exports.countSkillStatuses = countSkillStatuses;
|
|
1405
1417
|
module.exports.nextScopeTab = nextScopeTab;
|
|
1418
|
+
module.exports.currentSessionId = currentSessionId;
|
|
1406
1419
|
module.exports.canToggleSource = canToggleSource;
|
|
1407
1420
|
module.exports.trapModalFocus = trapModalFocus;
|
|
1408
1421
|
module.exports.handleModalEscape = handleModalEscape;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-skills-manager",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.53",
|
|
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": {
|
|
7
7
|
"type": "git",
|
|
@@ -52,27 +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.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.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 || 0.1.5-rc.2 || 0.1.6-alpha.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 || 0.1.5-rc.2 || 0.1.6-alpha.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 || 0.1.5-rc.2 || 0.1.6-alpha.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 || 0.1.5-rc.2 || 0.1.6-alpha.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 || 0.1.5-rc.2 || 0.1.6-alpha.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 || 0.1.5-rc.2 || 0.1.6-alpha.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 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
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 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2",
|
|
63
63
|
"react": "^18.2.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@deepseek-ai/cordis": "4.0.2",
|
|
67
|
-
"@deepseek-ai/dsh-client-locale": "0.1.6-alpha.
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.1.6-alpha.
|
|
69
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.6-alpha.
|
|
70
|
-
"@deepseek-ai/dsh-host-webserver": "0.1.6-alpha.
|
|
71
|
-
"@deepseek-ai/dsh-session": "0.1.6-alpha.
|
|
72
|
-
"@deepseek-ai/dsh-scope": "0.1.6-alpha.
|
|
73
|
-
"@deepseek-ai/dsh-skill": "0.1.6-alpha.
|
|
74
|
-
"@deepseek-ai/dsh-tools": "0.1.6-alpha.
|
|
75
|
-
"@deepseek-ai/dsh-web-app": "0.1.6-alpha.
|
|
67
|
+
"@deepseek-ai/dsh-client-locale": "0.1.6-alpha.2",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.6-alpha.2",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.6-alpha.2",
|
|
70
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.6-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-session": "0.1.6-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-scope": "0.1.6-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-skill": "0.1.6-alpha.2",
|
|
74
|
+
"@deepseek-ai/dsh-tools": "0.1.6-alpha.2",
|
|
75
|
+
"@deepseek-ai/dsh-web-app": "0.1.6-alpha.2",
|
|
76
76
|
"esbuild": "0.25.0"
|
|
77
77
|
},
|
|
78
78
|
"engines": {
|