dsh-reject-message
Manifest valid★ 1Take over the native DSH approval window and plan review card so a reject can carry a description the model will see.
dsh-reject-message
DeepSeek Harness Web 插件: 接管原生提权窗口和 plan 审查卡, 拒绝时可以填写描述, 模型会看到这段话.
原生审批点 "拒绝" 只会回一条固定的 rejected, 模型不知道为什么被拒. 本插件用同一张提权卡片接住这次询问, 点拒绝后切到同款拒绝窗口, 描述可选; 留空则行为和原生拒绝一样.
plan 审查卡原生没有输入框. 本插件同样接管 kind === 'plan-review', 点拒绝后可填写描述; 描述走 exit_plan_mode 的 Keep planning custom, 不是提权那条 post-execute.
效果
- 提权卡片的等待条, 标题, 工具详情, "拒绝" / "允许一次" 都按原生窗口排布.
- 点拒绝不会立刻结束审批, 而是进入拒绝窗口, 仍展示原来的原因和命令, 并多一个描述输入框.
- 确认拒绝后, Host 把描述追加到该次工具的错误结果, 并挂一条 plugin additionalContext.
- 返回可以回到提权窗口. 允许一次仍直接放行.
- plan 审查卡保留计划正文, 用原生 MarkdownText 渲染; "去聊天里说" / "确认执行" 仍直接结算; 点拒绝后可填描述, 留空等于原生 Keep planning.
安装
dsh plugin --profile web add azazo1/dsh-reject-message
固定版本:
dsh plugin --profile web add azazo1/dsh-reject-message#v0.1.0
本地目录:
dsh plugin --profile web add "link:$(pwd)"
装完重启 dsh web. 卸载: dsh plugin --profile web remove dsh-reject-message.
开发检查: just verify.
配置
cordis.patch.yml 行配置:
| 键 | 默认 | 说明 |
|---|---|---|
maxLength | 4000 | 拒绝描述最大字符数 |
实现
Client 以 conversation.composer 优先级 -1 抢在原生 ui-approval (priority: 1) 和 ui-user-questions (默认 0) 前面, 选中 kind === 'approval' 或标准二选一的 kind === 'plan-review'. 提权拒绝走 Host rejectMessage/record 和 tools/post-execute; plan 拒绝把描述放进 questions 答案的 custom. 审批和审查生命周期仍由原生 waterfall 负责.
Comments
Loading…
From the same category
by tt-a1i
Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 69.8k
↓ 3.5k/wk
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add @tt-a1i/archify-dshDeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 251/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby Tencent
Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
★ 28.9k
↓ 831/wk
NOASSERTION
Go
Sep 22, 2026
dsh plugin --profile web add @wxg-prc-cpg/dsh-weknoraby anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 28.5k
↓ 170/wk
MIT
TypeScript
Sep 22, 2026
dsh plugin --profile web add dsh-plugin-desktopby titanwings
Distilly — Distill how they think into reusable Skills for any Agent or Bot. Formerly Colleague Skill(原同事 Skill).
★ 25k
MIT
TypeScript
Sep 22, 2026
by Nagi-ovo
Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any websites, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;其中的提示词管理器可用于任意网站,如 DeepSeek
★ 20.1k
GPL-3.0
TypeScript
Sep 21, 2026