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/index.js CHANGED
@@ -15740,9 +15740,14 @@ function collectSprintSummaryData(store, sprintId) {
15740
15740
  };
15741
15741
  });
15742
15742
  const sprintTag = `sprint:${fm.id}`;
15743
- const workItemDocs = allDocs.filter(
15743
+ const sprintTaggedDocs = allDocs.filter(
15744
15744
  (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)
15745
15745
  );
15746
+ const sprintTaggedIds = new Set(sprintTaggedDocs.map((d) => d.frontmatter.id));
15747
+ const orphanContributions = allDocs.filter(
15748
+ (d) => d.frontmatter.type === "contribution" && !sprintTaggedIds.has(d.frontmatter.id) && d.frontmatter.aboutArtifact && sprintTaggedIds.has(d.frontmatter.aboutArtifact)
15749
+ );
15750
+ const workItemDocs = [...sprintTaggedDocs, ...orphanContributions];
15746
15751
  const primaryDocs = workItemDocs.filter((d) => d.frontmatter.type !== "contribution");
15747
15752
  const byStatus = {};
15748
15753
  const byType = {};
@@ -15761,7 +15766,7 @@ function collectSprintSummaryData(store, sprintId) {
15761
15766
  }
15762
15767
  const allItemsById = /* @__PURE__ */ new Map();
15763
15768
  const childrenByParent = /* @__PURE__ */ new Map();
15764
- const sprintItemIds = new Set(workItemDocs.map((d) => d.frontmatter.id));
15769
+ const workItemIds = new Set(workItemDocs.map((d) => d.frontmatter.id));
15765
15770
  for (const doc of workItemDocs) {
15766
15771
  const about = doc.frontmatter.aboutArtifact;
15767
15772
  const focusTag = (doc.frontmatter.tags ?? []).find((t) => t.startsWith("focus:"));
@@ -15780,7 +15785,7 @@ function collectSprintSummaryData(store, sprintId) {
15780
15785
  confluenceTitle: doc.frontmatter.confluenceTitle
15781
15786
  };
15782
15787
  allItemsById.set(item.id, item);
15783
- if (about && sprintItemIds.has(about)) {
15788
+ if (about && workItemIds.has(about)) {
15784
15789
  if (!childrenByParent.has(about)) childrenByParent.set(about, []);
15785
15790
  childrenByParent.get(about).push(item);
15786
15791
  }
@@ -18182,9 +18187,9 @@ tr:hover td {
18182
18187
  .integration-icons {
18183
18188
  display: inline-flex;
18184
18189
  align-items: center;
18185
- gap: 0.2rem;
18190
+ gap: 0.25rem;
18186
18191
  vertical-align: middle;
18187
- margin-left: 0.35rem;
18192
+ margin-left: 0.5rem;
18188
18193
  }
18189
18194
  .integration-link {
18190
18195
  display: inline-flex;
@@ -32108,7 +32113,7 @@ function createProgram() {
32108
32113
  const program = new Command();
32109
32114
  program.name("marvin").description(
32110
32115
  "AI-powered product development assistant with Product Owner, Delivery Manager, and Technical Lead personas"
32111
- ).version("0.5.12");
32116
+ ).version("0.5.13");
32112
32117
  program.command("init").description("Initialize a new Marvin project in the current directory").action(async () => {
32113
32118
  await initCommand();
32114
32119
  });