@productbrain/mcp 0.0.1-beta.8543 → 0.0.1-beta.8546

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.
@@ -2850,7 +2850,7 @@ function pushAppliedFieldsLines(responseLines, fieldsProvided, appliedFields, re
2850
2850
  // src/tools/knowledge/getHistory.ts
2851
2851
  import { z as z5 } from "zod/v3";
2852
2852
  var getHistorySchema = z5.object({
2853
- entryId: z5.string().describe("Entry ID, e.g. 'T-SUPPLIER', '<PREFIX>-<n>'")
2853
+ entryId: z5.string().describe("Entry ID, e.g. '<PREFIX>-<n>'")
2854
2854
  });
2855
2855
  async function handleGetHistory({ entryId }) {
2856
2856
  const history = await kernelQuery("chain.listEntryHistory", { entryId });
@@ -2881,7 +2881,7 @@ ${formatted}` }],
2881
2881
 
2882
2882
  // src/tools/knowledge.ts
2883
2883
  var updateEntrySchema = z6.object({
2884
- entryId: z6.string().describe("Entry ID to update, e.g. 'T-SUPPLIER', '<PREFIX>-<n>'"),
2884
+ entryId: z6.string().describe("Entry ID to update, e.g. '<PREFIX>-<n>'"),
2885
2885
  name: z6.string().optional().describe("New display name"),
2886
2886
  // Chain-ID-leak guard (check:chain-id-leaks): the retired legacy-shim ticket number stays in
2887
2887
  // the code comment above, never in this user-visible describe() string. T8 (TASK-393, WP-779): narrowed to generated ENTRY_STATUS_WRITE_WORDS.
@@ -14304,7 +14304,7 @@ ${glossaryContext}
14304
14304
 
14305
14305
  For each name:
14306
14306
  1. Does it match a canonical term? If so, which one?
14307
- 2. Is there terminology drift? (e.g. using "vendor" instead of "supplier", "compliance" instead of "conformance")
14307
+ 2. Is there terminology drift? (e.g. using "customer" instead of "member", "owner" instead of "admin")
14308
14308
  3. Suggest the canonical alternative if drift is detected.
14309
14309
  4. Flag any names that don't have a corresponding glossary term (might need one).
14310
14310
 
@@ -14324,20 +14324,20 @@ function registerPrompts(server) {
14324
14324
  server.prompt(
14325
14325
  "name-check",
14326
14326
  "Check variable names, field names, or API names against the glossary for terminology alignment. Flags drift from canonical terms.",
14327
- { names: z33.string().describe("Comma-separated list of names to check (e.g. 'vendor_id, compliance_level, formulator_type')") },
14327
+ { names: z33.string().describe("Comma-separated list of names to check (e.g. 'user_id, workspace_id, entry_status')") },
14328
14328
  async ({ names }) => buildNameCheckPrompt(names)
14329
14329
  );
14330
14330
  server.prompt(
14331
14331
  "draft-decision-record",
14332
14332
  "Draft a structured decision record from a description of what was decided. Includes context from recent decisions and relevant rules.",
14333
- { context: z33.string().describe("Description of the decision (e.g. 'We decided to use MRSL v3.1 as the conformance baseline because...')") },
14333
+ { context: z33.string().describe("Description of the decision (e.g. 'We decided to keep one body field per entry because...')") },
14334
14334
  async ({ context }) => buildDraftDecisionRecordPrompt(context)
14335
14335
  );
14336
14336
  server.prompt(
14337
14337
  "draft-rule-from-context",
14338
14338
  "Draft a new business rule from an observation or discovery made while coding. Fetches existing rules for the domain to ensure consistency.",
14339
14339
  {
14340
- observation: z33.string().describe("What you observed or discovered (e.g. 'Suppliers can have multiple org types in Gateway')"),
14340
+ observation: z33.string().describe("What you observed or discovered (e.g. 'A workspace can have more than one owner role')"),
14341
14341
  domain: z33.string().describe("Which domain this rule belongs to (e.g. 'Governance & Decision-Making')")
14342
14342
  },
14343
14343
  async ({ observation, domain }) => buildDraftRuleFromContextPrompt(observation, domain)
@@ -14525,4 +14525,4 @@ export {
14525
14525
  createProductBrainServer,
14526
14526
  initFeatureFlags
14527
14527
  };
14528
- //# sourceMappingURL=chunk-NKK5TZHB.js.map
14528
+ //# sourceMappingURL=chunk-HM2EEYVT.js.map