@vheins/local-memory-mcp 0.1.41 → 0.2.0
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/dashboard/dashboard.test.js +11 -3
- package/dist/dashboard/dashboard.test.js.map +1 -1
- package/dist/dashboard/public/app.js +541 -93
- package/dist/dashboard/public/index.html +1070 -718
- package/dist/dashboard/server.js +110 -16
- package/dist/dashboard/server.js.map +1 -1
- package/dist/e2e.test.js +25 -7
- package/dist/e2e.test.js.map +1 -1
- package/dist/prompts/registry.d.ts +12 -0
- package/dist/prompts/registry.d.ts.map +1 -1
- package/dist/prompts/registry.js +31 -0
- package/dist/prompts/registry.js.map +1 -1
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +23 -0
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/index.test.js +2 -0
- package/dist/resources/index.test.js.map +1 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +5 -0
- package/dist/router.js.map +1 -1
- package/dist/router.test.js +1 -1
- package/dist/router.test.js.map +1 -1
- package/dist/server.js +19 -10
- package/dist/server.js.map +1 -1
- package/dist/storage/sqlite.d.ts +6 -0
- package/dist/storage/sqlite.d.ts.map +1 -1
- package/dist/storage/sqlite.js +156 -21
- package/dist/storage/sqlite.js.map +1 -1
- package/dist/storage/sqlite.test.js +2 -0
- package/dist/storage/sqlite.test.js.map +1 -1
- package/dist/storage/vectors.d.ts +5 -0
- package/dist/storage/vectors.d.ts.map +1 -1
- package/dist/storage/vectors.js +7 -0
- package/dist/storage/vectors.js.map +1 -1
- package/dist/tasks.e2e.test.d.ts +2 -0
- package/dist/tasks.e2e.test.d.ts.map +1 -0
- package/dist/tasks.e2e.test.js +119 -0
- package/dist/tasks.e2e.test.js.map +1 -0
- package/dist/tools/memory.store.d.ts.map +1 -1
- package/dist/tools/memory.store.js +2 -0
- package/dist/tools/memory.store.js.map +1 -1
- package/dist/tools/schemas.d.ts +274 -0
- package/dist/tools/schemas.d.ts.map +1 -1
- package/dist/tools/schemas.js +128 -1
- package/dist/tools/schemas.js.map +1 -1
- package/dist/tools/task.manage.d.ts +16 -0
- package/dist/tools/task.manage.d.ts.map +1 -0
- package/dist/tools/task.manage.js +128 -0
- package/dist/tools/task.manage.js.map +1 -0
- package/dist/types.d.ts +22 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +47 -7
- package/dist/utils/logger.js.map +1 -1
- package/dist/v2-features.test.js +7 -1
- package/dist/v2-features.test.js.map +1 -1
- package/package.json +1 -1
- package/dist/search_memory_example.d.ts +0 -3
- package/dist/search_memory_example.d.ts.map +0 -1
- package/dist/search_memory_example.js +0 -56
- package/dist/search_memory_example.js.map +0 -1
- package/dist/store_memory_example.d.ts +0 -3
- package/dist/store_memory_example.d.ts.map +0 -1
- package/dist/store_memory_example.js +0 -69
- package/dist/store_memory_example.js.map +0 -1
- package/dist/test_quotes_client.d.ts +0 -3
- package/dist/test_quotes_client.d.ts.map +0 -1
- package/dist/test_quotes_client.js +0 -72
- package/dist/test_quotes_client.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vectors.js","sourceRoot":"","sources":["../../src/storage/vectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,sBAAsB,CAAC;AAG3E,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,MAAM,OAAO,eAAe;IAClB,EAAE,CAAc;IAChB,SAAS,GAAqC,IAAI,CAAC;IACnD,SAAS,GAAG,yBAAyB,CAAC;IAE9C,YAAY,EAAe;QACzB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,CAAC;IAEO,KAAK,CAAC,YAAY;QACxB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,MAAM,CAAC,IAAI,CAAC,4BAA4B,IAAI,CAAC,SAAS,KAAK,CAAC,CAAC;YA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|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { describe, it, expect, beforeEach } from "vitest";
|
|
2
|
+
import { createRouter } from "./router.js";
|
|
3
|
+
import { SQLiteStore } from "./storage/sqlite.js";
|
|
4
|
+
import { StubVectorStore } from "./storage/vectors.stub.js";
|
|
5
|
+
describe("MCP Local Memory - Task Management Workflow E2E", () => {
|
|
6
|
+
let db;
|
|
7
|
+
let vectors;
|
|
8
|
+
let router;
|
|
9
|
+
const REPO = "workflow-test-repo";
|
|
10
|
+
beforeEach(() => {
|
|
11
|
+
db = new SQLiteStore(":memory:");
|
|
12
|
+
vectors = new StubVectorStore(db);
|
|
13
|
+
router = createRouter(db, vectors);
|
|
14
|
+
});
|
|
15
|
+
it("should follow the complete task management lifecycle: Plan -> Execute -> Verify", async () => {
|
|
16
|
+
// ---- 1. INITIAL CHECK ----
|
|
17
|
+
// Agent starts and checks for existing tasks
|
|
18
|
+
const initialRes = await router("resources/read", {
|
|
19
|
+
uri: `tasks://current?repo=${REPO}`
|
|
20
|
+
});
|
|
21
|
+
const initialTasks = JSON.parse(initialRes.contents[0].text);
|
|
22
|
+
expect(initialTasks.length).toBe(0);
|
|
23
|
+
// ---- 2. PLANNING PHASE ----
|
|
24
|
+
// Agent creates a plan with two tasks: A and B (B depends on A)
|
|
25
|
+
const taskARes = await router("tools/call", {
|
|
26
|
+
name: "task-manage",
|
|
27
|
+
arguments: {
|
|
28
|
+
action: "create",
|
|
29
|
+
repo: REPO,
|
|
30
|
+
task_code: "TASK-001",
|
|
31
|
+
phase: "research",
|
|
32
|
+
title: "Research Architecture",
|
|
33
|
+
description: "Analyze the current system architecture and propose changes",
|
|
34
|
+
status: "pending",
|
|
35
|
+
priority: 5
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
const taskACode = taskARes.content[0].text.match(/\[(.*?)\]/)[1];
|
|
39
|
+
const taskAId = db.getTasksByRepo(REPO)[0].id;
|
|
40
|
+
const taskBRes = await router("tools/call", {
|
|
41
|
+
name: "task-manage",
|
|
42
|
+
arguments: {
|
|
43
|
+
action: "create",
|
|
44
|
+
repo: REPO,
|
|
45
|
+
task_code: "TASK-002",
|
|
46
|
+
phase: "implementation",
|
|
47
|
+
title: "Implement Core Logic",
|
|
48
|
+
description: "Write the core implementation based on research",
|
|
49
|
+
status: "pending",
|
|
50
|
+
depends_on: taskAId,
|
|
51
|
+
priority: 4
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
const taskBCode = taskBRes.content[0].text.match(/\[(.*?)\]/)[1];
|
|
55
|
+
const taskBId = db.getTasksByRepo(REPO).find(t => t.task_code === "TASK-002").id;
|
|
56
|
+
// Verify both are pending in current tasks
|
|
57
|
+
const plannedRes = await router("resources/read", { uri: `tasks://current?repo=${REPO}` });
|
|
58
|
+
const plannedTasks = JSON.parse(plannedRes.contents[0].text);
|
|
59
|
+
expect(plannedTasks.length).toBe(2);
|
|
60
|
+
expect(plannedTasks.every((t) => t.status === "pending")).toBe(true);
|
|
61
|
+
// Verify task-list tool works
|
|
62
|
+
const listToolRes = await router("tools/call", {
|
|
63
|
+
name: "task-list",
|
|
64
|
+
arguments: { repo: REPO }
|
|
65
|
+
});
|
|
66
|
+
const listToolTasks = JSON.parse(listToolRes.content[0].text);
|
|
67
|
+
expect(listToolTasks.length).toBe(2);
|
|
68
|
+
// ---- 3. EXECUTION PHASE ----
|
|
69
|
+
// Agent starts Task A
|
|
70
|
+
await router("tools/call", {
|
|
71
|
+
name: "task-manage",
|
|
72
|
+
arguments: {
|
|
73
|
+
action: "update",
|
|
74
|
+
repo: REPO,
|
|
75
|
+
id: taskAId,
|
|
76
|
+
status: "in_progress",
|
|
77
|
+
task_code: taskACode // Required field
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
// Verify Task A is in_progress
|
|
81
|
+
const inProgressRes = await router("resources/read", { uri: `tasks://current?repo=${REPO}` });
|
|
82
|
+
const inProgressTasks = JSON.parse(inProgressRes.contents[0].text);
|
|
83
|
+
expect(inProgressTasks.find((t) => t.id === taskAId).status).toBe("in_progress");
|
|
84
|
+
// ---- 4. VALIDATION PHASE (Task A) ----
|
|
85
|
+
// Agent completes Task A
|
|
86
|
+
await router("tools/call", {
|
|
87
|
+
name: "task-manage",
|
|
88
|
+
arguments: {
|
|
89
|
+
action: "update",
|
|
90
|
+
repo: REPO,
|
|
91
|
+
id: taskAId,
|
|
92
|
+
status: "completed",
|
|
93
|
+
task_code: taskACode
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
// Verify Task A is no longer in "current" tasks (since it's completed)
|
|
97
|
+
const afterARes = await router("resources/read", { uri: `tasks://current?repo=${REPO}` });
|
|
98
|
+
const afterATasks = JSON.parse(afterARes.contents[0].text);
|
|
99
|
+
expect(afterATasks.length).toBe(1);
|
|
100
|
+
expect(afterATasks[0].id).toBe(taskBId);
|
|
101
|
+
// ---- 5. RESUME WORKFLOW (Task B) ----
|
|
102
|
+
// Agent starts Task B (now that A is done)
|
|
103
|
+
await router("tools/call", {
|
|
104
|
+
name: "task-manage",
|
|
105
|
+
arguments: {
|
|
106
|
+
action: "update",
|
|
107
|
+
repo: REPO,
|
|
108
|
+
id: taskBId,
|
|
109
|
+
status: "in_progress",
|
|
110
|
+
task_code: taskBCode
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
const finalCheckRes = await router("resources/read", { uri: `tasks://current?repo=${REPO}` });
|
|
114
|
+
const finalCheckTasks = JSON.parse(finalCheckRes.contents[0].text);
|
|
115
|
+
expect(finalCheckTasks[0].status).toBe("in_progress");
|
|
116
|
+
expect(finalCheckTasks[0].depends_on).toBe(taskAId);
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
//# sourceMappingURL=tasks.e2e.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.e2e.test.js","sourceRoot":"","sources":["../src/tasks.e2e.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM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AAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.store.d.ts","sourceRoot":"","sources":["../../src/tools/memory.store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAe,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAqB,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE1E,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,GAAG,EACX,EAAE,EAAE,WAAW,EACf,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"memory.store.d.ts","sourceRoot":"","sources":["../../src/tools/memory.store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAe,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAqB,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE1E,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,GAAG,EACX,EAAE,EAAE,WAAW,EACf,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,WAAW,CAAC,CAyFtB"}
|
|
@@ -47,6 +47,8 @@ export async function handleMemoryStore(params, db, vectors) {
|
|
|
47
47
|
title: validated.title,
|
|
48
48
|
content: validated.content,
|
|
49
49
|
importance: validated.importance,
|
|
50
|
+
agent: validated.agent,
|
|
51
|
+
model: validated.model,
|
|
50
52
|
scope: validated.scope,
|
|
51
53
|
created_at: now,
|
|
52
54
|
updated_at: now,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.store.js","sourceRoot":"","sources":["../../src/tools/memory.store.ts"],"names":[],"mappings":"AAAA,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ber;
|
|
24
|
+
agent: z.ZodString;
|
|
25
|
+
model: z.ZodString;
|
|
24
26
|
scope: z.ZodObject<{
|
|
25
27
|
repo: z.ZodString;
|
|
26
28
|
branch: z.ZodOptional<z.ZodString>;
|
|
@@ -86,6 +88,51 @@ export declare const MemorySummarizeSchema: z.ZodObject<{
|
|
|
86
88
|
repo: z.ZodString;
|
|
87
89
|
signals: z.ZodArray<z.ZodString>;
|
|
88
90
|
}, z.core.$strip>;
|
|
91
|
+
export declare const TaskStatusSchema: z.ZodEnum<{
|
|
92
|
+
pending: "pending";
|
|
93
|
+
in_progress: "in_progress";
|
|
94
|
+
completed: "completed";
|
|
95
|
+
canceled: "canceled";
|
|
96
|
+
blocked: "blocked";
|
|
97
|
+
}>;
|
|
98
|
+
export declare const TaskPrioritySchema: z.ZodNumber;
|
|
99
|
+
export declare const TaskManageSchema: z.ZodObject<{
|
|
100
|
+
action: z.ZodEnum<{
|
|
101
|
+
delete: "delete";
|
|
102
|
+
update: "update";
|
|
103
|
+
create: "create";
|
|
104
|
+
list: "list";
|
|
105
|
+
}>;
|
|
106
|
+
repo: z.ZodString;
|
|
107
|
+
id: z.ZodOptional<z.ZodString>;
|
|
108
|
+
task_code: z.ZodOptional<z.ZodString>;
|
|
109
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
110
|
+
title: z.ZodOptional<z.ZodString>;
|
|
111
|
+
description: z.ZodOptional<z.ZodString>;
|
|
112
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
113
|
+
pending: "pending";
|
|
114
|
+
in_progress: "in_progress";
|
|
115
|
+
completed: "completed";
|
|
116
|
+
canceled: "canceled";
|
|
117
|
+
blocked: "blocked";
|
|
118
|
+
}>>;
|
|
119
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
122
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
123
|
+
depends_on: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
export declare const TaskListSchema: z.ZodObject<{
|
|
126
|
+
repo: z.ZodString;
|
|
127
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
128
|
+
pending: "pending";
|
|
129
|
+
in_progress: "in_progress";
|
|
130
|
+
completed: "completed";
|
|
131
|
+
canceled: "canceled";
|
|
132
|
+
blocked: "blocked";
|
|
133
|
+
}>>;
|
|
134
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>;
|
|
89
136
|
export declare const TOOL_DEFINITIONS: ({
|
|
90
137
|
name: string;
|
|
91
138
|
description: string;
|
|
@@ -114,6 +161,14 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
114
161
|
maximum: number;
|
|
115
162
|
description: string;
|
|
116
163
|
};
|
|
164
|
+
agent: {
|
|
165
|
+
type: string;
|
|
166
|
+
description: string;
|
|
167
|
+
};
|
|
168
|
+
model: {
|
|
169
|
+
type: string;
|
|
170
|
+
description: string;
|
|
171
|
+
};
|
|
117
172
|
scope: {
|
|
118
173
|
type: string;
|
|
119
174
|
properties: {
|
|
@@ -168,6 +223,14 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
168
223
|
include_archived?: undefined;
|
|
169
224
|
signals?: undefined;
|
|
170
225
|
offset?: undefined;
|
|
226
|
+
action?: undefined;
|
|
227
|
+
task_code?: undefined;
|
|
228
|
+
phase?: undefined;
|
|
229
|
+
description?: undefined;
|
|
230
|
+
priority?: undefined;
|
|
231
|
+
metadata?: undefined;
|
|
232
|
+
parent_id?: undefined;
|
|
233
|
+
depends_on?: undefined;
|
|
171
234
|
};
|
|
172
235
|
required: string[];
|
|
173
236
|
};
|
|
@@ -184,6 +247,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
184
247
|
status: {
|
|
185
248
|
type: string;
|
|
186
249
|
enum: string[];
|
|
250
|
+
description?: undefined;
|
|
187
251
|
};
|
|
188
252
|
application_context: {
|
|
189
253
|
type: string;
|
|
@@ -193,6 +257,8 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
193
257
|
title?: undefined;
|
|
194
258
|
content?: undefined;
|
|
195
259
|
importance?: undefined;
|
|
260
|
+
agent?: undefined;
|
|
261
|
+
model?: undefined;
|
|
196
262
|
scope?: undefined;
|
|
197
263
|
tags?: undefined;
|
|
198
264
|
is_global?: undefined;
|
|
@@ -211,6 +277,14 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
211
277
|
include_archived?: undefined;
|
|
212
278
|
signals?: undefined;
|
|
213
279
|
offset?: undefined;
|
|
280
|
+
action?: undefined;
|
|
281
|
+
task_code?: undefined;
|
|
282
|
+
phase?: undefined;
|
|
283
|
+
description?: undefined;
|
|
284
|
+
priority?: undefined;
|
|
285
|
+
metadata?: undefined;
|
|
286
|
+
parent_id?: undefined;
|
|
287
|
+
depends_on?: undefined;
|
|
214
288
|
};
|
|
215
289
|
required: string[];
|
|
216
290
|
};
|
|
@@ -245,6 +319,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
245
319
|
status: {
|
|
246
320
|
type: string;
|
|
247
321
|
enum: string[];
|
|
322
|
+
description?: undefined;
|
|
248
323
|
};
|
|
249
324
|
supersedes: {
|
|
250
325
|
type: string;
|
|
@@ -262,6 +337,8 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
262
337
|
description?: undefined;
|
|
263
338
|
};
|
|
264
339
|
type?: undefined;
|
|
340
|
+
agent?: undefined;
|
|
341
|
+
model?: undefined;
|
|
265
342
|
scope?: undefined;
|
|
266
343
|
ttlDays?: undefined;
|
|
267
344
|
memory_id?: undefined;
|
|
@@ -278,6 +355,14 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
278
355
|
include_archived?: undefined;
|
|
279
356
|
signals?: undefined;
|
|
280
357
|
offset?: undefined;
|
|
358
|
+
action?: undefined;
|
|
359
|
+
task_code?: undefined;
|
|
360
|
+
phase?: undefined;
|
|
361
|
+
description?: undefined;
|
|
362
|
+
priority?: undefined;
|
|
363
|
+
metadata?: undefined;
|
|
364
|
+
parent_id?: undefined;
|
|
365
|
+
depends_on?: undefined;
|
|
281
366
|
};
|
|
282
367
|
required: string[];
|
|
283
368
|
};
|
|
@@ -339,6 +424,8 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
339
424
|
title?: undefined;
|
|
340
425
|
content?: undefined;
|
|
341
426
|
importance?: undefined;
|
|
427
|
+
agent?: undefined;
|
|
428
|
+
model?: undefined;
|
|
342
429
|
scope?: undefined;
|
|
343
430
|
tags?: undefined;
|
|
344
431
|
is_global?: undefined;
|
|
@@ -350,6 +437,14 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
350
437
|
id?: undefined;
|
|
351
438
|
signals?: undefined;
|
|
352
439
|
offset?: undefined;
|
|
440
|
+
action?: undefined;
|
|
441
|
+
task_code?: undefined;
|
|
442
|
+
phase?: undefined;
|
|
443
|
+
description?: undefined;
|
|
444
|
+
priority?: undefined;
|
|
445
|
+
metadata?: undefined;
|
|
446
|
+
parent_id?: undefined;
|
|
447
|
+
depends_on?: undefined;
|
|
353
448
|
};
|
|
354
449
|
required: string[];
|
|
355
450
|
};
|
|
@@ -376,6 +471,8 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
376
471
|
title?: undefined;
|
|
377
472
|
content?: undefined;
|
|
378
473
|
importance?: undefined;
|
|
474
|
+
agent?: undefined;
|
|
475
|
+
model?: undefined;
|
|
379
476
|
scope?: undefined;
|
|
380
477
|
tags?: undefined;
|
|
381
478
|
is_global?: undefined;
|
|
@@ -395,6 +492,14 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
395
492
|
current_file_path?: undefined;
|
|
396
493
|
include_archived?: undefined;
|
|
397
494
|
offset?: undefined;
|
|
495
|
+
action?: undefined;
|
|
496
|
+
task_code?: undefined;
|
|
497
|
+
phase?: undefined;
|
|
498
|
+
description?: undefined;
|
|
499
|
+
priority?: undefined;
|
|
500
|
+
metadata?: undefined;
|
|
501
|
+
parent_id?: undefined;
|
|
502
|
+
depends_on?: undefined;
|
|
398
503
|
};
|
|
399
504
|
required: string[];
|
|
400
505
|
};
|
|
@@ -413,6 +518,8 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
413
518
|
title?: undefined;
|
|
414
519
|
content?: undefined;
|
|
415
520
|
importance?: undefined;
|
|
521
|
+
agent?: undefined;
|
|
522
|
+
model?: undefined;
|
|
416
523
|
scope?: undefined;
|
|
417
524
|
tags?: undefined;
|
|
418
525
|
is_global?: undefined;
|
|
@@ -433,6 +540,14 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
433
540
|
include_archived?: undefined;
|
|
434
541
|
signals?: undefined;
|
|
435
542
|
offset?: undefined;
|
|
543
|
+
action?: undefined;
|
|
544
|
+
task_code?: undefined;
|
|
545
|
+
phase?: undefined;
|
|
546
|
+
description?: undefined;
|
|
547
|
+
priority?: undefined;
|
|
548
|
+
metadata?: undefined;
|
|
549
|
+
parent_id?: undefined;
|
|
550
|
+
depends_on?: undefined;
|
|
436
551
|
};
|
|
437
552
|
required: string[];
|
|
438
553
|
};
|
|
@@ -463,6 +578,8 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
463
578
|
title?: undefined;
|
|
464
579
|
content?: undefined;
|
|
465
580
|
importance?: undefined;
|
|
581
|
+
agent?: undefined;
|
|
582
|
+
model?: undefined;
|
|
466
583
|
scope?: undefined;
|
|
467
584
|
tags?: undefined;
|
|
468
585
|
is_global?: undefined;
|
|
@@ -481,6 +598,163 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
481
598
|
current_file_path?: undefined;
|
|
482
599
|
include_archived?: undefined;
|
|
483
600
|
signals?: undefined;
|
|
601
|
+
action?: undefined;
|
|
602
|
+
task_code?: undefined;
|
|
603
|
+
phase?: undefined;
|
|
604
|
+
description?: undefined;
|
|
605
|
+
priority?: undefined;
|
|
606
|
+
metadata?: undefined;
|
|
607
|
+
parent_id?: undefined;
|
|
608
|
+
depends_on?: undefined;
|
|
609
|
+
};
|
|
610
|
+
required: string[];
|
|
611
|
+
};
|
|
612
|
+
} | {
|
|
613
|
+
name: string;
|
|
614
|
+
description: string;
|
|
615
|
+
inputSchema: {
|
|
616
|
+
type: string;
|
|
617
|
+
properties: {
|
|
618
|
+
action: {
|
|
619
|
+
type: string;
|
|
620
|
+
enum: string[];
|
|
621
|
+
description: string;
|
|
622
|
+
};
|
|
623
|
+
repo: {
|
|
624
|
+
type: string;
|
|
625
|
+
description: string;
|
|
626
|
+
};
|
|
627
|
+
id: {
|
|
628
|
+
type: string;
|
|
629
|
+
format: string;
|
|
630
|
+
description: string;
|
|
631
|
+
};
|
|
632
|
+
task_code: {
|
|
633
|
+
type: string;
|
|
634
|
+
description: string;
|
|
635
|
+
};
|
|
636
|
+
phase: {
|
|
637
|
+
type: string;
|
|
638
|
+
description: string;
|
|
639
|
+
};
|
|
640
|
+
title: {
|
|
641
|
+
type: string;
|
|
642
|
+
minLength: number;
|
|
643
|
+
maxLength: number;
|
|
644
|
+
description: string;
|
|
645
|
+
};
|
|
646
|
+
description: {
|
|
647
|
+
type: string;
|
|
648
|
+
description: string;
|
|
649
|
+
};
|
|
650
|
+
status: {
|
|
651
|
+
type: string;
|
|
652
|
+
enum: string[];
|
|
653
|
+
description: string;
|
|
654
|
+
};
|
|
655
|
+
priority: {
|
|
656
|
+
type: string;
|
|
657
|
+
minimum: number;
|
|
658
|
+
maximum: number;
|
|
659
|
+
description: string;
|
|
660
|
+
};
|
|
661
|
+
tags: {
|
|
662
|
+
type: string;
|
|
663
|
+
items: {
|
|
664
|
+
type: string;
|
|
665
|
+
};
|
|
666
|
+
description: string;
|
|
667
|
+
};
|
|
668
|
+
metadata: {
|
|
669
|
+
type: string;
|
|
670
|
+
description: string;
|
|
671
|
+
};
|
|
672
|
+
parent_id: {
|
|
673
|
+
type: string;
|
|
674
|
+
format: string;
|
|
675
|
+
description: string;
|
|
676
|
+
};
|
|
677
|
+
depends_on: {
|
|
678
|
+
type: string;
|
|
679
|
+
format: string;
|
|
680
|
+
description: string;
|
|
681
|
+
};
|
|
682
|
+
type?: undefined;
|
|
683
|
+
content?: undefined;
|
|
684
|
+
importance?: undefined;
|
|
685
|
+
agent?: undefined;
|
|
686
|
+
model?: undefined;
|
|
687
|
+
scope?: undefined;
|
|
688
|
+
is_global?: undefined;
|
|
689
|
+
ttlDays?: undefined;
|
|
690
|
+
supersedes?: undefined;
|
|
691
|
+
memory_id?: undefined;
|
|
692
|
+
application_context?: undefined;
|
|
693
|
+
query?: undefined;
|
|
694
|
+
prompt?: undefined;
|
|
695
|
+
current_tags?: undefined;
|
|
696
|
+
types?: undefined;
|
|
697
|
+
minImportance?: undefined;
|
|
698
|
+
limit?: undefined;
|
|
699
|
+
includeRecap?: undefined;
|
|
700
|
+
current_file_path?: undefined;
|
|
701
|
+
include_archived?: undefined;
|
|
702
|
+
signals?: undefined;
|
|
703
|
+
offset?: undefined;
|
|
704
|
+
};
|
|
705
|
+
required: string[];
|
|
706
|
+
};
|
|
707
|
+
} | {
|
|
708
|
+
name: string;
|
|
709
|
+
description: string;
|
|
710
|
+
inputSchema: {
|
|
711
|
+
type: string;
|
|
712
|
+
properties: {
|
|
713
|
+
repo: {
|
|
714
|
+
type: string;
|
|
715
|
+
description: string;
|
|
716
|
+
};
|
|
717
|
+
status: {
|
|
718
|
+
type: string;
|
|
719
|
+
enum: string[];
|
|
720
|
+
description: string;
|
|
721
|
+
};
|
|
722
|
+
phase: {
|
|
723
|
+
type: string;
|
|
724
|
+
description: string;
|
|
725
|
+
};
|
|
726
|
+
type?: undefined;
|
|
727
|
+
title?: undefined;
|
|
728
|
+
content?: undefined;
|
|
729
|
+
importance?: undefined;
|
|
730
|
+
agent?: undefined;
|
|
731
|
+
model?: undefined;
|
|
732
|
+
scope?: undefined;
|
|
733
|
+
tags?: undefined;
|
|
734
|
+
is_global?: undefined;
|
|
735
|
+
ttlDays?: undefined;
|
|
736
|
+
supersedes?: undefined;
|
|
737
|
+
memory_id?: undefined;
|
|
738
|
+
application_context?: undefined;
|
|
739
|
+
id?: undefined;
|
|
740
|
+
query?: undefined;
|
|
741
|
+
prompt?: undefined;
|
|
742
|
+
current_tags?: undefined;
|
|
743
|
+
types?: undefined;
|
|
744
|
+
minImportance?: undefined;
|
|
745
|
+
limit?: undefined;
|
|
746
|
+
includeRecap?: undefined;
|
|
747
|
+
current_file_path?: undefined;
|
|
748
|
+
include_archived?: undefined;
|
|
749
|
+
signals?: undefined;
|
|
750
|
+
offset?: undefined;
|
|
751
|
+
action?: undefined;
|
|
752
|
+
task_code?: undefined;
|
|
753
|
+
description?: undefined;
|
|
754
|
+
priority?: undefined;
|
|
755
|
+
metadata?: undefined;
|
|
756
|
+
parent_id?: undefined;
|
|
757
|
+
depends_on?: undefined;
|
|
484
758
|
};
|
|
485
759
|
required: string[];
|
|
486
760
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/tools/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;EAA0D,CAAC;AAGxF,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/tools/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;EAA0D,CAAC;AAGxF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAY5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;iBAY9B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;iBAY7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