@productbrain/mcp 0.0.1-beta.9123 → 0.0.1-beta.9132
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.
|
@@ -12429,6 +12429,18 @@ var roleActionUnion = z31.discriminatedUnion("action", [accountableVariant]);
|
|
|
12429
12429
|
var ROLE_ACTION_SPECS = {
|
|
12430
12430
|
accountable: { params: ["roleId", "canonicalKey", "limit", "cursor"], description: "roleId is required; canonicalKey/limit/cursor are optional." }
|
|
12431
12431
|
};
|
|
12432
|
+
function formatHolders(result2) {
|
|
12433
|
+
if (result2.holders.length === 0) return [` holders: none${result2.holdersTruncated ? " found, but the membership scan is incomplete" : ""}`];
|
|
12434
|
+
return [
|
|
12435
|
+
" holders:",
|
|
12436
|
+
...result2.holders.map((h) => {
|
|
12437
|
+
const tag = h.status === "active" ? "" : ` (${sanitizeSingleLineField(h.status)})`;
|
|
12438
|
+
const team = h.teamName ? ` in ${sanitizeSingleLineField(h.teamName)}` : "";
|
|
12439
|
+
return ` ${sanitizeSingleLineField(h.displayName)}${tag}${team}`;
|
|
12440
|
+
}),
|
|
12441
|
+
...result2.holdersTruncated ? [" (membership scan cut at 500 rows, more holders may exist)"] : []
|
|
12442
|
+
];
|
|
12443
|
+
}
|
|
12432
12444
|
function formatRow(row) {
|
|
12433
12445
|
const id = row.entryId ?? row.id;
|
|
12434
12446
|
const statusDisplay = row.workflowStatus ? `${row.status} / ${sanitizeSingleLineField(row.workflowStatus)}` : row.status;
|
|
@@ -12446,6 +12458,7 @@ function formatRoleAccountable(result2) {
|
|
|
12446
12458
|
const explicitCursorHint = result2.nextCursor !== null ? `raise limit or continue with cursor ${result2.nextCursor}` : "raise limit";
|
|
12447
12459
|
return [
|
|
12448
12460
|
`${roleLabel2} \u2014 accountability:`,
|
|
12461
|
+
...formatHolders(result2),
|
|
12449
12462
|
...formatSection("explicit (owns)", result2.explicit, result2.explicitTruncated, explicitCursorHint),
|
|
12450
12463
|
...formatSection("reporting (reports on)", result2.reporting, result2.reportingTruncated),
|
|
12451
12464
|
` inherited: not-computed \u2014 ${result2.inheritedNotComputedReason}`
|
|
@@ -13624,4 +13637,4 @@ export {
|
|
|
13624
13637
|
createProductBrainServer,
|
|
13625
13638
|
initFeatureFlags
|
|
13626
13639
|
};
|
|
13627
|
-
//# sourceMappingURL=chunk-
|
|
13640
|
+
//# sourceMappingURL=chunk-GGI6WIZW.js.map
|