@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.mjs
CHANGED
|
@@ -1640,6 +1640,8 @@ var EvalRunSchema = TenantEntitySchema.extend({
|
|
|
1640
1640
|
tags: z30.array(z30.string()).optional(),
|
|
1641
1641
|
/** How many times each scenario is executed within this eval run. Default: 1. Max: 20. */
|
|
1642
1642
|
runsPerScenario: z30.number().int().min(1).max(20).optional(),
|
|
1643
|
+
/** Variable values to substitute in scenario trigger prompts at runtime */
|
|
1644
|
+
variables: z30.record(z30.string(), z30.string()).optional(),
|
|
1643
1645
|
/** Snapshot of agent configuration captured at run creation time */
|
|
1644
1646
|
agentSnapshot: z30.object({
|
|
1645
1647
|
name: z30.string().optional(),
|
|
@@ -1657,7 +1659,9 @@ var EvalRunSchema = TenantEntitySchema.extend({
|
|
|
1657
1659
|
/** LLM-generated analysis of the completed run */
|
|
1658
1660
|
runAnalysis: RunAnalysisSchema.optional(),
|
|
1659
1661
|
/** IDs of folders this run belongs to (read-only, managed via AddRunToFolder / RemoveRunFromFolder) */
|
|
1660
|
-
folderIds: z30.array(z30.string()).optional()
|
|
1662
|
+
folderIds: z30.array(z30.string()).optional(),
|
|
1663
|
+
/** ID of the schedule that triggered this run, if any (read-only) */
|
|
1664
|
+
scheduleId: z30.string().optional()
|
|
1661
1665
|
});
|
|
1662
1666
|
var CreateEvalRunInputSchema = EvalRunSchema.omit({
|
|
1663
1667
|
id: true,
|
|
@@ -2008,7 +2012,9 @@ var EvalScheduleSchema = TenantEntitySchema.extend({
|
|
|
2008
2012
|
/** ISO timestamp of the last run */
|
|
2009
2013
|
lastRunAt: z36.string().optional(),
|
|
2010
2014
|
/** Next scheduled run time in UTC (pre-computed for efficient querying, set by backend) */
|
|
2011
|
-
nextRunAt: z36.string().optional()
|
|
2015
|
+
nextRunAt: z36.string().optional(),
|
|
2016
|
+
/** Per-scenario variable values forwarded to runs triggered by this schedule (scenarioId → varName → value) */
|
|
2017
|
+
variables: z36.record(z36.string(), z36.record(z36.string(), z36.string())).optional()
|
|
2012
2018
|
});
|
|
2013
2019
|
function isValidTimezone(tz) {
|
|
2014
2020
|
try {
|