Seryta/dsh-file-mention ↗★ 0

dsh-file-mention

DSH Web 文件引用插件:@ 内联触发与 /file 命令双入口,模糊搜索会话工作区文件路径,pick 后插入 @相对路径 引用(引用自读,不注入内容) 适合需在输入框中快速引用工作区文件路径的 Web 用户,可配白名单

Package
dsh-file-mention
Compatibility
Unverified
Version
0.5.0
License
MIT
Last updated
Aug 14, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Seryta/dsh-file-mention

配置(环境变量,均可选)

变量默认说明
FILE_MENTION_ALLOWED_ROOTS不启用逗号分隔的允许搜索根目录(绝对路径)。设置后才启用白名单,白名单外的 root 返回 400;不设置则放行(与 host.listDirectory 的浏览暴露面一致)
FILE_MENTION_IGNORE_DIRS内置剪枝表追加剪枝目录 basename,逗号分隔
FILE_MENTION_MAX_FILES600000单次遍历收集文件数上限