lumose0/dsh-file-reference-everything1

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

包名
dsh-file-reference-everything
版本
0.1.0
许可证
MIT
最近更新
2026年8月28日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lumose0/dsh-file-reference-everything

Configuration

KeyDefaultContract
maxResults20Maximum ranked candidates returned for one query.
workspaceMaxEntries10000Maximum indexed files and directories per agent workspace.
globalMaxEntries200000Maximum 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.
esPathunsetExplicit es.exe path; unset enables automatic detection (PATH, then common install locations).
everythingTimeoutMs2000Timeout in milliseconds for one es.exe invocation; a timeout falls back to the built-in index.
refreshSeconds600Seconds the whole-disk fallback index stays fresh before the next query triggers a lazy rebuild.
workspaceBonus100Additive 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.