DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Unintendedz /

Unintendedz/dsh-conversation-tree

已验证

ChatGPT-style immutable reply branches, inline branch switching, and whole-tree browsing for DeepSeek Harness.

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@dc45f7b5

dsh-conversation-tree

English | 中文

A DSH Web plugin for immutable conversation branches and message-level tree browsing:

  • Regenerate: create a child session immediately before the selected turn and run the original user prompt again.
  • Edit a prompt: edit directly beneath the real user message, preserve its non-text attachments, then continue in a new child session with the edited text.
  • Edit a reply: copy through the selected turn and replace the last assistant reply in a child session without calling the model.
  • Inline switching: show ‹ 2 / 5 › beside any branched user message or assistant reply. In the assistant action row, the switcher sits immediately after DSH's native create-branch action.
  • Message tree: shared history appears once, while edited prompts and regenerated or edited replies fork at the exact message they replace. Select any message path to open its backing session.

Every action creates a new session; the source session is never modified. Child sessions record parentSession and inherit the source working directory, preset, and target-turn model configuration.

Requirements

  • DSH 0.1.1-rc.2
  • A Web profile (web in the examples below)

Install

dsh plugin --profile web add github:Unintendedz/dsh-conversation-tree#v0.4.1

Restart the running DSH Web service. In a completed conversation, prompt editing appears below the user message; regenerate and reply editing appear below the assistant reply. Messages with multiple versions receive an inline branch counter after the native create-branch action. The Tree tab remains available for browsing the complete message tree.

Update

Install the new tag, then restart the service:

dsh plugin --profile web add github:Unintendedz/dsh-conversation-tree#v0.4.1

Uninstall

dsh plugin --profile web remove dsh-conversation-tree

Development

npm install
npm run build
npm test

The host entry point is lib/index.js; browser sources live in src/client.jsx and src/tree.js. npm run build uses the pinned esbuild version to generate lib/client.js.

The tree view reconstructs each durable fork from the child session's parent, seed, and conversation events. Linear history stays in one lane; indentation increases only at real fork points, so long conversations remain readable. Ordinary sessions are included and DSH subagent sessions are deliberately excluded. Broken parent links and cycles are bounded instead of blocking the page.

—/ 5

暂无评分

已验证 DSH bundle

Commit dc45f7b55391

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于