liuyun847/dsh-host-compliance-check0

dsh-host-compliance-check

DSH 宿主插件:每个用户输入的轮次内,若修改过文件则在结束时自动派发需求合规检查子智能体(阻塞执行),报告注入主会话(迁移自 Trae stop-hook)

包名
dsh-host-compliance-check
版本
0.1.0
许可证
MIT
最近更新
2026年8月18日

安装

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

配置(cordis.patch.yml 的 entry config)

字段默认值说明
watchTools['write', 'edit']记录哪些写工具修改
skipPaths[]跳过匹配的路径(RegExp/字符串数组)
providerName'subagent-fork-in-process'检查子智能体的 provider
promptTemplate内置模板自定义模板,支持 {{requirement}} / {{files}} / {{diff}}
diffMaxChars0注入 prompt 的 diff 总字符上限,0 = 不限制
diffMaxLinesPerFile0单文件 diff 行数上限,0 = 不限制

极端大 diff 场景(超大文件整段重写、多文件大改)可按需设置上限,例如 diffMaxChars: 8000diffMaxLinesPerFile: 200