smanx/dsh-conversation-indicator ↗★ 1
@smanx/dsh-conversation-indicator
Conversation indicator for the DeepSeek Harness web GUI: clickable markers along the transcript scrollbar that jump to the corresponding message or turn.
AI 분석
核心用途是在滚动条旁生成可点击的标记,帮助用户快速跳转到对应的消息或轮次。适合在超长会话中频繁上下滚动、需要快速定位历史上下文的 DSH 用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:smanx/dsh-conversation-indicator配置项
插件完全自包含,偏好设置保存在浏览器里(localStorage["dsh-conversation-indicator.options"],JSON,部分合并)。在 DevTools 中设置后刷新页面即可生效(下次插件挂载时应用)。
| 键 | 默认值 | 作用 |
|---|---|---|
enabled | true | 总开关。 |
markKinds | ["user"] | 要标记的行类型(data-chat-flow-kind);"*" 标记所有渲染出的行。助手回复的实际 kind 是 assistant-step,默认不标记——想标记的话加入 "assistant-step"(或 "*")即可。其他类型:steering、context、tool-call、command、compaction、manual-compaction、model-retry、turn-error、turn-max-tokens、turn-tail、unknown。 |
panelWidth | 26 | 面板(胶囊)宽度,单位 px。 |
markerSize | 6 | 指示条高度,单位 px。 |
rightMargin | 10 | 面板与滚动容器右边缘的间距,单位 px。 |
panelHeightRatio | 0.5 | 面板高度占滚动容器高度的比例(指示条集中在中间区域)。 |
minPanelHeight / maxPanelHeight | 140 / 520 | 面板高度上下限,单位 px。 |
showCount | true | 面板底部显示对话总数小徽标。 |
tooltips | true | 悬停摘要提示:类型标签 + 该行正文(剔除按钮/图标等 UI 元素)。 |
summaryMaxChars | 200 | 悬停摘要正文的最大字符数。 |
scrollPadding | 12 | 跳转时目标行上方保留的额外间距,单位 px。 |
hoverZoneX | 28 | 面板周围的热区(水平方向,px),鼠标靠近时显示面板。 |
hoverZoneY | 24 | 面板周围的热区(垂直方向,px),鼠标靠近时显示面板。 |
idleHideMs | 450 | 无鼠标活动多少毫秒后面板开始淡出。 |
fadeOutMs | 400 | 面板淡出动画时长(ms),淡入保持 200ms。 |
localStorage["dsh-conversation-indicator.options"] = JSON.stringify({
markKinds: ["user", "tool-call"],
panelWidth: 30,
markerSize: 8,
})