dsh-session-forks: Tree Navigation for DSH Session Forks

Introduction

In DeepSeek Harness (DSH), when you fork a conversation via the GUI’s session controller, DSH creates it as an independent session without recording the source relationship, causing all branches to appear flat in the sidebar. For scenarios that require tracing the lineage of branches, this view lacks context. dsh-session-forks addresses this gap by extending DSH’s plugin system with the ability to record fork relationships and render the current conversation’s branch family as a tree.

What It Is

dsh-session-forks is a minimal, read-only DSH branch navigation plugin maintained by MeiK2333. It captures fork actions triggered by the GUI’s session controller, records parent-child relationships between branches, and renders the current conversation’s fork family as a “turns tree” in the sidebar, making it easy to browse and read any branch within the same session.

Core Features

  • Fork relationship capture: After DSH starts up, fork operations triggered via the GUI’s session controller are recorded.
  • Tree display: The sidebar presents the current conversation’s fork family (turns tree) in a tree structure.
  • Read-only view: The plugin does not modify session content; it only provides a view-layer enhancement.

Installation & Activation

The following is the official installation method. Please copy and use directly.

  1. Open the Plugins page in the DSH sidebar.
  2. Select Install and enter the following in the input field:
   dsh-session-forks@1.0.0
  1. Confirm the installation. If DSH prompts restart required, please restart DSH; otherwise, a page refresh suffices.

The npm installation method supports the Plugin Manager’s Update operation.

Install from GitHub

Run the following command (make sure to keep #v1.0.0):

git+https://github.com/MeiK2333/dsh-session-forks.git#v1.0.0

Git installation is not supported by the Plugin Manager’s Update feature; to update, you must first remove the old version and then install the new tag.

Regardless of which method you use, please restart the application after installation to ensure fork capture begins taking effect.

Typical Usage

  1. Install the plugin and restart DSH.
  2. Create a fork via the session controller in the conversation interface (e.g., “Continue conversation” or “Start a new session”).
  3. Observe the sidebar: the current conversation’s fork family will be displayed as a tree structure, and you can click on branches to read them.

Use Cases & Notes

  • Suitable for users who need to trace the lineage of conversation branches or read multiple branches in parallel within a single session.
  • The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license (MIT) before installing.
  • Known limitation: Only forks triggered via the GUI’s session controller are recorded. A restart is required after installation to begin capturing.

Summary

dsh-session-forks provides a lightweight branch tree view for DSH versions between 0.2.1-rc.6 and 0.3.0, helping you locate branch relationships in a flat session list and improving the reading and navigation experience for multi-branch conversations.

References

  • GitHub repository: https://github.com/MeiK2333/dsh-session-forks
  • Plugin directory page: https://www.skillhub.cn/plugins/MeiK2333/dsh-session-forks
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye