@holoscript/core 8.0.1 → 8.0.3

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 (48) hide show
  1. package/bin/holoscript.cjs +0 -0
  2. package/dist/{GLTFPipeline-P3WMNYCN.js → GLTFPipeline-PN3DN6FO.js} +5 -5
  3. package/dist/{GLTFPipeline-N6B6PJ6G.cjs → GLTFPipeline-W45UOCNY.cjs} +9 -9
  4. package/dist/HoloScriptRuntime-ACDFKVVH.js +10 -0
  5. package/dist/{HoloScriptRuntime-VJ374RER.cjs → HoloScriptRuntime-ON2OQVEF.cjs} +5 -5
  6. package/dist/{chunk-CR7XRXRN.cjs → chunk-33AZRKKQ.cjs} +5 -5
  7. package/dist/{chunk-BGY3SDG3.js → chunk-37ZNYWWW.js} +24 -3
  8. package/dist/{chunk-X3UVCWNL.cjs → chunk-5PLWAEQQ.cjs} +8 -8
  9. package/dist/{chunk-MQWAT42R.cjs → chunk-6DO5IZ5N.cjs} +41 -44
  10. package/dist/{chunk-K574J76X.cjs → chunk-6S5VS7BF.cjs} +3 -3
  11. package/dist/{chunk-YVOAF4ML.js → chunk-DHXLCJJN.js} +3 -3
  12. package/dist/{chunk-HR2OSYVQ.js → chunk-DXWOTOUK.js} +3 -3
  13. package/dist/{chunk-KHDZJE5D.cjs → chunk-ELEHNDDS.cjs} +5 -5
  14. package/dist/{chunk-SMIWS6DE.cjs → chunk-IELX2OKI.js} +118 -7
  15. package/dist/{chunk-7T25IEZ2.js → chunk-JYTTPNKK.js} +3 -3
  16. package/dist/{chunk-FL33V6U7.js → chunk-MVPBWHAC.js} +3 -3
  17. package/dist/{chunk-JIBL5LRK.js → chunk-QACVP4PM.js} +24 -7
  18. package/dist/{chunk-4GU5GCIY.js → chunk-QRPRIJ2W.js} +145 -4
  19. package/dist/{chunk-J52VSAQ7.js → chunk-QSCGZ4DW.js} +3 -3
  20. package/dist/{chunk-E6XXE66V.js → chunk-RLLNOI3T.js} +3 -3
  21. package/dist/{chunk-AOVGZ25K.cjs → chunk-SMRVK6BI.cjs} +5 -5
  22. package/dist/{chunk-7V4JI5TB.cjs → chunk-U5GLSXSD.cjs} +6 -6
  23. package/dist/{chunk-6Q7RC2MK.cjs → chunk-UPXIY52O.cjs} +147 -3
  24. package/dist/{chunk-L5LKKENW.cjs → chunk-UWXE23BT.cjs} +4 -4
  25. package/dist/{chunk-ALC6K7GL.cjs → chunk-VDDJUO4G.cjs} +28 -7
  26. package/dist/{chunk-CSD27UNQ.js → chunk-XF3AATZJ.js} +5 -5
  27. package/dist/{chunk-RARB3MBR.js → chunk-YDPEHCCI.cjs} +127 -3
  28. package/dist/compiler/gltf-pipeline.cjs +8 -8
  29. package/dist/compiler/gltf-pipeline.js +1 -1
  30. package/dist/compiler/index.cjs +41 -41
  31. package/dist/compiler/index.js +7 -7
  32. package/dist/compiler/r3f.cjs +8 -8
  33. package/dist/compiler/r3f.js +3 -3
  34. package/dist/debugger.cjs +5 -5
  35. package/dist/debugger.js +3 -3
  36. package/dist/index.cjs +305 -397
  37. package/dist/index.js +12 -104
  38. package/dist/reconstruction/index.cjs +31 -31
  39. package/dist/reconstruction/index.js +2 -2
  40. package/dist/runtime.cjs +150 -293
  41. package/dist/runtime.js +82 -23
  42. package/dist/traits/botanical-lotus.cjs +60 -44
  43. package/dist/traits/botanical-lotus.js +2 -2
  44. package/dist/traits/index.cjs +481 -465
  45. package/dist/traits/index.js +5 -5
  46. package/package.json +66 -65
  47. package/LICENSE +0 -21
  48. package/dist/HoloScriptRuntime-CBYJX3LZ.js +0 -10
@@ -1,3 +1,8 @@
1
+ 'use strict';
2
+
3
+ var module$1 = require('module');
4
+
5
+ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
1
6
  // src/events/EventBus.ts
2
7
  var EventBus = class {
3
8
  constructor() {
@@ -201,7 +206,126 @@ var TelemetryRegistry = class {
201
206
  }
202
207
  };
203
208
  var telemetry = new TelemetryRegistry();
209
+ var _requirePeer;
210
+ function requirePeer(specifier) {
211
+ if (!_requirePeer) {
212
+ if (typeof module$1.createRequire !== "function") {
213
+ throw new Error(
214
+ "@holoscript/core: optional peer symbols require a Node.js environment (`createRequire` is unavailable in this bundle). The core parser and compiler surface work without the optional peers."
215
+ );
216
+ }
217
+ _requirePeer = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-YDPEHCCI.cjs', document.baseURI).href)));
218
+ }
219
+ return _requirePeer(specifier);
220
+ }
221
+ var peerCache = /* @__PURE__ */ new Map();
222
+ function loadPeer(specifier) {
223
+ const cached = peerCache.get(specifier);
224
+ if (cached) return cached;
225
+ let mod;
226
+ try {
227
+ mod = requirePeer(specifier);
228
+ } catch (err) {
229
+ const e = err;
230
+ const pkg = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
231
+ if (e && (e.code === "ERR_MODULE_NOT_FOUND" || e.code === "MODULE_NOT_FOUND")) {
232
+ throw new Error(
233
+ `@holoscript/core: optional peer "${pkg}" is required to use this symbol but is not installed. Run \`npm install ${pkg}\` (or your package manager's equivalent) to enable it. The core parser and compiler surface work without it.`
234
+ );
235
+ }
236
+ throw err;
237
+ }
238
+ peerCache.set(specifier, mod);
239
+ return mod;
240
+ }
241
+ function resolveSymbol(specifier, name) {
242
+ const mod = loadPeer(specifier);
243
+ if (!(name in mod)) {
244
+ const pkg = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
245
+ throw new Error(
246
+ `@holoscript/core: symbol "${name}" was not found in optional peer "${specifier}" (package "${pkg}"). The installed peer version may be incompatible with this @holoscript/core release.`
247
+ );
248
+ }
249
+ return mod[name];
250
+ }
251
+ function lazyPeerSymbol(specifier, name) {
252
+ const target = function lazyPeerProxyTarget() {
253
+ };
254
+ let resolved;
255
+ const real = () => {
256
+ if (resolved === void 0) resolved = resolveSymbol(specifier, name);
257
+ return resolved;
258
+ };
259
+ const tryReal = () => {
260
+ try {
261
+ return real();
262
+ } catch {
263
+ return void 0;
264
+ }
265
+ };
266
+ return new Proxy(target, {
267
+ apply(_t, thisArg, args) {
268
+ return Reflect.apply(real(), thisArg, args);
269
+ },
270
+ construct(_t, args, newTarget) {
271
+ return Reflect.construct(real(), args, newTarget);
272
+ },
273
+ get(_t, prop) {
274
+ const r = tryReal();
275
+ if (r == null) return Reflect.get(_t, prop);
276
+ const v = Reflect.get(r, prop, r);
277
+ return typeof v === "function" ? v.bind(r) : v;
278
+ },
279
+ has(_t, prop) {
280
+ const r = tryReal();
281
+ return Reflect.has(r ?? _t, prop);
282
+ },
283
+ getPrototypeOf(_t) {
284
+ const r = tryReal();
285
+ return Reflect.getPrototypeOf(r ?? _t);
286
+ },
287
+ // ownKeys / getOwnPropertyDescriptor MUST satisfy Proxy invariants (the
288
+ // function target has a non-configurable `prototype` key), so on resolution
289
+ // failure delegate to the TARGET — never return [] / undefined, which throws.
290
+ ownKeys(_t) {
291
+ const r = tryReal();
292
+ return Reflect.ownKeys(r ?? _t);
293
+ },
294
+ getOwnPropertyDescriptor(_t, prop) {
295
+ const r = tryReal();
296
+ return Reflect.getOwnPropertyDescriptor(r ?? _t, prop);
297
+ }
298
+ });
299
+ }
300
+ function definePeerNamespace(specifier) {
301
+ return new Proxy(
302
+ {},
303
+ {
304
+ get(_t, prop) {
305
+ if (typeof prop !== "string") return void 0;
306
+ return loadPeer(specifier)[prop];
307
+ },
308
+ has(_t, prop) {
309
+ return typeof prop === "string" && prop in loadPeer(specifier);
310
+ },
311
+ ownKeys() {
312
+ return Reflect.ownKeys(loadPeer(specifier));
313
+ },
314
+ getOwnPropertyDescriptor(_t, prop) {
315
+ if (typeof prop !== "string") return void 0;
316
+ const mod = loadPeer(specifier);
317
+ if (!(prop in mod)) return void 0;
318
+ return { enumerable: true, configurable: true, value: mod[prop] };
319
+ }
320
+ }
321
+ );
322
+ }
204
323
 
205
- export { EventBus, getSharedEventBus, setSharedEventBus, telemetry };
206
- //# sourceMappingURL=chunk-RARB3MBR.js.map
207
- //# sourceMappingURL=chunk-RARB3MBR.js.map
324
+ exports.EventBus = EventBus;
325
+ exports.definePeerNamespace = definePeerNamespace;
326
+ exports.getSharedEventBus = getSharedEventBus;
327
+ exports.lazyPeerSymbol = lazyPeerSymbol;
328
+ exports.setSharedEventBus = setSharedEventBus;
329
+ exports.telemetry = telemetry;
330
+ //# sourceMappingURL=chunk-YDPEHCCI.cjs.map
331
+ //# sourceMappingURL=chunk-YDPEHCCI.cjs.map
@@ -2,38 +2,38 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkK574J76X_cjs = require('../chunk-K574J76X.cjs');
5
+ var chunk6S5VS7BF_cjs = require('../chunk-6S5VS7BF.cjs');
6
6
  require('../chunk-HCCQLAA4.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "GLTF_PIPELINE_TOOLS", {
11
11
  enumerable: true,
12
- get: function () { return chunkK574J76X_cjs.GLTF_PIPELINE_TOOLS; }
12
+ get: function () { return chunk6S5VS7BF_cjs.GLTF_PIPELINE_TOOLS; }
13
13
  });
14
14
  Object.defineProperty(exports, "analyzeOptimizations", {
15
15
  enumerable: true,
16
- get: function () { return chunkK574J76X_cjs.analyzeOptimizations; }
16
+ get: function () { return chunk6S5VS7BF_cjs.analyzeOptimizations; }
17
17
  });
18
18
  Object.defineProperty(exports, "default", {
19
19
  enumerable: true,
20
- get: function () { return chunkK574J76X_cjs.GLTFPipelineMCPTool_default; }
20
+ get: function () { return chunk6S5VS7BF_cjs.GLTFPipelineMCPTool_default; }
21
21
  });
22
22
  Object.defineProperty(exports, "handleGLTFToolCall", {
23
23
  enumerable: true,
24
- get: function () { return chunkK574J76X_cjs.handleGLTFToolCall; }
24
+ get: function () { return chunk6S5VS7BF_cjs.handleGLTFToolCall; }
25
25
  });
26
26
  Object.defineProperty(exports, "inspectComposition", {
27
27
  enumerable: true,
28
- get: function () { return chunkK574J76X_cjs.inspectComposition; }
28
+ get: function () { return chunk6S5VS7BF_cjs.inspectComposition; }
29
29
  });
30
30
  Object.defineProperty(exports, "registerGLTFTools", {
31
31
  enumerable: true,
32
- get: function () { return chunkK574J76X_cjs.registerGLTFTools; }
32
+ get: function () { return chunk6S5VS7BF_cjs.registerGLTFTools; }
33
33
  });
34
34
  Object.defineProperty(exports, "validateForGLTF", {
35
35
  enumerable: true,
36
- get: function () { return chunkK574J76X_cjs.validateForGLTF; }
36
+ get: function () { return chunk6S5VS7BF_cjs.validateForGLTF; }
37
37
  });
38
38
  //# sourceMappingURL=gltf-pipeline.cjs.map
39
39
  //# sourceMappingURL=gltf-pipeline.cjs.map
@@ -1,4 +1,4 @@
1
- export { GLTF_PIPELINE_TOOLS, analyzeOptimizations, GLTFPipelineMCPTool_default as default, handleGLTFToolCall, inspectComposition, registerGLTFTools, validateForGLTF } from '../chunk-7T25IEZ2.js';
1
+ export { GLTF_PIPELINE_TOOLS, analyzeOptimizations, GLTFPipelineMCPTool_default as default, handleGLTFToolCall, inspectComposition, registerGLTFTools, validateForGLTF } from '../chunk-JYTTPNKK.js';
2
2
  import '../chunk-OL46QLBJ.js';
3
3
  //# sourceMappingURL=gltf-pipeline.js.map
4
4
  //# sourceMappingURL=gltf-pipeline.js.map
@@ -3,18 +3,18 @@
3
3
  var chunkVJ3L7CHT_cjs = require('../chunk-VJ3L7CHT.cjs');
4
4
  var chunkOBIYPYYS_cjs = require('../chunk-OBIYPYYS.cjs');
5
5
  var chunkXIVIE43A_cjs = require('../chunk-XIVIE43A.cjs');
6
- var chunkK574J76X_cjs = require('../chunk-K574J76X.cjs');
6
+ var chunk6S5VS7BF_cjs = require('../chunk-6S5VS7BF.cjs');
7
7
  var chunk7H33U5SM_cjs = require('../chunk-7H33U5SM.cjs');
8
8
  var chunkS6YWHCKV_cjs = require('../chunk-S6YWHCKV.cjs');
9
9
  var chunkYN6V7R3L_cjs = require('../chunk-YN6V7R3L.cjs');
10
- var chunk7V4JI5TB_cjs = require('../chunk-7V4JI5TB.cjs');
10
+ var chunkU5GLSXSD_cjs = require('../chunk-U5GLSXSD.cjs');
11
11
  var chunkEXUP2BUM_cjs = require('../chunk-EXUP2BUM.cjs');
12
12
  var chunk5WUNN6ZN_cjs = require('../chunk-5WUNN6ZN.cjs');
13
13
  require('../chunk-JC5YBPSF.cjs');
14
14
  var chunkBRQJKJGT_cjs = require('../chunk-BRQJKJGT.cjs');
15
15
  var chunkI6XZ5DZF_cjs = require('../chunk-I6XZ5DZF.cjs');
16
16
  var chunkXUILI4KB_cjs = require('../chunk-XUILI4KB.cjs');
17
- var chunkAOVGZ25K_cjs = require('../chunk-AOVGZ25K.cjs');
17
+ var chunkSMRVK6BI_cjs = require('../chunk-SMRVK6BI.cjs');
18
18
  require('../chunk-GMP623FG.cjs');
19
19
  var chunkCIWWXYHZ_cjs = require('../chunk-CIWWXYHZ.cjs');
20
20
  require('../chunk-3FOKASKO.cjs');
@@ -33,9 +33,9 @@ var chunk3WZEJHUQ_cjs = require('../chunk-3WZEJHUQ.cjs');
33
33
  var chunkFYSPZT4V_cjs = require('../chunk-FYSPZT4V.cjs');
34
34
  var chunkAVJHHUC5_cjs = require('../chunk-AVJHHUC5.cjs');
35
35
  var chunk5NWINHR5_cjs = require('../chunk-5NWINHR5.cjs');
36
- var chunkALC6K7GL_cjs = require('../chunk-ALC6K7GL.cjs');
36
+ var chunkVDDJUO4G_cjs = require('../chunk-VDDJUO4G.cjs');
37
37
  require('../chunk-UOIGFQXC.cjs');
38
- require('../chunk-6Q7RC2MK.cjs');
38
+ require('../chunk-UPXIY52O.cjs');
39
39
  var chunkYWOBW2PV_cjs = require('../chunk-YWOBW2PV.cjs');
40
40
  var chunkKQCN6AKJ_cjs = require('../chunk-KQCN6AKJ.cjs');
41
41
  var chunkHNDK4IQU_cjs = require('../chunk-HNDK4IQU.cjs');
@@ -1373,7 +1373,7 @@ function registerBuiltinDialects() {
1373
1373
  ],
1374
1374
  riskTier: "standard",
1375
1375
  factory: (opts) => {
1376
- const { R3FCompiler: R3FCompiler2 } = (chunkALC6K7GL_cjs.init_R3FCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunkALC6K7GL_cjs.R3FCompiler_exports));
1376
+ const { R3FCompiler: R3FCompiler2 } = (chunkVDDJUO4G_cjs.init_R3FCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunkVDDJUO4G_cjs.R3FCompiler_exports));
1377
1377
  return new R3FCompiler2(opts);
1378
1378
  },
1379
1379
  outputExtensions: [".tsx", ".jsx"]
@@ -1427,7 +1427,7 @@ function registerBuiltinDialects() {
1427
1427
  ],
1428
1428
  riskTier: "standard",
1429
1429
  factory: (opts) => {
1430
- const { ThreeJSCompiler } = (chunk7V4JI5TB_cjs.init_ThreeJSCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunk7V4JI5TB_cjs.ThreeJSCompiler_exports));
1430
+ const { ThreeJSCompiler } = (chunkU5GLSXSD_cjs.init_ThreeJSCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunkU5GLSXSD_cjs.ThreeJSCompiler_exports));
1431
1431
  return new ThreeJSCompiler(opts);
1432
1432
  },
1433
1433
  outputExtensions: [".ts"]
@@ -1623,7 +1623,7 @@ function registerBuiltinDialects() {
1623
1623
  supportedTraits: ["agent", "skill", "capability"],
1624
1624
  riskTier: "standard",
1625
1625
  factory: (opts) => {
1626
- const { A2AAgentCardCompiler } = (chunk7V4JI5TB_cjs.init_A2AAgentCardCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunk7V4JI5TB_cjs.A2AAgentCardCompiler_exports));
1626
+ const { A2AAgentCardCompiler } = (chunkU5GLSXSD_cjs.init_A2AAgentCardCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunkU5GLSXSD_cjs.A2AAgentCardCompiler_exports));
1627
1627
  return new A2AAgentCardCompiler(opts);
1628
1628
  },
1629
1629
  outputExtensions: [".json"]
@@ -1635,7 +1635,7 @@ function registerBuiltinDialects() {
1635
1635
  supportedTraits: ["snn", "neuron", "synapse", "spike_train"],
1636
1636
  riskTier: "high",
1637
1637
  factory: (opts) => {
1638
- const { NIRCompiler } = (chunk7V4JI5TB_cjs.init_NIRCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunk7V4JI5TB_cjs.NIRCompiler_exports));
1638
+ const { NIRCompiler } = (chunkU5GLSXSD_cjs.init_NIRCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunkU5GLSXSD_cjs.NIRCompiler_exports));
1639
1639
  return new NIRCompiler(opts);
1640
1640
  },
1641
1641
  outputExtensions: [".json"]
@@ -1659,7 +1659,7 @@ function registerBuiltinDialects() {
1659
1659
  supportedTraits: ["layout", "style", "animation", "interaction"],
1660
1660
  riskTier: "standard",
1661
1661
  factory: (opts) => {
1662
- const { Native2DCompiler: Native2DCompiler2 } = (chunk7V4JI5TB_cjs.init_Native2DCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunk7V4JI5TB_cjs.Native2DCompiler_exports));
1662
+ const { Native2DCompiler: Native2DCompiler2 } = (chunkU5GLSXSD_cjs.init_Native2DCompiler(), chunkHCCQLAA4_cjs.__toCommonJS(chunkU5GLSXSD_cjs.Native2DCompiler_exports));
1663
1663
  return new Native2DCompiler2(opts);
1664
1664
  },
1665
1665
  outputExtensions: [".tsx", ".html"]
@@ -1880,7 +1880,7 @@ var init_DialectRegistry = chunkHCCQLAA4_cjs.__esm({
1880
1880
  // src/compiler/index.ts
1881
1881
  chunkKKP7JKN4_cjs.init_CompilerBase();
1882
1882
  chunkKKP7JKN4_cjs.init_CompilerDocumentationGenerator();
1883
- chunkALC6K7GL_cjs.init_R3FCompiler();
1883
+ chunkVDDJUO4G_cjs.init_R3FCompiler();
1884
1884
  chunkTWUXUCEW_cjs.init_UnityCompiler();
1885
1885
  chunk5NWINHR5_cjs.init_GodotCompiler();
1886
1886
  chunkROHLEP2W_cjs.init_BabylonCompiler();
@@ -1903,7 +1903,7 @@ chunk3WZEJHUQ_cjs.init_StateCompiler();
1903
1903
 
1904
1904
  // src/compiler/NextJSCompiler.ts
1905
1905
  chunkKKP7JKN4_cjs.init_CompilerBase();
1906
- chunk7V4JI5TB_cjs.init_Native2DCompiler();
1906
+ chunkU5GLSXSD_cjs.init_Native2DCompiler();
1907
1907
  function findTrait(composition, traitName) {
1908
1908
  const traits = composition.traits;
1909
1909
  if (!traits) return null;
@@ -1941,7 +1941,7 @@ var NextJSCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
1941
1941
  }
1942
1942
  }
1943
1943
  buildNextRoute(composition) {
1944
- const compiler = new chunk7V4JI5TB_cjs.Native2DCompiler();
1944
+ const compiler = new chunkU5GLSXSD_cjs.Native2DCompiler();
1945
1945
  const pageTrait = findTrait(composition, "page");
1946
1946
  const metaTrait = findTrait(composition, "metadata");
1947
1947
  const route = pageTrait?.route || `/${composition.name.toLowerCase().replace(/\s+/g, "-")}`;
@@ -2225,7 +2225,7 @@ exports.DialectRegistry.register({
2225
2225
 
2226
2226
  // src/compiler/index.ts
2227
2227
  chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
2228
- chunk7V4JI5TB_cjs.init_Native2DCompiler();
2228
+ chunkU5GLSXSD_cjs.init_Native2DCompiler();
2229
2229
 
2230
2230
  // src/compiler/SCMCompiler.ts
2231
2231
  chunkKKP7JKN4_cjs.init_CompilerBase();
@@ -4616,8 +4616,8 @@ function queryTrait(name, opts = {}) {
4616
4616
  return { name, exists: false, sourceMap: "VisionOSTraitMap" };
4617
4617
  }
4618
4618
  const normalised = normaliseTraitName(name);
4619
- if (chunkAOVGZ25K_cjs.vrTraitRegistry.has(normalised)) {
4620
- const handler = chunkAOVGZ25K_cjs.vrTraitRegistry.getHandler(normalised);
4619
+ if (chunkSMRVK6BI_cjs.vrTraitRegistry.has(normalised)) {
4620
+ const handler = chunkSMRVK6BI_cjs.vrTraitRegistry.getHandler(normalised);
4621
4621
  const doc2 = chunk5FSKKMR7_cjs.getTraitDoc(name);
4622
4622
  return {
4623
4623
  name,
@@ -4676,7 +4676,7 @@ function listTraitsForTarget(target) {
4676
4676
  if (target === "core") {
4677
4677
  const seen = /* @__PURE__ */ new Set();
4678
4678
  const result = [];
4679
- for (const name of chunkAOVGZ25K_cjs.vrTraitRegistry.getRegisteredTraits()) {
4679
+ for (const name of chunkSMRVK6BI_cjs.vrTraitRegistry.getRegisteredTraits()) {
4680
4680
  const norm = normaliseTraitName(name);
4681
4681
  if (!seen.has(norm)) {
4682
4682
  seen.add(norm);
@@ -4696,7 +4696,7 @@ function listTraitsForTarget(target) {
4696
4696
  }
4697
4697
  function traitExists(name) {
4698
4698
  const normalised = normaliseTraitName(name);
4699
- if (chunkAOVGZ25K_cjs.vrTraitRegistry.has(normalised)) {
4699
+ if (chunkSMRVK6BI_cjs.vrTraitRegistry.has(normalised)) {
4700
4700
  return true;
4701
4701
  }
4702
4702
  const doc = chunk5FSKKMR7_cjs.getTraitDoc(name);
@@ -5078,11 +5078,11 @@ Object.defineProperty(exports, "createLLMProviderCapabilitiesCompiler", {
5078
5078
  });
5079
5079
  Object.defineProperty(exports, "GLTF_PIPELINE_TOOLS", {
5080
5080
  enumerable: true,
5081
- get: function () { return chunkK574J76X_cjs.GLTF_PIPELINE_TOOLS; }
5081
+ get: function () { return chunk6S5VS7BF_cjs.GLTF_PIPELINE_TOOLS; }
5082
5082
  });
5083
5083
  Object.defineProperty(exports, "registerGLTFTools", {
5084
5084
  enumerable: true,
5085
- get: function () { return chunkK574J76X_cjs.registerGLTFTools; }
5085
+ get: function () { return chunk6S5VS7BF_cjs.registerGLTFTools; }
5086
5086
  });
5087
5087
  Object.defineProperty(exports, "BUSINESS_QUEST_TOOLS", {
5088
5088
  enumerable: true,
@@ -5126,79 +5126,79 @@ Object.defineProperty(exports, "QuantumCircuitCompiler", {
5126
5126
  });
5127
5127
  Object.defineProperty(exports, "CompilerBridge", {
5128
5128
  enumerable: true,
5129
- get: function () { return chunk7V4JI5TB_cjs.CompilerBridge; }
5129
+ get: function () { return chunkU5GLSXSD_cjs.CompilerBridge; }
5130
5130
  });
5131
5131
  Object.defineProperty(exports, "GaussianSplattingCompiler", {
5132
5132
  enumerable: true,
5133
- get: function () { return chunk7V4JI5TB_cjs.GaussianSplattingCompiler; }
5133
+ get: function () { return chunkU5GLSXSD_cjs.GaussianSplattingCompiler; }
5134
5134
  });
5135
5135
  Object.defineProperty(exports, "Native2DCompiler", {
5136
5136
  enumerable: true,
5137
- get: function () { return chunk7V4JI5TB_cjs.Native2DCompiler; }
5137
+ get: function () { return chunkU5GLSXSD_cjs.Native2DCompiler; }
5138
5138
  });
5139
5139
  Object.defineProperty(exports, "SHARED_SORT_SHADER_PATH", {
5140
5140
  enumerable: true,
5141
- get: function () { return chunk7V4JI5TB_cjs.SHARED_SORT_SHADER_PATH; }
5141
+ get: function () { return chunkU5GLSXSD_cjs.SHARED_SORT_SHADER_PATH; }
5142
5142
  });
5143
5143
  Object.defineProperty(exports, "SpatialPartitionPass", {
5144
5144
  enumerable: true,
5145
- get: function () { return chunk7V4JI5TB_cjs.SpatialPartitionPass; }
5145
+ get: function () { return chunkU5GLSXSD_cjs.SpatialPartitionPass; }
5146
5146
  });
5147
5147
  Object.defineProperty(exports, "USDZPipeline", {
5148
5148
  enumerable: true,
5149
- get: function () { return chunk7V4JI5TB_cjs.USDZPipeline; }
5149
+ get: function () { return chunkU5GLSXSD_cjs.USDZPipeline; }
5150
5150
  });
5151
5151
  Object.defineProperty(exports, "bestCategoryForTraits", {
5152
5152
  enumerable: true,
5153
- get: function () { return chunk7V4JI5TB_cjs.bestCategoryForTraits; }
5153
+ get: function () { return chunkU5GLSXSD_cjs.bestCategoryForTraits; }
5154
5154
  });
5155
5155
  Object.defineProperty(exports, "compilePipelineSource", {
5156
5156
  enumerable: true,
5157
- get: function () { return chunk7V4JI5TB_cjs.compilePipelineSource; }
5157
+ get: function () { return chunkU5GLSXSD_cjs.compilePipelineSource; }
5158
5158
  });
5159
5159
  Object.defineProperty(exports, "compilePipelineSourceToNode", {
5160
5160
  enumerable: true,
5161
- get: function () { return chunk7V4JI5TB_cjs.compilePipelineSourceToNode; }
5161
+ get: function () { return chunkU5GLSXSD_cjs.compilePipelineSourceToNode; }
5162
5162
  });
5163
5163
  Object.defineProperty(exports, "compilePipelineSourceToPython", {
5164
5164
  enumerable: true,
5165
- get: function () { return chunk7V4JI5TB_cjs.compilePipelineSourceToPython; }
5165
+ get: function () { return chunkU5GLSXSD_cjs.compilePipelineSourceToPython; }
5166
5166
  });
5167
5167
  Object.defineProperty(exports, "compilePipelineToNode", {
5168
5168
  enumerable: true,
5169
- get: function () { return chunk7V4JI5TB_cjs.compilePipelineToNode; }
5169
+ get: function () { return chunkU5GLSXSD_cjs.compilePipelineToNode; }
5170
5170
  });
5171
5171
  Object.defineProperty(exports, "compilePipelineToPython", {
5172
5172
  enumerable: true,
5173
- get: function () { return chunk7V4JI5TB_cjs.compilePipelineToPython; }
5173
+ get: function () { return chunkU5GLSXSD_cjs.compilePipelineToPython; }
5174
5174
  });
5175
5175
  Object.defineProperty(exports, "createGaussianSplattingCompiler", {
5176
5176
  enumerable: true,
5177
- get: function () { return chunk7V4JI5TB_cjs.createGaussianSplattingCompiler; }
5177
+ get: function () { return chunkU5GLSXSD_cjs.createGaussianSplattingCompiler; }
5178
5178
  });
5179
5179
  Object.defineProperty(exports, "detectMultiUserSharedSort", {
5180
5180
  enumerable: true,
5181
- get: function () { return chunk7V4JI5TB_cjs.detectMultiUserSharedSort; }
5181
+ get: function () { return chunkU5GLSXSD_cjs.detectMultiUserSharedSort; }
5182
5182
  });
5183
5183
  Object.defineProperty(exports, "quickSafetyCheck", {
5184
5184
  enumerable: true,
5185
- get: function () { return chunk7V4JI5TB_cjs.quickSafetyCheck; }
5185
+ get: function () { return chunkU5GLSXSD_cjs.quickSafetyCheck; }
5186
5186
  });
5187
5187
  Object.defineProperty(exports, "runSafetyPass", {
5188
5188
  enumerable: true,
5189
- get: function () { return chunk7V4JI5TB_cjs.runSafetyPass; }
5189
+ get: function () { return chunkU5GLSXSD_cjs.runSafetyPass; }
5190
5190
  });
5191
5191
  Object.defineProperty(exports, "selectModality", {
5192
5192
  enumerable: true,
5193
- get: function () { return chunk7V4JI5TB_cjs.selectModality; }
5193
+ get: function () { return chunkU5GLSXSD_cjs.selectModality; }
5194
5194
  });
5195
5195
  Object.defineProperty(exports, "selectModalityForAll", {
5196
5196
  enumerable: true,
5197
- get: function () { return chunk7V4JI5TB_cjs.selectModalityForAll; }
5197
+ get: function () { return chunkU5GLSXSD_cjs.selectModalityForAll; }
5198
5198
  });
5199
5199
  Object.defineProperty(exports, "spatialPartition", {
5200
5200
  enumerable: true,
5201
- get: function () { return chunk7V4JI5TB_cjs.spatialPartition; }
5201
+ get: function () { return chunkU5GLSXSD_cjs.spatialPartition; }
5202
5202
  });
5203
5203
  Object.defineProperty(exports, "generateHullGeometry", {
5204
5204
  enumerable: true,
@@ -5274,11 +5274,11 @@ Object.defineProperty(exports, "GodotCompiler", {
5274
5274
  });
5275
5275
  Object.defineProperty(exports, "ENVIRONMENT_PRESETS", {
5276
5276
  enumerable: true,
5277
- get: function () { return chunkALC6K7GL_cjs.ENVIRONMENT_PRESETS; }
5277
+ get: function () { return chunkVDDJUO4G_cjs.ENVIRONMENT_PRESETS; }
5278
5278
  });
5279
5279
  Object.defineProperty(exports, "R3FCompiler", {
5280
5280
  enumerable: true,
5281
- get: function () { return chunkALC6K7GL_cjs.R3FCompiler; }
5281
+ get: function () { return chunkVDDJUO4G_cjs.R3FCompiler; }
5282
5282
  });
5283
5283
  Object.defineProperty(exports, "PlayCanvasCompiler", {
5284
5284
  enumerable: true,
@@ -1,19 +1,19 @@
1
1
  export { createReproducibilityContext, parseReproducibilityFlags } from '../chunk-5GLCTO44.js';
2
2
  export { ContextCompileError, ContextCompiler, createContextCompiler } from '../chunk-QXH7QDSZ.js';
3
3
  export { LLMCapabilityCompileError, LLMProviderCapabilitiesCompiler, createLLMProviderCapabilitiesCompiler } from '../chunk-DAJXW4KX.js';
4
- export { GLTF_PIPELINE_TOOLS, registerGLTFTools } from '../chunk-7T25IEZ2.js';
4
+ export { GLTF_PIPELINE_TOOLS, registerGLTFTools } from '../chunk-JYTTPNKK.js';
5
5
  export { BUSINESS_QUEST_TOOLS, buildVRRCompositionFromDraft, businessVRRDraftSchema, draftToHoloPreview, handleBusinessQuestToolCall, registerBusinessQuestTools, validateBusinessVRRDraft } from '../chunk-ADADVMXY.js';
6
6
  export { NodeToyMapper, mapNodeToyToShader } from '../chunk-TG7O4WBC.js';
7
7
  export { QuantumCircuitCompiler } from '../chunk-ZU7NIRT6.js';
8
- import { init_Native2DCompiler, init_ThreeJSCompiler, ThreeJSCompiler_exports, init_A2AAgentCardCompiler, A2AAgentCardCompiler_exports, init_NIRCompiler, NIRCompiler_exports, Native2DCompiler_exports, Native2DCompiler } from '../chunk-J52VSAQ7.js';
9
- export { CompilerBridge, GaussianSplattingCompiler, Native2DCompiler, SHARED_SORT_SHADER_PATH, SpatialPartitionPass, USDZPipeline, bestCategoryForTraits, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createGaussianSplattingCompiler, detectMultiUserSharedSort, quickSafetyCheck, runSafetyPass, selectModality, selectModalityForAll, spatialPartition } from '../chunk-J52VSAQ7.js';
8
+ import { init_Native2DCompiler, init_ThreeJSCompiler, ThreeJSCompiler_exports, init_A2AAgentCardCompiler, A2AAgentCardCompiler_exports, init_NIRCompiler, NIRCompiler_exports, Native2DCompiler_exports, Native2DCompiler } from '../chunk-QSCGZ4DW.js';
9
+ export { CompilerBridge, GaussianSplattingCompiler, Native2DCompiler, SHARED_SORT_SHADER_PATH, SpatialPartitionPass, USDZPipeline, bestCategoryForTraits, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createGaussianSplattingCompiler, detectMultiUserSharedSort, quickSafetyCheck, runSafetyPass, selectModality, selectModalityForAll, spatialPartition } from '../chunk-QSCGZ4DW.js';
10
10
  export { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from '../chunk-EKBKLK7P.js';
11
11
  export { SemanticSceneGraph } from '../chunk-HYNTS5CP.js';
12
12
  import '../chunk-V6MKC2FZ.js';
13
13
  import { assertHoloMapManifestContract } from '../chunk-MBOOR7X4.js';
14
14
  export { COCOExporterImpl as COCOExporter } from '../chunk-Q56TT7IL.js';
15
15
  export { RemotionBridgeImpl as RemotionBridge } from '../chunk-YYXH45E2.js';
16
- import { vrTraitRegistry } from '../chunk-HR2OSYVQ.js';
16
+ import { vrTraitRegistry } from '../chunk-DXWOTOUK.js';
17
17
  import '../chunk-QPOQ7VPI.js';
18
18
  import { isWebGpuEnvironmentPresent } from '../chunk-YF2I3MV3.js';
19
19
  import '../chunk-TDCNJHWO.js';
@@ -39,10 +39,10 @@ export { TraitCompositionCompiler } from '../chunk-XKTPFXGA.js';
39
39
  import { init_UnrealCompiler, UnrealCompiler_exports } from '../chunk-D3STJ56J.js';
40
40
  import { init_GodotCompiler, GodotCompiler_exports } from '../chunk-PY37LNDP.js';
41
41
  export { GodotCompiler } from '../chunk-PY37LNDP.js';
42
- import { init_R3FCompiler, R3FCompiler_exports } from '../chunk-BGY3SDG3.js';
43
- export { ENVIRONMENT_PRESETS, R3FCompiler } from '../chunk-BGY3SDG3.js';
42
+ import { init_R3FCompiler, R3FCompiler_exports } from '../chunk-37ZNYWWW.js';
43
+ export { ENVIRONMENT_PRESETS, R3FCompiler } from '../chunk-37ZNYWWW.js';
44
44
  import '../chunk-XT6JY5W5.js';
45
- import '../chunk-4GU5GCIY.js';
45
+ import '../chunk-QRPRIJ2W.js';
46
46
  import { init_PlayCanvasCompiler, PlayCanvasCompiler_exports } from '../chunk-DHO2YRIM.js';
47
47
  export { PlayCanvasCompiler } from '../chunk-DHO2YRIM.js';
48
48
  import { init_AndroidCompiler, AndroidCompiler_exports } from '../chunk-WRKUDAZJ.js';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkALC6K7GL_cjs = require('../chunk-ALC6K7GL.cjs');
3
+ var chunkVDDJUO4G_cjs = require('../chunk-VDDJUO4G.cjs');
4
4
  require('../chunk-UOIGFQXC.cjs');
5
- require('../chunk-6Q7RC2MK.cjs');
5
+ require('../chunk-UPXIY52O.cjs');
6
6
  require('../chunk-5S7RKFGR.cjs');
7
7
  require('../chunk-OIQYIIO3.cjs');
8
8
  require('../chunk-AIA52I7T.cjs');
@@ -13,27 +13,27 @@ require('../chunk-GTU2Z2WW.cjs');
13
13
  require('../chunk-E7JP3BS3.cjs');
14
14
  require('../chunk-HCCQLAA4.cjs');
15
15
 
16
- chunkALC6K7GL_cjs.init_R3FCompiler();
16
+ chunkVDDJUO4G_cjs.init_R3FCompiler();
17
17
 
18
18
  Object.defineProperty(exports, "ENVIRONMENT_PRESETS", {
19
19
  enumerable: true,
20
- get: function () { return chunkALC6K7GL_cjs.ENVIRONMENT_PRESETS; }
20
+ get: function () { return chunkVDDJUO4G_cjs.ENVIRONMENT_PRESETS; }
21
21
  });
22
22
  Object.defineProperty(exports, "MATERIAL_PRESETS", {
23
23
  enumerable: true,
24
- get: function () { return chunkALC6K7GL_cjs.MATERIAL_PRESETS; }
24
+ get: function () { return chunkVDDJUO4G_cjs.MATERIAL_PRESETS; }
25
25
  });
26
26
  Object.defineProperty(exports, "QUALITY_TIER_SCALES", {
27
27
  enumerable: true,
28
- get: function () { return chunkALC6K7GL_cjs.QUALITY_TIER_SCALES; }
28
+ get: function () { return chunkVDDJUO4G_cjs.QUALITY_TIER_SCALES; }
29
29
  });
30
30
  Object.defineProperty(exports, "R3FCompiler", {
31
31
  enumerable: true,
32
- get: function () { return chunkALC6K7GL_cjs.R3FCompiler; }
32
+ get: function () { return chunkVDDJUO4G_cjs.R3FCompiler; }
33
33
  });
34
34
  Object.defineProperty(exports, "UI_COMPONENT_PRESETS", {
35
35
  enumerable: true,
36
- get: function () { return chunkALC6K7GL_cjs.UI_COMPONENT_PRESETS; }
36
+ get: function () { return chunkVDDJUO4G_cjs.UI_COMPONENT_PRESETS; }
37
37
  });
38
38
  //# sourceMappingURL=r3f.cjs.map
39
39
  //# sourceMappingURL=r3f.cjs.map
@@ -1,7 +1,7 @@
1
- import { init_R3FCompiler } from '../chunk-BGY3SDG3.js';
2
- export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, R3FCompiler, UI_COMPONENT_PRESETS } from '../chunk-BGY3SDG3.js';
1
+ import { init_R3FCompiler } from '../chunk-37ZNYWWW.js';
2
+ export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, R3FCompiler, UI_COMPONENT_PRESETS } from '../chunk-37ZNYWWW.js';
3
3
  import '../chunk-XT6JY5W5.js';
4
- import '../chunk-4GU5GCIY.js';
4
+ import '../chunk-QRPRIJ2W.js';
5
5
  import '../chunk-TJHVSBP2.js';
6
6
  import '../chunk-4C57PR42.js';
7
7
  import '../chunk-GZG4KA4E.js';
package/dist/debugger.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkL5LKKENW_cjs = require('./chunk-L5LKKENW.cjs');
4
- require('./chunk-MQWAT42R.cjs');
3
+ var chunkUWXE23BT_cjs = require('./chunk-UWXE23BT.cjs');
4
+ require('./chunk-6DO5IZ5N.cjs');
5
5
  require('./chunk-GJNCFRJU.cjs');
6
- require('./chunk-SMIWS6DE.cjs');
6
+ require('./chunk-YDPEHCCI.cjs');
7
7
  require('./chunk-JIYN45TV.cjs');
8
8
  require('./chunk-TVHSPJ4N.cjs');
9
9
  require('./chunk-ILRBGFVD.cjs');
@@ -14,11 +14,11 @@ require('./chunk-HCCQLAA4.cjs');
14
14
 
15
15
  Object.defineProperty(exports, "HoloScriptDebugger", {
16
16
  enumerable: true,
17
- get: function () { return chunkL5LKKENW_cjs.HoloScriptDebugger; }
17
+ get: function () { return chunkUWXE23BT_cjs.HoloScriptDebugger; }
18
18
  });
19
19
  Object.defineProperty(exports, "createDebugger", {
20
20
  enumerable: true,
21
- get: function () { return chunkL5LKKENW_cjs.createDebugger; }
21
+ get: function () { return chunkUWXE23BT_cjs.createDebugger; }
22
22
  });
23
23
  //# sourceMappingURL=debugger.cjs.map
24
24
  //# sourceMappingURL=debugger.cjs.map
package/dist/debugger.js CHANGED
@@ -1,7 +1,7 @@
1
- export { HoloScriptDebugger, createDebugger } from './chunk-FL33V6U7.js';
2
- import './chunk-JIBL5LRK.js';
1
+ export { HoloScriptDebugger, createDebugger } from './chunk-MVPBWHAC.js';
2
+ import './chunk-QACVP4PM.js';
3
3
  import './chunk-XL6INWKT.js';
4
- import './chunk-RARB3MBR.js';
4
+ import './chunk-IELX2OKI.js';
5
5
  import './chunk-URG2SJLK.js';
6
6
  import './chunk-H652NHX5.js';
7
7
  import './chunk-PHENW4MQ.js';