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