@almadar/shell-web 1.0.0 → 1.1.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.
Files changed (70) hide show
  1. package/dist/AvlGlyph-PIXU6QH5.js +5 -0
  2. package/dist/AvlStateMachine-CKGMECMG.js +8 -0
  3. package/dist/{AvlTransitionDetail-63SD6GZF.js → AvlTransitionDetail-QZX6G5KJ.js} +4 -5
  4. package/dist/AvlTransitionExplainer-26WLEIC6.js +11 -0
  5. package/dist/BehaviorView-JLZ4PKWY.js +10 -0
  6. package/dist/{FileTree-BCFnBEuQ.d.ts → FileTree-B3GDAjaQ.d.ts} +131 -4
  7. package/dist/{FlowCanvas-AUMTWMNG.js → FlowCanvas-RPII4V24.js} +10 -13
  8. package/dist/{FlowCanvas-3JRMNJLV.css → FlowCanvas-VWUPMBKB.css} +189 -191
  9. package/dist/{GameAudioProvider-ceM_n0ey.d.ts → GameAudioProvider-D7wo5ryN.d.ts} +1 -1
  10. package/dist/{KernelEngineContext-CcxGYtlr.d.ts → KernelEngineContext-CPeWQMAz.d.ts} +15 -2
  11. package/dist/ModuleCard-NJD6JQGD.js +6 -0
  12. package/dist/{OrbInspector-QCPEPUPH.js → OrbInspector-OWWKPOBF.js} +10 -13
  13. package/dist/{OrbInspector-MHLJ6OEE.css → OrbInspector-VMTMZHNQ.css} +189 -191
  14. package/dist/{Select-B-iDdnvE.d.ts → Select-C2Uq6t86.d.ts} +1 -1
  15. package/dist/{UISlotRenderer-KVFO6J7R.css → UISlotRenderer-BIS6KT7T.css} +189 -191
  16. package/dist/{UISlotRenderer-C7WWOK43.js → UISlotRenderer-PY7FIJXN.js} +10 -13
  17. package/dist/avl/index.css +189 -191
  18. package/dist/avl/index.d.ts +19 -7
  19. package/dist/avl/index.js +157 -26
  20. package/dist/{chunk-TUPZWTRE.js → chunk-2WGR4TDJ.js} +464 -35
  21. package/dist/{chunk-SP5CDJ6K.js → chunk-4YJ53G7S.js} +3 -3
  22. package/dist/{chunk-HH5KSMH5.js → chunk-7N6ZPHQ5.js} +1 -1
  23. package/dist/{chunk-CPLN6NBQ.js → chunk-AGVSO4WY.js} +2 -3
  24. package/dist/{chunk-UXLE3IPR.js → chunk-FAKU5F62.js} +205 -4
  25. package/dist/{chunk-TXAUOLWZ.js → chunk-M74BCDBQ.js} +1 -1
  26. package/dist/{chunk-LHP2TK7O.js → chunk-MS4K3K2R.js} +2908 -4574
  27. package/dist/{chunk-K4MOPSEL.js → chunk-OWNG4JZI.js} +3 -4
  28. package/dist/{chunk-AB3X7QTE.js → chunk-PRLHKBXG.js} +1 -2
  29. package/dist/{chunk-X3DMMX27.js → chunk-VHC2M26B.js} +1 -1
  30. package/dist/{chunk-E6KA4J6N.js → chunk-VUIACGDU.js} +3 -4
  31. package/dist/{chunk-ROICKAU7.js → chunk-YYIHRIDH.js} +1 -1
  32. package/dist/{chunk-3VZ36ZKO.js → chunk-ZDRDJKYB.js} +5 -2
  33. package/dist/components/index.css +189 -191
  34. package/dist/components/index.d.ts +417 -173
  35. package/dist/components/index.js +14 -17
  36. package/dist/core.d.ts +3 -3
  37. package/dist/{fx-CmQjnHmT.d.ts → fx-Br8zjvu9.d.ts} +6 -6
  38. package/dist/index.d.ts +4 -0
  39. package/dist/index.js +2 -2
  40. package/dist/{kernel-client-TZKGHJRY.js → kernel-client-JW6OH5FX.js} +24 -3
  41. package/dist/{kernel-wire-wNdAPfhJ.d.ts → kernel-wire-DGAySGhX.d.ts} +7 -0
  42. package/dist/lib/index.d.ts +2 -3
  43. package/dist/lib/index.js +2 -3
  44. package/dist/providers/index.css +189 -191
  45. package/dist/providers/index.d.ts +6 -8
  46. package/dist/providers/index.js +10 -14
  47. package/dist/runtime/index.css +189 -191
  48. package/dist/runtime/index.d.ts +6 -1
  49. package/dist/runtime/index.js +10 -13
  50. package/dist/test-support.js +2 -2
  51. package/dist/{paintDispatch-CuJLsr9Y.d.ts → verificationRegistry-oopV1J1n.d.ts} +127 -15
  52. package/package.json +8 -36
  53. package/dist/AvlGlyph-EPJKFEO3.js +0 -6
  54. package/dist/AvlStateMachine-RKZIKNGC.js +0 -9
  55. package/dist/AvlTransitionExplainer-ZBTLOM3T.js +0 -12
  56. package/dist/BehaviorView-YS5G4GNB.js +0 -11
  57. package/dist/Canvas3DHost-BkZQB5l2.d.ts +0 -552
  58. package/dist/ModuleCard-QHDGK5XK.js +0 -7
  59. package/dist/avl-3d-context-BycmO6tG.d.ts +0 -201
  60. package/dist/avl-schema-parser-CtJxJ9KU.d.ts +0 -132
  61. package/dist/avl-zoom-state-CKMVuBFg.d.ts +0 -17
  62. package/dist/chunk-4T3P43NS.js +0 -1133
  63. package/dist/chunk-DZBQA2OW.js +0 -176
  64. package/dist/chunk-EOWMARUB.js +0 -16
  65. package/dist/chunk-GFXCPUMX.js +0 -1334
  66. package/dist/chunk-ILZ7ORX7.js +0 -432
  67. package/dist/three/index.css +0 -503
  68. package/dist/three/index.d.ts +0 -1185
  69. package/dist/three/index.js +0 -3908
  70. package/dist/verificationRegistry-CVrcxG1s.d.ts +0 -122
@@ -1,16 +1,14 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, ErrorInfo } from 'react';
3
- import { U as UnitAnimationState, F as FacingDirection, S as SpriteSheetUrls, f as SpriteFrameDims, R as ResolvedFrame, g as CanvasLighting, h as CanvasPost, a as IsometricUnit, i as CameraState } from '../Canvas3DHost-BkZQB5l2.js';
4
- export { B as BoardTile, G as GameAction, j as GamePhase, k as GameState, l as GameUnit, b as IsometricFeature, I as IsometricTile, P as Position, m as UnitTrait, n as calculateAttackTargets, o as calculateValidMoves, p as createInitialGameState } from '../Canvas3DHost-BkZQB5l2.js';
5
- import { EntityRow, FieldValue, EntityRole, Asset, AnimationName, SpriteDirection, AnimationDef, A11yProps, EventKey, EventEmit, EventPayload, AssetUrl, ScenePos, Camera, SoundEntry, EntityWith, DiagramMarkRoles, TraitConfigValue, SkeletonVariant, SkeletonSpec, SkeletonNode, SurfaceMode, UISlot, PatternNode, EventListen, JsonValue, AssetCatalog, SExpr, JsonObject, EventPayloadValue, DeclaredTraitConfig, TraitConfig, ControlValue, OrbitalSchema, Trait, TraceActivity, OrbitalEntity, FormSubmitPayload, TraitDescription, MountedOrbital, EnterAnimation, TraitValue, TransitionTrace, DependencyGraph, EditFocus, TraceSubagent, TraceChatMessage } from '@almadar/core';
3
+ import { AnimationName, Asset, EntityRow, FieldValue, EntityRole, SpriteDirection, AnimationDef, A11yProps, EventKey, EventEmit, EventPayload, AssetUrl, ScenePos, Camera, SoundEntry, EntityWith, DiagramMarkRoles, GpuBuffer, TraitConfigValue, SkeletonVariant, SkeletonSpec, SkeletonNode, SurfaceMode, UISlot, PatternNode, EventListen, JsonValue, AssetCatalog, SExpr, JsonObject, EventPayloadValue, DeclaredTraitConfig, TraitConfig, ControlValue, OrbitalSchema, Trait, TraceActivity, OrbitalEntity, FormSubmitPayload, TraitDescription, MountedOrbital, EnterAnimation, TraitValue, TransitionTrace, DependencyGraph, EditFocus, TraceSubagent, TraceChatMessage } from '@almadar/core';
6
4
  export { AnimationDef, AnimationName, AudioManifest, BusEvent, BusEventListener, BusEventSource, BusEventListener as EventListener, SkeletonVariant, SoundEntry, SpriteDirection, UISlot, Unsubscribe } from '@almadar/core';
7
5
  import { IconInput, UiError, FxOverlayItem, BadgeColor, DisplayField, DisplayFieldFormat, BadgeVariant, ColorToken } from '../core.js';
8
6
  import '../EventBusProvider-BFFHfN4O.js';
9
- import { D as DrawableNode, P as Projector, M as MeshShapeKind, a as MeshMaterial, b as DrawGroupProps, c as DrawTextProps, d as DrawMeshProps } from '../paintDispatch-CuJLsr9Y.js';
10
- export { e as DrawFxLayer, f as DrawGroup, g as DrawMesh, h as DrawShape, i as DrawShapeLayer, j as DrawSkinnedMesh, k as DrawSprite, l as DrawSpriteLayer, m as DrawText, n as DrawTextLayer } from '../paintDispatch-CuJLsr9Y.js';
11
- export { G as GameAudioContext, a as GameAudioContextValue, e as GameAudioControls, b as GameAudioProvider, c as GameAudioProviderProps, U as UseGameAudioOptions, f as useGameAudio, u as useGameAudioContext } from '../GameAudioProvider-ceM_n0ey.js';
12
- import { AvlStateMachineProps } from '../avl/index.js';
13
- export { B as BehaviorView, f as BehaviorViewProps, g as FileTree, F as FileTreeItem, h as FileTreeNode, i as FileTreeProps, M as ModuleCard, j as ModuleCardProps } from '../FileTree-BCFnBEuQ.js';
7
+ import { D as DrawableNode, P as Projector, M as MeshShapeKind } from '../verificationRegistry-oopV1J1n.js';
8
+ export { A as DrawFxLayer, B as DrawGroup, C as DrawMesh, E as DrawShape, F as DrawShapeLayer, G as DrawSkinnedMesh, H as DrawSprite, I as DrawSpriteLayer, J as DrawText, K as DrawTextLayer } from '../verificationRegistry-oopV1J1n.js';
9
+ export { G as GameAudioContext, a as GameAudioContextValue, e as GameAudioControls, b as GameAudioProvider, c as GameAudioProviderProps, U as UseGameAudioOptions, f as useGameAudio, u as useGameAudioContext } from '../GameAudioProvider-D7wo5ryN.js';
10
+ import { AvlStateMachineProps, TraitLevelData } from '../avl/index.js';
11
+ export { B as BehaviorView, l as BehaviorViewProps, m as FileTree, F as FileTreeItem, n as FileTreeNode, o as FileTreeProps, M as ModuleCard, q as ModuleCardProps } from '../FileTree-B3GDAjaQ.js';
14
12
  import { LucideIcon } from 'lucide-react';
15
13
  import { InputProps, ButtonProps, PatternVariant, SelectOption } from '../core.js';
16
14
  import { k as ContentAnnotation, L as LessonSegment } from '../parseLessonSegments-GpCeMrb2.js';
@@ -18,16 +16,13 @@ import { EditorMotion, EditorOperator, ContentSegment } from '../lib/index.js';
18
16
  export { B as BloomLevel, l as BloomQuizBlock, n as BloomQuizBlockProps, o as CodeRunnerPanel, q as CodeRunnerPanelProps, r as CodeSimulationOutput, s as LessonUserProgress, S as SegmentRenderer, t as SegmentRendererProps, h as parseLessonSegments } from '../parseLessonSegments-GpCeMrb2.js';
19
17
  import { LanguageCode } from '@almadar/core/i18n';
20
18
  import { EmojiPickPayload, ItemActionPayload, SelectionChangePayload } from '@almadar/core/patterns';
21
- import { TraitLevelData } from '../avl/index.js';
22
19
  import { a as SlotContent, c as SlotPropValue } from '../useUISlots-CiobNFGb.js';
23
20
  export { D as DEFAULT_SLOTS, S as SlotChangeCallback, b as SlotRenderConfig, U as UISlotManager, u as useUISlotManager } from '../useUISlots-CiobNFGb.js';
24
- import '../verificationRegistry-CVrcxG1s.js';
25
21
  export { ALMADAR_DND_MIME, AuthContextValue, AuthUser, CanvasGestureCallbacks, CanvasGestureHandlers, CompileResult, CompileStage, DragReorderResult, DraggablePayload, EditorKeyEvent, Extension, ExtensionManifest, FileSystemFile, FileSystemStatus, GitHubRepo, GitHubStatus, KeyCaptureEntry, KeyCaptureTable, LongPressHandlers, LongPressOptions, OpenFile, PageHeadInput, Positioned, PullToRefreshOptions, PullToRefreshResult, QuerySingletonEntity, QuerySingletonResult, QuerySingletonState, QueryState, RenderInterpolationHandle, RenderInterpolationOptions, SelectedFile, SharedEntityStore, SharedEntityStoreContext, SharedEntitySubscriber, SharedEntityWriter, SwipeGestureOptions, SwipeGestureResult, SwipeHandlers, TraitListenSpec, UseCanvasGesturesOptions, UseCompileResult, UseDraggableOptions, UseDraggableResult, UseDropZoneOptions, UseDropZoneResult, UseExtensionsOptions, UseExtensionsResult, UseFileEditorOptions, UseFileEditorResult, UseFileSystemResult, UseKeyboardRouterOptions, claimDelivery, createSharedEntityStore, keyChord, mergeCaptureTables, parseQueryBinding, runTickFrame, useAgentChat, useAuthContext, useCanvasGestures, useCompile, useConnectGitHub, useDeepAgentGeneration, useDisconnectGitHub, useDragReorder, useDraggable, useDropZone, useExtensions, useFileEditor, useFileSystem, useGitHubBranches, useGitHubRepo, useGitHubRepos, useGitHubStatus, useKeyboardRouter, useLongPress, usePageHead, usePreview, usePullToRefresh, useQuerySingleton, useRenderInterpolation, useSharedEntitySnapshot, useSharedEntityStore, useSharedEntityStoreContext, useSwipeGesture, useTickVisibility, useTraitListens, useUIEvents, useValidation } from '../hooks/index.js';
26
22
  export { S as SlotHostManifest, a as SlotHostRegion, b as assertUniqueSlotsPerHost } from '../slot-host-CPzrxLo9.js';
27
- import 'three';
28
- import '@xyflow/react';
29
23
  import '@almadar/shell-runtime/client/EventTransport';
30
24
  import '../verification-C5pTeMJv.js';
25
+ import '@xyflow/react';
31
26
  import '@tanstack/react-query';
32
27
 
33
28
  /**
@@ -85,6 +80,292 @@ declare namespace TraitFrame {
85
80
  var displayName: string;
86
81
  }
87
82
 
83
+ /**
84
+ * Sprite Sheet Animation Types
85
+ *
86
+ * Type definitions for frame-based sprite sheet animation system.
87
+ * Supports standard 8-column × 5-row character sheets.
88
+ *
89
+ * `AnimationName`, `AnimationDef`, and `SpriteDirection` are canonically owned
90
+ * by `@almadar/core` (they travel with a `spriteSheet`-role `Asset.url`'s
91
+ * resolved atlas contract) — re-exported here so existing call sites in this
92
+ * package don't need to change their import path.
93
+ *
94
+ * @packageDocumentation
95
+ */
96
+
97
+ /** Unit facing direction on screen (4 isometric directions) */
98
+ type FacingDirection = 'se' | 'sw' | 'ne' | 'nw';
99
+ /** A resolved frame ready to draw on canvas */
100
+ interface ResolvedFrame {
101
+ /** URL of the sprite sheet image */
102
+ sheetUrl: string;
103
+ /** Source X in the sheet (pixel offset) */
104
+ sx: number;
105
+ /** Source Y in the sheet (pixel offset) */
106
+ sy: number;
107
+ /** Source width (frame width) */
108
+ sw: number;
109
+ /** Source height (frame height) */
110
+ sh: number;
111
+ /** Whether to flip horizontally when drawing (for NE/NW directions) */
112
+ flipX: boolean;
113
+ /** When true, canvas should apply sine-bob breathing offset (frozen idle frame) */
114
+ applyBreathing?: boolean;
115
+ }
116
+ /** Per-unit animation state tracked in the animation system */
117
+ interface UnitAnimationState {
118
+ /** Unit identifier */
119
+ unitId: string;
120
+ /** Current animation playing */
121
+ animation: AnimationName;
122
+ /** Current facing direction */
123
+ direction: FacingDirection;
124
+ /** Current frame index within the animation */
125
+ frame: number;
126
+ /** Elapsed time in current animation (ms) */
127
+ elapsed: number;
128
+ /** Animation to play after current one-shot completes (null = idle) */
129
+ queuedAnimation: AnimationName | null;
130
+ /** Whether the current one-shot animation has finished its last frame */
131
+ finished: boolean;
132
+ }
133
+ /** Frame dimensions for a sprite sheet */
134
+ interface SpriteFrameDims {
135
+ /** Width of a single frame in pixels */
136
+ width: number;
137
+ /** Height of a single frame in pixels */
138
+ height: number;
139
+ }
140
+ /**
141
+ * Sheet URLs per facing. Legacy hand-drawn packs ship only se/sw (ne/nw are
142
+ * mirror-flipped — a cheat that shows the face while walking away); 3D-baked
143
+ * sheets also ship real ne/nw, which `resolveFrame` prefers when present.
144
+ */
145
+ interface SpriteSheetUrls {
146
+ /** Southeast-facing sheet URL */
147
+ se: string;
148
+ /** Southwest-facing sheet URL */
149
+ sw: string;
150
+ /** Northeast-facing sheet URL (real back view; omitted → mirror of sw) */
151
+ ne?: string;
152
+ /** Northwest-facing sheet URL (real back view; omitted → mirror of se) */
153
+ nw?: string;
154
+ }
155
+
156
+ /**
157
+ * Game Types — Generalized
158
+ *
159
+ * Core type definitions for tactical game state.
160
+ * Extracted from Trait Wars and generalized for any game project.
161
+ */
162
+ interface Position {
163
+ x: number;
164
+ y: number;
165
+ }
166
+ interface GameUnit {
167
+ id: string;
168
+ name: string;
169
+ characterType: string;
170
+ team: 'player' | 'enemy' | 'neutral';
171
+ position: Position;
172
+ health: number;
173
+ maxHealth: number;
174
+ movement: number;
175
+ attack: number;
176
+ defense: number;
177
+ traits: UnitTrait[];
178
+ }
179
+ interface UnitTrait {
180
+ name: string;
181
+ currentState: string;
182
+ states: string[];
183
+ cooldown: number;
184
+ }
185
+ interface BoardTile {
186
+ terrain: string;
187
+ unitId?: string;
188
+ isBlocked?: boolean;
189
+ }
190
+ type GamePhase = 'observation' | 'planning' | 'execution' | 'tick';
191
+ interface GameState {
192
+ board: BoardTile[][];
193
+ units: Record<string, GameUnit>;
194
+ currentPhase: GamePhase;
195
+ currentTurn: number;
196
+ activeTeam: 'player' | 'enemy' | 'neutral';
197
+ selectedUnitId?: string;
198
+ validMoves: Position[];
199
+ attackTargets: Position[];
200
+ }
201
+ type GameAction = {
202
+ type: 'SELECT_UNIT';
203
+ unitId: string;
204
+ } | {
205
+ type: 'MOVE_UNIT';
206
+ from: Position;
207
+ to: Position;
208
+ } | {
209
+ type: 'ATTACK';
210
+ attackerId: string;
211
+ targetId: string;
212
+ } | {
213
+ type: 'END_TURN';
214
+ } | {
215
+ type: 'EXECUTE_TRAITS';
216
+ };
217
+ /**
218
+ * Create the initial game state with board and units.
219
+ *
220
+ * @param {number} width - Board width in tiles
221
+ * @param {number} height - Board height in tiles
222
+ * @param {GameUnit[]} units - Initial units to place on the board
223
+ * @param {string} [defaultTerrain] - Default terrain type for empty tiles
224
+ * @returns {GameState} The initialized game state
225
+ */
226
+ declare function createInitialGameState(width: number, height: number, units: GameUnit[], defaultTerrain?: string): GameState;
227
+ /**
228
+ * Calculate valid movement positions for a unit.
229
+ *
230
+ * Returns all tiles within the unit's movement range that are
231
+ * not blocked and don't contain other units.
232
+ *
233
+ * @param {GameState} state - Current game state
234
+ * @param {string} unitId - ID of the unit to calculate moves for
235
+ * @returns {Position[]} Array of valid move positions
236
+ */
237
+ declare function calculateValidMoves(state: GameState, unitId: string): Position[];
238
+ /**
239
+ * Calculate valid attack targets for a unit.
240
+ *
241
+ * Returns adjacent positions containing enemy units that can be attacked.
242
+ *
243
+ * @param {GameState} state - Current game state
244
+ * @param {string} unitId - ID of the unit to calculate targets for
245
+ * @returns {Position[]} Array of valid attack target positions
246
+ */
247
+ declare function calculateAttackTargets(state: GameState, unitId: string): Position[];
248
+
249
+ /** A single isometric tile on the grid */
250
+ interface IsometricTile {
251
+ /** Optional unique identifier (required for 3D rendering) */
252
+ id?: string;
253
+ /** Grid x coordinate */
254
+ x: number;
255
+ /** Grid y coordinate (2D) */
256
+ y: number;
257
+ /** Grid z coordinate (3D alternative to y) */
258
+ z?: number;
259
+ /** Terrain type key (e.g., 'grass', 'stone', 'water') - 2D */
260
+ terrain?: string;
261
+ /** Tile type for visual rendering (3D) */
262
+ type?: string;
263
+ /** Direct sprite URL override (bypasses getTerrainSprite resolver) */
264
+ terrainSprite?: Asset;
265
+ /** Fallback/override fill color (2D + 3D) — bypasses the terrain color map. `.lolo`-computed. */
266
+ color?: string;
267
+ /** Whether units can traverse this tile (default true) */
268
+ passable?: boolean;
269
+ /** Movement cost for pathfinding (default 1) */
270
+ movementCost?: number;
271
+ /** Optional tile type for visual variants */
272
+ tileType?: string;
273
+ /** Elevation offset for 3D rendering */
274
+ elevation?: number;
275
+ /** 3D model URL (GLB format) for GameCanvas3D — rendered via ModelLoader with box fallback */
276
+ modelUrl?: Asset;
277
+ /** Y-axis rotation in degrees (3D) — orients directional pieces (track corners, road bends) */
278
+ rotation?: number;
279
+ }
280
+ /** A unit positioned on the isometric grid */
281
+ type IsometricUnit = {
282
+ /** Unique unit identifier */
283
+ id: string;
284
+ /** Current grid position (2D format) */
285
+ position?: {
286
+ x: number;
287
+ y: number;
288
+ };
289
+ /** Grid x coordinate (3D format) */
290
+ x?: number;
291
+ /** Grid y coordinate (3D format) */
292
+ y?: number;
293
+ /** Grid z coordinate (3D format) */
294
+ z?: number;
295
+ /** Static sprite URL (used when no sprite sheet animation) */
296
+ sprite?: Asset;
297
+ /** Sprite-sheet atlas JSON URL (e.g. `.../guardian-sprite-sheet.json`).
298
+ * When set, the canvas loads the atlas and crops/animates a single frame
299
+ * by animation state instead of drawing the whole sheet. */
300
+ spriteSheet?: Asset;
301
+ /** 3D model URL (GLB format) for GameCanvas3D — rendered via ModelLoader with box fallback */
302
+ modelUrl?: Asset;
303
+ /** Unit archetype key for sprite resolution */
304
+ unitType?: string;
305
+ /** Hero identifier for sprite sheet lookup */
306
+ heroId?: string;
307
+ /** Display name rendered below the unit */
308
+ name?: string;
309
+ /** Team affiliation for coloring */
310
+ team?: 'player' | 'enemy' | 'neutral';
311
+ /** Faction for 3D rendering (player/enemy/neutral) */
312
+ faction?: 'player' | 'enemy' | 'neutral';
313
+ /** Fallback/override tint color (2D + 3D) — bypasses the team/faction color map. `.lolo`-computed. */
314
+ tint?: string;
315
+ /** Current health */
316
+ health?: number;
317
+ /** Maximum health */
318
+ maxHealth?: number;
319
+ /** Trait attachments for state display */
320
+ traits?: UnitTrait[];
321
+ /** Previous position for movement trail ghost */
322
+ previousPosition?: {
323
+ x: number;
324
+ y: number;
325
+ };
326
+ /** Elevation offset for 3D rendering */
327
+ elevation?: number;
328
+ /** Animation name — driven by the LOLO state machine; renderer defaults to 'idle' */
329
+ animation?: AnimationName;
330
+ /** Frame index within the animation — driven by the LOLO state machine; renderer defaults to 0 */
331
+ frame?: number;
332
+ /** Y-axis heading in radians (3D) — travel/facing direction. Orients the unit model and
333
+ * drives the `chase` camera (behind + above, looking along heading). Driving boards set this. */
334
+ heading?: number;
335
+ };
336
+ /** A map feature (resource, building, portal, etc.) */
337
+ type IsometricFeature = {
338
+ /** Optional unique identifier (required for 3D rendering) */
339
+ id?: string;
340
+ /** Grid x coordinate */
341
+ x: number;
342
+ /** Grid y coordinate (2D) */
343
+ y: number;
344
+ /** Grid z coordinate (3D alternative to y) */
345
+ z?: number;
346
+ /** Feature type key (e.g., 'goldMine', 'castle', 'portal') */
347
+ type: string;
348
+ /** Direct sprite URL override (bypasses getFeatureSprite resolver) */
349
+ sprite?: Asset;
350
+ /** 3D model URL (GLB format) for GameCanvas3D */
351
+ assetUrl?: Asset;
352
+ /** Color override for 3D rendering */
353
+ color?: string;
354
+ /** Elevation offset for 3D rendering */
355
+ elevation?: number;
356
+ /** Y-axis rotation in radians (3D) — orients directional features (arches, signs, docks). */
357
+ rotation?: number;
358
+ };
359
+ /** Camera state for pan/zoom */
360
+ interface CameraState {
361
+ /** Camera X offset in pixels */
362
+ x: number;
363
+ /** Camera Y offset in pixels */
364
+ y: number;
365
+ /** Zoom level (1.0 = 100%) */
366
+ zoom: number;
367
+ }
368
+
88
369
  /**
89
370
  * boardEntity — tiny coercion helpers for reading `EntityRow` data inside game
90
371
  * boards.
@@ -869,6 +1150,60 @@ declare namespace Canvas2D {
869
1150
  var displayName: string;
870
1151
  }
871
1152
 
1153
+ /**
1154
+ * The 3D scene props a pattern declares as data (light rig, post-processing stack), shared by the `canvas` and
1155
+ * learning patterns and drawn by orbital-canvas.
1156
+ *
1157
+ * @packageDocumentation
1158
+ */
1159
+ /** Single light's tunable knobs (ambient/directional share this shape). */
1160
+ type CanvasLightConfig = {
1161
+ intensity?: number;
1162
+ color?: string;
1163
+ position?: [number, number, number];
1164
+ };
1165
+ /** Hemisphere (sky/ground) light config. */
1166
+ type CanvasHemisphereConfig = {
1167
+ intensity?: number;
1168
+ color?: string;
1169
+ groundColor?: string;
1170
+ };
1171
+ /** Point light config — `position` is required since a point light has no meaningful default placement. */
1172
+ type CanvasPointLightConfig = {
1173
+ intensity?: number;
1174
+ color?: string;
1175
+ position: [number, number, number];
1176
+ distance?: number;
1177
+ decay?: number;
1178
+ };
1179
+ /** Canvas-level 3D light rig, authored as data. Every field is optional; an omitted field takes the standard rig's value. */
1180
+ type CanvasLighting = {
1181
+ /** Default intensity 0.6, color '#ffffff'. */
1182
+ ambient?: CanvasLightConfig;
1183
+ /** Default intensity 0.8, color '#ffffff', position [10, 20, 10]. */
1184
+ directional?: CanvasLightConfig;
1185
+ /** Default intensity 0.3, color '#87ceeb', groundColor '#362d1d'. */
1186
+ hemisphere?: CanvasHemisphereConfig;
1187
+ /** Additional point lights. Default none. */
1188
+ points?: CanvasPointLightConfig[];
1189
+ /** Procedural environment for PBR reflection (metals/glass). Default 'none'. */
1190
+ environment?: 'room' | 'none';
1191
+ /** Output tone mapping. Default 'aces' (filmic); 'none' renders material colors faithfully. */
1192
+ toneMapping?: 'aces' | 'none';
1193
+ };
1194
+ /** Canvas-level post-processing stack. Every field is optional; an omitted field means that pass is not run. */
1195
+ type CanvasPost = {
1196
+ bloom?: {
1197
+ intensity?: number;
1198
+ threshold?: number;
1199
+ smoothing?: number;
1200
+ };
1201
+ vignette?: {
1202
+ offset?: number;
1203
+ darkness?: number;
1204
+ };
1205
+ };
1206
+
872
1207
  /**
873
1208
  * Canvas — the unified game canvas draw-host (P6 closing).
874
1209
  *
@@ -889,8 +1224,8 @@ declare namespace Canvas2D {
889
1224
  * shapes so the single value stays assignable to either host's prop (the two hosts
890
1225
  * still emit their own coordinate shape at runtime).
891
1226
  *
892
- * The 3D host (three.js/R3F) is lazy-imported so a 2D-only app never pulls the
893
- * 3D bundle — the code-split boundary the drawable atoms were built R3F-free for.
1227
+ * The 3D painter is orbital-canvas (wasm), handed the pattern's own props as its
1228
+ * scene config.
894
1229
  *
895
1230
  * @packageDocumentation
896
1231
  */
@@ -1696,10 +2031,9 @@ declare const GameShell: React__default.FC<GameShellProps>;
1696
2031
  /**
1697
2032
  * LearningCanvas
1698
2033
  *
1699
- * A pure, declarative HTML5 canvas atom for math and science visualizations.
1700
- * Accepts a list of primitive shapes (line, arrow, circle, rect, polygon, path,
1701
- * text, axis, grid) and renders them. Optional interactivity emits click/hover
1702
- * events, and optional animation drives a continuous render loop.
2034
+ * A declarative canvas atom for math and science visualizations: a list of primitive shapes (line, arrow, circle,
2035
+ * rect, polygon, path, text, axis, grid) plus readout chips and trace insets, mapped and drawn by orbital-canvas.
2036
+ * Optional interactivity emits click events.
1703
2037
  *
1704
2038
  * This is the foundational atom for the `learning/` behavior family.
1705
2039
  *
@@ -1759,6 +2093,22 @@ interface LearningShape extends DiagramMarkRoles {
1759
2093
  /** venn-region only: ids of sibling `circle` shapes SUBTRACTED from the `inside` intersection (true lens/exclusion shading). */
1760
2094
  outside?: string[];
1761
2095
  }
2096
+ /**
2097
+ * Particles packed as data (a GPU readback, for one): one little-endian 32-bit word every `stride` bytes, x in bits
2098
+ * 0-11, y in bits 12-23 and a `palette` index in bits 24-31. Drawn in one pass, without a shape per particle.
2099
+ */
2100
+ interface LearningParticles {
2101
+ /** The packed words as base64 bytes (a CPU copy); exactly one of `data` or `buffer`. */
2102
+ data?: string;
2103
+ /** The packed words where they lie on the GPU (a program's compute output, drawn without a readback). */
2104
+ buffer?: GpuBuffer;
2105
+ /** Bytes from one particle's word to the next. */
2106
+ stride: number;
2107
+ /** Drawn half-size of each particle, in scene pixels. */
2108
+ radius: number;
2109
+ /** Particle colors by index: tone names, `var()` tokens or literals; an index past the end takes the last. */
2110
+ palette: string[];
2111
+ }
1762
2112
  /** A single top-right status chip (e.g. a live measurement or score). */
1763
2113
  interface LearningReadout {
1764
2114
  /** Chip label, shown before the value. */
@@ -1822,6 +2172,8 @@ interface LearningCanvasProps extends A11yProps {
1822
2172
  fontFamily?: string;
1823
2173
  /** Declarative shapes to draw. */
1824
2174
  shapes?: LearningShape[];
2175
+ /** Packed particles drawn under the shapes in one pass ({@link LearningParticles}). */
2176
+ particles?: LearningParticles;
1825
2177
  /**
1826
2178
  * Neutral game-canvas drawables (e.g. `draw-sprite`, `draw-fx-layer`) painted
1827
2179
  * in world coordinates via the supplied `projector`. This lets the learning
@@ -4843,9 +5195,8 @@ declare const ProgressDots: React__default.FC<ProgressDotsProps>;
4843
5195
  /**
4844
5196
  * MathCanvas
4845
5197
  *
4846
- * A field-scoped learning molecule for mathematics. Renders a coordinate plane
4847
- * with axes, grid, curves (sampled points), scatter points, and vectors on top
4848
- * of the declarative `LearningCanvas` atom.
5198
+ * A field-scoped learning molecule for math: axes, grid, curves, points, vectors, regions, bars, guides, angles,
5199
+ * hops and game drawables in plot coordinates, mapped and drawn by orbital-canvas.
4849
5200
  *
4850
5201
  * @packageDocumentation
4851
5202
  */
@@ -5008,9 +5359,9 @@ interface MathCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>,
5008
5359
  * the same x/y world→pixel transform used for curves/points.
5009
5360
  */
5010
5361
  drawables?: DrawableNode[];
5011
- /** Top-right status chips, forwarded verbatim to LearningCanvas. */
5362
+ /** Top-right status chips (the LearningCanvas vocabulary). */
5012
5363
  readouts?: LearningReadout[];
5013
- /** Inset sparkline panels, forwarded verbatim to LearningCanvas. */
5364
+ /** Inset sparkline panels (the LearningCanvas vocabulary). */
5014
5365
  traces?: LearningTracePanel[];
5015
5366
  interactive?: boolean;
5016
5367
  animate?: boolean;
@@ -5031,9 +5382,8 @@ declare const MathCanvas: React$1.FC<MathCanvasProps>;
5031
5382
  /**
5032
5383
  * PhysicsCanvas
5033
5384
  *
5034
- * A field-scoped learning molecule for physics. Renders bodies, constraints,
5035
- * velocity arrows, and force arrows on top of the declarative `LearningCanvas`
5036
- * atom.
5385
+ * A field-scoped learning molecule for physics: bodies, constraints, velocity and force arrows, fixtures, fields
5386
+ * and meters in 2D, or a 3D scene, mapped and drawn by orbital-canvas.
5037
5387
  *
5038
5388
  * @packageDocumentation
5039
5389
  */
@@ -5146,17 +5496,17 @@ interface PhysicsTrail {
5146
5496
  fade?: boolean;
5147
5497
  }
5148
5498
  /** One elevation color band for a `surface3d` height field; sorted ascending by `min`. */
5149
- interface PhysicsSurfaceBand {
5499
+ type PhysicsSurfaceBand = {
5150
5500
  /** Inclusive floor height in cells; omit for the catch-all lowest band. */
5151
5501
  min?: number;
5152
5502
  color: string;
5153
- }
5503
+ };
5154
5504
  /**
5155
5505
  * A 3D height-field mesh (a wave, a terrain, a potential surface) rendered
5156
5506
  * from a row-major grid of heights. 3D only.
5157
5507
  * @synonyms heightfield, wave surface, terrain, potential surface
5158
5508
  */
5159
- interface PhysicsSurface3D {
5509
+ type PhysicsSurface3D = {
5160
5510
  /** Grid columns. */
5161
5511
  nx: number;
5162
5512
  /** Grid rows. */
@@ -5176,7 +5526,7 @@ interface PhysicsSurface3D {
5176
5526
  opacity?: number;
5177
5527
  /** Faceted low-poly shading (default true). */
5178
5528
  flatShading?: boolean;
5179
- }
5529
+ };
5180
5530
  /**
5181
5531
  * A single labeled 3D arrow (field arrow, axis-triad leg, force/velocity
5182
5532
  * vector), rendered via `vectors3d` + `vectorScale`. 3D only.
@@ -5224,7 +5574,7 @@ interface PhysicsAngleMarker {
5224
5574
  * A single uniform vector/into-page/out-of-page lattice drawn over a region.
5225
5575
  * @synonyms magnetic field, into page, out of page, field grid
5226
5576
  */
5227
- interface PhysicsField {
5577
+ type PhysicsField = {
5228
5578
  kind: 'arrows' | 'into' | 'out';
5229
5579
  /** Lattice cell size in pixels (default 48). */
5230
5580
  spacing?: number;
@@ -5242,7 +5592,7 @@ interface PhysicsField {
5242
5592
  width?: number;
5243
5593
  /** Region height (default canvas height). */
5244
5594
  height?: number;
5245
- }
5595
+ };
5246
5596
  /**
5247
5597
  * A bottom-left labeled bar gauge for a scalar quantity (energy, speed, charge, ...).
5248
5598
  * @synonyms energy bar, KE, PE, gauge
@@ -5267,7 +5617,7 @@ interface PhysicsCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProp
5267
5617
  keyMap?: Record<string, EventKey>;
5268
5618
  /** Maps a keyup `e.code` to a semantic event emitted as `UI:{event}`. */
5269
5619
  keyUpMap?: Record<string, EventKey>;
5270
- /** Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host. */
5620
+ /** Painter: 2D raster (default) or 3D mesh scene, both drawn by orbital-canvas. */
5271
5621
  mode?: '2d' | '3d';
5272
5622
  /** 3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }). */
5273
5623
  camera?: Camera;
@@ -5276,6 +5626,8 @@ interface PhysicsCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProp
5276
5626
  /** 3D only: post-processing stack (bloom/vignette). */
5277
5627
  post?: CanvasPost;
5278
5628
  bodies?: LearningPhysicsBody[];
5629
+ /** 2D mode: packed particles drawn in one pass under the bodies (a GPU readback), instead of a body per particle. */
5630
+ particles?: LearningParticles;
5279
5631
  constraints?: LearningPhysicsConstraint[];
5280
5632
  showVelocity?: boolean;
5281
5633
  showForces?: boolean;
@@ -5301,9 +5653,9 @@ interface PhysicsCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProp
5301
5653
  meters?: PhysicsMeter[];
5302
5654
  /** Extra declarative shapes in canvas pixel coordinates (2D mode only — ignored in 3D). */
5303
5655
  shapes?: LearningShape[];
5304
- /** Top-right status chip row, forwarded to LearningCanvas verbatim. */
5656
+ /** Top-right status chip row (the LearningCanvas vocabulary). */
5305
5657
  readouts?: LearningReadout[];
5306
- /** Inset sparkline panels, forwarded to LearningCanvas verbatim. */
5658
+ /** Inset sparkline panels (the LearningCanvas vocabulary). */
5307
5659
  traces?: LearningTracePanel[];
5308
5660
  /** 3D only: show the ground grid (default off). */
5309
5661
  showGrid?: boolean;
@@ -5326,8 +5678,8 @@ declare const PhysicsCanvas: React$1.FC<PhysicsCanvasProps>;
5326
5678
  /**
5327
5679
  * BiologyCanvas
5328
5680
  *
5329
- * A field-scoped learning molecule for biology. Renders cells, organelles,
5330
- * membranes, and connections on top of the declarative `LearningCanvas` atom.
5681
+ * A field-scoped learning molecule for biology: nodes, edges, compartments, bands, stages and a DNA helix in 2D,
5682
+ * or a 3D scene, mapped and drawn by orbital-canvas.
5331
5683
  *
5332
5684
  * @packageDocumentation
5333
5685
  */
@@ -5396,7 +5748,7 @@ interface BiologyStage {
5396
5748
  color?: string;
5397
5749
  }
5398
5750
  /** One base pair (rung) of a `helix` ladder. */
5399
- interface BiologyHelixRung {
5751
+ type BiologyHelixRung = {
5400
5752
  /** Base letter on strand A (top). */
5401
5753
  a?: string;
5402
5754
  /** Base letter on strand B (bottom). */
@@ -5405,9 +5757,9 @@ interface BiologyHelixRung {
5405
5757
  state?: 'paired' | 'open' | 'new';
5406
5758
  /** Overrides the state-derived rung color. */
5407
5759
  color?: string;
5408
- }
5760
+ };
5409
5761
  /** A DNA double-helix ladder rendered as two strand polylines plus rungs, with an optional unzipped fork. */
5410
- interface BiologyHelix {
5762
+ type BiologyHelix = {
5411
5763
  /** Panel left edge (default 24). */
5412
5764
  x?: number;
5413
5765
  /** Panel top edge (default canvas height * 0.25). */
@@ -5425,9 +5777,9 @@ interface BiologyHelix {
5425
5777
  colorB?: string;
5426
5778
  /** Default paired-rung color: a tone name, token or literal (default `muted`). */
5427
5779
  rungColor?: string;
5428
- }
5780
+ };
5429
5781
  /** One base-pair rung of a 3D `helix3d` ladder. */
5430
- interface BiologyHelixRung3D {
5782
+ type BiologyHelixRung3D = {
5431
5783
  /** Clickable when present — stamped on this rung's marker sphere. */
5432
5784
  id?: string;
5433
5785
  /** Rung cylinder + marker color: a tone name, token or literal (default `muted`). */
@@ -5436,13 +5788,13 @@ interface BiologyHelixRung3D {
5436
5788
  radius?: number;
5437
5789
  /** Billboard label above the marker. */
5438
5790
  label?: string;
5439
- }
5791
+ };
5440
5792
  /**
5441
5793
  * A 3D DNA double-helix: two beaded backbone strands plus a base-pair rung
5442
5794
  * per index, optionally unwound (replication-fork style) at one end. 3D only.
5443
5795
  * @synonyms DNA double helix, base pairs 3D
5444
5796
  */
5445
- interface BiologyHelix3D {
5797
+ type BiologyHelix3D = {
5446
5798
  /** Rung count; defaults to `rungs.length`. One of `count`/`rungs` is required. */
5447
5799
  count?: number;
5448
5800
  /** Per-rung overrides, padded with defaults up to `count`. */
@@ -5469,7 +5821,7 @@ interface BiologyHelix3D {
5469
5821
  unwoundCount?: number;
5470
5822
  /** Spread multiplier for unwound rungs (default 1.8). */
5471
5823
  unwindSpread?: number;
5472
- }
5824
+ };
5473
5825
  interface BiologyCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11yProps {
5474
5826
  className?: string;
5475
5827
  width?: number;
@@ -5482,7 +5834,7 @@ interface BiologyCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProp
5482
5834
  keyMap?: Record<string, EventKey>;
5483
5835
  /** Maps a keyup `e.code` to a semantic event emitted as `UI:{event}`. */
5484
5836
  keyUpMap?: Record<string, EventKey>;
5485
- /** Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host. */
5837
+ /** Painter: 2D raster (default) or 3D mesh scene, both drawn by orbital-canvas. */
5486
5838
  mode?: '2d' | '3d';
5487
5839
  /** 3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }). */
5488
5840
  camera?: Camera;
@@ -5518,9 +5870,9 @@ interface BiologyCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProp
5518
5870
  helix3d?: BiologyHelix3D;
5519
5871
  /** Extra declarative shapes in canvas pixel coordinates (2D mode only — ignored in 3D). */
5520
5872
  shapes?: LearningShape[];
5521
- /** Top-right status chip row, forwarded to LearningCanvas verbatim. */
5873
+ /** Top-right status chip row (the LearningCanvas vocabulary). */
5522
5874
  readouts?: LearningReadout[];
5523
- /** Inset sparkline panels, forwarded to LearningCanvas verbatim. */
5875
+ /** Inset sparkline panels (the LearningCanvas vocabulary). */
5524
5876
  traces?: LearningTracePanel[];
5525
5877
  /** 3D only: show the ground grid (default off). */
5526
5878
  showGrid?: boolean;
@@ -5543,8 +5895,8 @@ declare const BiologyCanvas: React$1.FC<BiologyCanvasProps>;
5543
5895
  /**
5544
5896
  * ChemistryCanvas
5545
5897
  *
5546
- * A field-scoped learning molecule for chemistry. Renders atoms, bonds, and
5547
- * reaction arrows on top of the declarative `LearningCanvas` atom.
5898
+ * A field-scoped learning molecule for chemistry: atoms, bonds, arrows, containers and an equation in 2D, or a 3D
5899
+ * scene, mapped and drawn by orbital-canvas.
5548
5900
  *
5549
5901
  * @packageDocumentation
5550
5902
  */
@@ -5612,7 +5964,7 @@ interface ChemistryArrow {
5612
5964
  label?: string;
5613
5965
  }
5614
5966
  /** One basis site of a `lattice3d` crystal, replicated across the generated block. */
5615
- interface ChemistryLatticeSite {
5967
+ type ChemistryLatticeSite = {
5616
5968
  /** Basis-site key; bonds reference sites by key, not by generated id. */
5617
5969
  key: string;
5618
5970
  /** Fractional cell offset, 0..1. */
@@ -5630,9 +5982,9 @@ interface ChemistryLatticeSite {
5630
5982
  yEdge?: boolean;
5631
5983
  /** Replicate on the +z face so the boundary plane completes (n+1 planes along z). */
5632
5984
  zEdge?: boolean;
5633
- }
5985
+ };
5634
5986
  /** A bond rule generating one cylinder per valid `from`→`to` site-instance pair. */
5635
- interface ChemistryLatticeBond {
5987
+ type ChemistryLatticeBond = {
5636
5988
  /** Basis-site key this bond originates from. */
5637
5989
  from: string;
5638
5990
  /** Basis-site key this bond targets. */
@@ -5643,14 +5995,14 @@ interface ChemistryLatticeBond {
5643
5995
  dz?: number;
5644
5996
  /** Bond color: a tone name, token or literal (default the `ink` tone). */
5645
5997
  color?: string;
5646
- }
5998
+ };
5647
5999
  /**
5648
6000
  * A 3D crystal lattice (simple cubic, BCC, FCC, rock salt, diamond, ...)
5649
6001
  * generated procedurally from a fractional basis + bond rules into a block
5650
6002
  * centered on the origin. 3D only.
5651
6003
  * @synonyms crystal lattice, unit cell, BCC FCC
5652
6004
  */
5653
- interface ChemistryLattice3D {
6005
+ type ChemistryLattice3D = {
5654
6006
  basis: ChemistryLatticeSite[];
5655
6007
  /** Unit cells replicated along x/y/z (default 2 each). */
5656
6008
  nx?: number;
@@ -5671,7 +6023,7 @@ interface ChemistryLattice3D {
5671
6023
  selectedId?: string;
5672
6024
  /** Selected-site color: a tone name, token or literal (default the `highlight` tone). */
5673
6025
  selectedColor?: string;
5674
- }
6026
+ };
5675
6027
  interface ChemistryCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yProps>, A11yProps {
5676
6028
  className?: string;
5677
6029
  width?: number;
@@ -5684,7 +6036,7 @@ interface ChemistryCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yPr
5684
6036
  keyMap?: Record<string, EventKey>;
5685
6037
  /** Maps a keyup `e.code` to a semantic event emitted as `UI:{event}`. */
5686
6038
  keyUpMap?: Record<string, EventKey>;
5687
- /** Painter: 2D raster (default) or 3D mesh scene via the lazy three.js host. */
6039
+ /** Painter: 2D raster (default) or 3D mesh scene, both drawn by orbital-canvas. */
5688
6040
  mode?: '2d' | '3d';
5689
6041
  /** 3D only: neutral camera pose ({ mode, zoom, fov, azimuth, target }). */
5690
6042
  camera?: Camera;
@@ -5713,9 +6065,9 @@ interface ChemistryCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yPr
5713
6065
  lattice3d?: ChemistryLattice3D;
5714
6066
  /** Extra declarative shapes in canvas pixel coordinates (2D mode only — ignored in 3D). */
5715
6067
  shapes?: LearningShape[];
5716
- /** Top-right status chip row, forwarded to LearningCanvas verbatim. */
6068
+ /** Top-right status chip row (the LearningCanvas vocabulary). */
5717
6069
  readouts?: LearningReadout[];
5718
- /** Inset sparkline panels, forwarded to LearningCanvas verbatim. */
6070
+ /** Inset sparkline panels (the LearningCanvas vocabulary). */
5719
6071
  traces?: LearningTracePanel[];
5720
6072
  /** 3D only: show the ground grid (default off). */
5721
6073
  showGrid?: boolean;
@@ -5738,20 +6090,8 @@ declare const ChemistryCanvas: React$1.FC<ChemistryCanvasProps>;
5738
6090
  /**
5739
6091
  * AlgorithmCanvas
5740
6092
  *
5741
- * A field-scoped learning molecule for computer-science algorithm visualizations.
5742
- * Projects semantic `bars` (sorting/histograms), `slots` (registers/variables),
5743
- * `cells` (grids/arrays/DP tables), `buckets` (hash-table chaining), and `frames`
5744
- * (call stacks) into pixel-space shapes on the declarative `LearningCanvas` atom,
5745
- * so a `.lolo` behavior never computes pixel coordinates — it just sets the family
5746
- * arrays and lets this molecule lay them out. `pointers` (index cursors) and
5747
- * `ranges` (highlighted spans) decorate the bars/slots panel. Graph/tree
5748
- * algorithms use `AlgoGraphCanvas` (nodes + edges + layouts); this canvas owns
5749
- * only the bar/slot/cell/bucket/frame vocabulary.
5750
- *
5751
- * When more than one of `bars`/`slots`/`cells`/`buckets`/`frames` is populated,
5752
- * they share the canvas height as equal vertical panels in that fixed order
5753
- * (`panelHeight = height / panelCount`); with exactly one family present the
5754
- * panel math collapses to the original full-height layout unchanged.
6093
+ * A field-scoped learning molecule for algorithms: bars, cells, pointers, ranges, slots, frames and buckets, mapped
6094
+ * and drawn by orbital-canvas.
5755
6095
  *
5756
6096
  * @packageDocumentation
5757
6097
  */
@@ -5877,14 +6217,8 @@ declare const AlgorithmCanvas: React$1.FC<AlgorithmCanvasProps>;
5877
6217
  /**
5878
6218
  * AlgoGraphCanvas
5879
6219
  *
5880
- * A field-scoped learning molecule for computer-science graph/tree algorithm
5881
- * visualizations (BFS/DFS/Dijkstra/A-star/topological sort/tree traversals).
5882
- * Declares a fixed node/edge state vocabulary with default colors and
5883
- * deterministic layouts (`manual` | `tree` | `layered` | `circle`) so a
5884
- * `.lolo` behavior never computes pixel coordinates — it just sets node
5885
- * `state`/edges and picks a layout. Distinguish from the core d3-force
5886
- * `GraphCanvas`: this one is a dumb deterministic projection, not a
5887
- * force simulation.
6220
+ * A field-scoped learning molecule for graph algorithms: nodes in a deterministic layout, edges and node badges,
6221
+ * mapped and drawn by orbital-canvas.
5888
6222
  *
5889
6223
  * @packageDocumentation
5890
6224
  */
@@ -5958,96 +6292,6 @@ interface AlgoGraphCanvasProps extends Omit<React$1.AriaAttributes, keyof A11yPr
5958
6292
  }
5959
6293
  declare const AlgoGraphCanvas: React$1.FC<AlgoGraphCanvasProps>;
5960
6294
 
5961
- /**
5962
- * learningScene3D — the shared 3D seam for the learning canvas molecules
5963
- * (PhysicsCanvas / BiologyCanvas / ChemistryCanvas), mirroring the game
5964
- * `Canvas` molecule's 2D/3D split: each molecule derives neutral drawable
5965
- * descriptors from its vocabulary and this module hosts them in the lazy
5966
- * `Canvas3DHost`, so three.js/R3F never enters a 2D-only bundle.
5967
- *
5968
- * The lazy import is the code-split boundary: the package's one split ESM build
5969
- * makes it its own chunk (the `./three` entry).
5970
- *
5971
- * Click: the host speaks `EventEmit` (a bus event-name string), so the wrapper
5972
- * mints a per-instance, dot-qualified event name (dot-qualified flows through
5973
- * trait-scope qualification verbatim — a bare key would be scope-rewritten and
5974
- * never reach this listener) and bridges it back to the molecule's
5975
- * `onShapeClick` callback contract via `useEventListener` — the same
5976
- * bus→callback mechanism `MediaGallery`/`StateMachineView` use.
5977
- *
5978
- * The derivation helpers below are pure descriptor builders (no three imports).
5979
- * Scene coordinates are cells: `x`/`y` the ground plane, `z` the height.
5980
- *
5981
- * @packageDocumentation
5982
- */
5983
-
5984
- /** A point in scene space: `[x, y, z]` — x/y the ground plane, z the height (cells). */
5985
- type Learning3DPoint = [number, number, number];
5986
- interface LearningScene3DProps extends A11yProps {
5987
- /** Text alternative for the scene, rendered as visually hidden text and linked by aria-describedby. */
5988
- description?: string;
5989
- className?: string;
5990
- width?: number;
5991
- height?: number;
5992
- title?: string;
5993
- backgroundColor?: string;
5994
- /** Overrides the theme's categorical palette (`series-1…N`) for this scene. */
5995
- series?: string[];
5996
- /** Neutral drawable descriptors derived from the molecule's vocabulary. */
5997
- drawables: DrawableNode[];
5998
- /** Neutral camera pose; `mode` defaults to 'perspective' for learning scenes. */
5999
- camera?: Camera;
6000
- /** 3D scene light rig as data. Omitted → the host's standard fixed rig. */
6001
- lighting?: CanvasLighting;
6002
- /** 3D post-processing stack (bloom/vignette). Omitted → no post pass. */
6003
- post?: CanvasPost;
6004
- /** Show the 3D ground grid. Default false (the learning scenes' current look). */
6005
- showGrid?: boolean;
6006
- /** Enable 3D shadows. Omitted → the host default (shadows on). */
6007
- shadows?: boolean;
6008
- /** Enable the orbit camera controls. Omitted → the host default (controls on). */
6009
- interactive?: boolean;
6010
- isLoading?: boolean;
6011
- error?: UiError | null;
6012
- /** Fires with the `id` of a clicked descriptor (descriptors carry `id` via DrawableBase). */
6013
- onItemClick?: (id: string) => void;
6014
- }
6015
- declare function LearningScene3D({ className, width, height, title, backgroundColor, series, drawables, camera, lighting, post, showGrid, shadows, interactive, isLoading, error, onItemClick, description, ...rest }: LearningScene3DProps): React$1.JSX.Element;
6016
- declare namespace LearningScene3D {
6017
- var displayName: string;
6018
- }
6019
- interface MeshSphereOpts {
6020
- /** Primitive kind (default 'sphere'; organelles read well as 'capsule'). */
6021
- shape?: MeshShapeKind;
6022
- segments?: number;
6023
- material?: MeshMaterial;
6024
- opacity?: number;
6025
- }
6026
- /** A sphere (or `opts.shape` primitive) centred at the scene point, `id`-tagged for click. */
6027
- declare function meshSphere(id: string | undefined, x: number, y: number, z: number, radius: number, color: string, opts?: MeshSphereOpts): DrawMeshProps;
6028
- /** A cylinder spanning from→to, centred on the midpoint. Null when the segment is degenerate. */
6029
- declare function cylinderBetween(from: Learning3DPoint, to: Learning3DPoint, radius: number, color: string): DrawMeshProps | null;
6030
- /**
6031
- * An arrow from→to as a `draw-group` (shaft cylinder + tip cone) local to `from`.
6032
- * `shaftRadius` is in scene cells (default: a thin rod at cell scale). `id`,
6033
- * when given, is stamped on the returned draw-group for click routing.
6034
- */
6035
- declare function arrowBetween(from: Learning3DPoint, to: Learning3DPoint, color: string, shaftRadius?: number, id?: string): DrawGroupProps | null;
6036
- /** A billboarded text label above the scene point (the 3D host lifts it off the item). */
6037
- declare function billboardLabel(text: string, x: number, y: number, z: number, opts?: {
6038
- color?: string;
6039
- }): DrawTextProps;
6040
- /**
6041
- * Bridge the 3D host's `{ unitId }` click back to the molecules' 2D
6042
- * `onShapeClick({ id, index })` contract — `index` is the item's position in
6043
- * its vocabulary array (−1 when the id is unknown).
6044
- */
6045
- declare function get3DClickPayload(onShapeClick: ((payload: {
6046
- id?: string;
6047
- type?: string;
6048
- index: number;
6049
- }) => void) | undefined, idToIndex: ReadonlyMap<string, number>): ((id: string) => void) | undefined;
6050
-
6051
6295
  /**
6052
6296
  * GraphView Molecule Component
6053
6297
  *
@@ -11295,5 +11539,5 @@ interface GenericAppTemplateProps extends TemplateProps, Omit<React__default.Ari
11295
11539
  }
11296
11540
  declare const GenericAppTemplate: React__default.FC<GenericAppTemplateProps>;
11297
11541
 
11298
- export { ALL_PRESETS, Accordion, Card as ActionCard, ActionPalette, ActionTile, ActivationBlock, ActivityRail, AgentActivityFeed, AgentActivityRow, AgentChatFeed, AgentThinkingRow, Alert, AlgoGraphCanvas, AlgorithmCanvas, AnimatedCounter, AssetPicker, AuthLayout, BiologyCanvas, BranchingLogicBuilder, Breadcrumb, ButtonGroup, COMPACT_MEDIA_QUERY, CalendarGrid, CameraState, Canvas, Canvas2D, Carousel, ChangeList, Chart, ChartLegend, ChatBar, ChemistryCanvas, ChoiceButton, Coachmark, CodeBlock, CollapsibleSection, CommandPalette, CommitRow, ConfirmDialog, ConnectionBlock, Container, ContentRenderer, ControlButton, ControlGrid, CounterTemplate, DEFAULT_LIKERT_OPTION_KEYS, DEFAULT_MATRIX_COLUMN_KEYS, DIAMOND_TOP_Y, DashboardGrid, DashboardLayout, DataGrid, DataList, DateRangePicker, DateRangeSelector, DetailPanel, DialogueBubble, DocBreadcrumb, DocPagination, DocSearch, DocSidebar, DocTOC, DockLayout, DocumentDetails, DocumentPanel, DocumentViewer, StateMachineView as DomStateMachineVisualizer, Drawer, DrawerSlot, ELEMENT_SELECTED_EVENT, EdgeDecoration, EditorCheckbox, EditorSelect, EditorSlider, EditorTextInput, EditorToolbar, EmojiPicker, EmptyState, EntityDisplayEvents, ErrorBoundary, ErrorState, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FacingDirection, FeatureCard, FeatureGrid, FilterGroup, Flex, FlipCard, FloatingActionButton, FloatingToolbar, Form, FormActions, FormField, FormLayout, FormSection$1 as FormSection, FormSectionHeader, FxOverlay, GameAudioCue, GameAudioToggle, GameHud, GameMenu, GameShell, Gantt, GenericAppTemplate, GeometricPattern, GradientDivider, GraphCanvas, GraphView, Grid, GridPicker, GuestView, Header, HealthBar, IconButton, IconPicker, ImportPreviewTree, ImportProgress, ImportSourcePicker, InputGroup, IsometricUnit, JazariStateMachine, JsonTreeEditor, LearningCanvas, LearningScene3D, LessonSegment, Lightbox, LikertScale, LineChart, LoadingState, MachinePanel, MapView, MarkdownContent, MasterDetailLayout, MathCanvas, MatrixQuestion, MediaGallery, Menu, Meter, Modal, ModalSlot, Navigation, NodeSlotEditor, NumberStepper, OnboardingSpotlight, OptionConstraintGroup, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, PageHeader, PageTransition, Pagination, PhysicsCanvas, Popover, PositionedCanvas, ProgressDots, PropertyInspector, PullToRefresh, QrScanner, QuizBlock, ReflectionBlock, RelationSelect, RepeatableFormSection, ReplyTree, ResolvedFrame, RichTextEditor, RuntimeDebugger, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, ScoreDisplay, SearchInput, Section, SequenceBar, SidePanel, Sidebar, SignaturePad, SimpleGrid, Skeleton, SkeletonTree, SlotContent, SlotContentRenderer, SocialProof, SortableList, Split, SplitPane, SpriteFrameDims, SpriteSheetUrls, StarRating, StatBadge, StatCard, StatDisplay, StateGraph, StateJsonView, StateMachineView, StatusBar, SubagentTracePanel, SwipeableRow, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, TableView, Tabs, TagInput, TerrainPalette, Timeline, TimerDisplay, Toast, ToastSlot, Tooltip, TopNavItem, TraitFrame, TraitSlot, TraitStateViewer, UISlotComponent, UISlotRenderer, UnitAnimationState, UploadDropZone, VersionDiff, ViolationAlert, VoteStack, WizardContainer, WizardNavigation, WizardProgress, activityRowFacts, applyCompletion, applySuggestions, arrowBetween, billboardLabel, boardEntity, bool, createUnitAnimationState, cylinderBetween, dispatchCommandPaletteCommand, get3DClickPayload, getCurrentFrame, groupIntoConversations, inferDirection, isoToScreen, makeAsset, makeAssetMap, meshSphere, num, objAvailableActions, objAvailableEvents, objCurrentState, objIcon, objId, objMaxRules, objName, objRules, objStates, parseEditFocus, parseMarkdownWithCodeBlocks, pendulum, preloadCodeHighlighter, projectileMotion, registerCodeLanguageLoader, renderPatternValue, resolveFrame, resolveSheetDirection, rows, sanitizeRichHtml, screenToIso, springOscillator, str, tickAnimationState, toCodeLanguage, transitionAnimation, unitHealth, unitPosition, unitTeam, useAnchorRect, useCamera, useCompactLayout, useDockLayout, useImageCache, useUnitSpriteAtlas, vec2 };
11299
- export type { AccordionItem, AccordionProps, CardProps as ActionCardProps, ActionPaletteProps, ActionTileProps, ActivationBlockProps, ActivityRailItem, ActivityRailProps, AgentActivityFeedProps, AgentActivityJumpTarget, AgentActivityRowProps, AgentChatFeedProps, AgentConversation, AlertProps, AlertVariant, AlgoGraphCanvasProps, AlgoGraphEdge, AlgoGraphEdgeState, AlgoGraphLayout, AlgoGraphNode, AlgoGraphNodeBadge, AlgoGraphNodeState, AlgorithmBar, AlgorithmCanvasProps, AlgorithmCell, AlgorithmPointer, AnimatedCounterProps, AssetPickerProps, AuthLayoutProps, BiologyCanvasProps, BiologyEdge, BiologyNode, BranchingLogicBuilderProps, BranchingQuestion, BranchingRule, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, CalendarGridProps, CameraMode, Canvas2DProps, CanvasItemShape, CanvasItemStatus, CanvasMode, CanvasProps, CardAction, CarouselProps, ChangeListItem, ChangeListProps, ChangeType, ChartDataPoint, ChartLegendItem, ChartLegendProps, ChartProps, ChartSeries, ChartType, ChatBarProps, ChatBarStatus, ChatFocusRequest, ChemistryArrow, ChemistryAtom, ChemistryBond, ChemistryCanvasProps, ChoiceButtonProps, CoachmarkAnchor, CoachmarkPlacement, CoachmarkProps, CodeAssistProvider, CodeAssistRequest, CodeAssistResult, CodeBlockProps, CodeCompletion, CodeCompletionProvider, CodeCompletionResult, CodeDiagnostic, CodeLanguage, CodeLanguageLoader, CodeSuggestion, CodeViewerAction, CodeViewerFile, CodeViewerMode, CollapsibleSectionProps, CommandPaletteCommand, CommandPaletteProps, CommitKind, CommitRowProps, ConfirmDialogProps, ConfirmDialogVariant, ConnectionBlockProps, ContainerProps, ContentRendererProps, ControlButtonProps, ControlGridButton, ControlGridKind, ControlGridProps, CounterSize, CounterTemplateProps, CounterVariant, DPadDirection, DashboardGridCell, DashboardGridProps, DashboardLayoutProps, DataGridField, DataGridItemAction, DataGridProps, DataListField, DataListItemAction, DataListProps, DateRangePickerPreset, DateRangePickerProps, DateRangeSelectorOption, DateRangeSelectorProps, DescribeTrait, DetailField, DetailPanelProps, DetailSection, DialogueBubbleProps, DiffHunk, DiffLine$1 as DiffLine, DiffLineType, DiffRevision, DispatchCommandPaletteCommandDeps, DisplayStateProps, DocBreadcrumbItem, DocBreadcrumbProps, DocPaginationLink, DocPaginationProps, DocSearchProps, DocSearchResult, DocSidebarItem, DocSidebarProps, DocTOCItem, DocTOCProps, DockLayoutContextValue, DockLayoutProps, DocumentDetailsField, DocumentDetailsProps, DocumentPanelAction, DocumentPanelProps, DocumentType, DocumentViewerProps, DotSize, DotState, DrawerPosition, DrawerProps, DrawerSize, DrawerSlotProps, EdgeDecorationProps, EdgeSide, EdgeVariant, EditorCheckboxProps, EditorMode, EditorSelectProps, EditorSliderProps, EditorTextInputProps, EditorToolbarProps, EmojiPickerPosition, EmojiPickerProps, EmptyStateProps, ErrorBoundaryProps, ErrorStateProps, FeatureCardProps, FeatureGridProps, FilterDefinition, FilterGroupProps, FilterPayload, FlexProps, FlipCardProps, FloatingAction, FloatingActionButtonProps, FloatingToolbarItem, FloatingToolbarPosition, FloatingToolbarProps, FormActionsProps, FormFieldProps, FormLayoutProps, FormProps, FormSectionHeaderProps, FormSectionProps, FxOverlayProps, GameAudioCueProps, GameAudioToggleProps, GameHudElement, GameHudProps, GameHudStat, GameMenuProps, GameShellProps, GanttLink, GanttProps, GenericAppTemplateProps, GeometricPatternProps, GradientDividerProps, GraphCanvasProps, GraphEdge, GraphNode, GraphSimilarity, GraphViewEdge, GraphViewNode, GraphViewProps, GridPickerCellSize, GridPickerProps, GridProps, GuestViewProps, HeaderProps, HealthBarProps, IconButtonProps, IconPickerProps, ImportEntityDisplay, ImportPreviewTreeProps, ImportPreviewUnit, ImportProgressCounts, ImportProgressProps, ImportProgressStep, ImportSkippedElement, ImportSourceOption, ImportSourcePickerProps, InputGroupProps, JazariStateMachineProps, JsonTreeEditorProps, Learning3DPoint, LearningCanvasProps, LearningPhysicsBody, LearningPhysicsConstraint, LearningPoint, LearningScene3DProps, LearningShape, LearningShapeType, LightboxImage, LightboxProps, LikertOption, LikertScaleProps, LineChartProps, LoadingStateProps, MachinePanelProps, MapMarkerData, MapRouteData, MapRouteWaypoint, MapViewProps, MarkdownContentProps, MasterDetailLayoutProps, MathCanvasProps, MathCurve, MathPoint, MathVector, MatrixColumn, MatrixQuestionProps, MatrixRow, MediaGalleryProps, MediaItem, MenuItem, MenuOption, MenuProps, MeshSphereOpts, MeterAction, MeterProps, MeterThreshold, MeterVariant, MixedSegment, ModalProps, ModalSize, ModalSlotProps, NavItem, NavigationItem, NavigationProps, NodeSlotEditorProps, NumberStepperProps, NumberStepperSize, OnboardingSpotlightProps, OptionConstraint, OptionConstraintGroupProps, OptionConstraintOption, OrbitalVisualizationProps, PageBreadcrumb, PageHeaderProps, PageTransitionProps, PaginatePayload, PaginationProps, PhysicsCanvasProps, PickerItem, Platform, PopoverProps, PositionedCanvasProps, PrismLanguageGrammar, ProgressDotsProps, Projection, PropertyInspectorProps, PullToRefreshProps, QrScanResult, QrScannerProps, QuizBlockProps, ReflectionBlockProps, RelationOption, RelationSelectProps, RepeatableFormSectionProps, RepeatableItem, ReplyTreeProps, RichTextEditorProps, RowFacts, RuleDefinition, RuleOption, RuntimeDebuggerProps, ScaledDiagramProps, ScoreDisplayProps, SearchInputProps, SearchPayload, SectionProps, SelectPayload, SequenceBarProps, SidePanelProps, SidePlayer, SidebarItem, SidebarProps, SignaturePadProps, SimpleGridProps, SkeletonProps, SlotItemData, SocialProofItem, SocialProofProps, SortPayload, SortableListProps, SplitPaneProps, SplitProps, SpotlightStep, StarRatingPrecision, StarRatingProps, StarRatingSize, StatBadgeProps, StatCardProps, StatDisplayProps, StateGraphProps, StateGraphTransition, StateJsonViewProps, StateMachineViewProps, StatusBarProps, SubagentTracePanelProps, SwipeAction, SwipeableRowProps, TabDefinition, TabItem, TabbedContainerProps, TableViewColumn, TableViewProps, TabsProps, TagInputProps, TeamUnitTraits, TemplateProps, TerrainPaletteProps, TileCoord, TileLayout, TimelineItem, TimelineItemStatus, TimelineProps, TimerDisplayProps, ToastProps, ToastSlotProps, ToastVariant, TooltipProps, TopNavItemData, TopNavItemProps, TraceDisclosureLevel, TraitFrameProps, TraitSlotProps, TraitStateMachineDefinition, TraitStateViewerProps, TraitTransition, UISlotComponentProps, UISlotRendererProps, UploadDropZoneProps, Vec2, DiffLine as VersionDiffLine, VersionDiffProps, ViolationAlertProps, ViolationRecord, VoteStackProps, WizardContainerProps, WizardNavigationProps, WizardProgressProps, WizardProgressStep, WizardStep };
11542
+ export { ALL_PRESETS, Accordion, Card as ActionCard, ActionPalette, ActionTile, ActivationBlock, ActivityRail, AgentActivityFeed, AgentActivityRow, AgentChatFeed, AgentThinkingRow, Alert, AlgoGraphCanvas, AlgorithmCanvas, AnimatedCounter, AssetPicker, AuthLayout, BiologyCanvas, BranchingLogicBuilder, Breadcrumb, ButtonGroup, COMPACT_MEDIA_QUERY, CalendarGrid, Canvas, Canvas2D, Carousel, ChangeList, Chart, ChartLegend, ChatBar, ChemistryCanvas, ChoiceButton, Coachmark, CodeBlock, CollapsibleSection, CommandPalette, CommitRow, ConfirmDialog, ConnectionBlock, Container, ContentRenderer, ControlButton, ControlGrid, CounterTemplate, DEFAULT_LIKERT_OPTION_KEYS, DEFAULT_MATRIX_COLUMN_KEYS, DIAMOND_TOP_Y, DashboardGrid, DashboardLayout, DataGrid, DataList, DateRangePicker, DateRangeSelector, DetailPanel, DialogueBubble, DocBreadcrumb, DocPagination, DocSearch, DocSidebar, DocTOC, DockLayout, DocumentDetails, DocumentPanel, DocumentViewer, StateMachineView as DomStateMachineVisualizer, Drawer, DrawerSlot, ELEMENT_SELECTED_EVENT, EdgeDecoration, EditorCheckbox, EditorSelect, EditorSlider, EditorTextInput, EditorToolbar, EmojiPicker, EmptyState, EntityDisplayEvents, ErrorBoundary, ErrorState, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FeatureCard, FeatureGrid, FilterGroup, Flex, FlipCard, FloatingActionButton, FloatingToolbar, Form, FormActions, FormField, FormLayout, FormSection$1 as FormSection, FormSectionHeader, FxOverlay, GameAudioCue, GameAudioToggle, GameHud, GameMenu, GameShell, Gantt, GenericAppTemplate, GeometricPattern, GradientDivider, GraphCanvas, GraphView, Grid, GridPicker, GuestView, Header, HealthBar, IconButton, IconPicker, ImportPreviewTree, ImportProgress, ImportSourcePicker, InputGroup, JazariStateMachine, JsonTreeEditor, LearningCanvas, LessonSegment, Lightbox, LikertScale, LineChart, LoadingState, MachinePanel, MapView, MarkdownContent, MasterDetailLayout, MathCanvas, MatrixQuestion, MediaGallery, Menu, Meter, Modal, ModalSlot, Navigation, NodeSlotEditor, NumberStepper, OnboardingSpotlight, OptionConstraintGroup, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, PageHeader, PageTransition, Pagination, PhysicsCanvas, Popover, PositionedCanvas, ProgressDots, PropertyInspector, PullToRefresh, QrScanner, QuizBlock, ReflectionBlock, RelationSelect, RepeatableFormSection, ReplyTree, RichTextEditor, RuntimeDebugger, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, ScoreDisplay, SearchInput, Section, SequenceBar, SidePanel, Sidebar, SignaturePad, SimpleGrid, Skeleton, SkeletonTree, SlotContent, SlotContentRenderer, SocialProof, SortableList, Split, SplitPane, StarRating, StatBadge, StatCard, StatDisplay, StateGraph, StateJsonView, StateMachineView, StatusBar, SubagentTracePanel, SwipeableRow, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, TabbedContainer, TableView, Tabs, TagInput, TerrainPalette, Timeline, TimerDisplay, Toast, ToastSlot, Tooltip, TopNavItem, TraitFrame, TraitSlot, TraitStateViewer, UISlotComponent, UISlotRenderer, UploadDropZone, VersionDiff, ViolationAlert, VoteStack, WizardContainer, WizardNavigation, WizardProgress, activityRowFacts, applyCompletion, applySuggestions, boardEntity, bool, calculateAttackTargets, calculateValidMoves, createInitialGameState, createUnitAnimationState, dispatchCommandPaletteCommand, getCurrentFrame, groupIntoConversations, inferDirection, isoToScreen, makeAsset, makeAssetMap, num, objAvailableActions, objAvailableEvents, objCurrentState, objIcon, objId, objMaxRules, objName, objRules, objStates, parseEditFocus, parseMarkdownWithCodeBlocks, pendulum, preloadCodeHighlighter, projectileMotion, registerCodeLanguageLoader, renderPatternValue, resolveFrame, resolveSheetDirection, rows, sanitizeRichHtml, screenToIso, springOscillator, str, tickAnimationState, toCodeLanguage, transitionAnimation, unitHealth, unitPosition, unitTeam, useAnchorRect, useCamera, useCompactLayout, useDockLayout, useImageCache, useUnitSpriteAtlas, vec2 };
11543
+ export type { AccordionItem, AccordionProps, CardProps as ActionCardProps, ActionPaletteProps, ActionTileProps, ActivationBlockProps, ActivityRailItem, ActivityRailProps, AgentActivityFeedProps, AgentActivityJumpTarget, AgentActivityRowProps, AgentChatFeedProps, AgentConversation, AlertProps, AlertVariant, AlgoGraphCanvasProps, AlgoGraphEdge, AlgoGraphEdgeState, AlgoGraphLayout, AlgoGraphNode, AlgoGraphNodeBadge, AlgoGraphNodeState, AlgorithmBar, AlgorithmCanvasProps, AlgorithmCell, AlgorithmPointer, AnimatedCounterProps, AssetPickerProps, AuthLayoutProps, BiologyCanvasProps, BiologyEdge, BiologyNode, BoardTile, BranchingLogicBuilderProps, BranchingQuestion, BranchingRule, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, CalendarGridProps, CameraMode, CameraState, Canvas2DProps, CanvasItemShape, CanvasItemStatus, CanvasMode, CanvasProps, CardAction, CarouselProps, ChangeListItem, ChangeListProps, ChangeType, ChartDataPoint, ChartLegendItem, ChartLegendProps, ChartProps, ChartSeries, ChartType, ChatBarProps, ChatBarStatus, ChatFocusRequest, ChemistryArrow, ChemistryAtom, ChemistryBond, ChemistryCanvasProps, ChoiceButtonProps, CoachmarkAnchor, CoachmarkPlacement, CoachmarkProps, CodeAssistProvider, CodeAssistRequest, CodeAssistResult, CodeBlockProps, CodeCompletion, CodeCompletionProvider, CodeCompletionResult, CodeDiagnostic, CodeLanguage, CodeLanguageLoader, CodeSuggestion, CodeViewerAction, CodeViewerFile, CodeViewerMode, CollapsibleSectionProps, CommandPaletteCommand, CommandPaletteProps, CommitKind, CommitRowProps, ConfirmDialogProps, ConfirmDialogVariant, ConnectionBlockProps, ContainerProps, ContentRendererProps, ControlButtonProps, ControlGridButton, ControlGridKind, ControlGridProps, CounterSize, CounterTemplateProps, CounterVariant, DPadDirection, DashboardGridCell, DashboardGridProps, DashboardLayoutProps, DataGridField, DataGridItemAction, DataGridProps, DataListField, DataListItemAction, DataListProps, DateRangePickerPreset, DateRangePickerProps, DateRangeSelectorOption, DateRangeSelectorProps, DescribeTrait, DetailField, DetailPanelProps, DetailSection, DialogueBubbleProps, DiffHunk, DiffLine$1 as DiffLine, DiffLineType, DiffRevision, DispatchCommandPaletteCommandDeps, DisplayStateProps, DocBreadcrumbItem, DocBreadcrumbProps, DocPaginationLink, DocPaginationProps, DocSearchProps, DocSearchResult, DocSidebarItem, DocSidebarProps, DocTOCItem, DocTOCProps, DockLayoutContextValue, DockLayoutProps, DocumentDetailsField, DocumentDetailsProps, DocumentPanelAction, DocumentPanelProps, DocumentType, DocumentViewerProps, DotSize, DotState, DrawerPosition, DrawerProps, DrawerSize, DrawerSlotProps, EdgeDecorationProps, EdgeSide, EdgeVariant, EditorCheckboxProps, EditorMode, EditorSelectProps, EditorSliderProps, EditorTextInputProps, EditorToolbarProps, EmojiPickerPosition, EmojiPickerProps, EmptyStateProps, ErrorBoundaryProps, ErrorStateProps, FacingDirection, FeatureCardProps, FeatureGridProps, FilterDefinition, FilterGroupProps, FilterPayload, FlexProps, FlipCardProps, FloatingAction, FloatingActionButtonProps, FloatingToolbarItem, FloatingToolbarPosition, FloatingToolbarProps, FormActionsProps, FormFieldProps, FormLayoutProps, FormProps, FormSectionHeaderProps, FormSectionProps, FxOverlayProps, GameAction, GameAudioCueProps, GameAudioToggleProps, GameHudElement, GameHudProps, GameHudStat, GameMenuProps, GamePhase, GameShellProps, GameState, GameUnit, GanttLink, GanttProps, GenericAppTemplateProps, GeometricPatternProps, GradientDividerProps, GraphCanvasProps, GraphEdge, GraphNode, GraphSimilarity, GraphViewEdge, GraphViewNode, GraphViewProps, GridPickerCellSize, GridPickerProps, GridProps, GuestViewProps, HeaderProps, HealthBarProps, IconButtonProps, IconPickerProps, ImportEntityDisplay, ImportPreviewTreeProps, ImportPreviewUnit, ImportProgressCounts, ImportProgressProps, ImportProgressStep, ImportSkippedElement, ImportSourceOption, ImportSourcePickerProps, InputGroupProps, IsometricFeature, IsometricTile, IsometricUnit, JazariStateMachineProps, JsonTreeEditorProps, LearningCanvasProps, LearningPhysicsBody, LearningPhysicsConstraint, LearningPoint, LearningShape, LearningShapeType, LightboxImage, LightboxProps, LikertOption, LikertScaleProps, LineChartProps, LoadingStateProps, MachinePanelProps, MapMarkerData, MapRouteData, MapRouteWaypoint, MapViewProps, MarkdownContentProps, MasterDetailLayoutProps, MathCanvasProps, MathCurve, MathPoint, MathVector, MatrixColumn, MatrixQuestionProps, MatrixRow, MediaGalleryProps, MediaItem, MenuItem, MenuOption, MenuProps, MeterAction, MeterProps, MeterThreshold, MeterVariant, MixedSegment, ModalProps, ModalSize, ModalSlotProps, NavItem, NavigationItem, NavigationProps, NodeSlotEditorProps, NumberStepperProps, NumberStepperSize, OnboardingSpotlightProps, OptionConstraint, OptionConstraintGroupProps, OptionConstraintOption, OrbitalVisualizationProps, PageBreadcrumb, PageHeaderProps, PageTransitionProps, PaginatePayload, PaginationProps, PhysicsCanvasProps, PickerItem, Platform, PopoverProps, Position, PositionedCanvasProps, PrismLanguageGrammar, ProgressDotsProps, Projection, PropertyInspectorProps, PullToRefreshProps, QrScanResult, QrScannerProps, QuizBlockProps, ReflectionBlockProps, RelationOption, RelationSelectProps, RepeatableFormSectionProps, RepeatableItem, ReplyTreeProps, ResolvedFrame, RichTextEditorProps, RowFacts, RuleDefinition, RuleOption, RuntimeDebuggerProps, ScaledDiagramProps, ScoreDisplayProps, SearchInputProps, SearchPayload, SectionProps, SelectPayload, SequenceBarProps, SidePanelProps, SidePlayer, SidebarItem, SidebarProps, SignaturePadProps, SimpleGridProps, SkeletonProps, SlotItemData, SocialProofItem, SocialProofProps, SortPayload, SortableListProps, SplitPaneProps, SplitProps, SpotlightStep, SpriteFrameDims, SpriteSheetUrls, StarRatingPrecision, StarRatingProps, StarRatingSize, StatBadgeProps, StatCardProps, StatDisplayProps, StateGraphProps, StateGraphTransition, StateJsonViewProps, StateMachineViewProps, StatusBarProps, SubagentTracePanelProps, SwipeAction, SwipeableRowProps, TabDefinition, TabItem, TabbedContainerProps, TableViewColumn, TableViewProps, TabsProps, TagInputProps, TeamUnitTraits, TemplateProps, TerrainPaletteProps, TileCoord, TileLayout, TimelineItem, TimelineItemStatus, TimelineProps, TimerDisplayProps, ToastProps, ToastSlotProps, ToastVariant, TooltipProps, TopNavItemData, TopNavItemProps, TraceDisclosureLevel, TraitFrameProps, TraitSlotProps, TraitStateMachineDefinition, TraitStateViewerProps, TraitTransition, UISlotComponentProps, UISlotRendererProps, UnitAnimationState, UnitTrait, UploadDropZoneProps, Vec2, DiffLine as VersionDiffLine, VersionDiffProps, ViolationAlertProps, ViolationRecord, VoteStackProps, WizardContainerProps, WizardNavigationProps, WizardProgressProps, WizardProgressStep, WizardStep };