HuanLinOTO/dsh-plugin-better-plan ↗★ 0
@huanlin/dsh-plugin-better-plan
取代 DSH 内置 plan mode 的计划交付体验:计划先写成 markdown 文件,经侧边栏「计划面板」展示,聊天里只剩紧凑审批卡(审批流与原版一致)。 | Replaces the built-in plan mode's plan delivery: plans are written to a markdown file first and shown in the better-sidebar plan panel, leaving only a compact review card in chat (approval flow unchanged).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-better-plan说明文档
阅读完整 README ↗配置(cordis.patch.yml 插件行 config)
| 字段 | 类型/默认 | 说明 |
|---|---|---|
planDir | string = 'docs/plans' | 工具 description 中建议的计划目录 |
maxPlanBytes | number = 262144 | 计划文件读取上限;超限拒绝并提示精简 |
locale | 'auto' | 'zh' | 'en' = 'auto' | 宿主端用户可见文案的语言:auto 跟随连接视图上报的 locale(浏览器当前 DSH 语言),zh/en 强制指定;模型契约文本不受影响 |
不注入额外系统提示段——新契约全部由工具 description 携带(plan:policy 段保持原版原文,exit_plan_mode 名称未变故其陈述依然为真)。