JRJRJPRO/dsh-chat-tree 预览 preview

JRJRJPRO/dsh-chat-tree

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

把 对话分支 画成 可点击的树

Project Overview项目介绍

dsh-chat-tree is a native plugin built specifically for DeepSeek Harness (DSH) that renders the full conversation history as a vertical tree pinned to the right edge of the DSH web client. Each node maps to a single turn, so users can click any dot to jump straight back to that message while the node they are currently reading is drawn as a solid filled circle, making it easy to locate their position inside long, deeply branched sessions. Installation is performed with dsh plugin --profile web add github:JRJRJPRO/dsh-chat-tree, after which a browser refresh activates the plugin immediately without restarting the harness and without requiring any companion plugin; removal is done with dsh plugin --profile web remove dsh-chat-tree or by toggling the entry under Installed in the plugin marketplace, which takes roughly one second to apply.

The typical workflow is to scroll through a chat as usual while the rail keeps a live, color-coded map of every branch: blue outlines mark nodes that belong to the active conversation, orange triangles flag turns that were compacted, and faded branches show turns the user rewound past. Hovering a dot opens a card with a preview, and double-clicking it expands an editor where the node can be renamed, recolored, restyled with one of twelve shapes, marked as a favorite (☆), continued as a new branch (+), or split out into its own tree (⇥/⇤, ⊕/⊖); greyed-out buttons explain why an action is unavailable on hover, and the same gestures work via tap on touch devices. It is aimed at DSH web users who frequently revisit earlier turns, compare divergent paths, or want to organize sprawling sessions visually rather than scrolling linearly.

The plugin targets only the DSH web profile, has no backend dependencies, and stores names, favorites, icons and colors on the DSH side so they sync to another browser or to a phone. A Settings → Plugins → Conversation tree panel exposes visible-range controls (depth-based or distance-based, both with an off switch), 50%–250% node sizing, and a per-kind colors and shapes editor that accepts a color wheel or a typed hex value such as #FFD43B, with a Reset that returns a row to its default. Favorite nodes additionally accept png, jpg, webp or svg images at any size, plus six preset colors. The project is released under MIT, and AGENTS.md contains both the note for Claude Code users running through dsh-claude and the contributor guide for anyone who wants to hack on it.

dsh-chat-tree 是一个面向 DeepSeek Harness(DSH)的浏览器端原生插件,专门在 Web 客户端右侧栏绘制对话分支树。安装方式为运行 dsh plugin --profile web add github:JRJRJPRO/dsh-chat-tree,刷新浏览器后即刻生效,不需要重启 DSH,也不会与其他插件冲突,移除可通过同名的 --profile web remove 命令或在插件市场的"已安装"列表中切换。

每个节点代表一次对话轮次,单击圆点可跳转至该轮次,并在树中以实心高亮显示当前阅读位置;双击悬停卡片可重命名节点、挑选形状与颜色或上传图片(支持 png、jpg、webp、svg)。工具栏提供继续分支(+)、收藏(☆,可自定义图标和颜色)、拆分与合并子树(⇥/⇤、⊕/⊖)等操作,按钮灰显时悬停会说明原因。该插件适合需要在长对话中频繁回溯、对比不同分支思路,或希望以可视化方式整理多线对话的 DSH Web 用户使用。

依赖方面,dsh-chat-tree 仅作用于 DSH 的 Web 端配置文件,无需后端服务;节点命名、收藏、图标与颜色均保存在 DSH 本地,可在浏览器与手机之间同步。提供 12 种收藏形状、6 种预设颜色以及十六进制直接输入。插件遵循 MIT 协议,自由可用,AGENTS.md 中还包含面向 Claude Code via dsh-claude 的注意事项以及参与开发的指引。

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

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

READMEREADME

dsh-chat-tree — Conversation trees for dsh

dsh-chat-tree

Every branch of a conversation, drawn as a tree down the right edge of DeepSeek Harness.
Click a dot to jump to that turn. Click + to continue from it.

English · 中文


Install

Desktop app (DeepSeek Harness 0.2): open Settings → Plugins → Install and enter dsh-chat-tree. Its settings live under Settings → Conversation tree.

Web / CLI (dsh 0.1.5):

dsh plugin --profile web add github:JRJRJPRO/dsh-chat-tree

Refresh your browser and it's live — no dsh restart, no other plugins needed.

To remove it: dsh plugin --profile web remove dsh-chat-tree. It also shows up under Installed in the plugin market, where the toggle turns it on and off in about a second.

The tree draws itself

The conversation tree

Refresh the page and it's already there, next to your chat.

Every dot is one turn. Click one to jump to it — the turn you're looking at is filled in solid as you scroll.

Branches sit side by side, so you can see at a glance where a conversation split and which path you're on. Named nodes carry their label right on the tree.


The sidebar folds too

In the session list on the left, a tree takes up one row: branches tuck under the root, and a chevron at the front of the row unfolds them. While folded, the row shows how many conversations the tree holds; a blue dot on the chevron means a branch inside is still running, a green one means it finished while you weren't looking. Prefer the flat list? Turn off Fold sidebar by conversation in settings.

Every node has a card

Node detail card

Hover a dot for a preview. Double-click the card to expand it — rename the node, pick a shape, pick a color, or upload an image.

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-plugin-langfuse 下一个 Next dsh-turn-fold →