dsh-collapse-paste: Multi-line paste and long message collapse, full text preserved on send
dsh-collapse-paste is a DSH client-side UI plugin maintained by Mrsong123456. It collapses multi-line text pasted into input boxes and lengthy sent user messages into compact inline tags within the interface, while ensuring the content transmitted to the model remains the complete original text. The plugin supports installation via npm and GitHub, features an adjustable threshold on the settings page, and stores configurations in localStorage without making any network requests. It has been validated on DSH Desktop 0.2.1-rc.2. Depending on Lexical and the message area DOM, it fails open gracefully if the DOM structure does not match. The project is released under the MIT License, with the current version being 0.2.4.
Read More