
3911ee/dsh-workspace-explorer
30Last commit Aug 14, 2026
dsh-workspace-explorer DSH plugin
This plugin integrates a dual-panel file explorer directly into the DSH Web GUI sidebar. It provides a lazy-loaded file tree of all registered workspace directories with language-colored SVG icons, and a resizable editor with syntax highlighting, inline rename, and save functionality. It allows AI agents to see and modify the project structure in real time, enabling true pair programming.
How to install the dsh-workspace-explorer DSH plugin
dsh plugin --profile web add github:3911ee/dsh-workspace-explorerCopying does not run this command. Review the repository and version before installing the dsh-workspace-explorer DSH plugin.
dsh-workspace-explorer DSH plugin data source
dsh-workspace-explorer DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-workspace-explorer DSH plugin can do
- Lazy-loading file tree with multiple workspace roots, sorted folders first, with indentation guides
- 60+ file type icons with language-colored SVG (14px stroke)
- Inline rename, new file/folder creation at workspace root with error feedback
- VS Code-style editor with line numbers, path bar, status bar, and drag-to-resize (min 380×280)
- Syntax highlighting for Python, JS/TS/JSX, JSON, HTML/XML, CSS/SCSS/LESS, Markdown, SQL, Shell, YAML/TOML/INI (VS Code Dark+ theme)
- In-window editing and saving via Ctrl+S or save button, with auto-refresh of file size
- Large file protection: files >256 KB are read-only preview; files >200 KB fall back to plain text
- Chinese/English UI follows DSH language setting
- No outbound network connections, all file operations via local HTTP API
Where the dsh-workspace-explorer DSH plugin fits
- Quickly browse project structure and locate files without switching to an external IDE
- Edit code files directly in DSH while conversing with AI, with changes saved in real time
- Let AI agent view and modify code in the panel, enabling collaborative refactoring
- Preview Markdown, images, or configuration files in the built-in editor
- Use @file references in conversation to link to opened files
Who the dsh-workspace-explorer DSH plugin is for
- DSH users who need a built-in file explorer and editor for workspace management
- Developers and AI practitioners who want to edit code alongside AI assistant in the same interface
dsh-workspace-explorer DSH plugin limitations
- New file/folder creation is only available at workspace root, not in subdirectories
- Preview supports UTF-8 text only; binary files show replacement characters
- Syntax highlighting is a lightweight regex implementation (not shiki full AST), may have occasional inaccuracies in complex nesting
- Files >200 KB automatically switch to plain text; files >256 KB are read-only to prevent accidental overwrite
- Windows tested; macOS/Linux theoretically supported but not tested
- Requires a web profile (standard web) and DSH 0.1.0-rc.6 or higher
dsh-workspace-explorer DSH plugin: from the repository README
Quoted from the 3911ee/dsh-workspace-explorer README, the upstream source of the dsh-workspace-explorer DSH plugin. Copyright remains with the original authors.
为 DeepSeek Harness 打造的「工作区文件」插件,在侧边栏底部一键开启 VS Code 风格的双栏面板:左侧是项目全目录文件树,右侧是支持多标签页的代码编辑器。它不仅让你像操作本地 IDE 一样浏览、打开和编辑文件,更能让 AI Agent 实时“看见”项目结构并直接修改代码——从查看源码到批量重构,Agent 都能在面板中同步操作,实现真正的结对编程。无论是快速定位文件、预览 Markdown 或图片,还是与对话中的 @文件 引用联动,这个插件都将 AI 助手从“聊天机器人”升级为“能动手写代码的智能伙伴”,让每一次指令都落地为可执行的代码变动。 [English](#english) --- # 一、部署简介 ## 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 安装步骤 ```bash # 当前唯一方式:直接从 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 层,无需手改任何配置。 ```bash 手动安装方式: # 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 启用与验证 1. 重启服务:在运行 `dsh
Read the full READMERepository license: MIT
dsh-workspace-explorer DSH plugin questions
How do I install the workspace explorer plugin?
Run `dsh plugin --profile web add github:3911ee/dsh-workspace-explorer` in your terminal. This command will automatically install the plugin via pnpm and add it to your web profile's bundle. After installation, restart the DSH web server and refresh your browser.
Why don't I see the folder icon after installation?
Make sure you have restarted the DSH web server (Ctrl+C then `dsh web` again) and refreshed the browser page. If the icon still doesn't appear, open the browser developer console (F12) to check for any error messages. The plugin loads during startup, so a restart is required.
Can I edit files in the editor and save them?
Yes, you can edit file content directly in the editor panel. Press Ctrl+S or click the save button to write changes to disk. The file size will automatically refresh after saving. Note that files larger than 256 KB are read-only to prevent accidental overwriting.
Does this plugin upload my files to the internet?
No. The plugin runs entirely locally and makes no outbound network connections. All file operations are performed through a local HTTP API (`/workspace-files-api/*`) that is only accessible within the DSH process. Your files never leave your machine.
What languages are supported for syntax highlighting?
The editor supports syntax highlighting for Python, JavaScript/TypeScript/JSX, JSON, HTML/XML, CSS/SCSS/LESS, Markdown, SQL, Shell, YAML/TOML/INI. The highlighting uses a lightweight regex-based approach with VS Code Dark+ color scheme. Files over 200 KB automatically fall back to plain text.