@productbrain/mcp 0.0.1-beta.14548 → 0.0.1-beta.14560
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', '
|
|
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', '
|
|
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', '
|
|
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(
|
|
@@ -12404,4 +12404,4 @@ export {
|
|
|
12404
12404
|
SERVER_VERSION,
|
|
12405
12405
|
createProductBrainServer
|
|
12406
12406
|
};
|
|
12407
|
-
//# sourceMappingURL=chunk-
|
|
12407
|
+
//# sourceMappingURL=chunk-7IJNFM4Z.js.map
|