@aura3d/engine 1.0.2 → 1.0.5

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 (296) hide show
  1. package/README.md +331 -16
  2. package/dist/animation/AnimationClipEvents.d.ts +57 -0
  3. package/dist/animation/AnimationClipEvents.d.ts.map +1 -0
  4. package/dist/animation/AnimationClipEvents.js +171 -0
  5. package/dist/animation/AnimationClipEvents.js.map +1 -0
  6. package/dist/animation/AnimationClipRegistry.d.ts +76 -0
  7. package/dist/animation/AnimationClipRegistry.d.ts.map +1 -0
  8. package/dist/animation/AnimationClipRegistry.js +130 -0
  9. package/dist/animation/AnimationClipRegistry.js.map +1 -0
  10. package/dist/animation/AnimationController.d.ts +168 -0
  11. package/dist/animation/AnimationController.d.ts.map +1 -0
  12. package/dist/animation/AnimationController.js +619 -0
  13. package/dist/animation/AnimationController.js.map +1 -0
  14. package/dist/animation/HumanoidRetargeting.d.ts +76 -0
  15. package/dist/animation/HumanoidRetargeting.d.ts.map +1 -0
  16. package/dist/animation/HumanoidRetargeting.js +331 -0
  17. package/dist/animation/HumanoidRetargeting.js.map +1 -0
  18. package/dist/animation/browser-index.d.ts +18 -0
  19. package/dist/animation/browser-index.d.ts.map +1 -1
  20. package/dist/animation/browser-index.js +13 -0
  21. package/dist/animation/browser-index.js.map +1 -1
  22. package/dist/animation/index.d.ts +16 -1
  23. package/dist/animation/index.d.ts.map +1 -1
  24. package/dist/animation/index.js +11 -1
  25. package/dist/animation/index.js.map +1 -1
  26. package/dist/animation/threejs-compatibility/AnimationDiagnostics.d.ts.map +1 -1
  27. package/dist/animation/threejs-compatibility/AnimationDiagnostics.js +3 -5
  28. package/dist/animation/threejs-compatibility/AnimationDiagnostics.js.map +1 -1
  29. package/dist/assets/GLTFAnimationRuntime.js +1 -1
  30. package/dist/assets/GLTFLoader.js +1 -1
  31. package/dist/aura3d-cli/cli.js +194 -8
  32. package/dist/aura3d-cli/cli.js.map +1 -1
  33. package/dist/aura3d-cli/index.d.ts +280 -3
  34. package/dist/aura3d-cli/index.d.ts.map +1 -1
  35. package/dist/aura3d-cli/index.js +886 -4
  36. package/dist/aura3d-cli/index.js.map +1 -1
  37. package/dist/aura3d-cli/pull-bridge.d.ts +95 -0
  38. package/dist/aura3d-cli/pull-bridge.d.ts.map +1 -0
  39. package/dist/aura3d-cli/pull-bridge.js +247 -0
  40. package/dist/aura3d-cli/pull-bridge.js.map +1 -0
  41. package/dist/create-aura3d/index.d.ts +1 -1
  42. package/dist/create-aura3d/index.d.ts.map +1 -1
  43. package/dist/create-aura3d/index.js +9 -2
  44. package/dist/create-aura3d/index.js.map +1 -1
  45. package/dist/editor-runtime/ProjectSerializer.d.ts +74 -1
  46. package/dist/editor-runtime/ProjectSerializer.d.ts.map +1 -1
  47. package/dist/editor-runtime/ProjectSerializer.js +123 -6
  48. package/dist/editor-runtime/ProjectSerializer.js.map +1 -1
  49. package/dist/editor-runtime/TimelineModel.d.ts +18 -0
  50. package/dist/editor-runtime/TimelineModel.d.ts.map +1 -1
  51. package/dist/editor-runtime/TimelineModel.js +67 -3
  52. package/dist/editor-runtime/TimelineModel.js.map +1 -1
  53. package/dist/editor-runtime/TimelineRuntimeBridge.d.ts +98 -0
  54. package/dist/editor-runtime/TimelineRuntimeBridge.d.ts.map +1 -0
  55. package/dist/editor-runtime/TimelineRuntimeBridge.js +186 -0
  56. package/dist/editor-runtime/TimelineRuntimeBridge.js.map +1 -0
  57. package/dist/editor-runtime/index.d.ts +3 -1
  58. package/dist/editor-runtime/index.d.ts.map +1 -1
  59. package/dist/editor-runtime/index.js +1 -0
  60. package/dist/editor-runtime/index.js.map +1 -1
  61. package/dist/engine/agent-api/AnimationController.d.ts +607 -0
  62. package/dist/engine/agent-api/AnimationController.d.ts.map +1 -0
  63. package/dist/engine/agent-api/AnimationController.js +2192 -0
  64. package/dist/engine/agent-api/AnimationController.js.map +1 -0
  65. package/dist/engine/agent-api/AssetEvidence.d.ts +88 -0
  66. package/dist/engine/agent-api/AssetEvidence.d.ts.map +1 -0
  67. package/dist/engine/agent-api/AssetEvidence.js +157 -0
  68. package/dist/engine/agent-api/AssetEvidence.js.map +1 -0
  69. package/dist/engine/agent-api/AuraAppHandle.d.ts +55 -0
  70. package/dist/engine/agent-api/AuraAppHandle.d.ts.map +1 -0
  71. package/dist/engine/agent-api/AuraAppHandle.js +15 -0
  72. package/dist/engine/agent-api/AuraAppHandle.js.map +1 -0
  73. package/dist/engine/agent-api/AuraVoiceBridge.d.ts +96 -0
  74. package/dist/engine/agent-api/AuraVoiceBridge.d.ts.map +1 -0
  75. package/dist/engine/agent-api/AuraVoiceBridge.js +370 -0
  76. package/dist/engine/agent-api/AuraVoiceBridge.js.map +1 -0
  77. package/dist/engine/agent-api/CartoonDirector.d.ts +95 -0
  78. package/dist/engine/agent-api/CartoonDirector.d.ts.map +1 -0
  79. package/dist/engine/agent-api/CartoonDirector.js +342 -0
  80. package/dist/engine/agent-api/CartoonDirector.js.map +1 -0
  81. package/dist/engine/agent-api/CartoonPerformance.d.ts +149 -0
  82. package/dist/engine/agent-api/CartoonPerformance.d.ts.map +1 -0
  83. package/dist/engine/agent-api/CartoonPerformance.js +317 -0
  84. package/dist/engine/agent-api/CartoonPerformance.js.map +1 -0
  85. package/dist/engine/agent-api/CartoonRenderQueue.d.ts +132 -0
  86. package/dist/engine/agent-api/CartoonRenderQueue.d.ts.map +1 -0
  87. package/dist/engine/agent-api/CartoonRenderQueue.js +385 -0
  88. package/dist/engine/agent-api/CartoonRenderQueue.js.map +1 -0
  89. package/dist/engine/agent-api/CharacterAssembly.d.ts +126 -0
  90. package/dist/engine/agent-api/CharacterAssembly.d.ts.map +1 -0
  91. package/dist/engine/agent-api/CharacterAssembly.js +280 -0
  92. package/dist/engine/agent-api/CharacterAssembly.js.map +1 -0
  93. package/dist/engine/agent-api/DialoguePerformance.d.ts +150 -0
  94. package/dist/engine/agent-api/DialoguePerformance.d.ts.map +1 -0
  95. package/dist/engine/agent-api/DialoguePerformance.js +335 -0
  96. package/dist/engine/agent-api/DialoguePerformance.js.map +1 -0
  97. package/dist/engine/agent-api/FrameLoop.d.ts +70 -0
  98. package/dist/engine/agent-api/FrameLoop.d.ts.map +1 -0
  99. package/dist/engine/agent-api/FrameLoop.js +165 -0
  100. package/dist/engine/agent-api/FrameLoop.js.map +1 -0
  101. package/dist/engine/agent-api/GameAssetValidation.d.ts +279 -0
  102. package/dist/engine/agent-api/GameAssetValidation.d.ts.map +1 -0
  103. package/dist/engine/agent-api/GameAssetValidation.js +719 -0
  104. package/dist/engine/agent-api/GameAssetValidation.js.map +1 -0
  105. package/dist/engine/agent-api/GameEvidence.d.ts +148 -0
  106. package/dist/engine/agent-api/GameEvidence.d.ts.map +1 -0
  107. package/dist/engine/agent-api/GameEvidence.js +269 -0
  108. package/dist/engine/agent-api/GameEvidence.js.map +1 -0
  109. package/dist/engine/agent-api/GameRuntime.d.ts +931 -0
  110. package/dist/engine/agent-api/GameRuntime.d.ts.map +1 -0
  111. package/dist/engine/agent-api/GameRuntime.js +2229 -0
  112. package/dist/engine/agent-api/GameRuntime.js.map +1 -0
  113. package/dist/engine/agent-api/GameSceneBridge.d.ts +54 -0
  114. package/dist/engine/agent-api/GameSceneBridge.d.ts.map +1 -0
  115. package/dist/engine/agent-api/GameSceneBridge.js +110 -0
  116. package/dist/engine/agent-api/GameSceneBridge.js.map +1 -0
  117. package/dist/engine/agent-api/PromptAnimationContract.d.ts +278 -0
  118. package/dist/engine/agent-api/PromptAnimationContract.d.ts.map +1 -0
  119. package/dist/engine/agent-api/PromptAnimationContract.js +238 -0
  120. package/dist/engine/agent-api/PromptAnimationContract.js.map +1 -0
  121. package/dist/engine/agent-api/PromptAnimationEvidence.d.ts +183 -0
  122. package/dist/engine/agent-api/PromptAnimationEvidence.d.ts.map +1 -0
  123. package/dist/engine/agent-api/PromptAnimationEvidence.js +454 -0
  124. package/dist/engine/agent-api/PromptAnimationEvidence.js.map +1 -0
  125. package/dist/engine/agent-api/RuntimeNodeHandle.d.ts +100 -0
  126. package/dist/engine/agent-api/RuntimeNodeHandle.d.ts.map +1 -0
  127. package/dist/engine/agent-api/RuntimeNodeHandle.js +36 -0
  128. package/dist/engine/agent-api/RuntimeNodeHandle.js.map +1 -0
  129. package/dist/engine/agent-api/ShotTimeline.d.ts +179 -0
  130. package/dist/engine/agent-api/ShotTimeline.d.ts.map +1 -0
  131. package/dist/engine/agent-api/ShotTimeline.js +264 -0
  132. package/dist/engine/agent-api/ShotTimeline.js.map +1 -0
  133. package/dist/engine/agent-api/VisemeController.d.ts +89 -0
  134. package/dist/engine/agent-api/VisemeController.d.ts.map +1 -0
  135. package/dist/engine/agent-api/VisemeController.js +207 -0
  136. package/dist/engine/agent-api/VisemeController.js.map +1 -0
  137. package/dist/engine/agent-api/game-kits/fighting.d.ts +123 -0
  138. package/dist/engine/agent-api/game-kits/fighting.d.ts.map +1 -0
  139. package/dist/engine/agent-api/game-kits/fighting.js +483 -0
  140. package/dist/engine/agent-api/game-kits/fighting.js.map +1 -0
  141. package/dist/engine/agent-api/game-kits/index.d.ts +15 -0
  142. package/dist/engine/agent-api/game-kits/index.d.ts.map +1 -0
  143. package/dist/engine/agent-api/game-kits/index.js +6 -0
  144. package/dist/engine/agent-api/game-kits/index.js.map +1 -0
  145. package/dist/engine/agent-api/humanoid-walk-runtime.d.ts +18 -81
  146. package/dist/engine/agent-api/humanoid-walk-runtime.d.ts.map +1 -1
  147. package/dist/engine/agent-api/humanoid-walk-runtime.js +4 -279
  148. package/dist/engine/agent-api/humanoid-walk-runtime.js.map +1 -1
  149. package/dist/engine/agent-api/index.d.ts +490 -4
  150. package/dist/engine/agent-api/index.d.ts.map +1 -1
  151. package/dist/engine/agent-api/index.js +759 -1802
  152. package/dist/engine/agent-api/index.js.map +1 -1
  153. package/dist/engine/agent-api/particle-fountain-runtime.d.ts +5 -80
  154. package/dist/engine/agent-api/particle-fountain-runtime.d.ts.map +1 -1
  155. package/dist/engine/agent-api/particle-fountain-runtime.js +7 -291
  156. package/dist/engine/agent-api/particle-fountain-runtime.js.map +1 -1
  157. package/dist/engine/agent-api/product-viewer-runtime.d.ts +17 -107
  158. package/dist/engine/agent-api/product-viewer-runtime.d.ts.map +1 -1
  159. package/dist/engine/agent-api/product-viewer-runtime.js +4 -330
  160. package/dist/engine/agent-api/product-viewer-runtime.js.map +1 -1
  161. package/dist/index.d.ts +1 -0
  162. package/dist/index.js +1 -0
  163. package/dist/physics/CollisionVolumes.d.ts +57 -0
  164. package/dist/physics/CollisionVolumes.d.ts.map +1 -0
  165. package/dist/physics/CollisionVolumes.js +159 -0
  166. package/dist/physics/CollisionVolumes.js.map +1 -0
  167. package/dist/physics/HitboxWorld.d.ts +229 -0
  168. package/dist/physics/HitboxWorld.d.ts.map +1 -0
  169. package/dist/physics/HitboxWorld.js +640 -0
  170. package/dist/physics/HitboxWorld.js.map +1 -0
  171. package/dist/physics/KinematicBody.d.ts +157 -0
  172. package/dist/physics/KinematicBody.d.ts.map +1 -0
  173. package/dist/physics/KinematicBody.js +405 -0
  174. package/dist/physics/KinematicBody.js.map +1 -0
  175. package/dist/physics/KinematicWorld.d.ts +58 -0
  176. package/dist/physics/KinematicWorld.d.ts.map +1 -0
  177. package/dist/physics/KinematicWorld.js +246 -0
  178. package/dist/physics/KinematicWorld.js.map +1 -0
  179. package/dist/physics/index.d.ts +4 -0
  180. package/dist/physics/index.d.ts.map +1 -1
  181. package/dist/physics/index.js +4 -0
  182. package/dist/physics/index.js.map +1 -1
  183. package/dist/rendering/ForwardPass.js +2 -2
  184. package/dist/rendering/ShaderLibrary.js +2 -2
  185. package/dist/rendering/SkinnedLitMaterial.js +3 -3
  186. package/dist/rendering/SkinnedUnlitMaterial.js +3 -3
  187. package/dist/scene/Renderable.js +2 -2
  188. package/dist/scripting/VisualGraph.d.ts +2 -1
  189. package/dist/scripting/VisualGraph.d.ts.map +1 -1
  190. package/dist/scripting/VisualGraph.js +118 -1
  191. package/dist/scripting/VisualGraph.js.map +1 -1
  192. package/dist/scripting/VisualGraphContext.d.ts +123 -0
  193. package/dist/scripting/VisualGraphContext.d.ts.map +1 -0
  194. package/dist/scripting/VisualGraphContext.js +2 -0
  195. package/dist/scripting/VisualGraphContext.js.map +1 -0
  196. package/dist/scripting/VisualGraphExecutor.d.ts +6 -1
  197. package/dist/scripting/VisualGraphExecutor.d.ts.map +1 -1
  198. package/dist/scripting/VisualGraphExecutor.js +364 -7
  199. package/dist/scripting/VisualGraphExecutor.js.map +1 -1
  200. package/dist/scripting/VisualNodeCatalog.d.ts +1 -1
  201. package/dist/scripting/VisualNodeCatalog.d.ts.map +1 -1
  202. package/dist/scripting/VisualNodeCatalog.js +61 -1
  203. package/dist/scripting/VisualNodeCatalog.js.map +1 -1
  204. package/dist/scripting/index.d.ts +1 -0
  205. package/dist/scripting/index.d.ts.map +1 -1
  206. package/dist/scripting/index.js.map +1 -1
  207. package/package.json +193 -121
  208. package/templates/product-viewer/src/main.ts +1 -0
  209. package/dist/three-compat/ThreeApiInventory.d.ts +0 -18
  210. package/dist/three-compat/ThreeApiInventory.d.ts.map +0 -1
  211. package/dist/three-compat/ThreeApiInventory.js +0 -99
  212. package/dist/three-compat/ThreeApiInventory.js.map +0 -1
  213. package/dist/three-compat/ThreeCompatibilityMatrix.d.ts +0 -30
  214. package/dist/three-compat/ThreeCompatibilityMatrix.d.ts.map +0 -1
  215. package/dist/three-compat/ThreeCompatibilityMatrix.js +0 -69
  216. package/dist/three-compat/ThreeCompatibilityMatrix.js.map +0 -1
  217. package/dist/three-compat/animation/index.d.ts +0 -3
  218. package/dist/three-compat/animation/index.d.ts.map +0 -1
  219. package/dist/three-compat/animation/index.js +0 -2
  220. package/dist/three-compat/animation/index.js.map +0 -1
  221. package/dist/three-compat/cameras/index.d.ts +0 -24
  222. package/dist/three-compat/cameras/index.d.ts.map +0 -1
  223. package/dist/three-compat/cameras/index.js +0 -44
  224. package/dist/three-compat/cameras/index.js.map +0 -1
  225. package/dist/three-compat/controls/index.d.ts +0 -3
  226. package/dist/three-compat/controls/index.d.ts.map +0 -1
  227. package/dist/three-compat/controls/index.js +0 -2
  228. package/dist/three-compat/controls/index.js.map +0 -1
  229. package/dist/three-compat/core/Object3DCompat.d.ts +0 -62
  230. package/dist/three-compat/core/Object3DCompat.d.ts.map +0 -1
  231. package/dist/three-compat/core/Object3DCompat.js +0 -112
  232. package/dist/three-compat/core/Object3DCompat.js.map +0 -1
  233. package/dist/three-compat/core/RaycasterCompat.d.ts +0 -18
  234. package/dist/three-compat/core/RaycasterCompat.d.ts.map +0 -1
  235. package/dist/three-compat/core/RaycasterCompat.js +0 -28
  236. package/dist/three-compat/core/RaycasterCompat.js.map +0 -1
  237. package/dist/three-compat/core/SceneCompat.d.ts +0 -8
  238. package/dist/three-compat/core/SceneCompat.d.ts.map +0 -1
  239. package/dist/three-compat/core/SceneCompat.js +0 -8
  240. package/dist/three-compat/core/SceneCompat.js.map +0 -1
  241. package/dist/three-compat/geometries/index.d.ts +0 -67
  242. package/dist/three-compat/geometries/index.d.ts.map +0 -1
  243. package/dist/three-compat/geometries/index.js +0 -114
  244. package/dist/three-compat/geometries/index.js.map +0 -1
  245. package/dist/three-compat/helpers/index.d.ts +0 -40
  246. package/dist/three-compat/helpers/index.d.ts.map +0 -1
  247. package/dist/three-compat/helpers/index.js +0 -129
  248. package/dist/three-compat/helpers/index.js.map +0 -1
  249. package/dist/three-compat/index.d.ts +0 -32
  250. package/dist/three-compat/index.d.ts.map +0 -1
  251. package/dist/three-compat/index.js +0 -22
  252. package/dist/three-compat/index.js.map +0 -1
  253. package/dist/three-compat/lights/index.d.ts +0 -35
  254. package/dist/three-compat/lights/index.d.ts.map +0 -1
  255. package/dist/three-compat/lights/index.js +0 -39
  256. package/dist/three-compat/lights/index.js.map +0 -1
  257. package/dist/three-compat/loaders/index.d.ts +0 -54
  258. package/dist/three-compat/loaders/index.d.ts.map +0 -1
  259. package/dist/three-compat/loaders/index.js +0 -79
  260. package/dist/three-compat/loaders/index.js.map +0 -1
  261. package/dist/three-compat/materials/index.d.ts +0 -70
  262. package/dist/three-compat/materials/index.d.ts.map +0 -1
  263. package/dist/three-compat/materials/index.js +0 -85
  264. package/dist/three-compat/materials/index.js.map +0 -1
  265. package/dist/three-compat/math/index.d.ts +0 -34
  266. package/dist/three-compat/math/index.d.ts.map +0 -1
  267. package/dist/three-compat/math/index.js +0 -90
  268. package/dist/three-compat/math/index.js.map +0 -1
  269. package/dist/three-compat/migration/CompatibilityWarnings.d.ts +0 -6
  270. package/dist/three-compat/migration/CompatibilityWarnings.d.ts.map +0 -1
  271. package/dist/three-compat/migration/CompatibilityWarnings.js +0 -8
  272. package/dist/three-compat/migration/CompatibilityWarnings.js.map +0 -1
  273. package/dist/three-compat/migration/ImportMap.d.ts +0 -2
  274. package/dist/three-compat/migration/ImportMap.d.ts.map +0 -1
  275. package/dist/three-compat/migration/ImportMap.js +0 -10
  276. package/dist/three-compat/migration/ImportMap.js.map +0 -1
  277. package/dist/three-compat/migration/ThreeToA3DAdapter.d.ts +0 -8
  278. package/dist/three-compat/migration/ThreeToA3DAdapter.d.ts.map +0 -1
  279. package/dist/three-compat/migration/ThreeToA3DAdapter.js +0 -20
  280. package/dist/three-compat/migration/ThreeToA3DAdapter.js.map +0 -1
  281. package/dist/three-compat/postprocessing/index.d.ts +0 -2
  282. package/dist/three-compat/postprocessing/index.d.ts.map +0 -1
  283. package/dist/three-compat/postprocessing/index.js +0 -2
  284. package/dist/three-compat/postprocessing/index.js.map +0 -1
  285. package/dist/three-compat/render-targets/index.d.ts +0 -17
  286. package/dist/three-compat/render-targets/index.d.ts.map +0 -1
  287. package/dist/three-compat/render-targets/index.js +0 -29
  288. package/dist/three-compat/render-targets/index.js.map +0 -1
  289. package/dist/three-compat/shaders/index.d.ts +0 -3
  290. package/dist/three-compat/shaders/index.d.ts.map +0 -1
  291. package/dist/three-compat/shaders/index.js +0 -3
  292. package/dist/three-compat/shaders/index.js.map +0 -1
  293. package/dist/three-compat/textures/index.d.ts +0 -19
  294. package/dist/three-compat/textures/index.d.ts.map +0 -1
  295. package/dist/three-compat/textures/index.js +0 -24
  296. package/dist/three-compat/textures/index.js.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@aura3d/engine",
3
- "version": "1.0.2",
4
- "packageManager": "pnpm@11.1.3",
3
+ "version": "1.0.5",
5
4
  "private": false,
6
5
  "type": "module",
7
6
  "files": [
@@ -32,7 +31,6 @@
32
31
  "dist/rendering",
33
32
  "dist/scene",
34
33
  "dist/scripting",
35
- "dist/three-compat",
36
34
  "dist/workflows",
37
35
  "templates/product-viewer",
38
36
  "templates/cinematic-scene",
@@ -84,7 +82,6 @@
84
82
  "./apps": "./dist/apps/index.js",
85
83
  "./engine": "./dist/engine/index.js",
86
84
  "./engine-runtime": "./dist/engine/index.js",
87
- "./three-compat": "./dist/three-compat/index.js",
88
85
  "./create-aura3d": "./dist/create-aura3d/index.js",
89
86
  "./scripting": "./dist/scripting/index.js",
90
87
  "./workflows": "./dist/workflows/index.js",
@@ -101,8 +98,125 @@
101
98
  "./production-runtime": "./dist/engine/production-runtime/index.js",
102
99
  "./advanced-runtime": "./dist/engine/advanced-runtime/index.js"
103
100
  },
101
+ "devDependencies": {
102
+ "@babylonjs/core": "^7.16.1",
103
+ "@babylonjs/loaders": "^7.16.1",
104
+ "@playwright/test": "^1.52.0",
105
+ "@size-limit/file": "^12.1.0",
106
+ "@types/node": "^22.15.3",
107
+ "@types/react": "^19.0.0",
108
+ "@types/three": "^0.165.0",
109
+ "babylonjs-gltf2interface": "7.16.1",
110
+ "draco3d": "^1.5.7",
111
+ "esbuild": "^0.28.0",
112
+ "eslint": "^9.26.0",
113
+ "meshoptimizer": "^1.1.1",
114
+ "react": "^19.0.0",
115
+ "size-limit": "^12.1.0",
116
+ "three": "^0.165.0",
117
+ "tsx": "^4.19.4",
118
+ "typescript": "^5.8.3",
119
+ "vite": "^7.3.2",
120
+ "vitest": "^3.1.3",
121
+ "@aura3d/animation": "1.0.5",
122
+ "@aura3d/core": "1.0.5",
123
+ "@aura3d/debug": "1.0.5",
124
+ "@aura3d/ecs": "1.0.5",
125
+ "@aura3d/editor": "1.0.5",
126
+ "@aura3d/input": "1.0.5",
127
+ "@aura3d/math": "1.0.5",
128
+ "@aura3d/audio": "1.0.5",
129
+ "@aura3d/physics": "1.0.5",
130
+ "@aura3d/product-studio": "1.0.5",
131
+ "@aura3d/cli": "1.0.5",
132
+ "@aura3d/assets": "1.0.5",
133
+ "@aura3d/scripting": "1.0.5",
134
+ "@aura3d/rendering": "1.0.5",
135
+ "@aura3d/scene": "1.0.5",
136
+ "@aura3d/workflows": "1.0.5",
137
+ "@aura3d/react": "1.0.5",
138
+ "create-aura3d": "1.0.5",
139
+ "@aura3d/apps": "1.0.5",
140
+ "@aura3d/editor-runtime": "1.0.5",
141
+ "@aura3d/engine-runtime": "1.0.5"
142
+ },
143
+ "dependencies": {
144
+ "@loaders.gl/core": "4.4.1",
145
+ "@loaders.gl/textures": "4.4.1",
146
+ "cannon-es": "0.20.0"
147
+ },
148
+ "sideEffects": false,
149
+ "description": "AI-native TypeScript 3D SDK for browser 3D apps, prompt-to-code scenes, GLB/glTF product viewers, WebGL/WebGPU, Vite templates, diagnostics, and deploy checks.",
150
+ "keywords": [
151
+ "3d",
152
+ "3d-library",
153
+ "3d-engine",
154
+ "browser-3d",
155
+ "web-3d",
156
+ "webgl",
157
+ "webgl2",
158
+ "webgpu",
159
+ "typescript",
160
+ "typescript-3d",
161
+ "javascript",
162
+ "ai-agents",
163
+ "coding-agents",
164
+ "ai-coding",
165
+ "llm",
166
+ "prompt-to-3d",
167
+ "prompt-to-code",
168
+ "generative-3d",
169
+ "gltf",
170
+ "glb",
171
+ "glb-viewer",
172
+ "gltf-viewer",
173
+ "typed-assets",
174
+ "product-viewer",
175
+ "product-configurator",
176
+ "3d-viewer",
177
+ "3d-website",
178
+ "threejs",
179
+ "threejs-alternative",
180
+ "babylonjs",
181
+ "babylonjs-alternative",
182
+ "unity-alternative",
183
+ "unreal-engine",
184
+ "playcanvas",
185
+ "vite",
186
+ "react",
187
+ "scene-graph",
188
+ "scene-kits",
189
+ "diagnostics",
190
+ "screenshot-testing",
191
+ "static-deploy",
192
+ "threejs-competitor",
193
+ "babylonjs-competitor",
194
+ "unity-webgl-alternative",
195
+ "unreal-alternative",
196
+ "webgl-framework",
197
+ "webgpu-framework",
198
+ "ai-3d",
199
+ "3d-sdk",
200
+ "browser-3d-engine"
201
+ ],
202
+ "homepage": "https://aura3d.auraone.ai",
203
+ "repository": {
204
+ "type": "git",
205
+ "url": "git+https://github.com/auraoneai/aura3d.git"
206
+ },
207
+ "bugs": {
208
+ "url": "https://github.com/auraoneai/aura3d/issues"
209
+ },
210
+ "license": "MIT",
211
+ "publishConfig": {
212
+ "access": "public"
213
+ },
104
214
  "scripts": {
105
- "typecheck": "tsc -p tsconfig.build.json --noEmit",
215
+ "evidence:command": "node tools/evidence/run-command-proof.mjs",
216
+ "evidence:plan": "node tools/evidence/run-command-plan.mjs",
217
+ "evidence:plan-check": "node tools/evidence/check-command-plan.mjs",
218
+ "typecheck": "pnpm evidence:command --id typecheck --out tests/reports/aura3d104/typecheck.json --log tests/reports/game-runtime/typecheck.log --cwd . -- pnpm typecheck:raw",
219
+ "typecheck:raw": "tsc -p tsconfig.build.json --noEmit",
106
220
  "typecheck:ws1": "tsc -p tsconfig.build.json --noEmit",
107
221
  "test": "pnpm test:unit && pnpm test:integration",
108
222
  "test:unit": "vitest run tests/unit --reporter=default --reporter=json --outputFile=tests/reports/unit.json",
@@ -112,6 +226,76 @@
112
226
  "test:templates": "vitest run --config tests/templates/vitest.config.ts",
113
227
  "test:ws1": "vitest run tests/unit/math tests/unit/core tests/unit/tools tests/integration/engine-loop.test.ts",
114
228
  "test:browser": "playwright test tests/browser/advanced-examples-gallery.spec.ts tests/browser/current-routes-route-health.spec.ts tests/browser/wow-showcase-screenshots.spec.ts",
229
+ "game-runtime:unit": "pnpm evidence:command --id game-runtime-unit --out tests/reports/game-runtime/unit.json --log tests/reports/game-runtime/unit.log --cwd . -- pnpm game-runtime:unit:raw",
230
+ "game-runtime:unit:raw": "vitest run tests/unit/agent-api/aura-app-handle.test.ts tests/unit/agent-api/runtime-node-handle.test.ts tests/unit/game-runtime/input.test.ts tests/unit/game-runtime/kinematic-body.test.ts tests/unit/game-runtime/hitbox-world.test.ts tests/unit/game-runtime/game-runtime-source-gates.test.ts tests/unit/game-runtime/runtime-node-frame-loop-source-contract.test.ts tests/unit/animation/animation-controller.test.ts tests/game-runtime/aura3d104-game-runtime-source.test.ts --reporter=dot",
231
+ "game-runtime:browser": "pnpm evidence:command --id game-runtime-browser --out tests/reports/game-runtime/browser.json --log tests/reports/game-runtime/browser.log --cwd . -- pnpm game-runtime:browser:raw",
232
+ "game-runtime:browser:raw": "playwright test tests/browser/game-runtime-mutability.spec.ts tests/browser/fighting-game-runtime.spec.ts tests/browser/game-runtime-visual.spec.ts tests/browser/game-runtime-visible-node-movement.spec.ts tests/game-runtime/keyboard-operation-browser.spec.ts --reporter=line",
233
+ "game-runtime:prd-readiness": "tsx --tsconfig tsconfig.base.json tools/game-runtime-prd-readiness/index.ts",
234
+ "game-runtime:template": "pnpm evidence:command --id game-runtime-template --out tests/reports/game-runtime/template.json --log tests/reports/game-runtime/template.log --cwd . -- pnpm game-runtime:template:raw",
235
+ "game-runtime:template:raw": "tsx --tsconfig tsconfig.base.json tools/game-runtime-readiness/index.ts",
236
+ "game-runtime:docs": "pnpm evidence:command --id game-runtime-docs --out tests/reports/game-runtime/docs.json --log tests/reports/game-runtime/docs.log --cwd . -- pnpm game-runtime:docs:raw",
237
+ "game-runtime:docs:raw": "tsx --tsconfig tsconfig.base.json tools/game-runtime-docs-readiness/index.ts",
238
+ "game-runtime:evidence": "pnpm evidence:command --id game-runtime-evidence --out tests/reports/game-runtime/game-runtime-evidence.json --log tests/reports/game-runtime/evidence.log --cwd . -- pnpm game-runtime:evidence:raw",
239
+ "game-runtime:evidence:raw": "tsx --tsconfig tsconfig.base.json tools/game-runtime-evidence/index.ts",
240
+ "game-runtime:package": "pnpm evidence:command --id game-runtime-package --out tests/reports/game-runtime/package-smoke.json --log tests/reports/game-runtime/package.log --cwd . -- pnpm game-runtime:package:raw",
241
+ "game-runtime:package:raw": "pnpm build && pnpm exec tsx --tsconfig tsconfig.base.json tools/game-runtime-package-smoke/index.ts --execute-external-vite",
242
+ "game-runtime:release": "pnpm evidence:command --id game-runtime-release --out tests/reports/game-runtime/release.json --log tests/reports/game-runtime/release.log --cwd . -- pnpm game-runtime:release:raw",
243
+ "game-runtime:release:raw": "pnpm typecheck && pnpm game-runtime:unit && pnpm game-runtime:browser && pnpm game-runtime:template && pnpm game-runtime:docs && pnpm game-runtime:evidence && pnpm game-runtime:package",
244
+ "animation-runtime:unit": "pnpm evidence:command --id animation-runtime-unit --out tests/reports/animation-runtime/unit.json --log tests/reports/animation-runtime/unit.log --cwd . -- pnpm animation-runtime:unit:raw",
245
+ "animation-runtime:unit:raw": "vitest run tests/unit/agent-api/runtime-node-handle.test.ts tests/unit/animation/animation-controller.test.ts tests/assets/gltf-animation-runtime.test.ts --reporter=dot",
246
+ "animation-runtime:browser": "pnpm evidence:command --id animation-runtime-browser --out tests/reports/animation-runtime/browser.json --log tests/reports/animation-runtime/browser.log --cwd . -- pnpm animation-runtime:browser:raw",
247
+ "animation-runtime:browser:raw": "playwright test tests/browser/animation-runtime-105.spec.ts --reporter=line",
248
+ "animation-runtime:evidence": "tsx --tsconfig tsconfig.base.json tools/animation-runtime-evidence/index.ts --out tests/reports/animation-runtime/evidence.json",
249
+ "animation-runtime:package": "pnpm evidence:command --id animation-runtime-package --out tests/reports/animation-runtime/package-smoke.json --log tests/reports/animation-runtime/package-smoke.log --cwd . -- pnpm animation-runtime:package:raw",
250
+ "animation-runtime:package:raw": "tsx --tsconfig tsconfig.base.json tools/animation-runtime-package-smoke/index.ts",
251
+ "animation-runtime:release": "pnpm animation-runtime:unit && pnpm animation-runtime:browser && pnpm animation-runtime:evidence && pnpm animation-runtime:package",
252
+ "editor-tools:unit": "pnpm evidence:command --id editor-tools-unit --out tests/reports/editor-tools/unit.json --log tests/reports/editor-tools/unit.log --cwd . -- pnpm editor-tools:unit:raw",
253
+ "editor-tools:unit:raw": "tsx --tsconfig tsconfig.base.json --test packages/editor-runtime/tests/editor-runtime.test.ts",
254
+ "editor-tools:browser": "pnpm evidence:command --id editor-tools-browser --out tests/reports/editor-tools/browser.json --log tests/reports/editor-tools/browser.log --cwd . -- pnpm editor-tools:browser:raw",
255
+ "editor-tools:browser:raw": "playwright test tests/browser/editor-tools-105.spec.ts --reporter=line",
256
+ "editor-tools:evidence": "tsx --tsconfig tsconfig.base.json tools/editor-tools-evidence/index.ts --out tests/reports/editor-tools/evidence.json",
257
+ "editor-tools:package": "pnpm evidence:command --id editor-tools-package --out tests/reports/editor-tools/package-smoke.json --log tests/reports/editor-tools/package-smoke.log --cwd . -- pnpm editor-tools:package:raw",
258
+ "editor-tools:package:raw": "tsx --tsconfig tsconfig.base.json tools/editor-tools-package-smoke/index.ts",
259
+ "editor-tools:release": "pnpm editor-tools:unit && pnpm editor-tools:browser && pnpm editor-tools:evidence && pnpm editor-tools:package",
260
+ "visual-scripting:unit": "pnpm evidence:command --id visual-scripting-unit --out tests/reports/visual-scripting/unit.json --log tests/reports/visual-scripting/unit.log --cwd . -- pnpm visual-scripting:unit:raw",
261
+ "visual-scripting:unit:raw": "tsx --tsconfig tsconfig.base.json --test packages/scripting/tests/scripting.test.ts",
262
+ "visual-scripting:browser": "pnpm evidence:command --id visual-scripting-browser --out tests/reports/visual-scripting/browser.json --log tests/reports/visual-scripting/browser.log --cwd . -- pnpm visual-scripting:browser:raw",
263
+ "visual-scripting:browser:raw": "playwright test tests/browser/visual-scripting-105.spec.ts --reporter=line",
264
+ "visual-scripting:evidence": "tsx --tsconfig tsconfig.base.json tools/visual-scripting-evidence/index.ts --out tests/reports/visual-scripting/evidence.json",
265
+ "visual-scripting:package": "pnpm evidence:command --id visual-scripting-package --out tests/reports/visual-scripting/package-smoke.json --log tests/reports/visual-scripting/package-smoke.log --cwd . -- pnpm visual-scripting:package:raw",
266
+ "visual-scripting:package:raw": "tsx --tsconfig tsconfig.base.json tools/visual-scripting-package-smoke/index.ts",
267
+ "visual-scripting:release": "pnpm visual-scripting:unit && pnpm visual-scripting:browser && pnpm visual-scripting:evidence && pnpm visual-scripting:package",
268
+ "assets:provenance": "pnpm assets:provenance:raw && tsx --tsconfig tsconfig.base.json tools/aura3d105-release-readiness/index.ts --area assets --out tests/reports/aura3d105/assets-provenance-gate.json",
269
+ "assets:provenance:raw": "tsx --tsconfig tsconfig.base.json tools/assets-provenance-evidence/index.ts --out tests/reports/assets/provenance.json",
270
+ "templates:smoke": "pnpm templates:smoke:raw && tsx --tsconfig tsconfig.base.json tools/aura3d105-release-readiness/index.ts --area templates --out tests/reports/aura3d105/templates-smoke-gate.json",
271
+ "templates:smoke:raw": "playwright test tests/browser/templates-105.spec.ts --reporter=line",
272
+ "aura3d105:readiness": "tsx --tsconfig tsconfig.base.json tools/aura3d105-release-readiness/index.ts --report-only",
273
+ "aura3d105:release": "pnpm evidence:command --id aura3d105-release --out tests/reports/aura3d105/release-command.json --log tests/reports/aura3d105/release.log --cwd . -- pnpm aura3d105:release:raw",
274
+ "aura3d105:release:raw": "tsx --tsconfig tsconfig.base.json tools/aura3d105-release-readiness/index.ts --out tests/reports/aura3d105/release.json",
275
+ "prompt-animation:unit": "pnpm evidence:command --id prompt-animation-unit --out tests/reports/prompt-animation/unit.json --log tests/reports/prompt-animation/unit.log --cwd . -- pnpm prompt-animation:unit:raw",
276
+ "prompt-animation:unit:raw": "vitest run tests/unit/agent-api tests/unit/tools/prompt-asset-audit.test.ts tests/unit/tools/prompt-parity-readiness.test.ts tests/unit/tools/prompt-source-audit.test.ts --reporter=dot",
277
+ "prompt-animation:browser": "pnpm evidence:command --id prompt-animation-browser --out tests/reports/prompt-animation/browser.json --log tests/reports/prompt-animation/browser.log --cwd . -- pnpm prompt-animation:browser:raw",
278
+ "prompt-animation:browser:raw": "playwright test packages/create-aura3d/templates/cartoon-channel/tests/route-health.spec.ts packages/create-aura3d/templates/cartoon-channel/tests/storyboard-playback.spec.ts packages/create-aura3d/templates/prompt-cartoon-channel/tests/route-health.spec.ts packages/create-aura3d/templates/prompt-cartoon-channel/tests/storyboard-playback.spec.ts --reporter=line",
279
+ "prompt-animation:template": "pnpm evidence:command --id prompt-animation-template --out tests/reports/prompt-animation/template.json --log tests/reports/prompt-animation/template.log --cwd . -- pnpm prompt-animation:template:raw",
280
+ "prompt-animation:template:raw": "tsx --tsconfig tsconfig.base.json tools/prompt-animation-readiness/index.ts",
281
+ "prompt-animation:docs": "pnpm evidence:command --id prompt-animation-docs --out tests/reports/prompt-animation/docs.json --log tests/reports/prompt-animation/docs.log --cwd . -- pnpm prompt-animation:docs:raw",
282
+ "prompt-animation:docs:raw": "tsx --tsconfig tsconfig.base.json tools/prompt-animation-docs-readiness/index.ts",
283
+ "prompt-animation:package": "pnpm evidence:command --id prompt-animation-package --out tests/reports/prompt-animation/package-smoke.json --log tests/reports/prompt-animation/package.log --cwd . -- pnpm prompt-animation:package:raw",
284
+ "prompt-animation:package:raw": "pnpm build && pnpm prompt-animation:template && pnpm prompt-animation:docs && pnpm exec tsx --tsconfig tsconfig.base.json tools/prompt-animation-package-smoke/index.ts --execute-external-vite",
285
+ "prompt-animation:release": "pnpm evidence:command --id prompt-animation-release --out tests/reports/prompt-animation/release.json --log tests/reports/prompt-animation/release.log --cwd . -- pnpm prompt-animation:release:raw",
286
+ "prompt-animation:release:raw": "pnpm prompt-animation:unit && pnpm prompt-animation:browser && pnpm prompt-animation:template && pnpm prompt-animation:docs && pnpm prompt-animation:validate-cartoon && pnpm prompt-animation:package && pnpm prompt-animation:auravoice-contract && pnpm prompt-animation:auravoice-render && pnpm prompt-animation:viseme-sync && pnpm prompt-animation:dub-sync && pnpm prompt-animation:evidence",
287
+ "prompt-animation:auravoice-contract": "pnpm evidence:command --id prompt-animation-auravoice-contract --out tests/reports/prompt-animation/auravoice-contract-proof.json --log tests/reports/prompt-animation/auravoice-contract.log --cwd . -- pnpm prompt-animation:auravoice-contract:raw",
288
+ "prompt-animation:auravoice-contract:raw": "tsx --tsconfig tsconfig.base.json tools/prompt-animation-auravoice-contract/index.ts",
289
+ "prompt-animation:auravoice-render": "pnpm evidence:command --id prompt-animation-auravoice-render --out tests/reports/prompt-animation/auravoice-sample-render-gates.json --log tests/reports/prompt-animation/auravoice-render.log --cwd . -- pnpm prompt-animation:auravoice-render:raw",
290
+ "prompt-animation:auravoice-render:raw": "tsx --tsconfig tsconfig.base.json tools/prompt-animation-auravoice-render/index.ts",
291
+ "prompt-animation:validate-cartoon": "pnpm evidence:command --id prompt-animation-validate-cartoon --out tests/reports/prompt-animation/validate-cartoon.json --log tests/reports/prompt-animation/validate-cartoon.log --cwd . -- pnpm prompt-animation:validate-cartoon:raw",
292
+ "prompt-animation:validate-cartoon:raw": "npx @aura3d/cli@latest assets validate-cartoon packages/create-aura3d/templates/prompt-cartoon-channel/src/aura-assets.ts --json",
293
+ "prompt-animation:viseme-sync": "pnpm evidence:command --id prompt-animation-viseme-sync --out tests/reports/prompt-animation/viseme-sync-proof.json --log tests/reports/prompt-animation/viseme-sync.log --cwd . -- pnpm prompt-animation:viseme-sync:raw",
294
+ "prompt-animation:viseme-sync:raw": "tsx --tsconfig tsconfig.base.json tools/prompt-animation-viseme-sync/index.ts",
295
+ "prompt-animation:dub-sync": "pnpm evidence:command --id prompt-animation-dub-sync --out tests/reports/prompt-animation/dub-sync-proof.json --log tests/reports/prompt-animation/dub-sync.log --cwd . -- pnpm prompt-animation:dub-sync:raw",
296
+ "prompt-animation:dub-sync:raw": "tsx --tsconfig tsconfig.base.json tools/prompt-animation-dub-sync/index.ts",
297
+ "prompt-animation:evidence": "pnpm evidence:command --id prompt-animation-evidence --out tests/reports/prompt-animation/prompt-animation-evidence.json --log tests/reports/prompt-animation/evidence.log --cwd . -- pnpm prompt-animation:evidence:raw",
298
+ "prompt-animation:evidence:raw": "tsx --tsconfig tsconfig.base.json tools/prompt-animation-evidence/index.ts",
115
299
  "test:visual": "node --experimental-strip-types tools/visual-baseline/index.ts",
116
300
  "test:performance": "pnpm threejs-parity:performance && pnpm superiority:performance",
117
301
  "check:prompt-parity-readiness": "pnpm exec tsx --tsconfig tsconfig.base.json tools/prompt-parity-readiness/index.ts",
@@ -229,7 +413,8 @@
229
413
  "production-runtime:product-decision": "pnpm exec tsx --tsconfig tsconfig.base.json tools/production-runtime-product-decision/index.ts",
230
414
  "production-runtime:release-readiness": "pnpm exec tsx --tsconfig tsconfig.base.json tools/production-runtime-production-renderer-readiness/index.ts && pnpm exec tsx --tsconfig tsconfig.base.json tools/production-runtime-literal-completion/index.ts && pnpm exec tsx --tsconfig tsconfig.base.json tools/production-runtime-completion-audit/index.ts && pnpm exec tsx --tsconfig tsconfig.base.json tools/production-runtime-release-readiness/index.ts",
231
415
  "production-runtime:release": "pnpm production-runtime:truth && pnpm production-runtime:progress && pnpm production-runtime:assets && pnpm production-runtime:environments && pnpm typecheck && pnpm production-runtime:webgl2 && pnpm production-runtime:pbr && pnpm production-runtime:gltf && pnpm production-runtime:lighting-postprocess && pnpm production-runtime:webgpu && pnpm production-runtime:animation-controls && pnpm production-runtime:apps && pnpm production-runtime:visuals && pnpm production-runtime:workflows && pnpm production-runtime:templates && pnpm production-runtime:performance && pnpm production-runtime:package && pnpm production-runtime:docs && pnpm production-runtime:product-decision && pnpm production-runtime:release-readiness && pnpm exec tsx --tsconfig tsconfig.base.json tools/production-runtime-completion-audit/index.ts",
232
- "build": "tsc -p tsconfig.build.json && node --experimental-strip-types tools/finalize-dist/index.ts",
416
+ "build": "pnpm evidence:command --id build --out tests/reports/aura3d104/build.json --log tests/reports/game-runtime/build.log --cwd . -- pnpm build:raw",
417
+ "build:raw": "tsc -p tsconfig.build.json && node --experimental-strip-types tools/finalize-dist/index.ts",
233
418
  "build:external-demos": "node --experimental-strip-types tools/external-demo-export/index.ts",
234
419
  "verify:architecture": "node --experimental-strip-types tools/verify-architecture/index.ts",
235
420
  "verify:boundaries": "node --experimental-strip-types tools/verify-boundaries/index.ts",
@@ -333,7 +518,7 @@
333
518
  "current-routes:route-health": "pnpm exec playwright test tests/browser/current-routes-route-health.spec.ts --reporter=line && pnpm exec tsx --tsconfig tsconfig.base.json tools/current-routes-route-health/index.ts",
334
519
  "current-routes:flagship": "echo 'current flagship route app was pruned; use current-routes:route-health'",
335
520
  "current-routes:threejs-parity": "pnpm exec playwright test tests/browser/current-routes-threejs-parity.spec.ts --reporter=line && pnpm exec tsx --tsconfig tsconfig.base.json tools/current-routes-threejs-parity/index.ts",
336
- "current-routes:no-three-runtime": "pnpm exec tsx --tsconfig tsconfig.base.json tools/current-routes-runtime-import-audit/index.ts",
521
+ "current-routes:no-three-runtime": "pnpm exec tsx --tsconfig tsconfig.base.json tools/current-routes-runtime-import-audit/index.ts && pnpm exec tsx --tsconfig tsconfig.base.json tools/package-no-three-runtime/index.ts",
337
522
  "current-routes:visual-review": "pnpm exec tsx --tsconfig tsconfig.base.json tools/current-routes-visual-review/index.ts",
338
523
  "current-routes:legacy-prune": "pnpm exec tsx --tsconfig tsconfig.base.json tools/current-routes-legacy-prune/index.ts",
339
524
  "current-routes:completion-audit": "pnpm exec tsx --tsconfig tsconfig.base.json tools/current-routes-completion-audit/index.ts",
@@ -400,118 +585,5 @@
400
585
  "benchmark:contact-sheet": "node benchmark/runner/visual-qa-gates.mjs --mode=smoke --requireHumanReview=false",
401
586
  "benchmark:visual-qa": "node benchmark/runner/visual-qa-gates.mjs --mode=acceptance",
402
587
  "benchmark:performance-budgets": "node benchmark/runner/scene-kit-performance-budget.mjs"
403
- },
404
- "devDependencies": {
405
- "@aura3d/animation": "workspace:*",
406
- "@aura3d/apps": "workspace:*",
407
- "@aura3d/assets": "workspace:*",
408
- "@aura3d/audio": "workspace:*",
409
- "@aura3d/cli": "workspace:*",
410
- "@aura3d/core": "workspace:*",
411
- "@aura3d/debug": "workspace:*",
412
- "@aura3d/ecs": "workspace:*",
413
- "@aura3d/editor": "workspace:*",
414
- "@aura3d/editor-runtime": "workspace:*",
415
- "@aura3d/engine-runtime": "workspace:*",
416
- "@aura3d/input": "workspace:*",
417
- "@aura3d/math": "workspace:*",
418
- "@aura3d/physics": "workspace:*",
419
- "@aura3d/product-studio": "workspace:*",
420
- "@aura3d/react": "workspace:*",
421
- "@aura3d/rendering": "workspace:*",
422
- "@aura3d/scene": "workspace:*",
423
- "@aura3d/scripting": "workspace:*",
424
- "@aura3d/workflows": "workspace:*",
425
- "@babylonjs/core": "^7.16.1",
426
- "@babylonjs/loaders": "^7.16.1",
427
- "@playwright/test": "^1.52.0",
428
- "@size-limit/file": "^12.1.0",
429
- "@types/node": "^22.15.3",
430
- "@types/react": "^19.0.0",
431
- "@types/three": "^0.165.0",
432
- "babylonjs-gltf2interface": "7.16.1",
433
- "create-aura3d": "workspace:*",
434
- "draco3d": "^1.5.7",
435
- "esbuild": "^0.28.0",
436
- "eslint": "^9.26.0",
437
- "meshoptimizer": "^1.1.1",
438
- "react": "^19.0.0",
439
- "size-limit": "^12.1.0",
440
- "tsx": "^4.19.4",
441
- "typescript": "^5.8.3",
442
- "vite": "^7.3.2",
443
- "vitest": "^3.1.3"
444
- },
445
- "dependencies": {
446
- "@loaders.gl/core": "4.4.1",
447
- "@loaders.gl/textures": "4.4.1",
448
- "cannon-es": "0.20.0",
449
- "three": "^0.165.0"
450
- },
451
- "sideEffects": false,
452
- "description": "AI-native TypeScript 3D SDK for browser 3D apps, prompt-to-code scenes, GLB/glTF product viewers, WebGL/WebGPU, Vite templates, diagnostics, and deploy checks.",
453
- "keywords": [
454
- "3d",
455
- "3d-library",
456
- "3d-engine",
457
- "browser-3d",
458
- "web-3d",
459
- "webgl",
460
- "webgl2",
461
- "webgpu",
462
- "typescript",
463
- "typescript-3d",
464
- "javascript",
465
- "ai-agents",
466
- "coding-agents",
467
- "ai-coding",
468
- "llm",
469
- "prompt-to-3d",
470
- "prompt-to-code",
471
- "generative-3d",
472
- "gltf",
473
- "glb",
474
- "glb-viewer",
475
- "gltf-viewer",
476
- "typed-assets",
477
- "product-viewer",
478
- "product-configurator",
479
- "3d-viewer",
480
- "3d-website",
481
- "threejs",
482
- "threejs-alternative",
483
- "babylonjs",
484
- "babylonjs-alternative",
485
- "unity-alternative",
486
- "unreal-engine",
487
- "playcanvas",
488
- "vite",
489
- "react",
490
- "scene-graph",
491
- "scene-kits",
492
- "diagnostics",
493
- "screenshot-testing",
494
- "static-deploy",
495
- "threejs-competitor",
496
- "babylonjs-competitor",
497
- "unity-webgl-alternative",
498
- "unreal-alternative",
499
- "webgl-framework",
500
- "webgpu-framework",
501
- "ai-3d",
502
- "3d-sdk",
503
- "browser-3d-engine"
504
- ],
505
- "homepage": "https://aura3d.auraone.ai",
506
- "repository": {
507
- "type": "git",
508
- "url": "git+https://github.com/auraoneai/aura3d.git"
509
- },
510
- "bugs": {
511
- "url": "https://github.com/auraoneai/aura3d/issues"
512
- },
513
- "license": "MIT",
514
- "publishConfig": {
515
- "access": "public"
516
588
  }
517
- }
589
+ }
@@ -17,6 +17,7 @@ const plan = definePromptPlan({
17
17
  ],
18
18
  negativeCriteria: [
19
19
  "Do not use string asset ids or invented product URLs",
20
+ "Do not ship a lone GLB without plinth, contact, fit, and rotation evidence"
20
21
  ]
21
22
  } as const);
22
23
 
@@ -1,18 +0,0 @@
1
- export type ThreeApiCategory = "core" | "math" | "cameras" | "lights" | "materials" | "geometries" | "textures" | "loaders" | "controls" | "postprocessing" | "animation" | "helpers" | "renderers" | "webxr" | "examples";
2
- export interface ThreeApiInventoryEntry {
3
- readonly name: string;
4
- readonly category: ThreeApiCategory;
5
- readonly source: "three" | "three/examples";
6
- readonly importPath: string;
7
- }
8
- export interface ThreeApiInventory {
9
- readonly threeVersion: string;
10
- readonly generatedFromPackage: string;
11
- readonly entries: readonly ThreeApiInventoryEntry[];
12
- readonly categories: Readonly<Record<ThreeApiCategory, number>>;
13
- }
14
- export declare const REQUIRED_THREE_API_CATEGORIES: readonly ThreeApiCategory[];
15
- export declare const THREE_EXAMPLES_INVENTORY: readonly ThreeApiInventoryEntry[];
16
- export declare function buildThreeApiInventory(threeVersion: string, threeExportNames: readonly string[]): ThreeApiInventory;
17
- export declare function categorizeThreeExport(name: string): ThreeApiCategory;
18
- //# sourceMappingURL=ThreeApiInventory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThreeApiInventory.d.ts","sourceRoot":"","sources":["../../../../packages/three-compat/src/ThreeApiInventory.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,MAAM,GACN,SAAS,GACT,QAAQ,GACR,WAAW,GACX,YAAY,GACZ,UAAU,GACV,SAAS,GACT,UAAU,GACV,gBAAgB,GAChB,WAAW,GACX,SAAS,GACT,WAAW,GACX,OAAO,GACP,UAAU,CAAC;AAEf,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACpD,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,CAAC;CACjE;AAgBD,eAAO,MAAM,6BAA6B,EAAE,SAAS,gBAAgB,EAgB3D,CAAC;AAEX,eAAO,MAAM,wBAAwB,EAAE,SAAS,sBAAsB,EA+B5D,CAAC;AAEX,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,SAAS,MAAM,EAAE,GAAG,iBAAiB,CAoBnH;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAKpE"}
@@ -1,99 +0,0 @@
1
- const categoryMatchers = [
2
- ["cameras", [/Camera$/, /^PerspectiveCamera$/, /^OrthographicCamera$/, /^CubeCamera$/]],
3
- ["lights", [/Light$/, /^AmbientLight$/, /^DirectionalLight$/, /^PointLight$/, /^SpotLight$/, /^HemisphereLight$/, /^RectAreaLight/]],
4
- ["materials", [/Material$/, /^Mesh.*Material$/, /^Line.*Material$/, /^PointsMaterial$/, /^SpriteMaterial$/, /^ShaderMaterial$/]],
5
- ["geometries", [/Geometry$/, /^BufferGeometry$/, /^BoxGeometry$/, /^SphereGeometry$/, /^PlaneGeometry$/, /^CylinderGeometry$/, /^Torus/]],
6
- ["textures", [/Texture$/, /^DataTexture$/, /^CubeTexture$/, /^CanvasTexture$/, /^VideoTexture$/, /^FramebufferTexture$/]],
7
- ["animation", [/Animation/, /^KeyframeTrack$/, /^Skeleton$/, /^SkinnedMesh$/, /^Bone$/, /^PropertyBinding$/, /^PropertyMixer$/]],
8
- ["helpers", [/Helper$/, /^AxesHelper$/, /^GridHelper$/, /^CameraHelper$/]],
9
- ["renderers", [/Renderer$/, /^WebGL/, /^Render/]],
10
- ["webxr", [/XR/, /^WebXR/]],
11
- ["math", [/^Vector/, /^Matrix/, /^Quaternion$/, /^Euler$/, /^Color$/, /^Box/, /^Sphere$/, /^Ray$/, /^Plane$/, /^Frustum$/, /^MathUtils$/, /^Spherical$/, /^Cylindrical$/]],
12
- ["core", [/^Object3D$/, /^Scene$/, /^Mesh$/, /^Group$/, /^BufferAttribute$/, /^Instanced/, /^Raycaster$/, /^Layers$/, /^Clock$/, /^EventDispatcher$/]]
13
- ];
14
- export const REQUIRED_THREE_API_CATEGORIES = [
15
- "core",
16
- "math",
17
- "cameras",
18
- "lights",
19
- "materials",
20
- "geometries",
21
- "textures",
22
- "loaders",
23
- "controls",
24
- "postprocessing",
25
- "animation",
26
- "helpers",
27
- "renderers",
28
- "webxr",
29
- "examples"
30
- ];
31
- export const THREE_EXAMPLES_INVENTORY = [
32
- ...exampleEntries("loaders", [
33
- "GLTFLoader", "DRACOLoader", "KTX2Loader", "OBJLoader", "MTLLoader", "FBXLoader", "ColladaLoader", "PLYLoader", "STLLoader",
34
- "SVGLoader", "RGBELoader", "EXRLoader", "HDRCubeTextureLoader", "TextureLoader", "CubeTextureLoader", "LUTCubeLoader", "TGALoader", "VOXLoader"
35
- ]),
36
- ...exampleEntries("controls", [
37
- "OrbitControls", "MapControls", "TrackballControls", "FlyControls", "FirstPersonControls", "PointerLockControls", "DragControls",
38
- "TransformControls", "ArcballControls", "DeviceOrientationControls"
39
- ]),
40
- ...exampleEntries("postprocessing", [
41
- "EffectComposer", "RenderPass", "ShaderPass", "UnrealBloomPass", "SSAOPass", "TAARenderPass", "SMAAPass", "FXAAShader", "BokehPass",
42
- "OutlinePass", "FilmPass", "AfterimagePass", "GlitchPass", "DotScreenPass", "LUTPass"
43
- ]),
44
- ...exampleEntries("webxr", [
45
- "VRButton",
46
- "ARButton",
47
- "XRButton",
48
- "XRControllerModelFactory",
49
- "XRHandModelFactory",
50
- "OculusHandModel",
51
- "XRPlanes",
52
- "WebXRManager"
53
- ]),
54
- ...exampleEntries("examples", [
55
- "webgl_animation_skinning_blending", "webgl_animation_keyframes", "webgl_loader_gltf", "webgl_loader_obj_mtl",
56
- "webgl_materials_physical_clearcoat", "webgl_materials_envmaps_hdr", "webgl_postprocessing_unreal_bloom", "webgl_postprocessing_dof",
57
- "webgl_instancing_performance", "webgl_interactive_raycasting_points", "webgl_geometry_terrain", "webgl_shaders_ocean",
58
- "webgl_points_sprites", "webgl_lines_fat", "webgl_morphtargets", "webgl_shadowmap_pcss", "webgl_lights_rectarealight",
59
- "webgl_clipping", "webgl_multiple_rendertargets", "webgl2_materials_texture3d", "webgl2_multisampled_renderbuffers",
60
- "webxr_vr_ballshooter", "webxr_ar_cones"
61
- ])
62
- ];
63
- export function buildThreeApiInventory(threeVersion, threeExportNames) {
64
- const entries = [
65
- ...[...threeExportNames].sort().map((name) => ({
66
- name,
67
- category: categorizeThreeExport(name),
68
- source: "three",
69
- importPath: "three"
70
- })),
71
- ...THREE_EXAMPLES_INVENTORY
72
- ];
73
- const categories = Object.fromEntries(REQUIRED_THREE_API_CATEGORIES.map((category) => [
74
- category,
75
- entries.filter((entry) => entry.category === category).length
76
- ]));
77
- return {
78
- threeVersion,
79
- generatedFromPackage: "three",
80
- entries,
81
- categories
82
- };
83
- }
84
- export function categorizeThreeExport(name) {
85
- for (const [category, matchers] of categoryMatchers) {
86
- if (matchers.some((matcher) => matcher.test(name)))
87
- return category;
88
- }
89
- return "core";
90
- }
91
- function exampleEntries(category, names) {
92
- return names.map((name) => ({
93
- name,
94
- category,
95
- source: "three/examples",
96
- importPath: `three/examples/jsm/${category}/${name}.js`
97
- }));
98
- }
99
- //# sourceMappingURL=ThreeApiInventory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThreeApiInventory.js","sourceRoot":"","sources":["../../../../packages/three-compat/src/ThreeApiInventory.ts"],"names":[],"mappings":"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"}
@@ -1,30 +0,0 @@
1
- import type { ThreeApiCategory, ThreeApiInventory, ThreeApiInventoryEntry } from "./ThreeApiInventory";
2
- export type ThreeCompatibilityStatus = "supported" | "partial" | "planned" | "blocked" | "out-of-scope";
3
- export interface ThreeCompatibilityEntry extends ThreeApiInventoryEntry {
4
- readonly status: ThreeCompatibilityStatus;
5
- readonly a3dEquivalent: string;
6
- readonly notes: string;
7
- }
8
- export interface ThreeCompatibilityThreshold {
9
- readonly category: ThreeApiCategory | "overall";
10
- readonly minimumSupportedOrPartialPercent: number;
11
- }
12
- export interface ThreeCompatibilityMatrix {
13
- readonly schema: "a3d-three-compat-threejs-compatibility-matrix";
14
- readonly threeVersion: string;
15
- readonly totalEntries: number;
16
- readonly entries: readonly ThreeCompatibilityEntry[];
17
- readonly thresholds: readonly ThreeCompatibilityThreshold[];
18
- readonly coverage: readonly {
19
- readonly category: ThreeApiCategory | "overall";
20
- readonly total: number;
21
- readonly supportedOrPartial: number;
22
- readonly percent: number;
23
- readonly threshold: number;
24
- readonly meetsThreshold: boolean;
25
- }[];
26
- }
27
- export declare const THREE_COMPAT_COMPATIBILITY_THRESHOLDS: readonly ThreeCompatibilityThreshold[];
28
- export declare function buildInitialCompatibilityMatrix(inventory: ThreeApiInventory): ThreeCompatibilityMatrix;
29
- export declare function supportedOrPartial(status: ThreeCompatibilityStatus): boolean;
30
- //# sourceMappingURL=ThreeCompatibilityMatrix.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThreeCompatibilityMatrix.d.ts","sourceRoot":"","sources":["../../../../packages/three-compat/src/ThreeCompatibilityMatrix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEvG,MAAM,MAAM,wBAAwB,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,cAAc,CAAC;AAExG,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC;IAC1C,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,gCAAgC,EAAE,MAAM,CAAC;CACnD;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,MAAM,EAAE,+CAA+C,CAAC;IACjE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,SAAS,uBAAuB,EAAE,CAAC;IACrD,QAAQ,CAAC,UAAU,EAAE,SAAS,2BAA2B,EAAE,CAAC;IAC5D,QAAQ,CAAC,QAAQ,EAAE,SAAS;QAC1B,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,GAAG,SAAS,CAAC;QAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;QACpC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;KAClC,EAAE,CAAC;CACL;AAKD,eAAO,MAAM,qCAAqC,EAAE,SAAS,2BAA2B,EAI9E,CAAC;AAEX,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,iBAAiB,GAAG,wBAAwB,CAUtG;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAE5E"}
@@ -1,69 +0,0 @@
1
- const coreTargetCategories = ["core", "math", "cameras", "lights", "materials", "geometries", "textures"];
2
- const secondaryTargetCategories = ["controls", "loaders", "postprocessing", "animation", "helpers"];
3
- export const THREE_COMPAT_COMPATIBILITY_THRESHOLDS = [
4
- { category: "overall", minimumSupportedOrPartialPercent: 60 },
5
- ...coreTargetCategories.map((category) => ({ category, minimumSupportedOrPartialPercent: 80 })),
6
- ...secondaryTargetCategories.map((category) => ({ category, minimumSupportedOrPartialPercent: 60 }))
7
- ];
8
- export function buildInitialCompatibilityMatrix(inventory) {
9
- const entries = inventory.entries.map((entry) => ({ ...entry, ...initialCompatibilityFor(entry) }));
10
- return {
11
- schema: "a3d-three-compat-threejs-compatibility-matrix",
12
- threeVersion: inventory.threeVersion,
13
- totalEntries: entries.length,
14
- entries,
15
- thresholds: THREE_COMPAT_COMPATIBILITY_THRESHOLDS,
16
- coverage: coverageFor(entries)
17
- };
18
- }
19
- export function supportedOrPartial(status) {
20
- return status === "supported" || status === "partial";
21
- }
22
- function initialCompatibilityFor(entry) {
23
- if (entry.category === "core" ||
24
- entry.category === "math" ||
25
- entry.category === "cameras" ||
26
- entry.category === "lights" ||
27
- entry.category === "materials" ||
28
- entry.category === "geometries" ||
29
- entry.category === "textures" ||
30
- entry.category === "controls" ||
31
- entry.category === "loaders" ||
32
- entry.category === "postprocessing" ||
33
- entry.category === "animation" ||
34
- entry.category === "helpers") {
35
- return {
36
- status: "partial",
37
- a3dEquivalent: `@aura3d/engine/three-compat:${entry.name}`,
38
- notes: "ThreeCompat target entry. Partial until direct API tests and browser migrated examples prove behavior."
39
- };
40
- }
41
- if (entry.category === "renderers" || entry.category === "webxr") {
42
- return {
43
- status: "blocked",
44
- a3dEquivalent: "none",
45
- notes: "Renderer/WebXR parity is blocked until explicit ThreeCompat implementation and external evidence exist."
46
- };
47
- }
48
- return {
49
- status: "planned",
50
- a3dEquivalent: `@aura3d/engine/three-compat:${entry.name}`,
51
- notes: "Tracked for ThreeCompat migration and parity work."
52
- };
53
- }
54
- function coverageFor(entries) {
55
- return THREE_COMPAT_COMPATIBILITY_THRESHOLDS.map((threshold) => {
56
- const scoped = threshold.category === "overall" ? entries : entries.filter((entry) => entry.category === threshold.category);
57
- const supportedOrPartialCount = scoped.filter((entry) => supportedOrPartial(entry.status)).length;
58
- const percent = scoped.length === 0 ? 0 : Math.round((supportedOrPartialCount / scoped.length) * 1000) / 10;
59
- return {
60
- category: threshold.category,
61
- total: scoped.length,
62
- supportedOrPartial: supportedOrPartialCount,
63
- percent,
64
- threshold: threshold.minimumSupportedOrPartialPercent,
65
- meetsThreshold: percent >= threshold.minimumSupportedOrPartialPercent
66
- };
67
- });
68
- }
69
- //# sourceMappingURL=ThreeCompatibilityMatrix.js.map