dkjsiogu/dsh-file-path

dkjsiogu★ 0TypeScriptLast synced: 2026-08-15

Open on GitHub

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

README excerpt

dsh-file-path 中文说明 A DeepSeek Harness ( dsh ) plugin that lets the Web composer accept files and folders the built-in attachment path does not support — PDFs, archives, Office documents, large files, whole directories — by inserting their absolute paths as plain text instead of uploading them as message attachments. This is a community plugin. It is not an official DeepSeek plugin and is not affiliated with or endorsed by DeepSeek. Why dsh's version-one attachment path accepts PNG, JPEG, WebP, and GIF only. Dropping a PDF into the composer currently announces "only images are supported" and drops the file. Browsers do not expose the absolute host path of a dragged File for security reasons, so a web page cannot read the path out of the drag event — even when the page is served by a local CLI. dsh-file-path recovers the original path using the local dsh host itself: 1. You drag or paste a non-image file into the composer. 2. The browser half computes the file's SHA-256 and calls the local filePathBridge/resolvePath RPC on the dsh process. 3. The host half searches the session workspace and configured roots ( by default) for a same-name, same-size, same-hash file and returns its orig…

View full README on GitHub →
Tools / Devdeepseek-harnessdsh-pluginfile-attachments

Category