koinrokka/dsh-plugins--packages-sdk-ws-bridge ↗★ 0

@koinrokka/dsh-sdk-ws-bridge

Serve the dsh SDK JSON-RPC protocol over WebSocket with token auth, replacing the stdio server 适合需要替代标准输入输出服务、实现远程安全连接SDK的开发者。

Package
@koinrokka/dsh-sdk-ws-bridge
Compatibility
Unverified
Harness peer range
>=0.0.1-rc.1 <0.2.0
Cordis peer range
>=4.0.4 <5
Version
0.1.0
Last updated
Sep 27, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:koinrokka/dsh-plugins#23ae3379b96ce7eb03ed21e0cd4c5f783c109ab7&path:packages/sdk-ws-bridge

配置

字段默认说明
port7800监听端口
host127.0.0.1容器内用 0.0.0.0(patch 已配好)
tokenenv KOINROKKA_BRIDGE_TOKEN必填,fail closed:没有就拒绝启动
maxTokensAsSuccessfalse透传给 stdio server 同名选项

鉴权:Authorization: Bearer 头或 ?token= 查询参数。失败 close code 4401。