@wix/evalforge-evaluator 0.71.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +9 -250
- package/build/index.js.map +4 -4
- package/build/index.mjs +6 -247
- package/build/index.mjs.map +4 -4
- package/package.json +2 -2
- package/build/types/run-scenario/agents/claude-code/mcp-setup.d.ts +0 -36
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-evaluator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"description": "EvalForge Evaluator",
|
|
5
5
|
"bin": "./build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"artifactId": "evalforge-evaluator"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
"falconPackageHash": "
|
|
63
|
+
"falconPackageHash": "c3d27d66c66eef66d864dfdecec9a8c7ad7f35cb66054ac00f9b7708"
|
|
64
64
|
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { MCPEntity } from '@wix/evalforge-types';
|
|
2
|
-
interface McpProbeResult {
|
|
3
|
-
name: string;
|
|
4
|
-
command: string;
|
|
5
|
-
args: string[];
|
|
6
|
-
exitCode: number | null;
|
|
7
|
-
signal: string | null;
|
|
8
|
-
stdout: string;
|
|
9
|
-
stderr: string;
|
|
10
|
-
durationMs: number;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Probe each stdio-based MCP server by spawning it briefly to capture startup
|
|
14
|
-
* errors. The process is killed after `probeMs` — we only care about early
|
|
15
|
-
* crashes / missing binaries / auth failures that happen in the first seconds.
|
|
16
|
-
*
|
|
17
|
-
* Results are returned so the caller can emit them as trace events.
|
|
18
|
-
*/
|
|
19
|
-
export declare function probeMcpServers(mcps: MCPEntity[], probeMs?: number): Promise<McpProbeResult[]>;
|
|
20
|
-
interface NpmConfigDiagnostic {
|
|
21
|
-
cwd: string;
|
|
22
|
-
processCwd: string;
|
|
23
|
-
wixAuthFile: string;
|
|
24
|
-
wixAuthFileExists: boolean;
|
|
25
|
-
npmInstallDryRun: string;
|
|
26
|
-
mcpPackageInstalled: string;
|
|
27
|
-
npmEnvVars: Record<string, string | undefined>;
|
|
28
|
-
homedir: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Capture MCP server auth state for debugging startup failures.
|
|
32
|
-
* Checks whether the Wix auth file exists, whether npm can download
|
|
33
|
-
* the MCP package, and what environment is available.
|
|
34
|
-
*/
|
|
35
|
-
export declare function probeNpmConfig(cwd: string): Promise<NpmConfigDiagnostic>;
|
|
36
|
-
export {};
|