@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.mjs
CHANGED
|
@@ -871,7 +871,13 @@ var WixSiteSummarySchema = z23.object({
|
|
|
871
871
|
var ProvisionedSiteSchema = z23.object({
|
|
872
872
|
id: z23.string(),
|
|
873
873
|
url: z23.string().optional(),
|
|
874
|
-
editorUrl: z23.string().optional()
|
|
874
|
+
editorUrl: z23.string().optional(),
|
|
875
|
+
/**
|
|
876
|
+
* Outcome of the site's bootstrap steps, if any ran. Carried alongside the
|
|
877
|
+
* site so a failed bootstrap step is visible in the run result instead of
|
|
878
|
+
* being silently discarded. Absent when the scenario requested no bootstrap.
|
|
879
|
+
*/
|
|
880
|
+
bootstrapResult: SiteBootstrapResultSchema.optional()
|
|
875
881
|
});
|
|
876
882
|
|
|
877
883
|
// src/scenario/test-scenario.ts
|
|
@@ -1963,7 +1969,14 @@ var EvalRunResultSchema = z33.object({
|
|
|
1963
1969
|
/** Full conversation messages (only present in transit; stripped before DB storage) */
|
|
1964
1970
|
conversation: z33.array(ConversationMessageSchema).optional(),
|
|
1965
1971
|
/** 0-based iteration index when a scenario is run multiple times within a single eval run */
|
|
1966
|
-
iterationIndex: z33.number().int().min(0).optional()
|
|
1972
|
+
iterationIndex: z33.number().int().min(0).optional(),
|
|
1973
|
+
/**
|
|
1974
|
+
* Site provisioned for this run (present when scenario.siteSetup.mode ≠ 'none').
|
|
1975
|
+
* This is a historical record of what the run used: the site is torn down in
|
|
1976
|
+
* the evaluator's cleanup step once the run finishes, so any `url`/`editorUrl`
|
|
1977
|
+
* here may no longer resolve and must not be presented as a live link.
|
|
1978
|
+
*/
|
|
1979
|
+
provisionedSite: ProvisionedSiteSchema.optional()
|
|
1967
1980
|
});
|
|
1968
1981
|
var PromptResultSchema = z33.object({
|
|
1969
1982
|
text: z33.string(),
|