DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-remote-file-system

b

dsh-remote-file-system

Manifest valid★ 2

dsh·Remote Filesystem Plugin. Provides the model with three tools — `read_remote`, `write_remote`, and `edit_remote` — to read and write files on remote hosts via SSH, so you no longer need to nest bash commands inside PowerShell. `write_remote` only allows creating new files. Pure plugin, fully self-contained, and does not modify the DSH source code.

hasBundlePatch

dsh-remote-file-system

模型可见的远程文件工具 read_remote、write_remote、edit_remote,经 ssh 读写远程主机文件。标准可安装的 dsh host 插件。

引言

DSH 只有本地文件系统的读写能力,而读写远程文件只能用 PowerShell 再套 bash 的 ssh 命令,非常容易出错。这个插件提供了三条可在模型中直接调用的远程文件工具,读写远程文件无需再套 ssh 命令。并将兼容 dsh-edit-diff 和 dsh-write-rule-guard 的优化显示与规则检查。

能力

工具作用关键语义
read_remote读远端 UTF-8 文本,行号分页offset、limit、totalLines,与原生 read 一致
write_remote远端新建文件只允许新建,目标已存在即拒绝,绝无覆写分支
edit_remote远端字面替换唯一匹配,多现拒绝,未命中报错;支持 replace_all

file_path 写法

ssh 目标与远程路径合在一个 file_path 字段,沿用「别名:路径」前缀,别名取自 ~/.ssh/config:

wsl:~/x.md
myserver:/etc/hosts

只收绝对路径或 ~/ 开头;裸相对路径直接拒绝。

安装

从 GitHub 安装:源码在 src/,lib/ 不入仓库,安装时 npm 会触发 prepare 脚本现场构建。

dsh plugin --profile web add github:better-er/dsh-remote-file-system

从 npm 安装:包内已含构建产物 lib/index.js,安装时不再构建。

dsh plugin --profile web add dsh-remote-file-system

两种方式装完都会自动挂载,重启 DSH web 后启用,无需手工编辑任何文件。

卸载

dsh plugin --profile web remove dsh-remote-file-system

彻底移除,重启 DSH web 后不再加载。

后端

文件后端 RemoteFileSystem 刻意不继承 @deepseek-ai/dsh-fs 的 FileSystem 与 cordis Service,避免「继承即注册」污染会话 ctx.fs;只借用 dsh-fs 类型词表与 FsError。字节经 base64 再经 ssh 传输。

开发

pnpm install      # 装依赖,含 devDeps 类型与 esbuild
pnpm run build    # esbuild 打包 host 半身到 lib/
pnpm run typecheck
node smoke/verify.mjs   # 手动组装最小 cordis 组合,对 wsl 冒烟三工具

依赖与构建注意

@deepseek-ai/dsh-fs、dsh-tools、dsh-system-prompt 版本 0.1.2-rc.1,@deepseek-ai/cordis 版本 4.0.2。构建必须把这些包 external,与 host 共享单一 cordis 与 dsh-fs 实例;否则双原型会让 instanceof FsError 与 Service 标识错位。

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.1.6-alpha.2: failedDSH 0.1.7-alpha.1: failed

Versions

Latest versionPublishedSize
0.0.1——
0.1.1——
0.1.2——
0.1.0——
0.2.0——

Comments

Loading…

Similar plugins

dsh-tool-ssh

by hcyinnn

SSH tools plugin for DeepSeek Harness (dsh): run remote commands and transfer files via OpenSSH. dsh 插件——让 Agent 通过 SSH 在远程主机执行命令、上传/下载文件。

Development & InfrastructureManifest valid

★ 0

MIT

TypeScript

Sep 1, 2026

dsh plugin --profile web add dsh-tool-ssh

by FYL1025

DeepSeek Harness (DSH) 远程工作区插件:通过 SSH 连接一台或多台服务器,直接在 DSH 的 Web 界面里浏览文件、编辑代码、执行命令——体验类似 VS Code Remote-SSH,无需离开对话。

UI & ExperienceTerminal & ClientsManifest valid

★ 3

↓ 80/wk

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-remote-workspace

by hehehe1234567894

DeepSeek Harness (DSH) SSH 远程工作插件 — 纯远程模式:多机管理、工作区选择、远程文件读写工具

Manifest valid

★ 0

JavaScript

Sep 1, 2026

dsh plugin --profile web add deepseek-harness-ssh

by btsd321

Remote development launcher: install dsh on a remote host and use it from your local browser. LLM credentials never leave your machine.

Tools & CapabilitiesManifest valid

★ 6

↓ 1.5k/wk

Apache-2.0

TypeScript

Oct 20, 2026

dsh plugin --profile web add dsh-remote-explorer

by yh4922

A remote workspace plugin for DeepSeek Harness (DSH). It manages SSH hosts inside DSH, opens remote terminals, lets you browse and edit remote files and inspect remote Git, and adds remote directories as workspaces, so the Agent's file operations and commands run on the remote machine.

Manifest valid

★ 14

NOASSERTION

TypeScript

Oct 30, 2026

dsh plugin --profile web add @yh4922/dsh-workspace

by CJYLZS

Remote development over SSH: pick a directory on a registered machine as the session workspace and the file, shell, bash, and search tools run on the remote host — the agent works there with the same

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 7

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-remote-development