@productbrain/mcp 0.0.1-beta.2421 → 0.0.1-beta.2424
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.
|
@@ -13744,7 +13744,7 @@ async function handleMapSuggest({ mapEntryId, slotId, query }) {
|
|
|
13744
13744
|
const allResults = await kernelQuery("chain.searchEntries", {
|
|
13745
13745
|
query: searchQuery
|
|
13746
13746
|
});
|
|
13747
|
-
const results = (allResults ?? []).slice(0, 5);
|
|
13747
|
+
const results = (allResults ?? []).filter((r) => r.entryId != null).slice(0, 5);
|
|
13748
13748
|
if (results.length > 0) {
|
|
13749
13749
|
const items = results.map(
|
|
13750
13750
|
(r) => ` - **${r.name}** (\`${r.entryId}\`, ${r.collectionSlug ?? "unknown"}) \u2014 ${r.status}`
|
|
@@ -15679,4 +15679,4 @@ export {
|
|
|
15679
15679
|
createProductBrainServer,
|
|
15680
15680
|
initFeatureFlags
|
|
15681
15681
|
};
|
|
15682
|
-
//# sourceMappingURL=chunk-
|
|
15682
|
+
//# sourceMappingURL=chunk-XMBBRJO5.js.map
|