@innovastudio/contentbuilder 1.5.217 → 1.5.218

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/index.d.ts CHANGED
@@ -272,6 +272,15 @@ interface ContentBuilderOptions {
272
272
  headers?: { [key: string]: string };
273
273
 
274
274
  defaultImageGenerationProvider?: string;
275
+
276
+ /* 3D asset generation (image-to-3D). Rides the same provider endpoints
277
+ as image generation; presence of models3D enables the Code Chat tool. */
278
+ default3DGenerationProvider?: string;
279
+ models3D?: { id: string; label?: string }[];
280
+
281
+ /* Let Code Chat screenshot a 3D scene it built and correct it before
282
+ answering. Off by default; needs a code model that reads images. */
283
+ renderSelfCheck?: boolean;
275
284
  imageModel?: string;
276
285
  imageSize?: string;
277
286
  imageGenerationModels?: any[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@innovastudio/contentbuilder",
4
- "version": "1.5.217",
4
+ "version": "1.5.218",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -62,10 +62,14 @@
62
62
  "webpack-dev-server": "^4.2.1"
63
63
  },
64
64
  "dependencies": {
65
+ "@gltf-transform/core": "^4.5.0",
66
+ "@gltf-transform/extensions": "^4.5.0",
67
+ "@gltf-transform/functions": "^4.5.0",
65
68
  "@monaco-editor/loader": "^1.6.1",
66
69
  "cropperjs": "^1.5.12",
67
70
  "js-beautify": "^1.14.0",
68
71
  "marked": "^17.0.0",
72
+ "meshoptimizer": "^1.2.0",
69
73
  "sortablejs": "^1.15.2"
70
74
  }
71
75
  }