dsh-remote-workspaces

通过 SSH 把远程主机目录作为 Harness 工作区打开:read/write/edit/grep/glob 与 shell 命令经 SFTP、ripgrep、ssh2 exec 直接在远程主机执行,不做本地镜像;多主机注册表加密存储,本地沙箱策略依然生效。

插件介绍

通过 SSH 把远程主机目录作为 Harness 工作区打开:read/write/edit/grep/glob 与 shell 命令经 SFTP、ripgrep、ssh2 exec 直接在远程主机执行,不做本地镜像;多主机注册表加密存储,本地沙箱策略依然生效。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-remote-workspaces

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:januory/dsh-remote-workspaces

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.

版本兼容情况

第三方安装实测

安装测试结果
安装与注册通过
测试日期

安装提示

测试时被拦截的构建脚本

  • cpu-features@0.0.10
  • ssh2@1.17.0
  • 可能调用终端命令
  • 可能需要提供凭据