a792883583/dsh-chat-toc
DSH Web GUI 聊天目录:对话右侧边缘的大纲栏,悬停展开,点击跳转
Project Overview项目介绍
This is a native navigation and outline enhancement plugin built exclusively for DSH Web GUI. It is designed to upgrade DSH’s official built-in Turn Rail navigation track instead of adding a redundant parallel navigation bar, so it fits seamlessly into the existing DSH interface without adding visual clutter. To install the plugin, you can run the command dsh plugin --profile web add dsh-chat-toc via the DSH CLI, then refresh the DSH web page to activate it. After installation, it adds hover preview cards that show both user prompts and AI core responses for every turn in the navigation track.
The plugin also adds a slim, native-style toolbar to the top right corner of the DSH interface, right next to the existing session log button. This toolbar includes full-session keyword search, filter toggles for code blocks, tool calls, and favorited turns, plus a one-click option to export the full conversation outline as a formatted Markdown tree. When you enable favorite filtering, favorited turns get a prominent gold highlight while unfavorited turns are faded, making it easy to scan for key points. This tool is especially useful for users who regularly work with long, multi-turn conversations in DSH.
This plugin is a pure front-end enhancement, so it does not require any additional back-end services or extra configuration to work properly. It targets DSH versions with the official Turn Rail feature, and has been tested successfully on @deepseek-ai/dsh@0.1.5-rc.2. It locates official DSH elements via DOM structure rather than relying on unstable CSS module hashes, so it works well across minor DSH version updates. It automatically adapts to DSH’s light and dark themes and three supported interface languages, and is released under the open source MIT license.
这是专为 DSH Web 图形界面开发的原生导航增强插件,核心作用是深度赋能官方自带的 Turn Rail 导航轨功能,100% 融入原生界面,不会新增冗余的平行导航轨道。它支持在官方导航轨上悬停弹出预览卡片,同时展示用户提问与 AI 核心回答,还支持单条对话收藏高亮、配置跨会话持久化存储。
针对 DSH 长对话翻找困难的痛点,该插件在界面右上角新增了原生风格的扁平工具栏,提供关键词搜索、收藏过滤、代码/工具调用过滤、导出 Markdown 对话大纲等功能,非常适合经常处理多轮长对话的用户使用。关键词搜索支持跨会话递归查找,能自动加载更早历史直到定位目标,彻底告别盲目翻找的低效操作。
该插件纯前端实现,无需额外依赖服务或配置,支持自适应 DSH 的多语言界面和明暗主题,通过 DOM 结构特征定位官方组件,对 DSH 小版本升级兼容性好。使用 DSH CLI 执行 dsh plugin --profile web add dsh-chat-toc 即可安装,刷新页面后生效,开源协议为 MIT。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-chat-toc(a792883583/dsh-chat-toc)
仓库:https://github.com/a792883583/dsh-chat-toc
本站详情页:https://www.yhbd.top/plugins/a792883583-dsh-chat-toc/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-30 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-chat-toc
把 a792883583/dsh-chat-toc 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-chat-toc (DSH 对话目录与原生小地图增强)
DSH Web GUI 的对话导航与大纲增强插件:深度赋能官方原生 Turn Rail 导航轨,告别冗余平行的第二条轨道,100% 融入原生界面。提供悬停卡片双向预览(用户提问 + AI 核心回答)、单条收藏与金光高亮、跨会话持久化、右上角原生扁平小工具栏(搜索 / 收藏过滤 / Markdown 大纲导出)。
功能特性
100% 原生融合与零视觉负担:
- 彻底移除冗余并排的彩色指示条,不破坏界面原有留白;
- 深度赋能 DSH 官方自带的右侧消息刻度轨道,使原生小地图具备旗舰级功能。
自主稳定悬停卡片(带防抖,绝不闪退):
- 双向内容呈现:鼠标滑过官方轨道上的任意刻度,优雅弹出自研高质量预览卡片,清晰呈现 👤 用户提问 与 🤖 AI 核心回答;
- 300ms 黄金防抖:鼠标从轨道向左平移移入卡片时,卡片保持稳定悬浮,可从容选中文字或点击操作按钮,彻底解决原生卡片离开即闪退的痛点;
- 一键收藏(⭐)与复制(📋):每张卡片右下角直接内嵌操作区,点击一键收藏该轮对话,或一键复制该轮问答全部正文。
跨会话永久持久化(Session-Scoped Storage):
- 基于稳定的 会话 ID (Session ID) + 消息全局唯一指纹 (chatAnchorKey) 进行隔离持久化;
- 刷新页面、关掉浏览器重新打开,收藏状态永远不丢;只有在会话被主动删除或归档时才清除。
右上角扁平极简工具条(原生排版流):
- 优雅内嵌于右上角操作区(紧邻 Session 日志按钮),与界面浑然天成,绝不遮挡任何侧边面板或产生双滚动条;
- 🔍 关键词即时与深度全会话搜索:点击展开搜索框,输入即时模糊高亮当前页匹配;长对话支持按 Enter 键触发全会话深度回溯搜索,系统自动联动官方「加载更早」向上递归翻页拉取,直到精准命中并平滑定位至历史目标气泡,彻底告别盲翻!
- 💻 代码与工具专属过滤胶囊:搜索栏下方配备
全部·仅代码 💻·仅工具 ⚙️快捷胶囊,长对话中一键精准过滤出代码变更或工具调用的轮次,告别低效盲翻; - ⭐ 仅看收藏过滤:点击一键开启收藏过滤模式,未收藏刻度自动半透明淡化,已收藏刻度呈现 22px 醒目金黄加宽长条 + 金色粒子微光晕,全轨重要结论一览无余;
- 📋 复制 Markdown 结构大纲:一键将整场对话的所有提问与角色大纲导出为格式化 Markdown 树,便于快速归档与分享。
多语言与明暗主题自适应:
- 自动跟随 DSH Web 界面语言(中文 / 英文 / 西班牙语);
- 100% 完美适配 DSH Web 的浅色(Light)与深色(Dark)主题模式。
界面预览
1. 悬停卡片(提问 + AI 核心回复预览,内嵌收藏与复制,右上角扁平工具条):

2. 开启顶部 ⭐ 收藏过滤(已收藏刻度呈金色粒子长条高亮闪耀,未收藏线条淡化):

环境要求
- 最低版本要求:DSH 宿主 ≥
0.1.5-rc.2(@deepseek-ai/dsh-client-runtime/dsh-client-locale/dsh-client-ui-chat≥0.1.5-rc.2)。peerDependencies已声明为>=0.1.5-rc.2 <0.3.0。 本插件依赖以下官方 DOM 契约,它们自0.1.5-rc.2起才齐备:data-chat-flow-kind/data-chat-turn/data-chat-anchor-key(轮次与消息行的权威判据)data-chat-flow-kind="text"与"reasoning"的区分(用于只取回答正文、跳过思考过程)- 刻度按钮
aria-label内的轮次号(chat.turnNavigation.jump) *_bubble/*_previewPrompt/*_previewResponse(提问文本与官方预览兜底)
- 已验证版本:
0.1.5-rc.2、0.1.6-alpha.1/2、0.2.0-rc.1(当前最新)。 - 兼容官方
0.2.0-rc.1的破坏性改版:官方在该版删除了markPosition类名并把刻度改为虚拟化渲染。本插件已改为以刻度按钮自身为锚点,新旧两代通用;并因虚拟化改为每次重新读取,绝不缓存刻度元素引用。 - 接入方式:以官方数据属性(
data-chat-*)与aria-label为主要判据,不依赖易变的 CSS Module 哈希;仅在确有必要时使用「哈希前缀 + 下划线」形式的类名子串。 - 依赖:纯前端增强,无需任何其它插件,无宿主侧服务,无需额外配置。
安装方式
dsh plugin --profile web add dsh-chat-toc
安装或更新后,刷新 dsh web 页面即可无缝体验。
本地开发时可用
dsh plugin --profile web add link:/path/to/dsh-chat-toc以链接方式安装,修改源码后npm run build并刷新页面即可生效。
反馈
使用中遇到问题或有功能建议?欢迎到 GitHub Issues 提交反馈,感谢支持!
License
MIT
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
Tyan66666/billion-context-dsh
qkycir-123/dsh-run2skill