starstorm-ai/dsh-file-manager ↗★ 0

dsh-file-manager

Workspace-scoped Monaco file manager for DeepSeek Harness 适合需要在浏览器中直接浏览、编辑工作区代码和文件的用户。

Package
dsh-file-manager
Compatibility
Unverified
Harness peer range
workspace:^
Cordis peer range
workspace:^
Version
0.1.0
License
MIT
Last updated
Sep 15, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:starstorm-ai/dsh-file-manager

Bundle 与配置

package.json 通过 dsh.bundle.patch 声明包内的 cordis.patch.yml。执行 dsh plugin --profile web add ... 后,DSH 会把 dsh-file-manager 加入 dsh.profile.bundles,并插入:

- insert:
    - id: file-manager
      name: dsh-file-manager

可以在更晚的 Profile patch 中覆盖 file-manager 条目:

- id: file-manager
  config:
    maxFileBytes: 4194304
    maxEntriesPerDirectory: 3000
    showHiddenByDefault: true
    editable: true
字段默认值用途
maxFileBytes2097152(2 MiB)单次完整读取和保存的 Host 硬上限
maxEntriesPerDirectory2000单层目录最多返回的可见条目数
showHiddenByDefaultfalse是否默认显示点文件
editabletrue设为 false 后只允许浏览和查看

Cordis patch 会替换该 row 的完整 config,不会深度合并,所以覆盖时应写全需要保留的字段。

端口已占用或 Windows 提示文件正在使用

先在运行 DSH Web 的终端按 Ctrl+C,再执行 pnpm dev、pnpm dev:install 或 pnpm dev:remove。这些命令会调整隔离 Profile 的依赖,不应与运行中的 Web 同时执行。