dsh-paste-collapse
Run the following command in DeepSeek Harness:
dsh plugin install huenjie/dsh-paste-collapse
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install huenjie/dsh-paste-collapse to install the plugin, source available at https://github.com/huenjie/dsh-paste-collapse , then restart dsh web to activate.
About this plugin
Paste a few code snippets, log dumps, or config blocks into an AI input box and it quickly becomes an unreadable wall of text - hard to scan, hard to reference, hard to edit selectively. dsh-paste-collapse solves this by automatically collapsing multi-line pastes (or single lines of 100+ characters) into compact numbered tags, preserving cursor position and surrounding content so the input box stays visually clean.
Each collapsed tag ships with lightweight action chips: click to open a scrollable preview card; assign a custom name that updates the tag label in real time; or revert the tag back to plain text for further editing. To remove a block, simply delete the tag text. On send, every tag expands to the full original text for the model, wrapped only with minimal identifier lines and zero editorial commentary - no extra tool calls needed. Browser-side localStorage keeps up to 32 blocks (50,000 chars each) so tags and their numbers survive page refreshes; a Host-side in-memory cache provides a safety net, and nothing is written to disk.
Built for developers and AI-workflow users who regularly paste code comparisons, configuration fragments, or log excerpts into DSH. Multi-block content stays visually distinct with consistent numbering across input box and model side, while the plugin adds no explanatory prose to keep conversations clean.
Use Cases
- Paste multiple code snippets into the AI input box for side-by-side comparison
- Paste log dumps or config blocks then continue typing instructions
- Send several long-text blocks with consistent numbering to the model
Best For
- Developers who frequently paste long text into AI input fields
- Engineers editing multiple code snippets side by side
- AI-workflow users who value a clean, readable input box
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.