@productbrain/mcp 0.0.1-beta.6442 → 0.0.1-beta.6459
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.
|
@@ -3821,7 +3821,8 @@ var updateEntrySchema = z8.object({
|
|
|
3821
3821
|
data: z8.record(z8.unknown()).optional().describe("Fields to update (merged with existing data)"),
|
|
3822
3822
|
order: z8.number().optional().describe("New sort order"),
|
|
3823
3823
|
canonicalKey: z8.string().optional().describe("Semantic type (e.g. 'decision', 'tension'). Only changeable on draft/uncommitted entries."),
|
|
3824
|
-
autoPublish: z8.boolean().optional().default(false).describe("
|
|
3824
|
+
autoPublish: z8.boolean().optional().default(false).describe("Accepted for backward compatibility but IGNORED \u2014 draft vs. published is decided by the entry's own accepted/active status, never by this flag. Removal tracked as a follow-up."),
|
|
3825
|
+
// DEC-1716
|
|
3825
3826
|
changeNote: z8.string().optional().describe("Strongly recommended: short human-readable rationale for WHY this change was made (e.g. 'Aligned description with F1-themed copy'). Surfaces in activity feed and pb get. If omitted, falls back to session purpose or auto-generated field summary."),
|
|
3826
3827
|
sourceRef: z8.string().optional().describe("URI or path of the source document backing this entry. Write-once: can only be set if currently empty."),
|
|
3827
3828
|
sourceExcerpt: z8.string().optional().describe("Verbatim excerpt from the source that backs this entry's claims. Write-once: can only be set if currently empty."),
|
|
@@ -4708,8 +4709,9 @@ var entriesSchema = z11.object({
|
|
|
4708
4709
|
canonicalKey: z11.string().max(200).optional().describe(
|
|
4709
4710
|
"For 'update': semantic type (e.g. 'decision', 'tension'); only changeable on draft/uncommitted entries. For 'move': optional atomic move+retype target. For 'preflight': optional semantic type to check requirements for."
|
|
4710
4711
|
),
|
|
4712
|
+
// DEC-1716: draft vs. published is decided by the entry's own accepted/active status, never this flag.
|
|
4711
4713
|
autoPublish: z11.boolean().optional().default(false).describe(
|
|
4712
|
-
"For 'update':
|
|
4714
|
+
"For 'update': accepted for backward compatibility but IGNORED \u2014 draft vs. published is decided by the entry's own accepted/active status, never by this flag."
|
|
4713
4715
|
),
|
|
4714
4716
|
changeNote: z11.string().max(2e3).optional().describe(
|
|
4715
4717
|
"For 'update': short human-readable rationale for WHY this change was made. Surfaces in activity feed."
|
|
@@ -4951,7 +4953,7 @@ function registerEntriesTools(server) {
|
|
|
4951
4953
|
"entries",
|
|
4952
4954
|
{
|
|
4953
4955
|
title: "Entries",
|
|
4954
|
-
description: 'Read and manage entries on the Chain. One tool for the entry lifecycle.\n\n- **preflight**: Inspect a type and selected context before composing. No writes, capacity reservation or authority grant.\n- **list**: Browse entries with optional filters (collection, status, tag, label). Use collections action=list first to discover slugs.\n- **get**: Fetch a single entry by ID \u2014 full record with data, labels, relations, history.\n- **batch**: Fetch multiple entries (max 20) in one call. Same shape as get per entry.\n- **search**: Full-text search across entries. Scope by collection or filter by status.\n- **update**: Change fields on an existing entry (
|
|
4956
|
+
description: 'Read and manage entries on the Chain. One tool for the entry lifecycle.\n\n- **preflight**: Inspect a type and selected context before composing. No writes, capacity reservation or authority grant.\n- **list**: Browse entries with optional filters (collection, status, tag, label). Use collections action=list first to discover slugs.\n- **get**: Fetch a single entry by ID \u2014 full record with data, labels, relations, history.\n- **batch**: Fetch multiple entries (max 20) in one call. Same shape as get per entry.\n- **search**: Full-text search across entries. Scope by collection or filter by status.\n- **update**: Change fields on an existing entry (publishes whenever the entry is not draft \u2014 includes archived, not just accepted/active; autoPublish is accepted but ignored).\n- **commit**: Accept a draft entry onto the Chain (SSOT). Runs the contradiction preflight first.\n- **history**: Audit trail for an entry.\n- **move**: Relocate an entry to a different collection; pass canonicalKey too for an atomic move+retype.\n- **verify**: Mark an entry as verified (lightweight, no codebase scan \u2014 see `quality action=verify-chain` for that).\n\nUse `entries action=get entryId="..."` to fetch one. Use `entries action=search query="..."` to discover.',
|
|
4955
4957
|
inputSchema: entriesSchema,
|
|
4956
4958
|
// Mixed read/write noun (§3 R3): can't be marked read-only once update/commit/move
|
|
4957
4959
|
// live here too — accepted for the 11-tool default (§9 R3).
|
|
@@ -16669,4 +16671,4 @@ export {
|
|
|
16669
16671
|
createProductBrainServer,
|
|
16670
16672
|
initFeatureFlags
|
|
16671
16673
|
};
|
|
16672
|
-
//# sourceMappingURL=chunk-
|
|
16674
|
+
//# sourceMappingURL=chunk-WFKDNJYA.js.map
|