@productbrain/mcp 0.0.1-beta.36 → 0.0.1-beta.37

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.
@@ -25,7 +25,7 @@ import {
25
25
  startAgentSession,
26
26
  trackWriteTool,
27
27
  translateStaleToolNames
28
- } from "./chunk-TPX6TOGV.js";
28
+ } from "./chunk-Z2FGGJHI.js";
29
29
  import {
30
30
  trackQualityCheck,
31
31
  trackQualityVerdict
@@ -125,7 +125,7 @@ ${formatted}` }]
125
125
  },
126
126
  async ({ entryId }) => {
127
127
  requireWriteAccess();
128
- const { runContradictionCheck } = await import("./smart-capture-QMBL4KGX.js");
128
+ const { runContradictionCheck } = await import("./smart-capture-BIKEZC6P.js");
129
129
  const entry = await mcpQuery("chain.getEntry", { entryId });
130
130
  if (!entry) {
131
131
  return {
@@ -7252,6 +7252,19 @@ function registerHealthTools(server) {
7252
7252
  const modified = Array.isArray(last.entriesModified) ? last.entriesModified.length : last.entriesModified ?? 0;
7253
7253
  lines.push(`Last session (${date}): ${created} created, ${modified} modified`);
7254
7254
  }
7255
+ if (orientEntries) {
7256
+ const mapGovernanceEntry = (e) => ({
7257
+ entryId: e.entryId,
7258
+ name: e.name,
7259
+ description: typeof e.preview === "string" ? e.preview : void 0
7260
+ });
7261
+ lines.push("");
7262
+ lines.push(...buildOperatingProtocol({
7263
+ principles: (orientEntries.principles ?? []).map(mapGovernanceEntry),
7264
+ standards: (orientEntries.standards ?? []).map(mapGovernanceEntry),
7265
+ businessRules: (orientEntries.businessRules ?? []).map(mapGovernanceEntry)
7266
+ }, task));
7267
+ }
7255
7268
  if (agentSessionId) {
7256
7269
  try {
7257
7270
  await mcpCall("agent.markOriented", { sessionId: agentSessionId });
@@ -8656,4 +8669,4 @@ export {
8656
8669
  SERVER_VERSION,
8657
8670
  createProductBrainServer
8658
8671
  };
8659
- //# sourceMappingURL=chunk-VEU5BI7L.js.map
8672
+ //# sourceMappingURL=chunk-7CD66MUS.js.map