dsh-workspace-files
在终端中运行以下命令:
dsh plugin install Momojie-S/dsh-workspace-files
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 终端中执行 dsh plugin install Momojie-S/dsh-workspace-files 即可安装,插件源码见 https://github.com/Momojie-S/dsh-workspace-files
插件介绍
When you run agent sessions in the DeepSeek Harness Web UI, the workspace files you care about are sitting in a local repo, yet the UI offers no built-in file browser. Checking a directory layout or peeking at a source file means either switching to an editor tab or asking the agent to read it for you—both of which break your flow. dsh-workspace-files adds a single "Files" button to the session title bar; click it and a resizable (240–900 px) workspace panel slides in on the right, all without leaving the conversation or sending another message to the agent.
The panel is built around two goals: see clearly and grab what you need. The file tree expands and collapses on click, and the search box at the top performs a recursive filename search across the entire workspace (skipping .git and node_modules by default, configurable via plugin settings). A single click on a file opens a preview on the right: Markdown is fully rendered with headings, lists, tables, highlighted code blocks, links, and images, while other text files get syntax highlighting matched to their extension. A double click pops a centered, zoomed modal—press Esc or click the overlay to dismiss it. Binary files or those exceeding the preview size limit show a notice, but download buttons remain available in both the preview header and the modal header. This matters most when you access Harness over a domain or LAN: the official fence blocks non-loopback file access, and this plugin provides a clean download path to pull the file onto your local machine.
If you use DeepSeek Harness in a local browser or reach it through a reverse proxy on a LAN or domain, and you want to glance at workspace files right next to your session without context-switching, this plugin is made for that. It does not alter agent behaviour, introduces no runtime dependencies beyond what Harness already ships, and after installation simply adds one more button to the title bar—use it or not, entirely up to you.
使用场景
- 在会话旁快速查看工作区目录结构和文件内容
- 远程访问 Harness 时将文件下载到本地
- 预览 Markdown 文档或查看带语法高亮的源码
适合人员
- 本地或局域网使用 DeepSeek Harness 的开发者
- 需要频繁查看工作区文件而不想切换编辑器的用户
- 通过域名或反向代理远程访问 Harness 的使用者