dsh-quick-toc 0.9.5 → 0.10.1
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 +30 -0
- package/CHANGELOG.md +30 -0
- package/README.en.md +3 -2
- package/README.md +3 -2
- package/icon.svg +14 -0
- package/lib/client.js +1333 -88
- package/lib/index.js +21 -0
- package/package.json +6 -2
package/CHANGELOG.en.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to **dsh-quick-toc** are documented here. Chinese version: [CHANGELOG.md](CHANGELOG.md).
|
|
4
4
|
|
|
5
|
+
## [0.10.1] - 2026-10-21
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **Collapsing and expanding used to land on different spots**: the place the panel came to rest and the place it reappeared from differed slightly; both now sit on the same line.
|
|
9
|
+
- **A narrow window left a strip of the panel behind**: on a narrow window the collapsed panel kept a visible edge; it now clears away completely.
|
|
10
|
+
- **The collapsed handle did not line up with the panel's edge**: the handle sat a little to one side of the panel edge; the two now share a line.
|
|
11
|
+
- **On the right dock the outer shadow arrived before the content**: while expanding, the halo around the panel showed before the content underneath it; both are now clipped together, and the halo settles once the slide is done.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- **A panel wider than the space available now narrows instead**: when the window cannot hold the width that was chosen, the panel narrows sideways and stays against the conversation area's edge rather than being pushed away from it; a wider window brings the chosen width back.
|
|
15
|
+
|
|
16
|
+
## [0.10.0] - 2026-10-19
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **Theme colour**: a new card row offers blue, red, yellow, green, purple and pink; selection states, the current group, search highlights and focus rings all follow it. Blue, the default, looks exactly as before.
|
|
20
|
+
- **Translucent surfaces**: on by default — the curtain blurs the conversation behind it, and the panel and preview card let the background through. The "see-through" control in the same section adjusts both surfaces at once. Switched off automatically, and remembered, when the device cannot hold its frame rate.
|
|
21
|
+
- **Curtain height**: drag the short bar on the curtain's bottom edge to change its height; the value is remembered.
|
|
22
|
+
- **Bookmarks**: right-click any entry to save it, and a theme-coloured bookmark tab appears at the left of that row. The star button in the title bar switches the list to bookmarks only; they are kept per conversation, in this browser.
|
|
23
|
+
- **Entry menu**: right-clicking an entry offers jump to this section, add bookmark, copy heading, copy the levels below it, pin the preview and jump to the end of the section. The time row takes the same menu, without the preview and copy-heading entries.
|
|
24
|
+
- **Hierarchy guides**: entries below the first level carry a hairline in front of them, so the nesting is readable at a glance.
|
|
25
|
+
- **Plugin card icon**: the plugins list and the card show this plugin's own icon.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
- **Corners and edges**: larger corner radius on both surfaces; a hairline highlight along the panel's top edge, a shadow on its conversation side, and the outline list now fades out at the bottom instead of ending on a hard line.
|
|
29
|
+
- **Day labels**: no longer pinned over the content; a day strip above the list, as translucent as everything else, shows the day you have scrolled to.
|
|
30
|
+
- **The current group's** accent bar fades out towards the bottom instead of ending on a hard edge.
|
|
31
|
+
- **Hovering an entry** nudges it slightly; the curtain now settles with a light bounce instead of stopping dead.
|
|
32
|
+
- **A resting panel** no longer dims enough to hurt reading.
|
|
33
|
+
- **Supports DSH 0.2.1-rc.1 and 0.2.1-rc.2**: no plugin code changed; the compatibility declaration registers the two new prereleases, both verified item by item in an isolated environment.
|
|
34
|
+
|
|
5
35
|
## [0.9.5] - 2026-10-16
|
|
6
36
|
|
|
7
37
|
### Changed
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
**dsh-quick-toc** 的重要变更都记录在这里。英文版见 [CHANGELOG.en.md](CHANGELOG.en.md)。
|
|
4
4
|
|
|
5
|
+
## [0.10.1] - 2026-10-21
|
|
6
|
+
|
|
7
|
+
### 修复
|
|
8
|
+
- **收起与展开的落点不一致**:收起后停下的位置与再次展开时出现的位置略有偏差,现在两者落在同一条线上。
|
|
9
|
+
- **窄窗口下收起后残留一条面板**:窗口较窄时,面板收起后仍会留下一条边,现在完全收起。
|
|
10
|
+
- **收起后的把手与面板边缘未对齐**:收起时把手比面板边缘偏一点,现在两者对齐。
|
|
11
|
+
- **右停靠展开时外框先于内容出现**:展开过程中,面板外圈的阴影会先于内容出现;现在阴影与内容一起裁切,展开完成后再自然铺开。
|
|
12
|
+
|
|
13
|
+
### 变更
|
|
14
|
+
- **面板宽度超出可用空间时改为收窄**:窗口放不下设定的宽度时,面板会横向收窄并继续贴着对话区边缘,不再被推离边缘;窗口变宽后恢复设定的宽度。
|
|
15
|
+
|
|
16
|
+
## [0.10.0] - 2026-10-19
|
|
17
|
+
|
|
18
|
+
### 新增
|
|
19
|
+
- **主题色可调**:设置里新增「主题色」,蓝、红、黄、绿、紫、粉六色可选,选中态、当前分组、搜索命中与焦点环一并跟随;默认的蓝色与之前的观感一致。
|
|
20
|
+
- **半透明界面**:默认开启,幕布会模糊它后面的对话,面板与预览卡片也能透出背景;同一区块的「通透度」可同时调整两处表面的透明程度。设备帧率不足时会自动关闭并记住结果。
|
|
21
|
+
- **幕布高度可调**:拖动幕布底边的短条即可改变高度,数值会被记住。
|
|
22
|
+
- **书签**:右键任意条目可加入书签,该行最左侧出现一条主题色书签条;标题栏的星形按钮切换「只看书签」视图,书签按会话保存在本机。
|
|
23
|
+
- **条目菜单**:右键条目可以跳到该节、加入书签、复制标题、复制下面的层级、钉住预览、跳到本节末尾;时间行同样可以右键,只是没有预览与复制标题两项。
|
|
24
|
+
- **层级引导线**:二级及以下的条目前面多一条细线,层级关系一眼可辨。
|
|
25
|
+
- **插件卡片图标**:插件页的列表与卡片上显示本插件自己的图标。
|
|
26
|
+
|
|
27
|
+
### 变更
|
|
28
|
+
- **圆角与边缘**:面板与幕布的圆角加大;面板顶部增加一条细高光,靠对话一侧增加投影,列表底部的内容改为渐隐收尾。
|
|
29
|
+
- **日期标签**:不再贴顶遮挡内容,改为列表上方一条与背景同样通透的日期条,滚动到哪一天就显示哪一天。
|
|
30
|
+
- **当前分组**的左侧竖条改为由上到下渐隐,不再是一条生硬的色块。
|
|
31
|
+
- **条目悬停**时轻微右移;幕布落下时在落点处轻轻回弹后停住。
|
|
32
|
+
- **面板未悬停时**不再整体变淡到影响阅读。
|
|
33
|
+
- **支持 DSH 0.2.1-rc.1 与 0.2.1-rc.2**:插件代码未改动,兼容性声明里登记了两个新的预发布版本;隔离环境里逐项实测通过。
|
|
34
|
+
|
|
5
35
|
## [0.9.5] - 2026-10-16
|
|
6
36
|
|
|
7
37
|
### 变更
|
package/README.en.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> **English** | [中文](README.md)
|
|
4
4
|
|
|
5
|
-
A conversation TOC plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH): it turns the Markdown headings (H1–H6) of AI replies into a navigable outline — the same list as a side panel or as a full-width curtain — grouped by conversation turn and covering the whole session (including turns that are not loaded yet), with title/prompts/full-text/cross-session search, hover previews,
|
|
5
|
+
A conversation TOC plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH): it turns the Markdown headings (H1–H6) of AI replies into a navigable outline — the same list as a side panel or as a full-width curtain — grouped by conversation turn and covering the whole session (including turns that are not loaded yet), with title/prompts/full-text/cross-session search, hover previews, a right-click menu for jumping and copying, bookmarks with a bookmarks-only view, six theme colours and a translucent material, and a reading position that both follows and is remembered.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
@@ -44,7 +44,8 @@ A conversation TOC plugin for [DeepSeek Harness](https://github.com/deepseek-ai/
|
|
|
44
44
|
|
|
45
45
|
| Plugin | Supported DSH |
|
|
46
46
|
| --- | --- |
|
|
47
|
-
| **0.
|
|
47
|
+
| **0.10.x** (latest, 0.10.1) | 0.1.5-rc.3, 0.1.7-alpha.1, 0.1.7-alpha.2, 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.2, 0.2.1-alpha.3, 0.2.1-alpha.4, 0.2.1-alpha.5, 0.2.1-rc.1, 0.2.1-rc.2 |
|
|
48
|
+
| **0.9.x** (0.9.5) | 0.1.5-rc.3, 0.1.7-alpha.1, 0.1.7-alpha.2, 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.2, 0.2.1-alpha.3, 0.2.1-alpha.4, 0.2.1-alpha.5 |
|
|
48
49
|
| 0.8.x (0.8.2) | 0.1.5-rc.3, 0.1.7-alpha.1, 0.1.7-alpha.2, 0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1, 0.2.0-rc.2 |
|
|
49
50
|
| 0.7.x (0.7.14) | 0.1.5-rc.3, 0.1.7-alpha.1, 0.1.7-alpha.2, 0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1, 0.2.0-rc.2 |
|
|
50
51
|
| 0.6.x (0.6.3) | 0.1.5-rc.1, 0.1.5-rc.2 |
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> [English](README.en.md) | **中文**
|
|
4
4
|
|
|
5
|
-
**DeepSeek Harness(DSH)对话大纲插件**:把 AI 回复中的 Markdown 标题(H1–H6
|
|
5
|
+
**DeepSeek Harness(DSH)对话大纲插件**:把 AI 回复中的 Markdown 标题(H1–H6)提取成可导航的大纲——侧边面板与全屏幕布两种视图,按对话回合分组、覆盖整段会话(含尚未加载进窗口的回合)。支持标题/提问/全文/跨会话四档检索、悬停预览、右键跳转与复制、书签与「只看书签」视图,六种主题色与半透明材质,阅读位置自动跟随并可记住。
|
|
6
6
|
|
|
7
7
|
## 功能
|
|
8
8
|
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
|
|
45
45
|
| 插件版本 | 支持的 DSH 版本 |
|
|
46
46
|
| --- | --- |
|
|
47
|
-
| **0.
|
|
47
|
+
| **0.10.x**(最新,0.10.1) | 0.1.5-rc.3、0.1.7-alpha.1、0.1.7-alpha.2、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.2、0.2.1-alpha.3、0.2.1-alpha.4、0.2.1-alpha.5、0.2.1-rc.1、0.2.1-rc.2 |
|
|
48
|
+
| **0.9.x**(0.9.5) | 0.1.5-rc.3、0.1.7-alpha.1、0.1.7-alpha.2、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.2、0.2.1-alpha.3、0.2.1-alpha.4、0.2.1-alpha.5 |
|
|
48
49
|
| 0.8.x(0.8.2) | 0.1.5-rc.3、0.1.7-alpha.1、0.1.7-alpha.2、0.1.7-rc.1、0.1.7-rc.2、0.2.0-rc.1、0.2.0-rc.2 |
|
|
49
50
|
| 0.7.x(0.7.14) | 0.1.5-rc.3、0.1.7-alpha.1、0.1.7-alpha.2、0.1.7-rc.1、0.1.7-rc.2、0.2.0-rc.1、0.2.0-rc.2 |
|
|
50
51
|
| 0.6.x(0.6.3) | 0.1.5-rc.1、0.1.5-rc.2 |
|
package/icon.svg
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="2.5" y="2.5" width="31" height="31" rx="9" fill="url(#tocbg)" />
|
|
3
|
+
<rect x="6" y="14.5" width="24" height="7" rx="3.5" fill="#ffffff" fill-opacity="0.22" />
|
|
4
|
+
<rect x="6" y="14.5" width="3" height="7" rx="1.5" fill="#1D4ED8" />
|
|
5
|
+
<rect x="11" y="10.5" width="15" height="3.2" rx="1.6" fill="#FF7AB8" />
|
|
6
|
+
<rect x="11" y="16.4" width="11.5" height="3.2" rx="1.6" fill="#FFB020" />
|
|
7
|
+
<rect x="11" y="22.3" width="7.5" height="3.2" rx="1.6" fill="#2DD4BF" />
|
|
8
|
+
<defs>
|
|
9
|
+
<linearGradient id="tocbg" x1="2.5" y1="2.5" x2="33.5" y2="33.5" gradientUnits="userSpaceOnUse">
|
|
10
|
+
<stop stop-color="#6EA5FF" />
|
|
11
|
+
<stop offset="1" stop-color="#3A67DE" />
|
|
12
|
+
</linearGradient>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|