How it behaves
The picker searches the active workspace after @ is typed. Plain queries match filenames; queries containing / match ordered path segments, and a trailing slash searches within that path. ArrowRight enters a highlighted directory. Enter and pointer selection finish the reference. The picker indexes regular files and directories, skips symbolic links, and caches its index per session for 30 seconds.
Before an agent step starts, the Host validates the workspace-relative path. Absolute paths and paths escaping the workspace are ignored. The plugin adds a workspace-reference message containing the path and its kind, but does not open files or list directory contents. Clicking a reference calls host.openPath. Only user-authored text creates reference markers.
Configuration
Add configuration to the selected profile’s cordis.patch.yml, usually ~/.dsh/profiles/web/cordis.patch.yml.
| Key |
Behaviour |
maxIndexedFiles |
Maximum number of entries in the picker index. |
ignoreDirs |
Replaces the built-in excluded directory-name list. Set it to [] to index every directory. |
If ignoreDirs is omitted, the built-in exclusions remain in effect. They cover common version-control, IDE metadata, dependency, cache and build-output directories, plus several language and framework output directories.
File filters
Open Settings -> File mentions to edit global and workspace-specific rules. Exact matches a complete basename; Regex applies a JavaScript regular expression to the complete basename only. Case-sensitive is independent and off by default. Filters are applied during the Host index walk, before entries count towards maxIndexedFiles. Invalid regular expressions are rejected. Existing string values in ignoreFiles and workspace lists remain case-insensitive Exact rules.
Requirements and limits
Restart dsh web after installation or an update so the Host and browser client load the new version. The mechanism applies from 0.3.0. A manually entered @path can still reference an existing workspace path even when it exceeds maxIndexedFiles. An @path token cannot contain whitespace or another @. File inspection depends on session tools: DSH provides read for UTF-8 text and read_image for supported images, while PDF support depends on the session.
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub