@almadar/ui 5.75.0 → 5.76.1
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/dist/avl/index.cjs +2545 -6006
- package/dist/avl/index.d.ts +43 -43
- package/dist/avl/index.js +1250 -4711
- package/dist/components/avl/atoms/AvlApplication.d.ts +1 -1
- package/dist/components/avl/atoms/AvlBindingRef.d.ts +1 -1
- package/dist/components/avl/atoms/AvlEffect.d.ts +1 -1
- package/dist/components/avl/atoms/AvlEntity.d.ts +1 -1
- package/dist/components/avl/atoms/AvlEvent.d.ts +1 -1
- package/dist/components/avl/atoms/AvlField.d.ts +1 -1
- package/dist/components/avl/atoms/AvlFieldType.d.ts +1 -1
- package/dist/components/avl/atoms/AvlGuard.d.ts +1 -1
- package/dist/components/avl/atoms/AvlLiteral.d.ts +1 -1
- package/dist/components/avl/atoms/AvlOperator.d.ts +1 -1
- package/dist/components/avl/atoms/AvlPage.d.ts +1 -1
- package/dist/components/avl/atoms/AvlPersistence.d.ts +1 -1
- package/dist/components/avl/atoms/AvlSExpr.d.ts +1 -1
- package/dist/components/avl/atoms/AvlState.d.ts +2 -2
- package/dist/components/avl/atoms/index.d.ts +4 -4
- package/dist/components/avl/{molecules → lib}/avl-behavior-compose-converter.d.ts +1 -1
- package/dist/components/avl/{molecules → lib}/avl-elk-layout.d.ts +2 -2
- package/dist/components/avl/{molecules → lib}/avl-flow-converter.d.ts +1 -1
- package/dist/components/avl/{molecules → lib}/avl-preview-converter.d.ts +1 -1
- package/dist/components/avl/{molecules → lib}/avl-story-schemas.d.ts +6 -6
- package/dist/components/avl/{molecules → lib}/avl-zoom-band.d.ts +1 -1
- package/dist/components/avl/molecules/Avl3DExprTree.d.ts +1 -1
- package/dist/components/avl/molecules/AvlBehaviorGlyph.d.ts +1 -1
- package/dist/components/avl/molecules/AvlClosedCircuit.d.ts +1 -1
- package/dist/components/avl/molecules/AvlOrbitalUnit.d.ts +1 -1
- package/dist/components/avl/molecules/AvlStateMachine.d.ts +1 -1
- package/dist/components/avl/molecules/AvlTransitionLane.d.ts +1 -1
- package/dist/components/avl/molecules/BehaviorView.d.ts +1 -1
- package/dist/components/avl/molecules/DetailView.d.ts +1 -1
- package/dist/components/avl/molecules/MiniStateMachine.d.ts +1 -1
- package/dist/components/avl/molecules/ModuleCard.d.ts +1 -1
- package/dist/components/avl/molecules/OrbPreviewNode.d.ts +1 -1
- package/dist/components/avl/molecules/SystemNode.d.ts +1 -1
- package/dist/components/avl/molecules/index.d.ts +9 -9
- package/dist/components/avl/organisms/Avl3DApplicationScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DEffects.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DOrbitalScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DTraitScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DTransitionScene.d.ts +1 -1
- package/dist/components/avl/organisms/Avl3DViewer.d.ts +2 -2
- package/dist/components/avl/organisms/AvlCosmicZoom.d.ts +1 -1
- package/dist/components/avl/organisms/AvlLegend.d.ts +1 -1
- package/dist/components/avl/organisms/AvlTraitScene.d.ts +1 -1
- package/dist/components/avl/organisms/AvlTransitionDetail.d.ts +1 -1
- package/dist/components/avl/organisms/AvlTransitionScene.d.ts +1 -1
- package/dist/components/avl/organisms/FlowCanvas.d.ts +2 -2
- package/dist/components/avl/organisms/OrbInspector.d.ts +1 -1
- package/dist/components/avl/organisms/ZoomBreadcrumb.d.ts +1 -1
- package/dist/components/avl/organisms/ZoomLegend.d.ts +1 -1
- package/dist/components/avl/organisms/index.d.ts +2 -2
- package/dist/components/avl/{molecules → types}/avl-behavior-compose-types.d.ts +1 -1
- package/dist/components/avl/{molecules → types}/avl-canvas-types.d.ts +1 -1
- package/dist/components/core/atoms/index.d.ts +2 -3
- package/dist/components/core/molecules/Breadcrumb.d.ts +1 -1
- package/dist/components/core/molecules/Card.d.ts +1 -1
- package/dist/components/core/molecules/Chart.d.ts +0 -2
- package/dist/components/core/molecules/ConfirmDialog.d.ts +0 -2
- package/dist/components/core/molecules/DataGrid.d.ts +1 -1
- package/dist/components/core/molecules/DataList.d.ts +1 -1
- package/dist/components/core/molecules/EmptyState.d.ts +1 -1
- package/dist/components/core/molecules/FloatingActionButton.d.ts +1 -1
- package/dist/components/core/molecules/FormSectionHeader.d.ts +1 -1
- package/dist/components/core/molecules/GraphCanvas.d.ts +0 -2
- package/dist/components/core/molecules/Header.d.ts +1 -1
- package/dist/components/core/molecules/Menu.d.ts +1 -1
- package/dist/components/core/molecules/Navigation.d.ts +1 -1
- package/dist/components/core/molecules/OrbitalVisualization.d.ts +0 -2
- package/dist/components/core/molecules/PageHeader.d.ts +1 -1
- package/dist/components/core/molecules/Section.d.ts +0 -2
- package/dist/components/core/molecules/Sidebar.d.ts +1 -1
- package/dist/components/core/molecules/SignaturePad.d.ts +0 -2
- package/dist/components/core/molecules/Split.d.ts +0 -2
- package/dist/components/core/molecules/StatDisplay.d.ts +1 -1
- package/dist/components/core/molecules/SwipeableRow.d.ts +1 -1
- package/dist/components/core/molecules/TableView.d.ts +1 -1
- package/dist/components/core/molecules/Tabs.d.ts +1 -1
- package/dist/components/core/molecules/UploadDropZone.d.ts +1 -1
- package/dist/components/core/molecules/WizardContainer.d.ts +0 -2
- package/dist/components/core/molecules/index.d.ts +1 -1
- package/dist/components/core/organisms/UISlotRenderer.d.ts +1 -1
- package/dist/components/core/organisms/index.d.ts +4 -4
- package/dist/components/core/templates/index.d.ts +12 -12
- package/dist/components/game/2d/{ActionButton.d.ts → atoms/ActionButton.d.ts} +1 -1
- package/dist/components/game/2d/{ChoiceButton.d.ts → atoms/ChoiceButton.d.ts} +1 -1
- package/dist/components/game/2d/{ControlButton.d.ts → atoms/ControlButton.d.ts} +1 -1
- package/dist/components/game/2d/{GameAudioToggle.d.ts → atoms/GameAudioToggle.d.ts} +1 -3
- package/dist/components/game/2d/atoms/GameIcon.d.ts +18 -0
- package/dist/components/game/2d/{ItemSlot.d.ts → atoms/ItemSlot.d.ts} +1 -1
- package/dist/components/game/2d/{MiniMap.d.ts → atoms/MiniMap.d.ts} +1 -1
- package/dist/components/game/2d/{ResourceCounter.d.ts → atoms/ResourceCounter.d.ts} +2 -2
- package/dist/components/game/2d/{ScoreDisplay.d.ts → atoms/ScoreDisplay.d.ts} +1 -1
- package/dist/components/game/2d/{Sprite.d.ts → atoms/Sprite.d.ts} +1 -1
- package/dist/components/game/2d/{StateIndicator.d.ts → atoms/StateIndicator.d.ts} +5 -4
- package/dist/components/game/2d/{StatusEffect.d.ts → atoms/StatusEffect.d.ts} +2 -2
- package/dist/components/game/2d/{WaypointMarker.d.ts → atoms/WaypointMarker.d.ts} +1 -1
- package/dist/components/game/2d/{Canvas2D.d.ts → molecules/Canvas2D.d.ts} +3 -3
- package/dist/components/game/2d/{ControlGrid.d.ts → molecules/ControlGrid.d.ts} +3 -2
- package/dist/components/game/2d/{GameHud.d.ts → molecules/GameHud.d.ts} +3 -1
- package/dist/components/game/2d/{GameMenu.d.ts → molecules/GameMenu.d.ts} +1 -1
- package/dist/components/game/2d/{InventoryGrid.d.ts → molecules/InventoryGrid.d.ts} +3 -2
- package/dist/components/game/2d/{ResourceBar.d.ts → molecules/ResourceBar.d.ts} +3 -1
- package/dist/components/game/2d/{StatBadge.d.ts → molecules/StatBadge.d.ts} +1 -1
- package/dist/components/game/2d/molecules/index.d.ts +107 -0
- package/dist/components/game/2d/{ActionTile.d.ts → organisms/ActionTile.d.ts} +1 -1
- package/dist/components/game/2d/{BattleBoard.d.ts → organisms/BattleBoard.d.ts} +4 -3
- package/dist/components/game/2d/{BoardgameBoard.d.ts → organisms/BoardgameBoard.d.ts} +3 -3
- package/dist/components/game/2d/{BuilderBoard.d.ts → organisms/BuilderBoard.d.ts} +7 -3
- package/dist/components/game/2d/{CanvasEffect.d.ts → organisms/CanvasEffect.d.ts} +4 -4
- package/dist/components/game/2d/{CardBattlerBoard.d.ts → organisms/CardBattlerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{CastleBoard.d.ts → organisms/CastleBoard.d.ts} +2 -1
- package/dist/components/game/2d/{CityBuilderBoard.d.ts → organisms/CityBuilderBoard.d.ts} +1 -1
- package/dist/components/game/2d/{ClassifierBoard.d.ts → organisms/ClassifierBoard.d.ts} +7 -3
- package/dist/components/game/2d/{DebuggerBoard.d.ts → organisms/DebuggerBoard.d.ts} +7 -3
- package/dist/components/game/2d/{EventHandlerBoard.d.ts → organisms/EventHandlerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{FishingBoard.d.ts → organisms/FishingBoard.d.ts} +12 -2
- package/dist/components/game/2d/{HexStrategyBoard.d.ts → organisms/HexStrategyBoard.d.ts} +13 -6
- package/dist/components/game/2d/{HolidayRunnerBoard.d.ts → organisms/HolidayRunnerBoard.d.ts} +3 -3
- package/dist/components/game/2d/{MatchPuzzleBoard.d.ts → organisms/MatchPuzzleBoard.d.ts} +3 -3
- package/dist/components/game/2d/{MinigolfBoard.d.ts → organisms/MinigolfBoard.d.ts} +3 -3
- package/dist/components/game/2d/{NegotiatorBoard.d.ts → organisms/NegotiatorBoard.d.ts} +7 -3
- package/dist/components/game/2d/{PinballBoard.d.ts → organisms/PinballBoard.d.ts} +12 -4
- package/dist/components/game/2d/{PirateBoard.d.ts → organisms/PirateBoard.d.ts} +13 -6
- package/dist/components/game/2d/{PlatformerBoard.d.ts → organisms/PlatformerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{RacingBoard.d.ts → organisms/RacingBoard.d.ts} +13 -6
- package/dist/components/game/2d/{RoguelikeBoard.d.ts → organisms/RoguelikeBoard.d.ts} +2 -2
- package/dist/components/game/2d/{SequencerBoard.d.ts → organisms/SequencerBoard.d.ts} +1 -1
- package/dist/components/game/2d/{SimulationCanvas.d.ts → organisms/SimulationCanvas.d.ts} +3 -2
- package/dist/components/game/2d/{SimulationControls.d.ts → organisms/SimulationControls.d.ts} +6 -1
- package/dist/components/game/2d/{SimulatorBoard.d.ts → organisms/SimulatorBoard.d.ts} +7 -3
- package/dist/components/game/2d/{SokobanBoard.d.ts → organisms/SokobanBoard.d.ts} +3 -3
- package/dist/components/game/2d/{SpaceShmupBoard.d.ts → organisms/SpaceShmupBoard.d.ts} +13 -6
- package/dist/components/game/2d/{SpaceStationBoard.d.ts → organisms/SpaceStationBoard.d.ts} +3 -3
- package/dist/components/game/2d/{SportsBoard.d.ts → organisms/SportsBoard.d.ts} +3 -3
- package/dist/components/game/2d/{StateArchitectBoard.d.ts → organisms/StateArchitectBoard.d.ts} +1 -1
- package/dist/components/game/2d/{StateNode.d.ts → organisms/StateNode.d.ts} +1 -1
- package/dist/components/game/2d/{TanksBoard.d.ts → organisms/TanksBoard.d.ts} +3 -3
- package/dist/components/game/2d/{TowerDefenseBoard.d.ts → organisms/TowerDefenseBoard.d.ts} +1 -1
- package/dist/components/game/2d/{TraitSlot.d.ts → organisms/TraitSlot.d.ts} +1 -1
- package/dist/components/game/2d/{TraitStateViewer.d.ts → organisms/TraitStateViewer.d.ts} +2 -2
- package/dist/components/game/2d/{TransitionArrow.d.ts → organisms/TransitionArrow.d.ts} +1 -1
- package/dist/components/game/2d/{UncontrolledBattleBoard.d.ts → organisms/UncontrolledBattleBoard.d.ts} +1 -1
- package/dist/components/game/2d/{VisualNovelBoard.d.ts → organisms/VisualNovelBoard.d.ts} +1 -9
- package/dist/components/game/2d/{WorldMapBoard.d.ts → organisms/WorldMapBoard.d.ts} +4 -3
- package/dist/components/game/2d/{BattleTemplate.d.ts → templates/BattleTemplate.d.ts} +4 -4
- package/dist/components/game/2d/{CardBattlerTemplate.d.ts → templates/CardBattlerTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{CastleTemplate.d.ts → templates/CastleTemplate.d.ts} +4 -4
- package/dist/components/game/2d/{CityBuilderTemplate.d.ts → templates/CityBuilderTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{GameTemplate.d.ts → templates/GameTemplate.d.ts} +1 -1
- package/dist/components/game/2d/{PlatformerTemplate.d.ts → templates/PlatformerTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{RoguelikeTemplate.d.ts → templates/RoguelikeTemplate.d.ts} +3 -3
- package/dist/components/game/2d/{TopDownShooterTemplate.d.ts → templates/TopDownShooterTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{TowerDefenseTemplate.d.ts → templates/TowerDefenseTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{VisualNovelTemplate.d.ts → templates/VisualNovelTemplate.d.ts} +2 -2
- package/dist/components/game/2d/{WorldMapTemplate.d.ts → templates/WorldMapTemplate.d.ts} +4 -4
- package/dist/components/game/3d/{Canvas3D.d.ts → molecules/Canvas3D.d.ts} +1 -1
- package/dist/components/game/3d/{GameCanvas3D.d.ts → molecules/GameCanvas3D.d.ts} +3 -3
- package/dist/components/game/3d/{index.d.ts → molecules/index.d.ts} +20 -25
- package/dist/components/game/3d/{GameBoard3D.d.ts → organisms/GameBoard3D.d.ts} +2 -2
- package/dist/components/game/3d/{GameCanvas3DBattleTemplate.d.ts → templates/GameCanvas3DBattleTemplate.d.ts} +3 -3
- package/dist/components/game/3d/{GameCanvas3DCastleTemplate.d.ts → templates/GameCanvas3DCastleTemplate.d.ts} +3 -3
- package/dist/components/game/3d/{GameCanvas3DWorldMapTemplate.d.ts → templates/GameCanvas3DWorldMapTemplate.d.ts} +3 -3
- package/dist/components/game/{3d → shared/hooks}/useAssetLoader.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useBattleState.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useCamera.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useCanvasEffects.d.ts +1 -1
- package/dist/components/game/{3d → shared/hooks}/useGameCanvas3DEvents.d.ts +1 -1
- package/dist/components/game/{3d → shared/hooks}/useThree.d.ts +1 -1
- package/dist/components/game/{2d → shared/hooks}/useUnitSpriteAtlas.d.ts +2 -2
- package/dist/components/game/shared/index.d.ts +0 -2
- package/dist/components/game/{2d → shared/lib}/editorUtils.d.ts +6 -1
- package/dist/components/game/{2d → shared/lib}/game3dAssetManifest.d.ts +1 -1
- package/dist/components/game/{2d → shared/lib}/mechanics.d.ts +1 -1
- package/dist/components/game/{2d → shared/lib}/physicsPresets.d.ts +2 -2
- package/dist/components/game/{2d → shared/lib}/puzzleObject.d.ts +1 -1
- package/dist/components/game/{2d → shared/providers}/GameAudioProvider.d.ts +3 -4
- package/dist/components/index.cjs +4459 -5117
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +3378 -4061
- package/dist/context/index.cjs +93 -827
- package/dist/context/index.d.ts +8 -8
- package/dist/context/index.js +3 -807
- package/dist/hooks/index.cjs +9 -278
- package/dist/hooks/index.d.ts +5 -6
- package/dist/hooks/index.js +11 -262
- package/dist/hooks/useAgentChat.d.ts +7 -6
- package/dist/{renderer → hooks}/useClientEffects.d.ts +1 -1
- package/dist/hooks/useCompile.d.ts +2 -6
- package/dist/hooks/useDeepAgentGeneration.d.ts +4 -4
- package/dist/hooks/useEventBus.d.ts +5 -3
- package/dist/hooks/useFileSystem.d.ts +11 -1
- package/dist/hooks/useOrbitalHistory.d.ts +2 -2
- package/dist/hooks/useQuerySingleton.d.ts +5 -4
- package/dist/{runtime → hooks}/useResolvedSchema.d.ts +1 -1
- package/dist/{runtime → hooks}/useTraitStateMachine.d.ts +5 -5
- package/dist/hooks/useUISlots.d.ts +7 -10
- package/dist/lib/api-client.d.ts +4 -3
- package/dist/{renderer → lib}/client-effect-executor.d.ts +4 -15
- package/dist/{runtime → lib}/createClientEffectHandlers.d.ts +4 -4
- package/dist/{renderer → lib}/data-resolver.d.ts +3 -16
- package/dist/lib/debugRegistry.d.ts +8 -7
- package/dist/lib/entityDebug.d.ts +4 -3
- package/dist/lib/getNestedValue.d.ts +15 -3
- package/dist/lib/guardRegistry.d.ts +3 -2
- package/dist/lib/index.cjs +11 -12
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +11 -12
- package/dist/lib/jazari/layout.d.ts +3 -2
- package/dist/{renderer → lib}/offline-executor.d.ts +6 -5
- package/dist/lib/parseContentSegments.d.ts +2 -1
- package/dist/{renderer → lib}/pattern-resolver.d.ts +2 -2
- package/dist/{runtime → lib}/perf.d.ts +0 -2
- package/dist/{renderer → lib}/slot-definitions.d.ts +3 -15
- package/dist/{renderer → lib}/trait-binding-resolver.d.ts +6 -2
- package/dist/lib/visualizer/browser.d.ts +3 -2
- package/dist/lib/visualizer/index.d.ts +6 -5
- package/dist/marketing/index.cjs +6 -6
- package/dist/marketing/index.js +6 -6
- package/dist/{runtime → providers}/EntitySchemaContext.d.ts +0 -4
- package/dist/providers/EventBusProvider.d.ts +3 -2
- package/dist/providers/OfflineModeProvider.d.ts +1 -1
- package/dist/providers/OrbitalProvider.d.ts +5 -4
- package/dist/providers/SelectionProvider.d.ts +6 -5
- package/dist/{runtime → providers}/ServerBridge.d.ts +14 -11
- package/dist/{context → providers}/ThemeContext.d.ts +5 -5
- package/dist/{runtime → providers}/TraitProvider.d.ts +4 -3
- package/dist/{context → providers}/UISlotContext.d.ts +2 -2
- package/dist/{context → providers}/UserContext.d.ts +3 -2
- package/dist/providers/VerificationProvider.d.ts +2 -1
- package/dist/providers/index.cjs +2679 -5114
- package/dist/providers/index.d.ts +7 -1
- package/dist/providers/index.js +1597 -4087
- package/dist/{renderer → providers}/navigation.d.ts +7 -7
- package/dist/renderer/index.cjs +84 -322
- package/dist/renderer/index.d.ts +12 -12
- package/dist/renderer/index.js +30 -301
- package/dist/runtime/OrbPreview.d.ts +1 -1
- package/dist/runtime/index.cjs +2809 -6315
- package/dist/runtime/index.d.ts +11 -11
- package/dist/runtime/index.js +1740 -5270
- package/dist/{hooks → types}/event-bus-types.d.ts +2 -1
- package/dist/{renderer/types.d.ts → types/renderer-types.d.ts} +14 -28
- package/dist/types/runtime-types.d.ts +21 -0
- package/dist/{runtime/ui → types}/slot-types.d.ts +5 -4
- package/locales/index.ts +1 -1
- package/package.json +4 -21
- package/dist/components/core/atoms/ThemeSelector.d.ts +0 -21
- package/dist/components/game/2d/CardHand.d.ts +0 -35
- package/dist/components/game/2d/CombatLog.d.ts +0 -30
- package/dist/components/game/2d/CraftingRecipe.d.ts +0 -40
- package/dist/components/game/2d/DialogueBox.d.ts +0 -66
- package/dist/components/game/2d/EnemyPlate.d.ts +0 -30
- package/dist/components/game/2d/GameCanvas2D.d.ts +0 -27
- package/dist/components/game/2d/GameOverScreen.d.ts +0 -57
- package/dist/components/game/2d/HealthPanel.d.ts +0 -31
- package/dist/components/game/2d/InventoryPanel.d.ts +0 -58
- package/dist/components/game/2d/IsometricCanvas.d.ts +0 -137
- package/dist/components/game/2d/PlatformerCanvas.d.ts +0 -60
- package/dist/components/game/2d/PowerupSlots.d.ts +0 -26
- package/dist/components/game/2d/QuestTracker.d.ts +0 -20
- package/dist/components/game/2d/ScoreBoard.d.ts +0 -18
- package/dist/components/game/2d/TurnPanel.d.ts +0 -32
- package/dist/components/game/2d/UnitCommandBar.d.ts +0 -25
- package/dist/components/game/2d/index.d.ts +0 -122
- package/dist/components/game/3d/FeatureRenderer.d.ts +0 -38
- package/dist/components/game/3d/FeatureRenderer3D.d.ts +0 -44
- package/dist/components/game/3d/PhysicsObject3D.d.ts +0 -74
- package/dist/components/game/3d/TileRenderer.d.ts +0 -57
- package/dist/components/game/3d/UnitRenderer.d.ts +0 -46
- package/dist/components/game/3d/index.cjs +0 -7715
- package/dist/components/game/3d/index.css +0 -503
- package/dist/components/game/3d/index.js +0 -7633
- package/dist/components/game/3d/patterns.d.ts +0 -20
- package/dist/components/game/shared/combatEffects.d.ts +0 -64
- package/dist/docs/index.cjs +0 -7024
- package/dist/docs/index.css +0 -1252
- package/dist/docs/index.d.cts +0 -574
- package/dist/docs/index.d.ts +0 -29
- package/dist/docs/index.js +0 -6981
- package/dist/hooks/useAgentTrace.d.ts +0 -85
- package/dist/hooks/useEntities.d.ts +0 -52
- package/dist/hooks/usePinchZoom.d.ts +0 -22
- package/dist/runtime/types.d.ts +0 -37
- package/dist/stores/entityStore.d.ts +0 -99
- package/dist/stores/filtering.d.ts +0 -51
- package/dist/stores/index.cjs +0 -217
- package/dist/stores/index.d.ts +0 -7
- package/dist/stores/index.js +0 -194
- /package/dist/components/avl/{molecules → hooks}/useCanvasDnd.d.ts +0 -0
- /package/dist/components/avl/{organisms → lib}/avl-3d-layout.d.ts +0 -0
- /package/dist/components/avl/{molecules → lib}/avl-layout.d.ts +0 -0
- /package/dist/components/avl/{organisms → lib}/avl-schema-parser.d.ts +0 -0
- /package/dist/components/avl/{organisms → lib}/avl-zoom-state.d.ts +0 -0
- /package/dist/components/avl/{derive-edit-focus.d.ts → lib/derive-edit-focus.d.ts} +0 -0
- /package/dist/components/avl/{molecules → lib}/wire-validation.d.ts +0 -0
- /package/dist/components/avl/{organisms → providers}/avl-3d-context.d.ts +0 -0
- /package/dist/components/avl/{atoms/types.d.ts → types/avl-atom-types.d.ts} +0 -0
- /package/dist/components/avl/{molecules → types}/avl-preview-types.d.ts +0 -0
- /package/dist/components/game/2d/{ComboCounter.d.ts → atoms/ComboCounter.d.ts} +0 -0
- /package/dist/components/game/2d/{DamageNumber.d.ts → atoms/DamageNumber.d.ts} +0 -0
- /package/dist/components/game/2d/{DialogueBubble.d.ts → atoms/DialogueBubble.d.ts} +0 -0
- /package/dist/components/game/2d/{GameCard.d.ts → atoms/GameCard.d.ts} +0 -0
- /package/dist/components/game/2d/{HealthBar.d.ts → atoms/HealthBar.d.ts} +0 -0
- /package/dist/components/game/2d/{TimerDisplay.d.ts → atoms/TimerDisplay.d.ts} +0 -0
- /package/dist/components/game/2d/{TurnIndicator.d.ts → atoms/TurnIndicator.d.ts} +0 -0
- /package/dist/components/game/2d/{ActionPalette.d.ts → organisms/ActionPalette.d.ts} +0 -0
- /package/dist/components/game/2d/{EventLog.d.ts → organisms/EventLog.d.ts} +0 -0
- /package/dist/components/game/2d/{ObjectRulePanel.d.ts → organisms/ObjectRulePanel.d.ts} +0 -0
- /package/dist/components/game/2d/{RuleEditor.d.ts → organisms/RuleEditor.d.ts} +0 -0
- /package/dist/components/game/2d/{SequenceBar.d.ts → organisms/SequenceBar.d.ts} +0 -0
- /package/dist/components/game/2d/{SimulationGraph.d.ts → organisms/SimulationGraph.d.ts} +0 -0
- /package/dist/components/game/2d/{StateJsonView.d.ts → organisms/StateJsonView.d.ts} +0 -0
- /package/dist/components/game/2d/{TopDownShooterBoard.d.ts → organisms/TopDownShooterBoard.d.ts} +0 -0
- /package/dist/components/game/2d/{VariablePanel.d.ts → organisms/VariablePanel.d.ts} +0 -0
- /package/dist/components/game/2d/{GameShell.d.ts → templates/GameShell.d.ts} +0 -0
- /package/dist/components/game/3d/{Camera3D.d.ts → molecules/Camera3D.d.ts} +0 -0
- /package/dist/components/game/3d/{Canvas3DErrorBoundary.d.ts → molecules/Canvas3DErrorBoundary.d.ts} +0 -0
- /package/dist/components/game/3d/{Canvas3DLoadingState.d.ts → molecules/Canvas3DLoadingState.d.ts} +0 -0
- /package/dist/components/game/3d/{Lighting3D.d.ts → molecules/Lighting3D.d.ts} +0 -0
- /package/dist/components/game/3d/{ModelLoader.d.ts → molecules/ModelLoader.d.ts} +0 -0
- /package/dist/components/game/3d/{Scene3D.d.ts → molecules/Scene3D.d.ts} +0 -0
- /package/dist/components/game/{2d → shared/hooks}/useGameAudio.d.ts +0 -0
- /package/dist/components/game/{3d → shared/hooks}/useRaycaster.d.ts +0 -0
- /package/dist/components/game/{3d → shared/hooks}/useSceneGraph.d.ts +0 -0
- /package/dist/components/game/{3d → shared/lib}/AssetLoader.d.ts +0 -0
- /package/dist/components/game/{3d → shared/lib}/culling.d.ts +0 -0
- /package/dist/components/game/{3d → shared/lib}/grid3D.d.ts +0 -0
- /package/dist/components/game/{2d/types.d.ts → shared/lib/physicsTypes.d.ts} +0 -0
- /package/dist/{runtime → lib}/embedded-traits.d.ts +0 -0
- /package/dist/{runtime → lib}/fn-form-lambda.d.ts +0 -0
- /package/dist/{renderer → lib}/init.d.ts +0 -0
- /package/dist/{runtime → lib}/orbitalsByTrait.d.ts +0 -0
- /package/dist/{runtime → lib}/prepareSchemaForPreview.d.ts +0 -0
- /package/dist/{context → lib}/themeTokens.d.ts +0 -0
- /package/dist/{runtime → lib}/wrapCallbackForEvent.d.ts +0 -0
- /package/dist/{context → providers}/CurrentPagePathContext.d.ts +0 -0
- /package/dist/{context → providers}/DesignThemeContext.d.ts +0 -0
- /package/dist/{context → providers}/OrbitalThemeProvider.d.ts +0 -0
package/dist/hooks/index.cjs
CHANGED
|
@@ -160,12 +160,10 @@ function useFileSystem() {
|
|
|
160
160
|
const flattenTree = (obj, basePath = "") => {
|
|
161
161
|
for (const [key, value] of Object.entries(obj)) {
|
|
162
162
|
const path = basePath ? `${basePath}/${key}` : key;
|
|
163
|
-
if (value &&
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
const dirObj = value;
|
|
168
|
-
flattenTree(dirObj.directory, path);
|
|
163
|
+
if (value && "file" in value) {
|
|
164
|
+
filesArray.push({ path, content: value.file.contents || "" });
|
|
165
|
+
} else if (value && "directory" in value) {
|
|
166
|
+
flattenTree(value.directory, path);
|
|
169
167
|
}
|
|
170
168
|
}
|
|
171
169
|
};
|
|
@@ -1024,8 +1022,6 @@ var ALL_SLOTS = [
|
|
|
1024
1022
|
"toast",
|
|
1025
1023
|
"hud-top",
|
|
1026
1024
|
"hud-bottom",
|
|
1027
|
-
"hud-left",
|
|
1028
|
-
"hud-right",
|
|
1029
1025
|
"floating"
|
|
1030
1026
|
];
|
|
1031
1027
|
var DEFAULT_SLOTS = ALL_SLOTS.reduce(
|
|
@@ -1293,7 +1289,7 @@ function useUISlotManager() {
|
|
|
1293
1289
|
});
|
|
1294
1290
|
traitIndexRef.current.clear();
|
|
1295
1291
|
}, [notifySubscribers, notifyTraitSubscribers]);
|
|
1296
|
-
const
|
|
1292
|
+
const subscribe = react.useCallback((callback) => {
|
|
1297
1293
|
subscribersRef.current.add(callback);
|
|
1298
1294
|
return () => {
|
|
1299
1295
|
subscribersRef.current.delete(callback);
|
|
@@ -1304,7 +1300,7 @@ function useUISlotManager() {
|
|
|
1304
1300
|
[slots]
|
|
1305
1301
|
);
|
|
1306
1302
|
const getContent = react.useCallback(
|
|
1307
|
-
(slot) => slots[slot],
|
|
1303
|
+
(slot) => slots[slot] ?? null,
|
|
1308
1304
|
[slots]
|
|
1309
1305
|
);
|
|
1310
1306
|
const getTraitContent = react.useCallback(
|
|
@@ -1347,7 +1343,7 @@ function useUISlotManager() {
|
|
|
1347
1343
|
clearBySource,
|
|
1348
1344
|
clearById,
|
|
1349
1345
|
clearAll,
|
|
1350
|
-
subscribe
|
|
1346
|
+
subscribe,
|
|
1351
1347
|
hasContent,
|
|
1352
1348
|
getContent,
|
|
1353
1349
|
getTraitContent,
|
|
@@ -1476,117 +1472,6 @@ function parseQueryBinding(binding) {
|
|
|
1476
1472
|
};
|
|
1477
1473
|
}
|
|
1478
1474
|
|
|
1479
|
-
// stores/entityStore.ts
|
|
1480
|
-
var entities = /* @__PURE__ */ new Map();
|
|
1481
|
-
var listeners = /* @__PURE__ */ new Set();
|
|
1482
|
-
var idCounter = 0;
|
|
1483
|
-
function subscribe(listener) {
|
|
1484
|
-
listeners.add(listener);
|
|
1485
|
-
return () => listeners.delete(listener);
|
|
1486
|
-
}
|
|
1487
|
-
function notify() {
|
|
1488
|
-
listeners.forEach((listener) => listener());
|
|
1489
|
-
}
|
|
1490
|
-
function getEntity(id) {
|
|
1491
|
-
return entities.get(id);
|
|
1492
|
-
}
|
|
1493
|
-
function getByType(type) {
|
|
1494
|
-
const types = Array.isArray(type) ? type : [type];
|
|
1495
|
-
return [...entities.values()].filter((e) => types.includes(e.type));
|
|
1496
|
-
}
|
|
1497
|
-
function getAllEntities() {
|
|
1498
|
-
return [...entities.values()];
|
|
1499
|
-
}
|
|
1500
|
-
function getSingleton(type) {
|
|
1501
|
-
return [...entities.values()].find((e) => e.type === type);
|
|
1502
|
-
}
|
|
1503
|
-
function spawnEntity(config) {
|
|
1504
|
-
const id = config.id ?? `entity_${++idCounter}`;
|
|
1505
|
-
const entity = { ...config, id };
|
|
1506
|
-
entities = new Map(entities);
|
|
1507
|
-
entities.set(id, entity);
|
|
1508
|
-
notify();
|
|
1509
|
-
return id;
|
|
1510
|
-
}
|
|
1511
|
-
function updateEntity(id, updates) {
|
|
1512
|
-
const entity = entities.get(id);
|
|
1513
|
-
if (entity) {
|
|
1514
|
-
entities = new Map(entities);
|
|
1515
|
-
entities.set(id, { ...entity, ...updates });
|
|
1516
|
-
notify();
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
function updateSingleton(type, updates) {
|
|
1520
|
-
const entity = getSingleton(type);
|
|
1521
|
-
if (entity) {
|
|
1522
|
-
updateEntity(entity.id, updates);
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
function removeEntity(id) {
|
|
1526
|
-
if (entities.has(id)) {
|
|
1527
|
-
entities = new Map(entities);
|
|
1528
|
-
entities.delete(id);
|
|
1529
|
-
notify();
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
function clearEntities() {
|
|
1533
|
-
entities = /* @__PURE__ */ new Map();
|
|
1534
|
-
notify();
|
|
1535
|
-
}
|
|
1536
|
-
function getSnapshot() {
|
|
1537
|
-
return entities;
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
// hooks/useEntities.ts
|
|
1541
|
-
function useEntities() {
|
|
1542
|
-
const entities2 = react.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
1543
|
-
return {
|
|
1544
|
-
entities: entities2,
|
|
1545
|
-
getEntity,
|
|
1546
|
-
getByType,
|
|
1547
|
-
getAllEntities,
|
|
1548
|
-
getSingleton,
|
|
1549
|
-
spawnEntity,
|
|
1550
|
-
updateEntity,
|
|
1551
|
-
updateSingleton,
|
|
1552
|
-
removeEntity,
|
|
1553
|
-
clearEntities
|
|
1554
|
-
};
|
|
1555
|
-
}
|
|
1556
|
-
function useEntity(id) {
|
|
1557
|
-
const entities2 = react.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
1558
|
-
return entities2.get(id);
|
|
1559
|
-
}
|
|
1560
|
-
function useEntitiesByType(type) {
|
|
1561
|
-
const entities2 = react.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
1562
|
-
return [...entities2.values()].filter((e) => e.type === type);
|
|
1563
|
-
}
|
|
1564
|
-
function useSingletonEntity(type) {
|
|
1565
|
-
const entities2 = react.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
|
|
1566
|
-
return [...entities2.values()].find((e) => e.type === type);
|
|
1567
|
-
}
|
|
1568
|
-
function usePlayer() {
|
|
1569
|
-
const player = useSingletonEntity("Player");
|
|
1570
|
-
const update = react.useCallback((updates) => {
|
|
1571
|
-
if (player) updateEntity(player.id, updates);
|
|
1572
|
-
}, [player?.id]);
|
|
1573
|
-
return { player, updatePlayer: update };
|
|
1574
|
-
}
|
|
1575
|
-
function usePhysics() {
|
|
1576
|
-
const physics = useSingletonEntity("Physics");
|
|
1577
|
-
const update = react.useCallback((updates) => {
|
|
1578
|
-
if (physics) updateEntity(physics.id, updates);
|
|
1579
|
-
}, [physics?.id]);
|
|
1580
|
-
return { physics, updatePhysics: update };
|
|
1581
|
-
}
|
|
1582
|
-
function useInput() {
|
|
1583
|
-
const input = useSingletonEntity("Input");
|
|
1584
|
-
const update = react.useCallback((updates) => {
|
|
1585
|
-
if (input) updateEntity(input.id, updates);
|
|
1586
|
-
}, [input?.id]);
|
|
1587
|
-
return { input, updateInput: update };
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
1475
|
// locales/en.json
|
|
1591
1476
|
var en_default = {
|
|
1592
1477
|
$meta: {
|
|
@@ -2471,49 +2356,6 @@ function usePullToRefresh(onRefresh, options = {}) {
|
|
|
2471
2356
|
endRefresh
|
|
2472
2357
|
};
|
|
2473
2358
|
}
|
|
2474
|
-
function getDistance(touches) {
|
|
2475
|
-
const dx = touches[0].clientX - touches[1].clientX;
|
|
2476
|
-
const dy = touches[0].clientY - touches[1].clientY;
|
|
2477
|
-
return Math.sqrt(dx * dx + dy * dy);
|
|
2478
|
-
}
|
|
2479
|
-
function usePinchZoom(options = {}) {
|
|
2480
|
-
const { minScale = 0.5, maxScale = 4 } = options;
|
|
2481
|
-
const [scale, setScale] = react.useState(1);
|
|
2482
|
-
const [isPinching, setIsPinching] = react.useState(false);
|
|
2483
|
-
const initialDistance = react.useRef(0);
|
|
2484
|
-
const initialScale = react.useRef(1);
|
|
2485
|
-
const onTouchStart = react.useCallback((e) => {
|
|
2486
|
-
if (e.touches.length === 2) {
|
|
2487
|
-
initialDistance.current = getDistance(e.touches);
|
|
2488
|
-
initialScale.current = scale;
|
|
2489
|
-
setIsPinching(true);
|
|
2490
|
-
}
|
|
2491
|
-
}, [scale]);
|
|
2492
|
-
const onTouchMove = react.useCallback((e) => {
|
|
2493
|
-
if (e.touches.length !== 2 || !isPinching) return;
|
|
2494
|
-
e.preventDefault();
|
|
2495
|
-
const currentDistance = getDistance(e.touches);
|
|
2496
|
-
const ratio = currentDistance / initialDistance.current;
|
|
2497
|
-
const newScale = Math.min(maxScale, Math.max(minScale, initialScale.current * ratio));
|
|
2498
|
-
setScale(newScale);
|
|
2499
|
-
}, [isPinching, minScale, maxScale]);
|
|
2500
|
-
const onTouchEnd = react.useCallback(() => {
|
|
2501
|
-
setIsPinching(false);
|
|
2502
|
-
}, []);
|
|
2503
|
-
const resetZoom = react.useCallback(() => {
|
|
2504
|
-
setScale(1);
|
|
2505
|
-
}, []);
|
|
2506
|
-
return {
|
|
2507
|
-
scale,
|
|
2508
|
-
isPinching,
|
|
2509
|
-
gestureProps: {
|
|
2510
|
-
onTouchStart,
|
|
2511
|
-
onTouchMove,
|
|
2512
|
-
onTouchEnd
|
|
2513
|
-
},
|
|
2514
|
-
resetZoom
|
|
2515
|
-
};
|
|
2516
|
-
}
|
|
2517
2359
|
function localPoint(canvas, clientX, clientY) {
|
|
2518
2360
|
if (!canvas) return { x: clientX, y: clientY };
|
|
2519
2361
|
const rect = canvas.getBoundingClientRect();
|
|
@@ -2757,9 +2599,9 @@ function useRenderInterpolation(options = {}) {
|
|
|
2757
2599
|
const prevRef = react.useRef(null);
|
|
2758
2600
|
const currRef = react.useRef(null);
|
|
2759
2601
|
const rafRef = react.useRef(null);
|
|
2760
|
-
const onSnapshot = react.useCallback((
|
|
2602
|
+
const onSnapshot = react.useCallback((entities) => {
|
|
2761
2603
|
prevRef.current = currRef.current;
|
|
2762
|
-
currRef.current = { entities
|
|
2604
|
+
currRef.current = { entities, arrivedAt: performance.now() };
|
|
2763
2605
|
}, []);
|
|
2764
2606
|
const getInterpolated = react.useCallback((now) => {
|
|
2765
2607
|
const out = /* @__PURE__ */ new Map();
|
|
@@ -2819,99 +2661,6 @@ function useRenderInterpolation(options = {}) {
|
|
|
2819
2661
|
}, []);
|
|
2820
2662
|
return { onSnapshot, getInterpolated, startLoop };
|
|
2821
2663
|
}
|
|
2822
|
-
var EMPTY_STATE = {
|
|
2823
|
-
activities: [],
|
|
2824
|
-
subagents: [],
|
|
2825
|
-
coordinatorMessages: [],
|
|
2826
|
-
status: "idle"
|
|
2827
|
-
};
|
|
2828
|
-
function upsertSubagent(subagents, id, patch) {
|
|
2829
|
-
const idx = subagents.findIndex((s) => s.id === id);
|
|
2830
|
-
if (idx === -1) {
|
|
2831
|
-
const next = {
|
|
2832
|
-
id,
|
|
2833
|
-
name: patch.name ?? id,
|
|
2834
|
-
role: patch.role ?? "",
|
|
2835
|
-
status: patch.status ?? "running",
|
|
2836
|
-
task: patch.task ?? "",
|
|
2837
|
-
messages: []
|
|
2838
|
-
};
|
|
2839
|
-
if (patch.orbitalName !== void 0) next.orbitalName = patch.orbitalName;
|
|
2840
|
-
if (patch.parentId !== void 0) next.parentId = patch.parentId;
|
|
2841
|
-
if (patch.durationMs !== void 0) next.durationMs = patch.durationMs;
|
|
2842
|
-
return [...subagents, next];
|
|
2843
|
-
}
|
|
2844
|
-
const merged = { ...subagents[idx] };
|
|
2845
|
-
if (patch.name !== void 0) merged.name = patch.name;
|
|
2846
|
-
if (patch.role !== void 0) merged.role = patch.role;
|
|
2847
|
-
if (patch.orbitalName !== void 0) merged.orbitalName = patch.orbitalName;
|
|
2848
|
-
if (patch.parentId !== void 0) merged.parentId = patch.parentId;
|
|
2849
|
-
if (patch.status !== void 0) merged.status = patch.status;
|
|
2850
|
-
if (patch.task !== void 0) merged.task = patch.task;
|
|
2851
|
-
if (patch.durationMs !== void 0) merged.durationMs = patch.durationMs;
|
|
2852
|
-
const out = subagents.slice();
|
|
2853
|
-
out[idx] = merged;
|
|
2854
|
-
return out;
|
|
2855
|
-
}
|
|
2856
|
-
function appendSubagentMessage(subagents, id, message) {
|
|
2857
|
-
const idx = subagents.findIndex((s) => s.id === id);
|
|
2858
|
-
if (idx === -1) return subagents;
|
|
2859
|
-
const out = subagents.slice();
|
|
2860
|
-
out[idx] = { ...out[idx], messages: [...out[idx].messages, message] };
|
|
2861
|
-
return out;
|
|
2862
|
-
}
|
|
2863
|
-
function setCoordinatorMessage(messages, index, message) {
|
|
2864
|
-
if (index < messages.length) {
|
|
2865
|
-
const out = messages.slice();
|
|
2866
|
-
out[index] = message;
|
|
2867
|
-
return out;
|
|
2868
|
-
}
|
|
2869
|
-
return [...messages, message];
|
|
2870
|
-
}
|
|
2871
|
-
function reduce(state, update) {
|
|
2872
|
-
switch (update.kind) {
|
|
2873
|
-
case "activity":
|
|
2874
|
-
return { ...state, activities: [...state.activities, update.activity] };
|
|
2875
|
-
case "subagent-upsert":
|
|
2876
|
-
return { ...state, subagents: upsertSubagent(state.subagents, update.id, update.subagent) };
|
|
2877
|
-
case "subagent-message":
|
|
2878
|
-
return { ...state, subagents: appendSubagentMessage(state.subagents, update.id, update.message) };
|
|
2879
|
-
case "coordinator-message":
|
|
2880
|
-
return {
|
|
2881
|
-
...state,
|
|
2882
|
-
coordinatorMessages: setCoordinatorMessage(state.coordinatorMessages, update.index, update.message)
|
|
2883
|
-
};
|
|
2884
|
-
case "status":
|
|
2885
|
-
return { ...state, status: update.status };
|
|
2886
|
-
case "reset":
|
|
2887
|
-
return EMPTY_STATE;
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2890
|
-
function traceReducer(state, action) {
|
|
2891
|
-
if (action.type === "apply") return reduce(state, action.update);
|
|
2892
|
-
return action.updates.reduce(reduce, state);
|
|
2893
|
-
}
|
|
2894
|
-
function useAgentTrace() {
|
|
2895
|
-
const [state, dispatch] = react.useReducer(traceReducer, EMPTY_STATE);
|
|
2896
|
-
const apply = react.useCallback((update) => {
|
|
2897
|
-
dispatch({ type: "apply", update });
|
|
2898
|
-
}, []);
|
|
2899
|
-
const applyAll = react.useCallback((updates) => {
|
|
2900
|
-
dispatch({ type: "applyAll", updates });
|
|
2901
|
-
}, []);
|
|
2902
|
-
const reset = react.useCallback(() => {
|
|
2903
|
-
dispatch({ type: "apply", update: { kind: "reset" } });
|
|
2904
|
-
}, []);
|
|
2905
|
-
return {
|
|
2906
|
-
activities: state.activities,
|
|
2907
|
-
subagents: state.subagents,
|
|
2908
|
-
coordinatorMessages: state.coordinatorMessages,
|
|
2909
|
-
status: state.status,
|
|
2910
|
-
apply,
|
|
2911
|
-
applyAll,
|
|
2912
|
-
reset
|
|
2913
|
-
};
|
|
2914
|
-
}
|
|
2915
2664
|
var API_BASE = typeof process !== "undefined" && process.env?.VITE_API_URL ? process.env.VITE_API_URL : "http://localhost:3000";
|
|
2916
2665
|
function getUserId() {
|
|
2917
2666
|
return localStorage.getItem("userId") || "anonymous";
|
|
@@ -2991,19 +2740,9 @@ function useGitHubBranches(owner, repo, enabled = true) {
|
|
|
2991
2740
|
exports.ALMADAR_DND_MIME = ALMADAR_DND_MIME;
|
|
2992
2741
|
exports.DEFAULT_SLOTS = DEFAULT_SLOTS;
|
|
2993
2742
|
exports.I18nProvider = I18nProvider;
|
|
2994
|
-
exports.clearEntities = clearEntities;
|
|
2995
2743
|
exports.createTranslate = createTranslate;
|
|
2996
|
-
exports.getAllEntities = getAllEntities;
|
|
2997
|
-
exports.getByType = getByType;
|
|
2998
|
-
exports.getEntity = getEntity;
|
|
2999
|
-
exports.getSingleton = getSingleton;
|
|
3000
2744
|
exports.parseQueryBinding = parseQueryBinding;
|
|
3001
|
-
exports.removeEntity = removeEntity;
|
|
3002
|
-
exports.spawnEntity = spawnEntity;
|
|
3003
|
-
exports.updateEntity = updateEntity;
|
|
3004
|
-
exports.updateSingleton = updateSingleton;
|
|
3005
2745
|
exports.useAgentChat = useAgentChat;
|
|
3006
|
-
exports.useAgentTrace = useAgentTrace;
|
|
3007
2746
|
exports.useAuthContext = useAuthContext;
|
|
3008
2747
|
exports.useCanvasGestures = useCanvasGestures;
|
|
3009
2748
|
exports.useCompile = useCompile;
|
|
@@ -3014,9 +2753,6 @@ exports.useDragReorder = useDragReorder;
|
|
|
3014
2753
|
exports.useDraggable = useDraggable;
|
|
3015
2754
|
exports.useDropZone = useDropZone;
|
|
3016
2755
|
exports.useEmitEvent = useEmitEvent;
|
|
3017
|
-
exports.useEntities = useEntities;
|
|
3018
|
-
exports.useEntitiesByType = useEntitiesByType;
|
|
3019
|
-
exports.useEntityById = useEntity;
|
|
3020
2756
|
exports.useEventBus = useEventBus;
|
|
3021
2757
|
exports.useEventListener = useEventListener;
|
|
3022
2758
|
exports.useExtensions = useExtensions;
|
|
@@ -3027,17 +2763,12 @@ exports.useGitHubRepo = useGitHubRepo;
|
|
|
3027
2763
|
exports.useGitHubRepos = useGitHubRepos;
|
|
3028
2764
|
exports.useGitHubStatus = useGitHubStatus;
|
|
3029
2765
|
exports.useInfiniteScroll = useInfiniteScroll;
|
|
3030
|
-
exports.useInput = useInput;
|
|
3031
2766
|
exports.useLongPress = useLongPress;
|
|
3032
2767
|
exports.useOrbitalHistory = useOrbitalHistory;
|
|
3033
|
-
exports.usePhysics = usePhysics;
|
|
3034
|
-
exports.usePinchZoom = usePinchZoom;
|
|
3035
|
-
exports.usePlayer = usePlayer;
|
|
3036
2768
|
exports.usePreview = usePreview;
|
|
3037
2769
|
exports.usePullToRefresh = usePullToRefresh;
|
|
3038
2770
|
exports.useQuerySingleton = useQuerySingleton;
|
|
3039
2771
|
exports.useRenderInterpolation = useRenderInterpolation;
|
|
3040
|
-
exports.useSingletonEntity = useSingletonEntity;
|
|
3041
2772
|
exports.useSwipeGesture = useSwipeGesture;
|
|
3042
2773
|
exports.useTapReveal = useTapReveal;
|
|
3043
2774
|
exports.useTraitListens = useTraitListens;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hooks barrel export
|
|
3
3
|
*/
|
|
4
|
-
export { useOrbitalHistory, type HistoryTimelineItem, type RevertResult, type
|
|
4
|
+
export { useOrbitalHistory, type HistoryTimelineItem, type RevertResult, type HistoryChangeSummary, type UseOrbitalHistoryOptions, type UseOrbitalHistoryResult, } from './useOrbitalHistory';
|
|
5
5
|
export { useFileSystem, type FileSystemStatus, type FileSystemFile, type SelectedFile, type UseFileSystemResult, } from './useFileSystem';
|
|
6
6
|
export { useExtensions, type Extension, type ExtensionManifest, type UseExtensionsOptions, type UseExtensionsResult, } from './useExtensions';
|
|
7
7
|
export { useFileEditor, type OpenFile, type UseFileEditorOptions, type UseFileEditorResult, } from './useFileEditor';
|
|
@@ -11,11 +11,12 @@ export { useAgentChat } from './useAgentChat';
|
|
|
11
11
|
export { useValidation } from './useValidation';
|
|
12
12
|
export { useDeepAgentGeneration } from './useDeepAgentGeneration';
|
|
13
13
|
export { useEventBus, useEventListener, useEmitEvent } from './useEventBus';
|
|
14
|
-
export type { BusEvent, BusEventSource,
|
|
15
|
-
|
|
14
|
+
export type { BusEvent, BusEventSource, BusEventListener, Unsubscribe, EventBusContextType, } from '../types/event-bus-types';
|
|
15
|
+
/** @deprecated Use BusEventListener. */
|
|
16
|
+
export type { BusEventListener as EventListener } from '../types/event-bus-types';
|
|
17
|
+
export { useUISlotManager, DEFAULT_SLOTS, type UISlot, type SlotAnimation, type SlotContent, type SlotRenderConfig, type SlotChangeCallback, type UISlotManager, } from './useUISlots';
|
|
16
18
|
export { useUIEvents, useTraitListens, type TraitListenSpec } from './useUIEvents';
|
|
17
19
|
export { useQuerySingleton, parseQueryBinding, type QueryState, type QuerySingletonEntity, type QuerySingletonResult, type QuerySingletonState, } from './useQuerySingleton';
|
|
18
|
-
export { useEntities, useEntity as useEntityById, useEntitiesByType, useSingletonEntity, usePlayer, usePhysics, useInput, spawnEntity, updateEntity, updateSingleton, removeEntity, clearEntities, getEntity, getByType, getAllEntities, getSingleton, type Entity, } from './useEntities';
|
|
19
20
|
export { useTranslate, I18nProvider, createTranslate, type TranslateFunction, type I18nContextValue, } from './useTranslate';
|
|
20
21
|
export { useAuthContext, type AuthUser, type AuthContextValue, } from './useAuthContext';
|
|
21
22
|
export { useSwipeGesture, type SwipeGestureOptions, type SwipeGestureResult, type SwipeHandlers, } from './useSwipeGesture';
|
|
@@ -23,11 +24,9 @@ export { useLongPress, type LongPressOptions, type LongPressHandlers, } from './
|
|
|
23
24
|
export { useDragReorder, type DragReorderResult, } from './useDragReorder';
|
|
24
25
|
export { useInfiniteScroll, type InfiniteScrollOptions, type InfiniteScrollResult, } from './useInfiniteScroll';
|
|
25
26
|
export { usePullToRefresh, type PullToRefreshOptions, type PullToRefreshResult, } from './usePullToRefresh';
|
|
26
|
-
export { usePinchZoom, type PinchZoomOptions, type PinchZoomResult, } from './usePinchZoom';
|
|
27
27
|
export { useCanvasGestures, type UseCanvasGesturesOptions, type CanvasGestureCallbacks, type CanvasGestureHandlers, } from './useCanvasGestures';
|
|
28
28
|
export { useTapReveal, type TapRevealOptions, type TapRevealResult, } from './useTapReveal';
|
|
29
29
|
export { useDraggable, ALMADAR_DND_MIME, type DraggablePayload, type UseDraggableOptions, type UseDraggableResult, } from './useDraggable';
|
|
30
30
|
export { useDropZone, type UseDropZoneOptions, type UseDropZoneResult, } from './useDropZone';
|
|
31
31
|
export { useRenderInterpolation, type Positioned, type RenderInterpolationOptions, type RenderInterpolationHandle, } from './useRenderInterpolation';
|
|
32
|
-
export { useAgentTrace, type UseAgentTraceResult, type AgentTraceState, type TraceStatus, type TraceUpdate, type SubagentUpsert, } from './useAgentTrace';
|
|
33
32
|
export { useGitHubStatus, useConnectGitHub, useDisconnectGitHub, useGitHubRepos, useGitHubRepo, useGitHubBranches, type GitHubStatus, type GitHubRepo, } from './useGitHub';
|