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的用户。

패키지
dsh-save-button
호환성
미검증
버전
0.1.2
라이선스
MIT
최근 업데이트
2026. 9. 27.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hanbernate/dsh-save-button

Usage

The button sits to the right of the official Open button, one per delivered file:

ActionBehavior
Downloadfirst 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
Opensame as official: previews the file in the sidebar
▾ menuofficial actions: open in default app / open containing folder (Finder / File Explorer); disabled when the Host has no desktop
On failurethe reason is shown in place (e.g. "file is no longer in this session") and the same button retries
More than 4 filesthe 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).