dsh-quick-toc 0.6.2 → 0.6.3

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.en.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to **dsh-quick-toc** are documented here. Chinese version: [CHANGELOG.md](CHANGELOG.md).
4
4
 
5
+ ## [0.6.3] - 2026-09-15
6
+
7
+ ### Fixed
8
+ - **The configuration card's expand/collapse chevron did not match the host's arrows**: it was a text character (⌄), thinner than the host's 14×14 SVG chevron icon, and the glyph's ink is not centred inside its 20px line box — the rotation turned around the box centre, so the glyph swung aside instead of flipping in place. It is now the host's own 14×14 SVG chevron (an inline SVG whose path is byte-identical to the icon the host uses, with the class on the `<svg>` itself — the same structure as the host's plugin card), so expanding and collapsing flip it around the icon's own centre.
9
+
5
10
  ## [0.6.2] - 2026-09-15
6
11
 
7
12
  ### Added
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  **dsh-quick-toc** 的重要变更都记录在这里。英文版见 [CHANGELOG.en.md](CHANGELOG.en.md)。
4
4
 
5
+ ## [0.6.3] - 2026-09-15
6
+
7
+ ### 修复
8
+ - **配置卡片的展开/收起箭头与宿主界面的箭头不一致**:箭头原先是一个文本字符(⌄),比宿主 14×14 的 SVG 箭头图标更细;而且字符的墨迹在 20px 行盒里并不居中,旋转绕的是盒子中心,转起来字符就被甩向一旁,看起来不像绕自身翻转。现在换成与宿主一致的 14×14 SVG 箭头图标(内联 SVG,路径与宿主所用图标逐字节一致,类名直接挂在 `<svg>` 上——与宿主插件卡片相同的做法),展开/收起时绕图标自身中心原地翻转。
9
+
5
10
  ## [0.6.2] - 2026-09-15
6
11
 
7
12
  ### 新增
package/README.en.md CHANGED
@@ -34,7 +34,7 @@ A conversation TOC plugin for [DeepSeek Harness](https://github.com/deepseek-ai/
34
34
 
35
35
  | Plugin | Supported DSH |
36
36
  | --- | --- |
37
- | **0.6.x** (latest, 0.6.2) | 0.1.5-rc.1, 0.1.5-rc.2 |
37
+ | **0.6.x** (latest, 0.6.3) | 0.1.5-rc.1, 0.1.5-rc.2 |
38
38
  | 0.5.x (0.5.1) | 0.1.5-rc.1, 0.1.5-rc.2 |
39
39
  | 0.4.x (0.4.1) | 0.1.5-rc.1, 0.1.5-rc.2 |
40
40
  | 0.3.x (0.3.3) | 0.1.5-rc.1 |
@@ -42,7 +42,7 @@ A conversation TOC plugin for [DeepSeek Harness](https://github.com/deepseek-ai/
42
42
 
43
43
  Each major line lists only its newest patch (the defects a new feature introduces are fixed in the patches that follow, so within one major line the newest patch is the one to use; older patches keep working — the plugin does not break existing interfaces).
44
44
 
45
- `engines.dsh` has a floor of **0.1.5-rc.1** (`>=`): from that release on, the plugin uses the host's session-scoped slot injection. 0.6.2 was tested on **0.1.5-rc.2** (a dragged size reaching storage and coming back after a reload, and the collapsed handle's position, were both measured in a real browser; "a default value written back drops the customized mark" is covered by offline cases; 0.6.1 already measured the host half's settings-namespace registration, the configuration card, the jump animation and the panel scale); on **0.1.5-rc.1** the plugin's loading and client-module delivery were tested for real (the host boots, and the `dsh-quick-toc/client.js` rev in its boot graph is byte-identical to this repository's `lib/client.js`). The host interfaces it relies on — the `turnOutline` projection, the session-scoped `useProjection`, the client `sessions` service and its `loadThrough` jump loader (since 0.5.0), the `turn-error` node used for failed turns (since 0.5.1), and the host `settings` service (`installSection`), the client `settingsScope` and the `settings.plugin.item` card slot added in 0.6.0 — were checked one by one against the installed 0.1.5-rc.1 and 0.1.5-rc.2 bundles, whose code is byte-identical between the two releases (`dsh-client-ui-chat` differs by a single CSS declaration unrelated to this plugin); nothing in 0.6.2 relies on a new host interface (the scale is CSS inside the panel, the sliders and the handle position are settings in the plugin's own card, and the jump uses the container's `scrollTo`), so both releases are claimed. Older or newer DSH versions are unverified and therefore not claimed; on an older DSH the newest usable plugin version is **0.3.2**. On install or update, the DSH market pre-flights host compatibility from `engines.dsh`, `dsh.compatibility.dshReleases` and `peerDependencies` in `package.json`.
45
+ `engines.dsh` has a floor of **0.1.5-rc.1** (`>=`): from that release on, the plugin uses the host's session-scoped slot injection. 0.6.3 was tested on **0.1.5-rc.2** (this release's only change is the configuration card's expand/collapse chevron, which was compared byte-for-byte against the host's own chevron icon and verified to flip around the icon's own centre in a real browser; 0.6.2 already measured a dragged size reaching storage and coming back after a reload, and the collapsed handle's position; 0.6.1 already measured the host half's settings-namespace registration, the configuration card, the jump animation and the panel scale); on **0.1.5-rc.1** the plugin's loading and client-module delivery were tested for real (the host boots, and the `dsh-quick-toc/client.js` rev in its boot graph is byte-identical to this repository's `lib/client.js`). The host interfaces it relies on — the `turnOutline` projection, the session-scoped `useProjection`, the client `sessions` service and its `loadThrough` jump loader (since 0.5.0), the `turn-error` node used for failed turns (since 0.5.1), and the host `settings` service (`installSection`), the client `settingsScope` and the `settings.plugin.item` card slot added in 0.6.0 — were checked one by one against the installed 0.1.5-rc.1 and 0.1.5-rc.2 bundles, whose code is byte-identical between the two releases (`dsh-client-ui-chat` differs by a single CSS declaration unrelated to this plugin); nothing in 0.6.3 relies on a new host interface (the chevron is an inline SVG inside the plugin's own card), so both releases are claimed. Older or newer DSH versions are unverified and therefore not claimed; on an older DSH the newest usable plugin version is **0.3.2**. On install or update, the DSH market pre-flights host compatibility from `engines.dsh`, `dsh.compatibility.dshReleases` and `peerDependencies` in `package.json`.
46
46
 
47
47
  ## Install
48
48
 
package/README.md CHANGED
@@ -34,7 +34,7 @@
34
34
 
35
35
  | 插件版本 | 支持的 DSH 版本 |
36
36
  | --- | --- |
37
- | **0.6.x**(最新,0.6.2) | 0.1.5-rc.1、0.1.5-rc.2 |
37
+ | **0.6.x**(最新,0.6.3) | 0.1.5-rc.1、0.1.5-rc.2 |
38
38
  | 0.5.x(0.5.1) | 0.1.5-rc.1、0.1.5-rc.2 |
39
39
  | 0.4.x(0.4.1) | 0.1.5-rc.1、0.1.5-rc.2 |
40
40
  | 0.3.x(0.3.3) | 0.1.5-rc.1 |
@@ -42,7 +42,7 @@
42
42
 
43
43
  每个大版本只列该系列最新的一个补丁版本(新功能引入的缺陷都在其后的补丁里修掉了,所以同一个大版本内直接用最新补丁即可;旧补丁仍可继续用,插件不破坏既有接口)。
44
44
 
45
- `engines.dsh` 下限为 **0.1.5-rc.1**(`>=`,该版本起插件改用会话级槽位注入的宿主接口)。0.6.2 在 **0.1.5-rc.2** 上实测通过(面板尺寸的落盘与刷新后的读回、收起把手的位置都在真实浏览器里量过;「写回默认值即取消已自定义」由离线用例覆盖。0.6.1 已实测宿主半的设置命名空间注册、配置卡片、跳转动画与面板缩放);**0.1.5-rc.1** 上实测了插件加载与客户端模块下发(宿主启动正常、boot graph 中 `dsh-quick-toc/client.js` 的 rev 与本仓库 `lib/client.js` 逐字节一致),它依赖的宿主接口——`turnOutline` 投影、会话级槽位的 `useProjection`、客户端 `sessions` 服务与 `loadThrough` 跳转加载器(0.5.0 起)、失败回合所用的 `turn-error` 节点(0.5.1 起)、以及 0.6.0 新增的宿主 `settings` 服务(`installSection`)、客户端 `settingsScope` 与 `settings.plugin.item` 配置卡片槽位——在 0.1.5-rc.1 与 0.1.5-rc.2 的安装包中逐个核对存在(这些宿主包的代码在两版之间逐字节相同,`dsh-client-ui-chat` 仅差一条与本插件无关的 CSS 声明);0.6.2 的新功能都不依赖新的宿主接口(缩放是面板内的 CSS,滑块与把手位置都是插件自己卡片里的设置,跳转用容器的 `scrollTo`),因此两版都声明兼容。更早或更新的 DSH 版本未经验证,不作声明;在更早的 DSH 上可安装的最新插件版本是 **0.3.2**。安装或更新时,DSH 市场会依据 `package.json` 中的 `engines.dsh`、`dsh.compatibility.dshReleases` 与 `peerDependencies` 做宿主兼容预检。
45
+ `engines.dsh` 下限为 **0.1.5-rc.1**(`>=`,该版本起插件改用会话级槽位注入的宿主接口)。0.6.3 在 **0.1.5-rc.2** 上实测通过(本轮改动只有配置卡片的展开/收起箭头,已在真实浏览器里与宿主的同款图标逐字节比对、并验证展开/收起时绕图标自身中心翻转;0.6.2 已实测面板尺寸的落盘与刷新后的读回、收起把手的位置;0.6.1 已实测宿主半的设置命名空间注册、配置卡片、跳转动画与面板缩放);**0.1.5-rc.1** 上实测了插件加载与客户端模块下发(宿主启动正常、boot graph 中 `dsh-quick-toc/client.js` 的 rev 与本仓库 `lib/client.js` 逐字节一致),它依赖的宿主接口——`turnOutline` 投影、会话级槽位的 `useProjection`、客户端 `sessions` 服务与 `loadThrough` 跳转加载器(0.5.0 起)、失败回合所用的 `turn-error` 节点(0.5.1 起)、以及 0.6.0 新增的宿主 `settings` 服务(`installSection`)、客户端 `settingsScope` 与 `settings.plugin.item` 配置卡片槽位——在 0.1.5-rc.1 与 0.1.5-rc.2 的安装包中逐个核对存在(这些宿主包的代码在两版之间逐字节相同,`dsh-client-ui-chat` 仅差一条与本插件无关的 CSS 声明);0.6.3 的改动都不依赖新的宿主接口(箭头是插件自己卡片里的内联 SVG),因此两版都声明兼容。更早或更新的 DSH 版本未经验证,不作声明;在更早的 DSH 上可安装的最新插件版本是 **0.3.2**。安装或更新时,DSH 市场会依据 `package.json` 中的 `engines.dsh`、`dsh.compatibility.dshReleases` 与 `peerDependencies` 做宿主兼容预检。
46
46
 
47
47
  ## 安装
48
48
 
package/lib/client.js CHANGED
@@ -4373,7 +4373,24 @@ window.__ModuleLoader__.load({
4373
4373
  react_jsx_runtime.jsx("span", { className: "dqt-pname", children: T("panel.title") }),
4374
4374
  react_jsx_runtime.jsx("span", { className: "dqt-pdesc", children: T("settings.desc") })
4375
4375
  ] }),
4376
- react_jsx_runtime.jsx("span", { className: "dqt-pchev" + (open ? " dqt-pchevOpen" : ""), "aria-hidden": "true", children: "⌄" })
4376
+ // The host's own chevron (IconChevronDownOutline14): a filled 14x14 glyph.
4377
+ // A text arrowhead ("⌄") sat in a 20px line box, so its ink hung off the
4378
+ // box centre — rotating it swung the glyph sideways instead of turning it
4379
+ // in place — and at text weight it never matched the host's other icons.
4380
+ // The class goes on the <svg> itself, exactly as the host's PluginCard does,
4381
+ // so `transform:rotate(180deg)` turns around the icon's own centre.
4382
+ react_jsx_runtime.jsx("svg", {
4383
+ className: "dqt-pchev" + (open ? " dqt-pchevOpen" : ""),
4384
+ width: 14,
4385
+ height: 14,
4386
+ viewBox: "0 0 14 14",
4387
+ fill: "none",
4388
+ "aria-hidden": "true",
4389
+ children: react_jsx_runtime.jsx("path", {
4390
+ d: "M11.8486 5.5L11.4238 5.92383L8.69727 8.65137C8.44157 8.90706 8.21562 9.13382 8.01172 9.29785C7.79912 9.46883 7.55595 9.61756 7.25 9.66602C7.08435 9.69222 6.91565 9.69222 6.75 9.66602C6.44405 9.61756 6.20088 9.46883 5.98828 9.29785C5.78438 9.13382 5.55843 8.90706 5.30273 8.65137L2.57617 5.92383L2.15137 5.5L3 4.65137L3.42383 5.07617L6.15137 7.80273C6.42595 8.07732 6.59876 8.24849 6.74023 8.3623C6.87291 8.46904 6.92272 8.47813 6.9375 8.48047C6.97895 8.48703 7.02105 8.48703 7.0625 8.48047C7.07728 8.47813 7.12709 8.46904 7.25977 8.3623C7.40124 8.24849 7.57405 8.07732 7.84863 7.80273L10.5762 5.07617L11 4.65137L11.8486 5.5Z",
4391
+ fill: "currentColor"
4392
+ })
4393
+ })
4377
4394
  ]
4378
4395
  }),
4379
4396
  open ? react_jsx_runtime.jsx("div", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-quick-toc",
3
- "version": "0.6.2",
4
- "description": "Conversation TOC for DeepSeek Harness (DSH): turn-grouped Markdown outline covering the whole session (unloaded turns included), title/full-text search with an optional fuzzy switch, hover previews, in-chat match highlighting, heading-level filter, reading-position auto-follow, a Chinese/English interface and a plugin-configuration card",
3
+ "version": "0.6.3",
4
+ "description": "Conversation TOC for DeepSeek Harness (DSH): a turn-grouped Markdown outline of the whole session, title/full-text search, hover previews, in-chat highlighting, a level filter, reading-position follow, a Chinese/English interface and a settings card.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "files": [