af-motion 0.0.0-stage → 1.0.0
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.
- package/CHANGELOG.md +33 -0
- package/LICENSE +201 -0
- package/README.md +203 -3
- package/RELEASE_NOTES.md +115 -0
- package/bin/af-motion.js +16 -0
- package/bin/mcp-server.js +21 -0
- package/dist/3d/adapter.d.ts +29 -0
- package/dist/3d/assets/cache.d.ts +71 -0
- package/dist/3d/assets/index.d.ts +10 -0
- package/dist/3d/assets/inspection.d.ts +19 -0
- package/dist/3d/assets/loaders.d.ts +30 -0
- package/dist/3d/assets/manager.d.ts +69 -0
- package/dist/3d/assets/scene-integration.d.ts +23 -0
- package/dist/3d/assets/types.d.ts +80 -0
- package/dist/3d/assets/validation.d.ts +12 -0
- package/dist/3d/camera/index.d.ts +7 -0
- package/dist/3d/camera/presets.d.ts +8 -0
- package/dist/3d/camera/transitions.d.ts +19 -0
- package/dist/3d/camera/types.d.ts +37 -0
- package/dist/3d/camera/validation.d.ts +9 -0
- package/dist/3d/capabilities.d.ts +11 -0
- package/dist/3d/composition/fallback.d.ts +20 -0
- package/dist/3d/composition/generation.d.ts +24 -0
- package/dist/3d/composition/index.d.ts +12 -0
- package/dist/3d/composition/quality.d.ts +35 -0
- package/dist/3d/composition/recipes.d.ts +34 -0
- package/dist/3d/composition/types.d.ts +88 -0
- package/dist/3d/composition/unified.d.ts +18 -0
- package/dist/3d/environment/index.d.ts +6 -0
- package/dist/3d/environment/presets.d.ts +8 -0
- package/dist/3d/environment/types.d.ts +36 -0
- package/dist/3d/environment/validation.d.ts +9 -0
- package/dist/3d/geometry/cache.d.ts +37 -0
- package/dist/3d/geometry/generators.d.ts +24 -0
- package/dist/3d/geometry/hash.d.ts +10 -0
- package/dist/3d/geometry/index.d.ts +9 -0
- package/dist/3d/geometry/three-adapter.d.ts +15 -0
- package/dist/3d/geometry/types.d.ts +120 -0
- package/dist/3d/geometry/validation.d.ts +6 -0
- package/dist/3d/index.d.ts +32 -0
- package/dist/3d/interaction/camera-controls.d.ts +58 -0
- package/dist/3d/interaction/index.d.ts +8 -0
- package/dist/3d/interaction/manager.d.ts +61 -0
- package/dist/3d/interaction/presets.d.ts +9 -0
- package/dist/3d/interaction/raycaster.d.ts +20 -0
- package/dist/3d/interaction/types.d.ts +78 -0
- package/dist/3d/lighting/index.d.ts +6 -0
- package/dist/3d/lighting/presets.d.ts +8 -0
- package/dist/3d/lighting/types.d.ts +31 -0
- package/dist/3d/lighting/validation.d.ts +17 -0
- package/dist/3d/materials/bridge.d.ts +11 -0
- package/dist/3d/materials/index.d.ts +7 -0
- package/dist/3d/materials/presets.d.ts +9 -0
- package/dist/3d/materials/types.d.ts +43 -0
- package/dist/3d/materials/validation.d.ts +9 -0
- package/dist/3d/morphing/animator.d.ts +19 -0
- package/dist/3d/morphing/correspondence.d.ts +32 -0
- package/dist/3d/morphing/geometry.d.ts +28 -0
- package/dist/3d/morphing/index.d.ts +16 -0
- package/dist/3d/morphing/interpolation.d.ts +45 -0
- package/dist/3d/morphing/morph.d.ts +18 -0
- package/dist/3d/morphing/presets.d.ts +31 -0
- package/dist/3d/morphing/react.d.ts +29 -0
- package/dist/3d/morphing/topology.d.ts +34 -0
- package/dist/3d/morphing/types.d.ts +138 -0
- package/dist/3d/morphing/validation.d.ts +19 -0
- package/dist/3d/optimization/analysis.d.ts +14 -0
- package/dist/3d/optimization/colliders.d.ts +16 -0
- package/dist/3d/optimization/geometry.d.ts +22 -0
- package/dist/3d/optimization/hierarchy.d.ts +14 -0
- package/dist/3d/optimization/index.d.ts +33 -0
- package/dist/3d/optimization/lod.d.ts +13 -0
- package/dist/3d/optimization/materials.d.ts +12 -0
- package/dist/3d/optimization/recommendations.d.ts +13 -0
- package/dist/3d/optimization/skeleton.d.ts +20 -0
- package/dist/3d/optimization/types.d.ts +252 -0
- package/dist/3d/physics/benchmark.d.ts +76 -0
- package/dist/3d/physics/body/inertia.d.ts +61 -0
- package/dist/3d/physics/collision/ccd.d.ts +26 -0
- package/dist/3d/physics/collision/narrowphase.d.ts +15 -0
- package/dist/3d/physics/collision/shapes.d.ts +45 -0
- package/dist/3d/physics/constraints/advanced.d.ts +40 -0
- package/dist/3d/physics/constraints/solver.d.ts +34 -0
- package/dist/3d/physics/constraints/types.d.ts +106 -0
- package/dist/3d/physics/events.d.ts +34 -0
- package/dist/3d/physics/index.d.ts +29 -0
- package/dist/3d/physics/material.d.ts +27 -0
- package/dist/3d/physics/math.d.ts +79 -0
- package/dist/3d/physics/soft/cloth.d.ts +12 -0
- package/dist/3d/physics/soft/collision.d.ts +12 -0
- package/dist/3d/physics/soft/gpu.d.ts +19 -0
- package/dist/3d/physics/soft/pbd.d.ts +20 -0
- package/dist/3d/physics/soft/rope.d.ts +16 -0
- package/dist/3d/physics/soft/soft-body.d.ts +12 -0
- package/dist/3d/physics/soft/types.d.ts +212 -0
- package/dist/3d/physics/solver/integrators.d.ts +25 -0
- package/dist/3d/physics/solver/types.d.ts +28 -0
- package/dist/3d/physics/spatial/spatial-hash.d.ts +51 -0
- package/dist/3d/physics/types.d.ts +579 -0
- package/dist/3d/physics/world.d.ts +106 -0
- package/dist/3d/r3f.d.ts +34 -0
- package/dist/3d/scene.d.ts +8 -0
- package/dist/3d/schema.d.ts +739 -0
- package/dist/3d/schemas/ai-integration.d.ts +201 -0
- package/dist/3d/schemas/correction.d.ts +11 -0
- package/dist/3d/schemas/index.d.ts +12 -0
- package/dist/3d/schemas/schemas.d.ts +361 -0
- package/dist/3d/schemas/serialization.d.ts +22 -0
- package/dist/3d/schemas/types.d.ts +199 -0
- package/dist/3d/schemas/validation.d.ts +33 -0
- package/dist/3d/scroll/controller.d.ts +32 -0
- package/dist/3d/scroll/index.d.ts +6 -0
- package/dist/3d/scroll/presets.d.ts +9 -0
- package/dist/3d/scroll/types.d.ts +53 -0
- package/dist/3d/terrain/biomes.d.ts +18 -0
- package/dist/3d/terrain/chunks.d.ts +20 -0
- package/dist/3d/terrain/erosion.d.ts +15 -0
- package/dist/3d/terrain/heightmap.d.ts +27 -0
- package/dist/3d/terrain/index.d.ts +18 -0
- package/dist/3d/terrain/materials.d.ts +20 -0
- package/dist/3d/terrain/noise.d.ts +25 -0
- package/dist/3d/terrain/physics.d.ts +34 -0
- package/dist/3d/terrain/terrain.d.ts +12 -0
- package/dist/3d/terrain/types.d.ts +235 -0
- package/dist/3d/terrain/vegetation.d.ts +14 -0
- package/dist/3d/types.d.ts +176 -0
- package/dist/3d/world/hydrology.d.ts +12 -0
- package/dist/3d/world/index.d.ts +15 -0
- package/dist/3d/world/lighting.d.ts +16 -0
- package/dist/3d/world/pipeline.d.ts +20 -0
- package/dist/3d/world/population.d.ts +12 -0
- package/dist/3d/world/presets.d.ts +11 -0
- package/dist/3d/world/streaming.d.ts +13 -0
- package/dist/3d/world/types.d.ts +272 -0
- package/dist/3d/world/world.d.ts +64 -0
- package/dist/backgrounds/advanced-gradient.d.ts +32 -0
- package/dist/backgrounds/atmospheric-backgrounds.d.ts +79 -0
- package/dist/backgrounds/aurora.d.ts +24 -0
- package/dist/backgrounds/cosmic-background.d.ts +31 -0
- package/dist/backgrounds/energy-effects.d.ts +78 -0
- package/dist/backgrounds/floating-orbs.d.ts +26 -0
- package/dist/backgrounds/fluid-backgrounds.d.ts +72 -0
- package/dist/backgrounds/geometric-backgrounds.d.ts +78 -0
- package/dist/backgrounds/gradient.d.ts +20 -0
- package/dist/backgrounds/grid.d.ts +22 -0
- package/dist/backgrounds/internal/canvas-lifecycle.d.ts +29 -0
- package/dist/backgrounds/noise.d.ts +20 -0
- package/dist/backgrounds/particle-background.d.ts +37 -0
- package/dist/backgrounds/particle-field.d.ts +22 -0
- package/dist/backgrounds/spotlight.d.ts +20 -0
- package/dist/backgrounds/wave.d.ts +22 -0
- package/dist/catalogue.d.ts +227 -0
- package/dist/catalogue.js +4 -0
- package/dist/chunks/catalogue-ZmbeEdRo.js +59850 -0
- package/dist/chunks/core-animation-CeiI_TEe.js +1394 -0
- package/dist/chunks/motion-choreography-DC6LWvDk.js +4089 -0
- package/dist/chunks/pointer-capture-lrnKAl2I.js +158 -0
- package/dist/chunks/safe-json-D5j34GEB.js +62 -0
- package/dist/chunks/scroll-velocity-BNUHaS0-.js +904 -0
- package/dist/cli/commands/doctor.d.ts +9 -0
- package/dist/cli/commands/example.d.ts +9 -0
- package/dist/cli/commands/info.d.ts +8 -0
- package/dist/cli/commands/init.d.ts +9 -0
- package/dist/cli/commands/presets.d.ts +10 -0
- package/dist/cli/commands/validate.d.ts +9 -0
- package/dist/cli/index.d.ts +22 -0
- package/dist/cli/types.d.ts +115 -0
- package/dist/cli/utils/safety.d.ts +11 -0
- package/dist/cli/utils/templates.d.ts +16 -0
- package/dist/cli/utils/terminal.d.ts +29 -0
- package/dist/cli.js +825 -0
- package/dist/core/adaptive-motion.d.ts +100 -0
- package/dist/core/adaptive-quality/controller.d.ts +61 -0
- package/dist/core/adaptive-quality/index.d.ts +13 -0
- package/dist/core/adaptive-quality/metrics.d.ts +33 -0
- package/dist/core/adaptive-quality/policies.d.ts +40 -0
- package/dist/core/adaptive-quality/profile.d.ts +58 -0
- package/dist/core/adaptive-quality/react.d.ts +57 -0
- package/dist/core/adaptive-quality/recommendation.d.ts +12 -0
- package/dist/core/adaptive-quality/resolution.d.ts +22 -0
- package/dist/core/adaptive-quality/types.d.ts +362 -0
- package/dist/core/advanced-motion/adapters.d.ts +20 -0
- package/dist/core/advanced-motion/controller.d.ts +52 -0
- package/dist/core/advanced-motion/index.d.ts +12 -0
- package/dist/core/advanced-motion/recipes.d.ts +16 -0
- package/dist/core/advanced-motion/timeline.d.ts +35 -0
- package/dist/core/advanced-motion/types.d.ts +174 -0
- package/dist/core/advanced-motion/validation.d.ts +11 -0
- package/dist/core/agent-workflows/agent-registry.d.ts +21 -0
- package/dist/core/agent-workflows/agents/accessibility-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/composition-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/design-to-motion-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/index.d.ts +13 -0
- package/dist/core/agent-workflows/agents/motion-intelligence-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/performance-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/scene-generation-agent.d.ts +9 -0
- package/dist/core/agent-workflows/collaboration-planner.d.ts +38 -0
- package/dist/core/agent-workflows/collaboration-workflows.d.ts +83 -0
- package/dist/core/agent-workflows/communication.d.ts +29 -0
- package/dist/core/agent-workflows/conflict-resolver.d.ts +25 -0
- package/dist/core/agent-workflows/context.d.ts +36 -0
- package/dist/core/agent-workflows/execution-engine.d.ts +30 -0
- package/dist/core/agent-workflows/index.d.ts +20 -0
- package/dist/core/agent-workflows/orchestration-types.d.ts +144 -0
- package/dist/core/agent-workflows/orchestrator.d.ts +29 -0
- package/dist/core/agent-workflows/react.d.ts +71 -0
- package/dist/core/agent-workflows/shared-context.d.ts +36 -0
- package/dist/core/agent-workflows/task-planner.d.ts +42 -0
- package/dist/core/agent-workflows/templates.d.ts +14 -0
- package/dist/core/agent-workflows/tool-registry.d.ts +24 -0
- package/dist/core/agent-workflows/types.d.ts +167 -0
- package/dist/core/ai-ecosystem/capability-registry.d.ts +23 -0
- package/dist/core/ai-ecosystem/index.d.ts +13 -0
- package/dist/core/ai-ecosystem/pipeline.d.ts +19 -0
- package/dist/core/ai-ecosystem/provider.d.ts +19 -0
- package/dist/core/ai-ecosystem/types.d.ts +69 -0
- package/dist/core/ai-motion-intelligence/engine.d.ts +51 -0
- package/dist/core/ai-motion-intelligence/explanation-engine.d.ts +8 -0
- package/dist/core/ai-motion-intelligence/index.d.ts +15 -0
- package/dist/core/ai-motion-intelligence/intent-classifier.d.ts +14 -0
- package/dist/core/ai-motion-intelligence/knowledge-base.d.ts +12 -0
- package/dist/core/ai-motion-intelligence/provider.d.ts +31 -0
- package/dist/core/ai-motion-intelligence/quality-evaluator.d.ts +9 -0
- package/dist/core/ai-motion-intelligence/react.d.ts +14 -0
- package/dist/core/ai-motion-intelligence/recommendation-engine.d.ts +16 -0
- package/dist/core/ai-motion-intelligence/types.d.ts +134 -0
- package/dist/core/ai-motion-registry.d.ts +201 -0
- package/dist/core/animate.d.ts +57 -0
- package/dist/core/animation-intelligence/engine.d.ts +42 -0
- package/dist/core/animation-intelligence/index.d.ts +11 -0
- package/dist/core/animation-intelligence/intent.d.ts +15 -0
- package/dist/core/animation-intelligence/schema.d.ts +42 -0
- package/dist/core/animation-intelligence/scoring.d.ts +15 -0
- package/dist/core/animation-intelligence/types.d.ts +91 -0
- package/dist/core/animation-parallel.d.ts +37 -0
- package/dist/core/animation-presets.d.ts +56 -0
- package/dist/core/animation-sequence.d.ts +37 -0
- package/dist/core/animation-timeline.d.ts +46 -0
- package/dist/core/animation.d.ts +48 -0
- package/dist/core/built-in-palettes.d.ts +331 -0
- package/dist/core/choreography-intelligence/bridge.d.ts +43 -0
- package/dist/core/choreography-intelligence/generator.d.ts +11 -0
- package/dist/core/choreography-intelligence/index.d.ts +11 -0
- package/dist/core/choreography-intelligence/intent.d.ts +11 -0
- package/dist/core/choreography-intelligence/schema.d.ts +76 -0
- package/dist/core/choreography-intelligence/types.d.ts +87 -0
- package/dist/core/composition.d.ts +170 -0
- package/dist/core/configuration-corrector.d.ts +85 -0
- package/dist/core/design-intelligence.d.ts +199 -0
- package/dist/core/design-system.d.ts +206 -0
- package/dist/core/design-to-motion/design-analyzer.d.ts +13 -0
- package/dist/core/design-to-motion/engine.d.ts +34 -0
- package/dist/core/design-to-motion/generator.d.ts +16 -0
- package/dist/core/design-to-motion/index.d.ts +15 -0
- package/dist/core/design-to-motion/input-parser.d.ts +17 -0
- package/dist/core/design-to-motion/motion-planner.d.ts +11 -0
- package/dist/core/design-to-motion/presets.d.ts +11 -0
- package/dist/core/design-to-motion/react.d.ts +13 -0
- package/dist/core/design-to-motion/types.d.ts +221 -0
- package/dist/core/design-to-motion/validator.d.ts +13 -0
- package/dist/core/device-capabilities/classification.d.ts +25 -0
- package/dist/core/device-capabilities/detection.d.ts +27 -0
- package/dist/core/device-capabilities/graphics.d.ts +22 -0
- package/dist/core/device-capabilities/hardware.d.ts +27 -0
- package/dist/core/device-capabilities/index.d.ts +14 -0
- package/dist/core/device-capabilities/monitor.d.ts +19 -0
- package/dist/core/device-capabilities/react.d.ts +24 -0
- package/dist/core/device-capabilities/runtime.d.ts +11 -0
- package/dist/core/device-capabilities/scoring.d.ts +18 -0
- package/dist/core/device-capabilities/types.d.ts +171 -0
- package/dist/core/effect-composer.d.ts +41 -0
- package/dist/core/generation-pipeline.d.ts +135 -0
- package/dist/core/inertia.d.ts +30 -0
- package/dist/core/interactions/cursor-controller.d.ts +9 -0
- package/dist/core/interactions/custom-gestures.d.ts +28 -0
- package/dist/core/interactions/device-capabilities.d.ts +12 -0
- package/dist/core/interactions/drag-controller.d.ts +60 -0
- package/dist/core/interactions/errors.d.ts +13 -0
- package/dist/core/interactions/gesture-classifier.d.ts +43 -0
- package/dist/core/interactions/gesture-intelligence-controller.d.ts +9 -0
- package/dist/core/interactions/gesture-recognizers.d.ts +160 -0
- package/dist/core/interactions/gesture-sequence.d.ts +9 -0
- package/dist/core/interactions/index.d.ts +27 -0
- package/dist/core/interactions/input-normalizer.d.ts +8 -0
- package/dist/core/interactions/interaction-manager.d.ts +43 -0
- package/dist/core/interactions/keyboard-manager.d.ts +16 -0
- package/dist/core/interactions/magnetic-controller.d.ts +9 -0
- package/dist/core/interactions/magnetic-group.d.ts +11 -0
- package/dist/core/interactions/multitouch-controller.d.ts +62 -0
- package/dist/core/interactions/pointer-controller.d.ts +34 -0
- package/dist/core/interactions/pointer-tracker.d.ts +32 -0
- package/dist/core/interactions/prioritizer.d.ts +17 -0
- package/dist/core/interactions/touch-controller.d.ts +35 -0
- package/dist/core/interactions/types.d.ts +710 -0
- package/dist/core/layout/controller.d.ts +56 -0
- package/dist/core/layout/flip.d.ts +21 -0
- package/dist/core/layout/group.d.ts +46 -0
- package/dist/core/layout/index.d.ts +12 -0
- package/dist/core/layout/measure.d.ts +30 -0
- package/dist/core/layout/presets.d.ts +24 -0
- package/dist/core/layout/types.d.ts +189 -0
- package/dist/core/microinteractions/generator.d.ts +11 -0
- package/dist/core/microinteractions/index.d.ts +11 -0
- package/dist/core/microinteractions/intent.d.ts +11 -0
- package/dist/core/microinteractions/runtime.d.ts +25 -0
- package/dist/core/microinteractions/schema.d.ts +82 -0
- package/dist/core/microinteractions/types.d.ts +79 -0
- package/dist/core/motion-choreography.d.ts +163 -0
- package/dist/core/motion-dna.d.ts +129 -0
- package/dist/core/motion-path/animator.d.ts +13 -0
- package/dist/core/motion-path/engine.d.ts +27 -0
- package/dist/core/motion-path/follower.d.ts +8 -0
- package/dist/core/motion-path/index.d.ts +15 -0
- package/dist/core/motion-path/lut.d.ts +33 -0
- package/dist/core/motion-path/parser.d.ts +26 -0
- package/dist/core/motion-path/segments.d.ts +16 -0
- package/dist/core/motion-path/types.d.ts +178 -0
- package/dist/core/motion-path/vector3.d.ts +49 -0
- package/dist/core/motion-recipe.d.ts +171 -0
- package/dist/core/motion-states.d.ts +43 -0
- package/dist/core/motion-validation/consistency.d.ts +11 -0
- package/dist/core/motion-validation/index.d.ts +11 -0
- package/dist/core/motion-validation/optimizer.d.ts +11 -0
- package/dist/core/motion-validation/schema.d.ts +81 -0
- package/dist/core/motion-validation/types.d.ts +53 -0
- package/dist/core/motion-validation/validator.d.ts +11 -0
- package/dist/core/motion.d.ts +7 -0
- package/dist/core/natural-motion.d.ts +110 -0
- package/dist/core/palette-colors.d.ts +16 -0
- package/dist/core/palette-styles.d.ts +12 -0
- package/dist/core/palettes.d.ts +59 -0
- package/dist/core/performance-intelligence/conflicts.d.ts +21 -0
- package/dist/core/performance-intelligence/context.d.ts +48 -0
- package/dist/core/performance-intelligence/coordinator.d.ts +84 -0
- package/dist/core/performance-intelligence/decisions.d.ts +17 -0
- package/dist/core/performance-intelligence/history.d.ts +44 -0
- package/dist/core/performance-intelligence/index.d.ts +15 -0
- package/dist/core/performance-intelligence/policies.d.ts +59 -0
- package/dist/core/performance-intelligence/react.d.ts +78 -0
- package/dist/core/performance-intelligence/report.d.ts +16 -0
- package/dist/core/performance-intelligence/scoring.d.ts +16 -0
- package/dist/core/performance-intelligence/types.d.ts +203 -0
- package/dist/core/performance-optimizer/bottlenecks.d.ts +9 -0
- package/dist/core/performance-optimizer/index.d.ts +13 -0
- package/dist/core/performance-optimizer/optimizer.d.ts +43 -0
- package/dist/core/performance-optimizer/profiler.d.ts +38 -0
- package/dist/core/performance-optimizer/react.d.ts +55 -0
- package/dist/core/performance-optimizer/strategies.d.ts +22 -0
- package/dist/core/performance-optimizer/types.d.ts +227 -0
- package/dist/core/performance-optimizer/workers.d.ts +27 -0
- package/dist/core/physics/collision-constraints.d.ts +15 -0
- package/dist/core/physics/collision-detection.d.ts +93 -0
- package/dist/core/physics/collision-response.d.ts +24 -0
- package/dist/core/physics/collision-types.d.ts +381 -0
- package/dist/core/physics/collision-world.d.ts +11 -0
- package/dist/core/physics/composition-behaviors.d.ts +97 -0
- package/dist/core/physics/composition-choreography.d.ts +14 -0
- package/dist/core/physics/composition-engine.d.ts +25 -0
- package/dist/core/physics/composition-recipes.d.ts +46 -0
- package/dist/core/physics/composition-types.d.ts +265 -0
- package/dist/core/physics/composition-validation.d.ts +33 -0
- package/dist/core/physics/index.d.ts +37 -0
- package/dist/core/physics/inertia-animation.d.ts +11 -0
- package/dist/core/physics/inertia-math.d.ts +56 -0
- package/dist/core/physics/inertia-presets.d.ts +25 -0
- package/dist/core/physics/inertia-simulation.d.ts +11 -0
- package/dist/core/physics/inertia-types.d.ts +355 -0
- package/dist/core/physics/inertia-validation.d.ts +22 -0
- package/dist/core/physics/math.d.ts +99 -0
- package/dist/core/physics/presets.d.ts +28 -0
- package/dist/core/physics/simulation.d.ts +11 -0
- package/dist/core/physics/spring-animation.d.ts +11 -0
- package/dist/core/physics/spring-math.d.ts +47 -0
- package/dist/core/physics/spring-presets.d.ts +29 -0
- package/dist/core/physics/spring-simulation.d.ts +11 -0
- package/dist/core/physics/spring-types.d.ts +350 -0
- package/dist/core/physics/spring-validation.d.ts +22 -0
- package/dist/core/physics/stepper.d.ts +24 -0
- package/dist/core/physics/types.d.ts +280 -0
- package/dist/core/physics/validation.d.ts +62 -0
- package/dist/core/pointer-capture.d.ts +7 -0
- package/dist/core/reference-analysis/index.d.ts +10 -0
- package/dist/core/reference-analysis/interpreter.d.ts +12 -0
- package/dist/core/reference-analysis/planner.d.ts +15 -0
- package/dist/core/reference-analysis/specification.d.ts +14 -0
- package/dist/core/reference-analysis/types.d.ts +244 -0
- package/dist/core/resource-intelligence/cache.d.ts +43 -0
- package/dist/core/resource-intelligence/gpu.d.ts +19 -0
- package/dist/core/resource-intelligence/index.d.ts +16 -0
- package/dist/core/resource-intelligence/leaks.d.ts +13 -0
- package/dist/core/resource-intelligence/memory.d.ts +27 -0
- package/dist/core/resource-intelligence/pooling.d.ts +32 -0
- package/dist/core/resource-intelligence/pressure.d.ts +32 -0
- package/dist/core/resource-intelligence/react.d.ts +63 -0
- package/dist/core/resource-intelligence/registry.d.ts +33 -0
- package/dist/core/resource-intelligence/reports.d.ts +14 -0
- package/dist/core/resource-intelligence/types.d.ts +232 -0
- package/dist/core/scene-generation/engine.d.ts +31 -0
- package/dist/core/scene-generation/generator.d.ts +14 -0
- package/dist/core/scene-generation/index.d.ts +14 -0
- package/dist/core/scene-generation/input-parser.d.ts +24 -0
- package/dist/core/scene-generation/presets.d.ts +10 -0
- package/dist/core/scene-generation/react.d.ts +13 -0
- package/dist/core/scene-generation/scene-analyzer.d.ts +9 -0
- package/dist/core/scene-generation/scene-planner.d.ts +12 -0
- package/dist/core/scene-generation/types.d.ts +236 -0
- package/dist/core/scene-generation/validator.d.ts +18 -0
- package/dist/core/schema.d.ts +185 -0
- package/dist/core/scroll-intelligence/generator.d.ts +11 -0
- package/dist/core/scroll-intelligence/index.d.ts +11 -0
- package/dist/core/scroll-intelligence/intent.d.ts +11 -0
- package/dist/core/scroll-intelligence/runtime.d.ts +21 -0
- package/dist/core/scroll-intelligence/schema.d.ts +78 -0
- package/dist/core/scroll-intelligence/types.d.ts +85 -0
- package/dist/core/spring.d.ts +38 -0
- package/dist/core/svg-morph/animator.d.ts +10 -0
- package/dist/core/svg-morph/arc-to-cubic.d.ts +11 -0
- package/dist/core/svg-morph/index.d.ts +10 -0
- package/dist/core/svg-morph/interpolate.d.ts +23 -0
- package/dist/core/svg-morph/normalize.d.ts +34 -0
- package/dist/core/svg-morph/parser.d.ts +13 -0
- package/dist/core/svg-morph/shapes.d.ts +32 -0
- package/dist/core/svg-morph/types.d.ts +144 -0
- package/dist/core/transform.d.ts +27 -0
- package/dist/core/transitions/controller.d.ts +45 -0
- package/dist/core/transitions/engine.d.ts +26 -0
- package/dist/core/transitions/group-transition.d.ts +30 -0
- package/dist/core/transitions/index.d.ts +15 -0
- package/dist/core/transitions/presets.d.ts +16 -0
- package/dist/core/transitions/schema.d.ts +71 -0
- package/dist/core/transitions/shared-element-transition.d.ts +88 -0
- package/dist/core/transitions/shared-element.d.ts +84 -0
- package/dist/core/transitions/types.d.ts +185 -0
- package/dist/core/transitions/view-transition.d.ts +25 -0
- package/dist/core/typography/engine.d.ts +19 -0
- package/dist/core/typography/index.d.ts +15 -0
- package/dist/core/typography/path-motion.d.ts +24 -0
- package/dist/core/typography/presets.d.ts +14 -0
- package/dist/core/typography/properties.d.ts +19 -0
- package/dist/core/typography/segmenter.d.ts +32 -0
- package/dist/core/typography/stagger.d.ts +15 -0
- package/dist/core/typography/transitions.d.ts +11 -0
- package/dist/core/typography/types.d.ts +154 -0
- package/dist/core/utils/safe-json.d.ts +50 -0
- package/dist/core/visual-style-registry.d.ts +659 -0
- package/dist/easing/easings.d.ts +44 -0
- package/dist/effects/border-beam.d.ts +28 -0
- package/dist/effects/count-up.d.ts +30 -0
- package/dist/effects/cursor-trail.d.ts +23 -0
- package/dist/effects/drag.d.ts +41 -0
- package/dist/effects/draw-svg.d.ts +19 -0
- package/dist/effects/follow-pointer.d.ts +19 -0
- package/dist/effects/glow.d.ts +25 -0
- package/dist/effects/gradient-text.d.ts +22 -0
- package/dist/effects/hover-motion.d.ts +32 -0
- package/dist/effects/in-view.d.ts +14 -0
- package/dist/effects/magnetic.d.ts +40 -0
- package/dist/effects/morph-svg.d.ts +15 -0
- package/dist/effects/parallax.d.ts +42 -0
- package/dist/effects/pinch.d.ts +27 -0
- package/dist/effects/reveal.d.ts +33 -0
- package/dist/effects/ripple.d.ts +21 -0
- package/dist/effects/scroll-animate.d.ts +23 -0
- package/dist/effects/scroll-direction.d.ts +19 -0
- package/dist/effects/scroll-progress.d.ts +29 -0
- package/dist/effects/scroll-trigger.d.ts +22 -0
- package/dist/effects/scroll-velocity.d.ts +29 -0
- package/dist/effects/shine.d.ts +23 -0
- package/dist/effects/split-text.d.ts +17 -0
- package/dist/effects/spotlight.d.ts +24 -0
- package/dist/effects/stagger.d.ts +46 -0
- package/dist/effects/swipe.d.ts +27 -0
- package/dist/effects/text-highlight.d.ts +25 -0
- package/dist/effects/text-mask.d.ts +25 -0
- package/dist/effects/text-reveal.d.ts +28 -0
- package/dist/effects/text-scramble.d.ts +18 -0
- package/dist/effects/tilt.d.ts +42 -0
- package/dist/effects/typewriter.d.ts +26 -0
- package/dist/graphics/capabilities.d.ts +12 -0
- package/dist/graphics/composition/engine.d.ts +14 -0
- package/dist/graphics/composition/fallback.d.ts +13 -0
- package/dist/graphics/composition/index.d.ts +10 -0
- package/dist/graphics/composition/ordering.d.ts +29 -0
- package/dist/graphics/composition/quality.d.ts +24 -0
- package/dist/graphics/composition/schema.d.ts +156 -0
- package/dist/graphics/composition/types.d.ts +81 -0
- package/dist/graphics/composition/unified.d.ts +23 -0
- package/dist/graphics/effects/advanced/engine.d.ts +9 -0
- package/dist/graphics/effects/advanced/index.d.ts +1 -0
- package/dist/graphics/effects/composer.d.ts +9 -0
- package/dist/graphics/effects/distortion/engine.d.ts +9 -0
- package/dist/graphics/effects/distortion/index.d.ts +1 -0
- package/dist/graphics/effects/fluid/engine.d.ts +9 -0
- package/dist/graphics/effects/fluid/index.d.ts +1 -0
- package/dist/graphics/effects/index.d.ts +10 -0
- package/dist/graphics/effects/particles/engine.d.ts +9 -0
- package/dist/graphics/effects/particles/index.d.ts +2 -0
- package/dist/graphics/effects/particles/pool.d.ts +17 -0
- package/dist/graphics/effects/schema.d.ts +312 -0
- package/dist/graphics/effects/types.d.ts +85 -0
- package/dist/graphics/engine.d.ts +5 -0
- package/dist/graphics/environment/clouds.d.ts +28 -0
- package/dist/graphics/environment/environment.d.ts +50 -0
- package/dist/graphics/environment/fire-smoke.d.ts +32 -0
- package/dist/graphics/environment/fog.d.ts +28 -0
- package/dist/graphics/environment/index.d.ts +18 -0
- package/dist/graphics/environment/lightning.d.ts +33 -0
- package/dist/graphics/environment/rain.d.ts +33 -0
- package/dist/graphics/environment/snow.d.ts +30 -0
- package/dist/graphics/environment/types.d.ts +184 -0
- package/dist/graphics/environment/weather.d.ts +19 -0
- package/dist/graphics/environment/wind.d.ts +23 -0
- package/dist/graphics/fluid/flow-field.d.ts +74 -0
- package/dist/graphics/fluid/grid.d.ts +43 -0
- package/dist/graphics/fluid/index.d.ts +13 -0
- package/dist/graphics/fluid/interactions.d.ts +39 -0
- package/dist/graphics/fluid/rendering.d.ts +32 -0
- package/dist/graphics/fluid/simulation.d.ts +50 -0
- package/dist/graphics/fluid/solver.d.ts +19 -0
- package/dist/graphics/fluid/types.d.ts +186 -0
- package/dist/graphics/gpu-simulation/backends/backend.d.ts +24 -0
- package/dist/graphics/gpu-simulation/backends/cpu.d.ts +21 -0
- package/dist/graphics/gpu-simulation/backends/selection.d.ts +15 -0
- package/dist/graphics/gpu-simulation/backends/webgl2.d.ts +28 -0
- package/dist/graphics/gpu-simulation/backends/webgpu.d.ts +23 -0
- package/dist/graphics/gpu-simulation/capabilities.d.ts +14 -0
- package/dist/graphics/gpu-simulation/device.d.ts +17 -0
- package/dist/graphics/gpu-simulation/engine.d.ts +8 -0
- package/dist/graphics/gpu-simulation/index.d.ts +22 -0
- package/dist/graphics/gpu-simulation/ping-pong.d.ts +23 -0
- package/dist/graphics/gpu-simulation/pipeline.d.ts +18 -0
- package/dist/graphics/gpu-simulation/resource-manager.d.ts +8 -0
- package/dist/graphics/gpu-simulation/shaders.d.ts +50 -0
- package/dist/graphics/gpu-simulation/types.d.ts +288 -0
- package/dist/graphics/index.d.ts +23 -0
- package/dist/graphics/materials/glass.d.ts +22 -0
- package/dist/graphics/materials/index.d.ts +9 -0
- package/dist/graphics/materials/lighting.d.ts +22 -0
- package/dist/graphics/materials/presets.d.ts +28 -0
- package/dist/graphics/materials/schema.d.ts +574 -0
- package/dist/graphics/materials/surface.d.ts +13 -0
- package/dist/graphics/materials/types.d.ts +150 -0
- package/dist/graphics/particle-fields/composition.d.ts +32 -0
- package/dist/graphics/particle-fields/forces.d.ts +103 -0
- package/dist/graphics/particle-fields/index.d.ts +12 -0
- package/dist/graphics/particle-fields/interaction.d.ts +32 -0
- package/dist/graphics/particle-fields/spatial-index.d.ts +20 -0
- package/dist/graphics/particle-fields/system.d.ts +52 -0
- package/dist/graphics/particle-fields/types.d.ts +138 -0
- package/dist/graphics/particles/behaviors.d.ts +11 -0
- package/dist/graphics/particles/controller.d.ts +82 -0
- package/dist/graphics/particles/data-layout.d.ts +51 -0
- package/dist/graphics/particles/emitters.d.ts +24 -0
- package/dist/graphics/particles/index.d.ts +15 -0
- package/dist/graphics/particles/random.d.ts +25 -0
- package/dist/graphics/particles/rendering.d.ts +16 -0
- package/dist/graphics/particles/simulation.d.ts +23 -0
- package/dist/graphics/particles/types.d.ts +282 -0
- package/dist/graphics/renderer.d.ts +66 -0
- package/dist/graphics/resource-manager.d.ts +6 -0
- package/dist/graphics/schema.d.ts +177 -0
- package/dist/graphics/simulation/adapters.d.ts +36 -0
- package/dist/graphics/simulation/coordinator.d.ts +64 -0
- package/dist/graphics/simulation/index.d.ts +11 -0
- package/dist/graphics/simulation/optimizer.d.ts +101 -0
- package/dist/graphics/simulation/resource-manager.d.ts +40 -0
- package/dist/graphics/simulation/types.d.ts +126 -0
- package/dist/graphics/textures/cache.d.ts +29 -0
- package/dist/graphics/textures/canvas-utils.d.ts +31 -0
- package/dist/graphics/textures/engine.d.ts +34 -0
- package/dist/graphics/textures/generators.d.ts +29 -0
- package/dist/graphics/textures/index.d.ts +11 -0
- package/dist/graphics/textures/material-integration.d.ts +20 -0
- package/dist/graphics/textures/prng.d.ts +27 -0
- package/dist/graphics/textures/schema.d.ts +219 -0
- package/dist/graphics/textures/types.d.ts +80 -0
- package/dist/graphics/types.d.ts +152 -0
- package/dist/graphics/viewport.d.ts +32 -0
- package/dist/index.d.ts +132 -0
- package/dist/index.js +4921 -0
- package/dist/mcp/index.d.ts +12 -0
- package/dist/mcp/prompts.d.ts +9 -0
- package/dist/mcp/resources.d.ts +9 -0
- package/dist/mcp/server.d.ts +29 -0
- package/dist/mcp/tools.d.ts +9 -0
- package/dist/mcp/transport.d.ts +33 -0
- package/dist/mcp/types.d.ts +96 -0
- package/dist/presets.d.ts +176 -0
- package/dist/presets.js +3 -0
- package/dist/react.d.ts +5358 -0
- package/dist/react.js +7557 -0
- package/package.json +112 -6
|
@@ -0,0 +1,739 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion 3D Scene Schemas & AI Motion Registry Integration
|
|
3
|
+
*
|
|
4
|
+
* Machine-readable schemas, validation, configuration correction, and
|
|
5
|
+
* dynamic discovery integration for 3D rendering.
|
|
6
|
+
*/
|
|
7
|
+
import type { Scene3DDefinition } from "./types.js";
|
|
8
|
+
export declare const SCENE_3D_SCHEMA_VERSION = "1.0.0";
|
|
9
|
+
export declare const CAMERA_3D_SCHEMA: {
|
|
10
|
+
readonly type: "object";
|
|
11
|
+
readonly properties: {
|
|
12
|
+
readonly type: {
|
|
13
|
+
readonly type: "string";
|
|
14
|
+
readonly enum: readonly ["perspective", "orthographic"];
|
|
15
|
+
readonly default: "perspective";
|
|
16
|
+
};
|
|
17
|
+
readonly fov: {
|
|
18
|
+
readonly type: "number";
|
|
19
|
+
readonly minimum: 1;
|
|
20
|
+
readonly maximum: 179;
|
|
21
|
+
readonly default: 50;
|
|
22
|
+
};
|
|
23
|
+
readonly near: {
|
|
24
|
+
readonly type: "number";
|
|
25
|
+
readonly minimum: 0.001;
|
|
26
|
+
readonly default: 0.1;
|
|
27
|
+
};
|
|
28
|
+
readonly far: {
|
|
29
|
+
readonly type: "number";
|
|
30
|
+
readonly minimum: 1;
|
|
31
|
+
readonly default: 1000;
|
|
32
|
+
};
|
|
33
|
+
readonly position: {
|
|
34
|
+
readonly type: "array";
|
|
35
|
+
readonly items: {
|
|
36
|
+
readonly type: "number";
|
|
37
|
+
};
|
|
38
|
+
readonly minItems: 3;
|
|
39
|
+
readonly maxItems: 3;
|
|
40
|
+
readonly default: readonly [0, 0, 5];
|
|
41
|
+
};
|
|
42
|
+
readonly target: {
|
|
43
|
+
readonly type: "array";
|
|
44
|
+
readonly items: {
|
|
45
|
+
readonly type: "number";
|
|
46
|
+
};
|
|
47
|
+
readonly minItems: 3;
|
|
48
|
+
readonly maxItems: 3;
|
|
49
|
+
readonly default: readonly [0, 0, 0];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare const LIGHTING_3D_SCHEMA: {
|
|
54
|
+
readonly type: "object";
|
|
55
|
+
readonly properties: {
|
|
56
|
+
readonly ambient: {
|
|
57
|
+
readonly type: "object";
|
|
58
|
+
readonly properties: {
|
|
59
|
+
readonly color: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly default: "#ffffff";
|
|
62
|
+
};
|
|
63
|
+
readonly intensity: {
|
|
64
|
+
readonly type: "number";
|
|
65
|
+
readonly minimum: 0;
|
|
66
|
+
readonly maximum: 10;
|
|
67
|
+
readonly default: 0.5;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly directional: {
|
|
72
|
+
readonly type: "array";
|
|
73
|
+
readonly items: {
|
|
74
|
+
readonly type: "object";
|
|
75
|
+
readonly properties: {
|
|
76
|
+
readonly color: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
readonly default: "#ffffff";
|
|
79
|
+
};
|
|
80
|
+
readonly intensity: {
|
|
81
|
+
readonly type: "number";
|
|
82
|
+
readonly minimum: 0;
|
|
83
|
+
readonly default: 1;
|
|
84
|
+
};
|
|
85
|
+
readonly position: {
|
|
86
|
+
readonly type: "array";
|
|
87
|
+
readonly items: {
|
|
88
|
+
readonly type: "number";
|
|
89
|
+
};
|
|
90
|
+
readonly minItems: 3;
|
|
91
|
+
readonly maxItems: 3;
|
|
92
|
+
};
|
|
93
|
+
readonly castShadow: {
|
|
94
|
+
readonly type: "boolean";
|
|
95
|
+
readonly default: false;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
export declare const SCENE_3D_SCHEMA: {
|
|
103
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
104
|
+
readonly title: "Scene3DDefinition";
|
|
105
|
+
readonly version: "1.0.0";
|
|
106
|
+
readonly type: "object";
|
|
107
|
+
readonly required: readonly ["id"];
|
|
108
|
+
readonly properties: {
|
|
109
|
+
readonly id: {
|
|
110
|
+
readonly type: "string";
|
|
111
|
+
readonly minLength: 1;
|
|
112
|
+
};
|
|
113
|
+
readonly name: {
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
};
|
|
116
|
+
readonly version: {
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
readonly default: "1.0.0";
|
|
119
|
+
};
|
|
120
|
+
readonly camera: {
|
|
121
|
+
readonly type: "object";
|
|
122
|
+
readonly properties: {
|
|
123
|
+
readonly type: {
|
|
124
|
+
readonly type: "string";
|
|
125
|
+
readonly enum: readonly ["perspective", "orthographic"];
|
|
126
|
+
readonly default: "perspective";
|
|
127
|
+
};
|
|
128
|
+
readonly fov: {
|
|
129
|
+
readonly type: "number";
|
|
130
|
+
readonly minimum: 1;
|
|
131
|
+
readonly maximum: 179;
|
|
132
|
+
readonly default: 50;
|
|
133
|
+
};
|
|
134
|
+
readonly near: {
|
|
135
|
+
readonly type: "number";
|
|
136
|
+
readonly minimum: 0.001;
|
|
137
|
+
readonly default: 0.1;
|
|
138
|
+
};
|
|
139
|
+
readonly far: {
|
|
140
|
+
readonly type: "number";
|
|
141
|
+
readonly minimum: 1;
|
|
142
|
+
readonly default: 1000;
|
|
143
|
+
};
|
|
144
|
+
readonly position: {
|
|
145
|
+
readonly type: "array";
|
|
146
|
+
readonly items: {
|
|
147
|
+
readonly type: "number";
|
|
148
|
+
};
|
|
149
|
+
readonly minItems: 3;
|
|
150
|
+
readonly maxItems: 3;
|
|
151
|
+
readonly default: readonly [0, 0, 5];
|
|
152
|
+
};
|
|
153
|
+
readonly target: {
|
|
154
|
+
readonly type: "array";
|
|
155
|
+
readonly items: {
|
|
156
|
+
readonly type: "number";
|
|
157
|
+
};
|
|
158
|
+
readonly minItems: 3;
|
|
159
|
+
readonly maxItems: 3;
|
|
160
|
+
readonly default: readonly [0, 0, 0];
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
readonly lighting: {
|
|
165
|
+
readonly type: "object";
|
|
166
|
+
readonly properties: {
|
|
167
|
+
readonly ambient: {
|
|
168
|
+
readonly type: "object";
|
|
169
|
+
readonly properties: {
|
|
170
|
+
readonly color: {
|
|
171
|
+
readonly type: "string";
|
|
172
|
+
readonly default: "#ffffff";
|
|
173
|
+
};
|
|
174
|
+
readonly intensity: {
|
|
175
|
+
readonly type: "number";
|
|
176
|
+
readonly minimum: 0;
|
|
177
|
+
readonly maximum: 10;
|
|
178
|
+
readonly default: 0.5;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
readonly directional: {
|
|
183
|
+
readonly type: "array";
|
|
184
|
+
readonly items: {
|
|
185
|
+
readonly type: "object";
|
|
186
|
+
readonly properties: {
|
|
187
|
+
readonly color: {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly default: "#ffffff";
|
|
190
|
+
};
|
|
191
|
+
readonly intensity: {
|
|
192
|
+
readonly type: "number";
|
|
193
|
+
readonly minimum: 0;
|
|
194
|
+
readonly default: 1;
|
|
195
|
+
};
|
|
196
|
+
readonly position: {
|
|
197
|
+
readonly type: "array";
|
|
198
|
+
readonly items: {
|
|
199
|
+
readonly type: "number";
|
|
200
|
+
};
|
|
201
|
+
readonly minItems: 3;
|
|
202
|
+
readonly maxItems: 3;
|
|
203
|
+
};
|
|
204
|
+
readonly castShadow: {
|
|
205
|
+
readonly type: "boolean";
|
|
206
|
+
readonly default: false;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
readonly autoStart: {
|
|
214
|
+
readonly type: "boolean";
|
|
215
|
+
readonly default: true;
|
|
216
|
+
};
|
|
217
|
+
readonly respectReducedMotion: {
|
|
218
|
+
readonly type: "boolean";
|
|
219
|
+
readonly default: true;
|
|
220
|
+
};
|
|
221
|
+
readonly renderer: {
|
|
222
|
+
readonly type: "object";
|
|
223
|
+
readonly properties: {
|
|
224
|
+
readonly backend: {
|
|
225
|
+
readonly type: "string";
|
|
226
|
+
readonly enum: readonly ["three", "webgl", "null"];
|
|
227
|
+
readonly default: "three";
|
|
228
|
+
};
|
|
229
|
+
readonly powerPreference: {
|
|
230
|
+
readonly type: "string";
|
|
231
|
+
readonly enum: readonly ["default", "high-performance", "low-power"];
|
|
232
|
+
};
|
|
233
|
+
readonly antialias: {
|
|
234
|
+
readonly type: "boolean";
|
|
235
|
+
readonly default: true;
|
|
236
|
+
};
|
|
237
|
+
readonly alpha: {
|
|
238
|
+
readonly type: "boolean";
|
|
239
|
+
readonly default: true;
|
|
240
|
+
};
|
|
241
|
+
readonly dpr: {
|
|
242
|
+
readonly type: readonly ["number", "string"];
|
|
243
|
+
readonly default: "auto";
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
export interface ValidationResult {
|
|
250
|
+
readonly valid: boolean;
|
|
251
|
+
readonly errors: readonly string[];
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Validate a 3D scene definition against schema contracts.
|
|
255
|
+
*/
|
|
256
|
+
export declare function validateScene3D(config: unknown): ValidationResult;
|
|
257
|
+
/**
|
|
258
|
+
* Automatically sanitize and correct a malformed 3D scene configuration.
|
|
259
|
+
*/
|
|
260
|
+
export declare function correctScene3D(config: unknown): Scene3DDefinition;
|
|
261
|
+
/**
|
|
262
|
+
* AI Motion Capability definition for 3D Scene Infrastructure.
|
|
263
|
+
*/
|
|
264
|
+
export declare const SCENE_3D_CAPABILITY: {
|
|
265
|
+
id: string;
|
|
266
|
+
name: string;
|
|
267
|
+
category: "composition";
|
|
268
|
+
description: string;
|
|
269
|
+
tags: string[];
|
|
270
|
+
version: string;
|
|
271
|
+
parameters: ({
|
|
272
|
+
name: string;
|
|
273
|
+
kind: "positional";
|
|
274
|
+
type: string;
|
|
275
|
+
required: boolean;
|
|
276
|
+
description: string;
|
|
277
|
+
} | {
|
|
278
|
+
name: string;
|
|
279
|
+
kind: "option";
|
|
280
|
+
type: string;
|
|
281
|
+
required: boolean;
|
|
282
|
+
description: string;
|
|
283
|
+
})[];
|
|
284
|
+
supportedTargets: string[];
|
|
285
|
+
signature: {
|
|
286
|
+
importStatement: string;
|
|
287
|
+
invocation: string;
|
|
288
|
+
exampleCode: string;
|
|
289
|
+
};
|
|
290
|
+
controls: string[];
|
|
291
|
+
callbacks: string[];
|
|
292
|
+
reducedMotion: "static-fallback";
|
|
293
|
+
compatibility: {
|
|
294
|
+
browser: boolean;
|
|
295
|
+
ssr: boolean;
|
|
296
|
+
requiresCanvas: boolean;
|
|
297
|
+
};
|
|
298
|
+
react: {
|
|
299
|
+
available: boolean;
|
|
300
|
+
componentName: string;
|
|
301
|
+
hookName: string;
|
|
302
|
+
importPath: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Register the 3D scene capability with an AI Motion Registry instance.
|
|
307
|
+
*/
|
|
308
|
+
export declare function registerScene3DCapability(registry: {
|
|
309
|
+
registerCapability: (cap: any, opts?: any) => void;
|
|
310
|
+
}): void;
|
|
311
|
+
export declare const CAMERA_3D_INTELLIGENCE_CAPABILITY: {
|
|
312
|
+
id: string;
|
|
313
|
+
name: string;
|
|
314
|
+
category: "composition";
|
|
315
|
+
description: string;
|
|
316
|
+
tags: string[];
|
|
317
|
+
version: string;
|
|
318
|
+
parameters: {
|
|
319
|
+
name: string;
|
|
320
|
+
kind: "option";
|
|
321
|
+
type: string;
|
|
322
|
+
required: boolean;
|
|
323
|
+
description: string;
|
|
324
|
+
}[];
|
|
325
|
+
supportedTargets: string[];
|
|
326
|
+
signature: {
|
|
327
|
+
importStatement: string;
|
|
328
|
+
invocation: string;
|
|
329
|
+
exampleCode: string;
|
|
330
|
+
};
|
|
331
|
+
controls: string[];
|
|
332
|
+
callbacks: never[];
|
|
333
|
+
reducedMotion: "static-fallback";
|
|
334
|
+
compatibility: {
|
|
335
|
+
browser: boolean;
|
|
336
|
+
ssr: boolean;
|
|
337
|
+
requiresCanvas: boolean;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
export declare const LIGHTING_3D_INTELLIGENCE_CAPABILITY: {
|
|
341
|
+
id: string;
|
|
342
|
+
name: string;
|
|
343
|
+
category: "composition";
|
|
344
|
+
description: string;
|
|
345
|
+
tags: string[];
|
|
346
|
+
version: string;
|
|
347
|
+
parameters: {
|
|
348
|
+
name: string;
|
|
349
|
+
kind: "option";
|
|
350
|
+
type: string;
|
|
351
|
+
required: boolean;
|
|
352
|
+
description: string;
|
|
353
|
+
}[];
|
|
354
|
+
supportedTargets: string[];
|
|
355
|
+
signature: {
|
|
356
|
+
importStatement: string;
|
|
357
|
+
invocation: string;
|
|
358
|
+
exampleCode: string;
|
|
359
|
+
};
|
|
360
|
+
controls: string[];
|
|
361
|
+
callbacks: never[];
|
|
362
|
+
reducedMotion: "static-fallback";
|
|
363
|
+
compatibility: {
|
|
364
|
+
browser: boolean;
|
|
365
|
+
ssr: boolean;
|
|
366
|
+
requiresCanvas: boolean;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
export declare const ENVIRONMENT_3D_INTELLIGENCE_CAPABILITY: {
|
|
370
|
+
id: string;
|
|
371
|
+
name: string;
|
|
372
|
+
category: "composition";
|
|
373
|
+
description: string;
|
|
374
|
+
tags: string[];
|
|
375
|
+
version: string;
|
|
376
|
+
parameters: {
|
|
377
|
+
name: string;
|
|
378
|
+
kind: "option";
|
|
379
|
+
type: string;
|
|
380
|
+
required: boolean;
|
|
381
|
+
description: string;
|
|
382
|
+
}[];
|
|
383
|
+
supportedTargets: string[];
|
|
384
|
+
signature: {
|
|
385
|
+
importStatement: string;
|
|
386
|
+
invocation: string;
|
|
387
|
+
exampleCode: string;
|
|
388
|
+
};
|
|
389
|
+
controls: string[];
|
|
390
|
+
callbacks: never[];
|
|
391
|
+
reducedMotion: "static-fallback";
|
|
392
|
+
compatibility: {
|
|
393
|
+
browser: boolean;
|
|
394
|
+
ssr: boolean;
|
|
395
|
+
requiresCanvas: boolean;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
export declare const MATERIAL_3D_INTELLIGENCE_CAPABILITY: {
|
|
399
|
+
id: string;
|
|
400
|
+
name: string;
|
|
401
|
+
category: "composition";
|
|
402
|
+
description: string;
|
|
403
|
+
tags: string[];
|
|
404
|
+
version: string;
|
|
405
|
+
parameters: {
|
|
406
|
+
name: string;
|
|
407
|
+
kind: "option";
|
|
408
|
+
type: string;
|
|
409
|
+
required: boolean;
|
|
410
|
+
description: string;
|
|
411
|
+
}[];
|
|
412
|
+
supportedTargets: string[];
|
|
413
|
+
signature: {
|
|
414
|
+
importStatement: string;
|
|
415
|
+
invocation: string;
|
|
416
|
+
exampleCode: string;
|
|
417
|
+
};
|
|
418
|
+
controls: string[];
|
|
419
|
+
callbacks: never[];
|
|
420
|
+
reducedMotion: "static-fallback";
|
|
421
|
+
compatibility: {
|
|
422
|
+
browser: boolean;
|
|
423
|
+
ssr: boolean;
|
|
424
|
+
requiresCanvas: boolean;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
export declare const ASSET_3D_MANAGEMENT_CAPABILITY: {
|
|
428
|
+
id: string;
|
|
429
|
+
name: string;
|
|
430
|
+
category: "composition";
|
|
431
|
+
description: string;
|
|
432
|
+
tags: string[];
|
|
433
|
+
version: string;
|
|
434
|
+
parameters: ({
|
|
435
|
+
name: string;
|
|
436
|
+
kind: "string";
|
|
437
|
+
type: string;
|
|
438
|
+
required: boolean;
|
|
439
|
+
description: string;
|
|
440
|
+
} | {
|
|
441
|
+
name: string;
|
|
442
|
+
kind: "option";
|
|
443
|
+
type: string;
|
|
444
|
+
required: boolean;
|
|
445
|
+
description: string;
|
|
446
|
+
})[];
|
|
447
|
+
supportedTargets: string[];
|
|
448
|
+
signature: {
|
|
449
|
+
importStatement: string;
|
|
450
|
+
invocation: string;
|
|
451
|
+
exampleCode: string;
|
|
452
|
+
};
|
|
453
|
+
controls: string[];
|
|
454
|
+
callbacks: string[];
|
|
455
|
+
reducedMotion: "static-fallback";
|
|
456
|
+
compatibility: {
|
|
457
|
+
browser: boolean;
|
|
458
|
+
ssr: boolean;
|
|
459
|
+
requiresCanvas: boolean;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
export declare const GEOMETRY_3D_PROCEDURAL_CAPABILITY: {
|
|
463
|
+
id: string;
|
|
464
|
+
name: string;
|
|
465
|
+
category: "composition";
|
|
466
|
+
description: string;
|
|
467
|
+
tags: string[];
|
|
468
|
+
version: string;
|
|
469
|
+
parameters: {
|
|
470
|
+
name: string;
|
|
471
|
+
kind: "option";
|
|
472
|
+
type: string;
|
|
473
|
+
required: boolean;
|
|
474
|
+
description: string;
|
|
475
|
+
}[];
|
|
476
|
+
supportedTargets: string[];
|
|
477
|
+
signature: {
|
|
478
|
+
importStatement: string;
|
|
479
|
+
invocation: string;
|
|
480
|
+
exampleCode: string;
|
|
481
|
+
};
|
|
482
|
+
controls: string[];
|
|
483
|
+
callbacks: never[];
|
|
484
|
+
reducedMotion: "static-fallback";
|
|
485
|
+
compatibility: {
|
|
486
|
+
browser: boolean;
|
|
487
|
+
ssr: boolean;
|
|
488
|
+
requiresCanvas: boolean;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
export declare const INTERACTION_3D_CAPABILITY: {
|
|
492
|
+
id: string;
|
|
493
|
+
name: string;
|
|
494
|
+
category: "composition";
|
|
495
|
+
description: string;
|
|
496
|
+
tags: string[];
|
|
497
|
+
version: string;
|
|
498
|
+
parameters: ({
|
|
499
|
+
name: string;
|
|
500
|
+
kind: "option";
|
|
501
|
+
type: string;
|
|
502
|
+
required: boolean;
|
|
503
|
+
default: boolean;
|
|
504
|
+
description: string;
|
|
505
|
+
} | {
|
|
506
|
+
name: string;
|
|
507
|
+
kind: "option";
|
|
508
|
+
type: string;
|
|
509
|
+
required: boolean;
|
|
510
|
+
default: string;
|
|
511
|
+
description: string;
|
|
512
|
+
})[];
|
|
513
|
+
supportedTargets: string[];
|
|
514
|
+
signature: {
|
|
515
|
+
importStatement: string;
|
|
516
|
+
invocation: string;
|
|
517
|
+
exampleCode: string;
|
|
518
|
+
};
|
|
519
|
+
controls: string[];
|
|
520
|
+
callbacks: string[];
|
|
521
|
+
reducedMotion: "static-fallback";
|
|
522
|
+
compatibility: {
|
|
523
|
+
browser: boolean;
|
|
524
|
+
ssr: boolean;
|
|
525
|
+
requiresCanvas: boolean;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
export declare const CAMERA_CONTROLS_3D_CAPABILITY: {
|
|
529
|
+
id: string;
|
|
530
|
+
name: string;
|
|
531
|
+
category: "composition";
|
|
532
|
+
description: string;
|
|
533
|
+
tags: string[];
|
|
534
|
+
version: string;
|
|
535
|
+
parameters: ({
|
|
536
|
+
name: string;
|
|
537
|
+
kind: "option";
|
|
538
|
+
type: string;
|
|
539
|
+
required: boolean;
|
|
540
|
+
default: string;
|
|
541
|
+
description: string;
|
|
542
|
+
} | {
|
|
543
|
+
name: string;
|
|
544
|
+
kind: "option";
|
|
545
|
+
type: string;
|
|
546
|
+
required: boolean;
|
|
547
|
+
default: boolean;
|
|
548
|
+
description: string;
|
|
549
|
+
} | {
|
|
550
|
+
name: string;
|
|
551
|
+
kind: "option";
|
|
552
|
+
type: string;
|
|
553
|
+
required: boolean;
|
|
554
|
+
default: number;
|
|
555
|
+
description: string;
|
|
556
|
+
})[];
|
|
557
|
+
supportedTargets: string[];
|
|
558
|
+
signature: {
|
|
559
|
+
importStatement: string;
|
|
560
|
+
invocation: string;
|
|
561
|
+
exampleCode: string;
|
|
562
|
+
};
|
|
563
|
+
controls: string[];
|
|
564
|
+
callbacks: never[];
|
|
565
|
+
reducedMotion: "static-fallback";
|
|
566
|
+
compatibility: {
|
|
567
|
+
browser: boolean;
|
|
568
|
+
ssr: boolean;
|
|
569
|
+
requiresCanvas: boolean;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
export declare const SCROLL_SCENE_3D_CAPABILITY: {
|
|
573
|
+
id: string;
|
|
574
|
+
name: string;
|
|
575
|
+
category: "scroll";
|
|
576
|
+
description: string;
|
|
577
|
+
tags: string[];
|
|
578
|
+
version: string;
|
|
579
|
+
parameters: ({
|
|
580
|
+
name: string;
|
|
581
|
+
kind: "positional";
|
|
582
|
+
type: string;
|
|
583
|
+
required: boolean;
|
|
584
|
+
description: string;
|
|
585
|
+
default?: undefined;
|
|
586
|
+
} | {
|
|
587
|
+
name: string;
|
|
588
|
+
kind: "option";
|
|
589
|
+
type: string;
|
|
590
|
+
required: boolean;
|
|
591
|
+
default: boolean;
|
|
592
|
+
description: string;
|
|
593
|
+
})[];
|
|
594
|
+
supportedTargets: string[];
|
|
595
|
+
signature: {
|
|
596
|
+
importStatement: string;
|
|
597
|
+
invocation: string;
|
|
598
|
+
exampleCode: string;
|
|
599
|
+
};
|
|
600
|
+
controls: string[];
|
|
601
|
+
callbacks: string[];
|
|
602
|
+
reducedMotion: "static-fallback";
|
|
603
|
+
compatibility: {
|
|
604
|
+
browser: boolean;
|
|
605
|
+
ssr: boolean;
|
|
606
|
+
requiresCanvas: boolean;
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
export declare const INTERACTIVE_ENVIRONMENTS_3D_CAPABILITY: {
|
|
610
|
+
id: string;
|
|
611
|
+
name: string;
|
|
612
|
+
category: "composition";
|
|
613
|
+
description: string;
|
|
614
|
+
tags: string[];
|
|
615
|
+
version: string;
|
|
616
|
+
parameters: {
|
|
617
|
+
name: string;
|
|
618
|
+
kind: "option";
|
|
619
|
+
type: string;
|
|
620
|
+
required: boolean;
|
|
621
|
+
description: string;
|
|
622
|
+
}[];
|
|
623
|
+
supportedTargets: string[];
|
|
624
|
+
signature: {
|
|
625
|
+
importStatement: string;
|
|
626
|
+
invocation: string;
|
|
627
|
+
exampleCode: string;
|
|
628
|
+
};
|
|
629
|
+
controls: string[];
|
|
630
|
+
callbacks: never[];
|
|
631
|
+
reducedMotion: "static-fallback";
|
|
632
|
+
compatibility: {
|
|
633
|
+
browser: boolean;
|
|
634
|
+
ssr: boolean;
|
|
635
|
+
requiresCanvas: boolean;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
export declare function getAvailableGeometryTypes(): readonly {
|
|
639
|
+
type: string;
|
|
640
|
+
description: string;
|
|
641
|
+
requiredParams: readonly string[];
|
|
642
|
+
optionalParams: readonly string[];
|
|
643
|
+
}[];
|
|
644
|
+
export declare function getGeometryParameters(type: string): Record<string, unknown>;
|
|
645
|
+
export declare function getSupportedModelFormats(): readonly {
|
|
646
|
+
format: string;
|
|
647
|
+
description: string;
|
|
648
|
+
extension: string;
|
|
649
|
+
loaderRequired: boolean;
|
|
650
|
+
}[];
|
|
651
|
+
export declare function getAvailableInteractionPresets(): readonly {
|
|
652
|
+
name: string;
|
|
653
|
+
description: string;
|
|
654
|
+
}[];
|
|
655
|
+
export declare function getScrollTimelinePresets(): readonly {
|
|
656
|
+
id: string;
|
|
657
|
+
name: string;
|
|
658
|
+
sectionsCount: number;
|
|
659
|
+
}[];
|
|
660
|
+
export declare const SCENE_3D_COMPOSITION_CAPABILITY: {
|
|
661
|
+
id: string;
|
|
662
|
+
name: string;
|
|
663
|
+
category: "composition";
|
|
664
|
+
description: string;
|
|
665
|
+
tags: string[];
|
|
666
|
+
version: string;
|
|
667
|
+
parameters: ({
|
|
668
|
+
name: string;
|
|
669
|
+
kind: "positional";
|
|
670
|
+
type: string;
|
|
671
|
+
required: boolean;
|
|
672
|
+
description: string;
|
|
673
|
+
} | {
|
|
674
|
+
name: string;
|
|
675
|
+
kind: "option";
|
|
676
|
+
type: string;
|
|
677
|
+
required: boolean;
|
|
678
|
+
description: string;
|
|
679
|
+
})[];
|
|
680
|
+
supportedTargets: string[];
|
|
681
|
+
signature: {
|
|
682
|
+
importStatement: string;
|
|
683
|
+
invocation: string;
|
|
684
|
+
exampleCode: string;
|
|
685
|
+
};
|
|
686
|
+
controls: string[];
|
|
687
|
+
callbacks: string[];
|
|
688
|
+
reducedMotion: "static-fallback";
|
|
689
|
+
compatibility: {
|
|
690
|
+
browser: boolean;
|
|
691
|
+
ssr: boolean;
|
|
692
|
+
requiresCanvas: boolean;
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
export declare const SCENE_3D_GENERATION_CAPABILITY: {
|
|
696
|
+
id: string;
|
|
697
|
+
name: string;
|
|
698
|
+
category: "composition";
|
|
699
|
+
description: string;
|
|
700
|
+
tags: string[];
|
|
701
|
+
version: string;
|
|
702
|
+
parameters: ({
|
|
703
|
+
name: string;
|
|
704
|
+
kind: "positional";
|
|
705
|
+
type: string;
|
|
706
|
+
required: boolean;
|
|
707
|
+
description: string;
|
|
708
|
+
} | {
|
|
709
|
+
name: string;
|
|
710
|
+
kind: "option";
|
|
711
|
+
type: string;
|
|
712
|
+
required: boolean;
|
|
713
|
+
description: string;
|
|
714
|
+
})[];
|
|
715
|
+
supportedTargets: string[];
|
|
716
|
+
signature: {
|
|
717
|
+
importStatement: string;
|
|
718
|
+
invocation: string;
|
|
719
|
+
exampleCode: string;
|
|
720
|
+
};
|
|
721
|
+
controls: string[];
|
|
722
|
+
callbacks: never[];
|
|
723
|
+
reducedMotion: "static-fallback";
|
|
724
|
+
compatibility: {
|
|
725
|
+
browser: boolean;
|
|
726
|
+
ssr: boolean;
|
|
727
|
+
requiresCanvas: boolean;
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
export declare function getAvailableSceneRecipes(): readonly {
|
|
731
|
+
name: string;
|
|
732
|
+
title: string;
|
|
733
|
+
description: string;
|
|
734
|
+
defaultCamera: string;
|
|
735
|
+
defaultLighting: string;
|
|
736
|
+
}[];
|
|
737
|
+
export declare function register3DIntelligenceCapabilities(registry: {
|
|
738
|
+
registerCapability: (cap: any, opts?: any) => void;
|
|
739
|
+
}): void;
|