DeepSeek Harness Plugin

tuogusa/dsh-session-nav

Stars ★ 0 Category Sessions & Messages Added 2026-08-15

A floating button beside the chat that opens a searchable list of all questions in the session for quick jumps, with smooth hover-open/close behavior.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:tuogusa/dsh-session-nav

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

DeepSeek Harness (DSH) 会话对话快捷导航(host + client 一体包)。

功能

  • 右侧半透明触发按钮:贴对话文字列右边缘(四角圆角),随布局动画(详情面板开合/侧边栏拖动/窗口缩放)平滑跟随
  • hover 弹出提问列表:显示当前会话全部历史提问(含被 compaction 折叠的,不依赖 DSH 渲染窗口),可上下滚动;打开时自动把「当前提问」滚动到列表中央;顶部固定显示会话名字与提问总数
  • 点击跳转:窗口内的提问直接平滑跳转;窗口外的提问自动逐页加载更早历史后跳转(带进度提示,视口不跳动)
  • 平滑关闭:鼠标移出后短暂延迟再开始淡出动画,避免“按钮 → 弹窗”路径误关;点击提问按钮后移开鼠标可正常关闭
  • 性能:host 端对 live Session 做内存增量遍历 + 持久化索引($DSH_HOME/session-nav-questions.json)+ 客户端缓存 + afterSeq 增量同步——正常路径无磁盘 IO、无日志全量扫描

安装

dsh plugin --profile web add github:tuogusa/dsh-session-nav

兼容 Profile:web(DSH Web GUI)。

然后按 dsh 引导添加 pnpm-workspace.yaml 的 allowBuilds 条目(git 依赖的 prepare 脚本需要放行),重启 DSH 并 Ctrl+Shift+R 刷新浏览器。

更新

# 方式一:CLI 更新(推荐)
dsh plugin --profile web update dsh-session-nav

# 方式二:重新从 GitHub 源安装/更新
dsh plugin --profile web add github:tuogusa/dsh-session-nav

说明:dsh plugin 是 pnpm 的前置转发器,update 会按当前依赖声明重新解析该包;通过 github:tuogusa/dsh-session-nav 安装时,会更新到仓库默认分支的最新提交。

结构

  • lib/index.js — 主机侧:GET /api/session-nav/questions(完整历史提问列表,内存增量 + 持久化索引)
  • lib/client.js — 浏览器侧:注册官方 slot conversation.session.header.utilities,渲染右侧悬浮导航

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.