@volter/editor-blender 0.1.82 → 0.1.84

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.
@@ -249,8 +249,17 @@ export default function BlenderModelDocument(props: ToolContributionProps) {
249
249
  starting = false;
250
250
  }
251
251
  };
252
- const unsubscribe = documents.subscribe(() => { void open(); });
253
- void open();
252
+ // Opening publishes context to other React roots. Start outside this
253
+ // effect (or a host activation listener's synchronous notification stack)
254
+ // so those roots cannot synchronously commit through a pending commit here.
255
+ let queued = false;
256
+ const requestOpen = () => {
257
+ if (cancelled || queued) return;
258
+ queued = true;
259
+ queueMicrotask(() => { queued = false; void open(); });
260
+ };
261
+ const unsubscribe = documents.subscribe(requestOpen);
262
+ requestOpen();
254
263
  return () => {
255
264
  cancelled = true;
256
265
  unsubscribe();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@volter/editor-blender",
3
3
  "author": "Volter AI, Inc.",
4
4
  "license": "AGPL-3.0-only AND GPL-3.0-or-later",
5
- "version": "0.1.82",
5
+ "version": "0.1.84",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -70,14 +70,14 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@modelcontextprotocol/sdk": "1.30.0",
73
- "@volter/blender-engine": "0.1.80",
74
- "@volter/editor-threejs": "0.5.142",
73
+ "@volter/blender-engine": "0.1.82",
74
+ "@volter/editor-threejs": "0.5.144",
75
75
  "zod": "^4.3.6"
76
76
  },
77
77
  "peerDependencies": {
78
- "@volter/editor-live": "0.5.142",
79
- "@volter/editor-project": "0.5.142",
80
- "@volter/editor-sdk": "0.5.142",
78
+ "@volter/editor-live": "0.5.144",
79
+ "@volter/editor-project": "0.5.144",
80
+ "@volter/editor-sdk": "0.5.144",
81
81
  "react": "^19.0.0",
82
82
  "react-dom": "^19.0.0",
83
83
  "three": "^0.180.0",