veryfront 0.1.209 → 0.1.211
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/esm/cli/mcp/advanced-tools.d.ts.map +1 -1
- package/esm/cli/mcp/advanced-tools.js +6 -0
- package/esm/cli/mcp/standalone.d.ts.map +1 -1
- package/esm/cli/mcp/standalone.js +53 -0
- package/esm/cli/mcp/tools/build-tool.d.ts +28 -0
- package/esm/cli/mcp/tools/build-tool.d.ts.map +1 -0
- package/esm/cli/mcp/tools/build-tool.js +88 -0
- package/esm/cli/mcp/tools/run-lint-tool.d.ts +14 -0
- package/esm/cli/mcp/tools/run-lint-tool.d.ts.map +1 -0
- package/esm/cli/mcp/tools/run-lint-tool.js +55 -0
- package/esm/cli/mcp/tools/run-tests-tool.d.ts +25 -0
- package/esm/cli/mcp/tools/run-tests-tool.d.ts.map +1 -0
- package/esm/cli/mcp/tools/run-tests-tool.js +80 -0
- package/esm/deno.js +1 -1
- package/esm/src/agent/data-stream.d.ts.map +1 -1
- package/esm/src/agent/data-stream.js +27 -5
- package/esm/src/agent/runtime/index.d.ts +52 -1
- package/esm/src/agent/runtime/index.d.ts.map +1 -1
- package/esm/src/agent/runtime/index.js +95 -10
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +1 -1
- package/src/cli/mcp/advanced-tools.ts +6 -0
- package/src/cli/mcp/standalone.ts +56 -0
- package/src/cli/mcp/tools/build-tool.ts +115 -0
- package/src/cli/mcp/tools/run-lint-tool.ts +69 -0
- package/src/cli/mcp/tools/run-tests-tool.ts +101 -0
- package/src/deno.js +1 -1
- package/src/src/agent/data-stream.ts +32 -5
- package/src/src/agent/runtime/index.ts +140 -10
- package/src/src/utils/version-constant.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-tools.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/advanced-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"advanced-tools.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/advanced-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AA+B1C,eAAO,MAAM,aAAa,EAAE,OAAO,EAyBlC,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { vfCreateProject, vfListExamples, vfListIntegrations, vfListTemplates, vfListUsecases, } from "./tools/catalog-tools.js";
|
|
2
2
|
import { vfGetDebugContext, vfGetFlywheelStatus, vfHotReload, vfPreviewRoute, vfTriggerHmr, vfWaitForReady, } from "./tools/dev-tools.js";
|
|
3
3
|
import { vfGetComponentTree, vfGetProjectContext, vfListLocalProjects, vfListRoutes, } from "./tools/project-tools.js";
|
|
4
|
+
import { vfBuild } from "./tools/build-tool.js";
|
|
5
|
+
import { vfRunLint } from "./tools/run-lint-tool.js";
|
|
6
|
+
import { vfRunTests } from "./tools/run-tests-tool.js";
|
|
4
7
|
import { vfGetConventions, vfScaffold } from "./tools/scaffold-tools.js";
|
|
5
8
|
import { vfGetSkillReference, vfGetSkills } from "./tools/skill-tools.js";
|
|
6
9
|
import { cicdTools } from "./tools/cicd-tools.js";
|
|
@@ -23,8 +26,11 @@ export const advancedTools = [
|
|
|
23
26
|
vfPreviewRoute,
|
|
24
27
|
vfGetDebugContext,
|
|
25
28
|
vfGetComponentTree,
|
|
29
|
+
vfBuild,
|
|
26
30
|
vfHotReload,
|
|
27
31
|
vfTriggerHmr,
|
|
28
32
|
vfWaitForReady,
|
|
33
|
+
vfRunLint,
|
|
29
34
|
vfGetFlywheelStatus,
|
|
35
|
+
vfRunTests,
|
|
30
36
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standalone.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/standalone.ts"],"names":[],"mappings":"AAsCA,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,WAAW,CAA4B;gBAEnC,MAAM,GAAE,mBAAwB;IAM5C,KAAK,IAAI,IAAI;IAWb,IAAI,IAAI,IAAI;YAME,aAAa;IAW3B,OAAO,CAAC,cAAc;YAgCR,eAAe;IAqB7B,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,mBAAmB;YAyBb,mBAAmB;IA6CjC,OAAO,CAAC,iBAAiB;YAkBX,gBAAgB;IAwB9B,OAAO,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"standalone.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/standalone.ts"],"names":[],"mappings":"AAsCA,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,WAAW,CAA4B;gBAEnC,MAAM,GAAE,mBAAwB;IAM5C,KAAK,IAAI,IAAI;IAWb,IAAI,IAAI,IAAI;YAME,aAAa;IAW3B,OAAO,CAAC,cAAc;YAgCR,eAAe;IAqB7B,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,mBAAmB;YAyBb,mBAAmB;IA6CjC,OAAO,CAAC,iBAAiB;YAkBX,gBAAgB;IAwB9B,OAAO,CAAC,WAAW;IAwNnB,OAAO,CAAC,mBAAmB;CA0F5B;AAED,wBAAgB,yBAAyB,CAAC,MAAM,GAAE,mBAAwB,GAAG,mBAAmB,CAI/F"}
|
|
@@ -350,6 +350,59 @@ export class StandaloneMCPServer {
|
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
},
|
|
353
|
+
{
|
|
354
|
+
name: "vf_run_tests",
|
|
355
|
+
description: "Run the project's test suite and get structured pass/fail results. " +
|
|
356
|
+
"Returns a summary with total, passed, failed, skipped counts and failure details " +
|
|
357
|
+
"including file path, test name, error message, and line number. " +
|
|
358
|
+
"Do not use for lint checks — use vf_run_lint instead.",
|
|
359
|
+
inputSchema: {
|
|
360
|
+
type: "object",
|
|
361
|
+
properties: {
|
|
362
|
+
filter: {
|
|
363
|
+
type: "string",
|
|
364
|
+
description: "Filter tests by name pattern",
|
|
365
|
+
},
|
|
366
|
+
parallel: {
|
|
367
|
+
type: "boolean",
|
|
368
|
+
description: "Run tests in parallel",
|
|
369
|
+
},
|
|
370
|
+
timeout: {
|
|
371
|
+
type: "number",
|
|
372
|
+
description: "Maximum time to wait for test completion in milliseconds (default: 300000)",
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
async execute(args) {
|
|
377
|
+
const { executeTests } = await import("./tools/run-tests-tool.js");
|
|
378
|
+
return executeTests({
|
|
379
|
+
filter: args.filter,
|
|
380
|
+
parallel: args.parallel,
|
|
381
|
+
timeout: args.timeout,
|
|
382
|
+
});
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: "vf_run_lint",
|
|
387
|
+
description: "Run the linter. Returns structured diagnostics with file, line, column, rule code, and message. " +
|
|
388
|
+
"Do not use for test results — use vf_run_tests instead. " +
|
|
389
|
+
"Do not use for compile/runtime errors — use vf_get_errors instead.",
|
|
390
|
+
inputSchema: {
|
|
391
|
+
type: "object",
|
|
392
|
+
properties: {
|
|
393
|
+
timeout: {
|
|
394
|
+
type: "number",
|
|
395
|
+
description: "Maximum time to wait for lint completion in milliseconds (default: 120000)",
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
async execute(args) {
|
|
400
|
+
const { executeLint } = await import("./tools/run-lint-tool.js");
|
|
401
|
+
return executeLint({
|
|
402
|
+
timeout: args.timeout,
|
|
403
|
+
});
|
|
404
|
+
},
|
|
405
|
+
},
|
|
353
406
|
...this.createContext7Tools(),
|
|
354
407
|
];
|
|
355
408
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP tool for production builds.
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import type { MCPTool } from "../tools.js";
|
|
6
|
+
declare const buildInput: z.ZodObject<{
|
|
7
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
8
|
+
splitting: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
|
+
compress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10
|
+
ssg: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
11
|
+
dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type BuildInput = z.infer<typeof buildInput>;
|
|
14
|
+
interface BuildResult {
|
|
15
|
+
success: boolean;
|
|
16
|
+
pages?: number;
|
|
17
|
+
chunks?: number;
|
|
18
|
+
assets?: number;
|
|
19
|
+
totalSize?: number;
|
|
20
|
+
duration_ms?: number;
|
|
21
|
+
outputDir?: string;
|
|
22
|
+
dryRun?: boolean;
|
|
23
|
+
ssgPaths?: string[];
|
|
24
|
+
error?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const vfBuild: MCPTool<BuildInput, BuildResult>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=build-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-tool.d.ts","sourceRoot":"","sources":["../../../../src/cli/mcp/tools/build-tool.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAM3C,QAAA,MAAM,UAAU;;;;;;iBAyBd,CAAC;AAEH,KAAK,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAE7C,UAAU,WAAW;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,UAAU,EAAE,WAAW,CAyDpD,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP tool for production builds.
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { cwd } from "../../../src/platform/index.js";
|
|
6
|
+
import { join } from "../../../src/platform/compat/path/index.js";
|
|
7
|
+
import { buildProduction } from "../../../src/build/index.js";
|
|
8
|
+
import { withSpan } from "../../../src/observability/tracing/otlp-setup.js";
|
|
9
|
+
// ============================================================================
|
|
10
|
+
// Tool: vf_build
|
|
11
|
+
// ============================================================================
|
|
12
|
+
const buildInput = z.object({
|
|
13
|
+
outputDir: z
|
|
14
|
+
.string()
|
|
15
|
+
.optional()
|
|
16
|
+
.describe("Output directory for the build. Defaults to '<projectDir>/dist'."),
|
|
17
|
+
splitting: z
|
|
18
|
+
.boolean()
|
|
19
|
+
.optional()
|
|
20
|
+
.default(true)
|
|
21
|
+
.describe("Enable code splitting. Defaults to true."),
|
|
22
|
+
compress: z
|
|
23
|
+
.boolean()
|
|
24
|
+
.optional()
|
|
25
|
+
.default(true)
|
|
26
|
+
.describe("Enable compression (gzip/brotli). Defaults to true."),
|
|
27
|
+
ssg: z
|
|
28
|
+
.boolean()
|
|
29
|
+
.optional()
|
|
30
|
+
.default(true)
|
|
31
|
+
.describe("Enable static site generation. Defaults to true."),
|
|
32
|
+
dryRun: z
|
|
33
|
+
.boolean()
|
|
34
|
+
.optional()
|
|
35
|
+
.default(false)
|
|
36
|
+
.describe("Preview the build without writing files to disk. Defaults to false."),
|
|
37
|
+
});
|
|
38
|
+
export const vfBuild = {
|
|
39
|
+
name: "vf_build",
|
|
40
|
+
title: "Production Build",
|
|
41
|
+
annotations: {
|
|
42
|
+
readOnlyHint: false,
|
|
43
|
+
destructiveHint: false,
|
|
44
|
+
idempotentHint: true,
|
|
45
|
+
openWorldHint: false,
|
|
46
|
+
},
|
|
47
|
+
description: "Use this when you need to run a production build for the current project. " +
|
|
48
|
+
"Bundles, optimises, and writes output to the dist directory. " +
|
|
49
|
+
"Use dryRun=true to preview the build without writing files. " +
|
|
50
|
+
"Do not use for development — use the dev server tools instead. " +
|
|
51
|
+
"Do not use for lint checks — use vf_run_lint instead.",
|
|
52
|
+
inputSchema: buildInput,
|
|
53
|
+
execute: (input) => withSpan("cli.mcp.tool.vf_build", async () => {
|
|
54
|
+
const projectDir = cwd();
|
|
55
|
+
const outputDir = input.outputDir ?? join(projectDir, "dist");
|
|
56
|
+
const startTime = Date.now();
|
|
57
|
+
try {
|
|
58
|
+
const stats = await buildProduction({
|
|
59
|
+
projectDir,
|
|
60
|
+
outputDir,
|
|
61
|
+
enableSplitting: input.splitting,
|
|
62
|
+
enableCompression: input.compress,
|
|
63
|
+
ssg: input.ssg,
|
|
64
|
+
dryRun: input.dryRun,
|
|
65
|
+
});
|
|
66
|
+
const duration_ms = Date.now() - startTime;
|
|
67
|
+
return {
|
|
68
|
+
success: true,
|
|
69
|
+
pages: stats.pages,
|
|
70
|
+
chunks: stats.chunks,
|
|
71
|
+
assets: stats.assets,
|
|
72
|
+
totalSize: stats.totalSize,
|
|
73
|
+
duration_ms,
|
|
74
|
+
outputDir,
|
|
75
|
+
dryRun: input.dryRun,
|
|
76
|
+
ssgPaths: stats.ssgPaths,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
const duration_ms = Date.now() - startTime;
|
|
81
|
+
return {
|
|
82
|
+
success: false,
|
|
83
|
+
error: error instanceof Error ? error.message : String(error),
|
|
84
|
+
duration_ms,
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
}, { "tool.dryRun": input.dryRun }),
|
|
88
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { MCPTool } from "../tools.js";
|
|
3
|
+
import { type LintResult } from "../../commands/lint/command.js";
|
|
4
|
+
declare const runLintInput: z.ZodObject<{
|
|
5
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
type RunLintInput = z.infer<typeof runLintInput>;
|
|
8
|
+
/** Spawn deno lint and return structured results. Exported for standalone reuse. */
|
|
9
|
+
export declare function executeLint(input?: {
|
|
10
|
+
timeout?: number;
|
|
11
|
+
}): Promise<LintResult>;
|
|
12
|
+
export declare const vfRunLint: MCPTool<RunLintInput, LintResult>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=run-lint-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-lint-tool.d.ts","sourceRoot":"","sources":["../../../../src/cli/mcp/tools/run-lint-tool.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,KAAK,UAAU,EAAuB,MAAM,gCAAgC,CAAC;AAEtF,QAAA,MAAM,YAAY;;iBAIhB,CAAC;AAEH,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAEjD,oFAAoF;AACpF,wBAAsB,WAAW,CAC/B,KAAK,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAO,GAC/B,OAAO,CAAC,UAAU,CAAC,CA2BrB;AAED,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC,YAAY,EAAE,UAAU,CAevD,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP tool: vf_run_lint
|
|
3
|
+
*
|
|
4
|
+
* Runs the linter via subprocess and returns structured diagnostics.
|
|
5
|
+
* Reuses parseLintJsonOutput from the CLI lint command.
|
|
6
|
+
*/
|
|
7
|
+
import * as dntShim from "../../../_dnt.shims.js";
|
|
8
|
+
import { z } from "zod";
|
|
9
|
+
import { parseLintJsonOutput } from "../../commands/lint/command.js";
|
|
10
|
+
const runLintInput = z.object({
|
|
11
|
+
timeout: z.number().optional().default(120000).describe("Maximum time to wait for lint completion in milliseconds. Defaults to 120000 (2 minutes)."),
|
|
12
|
+
});
|
|
13
|
+
/** Spawn deno lint and return structured results. Exported for standalone reuse. */
|
|
14
|
+
export async function executeLint(input = {}) {
|
|
15
|
+
const cmd = new dntShim.Deno.Command("deno", {
|
|
16
|
+
args: ["lint", "--json"],
|
|
17
|
+
stdout: "piped",
|
|
18
|
+
stderr: "piped",
|
|
19
|
+
});
|
|
20
|
+
const child = cmd.spawn();
|
|
21
|
+
const timeoutMs = input.timeout ?? 120000;
|
|
22
|
+
const result = await Promise.race([
|
|
23
|
+
child.output(),
|
|
24
|
+
new Promise((_, reject) => {
|
|
25
|
+
const timer = dntShim.setTimeout(() => {
|
|
26
|
+
try {
|
|
27
|
+
child.kill();
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
// Process may have already exited
|
|
31
|
+
}
|
|
32
|
+
reject(new Error(`Lint execution timed out after ${timeoutMs}ms`));
|
|
33
|
+
}, timeoutMs);
|
|
34
|
+
dntShim.Deno.unrefTimer(timer);
|
|
35
|
+
}),
|
|
36
|
+
]);
|
|
37
|
+
const stdout = new TextDecoder().decode(result.stdout);
|
|
38
|
+
return parseLintJsonOutput(stdout, result.code);
|
|
39
|
+
}
|
|
40
|
+
export const vfRunLint = {
|
|
41
|
+
name: "vf_run_lint",
|
|
42
|
+
title: "Run Lint",
|
|
43
|
+
annotations: {
|
|
44
|
+
readOnlyHint: true,
|
|
45
|
+
destructiveHint: false,
|
|
46
|
+
idempotentHint: true,
|
|
47
|
+
openWorldHint: false,
|
|
48
|
+
},
|
|
49
|
+
description: "Use this when you need to check for lint issues in the project. " +
|
|
50
|
+
"Returns structured diagnostics with file path, line, column, rule code, and message for each issue. " +
|
|
51
|
+
"Do not use for test results — use vf_run_tests instead. " +
|
|
52
|
+
"Do not use for compile/runtime errors — use vf_get_errors instead.",
|
|
53
|
+
inputSchema: runLintInput,
|
|
54
|
+
execute: (input) => executeLint(input),
|
|
55
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { MCPTool } from "../../../src/mcp/index.js";
|
|
3
|
+
import { type TestResult } from "../../commands/test/command.js";
|
|
4
|
+
declare const runTestsInput: z.ZodObject<{
|
|
5
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
6
|
+
parallel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7
|
+
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
type RunTestsInput = z.infer<typeof runTestsInput>;
|
|
10
|
+
/** Build the deno test command args from input options. */
|
|
11
|
+
export declare function buildTestArgs(input: {
|
|
12
|
+
filter?: string;
|
|
13
|
+
parallel?: boolean;
|
|
14
|
+
}): string[];
|
|
15
|
+
/** Env vars required for deterministic test runs. */
|
|
16
|
+
export declare const TEST_ENV: Record<string, string>;
|
|
17
|
+
/** Spawn deno test and return structured results. Exported for standalone reuse. */
|
|
18
|
+
export declare function executeTests(input: {
|
|
19
|
+
filter?: string;
|
|
20
|
+
parallel?: boolean;
|
|
21
|
+
timeout?: number;
|
|
22
|
+
}): Promise<TestResult>;
|
|
23
|
+
export declare const vfRunTests: MCPTool<RunTestsInput, TestResult>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=run-tests-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-tests-tool.d.ts","sourceRoot":"","sources":["../../../../src/cli/mcp/tools/run-tests-tool.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAElF,QAAA,MAAM,aAAa;;;;iBAUjB,CAAC;AAEH,KAAK,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEnD,2DAA2D;AAC3D,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,EAAE,CAUtF;AAED,qDAAqD;AACrD,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM3C,CAAC;AAEF,oFAAoF;AACpF,wBAAsB,YAAY,CAChC,KAAK,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/D,OAAO,CAAC,UAAU,CAAC,CA8BrB;AAED,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,aAAa,EAAE,UAAU,CAgBzD,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP tool: vf_run_tests
|
|
3
|
+
*
|
|
4
|
+
* Runs the project test suite via subprocess and returns structured results.
|
|
5
|
+
* Reuses parseTestOutput from the CLI test command.
|
|
6
|
+
*/
|
|
7
|
+
import * as dntShim from "../../../_dnt.shims.js";
|
|
8
|
+
import { z } from "zod";
|
|
9
|
+
import { parseTestOutput } from "../../commands/test/command.js";
|
|
10
|
+
const runTestsInput = z.object({
|
|
11
|
+
filter: z.string().optional().describe("Filter tests by name pattern. Example: 'router' to run only tests matching 'router'."),
|
|
12
|
+
parallel: z.boolean().optional().default(false).describe("Run tests in parallel. Defaults to false."),
|
|
13
|
+
timeout: z.number().optional().default(300000).describe("Maximum time to wait for test completion in milliseconds. Defaults to 300000 (5 minutes)."),
|
|
14
|
+
});
|
|
15
|
+
/** Build the deno test command args from input options. */
|
|
16
|
+
export function buildTestArgs(input) {
|
|
17
|
+
return [
|
|
18
|
+
"test",
|
|
19
|
+
"--no-check",
|
|
20
|
+
"--allow-all",
|
|
21
|
+
"--unstable-worker-options",
|
|
22
|
+
"--unstable-net",
|
|
23
|
+
...(input.parallel ? ["--parallel"] : []),
|
|
24
|
+
...(input.filter ? [`--filter=${input.filter}`] : []),
|
|
25
|
+
];
|
|
26
|
+
}
|
|
27
|
+
/** Env vars required for deterministic test runs. */
|
|
28
|
+
export const TEST_ENV = {
|
|
29
|
+
VF_DISABLE_LRU_INTERVAL: "1",
|
|
30
|
+
SSR_TRANSFORM_PER_PROJECT_LIMIT: "0",
|
|
31
|
+
REVALIDATION_PER_PROJECT_LIMIT: "0",
|
|
32
|
+
NODE_ENV: "production",
|
|
33
|
+
LOG_FORMAT: "text",
|
|
34
|
+
};
|
|
35
|
+
/** Spawn deno test and return structured results. Exported for standalone reuse. */
|
|
36
|
+
export async function executeTests(input) {
|
|
37
|
+
const cmd = new dntShim.Deno.Command("deno", {
|
|
38
|
+
args: buildTestArgs(input),
|
|
39
|
+
stdout: "piped",
|
|
40
|
+
stderr: "piped",
|
|
41
|
+
env: TEST_ENV,
|
|
42
|
+
});
|
|
43
|
+
const child = cmd.spawn();
|
|
44
|
+
const timeoutMs = input.timeout ?? 300000;
|
|
45
|
+
const result = await Promise.race([
|
|
46
|
+
child.output(),
|
|
47
|
+
new Promise((_, reject) => {
|
|
48
|
+
const timer = dntShim.setTimeout(() => {
|
|
49
|
+
try {
|
|
50
|
+
child.kill();
|
|
51
|
+
}
|
|
52
|
+
catch {
|
|
53
|
+
// Process may have already exited
|
|
54
|
+
}
|
|
55
|
+
reject(new Error(`Test execution timed out after ${timeoutMs}ms`));
|
|
56
|
+
}, timeoutMs);
|
|
57
|
+
// Don't prevent process exit while waiting
|
|
58
|
+
dntShim.Deno.unrefTimer(timer);
|
|
59
|
+
}),
|
|
60
|
+
]);
|
|
61
|
+
const stdout = new TextDecoder().decode(result.stdout);
|
|
62
|
+
const stderr = new TextDecoder().decode(result.stderr);
|
|
63
|
+
return parseTestOutput(stdout + "\n" + stderr, result.code);
|
|
64
|
+
}
|
|
65
|
+
export const vfRunTests = {
|
|
66
|
+
name: "vf_run_tests",
|
|
67
|
+
title: "Run Tests",
|
|
68
|
+
annotations: {
|
|
69
|
+
readOnlyHint: false,
|
|
70
|
+
destructiveHint: false,
|
|
71
|
+
idempotentHint: true,
|
|
72
|
+
openWorldHint: false,
|
|
73
|
+
},
|
|
74
|
+
description: "Use this when you need to run the project's test suite and get structured pass/fail results. " +
|
|
75
|
+
"Returns a summary with total, passed, failed, skipped counts and failure details including " +
|
|
76
|
+
"file path, test name, error message, and line number. " +
|
|
77
|
+
"Do not use for lint checks — use vf_run_lint instead.",
|
|
78
|
+
inputSchema: runTestsInput,
|
|
79
|
+
execute: (input) => executeTests(input),
|
|
80
|
+
};
|
package/esm/deno.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-stream.d.ts","sourceRoot":"","sources":["../../../src/src/agent/data-stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAMzE,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAmB1E;AAED,wBAAgB,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"data-stream.d.ts","sourceRoot":"","sources":["../../../src/src/agent/data-stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAMzE,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAmB1E;AAED,wBAAgB,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAwCvF;AAED,wBAAgB,kBAAkB,CAAC,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CActF;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAiB5E;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG;IACvD,MAAM,EAAE,sBAAsB,EAAE,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,CAoBA;AAED,wBAAuB,sBAAsB,CAC3C,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,GACjC,cAAc,CAAC,sBAAsB,CAAC,CAkCxC"}
|
|
@@ -18,13 +18,35 @@ export function stripLeadingEmptyObjectPlaceholder(rawArgs) {
|
|
|
18
18
|
return normalized;
|
|
19
19
|
}
|
|
20
20
|
export function mergeToolInputDelta(currentArguments, nextDelta) {
|
|
21
|
+
const normalizedDelta = nextDelta.trimStart();
|
|
22
|
+
const candidateDeltas = normalizedDelta.startsWith('"')
|
|
23
|
+
? [normalizedDelta, `{${normalizedDelta}`]
|
|
24
|
+
: [normalizedDelta];
|
|
21
25
|
if (currentArguments === "{}") {
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
for (const candidate of candidateDeltas) {
|
|
27
|
+
if (candidate.startsWith("{")) {
|
|
28
|
+
return candidate;
|
|
29
|
+
}
|
|
25
30
|
}
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
}
|
|
32
|
+
if (nextDelta.length === 0) {
|
|
33
|
+
return currentArguments;
|
|
34
|
+
}
|
|
35
|
+
if (currentArguments.length === 0) {
|
|
36
|
+
return nextDelta;
|
|
37
|
+
}
|
|
38
|
+
for (const candidate of candidateDeltas) {
|
|
39
|
+
if (candidate === currentArguments || currentArguments.includes(candidate)) {
|
|
40
|
+
return currentArguments;
|
|
41
|
+
}
|
|
42
|
+
if (candidate.startsWith(currentArguments)) {
|
|
43
|
+
return candidate;
|
|
44
|
+
}
|
|
45
|
+
const maxOverlap = Math.min(currentArguments.length, candidate.length);
|
|
46
|
+
for (let overlap = maxOverlap; overlap > 0; overlap--) {
|
|
47
|
+
if (currentArguments.endsWith(candidate.slice(0, overlap))) {
|
|
48
|
+
return currentArguments + candidate.slice(overlap);
|
|
49
|
+
}
|
|
28
50
|
}
|
|
29
51
|
}
|
|
30
52
|
return currentArguments + nextDelta;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @module ai/agent/runtime
|
|
12
12
|
*/
|
|
13
|
-
import { type AgentConfig, type AgentResponse, type Message, type ToolCall, type ToolResultPart } from "../types.js";
|
|
13
|
+
import { type AgentConfig, type AgentResponse, type Message, type MessagePart, type ToolCall, type ToolResultPart } from "../types.js";
|
|
14
14
|
import { type Memory } from "../memory/index.js";
|
|
15
15
|
import { type ChatStreamState, type StreamingToolCall, type StreamingToolResult } from "./chat-stream-handler.js";
|
|
16
16
|
export { closeSSEStream, generateMessageId, sendSSE } from "./sse-utils.js";
|
|
@@ -31,6 +31,57 @@ export declare function captureStreamedToolCallInput(toolCall: Pick<StreamingToo
|
|
|
31
31
|
inputText?: string;
|
|
32
32
|
parseError?: string;
|
|
33
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* A streamed tool call is "incomplete" when the provider stream terminated
|
|
36
|
+
* (abort, stall, timeout, transport error) before the SDK emitted the
|
|
37
|
+
* finalizing `tool-call` event that sets `inputAvailable: true`. In that state
|
|
38
|
+
* `arguments` only holds partial JSON fragments from `tool-input-delta` events,
|
|
39
|
+
* so the tool call is NOT a committed model choice and must not be parsed or
|
|
40
|
+
* executed. This is semantically distinct from a parse failure on a finalized
|
|
41
|
+
* tool call (`inputAvailable: true` but malformed JSON — which only happens on
|
|
42
|
+
* genuine provider bugs) and needs to be reported as a stream-termination
|
|
43
|
+
* error rather than a tool-argument error.
|
|
44
|
+
*/
|
|
45
|
+
export declare function isStreamedToolCallIncomplete(toolCall: Pick<StreamingToolCall, "inputAvailable">): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Classification of a streamed tool call when we reach end-of-stream and need
|
|
48
|
+
* to persist it into the assistant message. Three distinct cases, each with
|
|
49
|
+
* different semantics downstream:
|
|
50
|
+
*
|
|
51
|
+
* - `complete`: provider emitted the finalizing `tool-call` event and the
|
|
52
|
+
* arguments parsed cleanly. Execute the tool normally.
|
|
53
|
+
* - `parse-error`: provider emitted the finalizing `tool-call` event but the
|
|
54
|
+
* arguments are not valid JSON. This is a provider/SDK bug; record it as a
|
|
55
|
+
* tool-argument error so the step can recover.
|
|
56
|
+
* - `incomplete`: stream terminated before the finalizing event fired. The
|
|
57
|
+
* model never committed this tool use; record it as a stream-termination
|
|
58
|
+
* error so the parent (e.g. child-fork watchdog) can decide whether to
|
|
59
|
+
* retry the step cleanly instead of seeing a malformed tool call.
|
|
60
|
+
*/
|
|
61
|
+
export type StreamedToolCallMaterialization = {
|
|
62
|
+
readonly kind: "complete";
|
|
63
|
+
readonly part: MessagePart;
|
|
64
|
+
} | {
|
|
65
|
+
readonly kind: "parse-error";
|
|
66
|
+
readonly part: MessagePart;
|
|
67
|
+
readonly parseError: string;
|
|
68
|
+
} | {
|
|
69
|
+
readonly kind: "incomplete";
|
|
70
|
+
readonly part: MessagePart;
|
|
71
|
+
readonly partialArgumentsLength: number;
|
|
72
|
+
readonly partialArgumentsPreview: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Classify and build the persisted `MessagePart` for a single streamed tool
|
|
76
|
+
* call. Pure function — no logging, no SSE, no memory. Callers decide what to
|
|
77
|
+
* do with the result so this stays unit-testable.
|
|
78
|
+
*
|
|
79
|
+
* The resulting `part` is always pushed into the assistant message so the
|
|
80
|
+
* conversation history is transparent: even incomplete tool calls leave a
|
|
81
|
+
* visible trace with their partial `inputText`. What differs is the caller's
|
|
82
|
+
* error-surfacing behavior (log warning, SSE event, tool-result error).
|
|
83
|
+
*/
|
|
84
|
+
export declare function materializeStreamedToolCall(tc: StreamingToolCall): StreamedToolCallMaterialization;
|
|
34
85
|
/**
|
|
35
86
|
* Extract and validate the skill policy from a load-skill tool result.
|
|
36
87
|
* Returns `[]` (no tools allowed) for invalid/missing policies instead of
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,aAAa,EAGlB,KAAK,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/runtime/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,aAAa,EAGlB,KAAK,OAAO,EACZ,KAAK,WAAW,EAEhB,KAAK,QAAQ,EACb,KAAK,cAAc,EACpB,MAAM,aAAa,CAAC;AAIrB,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAU/D,OAAO,EACL,KAAK,eAAe,EAGpB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAUlC,OAAO,EAAE,c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