@wix/evalforge-evaluator 0.143.0 → 0.144.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 +95 -44
- package/build/index.js.map +2 -2
- package/build/index.mjs +100 -45
- package/build/index.mjs.map +2 -2
- package/build/types/api-client.d.ts +3 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API Client for fetching data from the eval server.
|
|
3
3
|
*/
|
|
4
|
-
import type { EvalRun, EvalRunResult, TestScenario, Template, SkillWithLatestVersion, SkillVersion, Agent, Preset, MCPEntity, SubAgent, Rule } from '@wix/evalforge-types';
|
|
4
|
+
import type { EvalRun, EvalRunResult, TestScenario, Template, SkillWithLatestVersion, SkillVersion, Agent, Preset, MCPEntity, SubAgent, Rule, CapabilityWithLatestVersion, CapabilityVersion } from '@wix/evalforge-types';
|
|
5
5
|
export interface ApiClient {
|
|
6
6
|
getEvalRun(projectId: string, id: string): Promise<EvalRun>;
|
|
7
7
|
getScenario(projectId: string, id: string): Promise<TestScenario>;
|
|
@@ -14,6 +14,8 @@ export interface ApiClient {
|
|
|
14
14
|
getSubAgent(projectId: string, id: string): Promise<SubAgent>;
|
|
15
15
|
getRule(projectId: string, id: string): Promise<Rule>;
|
|
16
16
|
getPreset(projectId: string, id: string): Promise<Preset>;
|
|
17
|
+
getCapability(projectId: string, id: string): Promise<CapabilityWithLatestVersion>;
|
|
18
|
+
getCapabilityVersion(projectId: string, capabilityId: string, versionId: string): Promise<CapabilityVersion>;
|
|
17
19
|
addResult(projectId: string, evalRunId: string, result: EvalRunResult): Promise<void>;
|
|
18
20
|
clearResults(projectId: string, evalRunId: string): Promise<void>;
|
|
19
21
|
updateEvalRun(projectId: string, evalRunId: string, update: Partial<EvalRun>): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-evaluator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.144.0",
|
|
4
4
|
"description": "EvalForge Evaluator",
|
|
5
5
|
"bin": "./build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@ai-sdk/openai": "^3.0.39",
|
|
22
22
|
"@anthropic-ai/claude-agent-sdk": "^0.2.63",
|
|
23
23
|
"@anthropic-ai/claude-code": "^2.1.63",
|
|
24
|
-
"@wix/eval-assertions": "0.
|
|
25
|
-
"@wix/evalforge-github-client": "0.
|
|
26
|
-
"@wix/evalforge-types": "0.
|
|
24
|
+
"@wix/eval-assertions": "0.46.0",
|
|
25
|
+
"@wix/evalforge-github-client": "0.50.0",
|
|
26
|
+
"@wix/evalforge-types": "0.75.0",
|
|
27
27
|
"ai": "^6.0.107",
|
|
28
28
|
"diff": "^7.0.0",
|
|
29
29
|
"tar": "^7.5.3",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"artifactId": "evalforge-evaluator"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
"falconPackageHash": "
|
|
65
|
+
"falconPackageHash": "dcc7618e0947c2afadf290cf4a4aab304afaf5275f7e49492610a578"
|
|
66
66
|
}
|