@michengai/dsh-skills-manager 1.2.22 → 1.2.24
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 +20 -0
- package/CHANGELOG.zh-CN.md +20 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/client.js +9 -6
- package/lib/core.js +108 -13
- package/lib/index.js +509 -386
- package/lib/plugin-updater.js +60 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.24 - 2026-10-31
|
|
4
|
+
|
|
5
|
+
- Support custom skill notes without modifying `SKILL.md` (Issue #73):
|
|
6
|
+
- Add "Edit note" option under skill card "More" menu to record custom descriptions and usage scenarios;
|
|
7
|
+
- Display custom notes directly on skill cards while preserving the original prompt description in tooltip;
|
|
8
|
+
- Support searching skill cards by custom notes keywords;
|
|
9
|
+
- Store notes safely in plugin display mapping layer without modifying underlying `SKILL.md` files;
|
|
10
|
+
- Automatically cleanup note entries upon permanently deleting trash items or removing custom sources, while protecting active skills with the same name.
|
|
11
|
+
|
|
12
|
+
## 1.2.23 - 2026-10-29
|
|
13
|
+
|
|
14
|
+
- Refactor API routes to host `connection.fetch.register`:
|
|
15
|
+
- Delegate API routes to host `connection.fetch.register`, unifying network admission and cookie authentication with official host semantics;
|
|
16
|
+
- Remove bespoke host fence and `webStartup` inspection, preventing Cordis Context Proxy errors from un-injected property access;
|
|
17
|
+
- Rely on host `connection.admit` for loopback, listener bind addresses, and `--trusted-host` entries;
|
|
18
|
+
- Notice for reverse proxy and custom domain deployments: configured trusted domains should be passed via host `--trusted-host` option.
|
|
19
|
+
- Distinguish workspace path error reasons and preserve errno in diagnostics (Issue #72):
|
|
20
|
+
- Differentiate `ENOENT`/`ENOTDIR` as `warning.project.missing` and `EACCES`/`EPERM` as `warning.project.unreadable` with errno;
|
|
21
|
+
- Display granular error reasons in workspace dropdown when paths are unavailable.
|
|
22
|
+
|
|
3
23
|
## 1.2.22 - 2026-10-29
|
|
4
24
|
|
|
5
25
|
- Fix 403 Forbidden Host on DSH 0.2.x with LAN IP and remote access (Issue #71):
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
[English](CHANGELOG.md)
|
|
4
4
|
|
|
5
|
+
## 1.2.24 - 2026-10-31
|
|
6
|
+
|
|
7
|
+
- 支持技能自定义简介与备注,不改写底层 `SKILL.md` 文件(Issue #73):
|
|
8
|
+
- 技能卡片「更多操作」菜单新增「编辑备注」入口,方便记录技能用途、唤起时机与使用经验;
|
|
9
|
+
- 技能卡片优先展示用户自定义备注,悬停提示保留面向模型的原生 prompt 简介;
|
|
10
|
+
- 顶部搜索框支持根据自定义备注关键词即时检索匹配技能;
|
|
11
|
+
- 备注数据持久化于插件内部显示映射层,完全不改动原始 `SKILL.md` 文件;
|
|
12
|
+
- 完善生命周期闭环:永久删除回收站条目或移除自定义来源时自动清理孤立备注,且严格保护同名现役技能数据不被误删。
|
|
13
|
+
|
|
14
|
+
## 1.2.23 - 2026-10-29
|
|
15
|
+
|
|
16
|
+
- 重构管理路由至宿主标准 `connection.fetch.register` 体系:
|
|
17
|
+
- 将所有管理 API 全面委托至宿主标准 `connection.fetch.register` 体系,来源准入与 Cookie 登录鉴权统一由宿主负责;
|
|
18
|
+
- 彻底删除插件自建 Host 栅栏代码及 `webStartup` 访问,消除 Cordis Context Proxy 在属性未声明 inject 时的抛错隐患;
|
|
19
|
+
- 依赖宿主 `connection.admit` 统一放行 loopback、`--host` 监听网卡地址与 `--trusted-host` 声明的 Host 名单;
|
|
20
|
+
- 针对反向代理与自定义域名部署场景:请统一通过宿主启动参数 `--trusted-host` 或配置指定受信域名。
|
|
21
|
+
- 细化工作区路径失效诊断与保留 errno(Issue #72):
|
|
22
|
+
- 针对工作区目录不存在细分为 `warning.project.missing`,无权限细分为 `warning.project.unreadable` 并保留具体错误码;
|
|
23
|
+
- 在前端工作区下拉菜单中根据具体错误码精确显示失效状态(目录不存在、无读取权限等)。
|
|
24
|
+
|
|
5
25
|
## 1.2.22 - 2026-10-29
|
|
6
26
|
|
|
7
27
|
- 修复 DSH 0.2.x 远程访问与局域网 IP 报 403 错误(Issue #71):
|
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.24**. Released changes are in the [changelog](CHANGELOG.md).
|
|
23
23
|
|
|
24
24
|
## Features
|
|
25
25
|
|
|
@@ -74,7 +74,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
74
74
|
|
|
75
75
|
Restart DSH, refresh the page, and open **Settings → Skills**. To update, select **Check for updates** or run the installation command again.
|
|
76
76
|
|
|
77
|
-
- Plugin `1.2.
|
|
77
|
+
- Plugin `1.2.24` 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`.
|
|
78
78
|
- 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` releases, alphas, and RCs 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`.
|
|
79
79
|
- **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`).
|
|
80
80
|
|
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.24**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
|
|
23
23
|
|
|
24
24
|
## 功能概览
|
|
25
25
|
|
|
@@ -74,7 +74,7 @@ dsh plugin --profile web add @michengai/dsh-skills-manager@latest --registry=htt
|
|
|
74
74
|
|
|
75
75
|
安装后重启 DSH 并刷新页面,打开「设置 → 技能」即可使用。更新时可点击「检查更新」,或重新执行安装命令。
|
|
76
76
|
|
|
77
|
-
- `1.2.
|
|
77
|
+
- `1.2.24` 已验证兼容 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`。
|
|
78
78
|
- 宿主支持范围:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`),自动支持后续日常小版本、alpha 与 RC,同代宿主升级无需重复等待发版。早期版本与 `0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的,请安装插件 `1.1.23`,不要装 `@latest`。
|
|
79
79
|
- **反向代理部署**:支持将 DSH 部署在带路径前缀的反向代理后面(如 `/app/dsh/`),插件 API 统一自动按页面基址(`document.baseURI`)相对解析。
|
|
80
80
|
|