vongostev/dsh-cross-session

vongostev★ 3TypeScriptLast synced: 2026-08-20

Open on GitHub

README excerpt

@vongostev/dsh-cross-session English 中文 Cross-session messaging between live DSH sessions in one process: one session sends a text message to another and triggers its event processing, or appends a custom event to its durable log. What it does The plugin registers three model-facing tools on ctx.tools : - cross session list — live sessions with id , status , and (when the title seam is composed) title . - cross session send — delivers a text message into the target's inbox and wakes its agent loop. Modes: followup (default) starts or continues a turn; steer delivers at the next step boundary and also wakes the target; inject only queues the message without waking. - cross session emit — appends a cross-session/event to the target's durable log. Every session/event listener on that session fires synchronously; no model turn starts. Delivery semantics cross session send reuses the agent inbox seam ( Agent.followup / steer / inject from @deepseek-ai/dsh-agent ): the target session durably logs agent/inbox/spliced , fires live agent/inbox/inserted and session/event dispatch, and — for followup and steer — the target loop wakes and processes the message as a turn. Delivered messages car…

View full README on GitHub →
Tools / Devdsh-pluginagent

Category