DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Docker Adapter — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
D

@louisremi/dsh-docker-adapter

Docker Adapter

适用于在远程主机(NAS、Docker、服务器)上运行的 Harness 的 DeepSeek Harness 插件:提供下载按钮替代“显示文件位置”、提供“显示文件”快捷方式,以及侧边栏内置的 Monaco 文件编辑器。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:louisremi/dsh-docker-adapter#7429f500b56ce65874558180d66bf8ff301a5604
README兼容性版本

兼容性与来源证明

Docker Adapter 以 @louisremi/dsh-docker-adapter 发布,当前版本为 0.3.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/8

版本

0.3.0stable
2026/10/8
0.2.1stable
2026/10/2
0.2.0stable
2026/10/2

相关插件

正在加载相关插件…

最新版
0.3.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
周下载
0
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hub

README

@louisremi/dsh-docker-adapter

A DeepSeek Harness plugin that adapts the web UI for running the Harness inside a Docker container.

When the Harness runs on a NAS, a server or in Docker, the stock "show file location" and "Open in app" buttons have no desktop to act on. This plugin replaces them with things that work through your browser:

  • Download file buttons that save a file to your computer.
  • Show files, which opens the sidebar file explorer.
  • Edit, which opens a text file in an in-sidebar code editor (Monaco, the editor behind VS Code) and saves it back to the Harness host.

Install

dsh plugin --profile web add @louisremi/dsh-docker-adapter

Use the name of the profile your Harness runs with. The plugin loads live; restart the Harness only if the command says a restart is required.

Usage

Nothing to configure.

Download. The download button appears wherever the folder button used to be: file cards under an agent reply (present) and in the changed-files review tab, the toolbar of a file open in the sidebar preview, and the empty state of a file the preview can't render.

Show files. The workspace folder button in the session header becomes a single Show files button. It opens (or focuses) the sidebar's Files tab. Inside that tab the button is hidden, since it would do nothing.

Edit. Open a text file in the sidebar preview and press Edit (pencil icon, next to Download). The file opens in its own editor tab:

  • Ctrl/Cmd+S or the Save button writes the file; a dot on the tab and filename marks unsaved changes.
  • If the file changed on disk after you opened it, saving is refused and you choose Reload from disk, Overwrite, or Keep editing. Nothing is overwritten silently.
  • Closing a tab (or the browser page) with unsaved changes asks for confirmation.
  • Line endings (LF/CRLF) and a leading UTF-8 byte-order mark are preserved.
  • Text files up to 1 MiB. Binary files and invalid UTF-8 are refused, not corrupted.
  • Saving follows the session's sandbox mode: it fails in read-only mode and outside the workspace in workspace-write mode, exactly like the agent's own file tools.

How it works

The plugin adds two authenticated routes to the Harness, GET /api/download.file and POST /api/save.file, and registers its buttons in the same UI slots as the stock ones, shadowing them (disable the plugin and the stock buttons return). "Show files" calls the sidebar's public openTab('files'); the editor is a sidebar tab type registered through the public sidebar API. Downloads stream straight to disk, so large files are fine. Saves go through the Harness's own filesystem layer with the session's sandbox policy and a version check.

The editor and the CDN

To keep the package at ~19 kB, Monaco is not bundled. On the first Edit it is loaded from jsDelivr at a pinned version (monaco-editor@0.52.2).

  • It runs in a sandboxed iframe (sandbox="allow-scripts", no allow-same-origin) with a Content-Security-Policy that only permits the CDN. The CDN's code therefore cannot read the Harness page, your session cookie, local storage, or call the Harness API; it only exchanges messages with the editor wrapper.
  • The loader script is checked with Subresource Integrity (SRI). Files the loader then pulls in are not individually pinned by hash, which is why the isolation above matters.
  • Your browser needs internet access to cdn.jsdelivr.net (the Harness host does not). If it is unreachable or blocked, the editor falls back to a plain <textarea> with the same save, conflict and dirty-state behaviour, and says so.
  • jsDelivr sees your IP address and user agent when Monaco loads.

Limitations

  • Download: single files only; folders are not downloadable.
  • Edit: text files up to 1 MiB; no multi-user locking beyond the on-disk version check.
  • Tested with DSH 0.2.0-rc.2. It depends on the stock open-in-app and sidebar-right plugins' slot names and public API.

Development

npm run check      # syntax check
npm test           # host route unit tests (no browser needed)
npm run test:e2e   # opt-in: real headless Chromium + real Monaco from the CDN

test:e2e needs Chromium, playwright-core and React 18 UMD builds; see the header of e2e/browser.e2e.mjs.

Uninstall

dsh plugin --profile web remove @louisremi/dsh-docker-adapter

Releasing

Bump version in package.json (npm version patch), push, then publish a GitHub Release whose tag matches (gh release create vX.Y.Z --generate-notes). A workflow stages the package on npm (no 2FA needed in CI); it needs a stage-only NPM_TOKEN repository secret.

The maintainer then publishes the staged version with proof-of-presence:

npm stage list @louisremi/dsh-docker-adapter
npm stage approve <stage-id>

License

MIT