lumose0/dsh-file-reference-everything ↗★ 1
dsh-file-reference-everything
Whole-disk ctx.fileReferences provider for DeepSeek Harness: Everything-backed instant search with a bounded cross-platform fallback index, fuzzy matching, and regex queries
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lumose0/dsh-file-reference-everything说明文档
阅读完整 README ↗Configuration
| Key | Default | Contract |
|---|---|---|
maxResults | 20 | Maximum ranked candidates returned for one query. |
workspaceMaxEntries | 10000 | Maximum indexed files and directories per agent workspace. |
globalMaxEntries | 200000 | Maximum indexed files and directories in the whole-disk fallback index. |
excludedDirectories | [".git", "node_modules", "$Recycle.Bin", "System Volume Information", "Windows", "Program Files", "Program Files (x86)", "ProgramData", "AppData", ".cache", ".npm", ".pnpm-store", "Library", "proc", "sys", "dev"] | Directory basenames never traversed or offered by the fallback index. |
roots | [] | Whole-disk scan roots; empty selects automatic detection — every existing drive letter on Windows, the home directory elsewhere. |
esPath | unset | Explicit es.exe path; unset enables automatic detection (PATH, then common install locations). |
everythingTimeoutMs | 2000 | Timeout in milliseconds for one es.exe invocation; a timeout falls back to the built-in index. |
refreshSeconds | 600 | Seconds the whole-disk fallback index stays fresh before the next query triggers a lazy rebuild. |
workspaceBonus | 100 | Additive score keeping workspace candidates ahead of whole-disk hits in merged results. |
Override the row in the profile's cordis.patch.yml (applied after every bundle layer):
- id: file-reference-everything
name: dsh-file-reference-everything
config:
maxResults: 30
roots: ['C:/', 'D:/']
A patch replaces the row's entire config value rather than deep-merging keys, so restate every non-default key you want; keys you omit take the schema defaults above.