Pasumao/dsh-plugin-workbench
DSH Web GUI 的 VS Code 风格工作区文件浏览器,带可编辑预览功能
Project Overview项目介绍
This repository hosts a native plugin built exclusively for DeepSeek Harness (DSH). You can install it either from the public npm registry using dsh plugin --profile web add dsh-plugin-workbench or directly from the GitHub repository. The plugin includes a lazy-loaded file explorer sidebar, editable code preview with syntax highlighting, context-aware right-click menus for file operations, and inline image previews. It supports automatic layout patching starting from version 0.0.9, so after installing and restarting DSH, the workbench is available immediately without any manual configuration steps.
After installation, you will see the new file tree sidebar added to the left of your DSH interface. Any @relative-path references in chat messages are automatically converted to clickable links that open the corresponding file for preview and editing directly in the workbench. You can also drag files from the sidebar into the chat input area to automatically insert the file path at your cursor. This plugin is targeted at developers who want to manage and edit project files directly within the DSH workflow without switching to an external editor.
Development on this plugin ended on September 11, 2026, because starting with DSH version 0.1.5, the official DSH distribution includes built-in file tree and document preview functionality that fully covers all features of this plugin. Existing published releases can still be installed and used, and the latest version is confirmed compatible with DSH 0.1.5-rc.1, but no new bug fixes or compatibility updates for future DSH versions will be released. The plugin is licensed under the open-source MIT license, and relies on several non-public internal DSH APIs to function.
dsh-plugin-workbench 是专为 DeepSeek Harness 开发的原生插件,提供 VS Code 风格的可编辑代码工作台,包含懒加载文件树、带语法高亮的可编辑代码预览、全功能右键文件操作菜单、图片内联预览等核心功能。安装后,DSH 网页端会变成一个轻量代码编辑器,支持每个工作区独立保存界面状态。它从 0.0.9 版本开始支持全自动布局补丁,安装后重启 DSH 即可直接使用,无需手动配置。
安装完成后,用户可以在 DSH 界面左侧看到新增的文件树侧栏,消息中的 @相对路径 会自动转为可点击链接,点击即可在工作台打开预览编辑。用户还可以把文件从左栏拖进聊天区,自动插入文件路径到输入框。它支持批量文件操作、可撤销删除、磁盘变更同步、语法高亮、Markdown 渲染预览等功能,适合需要在 DSH 中直接编辑管理项目文件的开发用户。
本插件已于 2026 年 9 月 11 日停止维护更新,因为 DSH 从 0.1.5 版本开始,官方已经内置了功能完全覆盖本插件的文件树和文档预览模块。已发布版本仍可安装使用,实测兼容 DSH 0.1.5-rc.1,但不会再修复问题或适配后续 DSH 版本。本插件采用 MIT 许可证开源,依赖部分 DSH 非公开内部 API 运行。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-workbench(Pasumao/dsh-plugin-workbench)
仓库:https://github.com/Pasumao/dsh-plugin-workbench
本站详情页:https://www.yhbd.top/plugins/pasumao-dsh-plugin-workbench/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 7 · 最近提交 2026-09-11 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-plugin-workbench
把 Pasumao/dsh-plugin-workbench 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-workbench
⛔ 本插件已停止更新(2026-09-11)
DSH
0.1.5起官方自带工作区文件树与文档预览(内置 bundle@deepseek-ai/dsh-client-ui-sidebar-files:右侧栏文件树,懒加载目录列表;@deepseek-ai/dsh-client-ui-sidebar-documentpreview:Markdown / 高亮代码 / 图片 / PDF / HTML / 纯文本预览),覆盖本插件的核心能力,且为官方第一方实现 (无需布局补丁、不依赖任何非公开宿主 API、随 dsh 自动升级)。 本插件因此停止维护与更新,已安装用户建议卸载并改用内置功能:dsh plugin --profile web remove dsh-plugin-workbench # 可选:把布局 bundle 还原为官方原始版本 node node_modules/dsh-plugin-workbench/scripts/patch-layout.mjs --restore # 重启 dsh web 生效已发布的版本仍可安装使用(实测兼容 DSH
0.1.5-rc.1),但不再修复问题、 不再适配后续 dsh 版本。感谢每一位用户与 star ⭐。
能直接改文件的 VS Code 风格工作台——不是只读预览:文件树 + 可编辑代码预览 (语法高亮、标签页、行号栏)+ 右键文件操作(新建 / 重命名 / 删除 / 复制 / 剪切 / 粘贴 / 在系统中打开 / 在资源管理器打开)+ 图片内联预览,每个工作区独立保存状态。 装上之后,DSH 网页就是一个轻量代码编辑器。
✅ 开箱即用:0.0.9 起布局补丁全自动——装完重启即生效;DSH 升级覆盖 bundle 后插件会自动补回,无需任何手动操作(仅锚点失效时才需手动,见「配置」节)。 0.0.15 起自动识别 npm 与 DSH Desktop 两种构建产物,DSH Desktop 开箱即用。
装完你会看到:
- 左侧多出文件树侧栏(懒加载 + 2 秒自动刷新,每工作区独立展开状态);
- 消息里的
@相对路径变成可点击链接,点开直接在工作台预览; - 把文件从左栏拖进聊天区,路径自动插入输入框。
效果图

真实 Web GUI 截图。
功能
- 文件树:懒加载、2 秒自动刷新、每工作区独立展开状态
- 文件图标:常见格式显示着色徽章(代码)/ emoji(图片、音视频、压缩包等),目录展开/收起区分
- 可编辑预览:透明 textarea 叠加语法高亮,
Ctrl+S/Cmd+S保存; md 默认渲染预览(源码/渲染一键切换),.txt 等散文格式与超大代码文件 自动降级为纯文本编辑,加载快、不卡界面 - 磁盘变更同步:打开的文件被外部修改(如 agent 或其它编辑器保存)时, 干净标签页自动重读,带未保存编辑的标签页显示「⟳」徽标(点击重新加载); 监视目录被删 / 受限时自动降级清理并允许重试,不会因 watcher 异常影响宿主进程
- 行号栏:编辑器左侧逻辑行号,与文本滚动锁定对齐(纯文本/高亮模式均生效)
- 图片预览:png/jpg/gif/webp/avif/svg 等直接内联渲染(同源字节路由,20MB 上限)
- 右键菜单(VS Code 风格):文件/文件夹/整列任意空白、头部均可右键——
新建文件、新建文件夹、重命名、删除(递归带确认)、复制路径、复制 / 剪切 / 粘贴、
刷新、在系统中打开、全选、撤销、
在资源管理器打开(文件在所在文件夹中被选中,文件夹直接打开;
Windows
explorer/ macOSopen,WSL 自动转译) - @ 在消息中引用:文件右键「@ 在消息中引用」把
@相对工作区路径插入聊天输入框; 发送后消息中的@相对路径渲染为超链接(点击在工作台预览打开), 语法为@+ 相对工作区路径,其它@文本一律按原样显示、无特殊含义 - 拖文件进会话:把文件/多选从左栏拖到聊天区任意位置,路径文本插入输入框光标处; 拖到左栏目录行仍是移动操作
- 任意位置点击取消选中:点击树外的任何地方(会话/其它栏/左栏头部)清除选中
- 复制 / 剪切 / 粘贴:Ctrl/Cmd+C/X/V(或右键菜单),支持跨工作区粘贴; 复制到同名已存在的目标时询问「是否覆盖」,与系统文件管理器一致; 剪切(移动)成功后自动清空剪贴板
- 批量操作:Ctrl/Cmd+点击、Ctrl+A 多选,右键菜单/Delete 批量删除选中项, 拖拽整组移动
- 操作可撤销:右上角「↩」或 Ctrl+Z 撤销最近操作(每工作区独立、上限 30 条):
复制(删副本)、剪切/拖拽移动(移回原位)、重命名、新建、删除;删除为可撤销删除
(瞬移进隐藏
.dsh-trash,不复制字节) - 在资源管理器打开:右键菜单项(同 VS Code 的 Reveal in File Explorer),
把文件/文件夹定位到系统文件管理器(Windows 资源管理器、macOS Finder 等),
经 loopback RPC 的
reveal端点执行 - 自动换行:标签栏一键切换软换行(仅显示层换行,不改动文件内容)或长行横向滚动,偏好持久化
- 标签页:多文件、拖拽排序、收起/弹出;亮暗主题一键切换
- 语法高亮:highlight.js(JS/TS、Python、JSON、HTML、CSS、Shell 等; Markdown 默认渲染预览,可切源码)
- Markdown 渲染:markdown-it(原始 HTML 一律转义不执行),相对路径图片经
同源路由
/dsh-plugin-files/raw/<path>内联显示 - 磁盘变更:宿主对打开文件做
fs.watch(监听父目录,可存活原子重命名), 变更经 SSE/dsh-plugin-files/events推送,干净标签自动同步
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
esengine/DeepSeek-Reasonix
strukto-ai/mirage
chuspeeism/dashi-taskboard
Aisland-SJL/dsh-worktable
ccch1mneyyy/working-activity
zhoushoujianwork/easyeda-agent
pulseaiclub/phi
Ikalus1988/MisakaNet