Johnny-xuan/dsh-paste-to-path ↗★ 1
dsh-paste-to-path
A universal path-backed attachment dock for DeepSeek Harness.
AI 分析
核心用途是将长文本粘贴内容自动转换为 .txt 附件,并提供可编辑的附件管理栏。适合需要频繁向 DSH 投递大段文本或管理大体积附件的任务。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Johnny-xuan/dsh-paste-to-pathドキュメント
README 全文を読む ↗Configuration
Default configuration is provided by cordis.patch.yml:
- insert:
- id: paste-to-path
name: dsh-paste-to-path
config:
longTextAsAttachment: true
longTextThreshold: 8000
maxBytes: 26214400
editableTextMaxBytes: 1048576
| Option | Default | Description |
|---|---|---|
longTextAsAttachment | true | Save long pasted text as a .txt attachment |
longTextThreshold | 8000 | Character threshold for long-text conversion |
maxBytes | 25 MiB | Maximum size of one attachment |
editableTextMaxBytes | 1 MiB | Maximum text-file size editable in the Dock |
On a local DSH Web deployment, these values are also available under Settings → Plugins → Paste to Path. Changes are persisted through DSH settings and apply without restarting the plugin. The reset button returns all four values to the profile defaults shown above.
The attachment Dock, notifications, and settings card follow DSH's Language preference and include English and Simplified Chinese. The path instructions serialized for the Agent remain stable English protocol text and do not change with the UI language.
The settings card is intentionally local-only. When the Web UI connects to a remote DSH Host, configure the paste-to-path entry in that profile's cordis.patch.yml instead. Attachment handling remains active with the Host-provided configuration even when the settings card is unavailable.