@wix/ditto-codegen-public 1.0.131 → 1.0.132
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/dist/out.js +14 -3
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -119989,6 +119989,17 @@ var require_extensions = __commonJS({
|
|
|
119989
119989
|
"../codegen-common-logic/dist/extensions.js"(exports2) {
|
|
119990
119990
|
"use strict";
|
|
119991
119991
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
119992
|
+
exports2.codeGenerationExtensionTypes = void 0;
|
|
119993
|
+
var types_1 = require_types_impl();
|
|
119994
|
+
exports2.codeGenerationExtensionTypes = [
|
|
119995
|
+
types_1.ExtensionType.SERVICE_PLUGIN,
|
|
119996
|
+
types_1.ExtensionType.DASHBOARD_PAGE,
|
|
119997
|
+
types_1.ExtensionType.SITE_COMPONENT,
|
|
119998
|
+
types_1.ExtensionType.SITE_WIDGET,
|
|
119999
|
+
types_1.ExtensionType.BACKEND_EVENT,
|
|
120000
|
+
types_1.ExtensionType.BACKEND_API,
|
|
120001
|
+
types_1.ExtensionType.EMBEDDED_SCRIPT
|
|
120002
|
+
];
|
|
119992
120003
|
}
|
|
119993
120004
|
});
|
|
119994
120005
|
|
|
@@ -121928,21 +121939,21 @@ var require_IterationAgent = __commonJS({
|
|
|
121928
121939
|
var ai_1 = require_dist10();
|
|
121929
121940
|
var zod_1 = require_zod();
|
|
121930
121941
|
var utils_1 = require_utils11();
|
|
121931
|
-
var types_1 = require_types_impl();
|
|
121932
121942
|
var iterationAgentPrompt_1 = require_iterationAgentPrompt();
|
|
121933
121943
|
var AgentsRegistry_1 = require_AgentsRegistry();
|
|
121944
|
+
var codegen_common_logic_1 = require_dist12();
|
|
121934
121945
|
var ditto_codegen_types_12 = require_dist();
|
|
121935
121946
|
var formatExtensions_1 = require_formatExtensions();
|
|
121936
121947
|
var supportedExtensionTypes = (0, AgentsRegistry_1.getSupportedExtensionTypes)();
|
|
121937
121948
|
var CurrentExtensionSchema = zod_1.z.object({
|
|
121938
|
-
extensionType: zod_1.z.enum(
|
|
121949
|
+
extensionType: zod_1.z.enum(codegen_common_logic_1.codeGenerationExtensionTypes).describe("The extension kind to trigger"),
|
|
121939
121950
|
name: zod_1.z.string().describe("A descriptive name for this extension"),
|
|
121940
121951
|
relatedSpis: zod_1.z.array(zod_1.z.string()).optional().describe("Optional value, only for SPI extensions - specify the SPI types"),
|
|
121941
121952
|
paths: zod_1.z.array(zod_1.z.string()).describe("Paths relevant for this extension"),
|
|
121942
121953
|
relevantUserRequest: zod_1.z.string().describe("What part of the user request this extension should do, do not reference other extensions.")
|
|
121943
121954
|
});
|
|
121944
121955
|
var AdditionalExtensionSchema = zod_1.z.object({
|
|
121945
|
-
extensionType: zod_1.z.enum(
|
|
121956
|
+
extensionType: zod_1.z.enum(codegen_common_logic_1.codeGenerationExtensionTypes).describe("The extension kind to add"),
|
|
121946
121957
|
name: zod_1.z.string().describe("A descriptive name for this extension"),
|
|
121947
121958
|
relatedSpis: zod_1.z.array(zod_1.z.string()).optional().describe("Optional value, only for SPI extensions - specify the SPI types"),
|
|
121948
121959
|
relevantUserRequest: zod_1.z.string().describe("What part of the user request this extension should do, do not reference other extensions.")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.132",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@wix/ditto-codegen": "1.0.0",
|
|
25
25
|
"esbuild": "^0.25.9"
|
|
26
26
|
},
|
|
27
|
-
"falconPackageHash": "
|
|
27
|
+
"falconPackageHash": "1bc006685dbca30953ee68ff676a0a93e320daa3e8b3c97b21dbe579"
|
|
28
28
|
}
|