@productbrain/mcp 0.0.1-beta.9153 → 0.0.1-beta.9161
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.
|
@@ -5707,14 +5707,14 @@ var collectionsSchema = z17.object({
|
|
|
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."),
|
|
5708
5708
|
stageLabelMap: z17.record(z17.string(), z17.enum(["open", "in_progress", "done", "stopped", "tag"])).optional().describe("Required when axis is 'work': maps each valid workflowStatus to a canonical stage."),
|
|
5709
5709
|
defaultCanonicalKey: z17.string().max(200).optional().describe("The canonical_key entries in this collection default to (e.g. 'decision', 'insight'). Consumers read from collection doc; code map is fallback."),
|
|
5710
|
-
defaultWorkflowStatus: z17.string().max(200).optional().describe("Default workflowStatus for new entries.
|
|
5711
|
-
validWorkflowStatuses: z17.array(z17.string().max(200)).max(50).optional().describe("The allowed workflowStatus values for entries in this collection.
|
|
5710
|
+
defaultWorkflowStatus: z17.string().max(200).optional().describe("Default workflowStatus for new entries. For update: always refused \u2014 the status words come from the platform catalog."),
|
|
5711
|
+
validWorkflowStatuses: z17.array(z17.string().max(200)).max(50).optional().describe("The allowed workflowStatus values for entries in this collection. For update: always refused \u2014 the status words come from the platform catalog."),
|
|
5712
5712
|
// ENT-65, FEAT-200
|
|
5713
5713
|
classificationCheck: z17.string().max(500).optional().describe("LLM decision-tree check for this collection (3\u2013500 chars). Guides the classifier in routing entries here."),
|
|
5714
5714
|
classificationPriority: z17.number().optional().describe("Classifier priority (1\u20139, lower = higher priority). Used with classificationCheck to order the decision tree."),
|
|
5715
5715
|
qualityCriteria: z17.array(qualityCriterionSchema).max(50).optional().describe("Per-collection accept gate rules. 'required' rule hard-blocks accepts on empty fields; 'min_length'/'pattern' rules warn. Pass an empty array to clear all criteria."),
|
|
5716
5716
|
usageGuidance: z17.string().max(2e4).optional().describe("Plain-text guidance shown to agents and users: when to use this collection, when not to, and what makes a good entry."),
|
|
5717
|
-
statusList: z17.array(statusListEntrySchema).max(50).optional().describe("Ordered status vocabulary: {label, category, archiveDefault?}[]
|
|
5717
|
+
statusList: z17.array(statusListEntrySchema).max(50).optional().describe("Ordered status vocabulary: {label, category, archiveDefault?}[]. For update: always refused \u2014 the status words come from the platform catalog."),
|
|
5718
5718
|
// For label-*
|
|
5719
5719
|
color: z17.string().max(50).optional().describe("For label-create/label-update: hex color, e.g. '#ef4444'."),
|
|
5720
5720
|
parentSlug: z17.string().max(200).optional().describe("For label-create: parent group slug for label hierarchy."),
|
|
@@ -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
|
|
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.",
|
|
5833
5833
|
inputSchema: collectionsSchema,
|
|
5834
5834
|
annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false }
|
|
5835
5835
|
},
|
|
@@ -13637,4 +13637,4 @@ export {
|
|
|
13637
13637
|
createProductBrainServer,
|
|
13638
13638
|
initFeatureFlags
|
|
13639
13639
|
};
|
|
13640
|
-
//# sourceMappingURL=chunk-
|
|
13640
|
+
//# sourceMappingURL=chunk-YKOWHHNE.js.map
|