@productbrain/mcp 0.0.1-beta.36 → 0.0.1-beta.37
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-VEU5BI7L.js → chunk-7CD66MUS.js} +16 -3
- package/dist/chunk-7CD66MUS.js.map +1 -0
- package/dist/{chunk-TPX6TOGV.js → chunk-Z2FGGJHI.js} +77 -12
- package/dist/chunk-Z2FGGJHI.js.map +1 -0
- package/dist/http.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{smart-capture-QMBL4KGX.js → smart-capture-BIKEZC6P.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-TPX6TOGV.js.map +0 -1
- package/dist/chunk-VEU5BI7L.js.map +0 -1
- /package/dist/{smart-capture-QMBL4KGX.js.map → smart-capture-BIKEZC6P.js.map} +0 -0
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
startAgentSession,
|
|
26
26
|
trackWriteTool,
|
|
27
27
|
translateStaleToolNames
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Z2FGGJHI.js";
|
|
29
29
|
import {
|
|
30
30
|
trackQualityCheck,
|
|
31
31
|
trackQualityVerdict
|
|
@@ -125,7 +125,7 @@ ${formatted}` }]
|
|
|
125
125
|
},
|
|
126
126
|
async ({ entryId }) => {
|
|
127
127
|
requireWriteAccess();
|
|
128
|
-
const { runContradictionCheck } = await import("./smart-capture-
|
|
128
|
+
const { runContradictionCheck } = await import("./smart-capture-BIKEZC6P.js");
|
|
129
129
|
const entry = await mcpQuery("chain.getEntry", { entryId });
|
|
130
130
|
if (!entry) {
|
|
131
131
|
return {
|
|
@@ -7252,6 +7252,19 @@ function registerHealthTools(server) {
|
|
|
7252
7252
|
const modified = Array.isArray(last.entriesModified) ? last.entriesModified.length : last.entriesModified ?? 0;
|
|
7253
7253
|
lines.push(`Last session (${date}): ${created} created, ${modified} modified`);
|
|
7254
7254
|
}
|
|
7255
|
+
if (orientEntries) {
|
|
7256
|
+
const mapGovernanceEntry = (e) => ({
|
|
7257
|
+
entryId: e.entryId,
|
|
7258
|
+
name: e.name,
|
|
7259
|
+
description: typeof e.preview === "string" ? e.preview : void 0
|
|
7260
|
+
});
|
|
7261
|
+
lines.push("");
|
|
7262
|
+
lines.push(...buildOperatingProtocol({
|
|
7263
|
+
principles: (orientEntries.principles ?? []).map(mapGovernanceEntry),
|
|
7264
|
+
standards: (orientEntries.standards ?? []).map(mapGovernanceEntry),
|
|
7265
|
+
businessRules: (orientEntries.businessRules ?? []).map(mapGovernanceEntry)
|
|
7266
|
+
}, task));
|
|
7267
|
+
}
|
|
7255
7268
|
if (agentSessionId) {
|
|
7256
7269
|
try {
|
|
7257
7270
|
await mcpCall("agent.markOriented", { sessionId: agentSessionId });
|
|
@@ -8656,4 +8669,4 @@ export {
|
|
|
8656
8669
|
SERVER_VERSION,
|
|
8657
8670
|
createProductBrainServer
|
|
8658
8671
|
};
|
|
8659
|
-
//# sourceMappingURL=chunk-
|
|
8672
|
+
//# sourceMappingURL=chunk-7CD66MUS.js.map
|