@wix/evalforge-types 0.97.0 → 0.99.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/README.md +1 -1
- package/build/index.js +46 -10
- package/build/index.js.map +2 -2
- package/build/index.mjs +42 -10
- package/build/index.mjs.map +2 -2
- package/build/types/project/project.d.ts +39 -0
- package/package.json +2 -2
package/build/index.mjs
CHANGED
|
@@ -1430,16 +1430,26 @@ var UpdateTestScenarioInputSchema = TestScenarioCreateBaseSchema.partial().super
|
|
|
1430
1430
|
|
|
1431
1431
|
// src/scenario/wix-origin-template-ids.ts
|
|
1432
1432
|
var WIX_ORIGIN_TEMPLATE_ID_BY_ALIAS = {
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
"
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
"
|
|
1433
|
+
// Wix Editor (Classic) dev-site templates
|
|
1434
|
+
"stores-v3-editor": "891cc36f-5385-4356-8185-554ccb20d571",
|
|
1435
|
+
"stores-v1-editor": "0ba64bcc-e069-4da9-a6cd-23a296268d84",
|
|
1436
|
+
"events-editor": "6cd4cc54-d6c8-47d7-95ba-578f45392512",
|
|
1437
|
+
"bookings-editor": "d2924ae8-197b-4693-af63-04e51eb50f4d",
|
|
1438
|
+
"restaurants-editor": "63745f80-0d31-4456-bcd6-68be20045872",
|
|
1439
|
+
"blank-editor": "e3ebcbaf-121a-4932-bc6d-729ec32936fc",
|
|
1440
|
+
// Wix Studio dev-site templates
|
|
1441
|
+
"stores-v3-studio": "1a2e0aa8-9bbc-46a2-9ba3-9d9b996410f1",
|
|
1442
|
+
"stores-v1-studio": "a0b45c43-c3db-4cf8-8360-89351dac5acf",
|
|
1443
|
+
"events-studio": "c1099789-af4c-4f04-ac5a-6dc5ec679468",
|
|
1444
|
+
"bookings-studio": "5ccf90bb-1ef7-4c1c-8d8a-5757036ecd9e",
|
|
1445
|
+
"restaurants-studio": "897f6a4c-3a28-47d6-99d6-b382d85502f1",
|
|
1446
|
+
"blank-studio": "795960ae-3021-4ad3-9734-b987e296780b",
|
|
1447
|
+
// Wix Harmony (Editor 3) dev-site templates
|
|
1448
|
+
"stores-v3-harmony": "15c247d5-0848-40fe-ba9b-e7fb09168049",
|
|
1449
|
+
"events-harmony": "33513975-0b9b-40da-8c02-55cca62763fa",
|
|
1450
|
+
"bookings-harmony": "a3170077-6992-4e51-b39e-d31f2af4084b",
|
|
1451
|
+
"restaurants-harmony": "d364e546-615a-46a6-aacb-23e39ab994ad",
|
|
1452
|
+
"blank-harmony": "91532250-8835-46ac-9666-e4db8770b275"
|
|
1443
1453
|
};
|
|
1444
1454
|
var GUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
1445
1455
|
function resolveWixOriginTemplateId(templateId) {
|
|
@@ -2082,6 +2092,24 @@ var CreateProjectInputSchema = ProjectSchema.omit({
|
|
|
2082
2092
|
)
|
|
2083
2093
|
});
|
|
2084
2094
|
var UpdateProjectInputSchema = CreateProjectInputSchema.partial();
|
|
2095
|
+
var APP_READINESS_REASONS = [
|
|
2096
|
+
"no-app-id",
|
|
2097
|
+
"not-registered",
|
|
2098
|
+
"missing-permission",
|
|
2099
|
+
"check-failed"
|
|
2100
|
+
];
|
|
2101
|
+
var AppReadinessReasonSchema = z35.enum(APP_READINESS_REASONS);
|
|
2102
|
+
var AppReadinessChecksSchema = z35.object({
|
|
2103
|
+
hasAppId: z35.boolean().describe("project.appId is set"),
|
|
2104
|
+
isRegistered: z35.boolean().describe("App is registered in the Wix AI Gateway (prompt-hub)"),
|
|
2105
|
+
hasEvalforgePermission: z35.boolean().describe("App has the SCOPE.CODEAI.EVALFORGE permission")
|
|
2106
|
+
});
|
|
2107
|
+
var AppReadinessStatusSchema = z35.object({
|
|
2108
|
+
appId: z35.string().nullable().describe("The configured app id, or null"),
|
|
2109
|
+
isReady: z35.boolean().describe("True only when every blocking check passes"),
|
|
2110
|
+
checks: AppReadinessChecksSchema,
|
|
2111
|
+
reasons: z35.array(AppReadinessReasonSchema).describe("Active problems; empty when ready")
|
|
2112
|
+
});
|
|
2085
2113
|
|
|
2086
2114
|
// src/template/template.ts
|
|
2087
2115
|
import { z as z36 } from "zod";
|
|
@@ -2272,6 +2300,7 @@ export {
|
|
|
2272
2300
|
AGENT_TYPE_LABELS,
|
|
2273
2301
|
ALLOWED_BUILD_COMMANDS,
|
|
2274
2302
|
ALL_AVAILABLE_MODEL_IDS,
|
|
2303
|
+
APP_READINESS_REASONS,
|
|
2275
2304
|
AVAILABLE_CLAUDE_MODEL_IDS,
|
|
2276
2305
|
AVAILABLE_GEMINI_MODEL_IDS,
|
|
2277
2306
|
AVAILABLE_OPENAI_MODEL_IDS,
|
|
@@ -2287,6 +2316,9 @@ export {
|
|
|
2287
2316
|
ApiCallAssertionSchema,
|
|
2288
2317
|
ApiCallConfigSchema,
|
|
2289
2318
|
ApiCallSchema,
|
|
2319
|
+
AppReadinessChecksSchema,
|
|
2320
|
+
AppReadinessReasonSchema,
|
|
2321
|
+
AppReadinessStatusSchema,
|
|
2290
2322
|
AssertionConfigSchema,
|
|
2291
2323
|
AssertionParameterSchema,
|
|
2292
2324
|
AssertionParameterTypeSchema,
|