@wix/ditto-codegen-public 1.0.128 → 1.0.129
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 +3 -5
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -121799,7 +121799,6 @@ When relevant existing extensions are identified:
|
|
|
121799
121799
|
</extension_selection_logic>
|
|
121800
121800
|
|
|
121801
121801
|
<constraints>
|
|
121802
|
-
- Return a JSON object with currentExtensions, additionalExtensions, and summary fields
|
|
121803
121802
|
- **CRITICAL**: Only propose additional extensions if existing ones cannot fulfill the user's request. Review "Relevant Existing Extensions" carefully before creating duplicates.
|
|
121804
121803
|
- Be specific about which file paths are relevant for each current extension (all extension types)
|
|
121805
121804
|
- Consider the full chat history context when making decisions
|
|
@@ -121828,7 +121827,6 @@ When relevant existing extensions are identified:
|
|
|
121828
121827
|
- "relatedSpis" field: ONLY for SERVICE_PLUGIN extensions - specify the SPI name
|
|
121829
121828
|
- "paths" field: For ALL extension types - specify relevant file paths to modify
|
|
121830
121829
|
- For currentExtensions, always include paths; for additionalExtensions, paths are not needed
|
|
121831
|
-
</output_format>
|
|
121832
121830
|
|
|
121833
121831
|
</WIXCLI_ITERATION_AGENT_SYSTEM_PROMPT>
|
|
121834
121832
|
`;
|
|
@@ -121901,8 +121899,8 @@ var require_IterationAgent = __commonJS({
|
|
|
121901
121899
|
relevantUserRequest: zod_1.z.string().describe("What part of the user request this extension should do, do not reference other extensions.")
|
|
121902
121900
|
});
|
|
121903
121901
|
var IterationPlanSchema = zod_1.z.object({
|
|
121904
|
-
currentExtensions: zod_1.z.array(CurrentExtensionSchema).describe("Existing extensions to be triggered"),
|
|
121905
|
-
additionalExtensions: zod_1.z.array(AdditionalExtensionSchema).describe("New extensions to be created"),
|
|
121902
|
+
currentExtensions: zod_1.z.array(CurrentExtensionSchema).describe("Existing extensions to be triggered, return [] if no existing extensions are needed"),
|
|
121903
|
+
additionalExtensions: zod_1.z.array(AdditionalExtensionSchema).describe("New extensions to be created, return [] if no new extensions are needed"),
|
|
121906
121904
|
summary: zod_1.z.string().describe("Summary of the chat with the user request")
|
|
121907
121905
|
});
|
|
121908
121906
|
var IterationAgent = class {
|
|
@@ -121934,7 +121932,7 @@ var require_IterationAgent = __commonJS({
|
|
|
121934
121932
|
};
|
|
121935
121933
|
}
|
|
121936
121934
|
async generate(currentUserRequest, chatHistory, relevantExtensions = []) {
|
|
121937
|
-
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-
|
|
121935
|
+
const model = (0, anthropic_1.createAnthropic)({ apiKey: this.apiKey })("claude-3-5-haiku-latest");
|
|
121938
121936
|
const historyStr = (chatHistory || []).map((m) => `${m.role.toUpperCase()}: ${m.text}`).join("\n\n");
|
|
121939
121937
|
const userContent = [
|
|
121940
121938
|
`
|
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.129",
|
|
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": "1548714ad85f73ba1f1758e88c7a9f18ddb4d4da9fcd7347a62b44a1"
|
|
28
28
|
}
|