notload/dsh-session-toc0

dsh-session-toc

A floating right-side table of contents (TOC) for the DeepSeek Harness Web UI: one entry per user question, click to scroll to that message.

包名
dsh-session-toc
版本
0.1.1
许可证
MIT
最近更新
2026年8月23日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:notload/dsh-session-toc

配置

目录参数通过 cordis.patch.yml 传给 host 半侧(applyconfig)。注意:DSH 客户端配置管线当前尚未打通,浏览器半侧收到的 config 是空对象,因此以下参数目前以代码默认值为准(与 dsh-pet 同样的限制)。

配置项(对照 lib/client.js 的默认值):

key默认值说明
minEntries1当前会话用户提问少于该值时隐藏目录栏
maxChars48单条目录文案的最大字符数(超出加省略号)
collapsedfalse初始是否折叠

当前这些值在 client 里不可被用户覆盖。若需要可配置,需等 DSH 打通客户端配置管线,或改为硬编码默认值。