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

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-O5ZJZDOL.js";
48
+ } from "./chunk-3IULAWBS.js";
49
49
 
50
50
  // src/server.ts
51
51
  import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -7435,16 +7435,8 @@ async function _handleOrient({ mode = "full", tier, task, startupSignals, invoca
7435
7435
  }
7436
7436
  const sampleTruncated = readiness?.sampleTruncated === true || orientView?.sampleTruncated === true;
7437
7437
  if (readiness?.stats?.activeCount === 0 && !sampleTruncated) {
7438
- const scanLines = [
7439
- `# Welcome to ${wsCtx?.workspaceName ?? "your workspace"}`,
7440
- "",
7441
- "No accepted user-authored entries were found; drafts may already exist.",
7442
- "",
7443
- "For your current task, follow the spine guidance below: discover and reuse existing knowledge before creating anything.",
7444
- "Capture only what the task needs, inspect its returned status, and read it back. Accept it only if it remains a draft; already accepted or committed entries need no extra acceptance."
7445
- ];
7438
+ const scanLines = buildOrientBriefingLines(orientView);
7446
7439
  scanLines.push(...buildRitualsSurfaceLines(orientView, { fetchFailed: orientFetchFailed || orientView?.fetchFailed === true }));
7447
- scanLines.push("", ...buildOrientBriefingLines(orientView));
7448
7440
  let oriented = false;
7449
7441
  let orientationStatus2 = "no_session";
7450
7442
  if (agentSessionId && taskAsked) {
@@ -7457,7 +7449,7 @@ async function _handleOrient({ mode = "full", tier, task, startupSignals, invoca
7457
7449
  const blankResult = {
7458
7450
  content: [{ type: "text", text: scanLines.join("\n") }],
7459
7451
  structuredContent: success(
7460
- "No accepted user-authored entries found. Follow the spine guidance for your task.",
7452
+ "No accepted entries yet.",
7461
7453
  { oriented, orientationStatus: orientationStatus2, ...blankRuleListsExtra }
7462
7454
  )
7463
7455
  };
@@ -12789,4 +12781,4 @@ export {
12789
12781
  createProductBrainServer,
12790
12782
  initFeatureFlags
12791
12783
  };
12792
- //# sourceMappingURL=chunk-MCGSN6JU.js.map
12784
+ //# sourceMappingURL=chunk-ZOQIEQJ7.js.map