dsh-lan-guard 0.7.9 → 0.7.11

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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.11] — 2026-11-14(适配 DSH 0.2.2-rc.3)
4
+
5
+ - 兼容声明新增 `0.2.2-rc.2`、`0.2.2-rc.3`,支持范围仍为 `>=0.1.7-rc.1 <0.3.0`(上界已覆盖,无需放宽或版本豁免);开发依赖 `dsh-host-webserver` / `dsh-client-connection` / `dsh-scope` 同步到 `0.2.2-rc.3`,Cordis 4.1.0 与 Schemastery 3.19.0 不变。
6
+ - 逐包比对 rc.1 → rc.3 的 npm 产物:`dsh-host-webserver`、`dsh-scope` 的 lib 构建与类型逐字节一致;`dsh-client-connection` 只有浏览器包被改成压缩输出(导出的 `RpcId` / `apply` / `inject` / `installConnection` / `transportError` 相同),rc.2 与 rc.3 的三包产物亦逐字节一致。0.2.2-rc.1 之后没有新的 DSH 升级指南条目。
7
+ - 客户端接缝复核:`settings.section` seat 仍在 `dsh-client-ui-settings` 的 slot 契约中,本轮唯一变更是可选参数的 `openSettings(sectionId?)`(本插件未调用);源码未引用 `BundleInfo.updatable`,无需按 `plugin-update-method` 指南迁移;没有覆盖页头的自定义浮层,`window-drag-regions` 指南不适用。
8
+ - 运行时源码不变:换用 rc.3 依赖构建出的 `lib/index.js`、`lib/index.d.ts`、`lib/client.js`、`lib/client.js.map` 与 npm 上 `0.7.10` 包内文件逐字节一致。
9
+ - rc.3 类型检查、23 个测试文件 / 390 项用例、构建与版本/打包门禁全部通过。运行 0.2.2-rc.3 的实例(profile `web`,装的是 `0.7.10`)只读核对:代理入口 `301 → https 200`、页面补丁(手机滚动 / 轮次浮轨)注入、客户端模块 `plugins/??dsh-lan-guard/client.js` 200 且 104160 字节、`/plugins/dsh-lan-guard/config` 返回真实配置。
10
+ - 两版 README 的徽章、已验证行、当前版本句、兼容表(新增 latest 行、`0.7.10` 转 published)、16 个历史验证版本清单与发版 tag 示例同步为 `0.7.11` / `0.2.2-rc.3`。
11
+ - npm 渠道核对(2026-11-14):`next` = `0.2.2-rc.3`,`latest` = `0.2.2-rc.1`,`alpha` = `0.2.2-alpha.3`。
12
+ - 未做:rc.3 浏览器交互、完整 LAN/WebSocket、手机实机(触摸/锁屏/语音)验收;不修改 profile、其他工作区插件,也不自动安装或重启 DSH。
13
+
14
+ ## [0.7.10] — 2026-11-04(适配 DSH 0.2.2-rc.1)
15
+
16
+ - 兼容声明新增 `0.2.2-rc.1`,支持范围仍为 `>=0.1.7-rc.1 <0.3.0`;DSH 开发依赖与 scope 同步 rc.1,Cordis 4.1.0、Schemastery 3.19.0,现有 peer 范围已覆盖,无需放宽或豁免。
17
+ - 对照 alpha.3,webserver、connection、scope、Cordis、Schemastery 的非 map 构建与类型文件逐字节一致,核心宿主接口契约不变。
18
+ - 运行时源码不变;新版依赖下构建的 `lib/index.js`、`index.d.ts`、`client.js`、`client.js.map` 与已发布 0.7.9 包逐字节一致。
19
+ - rc.1 类型检查、23 个测试文件 / 390 项用例通过;当前 rc.1 实例的代理首页、页面补丁注入、管理配置与设备接口只读检查正常。
20
+ - 两版 README 徽章、当前版本、兼容表、14 个历史验证版本清单、发布 tag 示例同步 0.7.10 / 0.2.2-rc.1;双语 Release 与 npm 包内容一并检查。
21
+ - npm 渠道核对(2026-11-04):next=0.2.2-rc.1、alpha=0.2.2-alpha.3、latest=0.2.1-rc.5;不声明 0.2.1-rc.5 已验证。
22
+ - 本次未重做浏览器交互、完整 LAN/WebSocket、手机触摸/锁屏/语音验收,不沿用 alpha.3 的浏览器测量作为 rc.1 实测;不修改 profile、其他插件或自动安装重启。
23
+
3
24
  ## [0.7.9] — 2026-11-03(适配 DSH 0.2.2-alpha.3)
4
25
 
5
26
  - 修复 alpha.3 窄屏 transformed sidebar 把远程目录弹层裁成侧栏宽度的问题:使用原生 `dialog.showModal()` 进入浏览器顶层,DOM 仍归原 slot/React 所有,卸载关闭、Escape 交给 owner,busy 时不取消。
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  <a href="https://github.com/idoall/dsh-lan-guard/actions/workflows/ci.yml"><img src="https://github.com/idoall/dsh-lan-guard/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
7
7
  <a href="https://www.npmjs.com/package/dsh-lan-guard"><img src="https://img.shields.io/npm/v/dsh-lan-guard?label=npm&color=CB3837" alt="npm version"></a>
8
8
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-0F172A" alt="MIT"></a>
9
- <img src="https://img.shields.io/badge/DSH-0.2.2--alpha.3-4B6BFB" alt="DSH 0.2.2-alpha.3">
9
+ <img src="https://img.shields.io/badge/DSH-0.2.2--rc.3-4B6BFB" alt="DSH 0.2.2-rc.3">
10
10
  </p>
11
11
 
12
12
  <p align="center">English | <a href="README.zh.md">中文</a></p>
@@ -49,8 +49,8 @@ Requirements:
49
49
 
50
50
  - DeepSeek Harness with a Web profile
51
51
  - Node.js 20 or newer
52
- - Verified DeepSeek Harness: `0.2.2-alpha.3` (API review, type checking and automated regression; read-only HTTP checks on the running alpha.3 instance with plugin `0.7.8` confirm the proxy entry, index injection and management endpoints. The remote directory picker is fixed for alpha.3's mobile sidebar. Real Chromium checks on the running UI, with only this plugin's client response replaced by the local build, confirm a 390px modal over the 280px sidebar (old build: 280px), plus Escape cancellation. This is not a deployed-package or full LAN/WebSocket acceptance test; phone testing remains pending).
53
- - Registry channels checked on 2026-11-03: `alpha` = `0.2.2-alpha.3`, `latest` / `next` = `0.2.1-rc.5`. This release verifies alpha.3; rc.5 is not included in the verified list.
52
+ - Verified DeepSeek Harness: `0.2.2-rc.3` (API review, current dependency type checks and automated regression; read-only checks on the running rc.3 instance confirm the proxy entry, page-patch injection, client module and management endpoints. `0.2.2-rc.2` host builds and types are byte-identical to rc.3, so it is listed as verified too. Browser interaction, full LAN/WebSocket and phone acceptance have not been repeated for rc.3; the alpha.3 browser measurements belong to an earlier release).
53
+ - Registry channels checked on 2026-11-14: `next` = `0.2.2-rc.3`, `latest` = `0.2.2-rc.1`, `alpha` = `0.2.2-alpha.3`. This release verifies `0.2.2-rc.3` (and `0.2.2-rc.2`); `0.2.2-rc.1` on the `latest` channel belongs to the previous release's verification scope.
54
54
 
55
55
  Install from npm:
56
56
 
@@ -149,11 +149,13 @@ The plugin reads its config from its Cordis entry. **Every key has a usable defa
149
149
 
150
150
  ## Compatibility
151
151
 
152
- Current version: plugin **`0.7.9`**, compatible with DeepSeek Harness **`0.2.2-alpha.3`**. Each row below is one plugin release: the DSH versions it was verified against, and what that release did.
152
+ Current version: plugin **`0.7.11`**, compatible with DeepSeek Harness **`0.2.2-rc.3`**. Each row below is one plugin release: the DSH versions it was verified against, and what that release did.
153
153
 
154
154
  | Plugin | Verified DeepSeek Harness | What this version is |
155
155
  | --- | --- | --- |
156
- | **`0.7.9`** (latest) | **`0.2.2-alpha.3`**; earlier verified releases listed below | Fixes the remote directory picker being clipped by alpha.3's mobile sidebar drawer; updates compatibility metadata and development dependencies. Corrects stale security and mobile-rail descriptions in both READMEs. |
156
+ | **`0.7.11`** (latest) | **`0.2.2-rc.3`**, **`0.2.2-rc.2`**; earlier verified releases listed below | Compatibility release for rc.3: host packages (webserver / connection / scope) kept byte-identical non-map builds and types from rc.1 to rc.3, so no runtime source changed; the compatibility statement is widened and development dependencies move to rc.3. |
157
+ | **`0.7.10`** (published) | **`0.2.2-rc.1`**; earlier verified releases listed below | Compatibility release for rc.1 with Cordis 4.1.0 / Schemastery 3.19.0 development dependencies; no runtime source changes. |
158
+ | **`0.7.9`** (published) | **`0.2.2-alpha.3`**; earlier verified releases listed below | Fixes the remote directory picker being clipped by alpha.3's mobile sidebar drawer; updates compatibility metadata and development dependencies. Corrects stale security and mobile-rail descriptions in both READMEs. |
157
159
  | **`0.7.8`** (published) | **`0.2.2-alpha.2`**, `0.2.1-rc.4`, `0.2.1-rc.3`, `0.2.1-rc.2`, `0.2.1-alpha.5`, `0.2.1-alpha.4`, `0.2.1-alpha.3`, `0.2.1-alpha.1`, `0.2.0-rc.2`, `0.2.0-rc.1`, `0.1.7-rc.2`, `0.1.7-rc.1` | Keeps up with DSH `0.2.2-alpha.2`: the new UI localises the turn navigator's label into eight languages, so the phone rail now finds it without depending on copy (with a structural fallback for languages added later); the rest is compatibility statements and docs. |
158
160
  | **`0.7.7`** (published) | **`0.2.1-rc.4`**, `0.2.1-rc.3`, `0.2.1-rc.2`, `0.2.1-alpha.5`, `0.2.1-alpha.4`, `0.2.1-alpha.3`, `0.2.1-alpha.1`, `0.2.0-rc.2`, `0.2.0-rc.1`, `0.1.7-rc.2`, `0.1.7-rc.1` | Keeps up with DSH `0.2.1-rc.4`: this upstream release only bumps version strings, and the host interfaces and types are byte-identical to rc.3; no plugin runtime code changed. |
159
161
  | **`0.7.6`** (published) | **`0.2.1-rc.3`**, `0.2.1-rc.2`, `0.2.1-alpha.5`, `0.2.1-alpha.4`, `0.2.1-alpha.3`, `0.2.1-alpha.1`, `0.2.0-rc.2`, `0.2.0-rc.1`, `0.1.7-rc.2`, `0.1.7-rc.1` | Compatibility release for DSH `0.2.1-rc.3`; no runtime code change. API/type/automated checks only; phone/browser acceptance pending. |
@@ -183,7 +185,7 @@ Current version: plugin **`0.7.9`**, compatible with DeepSeek Harness **`0.2.2-a
183
185
  | `0.1.1` | `0.1.7-rc.1` | Documentation release: bilingual user READMEs |
184
186
  | `0.1.0` | `0.1.7-rc.1` | First release: gated reverse proxy, self-signed HTTPS, device pairing, settings page, QR access |
185
187
 
186
- - Declared range `>=0.1.7-rc.1 <0.3.0` (`dsh.engines.dsh`); verified releases: `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.1`, `0.2.1-alpha.3`, `0.2.1-alpha.4`, `0.2.1-alpha.5`, `0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`, `0.2.2-alpha.2`, `0.2.2-alpha.3` (13 releases; the `0.2.2-alpha.3` verification scope is described above). DSH versions not listed are **unverified** — verify them yourself before use. The upper bound was widened from `<0.2.0` in `0.4.3` because profile load refuses a bundle whose range excludes the running release, and a plain `<0.2.0` would exclude the `0.2.0` stable.
188
+ - Declared range `>=0.1.7-rc.1 <0.3.0` (`dsh.engines.dsh`); verified releases: `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.1`, `0.2.1-alpha.3`, `0.2.1-alpha.4`, `0.2.1-alpha.5`, `0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4`, `0.2.2-alpha.2`, `0.2.2-alpha.3`, `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3` (16 releases; the `0.2.2-rc.3` verification scope is described above). DSH versions not listed are **unverified** — verify them yourself before use. The upper bound was widened from `<0.2.0` in `0.4.3` because profile load refuses a bundle whose range excludes the running release, and a plain `<0.2.0` would exclude the `0.2.0` stable.
187
189
  - **New in 0.2.2, evaluated**: the per-Peer `webserver/index-inject` emit, `resource` routes and `readResource` are all new; this plugin does not use them — the first only affects fallback rendering, and the other two expose no client socket, while the gate and the "local only" policy depend on the remote address. What it *did* adopt is the multi-language UI: the phone rail now recognises all eight DSH languages, with a structural fallback for any language added later.
188
190
  - Host/client interfaces this plugin uses: `webServer.register` / `webServer.tapIndex` (indexTaps), `connection.requestRejection`, `connection.authenticatedUrl`, the additive `settings.section` seat, `@deepseek-ai/schemastery`, and `profileContext` (for deriving the default data directory).
189
191
  - **Breaking default change (from `0.3.2`)**: `listenHost` now defaults to `0.0.0.0` instead of `127.0.0.1`, so one restart after install is enough; `0.3.1` and earlier default to loopback only. The gate and self-signed TLS defaults are unchanged (with no password the gate still refuses every device). See the [CHANGELOG](CHANGELOG.md).
@@ -345,8 +347,8 @@ The client half registers into the official additive `settings.section` seat; th
345
347
  Releases are tag-driven. Update `package.json`, move the matching CHANGELOG section out of `Unreleased`, write `release-notes/v<version>.md` with both language anchors, then push the release commit and tag:
346
348
 
347
349
  ```sh
348
- git tag v0.7.9
349
- git push origin v0.7.9
350
+ git tag v0.7.11
351
+ git push origin v0.7.11
350
352
  ```
351
353
 
352
354
  The release workflow checks that the tag matches the `package.json` version and that the notes carry both anchors, then runs `pnpm run verify`, packs the plugin, publishes through npm trusted publishing (OIDC), and creates a GitHub Release with the tarball attached.
package/README.zh.md CHANGED
@@ -6,7 +6,7 @@
6
6
  <a href="https://github.com/idoall/dsh-lan-guard/actions/workflows/ci.yml"><img src="https://github.com/idoall/dsh-lan-guard/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
7
7
  <a href="https://www.npmjs.com/package/dsh-lan-guard"><img src="https://img.shields.io/npm/v/dsh-lan-guard?label=npm&color=CB3837" alt="npm 版本"></a>
8
8
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-0F172A" alt="MIT"></a>
9
- <img src="https://img.shields.io/badge/DSH-0.2.2--alpha.3-4B6BFB" alt="DSH 0.2.2-alpha.3">
9
+ <img src="https://img.shields.io/badge/DSH-0.2.2--rc.3-4B6BFB" alt="DSH 0.2.2-rc.3">
10
10
  </p>
11
11
 
12
12
  <p align="center"><a href="README.md">English</a> | 中文</p>
@@ -49,8 +49,8 @@ DSH 的 Web 界面只监听 `127.0.0.1`,而官方明确拒绝绑定 `0.0.0.0`
49
49
 
50
50
  - 带 Web profile 的 DeepSeek Harness
51
51
  - Node.js 20 或更新
52
- - 已验证的 DeepSeek Harness:`0.2.2-alpha.3`(接口审查、类型检查与自动回归;另在运行 alpha.3、已安装插件 `0.7.8` 的实例上只读核对代理入口、页面注入与管理接口。本版修复 alpha.3 手机侧栏内的远程目录弹层。在运行中的真实界面上,仅将本插件客户端响应替换为本地构建,用 Chromium 验证了 280px 侧栏内弹层扩展至 390px 视口(旧版仅 280px)及 Escape 取消。这不等于安装后验收或完整 LAN/WebSocket 验收;手机实机测试仍待完成)。
53
- - 2026-11-03 核对 npm 渠道:`alpha` 为 `0.2.2-alpha.3`,`latest` / `next` 为 `0.2.1-rc.5`。本次验证 alpha.3;rc.5 不在已验证清单内。
52
+ - 已验证的 DeepSeek Harness:`0.2.2-rc.3`(接口审查、新版依赖类型检查与自动回归;另在运行 rc.3 的实例上只读核对代理入口、页面补丁注入、客户端模块与管理配置接口。`0.2.2-rc.2` 的宿主包构建与类型和 rc.3 逐字节一致,因此同列已验证。本次未重新进行 rc.3 浏览器交互、完整 LAN/WebSocket 与手机实机验收;alpha.3 的浏览器测量属于更早版本的验证)。
53
+ - 2026-11-14 核对 npm 渠道:`next` 为 `0.2.2-rc.3`,`latest` 为 `0.2.2-rc.1`,`alpha` 为 `0.2.2-alpha.3`。本次验证 `0.2.2-rc.3`(含 `0.2.2-rc.2`);`latest` 渠道的 `0.2.2-rc.1` 属于上一版验证范围。
54
54
 
55
55
  从 npm 安装:
56
56
 
@@ -150,11 +150,13 @@ dsh plugin --profile web add "link:$(pwd)"
150
150
 
151
151
  ## 兼容性
152
152
 
153
- 当前版本:插件 **`0.7.9`**,兼容 DeepSeek Harness **`0.2.2-alpha.3`**。下表每行是一个插件版本:它验证过哪些 DSH 版本,以及那一版做了什么。
153
+ 当前版本:插件 **`0.7.11`**,兼容 DeepSeek Harness **`0.2.2-rc.3`**。下表每行是一个插件版本:它验证过哪些 DSH 版本,以及那一版做了什么。
154
154
 
155
155
  | 插件 | 已验证的 DeepSeek Harness | 这个版本是什么 |
156
156
  | --- | --- | --- |
157
- | **`0.7.9`** (latest) | **`0.2.2-alpha.3`**;此前验证版本见下方清单 | 修复 alpha.3 手机侧栏抽屉裁剪远程目录弹层的问题;同步兼容声明与开发依赖;校正两版 README 中过时的安全边界与手机浮轨说明。 |
157
+ | **`0.7.11`** (latest) | **`0.2.2-rc.3`**、**`0.2.2-rc.2`**;此前验证版本见下方清单 | rc.3 兼容版本:rc.1 → rc.3 宿主包(webserver / connection / scope)的非 map 构建与类型未变,运行时源码不变;补齐兼容声明并同步开发依赖。 |
158
+ | **`0.7.10`** (published) | **`0.2.2-rc.1`**;此前验证版本见下方清单 | rc.1 兼容版本,开发依赖同步 Cordis 4.1.0 / Schemastery 3.19.0;运行时源码不变。 |
159
+ | **`0.7.9`** (published) | **`0.2.2-alpha.3`**;此前验证版本见下方清单 | 修复 alpha.3 手机侧栏抽屉裁剪远程目录弹层的问题;同步兼容声明与开发依赖;校正两版 README 中过时的安全边界与手机浮轨说明。 |
158
160
  | **`0.7.8`** (published) | **`0.2.2-alpha.2`**、`0.2.1-rc.4`、`0.2.1-rc.3`、`0.2.1-rc.2`、`0.2.1-alpha.5`、`0.2.1-alpha.4`、`0.2.1-alpha.3`、`0.2.1-alpha.1`、`0.2.0-rc.2`、`0.2.0-rc.1`、`0.1.7-rc.2`、`0.1.7-rc.1` | 跟上 DSH `0.2.2-alpha.2`:新版界面把轮次导航的标签译成 8 种语言,手机浮轨改成不依赖文案的定位(并为将来新增语言留了结构化兜底);其余是兼容声明与文档。 |
159
161
  | **`0.7.7`** (published) | **`0.2.1-rc.4`**、`0.2.1-rc.3`、`0.2.1-rc.2`、`0.2.1-alpha.5`、`0.2.1-alpha.4`、`0.2.1-alpha.3`、`0.2.1-alpha.1`、`0.2.0-rc.2`、`0.2.0-rc.1`、`0.1.7-rc.2`、`0.1.7-rc.1` | 跟上 DSH `0.2.1-rc.4`:上游这次只改版本号,宿主接口与类型与 rc.3 逐字节一致;插件运行时代码不变。 |
160
162
  | **`0.7.6`** (published) | **`0.2.1-rc.3`**、`0.2.1-rc.2`、`0.2.1-alpha.5`、`0.2.1-alpha.4`、`0.2.1-alpha.3`、`0.2.1-alpha.1`、`0.2.0-rc.2`、`0.2.0-rc.1`、`0.1.7-rc.2`、`0.1.7-rc.1` | 跟上 DSH `0.2.1-rc.3`,运行时代码不变。仅完成接口、类型与自动检查;手机/浏览器验收待完成。 |
@@ -184,7 +186,7 @@ dsh plugin --profile web add "link:$(pwd)"
184
186
  | `0.1.1` | `0.1.7-rc.1` | 文档版:中英双语用户 README |
185
187
  | `0.1.0` | `0.1.7-rc.1` | 首个版本:门禁反向代理、自签 HTTPS、设备配对、设置页、扫码访问 |
186
188
 
187
- - 声明范围 `>=0.1.7-rc.1 <0.3.0`(`dsh.engines.dsh`);已验证版本:`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2`、`0.2.2-alpha.3`(共 13 个版本,`0.2.2-alpha.3` 验证范围见上文)。未列入的 DSH 版本属**未验证**,请自行验证后再使用。上界在 `0.4.3` 从 `<0.2.0` 放宽:profile 加载会拒绝范围不含运行版本的 bundle,而裸的 `<0.2.0` 恰好排除 `0.2.0` 正式版。
189
+ - 声明范围 `>=0.1.7-rc.1 <0.3.0`(`dsh.engines.dsh`);已验证版本:`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.1`、`0.2.1-alpha.3`、`0.2.1-alpha.4`、`0.2.1-alpha.5`、`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.1-rc.4`、`0.2.2-alpha.2`、`0.2.2-alpha.3`、`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`(共 16 个版本,`0.2.2-rc.3` 验证范围见上文)。未列入的 DSH 版本属**未验证**,请自行验证后再使用。上界在 `0.4.3` 从 `<0.2.0` 放宽:profile 加载会拒绝范围不含运行版本的 bundle,而裸的 `<0.2.0` 恰好排除 `0.2.0` 正式版。
188
190
  - **0.2.2 新能力评估**:`webserver/index-inject` 的 per-Peer 注入、`resource` 路由与 `readResource` 都是 0.2.2 新增;本插件没有采用 —— 前者只影响 fallback 渲染,后两者拿不到客户端地址,而门禁和「仅本机」策略依赖远端地址。真正用上的是多语言:手机浮轨现在识别 DSH 全部 8 种界面语言,并对将来新增语言保留结构化兜底。
189
191
  - 本插件用到的宿主/客户端接口:`webServer.register` / `webServer.tapIndex`(indexTaps)、`connection.requestRejection`、`connection.authenticatedUrl`、追加型 `settings.section` seat、`@deepseek-ai/schemastery`,以及 `profileContext`(用于推导默认数据目录)。
190
192
  - **破坏性默认值变更(`0.3.2` 起)**:`listenHost` 默认由 `127.0.0.1` 改为 `0.0.0.0`,装完重启一次即可用;`0.3.1` 及更早默认仅回环。门禁与自签 TLS 的默认值未变(未设密码仍拒绝所有设备)。详见 [CHANGELOG](CHANGELOG.md)。
@@ -346,8 +348,8 @@ pnpm run verify # 类型检查 + 测试 + 构建 + pack dry-run
346
348
  发版由 tag 驱动。更新 `package.json`、把对应 CHANGELOG 段落移出 `Unreleased`、编写带中英双锚点的 `release-notes/v<版本>.md` 后,推送发版提交与 tag:
347
349
 
348
350
  ```sh
349
- git tag v0.7.9
350
- git push origin v0.7.9
351
+ git tag v0.7.11
352
+ git push origin v0.7.11
351
353
  ```
352
354
 
353
355
  发版工作流会校验 tag 与 `package.json` 版本一致、要求发布说明含中英双锚点,然后运行 `pnpm run verify`、打包插件、通过 npm trusted publishing(OIDC)发布,并创建附带 tarball 的 GitHub Release。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-lan-guard",
3
- "version": "0.7.9",
3
+ "version": "0.7.11",
4
4
  "description": "DSH web plugin: expose the official desktop Web UI to the local network through a gated reverse proxy, without touching DSH's own loopback binding.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -80,7 +80,10 @@
80
80
  "0.2.1-rc.3": "compatible",
81
81
  "0.2.1-rc.4": "compatible",
82
82
  "0.2.2-alpha.2": "compatible",
83
- "0.2.2-alpha.3": "compatible"
83
+ "0.2.2-alpha.3": "compatible",
84
+ "0.2.2-rc.1": "compatible",
85
+ "0.2.2-rc.2": "compatible",
86
+ "0.2.2-rc.3": "compatible"
84
87
  }
85
88
  }
86
89
  },
@@ -101,17 +104,17 @@
101
104
  "reverse-proxy"
102
105
  ],
103
106
  "devDependencies": {
104
- "@deepseek-ai/cordis": "4.0.6-alpha.2",
105
- "@deepseek-ai/dsh-client-connection": "0.2.2-alpha.3",
106
- "@deepseek-ai/dsh-host-webserver": "0.2.2-alpha.3",
107
- "@deepseek-ai/schemastery": "3.18.6-alpha.2",
107
+ "@deepseek-ai/cordis": "4.1.0",
108
+ "@deepseek-ai/dsh-client-connection": "0.2.2-rc.3",
109
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.3",
110
+ "@deepseek-ai/schemastery": "3.19.0",
108
111
  "@types/node": "^26.2.0",
109
112
  "@types/qrcode": "^1.5.6",
110
113
  "@types/react": "^18.3.31",
111
114
  "tsdown": "^0.22.14",
112
115
  "typescript": "^7.0.2",
113
116
  "vitest": "^4.1.11",
114
- "@deepseek-ai/dsh-scope": "0.2.2-alpha.3"
117
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.3"
115
118
  },
116
119
  "packageManager": "pnpm@10.33.1"
117
120
  }