@wix/ditto-codegen-public 1.0.66 → 1.0.67
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 +9 -9
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -120327,7 +120327,7 @@ var require_utils14 = __commonJS({
|
|
|
120327
120327
|
content: zod_1.z.string().describe("Complete file content as a string (for JSON files, stringify the object). Required for insert and update operations.").optional()
|
|
120328
120328
|
});
|
|
120329
120329
|
exports2.FileSchema = zod_1.z.object({
|
|
120330
|
-
files: zod_1.z.array(exports2.FileItemSchema).default([])
|
|
120330
|
+
files: zod_1.z.array(exports2.FileItemSchema).default([]).describe("An array of files")
|
|
120331
120331
|
});
|
|
120332
120332
|
var withCaching = (ttl = "5m") => {
|
|
120333
120333
|
return {
|
|
@@ -120752,7 +120752,7 @@ ${examples}
|
|
|
120752
120752
|
const userMessage = (0, utils_1.buildUserPromptForCodeGenerationAgent)(params, primaryAction);
|
|
120753
120753
|
const model = (0, anthropic_1.createAnthropic)({
|
|
120754
120754
|
apiKey: this.apiKey
|
|
120755
|
-
})("claude-sonnet-4-
|
|
120755
|
+
})("claude-sonnet-4-5-20250929");
|
|
120756
120756
|
const result = await (0, ai_1.generateObject)({
|
|
120757
120757
|
model,
|
|
120758
120758
|
schema: utils_1.FileSchema,
|
|
@@ -124982,7 +124982,7 @@ var require_SiteComponentAgent = __commonJS({
|
|
|
124982
124982
|
const appName = blueprint?.appName ? `'${blueprint.appName}'` : "";
|
|
124983
124983
|
const primaryAction = `Customize the Wix CLI site component scaffolding for the app ${appName}`;
|
|
124984
124984
|
const userMessage = (0, utils_1.buildUserPromptForCodeGenerationAgent)(params, primaryAction);
|
|
124985
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-
|
|
124985
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-5-20250929");
|
|
124986
124986
|
const result = await (0, ai_1.generateObject)({
|
|
124987
124987
|
model,
|
|
124988
124988
|
schema: utils_1.FileSchema,
|
|
@@ -125131,7 +125131,7 @@ ${examples}
|
|
|
125131
125131
|
const appName = blueprint?.appName ? `'${blueprint.appName}'` : "";
|
|
125132
125132
|
const primaryAction = `Customize backend event scaffolding for the app ${appName}`;
|
|
125133
125133
|
const userMessage = (0, utils_1.buildUserPromptForCodeGenerationAgent)(params, primaryAction);
|
|
125134
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-
|
|
125134
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-5-20250929");
|
|
125135
125135
|
const result = await (0, ai_1.generateObject)({
|
|
125136
125136
|
model,
|
|
125137
125137
|
schema: utils_1.FileSchema,
|
|
@@ -125275,7 +125275,7 @@ var require_BackendApiAgent = __commonJS({
|
|
|
125275
125275
|
const systemPrompt = this.buildSystemPrompt();
|
|
125276
125276
|
const primaryAction = `Create Astro Server Endpoints for the app ${blueprint?.appName}`;
|
|
125277
125277
|
const userMessage = (0, utils_1.buildUserPromptForCodeGenerationAgent)(params, primaryAction);
|
|
125278
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-
|
|
125278
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-5-20250929");
|
|
125279
125279
|
const result = await (0, ai_1.generateObject)({
|
|
125280
125280
|
model,
|
|
125281
125281
|
schema: utils_1.FileSchema,
|
|
@@ -125719,7 +125719,7 @@ var require_CustomElementAgent = __commonJS({
|
|
|
125719
125719
|
const appName = blueprint?.appName ? `'${blueprint.appName}'` : "";
|
|
125720
125720
|
const primaryAction = `Customize the Wix CLI custom element / site widget scaffolding for the app ${appName}`;
|
|
125721
125721
|
const userMessage = (0, utils_1.buildUserPromptForCodeGenerationAgent)(params, primaryAction);
|
|
125722
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-
|
|
125722
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-5-20250929");
|
|
125723
125723
|
const result = await (0, ai_1.generateObject)({
|
|
125724
125724
|
model,
|
|
125725
125725
|
schema: utils_1.FileSchema,
|
|
@@ -127282,7 +127282,7 @@ ${examples}
|
|
|
127282
127282
|
const appName = blueprint?.appName ? `'${blueprint.appName}'` : "";
|
|
127283
127283
|
const primaryAction = `Customize the Wix CLI dashboard page scaffolding for the app ${appName}`;
|
|
127284
127284
|
const userMessage = (0, utils_1.buildUserPromptForCodeGenerationAgent)(params, primaryAction);
|
|
127285
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-
|
|
127285
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-5-20250929");
|
|
127286
127286
|
const result = await (0, ai_1.generateObject)({
|
|
127287
127287
|
model,
|
|
127288
127288
|
schema: utils_1.FileSchema,
|
|
@@ -128473,7 +128473,7 @@ ${examples}
|
|
|
128473
128473
|
const appName = blueprint?.appName ? `'${blueprint.appName}'` : "";
|
|
128474
128474
|
const primaryAction = `Customize the Wix CLI embedded script scaffolding for the app ${appName}`;
|
|
128475
128475
|
const userMessage = (0, utils_1.buildUserPromptForCodeGenerationAgent)(params, primaryAction);
|
|
128476
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-
|
|
128476
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-5-20250929");
|
|
128477
128477
|
const result = await (0, ai_1.generateObject)({
|
|
128478
128478
|
model,
|
|
128479
128479
|
schema: exports2.EmbeddedScriptSchema,
|
|
@@ -128852,7 +128852,7 @@ CURRENT FILE CONTENT:
|
|
|
128852
128852
|
${input.content}
|
|
128853
128853
|
|
|
128854
128854
|
Please provide the complete fixed file content that resolves ALL the errors listed above.`;
|
|
128855
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-
|
|
128855
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-sonnet-4-5-20250929");
|
|
128856
128856
|
try {
|
|
128857
128857
|
const result = await (0, ai_1.generateObject)({
|
|
128858
128858
|
model,
|
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.67",
|
|
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": "cb386c1a3a023a0778effc8158941c8ff0a7592425af5aed16b33854"
|
|
28
28
|
}
|