@wix/evalforge-types 0.95.0 → 0.96.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 +15 -2
- package/build/index.js.map +2 -2
- package/build/index.mjs +15 -2
- package/build/index.mjs.map +2 -2
- package/build/types/evaluation/eval-result.d.ts +13 -0
- package/build/types/evaluation/eval-run.d.ts +13 -0
- package/build/types/scenario/site-setup.d.ts +8 -0
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -1136,7 +1136,13 @@ var WixSiteSummarySchema = import_zod23.z.object({
|
|
|
1136
1136
|
var ProvisionedSiteSchema = import_zod23.z.object({
|
|
1137
1137
|
id: import_zod23.z.string(),
|
|
1138
1138
|
url: import_zod23.z.string().optional(),
|
|
1139
|
-
editorUrl: import_zod23.z.string().optional()
|
|
1139
|
+
editorUrl: import_zod23.z.string().optional(),
|
|
1140
|
+
/**
|
|
1141
|
+
* Outcome of the site's bootstrap steps, if any ran. Carried alongside the
|
|
1142
|
+
* site so a failed bootstrap step is visible in the run result instead of
|
|
1143
|
+
* being silently discarded. Absent when the scenario requested no bootstrap.
|
|
1144
|
+
*/
|
|
1145
|
+
bootstrapResult: SiteBootstrapResultSchema.optional()
|
|
1140
1146
|
});
|
|
1141
1147
|
|
|
1142
1148
|
// src/scenario/test-scenario.ts
|
|
@@ -2228,7 +2234,14 @@ var EvalRunResultSchema = import_zod33.z.object({
|
|
|
2228
2234
|
/** Full conversation messages (only present in transit; stripped before DB storage) */
|
|
2229
2235
|
conversation: import_zod33.z.array(ConversationMessageSchema).optional(),
|
|
2230
2236
|
/** 0-based iteration index when a scenario is run multiple times within a single eval run */
|
|
2231
|
-
iterationIndex: import_zod33.z.number().int().min(0).optional()
|
|
2237
|
+
iterationIndex: import_zod33.z.number().int().min(0).optional(),
|
|
2238
|
+
/**
|
|
2239
|
+
* Site provisioned for this run (present when scenario.siteSetup.mode ≠ 'none').
|
|
2240
|
+
* This is a historical record of what the run used: the site is torn down in
|
|
2241
|
+
* the evaluator's cleanup step once the run finishes, so any `url`/`editorUrl`
|
|
2242
|
+
* here may no longer resolve and must not be presented as a live link.
|
|
2243
|
+
*/
|
|
2244
|
+
provisionedSite: ProvisionedSiteSchema.optional()
|
|
2232
2245
|
});
|
|
2233
2246
|
var PromptResultSchema = import_zod33.z.object({
|
|
2234
2247
|
text: import_zod33.z.string(),
|