dsh-chat-tree
界面增强 活跃维护

dsh-chat-tree

JRJRJPRO/dsh-chat-tree

把多轮对话的分支结构渲染成可点击的树状视图,点击任意节点即可跳转回溯,支持分支折叠、路径对比与自动布局,并列的多条对话脉络一眼看清。

15
Stars 标星
2
Forks 分支
15
Watchers 关注
6
Open Issues
JavaScript
主要语言
MIT
开源协议
7.9 MB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:JRJRJPRO/dsh-chat-tree
git clone https://github.com/JRJRJPRO/dsh-chat-tree.git
git clone git@github.com:JRJRJPRO/dsh-chat-tree.git
README.md main

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.

The red ✕ at the far right of the expanded card deletes a branch: the node's
session plus every branch hanging under it on the tree is archived into the host's
archive list — a second click confirms, and anything archived can be restored.
Only the first turn of a branch can be deleted: a log can't lose its middle, so to
drop a few turns use rewind on the message row.

An expanded card closes as soon as you click anywhere in the chat.

There is an invisible divider on the left edge of the tree: drag it to give the tree more or
less room (the chat column re-centres in what is left). The same value is the "tree band
width" setting; 0 turns it off.

On touch devices, a tap does what hovering does.


+ Continue from this turn as a new branch. On the empty root node, starts a fresh conversation in the same tree
☆ Favorite. The dot becomes a gold star, and you can give it its own icon and color
⇥ / ⇤ Split a branch off into its own tree, or put it back
⊕ / ⊖ Merge another conversation from this folder into the tree, or pull it back out

A greyed-out button means you can't do it right now — hover it and it will say why.

The colors mean something

Blue outline This node is part of your current conversation
Solid blue The turn you're looking at
Orange triangle This turn was compacted
Green Another branch finished while you weren't looking. Open it and the node goes back to normal
Faded branch Turns you rewound — no longer pretending to be part of the conversation

Make it yours

Settings card

Settings → Plugins → Conversation tree.

Visible range keeps big trees readable by drawing only what's near your
current turn — by depth or by distance, whichever you prefer. Either one has an
"off" setting. Nodes at the edge shrink and fade rather than vanishing, and come
back the moment you hover them.

Node size scales dots, lines and spacing together, 50%–250%.

Fold sidebar by conversation switches the session list back to the host's
flat layout, one row per branch, when turned off.

Colors are one row per kind of node, color on the left and shape on the
right. Pick with the color wheel, or type a hex value like #FFD43B straight
in. What you set is exactly what gets drawn — the same in light and dark.
Reset hands a row back to the default.


Favorite icons

Once a node is starred, its card offers two more rows:

  • 12 shapes — circle, rounded square, square, diamond, triangle, inverted
    triangle, arrow, pentagon, hexagon, cross, four-point star, hourglass
  • A character — any letter or emoji, drawn inside a rounded outline
  • An image — png / jpg / webp / svg, any size, scaled for you

Names, favorites, icons and colors are all stored on the dsh side, so they
follow you to another browser or your phone.

  • A color — 6 presets, a reset swatch, a color picker, or a typed hex value

Using Claude Code through dsh-claude? Read the note in AGENTS.md first.

Want to hack on it? AGENTS.md

MIT