smanx/dsh-conversation-indicator1

@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 用户。

パッケージ
@smanx/dsh-conversation-indicator
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:smanx/dsh-conversation-indicator

ドキュメント

README 全文を読む ↗

配置项

插件完全自包含,偏好设置保存在浏览器里(localStorage["dsh-conversation-indicator.options"],JSON,部分合并)。在 DevTools 中设置后刷新页面即可生效(下次插件挂载时应用)。

默认值作用
enabledtrue总开关。
markKinds["user"]要标记的行类型(data-chat-flow-kind);"*" 标记所有渲染出的行。助手回复的实际 kind 是 assistant-step,默认不标记——想标记的话加入 "assistant-step"(或 "*")即可。其他类型:steeringcontexttool-callcommandcompactionmanual-compactionmodel-retryturn-errorturn-max-tokensturn-tailunknown
panelWidth26面板(胶囊)宽度,单位 px。
markerSize6指示条高度,单位 px。
rightMargin10面板与滚动容器右边缘的间距,单位 px。
panelHeightRatio0.5面板高度占滚动容器高度的比例(指示条集中在中间区域)。
minPanelHeight / maxPanelHeight140 / 520面板高度上下限,单位 px。
showCounttrue面板底部显示对话总数小徽标。
tooltipstrue悬停摘要提示:类型标签 + 该行正文(剔除按钮/图标等 UI 元素)。
summaryMaxChars200悬停摘要正文的最大字符数。
scrollPadding12跳转时目标行上方保留的额外间距,单位 px。
hoverZoneX28面板周围的热区(水平方向,px),鼠标靠近时显示面板。
hoverZoneY24面板周围的热区(垂直方向,px),鼠标靠近时显示面板。
idleHideMs450无鼠标活动多少毫秒后面板开始淡出。
fadeOutMs400面板淡出动画时长(ms),淡入保持 200ms。
localStorage["dsh-conversation-indicator.options"] = JSON.stringify({
  markKinds: ["user", "tool-call"],
  panelWidth: 30,
  markerSize: 8,
})