@productbrain/mcp 0.0.1-beta.14543 → 0.0.1-beta.14555

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.
@@ -2628,7 +2628,7 @@ async function handleReplaceEntry({ entryId, newEntryId, reason: reason2 }) {
2628
2628
  import { z as z11 } from "zod/v3";
2629
2629
  var moveEntrySchema = z11.object({
2630
2630
  entryId: z11.string().describe("Entry ID to move, e.g. '<PREFIX>-<n>'"),
2631
- toCollection: z11.string().describe("Target collection slug, e.g. 'decisions', 'architecture'"),
2631
+ toCollection: z11.string().describe("Target collection slug, e.g. 'decisions', 'rules'"),
2632
2632
  // WP-707 S2 (TASK-146): optional atomic move+RETYPE — validates and persists the entry's NEW
2633
2633
  // canonicalKey and its destination collection in the SAME write (convex/agentKnowledge/
2634
2634
  // moveToCollectionOperation.ts round 3, DEC-1622). Omit for a plain same-kind relocation.
@@ -2801,7 +2801,7 @@ var entriesSchema = z12.object({
2801
2801
  reason: z12.string().trim().max(REASON_MAX_LENGTH, { message: REASON_LENGTH_FIX }).optional().describe(
2802
2802
  `For 'accept' with replaces, and for 'replace': why, one line of at most ${REASON_MAX_LENGTH} characters (required).`
2803
2803
  ),
2804
- toCollection: z12.string().max(200).optional().describe("For 'move': target collection slug, e.g. 'decisions', 'architecture'.")
2804
+ toCollection: z12.string().max(200).optional().describe("For 'move': target collection slug, e.g. 'decisions', 'rules'.")
2805
2805
  });
2806
2806
  var entriesUpdateVariant = updateEntrySchema.extend({ action: z12.literal("update") });
2807
2807
  var entriesAcceptVariant = commitEntrySchema.extend({ action: z12.literal("accept") });
@@ -4540,7 +4540,7 @@ var LOOKUP_ACTION_DESCRIBE = `'get': entries in full by ID (entryIds: up to 20,
4540
4540
  var LOOKUP_TOOL_LINES = "- **get**: Full entries by ID: data, labels, relations, history. entryIds reads up to 20 in one call.\n- **batch**: get with entryIds.\n- **history**: Audit trail for an entry.\n- **list**: Browse entries by collection, status, tag or label; collections action=list names the slugs.\n- **search**: Full-text search; scope by collection or status.\n- **find**: An entry's direct relations, both ways; not text search.\n- **people**: The workspace's members: name, email, status, role. Max 200.\n- **outcome**: A key result's derived view (current, progress, pace, staleness, completion), its objective and up to 5 sibling key results.\n- **readings**: A key result's readings, newest first; a replaced row names its replacement. Record with `outcome action=record`.\n- **accountable**: What a role owns, reports on, and who holds it; no roleId: every seat.\n- **preflight**: What an entry in a collection needs; saves nothing.\n";
4541
4541
  var lookupParams = {
4542
4542
  entryIds: z19.array(z19.string().max(200)).min(1).max(20).optional().describe("For 'get'/'batch': up to 20 entry IDs, one call."),
4543
- collection: z19.string().max(200).optional().describe("For 'list'/'search': collection slug, e.g. 'glossary', 'tracking-events'. Required for 'preflight'."),
4543
+ collection: z19.string().max(200).optional().describe("For 'list'/'search': collection slug, e.g. 'glossary', 'tensions'. Required for 'preflight'."),
4544
4544
  query: z19.string().min(2).max(500).optional().describe("For 'search': search text."),
4545
4545
  // 'active'/'accepted'/'current' are the same trust level (DEC-1575/DEC-1788) — all enumerated, never one substituted.
4546
4546
  status: statusFilterSchema.optional().describe(
@@ -6358,22 +6358,8 @@ function buildPlannedWorkSection(work, priorSessions, recoveryBlock) {
6358
6358
  var REGISTRY_MANIFEST = [
6359
6359
  // ── Canonical UI registries ──────────────────────────────────────
6360
6360
  // BET-143 Slice 4: ui-colors removed — color is now a field on collection docs (schema.ts).
6361
- {
6362
- id: "routes",
6363
- path: "src/lib/navigation.ts",
6364
- exportName: "COLLECTION_ROUTES",
6365
- description: "Collection slug to dedicated route path",
6366
- expectedCoverage: "curated",
6367
- keyExtraction: "object-keys"
6368
- },
6369
- {
6370
- id: "gap-paths",
6371
- path: "src/lib/navigation.ts",
6372
- exportName: "GAP_PATHS",
6373
- description: "Readiness gap ID to workspace-relative route path",
6374
- expectedCoverage: "curated",
6375
- keyExtraction: "object-keys"
6376
- },
6361
+ // TASK-407 (WP-867): routes (COLLECTION_ROUTES) and gap-paths (GAP_PATHS) removed — both maps
6362
+ // are deleted from src/lib/navigation.ts (no runtime reader).
6377
6363
  // BET-280 S3: display-fields removed — DISPLAY_FIELDS constant deleted, field display is now schema-driven.
6378
6364
  // BET-280 S3: brain-icons removed — COLLECTION_ICONS unexported, getCollectionIcon() is a local rendering fallback only.
6379
6365
  // ── Graph visualization registries ───────────────────────────────
@@ -12418,4 +12404,4 @@ export {
12418
12404
  SERVER_VERSION,
12419
12405
  createProductBrainServer
12420
12406
  };
12421
- //# sourceMappingURL=chunk-VHTLMRKD.js.map
12407
+ //# sourceMappingURL=chunk-7IJNFM4Z.js.map