@elevasis/ui 1.20.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (584) hide show
  1. package/dist/auth/index.d.ts +174 -14
  2. package/dist/charts/index.js +3 -2
  3. package/dist/{chunk-Z2BXCFAG.js → chunk-2WLVOFK7.js} +1 -1
  4. package/dist/{chunk-ACD2QA6E.js → chunk-3DIU726S.js} +2 -2
  5. package/dist/chunk-3KMDHCAR.js +52 -0
  6. package/dist/chunk-AWT255UH.js +255 -0
  7. package/dist/{chunk-AWMZCYKH.js → chunk-BC6TJEON.js} +2 -45
  8. package/dist/{chunk-I6EVLOP3.js → chunk-CRFV2TVK.js} +2 -2
  9. package/dist/{chunk-EMN755L5.js → chunk-CTF6FS2M.js} +10 -216
  10. package/dist/{chunk-4SY4EQSK.js → chunk-CYJILY7M.js} +3 -3
  11. package/dist/{chunk-AQ5MQDSS.js → chunk-EDAYKRPJ.js} +404 -2
  12. package/dist/{chunk-XOTN3X3Z.js → chunk-FATKFO7X.js} +3 -54
  13. package/dist/{chunk-ERVB3QJQ.js → chunk-FVBYSDM4.js} +1 -1
  14. package/dist/{chunk-BX565EOK.js → chunk-MOBXWBES.js} +495 -860
  15. package/dist/{chunk-U4CHEPIL.js → chunk-NL6EFQYE.js} +515 -265
  16. package/dist/{chunk-JHMJKDVU.js → chunk-R3R367QY.js} +1 -1
  17. package/dist/chunk-ROSMICXG.js +668 -0
  18. package/dist/{chunk-GH7ZO4VD.js → chunk-ST2RSBQ3.js} +364 -364
  19. package/dist/{chunk-JZEXFQ6N.js → chunk-UZWZY7TJ.js} +2 -2
  20. package/dist/{chunk-UMFPUM7Q.js → chunk-V422ET6W.js} +12 -12
  21. package/dist/components/chat/index.d.ts +202 -0
  22. package/dist/components/chat/index.js +2 -0
  23. package/dist/components/index.d.ts +5708 -22
  24. package/dist/components/index.js +2653 -2901
  25. package/dist/features/auth/index.d.ts +2557 -9
  26. package/dist/features/dashboard/index.d.ts +244 -9
  27. package/dist/features/dashboard/index.js +10 -9
  28. package/dist/features/monitoring/index.d.ts +121 -15
  29. package/dist/features/monitoring/index.js +11 -10
  30. package/dist/features/operations/index.d.ts +2006 -29
  31. package/dist/features/operations/index.js +1116 -170
  32. package/dist/features/settings/index.d.ts +2589 -23
  33. package/dist/features/settings/index.js +10 -9
  34. package/dist/hooks/index.css +68 -0
  35. package/dist/hooks/index.d.ts +7772 -22
  36. package/dist/hooks/index.js +6 -6
  37. package/dist/hooks/published.css +68 -0
  38. package/dist/hooks/published.d.ts +7216 -21
  39. package/dist/hooks/published.js +5 -5
  40. package/dist/index.css +68 -0
  41. package/dist/index.d.ts +9684 -15
  42. package/dist/index.js +7 -7
  43. package/dist/initialization/index.d.ts +2526 -23
  44. package/dist/layout/index.d.ts +3 -3
  45. package/dist/layout/index.js +4 -4
  46. package/dist/organization/index.d.ts +274 -23
  47. package/dist/profile/index.d.ts +2477 -15
  48. package/dist/provider/index.d.ts +334 -11
  49. package/dist/provider/index.js +4 -4
  50. package/dist/provider/published.d.ts +309 -11
  51. package/dist/theme/index.d.ts +148 -10
  52. package/dist/theme/index.js +3 -3
  53. package/dist/theme/presets/synapse.d.ts.map +1 -1
  54. package/dist/theme/presets/synapse.js +75 -0
  55. package/dist/types/index.d.ts +1 -1
  56. package/package.json +9 -4
  57. package/dist/auth/guards/AdminGuard.d.ts +0 -32
  58. package/dist/auth/guards/AdminGuard.d.ts.map +0 -1
  59. package/dist/auth/guards/ProtectedRoute.d.ts +0 -60
  60. package/dist/auth/guards/ProtectedRoute.d.ts.map +0 -1
  61. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts +0 -12
  62. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts.map +0 -1
  63. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts +0 -14
  64. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts.map +0 -1
  65. package/dist/auth/index.d.ts.map +0 -1
  66. package/dist/chunk-JFRG2JJE.js +0 -47
  67. package/dist/components/charts/ActivityTrendChart.d.ts +0 -13
  68. package/dist/components/charts/ActivityTrendChart.d.ts.map +0 -1
  69. package/dist/components/charts/CombinedTrendChart.d.ts +0 -22
  70. package/dist/components/charts/CombinedTrendChart.d.ts.map +0 -1
  71. package/dist/components/charts/CostTrendChart.d.ts +0 -13
  72. package/dist/components/charts/CostTrendChart.d.ts.map +0 -1
  73. package/dist/components/charts/HeroStatsRow.d.ts +0 -15
  74. package/dist/components/charts/HeroStatsRow.d.ts.map +0 -1
  75. package/dist/components/charts/index.d.ts +0 -9
  76. package/dist/components/charts/index.d.ts.map +0 -1
  77. package/dist/components/command-queue/TaskCard.d.ts +0 -18
  78. package/dist/components/command-queue/TaskCard.d.ts.map +0 -1
  79. package/dist/components/command-queue/index.d.ts +0 -5
  80. package/dist/components/command-queue/index.d.ts.map +0 -1
  81. package/dist/components/display/PageNotFound.d.ts +0 -2
  82. package/dist/components/display/PageNotFound.d.ts.map +0 -1
  83. package/dist/components/display/index.d.ts +0 -26
  84. package/dist/components/display/index.d.ts.map +0 -1
  85. package/dist/components/execution/ExecutionStats.d.ts +0 -16
  86. package/dist/components/execution/ExecutionStats.d.ts.map +0 -1
  87. package/dist/components/execution/index.d.ts +0 -18
  88. package/dist/components/execution/index.d.ts.map +0 -1
  89. package/dist/components/index.d.ts.map +0 -1
  90. package/dist/components/layout/backgrounds/AuroraBackground.d.ts +0 -16
  91. package/dist/components/layout/backgrounds/AuroraBackground.d.ts.map +0 -1
  92. package/dist/components/layout/backgrounds/AuroraBackground.js +0 -169
  93. package/dist/components/layout/backgrounds/EmberBackground.d.ts +0 -16
  94. package/dist/components/layout/backgrounds/EmberBackground.d.ts.map +0 -1
  95. package/dist/components/layout/backgrounds/EmberBackground.js +0 -169
  96. package/dist/components/layout/backgrounds/RoseGoldBackground.d.ts +0 -16
  97. package/dist/components/layout/backgrounds/RoseGoldBackground.d.ts.map +0 -1
  98. package/dist/components/layout/backgrounds/RoseGoldBackground.js +0 -169
  99. package/dist/components/monitoring/ErrorBreakdownTable.d.ts +0 -12
  100. package/dist/components/monitoring/ErrorBreakdownTable.d.ts.map +0 -1
  101. package/dist/components/monitoring/ResourceHealthPanel.d.ts +0 -8
  102. package/dist/components/monitoring/ResourceHealthPanel.d.ts.map +0 -1
  103. package/dist/components/monitoring/index.d.ts +0 -16
  104. package/dist/components/monitoring/index.d.ts.map +0 -1
  105. package/dist/components/notifications/NotificationBell.d.ts +0 -9
  106. package/dist/components/notifications/NotificationBell.d.ts.map +0 -1
  107. package/dist/components/notifications/NotificationItem.d.ts +0 -9
  108. package/dist/components/notifications/NotificationItem.d.ts.map +0 -1
  109. package/dist/components/notifications/NotificationList.d.ts +0 -10
  110. package/dist/components/notifications/NotificationList.d.ts.map +0 -1
  111. package/dist/components/notifications/NotificationPanel.d.ts +0 -10
  112. package/dist/components/notifications/NotificationPanel.d.ts.map +0 -1
  113. package/dist/components/notifications/index.d.ts +0 -5
  114. package/dist/components/notifications/index.d.ts.map +0 -1
  115. package/dist/components/operations/calibration/CreateProjectModal.d.ts +0 -9
  116. package/dist/components/operations/calibration/CreateProjectModal.d.ts.map +0 -1
  117. package/dist/components/operations/calibration/ProjectCard.d.ts +0 -9
  118. package/dist/components/operations/calibration/ProjectCard.d.ts.map +0 -1
  119. package/dist/components/operations/command-queue/index.d.ts +0 -3
  120. package/dist/components/operations/command-queue/index.d.ts.map +0 -1
  121. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts +0 -17
  122. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts.map +0 -1
  123. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts +0 -17
  124. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts.map +0 -1
  125. package/dist/components/operations/command-queue/sidebar/index.d.ts +0 -5
  126. package/dist/components/operations/command-queue/sidebar/index.d.ts.map +0 -1
  127. package/dist/components/operations/command-view/CommandViewGraph.d.ts +0 -22
  128. package/dist/components/operations/command-view/CommandViewGraph.d.ts.map +0 -1
  129. package/dist/components/operations/command-view/index.d.ts +0 -4
  130. package/dist/components/operations/command-view/index.d.ts.map +0 -1
  131. package/dist/components/operations/executions/AgentExecutionLogs.d.ts +0 -13
  132. package/dist/components/operations/executions/AgentExecutionLogs.d.ts.map +0 -1
  133. package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts +0 -13
  134. package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts.map +0 -1
  135. package/dist/components/operations/executions/index.d.ts +0 -4
  136. package/dist/components/operations/executions/index.d.ts.map +0 -1
  137. package/dist/components/operations/index.d.ts +0 -8
  138. package/dist/components/operations/index.d.ts.map +0 -1
  139. package/dist/components/operations/knowledge-base/DocTreeNav.d.ts +0 -14
  140. package/dist/components/operations/knowledge-base/DocTreeNav.d.ts.map +0 -1
  141. package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts +0 -16
  142. package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts.map +0 -1
  143. package/dist/components/operations/knowledge-base/index.d.ts +0 -3
  144. package/dist/components/operations/knowledge-base/index.d.ts.map +0 -1
  145. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts +0 -16
  146. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts.map +0 -1
  147. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts +0 -12
  148. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts.map +0 -1
  149. package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts +0 -12
  150. package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts.map +0 -1
  151. package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts +0 -7
  152. package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts.map +0 -1
  153. package/dist/components/operations/shared/index.d.ts +0 -5
  154. package/dist/components/operations/shared/index.d.ts.map +0 -1
  155. package/dist/components/operations/shared/layouts/ResourceHeader.d.ts +0 -11
  156. package/dist/components/operations/shared/layouts/ResourceHeader.d.ts.map +0 -1
  157. package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts +0 -8
  158. package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts.map +0 -1
  159. package/dist/components/operations/shared/layouts/index.d.ts +0 -4
  160. package/dist/components/operations/shared/layouts/index.d.ts.map +0 -1
  161. package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts +0 -7
  162. package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts.map +0 -1
  163. package/dist/components/operations/task-scheduler/TaskScheduler.d.ts +0 -2
  164. package/dist/components/operations/task-scheduler/TaskScheduler.d.ts.map +0 -1
  165. package/dist/components/operations/task-scheduler/index.d.ts +0 -11
  166. package/dist/components/operations/task-scheduler/index.d.ts.map +0 -1
  167. package/dist/components/sdk-barrel.d.ts +0 -26
  168. package/dist/components/sdk-barrel.d.ts.map +0 -1
  169. package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts +0 -9
  170. package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts.map +0 -1
  171. package/dist/components/settings/api-keys/ApiKeyList.d.ts +0 -8
  172. package/dist/components/settings/api-keys/ApiKeyList.d.ts.map +0 -1
  173. package/dist/components/settings/api-keys/ApiKeySettings.d.ts +0 -2
  174. package/dist/components/settings/api-keys/ApiKeySettings.d.ts.map +0 -1
  175. package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts +0 -9
  176. package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts.map +0 -1
  177. package/dist/components/settings/api-keys/EditApiKeyModal.d.ts +0 -8
  178. package/dist/components/settings/api-keys/EditApiKeyModal.d.ts.map +0 -1
  179. package/dist/components/settings/api-keys/index.d.ts +0 -6
  180. package/dist/components/settings/api-keys/index.d.ts.map +0 -1
  181. package/dist/components/settings/credentials/CreateCredentialModal.d.ts +0 -9
  182. package/dist/components/settings/credentials/CreateCredentialModal.d.ts.map +0 -1
  183. package/dist/components/settings/credentials/CredentialList.d.ts +0 -10
  184. package/dist/components/settings/credentials/CredentialList.d.ts.map +0 -1
  185. package/dist/components/settings/credentials/CredentialSettings.d.ts +0 -7
  186. package/dist/components/settings/credentials/CredentialSettings.d.ts.map +0 -1
  187. package/dist/components/settings/credentials/index.d.ts +0 -5
  188. package/dist/components/settings/credentials/index.d.ts.map +0 -1
  189. package/dist/components/settings/deployments/DeploymentList.d.ts +0 -8
  190. package/dist/components/settings/deployments/DeploymentList.d.ts.map +0 -1
  191. package/dist/components/settings/deployments/DeploymentSettings.d.ts +0 -2
  192. package/dist/components/settings/deployments/DeploymentSettings.d.ts.map +0 -1
  193. package/dist/components/settings/deployments/index.d.ts +0 -5
  194. package/dist/components/settings/deployments/index.d.ts.map +0 -1
  195. package/dist/components/settings/index.d.ts +0 -6
  196. package/dist/components/settings/index.d.ts.map +0 -1
  197. package/dist/components/table/SortableHeader.d.ts +0 -12
  198. package/dist/components/table/SortableHeader.d.ts.map +0 -1
  199. package/dist/components/table/index.d.ts +0 -4
  200. package/dist/components/table/index.d.ts.map +0 -1
  201. package/dist/features/auth/AdminGuard.d.ts +0 -38
  202. package/dist/features/auth/AdminGuard.d.ts.map +0 -1
  203. package/dist/features/auth/FeatureGuard.d.ts +0 -45
  204. package/dist/features/auth/FeatureGuard.d.ts.map +0 -1
  205. package/dist/features/auth/ProtectedRoute.d.ts +0 -43
  206. package/dist/features/auth/ProtectedRoute.d.ts.map +0 -1
  207. package/dist/features/auth/index.d.ts.map +0 -1
  208. package/dist/features/auth/useUserProfile.d.ts +0 -10
  209. package/dist/features/auth/useUserProfile.d.ts.map +0 -1
  210. package/dist/features/dashboard/Dashboard.d.ts +0 -57
  211. package/dist/features/dashboard/Dashboard.d.ts.map +0 -1
  212. package/dist/features/dashboard/RecentExecutionsByResource.d.ts +0 -11
  213. package/dist/features/dashboard/RecentExecutionsByResource.d.ts.map +0 -1
  214. package/dist/features/dashboard/ResourceOverview.d.ts +0 -21
  215. package/dist/features/dashboard/ResourceOverview.d.ts.map +0 -1
  216. package/dist/features/dashboard/UnresolvedErrorsTeaser.d.ts +0 -7
  217. package/dist/features/dashboard/UnresolvedErrorsTeaser.d.ts.map +0 -1
  218. package/dist/features/dashboard/index.d.ts.map +0 -1
  219. package/dist/features/monitoring/ActivityFeed.d.ts +0 -37
  220. package/dist/features/monitoring/ActivityFeed.d.ts.map +0 -1
  221. package/dist/features/monitoring/ActivityLog.d.ts +0 -8
  222. package/dist/features/monitoring/ActivityLog.d.ts.map +0 -1
  223. package/dist/features/monitoring/CostAnalytics.d.ts +0 -13
  224. package/dist/features/monitoring/CostAnalytics.d.ts.map +0 -1
  225. package/dist/features/monitoring/ErrorDetailsModal.d.ts +0 -13
  226. package/dist/features/monitoring/ErrorDetailsModal.d.ts.map +0 -1
  227. package/dist/features/monitoring/ExecutionHealth.d.ts +0 -9
  228. package/dist/features/monitoring/ExecutionHealth.d.ts.map +0 -1
  229. package/dist/features/monitoring/ExecutionLogsPage.d.ts +0 -20
  230. package/dist/features/monitoring/ExecutionLogsPage.d.ts.map +0 -1
  231. package/dist/features/monitoring/NotificationCenter.d.ts +0 -5
  232. package/dist/features/monitoring/NotificationCenter.d.ts.map +0 -1
  233. package/dist/features/monitoring/index.d.ts.map +0 -1
  234. package/dist/features/operations/CalibrationPage.d.ts +0 -9
  235. package/dist/features/operations/CalibrationPage.d.ts.map +0 -1
  236. package/dist/features/operations/CalibrationProjectDetailPage.d.ts +0 -43
  237. package/dist/features/operations/CalibrationProjectDetailPage.d.ts.map +0 -1
  238. package/dist/features/operations/CalibrationProjectsPage.d.ts +0 -10
  239. package/dist/features/operations/CalibrationProjectsPage.d.ts.map +0 -1
  240. package/dist/features/operations/CalibrationRunDetailPage.d.ts +0 -35
  241. package/dist/features/operations/CalibrationRunDetailPage.d.ts.map +0 -1
  242. package/dist/features/operations/CommandQueueDetailPage.d.ts +0 -16
  243. package/dist/features/operations/CommandQueueDetailPage.d.ts.map +0 -1
  244. package/dist/features/operations/CommandQueuePage.d.ts +0 -13
  245. package/dist/features/operations/CommandQueuePage.d.ts.map +0 -1
  246. package/dist/features/operations/CommandViewPage.d.ts +0 -6
  247. package/dist/features/operations/CommandViewPage.d.ts.map +0 -1
  248. package/dist/features/operations/CommandViewSidebarContent.d.ts +0 -19
  249. package/dist/features/operations/CommandViewSidebarContent.d.ts.map +0 -1
  250. package/dist/features/operations/ResourceDetailPage.d.ts +0 -25
  251. package/dist/features/operations/ResourceDetailPage.d.ts.map +0 -1
  252. package/dist/features/operations/ResourcesPage.d.ts +0 -15
  253. package/dist/features/operations/ResourcesPage.d.ts.map +0 -1
  254. package/dist/features/operations/ResourcesSidebar.d.ts +0 -9
  255. package/dist/features/operations/ResourcesSidebar.d.ts.map +0 -1
  256. package/dist/features/operations/calibration-components/ComparisonTable.d.ts +0 -9
  257. package/dist/features/operations/calibration-components/ComparisonTable.d.ts.map +0 -1
  258. package/dist/features/operations/executions/AgentExecutionPanel.d.ts +0 -12
  259. package/dist/features/operations/executions/AgentExecutionPanel.d.ts.map +0 -1
  260. package/dist/features/operations/executions/ExecutionPanel.d.ts +0 -13
  261. package/dist/features/operations/executions/ExecutionPanel.d.ts.map +0 -1
  262. package/dist/features/operations/executions/WorkflowExecutionPanel.d.ts +0 -12
  263. package/dist/features/operations/executions/WorkflowExecutionPanel.d.ts.map +0 -1
  264. package/dist/features/operations/executions/index.d.ts +0 -7
  265. package/dist/features/operations/executions/index.d.ts.map +0 -1
  266. package/dist/features/operations/index.d.ts.map +0 -1
  267. package/dist/features/operations/layouts/components/ResourceHeader.d.ts +0 -11
  268. package/dist/features/operations/layouts/components/ResourceHeader.d.ts.map +0 -1
  269. package/dist/features/operations/layouts/components/ResourceNotFoundState.d.ts +0 -8
  270. package/dist/features/operations/layouts/components/ResourceNotFoundState.d.ts.map +0 -1
  271. package/dist/features/operations/layouts/components/index.d.ts +0 -4
  272. package/dist/features/operations/layouts/components/index.d.ts.map +0 -1
  273. package/dist/features/settings/AccountSettings.d.ts +0 -20
  274. package/dist/features/settings/AccountSettings.d.ts.map +0 -1
  275. package/dist/features/settings/AppearanceSettings.d.ts +0 -23
  276. package/dist/features/settings/AppearanceSettings.d.ts.map +0 -1
  277. package/dist/features/settings/CreateWebhookEndpointModal.d.ts +0 -8
  278. package/dist/features/settings/CreateWebhookEndpointModal.d.ts.map +0 -1
  279. package/dist/features/settings/EditCredentialModal.d.ts +0 -9
  280. package/dist/features/settings/EditCredentialModal.d.ts.map +0 -1
  281. package/dist/features/settings/EditWebhookEndpointModal.d.ts +0 -8
  282. package/dist/features/settings/EditWebhookEndpointModal.d.ts.map +0 -1
  283. package/dist/features/settings/MemberConfigModal.d.ts +0 -14
  284. package/dist/features/settings/MemberConfigModal.d.ts.map +0 -1
  285. package/dist/features/settings/OAuthIntegrationsCard.d.ts +0 -6
  286. package/dist/features/settings/OAuthIntegrationsCard.d.ts.map +0 -1
  287. package/dist/features/settings/OrgMembersList.d.ts +0 -5
  288. package/dist/features/settings/OrgMembersList.d.ts.map +0 -1
  289. package/dist/features/settings/OrganizationSettings.d.ts +0 -30
  290. package/dist/features/settings/OrganizationSettings.d.ts.map +0 -1
  291. package/dist/features/settings/WebhookEndpointList.d.ts +0 -9
  292. package/dist/features/settings/WebhookEndpointList.d.ts.map +0 -1
  293. package/dist/features/settings/WebhookEndpointSettings.d.ts +0 -6
  294. package/dist/features/settings/WebhookEndpointSettings.d.ts.map +0 -1
  295. package/dist/features/settings/index.d.ts.map +0 -1
  296. package/dist/hooks/command-queue/index.d.ts +0 -7
  297. package/dist/hooks/command-queue/index.d.ts.map +0 -1
  298. package/dist/hooks/command-queue/useCommandQueue.d.ts +0 -33
  299. package/dist/hooks/command-queue/useCommandQueue.d.ts.map +0 -1
  300. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts +0 -17
  301. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts.map +0 -1
  302. package/dist/hooks/command-queue/useDeleteTask.d.ts +0 -5
  303. package/dist/hooks/command-queue/useDeleteTask.d.ts.map +0 -1
  304. package/dist/hooks/command-queue/usePatchTask.d.ts +0 -6
  305. package/dist/hooks/command-queue/usePatchTask.d.ts.map +0 -1
  306. package/dist/hooks/command-queue/useSubmitAction.d.ts +0 -29
  307. package/dist/hooks/command-queue/useSubmitAction.d.ts.map +0 -1
  308. package/dist/hooks/executions/index.d.ts +0 -17
  309. package/dist/hooks/executions/index.d.ts.map +0 -1
  310. package/dist/hooks/executions/useArchivedLogs.d.ts +0 -14
  311. package/dist/hooks/executions/useArchivedLogs.d.ts.map +0 -1
  312. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts +0 -15
  313. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts.map +0 -1
  314. package/dist/hooks/executions/useCancelExecution.d.ts +0 -20
  315. package/dist/hooks/executions/useCancelExecution.d.ts.map +0 -1
  316. package/dist/hooks/executions/useDeleteExecution.d.ts +0 -13
  317. package/dist/hooks/executions/useDeleteExecution.d.ts.map +0 -1
  318. package/dist/hooks/executions/useExecuteAsync.d.ts +0 -21
  319. package/dist/hooks/executions/useExecuteAsync.d.ts.map +0 -1
  320. package/dist/hooks/executions/useExecution.d.ts +0 -10
  321. package/dist/hooks/executions/useExecution.d.ts.map +0 -1
  322. package/dist/hooks/executions/useExecutions.d.ts +0 -16
  323. package/dist/hooks/executions/useExecutions.d.ts.map +0 -1
  324. package/dist/hooks/executions/useResourceDefinition.d.ts +0 -9
  325. package/dist/hooks/executions/useResourceDefinition.d.ts.map +0 -1
  326. package/dist/hooks/executions/useResources.d.ts +0 -15
  327. package/dist/hooks/executions/useResources.d.ts.map +0 -1
  328. package/dist/hooks/executions/useRetryExecution.d.ts +0 -16
  329. package/dist/hooks/executions/useRetryExecution.d.ts.map +0 -1
  330. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts +0 -41
  331. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts.map +0 -1
  332. package/dist/hooks/feature-access/index.d.ts +0 -2
  333. package/dist/hooks/feature-access/index.d.ts.map +0 -1
  334. package/dist/hooks/index.d.ts.map +0 -1
  335. package/dist/hooks/monitoring/index.d.ts +0 -11
  336. package/dist/hooks/monitoring/index.d.ts.map +0 -1
  337. package/dist/hooks/monitoring/useActivities.d.ts +0 -52
  338. package/dist/hooks/monitoring/useActivities.d.ts.map +0 -1
  339. package/dist/hooks/monitoring/useCostSummary.d.ts +0 -7
  340. package/dist/hooks/monitoring/useCostSummary.d.ts.map +0 -1
  341. package/dist/hooks/monitoring/useExecutionHealth.d.ts +0 -10
  342. package/dist/hooks/monitoring/useExecutionHealth.d.ts.map +0 -1
  343. package/dist/hooks/monitoring/useExecutionLogs.d.ts +0 -56
  344. package/dist/hooks/monitoring/useExecutionLogs.d.ts.map +0 -1
  345. package/dist/hooks/monitoring/useNotificationCount.d.ts +0 -26
  346. package/dist/hooks/monitoring/useNotificationCount.d.ts.map +0 -1
  347. package/dist/hooks/monitoring/useNotifications.d.ts +0 -11
  348. package/dist/hooks/monitoring/useNotifications.d.ts.map +0 -1
  349. package/dist/hooks/notifications/index.d.ts +0 -8
  350. package/dist/hooks/notifications/index.d.ts.map +0 -1
  351. package/dist/hooks/notifications/useMarkAllAsRead.d.ts +0 -2
  352. package/dist/hooks/notifications/useMarkAllAsRead.d.ts.map +0 -1
  353. package/dist/hooks/notifications/useMarkAsRead.d.ts +0 -2
  354. package/dist/hooks/notifications/useMarkAsRead.d.ts.map +0 -1
  355. package/dist/hooks/notifications/useTestNotification.d.ts +0 -16
  356. package/dist/hooks/notifications/useTestNotification.d.ts.map +0 -1
  357. package/dist/hooks/observability/index.d.ts +0 -25
  358. package/dist/hooks/observability/index.d.ts.map +0 -1
  359. package/dist/hooks/observability/useBatchedResourcesHealth.d.ts +0 -15
  360. package/dist/hooks/observability/useBatchedResourcesHealth.d.ts.map +0 -1
  361. package/dist/hooks/observability/useBusinessImpact.d.ts +0 -9
  362. package/dist/hooks/observability/useBusinessImpact.d.ts.map +0 -1
  363. package/dist/hooks/observability/useCostBreakdown.d.ts +0 -10
  364. package/dist/hooks/observability/useCostBreakdown.d.ts.map +0 -1
  365. package/dist/hooks/observability/useCostByModel.d.ts +0 -3
  366. package/dist/hooks/observability/useCostByModel.d.ts.map +0 -1
  367. package/dist/hooks/observability/useCostTrends.d.ts +0 -3
  368. package/dist/hooks/observability/useCostTrends.d.ts.map +0 -1
  369. package/dist/hooks/observability/useDashboardMetrics.d.ts +0 -3
  370. package/dist/hooks/observability/useDashboardMetrics.d.ts.map +0 -1
  371. package/dist/hooks/observability/useErrorAnalysis.d.ts +0 -7
  372. package/dist/hooks/observability/useErrorAnalysis.d.ts.map +0 -1
  373. package/dist/hooks/observability/useErrorDetails.d.ts +0 -20
  374. package/dist/hooks/observability/useErrorDetails.d.ts.map +0 -1
  375. package/dist/hooks/observability/useErrorDistribution.d.ts +0 -12
  376. package/dist/hooks/observability/useErrorDistribution.d.ts.map +0 -1
  377. package/dist/hooks/observability/useErrorTrends.d.ts +0 -12
  378. package/dist/hooks/observability/useErrorTrends.d.ts.map +0 -1
  379. package/dist/hooks/observability/useRecentExecutionsByResource.d.ts +0 -18
  380. package/dist/hooks/observability/useRecentExecutionsByResource.d.ts.map +0 -1
  381. package/dist/hooks/observability/useResolveError.d.ts +0 -17
  382. package/dist/hooks/observability/useResolveError.d.ts.map +0 -1
  383. package/dist/hooks/observability/useResourcesHealth.d.ts +0 -13
  384. package/dist/hooks/observability/useResourcesHealth.d.ts.map +0 -1
  385. package/dist/hooks/observability/useTopFailingResources.d.ts +0 -13
  386. package/dist/hooks/observability/useTopFailingResources.d.ts.map +0 -1
  387. package/dist/hooks/observability/useUnresolvedErrors.d.ts +0 -15
  388. package/dist/hooks/observability/useUnresolvedErrors.d.ts.map +0 -1
  389. package/dist/hooks/operations/calibration/useCalibrationProjects.d.ts +0 -24
  390. package/dist/hooks/operations/calibration/useCalibrationProjects.d.ts.map +0 -1
  391. package/dist/hooks/operations/calibration/useCalibrationRunFull.d.ts +0 -3
  392. package/dist/hooks/operations/calibration/useCalibrationRunFull.d.ts.map +0 -1
  393. package/dist/hooks/operations/calibration/useCalibrationRuns.d.ts +0 -35
  394. package/dist/hooks/operations/calibration/useCalibrationRuns.d.ts.map +0 -1
  395. package/dist/hooks/operations/command-view/index.d.ts +0 -8
  396. package/dist/hooks/operations/command-view/index.d.ts.map +0 -1
  397. package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts +0 -24
  398. package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts.map +0 -1
  399. package/dist/hooks/operations/command-view/useCommandViewData.d.ts +0 -11
  400. package/dist/hooks/operations/command-view/useCommandViewData.d.ts.map +0 -1
  401. package/dist/hooks/operations/command-view/useCommandViewStats.d.ts +0 -12
  402. package/dist/hooks/operations/command-view/useCommandViewStats.d.ts.map +0 -1
  403. package/dist/hooks/operations/command-view/useResourceErrors.d.ts +0 -22
  404. package/dist/hooks/operations/command-view/useResourceErrors.d.ts.map +0 -1
  405. package/dist/hooks/operations/command-view/useResourceExecutions.d.ts +0 -22
  406. package/dist/hooks/operations/command-view/useResourceExecutions.d.ts.map +0 -1
  407. package/dist/hooks/operations/index.d.ts +0 -4
  408. package/dist/hooks/operations/index.d.ts.map +0 -1
  409. package/dist/hooks/operations/knowledge-base/index.d.ts +0 -3
  410. package/dist/hooks/operations/knowledge-base/index.d.ts.map +0 -1
  411. package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts +0 -27
  412. package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts.map +0 -1
  413. package/dist/hooks/operations/settings/index.d.ts +0 -4
  414. package/dist/hooks/operations/settings/index.d.ts.map +0 -1
  415. package/dist/hooks/operations/settings/useOAuthFlow.d.ts +0 -17
  416. package/dist/hooks/operations/settings/useOAuthFlow.d.ts.map +0 -1
  417. package/dist/hooks/operations/settings/useUpdateThemePreference.d.ts +0 -17
  418. package/dist/hooks/operations/settings/useUpdateThemePreference.d.ts.map +0 -1
  419. package/dist/hooks/operations/shared/index.d.ts +0 -6
  420. package/dist/hooks/operations/shared/index.d.ts.map +0 -1
  421. package/dist/hooks/operations/shared/queryKeys.d.ts +0 -23
  422. package/dist/hooks/operations/shared/queryKeys.d.ts.map +0 -1
  423. package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts +0 -11
  424. package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts.map +0 -1
  425. package/dist/hooks/operations/shared/useExecutionPanelState.d.ts +0 -46
  426. package/dist/hooks/operations/shared/useExecutionPanelState.d.ts.map +0 -1
  427. package/dist/hooks/published.d.ts.map +0 -1
  428. package/dist/hooks/scheduling/index.d.ts +0 -7
  429. package/dist/hooks/scheduling/index.d.ts.map +0 -1
  430. package/dist/hooks/scheduling/useScheduledTasks.d.ts +0 -19
  431. package/dist/hooks/scheduling/useScheduledTasks.d.ts.map +0 -1
  432. package/dist/hooks/scheduling/useSchedules.d.ts +0 -185
  433. package/dist/hooks/scheduling/useSchedules.d.ts.map +0 -1
  434. package/dist/hooks/sessions/index.d.ts +0 -8
  435. package/dist/hooks/sessions/index.d.ts.map +0 -1
  436. package/dist/hooks/sessions/useSessionExecutions.d.ts +0 -13
  437. package/dist/hooks/sessions/useSessionExecutions.d.ts.map +0 -1
  438. package/dist/hooks/sessions/useSessionMessages.d.ts +0 -7
  439. package/dist/hooks/sessions/useSessionMessages.d.ts.map +0 -1
  440. package/dist/hooks/sessions/useSessions.d.ts +0 -26
  441. package/dist/hooks/sessions/useSessions.d.ts.map +0 -1
  442. package/dist/hooks/settings/api-keys/index.d.ts +0 -7
  443. package/dist/hooks/settings/api-keys/index.d.ts.map +0 -1
  444. package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts +0 -3
  445. package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts.map +0 -1
  446. package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts +0 -2
  447. package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts.map +0 -1
  448. package/dist/hooks/settings/api-keys/useListApiKeys.d.ts +0 -2
  449. package/dist/hooks/settings/api-keys/useListApiKeys.d.ts.map +0 -1
  450. package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts +0 -5
  451. package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts.map +0 -1
  452. package/dist/hooks/settings/credentials/index.d.ts +0 -7
  453. package/dist/hooks/settings/credentials/index.d.ts.map +0 -1
  454. package/dist/hooks/settings/credentials/useCreateCredential.d.ts +0 -3
  455. package/dist/hooks/settings/credentials/useCreateCredential.d.ts.map +0 -1
  456. package/dist/hooks/settings/credentials/useCredentials.d.ts +0 -8
  457. package/dist/hooks/settings/credentials/useCredentials.d.ts.map +0 -1
  458. package/dist/hooks/settings/credentials/useDeleteCredential.d.ts +0 -2
  459. package/dist/hooks/settings/credentials/useDeleteCredential.d.ts.map +0 -1
  460. package/dist/hooks/settings/credentials/useUpdateCredential.d.ts +0 -10
  461. package/dist/hooks/settings/credentials/useUpdateCredential.d.ts.map +0 -1
  462. package/dist/hooks/settings/deployments/index.d.ts +0 -5
  463. package/dist/hooks/settings/deployments/index.d.ts.map +0 -1
  464. package/dist/hooks/settings/deployments/useDeploymentActions.d.ts +0 -4
  465. package/dist/hooks/settings/deployments/useDeploymentActions.d.ts.map +0 -1
  466. package/dist/hooks/settings/deployments/useListDeployments.d.ts +0 -2
  467. package/dist/hooks/settings/deployments/useListDeployments.d.ts.map +0 -1
  468. package/dist/hooks/settings/index.d.ts +0 -6
  469. package/dist/hooks/settings/index.d.ts.map +0 -1
  470. package/dist/hooks/settings/organization/index.d.ts +0 -6
  471. package/dist/hooks/settings/organization/index.d.ts.map +0 -1
  472. package/dist/hooks/settings/organization/useDeactivateMembership.d.ts +0 -11
  473. package/dist/hooks/settings/organization/useDeactivateMembership.d.ts.map +0 -1
  474. package/dist/hooks/settings/organization/useReactivateMembership.d.ts +0 -11
  475. package/dist/hooks/settings/organization/useReactivateMembership.d.ts.map +0 -1
  476. package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts +0 -8
  477. package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts.map +0 -1
  478. package/dist/hooks/settings/organization/useUserMemberships.d.ts +0 -3
  479. package/dist/hooks/settings/organization/useUserMemberships.d.ts.map +0 -1
  480. package/dist/hooks/settings/webhooks/index.d.ts +0 -7
  481. package/dist/hooks/settings/webhooks/index.d.ts.map +0 -1
  482. package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts +0 -18
  483. package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts.map +0 -1
  484. package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts +0 -2
  485. package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts.map +0 -1
  486. package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts +0 -14
  487. package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts.map +0 -1
  488. package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts +0 -18
  489. package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts.map +0 -1
  490. package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts +0 -27
  491. package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts.map +0 -1
  492. package/dist/hooks/useOrganizationMembers.d.ts +0 -18
  493. package/dist/hooks/useOrganizationMembers.d.ts.map +0 -1
  494. package/dist/index.d.ts.map +0 -1
  495. package/dist/initialization/InitializationProvider.d.ts +0 -48
  496. package/dist/initialization/InitializationProvider.d.ts.map +0 -1
  497. package/dist/initialization/hooks/useAppInitialization.d.ts +0 -32
  498. package/dist/initialization/hooks/useAppInitialization.d.ts.map +0 -1
  499. package/dist/initialization/index.d.ts.map +0 -1
  500. package/dist/organization/context/OrganizationProvider.d.ts +0 -24
  501. package/dist/organization/context/OrganizationProvider.d.ts.map +0 -1
  502. package/dist/organization/hooks/useOrgInitialization.d.ts +0 -56
  503. package/dist/organization/hooks/useOrgInitialization.d.ts.map +0 -1
  504. package/dist/organization/index.d.ts.map +0 -1
  505. package/dist/profile/context/ProfileProvider.d.ts +0 -31
  506. package/dist/profile/context/ProfileProvider.d.ts.map +0 -1
  507. package/dist/profile/hooks/useUserProfile.d.ts +0 -38
  508. package/dist/profile/hooks/useUserProfile.d.ts.map +0 -1
  509. package/dist/profile/index.d.ts.map +0 -1
  510. package/dist/provider/CoreAuthKitInner.d.ts +0 -12
  511. package/dist/provider/CoreAuthKitInner.d.ts.map +0 -1
  512. package/dist/provider/ElevasisCoreProvider.d.ts +0 -25
  513. package/dist/provider/ElevasisCoreProvider.d.ts.map +0 -1
  514. package/dist/provider/ElevasisServiceContext.d.ts +0 -31
  515. package/dist/provider/ElevasisServiceContext.d.ts.map +0 -1
  516. package/dist/provider/ElevasisUIProvider.d.ts +0 -28
  517. package/dist/provider/ElevasisUIProvider.d.ts.map +0 -1
  518. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts +0 -2
  519. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts.map +0 -1
  520. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts +0 -2
  521. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts.map +0 -1
  522. package/dist/provider/index.d.ts.map +0 -1
  523. package/dist/provider/published.d.ts.map +0 -1
  524. package/dist/provider/types.d.ts +0 -151
  525. package/dist/provider/types.d.ts.map +0 -1
  526. package/dist/sdk-barrel.d.ts +0 -20
  527. package/dist/sdk-barrel.d.ts.map +0 -1
  528. package/dist/theme/PresetsContext.d.ts +0 -4
  529. package/dist/theme/PresetsContext.d.ts.map +0 -1
  530. package/dist/theme/cssVariables.d.ts +0 -12
  531. package/dist/theme/cssVariables.d.ts.map +0 -1
  532. package/dist/theme/index.d.ts.map +0 -1
  533. package/dist/theme/presets/__tests__/getPreset.test.d.ts +0 -2
  534. package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +0 -1
  535. package/dist/theme/presets/abyss.d.ts +0 -3
  536. package/dist/theme/presets/abyss.d.ts.map +0 -1
  537. package/dist/theme/presets/aurora.d.ts +0 -12
  538. package/dist/theme/presets/aurora.d.ts.map +0 -1
  539. package/dist/theme/presets/canopy.d.ts +0 -12
  540. package/dist/theme/presets/canopy.d.ts.map +0 -1
  541. package/dist/theme/presets/canyon.d.ts +0 -11
  542. package/dist/theme/presets/canyon.d.ts.map +0 -1
  543. package/dist/theme/presets/cortex.d.ts +0 -3
  544. package/dist/theme/presets/cortex.d.ts.map +0 -1
  545. package/dist/theme/presets/cyber-punk.d.ts +0 -11
  546. package/dist/theme/presets/cyber-punk.d.ts.map +0 -1
  547. package/dist/theme/presets/cyber-strike.d.ts +0 -13
  548. package/dist/theme/presets/cyber-strike.d.ts.map +0 -1
  549. package/dist/theme/presets/cyber-void.d.ts +0 -12
  550. package/dist/theme/presets/cyber-void.d.ts.map +0 -1
  551. package/dist/theme/presets/cyber-volt.d.ts +0 -12
  552. package/dist/theme/presets/cyber-volt.d.ts.map +0 -1
  553. package/dist/theme/presets/default.d.ts +0 -4
  554. package/dist/theme/presets/default.d.ts.map +0 -1
  555. package/dist/theme/presets/ember.d.ts +0 -12
  556. package/dist/theme/presets/ember.d.ts.map +0 -1
  557. package/dist/theme/presets/helios.d.ts +0 -3
  558. package/dist/theme/presets/helios.d.ts.map +0 -1
  559. package/dist/theme/presets/honey.d.ts +0 -12
  560. package/dist/theme/presets/honey.d.ts.map +0 -1
  561. package/dist/theme/presets/index.d.ts +0 -8
  562. package/dist/theme/presets/index.d.ts.map +0 -1
  563. package/dist/theme/presets/midnight.d.ts +0 -12
  564. package/dist/theme/presets/midnight.d.ts.map +0 -1
  565. package/dist/theme/presets/nirvana.d.ts +0 -16
  566. package/dist/theme/presets/nirvana.d.ts.map +0 -1
  567. package/dist/theme/presets/obsidian.d.ts +0 -3
  568. package/dist/theme/presets/obsidian.d.ts.map +0 -1
  569. package/dist/theme/presets/regal.d.ts +0 -8
  570. package/dist/theme/presets/regal.d.ts.map +0 -1
  571. package/dist/theme/presets/rose-gold.d.ts +0 -12
  572. package/dist/theme/presets/rose-gold.d.ts.map +0 -1
  573. package/dist/theme/presets/slate.d.ts +0 -3
  574. package/dist/theme/presets/slate.d.ts.map +0 -1
  575. package/dist/theme/presets/tactical.d.ts +0 -8
  576. package/dist/theme/presets/tactical.d.ts.map +0 -1
  577. package/dist/theme/presets/types.d.ts +0 -43
  578. package/dist/theme/presets/types.d.ts.map +0 -1
  579. package/dist/theme/presets/verdant.d.ts +0 -3
  580. package/dist/theme/presets/verdant.d.ts.map +0 -1
  581. package/dist/theme/presets/wave.d.ts +0 -14
  582. package/dist/theme/presets/wave.d.ts.map +0 -1
  583. package/dist/theme/useAvailablePresets.d.ts +0 -16
  584. package/dist/theme/useAvailablePresets.d.ts.map +0 -1
@@ -1,397 +1,118 @@
1
- import { useCyberColors } from './chunk-ERVB3QJQ.js';
2
- import { GlowDot } from './chunk-AWMZCYKH.js';
1
+ import { useCyberColors } from './chunk-FVBYSDM4.js';
2
+ import { GlowDot } from './chunk-BC6TJEON.js';
3
3
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-F6RBK7NJ.js';
4
4
  import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-XA34RETF.js';
5
- import { glassBase } from './chunk-BX565EOK.js';
6
- import { Paper, Stack, Text, Group, Badge, Box, useComputedColorScheme, Loader, Card, ActionIcon, SegmentedControl } from '@mantine/core';
7
- import { jsxs, jsx } from 'react/jsx-runtime';
5
+ import { glassBase } from './chunk-MOBXWBES.js';
8
6
  import { memo, useMemo, useEffect, useState, useCallback, Fragment } from 'react';
7
+ import { Paper, Stack, Text, Group, Badge, Box, useComputedColorScheme, Card, ActionIcon, Loader, SegmentedControl } from '@mantine/core';
8
+ import { jsxs, jsx } from 'react/jsx-runtime';
9
9
  import { Position, Handle, getSmoothStepPath, BaseEdge as BaseEdge$1, EdgeLabelRenderer, Panel, useReactFlow, Controls, ReactFlowProvider, ReactFlow } from '@xyflow/react';
10
10
  import { IconPlayerPlay, IconPlayerStop, IconArrowsSplit, IconSquare, IconFocus2 } from '@tabler/icons-react';
11
11
  import '@xyflow/react/dist/style.css';
12
12
 
13
- function ExecutionStatusBadge({
14
- status,
15
- size = "sm",
16
- variant = "light",
17
- showLoader = true
18
- }) {
19
- const statusColors = STATUS_COLORS[status];
20
- const isRunning = status === "running" && showLoader;
21
- return /* @__PURE__ */ jsx(
22
- Badge,
23
- {
24
- color: statusColors.badge,
25
- size,
26
- variant,
27
- leftSection: isRunning ? /* @__PURE__ */ jsx(Loader, { size: 10, color: statusColors.badge }) : void 0,
28
- children: status.charAt(0).toUpperCase() + status.slice(1)
29
- }
30
- );
13
+ var DOMAIN_COLORS = {
14
+ primary: "var(--color-primary)",
15
+ agent: "#8b5cf6",
16
+ workflow: "#3b82f6",
17
+ trigger: "#f97316",
18
+ integration: "#14b8a6",
19
+ approval: "#f59e0b"
20
+ };
21
+ function fill(color, isDark) {
22
+ return isDark ? `color-mix(in srgb, ${color} 80%, black)` : `color-mix(in srgb, ${color} 60%, white)`;
31
23
  }
32
- function getRateColor(rate) {
33
- if (rate >= 95) return "var(--color-success)";
34
- if (rate >= 80) return "var(--color-warning)";
35
- return "var(--color-error)";
24
+ function glow(color) {
25
+ return `color-mix(in srgb, ${color} 40%, transparent)`;
36
26
  }
37
- function getMantineRateColor(rate) {
38
- if (rate >= 95) return "green";
39
- if (rate >= 80) return "yellow";
40
- return "red";
27
+ function useGraphTheme() {
28
+ const isDark = useComputedColorScheme("dark") === "dark";
29
+ return useMemo(
30
+ () => ({
31
+ primary: fill(DOMAIN_COLORS.primary, isDark),
32
+ primaryGlow: glow(DOMAIN_COLORS.primary),
33
+ agent: fill(DOMAIN_COLORS.agent, isDark),
34
+ workflow: fill(DOMAIN_COLORS.workflow, isDark),
35
+ trigger: fill(DOMAIN_COLORS.trigger, isDark),
36
+ integration: fill(DOMAIN_COLORS.integration, isDark),
37
+ approval: fill(DOMAIN_COLORS.approval, isDark),
38
+ agentGlow: glow(DOMAIN_COLORS.agent),
39
+ workflowGlow: glow(DOMAIN_COLORS.workflow),
40
+ triggerGlow: glow(DOMAIN_COLORS.trigger),
41
+ integrationGlow: glow(DOMAIN_COLORS.integration),
42
+ approvalGlow: glow(DOMAIN_COLORS.approval),
43
+ edgeTriggers: fill(DOMAIN_COLORS.workflow, isDark),
44
+ edgeUses: fill(DOMAIN_COLORS.integration, isDark),
45
+ edgeApproval: fill(DOMAIN_COLORS.approval, isDark),
46
+ edgeTriggersGlow: glow(DOMAIN_COLORS.workflow),
47
+ edgeUsesGlow: glow(DOMAIN_COLORS.integration),
48
+ edgeApprovalGlow: glow(DOMAIN_COLORS.approval)
49
+ }),
50
+ [isDark]
51
+ );
41
52
  }
42
- function ExecutionStats({
43
- totalExecutions,
44
- successCount,
45
- failureCount,
46
- warningCount,
47
- successRate,
48
- align = "flex-end",
49
- compact = false
50
- }) {
51
- const cyberColors = useCyberColors();
52
- if (totalExecutions === 0 && !compact) {
53
- return null;
54
- }
55
- if (compact && totalExecutions === 0) {
56
- return /* @__PURE__ */ jsxs(Group, { gap: 10, wrap: "nowrap", style: { width: "100%" }, children: [
57
- /* @__PURE__ */ jsx(Text, { size: "md", fw: 700, ff: "monospace", c: "dimmed", style: { minWidth: 42 }, children: "\u2014" }),
58
- /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", style: { whiteSpace: "nowrap" }, children: "No recent executions" })
59
- ] });
60
- }
61
- if (compact) {
62
- return /* @__PURE__ */ jsxs(Group, { gap: 10, wrap: "nowrap", style: { width: "100%" }, children: [
63
- /* @__PURE__ */ jsxs(Group, { gap: 8, wrap: "nowrap", children: [
64
- /* @__PURE__ */ jsxs(Text, { size: "md", fw: 700, ff: "monospace", style: { color: getRateColor(successRate), minWidth: 42 }, children: [
65
- successRate,
66
- "%"
67
- ] }),
68
- /* @__PURE__ */ jsxs(Group, { gap: 5, wrap: "nowrap", children: [
69
- /* @__PURE__ */ jsx(GlowDot, { size: "sm", color: cyberColors.green }),
70
- /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "green", children: successCount })
71
- ] }),
72
- failureCount > 0 && /* @__PURE__ */ jsxs(Group, { gap: 5, wrap: "nowrap", children: [
73
- /* @__PURE__ */ jsx(GlowDot, { size: "sm", color: cyberColors.red }),
74
- /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "red", children: failureCount })
75
- ] })
76
- ] }),
77
- /* @__PURE__ */ jsxs(Text, { size: "sm", c: "dimmed", style: { whiteSpace: "nowrap" }, children: [
78
- totalExecutions,
79
- " ",
80
- totalExecutions === 1 ? "run" : "runs"
81
- ] })
82
- ] });
83
- }
84
- return /* @__PURE__ */ jsxs(Stack, { gap: 2, align, style: { whiteSpace: "nowrap" }, children: [
85
- /* @__PURE__ */ jsxs(Text, { size: "xs", c: "blue", children: [
86
- totalExecutions,
87
- " ",
88
- totalExecutions === 1 ? "execution" : "executions"
89
- ] }),
90
- /* @__PURE__ */ jsxs(Text, { size: "xs", c: "green", children: [
91
- successCount,
92
- " success"
93
- ] }),
94
- warningCount != null && warningCount > 0 && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "yellow", children: [
95
- warningCount,
96
- " warning"
97
- ] }),
98
- failureCount > 0 && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "red", children: [
99
- failureCount,
100
- " failed"
101
- ] }),
102
- /* @__PURE__ */ jsxs(Text, { size: "xs", fw: 600, c: getMantineRateColor(successRate), children: [
103
- successRate,
104
- "% Success Rate"
105
- ] })
106
- ] });
53
+ function getGraphBackgroundStyles(isDark) {
54
+ const pct = isDark ? 5 : 3;
55
+ const glowPct = isDark ? 8 : 5;
56
+ const mix = (percent) => `color-mix(in srgb, var(--color-primary) ${percent}%, transparent)`;
57
+ return {
58
+ backgroundImage: `
59
+ linear-gradient(${mix(pct)} 1px, transparent 1px),
60
+ linear-gradient(90deg, ${mix(pct)} 1px, transparent 1px),
61
+ radial-gradient(ellipse at 50% 50%, ${mix(glowPct)} 0%, transparent 70%)
62
+ `,
63
+ backgroundColor: "color-mix(in srgb, var(--color-background) 50%, var(--glass-background))",
64
+ backdropFilter: "var(--glass-blur)",
65
+ backgroundSize: "40px 40px, 40px 40px, 100% 100%"
66
+ };
107
67
  }
108
- function TimelineAxis({ totalDuration }) {
109
- const markers = [
110
- { position: 0, time: 0 },
111
- { position: 25, time: totalDuration * 0.25 },
112
- { position: 50, time: totalDuration * 0.5 },
113
- { position: 75, time: totalDuration * 0.75 },
114
- { position: 100, time: totalDuration }
115
- ];
68
+ function useGraphBackgroundStyles() {
69
+ const isDark = useComputedColorScheme("dark") === "dark";
70
+ return useMemo(() => getGraphBackgroundStyles(isDark), [isDark]);
71
+ }
72
+ function GraphContainer({ children, height = 600 }) {
73
+ const backgroundStyles = useGraphBackgroundStyles();
116
74
  return /* @__PURE__ */ jsx(
117
75
  Box,
118
76
  {
119
77
  style: {
78
+ width: "100%",
79
+ height,
80
+ border: "1px solid var(--color-border)",
81
+ borderRadius: "var(--mantine-radius-md)",
82
+ overflow: "hidden",
120
83
  position: "relative",
121
- height: 20
84
+ ...backgroundStyles
122
85
  },
123
- children: markers.map((marker, idx) => /* @__PURE__ */ jsx(
124
- Box,
125
- {
126
- style: {
127
- position: "absolute",
128
- left: `${marker.position}%`,
129
- transform: marker.position === 100 ? "translateX(-100%)" : marker.position === 0 ? "none" : "translateX(-50%)",
130
- top: 4
131
- },
132
- children: /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: formatDuration(marker.time) })
133
- },
134
- idx
135
- ))
86
+ children
136
87
  }
137
88
  );
138
89
  }
139
- function TimelineContainer({ executionStart, executionEnd, children }) {
140
- const totalDuration = executionEnd - executionStart;
141
- return /* @__PURE__ */ jsxs(
90
+ function GraphBackground() {
91
+ return null;
92
+ }
93
+ function LegendDot({ color }) {
94
+ return /* @__PURE__ */ jsx(
142
95
  Box,
143
96
  {
144
97
  style: {
145
- borderBottom: "1px solid var(--color-border)",
146
- backgroundColor: "var(--color-background)",
147
- padding: "var(--mantine-spacing-xs)"
148
- },
149
- children: [
150
- /* @__PURE__ */ jsx(
151
- Box,
152
- {
153
- style: {
154
- position: "relative"
155
- },
156
- children: /* @__PURE__ */ jsx(Box, { style: { position: "relative", zIndex: 1 }, children })
157
- }
158
- ),
159
- /* @__PURE__ */ jsx(Box, { style: { paddingLeft: TIMELINE_CONSTANTS.LABEL_WIDTH + 12, paddingRight: 16 }, children: /* @__PURE__ */ jsx(TimelineAxis, { totalDuration }) })
160
- ]
98
+ width: 10,
99
+ height: 10,
100
+ borderRadius: "50%",
101
+ backgroundColor: `var(--mantine-color-${color}-5)`
102
+ }
161
103
  }
162
104
  );
163
105
  }
164
- function TimelineBar({
165
- startTime,
166
- endTime,
167
- executionStart,
168
- executionEnd,
169
- status,
170
- label,
171
- onClick,
172
- isSelected = false,
173
- hasSelection = false
174
- }) {
175
- const colors = getStatusColors(status);
176
- const { left, width } = calculateBarPosition(startTime, endTime, executionStart, executionEnd);
177
- const opacity = hasSelection && !isSelected ? 0.5 : 1;
106
+ function LegendLine({ color }) {
178
107
  return /* @__PURE__ */ jsx(
179
108
  Box,
180
109
  {
181
110
  style: {
182
- position: "absolute",
183
- left: `${left}%`,
184
- width: `${width}%`,
185
- top: 4,
186
- height: TIMELINE_CONSTANTS.BAR_HEIGHT / 2,
187
- backgroundColor: colors.color,
188
- opacity,
189
- borderRadius: 4,
190
- cursor: onClick ? "pointer" : "default",
191
- display: "flex",
192
- alignItems: "center",
193
- justifyContent: "center",
194
- overflow: "hidden"
195
- },
196
- onClick,
197
- children: label && /* @__PURE__ */ jsx(Text, { size: "xs", c: "white", style: { whiteSpace: "nowrap" }, children: label })
198
- }
199
- );
200
- }
201
- function TimelineRow({
202
- label,
203
- bars,
204
- executionStart,
205
- executionEnd,
206
- indent = 0,
207
- selectedNodeId
208
- }) {
209
- const labelMatch = label.match(/^(.+?)\s*\((.+?)\)$/);
210
- const labelName = labelMatch ? labelMatch[1] : label;
211
- const labelDuration = labelMatch ? labelMatch[2] : null;
212
- const statusColor = bars.length > 0 ? getStatusColors(bars[0].status).color : "var(--color-text-dimmed)";
213
- const hasSelection = selectedNodeId !== null && selectedNodeId !== void 0;
214
- return /* @__PURE__ */ jsxs(
215
- Box,
216
- {
217
- style: {
218
- display: "flex",
219
- gap: 0,
220
- height: TIMELINE_CONSTANTS.BAR_HEIGHT
221
- // paddingLeft: indent * TIMELINE_CONSTANTS.INDENT_SIZE
222
- },
223
- children: [
224
- /* @__PURE__ */ jsxs(
225
- Box,
226
- {
227
- style: {
228
- height: TIMELINE_CONSTANTS.BAR_HEIGHT,
229
- width: TIMELINE_CONSTANTS.LABEL_WIDTH,
230
- flexShrink: 0,
231
- display: "flex",
232
- alignItems: "center",
233
- gap: 6,
234
- paddingRight: 12,
235
- paddingLeft: 8 + indent * TIMELINE_CONSTANTS.INDENT_SIZE,
236
- // Indent only the label, not the timeline bars
237
- overflow: "hidden"
238
- },
239
- children: [
240
- /* @__PURE__ */ jsx(
241
- Box,
242
- {
243
- style: {
244
- width: 6,
245
- height: 6,
246
- borderRadius: "50%",
247
- backgroundColor: statusColor,
248
- flexShrink: 0
249
- }
250
- }
251
- ),
252
- /* @__PURE__ */ jsx(Text, { size: "sm", truncate: true, style: { flexShrink: 1, minWidth: 0 }, children: labelName }),
253
- labelDuration && /* @__PURE__ */ jsxs(Text, { size: "sm", c: "dimmed", ff: "monospace", style: { flexShrink: 0 }, children: [
254
- "(",
255
- labelDuration,
256
- ")"
257
- ] })
258
- ]
259
- }
260
- ),
261
- /* @__PURE__ */ jsx(
262
- Box,
263
- {
264
- style: {
265
- position: "relative",
266
- flex: 1,
267
- height: TIMELINE_CONSTANTS.BAR_HEIGHT,
268
- marginLeft: 12,
269
- marginRight: 16
270
- // Right margin to match grid padding
271
- },
272
- children: bars.map((bar, idx) => {
273
- const isSelected = bar.nodeId !== void 0 && bar.nodeId === selectedNodeId;
274
- return /* @__PURE__ */ jsx(
275
- TimelineBar,
276
- {
277
- ...bar,
278
- executionStart,
279
- executionEnd,
280
- isSelected,
281
- hasSelection
282
- },
283
- idx
284
- );
285
- })
286
- }
287
- )
288
- ]
289
- }
290
- );
291
- }
292
- var DOMAIN_COLORS = {
293
- primary: "var(--color-primary)",
294
- agent: "#8b5cf6",
295
- workflow: "#3b82f6",
296
- trigger: "#f97316",
297
- integration: "#14b8a6",
298
- approval: "#f59e0b"
299
- };
300
- function fill(color, isDark) {
301
- return isDark ? `color-mix(in srgb, ${color} 80%, black)` : `color-mix(in srgb, ${color} 60%, white)`;
302
- }
303
- function glow(color) {
304
- return `color-mix(in srgb, ${color} 40%, transparent)`;
305
- }
306
- function useGraphTheme() {
307
- const isDark = useComputedColorScheme("dark") === "dark";
308
- return useMemo(
309
- () => ({
310
- primary: fill(DOMAIN_COLORS.primary, isDark),
311
- primaryGlow: glow(DOMAIN_COLORS.primary),
312
- agent: fill(DOMAIN_COLORS.agent, isDark),
313
- workflow: fill(DOMAIN_COLORS.workflow, isDark),
314
- trigger: fill(DOMAIN_COLORS.trigger, isDark),
315
- integration: fill(DOMAIN_COLORS.integration, isDark),
316
- approval: fill(DOMAIN_COLORS.approval, isDark),
317
- agentGlow: glow(DOMAIN_COLORS.agent),
318
- workflowGlow: glow(DOMAIN_COLORS.workflow),
319
- triggerGlow: glow(DOMAIN_COLORS.trigger),
320
- integrationGlow: glow(DOMAIN_COLORS.integration),
321
- approvalGlow: glow(DOMAIN_COLORS.approval),
322
- edgeTriggers: fill(DOMAIN_COLORS.workflow, isDark),
323
- edgeUses: fill(DOMAIN_COLORS.integration, isDark),
324
- edgeApproval: fill(DOMAIN_COLORS.approval, isDark),
325
- edgeTriggersGlow: glow(DOMAIN_COLORS.workflow),
326
- edgeUsesGlow: glow(DOMAIN_COLORS.integration),
327
- edgeApprovalGlow: glow(DOMAIN_COLORS.approval)
328
- }),
329
- [isDark]
330
- );
331
- }
332
- function getGraphBackgroundStyles(isDark) {
333
- const pct = isDark ? 5 : 3;
334
- const glowPct = isDark ? 8 : 5;
335
- const mix = (percent) => `color-mix(in srgb, var(--color-primary) ${percent}%, transparent)`;
336
- return {
337
- backgroundImage: `
338
- linear-gradient(${mix(pct)} 1px, transparent 1px),
339
- linear-gradient(90deg, ${mix(pct)} 1px, transparent 1px),
340
- radial-gradient(ellipse at 50% 50%, ${mix(glowPct)} 0%, transparent 70%)
341
- `,
342
- backgroundColor: "color-mix(in srgb, var(--color-background) 50%, var(--glass-background))",
343
- backdropFilter: "var(--glass-blur)",
344
- backgroundSize: "40px 40px, 40px 40px, 100% 100%"
345
- };
346
- }
347
- function useGraphBackgroundStyles() {
348
- const isDark = useComputedColorScheme("dark") === "dark";
349
- return useMemo(() => getGraphBackgroundStyles(isDark), [isDark]);
350
- }
351
- function GraphContainer({ children, height = 600 }) {
352
- const backgroundStyles = useGraphBackgroundStyles();
353
- return /* @__PURE__ */ jsx(
354
- Box,
355
- {
356
- style: {
357
- width: "100%",
358
- height,
359
- border: "1px solid var(--color-border)",
360
- borderRadius: "var(--mantine-radius-md)",
361
- overflow: "hidden",
362
- position: "relative",
363
- ...backgroundStyles
364
- },
365
- children
366
- }
367
- );
368
- }
369
- function GraphBackground() {
370
- return null;
371
- }
372
- function LegendDot({ color }) {
373
- return /* @__PURE__ */ jsx(
374
- Box,
375
- {
376
- style: {
377
- width: 10,
378
- height: 10,
379
- borderRadius: "50%",
380
- backgroundColor: `var(--mantine-color-${color}-5)`
381
- }
382
- }
383
- );
384
- }
385
- function LegendLine({ color }) {
386
- return /* @__PURE__ */ jsx(
387
- Box,
388
- {
389
- style: {
390
- width: 20,
391
- height: 3,
392
- borderRadius: 2,
393
- background: `linear-gradient(90deg, var(--mantine-color-${color}-5), var(--mantine-color-${color}-6))`
394
- }
111
+ width: 20,
112
+ height: 3,
113
+ borderRadius: 2,
114
+ background: `linear-gradient(90deg, var(--mantine-color-${color}-5), var(--mantine-color-${color}-6))`
115
+ }
395
116
  }
396
117
  );
397
118
  }
@@ -635,6 +356,285 @@ var BaseEdge = memo(function BaseEdge2({
635
356
  ) })
636
357
  ] });
637
358
  });
359
+ function ExecutionStatusBadge({
360
+ status,
361
+ size = "sm",
362
+ variant = "light",
363
+ showLoader = true
364
+ }) {
365
+ const statusColors = STATUS_COLORS[status];
366
+ const isRunning = status === "running" && showLoader;
367
+ return /* @__PURE__ */ jsx(
368
+ Badge,
369
+ {
370
+ color: statusColors.badge,
371
+ size,
372
+ variant,
373
+ leftSection: isRunning ? /* @__PURE__ */ jsx(Loader, { size: 10, color: statusColors.badge }) : void 0,
374
+ children: status.charAt(0).toUpperCase() + status.slice(1)
375
+ }
376
+ );
377
+ }
378
+ function getRateColor(rate) {
379
+ if (rate >= 95) return "var(--color-success)";
380
+ if (rate >= 80) return "var(--color-warning)";
381
+ return "var(--color-error)";
382
+ }
383
+ function getMantineRateColor(rate) {
384
+ if (rate >= 95) return "green";
385
+ if (rate >= 80) return "yellow";
386
+ return "red";
387
+ }
388
+ function ExecutionStats({
389
+ totalExecutions,
390
+ successCount,
391
+ failureCount,
392
+ warningCount,
393
+ successRate,
394
+ align = "flex-end",
395
+ compact = false
396
+ }) {
397
+ const cyberColors = useCyberColors();
398
+ if (totalExecutions === 0 && !compact) {
399
+ return null;
400
+ }
401
+ if (compact && totalExecutions === 0) {
402
+ return /* @__PURE__ */ jsxs(Group, { gap: 10, wrap: "nowrap", style: { width: "100%" }, children: [
403
+ /* @__PURE__ */ jsx(Text, { size: "md", fw: 700, ff: "monospace", c: "dimmed", style: { minWidth: 42 }, children: "\u2014" }),
404
+ /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", style: { whiteSpace: "nowrap" }, children: "No recent executions" })
405
+ ] });
406
+ }
407
+ if (compact) {
408
+ return /* @__PURE__ */ jsxs(Group, { gap: 10, wrap: "nowrap", style: { width: "100%" }, children: [
409
+ /* @__PURE__ */ jsxs(Group, { gap: 8, wrap: "nowrap", children: [
410
+ /* @__PURE__ */ jsxs(Text, { size: "md", fw: 700, ff: "monospace", style: { color: getRateColor(successRate), minWidth: 42 }, children: [
411
+ successRate,
412
+ "%"
413
+ ] }),
414
+ /* @__PURE__ */ jsxs(Group, { gap: 5, wrap: "nowrap", children: [
415
+ /* @__PURE__ */ jsx(GlowDot, { size: "sm", color: cyberColors.green }),
416
+ /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "green", children: successCount })
417
+ ] }),
418
+ failureCount > 0 && /* @__PURE__ */ jsxs(Group, { gap: 5, wrap: "nowrap", children: [
419
+ /* @__PURE__ */ jsx(GlowDot, { size: "sm", color: cyberColors.red }),
420
+ /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, c: "red", children: failureCount })
421
+ ] })
422
+ ] }),
423
+ /* @__PURE__ */ jsxs(Text, { size: "sm", c: "dimmed", style: { whiteSpace: "nowrap" }, children: [
424
+ totalExecutions,
425
+ " ",
426
+ totalExecutions === 1 ? "run" : "runs"
427
+ ] })
428
+ ] });
429
+ }
430
+ return /* @__PURE__ */ jsxs(Stack, { gap: 2, align, style: { whiteSpace: "nowrap" }, children: [
431
+ /* @__PURE__ */ jsxs(Text, { size: "xs", c: "blue", children: [
432
+ totalExecutions,
433
+ " ",
434
+ totalExecutions === 1 ? "execution" : "executions"
435
+ ] }),
436
+ /* @__PURE__ */ jsxs(Text, { size: "xs", c: "green", children: [
437
+ successCount,
438
+ " success"
439
+ ] }),
440
+ warningCount != null && warningCount > 0 && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "yellow", children: [
441
+ warningCount,
442
+ " warning"
443
+ ] }),
444
+ failureCount > 0 && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "red", children: [
445
+ failureCount,
446
+ " failed"
447
+ ] }),
448
+ /* @__PURE__ */ jsxs(Text, { size: "xs", fw: 600, c: getMantineRateColor(successRate), children: [
449
+ successRate,
450
+ "% Success Rate"
451
+ ] })
452
+ ] });
453
+ }
454
+ function TimelineAxis({ totalDuration }) {
455
+ const markers = [
456
+ { position: 0, time: 0 },
457
+ { position: 25, time: totalDuration * 0.25 },
458
+ { position: 50, time: totalDuration * 0.5 },
459
+ { position: 75, time: totalDuration * 0.75 },
460
+ { position: 100, time: totalDuration }
461
+ ];
462
+ return /* @__PURE__ */ jsx(
463
+ Box,
464
+ {
465
+ style: {
466
+ position: "relative",
467
+ height: 20
468
+ },
469
+ children: markers.map((marker, idx) => /* @__PURE__ */ jsx(
470
+ Box,
471
+ {
472
+ style: {
473
+ position: "absolute",
474
+ left: `${marker.position}%`,
475
+ transform: marker.position === 100 ? "translateX(-100%)" : marker.position === 0 ? "none" : "translateX(-50%)",
476
+ top: 4
477
+ },
478
+ children: /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: formatDuration(marker.time) })
479
+ },
480
+ idx
481
+ ))
482
+ }
483
+ );
484
+ }
485
+ function TimelineContainer({ executionStart, executionEnd, children }) {
486
+ const totalDuration = executionEnd - executionStart;
487
+ return /* @__PURE__ */ jsxs(
488
+ Box,
489
+ {
490
+ style: {
491
+ borderBottom: "1px solid var(--color-border)",
492
+ backgroundColor: "var(--color-background)",
493
+ padding: "var(--mantine-spacing-xs)"
494
+ },
495
+ children: [
496
+ /* @__PURE__ */ jsx(
497
+ Box,
498
+ {
499
+ style: {
500
+ position: "relative"
501
+ },
502
+ children: /* @__PURE__ */ jsx(Box, { style: { position: "relative", zIndex: 1 }, children })
503
+ }
504
+ ),
505
+ /* @__PURE__ */ jsx(Box, { style: { paddingLeft: TIMELINE_CONSTANTS.LABEL_WIDTH + 12, paddingRight: 16 }, children: /* @__PURE__ */ jsx(TimelineAxis, { totalDuration }) })
506
+ ]
507
+ }
508
+ );
509
+ }
510
+ function TimelineBar({
511
+ startTime,
512
+ endTime,
513
+ executionStart,
514
+ executionEnd,
515
+ status,
516
+ label,
517
+ onClick,
518
+ isSelected = false,
519
+ hasSelection = false
520
+ }) {
521
+ const colors = getStatusColors(status);
522
+ const { left, width } = calculateBarPosition(startTime, endTime, executionStart, executionEnd);
523
+ const opacity = hasSelection && !isSelected ? 0.5 : 1;
524
+ return /* @__PURE__ */ jsx(
525
+ Box,
526
+ {
527
+ style: {
528
+ position: "absolute",
529
+ left: `${left}%`,
530
+ width: `${width}%`,
531
+ top: 4,
532
+ height: TIMELINE_CONSTANTS.BAR_HEIGHT / 2,
533
+ backgroundColor: colors.color,
534
+ opacity,
535
+ borderRadius: 4,
536
+ cursor: onClick ? "pointer" : "default",
537
+ display: "flex",
538
+ alignItems: "center",
539
+ justifyContent: "center",
540
+ overflow: "hidden"
541
+ },
542
+ onClick,
543
+ children: label && /* @__PURE__ */ jsx(Text, { size: "xs", c: "white", style: { whiteSpace: "nowrap" }, children: label })
544
+ }
545
+ );
546
+ }
547
+ function TimelineRow({
548
+ label,
549
+ bars,
550
+ executionStart,
551
+ executionEnd,
552
+ indent = 0,
553
+ selectedNodeId
554
+ }) {
555
+ const labelMatch = label.match(/^(.+?)\s*\((.+?)\)$/);
556
+ const labelName = labelMatch ? labelMatch[1] : label;
557
+ const labelDuration = labelMatch ? labelMatch[2] : null;
558
+ const statusColor = bars.length > 0 ? getStatusColors(bars[0].status).color : "var(--color-text-dimmed)";
559
+ const hasSelection = selectedNodeId !== null && selectedNodeId !== void 0;
560
+ return /* @__PURE__ */ jsxs(
561
+ Box,
562
+ {
563
+ style: {
564
+ display: "flex",
565
+ gap: 0,
566
+ height: TIMELINE_CONSTANTS.BAR_HEIGHT
567
+ // paddingLeft: indent * TIMELINE_CONSTANTS.INDENT_SIZE
568
+ },
569
+ children: [
570
+ /* @__PURE__ */ jsxs(
571
+ Box,
572
+ {
573
+ style: {
574
+ height: TIMELINE_CONSTANTS.BAR_HEIGHT,
575
+ width: TIMELINE_CONSTANTS.LABEL_WIDTH,
576
+ flexShrink: 0,
577
+ display: "flex",
578
+ alignItems: "center",
579
+ gap: 6,
580
+ paddingRight: 12,
581
+ paddingLeft: 8 + indent * TIMELINE_CONSTANTS.INDENT_SIZE,
582
+ // Indent only the label, not the timeline bars
583
+ overflow: "hidden"
584
+ },
585
+ children: [
586
+ /* @__PURE__ */ jsx(
587
+ Box,
588
+ {
589
+ style: {
590
+ width: 6,
591
+ height: 6,
592
+ borderRadius: "50%",
593
+ backgroundColor: statusColor,
594
+ flexShrink: 0
595
+ }
596
+ }
597
+ ),
598
+ /* @__PURE__ */ jsx(Text, { size: "sm", truncate: true, style: { flexShrink: 1, minWidth: 0 }, children: labelName }),
599
+ labelDuration && /* @__PURE__ */ jsxs(Text, { size: "sm", c: "dimmed", ff: "monospace", style: { flexShrink: 0 }, children: [
600
+ "(",
601
+ labelDuration,
602
+ ")"
603
+ ] })
604
+ ]
605
+ }
606
+ ),
607
+ /* @__PURE__ */ jsx(
608
+ Box,
609
+ {
610
+ style: {
611
+ position: "relative",
612
+ flex: 1,
613
+ height: TIMELINE_CONSTANTS.BAR_HEIGHT,
614
+ marginLeft: 12,
615
+ marginRight: 16
616
+ // Right margin to match grid padding
617
+ },
618
+ children: bars.map((bar, idx) => {
619
+ const isSelected = bar.nodeId !== void 0 && bar.nodeId === selectedNodeId;
620
+ return /* @__PURE__ */ jsx(
621
+ TimelineBar,
622
+ {
623
+ ...bar,
624
+ executionStart,
625
+ executionEnd,
626
+ isSelected,
627
+ hasSelection
628
+ },
629
+ idx
630
+ );
631
+ })
632
+ }
633
+ )
634
+ ]
635
+ }
636
+ );
637
+ }
638
638
  var VisualizerContainer = ({ children, handleContainerClick, height }) => {
639
639
  const containerHeight = height ?? CONTAINER_CONSTANTS.CONTAINER_HEIGHT;
640
640
  return /* @__PURE__ */ jsx(Box, { onClick: handleContainerClick, children: /* @__PURE__ */ jsx(