跳到正文

lee259/dsh-workbench

30最近提交 2026年8月15日

dsh-workbench DSH 插件

DSH Workbench 在 DSH Web 会话中添加一个可调整大小的右侧面板。你可以阅读源文件、查看 DSH 写入/编辑操作捕获的差异,并通过标签页、预览和固定管理多个打开的文件。面板跟随 DSH 语言设置,并提供键盘快捷键以便快速导航。

如何安装 dsh-workbench DSH 插件

dsh plugin --profile web add dsh-workbench

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

dsh-workbench DSH 插件数据来源

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

discovered

dsh-workbench DSH 插件能做什么

  • 对 `read` 和文件提及提供只读预览,支持语法高亮、图片预览和 Markdown 渲染
  • 对 `write` 和 `edit` 操作显示捕获的 DSH 差异,包括修改前后内容
  • 多文件标签页,单击预览,双击固定
  • 快速打开(`⌘P` / `Ctrl+P`)和树搜索,无需打开文件即可定位
  • 键盘快捷键:切换、树/审查、关闭、标签切换、查找、路径插入
  • 变更审查面板,按会话列出捕获的写入操作,并显示增减行数

dsh-workbench DSH 插件适合哪些场景

  • 在对话旁即时查看 DSH 智能体刚刚读取或写入的文件
  • 审查 DSH 写入/编辑调用修改的文件差异,查看精确的捕获变更
  • 浏览项目文件树,在标签页中打开多个文件,复制路径用于聊天
  • 通过快速打开或树搜索快速定位文件并预览内容

dsh-workbench DSH 插件适合谁

  • 希望在对话旁查看文件的 DSH Web 用户
  • 调试或审查 DSH 智能体文件操作的开发者

dsh-workbench DSH 插件的限制

  • 依赖 DSH 的工具事件(`tool/call`、`tool/result`、`tool/code-dispatch`),并优先使用 `dsh-tool-fs` 的 meta.diffs;可能无法与其他 DSH 配置一起工作
  • 仍处于早期开发阶段;变更摘要、跟随智能体、工作区搜索和 Git 工作树关联等功能在路线图中,尚未实现

dsh-workbench DSH 插件的仓库 README 摘录

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

Right-side file workspace for [DeepSeek Harness](https://deepseek-harness.github.io/deepseek-harness/guide/quickstart). Click a path in a DSH Web session to read or diff it beside the conversation. ![DSH Workbench in DeepSeek Harness Web](./assets/dsh-workbench-demo.png) ```text read → source write/edit → captured DSH diff ``` ## Why it is useful - Keep the conversation and the file you are inspecting visible together. - See real DSH write/edit changes, with the captured before/after content. - Read files as source. Diffs come from captured DSH writes, not a Git `HEAD`. - Open several files, switch tabs, copy paths, and resize the panel. A tree or Quick Open click previews; double-click pins. Conversation writes open a kept tab. - Shortcuts: `⌥⌘B` toggle, `⌘⇧E` tree / review, `⌘P` open file, tree search to locate without opening, `⌘F` / `⌘L` find or jump, `⌘W` close, `⌘1`–`⌘9` switch tabs. Drag or right-click to insert a path. - Review lists captured writes with `+/−`. - UI follows the DSH language setting. ## Install ```bash dsh plugin --profile web add dsh-workbench dsh web ``` If `dsh` is not on your PATH: ```bash pnpm dlx @deepseek-ai/dsh plugin --profile web add

阅读完整 README仓库许可: MIT

dsh-workbench DSH 插件常见问题

如何安装 DSH Workbench?

运行 `dsh plugin --profile web add dsh-workbench`,然后执行 `dsh web` 启动。如果 `dsh` 不在 PATH 中,使用 `pnpm dlx @deepseek-ai/dsh plugin --profile web add dsh-workbench` 后跟 `pnpm dlx @deepseek-ai/dsh web`。

如何打开工作区面板?

使用快捷键 `⌥⌘B`(macOS)或 `Alt+Ctrl+B`(Windows/Linux)切换面板。也可以通过文件树或快速打开(`⌘P` / `Ctrl+P`)打开文件。

能否查看 DSH 修改文件的差异?

可以。当 DSH 执行 `write` 或 `edit` 操作时,工作区会捕获修改前后的内容,并在面板中显示差异。审查列表按会话列出所有捕获的写入操作,并显示增减行数。

DSH Workbench 支持多语言吗?

支持。UI 自动跟随 DSH 语言设置,支持中文和英文。切换 DSH 语言即可看到对应的界面文字。

可以在没有全局安装 DSH 的情况下使用本地项目吗?

可以。克隆仓库,运行 `pnpm install && pnpm run build`,然后用 `dsh plugin --profile web add "$(pwd)"` 注册插件并启动 DSH Web。或者使用 `pnpm start -- /absolute/path/to/your/project` 一步完成构建和注册。