@wix/ditto-codegen-public 1.0.501 → 1.0.503
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 +22 -0
- package/dist/out.js +2 -1
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# @wix/ditto-codegen-public
|
|
2
|
+
|
|
3
|
+
Standalone, publishable build of codegen (`@wix/ditto-codegen`): a single esbuild bundle (`dist/out.js`, exposed as the package `bin`) plus the static files codegen reads at runtime. This is the artifact the codegen installer and preview flows consume.
|
|
4
|
+
|
|
5
|
+
## Build (`yarn build` -> `node build.mjs`)
|
|
6
|
+
|
|
7
|
+
1. Cleans `dist/` and `assets/`.
|
|
8
|
+
2. Copies `../codegen/src/opencode-integration/opencode-tools` (always-on tools and the `env-tools/` subdir) to `dist/opencode-tools`.
|
|
9
|
+
3. Copies the `assets/` dir of every workspace package matching `codegen-*-plugin*` (the checkpoint and feature-vibe plugins) into one flat `assets/` dir. Plugin factories read these via `__dirname/../assets/`, which resolves to this package's `assets/` once bundled. Same-named files from different plugins overwrite each other.
|
|
10
|
+
4. Bundles `dist/index.js` of `../codegen` (so `@wix/ditto-codegen` must be built first, via turbo) into `dist/out.js` for Node 22 with `esbuild` kept external. `SKILLS_OVERRIDE_BRANCH`, if set at build time, is baked in.
|
|
11
|
+
|
|
12
|
+
Published files: `dist` and `assets`.
|
|
13
|
+
|
|
14
|
+
## Tests (`yarn test`, runs after build via `turbo.json`)
|
|
15
|
+
|
|
16
|
+
- `test/bundle-startup.test.mjs` boots the bundled CLI for `STUDIO_2` and checks the generated plugins and tools.
|
|
17
|
+
- `test/pack-install.e2e.test.mjs` packs the package, installs the tarball in a sandbox and checks the shipped layout.
|
|
18
|
+
|
|
19
|
+
## Related
|
|
20
|
+
|
|
21
|
+
- `packages/codegen/local-preview.sh` builds and uploads this package for preview runs.
|
|
22
|
+
- [packages/codegen/docs/plugins.md](../codegen/docs/plugins.md) describes plugin asset bundling.
|
package/dist/out.js
CHANGED
|
@@ -14608,7 +14608,7 @@ var require_model_knobs = __commonJS({
|
|
|
14608
14608
|
exports2.getSmallReasoningEffort = getSmallReasoningEffort;
|
|
14609
14609
|
exports2.hasSmallReasoningEffortOverride = hasSmallReasoningEffortOverride;
|
|
14610
14610
|
exports2.getOpenAiServiceTier = getOpenAiServiceTier;
|
|
14611
|
-
exports2.DEFAULT_MODEL = "openai/gpt-6-sol";
|
|
14611
|
+
exports2.DEFAULT_MODEL = "openai/gpt-6.1-sol";
|
|
14612
14612
|
exports2.DEFAULT_SMALL_MODEL = "openai/gpt-6-luna";
|
|
14613
14613
|
var DEFAULT_REASONING_EFFORT = "low";
|
|
14614
14614
|
var SMALL_MODEL_REASONING_EFFORT = "medium";
|
|
@@ -15438,6 +15438,7 @@ When done, summarize each error: message, file, root cause, fix. No diffs.`;
|
|
|
15438
15438
|
"openai/gpt-5.6-terra": ["xhigh", "high", "medium", "low"],
|
|
15439
15439
|
"openai/gpt-6-astra": ["xhigh", "high", "medium", "low"],
|
|
15440
15440
|
"openai/gpt-6-sol": ["xhigh", "high", "medium", "low"],
|
|
15441
|
+
"openai/gpt-6.1-sol": ["xhigh", "high", "medium", "low"],
|
|
15441
15442
|
"openai/gpt-6-luna": ["xhigh", "high", "medium", "low"]
|
|
15442
15443
|
};
|
|
15443
15444
|
function agentModel(model, opts = {}) {
|
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.503",
|
|
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": "
|
|
32
|
+
"falconPackageHash": "d965932418695e3e0db9ffd3b44d18df666b2dd1ea1c338dea0d5493"
|
|
33
33
|
}
|