@productbrain/mcp 0.0.1-beta.13735 → 0.0.1-beta.13746

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.
@@ -361,7 +361,10 @@ function resolveEffectiveCollection(result2, preview, fallbackCollection) {
361
361
 
362
362
  // src/lib/limits.ts
363
363
  var ENTRY_BODY_MAX_CHARS = 15e4;
364
- var ENTRY_NAME_MAX_CHARS = 250;
364
+ var ENTRY_NAME_CAPS = { working: 80, direction: 250, other: 250 };
365
+ var ENTRY_NAME_MAX_CHARS = Math.max(...Object.values(ENTRY_NAME_CAPS));
366
+ var ENTRY_NAME_HELP = `A short name, ${ENTRY_NAME_CAPS.working} characters or fewer.`;
367
+ var ENTRY_BODY_HELP = "The detail, in Markdown.";
365
368
  var SOURCE_EXCERPT_MAX_CHARS = 4e3;
366
369
  var LABEL_DESCRIPTION_MAX_CHARS = 2e3;
367
370
  var RELATION_BATCH_MAX = 25;
@@ -1115,8 +1118,8 @@ var SUGGEST_ONLY_REMOVED = "suggestOnly was removed: call capture with preview:
1115
1118
  var captureCompoundSchema = z5.object({
1116
1119
  action: z5.enum(CAPTURE_ACTIONS).optional().default("capture").describe("Create a single knowledge entry."),
1117
1120
  collection: z5.string().max(200).optional().describe("Collection slug, e.g. 'tensions', 'rules', 'glossary', 'decisions'. Optional \u2014 the kernel classifies when omitted."),
1118
- name: z5.string().max(ENTRY_NAME_MAX_CHARS).optional().describe("Display name \u2014 required."),
1119
- description: z5.string().max(ENTRY_BODY_MAX_CHARS).optional().describe("Full context, in Markdown \u2014 required."),
1121
+ name: z5.string().max(ENTRY_NAME_MAX_CHARS).optional().describe(ENTRY_NAME_HELP),
1122
+ description: z5.string().max(ENTRY_BODY_MAX_CHARS).optional().describe(ENTRY_BODY_HELP),
1120
1123
  context: z5.string().max(5e3).optional().describe("Optional additional context; appended to the description, so it is stored only when the description is (not when data carries the prose field)."),
1121
1124
  canonicalKey: z5.string().max(200).optional().describe("Semantic type (e.g. 'decision', 'tension', 'vision'). Auto-assigned from collection if omitted."),
1122
1125
  data: z5.record(z5.unknown()).optional().describe("Explicit field values; user-provided wins over inferred."),
@@ -12059,4 +12062,4 @@ export {
12059
12062
  SERVER_VERSION,
12060
12063
  createProductBrainServer
12061
12064
  };
12062
- //# sourceMappingURL=chunk-JHZEBRHT.js.map
12065
+ //# sourceMappingURL=chunk-GUT3AGLO.js.map