@productbrain/mcp 0.0.1-beta.10662 → 0.0.1-beta.10669

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-LZQOWS3S.js";
48
+ } from "./chunk-T7D27EHB.js";
49
49
 
50
50
  // src/server.ts
51
51
  import { McpServer as McpServer2 } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -7294,8 +7294,8 @@ async function markOrientedWithSnapshotFallback(agentSessionId, coherenceSnapsho
7294
7294
  });
7295
7295
  setSessionOriented(true);
7296
7296
  return true;
7297
- } catch {
7298
- if (!coherenceSnapshot) return false;
7297
+ } catch (err) {
7298
+ if (!coherenceSnapshot || err.code === "rate-limited") return false;
7299
7299
  try {
7300
7300
  await kernelCall("agent.markOriented", { sessionId: agentSessionId });
7301
7301
  setSessionOriented(true);
@@ -12827,4 +12827,4 @@ export {
12827
12827
  createProductBrainServer,
12828
12828
  initFeatureFlags
12829
12829
  };
12830
- //# sourceMappingURL=chunk-FABJID2F.js.map
12830
+ //# sourceMappingURL=chunk-JEJST4IH.js.map