@productbrain/mcp 0.0.1-beta.4406 → 0.0.1-beta.4415

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.
@@ -4795,6 +4795,7 @@ var ENTRIES_ACTIONS = [
4795
4795
  "move",
4796
4796
  "verify"
4797
4797
  ];
4798
+ var entriesStatusFilterSchema = z10.union([z10.string().max(200), z10.array(z10.enum(["draft", "active", "accepted", "deprecated", "archived"])).max(5)]);
4798
4799
  var coherencyAcknowledgementFlatSchema = z10.object({
4799
4800
  response: z10.enum(["linked", "accepted-fix", "diverged"]).describe("Explicit response to an acknowledge-required coherency challenge."),
4800
4801
  entryId: z10.string().max(200).optional().describe("Authorizing entry being linked/accepted (required for 'linked' and 'accepted-fix')."),
@@ -4809,8 +4810,8 @@ var entriesSchema = z10.object({
4809
4810
  ),
4810
4811
  entryIds: z10.array(z10.string().max(200)).min(1).max(20).optional().describe("Entry IDs for 'batch', e.g. ['TYPE-strategy', 'STR-jljeg7']"),
4811
4812
  collection: z10.string().max(200).optional().describe("Collection slug \u2014 for 'list'/'search': scope filter, e.g. 'glossary', 'tracking-events'."),
4812
- status: z10.string().max(200).optional().describe(
4813
- "For 'list'/'search': filter string (draft | active | deprecated | archived). For 'update': lifecycle value to set (draft | active | deprecated | archived). Workflow values are no longer accepted via `status` \u2014 use `workflowStatus` instead (the legacy auto-routing shim retired early)."
4813
+ status: entriesStatusFilterSchema.optional().describe(
4814
+ "For 'list': one lifecycle value (draft|active|accepted|deprecated|archived; active/accepted are the same trust level). For 'search': one value OR an array of up to 5 (e.g. ['active','accepted']). For 'update': draft|active|deprecated|archived ONLY \u2014 'accepted' is set via 'commit', never 'update'. Workflow values use `workflowStatus` instead."
4814
4815
  ),
4815
4816
  tag: z10.string().max(200).optional().describe("For 'list': filter by internal tag."),
4816
4817
  label: z10.string().max(200).optional().describe("For 'list': filter by label slug \u2014 matches entries across all collections."),
@@ -4866,7 +4867,8 @@ var entriesSearchVariant = z10.object({
4866
4867
  action: z10.literal("search"),
4867
4868
  query: z10.string().min(2).max(500),
4868
4869
  collection: z10.string().max(200).optional(),
4869
- status: z10.string().max(200).optional()
4870
+ status: entriesStatusFilterSchema.optional()
4871
+ // PR #660 R1 Zqh1K: string|array.
4870
4872
  });
4871
4873
  var entriesUpdateVariant = updateEntrySchema.extend({ action: z10.literal("update") });
4872
4874
  var entriesCommitVariant = commitEntrySchema.extend({ action: z10.literal("commit") });
@@ -17044,4 +17046,4 @@ export {
17044
17046
  createProductBrainServer,
17045
17047
  initFeatureFlags
17046
17048
  };
17047
- //# sourceMappingURL=chunk-U4QDOV2F.js.map
17049
+ //# sourceMappingURL=chunk-DWLUS53G.js.map