@productbrain/mcp 0.0.1-beta.12056 → 0.0.1-beta.12063
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.
|
@@ -1407,12 +1407,13 @@ Use \`context action=get\` to inspect the existing entry, or \`entries action=up
|
|
|
1407
1407
|
}
|
|
1408
1408
|
|
|
1409
1409
|
// src/tools/conflict-preflight.ts
|
|
1410
|
-
async function runConflictPreflight(name, description, collectionHint) {
|
|
1410
|
+
async function runConflictPreflight(name, description, collectionHint, subjectId) {
|
|
1411
1411
|
try {
|
|
1412
1412
|
const conflicts = await kernelQuery("chain.detectSemanticConflicts", {
|
|
1413
1413
|
name,
|
|
1414
1414
|
description,
|
|
1415
|
-
...collectionHint ? { collectionHint } : {}
|
|
1415
|
+
...collectionHint ? { collectionHint } : {},
|
|
1416
|
+
...subjectId ? { subjectId } : {}
|
|
1416
1417
|
});
|
|
1417
1418
|
return { conflicts: conflicts ?? [] };
|
|
1418
1419
|
} catch (err) {
|
|
@@ -1785,7 +1786,9 @@ async function handleCommitEntry({ entryId, preview, steeringOverrideReason, qua
|
|
|
1785
1786
|
const preflight = await runConflictPreflight(
|
|
1786
1787
|
entry.name,
|
|
1787
1788
|
descField,
|
|
1788
|
-
entry.collectionSlug ?? entry.collection?.slug ?? entry.collection?.name
|
|
1789
|
+
entry.collectionSlug ?? entry.collection?.slug ?? entry.collection?.name,
|
|
1790
|
+
entry.entryId
|
|
1791
|
+
// TASK-938: the reason names this entry
|
|
1789
1792
|
);
|
|
1790
1793
|
const advisoryWarnings = preflight.conflicts.map((conflict) => ({
|
|
1791
1794
|
entryId: conflict.chainEntryId,
|
|
@@ -11867,4 +11870,4 @@ export {
|
|
|
11867
11870
|
SERVER_VERSION,
|
|
11868
11871
|
createProductBrainServer
|
|
11869
11872
|
};
|
|
11870
|
-
//# sourceMappingURL=chunk-
|
|
11873
|
+
//# sourceMappingURL=chunk-KMC5H4BZ.js.map
|