add-coder 0.3.15 → 0.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "add-coder",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "private": false,
5
5
  "description": "[codein2027](https://github.com/xiaomingming92/codein2027) - A complete scaffolding for building the ADD programming paradigm, the implementation layer for AI code governance. Core principle: Audit as Infrastructure. Breaks the black-box programming process and cross-session amnesia, evolving programming paradigms into an auditable, traceable, and convergent new era. npx-ready.\n\n[codein2027](https://github.com/xiaomingming92/codein2027) 快速构建 ADD 编程范式的完整脚手架——AI 代码治理的落地方案。以「审计即基础设施」为核心,彻底打破编程过程黑盒与跨轮失忆,让编程范式进化为可审计、可追溯、可收敛的新时代。npx 即用,人人可体验。",
6
6
  "repository": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "_version": "0.3.15",
2
+ "_version": "0.3.16",
3
3
  "adapters/claude/hooks/doc-format-guard.sh": "ec59ad3f",
4
4
  "adapters/claude/hooks/lib/common.sh": "4f3e64ad",
5
5
  "adapters/claude/hooks/lib/context-inject.sh": "cfc8c65e",
@@ -217,7 +217,7 @@
217
217
  "core/scripts/mcp-server/tools/hitl.ts": "80093743",
218
218
  "core/scripts/mcp-server/tools/hook-event-report.ts": "3926005b",
219
219
  "core/scripts/mcp-server/tools/index.ts": "b15c6753",
220
- "core/scripts/mcp-server/tools/plan.ts": "9ef4da1e",
220
+ "core/scripts/mcp-server/tools/plan.ts": "2f83b56f",
221
221
  "core/scripts/mcp-server/tools/quality.ts": "26ddf75d",
222
222
  "core/scripts/mcp-server/tools/review.ts": "c2d464ed",
223
223
  "core/scripts/mcp-server/types.ts": "6c5e60bc",
@@ -32,7 +32,8 @@ export function registerPlanTools(server: McpServer) {
32
32
  let targets: { name: string; path: string; keyword: string }[] = []
33
33
  const newPlans: string[] = []
34
34
  const allFiles = await readdirRecursive(plansDir)
35
- const planFiles = allFiles.filter(f => f.endsWith(".md") && f.includes("-plan-v"))
35
+ // 排除 .hitl.md(HITL 提案不是 Plan 本体,避免 plan_track 误扫为独立 Plan)
36
+ const planFiles = allFiles.filter(f => f.endsWith(".md") && !f.endsWith(".hitl.md") && f.includes("-plan-v"))
36
37
 
37
38
  if (pn) {
38
39
  const m = planFiles.find(f => f.includes(pn))