@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.mjs
CHANGED
|
@@ -961,10 +961,23 @@ var CostConfigSchema = z25.strictObject({
|
|
|
961
961
|
/** Maximum allowed cost in USD */
|
|
962
962
|
maxCostUsd: z25.number().positive()
|
|
963
963
|
});
|
|
964
|
+
var ExpectedParamPrimitiveSchema = z25.union([
|
|
965
|
+
z25.string(),
|
|
966
|
+
z25.number(),
|
|
967
|
+
z25.boolean()
|
|
968
|
+
]);
|
|
969
|
+
var ExpectedParamValueSchema = z25.union([
|
|
970
|
+
ExpectedParamPrimitiveSchema,
|
|
971
|
+
z25.array(ExpectedParamPrimitiveSchema)
|
|
972
|
+
]);
|
|
973
|
+
var ExpectedParamsSchema = z25.record(
|
|
974
|
+
z25.string(),
|
|
975
|
+
ExpectedParamValueSchema
|
|
976
|
+
);
|
|
964
977
|
var ToolCalledWithParamConfigSchema = z25.strictObject({
|
|
965
978
|
/** Name of the tool that must have been called */
|
|
966
979
|
toolName: z25.string().min(1),
|
|
967
|
-
/** JSON string of key-value pairs for expected parameters
|
|
980
|
+
/** 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. */
|
|
968
981
|
expectedParams: z25.string().min(1).optional(),
|
|
969
982
|
/** If true, the matching tool call must also have succeeded (step.success === true) */
|
|
970
983
|
requireSuccess: z25.boolean().optional()
|
|
@@ -1430,16 +1443,26 @@ var UpdateTestScenarioInputSchema = TestScenarioCreateBaseSchema.partial().super
|
|
|
1430
1443
|
|
|
1431
1444
|
// src/scenario/wix-origin-template-ids.ts
|
|
1432
1445
|
var WIX_ORIGIN_TEMPLATE_ID_BY_ALIAS = {
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
"
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
"
|
|
1446
|
+
// Wix Editor (Classic) dev-site templates
|
|
1447
|
+
"stores-v3-editor": "891cc36f-5385-4356-8185-554ccb20d571",
|
|
1448
|
+
"stores-v1-editor": "0ba64bcc-e069-4da9-a6cd-23a296268d84",
|
|
1449
|
+
"events-editor": "6cd4cc54-d6c8-47d7-95ba-578f45392512",
|
|
1450
|
+
"bookings-editor": "d2924ae8-197b-4693-af63-04e51eb50f4d",
|
|
1451
|
+
"restaurants-editor": "63745f80-0d31-4456-bcd6-68be20045872",
|
|
1452
|
+
"blank-editor": "e3ebcbaf-121a-4932-bc6d-729ec32936fc",
|
|
1453
|
+
// Wix Studio dev-site templates
|
|
1454
|
+
"stores-v3-studio": "1a2e0aa8-9bbc-46a2-9ba3-9d9b996410f1",
|
|
1455
|
+
"stores-v1-studio": "a0b45c43-c3db-4cf8-8360-89351dac5acf",
|
|
1456
|
+
"events-studio": "c1099789-af4c-4f04-ac5a-6dc5ec679468",
|
|
1457
|
+
"bookings-studio": "5ccf90bb-1ef7-4c1c-8d8a-5757036ecd9e",
|
|
1458
|
+
"restaurants-studio": "897f6a4c-3a28-47d6-99d6-b382d85502f1",
|
|
1459
|
+
"blank-studio": "795960ae-3021-4ad3-9734-b987e296780b",
|
|
1460
|
+
// Wix Harmony (Editor 3) dev-site templates
|
|
1461
|
+
"stores-v3-harmony": "15c247d5-0848-40fe-ba9b-e7fb09168049",
|
|
1462
|
+
"events-harmony": "33513975-0b9b-40da-8c02-55cca62763fa",
|
|
1463
|
+
"bookings-harmony": "a3170077-6992-4e51-b39e-d31f2af4084b",
|
|
1464
|
+
"restaurants-harmony": "d364e546-615a-46a6-aacb-23e39ab994ad",
|
|
1465
|
+
"blank-harmony": "91532250-8835-46ac-9666-e4db8770b275"
|
|
1443
1466
|
};
|
|
1444
1467
|
var GUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
1445
1468
|
function resolveWixOriginTemplateId(templateId) {
|
|
@@ -2388,6 +2411,9 @@ export {
|
|
|
2388
2411
|
EvaluationResultSchema,
|
|
2389
2412
|
ExecutionTraceSchema,
|
|
2390
2413
|
ExpectedFileSchema,
|
|
2414
|
+
ExpectedParamPrimitiveSchema,
|
|
2415
|
+
ExpectedParamValueSchema,
|
|
2416
|
+
ExpectedParamsSchema,
|
|
2391
2417
|
ExtraFileSchema,
|
|
2392
2418
|
FileContentCheckSchema,
|
|
2393
2419
|
FileContentTestSchema,
|