dsh-paste-code-block
Cherry Studio 式粘贴:把多行/缩进/围栏文本或代码粘进 DSH Web 输入框时收成带边框、可折叠、带语言标签的卡片,发送时还原为围栏代码块。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 否
- 近月下载
- 1,702
- 最近推送
- 20 天前更新
项目说明
From README
dsh-paste-code-block Cherry Studio‑style text/code block pasting for DeepSeek Harness Web Paste long code or text into the DSH Web composer → it lands as a bordered, collapsible, language‑tagged card instead of a wall of text.Names follow the DSH interface language (中文 / English).
On send, the original content is restored as a fenced code block — and in the conversation it stays folded into click‑to‑expand cards, so your bubbles never become text walls again.
English 简体中文 Why Copying a 200‑line stack trace, an API response, or a long log into a chat input turns the composer into an unreadable blob.
This plugin folds any qualifying paste into a chip (built on DSH's own hidden‑reference mechanism, the same one file uploads use) plus an editing detail card — the draft stays clean, and the content stays fully editable and restorable.Features - 🧩 Auto block detection — pasted text with fen
Original description
Cherry Studio-style paste for DeepSeek Harness Web: long code/text collapses into a tidy, collapsible, language-tagged card — localized names (中文/English), in-card editing, one-click × remove, fenced-code restore on send.
安装方式
npm 包安装 · 安装无需配置
dsh plugin --profile web add dsh-paste-code-blockdsh plugin --profile web add github:cjm-m/dsh-paste-code-block # from GitHubdsh plugin --profile web add file:/path/to/dsh-paste-code-block # from a local folder为什么是这个分数
近 20 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1702 次,star 不多但真在被使用。
- 维护活跃
- 86
- 实用度
- 88
- 生态热度
- 65
- 上手便捷
- 100
- 信号质量
- 100
- 数据置信度
- 100%
相关插件
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。
dsh-status-rotator
01Virex/dsh-status-rotator
把 dsh 回合状态行换成 1059 条中英文案的轮播:打字机输出、流动彩虹渐变、弹幕、12 个可开关的主题词库包、实时占位符与标签页标题轮换。两个 star 包默认关闭;星标者包每位星标者一条文案,由工作流每周刷新。
dsh-context-guard
2JumpSinA/dsh-context-guard
长会话越跑越贵,平台到点还会把上下文压掉。这个插件做三件事:在会话标题旁显示当前上下文占了多少,鼠标停上去能看到这个数是怎么来的;过 45% 时往工作目录的 HANDOVER.md 写一份交接草稿,记下改过哪些文件、花了多少钱、最近几轮在聊什么;到 60% 提醒你一次该收尾了。平台压缩发生时,它把压缩前的数字记一行,事后还查得到。不调用模型,也不改动对话内容。它不阻止压缩,拿不回已经被压掉的部分。