@productbrain/mcp 0.0.1-beta.75 → 0.0.1-beta.76
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.
- package/dist/{chunk-ZJBP7BE4.js → chunk-BWK4N5YU.js} +8 -6
- package/dist/chunk-BWK4N5YU.js.map +1 -0
- package/dist/{chunk-UEUFJX5P.js → chunk-KWQSXRIH.js} +51 -28
- package/dist/chunk-KWQSXRIH.js.map +1 -0
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{smart-capture-2L44VU22.js → smart-capture-HSQTA5JW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-UEUFJX5P.js.map +0 -1
- package/dist/chunk-ZJBP7BE4.js.map +0 -1
- /package/dist/{smart-capture-2L44VU22.js.map → smart-capture-HSQTA5JW.js.map} +0 -0
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
unknownAction,
|
|
44
44
|
validationResult,
|
|
45
45
|
withEnvelope
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-KWQSXRIH.js";
|
|
47
47
|
import {
|
|
48
48
|
trackKnowledgeGap,
|
|
49
49
|
trackQualityCheck,
|
|
@@ -238,7 +238,7 @@ ${formatted}` }],
|
|
|
238
238
|
},
|
|
239
239
|
withEnvelope(async ({ entryId }) => {
|
|
240
240
|
requireWriteAccess();
|
|
241
|
-
const { runContradictionCheck } = await import("./smart-capture-
|
|
241
|
+
const { runContradictionCheck } = await import("./smart-capture-HSQTA5JW.js");
|
|
242
242
|
const entry = await mcpQuery("chain.getEntry", { entryId });
|
|
243
243
|
if (!entry) {
|
|
244
244
|
return notFoundResult(entryId, `Entry '${entryId}' not found. Try search to find the right ID.`);
|
|
@@ -1699,9 +1699,11 @@ var fieldSchema = z6.object({
|
|
|
1699
1699
|
required: z6.boolean().optional().describe("Whether this field is required"),
|
|
1700
1700
|
options: z6.array(z6.string()).optional().describe("Options for 'select' type fields"),
|
|
1701
1701
|
searchable: z6.boolean().optional().describe("Whether this field is included in full-text search"),
|
|
1702
|
-
displayHint: z6.enum(["hero", "badge", "meta", "section", "hidden"]).optional().describe("V2 rendering hint: how the field should be displayed in Studio"),
|
|
1702
|
+
displayHint: z6.enum(["hero", "badge", "meta", "section", "hidden", "inline-meta"]).optional().describe("V2 rendering hint: how the field should be displayed in Studio"),
|
|
1703
1703
|
zone: z6.enum(["header", "body", "meta"]).optional().describe("V2 layout zone: where the field appears in the entry view"),
|
|
1704
|
-
colorMap: z6.record(z6.string()).optional().describe("V2 value-to-semantic-color mapping, e.g. { critical: 'danger', low: 'success' }")
|
|
1704
|
+
colorMap: z6.record(z6.string()).optional().describe("V2 value-to-semantic-color mapping, e.g. { critical: 'danger', low: 'success' }"),
|
|
1705
|
+
accentSource: z6.boolean().optional().describe("ENT-61: when true, this field's colorMap value drives the card-level accent styling"),
|
|
1706
|
+
iconMap: z6.record(z6.string(), z6.string()).optional().describe("ENT-61: maps field values to icons (emoji/symbol), prepended to badge text")
|
|
1705
1707
|
});
|
|
1706
1708
|
var collectionsSchema = z6.object({
|
|
1707
1709
|
action: z6.enum(COLLECTIONS_ACTIONS).describe(
|
|
@@ -7253,7 +7255,7 @@ async function handleCommitConstellation(args) {
|
|
|
7253
7255
|
}
|
|
7254
7256
|
let contradictionWarnings = [];
|
|
7255
7257
|
try {
|
|
7256
|
-
const { runContradictionCheck } = await import("./smart-capture-
|
|
7258
|
+
const { runContradictionCheck } = await import("./smart-capture-HSQTA5JW.js");
|
|
7257
7259
|
const commitLinks = betData.links ?? {};
|
|
7258
7260
|
const descField = commitLinks.problem ?? betData.description ?? "";
|
|
7259
7261
|
contradictionWarnings = await runContradictionCheck(
|
|
@@ -12996,4 +12998,4 @@ export {
|
|
|
12996
12998
|
SERVER_VERSION,
|
|
12997
12999
|
createProductBrainServer
|
|
12998
13000
|
};
|
|
12999
|
-
//# sourceMappingURL=chunk-
|
|
13001
|
+
//# sourceMappingURL=chunk-BWK4N5YU.js.map
|