@vitest-agent/mcp 6.1.4 → 6.1.6
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/index.d.ts +88 -72
- package/main.d.ts +18 -0
- package/package.json +11 -11
- package/version.js +1 -1
package/index.d.ts
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vitest-agent/mcp
|
|
3
|
+
*
|
|
4
|
+
* Model Context Protocol server for vitest-agent, built on Effect's
|
|
5
|
+
* native `McpServer` (`effect/ai`). Exposes 30 tools (one
|
|
6
|
+
* tool per file under `tools/`, assembled in `toolkit.ts` and registered
|
|
7
|
+
* strict-by-default through `@effected/mcp-kit`'s `McpToolkit.layer`)
|
|
8
|
+
* plus six framing prompts (`prompts/layer.ts`) over stdio, giving agents
|
|
9
|
+
* structured access to test data, coverage, history, trends, errors,
|
|
10
|
+
* notes and the TDD lifecycle — backed by the SQLite database that the
|
|
11
|
+
* reporter writes during test runs.
|
|
12
|
+
*
|
|
13
|
+
* The default entry point is `bin.ts` (registered as the
|
|
14
|
+
* `vitest-agent-mcp` bin) over `main.ts` (published as `./main` so the
|
|
15
|
+
* carrier can ship the same bin); this barrel re-exports the supporting
|
|
16
|
+
* pieces for programmatic use and never imports `main.ts`.
|
|
17
|
+
*
|
|
18
|
+
* @packageDocumentation
|
|
19
|
+
*/
|
|
1
20
|
import { ToolRefusal, ToolRefusal as ToolRefusal$1 } from "@effected/mcp-kit";
|
|
2
21
|
import { Context, Effect, Layer, Schema, Scope, Stdio } from "effect";
|
|
3
22
|
import { McpServer, Tool, Toolkit } from "effect/ai";
|
|
4
23
|
import { DataReader, DataStore, ProjectDiscovery, SessionContext } from "@vitest-agent/engine";
|
|
5
|
-
import "@effected/git";
|
|
6
|
-
import "@effected/mcp-kit/node";
|
|
7
|
-
import "@vitest-agent/sdk";
|
|
8
24
|
import { Remediation } from "@effected/kit";
|
|
9
25
|
/**
|
|
10
26
|
* Formerly rendered a tool's encoded result as a markdown `content[0].text`
|
|
@@ -236,7 +252,7 @@ export declare const acceptanceMetricsTool: Tool.Tool<"acceptance_metrics", {
|
|
|
236
252
|
}>;
|
|
237
253
|
readonly failure: Schema.Never;
|
|
238
254
|
readonly failureMode: "error";
|
|
239
|
-
}, DataReader>;
|
|
255
|
+
}, DataReader, Tool.Execution>;
|
|
240
256
|
/**
|
|
241
257
|
* The `cache_health` tool's success payload.
|
|
242
258
|
*
|
|
@@ -300,7 +316,7 @@ export declare const cacheHealthTool: Tool.Tool<"cache_health", {
|
|
|
300
316
|
}>]>;
|
|
301
317
|
readonly failure: Schema.Never;
|
|
302
318
|
readonly failureMode: "error";
|
|
303
|
-
}, DataReader>;
|
|
319
|
+
}, DataReader, Tool.Execution>;
|
|
304
320
|
/**
|
|
305
321
|
* The `commit_changes` tool's success payload.
|
|
306
322
|
*
|
|
@@ -375,7 +391,7 @@ export declare const commitChangesTool: Tool.Tool<"commit_changes", {
|
|
|
375
391
|
}>;
|
|
376
392
|
readonly failure: Schema.Never;
|
|
377
393
|
readonly failureMode: "error";
|
|
378
|
-
}, DataReader>;
|
|
394
|
+
}, DataReader, Tool.Execution>;
|
|
379
395
|
/**
|
|
380
396
|
* The `configure` tool's success payload.
|
|
381
397
|
*
|
|
@@ -462,7 +478,7 @@ export declare const configureTool: Tool.Tool<"configure", {
|
|
|
462
478
|
}>]>;
|
|
463
479
|
readonly failure: Schema.Never;
|
|
464
480
|
readonly failureMode: "error";
|
|
465
|
-
}, DataReader>;
|
|
481
|
+
}, DataReader, Tool.Execution>;
|
|
466
482
|
/**
|
|
467
483
|
* The `test_coverage` tool's success payload.
|
|
468
484
|
*
|
|
@@ -735,7 +751,7 @@ export declare const testCoverageTool: Tool.Tool<"test_coverage", {
|
|
|
735
751
|
}>]>;
|
|
736
752
|
readonly failure: Schema.Never;
|
|
737
753
|
readonly failureMode: "error";
|
|
738
|
-
}, DataReader>;
|
|
754
|
+
}, DataReader, Tool.Execution>;
|
|
739
755
|
/**
|
|
740
756
|
* The `test_errors` tool's success payload — populates `structuredContent`.
|
|
741
757
|
*
|
|
@@ -834,7 +850,7 @@ export declare const testErrorsTool: Tool.Tool<"test_errors", {
|
|
|
834
850
|
}>;
|
|
835
851
|
readonly failure: Schema.Never;
|
|
836
852
|
readonly failureMode: "error";
|
|
837
|
-
}, DataReader>;
|
|
853
|
+
}, DataReader, Tool.Execution>;
|
|
838
854
|
/**
|
|
839
855
|
* The `failure_signature_get` tool's success payload.
|
|
840
856
|
*
|
|
@@ -909,7 +925,7 @@ export declare const failureSignatureGetTool: Tool.Tool<"failure_signature_get",
|
|
|
909
925
|
}>]>;
|
|
910
926
|
readonly failure: Schema.Never;
|
|
911
927
|
readonly failureMode: "error";
|
|
912
|
-
}, DataReader>;
|
|
928
|
+
}, DataReader, Tool.Execution>;
|
|
913
929
|
/**
|
|
914
930
|
* The `file_coverage` tool's success payload.
|
|
915
931
|
*
|
|
@@ -1026,7 +1042,7 @@ export declare const fileCoverageTool: Tool.Tool<"file_coverage", {
|
|
|
1026
1042
|
}>]>;
|
|
1027
1043
|
readonly failure: Schema.Never;
|
|
1028
1044
|
readonly failureMode: "error";
|
|
1029
|
-
}, DataReader>;
|
|
1045
|
+
}, DataReader, Tool.Execution>;
|
|
1030
1046
|
/**
|
|
1031
1047
|
* The `help` tool's success payload.
|
|
1032
1048
|
*
|
|
@@ -1054,7 +1070,7 @@ export declare const helpTool: Tool.Tool<"help", {
|
|
|
1054
1070
|
}>;
|
|
1055
1071
|
readonly failure: Schema.Never;
|
|
1056
1072
|
readonly failureMode: "error";
|
|
1057
|
-
}, never>;
|
|
1073
|
+
}, never, Tool.Execution>;
|
|
1058
1074
|
/**
|
|
1059
1075
|
* Handler for {@link helpTool}.
|
|
1060
1076
|
*
|
|
@@ -1215,7 +1231,7 @@ export declare const testHistoryTool: Tool.Tool<"test_history", {
|
|
|
1215
1231
|
}>;
|
|
1216
1232
|
readonly failure: Schema.Never;
|
|
1217
1233
|
readonly failureMode: "error";
|
|
1218
|
-
}, DataReader>;
|
|
1234
|
+
}, DataReader, Tool.Execution>;
|
|
1219
1235
|
/**
|
|
1220
1236
|
* The `test_overview` tool's success payload.
|
|
1221
1237
|
*
|
|
@@ -1292,7 +1308,7 @@ export declare const testOverviewTool: Tool.Tool<"test_overview", {
|
|
|
1292
1308
|
}>]>;
|
|
1293
1309
|
readonly failure: Schema.Never;
|
|
1294
1310
|
readonly failureMode: "error";
|
|
1295
|
-
}, DataReader>;
|
|
1311
|
+
}, DataReader, Tool.Execution>;
|
|
1296
1312
|
/**
|
|
1297
1313
|
* The `ping` tool's success payload.
|
|
1298
1314
|
*
|
|
@@ -1329,7 +1345,7 @@ export declare const pingTool: Tool.Tool<"ping", {
|
|
|
1329
1345
|
}>;
|
|
1330
1346
|
readonly failure: Schema.Never;
|
|
1331
1347
|
readonly failureMode: "error";
|
|
1332
|
-
}, never>;
|
|
1348
|
+
}, never, Tool.Execution>;
|
|
1333
1349
|
/**
|
|
1334
1350
|
* Handler for {@link pingTool}.
|
|
1335
1351
|
*
|
|
@@ -1424,7 +1440,7 @@ export declare const registerAgentTool: Tool.Tool<"register_agent", {
|
|
|
1424
1440
|
}>]>;
|
|
1425
1441
|
readonly failure: Schema.Never;
|
|
1426
1442
|
readonly failureMode: "error";
|
|
1427
|
-
}, DataReader | DataStore>;
|
|
1443
|
+
}, DataReader | DataStore, Tool.Execution>;
|
|
1428
1444
|
/**
|
|
1429
1445
|
* The `run_tests` tool's success payload.
|
|
1430
1446
|
*
|
|
@@ -2012,7 +2028,7 @@ export declare const runTestsTool: Tool.Tool<"run_tests", {
|
|
|
2012
2028
|
}>]>;
|
|
2013
2029
|
readonly failure: Schema.Never;
|
|
2014
2030
|
readonly failureMode: "error";
|
|
2015
|
-
}, DataReader | DataStore | McpSession>;
|
|
2031
|
+
}, DataReader | DataStore | McpSession, Tool.Execution>;
|
|
2016
2032
|
/**
|
|
2017
2033
|
* The `settings_list` tool's success payload.
|
|
2018
2034
|
*
|
|
@@ -2054,7 +2070,7 @@ export declare const settingsListTool: Tool.Tool<"settings_list", {
|
|
|
2054
2070
|
}>;
|
|
2055
2071
|
readonly failure: Schema.Never;
|
|
2056
2072
|
readonly failureMode: "error";
|
|
2057
|
-
}, DataReader>;
|
|
2073
|
+
}, DataReader, Tool.Execution>;
|
|
2058
2074
|
/**
|
|
2059
2075
|
* The `test_status` tool's success payload.
|
|
2060
2076
|
*
|
|
@@ -2150,7 +2166,7 @@ export declare const testStatusTool: Tool.Tool<"test_status", {
|
|
|
2150
2166
|
}>]>;
|
|
2151
2167
|
readonly failure: Schema.Never;
|
|
2152
2168
|
readonly failureMode: "error";
|
|
2153
|
-
}, DataReader>;
|
|
2169
|
+
}, DataReader, Tool.Execution>;
|
|
2154
2170
|
/**
|
|
2155
2171
|
* The `tdd_artifact_list` tool's success payload.
|
|
2156
2172
|
*
|
|
@@ -2245,7 +2261,7 @@ export declare const tddArtifactListTool: Tool.Tool<"tdd_artifact_list", {
|
|
|
2245
2261
|
}>;
|
|
2246
2262
|
readonly failure: Schema.Never;
|
|
2247
2263
|
readonly failureMode: "error";
|
|
2248
|
-
}, DataReader>;
|
|
2264
|
+
}, DataReader, Tool.Execution>;
|
|
2249
2265
|
/**
|
|
2250
2266
|
* The `tdd_phase_transition_request` tool's success payload.
|
|
2251
2267
|
*
|
|
@@ -2342,7 +2358,7 @@ export declare const tddPhaseTransitionRequestTool: Tool.Tool<"tdd_phase_transit
|
|
|
2342
2358
|
}>]>;
|
|
2343
2359
|
readonly failure: Schema.Never;
|
|
2344
2360
|
readonly failureMode: "error";
|
|
2345
|
-
}, DataReader | DataStore>;
|
|
2361
|
+
}, DataReader | DataStore, Tool.Execution>;
|
|
2346
2362
|
/**
|
|
2347
2363
|
* The `tdd_progress_push` tool's parameters.
|
|
2348
2364
|
*
|
|
@@ -2394,7 +2410,7 @@ export declare const tddProgressPushTool: Tool.Tool<"tdd_progress_push", {
|
|
|
2394
2410
|
}>;
|
|
2395
2411
|
readonly failure: Schema.Never;
|
|
2396
2412
|
readonly failureMode: "error";
|
|
2397
|
-
}, DataReader | McpServer.McpServer>;
|
|
2413
|
+
}, DataReader | McpServer.McpServer, Tool.Execution>;
|
|
2398
2414
|
/**
|
|
2399
2415
|
* The `test_trends` tool's success payload.
|
|
2400
2416
|
*
|
|
@@ -2491,7 +2507,7 @@ export declare const testTrendsTool: Tool.Tool<"test_trends", {
|
|
|
2491
2507
|
}>]>;
|
|
2492
2508
|
readonly failure: Schema.Never;
|
|
2493
2509
|
readonly failureMode: "error";
|
|
2494
|
-
}, DataReader>;
|
|
2510
|
+
}, DataReader, Tool.Execution>;
|
|
2495
2511
|
/**
|
|
2496
2512
|
* The `triage_brief` tool's success payload.
|
|
2497
2513
|
*
|
|
@@ -2544,7 +2560,7 @@ export declare const triageBriefTool: Tool.Tool<"triage_brief", {
|
|
|
2544
2560
|
}>;
|
|
2545
2561
|
readonly failure: Schema.Never;
|
|
2546
2562
|
readonly failureMode: "error";
|
|
2547
|
-
}, DataReader>;
|
|
2563
|
+
}, DataReader, Tool.Execution>;
|
|
2548
2564
|
/**
|
|
2549
2565
|
* The `turn_search` tool's success payload.
|
|
2550
2566
|
*
|
|
@@ -2615,7 +2631,7 @@ export declare const turnSearchTool: Tool.Tool<"turn_search", {
|
|
|
2615
2631
|
}>;
|
|
2616
2632
|
readonly failure: Schema.Never;
|
|
2617
2633
|
readonly failureMode: "error";
|
|
2618
|
-
}, DataReader>;
|
|
2634
|
+
}, DataReader, Tool.Execution>;
|
|
2619
2635
|
/**
|
|
2620
2636
|
* The `wrapup_prompt` tool's success payload.
|
|
2621
2637
|
*
|
|
@@ -2674,7 +2690,7 @@ export declare const wrapupPromptTool: Tool.Tool<"wrapup_prompt", {
|
|
|
2674
2690
|
}>;
|
|
2675
2691
|
readonly failure: Schema.Never;
|
|
2676
2692
|
readonly failureMode: "error";
|
|
2677
|
-
}, DataReader>;
|
|
2693
|
+
}, DataReader, Tool.Execution>;
|
|
2678
2694
|
/**
|
|
2679
2695
|
* Every tool the server registers.
|
|
2680
2696
|
*
|
|
@@ -2707,7 +2723,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
2707
2723
|
}>;
|
|
2708
2724
|
readonly failure: import("effect/Schema").Never;
|
|
2709
2725
|
readonly failureMode: "error";
|
|
2710
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
2726
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
2711
2727
|
readonly cache_health: import("effect/ai/Tool").Tool<"cache_health", {
|
|
2712
2728
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
2713
2729
|
readonly success: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
@@ -2730,7 +2746,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
2730
2746
|
}>]>;
|
|
2731
2747
|
readonly failure: import("effect/Schema").Never;
|
|
2732
2748
|
readonly failureMode: "error";
|
|
2733
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
2749
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
2734
2750
|
readonly commit_changes: import("effect/ai/Tool").Tool<"commit_changes", {
|
|
2735
2751
|
readonly parameters: import("effect/Schema").Struct<{
|
|
2736
2752
|
readonly sha: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -2753,7 +2769,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
2753
2769
|
}>;
|
|
2754
2770
|
readonly failure: import("effect/Schema").Never;
|
|
2755
2771
|
readonly failureMode: "error";
|
|
2756
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
2772
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
2757
2773
|
readonly configure: import("effect/ai/Tool").Tool<"configure", {
|
|
2758
2774
|
readonly parameters: import("effect/Schema").Struct<{
|
|
2759
2775
|
readonly settingsHash: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -2782,7 +2798,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
2782
2798
|
}>]>;
|
|
2783
2799
|
readonly failure: import("effect/Schema").Never;
|
|
2784
2800
|
readonly failureMode: "error";
|
|
2785
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
2801
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
2786
2802
|
readonly failure_signature_get: import("effect/ai/Tool").Tool<"failure_signature_get", {
|
|
2787
2803
|
readonly parameters: import("effect/Schema").Struct<{
|
|
2788
2804
|
readonly hash: import("effect/Schema").String;
|
|
@@ -2805,7 +2821,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
2805
2821
|
}>]>;
|
|
2806
2822
|
readonly failure: import("effect/Schema").Never;
|
|
2807
2823
|
readonly failureMode: "error";
|
|
2808
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
2824
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
2809
2825
|
readonly file_coverage: import("effect/ai/Tool").Tool<"file_coverage", {
|
|
2810
2826
|
readonly parameters: import("effect/Schema").Struct<{
|
|
2811
2827
|
readonly filePath: import("effect/Schema").String;
|
|
@@ -2849,7 +2865,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
2849
2865
|
}>]>;
|
|
2850
2866
|
readonly failure: import("effect/Schema").Never;
|
|
2851
2867
|
readonly failureMode: "error";
|
|
2852
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
2868
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
2853
2869
|
readonly help: import("effect/ai/Tool").Tool<"help", {
|
|
2854
2870
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
2855
2871
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -2857,7 +2873,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
2857
2873
|
}>;
|
|
2858
2874
|
readonly failure: import("effect/Schema").Never;
|
|
2859
2875
|
readonly failureMode: "error";
|
|
2860
|
-
}, never>;
|
|
2876
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
2861
2877
|
readonly hypothesis: import("@effected/mcp-kit").UnionTool<"hypothesis", import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
2862
2878
|
readonly action: import("effect/Schema").Literal<"record">;
|
|
2863
2879
|
readonly tddTaskId: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Finite, import("effect/Schema").FiniteFromString]>>;
|
|
@@ -3124,7 +3140,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
3124
3140
|
}>;
|
|
3125
3141
|
readonly failure: import("effect/Schema").Never;
|
|
3126
3142
|
readonly failureMode: "error";
|
|
3127
|
-
}, never>;
|
|
3143
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
3128
3144
|
readonly register_agent: import("effect/ai/Tool").Tool<"register_agent", {
|
|
3129
3145
|
readonly parameters: import("effect/Schema").Struct<{
|
|
3130
3146
|
readonly chatId: import("effect/Schema").String;
|
|
@@ -3153,7 +3169,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
3153
3169
|
}>]>;
|
|
3154
3170
|
readonly failure: import("effect/Schema").Never;
|
|
3155
3171
|
readonly failureMode: "error";
|
|
3156
|
-
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore>;
|
|
3172
|
+
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore, import("effect/ai/Tool").Execution>;
|
|
3157
3173
|
readonly run_tests: import("effect/ai/Tool").Tool<"run_tests", {
|
|
3158
3174
|
readonly parameters: import("effect/Schema").Struct<{
|
|
3159
3175
|
readonly files: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
@@ -3429,7 +3445,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
3429
3445
|
}>]>;
|
|
3430
3446
|
readonly failure: import("effect/Schema").Never;
|
|
3431
3447
|
readonly failureMode: "error";
|
|
3432
|
-
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore | McpSession>;
|
|
3448
|
+
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore | McpSession, import("effect/ai/Tool").Execution>;
|
|
3433
3449
|
readonly settings_list: import("effect/ai/Tool").Tool<"settings_list", {
|
|
3434
3450
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
3435
3451
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -3441,7 +3457,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
3441
3457
|
}>;
|
|
3442
3458
|
readonly failure: import("effect/Schema").Never;
|
|
3443
3459
|
readonly failureMode: "error";
|
|
3444
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
3460
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
3445
3461
|
readonly tdd_artifact_list: import("effect/ai/Tool").Tool<"tdd_artifact_list", {
|
|
3446
3462
|
readonly parameters: import("effect/Schema").Struct<{
|
|
3447
3463
|
readonly tddTaskId: import("effect/Schema").Finite;
|
|
@@ -3474,7 +3490,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
3474
3490
|
}>;
|
|
3475
3491
|
readonly failure: import("effect/Schema").Never;
|
|
3476
3492
|
readonly failureMode: "error";
|
|
3477
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
3493
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
3478
3494
|
readonly tdd_behavior: import("@effected/mcp-kit").UnionTool<"tdd_behavior", import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
3479
3495
|
readonly action: import("effect/Schema").Literal<"create">;
|
|
3480
3496
|
readonly goalId: import("effect/Schema").Finite;
|
|
@@ -3840,7 +3856,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
3840
3856
|
}>]>;
|
|
3841
3857
|
readonly failure: import("effect/Schema").Never;
|
|
3842
3858
|
readonly failureMode: "error";
|
|
3843
|
-
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore>;
|
|
3859
|
+
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore, import("effect/ai/Tool").Execution>;
|
|
3844
3860
|
readonly tdd_progress_push: import("effect/ai/Tool").Tool<"tdd_progress_push", {
|
|
3845
3861
|
readonly parameters: import("effect/Schema").Struct<{
|
|
3846
3862
|
readonly payload: import("effect/Schema").String;
|
|
@@ -3850,7 +3866,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
3850
3866
|
}>;
|
|
3851
3867
|
readonly failure: import("effect/Schema").Never;
|
|
3852
3868
|
readonly failureMode: "error";
|
|
3853
|
-
}, import("@vitest-agent/engine").DataReader | import("effect/ai/McpServer").McpServer>;
|
|
3869
|
+
}, import("@vitest-agent/engine").DataReader | import("effect/ai/McpServer").McpServer, import("effect/ai/Tool").Execution>;
|
|
3854
3870
|
readonly tdd_task: import("@effected/mcp-kit").UnionTool<"tdd_task", import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
3855
3871
|
readonly action: import("effect/Schema").Literal<"start">;
|
|
3856
3872
|
readonly goal: import("effect/Schema").String;
|
|
@@ -4215,7 +4231,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4215
4231
|
}>]>;
|
|
4216
4232
|
readonly failure: import("effect/Schema").Never;
|
|
4217
4233
|
readonly failureMode: "error";
|
|
4218
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4234
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4219
4235
|
readonly test_errors: import("effect/ai/Tool").Tool<"test_errors", {
|
|
4220
4236
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4221
4237
|
readonly project: import("effect/Schema").String;
|
|
@@ -4250,7 +4266,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4250
4266
|
}>;
|
|
4251
4267
|
readonly failure: import("effect/Schema").Never;
|
|
4252
4268
|
readonly failureMode: "error";
|
|
4253
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4269
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4254
4270
|
readonly test_history: import("effect/ai/Tool").Tool<"test_history", {
|
|
4255
4271
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4256
4272
|
readonly project: import("effect/Schema").String;
|
|
@@ -4313,7 +4329,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4313
4329
|
}>;
|
|
4314
4330
|
readonly failure: import("effect/Schema").Never;
|
|
4315
4331
|
readonly failureMode: "error";
|
|
4316
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4332
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4317
4333
|
readonly test_overview: import("effect/ai/Tool").Tool<"test_overview", {
|
|
4318
4334
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4319
4335
|
readonly project: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -4337,7 +4353,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4337
4353
|
}>]>;
|
|
4338
4354
|
readonly failure: import("effect/Schema").Never;
|
|
4339
4355
|
readonly failureMode: "error";
|
|
4340
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4356
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4341
4357
|
readonly test_status: import("effect/ai/Tool").Tool<"test_status", {
|
|
4342
4358
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4343
4359
|
readonly project: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -4370,7 +4386,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4370
4386
|
}>]>;
|
|
4371
4387
|
readonly failure: import("effect/Schema").Never;
|
|
4372
4388
|
readonly failureMode: "error";
|
|
4373
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4389
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4374
4390
|
readonly test_trends: import("effect/ai/Tool").Tool<"test_trends", {
|
|
4375
4391
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4376
4392
|
readonly project: import("effect/Schema").String;
|
|
@@ -4404,7 +4420,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4404
4420
|
}>]>;
|
|
4405
4421
|
readonly failure: import("effect/Schema").Never;
|
|
4406
4422
|
readonly failureMode: "error";
|
|
4407
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4423
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4408
4424
|
readonly triage_brief: import("effect/ai/Tool").Tool<"triage_brief", {
|
|
4409
4425
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4410
4426
|
readonly project: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -4416,7 +4432,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4416
4432
|
}>;
|
|
4417
4433
|
readonly failure: import("effect/Schema").Never;
|
|
4418
4434
|
readonly failureMode: "error";
|
|
4419
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4435
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4420
4436
|
readonly turn_search: import("effect/ai/Tool").Tool<"turn_search", {
|
|
4421
4437
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4422
4438
|
readonly sessionId: import("effect/Schema").optionalKey<import("effect/Schema").Finite>;
|
|
@@ -4437,7 +4453,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4437
4453
|
}>;
|
|
4438
4454
|
readonly failure: import("effect/Schema").Never;
|
|
4439
4455
|
readonly failureMode: "error";
|
|
4440
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4456
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4441
4457
|
readonly wrapup_prompt: import("effect/ai/Tool").Tool<"wrapup_prompt", {
|
|
4442
4458
|
readonly parameters: import("effect/Schema").Struct<{
|
|
4443
4459
|
readonly sessionId: import("effect/Schema").optionalKey<import("effect/Schema").Finite>;
|
|
@@ -4452,7 +4468,7 @@ export declare const Kit: Toolkit.Toolkit<{
|
|
|
4452
4468
|
}>;
|
|
4453
4469
|
readonly failure: import("effect/Schema").Never;
|
|
4454
4470
|
readonly failureMode: "error";
|
|
4455
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
4471
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
4456
4472
|
}>;
|
|
4457
4473
|
/**
|
|
4458
4474
|
* Builds the handler for each tool in {@link Kit}: reads `DataReader` /
|
|
@@ -5194,7 +5210,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5194
5210
|
}>;
|
|
5195
5211
|
readonly failure: import("effect/Schema").Never;
|
|
5196
5212
|
readonly failureMode: "error";
|
|
5197
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5213
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5198
5214
|
readonly cache_health: import("effect/ai/Tool").Tool<"cache_health", {
|
|
5199
5215
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
5200
5216
|
readonly success: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
@@ -5217,7 +5233,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5217
5233
|
}>]>;
|
|
5218
5234
|
readonly failure: import("effect/Schema").Never;
|
|
5219
5235
|
readonly failureMode: "error";
|
|
5220
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5236
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5221
5237
|
readonly commit_changes: import("effect/ai/Tool").Tool<"commit_changes", {
|
|
5222
5238
|
readonly parameters: import("effect/Schema").Struct<{
|
|
5223
5239
|
readonly sha: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -5240,7 +5256,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5240
5256
|
}>;
|
|
5241
5257
|
readonly failure: import("effect/Schema").Never;
|
|
5242
5258
|
readonly failureMode: "error";
|
|
5243
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5259
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5244
5260
|
readonly configure: import("effect/ai/Tool").Tool<"configure", {
|
|
5245
5261
|
readonly parameters: import("effect/Schema").Struct<{
|
|
5246
5262
|
readonly settingsHash: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -5269,7 +5285,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5269
5285
|
}>]>;
|
|
5270
5286
|
readonly failure: import("effect/Schema").Never;
|
|
5271
5287
|
readonly failureMode: "error";
|
|
5272
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5288
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5273
5289
|
readonly failure_signature_get: import("effect/ai/Tool").Tool<"failure_signature_get", {
|
|
5274
5290
|
readonly parameters: import("effect/Schema").Struct<{
|
|
5275
5291
|
readonly hash: import("effect/Schema").String;
|
|
@@ -5292,7 +5308,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5292
5308
|
}>]>;
|
|
5293
5309
|
readonly failure: import("effect/Schema").Never;
|
|
5294
5310
|
readonly failureMode: "error";
|
|
5295
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5311
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5296
5312
|
readonly file_coverage: import("effect/ai/Tool").Tool<"file_coverage", {
|
|
5297
5313
|
readonly parameters: import("effect/Schema").Struct<{
|
|
5298
5314
|
readonly filePath: import("effect/Schema").String;
|
|
@@ -5336,7 +5352,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5336
5352
|
}>]>;
|
|
5337
5353
|
readonly failure: import("effect/Schema").Never;
|
|
5338
5354
|
readonly failureMode: "error";
|
|
5339
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5355
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5340
5356
|
readonly help: import("effect/ai/Tool").Tool<"help", {
|
|
5341
5357
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
5342
5358
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -5344,7 +5360,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5344
5360
|
}>;
|
|
5345
5361
|
readonly failure: import("effect/Schema").Never;
|
|
5346
5362
|
readonly failureMode: "error";
|
|
5347
|
-
}, never>;
|
|
5363
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
5348
5364
|
readonly hypothesis: import("@effected/mcp-kit").UnionTool<"hypothesis", import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
5349
5365
|
readonly action: import("effect/Schema").Literal<"record">;
|
|
5350
5366
|
readonly tddTaskId: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Finite, import("effect/Schema").FiniteFromString]>>;
|
|
@@ -5611,7 +5627,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5611
5627
|
}>;
|
|
5612
5628
|
readonly failure: import("effect/Schema").Never;
|
|
5613
5629
|
readonly failureMode: "error";
|
|
5614
|
-
}, never>;
|
|
5630
|
+
}, never, import("effect/ai/Tool").Execution>;
|
|
5615
5631
|
readonly register_agent: import("effect/ai/Tool").Tool<"register_agent", {
|
|
5616
5632
|
readonly parameters: import("effect/Schema").Struct<{
|
|
5617
5633
|
readonly chatId: import("effect/Schema").String;
|
|
@@ -5640,7 +5656,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5640
5656
|
}>]>;
|
|
5641
5657
|
readonly failure: import("effect/Schema").Never;
|
|
5642
5658
|
readonly failureMode: "error";
|
|
5643
|
-
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore>;
|
|
5659
|
+
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore, import("effect/ai/Tool").Execution>;
|
|
5644
5660
|
readonly run_tests: import("effect/ai/Tool").Tool<"run_tests", {
|
|
5645
5661
|
readonly parameters: import("effect/Schema").Struct<{
|
|
5646
5662
|
readonly files: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
@@ -5916,7 +5932,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5916
5932
|
}>]>;
|
|
5917
5933
|
readonly failure: import("effect/Schema").Never;
|
|
5918
5934
|
readonly failureMode: "error";
|
|
5919
|
-
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore | McpSession>;
|
|
5935
|
+
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore | McpSession, import("effect/ai/Tool").Execution>;
|
|
5920
5936
|
readonly settings_list: import("effect/ai/Tool").Tool<"settings_list", {
|
|
5921
5937
|
readonly parameters: import("effect/ai/Tool").EmptyParams;
|
|
5922
5938
|
readonly success: import("effect/Schema").Struct<{
|
|
@@ -5928,7 +5944,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5928
5944
|
}>;
|
|
5929
5945
|
readonly failure: import("effect/Schema").Never;
|
|
5930
5946
|
readonly failureMode: "error";
|
|
5931
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5947
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5932
5948
|
readonly tdd_artifact_list: import("effect/ai/Tool").Tool<"tdd_artifact_list", {
|
|
5933
5949
|
readonly parameters: import("effect/Schema").Struct<{
|
|
5934
5950
|
readonly tddTaskId: import("effect/Schema").Finite;
|
|
@@ -5961,7 +5977,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
5961
5977
|
}>;
|
|
5962
5978
|
readonly failure: import("effect/Schema").Never;
|
|
5963
5979
|
readonly failureMode: "error";
|
|
5964
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
5980
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
5965
5981
|
readonly tdd_behavior: import("@effected/mcp-kit").UnionTool<"tdd_behavior", import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
5966
5982
|
readonly action: import("effect/Schema").Literal<"create">;
|
|
5967
5983
|
readonly goalId: import("effect/Schema").Finite;
|
|
@@ -6327,7 +6343,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6327
6343
|
}>]>;
|
|
6328
6344
|
readonly failure: import("effect/Schema").Never;
|
|
6329
6345
|
readonly failureMode: "error";
|
|
6330
|
-
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore>;
|
|
6346
|
+
}, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore, import("effect/ai/Tool").Execution>;
|
|
6331
6347
|
readonly tdd_progress_push: import("effect/ai/Tool").Tool<"tdd_progress_push", {
|
|
6332
6348
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6333
6349
|
readonly payload: import("effect/Schema").String;
|
|
@@ -6337,7 +6353,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6337
6353
|
}>;
|
|
6338
6354
|
readonly failure: import("effect/Schema").Never;
|
|
6339
6355
|
readonly failureMode: "error";
|
|
6340
|
-
}, import("@vitest-agent/engine").DataReader | import("effect/ai/McpServer").McpServer>;
|
|
6356
|
+
}, import("@vitest-agent/engine").DataReader | import("effect/ai/McpServer").McpServer, import("effect/ai/Tool").Execution>;
|
|
6341
6357
|
readonly tdd_task: import("@effected/mcp-kit").UnionTool<"tdd_task", import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
6342
6358
|
readonly action: import("effect/Schema").Literal<"start">;
|
|
6343
6359
|
readonly goal: import("effect/Schema").String;
|
|
@@ -6702,7 +6718,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6702
6718
|
}>]>;
|
|
6703
6719
|
readonly failure: import("effect/Schema").Never;
|
|
6704
6720
|
readonly failureMode: "error";
|
|
6705
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6721
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6706
6722
|
readonly test_errors: import("effect/ai/Tool").Tool<"test_errors", {
|
|
6707
6723
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6708
6724
|
readonly project: import("effect/Schema").String;
|
|
@@ -6737,7 +6753,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6737
6753
|
}>;
|
|
6738
6754
|
readonly failure: import("effect/Schema").Never;
|
|
6739
6755
|
readonly failureMode: "error";
|
|
6740
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6756
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6741
6757
|
readonly test_history: import("effect/ai/Tool").Tool<"test_history", {
|
|
6742
6758
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6743
6759
|
readonly project: import("effect/Schema").String;
|
|
@@ -6800,7 +6816,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6800
6816
|
}>;
|
|
6801
6817
|
readonly failure: import("effect/Schema").Never;
|
|
6802
6818
|
readonly failureMode: "error";
|
|
6803
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6819
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6804
6820
|
readonly test_overview: import("effect/ai/Tool").Tool<"test_overview", {
|
|
6805
6821
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6806
6822
|
readonly project: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -6824,7 +6840,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6824
6840
|
}>]>;
|
|
6825
6841
|
readonly failure: import("effect/Schema").Never;
|
|
6826
6842
|
readonly failureMode: "error";
|
|
6827
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6843
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6828
6844
|
readonly test_status: import("effect/ai/Tool").Tool<"test_status", {
|
|
6829
6845
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6830
6846
|
readonly project: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -6857,7 +6873,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6857
6873
|
}>]>;
|
|
6858
6874
|
readonly failure: import("effect/Schema").Never;
|
|
6859
6875
|
readonly failureMode: "error";
|
|
6860
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6876
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6861
6877
|
readonly test_trends: import("effect/ai/Tool").Tool<"test_trends", {
|
|
6862
6878
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6863
6879
|
readonly project: import("effect/Schema").String;
|
|
@@ -6891,7 +6907,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6891
6907
|
}>]>;
|
|
6892
6908
|
readonly failure: import("effect/Schema").Never;
|
|
6893
6909
|
readonly failureMode: "error";
|
|
6894
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6910
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6895
6911
|
readonly triage_brief: import("effect/ai/Tool").Tool<"triage_brief", {
|
|
6896
6912
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6897
6913
|
readonly project: import("effect/Schema").optionalKey<import("effect/Schema").String>;
|
|
@@ -6903,7 +6919,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6903
6919
|
}>;
|
|
6904
6920
|
readonly failure: import("effect/Schema").Never;
|
|
6905
6921
|
readonly failureMode: "error";
|
|
6906
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6922
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6907
6923
|
readonly turn_search: import("effect/ai/Tool").Tool<"turn_search", {
|
|
6908
6924
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6909
6925
|
readonly sessionId: import("effect/Schema").optionalKey<import("effect/Schema").Finite>;
|
|
@@ -6924,7 +6940,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6924
6940
|
}>;
|
|
6925
6941
|
readonly failure: import("effect/Schema").Never;
|
|
6926
6942
|
readonly failureMode: "error";
|
|
6927
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6943
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6928
6944
|
readonly wrapup_prompt: import("effect/ai/Tool").Tool<"wrapup_prompt", {
|
|
6929
6945
|
readonly parameters: import("effect/Schema").Struct<{
|
|
6930
6946
|
readonly sessionId: import("effect/Schema").optionalKey<import("effect/Schema").Finite>;
|
|
@@ -6939,7 +6955,7 @@ export declare const ToolsLayer: import("effect/Layer").Layer<import("effect/ai/
|
|
|
6939
6955
|
}>;
|
|
6940
6956
|
readonly failure: import("effect/Schema").Never;
|
|
6941
6957
|
readonly failureMode: "error";
|
|
6942
|
-
}, import("@vitest-agent/engine").DataReader>;
|
|
6958
|
+
}, import("@vitest-agent/engine").DataReader, import("effect/ai/Tool").Execution>;
|
|
6943
6959
|
}>, never, import("@vitest-agent/engine").DataReader | import("@vitest-agent/engine").DataStore>;
|
|
6944
6960
|
/**
|
|
6945
6961
|
* Success-shaped envelope returned by TDD CRUD tools when a known TDD error occurs.
|
package/main.d.ts
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The assembled vitest-agent MCP server program over stdio. Owns the process.
|
|
3
|
+
*
|
|
4
|
+
* This module deliberately carries NO static imports of the server graph:
|
|
5
|
+
* `McpGuard` (`@effected/mcp-kit/guard`, itself free of static runtime imports)
|
|
6
|
+
* registers the `unhandledRejection` and `uncaughtException` guards before
|
|
7
|
+
* `load` imports `effect`, `NodeRuntime`, the engine platform and
|
|
8
|
+
* `ServerLayer`, so a throw during module evaluation is still reported on
|
|
9
|
+
* stderr rather than crashing silently. Adding a static import here would
|
|
10
|
+
* defeat that; an `import type` is erased at build time and is fine. `bin.ts` is
|
|
11
|
+
* the published bin shim; this module is also published as the `./main`
|
|
12
|
+
* subpath so the carrier (`@vitest-agent/plugin`) can ship its own
|
|
13
|
+
* `vitest-agent-mcp` bin over it, passing its identity as `distribution`.
|
|
14
|
+
*
|
|
15
|
+
* Every `process` read lives here, not in the server layer or the tools.
|
|
16
|
+
*
|
|
17
|
+
* @packageDocumentation
|
|
18
|
+
*/
|
|
1
19
|
import { Distribution } from "@effected/kit";
|
|
2
20
|
/**
|
|
3
21
|
* Options for {@link main}.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest-agent/mcp",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Model Context Protocol server for vitest-agent. Exposes 30 tools for agent access to test data, TDD lifecycle, and session management.",
|
|
6
6
|
"keywords": [
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"vitest-agent-mcp": "bin/vitest-agent-mcp.js"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@effect/platform-node": "
|
|
47
|
-
"@effected/commands": "^0.
|
|
48
|
-
"@effected/git": "^0.
|
|
49
|
-
"@effected/glob": "^0.
|
|
50
|
-
"@effected/kit": "^0.
|
|
51
|
-
"@effected/mcp-kit": "^0.
|
|
52
|
-
"@effected/walker": "^0.
|
|
53
|
-
"@vitest-agent/engine": "3.2.
|
|
54
|
-
"@vitest-agent/sdk": "9.0.
|
|
55
|
-
"effect": "
|
|
46
|
+
"@effect/platform-node": "4.1.3",
|
|
47
|
+
"@effected/commands": "^0.21.0",
|
|
48
|
+
"@effected/git": "^0.32.0",
|
|
49
|
+
"@effected/glob": "^0.21.0",
|
|
50
|
+
"@effected/kit": "^0.14.0",
|
|
51
|
+
"@effected/mcp-kit": "^0.15.0",
|
|
52
|
+
"@effected/walker": "^0.28.0",
|
|
53
|
+
"@vitest-agent/engine": "3.2.3",
|
|
54
|
+
"@vitest-agent/sdk": "9.0.4",
|
|
55
|
+
"effect": "4.1.3"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"vitest": "^5.0.0"
|