dsh-lan-guard 0.7.0 → 0.7.2

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,36 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.2] — 2026-10-15(适配 DSH 0.2.1-alpha.3)
4
+
5
+ **代码零改动**,只更新兼容声明、开发依赖与文档。
6
+
7
+ - `dsh.compatibility.dshReleases` 增加 `0.2.1-alpha.3: compatible`。
8
+ - 开发依赖对齐 alpha.3 宿主包:`@deepseek-ai/dsh-host-webserver`、`@deepseek-ai/dsh-client-connection` → `0.2.1-alpha.3`,连带 `@deepseek-ai/cordis` → `4.0.5-alpha.2`、`@deepseek-ai/schemastery` → `3.18.5-alpha.2`,并补 `@deepseek-ai/dsh-scope`(`dsh-client-connection` 的 peer 要求)。
9
+ - peer 范围放宽到接纳官方随包分发的预发布版:`@deepseek-ai/cordis ^4.0.4 || >=4.0.5-alpha.1 <4.1.0`、`@deepseek-ai/schemastery ^3.18.4 || >=3.18.5-alpha.1 <4.0.0`。
10
+ - 换用 alpha.3 的 `.d.ts` 后类型检查与 **386** 项用例全绿,构建与打包通过。
11
+
12
+ **为什么不需要改代码**(alpha.3 实测):
13
+
14
+ | 检查 | 结果 |
15
+ | --- | --- |
16
+ | `dsh --profile web --dump-config` | exit 0,插件在合成树里,无拒载/豁免警告 |
17
+ | 用到的宿主接口 | `webServer.register` / `tapIndex`、`connection.authenticatedUrl` / `requestRejection`、settings 分区:全在 |
18
+ | 注入依赖的官方 DOM | 浮轨 `nav` + `button[data-index]` + `markPreview`/`markActive`、侧栏 `data-row-key`:全在 |
19
+ | 运行态 | 注入标记齐、首页带 `cache-control: no-store`、`/config` 与 `/devices` 200、客户端包加载 200 |
20
+ | 手机浮轨端到端 | 42 格、按住出卡片(标题/摘要正确)、滑动换轮、蓝条高亮、官方气泡隐藏,0 报错 |
21
+
22
+ ## [0.7.1] — 2026-10-07(文档版:README 与发布说明改成人话)
23
+
24
+ 功能与 `0.7.0` 完全相同,代码零改动。
25
+
26
+ **为什么发这一版**:npm 页面展示的是已发布包里的 README,改仓库文档不会影响 npm 页面,只有发一个新版本才能把新文档送上去。
27
+
28
+ **改了什么**:
29
+
30
+ - README 的兼容性表整列重写:`0.7.0` 那格从 815 字节(塞满 `focus()`、`position:fixed`、实测数值、测试条数)压到 67 字,同病的 `0.5.0`~`0.3.3` 一并收成一两句;补上此前漏记的 `0.6.0` 一行。
31
+ - 历次发布说明(`v0.1.0`~`v0.6.0`)全部重写:从 1373~6839 字降到 646~1141 字,每版 2–4 条要点,只讲用户能感知的变化;兼容版本号逐个对照各 tag 的 `package.json` 声明。
32
+ - 工程细节(根因、标识符、实测数据、测试条数)依旧只留在本文件里。
33
+
3
34
  ## [0.7.0] — 2026-10-07(手机端轮次浮轨:修掉 iPhone Chrome 错位,并做出 PC 同款「按住后滑动连续预览」)
4
35
 
5
36
  三件事,都只围绕 `mobileTurnRail`(默认关),不动官方逻辑:
package/README.md CHANGED
@@ -148,23 +148,26 @@ The plugin reads its config from its Cordis entry. **Every key has a usable defa
148
148
 
149
149
  ## Compatibility
150
150
 
151
- Current version: plugin **`0.7.0`**; compatible with DeepSeek Harness **`0.2.1-alpha.1`**.
151
+ Current version: plugin **`0.7.2`**, compatible with DeepSeek Harness **`0.2.1-alpha.3`**. Each row below is one plugin release: the DSH versions it was verified against, and what that release did.
152
152
 
153
153
  | Plugin | Verified DeepSeek Harness | What this version is |
154
154
  | --- | --- | --- |
155
- | **`0.7.0`** | **`0.2.1-alpha.1`**, `0.2.0-rc.2`, `0.2.0-rc.1`, `0.1.7-rc.2` | A quality release for the phone turn rail: (1) **misplacement fixed** — on iPhone Chrome the card could jump to the top-left corner because the `focus()` call scrolled the right-edge button into view and a body-level `position:fixed` layer got the wrong coordinate space; the card now anchors inside the official rail (`position:absolute; right:calc(100% + 8px)`) and previews are triggered by a dispatched `pointermove`, with `focus()` removed entirely. (2) **Hold, then slide up/down = continuous previews**, matching desktop hover; resting at either rail edge auto-scrolls the virtual rail on a 16ms step. (3) A quick drag within 0.3s still scrolls the rail and a tap still jumps. Measured (440×956 via proxy 3081, 45-mark session): card swept turn 16 → turn 38 with `transcript scrollTop` unchanged, edge auto-scroll `182 → 0`, quick drag `0 → 50`, zero errors; all **386** specs pass |
156
- | **`0.5.0`** | **`0.2.1-alpha.1`**, **`0.2.0-rc.2`**, `0.2.0-rc.1`, `0.1.7-rc.2` | (1) **Adaptation, zero code**: across the 266 commits from `rc.2` to `0.2.1-alpha.1`, of the six surfaces this plugin depends on only `ui-layout` (new `shell.bottom` slot, frame grid rows → `minmax(0,1fr) auto`) and `ui-renderer` (drops the unreferenced `invariant.ts`) changed source, and neither concerns this plugin (nothing renders `shell.bottom` — measured at 0 height). devDependencies raised to `dsh-host-webserver`/`dsh-client-connection` `0.2.1-alpha.1`, **and — because the new host packages peer-require the vendor prereleases — `@deepseek-ai/cordis` to `4.0.5-alpha.1` and `@deepseek-ai/schemastery` to `3.18.5-alpha.1`** (a `^4.0.4` range excludes prereleases); type check + 368 tests green. (2) **New `mobileTurnRail` (off by default)**: un-hides DSH's own turn rail, which the official narrow-screen container query hides. (3) Narrow-screen regression re-run: right sidebar 100% visible, 0 clipped layers, healthy scroll range, zero compensation engagement — identical on 3080 and 3081 |
157
- | **`0.4.6`** | **`0.2.0-rc.2`**, **`0.2.0-rc.1`**, `0.1.7-rc.2` | Verification release for `0.2.0-rc.2`: zero code changes, compatibility metadata only (`dsh.compatibility.dshReleases` gains `0.2.0-rc.2`), plus both host devDependencies raised to `0.2.0-rc.2` and the type check and full suite re-run. Upstream changed only version numbers between `rc.1` and `rc.2` (the sole source edit is a hooks-ordering fix in `ui-renderer`, unrelated to this plugin), so the plugin runs on `rc.2` unchanged; measurements also confirm the mobile clip compensation now has nothing to act on (clipped layers 1 → **0**, scroll range 336px → **92343px**; every polling round reverts wholesale and writes no inline style) |
158
- | **`0.4.5`** | **`0.2.0-rc.1`**, `0.1.7-rc.2` | Long transcripts hydrate after the official scroller has already picked up a small scroll range; the mobile clip compensation treated that intermediate state as healthy and stopped, so a late `overflow:hidden` layer was never released (measured on device: 336px of scroll range with 1 clipped layer inside the scroller). It now keeps looking inside the existing polling window and releases the late layer — 336px → 6889px, 1 clipped layer → 0, official "back to bottom" still on screen |
159
- | **`0.4.4`** | **`0.2.0-rc.1`**, `0.1.7-rc.2` | iOS session scrolling on DSH `0.2.0-rc.1`: an inner `overflow:hidden` layer with a locked height clipped the conversation (measured on device: 21083px of content behind a 336px scroll range), so a session did not open at the newest message and barely dragged. `mobileScrollFix` now grows that inner layer and drops its scroll-container role, restoring 20675px — verified on device with the composer still pinned and the official "back to bottom" button back in place |
160
- | **`0.4.3`** | **`0.2.0-rc.1`**, `0.1.7-rc.2`, `0.1.7-rc.1` | Direction change: fix the mobile **height chain** instead of patching `overflow` — a definite height for `html/body/#root`, `100dvh` on the shell and `min-height:0` along the clipping chain, self-checked and reverted wholesale when the official scroll layer still does not scroll; removes the self-made "back to bottom" button and every `overflow-y`/`-webkit-overflow-scrolling` patch; declares DSH `0.2.0-rc.1` and widens the `dsh`/peer ranges to `<0.3.0` |
161
- | **`0.4.2`** | `0.1.7-rc.2` | The official "back to bottom" button restored: the narrow-screen correction left the conversation's own scroll layer without a growing height, so the official button never believed it was away from the end — the plugin supplies one while hidden and yields as soon as the official one works; also reverts its `overflow-y` patch whenever a full-screen mask or dialog opens (the drawer-scrim regression) |
162
- | **`0.4.1`** | `0.1.7-rc.2` | First cut of `mobileScrollFix` for "the chat area cannot be dragged on a phone": applies touch-scrollable treatment only when narrow viewport + mobile UA + the page cannot scroll + a clipped overflowing layer is found, and never touches an already-scrolling page; adds the `?lgdiag=1` layout report; measured on device, 86.4s of connection survival with heartbeat answering |
163
- | **`0.4.0`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Mobile long-connection self-healing: the proxy answers DSH's WebSocket heartbeat (measured: 6 s reap without it, 20 s+ survival with it); page patches adding a socket watchdog and mobile compatibility shims; a connection health check and relay counters on the "connection" tab |
164
- | **`0.3.6`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Adding a workspace from a remote device: the browser half shadows the official directory flow (the local browser keeps the OS dialog, a remote device gets an in-page browser and can unlock inside it); fixes the proxy dropping the plugin's admin cookie in both directions, which made `password_unlock` meaningless remotely; adds the missing "remote management rights" control; moves the "saved" confirmation to a top-right notification; reworks status-surface colours against measured contrast; fixes the picker's crushed breadcrumb/shortcut rows |
165
- | **`0.3.5`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Connection-level visibility: an `http://` request to the TLS port goes from "blank page + no log" to a 301 onto `https` with a log line; a deleted device record no longer locks that browser out (revoked/blocked still refuse); the removal-page copy follows |
166
- | **`0.3.4`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Official settings page on the LAN: a new `settingsUnlock` switch (on by default) that injects the host-surface marker into the index; applies on page refresh; a UI unlock, not a new privilege |
167
- | **`0.3.3`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Gate UX fixes: the two first-visit steps are announced up front; an inert-link page can be logged into again; the blocking note now matches real behaviour (no host-facing change) |
155
+ | **`0.7.2`** | **`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` | Keeps up with DSH `0.2.1-alpha.3`: compatibility statement only, no code change. |
156
+ | **`0.7.1`** | **`0.2.1-alpha.1`**, `0.2.0-rc.2`, `0.2.0-rc.1`, `0.1.7-rc.2` | Documentation release: the README and past release notes were rewritten in plain language. Behaviour is identical to 0.7.0. |
157
+ | **`0.7.0`** | **`0.2.1-alpha.1`**, `0.2.0-rc.2`, `0.2.0-rc.1`, `0.1.7-rc.2` | The phone turn rail finally works: no more drifting card, and previews follow your finger while you hold and slide (off by default). Blank pages after a restart are fixed too. |
158
+ | **`0.6.0`** | **`0.2.1-alpha.1`**, **`0.2.0-rc.2`**, `0.2.0-rc.1`, `0.1.7-rc.2` | Fixed "you can see the rail but not its content" on a phone: holding a tick for ~0.3s now opens a card with that turn's prompt and reply. |
159
+ | **`0.5.0`** | **`0.2.1-alpha.1`**, **`0.2.0-rc.2`**, `0.2.0-rc.1`, `0.1.7-rc.2` | Keeps up with the new DSH release (declaration only) and adds the phone turn rail, off by default. |
160
+ | **`0.4.6`** | **`0.2.0-rc.2`**, **`0.2.0-rc.1`**, `0.1.7-rc.2` | Keeps up with DSH 0.2.0-rc.2: declaration only, plus confirmation that the old mobile scroll compensation is no longer needed. |
161
+ | **`0.4.5`** | **`0.2.0-rc.1`**, `0.1.7-rc.2` | Fixes long sessions that still would not scroll when the transcript hydrated a beat late and the fix stopped early. |
162
+ | **`0.4.4`** | **`0.2.0-rc.1`**, `0.1.7-rc.2` | Fixes iOS sessions opening away from the newest message and barely dragging. |
163
+ | **`0.4.3`** | **`0.2.0-rc.1`**, `0.1.7-rc.2`, `0.1.7-rc.1` | A different approach: repair the mobile height chain instead of patching the content layer, and drop the self-made back-to-bottom button. |
164
+ | **`0.4.2`** | `0.1.7-rc.2` | Brings back DSH's own back-to-bottom button and fixes the grey sidebar it fought with. |
165
+ | **`0.4.1`** | `0.1.7-rc.2` | The first mobile scroll fix: it only acts on pages that really cannot scroll, and adds the ?lgdiag=1 report. |
166
+ | **`0.4.0`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | The phone connection stops dropping (the proxy answers DSH's heartbeats), plus a disconnect watchdog and a connection check-up. |
167
+ | **`0.3.6`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Add a workspace over LAN, and fix remote device management and a few UI problems. |
168
+ | **`0.3.5`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | http on the TLS port now redirects to https and logs it, and deleting a device no longer locks the browser out. |
169
+ | **`0.3.4`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | LAN devices can use DSH's own settings pages (on by default; it unlocks the UI and grants no new permissions). |
170
+ | **`0.3.3`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Both first-visit steps are explained up front, expired links can sign in again, and the block-list wording matches the code. |
168
171
  | **`0.3.2`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Install and go: LAN-facing default + derived `dataDir`; Liquid Glass settings page at official sizes; single-line scrolling access URL |
169
172
  | **`0.3.1`** | **`0.1.7-rc.2`**, `0.1.7-rc.1` | Verification release for `0.1.7-rc.2`: no code change, only compatibility metadata |
170
173
  | `0.3.0` | `0.1.7-rc.1` | Device approval and permanent blocking; fixed the blank page when opening a shared `?auth=` link |
package/README.zh.md CHANGED
@@ -149,23 +149,26 @@ dsh plugin --profile web add "link:$(pwd)"
149
149
 
150
150
  ## 兼容性
151
151
 
152
- 当前版本:插件 **`0.7.0`**;兼容 DeepSeek Harness **`0.2.1-alpha.1`**。
152
+ 当前版本:插件 **`0.7.2`**,兼容 DeepSeek Harness **`0.2.1-alpha.3`**。下表每行是一个插件版本:它验证过哪些 DSH 版本,以及那一版做了什么。
153
153
 
154
154
  | 插件 | 已验证的 DeepSeek Harness | 这个版本是什么 |
155
155
  | --- | --- | --- |
156
- | **`0.7.0`** | **`0.2.1-alpha.1`**、`0.2.0-rc.2`、`0.2.0-rc.1`、`0.1.7-rc.2` | 手机端轮次浮轨的质量版,三件事:①**修错位**——iPhone Chrome 上卡片会跑到左上角,根因是 `focus()` 把右边缘按钮滚进可视区、以及 body 级 `position:fixed` 被算错坐标系;现在卡片挂进官方轨道 `nav`(`position:absolute; right:calc(100% + 8px)`)、预览改派发 `pointermove`,`focus()` 彻底移除。②**按住后上下滑动 = 连续预览**,对齐 PC 的鼠标划过;停在轨道上下边缘按 16ms 步进自动卷动虚拟轨道。③0.3 秒内快速拖动仍是普通滚动轨道,轻点仍是跳转。实测(440×956 / 经代理 3081 / 45 格长会话):卡片第 16 轮 → 第 38 轮连续切换且 `transcript scrollTop` 不变、边缘自动卷动 `182 → 0`、快速拖动 `0 → 50`、0 报错;全套 **386** 项通过 |
157
- | **`0.5.0`** | **`0.2.1-alpha.1`**、**`0.2.0-rc.2`**、`0.2.0-rc.1`、`0.1.7-rc.2` | ①**适配(零代码)**:`rc.2 → 0.2.1-alpha.1` 的 266 个提交里,本插件依赖的 6 个面中只有 `ui-layout`(新增 `shell.bottom` 槽、frame 网格行改 `minmax(0,1fr) auto`)与 `ui-renderer`(删掉未被引用的 `invariant.ts`)有源码改动,两者都与本插件无关(`shell.bottom` 无人渲染,实测占位 0 高)。devDependency 升到 `dsh-host-webserver`/`dsh-client-connection` `0.2.1-alpha.1`,**并按新宿主包的 peer 要求连带把 `@deepseek-ai/cordis` 升到 `4.0.5-alpha.1`、`@deepseek-ai/schemastery` 升到 `3.18.5-alpha.1`**(`^4.0.4` 不含预发布版);类型检查 + 368 个用例全绿。②**新增 `mobileTurnRail`(默认关)**:把被官方窄屏容器查询藏起来的轮次浮轨放出来。③窄屏四判据复测:右侧栏可见 100%、被裁层 0、可滚范围正常、补偿零介入,3080 与 3081 逐项一致 |
158
- | **`0.4.6`** | **`0.2.0-rc.2`**、**`0.2.0-rc.1`**、`0.1.7-rc.2` | 针对 `0.2.0-rc.2` 的验证版:代码零改动,只更新兼容元数据(`dsh.compatibility.dshReleases` 补 `0.2.0-rc.2`),并把两个宿主 devDependency 升到 `0.2.0-rc.2` 后重跑类型检查与全部用例。上游在 `rc.1 → rc.2` 之间只动了版本号(唯一源码改动是 `ui-renderer` 的 hooks 顺序修复,与本插件无关),因此本插件在 `rc.2` 上零改动可用;同时实测确认移动端裁剪补偿在 `rc.2` 上已无作用对象(被裁层 1 → **0**,可滚范围 336px → **92343px**,脚本每轮自检后整体撤销、不写任何内联样式) |
159
- | **`0.4.5`** | **`0.2.0-rc.1`**、`0.1.7-rc.2` | 长会话的正文是在官方滚动层拿到少量可滚范围**之后**才挂载的,旧逻辑把这个中间态当成「已正常」收工,晚出现的 `overflow:hidden` 层再也没人放行(真机实测:可滚范围 336px、滚动层内部仍有 1 层被裁)。现在改为在既有轮询窗口内继续侦测并放行迟到的裁剪层:可滚范围 336px → 6889px,被裁层 1 → 0,官方「回到底部」仍在屏内 |
160
- | **`0.4.4`** | **`0.2.0-rc.1`**、`0.1.7-rc.2` | 修好 DSH `0.2.0-rc.1` 上的 iOS 会话滚动:官方滚动层内部有一层 `overflow:hidden` 且高度锁死,把会话内容裁掉(真机实测:21083px 的内容只换来 336px 可滚范围),表现为打开会话不在最新、手指几乎拖不动。`mobileScrollFix` 现在让该层长高并脱离滚动容器身份,可滚范围恢复到 20675px;真机验收同时确认输入框仍吸底、官方「回到底部」按钮回到原位 |
161
- | **`0.4.3`** | **`0.2.0-rc.1`**、`0.1.7-rc.2`、`0.1.7-rc.1` | 方向修正:不再给内容层打 `overflow` 补丁,改修移动端**高度链**——给 `html/body/#root` 确定高度、shell 用 `100dvh`、沿被裁层补 `min-height:0`,并自检「官方滚动层真的能滚」否则整体回退;移除自建「回到底部」按钮与全部 `overflow-y`/`-webkit-overflow-scrolling` 补丁;声明 DSH `0.2.0-rc.1` 并把 `dsh`/peer 范围放宽到 `<0.3.0` |
162
- | **`0.4.2`** | `0.1.7-rc.2` | 找回官方「回到底部」按钮:窄屏矫正让 conversation 自己的滚动层高度不再增长,官方按钮因此永远认为还在尾部——插件在官方按钮缺席时补一个,官方按钮一恢复就自动让位;同时修复矫正的 `overflow-y` 补丁与全屏遮罩打架导致侧边栏被灰雾盖住的回归 |
163
- | **`0.4.1`** | `0.1.7-rc.2` | `mobileScrollFix` 首版,修「手机上聊天区滑不动」:仅在「窄屏 + 移动 UA + 整页不可滚 + 找到被裁剪溢出的层」四条同时成立时才处理,正常页面一律不碰;新增 `?lgdiag=1` 布局诊断;真机实测连接存活 86.4 秒 |
164
- | **`0.4.0`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 手机长连接自愈:代理代答 DSH 的 WebSocket 心跳(实测把「停回心跳 6 秒被切断」变成「20 秒以上存活」);页面补丁加入断线看门狗与移动端兼容垫片;「连接与证书」新增连接体检与代理侧计数 |
165
- | **`0.3.6`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 远程也能添加工作区:浏览器侧遮蔽官方目录流程(本机仍走系统对话框,远程改用页面内目录浏览器,可在弹层内解锁);修掉代理双向丢弃插件管理 cookie 导致 `password_unlock` 对远程形同虚设;补上一直缺失的「远程设备管理权限」控件;「已保存」改为右上角提示;状态表面配色按实测重做;弹层两行被压扁重叠 |
166
- | **`0.3.5`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 连接层可见性:`http://` 访问 TLS 端口由「空白页 + 无日志」改为 301 跳 `https` 并记日志;删除设备记录后旧 cookie 不再把浏览器锁死(吊销/拉黑仍拒绝);移除页文案同步修正 |
167
- | **`0.3.4`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 局域网设备可用官方设置页:新增默认开启的 `settingsUnlock` 开关(index 注入宿主界面标记,刷新页面生效;界面解锁而非新增权限) |
168
- | **`0.3.3`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 门禁体验修复:首次访问的两道关提前说明;失效链接页恢复可登录;拉黑说明改为与实现一致(未触碰宿主接口) |
156
+ | **`0.7.2`** | **`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` | 跟上 DSH `0.2.1-alpha.3`:只更新兼容声明,代码没动。 |
157
+ | **`0.7.1`** | **`0.2.1-alpha.1`**、`0.2.0-rc.2`、`0.2.0-rc.1`、`0.1.7-rc.2` | 文档版:README 和历史发布说明改成人话,功能与 0.7.0 完全相同。 |
158
+ | **`0.7.0`** | **`0.2.1-alpha.1`**、`0.2.0-rc.2`、`0.2.0-rc.1`、`0.1.7-rc.2` | 手机端轮次浮轨终于好用:卡片不再跑偏,预览跟着手指走,按住刻度上下滑动就能看每一轮在说什么(默认关闭)。顺带修掉重启后手机白屏的问题。 |
159
+ | **`0.6.0`** | **`0.2.1-alpha.1`**、**`0.2.0-rc.2`**、`0.2.0-rc.1`、`0.1.7-rc.2` | 手机上「看得见刻度、看不到内容」的问题:改成按住刻度约 0.3 秒弹出卡片,显示那一轮的提问和回复摘要。 |
160
+ | **`0.5.0`** | **`0.2.1-alpha.1`**、**`0.2.0-rc.2`**、`0.2.0-rc.1`、`0.1.7-rc.2` | 跟上新版 DSH(只改兼容声明);新增手机端轮次浮轨,默认关闭。 |
161
+ | **`0.4.6`** | **`0.2.0-rc.2`**、**`0.2.0-rc.1`**、`0.1.7-rc.2` | 跟上 DSH 0.2.0-rc.2:只更新兼容声明,并确认旧的手机滚动补偿已经不需要了。 |
162
+ | **`0.4.5`** | **`0.2.0-rc.1`**、`0.1.7-rc.2` | 修长会话里正文晚一步加载时被判成「已经正常」、结果仍然滑不动的问题。 |
163
+ | **`0.4.4`** | **`0.2.0-rc.1`**、`0.1.7-rc.2` | 修 iOS 上打开会话不在最新、手指几乎拖不动的问题。 |
164
+ | **`0.4.3`** | **`0.2.0-rc.1`**、`0.1.7-rc.2`、`0.1.7-rc.1` | 换个修法:改移动端高度链,不再给内容层打补丁,并撤掉自建的「回到底部」按钮。 |
165
+ | **`0.4.2`** | `0.1.7-rc.2` | 找回官方自带的「回到底部」按钮,并修掉它和全屏遮罩打架、侧边栏发灰的问题。 |
166
+ | **`0.4.1`** | `0.1.7-rc.2` | 第一版手机滚动修复:只在真的滑不动的页面上动手,正常页面不碰;新增 ?lgdiag=1 诊断。 |
167
+ | **`0.4.0`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 手机长连接不再轻易掉线(代理替页面回心跳),并加入断线看门狗和连接体检。 |
168
+ | **`0.3.6`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 局域网下也能添加工作区,并修远程设备管理和几处界面问题。 |
169
+ | **`0.3.5`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 用 http 访问 TLS 端口会跳到 https 并留日志;删掉设备后旧 cookie 不再把浏览器锁死。 |
170
+ | **`0.3.4`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 局域网设备也能用官方设置页(默认开启,只是解锁界面,不新增权限)。 |
171
+ | **`0.3.3`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 首次访问的两道关提前说明;失效链接页可以重新登录;拉黑说明与实现对齐。 |
169
172
  | **`0.3.2`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 装完即用:默认对外监听 + `dataDir` 自动推导;设置页液体玻璃与官方尺寸;访问地址改为单行滚动 |
170
173
  | **`0.3.1`** | **`0.1.7-rc.2`**、`0.1.7-rc.1` | 针对 `0.1.7-rc.2` 的验证版:代码零改动,只更新兼容元数据 |
171
174
  | `0.3.0` | `0.1.7-rc.1` | 设备批准与永久拉黑;修掉打开分享的 `?auth=` 链接时的空白页 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-lan-guard",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
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",
@@ -26,10 +26,10 @@
26
26
  "selfsigned": "^5.5.0"
27
27
  },
28
28
  "peerDependencies": {
29
- "@deepseek-ai/cordis": "^4.0.4",
29
+ "@deepseek-ai/cordis": "^4.0.4 || >=4.0.5-alpha.1 <4.1.0",
30
30
  "@deepseek-ai/dsh-client-connection": ">=0.1.7-rc.1 <0.3.0",
31
31
  "@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1 <0.3.0",
32
- "@deepseek-ai/schemastery": "^3.18.4"
32
+ "@deepseek-ai/schemastery": "^3.18.4 || >=3.18.5-alpha.1 <4.0.0"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
@@ -71,7 +71,8 @@
71
71
  "0.1.7-rc.1": "compatible",
72
72
  "0.2.0-rc.1": "compatible",
73
73
  "0.2.0-rc.2": "compatible",
74
- "0.2.1-alpha.1": "compatible"
74
+ "0.2.1-alpha.1": "compatible",
75
+ "0.2.1-alpha.3": "compatible"
75
76
  }
76
77
  }
77
78
  },
@@ -92,16 +93,17 @@
92
93
  "reverse-proxy"
93
94
  ],
94
95
  "devDependencies": {
95
- "@deepseek-ai/cordis": "4.0.5-alpha.1",
96
- "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.1",
97
- "@deepseek-ai/dsh-host-webserver": "0.2.1-alpha.1",
98
- "@deepseek-ai/schemastery": "3.18.5-alpha.1",
96
+ "@deepseek-ai/cordis": "4.0.5-alpha.2",
97
+ "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.3",
98
+ "@deepseek-ai/dsh-host-webserver": "0.2.1-alpha.3",
99
+ "@deepseek-ai/schemastery": "3.18.5-alpha.2",
99
100
  "@types/node": "^26.2.0",
100
101
  "@types/qrcode": "^1.5.6",
101
102
  "@types/react": "^18.3.31",
102
103
  "tsdown": "^0.22.14",
103
104
  "typescript": "^7.0.2",
104
- "vitest": "^4.1.11"
105
+ "vitest": "^4.1.11",
106
+ "@deepseek-ai/dsh-scope": "0.2.1-alpha.3"
105
107
  },
106
108
  "packageManager": "pnpm@10.33.1"
107
109
  }