dsh-cross-session-messaging
Run the following command in DeepSeek Harness:
dsh plugin install Weiyang742/dsh-cross-session-messaging
Paste the following prompt into your AI chat to install this plugin:
Install the plugin in DeepSeek Harness by running dsh plugin install Weiyang742/dsh-cross-session-messaging; the complete source code is available at https://github.com/Weiyang742/dsh-cross-session-messaging
About this plugin
dsh ships two built-in cross-session features, yet neither is genuine peer-to-peer messaging: subagents are strictly parent-child, and @session mentions are one-way, read-only recall. When a frontend assistant on a dev machine needs a database assistant on an intranet host to produce a CREATE TABLE statement and send it back, that bidirectional, cross-specialty, cross-process exchange has no built-in channel at all. This plugin closes exactly that gap.
It provides a centerless, peer-to-peer, cross-process (optionally cross-machine) message channel driven entirely by the model. Agents discover peers via cross_session_list_agents and send text via cross_session_send_message, so no human acts as a relay. Incoming messages are injected as relay text carrying no user authorization; the receiver still enforces its own tool-approval flow. Delivery is at-least-once with content dedup, backed by sender-side spooling, exponential backoff, a dead-letter queue, and receiver-side persistence before acknowledgement. Local transport uses Unix sockets; cross-machine transport uses TCP with mandatory TLS and a static peer list. There is no central server, and the on-disk registry serves as the single source of truth.
It is designed for workflow orchestrators who split distinct responsibilities across independent dsh sessions or machines and want the agents to collaborate autonomously, as well as for developers who need to pass context between sessions without weakening each session's permission model or approval chain.
Use Cases
- A frontend assistant requests CREATE TABLE SQL from a database assistant in a separate session
- Multiple independent dsh sessions on the same host exchange context peer-to-peer
- Cross-machine agent sessions communicate over a TLS-encrypted channel
Best For
- Workflow orchestrators who split responsibilities across independent dsh sessions
- Developers passing context between sessions without weakening each session's permission model
- Platform engineers building multi-agent collaboration systems
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.