dsh-claude-antidote
Manifest validCompatibility antidote for dsh-claude-ux: keep its risk-control UI visibly enabled while neutralizing the actual debuffs.
dsh-claude-antidote(Claude 解药)
一个专门兼容 eri64/dsh-claude-ux 的 DeepSeek Harness Web 插件:允许两个插件同时安装,让设置页继续显示「Claude 风控:已启用」,但中和它带来的区域拒绝、辱骂关对话、额外分类请求、系统提示注入和 Chat ended 输入框接管。
简单说:灯是亮的,线是拔的。Claude 风控自信上班,实际上没有门禁卡。
修复内容
- 浏览器里精确伪装
/_dsh/claude/status:设置页始终看到总开关为开启;点击保存也会正常回显开启。 - 保存请求到达宿主前会把唯一的真实总开关改回
false;阈值、文案、模型选择等其他字段照常保存。 - bundle 层保留区域封锁、辱骂风控、分类模式和隐写的上游默认外观,但真实总开关为关闭;分类 LLM、WebRTC/IP 检测和提示词强制仍有独立保险。
- 精确拦截
purpose: dsh-claude-classify的旁路分类请求,本地返回全否结果,不消耗模型 token。 - 删除上游命名的
claude:geo和claude:region-policy系统提示节,并恢复日期隐写格式。 - 当前端看到上游
chatEnded投影时,以priority: -100抢先命中 takeover chain,并显示 DSH 一直保留在后台的原生输入框。 - 若只读配置或启动竞态让上游短暂生效,识别其固定合成回复并重新调用真实模型。
不会删除或改写历史会话事件。已经出现过的拒绝文案/blocked 记录仍留在时间线中,只恢复后续输入与回复。
安装
先安装原插件,再从 GitHub 安装解药:
npx -y @deepseek-ai/dsh plugin --profile web add github:eri64/dsh-claude-ux
npx -y @deepseek-ai/dsh plugin --profile web add github:FolioTemp/dsh-claude-antidote
然后重启 dsh web,浏览器硬刷新。安装顺序很重要:解药的 bundle patch 需要在 claude 条目之后应用。
开发时也可以直接安装本地目录:
npx -y @deepseek-ai/dsh plugin --profile web add "$PWD\dsh-claude-antidote"
验证
npm test
启动后主机日志应包含:
[dsh-claude-antidote] active
[dsh-claude-antidote] upstream disabled (startup)
原插件的「Claude 风控」设置页应显示总开关为开启。不过在浏览器外直接请求诊断接口时,settings.value.enabled 应仍为 false——这是实际执行值,也是验证伪装没有漏电的最直接方法:
curl.exe --noproxy "*" http://127.0.0.1:3099/_dsh/claude/status
打开一条曾显示 Chat ended 的会话时,原生输入框应重新出现。
卸载 / 恢复原行为
移除 dsh-claude-antidote 后,设置页会重新显示真实的关闭状态;手动打开「Claude 风控」总开关即可恢复原插件行为。解药卸载时不会自动重新启用上游插件,避免一次卸载操作突然恢复区域封锁或结束对话。
兼容范围
- 已按
dsh-claude-ux@1.0.0的公开 hook、purpose、投影 key、状态路由和 UI slot 行为编写。 - 状态伪装只作用于浏览器中同源、路径精确匹配的
/_dsh/claude/status;不会修改其他插件的fetch请求。 - DeepSeek Harness 当前处于 developer preview;若宿主改变
conversation.composeroverlay 或 waterfall API,需要更新前端恢复层。 - 精确命名匹配避免影响其他风控、审批或安全插件;普通
reject、普通 LLM 流和其他系统提示节保持原样。
License
MIT
Comments
Loading…
From the same category
by kingcharleslzy-ai
Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.
★ 9.3k
MIT
JavaScript
Nov 16, 2026
dsh plugin --profile web add dsh-purge-communityby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 7.8k
↓ 19.2k/wk
MIT
TypeScript
Nov 17, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby mmparko
DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。
★ 5.2k
↓ 19.5k/wk
MIT
JavaScript
Oct 13, 2026
dsh plugin --profile web add dsh-purgeby 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.2k
↓ 127.5k/wk
Apache-2.0
TypeScript
Nov 16, 2026
dsh plugin --profile web add dsh-contextby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.8k
↓ 519/wk
Apache-2.0
TypeScript
Nov 17, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
★ 1.4k
↓ 10.5k/wk
MIT
JavaScript
Nov 12, 2026
dsh plugin --profile web add dsh-bili-scroll