tipoLi5890/dsh-file-mention0

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

AI Analysis

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

Package
dsh-file-mention
Version
0.3.0
License
MIT
Last updated
Aug 18, 2026

Install

$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.