dkjsiogu/dsh-file-path0

dsh-file-path

DeepSeek Harness plugin: drag unsupported files into the composer as workspace path references

AI 分析

核心用途是快速引用非图片文件的本地路径。适合需要让智能体通过路径读取本地文档或代码文件的用户。

パッケージ
dsh-file-path
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/15

インストール

$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
  • importSubdir must be one relative segment (no /, \, ..). Invalid values fail the plugin load loudly.
  • maxFileBytes is a positive integer. The browser half shows oversized files before upload; the host enforces the same limit authoritatively.