
c3ll256/dsh-toy
495最近提交 2026年8月14日
dsh-toy DSH 插件
dsh-toy 让 DSH 智能体能够连接和控制物理玩具(如振动棒)。它根据品牌和型号自动选择连接方式(CoreBluetooth、Intiface、MonsterParty)。该插件强制执行最大强度、持续时间等安全护栏,并在 macOS 上支持未知硬件的发现。
如何安装 dsh-toy DSH 插件
dsh plugin --profile web add github:c3ll256/dsh-toy复制不会执行命令。安装 dsh-toy DSH 插件前请核对仓库和版本。
dsh-toy DSH 插件数据来源
dsh-toy DSH 插件快照日期:2026年8月16日
discovered
dsh-toy DSH 插件能做什么
- 根据品牌/型号自动选择连接方式(CoreBluetooth、Intiface、MonsterParty)。
- 在 macOS 上对未知硬件进行只读原始 BLE 广告发现。
- 标量控制,可配置强度和持续时间限制。
- 全局停止和单个设备停止/断开。
- 插件在需要时自动启动 Intiface Engine,并可选择下载。
- 支持 Lovense、安可尼、谜姬、醉清风、RoomFun 等已知品牌。
dsh-toy DSH 插件适合哪些场景
- 连接 Lovense Lush 3 并控制振动强度。
- 在 macOS 上使用原始 BLE 扫描发现未知蓝牙玩具。
- 使用 MonsterParty 分享链接远程控制玩具。
- 通过一条命令安全停止所有玩具输出。
- 将玩具控制集成到 DSH 智能体工作流中,用于交互式体验。
dsh-toy DSH 插件适合谁
- 构建交互式或成人向 DSH 应用的开发者。
- 希望通过 DSH 智能体用自然语言命令控制物理玩具的用户。
dsh-toy DSH 插件的限制
- 原始 BLE 广告发现仅限 macOS,且需要 Xcode 命令行工具。
- MonsterParty 连接仅实现 Chemtrails 记录的 relay 行为;供应商端协议变更可能需要更新。
- Buttplug 连接目前仅暴露标量特性;位置、方向、传感器等不支持。
- 测试使用本地协议夹具而非物理硬件。
dsh-toy DSH 插件的仓库 README 摘录
以下文字摘自 dsh-toy DSH 插件的上游仓库 c3ll256/dsh-toy 的 README,版权归原作者,仅作引用。
English | [简体中文](README.zh-CN.md) `dsh-toy` is a DeepSeek Harness plugin for connecting small toys to DSH. At connection time, the agent first asks for the brand and model, then selects the connection method automatically. If the user genuinely does not know, the agent starts unknown-hardware discovery: - On macOS, unknown hardware first uses read-only raw **CoreBluetooth** advertisement discovery, without starting Intiface or connecting to devices. - Regular Bluetooth, serial, and USB models use **Buttplug / Intiface**. The plugin starts local Intiface Engine automatically when needed. - Known sharing-link models from Ankni (安可尼), MizzZee (谜姬), and Zuiqingfeng (醉清风) use **MonsterParty**. Known dual-output devices expose their channels separately. Users do not need to understand or select an underlying connection method, or manually start Intiface. Brand and model names are not an allowlist. The agent passes any user-reported name through unchanged; unfamiliar names still use local hardware discovery. The plugin also supplies a verified local compatibility mapping for `RoomFun` devices reporting model `RF_CANNON_PT3`, exposed as **RoomFun Cannon** with one vibration channel.
阅读完整 README仓库许可: BSD-3-Clause
dsh-toy DSH 插件常见问题
如何安装 dsh-toy?
在终端运行 `npx -y @deepseek-ai/dsh plugin --profile web add github:c3ll256/dsh-toy`。确保已安装 Node.js 22.19+ 和 pnpm。然后使用 `npx -y @deepseek-ai/dsh web` 启动 DSH。插件会持久化安装到 web 配置文件中。
我的玩具无法连接,怎么办?
首先确保玩具已开机、靠近设备,且未被其他应用控制。如果品牌/型号未知,可以尝试说“我不知道品牌或型号,直接尝试蓝牙发现”。在 macOS 上,插件会尝试原始 BLE 发现。如果发现失败,会回退到 Intiface 并使用 unknown 型号。
如何配置 MonsterParty?
设置环境变量 `MONSTERPARTY_TOKEN` 为你的分享令牌。然后在配置文件中的插件配置项里设置 `monsterPartySessionToken` 为 `!!js process.env.MONSTERPARTY_TOKEN`。分享令牌通常是一次性的,重新连接前需要生成新链接。
可以设置最大强度或持续时间吗?
可以,在插件配置中设置 `maxIntensityPercent`(默认100)和 `maxDurationSeconds`(默认300)。插件会在发送命令前强制执行这些限制。你还可以设置 `allowHold: false` 来禁用零持续时间保持。
出现“spawn intiface-engine ENOENT”错误,是什么原因?
表示找不到 Intiface Engine 可执行文件。确保 `intifaceAutoDownload` 为 true(默认),让插件自动下载捆绑版本。如果你在不支持的平台上(macOS ARM64 支持,但 Linux ARM64 不支持),请设置 `intifaceExecutable` 为你已安装的引擎路径。同时检查 GitHub 是否可访问以进行下载。