
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-quick-toc
Advanced tools
Conversation TOC for DeepSeek Harness (DSH): a whole-session, turn-grouped Markdown outline with hover previews, heading-level preferences, a full-width curtain, jump-to-end buttons, title/prompts/full-text/cross-session search and a Chinese/English inter
English | 中文
DeepSeek Harness(DSH)对话大纲插件:把 AI 回复中的 Markdown 标题(H1–H6)提取成可导航的大纲——侧边面板与全屏幕布两种大纲视图,按对话回合分组、覆盖整段会话(含尚未加载进窗口的回合),支持标题/提问/全文/跨会话四档检索、悬停预览、多种跳转(点标题、点组头、跳到本节末尾),阅读位置自动跟随并可记住。
请求失败 与报错原文,点击跳到对话中的报错位置昨天 / 前天,英文昨天用 yesterday、更早用 YY-MM-DD HH:MM 日期昨天 15:04、前天 前天 15:04、更早 25-09-11 15:04,跨天的会话里时间不再重影n/N 回车逐处跳,Esc 关闭# 行不算标题| 插件版本 | 支持的 DSH 版本 |
|---|---|
| 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 |
| 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 |
| 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 |
| 0.6.x(0.6.3) | 0.1.5-rc.1、0.1.5-rc.2 |
| 0.5.x(0.5.1) | 0.1.5-rc.1、0.1.5-rc.2 |
| 0.4.x(0.4.1) | 0.1.5-rc.1、0.1.5-rc.2 |
| 0.3.x(0.3.3) | 0.1.5-rc.1 |
| 0.2.x(0.2.2) | = 0.1.2-rc.1 |
每个大版本只列该系列最新的一个补丁版本(新功能引入的缺陷都在其后的补丁里修掉了,所以同一个大版本内直接用最新补丁即可;旧补丁仍可继续用,插件不破坏既有接口)。
通过 DSH CLI 安装:
dsh plugin --profile web add dsh-quick-toc
也可以从 GitHub 安装:
dsh plugin --profile web add github:LyaxZ/dsh-quick-toc
或以本地目录安装:
dsh plugin --profile web add <插件目录路径>
安装后重启 DSH 并打开 Web UI。面板默认收起:点对话区边缘的把手展开面板,或点对话顶边标签条里的液滴把手直接把大纲铺成整幅宽度落下。
面板挂载时默认不打印任何日志。需要排查宿主能力时,在 设置 → 插件 → 插件配置 里展开「对话大纲」卡片、勾选「在控制台打印诊断日志」——打开后当下就会打印一行(无需刷新):
[dsh-quick-toc] panel mounted · turnOutline=… · jumpLoader=… · lang=… · prefs=…
turnOutline 缺失说明宿主没有该投影,jumpLoader 的分阶段措辞(no-sessions-service / no-binding-api / no-binding-for-session / no-loadThrough / binding-threw)可直接定位跳转桥断在哪一环。
lib/client.js —— 全部 UI 逻辑(浏览器端)lib/index.js —— 宿主半:注册 dsh-quick-toc 设置命名空间(schemastery schema,含取值范围校验),让偏好进入 DSH 的设置文档并提供插件配置卡片的入口cordis.patch.yml —— loader patch(符合官方 bundle 规范)conversation.input.overlay 槽以取得会话级 hook(useChat、useSession、sessionId 等),面板本体通过 createPortal 渲染到 document.body 成为固定浮层;对话数据来自 props.useChat(ChatSnapshot.order 与 nodes,节点形状:kind: user/assistant-step、location.turn、data.blocks)turnOutline 投影(整段会话的回合索引,每条含 turn/start 的 seq)与会话跳转加载器(客户端 sessions 服务的 binding(sessionId).session.loadThrough(seq),通过客户端 ctx 的 ctx.get("sessions") 免声明查找取得)。两者各自独立降级:没有投影时只列已加载回合,没有加载器时未加载条目只展示、不跳转,面板其余功能不受影响。turn-error 会话节点(宿主在 turn/end 的原因为 error 时发布,含 message 与可选的 code);宿主不提供该节点时只是不显示这一行,其余功能不受影响。lib/client.js 顶部的一张字符串表(DICTS,中英各一份),语言设置决定用哪一份:跟随宿主 时优先问宿主的翻译函数(ctx.locale.bind("dsh-quick-toc"),注册的表就来自 DICTS),拿不到才回退到内置表。中英两份表的键必须对齐(仅 time.beforeYesterday(前天)是中文独有——英文对更早的时间直接用日期;time.yesterday 两语言都有,英文作 yesterday)。localStorage(镜像 + 顶边距/宽度/高度三项的正式存储——它们描述"这一块屏幕",按浏览器保存)。宿主那一层按运行中的宿主二选一:0.1.5-rc.3 上是 ctx.settingsScope.bind({ namespace: "dsh-quick-toc" })(按命名空间寻址),0.1.7 两条线(alpha 与 rc)上改成 ctx.configForms.get(<profile entry id>)(按 profile 条目 id 寻址,客户端按宿主实际服务的 schema 认出自己那一条);两者暴露的方法与快照字段相同,所以 store 只有一套。写入按字段路由:宿主字段走 scope.mutate(本地同步折叠、宿主应答后对账),其余写 localStorage;写入的值若正好是该字段的默认值,则改为把用户层里的这一项删掉(等同于"未自定义")。非回环页面 DSH 将设置标记为只读,此时这九项偏好退回本地镜像,行为与 0.5.x 一致;0.5.x 留下的本地值会在宿主层首次应答时导入一次(仅当用户层为空)。宿主应答之后宿主层就是权威层,因此 localStorage['dsh-quick-toc.debug'] 这类本地键在回环页面上不再生效——诊断开关请用卡片里那一条。ctx.get("sessions") 的 search(query, signal)(走宿主的会话全文索引,一次最多 20 条);每个会话的阅读位置存在浏览器本地(dsh-quick-toc.readPos.v1,半小时内有效)。settings.plugin.item(key 为插件命名空间,该槽按宿主实际服务的命名空间派发,宿主半未加载时卡片自然不出现,面板不受影响);0.1.7 两条线(alpha 与 rc)上是侧边栏「插件」页的两处——「官方」分组里插件自己的条目(plugins.item,id 为 quick-toc,label 取「对话大纲」,order 50)与该 bundle 页面上的配置区(plugins.bundle.config,key 为 npm 包名)。0.1.7 的插件页渲染这两处时都会带上 view,卡片因此默认展开(点进条目或 bundle 页本身就是展开动作);rc 线的配置单元不带任何 props,卡片保持收拢的列表形态。所有注册都只在设置作用域绑定成功后才做,卡片与面板共享上面那个 store,因此两边实时互通。lib/client.js 后刷新页面即可看到变化(客户端模块按内容哈希发版,DSH 的客户端 HMR 也会推送重载);改 lib/index.js(宿主半)需重启 DSHCHANGELOG.md 是发布当时的版本,npm 的版本内容不可变,改不了(例如 0.7.5/0.7.6 包内仍是 2026-09-19 改写前的长版、0.7.9 包内仍有一句后来被修正的说法)。每次发版会用 relnotes.mjs 核对"仓库中英 == npm 包内中英 == Release 正文中英"四处一致。MIT © 2026 LyaxZ
FAQs
Conversation TOC for DeepSeek Harness (DSH): a whole-session, turn-grouped Markdown outline with hover previews, heading-level preferences, a full-width curtain, jump-to-end buttons, title/prompts/full-text/cross-session search and a Chinese/English inter
The npm package dsh-quick-toc receives a total of 0 weekly downloads. As such, dsh-quick-toc popularity was classified as not popular.
We found that dsh-quick-toc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.