smritea-mcp 0.1.2 → 0.1.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/tools/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAuC,MAAM,aAAa,CAAC;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE1G,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAE/D;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAQhD;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,cAAc,EACrB,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,cAAc,CAAC,CAmBzB;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,mBAAmB,EAC1B,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,cAAc,CAAC,CAgCzB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,cAAc,GACpB,OAAO,CAAC,cAAc,CAAC,CASzB;AAED,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,iBAAiB,GACvB,OAAO,CAAC,cAAc,CAAC,CASzB"}
1
+ {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/tools/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAuC,MAAM,aAAa,CAAC;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE1G,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAE/D;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAQhD;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,cAAc,EACrB,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,cAAc,CAAC,CAmBzB;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,mBAAmB,EAC1B,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,cAAc,CAAC,CA+BzB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,cAAc,GACpB,OAAO,CAAC,cAAc,CAAC,CASzB;AAED,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,iBAAiB,GACvB,OAAO,CAAC,cAAc,CAAC,CASzB"}
@@ -44,7 +44,6 @@ export async function handleSearchMemories(client, input, firstPersonUserId) {
44
44
  actorId,
45
45
  actorType,
46
46
  limit: input.limit,
47
- method: input.method,
48
47
  threshold: input.threshold,
49
48
  graphDepth: input.graph_depth,
50
49
  conversationId: input.conversation_id,
package/dist/types.d.ts CHANGED
@@ -27,7 +27,6 @@ export declare const SearchMemoriesInput: z.ZodObject<{
27
27
  actor_id: z.ZodOptional<z.ZodString>;
28
28
  actor_type: z.ZodOptional<z.ZodEnum<["user", "agent", "system"]>>;
29
29
  limit: z.ZodOptional<z.ZodNumber>;
30
- method: z.ZodOptional<z.ZodEnum<["quick_search", "deep_search", "context_aware_search", "graph_proximity", "diversified", "semantic_rerank"]>>;
31
30
  threshold: z.ZodOptional<z.ZodNumber>;
32
31
  graph_depth: z.ZodOptional<z.ZodNumber>;
33
32
  conversation_id: z.ZodOptional<z.ZodString>;
@@ -37,7 +36,6 @@ export declare const SearchMemoriesInput: z.ZodObject<{
37
36
  actor_type?: "user" | "agent" | "system" | undefined;
38
37
  conversation_id?: string | undefined;
39
38
  limit?: number | undefined;
40
- method?: "quick_search" | "deep_search" | "context_aware_search" | "graph_proximity" | "diversified" | "semantic_rerank" | undefined;
41
39
  threshold?: number | undefined;
42
40
  graph_depth?: number | undefined;
43
41
  }, {
@@ -46,7 +44,6 @@ export declare const SearchMemoriesInput: z.ZodObject<{
46
44
  actor_type?: "user" | "agent" | "system" | undefined;
47
45
  conversation_id?: string | undefined;
48
46
  limit?: number | undefined;
49
- method?: "quick_search" | "deep_search" | "context_aware_search" | "graph_proximity" | "diversified" | "semantic_rerank" | undefined;
50
47
  threshold?: number | undefined;
51
48
  graph_depth?: number | undefined;
52
49
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;EAUzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,eAAO,MAAM,cAAc;;;;;;EAEzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;EAE5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;EAUzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;EAuB9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,eAAO,MAAM,cAAc;;;;;;EAEzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;EAE5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
package/dist/types.js CHANGED
@@ -24,10 +24,6 @@ export const SearchMemoriesInput = z.object({
24
24
  .max(100)
25
25
  .optional()
26
26
  .describe('Maximum number of results (0 = use app default, typically 20; max 100)'),
27
- method: z
28
- .enum(['quick_search', 'deep_search', 'context_aware_search', 'graph_proximity', 'diversified', 'semantic_rerank'])
29
- .optional()
30
- .describe('Search method. Defaults to app config (typically quick_search).'),
31
27
  threshold: z.number().min(0).max(1).optional().describe('Minimum relevance score filter (0.0–1.0). Note: pipeline uses RRF scores (~0.06), not cosine similarity.'),
32
28
  graph_depth: z
33
29
  .number()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smritea-mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "description": "MCP server for smritea AI memory system",
5
5
  "type": "module",
6
6
  "bin": {
@@ -59,7 +59,6 @@ export async function handleSearchMemories(
59
59
  actorId,
60
60
  actorType,
61
61
  limit: input.limit,
62
- method: input.method,
63
62
  threshold: input.threshold,
64
63
  graphDepth: input.graph_depth,
65
64
  conversationId: input.conversation_id,
package/src/types.ts CHANGED
@@ -27,10 +27,6 @@ export const SearchMemoriesInput = z.object({
27
27
  .max(100)
28
28
  .optional()
29
29
  .describe('Maximum number of results (0 = use app default, typically 20; max 100)'),
30
- method: z
31
- .enum(['quick_search', 'deep_search', 'context_aware_search', 'graph_proximity', 'diversified', 'semantic_rerank'])
32
- .optional()
33
- .describe('Search method. Defaults to app config (typically quick_search).'),
34
30
  threshold: z.number().min(0).max(1).optional().describe('Minimum relevance score filter (0.0–1.0). Note: pipeline uses RRF scores (~0.06), not cosine similarity.'),
35
31
  graph_depth: z
36
32
  .number()