@aeriondyseti/vector-memory-mcp 2.4.4-dev.1 → 2.5.0-dev.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/README.md +42 -1
- package/package.json +1 -1
- package/server/config/index.ts +11 -2
- package/server/core/connection.ts +110 -4
- package/server/core/consolidation.service.ts +652 -0
- package/server/core/conversation.repository.ts +115 -16
- package/server/core/conversation.service.ts +51 -51
- package/server/core/conversation.ts +12 -0
- package/server/core/memory.repository.ts +65 -16
- package/server/core/memory.service.ts +162 -44
- package/server/core/memory.ts +3 -0
- package/server/core/migrations.ts +197 -16
- package/server/core/parsers/claude-code.parser.ts +18 -4
- package/server/core/project.ts +25 -0
- package/server/core/sqlite-utils.ts +11 -3
- package/server/core/time-expr.ts +77 -0
- package/server/index.ts +92 -2
- package/server/transports/http/server.ts +81 -32
- package/server/transports/mcp/handlers.ts +71 -26
- package/server/transports/mcp/tools.ts +40 -4
|
@@ -47,6 +47,12 @@ For long content (>1000 chars), provide embedding_text with a searchable summary
|
|
|
47
47
|
description: "Optional key-value metadata.",
|
|
48
48
|
additionalProperties: true,
|
|
49
49
|
},
|
|
50
|
+
project: {
|
|
51
|
+
type: "string",
|
|
52
|
+
description:
|
|
53
|
+
"Project to tag this memory with (canonical absolute path). " +
|
|
54
|
+
"Defaults to the current project — only pass this to file a memory under a different project.",
|
|
55
|
+
},
|
|
50
56
|
},
|
|
51
57
|
required: ["content"],
|
|
52
58
|
},
|
|
@@ -139,7 +145,9 @@ INTENTS:
|
|
|
139
145
|
- associative: Brainstorm, find connections (high relevance + mild jitter)
|
|
140
146
|
- explore: Stuck/creative mode (balanced + high jitter)
|
|
141
147
|
|
|
142
|
-
When in doubt, search. Missing context is costlier than an extra query
|
|
148
|
+
When in doubt, search. Missing context is costlier than an extra query.
|
|
149
|
+
|
|
150
|
+
SCOPE: Memories are stored globally across all projects. By default, search covers every project (results from the current project rank slightly higher and each result carries its project path). Pass scope: "project" when the query is clearly specific to the current repo — it cuts cross-project noise and scan cost.`,
|
|
143
151
|
inputSchema: {
|
|
144
152
|
type: "object",
|
|
145
153
|
properties: {
|
|
@@ -148,6 +156,14 @@ When in doubt, search. Missing context is costlier than an extra query.`,
|
|
|
148
156
|
description:
|
|
149
157
|
"Natural language search query. Include relevant keywords, project names, or technical terms.",
|
|
150
158
|
},
|
|
159
|
+
scope: {
|
|
160
|
+
type: "string",
|
|
161
|
+
description:
|
|
162
|
+
'Project scope: "all" (default) searches every project with a ranking boost for the current one; ' +
|
|
163
|
+
'"project" restricts to the current project; or pass an explicit canonical project path ' +
|
|
164
|
+
'(e.g. "/home/user/Development/other-repo") to search that project only.',
|
|
165
|
+
default: "all",
|
|
166
|
+
},
|
|
151
167
|
intent: {
|
|
152
168
|
type: "string",
|
|
153
169
|
enum: ["continuity", "fact_check", "frequent", "associative", "explore"],
|
|
@@ -201,6 +217,21 @@ When in doubt, search. Missing context is costlier than an extra query.`,
|
|
|
201
217
|
type: "string",
|
|
202
218
|
description: "Filter conversation history results before this ISO date.",
|
|
203
219
|
},
|
|
220
|
+
after: {
|
|
221
|
+
type: "string",
|
|
222
|
+
description:
|
|
223
|
+
"Filter memories created after this ISO date (e.g. '2025-06-01'). Applies to both memories and conversation history.",
|
|
224
|
+
},
|
|
225
|
+
before: {
|
|
226
|
+
type: "string",
|
|
227
|
+
description:
|
|
228
|
+
"Filter memories created before this ISO date (e.g. '2026-01-01'). Applies to both memories and conversation history.",
|
|
229
|
+
},
|
|
230
|
+
time_expr: {
|
|
231
|
+
type: "string",
|
|
232
|
+
description:
|
|
233
|
+
"Natural relative time filter, resolved to 'after' date. Examples: 'past 7 days', 'last 2 weeks', 'past 3 hours'. Ignored if explicit 'after' is provided.",
|
|
234
|
+
},
|
|
204
235
|
},
|
|
205
236
|
required: ["query", "intent", "reason_for_search"],
|
|
206
237
|
},
|
|
@@ -258,7 +289,11 @@ Retrievable via get_waypoint. Only one waypoint per project—new waypoints over
|
|
|
258
289
|
inputSchema: {
|
|
259
290
|
type: "object",
|
|
260
291
|
properties: {
|
|
261
|
-
project: {
|
|
292
|
+
project: {
|
|
293
|
+
type: "string",
|
|
294
|
+
description:
|
|
295
|
+
"Project to save the waypoint under. Defaults to the current project (detected from cwd) — usually omit this.",
|
|
296
|
+
},
|
|
262
297
|
branch: { type: "string", description: "Branch name (optional)." },
|
|
263
298
|
summary: { type: "string", description: "2-3 sentences: primary goal, current status." },
|
|
264
299
|
completed: {
|
|
@@ -292,7 +327,7 @@ Retrievable via get_waypoint. Only one waypoint per project—new waypoints over
|
|
|
292
327
|
additionalProperties: true,
|
|
293
328
|
},
|
|
294
329
|
},
|
|
295
|
-
required: ["
|
|
330
|
+
required: ["summary"],
|
|
296
331
|
},
|
|
297
332
|
};
|
|
298
333
|
|
|
@@ -306,7 +341,8 @@ export const getWaypointTool: Tool = {
|
|
|
306
341
|
project: {
|
|
307
342
|
type: "string",
|
|
308
343
|
description:
|
|
309
|
-
"Project
|
|
344
|
+
"Project to retrieve the waypoint for (canonical absolute path). " +
|
|
345
|
+
"Defaults to the current project — only pass this to read another project's waypoint.",
|
|
310
346
|
},
|
|
311
347
|
},
|
|
312
348
|
},
|