@productbrain/mcp 0.0.1-beta.8895 → 0.0.1-beta.8902

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.
@@ -1281,7 +1281,6 @@ var groundingRelatedEntrySchema = z3.object({
1281
1281
  name: z3.string(),
1282
1282
  collectionSlug: z3.string(),
1283
1283
  overlapRatio: z3.number(),
1284
- recommendedRelationType: z3.string(),
1285
1284
  reasoning: z3.string()
1286
1285
  });
1287
1286
  var groundingDuplicateEntrySchema = z3.object({
@@ -1824,7 +1823,7 @@ async function handleCapture(server, { collection, name, description, context, e
1824
1823
  const groundingRaw = await Promise.race([groundingPromise, new Promise((r) => setTimeout(() => r(null), 500))]);
1825
1824
  const groundingElapsedMs = Date.now() - groundingStart;
1826
1825
  const groundingEntry = groundingRaw ?? null;
1827
- const groundingRelated = groundingEntry?.kind === "create_and_link" ? groundingEntry.candidates.map((c) => ({ entryId: c.entryId, name: c.name, collectionSlug: c.collectionSlug, overlapRatio: c.score, recommendedRelationType: c.recommendedRelationType, reasoning: `${Math.round(c.score * 100)}% match` })) : [];
1826
+ const groundingRelated = groundingEntry?.kind === "create_and_link" ? groundingEntry.candidates.map((c) => ({ entryId: c.entryId, name: c.name, collectionSlug: c.collectionSlug, overlapRatio: c.score, reasoning: `${Math.round(c.score * 100)}% match` })) : [];
1828
1827
  const groundingDuplicates = groundingEntry?.kind === "ask" ? groundingEntry.candidates.map((c) => ({ entryId: c.entryId, name: c.name, collectionSlug: c.collectionSlug, matchType: "related", overlapRatio: c.score })) : groundingEntry?.kind === "version" ? [{ entryId: groundingEntry.entryId, name: groundingEntry.name, collectionSlug: groundingEntry.collectionSlug, matchType: "possible_duplicate", overlapRatio: groundingEntry.score }] : [];
1829
1828
  const groundingGovernance = [];
1830
1829
  const groundingReport = {
@@ -1835,7 +1834,6 @@ async function handleCapture(server, { collection, name, description, context, e
1835
1834
  name: r.name,
1836
1835
  collectionSlug: r.collectionSlug,
1837
1836
  overlapRatio: r.overlapRatio,
1838
- recommendedRelationType: r.recommendedRelationType,
1839
1837
  reasoning: r.reasoning
1840
1838
  })),
1841
1839
  duplicates: groundingDuplicates.map((d) => ({
@@ -13684,4 +13682,4 @@ export {
13684
13682
  createProductBrainServer,
13685
13683
  initFeatureFlags
13686
13684
  };
13687
- //# sourceMappingURL=chunk-SWF5JG77.js.map
13685
+ //# sourceMappingURL=chunk-VD726BXX.js.map