mrvn-cli 0.5.19 → 0.5.20
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/dist/index.js +7 -12
- package/dist/index.js.map +1 -1
- package/dist/marvin-serve.js +6 -11
- package/dist/marvin-serve.js.map +1 -1
- package/dist/marvin.js +7 -12
- package/dist/marvin.js.map +1 -1
- package/package.json +1 -1
package/dist/marvin.js
CHANGED
|
@@ -26966,11 +26966,8 @@ async function _assessArtifactRecursive(store, client, host, options, visited, d
|
|
|
26966
26966
|
children.push(childReport);
|
|
26967
26967
|
}
|
|
26968
26968
|
if (children.length > 0) {
|
|
26969
|
-
const rolledUpProgress =
|
|
26970
|
-
children.
|
|
26971
|
-
weight: resolveWeight(void 0).weight,
|
|
26972
|
-
progress: c.marvinProgress
|
|
26973
|
-
}))
|
|
26969
|
+
const rolledUpProgress = Math.round(
|
|
26970
|
+
children.reduce((s, c) => s + c.marvinProgress, 0) / children.length
|
|
26974
26971
|
);
|
|
26975
26972
|
if (rolledUpProgress !== currentProgress) {
|
|
26976
26973
|
proposedUpdates.push({
|
|
@@ -26978,7 +26975,7 @@ async function _assessArtifactRecursive(store, client, host, options, visited, d
|
|
|
26978
26975
|
field: "progress",
|
|
26979
26976
|
currentValue: currentProgress,
|
|
26980
26977
|
proposedValue: rolledUpProgress,
|
|
26981
|
-
reason: `Rolled up from ${children.length} children (
|
|
26978
|
+
reason: `Rolled up from ${children.length} children (average ${rolledUpProgress}%)`
|
|
26982
26979
|
});
|
|
26983
26980
|
}
|
|
26984
26981
|
}
|
|
@@ -27230,11 +27227,9 @@ function formatArtifactReport(report) {
|
|
|
27230
27227
|
}
|
|
27231
27228
|
if (report.children.length > 0) {
|
|
27232
27229
|
const doneCount = report.children.filter((c) => DONE_STATUSES15.has(c.marvinStatus)).length;
|
|
27233
|
-
const
|
|
27234
|
-
|
|
27235
|
-
|
|
27236
|
-
});
|
|
27237
|
-
const childProgress = childWeights.length > 0 ? Math.round(childWeights.reduce((s, c) => s + c.weight * c.progress, 0) / childWeights.reduce((s, c) => s + c.weight, 0)) : 0;
|
|
27230
|
+
const childProgress = Math.round(
|
|
27231
|
+
report.children.reduce((s, c) => s + c.marvinProgress, 0) / report.children.length
|
|
27232
|
+
);
|
|
27238
27233
|
const bar = progressBar6(childProgress);
|
|
27239
27234
|
parts.push(`## Children (${doneCount}/${report.children.length} done) ${bar} ${childProgress}%`);
|
|
27240
27235
|
for (const child of report.children) {
|
|
@@ -33551,7 +33546,7 @@ function createProgram() {
|
|
|
33551
33546
|
const program2 = new Command();
|
|
33552
33547
|
program2.name("marvin").description(
|
|
33553
33548
|
"AI-powered product development assistant with Product Owner, Delivery Manager, and Technical Lead personas"
|
|
33554
|
-
).version("0.5.
|
|
33549
|
+
).version("0.5.20");
|
|
33555
33550
|
program2.command("init").description("Initialize a new Marvin project in the current directory").action(async () => {
|
|
33556
33551
|
await initCommand();
|
|
33557
33552
|
});
|