@wix/evalforge-types 0.96.0 → 0.98.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.
@@ -51,3 +51,42 @@ export declare const UpdateProjectInputSchema: z.ZodObject<{
51
51
  appId: z.ZodOptional<z.ZodString>;
52
52
  }, z.core.$strip>;
53
53
  export type UpdateProjectInput = z.infer<typeof UpdateProjectInputSchema>;
54
+ /**
55
+ * App readiness — whether a project's configured Dev Center app can run
56
+ * evaluations through the Wix AI Gateway.
57
+ *
58
+ * A run is only allowed when the app is configured AND registered in the AI
59
+ * Gateway AND has been granted the EvalForge permission. Each failing check
60
+ * contributes a reason; `check-failed` is a soft, non-blocking warning (a
61
+ * readiness probe threw unexpectedly).
62
+ */
63
+ export declare const APP_READINESS_REASONS: readonly ["no-app-id", "not-registered", "missing-permission", "check-failed"];
64
+ export declare const AppReadinessReasonSchema: z.ZodEnum<{
65
+ "no-app-id": "no-app-id";
66
+ "not-registered": "not-registered";
67
+ "missing-permission": "missing-permission";
68
+ "check-failed": "check-failed";
69
+ }>;
70
+ export type AppReadinessReason = z.infer<typeof AppReadinessReasonSchema>;
71
+ export declare const AppReadinessChecksSchema: z.ZodObject<{
72
+ hasAppId: z.ZodBoolean;
73
+ isRegistered: z.ZodBoolean;
74
+ hasEvalforgePermission: z.ZodBoolean;
75
+ }, z.core.$strip>;
76
+ export type AppReadinessChecks = z.infer<typeof AppReadinessChecksSchema>;
77
+ export declare const AppReadinessStatusSchema: z.ZodObject<{
78
+ appId: z.ZodNullable<z.ZodString>;
79
+ isReady: z.ZodBoolean;
80
+ checks: z.ZodObject<{
81
+ hasAppId: z.ZodBoolean;
82
+ isRegistered: z.ZodBoolean;
83
+ hasEvalforgePermission: z.ZodBoolean;
84
+ }, z.core.$strip>;
85
+ reasons: z.ZodArray<z.ZodEnum<{
86
+ "no-app-id": "no-app-id";
87
+ "not-registered": "not-registered";
88
+ "missing-permission": "missing-permission";
89
+ "check-failed": "check-failed";
90
+ }>>;
91
+ }, z.core.$strip>;
92
+ export type AppReadinessStatus = z.infer<typeof AppReadinessStatusSchema>;
@@ -24,6 +24,7 @@ export declare const BatchScenarioEntrySchema: z.ZodObject<{
24
24
  assertionId: z.ZodString;
25
25
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
26
26
  }, z.core.$strip>]>>>;
27
+ readOnly: z.ZodOptional<z.ZodBoolean>;
27
28
  }, z.core.$strip>;
28
29
  export type BatchScenarioEntry = z.infer<typeof BatchScenarioEntrySchema>;
29
30
  /**
@@ -41,6 +42,7 @@ export declare const BatchImportPayloadSchema: z.ZodObject<{
41
42
  assertionId: z.ZodString;
42
43
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
43
44
  }, z.core.$strip>]>>>;
45
+ readOnly: z.ZodOptional<z.ZodBoolean>;
44
46
  }, z.core.$strip>>;
45
47
  }, z.core.$strip>;
46
48
  export type BatchImportPayload = z.infer<typeof BatchImportPayloadSchema>;
@@ -152,6 +152,7 @@ export declare const TestScenarioSchema: z.ZodObject<{
152
152
  }, z.core.$strip>>>;
153
153
  }, z.core.$strip>>;
154
154
  }, z.core.$strip>], "mode">>;
155
+ readOnly: z.ZodOptional<z.ZodBoolean>;
155
156
  }, z.core.$strip>;
156
157
  export type TestScenario = z.infer<typeof TestScenarioSchema>;
157
158
  /** Run-variable names that conflict with automatic site setup provisioning. */
@@ -289,6 +290,7 @@ export declare const CreateTestScenarioInputSchema: z.ZodObject<{
289
290
  }, z.core.$strip>>>;
290
291
  }, z.core.$strip>>;
291
292
  }, z.core.$strip>], "mode">>;
293
+ readOnly: z.ZodOptional<z.ZodBoolean>;
292
294
  }, z.core.$strip>;
293
295
  export type CreateTestScenarioInput = z.infer<typeof CreateTestScenarioInputSchema>;
294
296
  /**
@@ -414,5 +416,6 @@ export declare const UpdateTestScenarioInputSchema: z.ZodObject<{
414
416
  }, z.core.$strip>>>;
415
417
  }, z.core.$strip>>;
416
418
  }, z.core.$strip>], "mode">>>;
419
+ readOnly: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
417
420
  }, z.core.$strip>;
418
421
  export type UpdateTestScenarioInput = z.infer<typeof UpdateTestScenarioInputSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-types",
3
- "version": "0.96.0",
3
+ "version": "0.98.0",
4
4
  "description": "Unified types for EvalForge agent evaluation system",
5
5
  "files": [
6
6
  "build"
@@ -46,5 +46,5 @@
46
46
  "artifactId": "evalforge-types"
47
47
  }
48
48
  },
49
- "falconPackageHash": "899624911252059dbaf7fca086f46ebed6eda19bc385004dae6eace5"
49
+ "falconPackageHash": "302c2414f1819fa75f281b507ecdaa176ad1334a92890562b0269a2d"
50
50
  }