@productbrain/mcp 0.0.1-beta.148 → 0.0.1-beta.149
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.
|
@@ -11209,10 +11209,10 @@ async function buildOrientResponse(wsCtx, agentSessionId, errors, task) {
|
|
|
11209
11209
|
const entries = await mcpQuery("chain.listEntries", { collectionSlug: slug });
|
|
11210
11210
|
const active = (entries ?? []).filter((e) => e.status === "active");
|
|
11211
11211
|
const colDef = govCollections.find((c) => c.slug === slug);
|
|
11212
|
-
const ck = colDef?.defaultCanonicalKey
|
|
11213
|
-
if (ck === "principle"
|
|
11214
|
-
else if (ck === "standard"
|
|
11215
|
-
else if (ck === "business_rule"
|
|
11212
|
+
const ck = colDef?.defaultCanonicalKey;
|
|
11213
|
+
if (ck === "principle") wsPrinciples = [...wsPrinciples, ...active];
|
|
11214
|
+
else if (ck === "standard") wsStandards = [...wsStandards, ...active];
|
|
11215
|
+
else if (ck === "business_rule") wsBusinessRules = [...wsBusinessRules, ...active];
|
|
11216
11216
|
}
|
|
11217
11217
|
} catch {
|
|
11218
11218
|
}
|
|
@@ -15226,4 +15226,4 @@ export {
|
|
|
15226
15226
|
SERVER_VERSION,
|
|
15227
15227
|
createProductBrainServer
|
|
15228
15228
|
};
|
|
15229
|
-
//# sourceMappingURL=chunk-
|
|
15229
|
+
//# sourceMappingURL=chunk-H7XBZ4H3.js.map
|