dsh-at-file
Workspace file references for DeepSeek Harness: pick a file with '@' and inject its content into the model context 适合需在提示中引用工作区文件的用户,输入 @ 即可选择并注入内容。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MisRightW/dsh-at-fileREADME
Read the full README ↗Usage
- Open a session in the web GUI and pick a workspace directory.
- Type
@in the composer — a Files group lists workspace files (the group title shows asfileuntil the harness localizes it). - Filter by basename (
@main), path prefix (@src/m), or substring; arrow keys + Enter pick. - Send the prompt. Every
@pathtoken naming a readable regular file expands host-side into an injected `` content block appended to the model request; unresolvable or oversized tokens stay plain prose.
The literal @path stays in the prompt, and the injected message is recorded on the session log with an at-file source, so the model input is reconstructable from the log.
Configuration
The host half reads a validated Config (patchable from the profile's cordis.patch.yml):
| Key | Default | Meaning |
|---|---|---|
maxFiles | 1000 | Maximum index rows per list call |
maxDepth | 8 | Maximum directory depth walked |
maxBytes | 65536 | Per-file injection cap; larger files are not indexed |
maxReferences | 8 | Maximum references expanded per pre-step |
skipDirectories | .git, node_modules, dist, build, out, coverage, __pycache__, .venv | Directory basenames never indexed (case-insensitive) |