DeepSeek Harness 插件

dsh-chat-history-ttmouse

ChatGPT-style conversation-history rail for the DeepSeek Harness web GUI: a strip of bars at the transcript's right edge with a hover panel listing every user message, click-to-jump and scroll-synced(英文原文)

跳到安装方式

来源信息

GitHub 仓库
ttmouse/dsh-chat-history
最近更新
2026年8月20日
分类
记忆
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/ttmouse/dsh-chat-history
插件名:dsh-chat-history-ttmouse
作者:ttmouse

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器4 个文件
README.zh.md来源说明 · 只读预览
README 语言

dsh-chat-history

English | 中文

<img width="920" height="864" alt="image" src="https://github.com/user-attachments/assets/7cdd836b-1cda-4c3e-9b10-1768b977ec55" />

用于 DeepSeek Harness Web GUI 的 ChatGPT 风格对话历史侧边栏。对话记录右边缘有一竖条横线指示器,每条用户消息对应一根横线;悬停弹出浮层列出所有用户消息,点击某行即滚动到该消息。活跃横线跟随滚动位置,浮层打开后暂停跟随(点击锁定)。

功能

  • 横线导航:对话记录右边缘每条用户消息一根横线,会话至少包含两条用户消息时始终可见。
  • 悬停浮层:列出全部用户消息(序号 + 单行预览),点击跳转。
  • 滚动同步:活跃横线指向滚动容器顶部边缘处或以下的第一条用户消息;跳转后高亮锁定。
  • 点击锁定:浮层打开期间自动同步暂停,关闭后恢复跟随。
  • 按条跳转:直接按下侧边栏跳到最近横线,横线之间的空隙也能导航。
  • 数据完全来自会话聊天快照(user/steering 节点),样式只使用设计令牌。

依赖要求

  • 需要 DeepSeek Harness 的 web profile(GUI)。侧边栏注册到 conversation.session.header.actions 槽位——这是已发布 @deepseek-ai/dsh-client-ui-conversation 长期提供的会话头部动作槽位,任何已发布版本的 ui-conversation 都能挂载,不依赖任何上游新槽位。侧边栏本身以 position: fixed 渲染在对话滚动容器上,不占用头部布局。

安装

在运行 GUI 的 profile(如 ~/.dsh/profiles/web)中添加该 bundle 并安装:

# 在 profile 目录,从 npm registry 安装
pnpm add @ttmouse/dsh-chat-history

或作为 GitHub 源依赖:

pnpm add @ttmouse/dsh-chat-history@github:ttmouse/dsh-chat-history

或使用 dsh 插件通道(可用后):

dsh plugin --profile web add @ttmouse/dsh-chat-history

然后把 bundle 加入 dsh.profile.bundlesdsh plugin add 流程会自动完成):

{
  "dsh": {
    "profile": {
      "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "@ttmouse/dsh-chat-history"]
    }
  }
}

重启 dsh web 并刷新浏览器。侧边栏出现在活跃对话的右边缘。

开发

pnpm install
pnpm build     # tsc(lib/types + node half)+ tsdown(lib/client.js 浏览器 bundle)
pnpm test      # vitest,jsdom

浏览器 bundle 是 window.__ModuleLoader__.load 握手产物,CSS Modules 以内联 <style> 注入;外部依赖(react@deepseek-ai/dsh-client-runtime/client 等)通过 DSH loader 模块表解析。

License

MIT