@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.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 (substring match). Optional — when omitted, only checks tool presence. */
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
- ecommerce: "e5da13f4-c01e-4b61-a9c7-55dacd961d54",
1434
- default: "212b41cb-0da6-4401-9c72-7c579e6477a2",
1435
- blog: "68fc7371-365f-44c6-8467-69d88bfc172e",
1436
- astrowind: "9e9292c1-1a35-4ba0-8986-d06f2ecb5366",
1437
- scheduler: "72ade0e3-1871-4c04-ac54-419ca874d9d3",
1438
- registration: "e5d63bf1-cd06-48eb-ad77-0da9235adcf1",
1439
- "picasso-studio": "61f05de1-b0ce-4873-b9f5-52241a6fd262",
1440
- "picasso-ecom": "daa9187d-f010-4eb0-bd49-e658b5a5037a",
1441
- picasso: "99b9a3c7-82ad-4e1b-9066-e490bb9863af",
1442
- "ecom-editorless": "738c7c0b-046e-4bf0-87dd-9a06ee5a52c4"
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,