heartmove/dsh-session-bridge0

dsh-session-bridge

会话桥(dsh-session-bridge):通过提示词创建新的主会话(顶层 UI 会话)、向任意会话发送消息、等待会话的下一条回复、读取会话消息,并按会话名或 id 跨工作区查找会话;此外支持监控/调度主任务与归档会话。

AI 分析

提供强大的会话间通信与调度工具。适合需要让 Agent 之间互相对话、跨会话传递信息或进行复杂多会话协同的任务。

パッケージ
dsh-session-bridge
バージョン
0.2.0
最終更新
2026/09/01

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:heartmove/dsh-session-bridge

ドキュメント

README 全文を読む ↗

Usage

ToolWhat it does
session_bridge_createCreate a main session (current or another workspace via workspaceId / cwd); optional first prompt + waitForReply.
session_bridge_sendSend a message (mode=queue/steer); optional wait-for-reply.
session_bridge_waitWait for a new text assistant reply after sinceSeq; optional requireTurnEnd.
session_bridge_readRead messages — live or offline; sinceSeq paging, role filter, limit.
session_bridge_resumeBring a persisted session back online (idempotent).
session_bridge_findFind sessions by title / id / workspace / directory across workspaces.
session_bridge_statusRead a session's live progress (running, open turn, stall detection, pending work, latest reply).
session_bridge_cancelStop a running session (abort active turn; clear queued/steering work unless keepInbox).
session_bridge_monitor_startStart a background watchdog on a main session (poll, nudge, correct, cancel, wrap up).
session_bridge_monitor_stopStop a watchdog (keep the session itself running).
session_bridge_monitor_listList active watchdogs and their state.
session_bridge_archiveArchive a session (hidden from groupings; history and position preserved).
session_bridge_archivedList the archive set, optionally resolving titles.

All tools return lossless JSON; wait-style tools never throw on timeout — they return a timedOut / aborted flag.