@wix/evalforge-evaluator 0.28.0 → 0.29.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 +137 -10
- package/build/index.js.map +2 -2
- package/build/index.mjs +137 -10
- package/build/index.mjs.map +2 -2
- package/build/types/run-scenario/file-diff.d.ts +9 -1
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Used to track changes made by Claude during scenario execution
|
|
5
5
|
* when running against a template.
|
|
6
6
|
*/
|
|
7
|
-
import type { DiffContent } from '@wix/evalforge-types';
|
|
7
|
+
import type { DiffContent, TemplateFile } from '@wix/evalforge-types';
|
|
8
8
|
/**
|
|
9
9
|
* A snapshot of file contents in a directory.
|
|
10
10
|
* Maps relative file paths to their contents.
|
|
@@ -28,3 +28,11 @@ export declare function snapshotDirectory(dir: string, baseDir?: string): FileSn
|
|
|
28
28
|
* @returns Array of DiffContent for files that were created or modified
|
|
29
29
|
*/
|
|
30
30
|
export declare function diffSnapshots(before: FileSnapshot, after: FileSnapshot): DiffContent[];
|
|
31
|
+
/**
|
|
32
|
+
* Extract template files with their status from before/after snapshots.
|
|
33
|
+
*
|
|
34
|
+
* @param before - Snapshot before execution
|
|
35
|
+
* @param after - Snapshot after execution
|
|
36
|
+
* @returns Array of TemplateFile with status indicators
|
|
37
|
+
*/
|
|
38
|
+
export declare function extractTemplateFiles(before: FileSnapshot, after: FileSnapshot): TemplateFile[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-evaluator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "EvalForge Evaluator",
|
|
5
5
|
"bin": "./build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@ai-sdk/anthropic": "^3.0.2",
|
|
20
20
|
"@anthropic-ai/claude-agent-sdk": "^0.2.12",
|
|
21
21
|
"@anthropic-ai/claude-code": "^2.0.76",
|
|
22
|
-
"@wix/evalforge-types": "0.
|
|
22
|
+
"@wix/evalforge-types": "0.9.0",
|
|
23
23
|
"ai": "^6.0.6",
|
|
24
24
|
"tar": "^7.5.3",
|
|
25
25
|
"zod": "^4.3.5"
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"artifactId": "evalforge-evaluator"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
"falconPackageHash": "
|
|
59
|
+
"falconPackageHash": "9b6a376efb59a4eec985dd40fc5e58073715c4a0c8f0db1053defb6a"
|
|
60
60
|
}
|