sepia-mcp 0.8.1 → 0.8.2

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -714,6 +714,7 @@ var MAX_ENTITY_LINKS = 3;
714
714
  var SEARCH_LIMIT_MAX = 25;
715
715
  var QUERY_LIMIT_MAX = 50;
716
716
  var TRAVERSE_DEPTH_MAX = 3;
717
+ var SEARCH_ENGINES = ["coverage", "bm25"];
717
718
  var BRIEFING_DETAILS = ["core", "all"];
718
719
  var BRIEFING_DETAIL_DEFAULT = "core";
719
720
  var BRIEFING_CHARS_DEFAULT = 8000;
@@ -818,7 +819,8 @@ var SearchInput = v.object({
818
819
  type: v.optional(v.pipe(v.string(), v.maxLength(64), v.description("Memory type (fact/observation/preference/instruction) OR entity type (person/project/tool/concept/repo)"))),
819
820
  tags: v.optional(v.pipe(tagsSchema, v.description("Match memories/entities carrying ALL of these tags"))),
820
821
  limit: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(SEARCH_LIMIT_MAX), v.description("Max results (default 10, max 25)")), 10),
821
- min_terms: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(50), v.description("Drop hits covering fewer than this many query terms (precision dial; absent = best-effort recall). Too high returns 0 with `terms` present — that is the filter, not a missing memory.")))
822
+ min_terms: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(50), v.description("Drop hits covering fewer than this many query terms (precision dial; absent = best-effort recall). Too high returns 0 with `terms` present — that is the filter, not a missing memory."))),
823
+ engine: v.optional(v.pipe(v.picklist([...SEARCH_ENGINES]), v.description('Ranking engine: "coverage" (substring, coverage-first) or "bm25" (tokenised, BM25-ranked). Omit to use the server default.')))
822
824
  });
823
825
  var TraverseInput = v.object({
824
826
  start_id: v.pipe(uuidSchema, v.description("Entity UUID to start the BFS walk from")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sepia-mcp",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Self-contained MCP server for Sepia — a personal knowledge-graph memory server. Talks to the Sepia REST API (SEPIA_URL + SEPIA_API_KEY); stdio or HTTP transport.",
5
5
  "type": "module",
6
6
  "repository": {