heartmove/dsh-session-bridge
Lets the current DSH agent drive other real sessions from a prompt: create, send, steer, wait, read, resume and find sessions, with a monitor watchdog that detects stalls and reasoning loops and hands off to a successor session.
Lets the current agent drive other real DSH sessions from a prompt through a set of session_bridge_* tools. Those cover creating a main session in the current or another workspace (workspaceId/cwd), sending a turn with mode=queue or injecting with mode=steer, waiting for a reply or for the next completed segment with sinceSeq anchors, reading a session live or offline with paging and role filters, reading output paragraph by paragraph, resuming a persisted session, and finding sessions by title, id, workspace or directory. A monitoring layer adds session_bridge_status (running or idle, stall detection, and the reasoning fields lastReasoning, liveReasoning and reasoningTail), session_bridge_cancel, and session_bridge_monitor_start/_stop/_list, a timer-driven watchdog that nudges stalls, corrects drift, cancels after repeated stalls and wraps up on doneKeywords. Chain-of-thought loop detection splits reasoning into units and looks for periodic repeats in a 1200-character tail window; on a hit it creates a successor session in the same directory, hands off task and subagents, then interrupts the old one. Archive tools mirror the sidebar's Archive action.
Install
dsh plugin --profile web add dsh-session-bridgeCopied from the README's ### Install from npm block, which writes the command as npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-session-bridge. dsh-session-bridge 0.7.0, whose registry repository field (git+https://github.com/heartmove/dsh-session-bridge.git) resolves back to this repo.
Compatibility
Targets DSH 0.1.7-0 and later with a floor-only range declared in both peerDependencies and engines.dsh (>=0.1.7-0, never a ceiling), built and tested against 0.2.1-rc.1. Needs Node.js >= 20 and pnpm; a GitHub install additionally requires allowlisting the package's prepare script under allowBuilds in the profile's pnpm-workspace.yaml, and the README warns to pin a commit when you do. Restart dsh web and hard-refresh the page after installing. Unloading or reloading the plugin stops the live agents of sessions it created (they persist and can be resumed), and monitor watchdogs write to ~/.dsh/super-injector/dsh-session-bridge-monitor.log.
Details
- Repo: heartmove/dsh-session-bridge
- Category: Sessions & Messages
- Stars: 3
- Version: 3 stars, TypeScript, created 2026-09-01 with no SPDX licence detected by GitHub (the README's closing section states MIT); installs from npm package dsh-session-bridge 0.7.0, whose registry repository field resolves back to this repo; English README with a README.zh.md translation.
- First seen: 2026-09-01
Alternatives
hy-sde/dsh-session-url · xiaoshenming/dsh-session-surgeon · Motues/dsh-session-curator