CompFlow: Organizing DSH Session Lists Using Nestable Composition

Introduction

When developing agents or plugins in DeepSeek Harness (DSH), new sessions often constantly branch out within the same workspace: trying a prompt, modifying a configuration, or starting a control conversation. As the number of sessions grows, the sidebar turns into a long list of flat items, making it necessary to rely on scrolling and memory to find “the one modified in the last round.” CompFlow is a client-side plugin released by the maintainer SoyBeanMilkx. It organizes multiple sessions within the same workspace into collapsible, nestable “Compositions,” replacing a flat list with structure. The following sections describe what it does, how to install it, and how to use it daily.

What is This

CompFlow (repository SoyBeanMilkx/CompFlow) is a session management plugin for DSH. Its official tagline is: Organize DSH sessions into nested, collapsible compositions. The README summarizes it in Chinese as: gathering multiple sessions within the same workspace into collapsible “Compositions” to keep the session list clean after frequent branching.

The plugin is registered as dsh-session-comps in package.json, targeting injection into the web profile client (dsh.client.platform: web). It collaborates with DSH client UI, session, and workspace APIs via Cordis patches. The DeepSeek Harness ecosystem emphasizes “everything is a plugin.” The community directory page is at skillhub.cn. It has no official affiliation with DeepSeek or HF (High-Flyer). Before installation, it is advisable to review the source code and license yourself (indicated as MIT in the materials).

Core Features

The following capabilities are sourced directly from the project README; configuration items or shortcuts not present in the materials are not included.

  • Create, rename, collapse, and nest compositions
  • Move sessions and compositions via drag-and-drop
  • Quickly create or join a sibling composition from the session menu
  • Move sessions back to the workspace root
  • Dissolve compositions while retaining all sessions
  • Confirm before deleting a composition, which permanently deletes the entire subtree and the sessions within it

Compositions can only manage sessions within the same workspace; cross-workspace organization is not covered in the plugin documentation.

Installation and Activation

CompFlow needs to be installed into the DSH web profile. The official command is as follows:

dsh plugin --profile web add github:SoyBeanMilkx/CompFlow

Restart DSH after installation. The README also notes: for the first installation or after a Host-side code update, a full restart of DSH may be required.

If you are developing locally or forked the plugin, you can install it from a directory to the same profile:

dsh plugin --profile web add /path/to/CompFlow

Development build and self-test (for contributors’ reference, not a mandatory step for regular users):

npm run build
npm test

Typical Usage

Putting sessions into a composition

  1. Select “Add to Composition” in the three-dot menu of the target session.
  2. Create a new composition or select an existing composition at the current level.

Adjusting structure

  • Drag sessions or compositions directly to change hierarchy and order.
  • Right-click a composition: rename, create a sub-composition, dissolve, or delete.

The difference between Dissolving and Deleting

  • Dissolve: The composition disappears, but all sessions within it are retained; they simply return to a separately manageable state.
  • Delete: A confirmation prompt will appear; upon confirmation, the entire subtree and the sessions within it are permanently deleted. This operation is irreversible, so please ensure there are no conversations you still need before proceeding.

When you need to “extract” a specific session from a composition, use the Move to workspace root capability mentioned in the README to avoid accidental deletion.

Use Cases and Notes

Who is it for

  • Those who run multiple parallel experiment threads within the same DSH workspace with frequent branching and want the sidebar grouped by topic or iteration.
  • Users who rely on the session list in the DSH Desktop / web client sidebar (plugin category: client).

Usage Notes

  • The plugin runs with the current DSH process and client environment. Before installation, you should read the source code and MIT license on the GitHub repository to ensure compliance with your security and compliance requirements.
  • Deleting a composition deletes the sessions in the subtree along with it, which differs from “Dissolving.” When sharing a workspace in a team, distinguishing between these two operations is crucial.
  • The materials do not describe server-side sync rules or cross-device merge behavior. For multi-machine usage, refer to the actual behavior of your current DSH version.

Conclusion

CompFlow does not create conversation content for you; it only changes how sessions within the same workspace are grouped in the UI: nesting, collapsing, dragging, and menu shortcuts correspond to the goal shown in the README’s “Composition View”—maintaining list readability even as branches increase. To install or report an issue, visit the directory page skillhub.cn/plugins/SoyBeanMilkx/CompFlow and GitHub SoyBeanMilkx/CompFlow.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye