@wix/evalforge-evaluator 0.15.0 → 0.16.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 +393 -210
- package/build/index.js.map +3 -3
- package/build/index.mjs +393 -210
- package/build/index.mjs.map +3 -3
- package/build/types/diagnostics.d.ts +6 -10
- package/package.json +2 -2
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
* Runs comprehensive environment diagnostics before executing evaluations.
|
|
5
5
|
* All results are reported via trace events for visibility in the UI.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Each test produces REAL output that can be inspected in the logs.
|
|
8
|
+
* Test failures don't throw - they just return a failed status and continue.
|
|
9
|
+
*
|
|
10
|
+
* IMPORTANT: All diagnostic output is sent to the backend via trace events
|
|
11
|
+
* so you can see them without accessing the dev machine logs.
|
|
9
12
|
*/
|
|
10
13
|
import type { EvaluatorConfig } from './config.js';
|
|
11
14
|
/**
|
|
@@ -16,7 +19,7 @@ export interface DiagnosticResult {
|
|
|
16
19
|
name: string;
|
|
17
20
|
/** Whether the test passed */
|
|
18
21
|
passed: boolean;
|
|
19
|
-
/** Detailed result information */
|
|
22
|
+
/** Detailed result information - contains REAL command outputs */
|
|
20
23
|
details: Record<string, unknown>;
|
|
21
24
|
/** Error message if the test failed */
|
|
22
25
|
error?: string;
|
|
@@ -42,11 +45,4 @@ export interface DiagnosticReport {
|
|
|
42
45
|
failed: number;
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Run all diagnostics and return a comprehensive report.
|
|
47
|
-
*
|
|
48
|
-
* @param config - Evaluator configuration
|
|
49
|
-
* @param evalRunId - The eval run ID for trace events
|
|
50
|
-
* @returns Diagnostic report with all test results
|
|
51
|
-
*/
|
|
52
48
|
export declare function runDiagnostics(config: EvaluatorConfig, evalRunId: string): Promise<DiagnosticReport>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-evaluator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "EvalForge Evaluator",
|
|
5
5
|
"bin": "./build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"artifactId": "evalforge-evaluator"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
"falconPackageHash": "
|
|
59
|
+
"falconPackageHash": "bb3e47f8ebe607d070c4ed78ba7009040bf74231e10965f48ac67830"
|
|
60
60
|
}
|