ChatGPTClaudeGrok / X / CursorGemini

dsh-topic-split: A DSH plugin for splitting and exporting sessions by topic in DeepSeek Harness

qq666-star/dsh-topic-split

Sessions & MessagesVerified
Listed on 2026-11-21
Page last updated 2026-11-23

A DSH plugin that picks content from long conversations by topic or arbitrary turns and exports it as a standalone, resumable session, with coverage checks plus optional cut-and-archive.

dsh-topic-split is a session-management DSH plugin for DeepSeek Harness that deals with conversations which keep growing longer. It segments a long session by topic or by arbitrary turns, then exports the selected parts as a standalone question-and-answer session you can continue, with a coverage check confirming that selected plus excluded turns and characters match the original total. Exports can also cut the chosen turns from the source session, registering the original in the archive set while its file stays in place. The control sits above the input box, making it a session tool rather than a split-screen plugin.

How to Install

install
npmdsh plugin --profile web add dsh-topic-split

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Sessions & Messages
Platform
DSH Plugin
Author
qq666-star
Distribution
Plugin

dsh-topic-split Key Features

Auto topic segmentationExport by ranges or turnsCoverage verificationCut and archive after export
Listed on dsh-plugin.org

dsh-topic-split Repo Summary

What Does It Do?

Topic Split is a DSH plugin for DeepSeek Harness that picks content out of a long session by topic or by arbitrary turns and exports it as a standalone session you can continue. It solves the problem of sessions growing too long to reuse, letting you segment, select, preview and export inside the harness instead of copying everything by hand. The control sits above the input box; it is a session-management tool, not a split-screen plugin.

Core Features

  • Automatic topic segmentation: splits a session into turn ranges using model, keyword or auto mode, reporting character counts and a coverage check.
  • Turn-based export: accepts continuous ranges (such as 0-51,52-87) or arbitrary turn sets (such as 3,7-9,20) and writes a question-and-answer structured session, with a dry-run preview before anything is written.
  • Coverage verification: checks that selected plus excluded turns match the original session in both turn count and character count.
  • Cut and archive: rebuilds a new session from the remaining turns and can register the original in the archive set, leaving the file in place and reversible.
  • Six-step panel: choose session, segment, tick items, type ranges or turns, group, then preview or export, registered above the input box and following locale and theme tokens.
  • Local-only secured HTTP routes: enabled by default but token-protected, restricted to localhost with rate limits, and can be switched off entirely.

How to Use This Plugin?

After enabling it in DSH, a Split control appears above the session input box. Open it to walk the six-step panel: pick a session, segment it or type ranges and turns directly, tick what to keep, then preview and export. Before exporting you can enable cut to remove the selected turns from the source session and archive the original; use the coverage tool to confirm nothing is missed or duplicated. The panel token is generated randomly per process and injected into the page, so no manual setup is needed; adjust the configuration if you want a fixed token or no panel at all. The plugin is maintained by qq666-star under GPL-3.0 and was last updated on 2026-11-21.

How to Troubleshoot This Plugin?

  • Panel requests return 401: the token is missing or wrong; retrieve the token again as described in the official docs.
  • Panel requests return 403: the request is not from localhost or is cross-site; open DSH from a local address.
  • Requests return 429: rate limits were hit, at 60 normal and 6 export requests per minute; retry later.
  • The sidebar session list disappears entirely: usually caused by renamed session directories failing path validation; restore the directory naming as described officially, and the plugin handles leftover archived directories on startup.
  • A new session does not appear in the sidebar: it has not been registered to the workspace yet; complete registration as described in the official docs.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: qq666-star/dsh-topic-split. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ