chengzhi43/dsh-file 预览 preview

chengzhi43/dsh-file

DeepSeek Harness Web / DeepSeek Harness 的 VS Code 风格文件管理器插件

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness, adding a VS Code-style file manager to both the web and desktop versions of DSH. When installed correctly, a new "File" button appears at the bottom of the DSH sidebar. Clicking this button switches the sidebar to display a file tree of your current conversation workspace, and clicking any file opens it for editing in the main center view. The editor uses the Monaco Editor (the same core as VS Code) loaded from CDN, and automatically adds syntax highlighting based on the file extension, falling back to a plain textarea if the CDN is unreachable.

The plugin supports common workflow tasks for DSH users who need to work with files directly in their conversation workspace. It supports Markdown preview with GitHub Flavored Markdown support, custom editor themes, theme import and export, multi-file tab switching, and basic file operations including creating new files and folders, renaming, and deleting items with required deletion confirmation. Themes can be customized for background color, text color, and font size, and all settings are saved automatically to browser local storage. It also supports importing and exporting themes in VS Code’s JSON format, making it easy to move custom configuration between different DSH environments.

This plugin is released under the open source MIT license, so it is free to use, modify, and distribute. It can be installed via npm, cloned directly from source, or installed from a tarball downloaded from the GitHub Releases page, and you must install it to the correct DSH profile (use the web profile for the DSH web version, desktop for the DSH desktop app). After installation finishes, you have to fully restart DSH for the plugin to load correctly. For local development, you need to symlink the @deepseek-ai modules to your global DSH installation to avoid RPC errors caused by duplicate module instances.

这是一款专为 DeepSeek Harness 开发的原生插件,同时支持 DSH 网页版和桌面版,添加了 VS Code 风格的文件管理功能。用户可以通过侧边栏浏览当前对话工作区的文件树,点击文件后即可在主视图使用 Monaco 编辑器编辑,编辑器支持按文件扩展名自动添加语法高亮,CDN 加载失败时会自动降级为纯文本输入框。

插件支持 Markdown 文件预览、主题自定义与导入导出、多文件标签切换、基础文件操作(新建、重命名、删除等),主题设置可自定义背景色、文字色和字号,配置会自动保存到浏览器本地存储,还兼容 VS Code 主题 JSON 格式的导入导出,方便在不同环境间迁移用户自定义的配色方案。

该插件采用 MIT 许可免费开源,可通过 npm、源码克隆或 Release 压缩包安装到对应 profile(网页版用 web,桌面版用 desktop),安装后需重启 DSH 才能生效。本地开发时需要将依赖链接到 DSH 全局的 @deepseek-ai 模块,避免双实例导致 RPC 调用失败。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
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 @rose43/dsh-file

把 chengzhi43/dsh-file 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-file logo

GitHub · 安装 · 主题导入导出 · FAQ · 反馈 Issues · Releases

version license DeepSeek Harness stars editor workspace

English · 简体中文


dsh-file

DeepSeek Harness 的 VS Code 风格文件管理器插件:在 Web 侧边栏浏览当前对话工作区的文件,在中间主区域编辑。

A VS Code-style file manager plugin for DeepSeek Harness Web: browse the current conversation's workspace from the sidebar and edit files in the center column.

截图

dsh-file 使用界面:左侧文件树,中间 Monaco 编辑器

侧边栏文件树浏览工作区,点击文件后在中间列「文件」视图中编辑(Monaco 编辑器,语法高亮)。

安装

# 在 clone 下来的 dsh-file 目录内执行(不是父目录)
cd /path/to/dsh-file
dsh plugin --profile web add .

dsh plugin add 会把包 pnpm-link 进 profile 并追加到 dsh.profile.bundles。重启 dsh web 生效(client 插件元数据按名缓存,重启后重新扫描)。

桌面端(DSH Desktop)安装

桌面端是 deepseek-harness-desktop 项目(包名 dsh-plugin-desktop)。它与 dsh web 使用互相独立的 profile(桌面端用 desktop,dsh web 用 web),插件不会自动共享——只装进 web profile 的插件在桌面端不会出现,设置 → 插件列表里也不会显示:

# 同样在 dsh-file 目录内执行
cd /path/to/dsh-file
dsh plugin --profile desktop add .

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-chinese-skill-patch 下一个 Next dsh-tool-calculator →