smanx/dsh-conversation-indicator 预览 preview

smanx/dsh-conversation-indicator

Plugin插件 Native原生 ⭐ 3 MIT Sessions & Context会话与上下文

Conversation indicator plugin for the DeepSeek Harness web GUI: a compact rail beside the scrollbar marks each user message; hover for the summary, click to jump.

Project Overview项目介绍

This is a DSH-native plugin built exclusively for the DeepSeek Harness Web GUI that adds a conversation navigation indicator to the interface. It injects no server-side code and requires no modifications to the core Harness codebase, running entirely as a client-side browser bundle. The plugin adds a compact vertical capsule panel to the right edge of the conversation area, positioned right next to the scrollbar, with each user message mapped to a clickable indicator bar on the panel. Clicking any indicator bar triggers a smooth scroll to the corresponding user message, eliminating the need to drag the scrollbar to navigate long conversations.

The panel is designed to stay out of the way when not in use. It remains hidden during conversation scrolling or streaming output, only fading in when the user moves their mouse near the right edge of the conversation area. It automatically hides when the conversation content is shorter than one screen, so it never blocks the view of your conversation. To install the plugin, you can run the DSH CLI command dsh plugin --profile web add github:smanx/dsh-conversation-indicator#main to pull the code directly from the GitHub repository. After installation, you will need to restart the DSH web server and refresh your browser page for the plugin to load correctly.

All plugin preferences are stored in the browser’s localStorage, so you can easily customize the behavior by editing the JSON configuration directly. The plugin does not add any tokens to model requests, does not add new tools for the model, and does not alter your conversation logs in any way. It only reads already rendered DOM elements to place the indicator bars, so it has no impact on your LLM workflow. There are a few known limitations: it can only mark already rendered messages, and configuration changes require a page refresh to take effect. The plugin is released under the open source MIT license, and it has no external dependencies beyond what is included in the client-side bundle.

这是专为 DeepSeek Harness Web GUI 开发的原生对话指示器插件,它在对话区右侧紧贴滚动条左侧添加了一个垂直居中的紧凑胶囊面板。每条用户消息对应一个可点击的指示条,点击指示条即可让对话区平滑滚动到对应消息位置,方便长会话快速跳转,无需拖动滚动条翻阅大量内容。

该插件默认在对话区滚动或流式输出时隐藏面板,只有当鼠标移动到面板附近才会显示,鼠标移开后自动淡出。只有当会话内容超过一屏时面板才会显示,对话未溢出时自动隐藏,不会干扰正常浏览对话。适合经常处理长会话、需要在多轮用户提问间快速跳转的 DeepSeek Harness 用户使用。

可通过 DSH CLI 命令直接从 GitHub 仓库安装,首次安装后需重启 Web 服务器并刷新页面生效,本地开发也可以指向本地目录实现热更新。所有配置存储在浏览器本地存储中,无后端逻辑,不消耗额外 Token,也不修改会话内容,遵循 MIT 开源许可,仅能标记已渲染的对话内容。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 github:smanx/dsh-conversation-indicator#main

把 smanx/dsh-conversation-indicator 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

@smanx/dsh-conversation-indicator

中文 | English

面向 DeepSeek Harness Web GUI 的对话指示器插件。一个紧凑的胶囊面板垂直居中显示在对话区的右侧、紧贴滚动条左侧;每条用户消息对应一条可点击的指示条(DOM kind 为 user)——助手回复默认不标记。点击指示条会让对话区平滑滚动到该对话附近,在长会话中跳转时无需拖动滚动条,也不必划过大量工具调用内容。面板在对话区滚动或流式输出时保持隐藏:只有鼠标移到它附近时才出现,移开后淡出。

截图:对话区右侧的对话指示器面板

悬停标记可查看对话摘要,点击标记可跳转到对应对话。

浏览器端: 监听 [data-conversation-scroll](应用的对话滚动容器)
         -> 读取 [data-chat-anchor-key] 行,按 data-chat-flow-kind 过滤
         -> 固定定位的胶囊浮层,垂直居中于右侧边缘
         -> 每行一个指示条,按内容比例定位(contentTop / scrollHeight)
         -> 点击 -> scrollport.scrollTo({ top: contentTop - padding, behavior: 'smooth' })

无需改动 harness,也没有任何服务端逻辑:宿主入口是空操作,整个插件就是浏览器端 bundle,由 /plugins/@smanx/dsh-conversation-indicator/client.js 提供。

安装

从 GitHub 仓库安装(pnpm 的 github: 形式是 git+ssh://git@github.com/smanx/dsh-conversation-indicator.git#main 的简写):

dsh plugin --profile web add github:smanx/dsh-conversation-indicator#main

安装后插件以 @smanx/dsh-conversation-indicator 的名称出现在插件列表与 profile 依赖中(npm scope 即开发者名 smanx + 插件名)。

首次安装后需要重启一次 Web 服务器,让启动清单把新的客户端 bundle 编进去,然后刷新页面。胶囊面板在对话区滚动或流式输出时保持隐藏——把鼠标移到它附近(右侧边缘、紧贴滚动条左侧)才会显示,鼠标移开后淡出。只有当前会话内容超过一屏时面板才会存在(对话区没有溢出时自动隐藏)。更新插件时重新执行同一条命令即可——pnpm 会按 git 依赖重新解析到最新提交。

开发时如果希望直接使用本地工作目录(改完代码刷新即可,无需重新安装),可以把 profile 指向本地路径:

dsh plugin --profile web add file:C:/mydata/codes/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。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev ai-memory 下一个 Next dsh-sitemap →