DeepSeek Harness plugin

dsh-plan-preset

Plan 模式心智映射:read-only 权限显示为 "Plan",审批策略 never(拒绝即最终,不准申请权限),文件只读 + 网络搜索可用。

Jump to install

Source facts

Repository
23aisfvb/dsh-plan-preset
Latest update
Aug 15, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/23aisfvb/dsh-plan-preset
Plugin: dsh-plan-preset
Author: 23aisfvb

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

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