DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

File Manager — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-file-manager

File Manager

DeepSeek Harness 的文件管理器:右侧可调整大小的文件树(展开/折叠、递归文件名搜索,支持按类型预览 markdown/html/pdf/图像/视频/音频/代码,并可在面板内编辑),带有右键上下文菜单(预览 / 编辑 / 复制路径 / downlo

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-file-manager@0.1.3
README兼容性版本

兼容性与来源证明

File Manager 以 dsh-file-manager 发布,当前版本为 0.1.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.3stable
2026/8/16
0.1.1stable
2026/8/16
0.1.0stable
2026/8/16

相关插件

正在加载相关插件…

最新版
0.1.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
134.7 kB
文件数
7
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
69
最近提交
2026/8/16
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness:通过自然语言驱动多智能体团队协作(队长、成员、具有依赖关系的任务、消息传递),并在 Web GUI 中提供树状监视器Deepseek Ipptdeepseek-ipptiPolloWork PPT Studio 及其精选幻灯片模板,作为原生 DeepSeek Harness 对话视图。

README

dsh-file-manager

A File Manager for DeepSeek Harness. Adds a resizable file/folder panel on the right side of the page with recursive filename search, per-type preview, inline editing, and a full right-click context menu for files and folders.

Docs in other languages: Tiếng Việt

Highlights

  • Dual-face plugin — works as both a DSH host plugin and a web client. Installable via dsh plugin add with no repo edits and no changes to closed RPCs.
    • Host half registers the /plugins/file-manager/* routes on ctx.webServer.
    • Client half fetches those routes directly (same origin).
  • File tree on the right side — lazy-load expand/collapse per folder, directories before files, size shown, sortable (Name / Type / Size / Modified).
  • Recursive filename search across the whole workspace (skips .git, node_modules, dist, .dsh; caps results).
  • Right-click context menu on any file/folder.
  • Per-type preview — renders each file the right way:
    • Markdown → markdown rendering
    • HTML / SVG → sandboxed in-browser iframe
    • PDF → embedded browser viewer
    • Images → inline image
    • Audio / Video → native media player with controls
    • Text / code → syntax highlighting
  • Inline edit then Save back to disk.
  • 20 color themes → 10 dark + 10 light, plus per-file-type icons.
  • Breadcrumb navigation, prev/next quick file switching in preview, rubber-band drag-select, keyboard shortcuts.

Installation

# From a local folder or an npm package:
dsh plugin --profile web add /path/to/dsh-file-manager
# or from npm:
dsh plugin --profile web add dsh-file-manager

dsh plugin add pnpm-installs the package into the profile and reconciles it into the profile's bundle list. Restart the harness for it to take effect.

Requires VS Code code on PATH for "Open in VS Code"; if missing, that item reports an error but everything else still works.

Structure

dsh-file-manager/
├── package.json          # dual-face: dsh.bundle.patch (host bundle) + dsh.client (web client)
├── cordis.patch.yml      # - insert: [{id: file-manager, name: dsh-file-manager}]
├── lib/
│   ├── index.js          # HOST HALF (prebuilt) — /plugins/file-manager/* routes
│   └── client.js         # CLIENT HALF (prebuilt bundle) — __ModuleLoader__.load + React
└── README.md

Host half (lib/index.js)

inject: ['fs']. Registers routes (preferably via ctx.get('webServer') ?? ctx.get('httpServer')):

RouteMethodDescription
/plugins/file-manager/listGET ?path=List one directory level, sorted
/plugins/file-manager/searchGET ?root=&q=Recursive filename search, skips dense dirs
/plugins/file-manager/readGET ?path=Read text (up to 1 MB)
/plugins/file-manager/rawGET ?path=Stream arbitrary binary with correct MIME (pdf/html/image/video/audio)
/plugins/file-manager/downloadGET ?path=Download as attachment
/plugins/file-manager/writePOSTCreate-or-replace a file
/plugins/file-manager/renamePOSTRename / move
/plugins/file-manager/deletePOSTRecursive delete file/folder
/plugins/file-manager/mkdirPOSTCreate directory
/plugins/file-manager/touchPOSTCreate empty file
/plugins/file-manager/openPOSTOpen with the default OS app
/plugins/file-manager/revealPOSTReveal in the parent folder (OS app)
/plugins/file-manager/open-vscodePOSTOpen in VS Code (code)

Reads/writes go through ctx.fs (respects the provider/sandbox). Rename/delete/mkdir/touch/open are operations ctx.fs intentionally does not expose, so they use node:fs on paths the host owns (the client never joins path segments itself).

Client half (lib/client.js)

Prebuilt bundle following the contract window.__ModuleLoader__.load({id, factory}), require('react'), createElement (no JSX), and self-injected CSS. Registers:

slots.inject('shell.overlay', () => slots.register(
  { name: 'shell.overlay', id: 'file-manager', order: 90, label: 'file-manager' },
  (props) => react.createElement(ExplorerPanel, props),
));
slots.inject('conversation.session.header.actions', () => slots.register(
  { name: 'conversation.session.header.actions', id: 'file-manager-toggle', order: 30, label: 'file-manager' },
  (props) => react.createElement(ToggleButton, props),
));

The root is derived from the active workspace via the framework hooks (props.useWorkspaces / props.useSessions) and re-roots when the workspace changes.

Context menu

  • File: Preview · Edit · Copy path · Download · Rename… · Delete · Open with app · Reveal in Finder · Open in VS Code
  • Folder: Expand/Collapse · Copy path · Rename… · New file · New folder · Delete · Open with app · Reveal in Finder

Customization

  • Lock the workspace root: the host half always takes a path from the client (client picks root = workspace). To enforce a deployment-wide root, add a mountRoot config to the host half and gate paths against it.
  • Add more preview formats: extend the type dispatch in lib/client.js.
  • Rebuild the client: lib/client.js is currently a hand-authored prebuilt bundle. To build from TSX with the DSH pipeline, follow packages/client/tsdown.client.ts (clientBundle(...)) and export ./client => lib/client.js.

Security

  • The client only fetches the /plugins/file-manager/* routes from the origin / (the web server it was loaded from). The host half trusts the same connection fence as the GUI.
  • This is not intent-safe. The plugin runs with the privileges of the dsh process. Only install it in deployments you trust; exposing it remotely (--host) is discouraged because of the shared RCE surface.
  • Dense/generated directories (node_modules, dist, .git) are skipped during search to avoid hangs on huge trees.

License

MIT