dsh-drag-path
拖拽非图片文件/文件夹自动定位并插入绝对路径的 DSH 网页端插件
AI 分析
核心用途是允许用户直接将任意非图片文件或文件夹拖入 DSH 网页端,自动将其绝对路径插入输入框。适合需要频繁在对话中引用本地文件路径的开发与办公任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Rudyy898/dsh-drag-path说明文档
阅读完整 README ↗使用 / Usage
直接从 Finder/资源管理器把文件或文件夹拖到 DSH 页面任意位置:
- 唯一命中 → 绝对路径直接插入输入框:
/Users/you/Downloads/project.xlsx - 同名多候选 → 弹出选择器,点选正确的路径
- 找不到 → 插入文件名(控制台有提示)
Drag any file or folder onto the DSH page:
- Unique hit → absolute path inserted:
/Users/you/Downloads/project.xlsx - Name collision → a picker lists the candidates, click the right one
- Not found → filename inserted (console logs the reason)
配置 / Configuration
无需配置。所有行为开箱即用。
No configuration needed.