DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

FuWenLianggit /

FuWenLianggit/dsh-session-bridge

Verified

Session-level multi-thread orchestration for DeepSeek Harness: create ordinary sessions, send queued or interrupt prompts to any session by id, and enumerate sessions. Installs globally, independent of any agent preset.

★ 0 Stars1 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@23a93815

dsh-session-bridge

Session-level multi-thread orchestration for DeepSeek Harness. Installs as a bundle in a profile and registers globally — every session can use the tools regardless of agent preset.

Tools

Tool Purpose
session_create Create an ordinary session in the caller's workspace (optional initial prompt); returns the session id. The child binds to the caller's standing composition via composeFrom — never re-mounts another preset.
session_send Deliver a prompt to any ordinary session by id. queue = next-turn FIFO (busy targets finish their turn first); interrupt = insert at the next step boundary. Cold sessions resume automatically with their recorded preset mounted. Subagent sessions are refused.
session_list Enumerate ordinary sessions (id, title, cwd, running); optional workspace filter.

Install

From the Git repository (recommended):

dsh plugin --profile web add https://github.com/FuWenLianggit/dsh-session-bridge

Or from a local checkout:

dsh plugin --profile web add <path-to-this-checkout>

Restart the profile (or the desktop app) and hard-refresh the browser. Uninstall with dsh plugin --profile web remove dsh-session-bridge.

Runtime compatibility

The plugin reads every service structurally through ctx.get, so one build serves both DSH lines:

  • 0.2.x (incl. DSH Desktop 0.2.0-rc.2) — sessionPersistence.list() returns detached snapshots ({ header, revision, sizeBytes }); session_list and cold-session session_send read snapshot.header.
  • 0.1.7-rc.1 and later 0.1.x — the same listing returned bare SessionHeader rows; the normalization in headerOf() still accepts them.

Cold resume mounts header.agentPreset through agentPresets.mount() inside the setup callback. Without that, agents.resume() restores history but leaves the agent without the preset's tools and prompt.

Notes

  • Send/creation use the harness's built-in session/agent services; the plugin only wraps them into model-facing tools.
  • Cross-session messages are recorded with source: { kind: 'session-bridge' }. DSH 0.2 removed the shared kind: 'plugin' source kind (each producer declares its own), and every consumer falls through an unknown kind to its generic rendering.
  • Only ordinary sessions are addressable; subagent-owned sessions keep the subagent routing fence.
—/ 5

No ratings yet

Verified DSH bundle

Commit 23a938150366

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout