@wix/evalforge-types 0.67.0 → 0.68.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
@@ -1370,7 +1370,15 @@ var EvalRunSchema = TenantEntitySchema.extend({
1370
1370
  /** Tags used to select scenarios for this run (for traceability) */
1371
1371
  tags: import_zod28.z.array(import_zod28.z.string()).optional(),
1372
1372
  /** How many times each scenario is executed within this eval run. Default: 1. Max: 20. */
1373
- runsPerScenario: import_zod28.z.number().int().min(1).max(20).optional()
1373
+ runsPerScenario: import_zod28.z.number().int().min(1).max(20).optional(),
1374
+ /** Snapshot of agent configuration captured at run creation time */
1375
+ agentSnapshot: import_zod28.z.object({
1376
+ name: import_zod28.z.string().optional(),
1377
+ agentType: AgentTypeSchema.optional(),
1378
+ runCommand: AgentRunCommandSchema.optional(),
1379
+ systemPrompt: import_zod28.z.string().nullable().optional(),
1380
+ modelConfig: ModelConfigSchema.optional()
1381
+ }).optional()
1374
1382
  });
1375
1383
  var CreateEvalRunInputSchema = EvalRunSchema.omit({
1376
1384
  id: true,
@@ -1382,7 +1390,8 @@ var CreateEvalRunInputSchema = EvalRunSchema.omit({
1382
1390
  aggregateMetrics: true,
1383
1391
  startedAt: true,
1384
1392
  completedAt: true,
1385
- scenarioIds: true
1393
+ scenarioIds: true,
1394
+ agentSnapshot: true
1386
1395
  }).extend({
1387
1396
  /** Optional on input — backend resolves from tags when not provided */
1388
1397
  scenarioIds: import_zod28.z.array(import_zod28.z.string()).optional()
@@ -1494,6 +1503,8 @@ var EvalRunResultSchema = import_zod30.z.object({
1494
1503
  skillVersion: import_zod30.z.string().optional(),
1495
1504
  scenarioId: import_zod30.z.string(),
1496
1505
  scenarioName: import_zod30.z.string(),
1506
+ /** Snapshot of the trigger prompt used during the run (prevents stale display after edits) */
1507
+ triggerPrompt: import_zod30.z.string().optional(),
1497
1508
  modelConfig: ModelConfigSchema.optional(),
1498
1509
  assertionResults: import_zod30.z.array(AssertionResultSchema),
1499
1510
  metrics: EvalMetricsSchema.optional(),