@productbrain/mcp 0.0.1-beta.16040 → 0.0.1-beta.16045

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.
@@ -58,7 +58,7 @@ import {
58
58
  startAgentSession,
59
59
  startTimingLine,
60
60
  withAcceptPrompt
61
- } from "./chunk-TLR7A2WH.js";
61
+ } from "./chunk-MHICAMQ2.js";
62
62
 
63
63
  // src/server.ts
64
64
  import { McpServer as McpServer2 } from "@modelcontextprotocol/server";
@@ -12786,4 +12786,4 @@ export {
12786
12786
  SERVER_VERSION,
12787
12787
  createProductBrainServer
12788
12788
  };
12789
- //# sourceMappingURL=chunk-7INLGX4F.js.map
12789
+ //# sourceMappingURL=chunk-DFT5LA6J.js.map
@@ -375,7 +375,8 @@ function formatPrinciplesLines(strategy) {
375
375
  return [`${PRINCIPLES_LABEL}${idTag(strategy.entryId)}:`, ...strategy.principles.map((line) => ` ${sanitizeRuleListField(line)}`)];
376
376
  }
377
377
  function formatMethodLines(methods, sessionStart) {
378
- const block = sessionStart && methods?.block ? [...methods.block.lines, ...methods.offers.map((o) => o.line)] : [], method = methods?.method?.lines ?? [];
378
+ const offers = methods?.offers.map((o) => o.line) ?? [];
379
+ const block = sessionStart && methods?.block ? [...methods.block.lines, ...offers] : [], method = [...methods?.method?.lines ?? [], ...sessionStart || methods?.block ? [] : offers];
379
380
  return [...block, ...block.length > 0 && method.length > 0 ? [""] : [], ...method].map((line) => briefingLine(line));
380
381
  }
381
382
  function formatBriefingLines(view) {
@@ -2045,4 +2046,4 @@ export {
2045
2046
  appUrl,
2046
2047
  apiKeysUrl
2047
2048
  };
2048
- //# sourceMappingURL=chunk-TLR7A2WH.js.map
2049
+ //# sourceMappingURL=chunk-MHICAMQ2.js.map