@holoscript/engine 6.0.3 → 6.0.4

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 (192) hide show
  1. package/dist/AutoMesher-CK47F6AV.js +17 -0
  2. package/dist/GPUBuffers-2LHBCD7X.js +9 -0
  3. package/dist/WebGPUContext-TNEUYU2Y.js +11 -0
  4. package/dist/animation/index.cjs +38 -38
  5. package/dist/animation/index.d.cts +1 -1
  6. package/dist/animation/index.d.ts +1 -1
  7. package/dist/animation/index.js +1 -1
  8. package/dist/audio/index.cjs +16 -6
  9. package/dist/audio/index.d.cts +1 -1
  10. package/dist/audio/index.d.ts +1 -1
  11. package/dist/audio/index.js +1 -1
  12. package/dist/camera/index.cjs +23 -23
  13. package/dist/camera/index.d.cts +1 -1
  14. package/dist/camera/index.d.ts +1 -1
  15. package/dist/camera/index.js +1 -1
  16. package/dist/character/index.cjs +6 -4
  17. package/dist/character/index.js +1 -1
  18. package/dist/choreography/index.cjs +1194 -0
  19. package/dist/choreography/index.d.cts +687 -0
  20. package/dist/choreography/index.d.ts +687 -0
  21. package/dist/choreography/index.js +1156 -0
  22. package/dist/chunk-2CSNRI2N.js +217 -0
  23. package/dist/chunk-33T2WINR.js +266 -0
  24. package/dist/chunk-35R73OFM.js +1257 -0
  25. package/dist/chunk-4MMDSUNP.js +1256 -0
  26. package/dist/chunk-5V6HOU72.js +319 -0
  27. package/dist/chunk-6QOP6PYF.js +1038 -0
  28. package/dist/chunk-7KMJVHIL.js +8944 -0
  29. package/dist/chunk-7VPUC62U.js +1106 -0
  30. package/dist/chunk-A2Y6RCAT.js +1878 -0
  31. package/dist/chunk-AHM42MK6.js +8944 -0
  32. package/dist/chunk-BL7IDTHE.js +218 -0
  33. package/dist/chunk-CITOMSWL.js +10462 -0
  34. package/dist/chunk-CXDPKW2K.js +8944 -0
  35. package/dist/chunk-CXZPLD4S.js +223 -0
  36. package/dist/chunk-CZYJE7IH.js +5169 -0
  37. package/dist/chunk-D2OP7YC7.js +6325 -0
  38. package/dist/chunk-EDRVQHUU.js +1544 -0
  39. package/dist/chunk-EJSLOOW2.js +3589 -0
  40. package/dist/chunk-F53SFGW5.js +1878 -0
  41. package/dist/chunk-HCFPELPY.js +919 -0
  42. package/dist/chunk-HNEE36PY.js +93 -0
  43. package/dist/chunk-HYXNV36F.js +1256 -0
  44. package/dist/chunk-IB7KHVFY.js +821 -0
  45. package/dist/chunk-IBBO7YYG.js +690 -0
  46. package/dist/chunk-ILIBGINU.js +5470 -0
  47. package/dist/chunk-IS4MHLKN.js +5479 -0
  48. package/dist/chunk-JT2PFKWD.js +5479 -0
  49. package/dist/chunk-K4CUB4NY.js +1038 -0
  50. package/dist/chunk-KATDQXRJ.js +10462 -0
  51. package/dist/chunk-KBQE6ZFJ.js +8944 -0
  52. package/dist/chunk-KBVD5K7E.js +560 -0
  53. package/dist/chunk-KCDPVQRY.js +4088 -0
  54. package/dist/chunk-KN4QJPKN.js +8944 -0
  55. package/dist/chunk-KWJ3ROSI.js +8944 -0
  56. package/dist/chunk-L45VF6DD.js +919 -0
  57. package/dist/chunk-LY4T37YK.js +307 -0
  58. package/dist/chunk-MDN5WZXA.js +1544 -0
  59. package/dist/chunk-MGCDP6VU.js +928 -0
  60. package/dist/chunk-NCX7X6G2.js +8681 -0
  61. package/dist/chunk-OF54BPVD.js +913 -0
  62. package/dist/chunk-OWSN2Q3Q.js +690 -0
  63. package/dist/chunk-PRRB5TTA.js +406 -0
  64. package/dist/chunk-PXWVQF76.js +4086 -0
  65. package/dist/chunk-PYCOIDT2.js +812 -0
  66. package/dist/chunk-PZCSADOV.js +928 -0
  67. package/dist/chunk-Q2XBVS2K.js +1038 -0
  68. package/dist/chunk-QDZRXWN5.js +1776 -0
  69. package/dist/chunk-RNWOZ6WQ.js +913 -0
  70. package/dist/chunk-ROLFT4CJ.js +1693 -0
  71. package/dist/chunk-SLTJRZ2N.js +266 -0
  72. package/dist/chunk-SRUS5XSU.js +4088 -0
  73. package/dist/chunk-TKCA3WZ5.js +5409 -0
  74. package/dist/chunk-TNRMXYI2.js +1650 -0
  75. package/dist/chunk-TQB3GJGM.js +9763 -0
  76. package/dist/chunk-TUFGXG6K.js +510 -0
  77. package/dist/chunk-U6KMTGQJ.js +632 -0
  78. package/dist/chunk-VMGJQST6.js +8681 -0
  79. package/dist/chunk-X4F4TCG4.js +5470 -0
  80. package/dist/chunk-ZIFROE75.js +1544 -0
  81. package/dist/chunk-ZIJQYHSQ.js +1204 -0
  82. package/dist/combat/index.cjs +4 -4
  83. package/dist/combat/index.d.cts +1 -1
  84. package/dist/combat/index.d.ts +1 -1
  85. package/dist/combat/index.js +1 -1
  86. package/dist/ecs/index.cjs +1 -1
  87. package/dist/ecs/index.js +1 -1
  88. package/dist/environment/index.cjs +14 -14
  89. package/dist/environment/index.d.cts +1 -1
  90. package/dist/environment/index.d.ts +1 -1
  91. package/dist/environment/index.js +1 -1
  92. package/dist/gpu/index.cjs +4810 -0
  93. package/dist/gpu/index.js +3714 -0
  94. package/dist/hologram/index.cjs +27 -1
  95. package/dist/hologram/index.js +1 -1
  96. package/dist/index-B2PIsAmR.d.cts +2180 -0
  97. package/dist/index-B2PIsAmR.d.ts +2180 -0
  98. package/dist/index-BHySEPX7.d.cts +2921 -0
  99. package/dist/index-BJV21zuy.d.cts +341 -0
  100. package/dist/index-BJV21zuy.d.ts +341 -0
  101. package/dist/index-BQutTphC.d.cts +790 -0
  102. package/dist/index-ByIq2XrS.d.cts +3910 -0
  103. package/dist/index-BysHjDSO.d.cts +224 -0
  104. package/dist/index-BysHjDSO.d.ts +224 -0
  105. package/dist/index-CKwAJGck.d.ts +455 -0
  106. package/dist/index-CUl3QstQ.d.cts +3006 -0
  107. package/dist/index-CUl3QstQ.d.ts +3006 -0
  108. package/dist/index-CmYtNiI-.d.cts +953 -0
  109. package/dist/index-CmYtNiI-.d.ts +953 -0
  110. package/dist/index-CnRzWxi_.d.cts +522 -0
  111. package/dist/index-CnRzWxi_.d.ts +522 -0
  112. package/dist/index-CwRWbSC7.d.ts +2921 -0
  113. package/dist/index-CxKIBstO.d.ts +790 -0
  114. package/dist/index-DJ6-R8vh.d.cts +455 -0
  115. package/dist/index-DQKisbcI.d.cts +4968 -0
  116. package/dist/index-DQKisbcI.d.ts +4968 -0
  117. package/dist/index-DRT2zJez.d.ts +3910 -0
  118. package/dist/index-DfNLiAka.d.cts +192 -0
  119. package/dist/index-DfNLiAka.d.ts +192 -0
  120. package/dist/index-nMvkoRm8.d.cts +405 -0
  121. package/dist/index-nMvkoRm8.d.ts +405 -0
  122. package/dist/index-s9yOFU37.d.cts +604 -0
  123. package/dist/index-s9yOFU37.d.ts +604 -0
  124. package/dist/index.cjs +22966 -6960
  125. package/dist/index.d.cts +864 -20
  126. package/dist/index.d.ts +864 -20
  127. package/dist/index.js +3062 -48
  128. package/dist/input/index.cjs +1 -1
  129. package/dist/input/index.js +1 -1
  130. package/dist/orbital/index.cjs +3 -3
  131. package/dist/orbital/index.d.cts +1 -1
  132. package/dist/orbital/index.d.ts +1 -1
  133. package/dist/orbital/index.js +1 -1
  134. package/dist/particles/index.cjs +16 -16
  135. package/dist/particles/index.d.cts +1 -1
  136. package/dist/particles/index.d.ts +1 -1
  137. package/dist/particles/index.js +1 -1
  138. package/dist/physics/index.cjs +2377 -21
  139. package/dist/physics/index.d.cts +1 -1
  140. package/dist/physics/index.d.ts +1 -1
  141. package/dist/physics/index.js +35 -1
  142. package/dist/postfx/index.cjs +3491 -0
  143. package/dist/postfx/index.js +93 -0
  144. package/dist/procedural/index.cjs +1 -1
  145. package/dist/procedural/index.js +1 -1
  146. package/dist/puppeteer-5VF6KDVO.js +52197 -0
  147. package/dist/puppeteer-IZVZ3SG4.js +52197 -0
  148. package/dist/rendering/index.cjs +33 -32
  149. package/dist/rendering/index.d.cts +1 -1
  150. package/dist/rendering/index.d.ts +1 -1
  151. package/dist/rendering/index.js +8 -6
  152. package/dist/runtime/index.cjs +23 -13
  153. package/dist/runtime/index.d.cts +1 -1
  154. package/dist/runtime/index.d.ts +1 -1
  155. package/dist/runtime/index.js +8 -6
  156. package/dist/runtime/protocols/index.cjs +349 -0
  157. package/dist/runtime/protocols/index.js +15 -0
  158. package/dist/scene/index.cjs +8 -8
  159. package/dist/scene/index.d.cts +1 -1
  160. package/dist/scene/index.d.ts +1 -1
  161. package/dist/scene/index.js +1 -1
  162. package/dist/shader/index.cjs +3087 -0
  163. package/dist/shader/index.js +3044 -0
  164. package/dist/simulation/index.cjs +10680 -0
  165. package/dist/simulation/index.d.cts +3 -0
  166. package/dist/simulation/index.d.ts +3 -0
  167. package/dist/simulation/index.js +307 -0
  168. package/dist/spatial/index.cjs +2443 -0
  169. package/dist/spatial/index.d.cts +1545 -0
  170. package/dist/spatial/index.d.ts +1545 -0
  171. package/dist/spatial/index.js +2400 -0
  172. package/dist/terrain/index.cjs +1 -1
  173. package/dist/terrain/index.d.cts +1 -1
  174. package/dist/terrain/index.d.ts +1 -1
  175. package/dist/terrain/index.js +1 -1
  176. package/dist/transformers.node-4NKAPD5U.js +45620 -0
  177. package/dist/vm/index.cjs +7 -8
  178. package/dist/vm/index.d.cts +1 -1
  179. package/dist/vm/index.d.ts +1 -1
  180. package/dist/vm/index.js +1 -1
  181. package/dist/vm-bridge/index.cjs +2 -2
  182. package/dist/vm-bridge/index.d.cts +2 -2
  183. package/dist/vm-bridge/index.d.ts +2 -2
  184. package/dist/vm-bridge/index.js +1 -1
  185. package/dist/vr/index.cjs +6 -6
  186. package/dist/vr/index.js +1 -1
  187. package/dist/world/index.cjs +3 -3
  188. package/dist/world/index.d.cts +1 -1
  189. package/dist/world/index.d.ts +1 -1
  190. package/dist/world/index.js +1 -1
  191. package/package.json +53 -21
  192. package/LICENSE +0 -21
package/dist/vm/index.cjs CHANGED
@@ -351,6 +351,9 @@ var HoloFunctionBuilder = class {
351
351
  this.parent = parent;
352
352
  this.index = index;
353
353
  }
354
+ func;
355
+ parent;
356
+ index;
354
357
  emit(opcode, ...operands) {
355
358
  this.func.instructions.push({ opcode, operands });
356
359
  return this;
@@ -782,7 +785,7 @@ var HoloVM = class {
782
785
  instructionsExecuted++;
783
786
  try {
784
787
  this.executeInstruction(instr, frame);
785
- } catch (err) {
788
+ } catch (_err) {
786
789
  this.status = "ERROR" /* Error */;
787
790
  break;
788
791
  }
@@ -846,11 +849,7 @@ var HoloVM = class {
846
849
  case 16 /* TRANSFORM */: {
847
850
  const entityId = operands[0];
848
851
  const transform = {
849
- position: {
850
- x: operands[1],
851
- y: operands[2],
852
- z: operands[3]
853
- },
852
+ position: { x: operands[1], y: operands[2], z: operands[3] },
854
853
  rotation: {
855
854
  x: operands[4],
856
855
  y: operands[5],
@@ -879,7 +878,7 @@ var HoloVM = class {
879
878
  case 18 /* ROTATE */: {
880
879
  const entityId = operands[0];
881
880
  this.world.setComponent(entityId, 1 /* Transform */, {
882
- position: { x: 0, y: 0, z: 0 },
881
+ position: [0, 0, 0],
883
882
  rotation: {
884
883
  x: operands[1],
885
884
  y: operands[2],
@@ -910,7 +909,7 @@ var HoloVM = class {
910
909
  }
911
910
  case 50 /* SET_VISIBLE */: {
912
911
  const entityId = operands[0];
913
- const visible = operands[1] !== 0;
912
+ const _visible = operands[1] !== 0;
914
913
  const entity = this.world.getEntity(entityId);
915
914
  if (entity) entity.dirty = true;
916
915
  break;
@@ -1 +1 @@
1
- export { A as AssetType, B as BodyType, C as ColliderShape, a as ComponentType, E as ECSWorld, b as Entity, G as GeometryComponent, c as GeometryType, H as HOLOB_MAGIC, d as HOLOB_VERSION, e as HoloAssetRef, f as HoloBytecode, g as HoloBytecodeBuilder, h as HoloComponentData, i as HoloEntityDef, j as HoloEventBinding, k as HoloFunction, l as HoloFunctionBuilder, m as HoloInstruction, n as HoloOpCode, o as HoloOperand, p as HoloSourceMap, q as HoloSourceMapping, r as HoloTraitDef, s as HoloVM, t as HolobFlags, L as LightType, M as MaterialComponent, O as OpCodeMeta, Q as Quat, R as RigidBodyComponent, S as SyncTier, T as TransformComponent, u as VMResult, v as VMStatus, w as ValueType, V as Vec3, x as getOpcodeFamily, y as getOpcodeName, z as isControlFlow } from '../executor-CRFAQA9C.cjs';
1
+ export { A as AssetType, B as BodyType, C as ColliderShape, a as ComponentType, E as ECSWorld, b as Entity, G as GeometryComponent, c as GeometryType, H as HOLOB_MAGIC, d as HOLOB_VERSION, e as HoloAssetRef, f as HoloBytecode, g as HoloBytecodeBuilder, h as HoloComponentData, i as HoloEntityDef, j as HoloEventBinding, k as HoloFunction, l as HoloFunctionBuilder, m as HoloInstruction, n as HoloOpCode, o as HoloOperand, p as HoloSourceMap, q as HoloSourceMapping, r as HoloTraitDef, s as HoloVM, t as HolobFlags, L as LightType, M as MaterialComponent, O as OpCodeMeta, Q as Quat, R as RigidBodyComponent, S as SyncTier, T as TransformComponent, V as VMResult, u as VMStatus, v as ValueType, w as Vec3, x as getOpcodeFamily, y as getOpcodeName, z as isControlFlow } from '../executor-C6ay5Awb.cjs';
@@ -1 +1 @@
1
- export { A as AssetType, B as BodyType, C as ColliderShape, a as ComponentType, E as ECSWorld, b as Entity, G as GeometryComponent, c as GeometryType, H as HOLOB_MAGIC, d as HOLOB_VERSION, e as HoloAssetRef, f as HoloBytecode, g as HoloBytecodeBuilder, h as HoloComponentData, i as HoloEntityDef, j as HoloEventBinding, k as HoloFunction, l as HoloFunctionBuilder, m as HoloInstruction, n as HoloOpCode, o as HoloOperand, p as HoloSourceMap, q as HoloSourceMapping, r as HoloTraitDef, s as HoloVM, t as HolobFlags, L as LightType, M as MaterialComponent, O as OpCodeMeta, Q as Quat, R as RigidBodyComponent, S as SyncTier, T as TransformComponent, u as VMResult, v as VMStatus, w as ValueType, V as Vec3, x as getOpcodeFamily, y as getOpcodeName, z as isControlFlow } from '../executor-CRFAQA9C.js';
1
+ export { A as AssetType, B as BodyType, C as ColliderShape, a as ComponentType, E as ECSWorld, b as Entity, G as GeometryComponent, c as GeometryType, H as HOLOB_MAGIC, d as HOLOB_VERSION, e as HoloAssetRef, f as HoloBytecode, g as HoloBytecodeBuilder, h as HoloComponentData, i as HoloEntityDef, j as HoloEventBinding, k as HoloFunction, l as HoloFunctionBuilder, m as HoloInstruction, n as HoloOpCode, o as HoloOperand, p as HoloSourceMap, q as HoloSourceMapping, r as HoloTraitDef, s as HoloVM, t as HolobFlags, L as LightType, M as MaterialComponent, O as OpCodeMeta, Q as Quat, R as RigidBodyComponent, S as SyncTier, T as TransformComponent, V as VMResult, u as VMStatus, v as ValueType, w as Vec3, x as getOpcodeFamily, y as getOpcodeName, z as isControlFlow } from '../executor-C6ay5Awb.js';
package/dist/vm/index.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  getOpcodeFamily,
20
20
  getOpcodeName,
21
21
  isControlFlow
22
- } from "../chunk-PXUX4KT5.js";
22
+ } from "../chunk-HYXNV36F.js";
23
23
  import "../chunk-AKLW2MUS.js";
24
24
  export {
25
25
  AssetType,
@@ -80,7 +80,7 @@ function applyActions(world, actions) {
80
80
  case "move": {
81
81
  const existing = world.getComponent(action.entityId, 1);
82
82
  const transform = existing ?? {
83
- position: { x: 0, y: 0, z: 0 },
83
+ position: [0, 0, 0],
84
84
  rotation: { x: 0, y: 0, z: 0, w: 1 },
85
85
  scale: { x: 1, y: 1, z: 1 }
86
86
  };
@@ -253,7 +253,7 @@ var SpatialCognitiveAgent = class {
253
253
  const snapshot = this.perceive();
254
254
  const cycleResult = await this.decide(`Tick ${this.tickCount}: observe and act`);
255
255
  const actions = this.pendingActions.splice(0, this.config.maxActionsPerTick);
256
- const spawned = this.mutate(actions);
256
+ const _spawned = this.mutate(actions);
257
257
  return {
258
258
  perceived: true,
259
259
  decided: true,
@@ -1,3 +1,3 @@
1
- export { A as AgentAction, B as BridgeConfig, C as CognitiveTickResult, E as EntitySnapshot, S as SceneSnapshot, a as SpatialCognitiveAgent, b as applyActions, c as captureSceneSnapshot } from '../index-DouwiW0o.cjs';
2
- import '../executor-CRFAQA9C.cjs';
1
+ export { A as AgentAction, B as BridgeConfig, C as CognitiveTickResult, E as EntitySnapshot, S as SceneSnapshot, a as SpatialCognitiveAgent, b as applyActions, c as captureSceneSnapshot } from '../index-BrCqHAgp.cjs';
2
+ import '../executor-C6ay5Awb.cjs';
3
3
  import '@holoscript/uaal';
@@ -1,3 +1,3 @@
1
- export { A as AgentAction, B as BridgeConfig, C as CognitiveTickResult, E as EntitySnapshot, S as SceneSnapshot, a as SpatialCognitiveAgent, b as applyActions, c as captureSceneSnapshot } from '../index-DfNWsXcp.js';
2
- import '../executor-CRFAQA9C.js';
1
+ export { A as AgentAction, B as BridgeConfig, C as CognitiveTickResult, E as EntitySnapshot, S as SceneSnapshot, a as SpatialCognitiveAgent, b as applyActions, c as captureSceneSnapshot } from '../index-D987eWyT.js';
2
+ import '../executor-C6ay5Awb.js';
3
3
  import '@holoscript/uaal';
@@ -2,7 +2,7 @@ import {
2
2
  SpatialCognitiveAgent,
3
3
  applyActions,
4
4
  captureSceneSnapshot
5
- } from "../chunk-RN5CTZ6Q.js";
5
+ } from "../chunk-SLTJRZ2N.js";
6
6
  import "../chunk-AKLW2MUS.js";
7
7
  export {
8
8
  SpatialCognitiveAgent,
package/dist/vr/index.cjs CHANGED
@@ -215,7 +215,7 @@ var HapticFeedback = class {
215
215
  // src/vr/VRLocomotion.ts
216
216
  var VRLocomotion = class {
217
217
  config;
218
- position = { x: 0, y: 0, z: 0 };
218
+ position = [0, 0, 0];
219
219
  rotation = 0;
220
220
  // yaw in degrees
221
221
  teleportHistory = [];
@@ -235,9 +235,9 @@ var VRLocomotion = class {
235
235
  */
236
236
  teleport(target) {
237
237
  if (!target.valid) return false;
238
- const dist = Math.sqrt((target.x - this.position.x) ** 2 + (target.z - this.position.z) ** 2);
238
+ const dist = Math.sqrt((target.x - this.position[0]) ** 2 + (target.z - this.position[2]) ** 2);
239
239
  if (dist > this.config.teleportRange) return false;
240
- this.position = { x: target.x, y: target.y, z: target.z };
240
+ this.position = [target.x, target.y, target.z];
241
241
  this.teleportHistory.push(target);
242
242
  return true;
243
243
  }
@@ -247,8 +247,8 @@ var VRLocomotion = class {
247
247
  move(dx, dz, deltaTime) {
248
248
  const speed = this.config.moveSpeed * deltaTime;
249
249
  const rad = this.rotation * Math.PI / 180;
250
- this.position.x += (dx * Math.cos(rad) - dz * Math.sin(rad)) * speed;
251
- this.position.z += (dx * Math.sin(rad) + dz * Math.cos(rad)) * speed;
250
+ this.position[0] += (dx * Math.cos(rad) - dz * Math.sin(rad)) * speed;
251
+ this.position[2] += (dx * Math.sin(rad) + dz * Math.cos(rad)) * speed;
252
252
  }
253
253
  /**
254
254
  * Snap turn
@@ -277,7 +277,7 @@ var VRLocomotion = class {
277
277
  return this.config.comfortVignette && this.config.mode === "smooth";
278
278
  }
279
279
  getPosition() {
280
- return { ...this.position };
280
+ return { x: this.position[0], y: this.position[1], z: this.position[2] };
281
281
  }
282
282
  getRotation() {
283
283
  return this.rotation;
package/dist/vr/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  VRLocomotion,
5
5
  WebXRManager,
6
6
  WebXRSystem
7
- } from "../chunk-FTINXFRJ.js";
7
+ } from "../chunk-KBVD5K7E.js";
8
8
  import "../chunk-AKLW2MUS.js";
9
9
  export {
10
10
  HandTracker,
@@ -73,9 +73,9 @@ var LODManager = class {
73
73
  }
74
74
  update(dt) {
75
75
  for (const obj of this.objects.values()) {
76
- const dx = obj.position.x - this.viewerPosition.x;
77
- const dy = obj.position.y - this.viewerPosition.y;
78
- const dz = obj.position.z - this.viewerPosition.z;
76
+ const dx = obj.position[0] - this.viewerPosition[0];
77
+ const dy = obj.position[1] - this.viewerPosition[1];
78
+ const dz = obj.position[2] - this.viewerPosition[2];
79
79
  const dist = Math.sqrt(dx * dx + dy * dy + dz * dz) * obj.bias;
80
80
  let targetLevel = obj.levels.length - 1;
81
81
  for (let i = 0; i < obj.levels.length; i++) {
@@ -1 +1 @@
1
- export { A as AABB, C as ChunkState, a as CullableObject, F as FrustumPlane, L as LODConfig, b as LODLevel, c as LODManager, d as LODObject, O as OcclusionCulling, e as OcclusionPortal, f as OcclusionZone, S as StreamingConfig, W as WorldChunk, g as WorldStreamer } from '../index-B2ahcPOJ.cjs';
1
+ export { A as AABB, C as ChunkState, a as CullableObject, F as FrustumPlane, L as LODConfig, b as LODLevel, c as LODManager, d as LODObject, O as OcclusionCulling, e as OcclusionPortal, f as OcclusionZone, S as StreamingConfig, W as WorldChunk, g as WorldStreamer } from '../index-DfNLiAka.cjs';
@@ -1 +1 @@
1
- export { A as AABB, C as ChunkState, a as CullableObject, F as FrustumPlane, L as LODConfig, b as LODLevel, c as LODManager, d as LODObject, O as OcclusionCulling, e as OcclusionPortal, f as OcclusionZone, S as StreamingConfig, W as WorldChunk, g as WorldStreamer } from '../index-B2ahcPOJ.js';
1
+ export { A as AABB, C as ChunkState, a as CullableObject, F as FrustumPlane, L as LODConfig, b as LODLevel, c as LODManager, d as LODObject, O as OcclusionCulling, e as OcclusionPortal, f as OcclusionZone, S as StreamingConfig, W as WorldChunk, g as WorldStreamer } from '../index-DfNLiAka.js';
@@ -2,7 +2,7 @@ import {
2
2
  LODManager,
3
3
  OcclusionCulling,
4
4
  WorldStreamer
5
- } from "../chunk-HW57JP55.js";
5
+ } from "../chunk-PRRB5TTA.js";
6
6
  import "../chunk-AKLW2MUS.js";
7
7
  export {
8
8
  LODManager,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holoscript/engine",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "description": "Engine runtime extracted from @holoscript/core — rendering, physics, animation, ECS, and 20+ subsystems for spatial computing.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -157,14 +157,14 @@
157
157
  "require": "./dist/runtime/index.cjs"
158
158
  },
159
159
  "./runtime/protocols/MQTTClient": {
160
- "types": "./dist/runtime/index.d.ts",
161
- "import": "./dist/runtime/index.js",
162
- "require": "./dist/runtime/index.cjs"
160
+ "types": "./dist/runtime/protocols/index.d.ts",
161
+ "import": "./dist/runtime/protocols/index.js",
162
+ "require": "./dist/runtime/protocols/index.cjs"
163
163
  },
164
164
  "./runtime/protocols": {
165
- "types": "./dist/runtime/index.d.ts",
166
- "import": "./dist/runtime/index.js",
167
- "require": "./dist/runtime/index.cjs"
165
+ "types": "./dist/runtime/protocols/index.d.ts",
166
+ "import": "./dist/runtime/protocols/index.js",
167
+ "require": "./dist/runtime/protocols/index.cjs"
168
168
  },
169
169
  "./runtime/BaseVoiceSynthesizer": {
170
170
  "types": "./dist/runtime/index.d.ts",
@@ -736,12 +736,49 @@
736
736
  "import": "./dist/vm-bridge/index.js",
737
737
  "require": "./dist/vm-bridge/index.cjs"
738
738
  },
739
+ "./simulation": {
740
+ "types": "./dist/simulation/index.d.ts",
741
+ "import": "./dist/simulation/index.js",
742
+ "require": "./dist/simulation/index.cjs"
743
+ },
744
+ "./spatial": {
745
+ "types": "./dist/spatial/index.d.ts",
746
+ "import": "./dist/spatial/index.js",
747
+ "require": "./dist/spatial/index.cjs"
748
+ },
749
+ "./choreography": {
750
+ "types": "./dist/choreography/index.d.ts",
751
+ "import": "./dist/choreography/index.js",
752
+ "require": "./dist/choreography/index.cjs"
753
+ },
754
+ "./gpu": {
755
+ "types": "./dist/gpu/index.d.ts",
756
+ "import": "./dist/gpu/index.js",
757
+ "require": "./dist/gpu/index.cjs"
758
+ },
759
+ "./postfx": {
760
+ "types": "./dist/postfx/index.d.ts",
761
+ "import": "./dist/postfx/index.js",
762
+ "require": "./dist/postfx/index.cjs"
763
+ },
764
+ "./shader": {
765
+ "types": "./dist/shader/index.d.ts",
766
+ "import": "./dist/shader/index.js",
767
+ "require": "./dist/shader/index.cjs"
768
+ },
739
769
  "./*": {
740
770
  "types": "./dist/*.d.ts",
741
771
  "import": "./dist/*.js",
742
772
  "require": "./dist/*.cjs"
743
773
  }
744
774
  },
775
+ "scripts": {
776
+ "build": "tsup",
777
+ "dev": "tsup --watch",
778
+ "test": "vitest run --passWithNoTests",
779
+ "test:coverage": "vitest run --coverage",
780
+ "test:watch": "vitest"
781
+ },
745
782
  "keywords": [
746
783
  "holoscript",
747
784
  "engine",
@@ -766,12 +803,14 @@
766
803
  "directory": "packages/engine"
767
804
  },
768
805
  "dependencies": {
769
- "three": ">=0.160.0",
770
- "@holoscript/core": "6.0.3",
771
- "@holoscript/framework": "6.0.3"
806
+ "@holoscript/core": "workspace:*",
807
+ "@holoscript/framework": "workspace:*",
808
+ "@holoscript/crdt-spatial": "workspace:*",
809
+ "@holoscript/snn-webgpu": "workspace:*",
810
+ "three": ">=0.160.0"
772
811
  },
773
812
  "peerDependencies": {
774
- "@holoscript/uaal": "6.0.3"
813
+ "@holoscript/uaal": "workspace:*"
775
814
  },
776
815
  "peerDependenciesMeta": {
777
816
  "@holoscript/uaal": {
@@ -780,17 +819,10 @@
780
819
  },
781
820
  "devDependencies": {
782
821
  "@types/node": "^22.18.3",
783
- "@vitest/coverage-v8": "^4.1.4",
784
822
  "@webgpu/types": "^0.1.40",
823
+ "@vitest/coverage-v8": "^4.0.18",
785
824
  "tsup": "^8.0.1",
786
825
  "typescript": "~5.9.3",
787
- "vitest": "^4.1.4"
788
- },
789
- "scripts": {
790
- "build": "tsup src/index.ts src/rendering/index.ts src/physics/index.ts src/runtime/index.ts src/audio/index.ts src/animation/index.ts src/navigation/index.ts src/camera/index.ts src/input/index.ts src/vr/index.ts src/procedural/index.ts src/tilemap/index.ts src/terrain/index.ts src/particles/index.ts src/character/index.ts src/gameplay/index.ts src/dialogue/index.ts src/combat/index.ts src/orbital/index.ts src/world/index.ts src/environment/index.ts src/scene/index.ts src/ecs/index.ts src/hologram/index.ts src/vm/index.ts src/vm-bridge/index.ts --format esm,cjs --dts",
791
- "dev": "tsup src/index.ts src/rendering/index.ts src/physics/index.ts src/runtime/index.ts src/audio/index.ts src/animation/index.ts src/navigation/index.ts src/camera/index.ts src/input/index.ts src/vr/index.ts src/procedural/index.ts src/tilemap/index.ts src/terrain/index.ts src/particles/index.ts src/character/index.ts src/gameplay/index.ts src/dialogue/index.ts src/combat/index.ts src/orbital/index.ts src/world/index.ts src/environment/index.ts src/scene/index.ts src/ecs/index.ts src/hologram/index.ts src/vm/index.ts src/vm-bridge/index.ts --format esm,cjs --dts --watch",
792
- "test": "vitest run --passWithNoTests",
793
- "test:coverage": "vitest run --coverage",
794
- "test:watch": "vitest"
826
+ "vitest": "^4.1.0"
795
827
  }
796
- }
828
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025-2026 HoloScript Contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.