gjj-star/dsh-conversation-navigator 预览 preview

gjj-star/dsh-conversation-navigator

DeepSeek Harness(DSH)Web 端会话导航面板:在对话页右侧悬浮展示按轮折叠的对话大纲,点击任意节点平滑跳转,滚动对话时实时高亮当前阅读位置,步次徽标配色与内置"轨迹"视图统一。

catalog descriptioncatalog 简介 / catalog description:DSH 会话导航

Project Overview项目介绍

This repository is a native DSH web plugin built exclusively for DeepSeek Harness’ web client. It adds a floating conversation outline panel anchored to the right side of the chat view, which organizes dialogues by turn and lets users click any entry to jump directly to the corresponding position in the chat thread. As users scroll through the conversation, the plugin automatically highlights the currently viewed turn, and its color scheme matches DSH’s built-in timeline view to maintain a consistent user experience. It is written entirely in plain JavaScript with zero external npm dependencies, and reuses official UI primitives from the DSH core.

The plugin is designed for DSH users who frequently work with long chat conversations and need a way to quickly navigate between different turns. By default, it only shows the user’s question for each turn to keep the outline clean and easy to scan, but users can expand each turn to see sub-steps like tool calls and assistant responses. It also includes a keyword filter that searches only through user questions and assistant responses, highlighting matches to help users find what they are looking for faster. Users can cycle between three different view modes to fit their preferred layout.

The plugin is released under the open source MIT license, and the recommended installation method is through the official DSH CLI. To install it via the CLI, you need to have pnpm installed and available on your system’s PATH, and the plugin will automatically be added to your DSH profile after running the install command. Once installed, you just need to restart the DSH web client for the plugin to take effect. The plugin automatically adapts its default state based on your DSH version, and all UI preferences like panel position and size are saved to your browser’s local storage.

这是一个专为 DeepSeek Harness (DSH) Web 端开发的原生会话导航插件,会在对话页面右侧悬浮展示按对话轮次折叠的对话大纲,支持点击节点平滑跳转,滚动对话时自动高亮当前阅读位置,配色与 DSH 内置的"轨迹"视图保持一致。插件本身是纯 JavaScript 实现,没有额外 npm 依赖,复用 DSH 内核的官方基础组件,遵循 DSH 官方插件规范打包。

该插件面向需要在长对话中快速定位内容的 DSH 用户,默认仅展示每轮对话的用户提问列表,让长对话结构一目了然。用户可以通过关键词过滤快速定位目标对话,支持展开/折叠每轮对话的详细步骤,鼠标悬停即可查看被截断的完整提问内容,还支持三种显示形态切换,满足不同场景的布局需求。

插件遵循 MIT 许可开源,推荐通过 DSH 官方 CLI 安装,需要系统环境中已安装 pnpm 并配置到 PATH 中,安装完成后重启 DSH Web 端即可生效。插件会自动适配 DSH 版本,新版本 DSH 默认关闭面板,由用户主动呼出,旧版本 DSH 默认展开面板,所有布局偏好会保存在浏览器本地存储中。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 23 stars - an early-stage project星标 23,属于早期项目
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 dsh-conversation-navigator

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

READMEREADME

DSH 会话导航插件(dsh-conversation-navigator)

English | 中文

npm downloads downloads-total stars license dependencies awesome · DSH plugin DeepSeek Harness dsh.so risk dsh.so install

DeepSeek Harness(DSH)Web 端会话导航面板:在对话页右侧悬浮展示按轮折叠的对话大纲,点击任意节点平滑跳转,滚动对话时实时高亮当前阅读位置,步次徽标配色与内置"轨迹"视图统一。

纯浏览器插件(无宿主行为)、纯 JavaScript、零构建、零 npm 依赖(按钮/Tooltip 复用 DSH 内核 seed 的官方 primitives)。

深色模式 浅色模式
深色模式 浅色模式

深色 / 浅色模式下的会话导航面板。三种形态:显示轮次、隐藏轮次、极简·左(极简·右自 0.2.6 暂缓,代码保留;极简收起仅露行内指示条,悬停展开定位面板)。更多截图见 assets/screenshots。

功能

  • 按轮折叠大纲:默认只显示"第 N 轮 + 你的问题"列表,长对话一目了然
  • 关键词过滤:点击左上角搜索图标呼出输入框,只按「你的提问 + 助手实际回复文本」过滤(上下文、工具、命令、压缩、推理等不参与匹配),命中词高亮,列表文本自动定位到关键词处
  • 搜索命中直达:点击命中的搜索结果,直接滚动到关键词在会话正文中出现的位置(不再只对齐消息顶部),并把该条消息内所有命中处标出来——先亮一下,再平滑淡出为常驻淡色,长回复里不用再自己找
  • 展开/折叠步次:点击轮次行右侧的箭头按钮(▸ N,展开时旋转为 ▾)平滑展开/折叠该轮的步次明细(助手回复、工具调用、命令、压缩点等)
  • 悬停查看全文:鼠标在轮次行停留片刻,气泡显示该轮用户提问的完整原文,不再被单行截断
  • 显示 / 隐藏 / 极简·左三种形态:头部切换按钮三态循环——「显示轮次」为经典分组视图(压缩等系统事件与轮次同级加粗展示)→「隐藏轮次」每行统一为轨迹徽标 + 文本(用户 = 业务蓝、助手 = 紫罗兰、压缩 = 中性灰)→「极简·左」锚定对话区左缘(为 dsh-better-sidebar 让出右侧,并与官方右侧轨道零重叠),再回到「显示轮次」;「极简·右」形态自 0.2.6 起暂缓(与官方 TurnNavigator 轨道视觉重叠),代码保留;
  • 「极简」形态收起时只露行内指示条(当前 = 品牌色实色、非当前 = 主题前景色掺 40%),悬停展开 7 行画幅的定位面板(点击跳转、悬停全文气泡、超 7 条仅滑块滚动;左对齐向右展开),外置悬浮按钮继续循环(极简·左→显示轮次),搜索框展开时按钮自动让位
  • 面板可拖动:显示轮次 / 隐藏轮次面板按住头部即可拖到视口任意位置(自动夹边;展开高度至多半屏,上边缘固定、下边缘展开,超长轮次时列表内部滚动,底部「回到最新/全部折叠」始终可达),头部图钉按钮在「默认右侧停靠」与「上次拖动位置」间切换;拖动位置与极简左/右对齐选择持久化于 localStorage,刷新页面原样恢复
  • 面板尺寸可调:左下角圆角处拖拽缩放(仅显示轮次 / 隐藏轮次)——横向拖宽(240–560px),纵向拖高/拖矮;高度采用「内容自适应 + 上限」模型:实际高度 = min(轮次内容, 你拖到的上限),随轮数变化、不会在底部产生空白,下限约 3 轮,上限不超过会话可视区;拖拽 1:1 线性跟随、可逆,尺寸持久化于 localStorage
  • 丝滑动效:面板开合淡入淡出、步次展开/折叠高度过渡、过滤结果逐条级联淡入、折叠箭头旋转——全部纯 CSS 实现,零依赖
  • 点击定位:点击轮次主体或步次条目,平滑滚动跳转到对话中对应位置(不改变折叠状态)
  • 加载更早 / 加载全部:面板顶部两个按钮——「加载更早」向后翻一页、「加载全部」一键把所有历史轮次载入导航,之后可任意跳转(页面默认仍懒加载,只有点按钮才补载)
  • 位置跟踪:手动滚动对话时,面板自动高亮并跟随当前正在阅读的轮次
  • 右侧定位:默认锚定视口右侧,收起/展开左侧边栏时纹丝不动;解除停靠(拖动/图钉)后可自由放置
  • 回到最新 / 全部折叠:面板底部两个快捷按钮;「全部折叠」在没有展开的轮次时置灰,避免误以为失效
  • 轨迹配色:用户/插话 = 业务蓝、上下文 = 成功绿、助手 = 紫罗兰、工具 = 琥珀、压缩 = 中性灰(与内置轨迹视图一致的 --dsw 主题 token,自动适配明暗主题)
  • DSH 原生风格:操作按钮复用官方 Button/Tooltip 组件与官方图标(搜索、关闭);其余操作图标(导航、加载更早、加载全部、回到最新、全部折叠、切换轮次等)取自 Lucide 描边图标集(ISC License,lucide.dev),currentColor 自动适配明暗主题
  • 切换工作区/会话自动跟随并重建大纲

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

← 上一个 Prev dsh-flowglass 下一个 Next dsh-LorebookMD →