pi-gsd 1.6.3 → 1.6.4

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.
@@ -270,19 +270,21 @@ export default function (pi: ExtensionAPI) {
270
270
  const total = data.phases.length;
271
271
  const phasePct = total > 0 ? Math.round((done / total) * 100) : 0;
272
272
  const planPct =
273
+ data.total_plans > 0
274
+ ? Math.round((data.total_summaries / data.total_plans) * 100)
275
+ : 0;
273
276
 
274
- const lines = [
275
- `━━ GSD Progress ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`,
277
+ `━━ GSD Progress ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`,
276
278
  `📋 ${data.milestone_name} (${data.milestone_version})`,
277
279
  ``,
278
280
  `Phases ${bar(phasePct)} ${done}/${total} (${phasePct}%)`,
279
281
  `Plans ${bar(planPct)} ${data.total_summaries}/${data.total_plans} (${planPct}%)`,
280
282
  ``,
281
283
  `Next steps:`,
282
- ...nextSteps(data.phases),
284
+ ...nextSteps(data.phases),
283
285
  ``,
284
286
  `━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━`,
285
- ];
287
+ ]
286
288
  return { text: lines.join("\n"), data };
287
289
  };
288
290
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-gsd",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "Get Shit Done - Unofficial port of the renowned AI-native project-planning spec-driven toolkit",
5
5
  "main": "dist/pi-gsd-tools.js",
6
6
  "bin": {