dsh-session-messaging
by baixianger
DeepSeek Harness 同进程会话间消息插件
Same-process session-to-session messaging plugin for DeepSeek Harness
安装
dsh plugin --profile web add github:baixianger/dsh-session-messagingGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
Local, cross-session messaging for DeepSeek Harness.
DSH Bridge is the local messaging foundation of the DSH family. It lets live sessions in one DSH host discover one another and exchange messages. It has no Web UI and no network transport.
dsh-weave can extend Bridge across machines; dsh-chat can present its
messages as a human-facing group chat. Neither is required for local use.
The plugin exposes the ctx.dshBridge service and registers session_list,
session_send, and session_messages for agents. The old ctx.sessionMessaging
accessor remains as a temporary compatibility alias.
ctx.dshBridge.deliverExternal() is the controlled inbound seam for a trusted
transport such as Weave: it emits the same session follow-up and audit record
as local delivery, rather than letting a transport manipulate agents directly.
Delivery uses the public ctx.agents registry and Agent.followup(). An idle
target is woken, a running target receives ordinary queued work, and a persisted
offline target is resumed through DSH's configured Host agent resolver before
delivery. Concurrent messages to the same cold session share one resume operation.
The resolver reconstructs the recorded agent preset and model selection exactly
as the Web host does. A bounded
in-memory recent log (the latest 1,000 delivered messages) is kept only for
session_messages replay and diagnostics; it is not a second delivery queue.
Messages carry sender, target, UUID, and timestamp metadata.
This package intentionally does not implement cross-host transport. dsh-weave
will provide the authenticated network backend while preserving the local
message semantics.
Install
dsh plugin --profile web add dsh-bridge@next
Known Limitations and Deferred Work
- Process boundary — sessions in another process or host are not visible; add an authenticated relay/backend before advertising cross-host delivery.
- In-memory retention — messages are lost when the plugin process exits and older than the latest 1,000 are evicted; durable inbox/outbox persistence is still deferred until a cross-process relay needs it.
- Delivery acknowledgement — the current result means the target was live (or successfully resumed) and accepted the follow-up call, not that the target model processed it.
Model Experience
None, as session_list, session_send, and session_messages expose their
schemas directly through the tool registry.
KV Cache effect
Independent tool schemas; sending a message changes only the target session's queued input and does not alter the sender's cached prompt prefix.
原始 README: https://github.com/baixianger/dsh-bridge/blob/main/README.md ↗
同类插件
查看全部 →
archify
Agent 技能:生成美观、可校验的架构图、工作流图、时序图、数据流图与生命周期图——自包含 HTML、带动画与清晰导出

dsh-turn-rewind
对话回退:基于持久 Change Ledger 回滚会话与工作区状态。

dsh-plugin-cc
把 DeepSeek Harness 接入 Claude Code:评审、批评、委派与会话导入

dsh-interconnect
跨实例互联:经 interconnect 服务在多个 DSH 实例间转发消息与事件。

dsh-chat-import
把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。

dsh-crew
DSH 插件:从 Claude Code / Codex 向 DSH agent 派活——原生 subagent 进度、宿主内 worker 会话(分级预设),以及为纯文本宿主补上视觉与图像生成的多模态桥