@rigstate/mcp 0.5.3 → 0.5.4

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/index.js CHANGED
@@ -1010,8 +1010,8 @@ async function queryBrain(supabase, userId, projectId, query, limit = 8, thresho
1010
1010
  }
1011
1011
  const embedding = await generateQueryEmbedding(query);
1012
1012
  let memories = [];
1013
- console.log(`Searching brain for "${query}" (limit: ${limit}, threshold: ${threshold})`);
1014
- console.log(`Embedding present: ${!!embedding}`);
1013
+ console.error(`Searching brain for "${query}" (limit: ${limit}, threshold: ${threshold})`);
1014
+ console.error(`Embedding present: ${!!embedding}`);
1015
1015
  const { data: searchResults, error: searchError } = await supabase.rpc("hybrid_search_memories", {
1016
1016
  p_project_id: projectId,
1017
1017
  p_query: query,
@@ -1033,7 +1033,7 @@ async function queryBrain(supabase, userId, projectId, query, limit = 8, thresho
1033
1033
  }));
1034
1034
  }
1035
1035
  } else if (searchResults) {
1036
- console.log(`Found ${searchResults.length} results from RPC`);
1036
+ console.error(`Found ${searchResults.length} results from RPC`);
1037
1037
  memories = searchResults.map((m) => ({
1038
1038
  id: m.id,
1039
1039
  content: m.content,