Plugin directory / Developer / dsh-workspace-open
dsh-workspace-open
Verified · install-tested on dsh 1274623767
What it does
DeepSeek Harness 插件:从侧边栏打开工作区文件夹
Works — verified, early-stage project
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-open
DeepSeek Harness (DSH) 插件:在左侧工作区列表中直接打开工作区的文件夹。
功能
- 在每个真实工作区行(左侧
Workspace列表)上增加一个文件夹按钮。 - 点击后调用 DSH 内置的
ctx.workspaces.openPath(path),由 Host 用系统默认文件管理器打开:- Windows:资源管理器
- macOS:Finder
- Linux:
xdg-open默认文件管理器
安装
在 DSH profile 中安装本插件(任选一种):
# 本地目录
dsh plugin --profile web add ./dsh-workspace-open
# 打包后安装
npm pack
dsh plugin --profile web add ./dsh-workspace-open-0.1.0.tgz
安装后需要重启 DSH Web 服务(Host 侧插件加载),然后刷新浏览器页面。
工作原理
- Host 半区:
lib/index.js是一个空apply,仅用于让 DSH 发现并加载本包。 - 浏览器半区:
lib/client.js注册到 DSH 客户端。 - 优先使用未来版本可能提供的
sidebar.workspaces.row-menuslot; - 当前 DSH
0.1.0-rc.x没有该 slot 时,自动回退到 DOM 适配器,把文件夹按钮插入到工作区行 hover 操作区。
开发
npm install
npm run build
lib/ 已提交,直接安装也可用;修改 src/ 后重新 build。
说明
- 插件只对“真实 Workspace”行添加按钮;“Ungrouped / 未分组”不会显示。
- 如果 DSH 官方后续提供稳定的工作区行菜单 slot,本插件会自动切换到原生注册方式。
Install
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-open 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:1274623767/dsh-workspace-open Headless (CLI) profile:
dsh plugin --profile headless add github:1274623767/dsh-workspace-open Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.