@productbrain/mcp 0.0.1-beta.9193 → 0.0.1-beta.9197

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.
@@ -5695,13 +5695,13 @@ var fieldSchema = z17.object({
5695
5695
  });
5696
5696
  var collectionsSchema = z17.object({
5697
5697
  action: z17.enum(COLLECTIONS_ACTIONS).describe(
5698
- "'list': browse all collections. 'update': update an existing collection. 'describe': full documentation for one collection \u2014 fields, option guides, usage guidance, examples. 'audit': health report for all collections \u2014 missing classification, icon, displayHint coverage, and field schema gaps. 'export': full system_collection_definitions export with classification metadata (thinkingLayer, classificationPriority, classificationCheck, classificationSignals, governanceRole, governanceFunction, timelineRole, canBeElementOf, descriptionFieldKey). Admin only. 'label-list'/'label-create'/'label-update'/'label-delete'/'label-apply'/'label-remove': manage workspace labels (absorbs the `labels` tool). Creating a new collection is not offered here \u2014 ask a platform admin to provision it, or enable the module ontology pack that owns the drawer."
5698
+ "'list': browse all collections. 'update': update an existing collection. 'describe': full documentation for one collection \u2014 fields, option guides, usage guidance, examples. 'audit': health report for all collections \u2014 missing classification, displayHint coverage, and field schema gaps. 'export': full system_collection_definitions export with classification metadata (thinkingLayer, classificationPriority, classificationCheck, classificationSignals, governanceRole, governanceFunction, timelineRole, canBeElementOf, descriptionFieldKey). Admin only. 'label-list'/'label-create'/'label-update'/'label-delete'/'label-apply'/'label-remove': manage workspace labels (absorbs the `labels` tool). Creating a new collection is not offered here \u2014 ask a platform admin to provision it, or enable the module ontology pack that owns the drawer."
5699
5699
  ),
5700
5700
  slug: z17.string().max(200).optional().describe("URL-safe identifier for create/update, e.g. 'glossary', 'tech-debt'. For label-*: label slug."),
5701
5701
  name: z17.string().max(ENTRY_NAME_MAX_CHARS).optional().describe("Display name for create, or new name for update. For label-create: label display name."),
5702
5702
  description: z17.string().max(2e4).optional().describe("What this collection is for. For label-create/label-update: what the label means (max 2,000 characters)."),
5703
5703
  purpose: z17.string().max(2e3).optional().describe("Why this collection exists \u2014 strategic reason"),
5704
- icon: z17.string().max(50).optional().describe("Emoji icon for the collection"),
5704
+ icon: z17.string().max(50).optional().describe("For update: always refused \u2014 a collection's icon comes from the platform catalog."),
5705
5705
  navGroup: z17.enum(["daily", "strategic", "governance", "reference", "collections"]).optional().describe("Sidebar placement: 'daily', 'strategic', 'governance', 'reference', 'collections'"),
5706
5706
  fields: z17.array(fieldSchema).max(200).optional().describe("Field definitions for create, or replacement schema for update (replaces all fields)"),
5707
5707
  axis: z17.enum(["work", "none", "pending"]).optional().describe("REQUIRED for create: 'work' (needs stageLabelMap + validWorkflowStatuses), 'none', or 'pending'. For update: always refused \u2014 a collection's axis comes from the platform catalog."),
@@ -5829,7 +5829,7 @@ function registerCollectionsTools(server) {
5829
5829
  "collections",
5830
5830
  {
5831
5831
  title: "Collections",
5832
- description: "Manage knowledge collections and workspace labels. Eleven actions:\n\n- **list**: Browse all collections \u2014 glossary, business rules, tracking events, etc. Returns slug, name, description, and field schema. Use before capture to see what exists.\n- **describe**: Full documentation for a single collection. Returns field help text, option decision guides, usage guidance, examples, and cross-references. Use when you need to understand a collection's purpose, field semantics, or option values.\n- **update**: Update a collection's name, description, purpose, icon, navGroup, fields, or (non-system only) stageLabelMap; axis and status words are the catalog's. Only provide the fields you want to change. Creating a NEW collection is not offered here \u2014 ask a platform admin to provision it, or enable the module ontology pack that owns the drawer.\n- **audit**: Health report for all workspace collections. Checks classification metadata, icon presence, displayHint coverage per field, and field schema gaps vs system definitions. Returns total collections, count with issues, and per-collection issue list.\n- **export**: Full system_collection_definitions export as JSON. Includes all classification metadata (thinkingLayer, classificationPriority, classificationCheck, timelineRole, governanceRole, governanceFunction, etc.). Admin only.\n- **label-list/label-create/label-update/label-delete/label-apply/label-remove**: manage workspace labels (absorbs the `labels` tool) \u2014 list all labels, create/update/delete a label, or apply/remove a label on an entry. Labels can be applied to any entry across any collection for cross-domain filtering.",
5832
+ description: "Manage knowledge collections and workspace labels. Eleven actions:\n\n- **list**: Browse all collections \u2014 glossary, business rules, tracking events, etc. Returns slug, name, description, and field schema. Use before capture to see what exists.\n- **describe**: Full documentation for a single collection. Returns field help text, option decision guides, usage guidance, examples, and cross-references. Use when you need to understand a collection's purpose, field semantics, or option values.\n- **update**: Update a collection's name, description, purpose, navGroup, fields, or (non-system only) stageLabelMap; axis, status words and icon are the catalog's. Only provide the fields you want to change. Creating a NEW collection is not offered here \u2014 ask a platform admin to provision it, or enable the module ontology pack that owns the drawer.\n- **audit**: Health report for all workspace collections. Checks classification metadata, displayHint coverage per field, and field schema gaps vs system definitions. Returns total collections, count with issues, and per-collection issue list.\n- **export**: Full system_collection_definitions export as JSON. Includes all classification metadata (thinkingLayer, classificationPriority, classificationCheck, timelineRole, governanceRole, governanceFunction, etc.). Admin only.\n- **label-list/label-create/label-update/label-delete/label-apply/label-remove**: manage workspace labels (absorbs the `labels` tool) \u2014 list all labels, create/update/delete a label, or apply/remove a label on an entry. Labels can be applied to any entry across any collection for cross-domain filtering.",
5833
5833
  inputSchema: collectionsSchema,
5834
5834
  annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false }
5835
5835
  },
@@ -6044,8 +6044,7 @@ All collections are healthy.`);
6044
6044
  ## Collections With Issues
6045
6045
  `);
6046
6046
  for (const col of problematic) {
6047
- const icon = col.icon ?? "\u2014";
6048
- lines.push(`### ${icon} ${col.name} (\`${col.slug}\`) \u2014 ${col.issues.length} issue(s)`);
6047
+ lines.push(`### ${col.name} (\`${col.slug}\`) \u2014 ${col.issues.length} issue(s)`);
6049
6048
  for (const issue of col.issues) {
6050
6049
  lines.push(`- **[${issue.code}]** ${issue.message}`);
6051
6050
  }
@@ -6057,7 +6056,7 @@ All collections are healthy.`);
6057
6056
  lines.push(`
6058
6057
  ## Healthy Collections
6059
6058
  `);
6060
- lines.push(healthyCollections.map((c) => `- ${c.icon ?? "\u2014"} \`${c.slug}\``).join("\n"));
6059
+ lines.push(healthyCollections.map((c) => `- \`${c.slug}\``).join("\n"));
6061
6060
  }
6062
6061
  return {
6063
6062
  content: [{ type: "text", text: lines.join("\n") }],
@@ -13709,4 +13708,4 @@ export {
13709
13708
  createProductBrainServer,
13710
13709
  initFeatureFlags
13711
13710
  };
13712
- //# sourceMappingURL=chunk-VGA5KJHL.js.map
13711
+ //# sourceMappingURL=chunk-CVKQQSBL.js.map