dsh pluginsEnglish
← 返回热门插件目录

dsh跨设备agent协作插件

gameswu/dsh-cross-collaboration · 技能

dsh跨设备agent协作插件

★ 1GitHub 星标
0分支
2026-08-17最近更新
TypeScript开发语言
许可证

项目简介

卸载:dsh plugin --profile web remove dsh-cross-collaboration 把设备连起来

组合行 config(都有默认值,一般无需改动): 字段 · 默认 · 说明 字段: udpPort · 默认: 45231 · 说明: LAN 发现端口(UDP),通信走 udpPort + 1 字段: deviceName · 默认: 随机 · 说明: 展示给对端的设备名 字段: beaconMs · 默认: 3000 · 说明: 发现心跳间隔(毫秒) 字段: relayUrl · 默认: "" · 说明: 中继地址(如 ws://host:8799),留空禁用中继

覆盖 relayUrl 示例(profile 的 cordis.patch.yml): 安全 只通信,不操作:对端唯一能做的事是把消息投进本机主 Agent 的收件箱,因此不需要授权/白名单体系 端到端加密:中继传输只接受已配对设备的 AES-256-GCM 信封,中继服务器只能看到密文 同源栅栏:客户端 API(/dshcc/api/)只接受本机或可信来源请求 开发

安装命令

dsh plugin --profile web add github:gameswu/dsh-cross-collaboration
查看 GitHub 仓库 ↗返回热门插件目录