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,56 @@
|
|
|
1
|
+
import type { AnimatableProperties, AnimateTarget, DOMAnimationOptions } from "./animate.js";
|
|
2
|
+
import type { AnimationControls } from "./animation.js";
|
|
3
|
+
import type { AnimationSequenceControls, AnimationSequenceOptions } from "./animation-sequence.js";
|
|
4
|
+
export interface AnimationPreset {
|
|
5
|
+
/** CSS properties and their starting and ending values. */
|
|
6
|
+
readonly properties: Readonly<AnimatableProperties>;
|
|
7
|
+
/** Default timing, easing, and lifecycle options. */
|
|
8
|
+
readonly options?: Readonly<DOMAnimationOptions>;
|
|
9
|
+
}
|
|
10
|
+
export type AnimationPresetName = "fadeIn" | "fadeOut" | "slideUp" | "slideDown" | "scaleIn" | "scaleOut";
|
|
11
|
+
export type AnimationPresetRegistry = Readonly<Record<AnimationPresetName, AnimationPreset>>;
|
|
12
|
+
export interface AnimationPresetRegistryApi {
|
|
13
|
+
/** Returns an immutable snapshot, or undefined when the name is unknown. */
|
|
14
|
+
get(name: string): AnimationPreset | undefined;
|
|
15
|
+
/** Registers or replaces a custom preset. Built-in names are reserved. */
|
|
16
|
+
register(name: string, preset: AnimationPreset): void;
|
|
17
|
+
/** Removes a custom preset. Built-ins cannot be removed. */
|
|
18
|
+
remove(name: string): boolean;
|
|
19
|
+
}
|
|
20
|
+
export type AnimationPresetOverrides = Partial<DOMAnimationOptions>;
|
|
21
|
+
export interface AnimationSequencePresetStep {
|
|
22
|
+
/** Name of a registered single-animation preset. */
|
|
23
|
+
readonly preset: string;
|
|
24
|
+
/** Options that override the referenced animation preset. */
|
|
25
|
+
readonly overrides?: AnimationPresetOverrides;
|
|
26
|
+
}
|
|
27
|
+
export interface AnimationSequencePreset {
|
|
28
|
+
/** Presets to run in order against the same target. */
|
|
29
|
+
readonly steps: readonly AnimationSequencePresetStep[];
|
|
30
|
+
/** Default group callbacks. */
|
|
31
|
+
readonly options?: AnimationSequenceOptions;
|
|
32
|
+
}
|
|
33
|
+
export interface AnimationSequencePresetRegistryApi {
|
|
34
|
+
/** Returns an immutable snapshot, or undefined when the name is unknown. */
|
|
35
|
+
get(name: string): AnimationSequencePreset | undefined;
|
|
36
|
+
/** Registers or replaces a custom sequence preset. */
|
|
37
|
+
register(name: string, preset: AnimationSequencePreset): void;
|
|
38
|
+
/** Removes a custom sequence preset. */
|
|
39
|
+
remove(name: string): boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface AnimationSequencePresetOverrides extends AnimationSequenceOptions {
|
|
42
|
+
/** Per-step animation option overrides, matched by step index. */
|
|
43
|
+
readonly steps?: readonly (AnimationPresetOverrides | undefined)[];
|
|
44
|
+
}
|
|
45
|
+
export declare function getAnimationPreset(name: string): AnimationPreset | undefined;
|
|
46
|
+
export declare function getAnimationSequencePreset(name: string): AnimationSequencePreset | undefined;
|
|
47
|
+
export declare function registerAnimationPreset(name: string, preset: AnimationPreset): void;
|
|
48
|
+
export declare function registerAnimationSequencePreset(name: string, preset: AnimationSequencePreset): void;
|
|
49
|
+
export declare function removeAnimationPreset(name: string): boolean;
|
|
50
|
+
export declare function removeAnimationSequencePreset(name: string): boolean;
|
|
51
|
+
export declare const animationPresetRegistry: Readonly<AnimationPresetRegistryApi>;
|
|
52
|
+
export declare const animationSequencePresetRegistry: Readonly<AnimationSequencePresetRegistryApi>;
|
|
53
|
+
/** Runs a registered preset through the existing `animate()` engine. */
|
|
54
|
+
export declare function animatePreset(target: AnimateTarget, name: string, overrides?: AnimationPresetOverrides): AnimationControls;
|
|
55
|
+
/** Runs a registered choreography by composing single-animation presets through `animateSequence()`. */
|
|
56
|
+
export declare function animatePresetSequence(target: AnimateTarget, name: string, overrides?: AnimationSequencePresetOverrides): AnimationSequenceControls;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { AnimatableProperties, AnimateTarget, DOMAnimationOptions } from "./animate.js";
|
|
2
|
+
export interface AnimationSequenceStep {
|
|
3
|
+
/** Target for this step; may be the same target used by other steps. */
|
|
4
|
+
target: AnimateTarget;
|
|
5
|
+
/** Properties animated by this step. */
|
|
6
|
+
properties: AnimatableProperties;
|
|
7
|
+
/** Options passed to `animate()`. The step's onComplete runs before the next step starts. */
|
|
8
|
+
options?: DOMAnimationOptions;
|
|
9
|
+
}
|
|
10
|
+
export interface AnimationSequenceOptions {
|
|
11
|
+
/** Called once when the first step begins, after its delay. */
|
|
12
|
+
onStart?: () => void;
|
|
13
|
+
/** Called once after all steps have completed successfully. */
|
|
14
|
+
onComplete?: () => void;
|
|
15
|
+
/** Called once when the sequence is explicitly cancelled. */
|
|
16
|
+
onCancel?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export interface AnimationSequenceControls {
|
|
19
|
+
/** Resolves after all steps complete; rejects if a step fails or the sequence is cancelled. */
|
|
20
|
+
finished: Promise<void>;
|
|
21
|
+
/** Pauses the active step and keeps subsequent steps paused until resumed. */
|
|
22
|
+
pause(): void;
|
|
23
|
+
/** Resumes the active step and allows subsequent steps to run. */
|
|
24
|
+
resume(): void;
|
|
25
|
+
/** Reverses playback of the active step; subsequent steps retain their configured direction. */
|
|
26
|
+
reverse(): void;
|
|
27
|
+
/** Sets the playback speed of the active and subsequent steps. */
|
|
28
|
+
setPlaybackRate(rate: number): void;
|
|
29
|
+
/** Returns the active step's playback speed, or the configured group speed. */
|
|
30
|
+
getPlaybackRate(): number;
|
|
31
|
+
/** Cancels the active step and prevents subsequent steps from starting. Safe to call repeatedly. */
|
|
32
|
+
cancel(): void;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Runs DOM animations one after another by delegating every step to the existing `animate()` engine.
|
|
36
|
+
*/
|
|
37
|
+
export declare function animateSequence(steps: readonly AnimationSequenceStep[], options?: AnimationSequenceOptions): AnimationSequenceControls;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { AnimatableProperties, AnimateTarget, DOMAnimationOptions } from "./animate.js";
|
|
2
|
+
export type AnimationTimelinePosition = number | string | {
|
|
3
|
+
label: string;
|
|
4
|
+
offset?: number;
|
|
5
|
+
} | {
|
|
6
|
+
previous: "start" | "end";
|
|
7
|
+
offset?: number;
|
|
8
|
+
};
|
|
9
|
+
export interface AnimationTimelineStep {
|
|
10
|
+
/** Absolute milliseconds, a named label, or a position relative to the previous entry. */
|
|
11
|
+
at: AnimationTimelinePosition;
|
|
12
|
+
/** Target for this step; may be shared with other timeline entries. */
|
|
13
|
+
target: AnimateTarget;
|
|
14
|
+
/** Properties animated by this step. */
|
|
15
|
+
properties: AnimatableProperties;
|
|
16
|
+
/** Options passed to `animate()` when this timeline entry starts. */
|
|
17
|
+
options?: DOMAnimationOptions;
|
|
18
|
+
}
|
|
19
|
+
export interface AnimationTimelineControls {
|
|
20
|
+
/** Resolves after every entry completes; rejects if an entry fails or the timeline is cancelled. */
|
|
21
|
+
readonly finished: Promise<void>;
|
|
22
|
+
/** Adds a step at an explicit or relative timeline position. Steps may overlap. */
|
|
23
|
+
add(step: AnimationTimelineStep): AnimationTimelineControls;
|
|
24
|
+
/** Adds a child timeline at an explicit or relative timeline position. */
|
|
25
|
+
addTimeline(timeline: AnimationTimelineControls, at: AnimationTimelinePosition): AnimationTimelineControls;
|
|
26
|
+
/** Defines a label at an absolute timeline position in milliseconds. */
|
|
27
|
+
addLabel(name: string, at: number): AnimationTimelineControls;
|
|
28
|
+
/** Starts the timeline. Calling again after playback begins has no effect. */
|
|
29
|
+
play(): void;
|
|
30
|
+
/** Pauses active animations and freezes pending offsets. */
|
|
31
|
+
pause(): void;
|
|
32
|
+
/** Resumes a paused timeline. */
|
|
33
|
+
resume(): void;
|
|
34
|
+
/** Moves the playhead to a finite, non-negative time in milliseconds. */
|
|
35
|
+
seek(timeMs: number): void;
|
|
36
|
+
/** Cancels the current run and replays the timeline from time zero. */
|
|
37
|
+
restart(): void;
|
|
38
|
+
/** Sets the timeline playback speed. Must be finite and greater than zero. */
|
|
39
|
+
setPlaybackRate(rate: number): void;
|
|
40
|
+
/** Returns the timeline playback speed. */
|
|
41
|
+
getPlaybackRate(): number;
|
|
42
|
+
/** Cancels active animations and rejects `finished`. Safe to repeat. */
|
|
43
|
+
cancel(): void;
|
|
44
|
+
}
|
|
45
|
+
/** Creates a timeline that schedules every step through the existing `animate()` engine. */
|
|
46
|
+
export declare function createTimeline(): AnimationTimelineControls;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { EasingOption } from "../easing/easings.js";
|
|
2
|
+
export type EasingFunction = (progress: number) => number;
|
|
3
|
+
export interface AnimationOptions {
|
|
4
|
+
/** Duration in milliseconds. Defaults to 1000. */
|
|
5
|
+
duration?: number;
|
|
6
|
+
/** Delay in milliseconds before the animation starts. Defaults to 0. */
|
|
7
|
+
delay?: number;
|
|
8
|
+
/** Per-property delays in milliseconds, relative to the end of the global delay. */
|
|
9
|
+
propertyDelay?: Readonly<Record<string, number>>;
|
|
10
|
+
/** Per-property durations in milliseconds. Unspecified properties use `duration`. */
|
|
11
|
+
propertyDuration?: Readonly<Record<string, number>>;
|
|
12
|
+
/** Number of additional times to play after the initial iteration. Use Infinity to loop forever. Defaults to 0. */
|
|
13
|
+
repeat?: number;
|
|
14
|
+
/** Reverses direction at each repeat boundary. Defaults to false. */
|
|
15
|
+
yoyo?: boolean;
|
|
16
|
+
/** Playback speed multiplier. Defaults to 1. Must be finite and greater than 0. */
|
|
17
|
+
playbackRate?: number;
|
|
18
|
+
/** Defaults to true; completes at the current direction's endpoint when motion is reduced. */
|
|
19
|
+
respectReducedMotion?: boolean;
|
|
20
|
+
/** Maps linear progress (0..1) to eased progress. Defaults to linear. */
|
|
21
|
+
easing?: EasingOption;
|
|
22
|
+
/** Called once when the delay ends and the first update is about to run. */
|
|
23
|
+
onStart?: () => void;
|
|
24
|
+
/** Called for each animation frame, with eased progress. */
|
|
25
|
+
onUpdate?: (progress: number) => void;
|
|
26
|
+
/** Called once when playback reaches either endpoint. */
|
|
27
|
+
onComplete?: () => void;
|
|
28
|
+
/** Called once when an active animation is explicitly cancelled. */
|
|
29
|
+
onCancel?: () => void;
|
|
30
|
+
}
|
|
31
|
+
export interface AnimationControls {
|
|
32
|
+
/** Sets normalized playback progress immediately and continues toward the end. */
|
|
33
|
+
seek(progress: number): void;
|
|
34
|
+
/** Pauses the animation without losing its current progress. */
|
|
35
|
+
pause(): void;
|
|
36
|
+
/** Resumes a paused animation. */
|
|
37
|
+
resume(): void;
|
|
38
|
+
/** Reverses playback from the current progress. */
|
|
39
|
+
reverse(): void;
|
|
40
|
+
/** Changes playback speed. Must be finite and greater than 0. */
|
|
41
|
+
setPlaybackRate(rate: number): void;
|
|
42
|
+
/** Returns the current playback speed multiplier. */
|
|
43
|
+
getPlaybackRate(): number;
|
|
44
|
+
/** Stops the animation, suppresses future updates/completion, and calls `onCancel` once. */
|
|
45
|
+
cancel(): void;
|
|
46
|
+
}
|
|
47
|
+
export declare function subscribeAnimationFrames(callback: (time: number) => void): () => void;
|
|
48
|
+
export declare function animateProgress(options?: AnimationOptions): AnimationControls;
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
export declare const BUILT_IN_PALETTE_INPUTS: readonly [{
|
|
2
|
+
readonly name: "Cobalt Classic";
|
|
3
|
+
readonly primary: "#111111";
|
|
4
|
+
readonly secondary: "#FFFFFF";
|
|
5
|
+
readonly accent: "#0047AB";
|
|
6
|
+
readonly colorNames: {
|
|
7
|
+
readonly primary: "Black";
|
|
8
|
+
readonly secondary: "White";
|
|
9
|
+
readonly accent: "Cobalt Blue";
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "Burnt Chocolate";
|
|
13
|
+
readonly primary: "#6F3B22";
|
|
14
|
+
readonly secondary: "#FFF1D6";
|
|
15
|
+
readonly accent: "#CC5500";
|
|
16
|
+
readonly colorNames: {
|
|
17
|
+
readonly primary: "Chocolate Brown";
|
|
18
|
+
readonly secondary: "Cream";
|
|
19
|
+
readonly accent: "Burnt Orange";
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "Dusty Romance";
|
|
23
|
+
readonly primary: "#800020";
|
|
24
|
+
readonly secondary: "#FFF1D6";
|
|
25
|
+
readonly accent: "#D8A7A7";
|
|
26
|
+
readonly colorNames: {
|
|
27
|
+
readonly primary: "Burgundy";
|
|
28
|
+
readonly secondary: "Cream";
|
|
29
|
+
readonly accent: "Dusty Pink";
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "Cosmic Mocha";
|
|
33
|
+
readonly primary: "#FFF8E7";
|
|
34
|
+
readonly secondary: "#DCC7AA";
|
|
35
|
+
readonly accent: "#4A102A";
|
|
36
|
+
readonly colorNames: {
|
|
37
|
+
readonly primary: "Cosmic Latte";
|
|
38
|
+
readonly secondary: "Mocha Cream";
|
|
39
|
+
readonly accent: "Deep Burgundy";
|
|
40
|
+
};
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "Earth & Amber";
|
|
43
|
+
readonly primary: "#A3B18A";
|
|
44
|
+
readonly secondary: "#969A98";
|
|
45
|
+
readonly accent: "#C87924";
|
|
46
|
+
readonly colorNames: {
|
|
47
|
+
readonly primary: "Sage Green";
|
|
48
|
+
readonly secondary: "Concrete Grey";
|
|
49
|
+
readonly accent: "Burnt Amber";
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "Primary Pop";
|
|
53
|
+
readonly primary: "#A7D8F0";
|
|
54
|
+
readonly secondary: "#E32636";
|
|
55
|
+
readonly accent: "#FFD93D";
|
|
56
|
+
readonly colorNames: {
|
|
57
|
+
readonly primary: "Baby Blue";
|
|
58
|
+
readonly secondary: "Red";
|
|
59
|
+
readonly accent: "Sunshine Yellow";
|
|
60
|
+
};
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "Midnight Voltage";
|
|
63
|
+
readonly primary: "#101B3F";
|
|
64
|
+
readonly secondary: "#0047AB";
|
|
65
|
+
readonly accent: "#F02D3A";
|
|
66
|
+
readonly colorNames: {
|
|
67
|
+
readonly primary: "Midnight Navy";
|
|
68
|
+
readonly secondary: "Cobalt Blue";
|
|
69
|
+
readonly accent: "Bright Red";
|
|
70
|
+
};
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "Earthbound";
|
|
73
|
+
readonly primary: "#242424";
|
|
74
|
+
readonly secondary: "#795548";
|
|
75
|
+
readonly accent: "#C87924";
|
|
76
|
+
readonly colorNames: {
|
|
77
|
+
readonly primary: "Charcoal Black";
|
|
78
|
+
readonly secondary: "Earth Brown";
|
|
79
|
+
readonly accent: "Burnt Amber";
|
|
80
|
+
};
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "Electric Teal";
|
|
83
|
+
readonly primary: "#101418";
|
|
84
|
+
readonly secondary: "#F5EBDD";
|
|
85
|
+
readonly accent: "#00D6C9";
|
|
86
|
+
readonly colorNames: {
|
|
87
|
+
readonly primary: "Ink Black";
|
|
88
|
+
readonly secondary: "Warm Ivory";
|
|
89
|
+
readonly accent: "Electric Teal";
|
|
90
|
+
};
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "Crimson Midnight";
|
|
93
|
+
readonly primary: "#111A33";
|
|
94
|
+
readonly secondary: "#A7A29A";
|
|
95
|
+
readonly accent: "#DC143C";
|
|
96
|
+
readonly colorNames: {
|
|
97
|
+
readonly primary: "Midnight Navy";
|
|
98
|
+
readonly secondary: "Warm Stone Grey";
|
|
99
|
+
readonly accent: "Crimson Red";
|
|
100
|
+
};
|
|
101
|
+
}, {
|
|
102
|
+
readonly name: "Neon Abyss";
|
|
103
|
+
readonly primary: "#08080C";
|
|
104
|
+
readonly secondary: "#FF2442";
|
|
105
|
+
readonly accent: "#4B0082";
|
|
106
|
+
readonly colorNames: {
|
|
107
|
+
readonly primary: "Deep Black";
|
|
108
|
+
readonly secondary: "Neon Red";
|
|
109
|
+
readonly accent: "Indigo";
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
readonly name: "Royal Atlas";
|
|
113
|
+
readonly primary: "#FFFFF0";
|
|
114
|
+
readonly secondary: "#D4AF37";
|
|
115
|
+
readonly accent: "#102A43";
|
|
116
|
+
readonly colorNames: {
|
|
117
|
+
readonly primary: "Ivory";
|
|
118
|
+
readonly secondary: "Gold";
|
|
119
|
+
readonly accent: "Deep Atlas Navy";
|
|
120
|
+
};
|
|
121
|
+
}, {
|
|
122
|
+
readonly name: "Ember Editorial";
|
|
123
|
+
readonly primary: "#CC5500";
|
|
124
|
+
readonly secondary: "#F5EBDD";
|
|
125
|
+
readonly accent: "#202124";
|
|
126
|
+
readonly colorNames: {
|
|
127
|
+
readonly primary: "Burnt Orange";
|
|
128
|
+
readonly secondary: "Warm Ivory";
|
|
129
|
+
readonly accent: "Soft Black";
|
|
130
|
+
};
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "Editorial Heat";
|
|
133
|
+
readonly primary: "#F5EBDD";
|
|
134
|
+
readonly secondary: "#153E75";
|
|
135
|
+
readonly accent: "#FF765E";
|
|
136
|
+
readonly colorNames: {
|
|
137
|
+
readonly primary: "Warm Ivory";
|
|
138
|
+
readonly secondary: "Deep Editorial Blue";
|
|
139
|
+
readonly accent: "Coral Orange";
|
|
140
|
+
};
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "Strawberry Riot";
|
|
143
|
+
readonly primary: "#F6B7C8";
|
|
144
|
+
readonly secondary: "#D7193F";
|
|
145
|
+
readonly accent: "#A8E10C";
|
|
146
|
+
readonly colorNames: {
|
|
147
|
+
readonly primary: "Soft Strawberry Pink";
|
|
148
|
+
readonly secondary: "Vibrant Crimson Red";
|
|
149
|
+
readonly accent: "Lime Green";
|
|
150
|
+
};
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "Sage & Olive";
|
|
153
|
+
readonly primary: "#F8F8F2";
|
|
154
|
+
readonly secondary: "#A3B18A";
|
|
155
|
+
readonly accent: "#414833";
|
|
156
|
+
readonly colorNames: {
|
|
157
|
+
readonly primary: "Soft White";
|
|
158
|
+
readonly secondary: "Sage Green";
|
|
159
|
+
readonly accent: "Deep Olive";
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
readonly name: "Solar Cobalt";
|
|
163
|
+
readonly primary: "#D8C3A5";
|
|
164
|
+
readonly secondary: "#0047AB";
|
|
165
|
+
readonly accent: "#FFD447";
|
|
166
|
+
readonly colorNames: {
|
|
167
|
+
readonly primary: "Warm Beige";
|
|
168
|
+
readonly secondary: "Cobalt Blue";
|
|
169
|
+
readonly accent: "Sun Yellow";
|
|
170
|
+
};
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "Electric Eclipse";
|
|
173
|
+
readonly primary: "#090A0F";
|
|
174
|
+
readonly secondary: "#8F00FF";
|
|
175
|
+
readonly accent: "#FFD447";
|
|
176
|
+
readonly colorNames: {
|
|
177
|
+
readonly primary: "Midnight Black";
|
|
178
|
+
readonly secondary: "Electric Violet";
|
|
179
|
+
readonly accent: "Sun Yellow";
|
|
180
|
+
};
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "Silver Signal";
|
|
183
|
+
readonly primary: "#343A40";
|
|
184
|
+
readonly secondary: "#C7CDD4";
|
|
185
|
+
readonly accent: "#E51B23";
|
|
186
|
+
readonly colorNames: {
|
|
187
|
+
readonly primary: "Charcoal Grey";
|
|
188
|
+
readonly secondary: "Moonlit Silver";
|
|
189
|
+
readonly accent: "Signal Red";
|
|
190
|
+
};
|
|
191
|
+
}, {
|
|
192
|
+
readonly name: "Amethyst Circuit";
|
|
193
|
+
readonly primary: "#0A0A0A";
|
|
194
|
+
readonly secondary: "#7851A9";
|
|
195
|
+
readonly accent: "#00E5FF";
|
|
196
|
+
readonly colorNames: {
|
|
197
|
+
readonly primary: "Jet Black";
|
|
198
|
+
readonly secondary: "Royal Amethyst";
|
|
199
|
+
readonly accent: "Electric Cyan";
|
|
200
|
+
};
|
|
201
|
+
}, {
|
|
202
|
+
readonly name: "Woodland Glow";
|
|
203
|
+
readonly primary: "#A3B18A";
|
|
204
|
+
readonly secondary: "#5D4037";
|
|
205
|
+
readonly accent: "#FFB000";
|
|
206
|
+
readonly colorNames: {
|
|
207
|
+
readonly primary: "Sage Green";
|
|
208
|
+
readonly secondary: "Walnut Brown";
|
|
209
|
+
readonly accent: "Amber Glow";
|
|
210
|
+
};
|
|
211
|
+
}, {
|
|
212
|
+
readonly name: "Peach Voltage";
|
|
213
|
+
readonly primary: "#F7C6A3";
|
|
214
|
+
readonly secondary: "#A8E10C";
|
|
215
|
+
readonly accent: "#DC143C";
|
|
216
|
+
readonly colorNames: {
|
|
217
|
+
readonly primary: "Soft Peach";
|
|
218
|
+
readonly secondary: "Lime Green";
|
|
219
|
+
readonly accent: "Crimson";
|
|
220
|
+
};
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "Forest Lavender";
|
|
223
|
+
readonly primary: "#E7DDC8";
|
|
224
|
+
readonly secondary: "#1F5B45";
|
|
225
|
+
readonly accent: "#C8B6E2";
|
|
226
|
+
readonly colorNames: {
|
|
227
|
+
readonly primary: "Oatmeal";
|
|
228
|
+
readonly secondary: "Pine Green";
|
|
229
|
+
readonly accent: "Soft Lilac";
|
|
230
|
+
};
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "Mauve Terracotta";
|
|
233
|
+
readonly primary: "#B7849A";
|
|
234
|
+
readonly secondary: "#4B203A";
|
|
235
|
+
readonly accent: "#C66B4E";
|
|
236
|
+
readonly colorNames: {
|
|
237
|
+
readonly primary: "Dusty Mauve";
|
|
238
|
+
readonly secondary: "Deep Plum";
|
|
239
|
+
readonly accent: "Terracotta";
|
|
240
|
+
};
|
|
241
|
+
}, {
|
|
242
|
+
readonly name: "Chromatic Riot";
|
|
243
|
+
readonly primary: "#B9A7E8";
|
|
244
|
+
readonly secondary: "#C7E000";
|
|
245
|
+
readonly accent: "#F04438";
|
|
246
|
+
readonly colorNames: {
|
|
247
|
+
readonly primary: "Lavender";
|
|
248
|
+
readonly secondary: "Chartreuse";
|
|
249
|
+
readonly accent: "Tomato Red";
|
|
250
|
+
};
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "Neon Rebellion";
|
|
253
|
+
readonly primary: "#0A0A0A";
|
|
254
|
+
readonly secondary: "#FF2D95";
|
|
255
|
+
readonly accent: "#C7E000";
|
|
256
|
+
readonly colorNames: {
|
|
257
|
+
readonly primary: "Jet Black";
|
|
258
|
+
readonly secondary: "Hot Pink";
|
|
259
|
+
readonly accent: "Chartreuse";
|
|
260
|
+
};
|
|
261
|
+
}, {
|
|
262
|
+
readonly name: "Emerald Vermilion";
|
|
263
|
+
readonly primary: "#F5EBDD";
|
|
264
|
+
readonly secondary: "#087F5B";
|
|
265
|
+
readonly accent: "#E34234";
|
|
266
|
+
readonly colorNames: {
|
|
267
|
+
readonly primary: "Warm Ivory";
|
|
268
|
+
readonly secondary: "Emerald Green";
|
|
269
|
+
readonly accent: "Vermilion";
|
|
270
|
+
};
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "Forest Crimson";
|
|
273
|
+
readonly primary: "#242424";
|
|
274
|
+
readonly secondary: "#1B4332";
|
|
275
|
+
readonly accent: "#DC143C";
|
|
276
|
+
readonly colorNames: {
|
|
277
|
+
readonly primary: "Charcoal Black";
|
|
278
|
+
readonly secondary: "Forest Green";
|
|
279
|
+
readonly accent: "Crimson Red";
|
|
280
|
+
};
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "Lemon Afterdark";
|
|
283
|
+
readonly primary: "#FFF44F";
|
|
284
|
+
readonly secondary: "#242424";
|
|
285
|
+
readonly accent: "#B65CFF";
|
|
286
|
+
readonly colorNames: {
|
|
287
|
+
readonly primary: "Lemon";
|
|
288
|
+
readonly secondary: "Charcoal Black";
|
|
289
|
+
readonly accent: "Electric Lavender";
|
|
290
|
+
};
|
|
291
|
+
}, {
|
|
292
|
+
readonly name: "Mocha Gold";
|
|
293
|
+
readonly primary: "#6F4E37";
|
|
294
|
+
readonly secondary: "#F1D6A8";
|
|
295
|
+
readonly accent: "#C87924";
|
|
296
|
+
readonly colorNames: {
|
|
297
|
+
readonly primary: "Mocha Brown";
|
|
298
|
+
readonly secondary: "Champagne Gold";
|
|
299
|
+
readonly accent: "Burnt Amber";
|
|
300
|
+
};
|
|
301
|
+
}, {
|
|
302
|
+
readonly name: "Cerulean Rose";
|
|
303
|
+
readonly primary: "#0A0A0A";
|
|
304
|
+
readonly secondary: "#007BA7";
|
|
305
|
+
readonly accent: "#FF3CAC";
|
|
306
|
+
readonly colorNames: {
|
|
307
|
+
readonly primary: "Jet Black";
|
|
308
|
+
readonly secondary: "Cerulean Blue";
|
|
309
|
+
readonly accent: "Neon Rose";
|
|
310
|
+
};
|
|
311
|
+
}, {
|
|
312
|
+
readonly name: "Amber Frost";
|
|
313
|
+
readonly primary: "#DDE6ED";
|
|
314
|
+
readonly secondary: "#3D1635";
|
|
315
|
+
readonly accent: "#EAA221";
|
|
316
|
+
readonly colorNames: {
|
|
317
|
+
readonly primary: "Ice Silver";
|
|
318
|
+
readonly secondary: "Deep Ambergine";
|
|
319
|
+
readonly accent: "Marigold";
|
|
320
|
+
};
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "Platinum Mocha";
|
|
323
|
+
readonly primary: "#6F4E37";
|
|
324
|
+
readonly secondary: "#D5D8DC";
|
|
325
|
+
readonly accent: "#DCD0FF";
|
|
326
|
+
readonly colorNames: {
|
|
327
|
+
readonly primary: "Mocha Brown";
|
|
328
|
+
readonly secondary: "Platinum Silver";
|
|
329
|
+
readonly accent: "Pale Lavender";
|
|
330
|
+
};
|
|
331
|
+
}];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Cross-System Synchronization Bridge
|
|
3
|
+
*
|
|
4
|
+
* Coordinates normalized timeline progress across DOM, Graphics, and 3D scenes,
|
|
5
|
+
* providing error isolation, rate independence, late-joining, and playback controls.
|
|
6
|
+
*/
|
|
7
|
+
import type { ChoreographyParticipant, CrossSystemSyncBridgeControls } from "./types.js";
|
|
8
|
+
export interface CrossSystemSyncBridgeOptions {
|
|
9
|
+
readonly duration?: number;
|
|
10
|
+
readonly easing?: string | ((t: number) => number);
|
|
11
|
+
readonly participants?: readonly ChoreographyParticipant[];
|
|
12
|
+
readonly onUpdate?: (progress: number) => void;
|
|
13
|
+
readonly onComplete?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare class CrossSystemSyncBridge implements CrossSystemSyncBridgeControls {
|
|
16
|
+
private participantsMap;
|
|
17
|
+
private startedParticipants;
|
|
18
|
+
private completedParticipants;
|
|
19
|
+
private listeners;
|
|
20
|
+
private currentProgress;
|
|
21
|
+
private isRunning;
|
|
22
|
+
private isUpdating;
|
|
23
|
+
private rafId;
|
|
24
|
+
private duration;
|
|
25
|
+
private options;
|
|
26
|
+
constructor(options?: CrossSystemSyncBridgeOptions);
|
|
27
|
+
getProgress(): number;
|
|
28
|
+
isPlaying(): boolean;
|
|
29
|
+
getParticipants(): readonly ChoreographyParticipant[];
|
|
30
|
+
addParticipant(participant: ChoreographyParticipant): () => void;
|
|
31
|
+
removeParticipant(id: string): void;
|
|
32
|
+
subscribe(listener: (progress: number) => void): () => void;
|
|
33
|
+
seek(progress: number): void;
|
|
34
|
+
play(): Promise<void>;
|
|
35
|
+
reverse(): Promise<void>;
|
|
36
|
+
pause(): void;
|
|
37
|
+
resume(): void;
|
|
38
|
+
cancel(): void;
|
|
39
|
+
destroy(): void;
|
|
40
|
+
private cancelPlayback;
|
|
41
|
+
private dispatchToParticipant;
|
|
42
|
+
}
|
|
43
|
+
export declare function createCrossSystemSyncBridge(options?: CrossSystemSyncBridgeOptions): CrossSystemSyncBridge;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Choreography Plan Generator
|
|
3
|
+
*
|
|
4
|
+
* Deterministic generation of cross-system animation plans, participant timing,
|
|
5
|
+
* dependency resolution, cycle detection, and accessibility adaptations.
|
|
6
|
+
*/
|
|
7
|
+
import type { ChoreographyIntelligenceContext, ChoreographyIntelligenceResult } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Generates an intelligent, deterministic cross-system choreography plan.
|
|
10
|
+
*/
|
|
11
|
+
export declare function generateChoreographyPlan(context?: ChoreographyIntelligenceContext): ChoreographyIntelligenceResult;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Choreography Intelligence Module
|
|
3
|
+
*
|
|
4
|
+
* Cross-system 2D/3D synchronization bridge, choreography plan generation,
|
|
5
|
+
* intent classification, and AI capability discovery.
|
|
6
|
+
*/
|
|
7
|
+
export * from "./types.js";
|
|
8
|
+
export * from "./intent.js";
|
|
9
|
+
export * from "./bridge.js";
|
|
10
|
+
export * from "./generator.js";
|
|
11
|
+
export * from "./schema.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Choreography Intent Classification
|
|
3
|
+
*
|
|
4
|
+
* Deterministic natural-language interpretation of choreography intent,
|
|
5
|
+
* identifying choreography patterns, participating rendering systems, and sequencing.
|
|
6
|
+
*/
|
|
7
|
+
import type { ChoreographyIntelligenceContext, ClassifiedChoreographyIntent } from "./types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Classifies choreography intent from natural language or context.
|
|
10
|
+
*/
|
|
11
|
+
export declare function classifyChoreographyIntent(input: ChoreographyIntelligenceContext | string): ClassifiedChoreographyIntent;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Choreography Intelligence Schema & AI Motion Registry Integration
|
|
3
|
+
*
|
|
4
|
+
* Machine-readable capability definitions and discovery helpers for
|
|
5
|
+
* cross-system choreography, 2D/3D synchronization, and timeline orchestration.
|
|
6
|
+
*/
|
|
7
|
+
import { type ChoreographyPattern, type ChoreographySystemType } from "./types.js";
|
|
8
|
+
export declare const CHOREOGRAPHY_INTELLIGENCE_CAPABILITY: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
category: "choreography";
|
|
12
|
+
description: string;
|
|
13
|
+
tags: string[];
|
|
14
|
+
version: string;
|
|
15
|
+
features: string[];
|
|
16
|
+
supportedPatterns: readonly ChoreographyPattern[];
|
|
17
|
+
supportedSystems: readonly ChoreographySystemType[];
|
|
18
|
+
parameters: {
|
|
19
|
+
name: string;
|
|
20
|
+
kind: "positional";
|
|
21
|
+
type: string;
|
|
22
|
+
required: boolean;
|
|
23
|
+
description: string;
|
|
24
|
+
}[];
|
|
25
|
+
supportedTargets: string[];
|
|
26
|
+
signature: {
|
|
27
|
+
importStatement: string;
|
|
28
|
+
invocation: string;
|
|
29
|
+
exampleCode: string;
|
|
30
|
+
};
|
|
31
|
+
controls: string[];
|
|
32
|
+
callbacks: string[];
|
|
33
|
+
reducedMotion: "static-fallback";
|
|
34
|
+
compatibility: {
|
|
35
|
+
browser: boolean;
|
|
36
|
+
ssr: boolean;
|
|
37
|
+
requiresCanvas: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare function getChoreographyIntelligenceCapability(): {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
category: "choreography";
|
|
44
|
+
description: string;
|
|
45
|
+
tags: string[];
|
|
46
|
+
version: string;
|
|
47
|
+
features: string[];
|
|
48
|
+
supportedPatterns: readonly ChoreographyPattern[];
|
|
49
|
+
supportedSystems: readonly ChoreographySystemType[];
|
|
50
|
+
parameters: {
|
|
51
|
+
name: string;
|
|
52
|
+
kind: "positional";
|
|
53
|
+
type: string;
|
|
54
|
+
required: boolean;
|
|
55
|
+
description: string;
|
|
56
|
+
}[];
|
|
57
|
+
supportedTargets: string[];
|
|
58
|
+
signature: {
|
|
59
|
+
importStatement: string;
|
|
60
|
+
invocation: string;
|
|
61
|
+
exampleCode: string;
|
|
62
|
+
};
|
|
63
|
+
controls: string[];
|
|
64
|
+
callbacks: string[];
|
|
65
|
+
reducedMotion: "static-fallback";
|
|
66
|
+
compatibility: {
|
|
67
|
+
browser: boolean;
|
|
68
|
+
ssr: boolean;
|
|
69
|
+
requiresCanvas: boolean;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export declare function listSupportedChoreographyPatterns(): readonly ChoreographyPattern[];
|
|
73
|
+
export declare function listSupportedChoreographySystems(): readonly ChoreographySystemType[];
|
|
74
|
+
export declare function registerChoreographyIntelligenceCapability(registry: {
|
|
75
|
+
registerCapability: (cap: any, opts?: any) => void;
|
|
76
|
+
}): void;
|