Johnny-xuan/dsh-paste-to-path ↗★ 5

dsh-paste-to-path

The final compatibility bridge between DSH Native attachments and the classic path-backed P2P workflow. 适合需要使用经典路径式P2P工作流管理附件的用户。

Package
dsh-paste-to-path
Compatibility
Unverified
Harness peer range
>=0.1.5-rc.1 <0.2.0
Version
0.0.7
Last updated
Sep 20, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Johnny-xuan/dsh-paste-to-path

Configuration

Version 0.0.7 exposes two primary choices:

OptionDefaultDescription
Take over DSH Native attachmentsOffWhen enabled, files, images, paste, drop, the picker, and the attachment Dock all use classic P2P. When disabled, ordinary attachments stay entirely with DSH Native.
Turn long pasted text into an attachmentOnConverts qualifying plain-text pastes into .txt attachments. This works with either attachment owner.

The long-text character threshold is a subordinate setting of the second option. It defaults to 8000 and remains editable from the plugin settings page.

The corresponding profile defaults are:

- insert:
    - id: paste-to-path
      name: dsh-paste-to-path
      config:
        takeOverNativeAttachments: false
        longTextAsAttachment: true
        longTextThreshold: 8000

With takeover off, P2P does not register its file picker or Dock and does not consume ordinary file paste or drop events. With takeover on, the complete classic workflow described in this README becomes active.

The settings UI follows DSH's Language preference and includes English and Simplified Chinese. Path instructions sent to the Agent remain stable English protocol text.