@wix/evalforge-types 0.98.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 +40 -11
- package/build/index.js.map +2 -2
- package/build/index.mjs +37 -11
- 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()
|
|
@@ -1699,16 +1715,26 @@ var UpdateTestScenarioInputSchema = TestScenarioCreateBaseSchema.partial().super
|
|
|
1699
1715
|
|
|
1700
1716
|
// src/scenario/wix-origin-template-ids.ts
|
|
1701
1717
|
var WIX_ORIGIN_TEMPLATE_ID_BY_ALIAS = {
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
"
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
"
|
|
1718
|
+
// Wix Editor (Classic) dev-site templates
|
|
1719
|
+
"stores-v3-editor": "891cc36f-5385-4356-8185-554ccb20d571",
|
|
1720
|
+
"stores-v1-editor": "0ba64bcc-e069-4da9-a6cd-23a296268d84",
|
|
1721
|
+
"events-editor": "6cd4cc54-d6c8-47d7-95ba-578f45392512",
|
|
1722
|
+
"bookings-editor": "d2924ae8-197b-4693-af63-04e51eb50f4d",
|
|
1723
|
+
"restaurants-editor": "63745f80-0d31-4456-bcd6-68be20045872",
|
|
1724
|
+
"blank-editor": "e3ebcbaf-121a-4932-bc6d-729ec32936fc",
|
|
1725
|
+
// Wix Studio dev-site templates
|
|
1726
|
+
"stores-v3-studio": "1a2e0aa8-9bbc-46a2-9ba3-9d9b996410f1",
|
|
1727
|
+
"stores-v1-studio": "a0b45c43-c3db-4cf8-8360-89351dac5acf",
|
|
1728
|
+
"events-studio": "c1099789-af4c-4f04-ac5a-6dc5ec679468",
|
|
1729
|
+
"bookings-studio": "5ccf90bb-1ef7-4c1c-8d8a-5757036ecd9e",
|
|
1730
|
+
"restaurants-studio": "897f6a4c-3a28-47d6-99d6-b382d85502f1",
|
|
1731
|
+
"blank-studio": "795960ae-3021-4ad3-9734-b987e296780b",
|
|
1732
|
+
// Wix Harmony (Editor 3) dev-site templates
|
|
1733
|
+
"stores-v3-harmony": "15c247d5-0848-40fe-ba9b-e7fb09168049",
|
|
1734
|
+
"events-harmony": "33513975-0b9b-40da-8c02-55cca62763fa",
|
|
1735
|
+
"bookings-harmony": "a3170077-6992-4e51-b39e-d31f2af4084b",
|
|
1736
|
+
"restaurants-harmony": "d364e546-615a-46a6-aacb-23e39ab994ad",
|
|
1737
|
+
"blank-harmony": "91532250-8835-46ac-9666-e4db8770b275"
|
|
1712
1738
|
};
|
|
1713
1739
|
var GUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
1714
1740
|
function resolveWixOriginTemplateId(templateId) {
|
|
@@ -2658,6 +2684,9 @@ var UpdateEvalScheduleInputSchema = BaseCreateScheduleSchema.partial().superRefi
|
|
|
2658
2684
|
EvaluationResultSchema,
|
|
2659
2685
|
ExecutionTraceSchema,
|
|
2660
2686
|
ExpectedFileSchema,
|
|
2687
|
+
ExpectedParamPrimitiveSchema,
|
|
2688
|
+
ExpectedParamValueSchema,
|
|
2689
|
+
ExpectedParamsSchema,
|
|
2661
2690
|
ExtraFileSchema,
|
|
2662
2691
|
FileContentCheckSchema,
|
|
2663
2692
|
FileContentTestSchema,
|