heartmove/dsh-session-bridge ↗★ 0
dsh-session-bridge
会话桥(dsh-session-bridge):通过提示词创建新的主会话(顶层 UI 会话)、向任意会话发送消息、等待会话的下一条回复、读取会话消息,并按会话名或 id 跨工作区查找会话;此外支持监控/调度主任务与归档会话。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:heartmove/dsh-session-bridge说明文档
阅读完整 README ↗Usage
| Tool | What it does |
|---|---|
session_bridge_create | Create a main session (current or another workspace via workspaceId / cwd); optional first prompt + waitForReply. |
session_bridge_send | Send a message (mode=queue/steer); optional wait-for-reply. |
session_bridge_wait | Wait for a new text assistant reply after sinceSeq; optional requireTurnEnd. |
session_bridge_read | Read messages — live or offline; sinceSeq paging, role filter, limit. |
session_bridge_resume | Bring a persisted session back online (idempotent). |
session_bridge_find | Find sessions by title / id / workspace / directory across workspaces. |
session_bridge_status | Read a session's live progress (running, open turn, stall detection, pending work, latest reply). |
session_bridge_cancel | Stop a running session (abort active turn; clear queued/steering work unless keepInbox). |
session_bridge_monitor_start | Start a background watchdog on a main session (poll, nudge, correct, cancel, wrap up). |
session_bridge_monitor_stop | Stop a watchdog (keep the session itself running). |
session_bridge_monitor_list | List active watchdogs and their state. |
session_bridge_archive | Archive a session (hidden from groupings; history and position preserved). |
session_bridge_archived | List the archive set, optionally resolving titles. |
All tools return lossless JSON; wait-style tools never throw on timeout — they
return a timedOut / aborted flag.