DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-plan-preset

2

dsh-plan-preset

Manifest valid

Plan Mode Mental Model Mapping: read-only permissions display as "Plan", approval policy is never (rejection is final, no permission requests allowed), files are read-only + web search is available.

hasBundlePatchMachine translated

dsh-plan-preset

把 DSH Web UI 的 read-only 权限预设映射为 opencode 风格的 Plan 模式。

效果

项值
显示名访问模式控件显示 "Plan"(原 "Read Only";图标仍为盾牌)
文件只读 — 读取全盘放行,写/删/改全部拒绝
网络搜索可用 — web_search 与文件沙箱解耦,不受模式影响
权限申请禁止 — 审批策略 never,任何权限升级请求自动拒绝(denial is final)
工作流只能问答调研 → 产出计划(exit_plan_mode 呈现)→ 用户批准后手动切换权限模式再开工

实现

纯组合补丁,零运行时代码:

  • cordis.patch.yml target permission 行(dsh-base),覆盖 read-only 预设: sandbox: read-only + approval: never + name: Plan
  • 其余预设(workspace-write / danger-full-access)原样重述,不受影响

安装 / 生效

  1. profiles/web/package.json:dependencies 加 "dsh-plan-preset": "file:E:/agent/deepseek_harness/Plugins/dsh-plan-preset",dsh.profile.bundles 加 "dsh-plan-preset"
  2. cd profiles/web && pnpm install
  3. 重启 dsh web

⚠️ 升级核对

Cordis patch 整行覆盖 config。若 dsh 升级后 permission 行的默认预设 发生变化(新增预设、字段调整),本文件会遮蔽新配置——升级后请运行 dsh --profile web --dump-config 核对 permission 行。

验证

dsh --profile web --dump-config   # permission 行应含 read-only.name=Plan / approval=never

Comments

Loading…

Similar plugins

dsh-approval-mode

by NEVSTOP-LAB

DSH 审批模式插件,在 DSH 窗口的权限下拉框(Read Only / Workspace Write / Full Access)旁边加一个「审批模式」按钮,在 Workspace Write 模式下工具调用自动放行

Security & AuditManifest valid

★ 9

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-approval-mode

by AkotaP

DSH web plugin: a Model Capabilities page in Settings — manage per-model Context Window, Max Output, Input Modalities and Reasoning Levels (Default = drop the field), plus global preset lists.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 28, 2026

dsh plugin --profile web add dsh-model-tweaks

by yexi-by

DeepSeek Harness Web 可开关破限提示词插件,支持多模式、子代理和锚点兼容检查。

Just for FunManifest valid

★ 651

MIT

JavaScript

Nov 5, 2026

dsh plugin --profile web add dsh-unrestricted

by Jorgen233

给 DSH 权限审批弹窗加一个可选的拒绝原因,并把原因作为 tool result 交给模型。

Security & AuditManifest valid

★ 1

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add dsh-why-reject-me

by zhangyy0423

dsh plugin: per-turn receipts (todo counts, goal id, fail-closed plan verdict) that survive the next turn, plus a read-only veripipe_receipt tool.

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-veripipe

by fengzhiyushui

DSH 思考强度策略插件:在模型已有档位之上决定每次请求用哪一档,可观测、可回滚。

Development & InfrastructureManifest valid

★ 0

MIT

TypeScript

Nov 7, 2026

dsh plugin --profile web add dsh-think-intensity