baixianger/dsh-bridge0

dsh-bridge

Local session messaging and event bridge for DeepSeek Harness

AI 분석

核心用途是本地多会话协同。作为底层协议,适合需要让本地多个 DSH 智能体或会话之间相互通信、派发任务的开发者。

패키지
dsh-bridge
버전
0.1.0-rc.5
최근 업데이트
2026. 8. 17.

설치

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

dsh-bridge

The local event and session-messaging bridge for DeepSeek Harness.

dsh-bridge provides same-process messaging between live DeepSeek Harness sessions. It is the local contract beneath dsh-weave: bridge normalizes local session events; weave carries approved work across machines.

The plugin registers session_list, session_send, and session_messages. Delivery uses the public ctx.agents registry and Agent.followup(), so an idle target is woken and a busy target receives ordinary queued work. 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 this tool contract.

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 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.