@backbay/glia 0.2.0-alpha.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.
Files changed (1066) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +492 -0
  3. package/dist/audio/hooks/index.d.ts +15 -0
  4. package/dist/audio/hooks/index.d.ts.map +1 -0
  5. package/dist/audio/hooks/index.js +7 -0
  6. package/dist/audio/hooks/useAudioOverlay.d.ts +43 -0
  7. package/dist/audio/hooks/useAudioOverlay.d.ts.map +1 -0
  8. package/dist/audio/hooks/useAudioOverlay.js +48 -0
  9. package/dist/audio/hooks/useAudioPlayer.d.ts +14 -0
  10. package/dist/audio/hooks/useAudioPlayer.d.ts.map +1 -0
  11. package/dist/audio/hooks/useAudioPlayer.js +96 -0
  12. package/dist/audio/hooks/useBargeIn.d.ts +27 -0
  13. package/dist/audio/hooks/useBargeIn.d.ts.map +1 -0
  14. package/dist/audio/hooks/useBargeIn.js +65 -0
  15. package/dist/audio/hooks/useCognitionSpeech.d.ts +52 -0
  16. package/dist/audio/hooks/useCognitionSpeech.d.ts.map +1 -0
  17. package/dist/audio/hooks/useCognitionSpeech.js +77 -0
  18. package/dist/audio/hooks/useHybridSpeech.d.ts +24 -0
  19. package/dist/audio/hooks/useHybridSpeech.d.ts.map +1 -0
  20. package/dist/audio/hooks/useHybridSpeech.js +40 -0
  21. package/dist/audio/hooks/useRunSpeechCues.d.ts +28 -0
  22. package/dist/audio/hooks/useRunSpeechCues.d.ts.map +1 -0
  23. package/dist/audio/hooks/useRunSpeechCues.js +47 -0
  24. package/dist/audio/hooks/useSpeechSynthesis.d.ts +58 -0
  25. package/dist/audio/hooks/useSpeechSynthesis.d.ts.map +1 -0
  26. package/dist/audio/hooks/useSpeechSynthesis.js +154 -0
  27. package/dist/audio/index.d.ts +12 -0
  28. package/dist/audio/index.d.ts.map +1 -0
  29. package/dist/audio/index.js +24 -0
  30. package/dist/audio/overlay.d.ts +9 -0
  31. package/dist/audio/overlay.d.ts.map +1 -0
  32. package/dist/audio/overlay.js +15 -0
  33. package/dist/audio/planner.d.ts +51 -0
  34. package/dist/audio/planner.d.ts.map +1 -0
  35. package/dist/audio/planner.js +122 -0
  36. package/dist/audio/providers/httpSpeechSynthesisProvider.d.ts +33 -0
  37. package/dist/audio/providers/httpSpeechSynthesisProvider.d.ts.map +1 -0
  38. package/dist/audio/providers/httpSpeechSynthesisProvider.js +83 -0
  39. package/dist/audio/schema.d.ts +1741 -0
  40. package/dist/audio/schema.d.ts.map +1 -0
  41. package/dist/audio/schema.js +116 -0
  42. package/dist/audio/types.d.ts +175 -0
  43. package/dist/audio/types.d.ts.map +1 -0
  44. package/dist/audio/types.js +18 -0
  45. package/dist/cognition/controller.d.ts +97 -0
  46. package/dist/cognition/controller.d.ts.map +1 -0
  47. package/dist/cognition/controller.js +145 -0
  48. package/dist/cognition/hooks/index.d.ts +3 -0
  49. package/dist/cognition/hooks/index.d.ts.map +1 -0
  50. package/dist/cognition/hooks/index.js +1 -0
  51. package/dist/cognition/hooks/useCognition.d.ts +36 -0
  52. package/dist/cognition/hooks/useCognition.d.ts.map +1 -0
  53. package/dist/cognition/hooks/useCognition.js +88 -0
  54. package/dist/cognition/index.d.ts +10 -0
  55. package/dist/cognition/index.d.ts.map +1 -0
  56. package/dist/cognition/index.js +20 -0
  57. package/dist/cognition/reducers.d.ts +27 -0
  58. package/dist/cognition/reducers.d.ts.map +1 -0
  59. package/dist/cognition/reducers.js +152 -0
  60. package/dist/cognition/schema.d.ts +594 -0
  61. package/dist/cognition/schema.d.ts.map +1 -0
  62. package/dist/cognition/schema.js +102 -0
  63. package/dist/cognition/types.d.ts +123 -0
  64. package/dist/cognition/types.d.ts.map +1 -0
  65. package/dist/cognition/types.js +26 -0
  66. package/dist/components/AgentPanel.d.ts +71 -0
  67. package/dist/components/AgentPanel.d.ts.map +1 -0
  68. package/dist/components/AgentPanel.js +55 -0
  69. package/dist/components/BBProvider.d.ts +47 -0
  70. package/dist/components/BBProvider.d.ts.map +1 -0
  71. package/dist/components/BBProvider.js +80 -0
  72. package/dist/components/ClusterHero/BriefingPanel.d.ts +15 -0
  73. package/dist/components/ClusterHero/BriefingPanel.d.ts.map +1 -0
  74. package/dist/components/ClusterHero/BriefingPanel.js +54 -0
  75. package/dist/components/ClusterHero/ClusterAtmosphere.d.ts +8 -0
  76. package/dist/components/ClusterHero/ClusterAtmosphere.d.ts.map +1 -0
  77. package/dist/components/ClusterHero/ClusterAtmosphere.js +9 -0
  78. package/dist/components/ClusterHero/ClusterHero.d.ts +22 -0
  79. package/dist/components/ClusterHero/ClusterHero.d.ts.map +1 -0
  80. package/dist/components/ClusterHero/ClusterHero.js +42 -0
  81. package/dist/components/ClusterHero/ClusterHeroPage.d.ts +27 -0
  82. package/dist/components/ClusterHero/ClusterHeroPage.d.ts.map +1 -0
  83. package/dist/components/ClusterHero/ClusterHeroPage.js +189 -0
  84. package/dist/components/ClusterHero/ClusterRail.d.ts +13 -0
  85. package/dist/components/ClusterHero/ClusterRail.d.ts.map +1 -0
  86. package/dist/components/ClusterHero/ClusterRail.js +84 -0
  87. package/dist/components/ClusterHero/GradientVeil.d.ts +11 -0
  88. package/dist/components/ClusterHero/GradientVeil.d.ts.map +1 -0
  89. package/dist/components/ClusterHero/GradientVeil.js +22 -0
  90. package/dist/components/ClusterHero/HeroContent.d.ts +14 -0
  91. package/dist/components/ClusterHero/HeroContent.d.ts.map +1 -0
  92. package/dist/components/ClusterHero/HeroContent.js +49 -0
  93. package/dist/components/ClusterHero/LiveStrip.d.ts +8 -0
  94. package/dist/components/ClusterHero/LiveStrip.d.ts.map +1 -0
  95. package/dist/components/ClusterHero/LiveStrip.js +26 -0
  96. package/dist/components/ClusterHero/ScrollIndicator.d.ts +10 -0
  97. package/dist/components/ClusterHero/ScrollIndicator.d.ts.map +1 -0
  98. package/dist/components/ClusterHero/ScrollIndicator.js +18 -0
  99. package/dist/components/ClusterHero/SigilMonument.d.ts +13 -0
  100. package/dist/components/ClusterHero/SigilMonument.d.ts.map +1 -0
  101. package/dist/components/ClusterHero/SigilMonument.js +87 -0
  102. package/dist/components/ClusterHero/StructuralElements.d.ts +8 -0
  103. package/dist/components/ClusterHero/StructuralElements.d.ts.map +1 -0
  104. package/dist/components/ClusterHero/StructuralElements.js +47 -0
  105. package/dist/components/ClusterHero/VideoBackground.d.ts +37 -0
  106. package/dist/components/ClusterHero/VideoBackground.d.ts.map +1 -0
  107. package/dist/components/ClusterHero/VideoBackground.js +135 -0
  108. package/dist/components/ClusterHero/config.d.ts +20 -0
  109. package/dist/components/ClusterHero/config.d.ts.map +1 -0
  110. package/dist/components/ClusterHero/config.js +289 -0
  111. package/dist/components/ClusterHero/index.d.ts +17 -0
  112. package/dist/components/ClusterHero/index.d.ts.map +1 -0
  113. package/dist/components/ClusterHero/index.js +20 -0
  114. package/dist/components/ClusterHero/sections/CTASection.d.ts +14 -0
  115. package/dist/components/ClusterHero/sections/CTASection.d.ts.map +1 -0
  116. package/dist/components/ClusterHero/sections/CTASection.js +105 -0
  117. package/dist/components/ClusterHero/sections/ClusterStatsSection.d.ts +11 -0
  118. package/dist/components/ClusterHero/sections/ClusterStatsSection.d.ts.map +1 -0
  119. package/dist/components/ClusterHero/sections/ClusterStatsSection.js +121 -0
  120. package/dist/components/ClusterHero/sections/FeatureCardsSection.d.ts +15 -0
  121. package/dist/components/ClusterHero/sections/FeatureCardsSection.d.ts.map +1 -0
  122. package/dist/components/ClusterHero/sections/FeatureCardsSection.js +187 -0
  123. package/dist/components/ClusterHero/sections/index.d.ts +4 -0
  124. package/dist/components/ClusterHero/sections/index.d.ts.map +1 -0
  125. package/dist/components/ClusterHero/sections/index.js +3 -0
  126. package/dist/components/ClusterHero/types.d.ts +111 -0
  127. package/dist/components/ClusterHero/types.d.ts.map +1 -0
  128. package/dist/components/ClusterHero/types.js +1 -0
  129. package/dist/components/ClusterHero/useVideoPreload.d.ts +28 -0
  130. package/dist/components/ClusterHero/useVideoPreload.d.ts.map +1 -0
  131. package/dist/components/ClusterHero/useVideoPreload.js +60 -0
  132. package/dist/components/PlaySession.d.ts +48 -0
  133. package/dist/components/PlaySession.d.ts.map +1 -0
  134. package/dist/components/PlaySession.js +51 -0
  135. package/dist/components/SyncDocument.d.ts +50 -0
  136. package/dist/components/SyncDocument.d.ts.map +1 -0
  137. package/dist/components/SyncDocument.js +37 -0
  138. package/dist/components/index.d.ts +9 -0
  139. package/dist/components/index.d.ts.map +1 -0
  140. package/dist/components/index.js +8 -0
  141. package/dist/core.d.ts +19 -0
  142. package/dist/core.d.ts.map +1 -0
  143. package/dist/core.js +24 -0
  144. package/dist/desktop/components/desktop/Desktop.d.ts +49 -0
  145. package/dist/desktop/components/desktop/Desktop.d.ts.map +1 -0
  146. package/dist/desktop/components/desktop/Desktop.js +110 -0
  147. package/dist/desktop/components/desktop/DesktopIcon.d.ts +52 -0
  148. package/dist/desktop/components/desktop/DesktopIcon.d.ts.map +1 -0
  149. package/dist/desktop/components/desktop/DesktopIcon.js +185 -0
  150. package/dist/desktop/components/desktop/SnapZoneOverlay.d.ts +68 -0
  151. package/dist/desktop/components/desktop/SnapZoneOverlay.d.ts.map +1 -0
  152. package/dist/desktop/components/desktop/SnapZoneOverlay.js +138 -0
  153. package/dist/desktop/components/desktop/index.d.ts +9 -0
  154. package/dist/desktop/components/desktop/index.d.ts.map +1 -0
  155. package/dist/desktop/components/desktop/index.js +8 -0
  156. package/dist/desktop/components/index.d.ts +11 -0
  157. package/dist/desktop/components/index.d.ts.map +1 -0
  158. package/dist/desktop/components/index.js +13 -0
  159. package/dist/desktop/components/shell/Clock.d.ts +35 -0
  160. package/dist/desktop/components/shell/Clock.d.ts.map +1 -0
  161. package/dist/desktop/components/shell/Clock.js +159 -0
  162. package/dist/desktop/components/shell/ContextMenu.d.ts +44 -0
  163. package/dist/desktop/components/shell/ContextMenu.d.ts.map +1 -0
  164. package/dist/desktop/components/shell/ContextMenu.js +158 -0
  165. package/dist/desktop/components/shell/Taskbar.d.ts +111 -0
  166. package/dist/desktop/components/shell/Taskbar.d.ts.map +1 -0
  167. package/dist/desktop/components/shell/Taskbar.js +182 -0
  168. package/dist/desktop/components/shell/TaskbarButton.d.ts +54 -0
  169. package/dist/desktop/components/shell/TaskbarButton.d.ts.map +1 -0
  170. package/dist/desktop/components/shell/TaskbarButton.js +116 -0
  171. package/dist/desktop/components/shell/index.d.ts +31 -0
  172. package/dist/desktop/components/shell/index.d.ts.map +1 -0
  173. package/dist/desktop/components/shell/index.js +31 -0
  174. package/dist/desktop/components/window/Window.d.ts +122 -0
  175. package/dist/desktop/components/window/Window.d.ts.map +1 -0
  176. package/dist/desktop/components/window/Window.js +416 -0
  177. package/dist/desktop/components/window/WindowTitlebar.d.ts +71 -0
  178. package/dist/desktop/components/window/WindowTitlebar.d.ts.map +1 -0
  179. package/dist/desktop/components/window/WindowTitlebar.js +191 -0
  180. package/dist/desktop/components/window/index.d.ts +10 -0
  181. package/dist/desktop/components/window/index.d.ts.map +1 -0
  182. package/dist/desktop/components/window/index.js +9 -0
  183. package/dist/desktop/core/desktop/index.d.ts +6 -0
  184. package/dist/desktop/core/desktop/index.d.ts.map +1 -0
  185. package/dist/desktop/core/desktop/index.js +5 -0
  186. package/dist/desktop/core/desktop/types.d.ts +185 -0
  187. package/dist/desktop/core/desktop/types.d.ts.map +1 -0
  188. package/dist/desktop/core/desktop/types.js +6 -0
  189. package/dist/desktop/core/desktop/useSnapZones.d.ts +52 -0
  190. package/dist/desktop/core/desktop/useSnapZones.d.ts.map +1 -0
  191. package/dist/desktop/core/desktop/useSnapZones.js +128 -0
  192. package/dist/desktop/core/index.d.ts +10 -0
  193. package/dist/desktop/core/index.d.ts.map +1 -0
  194. package/dist/desktop/core/index.js +9 -0
  195. package/dist/desktop/core/shell/index.d.ts +6 -0
  196. package/dist/desktop/core/shell/index.d.ts.map +1 -0
  197. package/dist/desktop/core/shell/index.js +5 -0
  198. package/dist/desktop/core/shell/types.d.ts +169 -0
  199. package/dist/desktop/core/shell/types.d.ts.map +1 -0
  200. package/dist/desktop/core/shell/types.js +6 -0
  201. package/dist/desktop/core/shell/useTaskbar.d.ts +65 -0
  202. package/dist/desktop/core/shell/useTaskbar.d.ts.map +1 -0
  203. package/dist/desktop/core/shell/useTaskbar.js +221 -0
  204. package/dist/desktop/core/window/index.d.ts +6 -0
  205. package/dist/desktop/core/window/index.d.ts.map +1 -0
  206. package/dist/desktop/core/window/index.js +5 -0
  207. package/dist/desktop/core/window/types.d.ts +167 -0
  208. package/dist/desktop/core/window/types.d.ts.map +1 -0
  209. package/dist/desktop/core/window/types.js +7 -0
  210. package/dist/desktop/core/window/useWindowManager.d.ts +165 -0
  211. package/dist/desktop/core/window/useWindowManager.d.ts.map +1 -0
  212. package/dist/desktop/core/window/useWindowManager.js +953 -0
  213. package/dist/desktop/index.d.ts +40 -0
  214. package/dist/desktop/index.d.ts.map +1 -0
  215. package/dist/desktop/index.js +50 -0
  216. package/dist/desktop/providers/DesktopOSProvider.d.ts +93 -0
  217. package/dist/desktop/providers/DesktopOSProvider.d.ts.map +1 -0
  218. package/dist/desktop/providers/DesktopOSProvider.js +246 -0
  219. package/dist/desktop/providers/ThemeProvider.d.ts +51 -0
  220. package/dist/desktop/providers/ThemeProvider.d.ts.map +1 -0
  221. package/dist/desktop/providers/ThemeProvider.js +93 -0
  222. package/dist/desktop/providers/index.d.ts +6 -0
  223. package/dist/desktop/providers/index.d.ts.map +1 -0
  224. package/dist/desktop/providers/index.js +5 -0
  225. package/dist/desktop/themes/default.d.ts +18 -0
  226. package/dist/desktop/themes/default.d.ts.map +1 -0
  227. package/dist/desktop/themes/default.js +90 -0
  228. package/dist/desktop/themes/index.d.ts +6 -0
  229. package/dist/desktop/themes/index.d.ts.map +1 -0
  230. package/dist/desktop/themes/index.js +5 -0
  231. package/dist/desktop/themes/types.d.ts +147 -0
  232. package/dist/desktop/themes/types.d.ts.map +1 -0
  233. package/dist/desktop/themes/types.js +71 -0
  234. package/dist/emotion/constants.d.ts +35 -0
  235. package/dist/emotion/constants.d.ts.map +1 -0
  236. package/dist/emotion/constants.js +86 -0
  237. package/dist/emotion/controller.d.ts +97 -0
  238. package/dist/emotion/controller.d.ts.map +1 -0
  239. package/dist/emotion/controller.js +203 -0
  240. package/dist/emotion/hooks/index.d.ts +3 -0
  241. package/dist/emotion/hooks/index.d.ts.map +1 -0
  242. package/dist/emotion/hooks/index.js +2 -0
  243. package/dist/emotion/hooks/useEmotion.d.ts +60 -0
  244. package/dist/emotion/hooks/useEmotion.d.ts.map +1 -0
  245. package/dist/emotion/hooks/useEmotion.js +121 -0
  246. package/dist/emotion/index.d.ts +10 -0
  247. package/dist/emotion/index.d.ts.map +1 -0
  248. package/dist/emotion/index.js +13 -0
  249. package/dist/emotion/mapping.d.ts +55 -0
  250. package/dist/emotion/mapping.d.ts.map +1 -0
  251. package/dist/emotion/mapping.js +118 -0
  252. package/dist/emotion/micro-expressions.d.ts +19 -0
  253. package/dist/emotion/micro-expressions.d.ts.map +1 -0
  254. package/dist/emotion/micro-expressions.js +75 -0
  255. package/dist/emotion/transitions.d.ts +29 -0
  256. package/dist/emotion/transitions.d.ts.map +1 -0
  257. package/dist/emotion/transitions.js +74 -0
  258. package/dist/emotion/types.d.ts +84 -0
  259. package/dist/emotion/types.d.ts.map +1 -0
  260. package/dist/emotion/types.js +2 -0
  261. package/dist/hooks/index.d.ts +9 -0
  262. package/dist/hooks/index.d.ts.map +1 -0
  263. package/dist/hooks/index.js +8 -0
  264. package/dist/hooks/useAgentRun.d.ts +36 -0
  265. package/dist/hooks/useAgentRun.d.ts.map +1 -0
  266. package/dist/hooks/useAgentRun.js +140 -0
  267. package/dist/hooks/useIntensity.d.ts +33 -0
  268. package/dist/hooks/useIntensity.d.ts.map +1 -0
  269. package/dist/hooks/useIntensity.js +128 -0
  270. package/dist/hooks/usePlaySession.d.ts +50 -0
  271. package/dist/hooks/usePlaySession.d.ts.map +1 -0
  272. package/dist/hooks/usePlaySession.js +208 -0
  273. package/dist/hooks/useRunStream.d.ts +39 -0
  274. package/dist/hooks/useRunStream.d.ts.map +1 -0
  275. package/dist/hooks/useRunStream.js +230 -0
  276. package/dist/hooks/useSync.d.ts +50 -0
  277. package/dist/hooks/useSync.d.ts.map +1 -0
  278. package/dist/hooks/useSync.js +336 -0
  279. package/dist/index.d.ts +23 -0
  280. package/dist/index.d.ts.map +1 -0
  281. package/dist/index.js +52 -0
  282. package/dist/lib/motion.d.ts +30 -0
  283. package/dist/lib/motion.d.ts.map +1 -0
  284. package/dist/lib/motion.js +21 -0
  285. package/dist/lib/utils.d.ts +35 -0
  286. package/dist/lib/utils.d.ts.map +1 -0
  287. package/dist/lib/utils.js +102 -0
  288. package/dist/primitives/ambient/DustMotesLayer.d.ts +16 -0
  289. package/dist/primitives/ambient/DustMotesLayer.d.ts.map +1 -0
  290. package/dist/primitives/ambient/DustMotesLayer.js +93 -0
  291. package/dist/primitives/ambient/NebulaStarsLayer.d.ts +12 -0
  292. package/dist/primitives/ambient/NebulaStarsLayer.d.ts.map +1 -0
  293. package/dist/primitives/ambient/NebulaStarsLayer.js +99 -0
  294. package/dist/primitives/ambient/ThemedAmbientLayer.d.ts +15 -0
  295. package/dist/primitives/ambient/ThemedAmbientLayer.d.ts.map +1 -0
  296. package/dist/primitives/ambient/ThemedAmbientLayer.js +23 -0
  297. package/dist/primitives/ambient/index.d.ts +4 -0
  298. package/dist/primitives/ambient/index.d.ts.map +1 -0
  299. package/dist/primitives/ambient/index.js +3 -0
  300. package/dist/primitives/atoms/AuroraBackground/AuroraBackground.d.ts +8 -0
  301. package/dist/primitives/atoms/AuroraBackground/AuroraBackground.d.ts.map +1 -0
  302. package/dist/primitives/atoms/AuroraBackground/AuroraBackground.js +16 -0
  303. package/dist/primitives/atoms/AuroraBackground/index.d.ts +2 -0
  304. package/dist/primitives/atoms/AuroraBackground/index.d.ts.map +1 -0
  305. package/dist/primitives/atoms/AuroraBackground/index.js +1 -0
  306. package/dist/primitives/atoms/GlitchText/GlitchText.d.ts +9 -0
  307. package/dist/primitives/atoms/GlitchText/GlitchText.d.ts.map +1 -0
  308. package/dist/primitives/atoms/GlitchText/GlitchText.js +46 -0
  309. package/dist/primitives/atoms/GlitchText/index.d.ts +2 -0
  310. package/dist/primitives/atoms/GlitchText/index.d.ts.map +1 -0
  311. package/dist/primitives/atoms/GlitchText/index.js +1 -0
  312. package/dist/primitives/atoms/GlowButton/GlowButton.d.ts +19 -0
  313. package/dist/primitives/atoms/GlowButton/GlowButton.d.ts.map +1 -0
  314. package/dist/primitives/atoms/GlowButton/GlowButton.js +59 -0
  315. package/dist/primitives/atoms/GlowButton/index.d.ts +2 -0
  316. package/dist/primitives/atoms/GlowButton/index.d.ts.map +1 -0
  317. package/dist/primitives/atoms/GlowButton/index.js +1 -0
  318. package/dist/primitives/atoms/GlowInput/GlowInput.d.ts +25 -0
  319. package/dist/primitives/atoms/GlowInput/GlowInput.d.ts.map +1 -0
  320. package/dist/primitives/atoms/GlowInput/GlowInput.js +55 -0
  321. package/dist/primitives/atoms/GlowInput/index.d.ts +2 -0
  322. package/dist/primitives/atoms/GlowInput/index.d.ts.map +1 -0
  323. package/dist/primitives/atoms/GlowInput/index.js +1 -0
  324. package/dist/primitives/atoms/HUDProgressRing/HUDProgressRing.d.ts +27 -0
  325. package/dist/primitives/atoms/HUDProgressRing/HUDProgressRing.d.ts.map +1 -0
  326. package/dist/primitives/atoms/HUDProgressRing/HUDProgressRing.js +71 -0
  327. package/dist/primitives/atoms/HUDProgressRing/index.d.ts +2 -0
  328. package/dist/primitives/atoms/HUDProgressRing/index.d.ts.map +1 -0
  329. package/dist/primitives/atoms/HUDProgressRing/index.js +1 -0
  330. package/dist/primitives/atoms/IconPulse/IconPulse.d.ts +25 -0
  331. package/dist/primitives/atoms/IconPulse/IconPulse.d.ts.map +1 -0
  332. package/dist/primitives/atoms/IconPulse/IconPulse.js +111 -0
  333. package/dist/primitives/atoms/IconPulse/index.d.ts +2 -0
  334. package/dist/primitives/atoms/IconPulse/index.d.ts.map +1 -0
  335. package/dist/primitives/atoms/IconPulse/index.js +1 -0
  336. package/dist/primitives/atoms/PixelCanvas/PixelCanvas.d.ts +17 -0
  337. package/dist/primitives/atoms/PixelCanvas/PixelCanvas.d.ts.map +1 -0
  338. package/dist/primitives/atoms/PixelCanvas/PixelCanvas.js +340 -0
  339. package/dist/primitives/atoms/PixelCanvas/index.d.ts +2 -0
  340. package/dist/primitives/atoms/PixelCanvas/index.d.ts.map +1 -0
  341. package/dist/primitives/atoms/PixelCanvas/index.js +1 -0
  342. package/dist/primitives/atoms/StatBadge/StatBadge.d.ts +26 -0
  343. package/dist/primitives/atoms/StatBadge/StatBadge.d.ts.map +1 -0
  344. package/dist/primitives/atoms/StatBadge/StatBadge.js +73 -0
  345. package/dist/primitives/atoms/StatBadge/index.d.ts +2 -0
  346. package/dist/primitives/atoms/StatBadge/index.d.ts.map +1 -0
  347. package/dist/primitives/atoms/StatBadge/index.js +1 -0
  348. package/dist/primitives/atoms/TextGenerateEffect/TextGenerateEffect.d.ts +7 -0
  349. package/dist/primitives/atoms/TextGenerateEffect/TextGenerateEffect.d.ts.map +1 -0
  350. package/dist/primitives/atoms/TextGenerateEffect/TextGenerateEffect.js +26 -0
  351. package/dist/primitives/atoms/TextGenerateEffect/index.d.ts +2 -0
  352. package/dist/primitives/atoms/TextGenerateEffect/index.d.ts.map +1 -0
  353. package/dist/primitives/atoms/TextGenerateEffect/index.js +1 -0
  354. package/dist/primitives/atoms/TypingAnimation/TypingAnimation.d.ts +20 -0
  355. package/dist/primitives/atoms/TypingAnimation/TypingAnimation.d.ts.map +1 -0
  356. package/dist/primitives/atoms/TypingAnimation/TypingAnimation.js +84 -0
  357. package/dist/primitives/atoms/TypingAnimation/index.d.ts +2 -0
  358. package/dist/primitives/atoms/TypingAnimation/index.d.ts.map +1 -0
  359. package/dist/primitives/atoms/TypingAnimation/index.js +1 -0
  360. package/dist/primitives/atoms/VoiceCaptions/VoiceCaptions.d.ts +16 -0
  361. package/dist/primitives/atoms/VoiceCaptions/VoiceCaptions.d.ts.map +1 -0
  362. package/dist/primitives/atoms/VoiceCaptions/VoiceCaptions.js +192 -0
  363. package/dist/primitives/atoms/VoiceCaptions/index.d.ts +3 -0
  364. package/dist/primitives/atoms/VoiceCaptions/index.d.ts.map +1 -0
  365. package/dist/primitives/atoms/VoiceCaptions/index.js +1 -0
  366. package/dist/primitives/atoms/index.d.ts +12 -0
  367. package/dist/primitives/atoms/index.d.ts.map +1 -0
  368. package/dist/primitives/atoms/index.js +12 -0
  369. package/dist/primitives/environment/AuroraLayer/AuroraLayer.d.ts +3 -0
  370. package/dist/primitives/environment/AuroraLayer/AuroraLayer.d.ts.map +1 -0
  371. package/dist/primitives/environment/AuroraLayer/AuroraLayer.js +158 -0
  372. package/dist/primitives/environment/AuroraLayer/index.d.ts +3 -0
  373. package/dist/primitives/environment/AuroraLayer/index.d.ts.map +1 -0
  374. package/dist/primitives/environment/AuroraLayer/index.js +1 -0
  375. package/dist/primitives/environment/AuroraLayer/types.d.ts +16 -0
  376. package/dist/primitives/environment/AuroraLayer/types.d.ts.map +1 -0
  377. package/dist/primitives/environment/AuroraLayer/types.js +12 -0
  378. package/dist/primitives/environment/EnvironmentLayer/EnvironmentLayer.d.ts +23 -0
  379. package/dist/primitives/environment/EnvironmentLayer/EnvironmentLayer.d.ts.map +1 -0
  380. package/dist/primitives/environment/EnvironmentLayer/EnvironmentLayer.js +25 -0
  381. package/dist/primitives/environment/EnvironmentLayer/index.d.ts +5 -0
  382. package/dist/primitives/environment/EnvironmentLayer/index.d.ts.map +1 -0
  383. package/dist/primitives/environment/EnvironmentLayer/index.js +2 -0
  384. package/dist/primitives/environment/EnvironmentLayer/presets.d.ts +13 -0
  385. package/dist/primitives/environment/EnvironmentLayer/presets.d.ts.map +1 -0
  386. package/dist/primitives/environment/EnvironmentLayer/presets.js +98 -0
  387. package/dist/primitives/environment/FogLayer/FogLayer.d.ts +3 -0
  388. package/dist/primitives/environment/FogLayer/FogLayer.d.ts.map +1 -0
  389. package/dist/primitives/environment/FogLayer/FogLayer.js +77 -0
  390. package/dist/primitives/environment/FogLayer/index.d.ts +3 -0
  391. package/dist/primitives/environment/FogLayer/index.d.ts.map +1 -0
  392. package/dist/primitives/environment/FogLayer/index.js +1 -0
  393. package/dist/primitives/environment/FogLayer/types.d.ts +17 -0
  394. package/dist/primitives/environment/FogLayer/types.d.ts.map +1 -0
  395. package/dist/primitives/environment/FogLayer/types.js +26 -0
  396. package/dist/primitives/environment/VolumetricLight/VolumetricLight.d.ts +3 -0
  397. package/dist/primitives/environment/VolumetricLight/VolumetricLight.d.ts.map +1 -0
  398. package/dist/primitives/environment/VolumetricLight/VolumetricLight.js +145 -0
  399. package/dist/primitives/environment/VolumetricLight/index.d.ts +3 -0
  400. package/dist/primitives/environment/VolumetricLight/index.d.ts.map +1 -0
  401. package/dist/primitives/environment/VolumetricLight/index.js +1 -0
  402. package/dist/primitives/environment/VolumetricLight/types.d.ts +22 -0
  403. package/dist/primitives/environment/VolumetricLight/types.d.ts.map +1 -0
  404. package/dist/primitives/environment/VolumetricLight/types.js +12 -0
  405. package/dist/primitives/environment/WeatherLayer/WeatherLayer.d.ts +3 -0
  406. package/dist/primitives/environment/WeatherLayer/WeatherLayer.d.ts.map +1 -0
  407. package/dist/primitives/environment/WeatherLayer/WeatherLayer.js +157 -0
  408. package/dist/primitives/environment/WeatherLayer/cinematicCanvas.d.ts +6 -0
  409. package/dist/primitives/environment/WeatherLayer/cinematicCanvas.d.ts.map +1 -0
  410. package/dist/primitives/environment/WeatherLayer/cinematicCanvas.js +625 -0
  411. package/dist/primitives/environment/WeatherLayer/colors.d.ts +10 -0
  412. package/dist/primitives/environment/WeatherLayer/colors.d.ts.map +1 -0
  413. package/dist/primitives/environment/WeatherLayer/colors.js +14 -0
  414. package/dist/primitives/environment/WeatherLayer/index.d.ts +5 -0
  415. package/dist/primitives/environment/WeatherLayer/index.d.ts.map +1 -0
  416. package/dist/primitives/environment/WeatherLayer/index.js +2 -0
  417. package/dist/primitives/environment/WeatherLayer/leafPresets.d.ts +11 -0
  418. package/dist/primitives/environment/WeatherLayer/leafPresets.d.ts.map +1 -0
  419. package/dist/primitives/environment/WeatherLayer/leafPresets.js +9 -0
  420. package/dist/primitives/environment/WeatherLayer/particles.d.ts +12 -0
  421. package/dist/primitives/environment/WeatherLayer/particles.d.ts.map +1 -0
  422. package/dist/primitives/environment/WeatherLayer/particles.js +174 -0
  423. package/dist/primitives/environment/WeatherLayer/types.d.ts +49 -0
  424. package/dist/primitives/environment/WeatherLayer/types.d.ts.map +1 -0
  425. package/dist/primitives/environment/WeatherLayer/types.js +92 -0
  426. package/dist/primitives/environment/index.d.ts +17 -0
  427. package/dist/primitives/environment/index.d.ts.map +1 -0
  428. package/dist/primitives/environment/index.js +16 -0
  429. package/dist/primitives/environment/shared/index.d.ts +3 -0
  430. package/dist/primitives/environment/shared/index.d.ts.map +1 -0
  431. package/dist/primitives/environment/shared/index.js +2 -0
  432. package/dist/primitives/environment/shared/noise.d.ts +2 -0
  433. package/dist/primitives/environment/shared/noise.d.ts.map +1 -0
  434. package/dist/primitives/environment/shared/noise.js +8 -0
  435. package/dist/primitives/environment/shared/performance.d.ts +4 -0
  436. package/dist/primitives/environment/shared/performance.d.ts.map +1 -0
  437. package/dist/primitives/environment/shared/performance.js +28 -0
  438. package/dist/primitives/environment/shared/types.d.ts +18 -0
  439. package/dist/primitives/environment/shared/types.d.ts.map +1 -0
  440. package/dist/primitives/environment/shared/types.js +6 -0
  441. package/dist/primitives/index.d.ts +20 -0
  442. package/dist/primitives/index.d.ts.map +1 -0
  443. package/dist/primitives/index.js +19 -0
  444. package/dist/primitives/molecules/KPIStat/KPIStat.d.ts +37 -0
  445. package/dist/primitives/molecules/KPIStat/KPIStat.d.ts.map +1 -0
  446. package/dist/primitives/molecules/KPIStat/KPIStat.js +84 -0
  447. package/dist/primitives/molecules/KPIStat/index.d.ts +2 -0
  448. package/dist/primitives/molecules/KPIStat/index.d.ts.map +1 -0
  449. package/dist/primitives/molecules/KPIStat/index.js +1 -0
  450. package/dist/primitives/molecules/NeonToast/NeonToast.d.ts +84 -0
  451. package/dist/primitives/molecules/NeonToast/NeonToast.d.ts.map +1 -0
  452. package/dist/primitives/molecules/NeonToast/NeonToast.js +110 -0
  453. package/dist/primitives/molecules/NeonToast/index.d.ts +2 -0
  454. package/dist/primitives/molecules/NeonToast/index.d.ts.map +1 -0
  455. package/dist/primitives/molecules/NeonToast/index.js +1 -0
  456. package/dist/primitives/molecules/ThreeDCard/ThreeDCard.d.ts +24 -0
  457. package/dist/primitives/molecules/ThreeDCard/ThreeDCard.d.ts.map +1 -0
  458. package/dist/primitives/molecules/ThreeDCard/ThreeDCard.js +67 -0
  459. package/dist/primitives/molecules/ThreeDCard/index.d.ts +2 -0
  460. package/dist/primitives/molecules/ThreeDCard/index.d.ts.map +1 -0
  461. package/dist/primitives/molecules/ThreeDCard/index.js +1 -0
  462. package/dist/primitives/molecules/index.d.ts +4 -0
  463. package/dist/primitives/molecules/index.d.ts.map +1 -0
  464. package/dist/primitives/molecules/index.js +4 -0
  465. package/dist/primitives/organisms/BentoGrid/BentoGrid.d.ts +13 -0
  466. package/dist/primitives/organisms/BentoGrid/BentoGrid.d.ts.map +1 -0
  467. package/dist/primitives/organisms/BentoGrid/BentoGrid.js +9 -0
  468. package/dist/primitives/organisms/BentoGrid/index.d.ts +2 -0
  469. package/dist/primitives/organisms/BentoGrid/index.d.ts.map +1 -0
  470. package/dist/primitives/organisms/BentoGrid/index.js +1 -0
  471. package/dist/primitives/organisms/CommandPalette/CommandPalette.d.ts +39 -0
  472. package/dist/primitives/organisms/CommandPalette/CommandPalette.d.ts.map +1 -0
  473. package/dist/primitives/organisms/CommandPalette/CommandPalette.js +185 -0
  474. package/dist/primitives/organisms/CommandPalette/index.d.ts +2 -0
  475. package/dist/primitives/organisms/CommandPalette/index.d.ts.map +1 -0
  476. package/dist/primitives/organisms/CommandPalette/index.js +1 -0
  477. package/dist/primitives/organisms/Glass/GlassPanel.d.ts +46 -0
  478. package/dist/primitives/organisms/Glass/GlassPanel.d.ts.map +1 -0
  479. package/dist/primitives/organisms/Glass/GlassPanel.js +124 -0
  480. package/dist/primitives/organisms/Glass/index.d.ts +3 -0
  481. package/dist/primitives/organisms/Glass/index.d.ts.map +1 -0
  482. package/dist/primitives/organisms/Glass/index.js +1 -0
  483. package/dist/primitives/organisms/index.d.ts +4 -0
  484. package/dist/primitives/organisms/index.d.ts.map +1 -0
  485. package/dist/primitives/organisms/index.js +4 -0
  486. package/dist/primitives/three/AgentConsole/AgentConsole.d.ts +3 -0
  487. package/dist/primitives/three/AgentConsole/AgentConsole.d.ts.map +1 -0
  488. package/dist/primitives/three/AgentConsole/AgentConsole.js +40 -0
  489. package/dist/primitives/three/AgentConsole/ConsoleChat.d.ts +3 -0
  490. package/dist/primitives/three/AgentConsole/ConsoleChat.d.ts.map +1 -0
  491. package/dist/primitives/three/AgentConsole/ConsoleChat.js +74 -0
  492. package/dist/primitives/three/AgentConsole/FocusConstellation.d.ts +3 -0
  493. package/dist/primitives/three/AgentConsole/FocusConstellation.d.ts.map +1 -0
  494. package/dist/primitives/three/AgentConsole/FocusConstellation.js +111 -0
  495. package/dist/primitives/three/AgentConsole/GlyphAvatar.d.ts +3 -0
  496. package/dist/primitives/three/AgentConsole/GlyphAvatar.d.ts.map +1 -0
  497. package/dist/primitives/three/AgentConsole/GlyphAvatar.js +80 -0
  498. package/dist/primitives/three/AgentConsole/QuickActions.d.ts +3 -0
  499. package/dist/primitives/three/AgentConsole/QuickActions.d.ts.map +1 -0
  500. package/dist/primitives/three/AgentConsole/QuickActions.js +43 -0
  501. package/dist/primitives/three/AgentConsole/index.d.ts +14 -0
  502. package/dist/primitives/three/AgentConsole/index.d.ts.map +1 -0
  503. package/dist/primitives/three/AgentConsole/index.js +15 -0
  504. package/dist/primitives/three/AgentConsole/types.d.ts +155 -0
  505. package/dist/primitives/three/AgentConsole/types.d.ts.map +1 -0
  506. package/dist/primitives/three/AgentConsole/types.js +38 -0
  507. package/dist/primitives/three/AmbientField/AmbientField.d.ts +32 -0
  508. package/dist/primitives/three/AmbientField/AmbientField.d.ts.map +1 -0
  509. package/dist/primitives/three/AmbientField/AmbientField.js +156 -0
  510. package/dist/primitives/three/AmbientField/BackbayFieldBus.d.ts +10 -0
  511. package/dist/primitives/three/AmbientField/BackbayFieldBus.d.ts.map +1 -0
  512. package/dist/primitives/three/AmbientField/BackbayFieldBus.js +264 -0
  513. package/dist/primitives/three/AmbientField/FieldProvider.d.ts +21 -0
  514. package/dist/primitives/three/AmbientField/FieldProvider.d.ts.map +1 -0
  515. package/dist/primitives/three/AmbientField/FieldProvider.js +48 -0
  516. package/dist/primitives/three/AmbientField/index.d.ts +12 -0
  517. package/dist/primitives/three/AmbientField/index.d.ts.map +1 -0
  518. package/dist/primitives/three/AmbientField/index.js +8 -0
  519. package/dist/primitives/three/AmbientField/shaders/constellation.d.ts +17 -0
  520. package/dist/primitives/three/AmbientField/shaders/constellation.d.ts.map +1 -0
  521. package/dist/primitives/three/AmbientField/shaders/constellation.js +359 -0
  522. package/dist/primitives/three/AmbientField/types.d.ts +157 -0
  523. package/dist/primitives/three/AmbientField/types.d.ts.map +1 -0
  524. package/dist/primitives/three/AmbientField/types.js +20 -0
  525. package/dist/primitives/three/AttackGraph/AttackGraph.d.ts +3 -0
  526. package/dist/primitives/three/AttackGraph/AttackGraph.d.ts.map +1 -0
  527. package/dist/primitives/three/AttackGraph/AttackGraph.js +159 -0
  528. package/dist/primitives/three/AttackGraph/index.d.ts +14 -0
  529. package/dist/primitives/three/AttackGraph/index.d.ts.map +1 -0
  530. package/dist/primitives/three/AttackGraph/index.js +12 -0
  531. package/dist/primitives/three/AttackGraph/types.d.ts +42 -0
  532. package/dist/primitives/three/AttackGraph/types.d.ts.map +1 -0
  533. package/dist/primitives/three/AttackGraph/types.js +46 -0
  534. package/dist/primitives/three/AuditTrail/AuditTrail.d.ts +6 -0
  535. package/dist/primitives/three/AuditTrail/AuditTrail.d.ts.map +1 -0
  536. package/dist/primitives/three/AuditTrail/AuditTrail.js +294 -0
  537. package/dist/primitives/three/AuditTrail/index.d.ts +21 -0
  538. package/dist/primitives/three/AuditTrail/index.d.ts.map +1 -0
  539. package/dist/primitives/three/AuditTrail/index.js +19 -0
  540. package/dist/primitives/three/AuditTrail/types.d.ts +113 -0
  541. package/dist/primitives/three/AuditTrail/types.d.ts.map +1 -0
  542. package/dist/primitives/three/AuditTrail/types.js +78 -0
  543. package/dist/primitives/three/CrystallineOrganism/Breadcrumb.d.ts +8 -0
  544. package/dist/primitives/three/CrystallineOrganism/Breadcrumb.d.ts.map +1 -0
  545. package/dist/primitives/three/CrystallineOrganism/Breadcrumb.js +20 -0
  546. package/dist/primitives/three/CrystallineOrganism/CrystallineOrganism.d.ts +12 -0
  547. package/dist/primitives/three/CrystallineOrganism/CrystallineOrganism.d.ts.map +1 -0
  548. package/dist/primitives/three/CrystallineOrganism/CrystallineOrganism.js +143 -0
  549. package/dist/primitives/three/CrystallineOrganism/LatticeEdge.d.ts +8 -0
  550. package/dist/primitives/three/CrystallineOrganism/LatticeEdge.d.ts.map +1 -0
  551. package/dist/primitives/three/CrystallineOrganism/LatticeEdge.js +46 -0
  552. package/dist/primitives/three/CrystallineOrganism/OrganismLattice.d.ts +8 -0
  553. package/dist/primitives/three/CrystallineOrganism/OrganismLattice.d.ts.map +1 -0
  554. package/dist/primitives/three/CrystallineOrganism/OrganismLattice.js +100 -0
  555. package/dist/primitives/three/CrystallineOrganism/OrganismParticles.d.ts +9 -0
  556. package/dist/primitives/three/CrystallineOrganism/OrganismParticles.d.ts.map +1 -0
  557. package/dist/primitives/three/CrystallineOrganism/OrganismParticles.js +97 -0
  558. package/dist/primitives/three/CrystallineOrganism/OrganismShell.d.ts +9 -0
  559. package/dist/primitives/three/CrystallineOrganism/OrganismShell.d.ts.map +1 -0
  560. package/dist/primitives/three/CrystallineOrganism/OrganismShell.js +110 -0
  561. package/dist/primitives/three/CrystallineOrganism/constants.d.ts +84 -0
  562. package/dist/primitives/three/CrystallineOrganism/constants.d.ts.map +1 -0
  563. package/dist/primitives/three/CrystallineOrganism/constants.js +128 -0
  564. package/dist/primitives/three/CrystallineOrganism/index.d.ts +17 -0
  565. package/dist/primitives/three/CrystallineOrganism/index.d.ts.map +1 -0
  566. package/dist/primitives/three/CrystallineOrganism/index.js +16 -0
  567. package/dist/primitives/three/CrystallineOrganism/layouts/hexGrid.d.ts +19 -0
  568. package/dist/primitives/three/CrystallineOrganism/layouts/hexGrid.d.ts.map +1 -0
  569. package/dist/primitives/three/CrystallineOrganism/layouts/hexGrid.js +71 -0
  570. package/dist/primitives/three/CrystallineOrganism/layouts/index.d.ts +2 -0
  571. package/dist/primitives/three/CrystallineOrganism/layouts/index.d.ts.map +1 -0
  572. package/dist/primitives/three/CrystallineOrganism/layouts/index.js +1 -0
  573. package/dist/primitives/three/CrystallineOrganism/types.d.ts +100 -0
  574. package/dist/primitives/three/CrystallineOrganism/types.d.ts.map +1 -0
  575. package/dist/primitives/three/CrystallineOrganism/types.js +18 -0
  576. package/dist/primitives/three/CrystallineOrganism/useOrganismEmotion.d.ts +31 -0
  577. package/dist/primitives/three/CrystallineOrganism/useOrganismEmotion.d.ts.map +1 -0
  578. package/dist/primitives/three/CrystallineOrganism/useOrganismEmotion.js +59 -0
  579. package/dist/primitives/three/FirewallBarrier/FirewallBarrier.d.ts +3 -0
  580. package/dist/primitives/three/FirewallBarrier/FirewallBarrier.d.ts.map +1 -0
  581. package/dist/primitives/three/FirewallBarrier/FirewallBarrier.js +101 -0
  582. package/dist/primitives/three/FirewallBarrier/index.d.ts +14 -0
  583. package/dist/primitives/three/FirewallBarrier/index.d.ts.map +1 -0
  584. package/dist/primitives/three/FirewallBarrier/index.js +12 -0
  585. package/dist/primitives/three/FirewallBarrier/types.d.ts +41 -0
  586. package/dist/primitives/three/FirewallBarrier/types.d.ts.map +1 -0
  587. package/dist/primitives/three/FirewallBarrier/types.js +14 -0
  588. package/dist/primitives/three/Glyph/GlyphObject.d.ts +3 -0
  589. package/dist/primitives/three/Glyph/GlyphObject.d.ts.map +1 -0
  590. package/dist/primitives/three/Glyph/GlyphObject.js +311 -0
  591. package/dist/primitives/three/Glyph/index.d.ts +10 -0
  592. package/dist/primitives/three/Glyph/index.d.ts.map +1 -0
  593. package/dist/primitives/three/Glyph/index.js +9 -0
  594. package/dist/primitives/three/Glyph/types.d.ts +33 -0
  595. package/dist/primitives/three/Glyph/types.d.ts.map +1 -0
  596. package/dist/primitives/three/Glyph/types.js +1 -0
  597. package/dist/primitives/three/Glyph/useGlyphController.d.ts +24 -0
  598. package/dist/primitives/three/Glyph/useGlyphController.d.ts.map +1 -0
  599. package/dist/primitives/three/Glyph/useGlyphController.js +182 -0
  600. package/dist/primitives/three/Glyph/useGlyphEmotion.d.ts +26 -0
  601. package/dist/primitives/three/Glyph/useGlyphEmotion.d.ts.map +1 -0
  602. package/dist/primitives/three/Glyph/useGlyphEmotion.js +44 -0
  603. package/dist/primitives/three/Graph3D/Graph3D.d.ts +25 -0
  604. package/dist/primitives/three/Graph3D/Graph3D.d.ts.map +1 -0
  605. package/dist/primitives/three/Graph3D/Graph3D.js +120 -0
  606. package/dist/primitives/three/Graph3D/GraphEdge.d.ts +12 -0
  607. package/dist/primitives/three/Graph3D/GraphEdge.d.ts.map +1 -0
  608. package/dist/primitives/three/Graph3D/GraphEdge.js +45 -0
  609. package/dist/primitives/three/Graph3D/GraphNode.d.ts +17 -0
  610. package/dist/primitives/three/Graph3D/GraphNode.d.ts.map +1 -0
  611. package/dist/primitives/three/Graph3D/GraphNode.js +104 -0
  612. package/dist/primitives/three/Graph3D/types.d.ts +62 -0
  613. package/dist/primitives/three/Graph3D/types.d.ts.map +1 -0
  614. package/dist/primitives/three/Graph3D/types.js +1 -0
  615. package/dist/primitives/three/Graph3D/utils.d.ts +10 -0
  616. package/dist/primitives/three/Graph3D/utils.d.ts.map +1 -0
  617. package/dist/primitives/three/Graph3D/utils.js +145 -0
  618. package/dist/primitives/three/IntelFeed/IntelFeed.d.ts +3 -0
  619. package/dist/primitives/three/IntelFeed/IntelFeed.d.ts.map +1 -0
  620. package/dist/primitives/three/IntelFeed/IntelFeed.js +130 -0
  621. package/dist/primitives/three/IntelFeed/index.d.ts +14 -0
  622. package/dist/primitives/three/IntelFeed/index.d.ts.map +1 -0
  623. package/dist/primitives/three/IntelFeed/index.js +12 -0
  624. package/dist/primitives/three/IntelFeed/types.d.ts +42 -0
  625. package/dist/primitives/three/IntelFeed/types.d.ts.map +1 -0
  626. package/dist/primitives/three/IntelFeed/types.js +20 -0
  627. package/dist/primitives/three/NetworkTopology/NetworkTopology.d.ts +3 -0
  628. package/dist/primitives/three/NetworkTopology/NetworkTopology.d.ts.map +1 -0
  629. package/dist/primitives/three/NetworkTopology/NetworkTopology.js +208 -0
  630. package/dist/primitives/three/NetworkTopology/index.d.ts +20 -0
  631. package/dist/primitives/three/NetworkTopology/index.d.ts.map +1 -0
  632. package/dist/primitives/three/NetworkTopology/index.js +18 -0
  633. package/dist/primitives/three/NetworkTopology/types.d.ts +59 -0
  634. package/dist/primitives/three/NetworkTopology/types.d.ts.map +1 -0
  635. package/dist/primitives/three/NetworkTopology/types.js +56 -0
  636. package/dist/primitives/three/ParticleField/ParticleField.d.ts +8 -0
  637. package/dist/primitives/three/ParticleField/ParticleField.d.ts.map +1 -0
  638. package/dist/primitives/three/ParticleField/ParticleField.js +44 -0
  639. package/dist/primitives/three/ParticleField/index.d.ts +2 -0
  640. package/dist/primitives/three/ParticleField/index.d.ts.map +1 -0
  641. package/dist/primitives/three/ParticleField/index.js +1 -0
  642. package/dist/primitives/three/PermissionMatrix/PermissionMatrix.d.ts +14 -0
  643. package/dist/primitives/three/PermissionMatrix/PermissionMatrix.d.ts.map +1 -0
  644. package/dist/primitives/three/PermissionMatrix/PermissionMatrix.js +99 -0
  645. package/dist/primitives/three/PermissionMatrix/index.d.ts +10 -0
  646. package/dist/primitives/three/PermissionMatrix/index.d.ts.map +1 -0
  647. package/dist/primitives/three/PermissionMatrix/index.js +8 -0
  648. package/dist/primitives/three/PermissionMatrix/types.d.ts +44 -0
  649. package/dist/primitives/three/PermissionMatrix/types.d.ts.map +1 -0
  650. package/dist/primitives/three/PermissionMatrix/types.js +12 -0
  651. package/dist/primitives/three/QuantumField/ConstellationField.d.ts +9 -0
  652. package/dist/primitives/three/QuantumField/ConstellationField.d.ts.map +1 -0
  653. package/dist/primitives/three/QuantumField/ConstellationField.js +185 -0
  654. package/dist/primitives/three/QuantumField/FieldBus.d.ts +34 -0
  655. package/dist/primitives/three/QuantumField/FieldBus.d.ts.map +1 -0
  656. package/dist/primitives/three/QuantumField/FieldBus.js +278 -0
  657. package/dist/primitives/three/QuantumField/FieldLayer.d.ts +22 -0
  658. package/dist/primitives/three/QuantumField/FieldLayer.d.ts.map +1 -0
  659. package/dist/primitives/three/QuantumField/FieldLayer.js +307 -0
  660. package/dist/primitives/three/QuantumField/FieldProvider.d.ts +75 -0
  661. package/dist/primitives/three/QuantumField/FieldProvider.d.ts.map +1 -0
  662. package/dist/primitives/three/QuantumField/FieldProvider.js +313 -0
  663. package/dist/primitives/three/QuantumField/PcbField.d.ts +18 -0
  664. package/dist/primitives/three/QuantumField/PcbField.d.ts.map +1 -0
  665. package/dist/primitives/three/QuantumField/PcbField.js +317 -0
  666. package/dist/primitives/three/QuantumField/TrailRTT.d.ts +54 -0
  667. package/dist/primitives/three/QuantumField/TrailRTT.d.ts.map +1 -0
  668. package/dist/primitives/three/QuantumField/TrailRTT.js +176 -0
  669. package/dist/primitives/three/QuantumField/WaterField.d.ts +9 -0
  670. package/dist/primitives/three/QuantumField/WaterField.d.ts.map +1 -0
  671. package/dist/primitives/three/QuantumField/WaterField.js +179 -0
  672. package/dist/primitives/three/QuantumField/WaterSimRTT.d.ts +75 -0
  673. package/dist/primitives/three/QuantumField/WaterSimRTT.d.ts.map +1 -0
  674. package/dist/primitives/three/QuantumField/WaterSimRTT.js +238 -0
  675. package/dist/primitives/three/QuantumField/domMapping.d.ts +110 -0
  676. package/dist/primitives/three/QuantumField/domMapping.d.ts.map +1 -0
  677. package/dist/primitives/three/QuantumField/domMapping.js +124 -0
  678. package/dist/primitives/three/QuantumField/index.d.ts +29 -0
  679. package/dist/primitives/three/QuantumField/index.d.ts.map +1 -0
  680. package/dist/primitives/three/QuantumField/index.js +26 -0
  681. package/dist/primitives/three/QuantumField/styles/index.d.ts +9 -0
  682. package/dist/primitives/three/QuantumField/styles/index.d.ts.map +1 -0
  683. package/dist/primitives/three/QuantumField/styles/index.js +8 -0
  684. package/dist/primitives/three/QuantumField/styles/styleA.d.ts +56 -0
  685. package/dist/primitives/three/QuantumField/styles/styleA.d.ts.map +1 -0
  686. package/dist/primitives/three/QuantumField/styles/styleA.js +484 -0
  687. package/dist/primitives/three/QuantumField/styles/styleB.d.ts +128 -0
  688. package/dist/primitives/three/QuantumField/styles/styleB.d.ts.map +1 -0
  689. package/dist/primitives/three/QuantumField/styles/styleB.js +1134 -0
  690. package/dist/primitives/three/QuantumField/styles/styleC.d.ts +42 -0
  691. package/dist/primitives/three/QuantumField/styles/styleC.d.ts.map +1 -0
  692. package/dist/primitives/three/QuantumField/styles/styleC.js +244 -0
  693. package/dist/primitives/three/QuantumField/themes.d.ts +60 -0
  694. package/dist/primitives/three/QuantumField/themes.d.ts.map +1 -0
  695. package/dist/primitives/three/QuantumField/themes.js +182 -0
  696. package/dist/primitives/three/QuantumField/types.d.ts +261 -0
  697. package/dist/primitives/three/QuantumField/types.d.ts.map +1 -0
  698. package/dist/primitives/three/QuantumField/types.js +100 -0
  699. package/dist/primitives/three/SOCCommandCenter/SOCCommandCenter.d.ts +3 -0
  700. package/dist/primitives/three/SOCCommandCenter/SOCCommandCenter.d.ts.map +1 -0
  701. package/dist/primitives/three/SOCCommandCenter/SOCCommandCenter.js +80 -0
  702. package/dist/primitives/three/SOCCommandCenter/index.d.ts +20 -0
  703. package/dist/primitives/three/SOCCommandCenter/index.d.ts.map +1 -0
  704. package/dist/primitives/three/SOCCommandCenter/index.js +18 -0
  705. package/dist/primitives/three/SOCCommandCenter/types.d.ts +42 -0
  706. package/dist/primitives/three/SOCCommandCenter/types.d.ts.map +1 -0
  707. package/dist/primitives/three/SOCCommandCenter/types.js +157 -0
  708. package/dist/primitives/three/SecurityDashboard/SecurityDashboard.d.ts +6 -0
  709. package/dist/primitives/three/SecurityDashboard/SecurityDashboard.d.ts.map +1 -0
  710. package/dist/primitives/three/SecurityDashboard/SecurityDashboard.js +187 -0
  711. package/dist/primitives/three/SecurityDashboard/index.d.ts +29 -0
  712. package/dist/primitives/three/SecurityDashboard/index.d.ts.map +1 -0
  713. package/dist/primitives/three/SecurityDashboard/index.js +27 -0
  714. package/dist/primitives/three/SecurityDashboard/types.d.ts +110 -0
  715. package/dist/primitives/three/SecurityDashboard/types.d.ts.map +1 -0
  716. package/dist/primitives/three/SecurityDashboard/types.js +38 -0
  717. package/dist/primitives/three/SecurityShield/SecurityShield.d.ts +6 -0
  718. package/dist/primitives/three/SecurityShield/SecurityShield.d.ts.map +1 -0
  719. package/dist/primitives/three/SecurityShield/SecurityShield.js +200 -0
  720. package/dist/primitives/three/SecurityShield/index.d.ts +20 -0
  721. package/dist/primitives/three/SecurityShield/index.d.ts.map +1 -0
  722. package/dist/primitives/three/SecurityShield/index.js +18 -0
  723. package/dist/primitives/three/SecurityShield/types.d.ts +39 -0
  724. package/dist/primitives/three/SecurityShield/types.d.ts.map +1 -0
  725. package/dist/primitives/three/SecurityShield/types.js +27 -0
  726. package/dist/primitives/three/Sentinel/AvatarMode.d.ts +4 -0
  727. package/dist/primitives/three/Sentinel/AvatarMode.d.ts.map +1 -0
  728. package/dist/primitives/three/Sentinel/AvatarMode.js +443 -0
  729. package/dist/primitives/three/Sentinel/AvatarRenderer.d.ts +23 -0
  730. package/dist/primitives/three/Sentinel/AvatarRenderer.d.ts.map +1 -0
  731. package/dist/primitives/three/Sentinel/AvatarRenderer.js +112 -0
  732. package/dist/primitives/three/Sentinel/CameraPip.d.ts +10 -0
  733. package/dist/primitives/three/Sentinel/CameraPip.d.ts.map +1 -0
  734. package/dist/primitives/three/Sentinel/CameraPip.js +76 -0
  735. package/dist/primitives/three/Sentinel/CardinalItem.d.ts +5 -0
  736. package/dist/primitives/three/Sentinel/CardinalItem.d.ts.map +1 -0
  737. package/dist/primitives/three/Sentinel/CardinalItem.js +52 -0
  738. package/dist/primitives/three/Sentinel/CardinalMenu.d.ts +5 -0
  739. package/dist/primitives/three/Sentinel/CardinalMenu.d.ts.map +1 -0
  740. package/dist/primitives/three/Sentinel/CardinalMenu.js +255 -0
  741. package/dist/primitives/three/Sentinel/DockedMiniOrb.d.ts +4 -0
  742. package/dist/primitives/three/Sentinel/DockedMiniOrb.d.ts.map +1 -0
  743. package/dist/primitives/three/Sentinel/DockedMiniOrb.js +97 -0
  744. package/dist/primitives/three/Sentinel/RadialSubmenu.d.ts +5 -0
  745. package/dist/primitives/three/Sentinel/RadialSubmenu.d.ts.map +1 -0
  746. package/dist/primitives/three/Sentinel/RadialSubmenu.js +187 -0
  747. package/dist/primitives/three/Sentinel/SentinelConversation.d.ts +4 -0
  748. package/dist/primitives/three/Sentinel/SentinelConversation.d.ts.map +1 -0
  749. package/dist/primitives/three/Sentinel/SentinelConversation.js +405 -0
  750. package/dist/primitives/three/Sentinel/SentinelOrb.d.ts +4 -0
  751. package/dist/primitives/three/Sentinel/SentinelOrb.d.ts.map +1 -0
  752. package/dist/primitives/three/Sentinel/SentinelOrb.js +239 -0
  753. package/dist/primitives/three/Sentinel/SentinelOverlay.d.ts +4 -0
  754. package/dist/primitives/three/Sentinel/SentinelOverlay.d.ts.map +1 -0
  755. package/dist/primitives/three/Sentinel/SentinelOverlay.js +90 -0
  756. package/dist/primitives/three/Sentinel/SentinelProvider.d.ts +12 -0
  757. package/dist/primitives/three/Sentinel/SentinelProvider.d.ts.map +1 -0
  758. package/dist/primitives/three/Sentinel/SentinelProvider.js +81 -0
  759. package/dist/primitives/three/Sentinel/SentinelTether.d.ts +4 -0
  760. package/dist/primitives/three/Sentinel/SentinelTether.d.ts.map +1 -0
  761. package/dist/primitives/three/Sentinel/SentinelTether.js +71 -0
  762. package/dist/primitives/three/Sentinel/SigilPlaceholder.d.ts +6 -0
  763. package/dist/primitives/three/Sentinel/SigilPlaceholder.d.ts.map +1 -0
  764. package/dist/primitives/three/Sentinel/SigilPlaceholder.js +65 -0
  765. package/dist/primitives/three/Sentinel/VerticalSubmenu.d.ts +5 -0
  766. package/dist/primitives/three/Sentinel/VerticalSubmenu.d.ts.map +1 -0
  767. package/dist/primitives/three/Sentinel/VerticalSubmenu.js +105 -0
  768. package/dist/primitives/three/Sentinel/index.d.ts +67 -0
  769. package/dist/primitives/three/Sentinel/index.d.ts.map +1 -0
  770. package/dist/primitives/three/Sentinel/index.js +86 -0
  771. package/dist/primitives/three/Sentinel/sentinelStore.d.ts +33 -0
  772. package/dist/primitives/three/Sentinel/sentinelStore.d.ts.map +1 -0
  773. package/dist/primitives/three/Sentinel/sentinelStore.js +125 -0
  774. package/dist/primitives/three/Sentinel/types.d.ts +337 -0
  775. package/dist/primitives/three/Sentinel/types.d.ts.map +1 -0
  776. package/dist/primitives/three/Sentinel/types.js +6 -0
  777. package/dist/primitives/three/Sentinel/useCameraPermission.d.ts +9 -0
  778. package/dist/primitives/three/Sentinel/useCameraPermission.d.ts.map +1 -0
  779. package/dist/primitives/three/Sentinel/useCameraPermission.js +138 -0
  780. package/dist/primitives/three/Sentinel/useThrowPhysics.d.ts +9 -0
  781. package/dist/primitives/three/Sentinel/useThrowPhysics.d.ts.map +1 -0
  782. package/dist/primitives/three/Sentinel/useThrowPhysics.js +167 -0
  783. package/dist/primitives/three/SpatialWorkspace/CyntraWorkspace.d.ts +8 -0
  784. package/dist/primitives/three/SpatialWorkspace/CyntraWorkspace.d.ts.map +1 -0
  785. package/dist/primitives/three/SpatialWorkspace/CyntraWorkspace.js +54 -0
  786. package/dist/primitives/three/SpatialWorkspace/JobCluster.d.ts +3 -0
  787. package/dist/primitives/three/SpatialWorkspace/JobCluster.d.ts.map +1 -0
  788. package/dist/primitives/three/SpatialWorkspace/JobCluster.js +126 -0
  789. package/dist/primitives/three/SpatialWorkspace/NodeGraph.d.ts +3 -0
  790. package/dist/primitives/three/SpatialWorkspace/NodeGraph.d.ts.map +1 -0
  791. package/dist/primitives/three/SpatialWorkspace/NodeGraph.js +154 -0
  792. package/dist/primitives/three/SpatialWorkspace/ReceiptOrbit.d.ts +3 -0
  793. package/dist/primitives/three/SpatialWorkspace/ReceiptOrbit.d.ts.map +1 -0
  794. package/dist/primitives/three/SpatialWorkspace/ReceiptOrbit.js +135 -0
  795. package/dist/primitives/three/SpatialWorkspace/SpatialWorkspace.d.ts +3 -0
  796. package/dist/primitives/three/SpatialWorkspace/SpatialWorkspace.d.ts.map +1 -0
  797. package/dist/primitives/three/SpatialWorkspace/SpatialWorkspace.js +189 -0
  798. package/dist/primitives/three/SpatialWorkspace/TrustRings.d.ts +3 -0
  799. package/dist/primitives/three/SpatialWorkspace/TrustRings.d.ts.map +1 -0
  800. package/dist/primitives/three/SpatialWorkspace/TrustRings.js +63 -0
  801. package/dist/primitives/three/SpatialWorkspace/adapters.d.ts +56 -0
  802. package/dist/primitives/three/SpatialWorkspace/adapters.d.ts.map +1 -0
  803. package/dist/primitives/three/SpatialWorkspace/adapters.js +253 -0
  804. package/dist/primitives/three/SpatialWorkspace/index.d.ts +22 -0
  805. package/dist/primitives/three/SpatialWorkspace/index.d.ts.map +1 -0
  806. package/dist/primitives/three/SpatialWorkspace/index.js +17 -0
  807. package/dist/primitives/three/SpatialWorkspace/nexusAdapter.d.ts +53 -0
  808. package/dist/primitives/three/SpatialWorkspace/nexusAdapter.d.ts.map +1 -0
  809. package/dist/primitives/three/SpatialWorkspace/nexusAdapter.js +107 -0
  810. package/dist/primitives/three/SpatialWorkspace/types.d.ts +173 -0
  811. package/dist/primitives/three/SpatialWorkspace/types.d.ts.map +1 -0
  812. package/dist/primitives/three/SpatialWorkspace/types.js +170 -0
  813. package/dist/primitives/three/ThreatRadar/ThreatRadar.d.ts +12 -0
  814. package/dist/primitives/three/ThreatRadar/ThreatRadar.d.ts.map +1 -0
  815. package/dist/primitives/three/ThreatRadar/ThreatRadar.js +223 -0
  816. package/dist/primitives/three/ThreatRadar/index.d.ts +4 -0
  817. package/dist/primitives/three/ThreatRadar/index.d.ts.map +1 -0
  818. package/dist/primitives/three/ThreatRadar/index.js +2 -0
  819. package/dist/primitives/three/ThreatRadar/types.d.ts +74 -0
  820. package/dist/primitives/three/ThreatRadar/types.d.ts.map +1 -0
  821. package/dist/primitives/three/ThreatRadar/types.js +20 -0
  822. package/dist/primitives/three/index.d.ts +22 -0
  823. package/dist/primitives/three/index.d.ts.map +1 -0
  824. package/dist/primitives/three/index.js +37 -0
  825. package/dist/primitives/ui/alert-dialog.d.ts +15 -0
  826. package/dist/primitives/ui/alert-dialog.d.ts.map +1 -0
  827. package/dist/primitives/ui/alert-dialog.js +39 -0
  828. package/dist/primitives/ui/avatar.d.ts +7 -0
  829. package/dist/primitives/ui/avatar.d.ts.map +1 -0
  830. package/dist/primitives/ui/avatar.js +14 -0
  831. package/dist/primitives/ui/badge.d.ts +10 -0
  832. package/dist/primitives/ui/badge.d.ts.map +1 -0
  833. package/dist/primitives/ui/badge.js +22 -0
  834. package/dist/primitives/ui/button.d.ts +11 -0
  835. package/dist/primitives/ui/button.d.ts.map +1 -0
  836. package/dist/primitives/ui/button.js +33 -0
  837. package/dist/primitives/ui/dialog.d.ts +16 -0
  838. package/dist/primitives/ui/dialog.d.ts.map +1 -0
  839. package/dist/primitives/ui/dialog.js +36 -0
  840. package/dist/primitives/ui/dropdown-menu.d.ts +26 -0
  841. package/dist/primitives/ui/dropdown-menu.d.ts.map +1 -0
  842. package/dist/primitives/ui/dropdown-menu.js +51 -0
  843. package/dist/primitives/ui/index.d.ts +19 -0
  844. package/dist/primitives/ui/index.d.ts.map +1 -0
  845. package/dist/primitives/ui/index.js +23 -0
  846. package/dist/primitives/ui/input.d.ts +4 -0
  847. package/dist/primitives/ui/input.d.ts.map +1 -0
  848. package/dist/primitives/ui/input.js +6 -0
  849. package/dist/primitives/ui/label.d.ts +5 -0
  850. package/dist/primitives/ui/label.d.ts.map +1 -0
  851. package/dist/primitives/ui/label.js +8 -0
  852. package/dist/primitives/ui/popover.d.ts +8 -0
  853. package/dist/primitives/ui/popover.d.ts.map +1 -0
  854. package/dist/primitives/ui/popover.js +17 -0
  855. package/dist/primitives/ui/scroll-area.d.ts +6 -0
  856. package/dist/primitives/ui/scroll-area.d.ts.map +1 -0
  857. package/dist/primitives/ui/scroll-area.js +11 -0
  858. package/dist/primitives/ui/select.d.ts +16 -0
  859. package/dist/primitives/ui/select.d.ts.map +1 -0
  860. package/dist/primitives/ui/select.js +38 -0
  861. package/dist/primitives/ui/separator.d.ts +5 -0
  862. package/dist/primitives/ui/separator.d.ts.map +1 -0
  863. package/dist/primitives/ui/separator.js +8 -0
  864. package/dist/primitives/ui/skeleton.d.ts +4 -0
  865. package/dist/primitives/ui/skeleton.d.ts.map +1 -0
  866. package/dist/primitives/ui/skeleton.js +6 -0
  867. package/dist/primitives/ui/switch.d.ts +5 -0
  868. package/dist/primitives/ui/switch.d.ts.map +1 -0
  869. package/dist/primitives/ui/switch.js +8 -0
  870. package/dist/primitives/ui/tabs.d.ts +8 -0
  871. package/dist/primitives/ui/tabs.d.ts.map +1 -0
  872. package/dist/primitives/ui/tabs.js +17 -0
  873. package/dist/primitives/ui/textarea.d.ts +4 -0
  874. package/dist/primitives/ui/textarea.d.ts.map +1 -0
  875. package/dist/primitives/ui/textarea.js +6 -0
  876. package/dist/primitives/ui/toggle.d.ts +10 -0
  877. package/dist/primitives/ui/toggle.d.ts.map +1 -0
  878. package/dist/primitives/ui/toggle.js +26 -0
  879. package/dist/primitives/ui/tooltip.d.ts +8 -0
  880. package/dist/primitives/ui/tooltip.d.ts.map +1 -0
  881. package/dist/primitives/ui/tooltip.js +17 -0
  882. package/dist/protocol/branded.d.ts +131 -0
  883. package/dist/protocol/branded.d.ts.map +1 -0
  884. package/dist/protocol/branded.js +133 -0
  885. package/dist/protocol/dom.d.ts +148 -0
  886. package/dist/protocol/dom.d.ts.map +1 -0
  887. package/dist/protocol/dom.js +300 -0
  888. package/dist/protocol/index.d.ts +9 -0
  889. package/dist/protocol/index.d.ts.map +1 -0
  890. package/dist/protocol/index.js +30 -0
  891. package/dist/protocol/schema.d.ts +854 -0
  892. package/dist/protocol/schema.d.ts.map +1 -0
  893. package/dist/protocol/schema.js +155 -0
  894. package/dist/protocol/types.d.ts +256 -0
  895. package/dist/protocol/types.d.ts.map +1 -0
  896. package/dist/protocol/types.js +6 -0
  897. package/dist/speakeasy/SpeakeasyProvider.d.ts +57 -0
  898. package/dist/speakeasy/SpeakeasyProvider.d.ts.map +1 -0
  899. package/dist/speakeasy/SpeakeasyProvider.js +249 -0
  900. package/dist/speakeasy/auth/CapabilityIssuer.d.ts +22 -0
  901. package/dist/speakeasy/auth/CapabilityIssuer.d.ts.map +1 -0
  902. package/dist/speakeasy/auth/CapabilityIssuer.js +70 -0
  903. package/dist/speakeasy/auth/SpeakeasyAuth.d.ts +43 -0
  904. package/dist/speakeasy/auth/SpeakeasyAuth.d.ts.map +1 -0
  905. package/dist/speakeasy/auth/SpeakeasyAuth.js +147 -0
  906. package/dist/speakeasy/auth/crypto.d.ts +12 -0
  907. package/dist/speakeasy/auth/crypto.d.ts.map +1 -0
  908. package/dist/speakeasy/auth/crypto.js +68 -0
  909. package/dist/speakeasy/auth/deviceSecret.d.ts +17 -0
  910. package/dist/speakeasy/auth/deviceSecret.d.ts.map +1 -0
  911. package/dist/speakeasy/auth/deviceSecret.js +62 -0
  912. package/dist/speakeasy/auth/storage.d.ts +62 -0
  913. package/dist/speakeasy/auth/storage.d.ts.map +1 -0
  914. package/dist/speakeasy/auth/storage.js +344 -0
  915. package/dist/speakeasy/components/SpeakeasyConsentDialog.d.ts +24 -0
  916. package/dist/speakeasy/components/SpeakeasyConsentDialog.d.ts.map +1 -0
  917. package/dist/speakeasy/components/SpeakeasyConsentDialog.js +181 -0
  918. package/dist/speakeasy/components/SpeakeasyOrb.d.ts +14 -0
  919. package/dist/speakeasy/components/SpeakeasyOrb.d.ts.map +1 -0
  920. package/dist/speakeasy/components/SpeakeasyOrb.js +128 -0
  921. package/dist/speakeasy/components/SpeakeasyRegistrationDialog.d.ts +9 -0
  922. package/dist/speakeasy/components/SpeakeasyRegistrationDialog.d.ts.map +1 -0
  923. package/dist/speakeasy/components/SpeakeasyRegistrationDialog.js +93 -0
  924. package/dist/speakeasy/components/SpeakeasyRitualPad.d.ts +18 -0
  925. package/dist/speakeasy/components/SpeakeasyRitualPad.d.ts.map +1 -0
  926. package/dist/speakeasy/components/SpeakeasyRitualPad.js +63 -0
  927. package/dist/speakeasy/doorman/DoormanStateMachine.d.ts +40 -0
  928. package/dist/speakeasy/doorman/DoormanStateMachine.d.ts.map +1 -0
  929. package/dist/speakeasy/doorman/DoormanStateMachine.js +393 -0
  930. package/dist/speakeasy/doorman/panic.d.ts +10 -0
  931. package/dist/speakeasy/doorman/panic.d.ts.map +1 -0
  932. package/dist/speakeasy/doorman/panic.js +28 -0
  933. package/dist/speakeasy/hooks/useGestureRecognizer.d.ts +48 -0
  934. package/dist/speakeasy/hooks/useGestureRecognizer.d.ts.map +1 -0
  935. package/dist/speakeasy/hooks/useGestureRecognizer.js +337 -0
  936. package/dist/speakeasy/index.d.ts +47 -0
  937. package/dist/speakeasy/index.d.ts.map +1 -0
  938. package/dist/speakeasy/index.js +53 -0
  939. package/dist/speakeasy/types.d.ts +203 -0
  940. package/dist/speakeasy/types.d.ts.map +1 -0
  941. package/dist/speakeasy/types.js +52 -0
  942. package/dist/speakeasy/useSpeakeasy.d.ts +2 -0
  943. package/dist/speakeasy/useSpeakeasy.d.ts.map +1 -0
  944. package/dist/speakeasy/useSpeakeasy.js +1 -0
  945. package/dist/styles.css +1 -0
  946. package/dist/theme/UiThemeProvider.d.ts +42 -0
  947. package/dist/theme/UiThemeProvider.d.ts.map +1 -0
  948. package/dist/theme/UiThemeProvider.js +126 -0
  949. package/dist/theme/index.d.ts +12 -0
  950. package/dist/theme/index.d.ts.map +1 -0
  951. package/dist/theme/index.js +12 -0
  952. package/dist/theme/nebula.d.ts +9 -0
  953. package/dist/theme/nebula.d.ts.map +1 -0
  954. package/dist/theme/nebula.js +113 -0
  955. package/dist/theme/registry.d.ts +24 -0
  956. package/dist/theme/registry.d.ts.map +1 -0
  957. package/dist/theme/registry.js +250 -0
  958. package/dist/theme/solarpunk.d.ts +9 -0
  959. package/dist/theme/solarpunk.d.ts.map +1 -0
  960. package/dist/theme/solarpunk.js +118 -0
  961. package/dist/theme/types.d.ts +233 -0
  962. package/dist/theme/types.d.ts.map +1 -0
  963. package/dist/theme/types.js +7 -0
  964. package/dist/vision/adapters/canvasCapture.d.ts +24 -0
  965. package/dist/vision/adapters/canvasCapture.d.ts.map +1 -0
  966. package/dist/vision/adapters/canvasCapture.js +64 -0
  967. package/dist/vision/adapters/raymondAdapter.d.ts +62 -0
  968. package/dist/vision/adapters/raymondAdapter.d.ts.map +1 -0
  969. package/dist/vision/adapters/raymondAdapter.js +227 -0
  970. package/dist/vision/hooks/useVisionCaptureController.d.ts +21 -0
  971. package/dist/vision/hooks/useVisionCaptureController.d.ts.map +1 -0
  972. package/dist/vision/hooks/useVisionCaptureController.js +55 -0
  973. package/dist/vision/index.d.ts +6 -0
  974. package/dist/vision/index.d.ts.map +1 -0
  975. package/dist/vision/index.js +5 -0
  976. package/dist/vision/raymond/camera.d.ts +36 -0
  977. package/dist/vision/raymond/camera.d.ts.map +1 -0
  978. package/dist/vision/raymond/camera.js +129 -0
  979. package/dist/vision/raymond/canvas/Eye.d.ts +12 -0
  980. package/dist/vision/raymond/canvas/Eye.d.ts.map +1 -0
  981. package/dist/vision/raymond/canvas/Eye.js +50 -0
  982. package/dist/vision/raymond/canvas/PointLight.d.ts +12 -0
  983. package/dist/vision/raymond/canvas/PointLight.d.ts.map +1 -0
  984. package/dist/vision/raymond/canvas/PointLight.js +20 -0
  985. package/dist/vision/raymond/canvas/lightingModel.d.ts +26 -0
  986. package/dist/vision/raymond/canvas/lightingModel.d.ts.map +1 -0
  987. package/dist/vision/raymond/canvas/lightingModel.js +1 -0
  988. package/dist/vision/raymond/canvas/lightingModelRegistry.d.ts +12 -0
  989. package/dist/vision/raymond/canvas/lightingModelRegistry.d.ts.map +1 -0
  990. package/dist/vision/raymond/canvas/lightingModelRegistry.js +33 -0
  991. package/dist/vision/raymond/canvas/models/phongTracingModel.d.ts +13 -0
  992. package/dist/vision/raymond/canvas/models/phongTracingModel.d.ts.map +1 -0
  993. package/dist/vision/raymond/canvas/models/phongTracingModel.js +72 -0
  994. package/dist/vision/raymond/canvas/optics.d.ts +37 -0
  995. package/dist/vision/raymond/canvas/optics.d.ts.map +1 -0
  996. package/dist/vision/raymond/canvas/optics.js +343 -0
  997. package/dist/vision/raymond/index.d.ts +15 -0
  998. package/dist/vision/raymond/index.d.ts.map +1 -0
  999. package/dist/vision/raymond/index.js +14 -0
  1000. package/dist/vision/raymond/math.d.ts +39 -0
  1001. package/dist/vision/raymond/math.d.ts.map +1 -0
  1002. package/dist/vision/raymond/math.js +162 -0
  1003. package/dist/vision/raymond/shapes.d.ts +37 -0
  1004. package/dist/vision/raymond/shapes.d.ts.map +1 -0
  1005. package/dist/vision/raymond/shapes.js +123 -0
  1006. package/dist/vision/raymond/shared/color.d.ts +18 -0
  1007. package/dist/vision/raymond/shared/color.d.ts.map +1 -0
  1008. package/dist/vision/raymond/shared/color.js +12 -0
  1009. package/dist/vision/raymond/shared/material.d.ts +13 -0
  1010. package/dist/vision/raymond/shared/material.d.ts.map +1 -0
  1011. package/dist/vision/raymond/shared/material.js +12 -0
  1012. package/dist/vision/raymond/shared/util.d.ts +2 -0
  1013. package/dist/vision/raymond/shared/util.d.ts.map +1 -0
  1014. package/dist/vision/raymond/shared/util.js +3 -0
  1015. package/dist/vision/raymond/transform.d.ts +24 -0
  1016. package/dist/vision/raymond/transform.d.ts.map +1 -0
  1017. package/dist/vision/raymond/transform.js +86 -0
  1018. package/dist/vision/raymond/types.d.ts +33 -0
  1019. package/dist/vision/raymond/types.d.ts.map +1 -0
  1020. package/dist/vision/raymond/types.js +1 -0
  1021. package/dist/vision/types.d.ts +72 -0
  1022. package/dist/vision/types.d.ts.map +1 -0
  1023. package/dist/vision/types.js +1 -0
  1024. package/dist/workspace/WorkspaceRenderer.d.ts +34 -0
  1025. package/dist/workspace/WorkspaceRenderer.d.ts.map +1 -0
  1026. package/dist/workspace/WorkspaceRenderer.js +292 -0
  1027. package/dist/workspace/componentBindings.d.ts +26 -0
  1028. package/dist/workspace/componentBindings.d.ts.map +1 -0
  1029. package/dist/workspace/componentBindings.js +260 -0
  1030. package/dist/workspace/index.d.ts +28 -0
  1031. package/dist/workspace/index.d.ts.map +1 -0
  1032. package/dist/workspace/index.js +27 -0
  1033. package/dist/workspace/registry/index.d.ts +24 -0
  1034. package/dist/workspace/registry/index.d.ts.map +1 -0
  1035. package/dist/workspace/registry/index.js +23 -0
  1036. package/dist/workspace/registry/manifests/atoms.d.ts +13 -0
  1037. package/dist/workspace/registry/manifests/atoms.d.ts.map +1 -0
  1038. package/dist/workspace/registry/manifests/atoms.js +462 -0
  1039. package/dist/workspace/registry/manifests/index.d.ts +23 -0
  1040. package/dist/workspace/registry/manifests/index.d.ts.map +1 -0
  1041. package/dist/workspace/registry/manifests/index.js +38 -0
  1042. package/dist/workspace/registry/manifests/layouts.d.ts +10 -0
  1043. package/dist/workspace/registry/manifests/layouts.d.ts.map +1 -0
  1044. package/dist/workspace/registry/manifests/layouts.js +268 -0
  1045. package/dist/workspace/registry/manifests/molecules.d.ts +10 -0
  1046. package/dist/workspace/registry/manifests/molecules.d.ts.map +1 -0
  1047. package/dist/workspace/registry/manifests/molecules.js +276 -0
  1048. package/dist/workspace/registry/manifests/organisms.d.ts +10 -0
  1049. package/dist/workspace/registry/manifests/organisms.d.ts.map +1 -0
  1050. package/dist/workspace/registry/manifests/organisms.js +267 -0
  1051. package/dist/workspace/registry/manifests/three.d.ts +9 -0
  1052. package/dist/workspace/registry/manifests/three.d.ts.map +1 -0
  1053. package/dist/workspace/registry/manifests/three.js +210 -0
  1054. package/dist/workspace/registry/registry.d.ts +22 -0
  1055. package/dist/workspace/registry/registry.d.ts.map +1 -0
  1056. package/dist/workspace/registry/registry.js +232 -0
  1057. package/dist/workspace/registry/types.d.ts +133 -0
  1058. package/dist/workspace/registry/types.d.ts.map +1 -0
  1059. package/dist/workspace/registry/types.js +7 -0
  1060. package/dist/workspace/types.d.ts +263 -0
  1061. package/dist/workspace/types.d.ts.map +1 -0
  1062. package/dist/workspace/types.js +7 -0
  1063. package/dist/workspace/validation.d.ts +19 -0
  1064. package/dist/workspace/validation.d.ts.map +1 -0
  1065. package/dist/workspace/validation.js +331 -0
  1066. package/package.json +172 -0
@@ -0,0 +1,953 @@
1
+ /**
2
+ * @backbay/glia Desktop OS - useWindowManager Hook
3
+ *
4
+ * Core window management hook using Zustand.
5
+ * Provides all window lifecycle, focus, and state management operations.
6
+ */
7
+ import { create } from 'zustand';
8
+ import { useShallow } from 'zustand/react/shallow';
9
+ // ═══════════════════════════════════════════════════════════════════════════
10
+ // Constants
11
+ // ═══════════════════════════════════════════════════════════════════════════
12
+ const DEFAULT_TASKBAR_HEIGHT = 48;
13
+ const CASCADE_OFFSET = 32;
14
+ const MAX_CASCADE_STEPS = 8;
15
+ // ═══════════════════════════════════════════════════════════════════════════
16
+ // Helper Functions
17
+ // ═══════════════════════════════════════════════════════════════════════════
18
+ /**
19
+ * Generate a unique window ID using crypto.randomUUID() for SSR safety.
20
+ * Falls back to timestamp-based generation if crypto is unavailable.
21
+ */
22
+ function generateWindowId() {
23
+ if (typeof crypto !== 'undefined' && crypto.randomUUID) {
24
+ return `window-${crypto.randomUUID()}`;
25
+ }
26
+ // Fallback for environments without crypto.randomUUID
27
+ return `window-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
28
+ }
29
+ /**
30
+ * Generate a unique group ID using crypto.randomUUID() for SSR safety.
31
+ * Falls back to timestamp-based generation if crypto is unavailable.
32
+ */
33
+ function generateGroupId() {
34
+ if (typeof crypto !== 'undefined' && crypto.randomUUID) {
35
+ return `group-${crypto.randomUUID()}`;
36
+ }
37
+ // Fallback for environments without crypto.randomUUID
38
+ return `group-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
39
+ }
40
+ function getViewportSize() {
41
+ if (typeof globalThis.innerWidth === 'undefined') {
42
+ return { width: 1920, height: 1080 };
43
+ }
44
+ return {
45
+ width: globalThis.innerWidth,
46
+ height: globalThis.innerHeight - DEFAULT_TASKBAR_HEIGHT,
47
+ };
48
+ }
49
+ function getTileDimensions(position) {
50
+ const { width: screenWidth, height: screenHeight } = getViewportSize();
51
+ const halfWidth = screenWidth / 2;
52
+ const halfHeight = screenHeight / 2;
53
+ switch (position) {
54
+ case 'left':
55
+ return { x: 0, y: 0, width: halfWidth, height: screenHeight };
56
+ case 'right':
57
+ return { x: halfWidth, y: 0, width: halfWidth, height: screenHeight };
58
+ case 'top-left':
59
+ return { x: 0, y: 0, width: halfWidth, height: halfHeight };
60
+ case 'top-right':
61
+ return { x: halfWidth, y: 0, width: halfWidth, height: halfHeight };
62
+ case 'bottom-left':
63
+ return { x: 0, y: halfHeight, width: halfWidth, height: halfHeight };
64
+ case 'bottom-right':
65
+ return { x: halfWidth, y: halfHeight, width: halfWidth, height: halfHeight };
66
+ }
67
+ }
68
+ function calculateInitialPosition(config, windowCount) {
69
+ if (config.position) {
70
+ return config.position;
71
+ }
72
+ const viewport = getViewportSize();
73
+ const width = config.size?.width ?? 640;
74
+ const height = config.size?.height ?? 480;
75
+ const offset = (windowCount % MAX_CASCADE_STEPS) * CASCADE_OFFSET;
76
+ return {
77
+ x: Math.max(60, (viewport.width - width) / 2 + offset),
78
+ y: Math.max(60, (viewport.height - height) / 2 + offset),
79
+ };
80
+ }
81
+ // ═══════════════════════════════════════════════════════════════════════════
82
+ // Store Implementation
83
+ // ═══════════════════════════════════════════════════════════════════════════
84
+ export const useWindowManagerStore = create((set, get) => ({
85
+ windows: new Map(),
86
+ groups: new Map(),
87
+ focusedId: null,
88
+ fullscreenId: null,
89
+ nextZIndex: 1,
90
+ _open: (config) => {
91
+ const { windows, nextZIndex } = get();
92
+ const id = generateWindowId();
93
+ const position = calculateInitialPosition(config, windows.size);
94
+ const newWindow = {
95
+ id,
96
+ title: config.title,
97
+ icon: config.icon,
98
+ position,
99
+ size: config.size ?? { width: 640, height: 480 },
100
+ minSize: config.minSize ?? { width: 320, height: 240 },
101
+ maxSize: config.maxSize,
102
+ isMinimized: config.isMinimized ?? false,
103
+ isMaximized: config.isMaximized ?? false,
104
+ isFullscreen: false,
105
+ isFocused: true,
106
+ zIndex: nextZIndex,
107
+ };
108
+ set((state) => {
109
+ const newWindows = new Map(state.windows);
110
+ newWindows.set(id, newWindow);
111
+ return {
112
+ windows: newWindows,
113
+ focusedId: id,
114
+ nextZIndex: state.nextZIndex + 1,
115
+ };
116
+ });
117
+ return id;
118
+ },
119
+ _close: (id) => {
120
+ const { windows, groups, fullscreenId } = get();
121
+ const window = windows.get(id);
122
+ if (!window)
123
+ return;
124
+ const wasFullscreen = fullscreenId === id || window.isFullscreen;
125
+ // Handle browser fullscreen exit
126
+ if (wasFullscreen && typeof document !== 'undefined') {
127
+ document.exitFullscreen?.().catch(() => { });
128
+ }
129
+ // Handle group cleanup
130
+ if (window.groupId) {
131
+ const group = groups.get(window.groupId);
132
+ if (group && group.windowIds.length <= 2) {
133
+ const remainingWindowId = group.windowIds.find((wId) => wId !== id);
134
+ if (remainingWindowId) {
135
+ get()._removeFromGroup(remainingWindowId);
136
+ }
137
+ }
138
+ else {
139
+ get()._removeFromGroup(id);
140
+ }
141
+ }
142
+ set((state) => {
143
+ const newWindows = new Map(state.windows);
144
+ newWindows.delete(id);
145
+ // Focus topmost remaining window
146
+ let newFocusedId = state.focusedId;
147
+ if (state.focusedId === id) {
148
+ const remaining = Array.from(newWindows.values());
149
+ if (remaining.length > 0) {
150
+ newFocusedId = remaining.reduce((a, b) => a.zIndex > b.zIndex ? a : b).id;
151
+ }
152
+ else {
153
+ newFocusedId = null;
154
+ }
155
+ }
156
+ return {
157
+ windows: newWindows,
158
+ focusedId: newFocusedId,
159
+ fullscreenId: wasFullscreen ? null : state.fullscreenId,
160
+ };
161
+ });
162
+ },
163
+ _focus: (id) => {
164
+ const { windows, nextZIndex, focusedId, groups } = get();
165
+ const window = windows.get(id);
166
+ if (!window || id === focusedId)
167
+ return;
168
+ // Restore if minimized
169
+ if (window.isMinimized) {
170
+ get()._restore(id);
171
+ return;
172
+ }
173
+ // If in a group, also set as active tab
174
+ if (window.groupId) {
175
+ const group = groups.get(window.groupId);
176
+ if (group && group.activeWindowId !== id) {
177
+ get()._setActiveTab(window.groupId, id);
178
+ return;
179
+ }
180
+ }
181
+ set((state) => {
182
+ const newWindows = new Map(state.windows);
183
+ const w = newWindows.get(id);
184
+ if (w) {
185
+ newWindows.set(id, { ...w, zIndex: nextZIndex, isFocused: true });
186
+ }
187
+ // Unfocus previous window
188
+ if (state.focusedId && state.focusedId !== id) {
189
+ const prev = newWindows.get(state.focusedId);
190
+ if (prev) {
191
+ newWindows.set(state.focusedId, { ...prev, isFocused: false });
192
+ }
193
+ }
194
+ return {
195
+ windows: newWindows,
196
+ focusedId: id,
197
+ nextZIndex: state.nextZIndex + 1,
198
+ };
199
+ });
200
+ },
201
+ _minimize: (id) => {
202
+ const { windows, groups } = get();
203
+ const window = windows.get(id);
204
+ if (!window)
205
+ return;
206
+ // If in a group, minimize all windows in the group
207
+ const windowsToMinimize = window.groupId
208
+ ? groups.get(window.groupId)?.windowIds ?? [id]
209
+ : [id];
210
+ set((state) => {
211
+ const newWindows = new Map(state.windows);
212
+ for (const windowId of windowsToMinimize) {
213
+ const w = newWindows.get(windowId);
214
+ if (w) {
215
+ newWindows.set(windowId, { ...w, isMinimized: true });
216
+ }
217
+ }
218
+ // Focus next topmost non-minimized window
219
+ const visible = Array.from(newWindows.values()).filter((w) => !w.isMinimized);
220
+ const newFocusedId = visible.length > 0
221
+ ? visible.reduce((a, b) => (a.zIndex > b.zIndex ? a : b)).id
222
+ : null;
223
+ return { windows: newWindows, focusedId: newFocusedId };
224
+ });
225
+ },
226
+ _maximize: (id) => {
227
+ const { windows, groups } = get();
228
+ const window = windows.get(id);
229
+ if (!window || window.isMaximized)
230
+ return;
231
+ const viewport = getViewportSize();
232
+ const windowsToMaximize = window.groupId
233
+ ? groups.get(window.groupId)?.windowIds ?? [id]
234
+ : [id];
235
+ set((state) => {
236
+ const newWindows = new Map(state.windows);
237
+ for (const windowId of windowsToMaximize) {
238
+ const w = newWindows.get(windowId);
239
+ if (w && !w.isMaximized) {
240
+ newWindows.set(windowId, {
241
+ ...w,
242
+ isMaximized: true,
243
+ preMaximize: {
244
+ x: w.position.x,
245
+ y: w.position.y,
246
+ width: w.size.width,
247
+ height: w.size.height,
248
+ },
249
+ position: { x: 0, y: 0 },
250
+ size: { width: viewport.width, height: viewport.height },
251
+ });
252
+ }
253
+ }
254
+ return { windows: newWindows };
255
+ });
256
+ },
257
+ _restore: (id) => {
258
+ const { windows, groups, nextZIndex } = get();
259
+ const window = windows.get(id);
260
+ if (!window)
261
+ return;
262
+ const windowsToRestore = window.groupId
263
+ ? groups.get(window.groupId)?.windowIds ?? [id]
264
+ : [id];
265
+ set((state) => {
266
+ const newWindows = new Map(state.windows);
267
+ for (const windowId of windowsToRestore) {
268
+ const w = newWindows.get(windowId);
269
+ if (w) {
270
+ if (w.isMaximized && w.preMaximize) {
271
+ newWindows.set(windowId, {
272
+ ...w,
273
+ isMaximized: false,
274
+ isMinimized: false,
275
+ position: { x: w.preMaximize.x, y: w.preMaximize.y },
276
+ size: { width: w.preMaximize.width, height: w.preMaximize.height },
277
+ preMaximize: undefined,
278
+ zIndex: nextZIndex,
279
+ });
280
+ }
281
+ else {
282
+ newWindows.set(windowId, {
283
+ ...w,
284
+ isMinimized: false,
285
+ zIndex: nextZIndex,
286
+ });
287
+ }
288
+ }
289
+ }
290
+ const group = window.groupId ? state.groups.get(window.groupId) : null;
291
+ return {
292
+ windows: newWindows,
293
+ focusedId: group?.activeWindowId ?? id,
294
+ nextZIndex: state.nextZIndex + 1,
295
+ };
296
+ });
297
+ },
298
+ _fullscreen: (id) => {
299
+ const { windows, fullscreenId } = get();
300
+ const window = windows.get(id);
301
+ if (!window)
302
+ return;
303
+ // Exit current fullscreen first
304
+ if (fullscreenId && fullscreenId !== id) {
305
+ get()._exitFullscreen();
306
+ }
307
+ if (window.isFullscreen)
308
+ return;
309
+ // Request browser fullscreen
310
+ if (typeof document !== 'undefined') {
311
+ document.documentElement.requestFullscreen?.().catch(() => { });
312
+ }
313
+ const screenWidth = typeof globalThis.innerWidth !== 'undefined'
314
+ ? globalThis.innerWidth
315
+ : 1920;
316
+ const screenHeight = typeof globalThis.innerHeight !== 'undefined'
317
+ ? globalThis.innerHeight
318
+ : 1080;
319
+ set((state) => {
320
+ const newWindows = new Map(state.windows);
321
+ const w = newWindows.get(id);
322
+ if (w) {
323
+ newWindows.set(id, {
324
+ ...w,
325
+ isFullscreen: true,
326
+ isMaximized: false,
327
+ tilePosition: undefined,
328
+ preFullscreen: {
329
+ x: w.position.x,
330
+ y: w.position.y,
331
+ width: w.size.width,
332
+ height: w.size.height,
333
+ },
334
+ position: { x: 0, y: 0 },
335
+ size: { width: screenWidth, height: screenHeight },
336
+ zIndex: 10000,
337
+ });
338
+ }
339
+ return {
340
+ windows: newWindows,
341
+ fullscreenId: id,
342
+ focusedId: id,
343
+ };
344
+ });
345
+ },
346
+ _exitFullscreen: () => {
347
+ const { windows, fullscreenId, nextZIndex } = get();
348
+ if (!fullscreenId)
349
+ return;
350
+ const window = windows.get(fullscreenId);
351
+ if (!window)
352
+ return;
353
+ // Exit browser fullscreen
354
+ if (typeof document !== 'undefined' && document.fullscreenElement) {
355
+ document.exitFullscreen?.().catch(() => { });
356
+ }
357
+ set((state) => {
358
+ const newWindows = new Map(state.windows);
359
+ const w = newWindows.get(fullscreenId);
360
+ if (w) {
361
+ const pre = w.preFullscreen;
362
+ newWindows.set(fullscreenId, {
363
+ ...w,
364
+ isFullscreen: false,
365
+ position: { x: pre?.x ?? 100, y: pre?.y ?? 100 },
366
+ size: { width: pre?.width ?? 800, height: pre?.height ?? 600 },
367
+ preFullscreen: undefined,
368
+ zIndex: nextZIndex,
369
+ });
370
+ }
371
+ return {
372
+ windows: newWindows,
373
+ fullscreenId: null,
374
+ nextZIndex: state.nextZIndex + 1,
375
+ };
376
+ });
377
+ },
378
+ _move: (id, position) => {
379
+ const { windows, groups } = get();
380
+ const window = windows.get(id);
381
+ if (!window || window.isMaximized)
382
+ return;
383
+ const windowsToMove = window.groupId
384
+ ? groups.get(window.groupId)?.windowIds ?? [id]
385
+ : [id];
386
+ set((state) => {
387
+ const newWindows = new Map(state.windows);
388
+ for (const windowId of windowsToMove) {
389
+ const w = newWindows.get(windowId);
390
+ if (w) {
391
+ newWindows.set(windowId, { ...w, position });
392
+ }
393
+ }
394
+ return { windows: newWindows };
395
+ });
396
+ },
397
+ _resize: (id, size) => {
398
+ const { windows, groups } = get();
399
+ const window = windows.get(id);
400
+ if (!window || window.isMaximized)
401
+ return;
402
+ const windowsToResize = window.groupId
403
+ ? groups.get(window.groupId)?.windowIds ?? [id]
404
+ : [id];
405
+ set((state) => {
406
+ const newWindows = new Map(state.windows);
407
+ for (const windowId of windowsToResize) {
408
+ const w = newWindows.get(windowId);
409
+ if (w) {
410
+ newWindows.set(windowId, { ...w, size });
411
+ }
412
+ }
413
+ return { windows: newWindows };
414
+ });
415
+ },
416
+ _tile: (id, position) => {
417
+ const { windows, groups } = get();
418
+ const window = windows.get(id);
419
+ if (!window)
420
+ return;
421
+ const tileDims = getTileDimensions(position);
422
+ const windowsToTile = window.groupId
423
+ ? groups.get(window.groupId)?.windowIds ?? [id]
424
+ : [id];
425
+ set((state) => {
426
+ const newWindows = new Map(state.windows);
427
+ for (const windowId of windowsToTile) {
428
+ const w = newWindows.get(windowId);
429
+ if (w) {
430
+ const preTile = w.tilePosition
431
+ ? w.preTile
432
+ : {
433
+ x: w.position.x,
434
+ y: w.position.y,
435
+ width: w.size.width,
436
+ height: w.size.height,
437
+ };
438
+ newWindows.set(windowId, {
439
+ ...w,
440
+ position: { x: tileDims.x, y: tileDims.y },
441
+ size: { width: tileDims.width, height: tileDims.height },
442
+ tilePosition: position,
443
+ preTile,
444
+ isMaximized: false,
445
+ preMaximize: undefined,
446
+ });
447
+ }
448
+ }
449
+ return { windows: newWindows };
450
+ });
451
+ },
452
+ _untile: (id) => {
453
+ const { windows, groups } = get();
454
+ const window = windows.get(id);
455
+ if (!window || !window.tilePosition || !window.preTile)
456
+ return;
457
+ const windowsToUntile = window.groupId
458
+ ? groups.get(window.groupId)?.windowIds ?? [id]
459
+ : [id];
460
+ set((state) => {
461
+ const newWindows = new Map(state.windows);
462
+ for (const windowId of windowsToUntile) {
463
+ const w = newWindows.get(windowId);
464
+ if (w && w.tilePosition && w.preTile) {
465
+ newWindows.set(windowId, {
466
+ ...w,
467
+ position: { x: w.preTile.x, y: w.preTile.y },
468
+ size: { width: w.preTile.width, height: w.preTile.height },
469
+ tilePosition: undefined,
470
+ preTile: undefined,
471
+ });
472
+ }
473
+ }
474
+ return { windows: newWindows };
475
+ });
476
+ },
477
+ _cycleFocusNext: () => {
478
+ const { windows, focusedId } = get();
479
+ const windowList = Array.from(windows.values())
480
+ .filter((w) => !w.isMinimized)
481
+ .sort((a, b) => b.zIndex - a.zIndex);
482
+ if (windowList.length <= 1)
483
+ return;
484
+ const currentIndex = windowList.findIndex((w) => w.id === focusedId);
485
+ const nextIndex = (currentIndex + 1) % windowList.length;
486
+ get()._focus(windowList[nextIndex].id);
487
+ },
488
+ _createGroup: (windowId1, windowId2) => {
489
+ const { windows } = get();
490
+ const window1 = windows.get(windowId1);
491
+ const window2 = windows.get(windowId2);
492
+ if (!window1 || !window2 || windowId1 === windowId2)
493
+ return null;
494
+ // If either window is already in a group, add to that group
495
+ if (window1.groupId) {
496
+ get()._addToGroup(window1.groupId, windowId2);
497
+ return window1.groupId;
498
+ }
499
+ if (window2.groupId) {
500
+ get()._addToGroup(window2.groupId, windowId1);
501
+ return window2.groupId;
502
+ }
503
+ const groupId = generateGroupId();
504
+ const newGroup = {
505
+ id: groupId,
506
+ windowIds: [windowId1, windowId2],
507
+ activeWindowId: windowId1,
508
+ };
509
+ set((state) => {
510
+ const newWindows = new Map(state.windows);
511
+ const newGroups = new Map(state.groups);
512
+ // Use window2's position/size as the container
513
+ newWindows.set(windowId1, {
514
+ ...window1,
515
+ groupId,
516
+ isGroupActive: true,
517
+ position: { ...window2.position },
518
+ size: { ...window2.size },
519
+ });
520
+ newWindows.set(windowId2, {
521
+ ...window2,
522
+ groupId,
523
+ isGroupActive: false,
524
+ });
525
+ newGroups.set(groupId, newGroup);
526
+ return {
527
+ windows: newWindows,
528
+ groups: newGroups,
529
+ focusedId: windowId1,
530
+ nextZIndex: state.nextZIndex + 1,
531
+ };
532
+ });
533
+ return groupId;
534
+ },
535
+ _addToGroup: (groupId, windowId) => {
536
+ const { windows, groups } = get();
537
+ const window = windows.get(windowId);
538
+ const group = groups.get(groupId);
539
+ if (!window || !group || window.groupId === groupId)
540
+ return;
541
+ // Remove from existing group first
542
+ if (window.groupId) {
543
+ get()._removeFromGroup(windowId);
544
+ }
545
+ set((state) => {
546
+ const newWindows = new Map(state.windows);
547
+ const newGroups = new Map(state.groups);
548
+ const currentGroup = state.groups.get(groupId);
549
+ if (!currentGroup)
550
+ return state;
551
+ const existingMember = state.windows.get(currentGroup.windowIds[0]);
552
+ if (!existingMember)
553
+ return state;
554
+ newWindows.set(windowId, {
555
+ ...window,
556
+ groupId,
557
+ isGroupActive: false,
558
+ position: { ...existingMember.position },
559
+ size: { ...existingMember.size },
560
+ });
561
+ newGroups.set(groupId, {
562
+ ...currentGroup,
563
+ windowIds: [...currentGroup.windowIds, windowId],
564
+ });
565
+ return { windows: newWindows, groups: newGroups };
566
+ });
567
+ },
568
+ _removeFromGroup: (windowId) => {
569
+ const { windows, groups } = get();
570
+ const window = windows.get(windowId);
571
+ if (!window || !window.groupId)
572
+ return;
573
+ const group = groups.get(window.groupId);
574
+ if (!group)
575
+ return;
576
+ set((state) => {
577
+ const newWindows = new Map(state.windows);
578
+ const newGroups = new Map(state.groups);
579
+ const currentGroup = state.groups.get(window.groupId);
580
+ if (!currentGroup)
581
+ return state;
582
+ const remainingWindowIds = currentGroup.windowIds.filter((id) => id !== windowId);
583
+ // Clear group info from this window
584
+ newWindows.set(windowId, {
585
+ ...window,
586
+ groupId: undefined,
587
+ isGroupActive: undefined,
588
+ });
589
+ if (remainingWindowIds.length <= 1) {
590
+ // Dissolve the group
591
+ for (const wId of remainingWindowIds) {
592
+ const w = newWindows.get(wId);
593
+ if (w) {
594
+ newWindows.set(wId, {
595
+ ...w,
596
+ groupId: undefined,
597
+ isGroupActive: undefined,
598
+ });
599
+ }
600
+ }
601
+ newGroups.delete(window.groupId);
602
+ }
603
+ else {
604
+ let newActiveId = currentGroup.activeWindowId;
605
+ if (currentGroup.activeWindowId === windowId) {
606
+ newActiveId = remainingWindowIds[0];
607
+ for (const wId of remainingWindowIds) {
608
+ const w = newWindows.get(wId);
609
+ if (w) {
610
+ newWindows.set(wId, {
611
+ ...w,
612
+ isGroupActive: wId === newActiveId,
613
+ });
614
+ }
615
+ }
616
+ }
617
+ newGroups.set(window.groupId, {
618
+ ...currentGroup,
619
+ windowIds: remainingWindowIds,
620
+ activeWindowId: newActiveId,
621
+ });
622
+ }
623
+ return { windows: newWindows, groups: newGroups };
624
+ });
625
+ },
626
+ _setActiveTab: (groupId, windowId) => {
627
+ const { windows, groups, nextZIndex } = get();
628
+ const group = groups.get(groupId);
629
+ const window = windows.get(windowId);
630
+ if (!group || !window)
631
+ return;
632
+ if (!group.windowIds.includes(windowId))
633
+ return;
634
+ if (group.activeWindowId === windowId)
635
+ return;
636
+ set((state) => {
637
+ const newWindows = new Map(state.windows);
638
+ const newGroups = new Map(state.groups);
639
+ const currentGroup = state.groups.get(groupId);
640
+ if (!currentGroup)
641
+ return state;
642
+ for (const wId of currentGroup.windowIds) {
643
+ const w = newWindows.get(wId);
644
+ if (w) {
645
+ newWindows.set(wId, {
646
+ ...w,
647
+ isGroupActive: wId === windowId,
648
+ zIndex: wId === windowId ? nextZIndex : w.zIndex,
649
+ });
650
+ }
651
+ }
652
+ newGroups.set(groupId, {
653
+ ...currentGroup,
654
+ activeWindowId: windowId,
655
+ });
656
+ return {
657
+ windows: newWindows,
658
+ groups: newGroups,
659
+ focusedId: windowId,
660
+ nextZIndex: state.nextZIndex + 1,
661
+ };
662
+ });
663
+ },
664
+ _minimizeAll: () => {
665
+ set((state) => {
666
+ const newWindows = new Map(state.windows);
667
+ for (const [id, w] of newWindows) {
668
+ newWindows.set(id, { ...w, isMinimized: true });
669
+ }
670
+ return { windows: newWindows, focusedId: null };
671
+ });
672
+ },
673
+ _closeAll: () => {
674
+ // Exit fullscreen first
675
+ get()._exitFullscreen();
676
+ set(() => ({
677
+ windows: new Map(),
678
+ groups: new Map(),
679
+ focusedId: null,
680
+ fullscreenId: null,
681
+ }));
682
+ },
683
+ _cascade: () => {
684
+ const { windows, nextZIndex } = get();
685
+ const windowList = Array.from(windows.values())
686
+ .filter((w) => !w.isMinimized)
687
+ .sort((a, b) => a.zIndex - b.zIndex);
688
+ set((state) => {
689
+ const newWindows = new Map(state.windows);
690
+ let z = nextZIndex;
691
+ windowList.forEach((w, i) => {
692
+ const offset = i * CASCADE_OFFSET;
693
+ newWindows.set(w.id, {
694
+ ...w,
695
+ position: { x: 50 + offset, y: 50 + offset },
696
+ isMaximized: false,
697
+ tilePosition: undefined,
698
+ zIndex: z++,
699
+ });
700
+ });
701
+ return { windows: newWindows, nextZIndex: z };
702
+ });
703
+ },
704
+ _tileAll: (layout) => {
705
+ const { windows } = get();
706
+ const windowList = Array.from(windows.values()).filter((w) => !w.isMinimized);
707
+ if (windowList.length === 0)
708
+ return;
709
+ const viewport = getViewportSize();
710
+ set((state) => {
711
+ const newWindows = new Map(state.windows);
712
+ const count = windowList.length;
713
+ if (layout === 'horizontal') {
714
+ const width = viewport.width / count;
715
+ windowList.forEach((w, i) => {
716
+ newWindows.set(w.id, {
717
+ ...w,
718
+ position: { x: i * width, y: 0 },
719
+ size: { width, height: viewport.height },
720
+ isMaximized: false,
721
+ tilePosition: undefined,
722
+ });
723
+ });
724
+ }
725
+ else if (layout === 'vertical') {
726
+ const height = viewport.height / count;
727
+ windowList.forEach((w, i) => {
728
+ newWindows.set(w.id, {
729
+ ...w,
730
+ position: { x: 0, y: i * height },
731
+ size: { width: viewport.width, height },
732
+ isMaximized: false,
733
+ tilePosition: undefined,
734
+ });
735
+ });
736
+ }
737
+ else {
738
+ // Grid
739
+ const cols = Math.ceil(Math.sqrt(count));
740
+ const rows = Math.ceil(count / cols);
741
+ const cellWidth = viewport.width / cols;
742
+ const cellHeight = viewport.height / rows;
743
+ windowList.forEach((w, i) => {
744
+ const col = i % cols;
745
+ const row = Math.floor(i / cols);
746
+ newWindows.set(w.id, {
747
+ ...w,
748
+ position: { x: col * cellWidth, y: row * cellHeight },
749
+ size: { width: cellWidth, height: cellHeight },
750
+ isMaximized: false,
751
+ tilePosition: undefined,
752
+ });
753
+ });
754
+ }
755
+ return { windows: newWindows };
756
+ });
757
+ },
758
+ }));
759
+ // ═══════════════════════════════════════════════════════════════════════════
760
+ // Public Hook
761
+ // ═══════════════════════════════════════════════════════════════════════════
762
+ /**
763
+ * Hook for window management.
764
+ *
765
+ * Provides all window lifecycle, focus, and state management operations.
766
+ *
767
+ * @example
768
+ * ```tsx
769
+ * const { windows, open, close, focus } = useWindowManager();
770
+ *
771
+ * const handleOpenWindow = () => {
772
+ * const id = open({ title: 'My Window', size: { width: 800, height: 600 } });
773
+ * console.log('Opened window:', id);
774
+ * };
775
+ * ```
776
+ */
777
+ export function useWindowManager() {
778
+ const store = useWindowManagerStore(useShallow((state) => ({
779
+ windows: state.windows,
780
+ groups: state.groups,
781
+ focusedId: state.focusedId,
782
+ fullscreenId: state.fullscreenId,
783
+ open: state._open,
784
+ close: state._close,
785
+ focus: state._focus,
786
+ minimize: state._minimize,
787
+ maximize: state._maximize,
788
+ restore: state._restore,
789
+ fullscreen: state._fullscreen,
790
+ exitFullscreen: state._exitFullscreen,
791
+ move: state._move,
792
+ resize: state._resize,
793
+ tile: state._tile,
794
+ untile: state._untile,
795
+ cycleFocusNext: state._cycleFocusNext,
796
+ createGroup: state._createGroup,
797
+ addToGroup: state._addToGroup,
798
+ removeFromGroup: state._removeFromGroup,
799
+ setActiveTab: state._setActiveTab,
800
+ minimizeAll: state._minimizeAll,
801
+ closeAll: state._closeAll,
802
+ cascade: state._cascade,
803
+ tileAll: state._tileAll,
804
+ })));
805
+ return {
806
+ windows: Array.from(store.windows.values()),
807
+ focusedId: store.focusedId,
808
+ fullscreenId: store.fullscreenId,
809
+ groups: Array.from(store.groups.values()),
810
+ open: store.open,
811
+ close: store.close,
812
+ focus: store.focus,
813
+ cycleFocusNext: store.cycleFocusNext,
814
+ minimize: store.minimize,
815
+ maximize: store.maximize,
816
+ restore: store.restore,
817
+ fullscreen: store.fullscreen,
818
+ exitFullscreen: store.exitFullscreen,
819
+ move: store.move,
820
+ resize: store.resize,
821
+ tile: store.tile,
822
+ untile: store.untile,
823
+ createGroup: store.createGroup,
824
+ addToGroup: store.addToGroup,
825
+ removeFromGroup: store.removeFromGroup,
826
+ setActiveTab: store.setActiveTab,
827
+ minimizeAll: store.minimizeAll,
828
+ closeAll: store.closeAll,
829
+ cascade: store.cascade,
830
+ tileAll: store.tileAll,
831
+ getWindow: (id) => store.windows.get(id),
832
+ getWindowGroup: (windowId) => {
833
+ const w = store.windows.get(windowId);
834
+ return w?.groupId ? store.groups.get(w.groupId) : undefined;
835
+ },
836
+ };
837
+ }
838
+ // ═══════════════════════════════════════════════════════════════════════════
839
+ // Optimized Selector Hooks
840
+ // ═══════════════════════════════════════════════════════════════════════════
841
+ /**
842
+ * Get array of window IDs - only re-renders when IDs change.
843
+ *
844
+ * @returns Array of all window IDs in the system
845
+ *
846
+ * @example
847
+ * ```tsx
848
+ * const windowIds = useWindowIds();
849
+ * return windowIds.map(id => <WindowListItem key={id} windowId={id} />);
850
+ * ```
851
+ */
852
+ export function useWindowIds() {
853
+ return useWindowManagerStore(useShallow((state) => Array.from(state.windows.keys())));
854
+ }
855
+ /**
856
+ * Get a single window by ID - only re-renders when that window changes.
857
+ *
858
+ * @param id - The window ID to retrieve
859
+ * @returns The window state or undefined if not found
860
+ *
861
+ * @example
862
+ * ```tsx
863
+ * const window = useWindow(windowId);
864
+ * if (!window) return null;
865
+ * return <div>{window.title}</div>;
866
+ * ```
867
+ */
868
+ export function useWindow(id) {
869
+ return useWindowManagerStore((state) => state.windows.get(id));
870
+ }
871
+ /**
872
+ * Check if a specific window is focused.
873
+ *
874
+ * @param id - The window ID to check
875
+ * @returns True if the window is currently focused
876
+ *
877
+ * @example
878
+ * ```tsx
879
+ * const isFocused = useIsWindowFocused(windowId);
880
+ * return <div className={isFocused ? 'focused' : ''}>...</div>;
881
+ * ```
882
+ */
883
+ export function useIsWindowFocused(id) {
884
+ return useWindowManagerStore((state) => state.focusedId === id);
885
+ }
886
+ /**
887
+ * Check if a specific window is fullscreen.
888
+ *
889
+ * @param id - The window ID to check
890
+ * @returns True if the window is in fullscreen mode
891
+ */
892
+ export function useIsWindowFullscreen(id) {
893
+ return useWindowManagerStore((state) => state.fullscreenId === id);
894
+ }
895
+ /**
896
+ * Check if any window is in fullscreen mode.
897
+ *
898
+ * @returns True if any window is currently fullscreen
899
+ *
900
+ * @example
901
+ * ```tsx
902
+ * const isFullscreen = useIsFullscreenActive();
903
+ * return isFullscreen ? <FullscreenOverlay /> : <Taskbar />;
904
+ * ```
905
+ */
906
+ export function useIsFullscreenActive() {
907
+ return useWindowManagerStore((state) => state.fullscreenId !== null);
908
+ }
909
+ /**
910
+ * Get window actions with stable references.
911
+ * Useful when you only need actions without subscribing to state changes.
912
+ *
913
+ * @returns Object containing all window action methods
914
+ *
915
+ * @example
916
+ * ```tsx
917
+ * const { close, minimize, maximize } = useWindowActions();
918
+ * return <button onClick={() => close(windowId)}>Close</button>;
919
+ * ```
920
+ */
921
+ export function useWindowActions() {
922
+ return useWindowManagerStore(useShallow((state) => ({
923
+ open: state._open,
924
+ close: state._close,
925
+ focus: state._focus,
926
+ minimize: state._minimize,
927
+ maximize: state._maximize,
928
+ restore: state._restore,
929
+ move: state._move,
930
+ resize: state._resize,
931
+ tile: state._tile,
932
+ untile: state._untile,
933
+ fullscreen: state._fullscreen,
934
+ exitFullscreen: state._exitFullscreen,
935
+ })));
936
+ }
937
+ /**
938
+ * Get a window group by ID.
939
+ *
940
+ * @param groupId - The group ID to retrieve, or undefined
941
+ * @returns The window group or undefined if not found
942
+ *
943
+ * @example
944
+ * ```tsx
945
+ * const group = useWindowGroup(window.groupId);
946
+ * if (group) {
947
+ * return <TabBar windowIds={group.windowIds} activeId={group.activeWindowId} />;
948
+ * }
949
+ * ```
950
+ */
951
+ export function useWindowGroup(groupId) {
952
+ return useWindowManagerStore((state) => groupId ? state.groups.get(groupId) : undefined);
953
+ }