ChatGPTClaudeGrok / X / CursorGemini

dsh-plugin-bridge: A Cross-Preset Session Migration Plugin for DeepSeek Harness

totoro-qaq/dsh-plugin-bridge

Sessions & MessagesVerified
Listed on 2026-08-17
Page last updated 2026-11-15

DSH plugin for previewable cross-preset session migration, moving state while preserving the source session and unresolved images, with native card and /bridge command support.

dsh-plugin-bridge is a session migration plugin for DeepSeek Harness that lets you safely migrate sessions when switching tool presets mid-task, without leaving residue from old tools. It previews a five-part handoff, opens a clean target session, and leaves the original session untouched, ensuring a controlled migration. Core capabilities include preview handoff, state migration, fail-closed behavior, and zero prompt overhead, with native card rendering in the official WebUI.

How to Install

install
npmdsh plugin --profile web add dsh-plugin-bridge

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
totoro-qaq
Distribution
Plugin

dsh-plugin-bridge Key Features

Preview handoff before migrationKeep source session untouchedNative card renderingZero prompt token overhead
Listed on dsh-plugin.org

dsh-plugin-bridge Repo Summary

What Does It Do?

Bridge is a DSH plugin for DeepSeek Harness that enables safe session migration between different tool presets. It solves the problem of tool history residue when switching presets mid-task, by previewing a bounded five-part handoff, opening a clean target, and leaving the original session untouched. Core capabilities include preview, migration, state preservation, and fail-closed behavior, ensuring the migration process is controlled and does not pollute the source session.

Core Features

  • Preview handoff: generates an editable five-part handoff preview before migration, without creating a target or modifying the source session.
  • State migration: moves decisions, paths, current state, and next steps to a new preset, without carrying incompatible calls from the old tool assembly.
  • Fail closed: if the target goal cannot be guaranteed to pause before kickoff, clears or cancels the target and sends no model request.
  • Zero prompt overhead: acts as a host slash command, adding no prompt tokens to ordinary sessions.
  • Native UI support: on DSH rc.7 and later, the official WebUI renders /bridge as a native card with text, Markdown, and preview views.
  • Custom UI compatibility: automatically receives the card via the official conversation.chat.commandview slot; other UIs can reuse the framework-free client-contract export.

How to Use This Plugin?

After enabling it in DSH, type /bridge in the official WebUI to list target presets, /bridge code to preview the handoff, /bridge code --go to migrate and wait, and /bridge code --go --continue to restate and start work in the same target request. Preview edits are temporary until migration is confirmed; restarting the client or system may discard them, but the source session remains untouched and you can regenerate the preview. For older clients, run /bridge code --go --file to use the summary file.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: totoro-qaq/dsh-plugin-bridge. 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