dsh-file-path
DeepSeek Harness 插件:支持将不支持的文件拖入输入框,将其作为工作区路径引用插入。
AI 分析
核心用途是快速引用非图片文件的本地路径。适合需要让智能体通过路径读取本地文档或代码文件的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dkjsiogu/dsh-file-path說明文件
閱讀完整 README ↗Usage
- Drag or paste a non-image file anywhere on the page. The import dialog lists the file and the target location, then "Import and insert paths" copies it into the workspace and inserts its path.
- Click the paperclip button in the composer tool row to insert a manually typed path (absolute or relative to the session workspace).
- Supported images (PNG/JPEG/WebP/GIF) keep the normal dsh image behavior. A mixed drop routes images to the default composer intake and opens the import dialog only for the rest.
Configuration
The bundle patch inserts one host row. Override its config in the profile's
cordis.patch.yml or any later layer:
- id: file-path
config:
importSubdir: .dsh-files # single relative directory segment
maxFileBytes: 104857600 # decoded bytes per imported file
importSubdirmust be one relative segment (no/,\,..). Invalid values fail the plugin load loudly.maxFileBytesis a positive integer. The browser half shows oversized files before upload; the host enforces the same limit authoritatively.