sepia-mcp 0.8.1 → 0.8.3
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 +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
import { McpServer } from "tmcp";
|
|
5
5
|
|
|
6
|
-
// ../../node_modules/.bun/@tmcp+adapter-valibot@0.1.6+
|
|
6
|
+
// ../../node_modules/.bun/@tmcp+adapter-valibot@0.1.6+110f781ed98d6324/node_modules/@tmcp/adapter-valibot/src/index.js
|
|
7
7
|
import { JsonSchemaAdapter } from "tmcp/adapter";
|
|
8
8
|
|
|
9
|
-
// ../../node_modules/.bun/@valibot+to-json-schema@1.7.1+
|
|
9
|
+
// ../../node_modules/.bun/@valibot+to-json-schema@1.7.1+cef1f12f27ed0d82/node_modules/@valibot/to-json-schema/dist/index.mjs
|
|
10
10
|
function addError(errors, message) {
|
|
11
11
|
if (errors) {
|
|
12
12
|
errors.push(message);
|
|
@@ -564,7 +564,7 @@ function toJsonSchema(schema, config) {
|
|
|
564
564
|
return jsonSchema;
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
-
// ../../node_modules/.bun/@tmcp+adapter-valibot@0.1.6+
|
|
567
|
+
// ../../node_modules/.bun/@tmcp+adapter-valibot@0.1.6+110f781ed98d6324/node_modules/@tmcp/adapter-valibot/src/index.js
|
|
568
568
|
function add_type_to_enums(json_schema) {
|
|
569
569
|
for (let key in json_schema) {
|
|
570
570
|
const property = json_schema[key];
|
|
@@ -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.
|
|
3
|
+
"version": "0.8.3",
|
|
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": {
|