boundless2619/dsh-paste-path

boundless2619★ 1JavaScriptLast synced: 2026-08-15

Open on GitHub

DSH 插件:复制文件后粘贴到聊天框,自动插入真实绝对路径(类似 codex cli)。

README excerpt

dsh-paste-path A DSH (DeepSeek Harness) plugin: copy a file in Windows Explorer, paste it into the DSH chat input, and its real absolute path is inserted automatically — the Codex-style file reference flow, without leaving the browser. Why this exists Browsers never expose the real absolute path of a pasted file — clipboardData.files[].name only gives the basename, by security design. Codex can show full paths because it runs in a terminal, not a browser. This plugin works around that with a simple trick: at paste time, the host half reads the Windows clipboard's file drop list ( Get-Clipboard -Format FileDropList via PowerShell). When you Ctrl+C a file in Explorer, the clipboard keeps the full path list — so the host can recover the real absolute paths and send them back to the browser. Requirements Thing Requirement OS Windows (uses PowerShell Get-Clipboard ) Browser Chromium-based (Edge / Chrome) DSH Web GUI running on the same machine & Windows session as the files Note DSH backend must be on the same PC as the browser (localhost setup works) Install & use This is a dynamic Cordis plugin — no npm install needed; it lives for the current session (reload after a DSH restart if yo…

View full README on GitHub →
Terminal / TUIdeepseek-harnessdshdsh-plugindsh-pluginsterminal

Category