@vheins/local-memory-mcp 0.5.21 → 0.5.22
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/public/assets/{index-CUNSfwmD.js → index-BrV31hFu.js} +1 -1
- package/dist/dashboard/public/index.html +1 -1
- package/dist/mcp/prompts/definitions/create-task.md +3 -2
- package/dist/mcp/prompts/definitions/task-management-guidelines.md +18 -13
- package/dist/mcp/prompts/definitions/task-memory-executor.md +8 -4
- package/dist/mcp/prompts/registry.d.ts +5 -1
- package/dist/mcp/prompts/registry.d.ts.map +1 -1
- package/dist/mcp/prompts/registry.js +14 -6
- package/dist/mcp/prompts/registry.js.map +1 -1
- package/dist/mcp/router.d.ts.map +1 -1
- package/dist/mcp/router.js +11 -7
- package/dist/mcp/router.js.map +1 -1
- package/dist/mcp/storage/sqlite.d.ts.map +1 -1
- package/dist/mcp/storage/sqlite.js +4 -2
- package/dist/mcp/storage/sqlite.js.map +1 -1
- package/dist/mcp/tests/router.test.js +3 -4
- package/dist/mcp/tests/router.test.js.map +1 -1
- package/dist/mcp/tests/tasks-search.test.js +16 -14
- package/dist/mcp/tests/tasks-search.test.js.map +1 -1
- package/dist/mcp/tests/tasks.bulk.test.js +3 -3
- package/dist/mcp/tests/tasks.bulk.test.js.map +1 -1
- package/dist/mcp/tests/tasks.e2e.test.js +1 -1
- package/dist/mcp/tests/tasks.e2e.test.js.map +1 -1
- package/dist/mcp/tools/memory.search.d.ts.map +1 -1
- package/dist/mcp/tools/memory.search.js +0 -1
- package/dist/mcp/tools/memory.search.js.map +1 -1
- package/dist/mcp/tools/schemas.d.ts +215 -84
- package/dist/mcp/tools/schemas.d.ts.map +1 -1
- package/dist/mcp/tools/schemas.js +105 -47
- package/dist/mcp/tools/schemas.js.map +1 -1
- package/dist/mcp/tools/task.manage.d.ts +2 -0
- package/dist/mcp/tools/task.manage.d.ts.map +1 -1
- package/dist/mcp/tools/task.manage.js +77 -16
- package/dist/mcp/tools/task.manage.js.map +1 -1
- package/dist/mcp/utils/mcp-response.d.ts.map +1 -1
- package/dist/mcp/utils/mcp-response.js +0 -2
- package/dist/mcp/utils/mcp-response.js.map +1 -1
- package/package.json +1 -1
|
@@ -273,6 +273,14 @@ export declare const TaskDeleteSchema: z.ZodObject<{
|
|
|
273
273
|
repo: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
274
274
|
id: z.ZodString;
|
|
275
275
|
}, z.core.$strip>;
|
|
276
|
+
export declare const TaskActiveSchema: z.ZodObject<{
|
|
277
|
+
repo: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
278
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
279
|
+
pending: "pending";
|
|
280
|
+
in_progress: "in_progress";
|
|
281
|
+
}>>;
|
|
282
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
283
|
+
}, z.core.$strip>;
|
|
276
284
|
export declare const TOOL_DEFINITIONS: ({
|
|
277
285
|
name: string;
|
|
278
286
|
title: string;
|
|
@@ -420,7 +428,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
420
428
|
memories?: undefined;
|
|
421
429
|
tasks?: undefined;
|
|
422
430
|
archivedToMemory?: undefined;
|
|
423
|
-
|
|
431
|
+
schema?: undefined;
|
|
424
432
|
action?: undefined;
|
|
425
433
|
createdCount?: undefined;
|
|
426
434
|
updatedCount?: undefined;
|
|
@@ -575,7 +583,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
575
583
|
memories?: undefined;
|
|
576
584
|
tasks?: undefined;
|
|
577
585
|
archivedToMemory?: undefined;
|
|
578
|
-
|
|
586
|
+
schema?: undefined;
|
|
579
587
|
action?: undefined;
|
|
580
588
|
createdCount?: undefined;
|
|
581
589
|
updatedCount?: undefined;
|
|
@@ -761,7 +769,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
761
769
|
memories?: undefined;
|
|
762
770
|
tasks?: undefined;
|
|
763
771
|
archivedToMemory?: undefined;
|
|
764
|
-
|
|
772
|
+
schema?: undefined;
|
|
765
773
|
action?: undefined;
|
|
766
774
|
createdCount?: undefined;
|
|
767
775
|
updatedCount?: undefined;
|
|
@@ -887,7 +895,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
887
895
|
memories?: undefined;
|
|
888
896
|
tasks?: undefined;
|
|
889
897
|
archivedToMemory?: undefined;
|
|
890
|
-
|
|
898
|
+
schema?: undefined;
|
|
891
899
|
action?: undefined;
|
|
892
900
|
createdCount?: undefined;
|
|
893
901
|
updatedCount?: undefined;
|
|
@@ -1057,7 +1065,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1057
1065
|
memories?: undefined;
|
|
1058
1066
|
tasks?: undefined;
|
|
1059
1067
|
archivedToMemory?: undefined;
|
|
1060
|
-
|
|
1068
|
+
schema?: undefined;
|
|
1061
1069
|
action?: undefined;
|
|
1062
1070
|
createdCount?: undefined;
|
|
1063
1071
|
updatedCount?: undefined;
|
|
@@ -1251,7 +1259,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1251
1259
|
memories?: undefined;
|
|
1252
1260
|
tasks?: undefined;
|
|
1253
1261
|
archivedToMemory?: undefined;
|
|
1254
|
-
|
|
1262
|
+
schema?: undefined;
|
|
1255
1263
|
action?: undefined;
|
|
1256
1264
|
createdCount?: undefined;
|
|
1257
1265
|
updatedCount?: undefined;
|
|
@@ -1379,7 +1387,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1379
1387
|
memories?: undefined;
|
|
1380
1388
|
tasks?: undefined;
|
|
1381
1389
|
archivedToMemory?: undefined;
|
|
1382
|
-
|
|
1390
|
+
schema?: undefined;
|
|
1383
1391
|
action?: undefined;
|
|
1384
1392
|
createdCount?: undefined;
|
|
1385
1393
|
updatedCount?: undefined;
|
|
@@ -1498,7 +1506,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1498
1506
|
memories?: undefined;
|
|
1499
1507
|
tasks?: undefined;
|
|
1500
1508
|
archivedToMemory?: undefined;
|
|
1501
|
-
|
|
1509
|
+
schema?: undefined;
|
|
1502
1510
|
action?: undefined;
|
|
1503
1511
|
createdCount?: undefined;
|
|
1504
1512
|
updatedCount?: undefined;
|
|
@@ -1629,7 +1637,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1629
1637
|
memories?: undefined;
|
|
1630
1638
|
tasks?: undefined;
|
|
1631
1639
|
archivedToMemory?: undefined;
|
|
1632
|
-
|
|
1640
|
+
schema?: undefined;
|
|
1633
1641
|
action?: undefined;
|
|
1634
1642
|
createdCount?: undefined;
|
|
1635
1643
|
updatedCount?: undefined;
|
|
@@ -1783,12 +1791,11 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1783
1791
|
priority: {
|
|
1784
1792
|
type: string;
|
|
1785
1793
|
};
|
|
1786
|
-
repo?: undefined;
|
|
1787
|
-
phase?: undefined;
|
|
1788
|
-
description?: undefined;
|
|
1789
1794
|
};
|
|
1790
1795
|
required: string[];
|
|
1791
1796
|
};
|
|
1797
|
+
properties?: undefined;
|
|
1798
|
+
required?: undefined;
|
|
1792
1799
|
};
|
|
1793
1800
|
objective?: undefined;
|
|
1794
1801
|
answer?: undefined;
|
|
@@ -1814,7 +1821,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1814
1821
|
deletedCount?: undefined;
|
|
1815
1822
|
ids?: undefined;
|
|
1816
1823
|
archivedToMemory?: undefined;
|
|
1817
|
-
|
|
1824
|
+
schema?: undefined;
|
|
1818
1825
|
action?: undefined;
|
|
1819
1826
|
createdCount?: undefined;
|
|
1820
1827
|
updatedCount?: undefined;
|
|
@@ -1993,7 +2000,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
1993
2000
|
memories?: undefined;
|
|
1994
2001
|
tasks?: undefined;
|
|
1995
2002
|
archivedToMemory?: undefined;
|
|
1996
|
-
|
|
2003
|
+
schema?: undefined;
|
|
1997
2004
|
action?: undefined;
|
|
1998
2005
|
createdCount?: undefined;
|
|
1999
2006
|
updatedCount?: undefined;
|
|
@@ -2181,7 +2188,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
2181
2188
|
offset?: undefined;
|
|
2182
2189
|
memories?: undefined;
|
|
2183
2190
|
tasks?: undefined;
|
|
2184
|
-
|
|
2191
|
+
schema?: undefined;
|
|
2185
2192
|
action?: undefined;
|
|
2186
2193
|
createdCount?: undefined;
|
|
2187
2194
|
updatedCount?: undefined;
|
|
@@ -2303,7 +2310,155 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
2303
2310
|
memories?: undefined;
|
|
2304
2311
|
tasks?: undefined;
|
|
2305
2312
|
archivedToMemory?: undefined;
|
|
2306
|
-
|
|
2313
|
+
schema?: undefined;
|
|
2314
|
+
action?: undefined;
|
|
2315
|
+
createdCount?: undefined;
|
|
2316
|
+
updatedCount?: undefined;
|
|
2317
|
+
taskCodes?: undefined;
|
|
2318
|
+
};
|
|
2319
|
+
required: string[];
|
|
2320
|
+
};
|
|
2321
|
+
execution?: undefined;
|
|
2322
|
+
} | {
|
|
2323
|
+
name: string;
|
|
2324
|
+
title: string;
|
|
2325
|
+
description: string;
|
|
2326
|
+
annotations: {
|
|
2327
|
+
readOnlyHint: boolean;
|
|
2328
|
+
idempotentHint: boolean;
|
|
2329
|
+
openWorldHint: boolean;
|
|
2330
|
+
destructiveHint?: undefined;
|
|
2331
|
+
};
|
|
2332
|
+
inputSchema: {
|
|
2333
|
+
type: string;
|
|
2334
|
+
properties: {
|
|
2335
|
+
repo: {
|
|
2336
|
+
type: string;
|
|
2337
|
+
description: string;
|
|
2338
|
+
};
|
|
2339
|
+
status: {
|
|
2340
|
+
type: string;
|
|
2341
|
+
enum: string[];
|
|
2342
|
+
description: string;
|
|
2343
|
+
default?: undefined;
|
|
2344
|
+
};
|
|
2345
|
+
limit: {
|
|
2346
|
+
type: string;
|
|
2347
|
+
minimum: number;
|
|
2348
|
+
maximum: number;
|
|
2349
|
+
default: number;
|
|
2350
|
+
description: string;
|
|
2351
|
+
};
|
|
2352
|
+
objective?: undefined;
|
|
2353
|
+
current_file_path?: undefined;
|
|
2354
|
+
include_summary?: undefined;
|
|
2355
|
+
include_tasks?: undefined;
|
|
2356
|
+
use_tools?: undefined;
|
|
2357
|
+
max_iterations?: undefined;
|
|
2358
|
+
max_tokens?: undefined;
|
|
2359
|
+
task_code?: undefined;
|
|
2360
|
+
phase?: undefined;
|
|
2361
|
+
title?: undefined;
|
|
2362
|
+
description?: undefined;
|
|
2363
|
+
priority?: undefined;
|
|
2364
|
+
agent?: undefined;
|
|
2365
|
+
role?: undefined;
|
|
2366
|
+
doc_path?: undefined;
|
|
2367
|
+
type?: undefined;
|
|
2368
|
+
content?: undefined;
|
|
2369
|
+
importance?: undefined;
|
|
2370
|
+
model?: undefined;
|
|
2371
|
+
scope?: undefined;
|
|
2372
|
+
tags?: undefined;
|
|
2373
|
+
metadata?: undefined;
|
|
2374
|
+
is_global?: undefined;
|
|
2375
|
+
ttlDays?: undefined;
|
|
2376
|
+
supersedes?: undefined;
|
|
2377
|
+
memory_id?: undefined;
|
|
2378
|
+
application_context?: undefined;
|
|
2379
|
+
id?: undefined;
|
|
2380
|
+
completed_at?: undefined;
|
|
2381
|
+
query?: undefined;
|
|
2382
|
+
prompt?: undefined;
|
|
2383
|
+
current_tags?: undefined;
|
|
2384
|
+
types?: undefined;
|
|
2385
|
+
minImportance?: undefined;
|
|
2386
|
+
includeRecap?: undefined;
|
|
2387
|
+
include_archived?: undefined;
|
|
2388
|
+
signals?: undefined;
|
|
2389
|
+
ids?: undefined;
|
|
2390
|
+
offset?: undefined;
|
|
2391
|
+
parent_id?: undefined;
|
|
2392
|
+
depends_on?: undefined;
|
|
2393
|
+
est_tokens?: undefined;
|
|
2394
|
+
comment?: undefined;
|
|
2395
|
+
search?: undefined;
|
|
2396
|
+
action?: undefined;
|
|
2397
|
+
tasks?: undefined;
|
|
2398
|
+
updates?: undefined;
|
|
2399
|
+
};
|
|
2400
|
+
required: string[];
|
|
2401
|
+
};
|
|
2402
|
+
outputSchema: {
|
|
2403
|
+
type: string;
|
|
2404
|
+
properties: {
|
|
2405
|
+
schema: {
|
|
2406
|
+
type: string;
|
|
2407
|
+
enum: string[];
|
|
2408
|
+
};
|
|
2409
|
+
tasks: {
|
|
2410
|
+
type: string;
|
|
2411
|
+
properties: {
|
|
2412
|
+
columns: {
|
|
2413
|
+
type: string;
|
|
2414
|
+
items: {
|
|
2415
|
+
type: string;
|
|
2416
|
+
};
|
|
2417
|
+
description: string;
|
|
2418
|
+
};
|
|
2419
|
+
rows: {
|
|
2420
|
+
type: string;
|
|
2421
|
+
items: {
|
|
2422
|
+
type: string;
|
|
2423
|
+
};
|
|
2424
|
+
description: string;
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
required: string[];
|
|
2428
|
+
items?: undefined;
|
|
2429
|
+
};
|
|
2430
|
+
count: {
|
|
2431
|
+
type: string;
|
|
2432
|
+
};
|
|
2433
|
+
repo?: undefined;
|
|
2434
|
+
objective?: undefined;
|
|
2435
|
+
answer?: undefined;
|
|
2436
|
+
model?: undefined;
|
|
2437
|
+
stopReason?: undefined;
|
|
2438
|
+
iterations?: undefined;
|
|
2439
|
+
toolCalls?: undefined;
|
|
2440
|
+
task_code?: undefined;
|
|
2441
|
+
phase?: undefined;
|
|
2442
|
+
title?: undefined;
|
|
2443
|
+
status?: undefined;
|
|
2444
|
+
priority?: undefined;
|
|
2445
|
+
success?: undefined;
|
|
2446
|
+
id?: undefined;
|
|
2447
|
+
type?: undefined;
|
|
2448
|
+
error?: undefined;
|
|
2449
|
+
message?: undefined;
|
|
2450
|
+
updatedFields?: undefined;
|
|
2451
|
+
query?: undefined;
|
|
2452
|
+
recapContext?: undefined;
|
|
2453
|
+
results?: undefined;
|
|
2454
|
+
summary?: undefined;
|
|
2455
|
+
signalCount?: undefined;
|
|
2456
|
+
deletedCount?: undefined;
|
|
2457
|
+
ids?: undefined;
|
|
2458
|
+
total?: undefined;
|
|
2459
|
+
offset?: undefined;
|
|
2460
|
+
memories?: undefined;
|
|
2461
|
+
archivedToMemory?: undefined;
|
|
2307
2462
|
action?: undefined;
|
|
2308
2463
|
createdCount?: undefined;
|
|
2309
2464
|
updatedCount?: undefined;
|
|
@@ -2406,51 +2561,38 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
2406
2561
|
outputSchema: {
|
|
2407
2562
|
type: string;
|
|
2408
2563
|
properties: {
|
|
2409
|
-
|
|
2410
|
-
type: string;
|
|
2411
|
-
};
|
|
2412
|
-
count: {
|
|
2413
|
-
type: string;
|
|
2414
|
-
};
|
|
2415
|
-
offset: {
|
|
2416
|
-
type: string;
|
|
2417
|
-
};
|
|
2418
|
-
limit: {
|
|
2564
|
+
schema: {
|
|
2419
2565
|
type: string;
|
|
2566
|
+
enum: string[];
|
|
2420
2567
|
};
|
|
2421
2568
|
tasks: {
|
|
2422
2569
|
type: string;
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
type: string;
|
|
2428
|
-
};
|
|
2429
|
-
repo: {
|
|
2430
|
-
type: string;
|
|
2431
|
-
};
|
|
2432
|
-
task_code: {
|
|
2433
|
-
type: string;
|
|
2434
|
-
};
|
|
2435
|
-
phase: {
|
|
2436
|
-
type: string;
|
|
2437
|
-
};
|
|
2438
|
-
title: {
|
|
2439
|
-
type: string;
|
|
2440
|
-
};
|
|
2441
|
-
description: {
|
|
2442
|
-
type: string;
|
|
2443
|
-
};
|
|
2444
|
-
status: {
|
|
2570
|
+
properties: {
|
|
2571
|
+
columns: {
|
|
2572
|
+
type: string;
|
|
2573
|
+
items: {
|
|
2445
2574
|
type: string;
|
|
2446
2575
|
};
|
|
2447
|
-
|
|
2576
|
+
description: string;
|
|
2577
|
+
};
|
|
2578
|
+
rows: {
|
|
2579
|
+
type: string;
|
|
2580
|
+
items: {
|
|
2448
2581
|
type: string;
|
|
2449
2582
|
};
|
|
2583
|
+
description: string;
|
|
2450
2584
|
};
|
|
2451
|
-
required: string[];
|
|
2452
2585
|
};
|
|
2586
|
+
required: string[];
|
|
2587
|
+
items?: undefined;
|
|
2453
2588
|
};
|
|
2589
|
+
count: {
|
|
2590
|
+
type: string;
|
|
2591
|
+
};
|
|
2592
|
+
offset: {
|
|
2593
|
+
type: string;
|
|
2594
|
+
};
|
|
2595
|
+
repo?: undefined;
|
|
2454
2596
|
objective?: undefined;
|
|
2455
2597
|
answer?: undefined;
|
|
2456
2598
|
model?: undefined;
|
|
@@ -2578,51 +2720,41 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
2578
2720
|
outputSchema: {
|
|
2579
2721
|
type: string;
|
|
2580
2722
|
properties: {
|
|
2581
|
-
|
|
2582
|
-
type: string;
|
|
2583
|
-
};
|
|
2584
|
-
count: {
|
|
2585
|
-
type: string;
|
|
2586
|
-
};
|
|
2587
|
-
offset: {
|
|
2723
|
+
schema: {
|
|
2588
2724
|
type: string;
|
|
2725
|
+
enum: string[];
|
|
2589
2726
|
};
|
|
2590
|
-
|
|
2727
|
+
query: {
|
|
2591
2728
|
type: string;
|
|
2592
2729
|
};
|
|
2593
2730
|
tasks: {
|
|
2594
2731
|
type: string;
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
type: string;
|
|
2600
|
-
};
|
|
2601
|
-
repo: {
|
|
2602
|
-
type: string;
|
|
2603
|
-
};
|
|
2604
|
-
task_code: {
|
|
2605
|
-
type: string;
|
|
2606
|
-
};
|
|
2607
|
-
phase: {
|
|
2608
|
-
type: string;
|
|
2609
|
-
};
|
|
2610
|
-
title: {
|
|
2611
|
-
type: string;
|
|
2612
|
-
};
|
|
2613
|
-
description: {
|
|
2614
|
-
type: string;
|
|
2615
|
-
};
|
|
2616
|
-
status: {
|
|
2732
|
+
properties: {
|
|
2733
|
+
columns: {
|
|
2734
|
+
type: string;
|
|
2735
|
+
items: {
|
|
2617
2736
|
type: string;
|
|
2618
2737
|
};
|
|
2619
|
-
|
|
2738
|
+
description: string;
|
|
2739
|
+
};
|
|
2740
|
+
rows: {
|
|
2741
|
+
type: string;
|
|
2742
|
+
items: {
|
|
2620
2743
|
type: string;
|
|
2621
2744
|
};
|
|
2745
|
+
description: string;
|
|
2622
2746
|
};
|
|
2623
|
-
required: string[];
|
|
2624
2747
|
};
|
|
2748
|
+
required: string[];
|
|
2749
|
+
items?: undefined;
|
|
2750
|
+
};
|
|
2751
|
+
count: {
|
|
2752
|
+
type: string;
|
|
2753
|
+
};
|
|
2754
|
+
offset: {
|
|
2755
|
+
type: string;
|
|
2625
2756
|
};
|
|
2757
|
+
repo?: undefined;
|
|
2626
2758
|
objective?: undefined;
|
|
2627
2759
|
answer?: undefined;
|
|
2628
2760
|
model?: undefined;
|
|
@@ -2640,7 +2772,6 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
2640
2772
|
error?: undefined;
|
|
2641
2773
|
message?: undefined;
|
|
2642
2774
|
updatedFields?: undefined;
|
|
2643
|
-
query?: undefined;
|
|
2644
2775
|
recapContext?: undefined;
|
|
2645
2776
|
results?: undefined;
|
|
2646
2777
|
summary?: undefined;
|
|
@@ -2877,7 +3008,7 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
2877
3008
|
memories?: undefined;
|
|
2878
3009
|
tasks?: undefined;
|
|
2879
3010
|
archivedToMemory?: undefined;
|
|
2880
|
-
|
|
3011
|
+
schema?: undefined;
|
|
2881
3012
|
};
|
|
2882
3013
|
required: string[];
|
|
2883
3014
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/mcp/tools/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;EAA6H,CAAC;AAG3J,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAi2B5B,CAAC"}
|
|
@@ -134,7 +134,7 @@ export const TaskSearchSchema = z.object({
|
|
|
134
134
|
repo: z.string().min(1).transform(normalizeRepo),
|
|
135
135
|
query: z.string().min(1),
|
|
136
136
|
status: z.string().optional(),
|
|
137
|
-
limit: z.number().min(1).max(100).default(
|
|
137
|
+
limit: z.number().min(1).max(100).default(10),
|
|
138
138
|
offset: z.number().min(0).default(0)
|
|
139
139
|
});
|
|
140
140
|
export const TaskBulkManageSchema = z.object({
|
|
@@ -167,6 +167,11 @@ export const TaskDeleteSchema = z.object({
|
|
|
167
167
|
repo: z.string().min(1).transform(normalizeRepo),
|
|
168
168
|
id: z.string().uuid()
|
|
169
169
|
});
|
|
170
|
+
export const TaskActiveSchema = z.object({
|
|
171
|
+
repo: z.string().min(1).transform(normalizeRepo),
|
|
172
|
+
status: z.enum(["in_progress", "pending"]).optional(),
|
|
173
|
+
limit: z.number().min(1).max(20).default(5)
|
|
174
|
+
});
|
|
170
175
|
// Tool definitions for MCP
|
|
171
176
|
export const TOOL_DEFINITIONS = [
|
|
172
177
|
{
|
|
@@ -755,10 +760,66 @@ export const TOOL_DEFINITIONS = [
|
|
|
755
760
|
required: ["success", "id", "repo"]
|
|
756
761
|
}
|
|
757
762
|
},
|
|
763
|
+
{
|
|
764
|
+
name: "task-active",
|
|
765
|
+
title: "Task Active",
|
|
766
|
+
description: "PRIMARY task navigation tool. Call this FIRST at session start. Returns a minimal tabular list of active tasks (id, title, status, priority). Default behavior: returns in_progress tasks; falls back to pending if none exist. Use task://<id> to fetch full task details. AGENTS: call this once, pick ONE task, then fetch task://<id> for full context before starting work.",
|
|
767
|
+
annotations: {
|
|
768
|
+
readOnlyHint: true,
|
|
769
|
+
idempotentHint: true,
|
|
770
|
+
openWorldHint: false
|
|
771
|
+
},
|
|
772
|
+
inputSchema: {
|
|
773
|
+
type: "object",
|
|
774
|
+
properties: {
|
|
775
|
+
repo: {
|
|
776
|
+
type: "string",
|
|
777
|
+
description: "Repository name"
|
|
778
|
+
},
|
|
779
|
+
status: {
|
|
780
|
+
type: "string",
|
|
781
|
+
enum: ["in_progress", "pending"],
|
|
782
|
+
description: "Optional status filter. If omitted: returns in_progress tasks, falls back to pending if none."
|
|
783
|
+
},
|
|
784
|
+
limit: {
|
|
785
|
+
type: "number",
|
|
786
|
+
minimum: 1,
|
|
787
|
+
maximum: 20,
|
|
788
|
+
default: 5,
|
|
789
|
+
description: "Maximum rows to return (default 5)"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
required: ["repo"]
|
|
793
|
+
},
|
|
794
|
+
outputSchema: {
|
|
795
|
+
type: "object",
|
|
796
|
+
properties: {
|
|
797
|
+
schema: { type: "string", enum: ["task-active"] },
|
|
798
|
+
tasks: {
|
|
799
|
+
type: "object",
|
|
800
|
+
properties: {
|
|
801
|
+
columns: {
|
|
802
|
+
type: "array",
|
|
803
|
+
items: { type: "string" },
|
|
804
|
+
description: "Column names in order: id, task_code, title, status, priority, comments_count"
|
|
805
|
+
},
|
|
806
|
+
rows: {
|
|
807
|
+
type: "array",
|
|
808
|
+
items: { type: "array" },
|
|
809
|
+
description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task://<id> to fetch full task."
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
required: ["columns", "rows"]
|
|
813
|
+
},
|
|
814
|
+
count: { type: "number" }
|
|
815
|
+
},
|
|
816
|
+
required: ["schema", "tasks", "count"]
|
|
817
|
+
}
|
|
818
|
+
},
|
|
758
819
|
{
|
|
759
820
|
name: "task-list",
|
|
760
821
|
title: "Task List",
|
|
761
|
-
description: "List or search tasks for a repository. Use 'search' to filter by code, title, or description. Use 'status' (comma-separated) to filter by status (backlog, pending, in_progress, completed, canceled, blocked). Defaults to active tasks.",
|
|
822
|
+
description: "List or filtered search of tasks for a repository. Returns a compact tabular pointer list. Use 'search' to filter by code, title, or description. Use 'status' (comma-separated) to filter by status (backlog, pending, in_progress, completed, canceled, blocked). Defaults to active tasks. AGENTS: read columns array to interpret rows, then fetch task://<id>.",
|
|
762
823
|
annotations: {
|
|
763
824
|
readOnlyHint: true,
|
|
764
825
|
idempotentHint: true,
|
|
@@ -802,35 +863,33 @@ export const TOOL_DEFINITIONS = [
|
|
|
802
863
|
outputSchema: {
|
|
803
864
|
type: "object",
|
|
804
865
|
properties: {
|
|
805
|
-
|
|
806
|
-
count: { type: "number" },
|
|
807
|
-
offset: { type: "number" },
|
|
808
|
-
limit: { type: "number" },
|
|
866
|
+
schema: { type: "string", enum: ["task-list"] },
|
|
809
867
|
tasks: {
|
|
810
|
-
type: "
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
task_code: { type: "string" },
|
|
817
|
-
phase: { type: "string" },
|
|
818
|
-
title: { type: "string" },
|
|
819
|
-
description: { type: "string" },
|
|
820
|
-
status: { type: "string" },
|
|
821
|
-
priority: { type: "number" }
|
|
868
|
+
type: "object",
|
|
869
|
+
properties: {
|
|
870
|
+
columns: {
|
|
871
|
+
type: "array",
|
|
872
|
+
items: { type: "string" },
|
|
873
|
+
description: "Column names in order: id, task_code, title, status, priority, comments_count"
|
|
822
874
|
},
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
875
|
+
rows: {
|
|
876
|
+
type: "array",
|
|
877
|
+
items: { type: "array" },
|
|
878
|
+
description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task://<id> to fetch full task."
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
required: ["columns", "rows"]
|
|
882
|
+
},
|
|
883
|
+
count: { type: "number" },
|
|
884
|
+
offset: { type: "number" }
|
|
826
885
|
},
|
|
827
|
-
required: ["
|
|
886
|
+
required: ["schema", "tasks", "count"]
|
|
828
887
|
}
|
|
829
888
|
},
|
|
830
889
|
{
|
|
831
890
|
name: "task-search",
|
|
832
891
|
title: "Task Search",
|
|
833
|
-
description: "Search
|
|
892
|
+
description: "Search tasks by code, title, or description and return a compact tabular pointer list. Use task://<id> to fetch full task details after selecting from results. Defaults to searching all statuses. AGENTS: call once, read columns array to interpret rows, then fetch task://<id>.",
|
|
834
893
|
annotations: {
|
|
835
894
|
readOnlyHint: true,
|
|
836
895
|
idempotentHint: true,
|
|
@@ -845,18 +904,18 @@ export const TOOL_DEFINITIONS = [
|
|
|
845
904
|
},
|
|
846
905
|
query: {
|
|
847
906
|
type: "string",
|
|
848
|
-
description: "Search query"
|
|
907
|
+
description: "Search query (matches task code, title, or description)"
|
|
849
908
|
},
|
|
850
909
|
status: {
|
|
851
910
|
type: "string",
|
|
852
|
-
description: "Optional status filter (comma-separated). Defaults to
|
|
911
|
+
description: "Optional status filter (comma-separated, e.g. 'pending,in_progress'). Defaults to all statuses if omitted."
|
|
853
912
|
},
|
|
854
913
|
limit: {
|
|
855
914
|
type: "number",
|
|
856
915
|
minimum: 1,
|
|
857
916
|
maximum: 100,
|
|
858
|
-
default:
|
|
859
|
-
description: "Maximum
|
|
917
|
+
default: 10,
|
|
918
|
+
description: "Maximum rows to return (default 10)"
|
|
860
919
|
},
|
|
861
920
|
offset: {
|
|
862
921
|
type: "number",
|
|
@@ -870,29 +929,28 @@ export const TOOL_DEFINITIONS = [
|
|
|
870
929
|
outputSchema: {
|
|
871
930
|
type: "object",
|
|
872
931
|
properties: {
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
offset: { type: "number" },
|
|
876
|
-
limit: { type: "number" },
|
|
932
|
+
schema: { type: "string", enum: ["task-search"] },
|
|
933
|
+
query: { type: "string" },
|
|
877
934
|
tasks: {
|
|
878
|
-
type: "
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
task_code: { type: "string" },
|
|
885
|
-
phase: { type: "string" },
|
|
886
|
-
title: { type: "string" },
|
|
887
|
-
description: { type: "string" },
|
|
888
|
-
status: { type: "string" },
|
|
889
|
-
priority: { type: "number" }
|
|
935
|
+
type: "object",
|
|
936
|
+
properties: {
|
|
937
|
+
columns: {
|
|
938
|
+
type: "array",
|
|
939
|
+
items: { type: "string" },
|
|
940
|
+
description: "Column names in order: id, task_code, title, status, priority, comments_count"
|
|
890
941
|
},
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
942
|
+
rows: {
|
|
943
|
+
type: "array",
|
|
944
|
+
items: { type: "array" },
|
|
945
|
+
description: "Each row: [id, task_code, title, status, priority, comments_count]. Use task://<id> to fetch full task."
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
required: ["columns", "rows"]
|
|
949
|
+
},
|
|
950
|
+
count: { type: "number" },
|
|
951
|
+
offset: { type: "number" }
|
|
894
952
|
},
|
|
895
|
-
required: ["
|
|
953
|
+
required: ["schema", "query", "tasks", "count"]
|
|
896
954
|
}
|
|
897
955
|
},
|
|
898
956
|
{
|