@wix/evalforge-types 0.88.0 → 0.89.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
@@ -185,6 +185,7 @@ __export(index_exports, {
185
185
  SubAgentSchema: () => SubAgentSchema,
186
186
  TRACE_EVENT_PREFIX: () => TRACE_EVENT_PREFIX,
187
187
  TargetSchema: () => TargetSchema,
188
+ TemplateFileEntrySchema: () => TemplateFileEntrySchema,
188
189
  TemplateFileSchema: () => TemplateFileSchema,
189
190
  TemplateFileStatus: () => TemplateFileStatus,
190
191
  TemplateSchema: () => TemplateSchema,
@@ -397,10 +398,7 @@ var ModelConfigSchema = import_zod4.z.object({
397
398
  // In Zod v4, z.preprocess() creates ZodEffects which is not recognized as optional
398
399
  // by the object schema. Outer .optional() ensures missing keys are accepted; inner
399
400
  // .optional() handles null→undefined conversion from the preprocessor.
400
- temperature: import_zod4.z.preprocess(
401
- nullToUndefined,
402
- import_zod4.z.number().min(0).max(1).optional()
403
- ).optional(),
401
+ temperature: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().min(0).max(1).optional()).optional(),
404
402
  maxTokens: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().min(1).optional()).optional(),
405
403
  /** Number of agentic turns. 0 = unlimited (agent runs until done or timeout). */
406
404
  maxTurns: import_zod4.z.preprocess(nullToUndefined, import_zod4.z.number().int().min(0).optional()).optional()
@@ -2207,6 +2205,11 @@ var ExtraFileSchema = import_zod35.z.object({
2207
2205
  }).refine((ef) => ef.content !== void 0 || ef.gitSource !== void 0, {
2208
2206
  message: "ExtraFile must have either content or gitSource"
2209
2207
  });
2208
+ var TemplateFileEntrySchema = import_zod35.z.object({
2209
+ path: import_zod35.z.string().min(1),
2210
+ content: import_zod35.z.string(),
2211
+ extra: import_zod35.z.boolean()
2212
+ });
2210
2213
  var TemplateSchema = TenantEntitySchema.extend({
2211
2214
  source: GitHubSourceSchema.optional(),
2212
2215
  sourceFiles: import_zod35.z.array(SourceFileSchema).optional(),
@@ -2541,6 +2544,7 @@ var UpdateEvalScheduleInputSchema = BaseCreateScheduleSchema.partial().superRefi
2541
2544
  SubAgentSchema,
2542
2545
  TRACE_EVENT_PREFIX,
2543
2546
  TargetSchema,
2547
+ TemplateFileEntrySchema,
2544
2548
  TemplateFileSchema,
2545
2549
  TemplateFileStatus,
2546
2550
  TemplateSchema,