跳到正文

yu2025-luo/dsh-file-panel

41最近提交 2026年8月15日

dsh-file-panel DSH 插件

dsh-file-panel 为 DeepSeek Harness 的 Web GUI 增加了一个右侧浮动面板。它会自动追踪 agent 在会话中创建或下载的文件,以列表形式呈现,支持内联预览、打开、在文件管理器中定位和复制路径。面板可拖拽、可调整大小,状态会持久化保存。

如何安装 dsh-file-panel DSH 插件

dsh plugin --profile web add github:yu2025-luo/dsh-file-panel

复制不会执行命令。安装 dsh-file-panel DSH 插件前请核对仓库和版本。

dsh-file-panel DSH 插件数据来源

dsh-file-panel DSH 插件快照日期:2026年8月16日

discovered

dsh-file-panel DSH 插件能做什么

  • 通过 fs/observed 事件和递归监视器自动追踪 agent 创建或下载的文件
  • 内联预览:图片直接渲染,文本显示前 256 KB,其他类型显示元数据
  • 操作:用默认程序打开、在操作系统的文件管理器中显示、复制绝对路径
  • 面板底部提供工作区文件夹快捷方式
  • 面板状态和自动弹出偏好保存在 localStorage 中

dsh-file-panel DSH 插件适合哪些场景

  • 在 GUI 中直接查看 agent 生成的各类文件
  • 快速打开或定位下载的图片、文档等
  • 复制文件路径以便在其他工具或命令中使用
  • 实时监控会话中的文件创建过程
  • 一键访问会话工作目录

dsh-file-panel DSH 插件适合谁

  • 使用 DeepSeek Harness Web GUI 的用户
  • 需要处理 AI agent 生成文件的开发者和研究人员

dsh-file-panel DSH 插件的限制

  • 递归监视器依赖 Node ≥ 20,在不支持的平台上可能无法捕获 shell 下载的文件
  • 面板是进程本地的,重启后为空,不扫描历史记录
  • 设计上忽略了 node_modules、.git 和临时文件噪声
  • 在无头 Linux 上无法显示“在文件夹中显示”按钮(无桌面环境)

dsh-file-panel DSH 插件的仓库 README 摘录

以下文字摘自 dsh-file-panel DSH 插件的上游仓库 yu2025-luo/dsh-file-panel 的 README,版权归原作者,仅作引用。

A plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh` web GUI) that watches what the agent creates and downloads during a session, and shows it in a **right-side popup panel** — like the file viewer in Codex. When a file or image is written to disk during a session, the panel pops up automatically on the right. Every row lets you: - 👁 **Preview** — images render inline; text files show their first 256 KB; other types show metadata. - 📂 **Show in folder** — opens the OS file manager with the file selected (`explorer.exe /select` on Windows, `open -R` on macOS, `xdg-open` on Linux). - ↗ **Open** — opens the file with the OS default application (via the harness's built-in `host.openPath` RPC). - 📋 **Copy path** — copies the absolute path to the clipboard. Also ships a **workspace folder** shortcut at the bottom of the panel. [中文说明](README.zh.md) ## Screenshots ![Session files panel](screenshots/panel-session-files.png) *The right-docked session files panel: every row previews, opens, reveals, or copies its path; the bottom button opens the session's working directory. The panel is fully draggable (grab the header) and resizable from its left

阅读完整 README仓库许可: MIT

dsh-file-panel DSH 插件常见问题

如何安装 dsh-file-panel?

你可以从 GitHub 安装:`dsh plugin --profile web add github:yu2025-luo/dsh-file-panel`。或者克隆仓库后,在目录中执行 `dsh plugin --profile web add link:.`。安装后重启 `dsh web` 服务器,刷新 http://127.0.0.1:3080 即可使用。

插件在 --trusted-host 网络模式下能工作吗?

不能。插件的 RPC 通道注册为 `authority: 'loopback'`,仅允许来自 127.0.0.1 的页面调用。当通过局域网访问 GUI 时,面板会显示提示并保持不活跃状态,这是出于安全考虑。

为什么面板不显示之前会话的文件?

面板是进程本地的:它只记录当前会话中观察到的文件。重启后面板为空,不会扫描历史记录。如果需要持久化记录,建议将会话文件保存到工作目录之外。

内联预览支持哪些文件类型?

图片会直接渲染。文本文件显示前 256 KB。其他文件类型仅显示元数据(文件名、大小、类型)。目前不支持预览 PDF 或视频等二进制文件。

如何卸载这个插件?

执行 `dsh plugin --profile web remove dsh-file-panel`,然后重启 `dsh web` 服务器。面板将不再出现在 GUI 中。