@productbrain/mcp 0.0.1-beta.10366 → 0.0.1-beta.10380

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.
@@ -45,7 +45,7 @@ import {
45
45
  trackQualityVerdict,
46
46
  trackSessionCaptureRate,
47
47
  trackZeroCaptureAuditFired
48
- } from "./chunk-3IULAWBS.js";
48
+ } from "./chunk-L3QEFWAV.js";
49
49
 
50
50
  // src/server.ts
51
51
  import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -7152,7 +7152,7 @@ function buildRitualsSurfaceLines(view, opts) {
7152
7152
  lines.push(SPINE_UNAVAILABLE_LINE);
7153
7153
  return lines;
7154
7154
  }
7155
- lines.push(view?.directionLine ?? "Direction: not computed yet \u2014 `pb direction refresh`");
7155
+ if (view?.directionLine) lines.push(view.directionLine);
7156
7156
  if (view?.verdictAskLine) lines.push(view.verdictAskLine);
7157
7157
  if (view?.spineLine) lines.push(view.spineLine);
7158
7158
  if (view?.atCapLine) lines.push(view.atCapLine);
@@ -10872,7 +10872,7 @@ async function handleStart2(data) {
10872
10872
  lines.push(
10873
10873
  `Session ${result2.sessionId} active. Pass sessionId="${result2.sessionId}" on every write: the connection does not remember your session between calls. Initiated by ${result2.initiatedBy}. Workspace ${result2.workspaceName}. Scope: ${result2.toolsScope}. Orient with a task before substantive work: it is advice for captures, relations, accepts, ticks and questions; workflow checkpoints and organisation-structure writes still require it.`
10874
10874
  );
10875
- lines.push(FEEDBACK_SUBMIT_HINT);
10875
+ if (!result2.briefing?.firstReply) lines.push(FEEDBACK_SUBMIT_HINT);
10876
10876
  const questionNotice = result2.notices?.find((n) => n.source === QUESTION_ACK_GATE_SOURCE_ID);
10877
10877
  const noticeLines = formatNoticeLines(result2.notices?.filter((n) => n !== questionNotice));
10878
10878
  if (noticeLines.length > 0) lines.push("", "Notices:", ...noticeLines);
@@ -12781,4 +12781,4 @@ export {
12781
12781
  createProductBrainServer,
12782
12782
  initFeatureFlags
12783
12783
  };
12784
- //# sourceMappingURL=chunk-ZOQIEQJ7.js.map
12784
+ //# sourceMappingURL=chunk-YK4XFCIU.js.map