@wix/evalforge-types 0.99.0 → 0.100.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 +20 -1
- package/build/index.js.map +2 -2
- package/build/index.mjs +17 -1
- package/build/index.mjs.map +2 -2
- package/build/types/assertion/assertion.d.ts +13 -0
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -121,6 +121,9 @@ __export(index_exports, {
|
|
|
121
121
|
EvaluationResultSchema: () => EvaluationResultSchema,
|
|
122
122
|
ExecutionTraceSchema: () => ExecutionTraceSchema,
|
|
123
123
|
ExpectedFileSchema: () => ExpectedFileSchema,
|
|
124
|
+
ExpectedParamPrimitiveSchema: () => ExpectedParamPrimitiveSchema,
|
|
125
|
+
ExpectedParamValueSchema: () => ExpectedParamValueSchema,
|
|
126
|
+
ExpectedParamsSchema: () => ExpectedParamsSchema,
|
|
124
127
|
ExtraFileSchema: () => ExtraFileSchema,
|
|
125
128
|
FileContentCheckSchema: () => FileContentCheckSchema,
|
|
126
129
|
FileContentTestSchema: () => FileContentTestSchema,
|
|
@@ -1230,10 +1233,23 @@ var CostConfigSchema = import_zod25.z.strictObject({
|
|
|
1230
1233
|
/** Maximum allowed cost in USD */
|
|
1231
1234
|
maxCostUsd: import_zod25.z.number().positive()
|
|
1232
1235
|
});
|
|
1236
|
+
var ExpectedParamPrimitiveSchema = import_zod25.z.union([
|
|
1237
|
+
import_zod25.z.string(),
|
|
1238
|
+
import_zod25.z.number(),
|
|
1239
|
+
import_zod25.z.boolean()
|
|
1240
|
+
]);
|
|
1241
|
+
var ExpectedParamValueSchema = import_zod25.z.union([
|
|
1242
|
+
ExpectedParamPrimitiveSchema,
|
|
1243
|
+
import_zod25.z.array(ExpectedParamPrimitiveSchema)
|
|
1244
|
+
]);
|
|
1245
|
+
var ExpectedParamsSchema = import_zod25.z.record(
|
|
1246
|
+
import_zod25.z.string(),
|
|
1247
|
+
ExpectedParamValueSchema
|
|
1248
|
+
);
|
|
1233
1249
|
var ToolCalledWithParamConfigSchema = import_zod25.z.strictObject({
|
|
1234
1250
|
/** Name of the tool that must have been called */
|
|
1235
1251
|
toolName: import_zod25.z.string().min(1),
|
|
1236
|
-
/** JSON string of key-value pairs for expected parameters
|
|
1252
|
+
/** JSON string of key-value pairs for expected parameters. Primitive values are substring-matched against the actual argument; array values are matched by containment (every element must appear). Optional — when omitted, only checks tool presence. */
|
|
1237
1253
|
expectedParams: import_zod25.z.string().min(1).optional(),
|
|
1238
1254
|
/** If true, the matching tool call must also have succeeded (step.success === true) */
|
|
1239
1255
|
requireSuccess: import_zod25.z.boolean().optional()
|
|
@@ -2668,6 +2684,9 @@ var UpdateEvalScheduleInputSchema = BaseCreateScheduleSchema.partial().superRefi
|
|
|
2668
2684
|
EvaluationResultSchema,
|
|
2669
2685
|
ExecutionTraceSchema,
|
|
2670
2686
|
ExpectedFileSchema,
|
|
2687
|
+
ExpectedParamPrimitiveSchema,
|
|
2688
|
+
ExpectedParamValueSchema,
|
|
2689
|
+
ExpectedParamsSchema,
|
|
2671
2690
|
ExtraFileSchema,
|
|
2672
2691
|
FileContentCheckSchema,
|
|
2673
2692
|
FileContentTestSchema,
|