@sienklogic/plan-build-run 2.17.0 → 2.17.1

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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to Plan-Build-Run will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.17.1](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.17.0...plan-build-run-v2.17.1) (2026-02-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **dashboard:** plan count regex and mermaid rendering ([204838b](https://github.com/SienkLogic/plan-build-run/commit/204838b8be197cfa0835005e79a288f1d7d3d646))
14
+
8
15
  ## [2.17.0](https://github.com/SienkLogic/plan-build-run/compare/plan-build-run-v2.16.0...plan-build-run-v2.17.0) (2026-02-22)
9
16
 
10
17
 
@@ -112,7 +112,7 @@ export async function getPhaseDetail(projectDir, phaseId) {
112
112
  // Supports both naming conventions:
113
113
  // - NN-NN-PLAN.md (plan ID embedded in filename)
114
114
  // - PLAN.md (single plan per phase, ID derived from phase directory)
115
- const planRegex = /^PLAN(?:-\d{2})?\.md$/;
115
+ const planRegex = /^(?:(?:\d{2}-\d{2})-)?PLAN(?:-\d{2})?\.md$/;
116
116
  const planFiles = phaseFiles
117
117
  .filter(f => planRegex.test(f))
118
118
  .sort();
@@ -120,8 +120,9 @@ export async function getPhaseDetail(projectDir, phaseId) {
120
120
  // Build summary paths and read them in parallel
121
121
  // Derive planId from filename (NN-NN-PLAN.md) or phase directory (PLAN.md -> NN-01)
122
122
  const summaryPaths = planFiles.map((planFile, index) => {
123
- const idMatch = planFile.match(/^PLAN-(\d{2})\.md$/);
124
- const planId = idMatch ? `${phaseId.padStart(2, '0')}-${idMatch[1]}` : `${phaseId.padStart(2, '0')}-${String(index + 1).padStart(2, '0')}`;
123
+ const oldMatch = planFile.match(/^(\d{2}-\d{2})-PLAN\.md$/);
124
+ const newMatch = planFile.match(/^PLAN-(\d{2})\.md$/);
125
+ const planId = oldMatch ? oldMatch[1] : newMatch ? `${phaseId.padStart(2, '0')}-${newMatch[1]}` : `${phaseId.padStart(2, '0')}-${String(index + 1).padStart(2, '0')}`;
125
126
  return { planId, planFile, summaryPath: join(phaseFullPath, `SUMMARY-${planId}.md`) };
126
127
  });
127
128
 
@@ -35,7 +35,7 @@ async function countPlansForPhase(projectDir, phaseId) {
35
35
  if (!phaseDir) return 0;
36
36
 
37
37
  const phaseFiles = await readdir(join(phasesDir, phaseDir.name));
38
- return phaseFiles.filter(f => /^PLAN(?:-\d{2})?\.md$/.test(f)).length;
38
+ return phaseFiles.filter(f => /^(?:(?:\d{2}-\d{2})-)?PLAN(?:-\d{2})?\.md$/.test(f)).length;
39
39
  } catch (err) {
40
40
  if (err.code === 'ENOENT') return 0;
41
41
  throw err;
@@ -10,8 +10,7 @@
10
10
  <%- include('empty-state', { icon: '🔗', title: 'No dependency data available', action: '' }) %>
11
11
  <% } %>
12
12
 
13
- <script type="module">
14
- import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
15
- mermaid.initialize({ startOnLoad: false, theme: 'default', securityLevel: 'loose' });
16
- await mermaid.run();
13
+ <script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script>
14
+ <script>
15
+ mermaid.initialize({ startOnLoad: true, theme: 'default', securityLevel: 'loose' });
17
16
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sienklogic/plan-build-run",
3
- "version": "2.17.0",
3
+ "version": "2.17.1",
4
4
  "description": "Plan it, Build it, Run it — structured development workflow for Claude Code",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pbr",
3
3
  "displayName": "Plan-Build-Run",
4
- "version": "2.17.0",
4
+ "version": "2.17.1",
5
5
  "description": "Plan-Build-Run — Structured development workflow for GitHub Copilot CLI. Solves context rot through disciplined agent delegation, structured planning, atomic execution, and goal-backward verification.",
6
6
  "author": {
7
7
  "name": "SienkLogic",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pbr",
3
3
  "displayName": "Plan-Build-Run",
4
- "version": "2.17.0",
4
+ "version": "2.17.1",
5
5
  "description": "Plan-Build-Run — Structured development workflow for Cursor. Solves context rot through disciplined subagent delegation, structured planning, atomic execution, and goal-backward verification.",
6
6
  "author": {
7
7
  "name": "SienkLogic",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pbr",
3
- "version": "2.17.0",
3
+ "version": "2.17.1",
4
4
  "description": "Plan-Build-Run — Structured development workflow for Claude Code. Solves context rot through disciplined subagent delegation, structured planning, atomic execution, and goal-backward verification.",
5
5
  "author": {
6
6
  "name": "SienkLogic",