dsh-reject-message
Manifest valid★ 2Take 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
DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 109/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 11.2k
↓ 305.2k/wk
MIT
TypeScript
Nov 6, 2026
dsh plugin --profile web add dshmarketby Tencent
Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.
★ 10.1k
↓ 15.8k/wk
MIT
TypeScript
Nov 6, 2026
dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-pluginby superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 7.4k
NOASSERTION
Python
Nov 7, 2026
dsh plugin --profile web add treg-dshby yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
★ 7k
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby Q00
Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI, Gemini CLI, OpenCode,
★ 6.3k
MIT
Python
Nov 5, 2026