hanbernate/dsh-save-button ↗★ 0
dsh-save-button
Download files delivered by `present` straight from the Web GUI delivery card — no SFTP, no extra tools. 适合需要从Web GUI直接下载文件而不想使用SFTP的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hanbernate/dsh-save-buttonドキュメント
README 全文を読む ↗Usage
The button sits to the right of the official Open button, one per delivered file:
| Action | Behavior |
|---|---|
| Download | first sends HEAD /api/download.button?sessionId=…&seq=…&index=… to probe availability, then hands the file to the browser's download manager with ``; the file name comes from the Host's Content-Disposition |
| Open | same as official: previews the file in the sidebar |
| ▾ menu | official actions: open in default app / open containing folder (Finder / File Explorer); disabled when the Host has no desktop |
| On failure | the reason is shown in place (e.g. "file is no longer in this session") and the same button retries |
| More than 4 files | the official collapse is preserved: All N files / Collapse |
Downloads are addressed only by the (sessionId, seq, index) triple — there is no path parameter — so the
only files that can be downloaded are the ones this session declared with present. Resolution, containment and
type checks, and chunked reads all happen in the Host half. See
doc/architecture.md (Chinese).