Beants/dsh-trellis2

dsh-trellis

DeepSeek Harness 的 Trellis 工作流集成插件:提供 Trellis 技能、/trellis 命令行及 .trellis 脚手架,支持规划、实现、验证的闭环开发。

AI 分析

核心用途是引入结构化的软件开发生命周期工作流,通过子代理协作完成代码编写与校验。适合进行中大型本地项目开发、需要严谨开发流程的程序员。

包名
dsh-trellis
版本
0.1.0
许可证
AGPL-3.0
最近更新
2026年8月31日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

配置

配置分三层(后者覆盖前者),上层两层免重启热生效

schema 默认值 ← profile 插件 config(cordis.patch.yml,需重启)
             ← ~/.dsh/settings.yaml 的 dsh-trellis 段(外部编辑热发布)

profile 的 patch 层声明全部字段:

- id: dsh-trellis
  name: dsh-trellis
  config:
    injectWorkflowState: true    # 是否注入每轮  面包屑(默认 true;新会话生效)
    workflowSectionOrder: -97    # prompt section 顺序(默认 -97;新会话生效)
    pythonCommand: python3       # .trellis/scripts 的解释器;Windows 上设为 python
    statusCard: true             # Web 状态卡:注册 /trellis-card 路由(默认 true;无 webServer 的 profile 自动跳过)
    stallMinutes: 15             # 判定「疑似卡住」的无活动分钟数
    circuitBreakerThreshold: 3   # meta.rollbacks.count 达到该值触发熔断警示
    dispatchLoopThreshold: 4     # implement↔check 往返达到该轮数才提示打环(默认 4,健康 3 轮不告警)

用户覆盖层写入 ~/.dsh/settings.yaml(下次命令调用/状态轮询/新会话即时生效):

dsh-trellis:
  statusCard: false
  stallMinutes: 10

也可以直接在 Web 界面改:设置 → 插件 → Trellis 工作流 标签页可视化读写 全部字段(含「已覆盖默认」标记与一键重置),走 DSH 标准设置写入通道 (revision 冲突保护),无需重启。