@lmzhen/dsh-evolution-commands 0.3.24 → 0.3.26

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -1
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -409,7 +409,8 @@ function atomicWriteFiles(targetDir, writes, fs = defaultFs) {
409
409
  * evolution-maintenance outcome change (out of this package's scope).
410
410
  */
411
411
  function countMaintainRecommendations(text) {
412
- return text?.match(/^- \[/gm)?.length ?? 0;
412
+ if (!text) return 0;
413
+ return (text.split("\nNotes:")[0] ?? "").match(/^- \[/gm)?.length ?? 0;
413
414
  }
414
415
  /** F-328: render staged args for `pending --detail`, truncated to 500 chars.
415
416
  * args may be non-JSON (a tool produced garbage), so the render is fail-safe. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-commands",
3
3
  "description": "Human commands for the evolution family (community build)",
4
- "version": "0.3.24",
4
+ "version": "0.3.26",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,9 +30,9 @@
30
30
  ],
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@lmzhen/dsh-evolution-approval": "^0.3.24",
34
- "@lmzhen/dsh-evolution-core": "^0.3.24",
35
- "@lmzhen/dsh-evolution-maintenance": "^0.3.24"
33
+ "@lmzhen/dsh-evolution-approval": "^0.3.26",
34
+ "@lmzhen/dsh-evolution-core": "^0.3.26",
35
+ "@lmzhen/dsh-evolution-maintenance": "^0.3.26"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@deepseek-ai/cordis": "^4.0.1",