master1Sun/dsh-file-workbench-lib
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH), adding three core integrated modules to DSH’s right-side panel: a Win11 Explorer-style file workbench, a multi-tab code editor, and a persistent terminal. All three modules share the same workspace root, and the plugin also includes extra utilities like a Git management panel, a background task progress panel, and integration with DSH’s native file viewing system. The file workbench supports full file CRUD operations, recursive search, and batch edits, while the editor is built on CodeMirror 6 for in-place code modification.
After installation, the plugin adds entry cards for File Workbench and File Editor to DSH’s right-sidebar guide area. When you open either module for the first time, it automatically navigates to the current DSH session’s workspace directory. To open a terminal, you can click the toolbar terminal button or right-click a directory and select Open in Terminal. To preview a file, just double-click it in the file workbench, and it will open in DSH’s native right-side viewer with syntax highlighting and support for common formats like images and PDFs.
The plugin is built with Vue 3 and Vite, and depends on several open source packages including CodeMirror 6, node-pty, Element Plus, and fflate. Node-pty is a native module required for the terminal functionality; if it is missing, the terminal feature will not be available. All file path access is validated to prevent path traversal attacks, and by default, writes are blocked outside the workspace root. To get an administrator terminal you must run the DSH host process as administrator, since terminal permissions are inherited from the host. The project is released under the permissive MIT open source license.
这是一个专为DeepSeek Harness(DSH)开发的原生插件,会在DSH会话的右侧面板提供三个核心功能模块:文件工作台、文件编辑器和终端。所有功能共享同一个工作区根目录,文件工作台是Windows 11资源管理器风格的文件管理器,编辑器基于CodeMirror 6实现多标签页代码编辑,终端提供基于node-pty的持久化ConPTY Shell,还附带Git管理面板、背景任务面板等附加功能。
插件入口位于DSH右侧边栏的引导区,首次打开会自动导航到当前会话的工作区目录。用户可先在文件工作台浏览本地目录和系统文件,双击文件会调用DSH原生右侧查看器预览,右键选择编辑可打开内置编辑器修改文件。需要操作命令行时,可通过工具栏按钮或右键目录打开终端,终端会话会在面板关闭后保留,重新打开可恢复之前的输出。
本插件基于Vue 3 + Vite开发,依赖CodeMirror 6、node-pty、Element Plus等开源组件,其中node-pty为原生模块,缺失则终端功能不可用。项目遵循MIT许可协议,所有路径访问都会经过根目录 containment 校验,防止路径遍历,默认工作区根目录外只读,终端权限继承自DSH宿主进程的权限。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-file-workbench-lib(master1Sun/dsh-file-workbench-lib)
仓库:https://github.com/master1Sun/dsh-file-workbench-lib
本站详情页:https://www.yhbd.top/plugins/master1sun-dsh-file-workbench-lib/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-23 · 主语言 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 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:master1Sun/dsh-file-workbench-lib
把 master1Sun/dsh-file-workbench-lib 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH File Workbench Plugin (Vue 3 + Vite)
🌐 English | 简体中文
Provides three capabilities inside the right-side panel of a DSH session view, all sharing the same workspace root:
- 🗂 File Workbench (tab kind
workbench): a Windows 11 Explorer-style file manager - 📝 File Editor (tab kind
vscode): a CodeMirror multi-tab code editor + project tree - ▶ Terminal: persistent shells via node-pty (ConPTY), a global singleton that survives panel close/reopen
On top of that: Git / SVN management panels, sending files into the session input box as official @path reference chips, a background-task panel, and handling selected files with a sub-agent.
File viewing is delegated to the DSH native right-side viewer (Markdown / syntax-highlighted code / images / PDF / HTML / plain text); use the file editor for in-place editing, or right-click "Edit" in the file list to open the built-in notepad.
Panels & Entry Points
| Panel | Tab kind | Guide entry | Notes |
|---|---|---|---|
| File Workbench | workbench |
order 100 | Open from the right-sidebar guide area; auto-navigates to the current session's workspace directory on first open |
| File Editor | vscode |
order 101 | Same as above, listed below the File Workbench |
| Terminal | — | — | Toolbar terminal button, or right-click a directory → "Open in Terminal" |
The only entries are the right-sidebar guide cards and tabs; there are no input-box buttons or top drawer anymore.
Feature Overview
🗂 File Workbench (Explorer)
- Single-window Win11 tree: Home / Gallery / This PC drives / Recycle Bin / Favorites / Session files; draggable splitter (default 3:7), command bar + status bar, directory-first case-insensitive sorting.
- Real drive volume labels: reads system volume labels shown as
Label (C:), falling back to a localized "Local Disk (C:)". - View modes: 8 modes — extra-large / large / medium / small icons, list, details, content, tiles; details-view column widths are draggable; toggle extension visibility.
- Search: recursive search of file names and content within the current directory, with case sensitivity / regex support and virtual scrolling; supports cross-file batch replace on content hits.
- CRUD: create file / directory, rename, delete (with confirmation), copy / cut / paste, rubber-band multi-select, batch operations, external drag-and-drop upload, compress / extract.
- Recycle Bin: shares the same UI as the file list (same 8 view modes / sorting / multi-select / rubber band), with operations switched to Restore / Delete permanently / Empty recycle bin.
- Git badges: file status (
?/A/M/D) badges + right-click Git operations. - Notepad: right-click "Edit" opens the built-in text editor (save-as / clipboard / unsaved-changes confirmation).
- Background tasks: long-running jobs like uploads and compression show progress and results in the background-task panel, with a history archive.
- Sub-agent: right-click "Handle with sub-agent" to start an official sub-agent session on the selected files / directories.
- Navigation: back / forward / up / back to session directory, breadcrumb address bar, favorites, session-touched files (real-time via SSE).
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