tipoLi5890/dsh-file-mention ↗★ 0
dsh-file-mention
DSH Web composer plugin: '@' file mentions and drag-drop files inserted as workspace-relative (or absolute) '@'-prefixed path text so the agent reads them with its own tools
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tipoLi5890/dsh-file-mention说明文档
阅读完整 README ↗Usage
In the composer:
| Action | Result |
|---|---|
Type @ | Menu opens with a default workspace file list |
Type @readme | Matches README.md; picking inserts @README.md |
Type @lib/cl | Scoped to lib/; description shows lib, picking inserts @lib/client.js |
Type @/etc/ho | Outside path; description shows /etc, picking inserts @/etc/hosts |
Type @~/Downloads/rep or @../sib/f | Outside path; inserts the absolute path |
| Arrow keys + Tab | Accept the highlighted candidate without clicking |
| Drop a non-image file | Uploads and inserts @ |
The path is plain text. On send, the agent resolves a relative path against its session cwd (the workspace) and reads absolute paths directly.