dsh-windows2macos

一条指令同时下发给所有在线的 Windows 与 macOS 机器,可跨网络跨区域:零依赖中继只通过出站连接与各机通信(Tailscale 内网、公网 VPS + TLS、或隧道),各机在各自的项目副本上执行,结果连同 commit、工作区指纹与命令哈希一并回传,因此"环境不一致"会被判为 unverifiable,而不会被误当成结果分歧。下发指令需要独立于设备令牌的 operator token。

插件介绍

一条指令同时下发给所有在线的 Windows 与 macOS 机器,可跨网络跨区域:零依赖中继只通过出站连接与各机通信(Tailscale 内网、公网 VPS + TLS、或隧道),各机在各自的项目副本上执行,结果连同 commit、工作区指纹与命令哈希一并回传,因此"环境不一致"会被判为 unverifiable,而不会被误当成结果分歧。下发指令需要独立于设备令牌的 operator token。

安装方式

通过 npm 安装

dsh plugin --profile web add @twinsearth/w2m-dsh-plugin

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:TwinsEarth/dsh-windows2macos

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令