dsh-phone-bridge

通过局域网把 DSH 桌面端和一台 dsh-go 手机配对。会话顶部有一个开关,把这个会话和手机上的一个对话连起来:手机侧会为每个电脑会话自动开(并复用)一个配对会话,不同电脑会话的消息不会串到一起;两个模型可以像人一样直接说话;另有 MCP 工具:读手机屏幕、点按、打开应用、跑 shell、传文件,把任务交给手机自己的模型。默认监听局域网 0.0.0.0:8787(配对靠随机令牌),且允许手机在电脑上执行命令、调用电脑模型、传文件,要在配置页关掉才会停;它的配置路由没有 DSH 的访问检查。

插件介绍

通过局域网把 DSH 桌面端和一台 dsh-go 手机配对。会话顶部有一个开关,把这个会话和手机上的一个对话连起来:手机侧会为每个电脑会话自动开(并复用)一个配对会话,不同电脑会话的消息不会串到一起;两个模型可以像人一样直接说话;另有 MCP 工具:读手机屏幕、点按、打开应用、跑 shell、传文件,把任务交给手机自己的模型。默认监听局域网 0.0.0.0:8787(配对靠随机令牌),且允许手机在电脑上执行命令、调用电脑模型、传文件,要在配置页关掉才会停;它的配置路由没有 DSH 的访问检查。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-phone-bridge

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:undertale11121/dsh-phone-bridge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令