dsh-black-curtain
Manifest validRenders text wrapped in a pair of double tildes as a moegirl-style black bar that reveals on hover or long press. Applies to assistant markdown and to plain-text user messages, and does not change the
黑幕
DeepSeek Harness Web 界面里的萌娘百科式黑幕。灵感来源自萌娘百科,本插件由Deepseek负责编写,我负责许愿。以下是说明文档。
安装
这是 1.0.0,只从 GitHub 安装,没有发布到 npm。
- DSH 桌面端进插件页,点 Add plugin。
- 粘贴仓库地址
https://github.com/Yamashigure/dsh-black-curtain,或者下载 Release 里的.tgz,把它的绝对路径填进去。 - 点 Install,装好之后点 Enable now。
装完在「设置 → 黑幕」里调样式和开关。
写法
在回复里把想藏起来的字写进一对波浪线:
~~先藏起来的话~~
渲染出来是一块黑条,鼠标移上去(触屏按住)才露出字来。黑条的长度就是被藏那段字的长度。
助手回复走 markdown,~~ 本来就是删除线,插件把那道删除线换成了黑幕。用户消息是纯文本,不经过 markdown,所以那一边由插件自己切分波浪线、自己画黑条。两边的规则一样。
跟着鼠标的那句话
鼠标停在黑幕上时,会有一句「是你自己要看的」跟在指针旁边。指针靠近窗口边缘时会自动翻到另一侧,不会跑出屏幕。
触屏上按住也能看到;抬手就散。设置页里可以把它关掉,关掉之后黑幕照旧。
模型这边
插件还会往系统提示里加一句约定:用户消息里被 ~~ 围住的内容是黑幕。模型看得到原文,但要当成写给读者看的注释——不复述、不引用、不回答里面的内容。
它可以对这块遮罩有反应:好奇、追问、有点不安,忍不住时承认自己偷看过也行,只要不把原文端出来。不是每次都这样,看当下的语气。
这条约定随插件走,换会话也在。它住在 Host 那一半,插件重新加载后就会进提示词。
只针对用户消息。助手回复里的黑幕,本来就是写给你看的。
设置
「设置 → 黑幕」:
- 开关:关掉后全部变回普通的删除线文字。
- 遮罩样式:黑幕(实心黑条)或模糊。
- 生效范围:默认双方消息都盖;想只盖助手回复,就选上面那项。
- 跟一句吐槽:控制那只跟着鼠标的小气泡。
偏好写在 cookie 里,localStorage 存一份副本。Host 每次启动可能换端口,localStorage 按端口分家,换了就丢;cookie 只认机器,换端口还在。
说明
- 助手那边的黑幕是纯 CSS:不写 DOM、不替换消息渲染器,流式输出时不会重排或抖动。
- 用户消息那边注册了一个 UserText 匹配器和一个文本渲染器:匹配器只切出
~~…~~,渲染器在关闭或只盖助手时原样吐出原文,所以不会改变消息内容和复制结果。 - 吐槽气泡是一个固定定位的元素,监听指针事件,只画在自己的框里;它不拦截点击,也不会挡住下面那块黑幕。
- 深色主题下黑条会多一圈细边,免得和背景糊在一起。
- 打印时黑幕自动揭开。
- 代码块和行内代码里的波浪线不参与。
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.0.0 | — | — |
Comments
Loading…
From the same category
by anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 36.7k
↓ 103/wk
MIT
TypeScript
Nov 24, 2026
dsh plugin --profile web add dsh-plugin-desktopby zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 10.6k
↓ 105/wk
Apache-2.0
TypeScript
Nov 24, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 10.4k
↓ 105/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby PC2005-cloud
DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物
★ 6.7k
↓ 68.7k/wk
MIT
TypeScript
Nov 17, 2026
dsh plugin --profile web add dsh-petby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 5.5k
↓ 115.8k/wk
Apache-2.0
TypeScript
Nov 24, 2026
dsh plugin --profile web add dsh-contextby omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 5.3k
↓ 79.5k/wk
MIT
TypeScript
Nov 21, 2026
dsh plugin --profile web add dsh-better-sidebar