설치
npx -y @deepseek-ai/dsh plugin --profile web add github:23aisfvb/dsh-plan-preset이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.
README
유지 관리자가 작성한 문서 스냅샷입니다.
dsh-plan-preset
把 DSH Web UI 的 read-only 权限预设映射为 opencode 风格的 Plan 模式。
效果
| 项 | 值 |
|---|---|
| 显示名 | 访问模式控件显示 "Plan"(原 "Read Only";图标仍为盾牌) |
| 文件 | 只读 — 读取全盘放行,写/删/改全部拒绝 |
| 网络搜索 | 可用 — web_search 与文件沙箱解耦,不受模式影响 |
| 权限申请 | 禁止 — 审批策略 never,任何权限升级请求自动拒绝(denial is final) |
| 工作流 | 只能问答调研 → 产出计划(exit_plan_mode 呈现)→ 用户批准后手动切换权限模式再开工 |
实现
纯组合补丁,零运行时代码:
cordis.patch.ymltargetpermission行(dsh-base),覆盖read-only预设:sandbox: read-only+approval: never+name: Plan- 其余预设(workspace-write / danger-full-access)原样重述,不受影响
安装 / 生效
profiles/web/package.json:dependencies加"dsh-plan-preset": "file:E:/agent/deepseek_harness/Plugins/dsh-plan-preset",dsh.profile.bundles加"dsh-plan-preset"cd profiles/web && pnpm install- 重启
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
저장소 정보
- 언어
- JavaScript
- 라이선스
- MIT
- 마지막 업데이트
- 2026. 8. 15. 오후 3:34
신중하게 설치하기
소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.