dsh-turn-toc
nightzas/dsh-turn-toc
为 DSH 右栏增加会话轮次目录,按轮列出问题摘要,关键词搜索问答并点击跳转。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。
安装
dsh plugin --profile web add github:nightzas/dsh-turn-tocREADME
会话助手 · Session Assistant (dsh-turn-toc)
DSH(DeepSeek Harness)右栏会话目录插件:把当前会话按轮次列成可搜索、可跳转的目录。 A right-pane session outline plugin for DeepSeek Harness: every turn of the current session, searchable and click-to-jump.

截图由合成演示种子渲染(public/dev.html),不含任何真实会话内容。
Screenshots are rendered from the synthetic demo seed (public/dev.html); no real session content is shown.
功能 / Features
- 右栏「会话助手」页签 + 会话头部蓝色开关按钮,一键开合。 Right-pane "Session Assistant" tab plus a blue toggle button in the session header.
- 按轮次列出问题摘要与回复首行,当前轮高亮跟随。 Per-turn question summaries with the first reply line; the current turn stays highlighted.
- 关键词搜索问题与回复;
/聚焦搜索框,Esc清空。 Keyword search over questions and replies;/focuses the box,Escclears it. - 点击条目跳转到对应轮次。 Click a row to jump to that turn in the session.
- 默认半宽(视口 22.5%,下限 300px);手动拖窄保留,拖宽后下次打开收回半宽。 Half-width by default (22.5% of the viewport, floor 300px); a manually narrower bar is kept, a wider one snaps back on next open.
- 中英双语界面,跟随宿主语言。 Chinese / English UI following the host locale.
安装 / Install
需要 DSH >= 0.2.2(实测于 0.2.2-rc.5)。 Requires DSH >= 0.2.2 (tested on 0.2.2-rc.5).
dsh plugin add dsh-turn-toc
也可以从 GitHub 源码安装,或在宿主「插件 → 发现」页搜索 dsh-turn-toc。
You can also install from GitHub source, or search dsh-turn-toc in the host's Plugins → Discover page.
数据与隐私 / Data & privacy
- 只读本机宿主的会话服务;配套路由仅接受 loopback 且同源的请求。 Reads only the local host session service; its routes accept loopback, same-origin peers only.
- 无外部网络请求、无遥测;会话内容不写入磁盘。 No external network requests, no telemetry; session content is never written to disk.
自测 / Self-test
浏览器直接打开 public/dev.html:16 轮合成演示种子,带主题切换、慢跳转与模拟新轮控件。
Open public/dev.html in a browser: a 16-turn synthetic demo seed with theme switch, slow-jump and add-turn controls.
License
MIT