Back to home

FuWenLianggit

dsh-session-bridge

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.

Stars
0
Language
TypeScript
Created
Aug 15, 2026
Updated
Aug 15, 2026

Introduction

dsh-session-bridge

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

Tools

ToolPurpose
session_createCreate 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_sendDeliver 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. Subagent sessions are refused.
session_listEnumerate 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 dsh web and hard-refresh the browser. Uninstall with dsh plugin --profile web remove dsh-session-bridge.

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: 'plugin', plugin: 'session-bridge' } for provenance.
  • Only ordinary sessions are addressable; subagent-owned sessions keep the subagent routing fence.