CH4ACKO3/the-binding-of-dsh ↗★ 0
the-binding-of-dsh
双向 DSH 连接与 Typert 网关集成插件。
AI 分析
核心用途是利用 DSH 原生通道实现宿主与客户端之间的双向 RPC 调用,支持请求关联与取消。适合需要进行复杂跨端通信和双向调用的插件开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CH4ACKO3/the-binding-of-dsh说明文档
阅读完整 README ↗The Binding of DSH
A DSH plugin that enables bidirectional RPC between Host and Client through the native DSH Connection and Typert Gateway.
Features
- Targeted Host-to-Client calls for connected browser or Node peers.
- Symmetric Typert Gateway calls in both directions.
- Request correlation, cancellation, and connection lifecycle handling.
- Harmony patches that reuse DSH's existing HTTP and WebSocket transport.
The plugin adds no parallel RPC protocol. Connection remains responsible for transport and peer addressing, while Typert Gateway remains responsible for service descriptors, codecs, invocation, and errors.
Installation
npm install the-binding-of-dsh
The package declares its DSH client entrypoint and Harmony patches in
package.json, so it can be enabled as a regular DSH plugin.
Development
Requires Node.js 22.22.3 or newer.
npm install
npm run check
License
MIT