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
F

@lijian-ui/dsh-file-manager

File Manager

DSH Web GUI 右侧面板系统:以像素级还原的方式重新实现 FileManager 的 Explorer + Preview 列(文件树、文件名搜索、Git 更改、支持 10+ 格式的多标签预览),由主机端真实的 fs/git 服务驱动,可通过 profile bundle 热插拔,无需更改任何 dsh 源代码

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

npx -y @deepseek-ai/dsh plugin --profile web add github:lijian-ui/dsh-file-manager#d981ed098b0245de2d8bec78c452f6b580f9043b
README兼容性版本

兼容性与来源证明

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

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

版本

0.2.4stable
2026/9/3

相关插件

正在加载相关插件…

最新版
0.2.4
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
Apache-2.0
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/3
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序Plus@sparkelf/dsh-plusDeepSeek Harness Plus official-base Web 分发配置文件和范围兼容性补丁集

README

dsh-file-manager — Right-panel file manager + @ file references for the DSH web GUI

English | 中文 (README.zh.md)

A plugin for the DeepSeek Harness desktop shell (dsh web): an Explorer file panel + Preview panel on the right of the chat area (a pixel-faithful re-implementation of FileManager, Apache-2.0 reference, not a copy), plus @ file references in the composer (tree multi-select modal + in-composer chips with line numbers). Everything is driven by the real filesystem and real git — no mocks.

Features

Right panels

  • Explorer (rightmost column): Files / Changes tabs.
    • File tree: click to expand/collapse folders, open files; filename search on top (150ms debounce, click-to-locate).
    • Git changes: real git status (porcelain v1 -z) with stage / unstage / discard (untracked → delete, tracked → restore; batch discard requires confirmation).
    • Tree context menu: copy path, copy name, reveal in file manager, open with default app, rename, new file, new folder, delete (double-confirmed).
    • Drag a file row into the composer to insert its relative path into the draft.
  • Preview (second-right column): multi-tab preview for markdown / html / code / diff / csv / pdf / word / excel / ppt / image / text / url. Source/preview toggle, split editing (persisted ratio), save (mtime conflict detection), download, refresh, middle-click close, right-click batch close.
  • Mermaid: ```mermaid blocks in markdown preview render as charts; the runtime ships inside the plugin (same-origin, offline-capable, follows the theme).
  • Dark/light themes, per-project persisted preferences, master switch (Settings → Web UI plugins).

@ file references (highlight)

Typing @ in the composer opens a pi-desktop-style tree multi-select modal (lazy directory tree + filename search + checkboxes):

  • Picked files/directories land as in-composer chips (green </> glyph + basename + line range); the reference text stays hidden and is only serialized to @<relative-path>:<lines> plain text on send.
  • Line numbers: a full-file reference carries the file's line count (@path:1-N); selecting a code range in the preview and clicking Add to chat produces a chip with just that range (@path:start-end).
  • Chips are native dsh reference objects (not text decoration): Backspace deletes the whole chip, copy/paste keeps semantics, submit serializes through the plugin's registered file reference codec.
  • Directory references use plain @path/ text (no line concept).

Install

# From npm (once published)
dsh plugin --profile web add @lijian-ui/dsh-file-manager

# Direct link from this repo (dev/onboarding; lib/ is committed, clone-and-use)
git clone https://github.com/lijian-ui/dsh-file-manager.git
cd dsh-file-manager
dsh plugin --profile web add link:$(pwd)

Restart dsh web after installing; open a project session to see the panels, and type @ in the composer for file references.

The desktop shell (dsh-desktop) develops against this via a local symlink (node_modules/@lijian-ui/dsh-file-manager → extensions/file-manager); after editing the source, npm run build regenerates lib/, then restart dev.

Architecture

  • Host half (src/index.ts + src/host/): a cordis plugin exposing /filemgr/* HTTP routes — directory listing, file read (80k char text cap / image data URLs), write (mtime conflict detection), filename search, git status / stage / unstage / discard, and an SSE change stream. Every operation passes a workspace gate (realpath normalization + prefix check) and is loopback-only.
  • Browser half (src/client/): framework-free state core (store.ts), drag engine (drag.ts), DOM layout controller (layout.ts — appends panel tracks to the shell's 3-column grid), React components (explorer / scm / preview / picker).
    • picker/FilePickerModal.tsx — the @ tree multi-select modal (bridge + modal; opens on a bare @ in the composer).
    • file-source.ts — registers the file input-trigger source (codec only; inert in the trigger menu).
    • reference.ts — chip insertion (slash/input-insert-reference bail; @path:lines serialization).
    • preview/selection.ts — preview selection → line-range mapping.
    • styles/chip.module.css — chip visuals (muted rounded pill + green </> glyph, global override of [data-decoration="chip"]).
  • Workflow: after editing, npm run build (regenerates lib/) AND a dev restart are both required — neither substitutes for the other.

Build

npm install
npm run build      # tsc -b + tsdown → lib/
npm run test       # vitest

Attribution

This project is a re-implementation of FileManager (iOfficeAI/FileManager, Apache-2.0): dimensions, colors, motion, and interaction parameters were measured from v2.1.53; the implementation is new code and does not reproduce upstream source. Upstream copyright belongs to the FileManager project; this project retains attribution per the Apache-2.0 license.