@wix/evalforge-types 0.97.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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-types",
3
- "version": "0.97.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": "c2948339537c90cccb80cca253610284b9e9c3bcd6514aae1ca49230"
49
+ "falconPackageHash": "302c2414f1819fa75f281b507ecdaa176ad1334a92890562b0269a2d"
50
50
  }