Johnny-xuan/dsh-paste-to-path1

dsh-paste-to-path

A universal path-backed attachment dock for DeepSeek Harness.

AI 分析

核心用途是将长文本粘贴内容自动转换为 .txt 附件,并提供可编辑的附件管理栏。适合需要频繁向 DSH 投递大段文本或管理大体积附件的任务。

パッケージ
dsh-paste-to-path
バージョン
0.0.1
最終更新
2026/08/16

インストール

$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
OptionDefaultDescription
longTextAsAttachmenttrueSave long pasted text as a .txt attachment
longTextThreshold8000Character threshold for long-text conversion
maxBytes25 MiBMaximum size of one attachment
editableTextMaxBytes1 MiBMaximum 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.