@productbrain/mcp 0.0.1-beta.16094 → 0.0.1-beta.16102

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.
@@ -3730,7 +3730,7 @@ var WORK_PACKAGE_LIST_WORDS = {
3730
3730
  count: (shown, { team, otherTeams, noSingleOwner }, allCommand) => `Showing ${shown} of your team's ${team} live package${team === 1 ? "" : "s"}; ${otherTeams} more in other teams${noSingleOwner > 0 ? `; ${noSingleOwner} more with no single owner` : ""}. All ${team + otherTeams + noSingleOwner}: ${allCommand} (${ALL_COMMAND_SAYS})`,
3731
3731
  /** A seat's plan (TASK-1948): its first line, then every package in progress, the one next and the rest counted. */
3732
3732
  planLead: (team, n, capped) => `${team} has ${n}${capped ? "+" : ""} package${n === 1 && !capped ? "" : "s"} in progress.`,
3733
- /** Two or more packages in progress share a level: nothing orders them inside it (DEC-2416, QUE-1485 open). */
3733
+ /** Two or more packages in progress share a level with no place set: only their ids order them inside it (DEC-2416, TASK-2098). */
3734
3734
  tied: (levels) => `Packages not ranked inside ${levels.join(" or ")}.`,
3735
3735
  /** The heading over the one next: the first planned package with no wait written (QUE-1480). */
3736
3736
  next: "Next",
@@ -3787,7 +3787,7 @@ function workPackageListLines(rows, counts, surface) {
3787
3787
  if (counts && live > 0) lines.push(plan ? w.planLead(plan.teamName, plan.inProgress, plan.capped === true) : w.count(rows.length, counts, surface.allCommand));
3788
3788
  if (rows.some((row) => row.yours)) lines.push(w.legend);
3789
3789
  if (counts && rows.length > 0 && !anyPriority) lines.push(`${w.setOne} ${surface.setCommand}`);
3790
- const going = rows.filter((row) => !row.next && !row.waiting), words = going.map((row) => priorityWord(row.priority));
3790
+ const going = rows.filter((row) => !row.next && !row.waiting), words = going.filter((row) => !row.placed).map((row) => priorityWord(row.priority));
3791
3791
  const tied = plan ? [...new Set(words)].filter((word) => word !== NO_PRIORITY.word && words.filter((x) => x === word).length > 1) : [];
3792
3792
  let level, tieSaid = tied.length === 0;
3793
3793
  for (const row of [...going, ...rows.filter((row2) => row2.waiting), ...rows.filter((row2) => row2.next)]) {
@@ -3895,7 +3895,7 @@ var OPEN_TASK_LIST_WORDS = {
3895
3895
  dueSoon: (days) => `in ${days} day${days === 1 ? "" : "s"}, not started`,
3896
3896
  /** The read kept too few calls to look for this row's wait: not the same as none. */
3897
3897
  waitUnread: "wait not read",
3898
- /** Two or more rows share a level: nothing orders them inside it (DEC-2416). */
3898
+ /** Two or more rows share a level with no place set: only their ids order them inside it (DEC-2416, TASK-2098). */
3899
3899
  tied: (levels) => `Tasks not ranked inside ${levels.join(" or ")}.`,
3900
3900
  /** Orient shows at most this many rows; the cut note names the command for the rest. */
3901
3901
  shown: 5,
@@ -3956,7 +3956,7 @@ function openTaskListLines(list, surface) {
3956
3956
  const w = OPEN_TASK_LIST_WORDS, shown = Math.min(surface.shown ?? list.rows.length, list.rows.length), rows = list.rows.slice(0, shown);
3957
3957
  const total = surface.total ?? list.rows.length;
3958
3958
  const due = list.dueCounts && total > 0 ? [TASK_DUE_WORDS.counts(list.dueCounts.overdue, list.dueCounts.dueToday, list.dueCounts.read, list.capped)] : [];
3959
- const levels = [...new Set(rows.map((row) => priorityWord(row.priority)))].filter((word) => word !== NO_PRIORITY.word && rows.filter((row) => priorityWord(row.priority) === word).length > 1);
3959
+ const unplaced = rows.filter((row) => !row.placed), levels = [...new Set(unplaced.map((row) => priorityWord(row.priority)))].filter((word) => word !== NO_PRIORITY.word && unplaced.filter((row) => priorityWord(row.priority) === word).length > 1);
3960
3960
  const lines = [...due, ...rows.map((row) => `${surface.bullet}${openTaskRowText(row, surface.surface)}`), ...levels.length > 0 ? [w.tied(levels)] : []];
3961
3961
  if (total > shown && surface.from === void 0) lines.push(w.more(shown, total, list.capped, w.allCommand[surface.surface]));
3962
3962
  if (total > shown && surface.from !== void 0 && shown > 0) lines.push(w.page(surface.from + 1, surface.from + shown, total, list.capped));
@@ -12805,4 +12805,4 @@ export {
12805
12805
  SERVER_VERSION,
12806
12806
  createProductBrainServer
12807
12807
  };
12808
- //# sourceMappingURL=chunk-ZECP7Q6X.js.map
12808
+ //# sourceMappingURL=chunk-OWJLG4J2.js.map