gameswu/dsh-cross-collaboration ↗★ 1
dsh-cross-collaboration
DSH 跨设备局域网智能体协作插件
AI 分析
核心用途是通过 UDP 发现、身份摘要和消息投递实现局域网内不同设备工作区主智能体之间的协作。适合需要在多台本地设备间进行 AI 协同任务的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gameswu/dsh-cross-collaboration說明文件
閱讀完整 README ↗配置
组合行 config(都有默认值,一般无需改动):
| 字段 | 默认 | 说明 |
|---|---|---|
udpPort | 45231 | LAN 发现端口(UDP),通信走 udpPort + 1 |
deviceName | 随机 | 展示给对端的设备名 |
beaconMs | 3000 | 发现心跳间隔(毫秒) |
relayUrl | "" | 中继地址(如 ws://host:8799),留空禁用中继 |
设备名、工作区标签、节点列表、配对关系都在设置页维护,热生效并持久化。
覆盖 relayUrl 示例(profile 的 cordis.patch.yml):
- id: dsh-cross-collaboration
config:
relayUrl: "ws://relay.example.com:8799"