@ikunin/sprintpilot 2.3.4 → 2.3.5

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,6 +1,6 @@
1
1
  addon:
2
2
  name: sprintpilot
3
- version: 2.3.4
3
+ version: 2.3.5
4
4
  description: Sprintpilot — autopilot and multi-agent addon for BMad Method (git workflow, parallel agents, autonomous story execution)
5
5
  bmad_compatibility: ">=6.2.0"
6
6
  modules:
@@ -508,11 +508,16 @@ function renderMermaid(dag, plan) {
508
508
  const epicIssueIds = issueIdByEpicId(plan);
509
509
  const { intra, cross } = bucketEdges(dag.edges);
510
510
  const lines = [];
511
+ // The diagram-type declaration MUST be the first non-blank line.
512
+ // Strict markdown→mermaid renderers (Claude Code's chat renderer
513
+ // included) sniff for `flowchart`/`graph`/etc. as the first content
514
+ // line; leading `%%` comments cause them to silently skip rendering.
515
+ // Comments after the type declaration are fine.
516
+ lines.push('flowchart LR');
511
517
  lines.push(`%% plan-id: ${plan?.plan_id ?? 'unknown'}`);
512
518
  lines.push(`%% generated: ${plan?.generated ?? new Date().toISOString()}`);
513
519
  lines.push('%% Sprint plan DAG — node fill encodes plan_status; cross-epic edges are dashed.');
514
520
  lines.push('%% Story labels are prefixed with their issue_id when set in plan.stories.');
515
- lines.push('flowchart LR');
516
521
 
517
522
  // Group nodes by epic (if any). When sprint-wide, emit subgraphs.
518
523
  const epicGroups = new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikunin/sprintpilot",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "Sprintpilot — autopilot and multi-agent addon for BMad Method v6: git workflow, parallel agents, autonomous story execution",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {