dshbase

Plugin directory / Developer / dsh-workspace-actions

dsh-workspace-actions

Verified · install-tested on dsh ZJS248

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-15Last push
Cross-platformPlatform

What it does

A plugin in the Developer category for DeepSeek Harness.

✅
Our take
Works — verified, early-stage project

A plugin in the Developer category for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-workspace-actions

DeepSeek Harness(DSH)Web UI 的工作区文件操作插件:在侧栏底部加一个「🗂 工作区」按钮,点开浮层即可对工作区目录做日常文件管理。

功能

  • 📂 在资源管理器中打开:当前目录或单个文件,用系统默认方式打开
  • ➕ 新建文件 / 新建文件夹:相对当前目录创建
  • 🗂 新建子工作区:调系统目录选择器,把选中的目录注册为工作区
  • 📄 文件列表:点文件夹进入、上一级返回,展示文件大小
  • 📋 复制路径:把文件绝对路径写入剪贴板
  • 🗑 删除:删除文件/文件夹(带确认框)

安装

dsh plugin --profile web add <本仓库路径或 git 地址>

装完重启 dsh web 并刷新浏览器,侧栏底部出现「🗂 工作区」按钮。

实现

  • 宿主侧(lib/index.js):通过 webServer 注册 HTTP 路由,用 Node 内置 fs 完成新建/删除/复制/移动/列目录/打开资源管理器;请求需携带自定义头 X-DSH-Workspace-Actions: 1 作 CSRF 防护。
  • 浏览器侧(lib/client.js):shell.overlay 浮层 + sidebar.footer.action 按钮;目录浏览、打开资源管理器、目录选择器、注册工作区等复用 DSH 自带的 ctx.workspaces 服务。

安全提示

本插件以 DSH 进程的权限执行文件操作,能读写任意被请求的路径。安装第三方插件前请先审阅源码。

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-workspace-actions for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:ZJS248/dsh-workspace-actions

Headless (CLI) profile:

dsh plugin --profile headless add github:ZJS248/dsh-workspace-actions

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →