mrvn-cli 0.5.12 → 0.5.13

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/marvin.js CHANGED
@@ -14635,9 +14635,14 @@ function collectSprintSummaryData(store, sprintId) {
14635
14635
  };
14636
14636
  });
14637
14637
  const sprintTag = `sprint:${fm.id}`;
14638
- const workItemDocs = allDocs.filter(
14638
+ const sprintTaggedDocs = allDocs.filter(
14639
14639
  (d) => d.frontmatter.type !== "sprint" && d.frontmatter.type !== "epic" && d.frontmatter.type !== "meeting" && d.frontmatter.type !== "decision" && d.frontmatter.type !== "question" && d.frontmatter.tags?.includes(sprintTag)
14640
14640
  );
14641
+ const sprintTaggedIds = new Set(sprintTaggedDocs.map((d) => d.frontmatter.id));
14642
+ const orphanContributions = allDocs.filter(
14643
+ (d) => d.frontmatter.type === "contribution" && !sprintTaggedIds.has(d.frontmatter.id) && d.frontmatter.aboutArtifact && sprintTaggedIds.has(d.frontmatter.aboutArtifact)
14644
+ );
14645
+ const workItemDocs = [...sprintTaggedDocs, ...orphanContributions];
14641
14646
  const primaryDocs = workItemDocs.filter((d) => d.frontmatter.type !== "contribution");
14642
14647
  const byStatus = {};
14643
14648
  const byType = {};
@@ -14656,7 +14661,7 @@ function collectSprintSummaryData(store, sprintId) {
14656
14661
  }
14657
14662
  const allItemsById = /* @__PURE__ */ new Map();
14658
14663
  const childrenByParent = /* @__PURE__ */ new Map();
14659
- const sprintItemIds = new Set(workItemDocs.map((d) => d.frontmatter.id));
14664
+ const workItemIds = new Set(workItemDocs.map((d) => d.frontmatter.id));
14660
14665
  for (const doc of workItemDocs) {
14661
14666
  const about = doc.frontmatter.aboutArtifact;
14662
14667
  const focusTag = (doc.frontmatter.tags ?? []).find((t) => t.startsWith("focus:"));
@@ -14675,7 +14680,7 @@ function collectSprintSummaryData(store, sprintId) {
14675
14680
  confluenceTitle: doc.frontmatter.confluenceTitle
14676
14681
  };
14677
14682
  allItemsById.set(item.id, item);
14678
- if (about && sprintItemIds.has(about)) {
14683
+ if (about && workItemIds.has(about)) {
14679
14684
  if (!childrenByParent.has(about)) childrenByParent.set(about, []);
14680
14685
  childrenByParent.get(about).push(item);
14681
14686
  }
@@ -21252,9 +21257,9 @@ tr:hover td {
21252
21257
  .integration-icons {
21253
21258
  display: inline-flex;
21254
21259
  align-items: center;
21255
- gap: 0.2rem;
21260
+ gap: 0.25rem;
21256
21261
  vertical-align: middle;
21257
- margin-left: 0.35rem;
21262
+ margin-left: 0.5rem;
21258
21263
  }
21259
21264
  .integration-link {
21260
21265
  display: inline-flex;
@@ -32100,7 +32105,7 @@ function createProgram() {
32100
32105
  const program2 = new Command();
32101
32106
  program2.name("marvin").description(
32102
32107
  "AI-powered product development assistant with Product Owner, Delivery Manager, and Technical Lead personas"
32103
- ).version("0.5.12");
32108
+ ).version("0.5.13");
32104
32109
  program2.command("init").description("Initialize a new Marvin project in the current directory").action(async () => {
32105
32110
  await initCommand();
32106
32111
  });