@productbrain/mcp 0.0.1-beta.8684 → 0.0.1-beta.8691

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.
@@ -7461,6 +7461,7 @@ function formatShapeAdvisorySummaryLine(sas) {
7461
7461
  }
7462
7462
 
7463
7463
  // src/lib/ruleListRender.ts
7464
+ var NO_ACTING_ROLE_LINE = "(Team and role lists not served: this read has no acting role, because no active session with a role was found. Start a session, then orient again.)";
7464
7465
  var RULE_LIST_CONTROL_CHARS_RE = /[\x00-\x08\x0b-\x1f\x7f]/g;
7465
7466
  function sanitizeRuleListField(value) {
7466
7467
  return value.replace(RULE_LIST_CONTROL_CHARS_RE, "").replace(/\s+/g, " ").trim();
@@ -7489,6 +7490,7 @@ function formatRuleListBucketLines(label, bucket, truncated) {
7489
7490
  }
7490
7491
  function formatRuleListTrailers(ruleLists) {
7491
7492
  const lines = [];
7493
+ if (ruleLists.actingRoleBound === false) lines.push(NO_ACTING_ROLE_LINE);
7492
7494
  if (ruleLists.truncated) {
7493
7495
  lines.push("(Some Current rules may be missing from these lists \u2014 the underlying read was truncated.)");
7494
7496
  }
@@ -7508,7 +7510,7 @@ function formatRuleListsLines(ruleLists) {
7508
7510
  ...formatRuleListBucketLines("Team", ruleLists.team, ruleLists.truncated),
7509
7511
  ...formatRuleListBucketLines("Role", ruleLists.role, ruleLists.truncated)
7510
7512
  ];
7511
- if (lines.length === 0 && ruleLists.unassigned === 0 && !ruleLists.truncated) return [];
7513
+ if (lines.length === 0 && ruleLists.unassigned === 0 && !ruleLists.truncated && ruleLists.actingRoleBound !== false) return [];
7512
7514
  return [...lines, ...formatRuleListTrailers(ruleLists)];
7513
7515
  }
7514
7516
  var BRIEFING_PULL_COMMANDS = {
@@ -14278,4 +14280,4 @@ export {
14278
14280
  createProductBrainServer,
14279
14281
  initFeatureFlags
14280
14282
  };
14281
- //# sourceMappingURL=chunk-EZARQYRO.js.map
14283
+ //# sourceMappingURL=chunk-RPKS4G3K.js.map