@vitest-agent/mcp 2.4.13 → 2.4.15
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/bin/vitest-agent-mcp.js +3 -3
- package/context.js +4 -3
- package/index.d.ts +11 -11
- package/index.js +1 -1
- package/layers/McpLive.js +1 -1
- package/middleware/idempotency.js +1 -1
- package/package.json +5 -5
- package/server.js +1 -1
- package/tools/_tdd-error-envelope.js +1 -1
- package/tools/acceptance-metrics.js +1 -1
- package/tools/cache-health.js +1 -1
- package/tools/commit-changes.js +1 -1
- package/tools/configure.js +1 -1
- package/tools/coverage.js +1 -1
- package/tools/errors.js +1 -1
- package/tools/failure-signature-get.js +1 -1
- package/tools/file-coverage.js +1 -1
- package/tools/history.js +1 -1
- package/tools/hypothesis.js +1 -1
- package/tools/inventory.js +1 -1
- package/tools/note.js +1 -1
- package/tools/overview.js +1 -1
- package/tools/register-agent.js +1 -1
- package/tools/run-tests.js +1 -1
- package/tools/settings-list.js +1 -1
- package/tools/status.js +1 -1
- package/tools/tdd-artifact.js +1 -1
- package/tools/tdd-behavior.js +1 -1
- package/tools/tdd-goal.js +1 -1
- package/tools/tdd-phase-transition-request.js +1 -1
- package/tools/tdd-task.js +1 -1
- package/tools/test.js +1 -1
- package/tools/trends.js +1 -1
- package/tools/triage-brief.js +1 -1
- package/tools/turn-search.js +1 -1
- package/tools/wrapup-prompt.js +1 -1
package/bin/vitest-agent-mcp.js
CHANGED
|
@@ -5,9 +5,9 @@ import { startMcpServer } from "../server.js";
|
|
|
5
5
|
import { recoverSessionContextFromSessionEnv } from "../session-env.js";
|
|
6
6
|
import { shouldExitOnUncaughtException } from "../utils/crash-guards.js";
|
|
7
7
|
import { safeFormatFatalError } from "../utils/safe-format-fatal-error.js";
|
|
8
|
+
import { Effect, ManagedRuntime } from "effect";
|
|
8
9
|
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
9
10
|
import { PathResolutionLive, resolveDataPath, resolveLogFile, resolveLogLevel } from "@vitest-agent/sdk";
|
|
10
|
-
import { Effect, ManagedRuntime } from "effect";
|
|
11
11
|
|
|
12
12
|
//#region src/bin.ts
|
|
13
13
|
/**
|
|
@@ -83,7 +83,7 @@ function scheduleTestCrashInjection() {
|
|
|
83
83
|
* Precedence (most explicit wins):
|
|
84
84
|
*
|
|
85
85
|
* 1. `VITEST_AGENT_REPORTER_PROJECT_DIR` — set by the Claude Code plugin
|
|
86
|
-
* loader (`
|
|
86
|
+
* loader (`plugins/claude-code/bin/mcp-server.mjs`) to the resolved project root.
|
|
87
87
|
* The loader controls this end-to-end so the value is reliable when
|
|
88
88
|
* set.
|
|
89
89
|
* 2. `CLAUDE_PROJECT_DIR` — exported by Claude Code for hook scripts and
|
|
@@ -99,7 +99,7 @@ function resolveProjectDir() {
|
|
|
99
99
|
* Optional first positional argument: an initial Claude Code chat UUID
|
|
100
100
|
* (the host's `chatId`) to seed the MCP server's session association.
|
|
101
101
|
*
|
|
102
|
-
* The plugin manifest (`
|
|
102
|
+
* The plugin manifest (`plugins/claude-code/.claude-plugin/plugin.json`) can pass this
|
|
103
103
|
* via Claude Code variable substitution if such a variable exists for
|
|
104
104
|
* sessions (the documented substitutions are `${CLAUDE_PLUGIN_ROOT}` and
|
|
105
105
|
* `${CLAUDE_PLUGIN_DATA}`; testing whether `${CLAUDE_SESSION_ID}` or a
|
package/context.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { initTRPC } from "@trpc/server";
|
|
2
|
+
import { MutableRef } from "effect";
|
|
2
3
|
|
|
3
4
|
//#region src/context.ts
|
|
4
5
|
/**
|
|
@@ -9,11 +10,11 @@ import { initTRPC } from "@trpc/server";
|
|
|
9
10
|
* @public
|
|
10
11
|
*/
|
|
11
12
|
const createCurrentSessionIdRef = (initial = null) => {
|
|
12
|
-
|
|
13
|
+
const ref = MutableRef.make(initial);
|
|
13
14
|
return {
|
|
14
|
-
get: () =>
|
|
15
|
+
get: () => MutableRef.get(ref),
|
|
15
16
|
set: (id) => {
|
|
16
|
-
|
|
17
|
+
MutableRef.set(ref, id);
|
|
17
18
|
}
|
|
18
19
|
};
|
|
19
20
|
};
|
package/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ interface CurrentSessionIdRef {
|
|
|
28
28
|
* @returns a mutable ref holding the current session id
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
|
-
declare const createCurrentSessionIdRef: (initial?: string | null) => CurrentSessionIdRef;
|
|
31
|
+
export declare const createCurrentSessionIdRef: (initial?: string | null) => CurrentSessionIdRef;
|
|
32
32
|
/**
|
|
33
33
|
* Recovered session attribution context — the canonical UUIDs the
|
|
34
34
|
* SessionStart hook wrote to `${CLAUDE_ENV_FILE}` so they auto-source
|
|
@@ -73,7 +73,7 @@ interface SessionContextRef {
|
|
|
73
73
|
* @returns a mutable ref holding the current session context
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
|
-
declare const createSessionContextRef: (initial?: SessionContext | null, recover?: () => SessionContext | null) => SessionContextRef;
|
|
76
|
+
export declare const createSessionContextRef: (initial?: SessionContext | null, recover?: () => SessionContext | null) => SessionContextRef;
|
|
77
77
|
/**
|
|
78
78
|
* tRPC context carrying a ManagedRuntime for Effect service access.
|
|
79
79
|
*
|
|
@@ -97,7 +97,7 @@ interface McpContext {
|
|
|
97
97
|
*
|
|
98
98
|
* @public
|
|
99
99
|
*/
|
|
100
|
-
declare const createCallerFactory: import("@trpc/server").TRPCRouterCallerFactory<{
|
|
100
|
+
export declare const createCallerFactory: import("@trpc/server").TRPCRouterCallerFactory<{
|
|
101
101
|
ctx: McpContext;
|
|
102
102
|
meta: object;
|
|
103
103
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
@@ -118,7 +118,7 @@ declare const createCallerFactory: import("@trpc/server").TRPCRouterCallerFactor
|
|
|
118
118
|
* @returns an Effect Layer providing all MCP runtime services
|
|
119
119
|
* @public
|
|
120
120
|
*/
|
|
121
|
-
declare const McpLive: (dbPath: string, logLevel?: LogLevel.LogLevel, logFile?: string) => Layer.Layer<import("@vitest-agent/sdk").DataReader | import("@vitest-agent/sdk").DataStore | import("@vitest-agent/sdk").DetailResolver | import("@vitest-agent/sdk").EnvironmentDetector | import("@vitest-agent/sdk").ExecutorResolver | import("@vitest-agent/sdk").FormatSelector | import("@vitest-agent/sdk").OutputRenderer | import("@vitest-agent/sdk").ProjectDiscovery | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
|
|
121
|
+
export declare const McpLive: (dbPath: string, logLevel?: LogLevel.LogLevel, logFile?: string) => Layer.Layer<import("@vitest-agent/sdk").DataReader | import("@vitest-agent/sdk").DataStore | import("@vitest-agent/sdk").DetailResolver | import("@vitest-agent/sdk").EnvironmentDetector | import("@vitest-agent/sdk").ExecutorResolver | import("@vitest-agent/sdk").FormatSelector | import("@vitest-agent/sdk").OutputRenderer | import("@vitest-agent/sdk").ProjectDiscovery | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/router.d.ts
|
|
124
124
|
/**
|
|
@@ -129,7 +129,7 @@ declare const McpLive: (dbPath: string, logLevel?: LogLevel.LogLevel, logFile?:
|
|
|
129
129
|
*
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
|
-
declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
132
|
+
export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
133
133
|
ctx: McpContext;
|
|
134
134
|
meta: object;
|
|
135
135
|
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
@@ -1584,7 +1584,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1584
1584
|
* @param ctx - the MCP context carrying the shared ManagedRuntime and session refs
|
|
1585
1585
|
* @public
|
|
1586
1586
|
*/
|
|
1587
|
-
declare function buildMcpServer(ctx: McpContext): McpServer;
|
|
1587
|
+
export declare function buildMcpServer(ctx: McpContext): McpServer;
|
|
1588
1588
|
/**
|
|
1589
1589
|
* Starts the MCP server over stdio, registering all tools and prompts.
|
|
1590
1590
|
*
|
|
@@ -1594,7 +1594,7 @@ declare function buildMcpServer(ctx: McpContext): McpServer;
|
|
|
1594
1594
|
* @param ctx - the MCP context carrying the shared ManagedRuntime and session refs
|
|
1595
1595
|
* @public
|
|
1596
1596
|
*/
|
|
1597
|
-
declare function startMcpServer(ctx: McpContext): Promise<void>;
|
|
1597
|
+
export declare function startMcpServer(ctx: McpContext): Promise<void>;
|
|
1598
1598
|
//#endregion
|
|
1599
1599
|
//#region src/session-env.d.ts
|
|
1600
1600
|
/**
|
|
@@ -1605,7 +1605,7 @@ declare function startMcpServer(ctx: McpContext): Promise<void>;
|
|
|
1605
1605
|
* @returns a record of export names to unquoted values
|
|
1606
1606
|
* @public
|
|
1607
1607
|
*/
|
|
1608
|
-
declare const parseSessionEnvExports: (content: string) => Record<string, string>;
|
|
1608
|
+
export declare const parseSessionEnvExports: (content: string) => Record<string, string>;
|
|
1609
1609
|
/**
|
|
1610
1610
|
* Recover a {@link SessionContext} from the newest session-env hook file
|
|
1611
1611
|
* whose `VITEST_AGENT_PROJECT_DIR` matches `projectDir`.
|
|
@@ -1618,7 +1618,7 @@ declare const parseSessionEnvExports: (content: string) => Record<string, string
|
|
|
1618
1618
|
* the default `~/.claude/session-env` (tests)
|
|
1619
1619
|
* @public
|
|
1620
1620
|
*/
|
|
1621
|
-
declare const recoverSessionContextFromSessionEnv: (opts: {
|
|
1621
|
+
export declare const recoverSessionContextFromSessionEnv: (opts: {
|
|
1622
1622
|
readonly projectDir: string;
|
|
1623
1623
|
readonly sessionEnvRoot?: string;
|
|
1624
1624
|
}) => SessionContext | null;
|
|
@@ -1663,7 +1663,7 @@ interface TddErrorEnvelope {
|
|
|
1663
1663
|
*
|
|
1664
1664
|
* @public
|
|
1665
1665
|
*/
|
|
1666
|
-
declare const CURRENT_MCP_VERSION: string;
|
|
1666
|
+
export declare const CURRENT_MCP_VERSION: string;
|
|
1667
1667
|
//#endregion
|
|
1668
|
-
export {
|
|
1668
|
+
export type { CurrentSessionIdRef, McpContext, Remediation, SessionContext, SessionContextRef, TddErrorEnvelope };
|
|
1669
1669
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { parseSessionEnvExports, recoverSessionContextFromSessionEnv } from "./s
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
const CURRENT_MCP_VERSION = "2.4.
|
|
15
|
+
const CURRENT_MCP_VERSION = "2.4.15";
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CURRENT_MCP_VERSION, McpLive, appRouter, buildMcpServer, createCallerFactory, createCurrentSessionIdRef, createSessionContextRef, parseSessionEnvExports, recoverSessionContextFromSessionEnv, startMcpServer };
|
package/layers/McpLive.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { Layer } from "effect";
|
|
1
2
|
import * as NodeServices from "@effect/platform-node/NodeServices";
|
|
2
3
|
import { layer } from "@effect/sql-sqlite-node/SqliteClient";
|
|
3
4
|
import * as SqliteMigrator from "@effect/sql-sqlite-node/SqliteMigrator";
|
|
4
5
|
import { DataReaderLive, DataStoreLive, LoggerLive, OutputPipelineLive, ProjectDiscoveryLive, migration0001 } from "@vitest-agent/sdk";
|
|
5
|
-
import { Layer } from "effect";
|
|
6
6
|
|
|
7
7
|
//#region src/layers/McpLive.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { middleware, publicProcedure } from "../context.js";
|
|
2
|
-
import { DataReader, DataStore } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option } from "effect";
|
|
3
|
+
import { DataReader, DataStore } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/middleware/idempotency.ts
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest-agent/mcp",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Model Context Protocol server for vitest-agent. Exposes 53 tools for agent access to test data, TDD lifecycle, and session management.",
|
|
6
6
|
"keywords": [
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"vitest-agent-mcp": "bin/vitest-agent-mcp.js"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
42
|
-
"@effect/sql-sqlite-node": "4.0.0-rc.
|
|
41
|
+
"@effect/platform-node": "4.0.0-rc.112",
|
|
42
|
+
"@effect/sql-sqlite-node": "4.0.0-rc.112",
|
|
43
43
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
44
44
|
"@trpc/server": "^11.18.0",
|
|
45
|
-
"@vitest-agent/sdk": "2.5.
|
|
46
|
-
"effect": "4.0.0-rc.
|
|
45
|
+
"@vitest-agent/sdk": "2.5.1",
|
|
46
|
+
"effect": "4.0.0-rc.112",
|
|
47
47
|
"zod": "^4.5.4"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
package/server.js
CHANGED
|
@@ -32,8 +32,8 @@ import { appRouter } from "./router.js";
|
|
|
32
32
|
import { registerAllPrompts } from "./prompts/index.js";
|
|
33
33
|
import { effectToZodSchema } from "./utils/effect-to-zod.js";
|
|
34
34
|
import { buildUnexpectedToolErrorEnvelope } from "./utils/tool-error-envelope.js";
|
|
35
|
-
import { ChannelEvent, DataReader } from "@vitest-agent/sdk";
|
|
36
35
|
import { Effect, Exit, Option, Schema } from "effect";
|
|
36
|
+
import { ChannelEvent, DataReader } from "@vitest-agent/sdk";
|
|
37
37
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
38
38
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
39
39
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BehaviorNotFoundError, GoalNotFoundError, IllegalStatusTransitionError, TddTaskAlreadyEndedError, TddTaskNotFoundError } from "@vitest-agent/sdk";
|
|
2
1
|
import { Effect } from "effect";
|
|
2
|
+
import { BehaviorNotFoundError, GoalNotFoundError, IllegalStatusTransitionError, TddTaskAlreadyEndedError, TddTaskNotFoundError } from "@vitest-agent/sdk";
|
|
3
3
|
|
|
4
4
|
//#region src/tools/_tdd-error-envelope.ts
|
|
5
5
|
/**
|
package/tools/cache-health.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { CacheManifest, DataReader } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { CacheManifest, DataReader } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/cache-health.ts
|
|
6
6
|
/**
|
package/tools/commit-changes.js
CHANGED
package/tools/configure.js
CHANGED
package/tools/coverage.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { CoverageReport, DataReader } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { CoverageReport, DataReader } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/coverage.ts
|
|
6
6
|
const CoverageAvailable = Schema.Struct({
|
package/tools/errors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { DataReader } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { DataReader } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/failure-signature-get.ts
|
|
6
6
|
/**
|
package/tools/file-coverage.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { CoverageTotals, DataReader, FileCoverageReport } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { CoverageTotals, DataReader, FileCoverageReport } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/file-coverage.ts
|
|
6
6
|
/**
|
package/tools/history.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { DataReader, HistoryRecord } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { DataReader, HistoryRecord } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/history.ts
|
|
6
6
|
/**
|
package/tools/hypothesis.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { idempotentProcedure } from "../middleware/idempotency.js";
|
|
2
|
-
import { DataReader, DataStore, DataStoreError } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Match, Option, Schema } from "effect";
|
|
3
|
+
import { DataReader, DataStore, DataStoreError } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/hypothesis.ts
|
|
6
6
|
/**
|
package/tools/inventory.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
2
|
import { collectProjectRows, resolveProjectTargets } from "./_project-groups.js";
|
|
3
|
-
import { DataReader } from "@vitest-agent/sdk";
|
|
4
3
|
import { Effect, Match, Option, Schema, SchemaGetter } from "effect";
|
|
4
|
+
import { DataReader } from "@vitest-agent/sdk";
|
|
5
5
|
|
|
6
6
|
//#region src/tools/inventory.ts
|
|
7
7
|
/**
|
package/tools/note.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { DataReader, DataStore } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Match, Option, Schema } from "effect";
|
|
3
|
+
import { DataReader, DataStore } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/note.ts
|
|
6
6
|
const NoteScope = Schema.Literals([
|
package/tools/overview.js
CHANGED
package/tools/register-agent.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { DataReader, DataStore, deriveIdempotencyKey } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema } from "effect";
|
|
3
|
+
import { DataReader, DataStore, deriveIdempotencyKey } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/register-agent.ts
|
|
6
6
|
/**
|
package/tools/run-tests.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
import { AgentReport, DataReader, DataStore, buildAgentReport, buildConsoleLeaks, coerceErrorField, collectConsoleLeakEntries, formatScopedCoverageNote } from "@vitest-agent/sdk";
|
|
4
3
|
import { Data, Effect, Schema, SchemaGetter, Semaphore } from "effect";
|
|
4
|
+
import { AgentReport, DataReader, DataStore, buildAgentReport, buildConsoleLeaks, coerceErrorField, collectConsoleLeakEntries, formatScopedCoverageNote } from "@vitest-agent/sdk";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
7
7
|
import { existsSync, mkdtempSync, rmSync } from "node:fs";
|
package/tools/settings-list.js
CHANGED
package/tools/status.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { CacheManifestEntry, DataReader } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { CacheManifestEntry, DataReader } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/status.ts
|
|
6
6
|
/**
|
package/tools/tdd-artifact.js
CHANGED
package/tools/tdd-behavior.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { idempotentProcedure } from "../middleware/idempotency.js";
|
|
2
2
|
import { catchTddErrorsAsEnvelope } from "./_tdd-error-envelope.js";
|
|
3
|
-
import { BehaviorDetail, BehaviorRow, DataReader, DataStore } from "@vitest-agent/sdk";
|
|
4
3
|
import { Effect, Match, Option, Schema } from "effect";
|
|
4
|
+
import { BehaviorDetail, BehaviorRow, DataReader, DataStore } from "@vitest-agent/sdk";
|
|
5
5
|
|
|
6
6
|
//#region src/tools/tdd-behavior.ts
|
|
7
7
|
/**
|
package/tools/tdd-goal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { idempotentProcedure } from "../middleware/idempotency.js";
|
|
2
2
|
import { catchTddErrorsAsEnvelope } from "./_tdd-error-envelope.js";
|
|
3
|
-
import { DataReader, DataStore, GoalDetail, GoalRow } from "@vitest-agent/sdk";
|
|
4
3
|
import { Effect, Match, Option, Schema } from "effect";
|
|
4
|
+
import { DataReader, DataStore, GoalDetail, GoalRow } from "@vitest-agent/sdk";
|
|
5
5
|
|
|
6
6
|
//#region src/tools/tdd-goal.ts
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { DataReader, DataStore, requiredArtifactForTransition, transitionEnforcesBehaviorMatch, validatePhaseTransition } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema } from "effect";
|
|
3
|
+
import { DataReader, DataStore, requiredArtifactForTransition, transitionEnforcesBehaviorMatch, validatePhaseTransition } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/tdd-phase-transition-request.ts
|
|
6
6
|
/**
|
package/tools/tdd-task.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { idempotentProcedure } from "../middleware/idempotency.js";
|
|
2
|
-
import { DataReader, DataStore, GoalDetail } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Match, Option, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { DataReader, DataStore, GoalDetail } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/tdd-task.ts
|
|
6
6
|
/**
|
package/tools/test.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
2
|
import { collectProjectRows, resolveProjectTargets } from "./_project-groups.js";
|
|
3
|
-
import { DataReader } from "@vitest-agent/sdk";
|
|
4
3
|
import { Effect, Match, Option, Schema, SchemaGetter } from "effect";
|
|
4
|
+
import { DataReader } from "@vitest-agent/sdk";
|
|
5
5
|
|
|
6
6
|
//#region src/tools/test.ts
|
|
7
7
|
/**
|
package/tools/trends.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { publicProcedure } from "../context.js";
|
|
2
|
-
import { DataReader, TrendRecord } from "@vitest-agent/sdk";
|
|
3
2
|
import { Effect, Option, Schema, SchemaGetter } from "effect";
|
|
3
|
+
import { DataReader, TrendRecord } from "@vitest-agent/sdk";
|
|
4
4
|
|
|
5
5
|
//#region src/tools/trends.ts
|
|
6
6
|
/**
|
package/tools/triage-brief.js
CHANGED
package/tools/turn-search.js
CHANGED
package/tools/wrapup-prompt.js
CHANGED