@aura3d/engine 1.0.3 → 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 (198) hide show
  1. package/README.md +309 -7
  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 +1 -0
  146. package/dist/engine/agent-api/humanoid-walk-runtime.d.ts.map +1 -1
  147. package/dist/engine/agent-api/index.d.ts +487 -1
  148. package/dist/engine/agent-api/index.d.ts.map +1 -1
  149. package/dist/engine/agent-api/index.js +740 -6
  150. package/dist/engine/agent-api/index.js.map +1 -1
  151. package/dist/engine/agent-api/product-viewer-runtime.d.ts.map +1 -1
  152. package/dist/index.d.ts +1 -0
  153. package/dist/index.js +1 -0
  154. package/dist/physics/CollisionVolumes.d.ts +57 -0
  155. package/dist/physics/CollisionVolumes.d.ts.map +1 -0
  156. package/dist/physics/CollisionVolumes.js +159 -0
  157. package/dist/physics/CollisionVolumes.js.map +1 -0
  158. package/dist/physics/HitboxWorld.d.ts +229 -0
  159. package/dist/physics/HitboxWorld.d.ts.map +1 -0
  160. package/dist/physics/HitboxWorld.js +640 -0
  161. package/dist/physics/HitboxWorld.js.map +1 -0
  162. package/dist/physics/KinematicBody.d.ts +157 -0
  163. package/dist/physics/KinematicBody.d.ts.map +1 -0
  164. package/dist/physics/KinematicBody.js +405 -0
  165. package/dist/physics/KinematicBody.js.map +1 -0
  166. package/dist/physics/KinematicWorld.d.ts +58 -0
  167. package/dist/physics/KinematicWorld.d.ts.map +1 -0
  168. package/dist/physics/KinematicWorld.js +246 -0
  169. package/dist/physics/KinematicWorld.js.map +1 -0
  170. package/dist/physics/index.d.ts +4 -0
  171. package/dist/physics/index.d.ts.map +1 -1
  172. package/dist/physics/index.js +4 -0
  173. package/dist/physics/index.js.map +1 -1
  174. package/dist/rendering/ForwardPass.js +2 -2
  175. package/dist/rendering/ShaderLibrary.js +2 -2
  176. package/dist/rendering/SkinnedLitMaterial.js +3 -3
  177. package/dist/rendering/SkinnedUnlitMaterial.js +3 -3
  178. package/dist/scene/Renderable.js +2 -2
  179. package/dist/scripting/VisualGraph.d.ts +2 -1
  180. package/dist/scripting/VisualGraph.d.ts.map +1 -1
  181. package/dist/scripting/VisualGraph.js +118 -1
  182. package/dist/scripting/VisualGraph.js.map +1 -1
  183. package/dist/scripting/VisualGraphContext.d.ts +123 -0
  184. package/dist/scripting/VisualGraphContext.d.ts.map +1 -0
  185. package/dist/scripting/VisualGraphContext.js +2 -0
  186. package/dist/scripting/VisualGraphContext.js.map +1 -0
  187. package/dist/scripting/VisualGraphExecutor.d.ts +6 -1
  188. package/dist/scripting/VisualGraphExecutor.d.ts.map +1 -1
  189. package/dist/scripting/VisualGraphExecutor.js +364 -7
  190. package/dist/scripting/VisualGraphExecutor.js.map +1 -1
  191. package/dist/scripting/VisualNodeCatalog.d.ts +1 -1
  192. package/dist/scripting/VisualNodeCatalog.d.ts.map +1 -1
  193. package/dist/scripting/VisualNodeCatalog.js +61 -1
  194. package/dist/scripting/VisualNodeCatalog.js.map +1 -1
  195. package/dist/scripting/index.d.ts +1 -0
  196. package/dist/scripting/index.d.ts.map +1 -1
  197. package/dist/scripting/index.js.map +1 -1
  198. package/package.json +192 -118
@@ -0,0 +1,6 @@
1
+ import { fighting } from "./fighting.js";
2
+ export * from "./fighting.js";
3
+ export const gameKits = {
4
+ fighting
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/engine/src/agent-api/game-kits/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,cAAc,YAAY,CAAC;AAE3B,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,QAAQ;CACA,CAAC"}
@@ -14,6 +14,7 @@ export declare const character: {
14
14
  readonly lowPolyHumanoid: (options?: import("./index.js").AuraPrimitiveHumanoidPrefabOptions) => readonly import("./index.js").AuraSceneNode[];
15
15
  readonly authoredHumanoid: (options?: import("./index.js").AuraPrimitiveHumanoidPrefabOptions) => readonly import("./index.js").AuraSceneNode[];
16
16
  readonly primitiveHumanoid: (options?: import("./index.js").AuraPrimitiveHumanoidPrefabOptions) => readonly import("./index.js").AuraSceneNode[];
17
+ readonly performance: typeof import("./CartoonPerformance.js").createCartoonPerformance;
17
18
  readonly importedRigRuntime: (options: import("@aura3d/assets").GLTFSceneAnimationRuntimeOptions) => Promise<import("@aura3d/assets").GLTFSceneAnimationRuntime>;
18
19
  readonly visualQA: (nodes: readonly import("./index.js").AuraSceneNode[]) => import("./index.js").AuraCharacterVisualQAResult;
19
20
  readonly validatePrimitiveHumanoid: (nodes: readonly import("./index.js").AuraSceneNode[]) => import("./index.js").AuraCharacterVisualQAResult;
@@ -1 +1 @@
1
- {"version":3,"file":"humanoid-walk-runtime.d.ts","sourceRoot":"","sources":["../../../../../packages/engine/src/agent-api/humanoid-walk-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACb,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,OAAO,EACP,aAAa,EACb,oBAAoB,EACrB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,GAAG,MAAM,CAAC;CAC1G;AAED,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AACjD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC;AAEhD,eAAO,MAAM,SAAS;;;;;;;;;;;CAAgB,CAAC;AAEvC,eAAO,MAAM,SAAS;sCACE,mBAAmB,KAAQ,oBAAoB;CAG7D,CAAC;AAEX,wBAAgB,YAAY,CAAC,OAAO,GAAE,mBAAwB,GAAG,oBAAoB,CAEpF"}
1
+ {"version":3,"file":"humanoid-walk-runtime.d.ts","sourceRoot":"","sources":["../../../../../packages/engine/src/agent-api/humanoid-walk-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACb,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,aAAa,EACd,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,OAAO,EACP,aAAa,EACb,oBAAoB,EACrB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,GAAG,MAAM,CAAC;CAC1G;AAED,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AACjD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC;AAEhD,eAAO,MAAM,SAAS;;;;;;;;;;;;CAAgB,CAAC;AAEvC,eAAO,MAAM,SAAS;sCACE,mBAAmB,KAAQ,oBAAoB;CAG7D,CAAC;AAEX,wBAAgB,YAAY,CAAC,OAAO,GAAE,mBAAwB,GAAG,oBAAoB,CAEpF"}
@@ -1,6 +1,46 @@
1
1
  import { type Collider, type ColliderDescriptor, type CollisionEvent, type Constraint, type ConstraintDescriptor, type Contact, type DebugLine, type PhysicsBackendSelection, type PhysicsShape, type PhysicsSnapshot, type PhysicsWorldDescriptor, type RaycastHit, type RaycastOptions, type RigidBody, type RigidBodyDescriptor, type RigidBodyType, type ScenePhysicsNode, type SphereCastHit } from "@aura3d/physics";
2
2
  import type { GLTFSceneAnimationRuntime, GLTFSceneAnimationRuntimeOptions } from "@aura3d/assets/browser";
3
+ import type { AnimationPose } from "@aura3d/animation";
4
+ import type { GameHudBindingKind, GameRuntimeSubsystemOwnership } from "./GameRuntime";
5
+ import { createFrameLoop } from "./FrameLoop";
6
+ import { createCombatWorld, createGameCameraDirector, createGameEffects, applyGameCombatEventsToRuntime, createGameAccessibilityFocus, createGameAccessibilityLabel, createGameAccessibilityRuntimeSettings, createGameHighContrastSource, createGameHudBindings, createGameHudComboBinding, createGameHudDebugToggleBinding, createGameHudHealthBinding, createGameHudMeterBinding, createGameHudRoundBinding, createGameHudSnapshot, createGameHudTimerBinding, createGameBoxCollider, createGameCapsuleCollider, createGameColliderDebugGeometry, createGameCombatDebugGeometry, createGameDebugOverlayData, createGameDebugSceneNodes, createGameHitboxDebugGeometry, createGameFighting2DRules, createGameInput, createGameInputReplay, createGameInputReplayDriver, createGameJumpAssist, createGameKinematicBody, createGamePauseControlsSource, createGameRectCollider, createGameReducedFlashSource, createGameReducedMotionSource, createGameSphereCollider, createGameTouchControlLayout, gameColliderAabb, gameInputReplayEventsAt, type GameInputOptions } from "./GameRuntime";
7
+ import { collectGameRuntimeEvidence as collectGameRuntimeEvidenceV105, type GameRuntimeEvidence, type GameRuntimeEvidenceOptions, type GameRuntimeSourceEvidence } from "./GameEvidence";
8
+ import { type AuraRuntimeNodeAnimationPoseBindingMetadata, type AuraRuntimeNodeAnimationBindingMetadata, type AuraRuntimeNodeBounds, type AuraRuntimeNodeEffectAttachment, type RuntimeNodeMorphTargetWeights } from "./RuntimeNodeHandle";
9
+ import { createRuntimeNodeSpec } from "./GameSceneBridge";
10
+ import { createFightingGameKit } from "./game-kits/fighting";
11
+ import { createPromptAnimationEpisodePlan, createPromptAnimationStoryBible, definePromptAnimationStoryboard } from "./PromptAnimationContract";
12
+ import { applyShotPlaybackFrame, createShotPlaybackPlan, createShotTimeline, installShotPlayback, sampleShotPlaybackPlan } from "./ShotTimeline";
13
+ import { captionCueAtTime, createCaptionTimingProof, deriveCaptionTrackFromDialogue } from "./DialoguePerformance";
14
+ import { createAuraVoiceVisemeTrack, createGlbBlendshapeVisemeCue, createPrimitiveMouthVisemeCues, sampleVisemeTrack } from "./VisemeController";
15
+ import { createAuraVoiceBridgePackage, createAuraVoiceDubRerenderProof, createAuraVoiceRerenderPlan, sampleAuraVoiceBridgeAtTime } from "./AuraVoiceBridge";
16
+ import { createCartoonDirectorPlan } from "./CartoonDirector";
17
+ import { createCartoonPerformance } from "./CartoonPerformance";
18
+ import { createCartoonRenderOutputPackageMetadata, createCartoonRenderQueue } from "./CartoonRenderQueue";
19
+ import { collectPromptAnimationEvidence } from "./PromptAnimationEvidence";
3
20
  export { Engine } from "@aura3d/core";
21
+ export { asAuraAppHandle, isAuraAppHandle, type AuraAppFrame, type AuraAppFrameCallback, type AuraAppHandle, type AuraAppNodeRegistryLike, type AuraAppRuntimeState, type AuraAppScreenshot } from "./AuraAppHandle";
22
+ export { FrameLoop, createFrameLoop, type FrameLoopCallback, type FrameLoopFrame, type FrameLoopOptions, type FrameLoopSnapshot, type FrameLoopSource } from "./FrameLoop";
23
+ export { createCombatWorld, createGameCameraDirector, createGameEffects, applyGameCombatEventsToRuntime, createGameAccessibilityFocus, createGameAccessibilityLabel, createGameAccessibilityRuntimeSettings, createGameHighContrastSource, createGameHudBindings, createGameHudComboBinding, createGameHudDebugToggleBinding, createGameHudHealthBinding, createGameHudMeterBinding, createGameHudRoundBinding, createGameHudSnapshot, createGameHudTimerBinding, createGameBoxCollider, createGameCapsuleCollider, createGameColliderDebugGeometry, createGameCombatDebugGeometry, createGameDebugOverlayData, createGameDebugSceneNodes, createGameHitboxDebugGeometry, createGameInput, createGameInputReplay, createGameInputReplayDriver, createGameJumpAssist, createGameKinematicBody, createGamePauseControlsSource, createGameRectCollider, createGameReducedFlashSource, createGameReducedMotionSource, createGameSphereCollider, createGameTouchControlLayout, gameColliderAabb, gameColliders, gameInputReplayEventsAt, createGameLoopPlan, type GameAccessibilityFocusOptions, type GameAccessibilityLabelOptions, type GameAccessibilityPauseControlsOptions, type GameAccessibilityPreferenceOptions, type GameAccessibilityRuntimeSettings, type GameAccessibilityRuntimeSettingsOptions, type GameAccessibilitySource, type GameAccessibilitySourceKind, type GameAabb, type GameBounds3, type GameCameraDirector, type GameCameraDirectorOptions, type GameCameraSnapshot, type GameCameraTarget, type GameCollisionBox, type GameCombatActorOptions, type GameCombatActorSnapshot, type GameCombatActiveAttackSnapshot, type GameCombatEvent, type GameCombatEventRuntimeBridgeOptions, type GameCombatEventRuntimeBridgeResult, type GameCombatEventType, type GameCombatMove, type GameCombatWorld, type GameCombatWorldSnapshot, type GameBoxCollider, type GameBoxColliderOptions, type GameCapsuleCollider, type GameCapsuleColliderOptions, type GameCollider, type GameColliderAxis, type GameColliderBase, type GameColliderDimension, type GameColliderFactoryOptions, type GameColliderKind, type GameColliderPlane, type GameDebugGeometryNode, type GameDebugGeometryOptions, type GameDebugGeometryPrimitive, type GameDebugOverlayData, type GameDebugOverlayMetric, type GameDebugOverlayOptions, type GameDebugOverlaySection, type GameDebugSceneNode, type GameDebugSceneNodeOptions, type GameDebugScenePrimitive, type GameEffectInstance, type GameEffectAttachment, type GameEffectKind, type GameEffectOptions, type GameEffectsController, type GameEffectsSnapshot, type GameHudActorBindingOptions, type GameHudBinding, type GameHudBindingKind, type GameHudComboBindingOptions, type GameHudDebugToggleBindingOptions, type GameHudResolvedValue, type GameHudRoundBindingOptions, type GameHudSourceKind, type GameHudSnapshot, type GameHudSnapshotItem, type GameHudSnapshotOptions, type GameHudTimerBindingOptions, type GameHudValueFormat, type GameInputActionState, type GameInputAxisSettings, type GameInputAxisBinding, type GameInputController, type GameInputOptions, type GameInputReplayDriver, type GameInputReplayDriverSnapshot, type GameInputReplayEvent, type GameInputReplayOptions, type GameInputReplayPlan, type GameInputSnapshot, type GameJumpAssistController, type GameJumpAssistOptions, type GameJumpAssistSnapshot, type GameJumpAssistUpdate, type GameKinematicBody, type GameKinematicBodyOptions, type GameKinematicBodySnapshot, type GameLoopPlan, type GamePointerSnapshot, type GameRectCollider, type GameRectColliderOptions, type GameRuntimeSubsystemId, type GameRuntimeSubsystemOwnership, type GameSphereCollider, type GameSphereColliderOptions, type GameSubsystemOwner, type GameTouchControlAnchor, type GameTouchControlKind, type GameTouchControlLayout, type GameTouchControlLayoutOptions, type GameTouchControlRegion, type GameTouchControlRequest, type GameVec3, type GamepadSnapshot } from "./GameRuntime";
24
+ export { collectGameSceneRuntimeNodes, createGameSceneBridge, createRuntimeNodeSpec, type GameSceneBridge, type GameSceneBridgeApp, type GameSceneBridgeBodyLike, type GameSceneBridgeEvidence, type GameSceneBridgeNodeHandle, type GameSceneRuntimeNode } from "./GameSceneBridge";
25
+ export { calculateRuntimeNodeBounds, createRuntimeNodeEffectAttachment, runtimeNodeHasTag, type AuraRuntimeNodeAnimationPoseBindingMetadata, type AuraRuntimeNodeAnimationBindingMetadata, type AuraRuntimeNodeBounds, type AuraRuntimeNodeEffectAttachment, type AuraRuntimeNodeEffectKind, type RuntimeNodeAnimationSpecLike, type RuntimeNodeBoundsInput, type RuntimeNodeHandleLike, type RuntimeNodeMorphTargetWeights, type RuntimeNodeVec3 } from "./RuntimeNodeHandle";
26
+ export { createFightingGameKit, fighting, fighterRuntimeNode, type FightingActorState, type FightingControls, type FightingGameKit, type FightingGameKitOptions, type FightingGameSnapshot, type FightingStageOptions } from "./game-kits/fighting";
27
+ export { gameKits } from "./game-kits";
28
+ export type { GameRuntimeEvidence, GameRuntimeEvidenceApp, GameRuntimeEvidenceOptions, GameRuntimeSourceEvidence } from "./GameEvidence";
29
+ export * from "./GameAssetValidation.js";
30
+ export * from "./CharacterAssembly.js";
31
+ export * from "./AssetEvidence.js";
32
+ export * from "./AnimationController.js";
33
+ export { gameAssetValidation, quaterniusGameReadyFighterValidationContract, validateQuaterniusGameReadyFighterAsset } from "./GameAssetValidation.js";
34
+ export { createAnimationController } from "./AnimationController.js";
35
+ export * from "./PromptAnimationContract.js";
36
+ export * from "./AuraVoiceBridge.js";
37
+ export * from "./ShotTimeline.js";
38
+ export * from "./DialoguePerformance.js";
39
+ export * from "./VisemeController.js";
40
+ export * from "./PromptAnimationEvidence.js";
41
+ export * from "./CartoonDirector.js";
42
+ export * from "./CartoonPerformance.js";
43
+ export * from "./CartoonRenderQueue.js";
4
44
  export type AuraVec3 = readonly [number, number, number];
5
45
  export type AuraColor = `#${string}` | string;
6
46
  export type AuraAssetType = "model" | "texture" | "environment" | "audio";
@@ -160,6 +200,7 @@ export interface AuraPrimitiveOptions extends AuraTransformSpec {
160
200
  export interface AuraAnimationSpec {
161
201
  readonly clip?: string;
162
202
  readonly loop?: boolean;
203
+ readonly restart?: boolean;
163
204
  readonly speed?: number;
164
205
  readonly startTime?: number;
165
206
  readonly duration?: number;
@@ -173,6 +214,11 @@ export interface AuraAnimationSpec {
173
214
  readonly rootBob?: boolean;
174
215
  readonly jointHierarchy?: boolean;
175
216
  }
217
+ export interface AuraRuntimeNodeSpec {
218
+ readonly id: string;
219
+ readonly tags?: readonly string[];
220
+ readonly mutable?: boolean;
221
+ }
176
222
  export interface AuraInteractionSpec {
177
223
  readonly cursor?: string;
178
224
  readonly onClick?: string;
@@ -283,6 +329,7 @@ export interface AuraModelNode extends AuraTransformSpec {
283
329
  readonly animation?: AuraAnimationSpec;
284
330
  readonly interaction?: AuraInteractionSpec;
285
331
  readonly physics?: AuraNodePhysicsSpec;
332
+ readonly runtime?: AuraRuntimeNodeSpec;
286
333
  }
287
334
  export interface AuraPrimitiveNode extends AuraTransformSpec {
288
335
  readonly kind: "primitive";
@@ -295,6 +342,7 @@ export interface AuraPrimitiveNode extends AuraTransformSpec {
295
342
  readonly animation?: AuraAnimationSpec;
296
343
  readonly interaction?: AuraInteractionSpec;
297
344
  readonly physics?: AuraNodePhysicsSpec;
345
+ readonly runtime?: AuraRuntimeNodeSpec;
298
346
  }
299
347
  export interface AuraGroupNode extends AuraTransformSpec {
300
348
  readonly kind: "group";
@@ -302,6 +350,7 @@ export interface AuraGroupNode extends AuraTransformSpec {
302
350
  readonly children: readonly AuraSceneNode[];
303
351
  readonly animation?: AuraAnimationSpec;
304
352
  readonly character?: AuraCharacterRigSpec;
353
+ readonly runtime?: AuraRuntimeNodeSpec;
305
354
  }
306
355
  export type AuraLightType = "ambient" | "directional" | "point" | "studio" | "rect" | "softbox";
307
356
  export interface AuraLightNode extends AuraTransformSpec {
@@ -369,6 +418,7 @@ export interface AuraLabelNode extends AuraTransformSpec {
369
418
  readonly occlusionAware?: boolean;
370
419
  readonly collisionAvoidance?: boolean;
371
420
  readonly animation?: AuraAnimationSpec;
421
+ readonly runtime?: AuraRuntimeNodeSpec;
372
422
  }
373
423
  export interface AuraEnvironmentNode {
374
424
  readonly kind: "environment";
@@ -570,6 +620,9 @@ export declare class AuraNodeBuilder<TNode extends AuraSceneNode> {
570
620
  physics(spec: AuraNodePhysicsSpec): AuraNodeBuilder<TNode & {
571
621
  readonly physics: AuraNodePhysicsSpec;
572
622
  }>;
623
+ runtime(spec: AuraRuntimeNodeSpec): AuraNodeBuilder<TNode & {
624
+ readonly runtime: AuraRuntimeNodeSpec;
625
+ }>;
573
626
  toJSON(): TNode;
574
627
  private with;
575
628
  }
@@ -1164,8 +1217,339 @@ export declare const games: {
1164
1217
  readonly miniGolfCourse: () => readonly AuraSceneNode[];
1165
1218
  readonly createMiniGolfState: () => AuraMiniGolfStateController;
1166
1219
  readonly miniGolfPointerShot: typeof miniGolfPointerShotFromDrag;
1220
+ readonly fighting: {
1221
+ readonly controls: typeof import("./game-kits").defaultFightingControls;
1222
+ readonly moves: typeof import("./game-kits").defaultFightingMoves;
1223
+ readonly runtimeNode: typeof import("./game-kits").fighterRuntimeNode;
1224
+ readonly stagePreset: typeof import("./game-kits").fightingStagePreset;
1225
+ readonly stagePresets: Record<import("./game-kits").FightingStagePresetName, import("./game-kits").FightingStageOptions>;
1226
+ readonly stage: typeof import("./game-kits").createFightingStage;
1227
+ readonly validateStage: typeof import("./game-kits").validateFightingStage;
1228
+ readonly stageNodes: typeof import("./game-kits").fightingStageNodes;
1229
+ readonly createKit: typeof createFightingGameKit;
1230
+ };
1231
+ readonly createFightingGameKit: typeof createFightingGameKit;
1167
1232
  readonly miniGolfScene: () => AuraSceneBuilder;
1168
1233
  };
1234
+ export interface AuraGameLoopPlan {
1235
+ readonly kind: "aura-game-loop-plan";
1236
+ readonly fixedDt: number;
1237
+ readonly maxSubSteps: number;
1238
+ readonly timeScale: number;
1239
+ }
1240
+ export interface AuraGameInputPlan {
1241
+ readonly kind: "aura-game-input-plan";
1242
+ readonly actions: Record<string, readonly string[]>;
1243
+ readonly axes: Record<string, AuraGameInputAxisBinding>;
1244
+ readonly bufferMs: number;
1245
+ }
1246
+ export interface AuraGameInputAxisBinding {
1247
+ readonly negative?: string;
1248
+ readonly positive?: string;
1249
+ }
1250
+ export interface AuraGameInputActionState {
1251
+ readonly pressed: boolean;
1252
+ readonly held: boolean;
1253
+ readonly released: boolean;
1254
+ readonly buffered: boolean;
1255
+ readonly value: number;
1256
+ }
1257
+ export interface AuraGameInputReplayEvent {
1258
+ readonly frame: number;
1259
+ readonly time: number;
1260
+ readonly type: "press" | "release";
1261
+ readonly binding: string;
1262
+ }
1263
+ export interface AuraGameInputSnapshot {
1264
+ readonly kind: "aura-game-input-snapshot";
1265
+ readonly frame: number;
1266
+ readonly time: number;
1267
+ readonly activeBindings: readonly string[];
1268
+ readonly actions: Record<string, AuraGameInputActionState>;
1269
+ }
1270
+ export interface AuraGameInputController extends AuraGameInputPlan {
1271
+ update(dt?: number): AuraGameInputSnapshot;
1272
+ snapshot(): AuraGameInputSnapshot;
1273
+ pressed(action: string): boolean;
1274
+ held(action: string): boolean;
1275
+ released(action: string): boolean;
1276
+ buffered(action: string, windowMs?: number): boolean;
1277
+ axis(name: string, negativeAction?: string, positiveAction?: string): number;
1278
+ press(binding: string): void;
1279
+ release(binding: string): void;
1280
+ setAction(action: string, held: boolean): void;
1281
+ recorded(): readonly AuraGameInputReplayEvent[];
1282
+ replay(events: readonly AuraGameInputReplayEvent[]): AuraGameInputSnapshot;
1283
+ clearReplay(): void;
1284
+ dispose(): void;
1285
+ }
1286
+ export interface AuraGameRuntimeEvidence {
1287
+ readonly kind: "aura-game-runtime-evidence";
1288
+ readonly source?: GameRuntimeSourceEvidence;
1289
+ readonly ownership?: readonly GameRuntimeSubsystemOwnership[];
1290
+ readonly loop: {
1291
+ readonly frame: number;
1292
+ readonly time: number;
1293
+ readonly paused: boolean;
1294
+ };
1295
+ readonly runtimeNodes: {
1296
+ readonly count: number;
1297
+ readonly ids: readonly string[];
1298
+ };
1299
+ readonly systems: {
1300
+ readonly mutableNodes: boolean;
1301
+ readonly frameLoop: boolean;
1302
+ readonly inputPlan: boolean;
1303
+ readonly physicsPlan: boolean;
1304
+ readonly animationPlan: boolean;
1305
+ readonly effectsPlan: boolean;
1306
+ readonly cameraPlan: boolean;
1307
+ readonly collisionPlan?: boolean;
1308
+ readonly stagePlan?: boolean;
1309
+ };
1310
+ readonly input?: {
1311
+ readonly configured: boolean;
1312
+ readonly actions: readonly string[];
1313
+ readonly axes: readonly string[];
1314
+ readonly activeBindings: readonly string[];
1315
+ readonly frame: number;
1316
+ };
1317
+ readonly physics?: {
1318
+ readonly kinematicBodies: number;
1319
+ readonly groundedBodies: number;
1320
+ };
1321
+ readonly collision?: {
1322
+ readonly combatWorld: boolean;
1323
+ readonly actors: number;
1324
+ readonly activeAttacks: number;
1325
+ readonly events: number;
1326
+ };
1327
+ readonly animation?: {
1328
+ readonly controllers: number;
1329
+ readonly activeClips: readonly string[];
1330
+ readonly eventCount: number;
1331
+ };
1332
+ readonly effects?: {
1333
+ readonly active: number;
1334
+ readonly spawned: number;
1335
+ readonly pooled: number;
1336
+ };
1337
+ readonly camera?: {
1338
+ readonly active: boolean;
1339
+ readonly fov?: number;
1340
+ readonly zoom?: number;
1341
+ readonly shake?: number;
1342
+ readonly reducedMotion?: boolean;
1343
+ };
1344
+ readonly assets?: {
1345
+ readonly typedAssets: number;
1346
+ readonly missingAssets: readonly string[];
1347
+ };
1348
+ readonly stage?: {
1349
+ readonly id?: string;
1350
+ readonly safeZones: boolean;
1351
+ readonly bounds?: unknown;
1352
+ readonly warnings: readonly string[];
1353
+ };
1354
+ readonly hud?: {
1355
+ readonly bindings: number;
1356
+ readonly kinds: readonly GameHudBindingKind[];
1357
+ readonly targetIds: readonly string[];
1358
+ readonly debugToggles: number;
1359
+ readonly interactive: number;
1360
+ readonly warnings: readonly string[];
1361
+ };
1362
+ readonly accessibility?: {
1363
+ readonly sources: number;
1364
+ readonly labels: number;
1365
+ readonly focusScopes: number;
1366
+ readonly reducedMotion: boolean;
1367
+ readonly reducedFlash: boolean;
1368
+ readonly highContrast: boolean;
1369
+ readonly pauseControls: boolean;
1370
+ readonly warnings: readonly string[];
1371
+ };
1372
+ readonly warnings?: readonly string[];
1373
+ }
1374
+ export declare function collectGameRuntimeEvidence(app: Pick<AuraApp, "runtime" | "nodes">, options?: GameRuntimeEvidenceOptions): AuraGameRuntimeEvidence;
1375
+ export interface AuraGameRules {
1376
+ readonly kind: "aura-game-rules";
1377
+ readonly gravity: number;
1378
+ readonly roundSeconds: number;
1379
+ readonly maxHealth: number;
1380
+ readonly maxGuard: number;
1381
+ readonly maxMeter: number;
1382
+ readonly stageBounds: {
1383
+ readonly minX: number;
1384
+ readonly maxX: number;
1385
+ };
1386
+ }
1387
+ export interface AuraGameRuntimeOptions {
1388
+ readonly loop?: Partial<Omit<AuraGameLoopPlan, "kind">> | undefined;
1389
+ readonly input?: GameInputOptions | undefined;
1390
+ readonly rules?: Partial<Omit<AuraGameRules, "kind">> | undefined;
1391
+ readonly effectPoolSize?: number | undefined;
1392
+ }
1393
+ export interface AuraGameRuntime {
1394
+ readonly kind: "aura-game-runtime";
1395
+ readonly loop: AuraGameLoopPlan;
1396
+ readonly rules: AuraGameRules;
1397
+ readonly input?: ReturnType<typeof createGameInput> | undefined;
1398
+ readonly combat: ReturnType<typeof createCombatWorld>;
1399
+ readonly camera: ReturnType<typeof createGameCameraDirector>;
1400
+ readonly effects: ReturnType<typeof createGameEffects>;
1401
+ readonly bodies: readonly ReturnType<typeof createGameKinematicBody>[];
1402
+ }
1403
+ export declare function createAuraGameRules(options?: Partial<Omit<AuraGameRules, "kind">>): AuraGameRules;
1404
+ export declare const gameRules: typeof createAuraGameRules & {
1405
+ fighting2D: typeof createGameFighting2DRules;
1406
+ };
1407
+ export declare function createAuraGameRuntime(options?: AuraGameRuntimeOptions): AuraGameRuntime;
1408
+ export declare const game: {
1409
+ readonly createRuntime: typeof createAuraGameRuntime;
1410
+ readonly rules: typeof createAuraGameRules & {
1411
+ fighting2D: typeof createGameFighting2DRules;
1412
+ };
1413
+ readonly loop: (options?: Partial<Omit<AuraGameLoopPlan, "kind">>) => AuraGameLoopPlan;
1414
+ readonly frameLoop: typeof createFrameLoop;
1415
+ readonly runtimeNode: typeof createRuntimeNodeSpec;
1416
+ readonly input: typeof createGameInput;
1417
+ readonly inputReplay: typeof createGameInputReplay;
1418
+ readonly inputReplayDriver: typeof createGameInputReplayDriver;
1419
+ readonly inputReplayEventsAt: typeof gameInputReplayEventsAt;
1420
+ readonly touchControls: typeof createGameTouchControlLayout;
1421
+ readonly kinematicBody: typeof createGameKinematicBody;
1422
+ readonly jumpAssist: typeof createGameJumpAssist;
1423
+ readonly collider: {
1424
+ readonly box: typeof createGameBoxCollider;
1425
+ readonly sphere: typeof createGameSphereCollider;
1426
+ readonly capsule: typeof createGameCapsuleCollider;
1427
+ readonly rect: typeof createGameRectCollider;
1428
+ readonly aabb: typeof gameColliderAabb;
1429
+ readonly factories: {
1430
+ readonly box: typeof createGameBoxCollider;
1431
+ readonly sphere: typeof createGameSphereCollider;
1432
+ readonly capsule: typeof createGameCapsuleCollider;
1433
+ readonly rect: typeof createGameRectCollider;
1434
+ };
1435
+ };
1436
+ readonly hitbox: {
1437
+ readonly rect: typeof import("./GameRuntime").createGameHitboxRect;
1438
+ readonly box: typeof import("./GameRuntime").createGameHitboxRect;
1439
+ };
1440
+ readonly hurtbox: {
1441
+ readonly rect: typeof import("./GameRuntime").createGameHurtboxRect;
1442
+ readonly box: typeof import("./GameRuntime").createGameHurtboxRect;
1443
+ };
1444
+ readonly guardbox: {
1445
+ readonly rect: typeof import("./GameRuntime").createGameGuardboxRect;
1446
+ readonly box: typeof import("./GameRuntime").createGameGuardboxRect;
1447
+ };
1448
+ readonly pushbox: {
1449
+ readonly rect: typeof import("./GameRuntime").createGamePushboxRect;
1450
+ readonly box: typeof import("./GameRuntime").createGamePushboxRect;
1451
+ };
1452
+ readonly trigger: {
1453
+ readonly box: (options?: import("./GameRuntime").GameBoxColliderOptions) => import("./GameRuntime").GameBoxCollider;
1454
+ readonly sphere: (options?: import("./GameRuntime").GameSphereColliderOptions) => import("./GameRuntime").GameSphereCollider;
1455
+ readonly capsule: (options?: import("./GameRuntime").GameCapsuleColliderOptions) => import("./GameRuntime").GameCapsuleCollider;
1456
+ readonly rect: (options?: import("./GameRuntime").GameRectColliderOptions) => import("./GameRuntime").GameRectCollider;
1457
+ };
1458
+ readonly combatWorld: typeof createCombatWorld;
1459
+ readonly combatEvents: typeof applyGameCombatEventsToRuntime;
1460
+ readonly cameraDirector: typeof createGameCameraDirector;
1461
+ readonly effects: typeof createGameEffects;
1462
+ readonly effectPresets: {
1463
+ readonly hitSpark: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1464
+ readonly blockSpark: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1465
+ readonly groundDust: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1466
+ readonly dashTrail: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1467
+ readonly slashTrail: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1468
+ readonly shockwave: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1469
+ readonly auraBurst: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1470
+ readonly superBurst: (options?: import("./GameRuntime").GameEffectOptions) => import("./GameRuntime").GameEffectPreset;
1471
+ };
1472
+ readonly debug: {
1473
+ readonly colliders: typeof createGameColliderDebugGeometry;
1474
+ readonly hitboxes: typeof createGameHitboxDebugGeometry;
1475
+ readonly combat: typeof createGameCombatDebugGeometry;
1476
+ readonly overlay: typeof createGameDebugOverlayData;
1477
+ readonly sceneNodes: typeof createGameDebugSceneNodes;
1478
+ };
1479
+ readonly hud: {
1480
+ readonly health: typeof createGameHudHealthBinding;
1481
+ readonly meter: typeof createGameHudMeterBinding;
1482
+ readonly timer: typeof createGameHudTimerBinding;
1483
+ readonly combo: typeof createGameHudComboBinding;
1484
+ readonly round: typeof createGameHudRoundBinding;
1485
+ readonly debugToggle: typeof createGameHudDebugToggleBinding;
1486
+ readonly bindings: typeof createGameHudBindings;
1487
+ readonly snapshot: typeof createGameHudSnapshot;
1488
+ };
1489
+ readonly accessibility: {
1490
+ readonly label: typeof createGameAccessibilityLabel;
1491
+ readonly focus: typeof createGameAccessibilityFocus;
1492
+ readonly reducedMotion: typeof createGameReducedMotionSource;
1493
+ readonly reducedFlash: typeof createGameReducedFlashSource;
1494
+ readonly highContrast: typeof createGameHighContrastSource;
1495
+ readonly pauseControls: typeof createGamePauseControlsSource;
1496
+ readonly settings: typeof createGameAccessibilityRuntimeSettings;
1497
+ };
1498
+ readonly fighting: typeof createFightingGameKit;
1499
+ readonly evidence: typeof collectGameRuntimeEvidence;
1500
+ };
1501
+ export declare const cartoon: {
1502
+ readonly episodePlan: typeof createPromptAnimationEpisodePlan;
1503
+ readonly storyBible: typeof createPromptAnimationStoryBible;
1504
+ readonly storyboard: typeof definePromptAnimationStoryboard;
1505
+ readonly shotTimeline: typeof createShotTimeline;
1506
+ readonly shotPlaybackPlan: typeof createShotPlaybackPlan;
1507
+ readonly sampleShotPlaybackPlan: typeof sampleShotPlaybackPlan;
1508
+ readonly applyShotPlaybackFrame: typeof applyShotPlaybackFrame;
1509
+ readonly installShotPlayback: typeof installShotPlayback;
1510
+ readonly captionsFromDialogue: typeof deriveCaptionTrackFromDialogue;
1511
+ readonly captionCueAtTime: typeof captionCueAtTime;
1512
+ readonly captionTimingProof: typeof createCaptionTimingProof;
1513
+ readonly visemeTrack: typeof createAuraVoiceVisemeTrack;
1514
+ readonly primitiveMouthVisemes: typeof createPrimitiveMouthVisemeCues;
1515
+ readonly glbBlendshapeViseme: typeof createGlbBlendshapeVisemeCue;
1516
+ readonly sampleVisemeTrack: typeof sampleVisemeTrack;
1517
+ readonly auraVoiceBridgePackage: typeof createAuraVoiceBridgePackage;
1518
+ readonly sampleAuraVoiceBridgeAtTime: typeof sampleAuraVoiceBridgeAtTime;
1519
+ readonly auraVoiceRerenderPlan: typeof createAuraVoiceRerenderPlan;
1520
+ readonly auraVoiceDubRerenderProof: typeof createAuraVoiceDubRerenderProof;
1521
+ readonly director: typeof createCartoonDirectorPlan;
1522
+ readonly performance: typeof createCartoonPerformance;
1523
+ readonly renderQueue: typeof createCartoonRenderQueue;
1524
+ readonly renderOutputPackage: typeof createCartoonRenderOutputPackageMetadata;
1525
+ readonly evidence: typeof collectPromptAnimationEvidence;
1526
+ };
1527
+ export declare const animationStudio: {
1528
+ readonly episodePlan: typeof createPromptAnimationEpisodePlan;
1529
+ readonly storyBible: typeof createPromptAnimationStoryBible;
1530
+ readonly storyboard: typeof definePromptAnimationStoryboard;
1531
+ readonly shotTimeline: typeof createShotTimeline;
1532
+ readonly shotPlaybackPlan: typeof createShotPlaybackPlan;
1533
+ readonly sampleShotPlaybackPlan: typeof sampleShotPlaybackPlan;
1534
+ readonly applyShotPlaybackFrame: typeof applyShotPlaybackFrame;
1535
+ readonly installShotPlayback: typeof installShotPlayback;
1536
+ readonly captionsFromDialogue: typeof deriveCaptionTrackFromDialogue;
1537
+ readonly captionCueAtTime: typeof captionCueAtTime;
1538
+ readonly captionTimingProof: typeof createCaptionTimingProof;
1539
+ readonly visemeTrack: typeof createAuraVoiceVisemeTrack;
1540
+ readonly primitiveMouthVisemes: typeof createPrimitiveMouthVisemeCues;
1541
+ readonly glbBlendshapeViseme: typeof createGlbBlendshapeVisemeCue;
1542
+ readonly sampleVisemeTrack: typeof sampleVisemeTrack;
1543
+ readonly auraVoiceBridgePackage: typeof createAuraVoiceBridgePackage;
1544
+ readonly sampleAuraVoiceBridgeAtTime: typeof sampleAuraVoiceBridgeAtTime;
1545
+ readonly auraVoiceRerenderPlan: typeof createAuraVoiceRerenderPlan;
1546
+ readonly auraVoiceDubRerenderProof: typeof createAuraVoiceDubRerenderProof;
1547
+ readonly director: typeof createCartoonDirectorPlan;
1548
+ readonly performance: typeof createCartoonPerformance;
1549
+ readonly renderQueue: typeof createCartoonRenderQueue;
1550
+ readonly renderOutputPackage: typeof createCartoonRenderOutputPackageMetadata;
1551
+ readonly evidence: typeof collectPromptAnimationEvidence;
1552
+ };
1169
1553
  declare function collectParticleBudgetDiagnostics(nodes: readonly AuraSceneNode[]): AuraParticleBudgetDiagnostics;
1170
1554
  export declare const particles: {
1171
1555
  readonly materialModes: () => readonly AuraParticleMaterialMode[];
@@ -1207,6 +1591,7 @@ export declare const character: {
1207
1591
  readonly lowPolyHumanoid: (options?: AuraPrimitiveHumanoidPrefabOptions) => readonly AuraSceneNode[];
1208
1592
  readonly authoredHumanoid: (options?: AuraPrimitiveHumanoidPrefabOptions) => readonly AuraSceneNode[];
1209
1593
  readonly primitiveHumanoid: (options?: AuraPrimitiveHumanoidPrefabOptions) => readonly AuraSceneNode[];
1594
+ readonly performance: typeof createCartoonPerformance;
1210
1595
  readonly importedRigRuntime: (options: GLTFSceneAnimationRuntimeOptions) => Promise<GLTFSceneAnimationRuntime>;
1211
1596
  readonly visualQA: typeof validatePrimitiveHumanoidVisualQA;
1212
1597
  readonly validatePrimitiveHumanoid: typeof validatePrimitiveHumanoidVisualQA;
@@ -1420,10 +1805,30 @@ export type AuraPromptEffectId = "rain" | "fog" | "bloom" | "particles" | "wet-r
1420
1805
  export type AuraPromptCameraPreset = "product-orbit" | "cinematic-dolly" | "game-board" | "material-inspection";
1421
1806
  export type AuraPromptLightingPreset = "studio-softbox" | "neon-practicals" | "game-readable" | "material-studio";
1422
1807
  export type AuraPromptInteractionMode = "orbit" | "keyboard" | "pointer";
1423
- export interface AuraPromptPlanSubject {
1808
+ export interface AuraPromptResolvedSubject {
1424
1809
  readonly asset: AuraAssetRef<"model">;
1425
1810
  readonly label?: string;
1426
1811
  }
1812
+ export interface AuraPromptIntentSubject {
1813
+ readonly intent: string;
1814
+ readonly constraints?: {
1815
+ readonly maxTriangles?: number;
1816
+ readonly license?: readonly ("CC0" | "CC-BY")[];
1817
+ readonly animated?: boolean;
1818
+ };
1819
+ readonly label?: string;
1820
+ }
1821
+ export type AuraPromptPlanSubject = AuraPromptResolvedSubject | AuraPromptIntentSubject;
1822
+ export declare function promptSubjectIsResolved(s: AuraPromptPlanSubject): s is AuraPromptResolvedSubject;
1823
+ export interface AuraPromptSubjectResolver {
1824
+ resolve(query: {
1825
+ text: string;
1826
+ constraints?: AuraPromptIntentSubject["constraints"];
1827
+ }): Promise<{
1828
+ asset: AuraAssetRef<"model">;
1829
+ } | null>;
1830
+ }
1831
+ export declare function resolvePromptPlanSubject(plan: AuraPromptPlan, resolver: AuraPromptSubjectResolver): Promise<AuraPromptPlan>;
1427
1832
  export interface AuraPromptPlan {
1428
1833
  readonly sceneType: AuraPromptSceneType;
1429
1834
  readonly subject: AuraPromptPlanSubject;
@@ -1538,15 +1943,96 @@ export interface AuraSceneEvidence {
1538
1943
  readonly helperCount: number;
1539
1944
  readonly nodeBudgetExceeded: readonly AuraHelperBudgetId[];
1540
1945
  };
1946
+ readonly gameRuntime: GameRuntimeEvidence;
1541
1947
  readonly rendering: AuraRendererDiagnosticReport;
1542
1948
  readonly assets: readonly AuraAssetProvenance[];
1543
1949
  }
1950
+ export interface AuraFrameInfo {
1951
+ readonly dt: number;
1952
+ readonly fixedDt: number;
1953
+ readonly time: number;
1954
+ readonly frame: number;
1955
+ readonly alpha: number;
1956
+ readonly paused: boolean;
1957
+ readonly source: "raf" | "manual" | "fixed";
1958
+ readonly substep: number;
1959
+ readonly substeps: number;
1960
+ }
1961
+ export type AuraFrameCallback = (frame: AuraFrameInfo) => void;
1962
+ export interface AuraRuntimeNodeSnapshot {
1963
+ readonly id: string;
1964
+ readonly kind: AuraSceneNode["kind"];
1965
+ readonly name?: string;
1966
+ readonly tags: readonly string[];
1967
+ readonly position: AuraVec3;
1968
+ readonly rotation: AuraVec3;
1969
+ readonly scale: number | AuraVec3;
1970
+ readonly visible: boolean;
1971
+ readonly animation?: AuraAnimationSpec;
1972
+ readonly animationBinding?: AuraRuntimeNodeAnimationBindingMetadata;
1973
+ readonly animationPose?: AnimationPose;
1974
+ readonly animationPoseBinding?: AuraRuntimeNodeAnimationPoseBindingMetadata;
1975
+ readonly morphTargets?: RuntimeNodeMorphTargetWeights;
1976
+ readonly bounds?: AuraRuntimeNodeBounds;
1977
+ readonly effects?: readonly AuraRuntimeNodeEffectAttachment[];
1978
+ }
1979
+ export interface AuraRuntimeNodeHandle {
1980
+ readonly id: string;
1981
+ readonly kind: AuraSceneNode["kind"];
1982
+ readonly name?: string;
1983
+ readonly tags: readonly string[];
1984
+ position: AuraVec3;
1985
+ rotation: AuraVec3;
1986
+ scale: number | AuraVec3;
1987
+ visible: boolean;
1988
+ setPosition(x: number, y: number, z: number): this;
1989
+ translate(x: number, y: number, z: number): this;
1990
+ setRotation(x: number, y: number, z: number): this;
1991
+ setScale(scale: number | AuraVec3): this;
1992
+ setVisible(visible: boolean): this;
1993
+ setMaterial(material: AuraMaterialSpec): this;
1994
+ play(clip: string, options?: Omit<AuraAnimationSpec, "clip">): this;
1995
+ setAnimation(animation: AuraAnimationSpec | undefined): this;
1996
+ setAnimationBinding(binding: AuraRuntimeNodeAnimationBindingMetadata | undefined): this;
1997
+ setAnimationPose(pose: AnimationPose | undefined, metadata?: AuraRuntimeNodeAnimationPoseBindingMetadata): this;
1998
+ animationPose(): AnimationPose | undefined;
1999
+ setMorphTarget(name: string, weight: number): this;
2000
+ setMorphTargets(weights: RuntimeNodeMorphTargetWeights): this;
2001
+ morphTargets(): RuntimeNodeMorphTargetWeights;
2002
+ bounds(): AuraRuntimeNodeBounds;
2003
+ attachEffect(effect: AuraRuntimeNodeEffectAttachment): this;
2004
+ effects(): readonly AuraRuntimeNodeEffectAttachment[];
2005
+ snapshot(): AuraRuntimeNodeSnapshot;
2006
+ }
2007
+ export interface AuraRuntimeNodeRegistry {
2008
+ get(id: string): AuraRuntimeNodeHandle | undefined;
2009
+ require(id: string): AuraRuntimeNodeHandle;
2010
+ has(id: string): boolean;
2011
+ ids(): readonly string[];
2012
+ all(): readonly AuraRuntimeNodeHandle[];
2013
+ }
2014
+ export interface AuraRuntimeState {
2015
+ readonly paused: boolean;
2016
+ readonly frame: number;
2017
+ readonly time: number;
2018
+ readonly fixedDt: number;
2019
+ readonly alpha: number;
2020
+ }
1544
2021
  export interface AuraApp {
1545
2022
  readonly canvas?: HTMLCanvasElement;
1546
2023
  readonly scene: AuraSceneSnapshot;
1547
2024
  readonly backend: AuraBackend;
2025
+ readonly nodes: AuraRuntimeNodeRegistry;
2026
+ readonly runtime: AuraRuntimeState;
1548
2027
  setScene(scene: AuraSceneBuilder | AuraSceneSnapshot): void;
2028
+ onFrame(callback: AuraFrameCallback): () => void;
2029
+ offFrame(callback: AuraFrameCallback): void;
2030
+ input(options: GameInputOptions): ReturnType<typeof createGameInput>;
2031
+ pause(): void;
2032
+ resume(): void;
2033
+ step(dt?: number): void;
1549
2034
  diagnostics(): AuraDiagnostics;
2035
+ evidence(options?: GameRuntimeEvidenceOptions): ReturnType<typeof collectGameRuntimeEvidenceV105>;
1550
2036
  screenshot(): AuraScreenshot;
1551
2037
  dispose(): void;
1552
2038
  }