z953218350/dsh-history-tree 预览 preview

z953218350/dsh-history-tree

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

DSH Web UI 的 Codex 风格对话轮次时间线与悬停历史概览

Project Overview项目介绍

dsh-history-tree is a native cordis plugin built exclusively for the DeepSeek Harness (DSH) agent platform. It adds a Codex-style conversation round timeline and hover overview card to the DSH web interface, matching Codex’s user experience 1:1. The plugin requires DSH version 0.1.2-alpha.2 or newer, and loads via the built-in client injection mechanism of DSH’s Web Profile. For a quick installation, you can run the one-line command dsh plugin --profile web add -w dsh-history-tree directly using DSH’s official command-line interface. If you prefer to install manually, you can also navigate to your DSH web profile directory and install it via npm or pnpm package managers. After installation, you need to confirm the plugin is added to the bundles array in your profile’s package.json.

After you successfully install the plugin and launch the DSH web service, you can open any multi-turn conversation in your browser at the default local address http://127.0.0.1:3080. You will immediately see the vertical timeline fixed on the left side of the interface, with evenly spaced dots marking every real user question in the conversation. When you hover your mouse cursor over any dot, a frosted-glass overview card pops up, showing the full user question, the model’s final response, and metadata like send time, token usage, and response speed. Clicking any dot or card will scroll you directly to that conversation round. This plugin is designed for DSH web users who prefer the Codex-style history navigation experience, and want to quickly jump between different rounds.

This plugin is released under the permissive MIT open source license, so it is free to use, modify, and distribute for any personal or commercial purpose. It has no external dependencies beyond the base DSH web environment, so it will not add extra bloat or performance overhead to your existing DSH installation. If you are developing the plugin locally, you can install it via a symlink using the command dsh plugin --profile web add -w link:/path/to/dsh-history-tree. One common installation pitfall is duplicate package declarations, so after installation, you must check that only the root plugin package is listed in the bundles array of your profile’s package.json.

这是一款针对 DeepSeek Harness(DSH)开发的原生插件,为 DSH 的 Web 界面添加了类似 Codex 风格的对话历史时间线功能。它在界面左侧提供固定垂直居中的时间线点阵,鼠标悬浮时有鱼眼放大动效,还支持极简毛玻璃悬浮概览卡片,点击可直达对应对话轮次。它要求 DSH 版本不低于 0.1.2-alpha.2,可通过 DSH 官方 CLI 或在 Web 配置目录使用 npm/pnpm 安装。

核心功能包括左侧固定不随滚动位移的时间线、仅统计真实用户提问生成刻度、对话轮次过多时支持自适应最大高度和滚轮滚动。当鼠标悬浮在顶部刻度或向上滚轮触顶时,会自动触发加载更早历史会话,动态延长时间线点阵。插件面向使用 DSH Web 界面、习惯 Codex 风格历史导航的用户,能帮助快速梳理多轮对话脉络。

该插件采用 MIT 许可证开源,完全免费使用,除 DSH Web 配置环境外无额外依赖。安装时需要确认 Web 配置目录的 package.json 中 dsh.profile.bundles 数组已包含该插件,本地开发可通过链接方式安装。启动 DSH Web 服务后,访问本地 3080 端口即可在多轮对话中看到时间线。

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

把 z953218350/dsh-history-tree 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH History Tree 插件 (Codex-style 对话轮次时间线)

中文 | English

为 DeepSeek Harness (DSH) Web 界面提供与 Codex 1:1 一致的对话轮次时间线点阵与悬浮历史概览卡片。

当前版本要求 DSH >=0.1.2-alpha.2,并通过 DSH Web Profile 的客户端注入机制加载。

npm version npm downloads

DSH History Tree 对话轮次时间线与悬浮卡片


🌟 核心特性

  1. 左侧固定垂直居中时间线点阵(Timeline Rail):
    • 紧贴工作区/侧边栏右分界线,固定在视口垂直居中位置,不随消息滚动位移;
    • 严格按右侧真实用户提问生成横向刻度点(排除产物、工具执行与系统占位节点);
    • 支持对话轮次过多时的自适应最大高度限制(max-height)与鼠标滚轮平滑滚动。
  2. 经典鱼眼波浪放大动效(Fish-eye Magnification):
    • 鼠标滑过时呈现丝滑的阶梯波浪扩散放大(26px / 19px / 14px / 10px / 8px)。
  3. 极简毛玻璃悬浮概览卡片(Hover Overview Card):
    • 第一行:用户提问纯文本(无冗余时间标签);
    • 第二行:模型最终回复与说明正文(严格过滤 Think 思考过程、Bash 工具执行与文件产物);
    • 底部元数据:发送时间 · 用时 · Token/吞吐率单行展示;
    • 点击精准直达:点击任意刻度点或悬浮卡片,平滑滚动至对应对话轮次。
  4. 顶部自动拉取(Auto Load Older):
    • 鼠标悬停在顶部刻度或向上滚轮触顶时,自动触发「加载更早」历史会话,动态向上延长刻度点阵。

📦 如何安装与配置到 DSH

DSH 采用 Cordis 模块化微内核架构,你可以通过以下方式安装该插件:

环境要求

  • DSH >=0.1.2-alpha.2
  • Web Profile
  • 支持客户端注入的 DSH Web UI

方法一:通过 NPM 线上源安装(推荐)

1. 使用 DSH 官方 CLI 命令一键安装

dsh plugin --profile web add -w dsh-history-tree

当前本地兼容版本为 1.0.4。如需固定版本,可执行:

dsh plugin --profile web add -w "dsh-history-tree@1.0.4"

2. 或者在 Web Profile 目录下通过 npm/pnpm 安装

# 已设置 DSH_HOME 时
cd "$DSH_HOME/profiles/web"
# 未设置 DSH_HOME 时
cd ~/.dsh/profiles/web
npm i dsh-history-tree
# 或使用 pnpm
pnpm add -w dsh-history-tree

安装完成后,请确认 $DSH_HOME/profiles/web/package.json(未设置 DSH_HOME 时为 ~/.dsh/profiles/web/package.json)中的 dsh.profile.bundles 数组已包含 dsh-history-tree:

{
  "name": "dsh-profile-web",
  "private": true,
  "dependencies": {
    "dsh-history-tree": "^1.0.4"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-history-tree"
      ]
    }
  }
}

方法二:通过本地源码目录(Link 方式)安装

如果你在本地开发该插件,可以使用本地链接方式安装:

# 将本地插件目录以 link 方式添加至 web profile 的依赖中
dsh plugin --profile web add -w "link:/path/to/dsh/plugin/dsh-history-tree"

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-group-photo 下一个 Next dsh-git-bash →