3911ee/dsh-workspace-explorer
为 DeepSeek Harness 打造的「工作区文件」插件,在侧边栏底部一键开启 VS Code 风格的双栏面板:左侧是项目全目录文件树,右侧是支持多标签页的代码编辑器。它不仅让你像操作本地 IDE 一样浏览、打开和编辑文件,更能让 AI Agent 实时“看见”项目结构并直接修改代码——从查看源码到批量重构,Agent 都能在面板中同步操作,实现真正的结对编程。无论是快速定位文件、预览 Markdown 或图片,还是与对话中的 @文件 引用联动,这个插件都将 AI 助手从“聊天机器人”升级为“能动手写代码的智能伙伴”,让每一次指令都落地为可执行的代码变动。
catalog descriptioncatalog 简介 / catalog description:VS Code 风格双栏资源管理器。左侧多工作区文件树:语言着色 SVG 图标、行内重命名、新建文件/文件夹;右侧编辑器可拖拽缩放,行号 + 状态栏,语法高亮(函数/关键字/注释/字符串分色,支持 10 种语言)
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH), designed to add a workspace file explorer panel to the DSH Web GUI. To install the plugin, you run a single command: dsh plugin --profile web add github:3911ee/dsh-workspace-explorer, which automatically handles the installation via pnpm and adds the plugin to your profile’s bundle layer. Once installed, you just restart the DSH web service and refresh your browser to see a new folder icon button at the bottom of the DSH sidebar, labeled “Workspace Files”. Clicking that button opens a VS Code-style two-panel interface, with a file tree on the left and an editor on the right.
The plugin serves DSH users who want their AI agent to directly interact with and modify project files. It supports common developer workflows like quickly locating source files, previewing Markdown documents or images, and syncing with the @file reference feature in DSH chat conversations. The left file tree lists all registered workspace directories, loads nodes lazily, sorts items by name, and includes language-colored SVG icons for over 60 common file extensions. It also supports inline renaming, creating new files and folders directly from the UI, with error checking for duplicate names. The right-side editor lets you resize freely, supports VS Code Dark+ syntax highlighting for 10+ common programming languages, and saves changes directly to disk.
This plugin is released under the permissive MIT license, runs entirely locally, and does not make any outbound network connections or collect any user data. It requires DSH version 0.1.0-rc.6 or newer, and only works with the standard web profile that includes the DSH Web GUI. It has been tested on Windows, while macOS and Linux are theoretically supported via cross-platform path handling but have not been tested officially. There are a few known limitations: only root workspaces have new file/folder options, only UTF-8 text is supported for preview, and syntax highlighting is lightweight and may have minor inaccuracies for complex nested code. Users should not expose a DSH instance running this plugin directly to the public internet.
这是专为 DeepSeek Harness(DSH)打造的原生插件,会在 DSH 带 Web 界面的配置侧边栏底部添加「工作区文件」入口,点击后打开 VS Code 风格双栏面板,左侧展示项目全目录文件树,右侧是支持多标签页的代码编辑器。插件支持 AI Agent 实时感知项目结构并修改代码,让 Agent 操作和开发者操作同步,实现真正的结对编程体验。
适合需要让 AI Agent 直接操作项目文件的 DSH 用户,不管是快速定位源码文件、预览 Markdown 文档或图片资源,还是和对话中的 @文件 引用功能联动,都能流畅完成操作。从查看项目结构到批量代码重构,Agent 都能在面板中同步操作,帮开发者把每一次指令落实为实际可运行的代码改动。
本插件采用 MIT 许可证开源,要求 DSH 版本在 0.1.0-rc.6 以上,仅支持带 Web 界面的 profile。可通过 dsh plugin 命令一键安装,Windows 已实测通过,macOS 和 Linux 理论支持但未实测,插件完全本地运行,不收集任何用户数据,安装后重启服务刷新浏览器即可启用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-workspace-explorer(3911ee/dsh-workspace-explorer)
仓库:https://github.com/3911ee/dsh-workspace-explorer
本站详情页:https://www.yhbd.top/plugins/3911ee-dsh-workspace-explorer/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-14 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 github:3911ee/dsh-workspace-explorer
把 3911ee/dsh-workspace-explorer 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-workspace-explorer
为 DeepSeek Harness 打造的「工作区文件」插件,在侧边栏底部一键开启 VS Code 风格的双栏面板:左侧是项目全目录文件树,右侧是支持多标签页的代码编辑器。它不仅让你像操作本地 IDE 一样浏览、打开和编辑文件,更能让 AI Agent 实时“看见”项目结构并直接修改代码——从查看源码到批量重构,Agent 都能在面板中同步操作,实现真正的结对编程。无论是快速定位文件、预览 Markdown 或图片,还是与对话中的 @文件 引用联动,这个插件都将 AI 助手从“聊天机器人”升级为“能动手写代码的智能伙伴”,让每一次指令都落地为可执行的代码变动。
一、部署简介
1.1 软件要求
| 项 | 要求 |
|---|---|
| DeepSeek Harness | 0.1.0-rc.6 及以上(实测版本 0.1.0-rc.6) |
| Profile 类型 | 必须是带 Web 界面的 profile(标准 web profile) |
| Node.js | DSH 自带的运行环境即可,无额外要求 |
| pnpm | 安装插件时需要(dsh plugin 的官方机制) |
| 操作系统 | Windows 实测通过;macOS/Linux 理论支持(代码已做跨平台路径处理,未实测) |
1.2 安装步骤
# 当前唯一方式:直接从 GitHub 安装(lib/ 已提交,无需构建)
dsh plugin --profile web add github:3911ee/dsh-workspace-explorer
npm 方式在发布后才可用:
dsh plugin --profile web add dsh-workspace-explorer。
一条命令完成:dsh plugin 会自动执行 pnpm 安装,并因插件包声明了
dsh.bundle.patch 自动把它加入 profile 的 bundle 层,无需手改任何配置。
手动安装方式:
# 1) 把插件源码复制进 web profile 的 node_modules
# 2) 编辑.dsh\profiles\web\package.json:
# dependencies 里加一行
# "dsh-workspace-explorer": "file:./node_modules/dsh-workspace-explorer"
# dsh.profile.bundles 数组里加一项
# "dsh-workspace-explorer"
1.3 启用与验证
- 重启服务:在运行
dsh web的终端按Ctrl+C,重新执行dsh web - 刷新浏览器
- 验证:侧边栏底部出现文件夹图标按钮(悬停提示「工作区文件」);点击后弹出双栏面板(左侧文件树、右侧编辑器)
1.4 升级 / 卸载
# 升级:重新 add 或 pnpm update(由 dsh plugin 转交)
dsh plugin --profile web add github:3911ee/dsh-workspace-explorer
# 卸载:从 profile 依赖中移除后重启
dsh plugin --profile web remove dsh-workspace-explorer
卸载后重启 dsh web 即完全移除(插件不修改任何 DSH 内置文件,不留残留)。
1.5 常见问题
- 装完没有按钮 → 未重启服务(宿主插件启动时载入)或浏览器未刷新;按 F12 查看控制台报错
- 点击文件报错 → 服务重启过但插件 API 未就绪,确认重启时控制台无启动报错
- 提示 pnpm 不存在 → 先安装 pnpm
二、功能介绍
2.1 一句话
在 DeepSeek Harness Web GUI 侧边栏底部添加「工作区文件」入口,打开一个 VS Code 资源管理器风格 的双栏面板:左侧浏览全部工作区目录的文件树, 右侧查看和编辑文件。
2.2 功能清单
📂 文件树
- 自动列出所有已注册的工作区目录(每个工作区一个根节点)
- 懒加载逐层展开,目录在前、按名称排序,带缩进引导线
- 每个工作区根目录提供「新建文件 / 新建文件夹」按钮(行内输入,Enter 创建 / Esc 取消)
🎨 文件图标
- 14px 描边 SVG 图标,按语言着色(Material 主题色系)
- 覆盖 60+ 扩展名:Python/JS/TS/JSON/HTML/CSS/Markdown/SQL/Shell/YAML/图片/压缩包/可执行文件等
✏️ 文件操作
- 行内重命名:悬停出现铅笔按钮;默认选中主名(不含后缀)、可继续编辑后缀;Enter 提交 / Esc 取消 / 失焦提交;支持中文输入法
- 新建文件 / 新建文件夹;重名时内联报错
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
itchenshi/dsh-ready-gui
nexu-io/open-design
Devin-AXIS/iPolloWork
EthanYoQ/AI-Novel-Writer
ysr666/dsh-vision-router