Adds buttons to open the current DSH workspace root in the host file manager.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:YooRarely/dsh-open-explorer
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
为 DeepSeek Harness(DSH) Web GUI 提供便捷的 Workspace 文件夹打开入口。
dsh-open-explorer 会在 DSH 会话标题右侧提供文件夹按钮。点击后,插件通过 DSH 的公开 Client Connection Host RPC,请求运行 DSH 的主机直接打开当前 Workspace 根目录。
界面
| 工作区菜单 | 会话标题按钮 |
|---|---|
功能
- 在工作区右侧的
...菜单中添加“在资源管理器中打开”。 - 在当前会话标题右侧提供文件夹按钮。
- 打开当前 Workspace 根目录,而不是某个单独文件。
- 不修改或依赖 DSH 源码;只使用公开的 Client Connection Host RPC 和 Header Slot。
- 直接请求 Host 的原生打开能力,不会被可选的内置侧边栏路径拦截。
- 支持 Windows、macOS、Linux 和 WSL 的系统目录打开方式。
- 针对当前 npm DSH 的工作区点点点菜单,使用基于 ARIA 语义的浏览器兼容适配,将“在资源管理器中打开”插入现有菜单;适配失效时仍保留标题栏按钮。
工作区菜单兼容适配
当前 npm DSH 版本没有公开的工作区菜单 Slot,菜单由 DSH 自己渲染。插件不会替换整个工作区区域,也不依赖 DSH 私有 React 组件,而是识别公开 DOM 语义(工作区 treeitem、工作区操作按钮和 menuitem),在当前菜单打开时添加一个可撤销的菜单项。
这是一层针对当前 npm DSH 菜单语义的防御性适配:如果未来 DSH 改变这些 ARIA 语义,菜单项会安全地不显示,但标题栏按钮仍可使用。
安装
dsh plugin --profile web add github:YooRarely/dsh-open-explorer
安装完成后重启 dsh web:
dsh web
然后刷新浏览器页面即可使用。
如果你是从 DeepSeek Harness 源码运行:
pnpm dsh plugin --profile web add github:YooRarely/dsh-open-explorer
pnpm dsh web
本地开发
dsh plugin --profile web add <path-to-this-checkout>
本地修改后重启 dsh web,以加载最新的插件代码。
使用
- 打开 DeepSeek Harness Web 界面。
- 进入一个已经关联 Workspace 的会话。
- 点击会话标题右侧的文件夹按钮。
- 系统文件管理器会打开该 Workspace 的根目录。
支持的平台
| 平台 | 打开方式 | 条件 |
|---|---|---|
| Windows | 文件资源管理器 | 无额外配置 |
| macOS | 系统默认目录打开器 | 无额外配置 |
| Linux | xdg-open |
需要桌面环境 |
| WSL | 转换为 Windows 路径后打开 | 需要可用的 Windows 桌面 |
如果通过远程浏览器访问 DSH,目录会在运行 DSH 的主机上打开,而不是浏览器所在电脑上。
本插件只依赖公开的会话标题 Header Slot 和 Client Connection Host RPC,不需要修改或启动 DeepSeek Harness 源码。
开发检查
本插件的浏览器 bundle 已直接提交为 client.js,无需构建工具。提交前运行:
npm test
目录
dsh-open-explorer/
├── assets/ # README 界面截图
├── client.js # Web GUI 插件代码
├── index.js # Host 插件入口
├── cordis.patch.yml # profile 挂载配置
├── package.json # 插件声明
└── README.md
License
Links
More in this category
zhu1090093659/dsh-web-ui#packages/dsh-web-ui-all★ 4236
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 2019
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 1862
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/dsh-at-file★ 344
Codex-style `@file` mentions: search workspace files in the composer and attach their contents to prompts.
huiliyi37/dsh-tianshu-tui★ 208
A terminal UI (TUI) for DeepSeek Harness.
omdsh-dev/dsh-genui★ 195
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.