P-JIANGH/dsh-enhance ↗★ 0

@p-jiangh/dsh-enhance

oh-my-zsh-style enhancement bundle for DeepSeek Harness (dsh-enhance): packaged skills, work-rule prompt guidance, an Enhance agent preset with a persistent deep-work prompt section, and a doctor tool — install and go 适合需要强化AI纪律约束、使用多子代理协同工作流进行深度开发的团队。

Package
@p-jiangh/dsh-enhance
Compatibility
Unverified
Harness peer range
>=0.1.0-rc.6
Cordis peer range
^4.0.0
Version
0.1.1
License
MIT
Last updated
Oct 10, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:P-JIANGH/dsh-enhance

配置

插件行接受一个 config 块——可在你的 profile 的 cordis.patch.yml 或 home $DSH_HOME/cordis.patch.yml 中覆盖:

- id: dsh-enhance
  name: '@p-jiangh/dsh-enhance'
  config:
    workRules: |
      # 团队规则
      Always run the full test suite before pushing.
    doctorTool: true
字段默认含义
workRules内置纪律文案提示词段文本;空字符串则移除该段
doctorTooltrue注册 dsh_enhance_doctor 工具
commandstrue注册人类指令 /doctor、/boulder 到 UI 指令表
guardstrue守卫钩子 + rules 注入器 + delivery-gate 的总开关
workTrackingtrueboulder 状态、写令牌、start-work / delivery-gate 钩子的总开关(目标是原生服务,不受此开关影响)
worktreetrueworktree_create/list/cleanup 工具(需要 workTracking)
advisortrueAdvisor 伴随审查运行时
advisorModel—advisor 子代理的独立模型;默认继承主 agent 的路由

在界面里改(不用手写 YAML)

除 workRules 之外的 7 个字段都标了 volatile(),因此内置「插件」面板里本插件那一行会有一个「配置」入口:勾选/取消即时生效(写完立刻重建接线,不需要重启),改动落到你 profile 的 cordis.patch.yml(user 层),每行旁的「恢复默认」会把覆盖删掉、退回组合默认。

  • 面板位置:侧边栏「插件」→ 找到 @p-jiangh/dsh-enhance 包 → 它那一行(设置弹窗里也有只读清单可查)。
  • 一条纪律:同一个字段只有一个写者。用界面改了之后,就别再同时手工在补丁里写同一个键——界面会把你的覆盖读成 user 层,两边同时写会互相覆盖。
  • 已知限制(上游):非 loopback 的浏览器拿不到持久设置,页面会显示为只读/不可用;桌面端与 loopback Web 正常。
  • 机制与真机证据(describe/update 往返、命名空间键、为什么必须重挂):docs/design-web-settings-card.md §8–§10。