DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Remote File System — DSH Plugin for DeepSeek Harness
← Plugins

dsh-remote-file-system

Remote File System

Model-visible remote file tools read_remote, write_remote, and edit_remote for reading and writing files on remote hosts via SSH. write_remote only allows creating new files and has no overwrite path; the file backend RemoteFileSystem does not inherit from FileSystem and only borrows the type vocabu

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-remote-file-system@0.1.0
READMECompatibilityVersions

Description

Model-visible remote file tools read_remote, write_remote, and edit_remote for reading and writing files on remote hosts via SSH. write_remote only allows creating new files and has no overwrite path; the file backend RemoteFileSystem does not inherit from FileSystem and only borrows the type vocabulary and FsError from @deepseek-ai/dsh-fs. A standard installable dsh host plugin.

Compatibility and provenance

Remote File System is published as dsh-remote-file-system and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/13/2026

Versions

0.1.0stable
9/13/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
142.6 kB
Files
6
Surface
any
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
0
Last push
9/13/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocol

README

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 标识错位。