DeepSeek Harness Hub
← 返回列表

ttmouse/dsh-chat-history

DeepSeek Harnessspec-screened在 GitHub 查看 ↗
未验证

用于 DeepSeek Harness Web GUI 的 ChatGPT…

尚未跑自动兼容性验证,可查看页面内的依赖与入口分析。 · 最近上游提交 2026/8/20 · 已提供中文文档
综合分
27.1
GitHub 分
27.1
用户评分
★ Stars
0
周下载量
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add ttmouse/dsh-chat-history
该插件未发布到 npm,走 GitHub 源安装(pnpm 若拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑)
数据截至 2026/9/17(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/dsh-client-locale@deepseek-ai/dsh-client-runtime@deepseek-ai/dsh-client-test-runtime@deepseek-ai/dsh-client-ui-conversation@deepseek-ai/dsh-client-ui-slots@deepseek-ai/dsh-client-web-react@deepseek-ai/dsh-invariants
用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动

README

dsh-chat-history

用于 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.bundles(dsh 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 以内联  注入;外部依赖(react、@deepseek-ai/dsh-client-runtime/client 等)通过 DSH loader 模块表解析。

License

MIT

上游仓库有新提交时邮件通知你(每天最多一封,无更新不打扰),随时一键退订。

同作者(ttmouse)的其他插件

💬 加入 DPharness 群聊

插件用法、部署报错、新插件第一时间同步——群里问,比一个人翻文档快。

点击加入 QQ 群
DPharness 群聊二维码,手机 QQ 扫码进群
扫码进群