@michengai/dsh-skills-manager 1.2.22 → 1.2.23

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,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.23 - 2026-10-29
4
+
5
+ - Refactor API routes to host `connection.fetch.register`:
6
+ - Delegate API routes to host `connection.fetch.register`, unifying network admission and cookie authentication with official host semantics;
7
+ - Remove bespoke host fence and `webStartup` inspection, preventing Cordis Context Proxy errors from un-injected property access;
8
+ - Rely on host `connection.admit` for loopback, listener bind addresses, and `--trusted-host` entries;
9
+ - Notice for reverse proxy and custom domain deployments: configured trusted domains should be passed via host `--trusted-host` option.
10
+ - Distinguish workspace path error reasons and preserve errno in diagnostics (Issue #72):
11
+ - Differentiate `ENOENT`/`ENOTDIR` as `warning.project.missing` and `EACCES`/`EPERM` as `warning.project.unreadable` with errno;
12
+ - Display granular error reasons in workspace dropdown when paths are unavailable.
13
+
3
14
  ## 1.2.22 - 2026-10-29
4
15
 
5
16
  - Fix 403 Forbidden Host on DSH 0.2.x with LAN IP and remote access (Issue #71):
@@ -2,6 +2,17 @@
2
2
 
3
3
  [English](CHANGELOG.md)
4
4
 
5
+ ## 1.2.23 - 2026-10-29
6
+
7
+ - 重构管理路由至宿主标准 `connection.fetch.register` 体系:
8
+ - 将所有管理 API 全面委托至宿主标准 `connection.fetch.register` 体系,来源准入与 Cookie 登录鉴权统一由宿主负责;
9
+ - 彻底删除插件自建 Host 栅栏代码及 `webStartup` 访问,消除 Cordis Context Proxy 在属性未声明 inject 时的抛错隐患;
10
+ - 依赖宿主 `connection.admit` 统一放行 loopback、`--host` 监听网卡地址与 `--trusted-host` 声明的 Host 名单;
11
+ - 针对反向代理与自定义域名部署场景:请统一通过宿主启动参数 `--trusted-host` 或配置指定受信域名。
12
+ - 细化工作区路径失效诊断与保留 errno(Issue #72):
13
+ - 针对工作区目录不存在细分为 `warning.project.missing`,无权限细分为 `warning.project.unreadable` 并保留具体错误码;
14
+ - 在前端工作区下拉菜单中根据具体错误码精确显示失效状态(目录不存在、无读取权限等)。
15
+
5
16
  ## 1.2.22 - 2026-10-29
6
17
 
7
18
  - 修复 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**. Released changes are in the [changelog](CHANGELOG.md).
22
+ This README describes **1.2.23**. 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.22` 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
+ - Plugin `1.2.23` 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**。已发布变更见[更新日志](CHANGELOG.zh-CN.md)。
22
+ 本文描述 **1.2.23**。已发布变更见[更新日志](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.22` 已验证兼容 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
+ - `1.2.23` 已验证兼容 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