@ikunin/sprintpilot 2.0.6 → 2.0.8
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/README.md +131 -185
- package/_Sprintpilot/manifest.yaml +1 -1
- package/_Sprintpilot/scripts/dispatch-layer.js +121 -16
- package/_Sprintpilot/scripts/log-timing.js +31 -13
- package/_Sprintpilot/scripts/merge-shards.js +252 -52
- package/_Sprintpilot/scripts/resolve-dag.js +55 -9
- package/_Sprintpilot/scripts/state-shard.js +26 -2
- package/_Sprintpilot/scripts/summarize-timings.js +84 -6
- package/_Sprintpilot/skills/sprint-autopilot-on/workflow.md +110 -142
- package/lib/core/bmad-config.js +11 -6
- package/package.json +1 -1
package/lib/core/bmad-config.js
CHANGED
|
@@ -35,14 +35,19 @@ async function verifyBmadInstalled(projectRoot) {
|
|
|
35
35
|
return data || {};
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
// BMad Method has used
|
|
39
|
-
// -
|
|
40
|
-
//
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
//
|
|
38
|
+
// BMad Method has used three manifest shapes:
|
|
39
|
+
// - installation-scoped: { installation: { version: "6.2.2" }, modules: [...] }
|
|
40
|
+
// (the actual v6.2.x installer writes this — installation.version is
|
|
41
|
+
// the canonical source; modules[].version is per-module and not the
|
|
42
|
+
// overall BMad version)
|
|
43
|
+
// - nested: { bmad: { version: "6.2.0" } }
|
|
44
|
+
// - flat: { version: "6.3.0" }
|
|
45
|
+
// Try installation-scoped first (matches what users actually have on
|
|
46
|
+
// disk today), then nested, then flat. Older installs and our unit-test
|
|
47
|
+
// fixture use the flat form.
|
|
44
48
|
function extractBmadVersion(data) {
|
|
45
49
|
if (!data) return null;
|
|
50
|
+
if (data.installation && data.installation.version) return data.installation.version;
|
|
46
51
|
if (data.bmad && data.bmad.version) return data.bmad.version;
|
|
47
52
|
if (data.version) return data.version;
|
|
48
53
|
return null;
|
package/package.json
CHANGED