@innovastudio/contentbox 1.6.199 → 1.6.200

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
@@ -386,6 +386,15 @@ interface ContentBoxOptions {
386
386
  onStartRequest?: () => void;
387
387
 
388
388
  defaultImageGenerationProvider?: string;
389
+
390
+ /* 3D asset generation (image-to-3D). Rides the same provider endpoints
391
+ as image generation; presence of models3D enables the Code Chat tool. */
392
+ default3DGenerationProvider?: string;
393
+ models3D?: { id: string; label?: string }[];
394
+
395
+ /* Let Code Chat screenshot a 3D scene it built and correct it before
396
+ answering. Off by default; needs a code model that reads images. */
397
+ renderSelfCheck?: boolean;
389
398
  imageModel?: string;
390
399
  imageSize?: string;
391
400
  imageGenerationModels?: any[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@innovastudio/contentbox",
4
- "version": "1.6.199",
4
+ "version": "1.6.200",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",
@@ -68,9 +68,13 @@
68
68
  "ws": "^8.13.0"
69
69
  },
70
70
  "dependencies": {
71
- "@innovastudio/contentbuilder": "^1.5.217",
71
+ "@gltf-transform/core": "^4.5.0",
72
+ "@gltf-transform/extensions": "^4.5.0",
73
+ "@gltf-transform/functions": "^4.5.0",
74
+ "@innovastudio/contentbuilder": "^1.5.218",
72
75
  "js-beautify": "^1.14.0",
73
76
  "marked": "^17.0.0",
77
+ "meshoptimizer": "^1.2.0",
74
78
  "sortablejs": "^1.15.2"
75
79
  }
76
80
  }
@@ -1866,9 +1866,6 @@ body.controlpanel .is-wrapper {
1866
1866
  box-shadow: 6px 14px 20px 0px rgba(95, 95, 95, 0.08);
1867
1867
  }
1868
1868
 
1869
- .snippet-item {
1870
- cursor: move !important;
1871
- }
1872
1869
  .snippet-item.sortable-chosen {
1873
1870
  height: auto;
1874
1871
  }