@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.mjs CHANGED
@@ -146,10 +146,7 @@ var ModelConfigSchema = z4.object({
146
146
  // In Zod v4, z.preprocess() creates ZodEffects which is not recognized as optional
147
147
  // by the object schema. Outer .optional() ensures missing keys are accepted; inner
148
148
  // .optional() handles null→undefined conversion from the preprocessor.
149
- temperature: z4.preprocess(
150
- nullToUndefined,
151
- z4.number().min(0).max(1).optional()
152
- ).optional(),
149
+ temperature: z4.preprocess(nullToUndefined, z4.number().min(0).max(1).optional()).optional(),
153
150
  maxTokens: z4.preprocess(nullToUndefined, z4.number().min(1).optional()).optional(),
154
151
  /** Number of agentic turns. 0 = unlimited (agent runs until done or timeout). */
155
152
  maxTurns: z4.preprocess(nullToUndefined, z4.number().int().min(0).optional()).optional()
@@ -1956,6 +1953,11 @@ var ExtraFileSchema = z35.object({
1956
1953
  }).refine((ef) => ef.content !== void 0 || ef.gitSource !== void 0, {
1957
1954
  message: "ExtraFile must have either content or gitSource"
1958
1955
  });
1956
+ var TemplateFileEntrySchema = z35.object({
1957
+ path: z35.string().min(1),
1958
+ content: z35.string(),
1959
+ extra: z35.boolean()
1960
+ });
1959
1961
  var TemplateSchema = TenantEntitySchema.extend({
1960
1962
  source: GitHubSourceSchema.optional(),
1961
1963
  sourceFiles: z35.array(SourceFileSchema).optional(),
@@ -2289,6 +2291,7 @@ export {
2289
2291
  SubAgentSchema,
2290
2292
  TRACE_EVENT_PREFIX,
2291
2293
  TargetSchema,
2294
+ TemplateFileEntrySchema,
2292
2295
  TemplateFileSchema,
2293
2296
  TemplateFileStatus,
2294
2297
  TemplateSchema,