@littlebigbrain/mcp 0.7.0 → 0.7.1
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/tools.js +3 -1
- package/package.json +1 -1
package/dist/tools.js
CHANGED
|
@@ -261,7 +261,9 @@ export function registerLbbTools(server, client, options = {}) {
|
|
|
261
261
|
}
|
|
262
262
|
if (args.mode === "search") {
|
|
263
263
|
const searchArgs = args;
|
|
264
|
-
|
|
264
|
+
// The caller's detail shapes the hits like every other mode: compact
|
|
265
|
+
// trims to 5 hits of 300 characters, standard and full return more.
|
|
266
|
+
return run(client, "lbb_query.search", searchArgs.detail, async () => {
|
|
265
267
|
const target = scoped(client, searchArgs.graph);
|
|
266
268
|
return target.embeddings.search({
|
|
267
269
|
embedding: searchArgs.embedding,
|