tipoLi5890/dsh-file-mention0

dsh-file-mention

DSH Web 编辑器插件:支持通过 '@' 提及文件或拖放文件,将其插入为带 '@' 前缀的工作区相对(或绝对)路径文本,以便 Agent 读取。

AI 分析

核心用途是简化向 Agent 引用本地文件路径的操作。适合需要频繁让 Agent 阅读、修改特定代码文件或文档的开发用户。

套件
dsh-file-mention
版本
0.3.0
授權
MIT
最近更新
2026年8月18日

安裝

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

Usage

In the composer:

ActionResult
Type @Menu opens with a default workspace file list
Type @readmeMatches README.md; picking inserts @README.md
Type @lib/clScoped to lib/; description shows lib, picking inserts @lib/client.js
Type @/etc/hoOutside path; description shows /etc, picking inserts @/etc/hosts
Type @~/Downloads/rep or @../sib/fOutside path; inserts the absolute path
Arrow keys + TabAccept the highlighted candidate without clicking
Drop a non-image fileUploads 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.