@wix/evalforge-types 0.80.0 → 0.82.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
|
@@ -1888,6 +1888,8 @@ var EvalRunSchema = TenantEntitySchema.extend({
|
|
|
1888
1888
|
tags: import_zod30.z.array(import_zod30.z.string()).optional(),
|
|
1889
1889
|
/** How many times each scenario is executed within this eval run. Default: 1. Max: 20. */
|
|
1890
1890
|
runsPerScenario: import_zod30.z.number().int().min(1).max(20).optional(),
|
|
1891
|
+
/** Variable values to substitute in scenario trigger prompts at runtime */
|
|
1892
|
+
variables: import_zod30.z.record(import_zod30.z.string(), import_zod30.z.string()).optional(),
|
|
1891
1893
|
/** Snapshot of agent configuration captured at run creation time */
|
|
1892
1894
|
agentSnapshot: import_zod30.z.object({
|
|
1893
1895
|
name: import_zod30.z.string().optional(),
|
|
@@ -1905,7 +1907,9 @@ var EvalRunSchema = TenantEntitySchema.extend({
|
|
|
1905
1907
|
/** LLM-generated analysis of the completed run */
|
|
1906
1908
|
runAnalysis: RunAnalysisSchema.optional(),
|
|
1907
1909
|
/** IDs of folders this run belongs to (read-only, managed via AddRunToFolder / RemoveRunFromFolder) */
|
|
1908
|
-
folderIds: import_zod30.z.array(import_zod30.z.string()).optional()
|
|
1910
|
+
folderIds: import_zod30.z.array(import_zod30.z.string()).optional(),
|
|
1911
|
+
/** ID of the schedule that triggered this run, if any (read-only) */
|
|
1912
|
+
scheduleId: import_zod30.z.string().optional()
|
|
1909
1913
|
});
|
|
1910
1914
|
var CreateEvalRunInputSchema = EvalRunSchema.omit({
|
|
1911
1915
|
id: true,
|
|
@@ -2256,7 +2260,9 @@ var EvalScheduleSchema = TenantEntitySchema.extend({
|
|
|
2256
2260
|
/** ISO timestamp of the last run */
|
|
2257
2261
|
lastRunAt: import_zod36.z.string().optional(),
|
|
2258
2262
|
/** Next scheduled run time in UTC (pre-computed for efficient querying, set by backend) */
|
|
2259
|
-
nextRunAt: import_zod36.z.string().optional()
|
|
2263
|
+
nextRunAt: import_zod36.z.string().optional(),
|
|
2264
|
+
/** Per-scenario variable values forwarded to runs triggered by this schedule (scenarioId → varName → value) */
|
|
2265
|
+
variables: import_zod36.z.record(import_zod36.z.string(), import_zod36.z.record(import_zod36.z.string(), import_zod36.z.string())).optional()
|
|
2260
2266
|
});
|
|
2261
2267
|
function isValidTimezone(tz) {
|
|
2262
2268
|
try {
|