Johnny-xuan/dsh-paste-to-path ↗★ 5
dsh-paste-to-path
将原生附件系统桥接兼容至经典P2P工作流 适合需要使用经典路径式P2P工作流管理附件的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Johnny-xuan/dsh-paste-to-path說明文件
閱讀完整 README ↗Configuration
Version 0.0.7 exposes two primary choices:
| Option | Default | Description |
|---|---|---|
| Take over DSH Native attachments | Off | When 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 attachment | On | Converts 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.