prizmkit 1.0.140 → 1.0.141

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "frameworkVersion": "1.0.140",
3
- "bundledAt": "2026-03-28T16:26:29.027Z",
4
- "bundledFrom": "7a812fc"
2
+ "frameworkVersion": "1.0.141",
3
+ "bundledAt": "2026-03-28T22:33:06.813Z",
4
+ "bundledFrom": "555434f"
5
5
  }
@@ -101,11 +101,12 @@ prizm_detect_subagents() {
101
101
 
102
102
  local count=0
103
103
  if [[ "$USE_STREAM_JSON" == "true" ]]; then
104
- count=$(grep -c '"name"[[:space:]]*:[[:space:]]*"Agent"' "$session_log" 2>/dev/null || echo "0")
104
+ count=$(grep -c '"name"[[:space:]]*:[[:space:]]*"Agent"' "$session_log" 2>/dev/null) || true
105
105
  else
106
- count=$(grep -cE '(Tool: Agent|"tool":\s*"Agent"|tool_use.*Agent|subagent_type)' "$session_log" 2>/dev/null || echo "0")
106
+ count=$(grep -cE '(Tool: Agent|"tool":\s*"Agent"|tool_use.*Agent|subagent_type)' "$session_log" 2>/dev/null) || true
107
107
  fi
108
108
 
109
+ count=${count:-0}
109
110
  _SUBAGENT_COUNT=$count
110
111
  if [[ "$count" -gt 0 ]]; then
111
112
  log_info "Subagent calls detected in session: $count"
@@ -266,7 +266,7 @@ After all critics return, read all 3 reports:
266
266
 
267
267
  Before spawning Dev, check plan.md Tasks section:
268
268
  ```bash
269
- grep -c '^\- \[ \]' .prizmkit/specs/{{FEATURE_SLUG}}/plan.md 2>/dev/null || echo 0
269
+ grep -c '^\- \[ \]' .prizmkit/specs/{{FEATURE_SLUG}}/plan.md 2>/dev/null || true
270
270
  ```
271
271
  - If result is `0` (all tasks already `[x]`) → **SKIP Phase 4**, go directly to Phase 5. Do NOT spawn Dev.
272
272
  - If result is non-zero → spawn Dev agent below.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.138",
2
+ "version": "1.0.141",
3
3
  "skills": {
4
4
  "prizm-kit": {
5
5
  "description": "Full-lifecycle dev toolkit. Covers spec-driven development, Prizm context docs, code quality, debugging, deployment, and knowledge management.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prizmkit",
3
- "version": "1.0.140",
3
+ "version": "1.0.141",
4
4
  "description": "Create a new PrizmKit-powered project with clean initialization — no framework dev files, just what you need.",
5
5
  "type": "module",
6
6
  "bin": {