@wix/ditto-codegen-public 1.0.495 → 1.0.496

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.
Files changed (2) hide show
  1. package/dist/out.js +2 -2
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -12717,7 +12717,7 @@ var require_brik_import = __commonJS({
12717
12717
  exports2.BRIK_IMPORT_RULES = void 0;
12718
12718
  exports2.BRIK_IMPORT_RULES = `# Brik Tool Import Rules
12719
12719
 
12720
- Check with \`glob\` whether \`.wix/agentInput/brikMeta.json\` exists. If it exists AND its \`brikMeta\` object has \`promptVariant\` set to \`skill-v1\`, this job is a Brik tool import: you MUST invoke the \`wix-brik\` skill FIRST and follow it exactly. It owns the import itself - scaffolding the Editor React Component, running the deterministic import script over \`.wix/agentInput/brikImport.json\`, splicing the tool's creative code, then installing dependencies and building plus generating the manifest. Do NOT derive the component's public surface yourself and do NOT re-tune the manifest.
12720
+ Open \`.wix/agentInput/brikMeta.json\` with \`read\` - not \`glob\` or \`grep\`: \`.wix/\` is git-ignored, so they never list it. If it exists AND its \`brikMeta\` object has \`promptVariant\` set to \`skill-v1\`, this job is a Brik tool import: you MUST invoke the \`wix-brik\` skill FIRST and follow it exactly. It owns the import itself - scaffolding the Editor React Component, running the deterministic import script over \`.wix/agentInput/brikImport.json\`, splicing the tool's creative code, then installing dependencies and building plus generating the manifest. Do NOT derive the component's public surface yourself and do NOT re-tune the manifest.
12721
12721
 
12722
12722
  The skill does NOT replace step 5 of the workflow: its \`npx wix build\` transpiles without typechecking. Once its DONE WHEN checks pass, still run step 5 as the workflow says, and fix whatever it reports in your spliced code only - never in the script-written surface.
12723
12723
 
@@ -12844,7 +12844,7 @@ var require_user_attachments = __commonJS({
12844
12844
  exports2.USER_ATTACHMENTS_RULES = void 0;
12845
12845
  exports2.USER_ATTACHMENTS_RULES = `# User Attachment Rules
12846
12846
 
12847
- Check with \`glob\` whether \`.wix/agentInput/userAttachments.json\` exists. If it does, the user uploaded files to the assistant. Its \`userAttachments\` list gives each file's \`fileName\` (as the user named it), \`path\` (under \`.wix/agentInput/attachments/\`), \`mimeType\`, \`sizeBytes\`, \`status\` and \`fromThisRequest\`: \`true\` for a file uploaded with this request, \`false\` for one from an earlier message. Only files with \`status\` \`downloaded\` are on disk; any other status says why the file is missing, and you must not claim to have used it.
12847
+ Open \`.wix/agentInput/userAttachments.json\` with \`read\` - not \`glob\` or \`grep\`: \`.wix/\` is git-ignored, so they never list it. If it exists, the user uploaded files to the assistant. Its \`userAttachments\` list gives each file's \`fileName\` (as the user named it), \`path\` (under \`.wix/agentInput/attachments/\`), \`mimeType\`, \`sizeBytes\`, \`status\` and \`fromThisRequest\`: \`true\` for a file uploaded with this request, \`false\` for one from an earlier message. Only files with \`status\` \`downloaded\` are on disk; any other status says why the file is missing, and you must not claim to have used it.
12848
12848
 
12849
12849
  - Read the files of this request that it refers to before you write any code. When it doesn't say which, read all of this request's files.
12850
12850
  - Use a file from an earlier message only when the request refers to it, by name or as something the user sent before. Never let an earlier file steer a request that doesn't mention it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.495",
3
+ "version": "1.0.496",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -29,5 +29,5 @@
29
29
  "esbuild": "^0.27.2",
30
30
  "vitest": "^4.0.16"
31
31
  },
32
- "falconPackageHash": "c0f88e604513b3e01f11a661457171ff29aef7551a6dfb3393c582de"
32
+ "falconPackageHash": "f6d543aeb448679152ce96cdffe2177794944683fc278598d905fb0d"
33
33
  }