dsh-workspace-view
DeepSeek Harness workspace file-tree drawer plugin
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:N5Tar/dsh-workspace-view说明文档
阅读完整 README ↗配置
插件配置位于 cordis.patch.yml:
- insert:
- id: workspace-view
name: dsh-workspace-view
config:
maxEntries: 500
maxScannedEntries: 10000
ignoredNames:
- .git
- node_modules
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
maxEntries | number | 500 | 1–5000 | 每层最多返回给 Client 的条目数 |
maxScannedEntries | number | 10000 | 1–50000 | Host 每层最多扫描的目录项数量,用于限制超大目录的 CPU 与内存消耗 |
ignoredNames | string[] | ['.git', 'node_modules'] | — | Host 完全忽略的文件或目录名称 |
ignoredNames 与隐藏文件开关的行为不同:
- 被
ignoredNames匹配的条目不会由 Host 返回。 - 其他点文件仍会返回,但默认在界面中隐藏,可通过抽屉工具栏切换显示。
当扫描或返回结果超过上限时,Client 会在对应目录层级显示截断提示。