@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,24 +1,27 @@
1
- import { SubshellSidebarSection } from './chunk-JFRG2JJE.js';
1
+ import { SubshellSidebarSection } from './chunk-AWT255UH.js';
2
2
  import { CustomModal, ConfirmationModal } from './chunk-GBMNCNHX.js';
3
- import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, GraphFitViewHandler } from './chunk-GH7ZO4VD.js';
4
- import { useCyberColors, CyberDonut } from './chunk-ERVB3QJQ.js';
5
- import { ContextViewer, JsonViewer, StyledMarkdown, CardHeader } from './chunk-AWMZCYKH.js';
6
- import { showApiErrorNotification, showSuccessNotification } from './chunk-XOTN3X3Z.js';
7
- import { useCommandViewLayout, useSubmitAction, useDeleteTask, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals } from './chunk-AQ5MQDSS.js';
3
+ import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, GraphFitViewHandler } from './chunk-ST2RSBQ3.js';
4
+ import { useCyberColors, CyberDonut } from './chunk-FVBYSDM4.js';
5
+ import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, ContextViewer } from './chunk-BC6TJEON.js';
6
+ import { StyledMarkdown } from './chunk-3KMDHCAR.js';
7
+ import { useCommandViewLayout, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useSubmitAction, useDeleteTask, showApiErrorNotification, showSuccessNotification } from './chunk-EDAYKRPJ.js';
8
8
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, GRAPH_CONSTANTS, useGraphHighlighting, calculateGraphHeight } from './chunk-F6RBK7NJ.js';
9
9
  import { getResourceStatusColor } from './chunk-XA34RETF.js';
10
- import { toWorkflowLogMessages } from './chunk-ELJIFLCB.js';
10
+ import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-ELJIFLCB.js';
11
11
  import { useAppearance } from './chunk-QJ2KCHKX.js';
12
12
  import { getResourceIcon, getResourceColor, getErrorInfo, formatErrorMessage } from './chunk-IOKL7BKE.js';
13
13
  import { useOrganization } from './chunk-DD3CCMCZ.js';
14
- import { Stack, Group, Text, Badge, ThemeIcon, Box, TextInput, Textarea, Radio, Checkbox, Select, NumberInput, Title, Alert, Button, Card, Loader, Menu, ActionIcon, Accordion, Collapse, SimpleGrid, Divider, Paper, Space, CopyButton, Center, Tooltip, Code, useMantineTheme, UnstyledButton, RangeSlider, ScrollArea } from '@mantine/core';
14
+ import { Stack, Group, Text, Badge, ThemeIcon, Box, TextInput, Textarea, Radio, Checkbox, Select, NumberInput, Title, Alert, Button, ActionIcon, Collapse, Card, SimpleGrid, Divider, Paper, Space, CopyButton, Center, Tooltip, Code, Menu, useMantineTheme, UnstyledButton, RangeSlider, Loader, Progress, Accordion, ScrollArea } from '@mantine/core';
15
15
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
16
- import { IconBrain, IconFileText, IconDatabase, IconMessage, IconAlertCircle, IconCircleX, IconCircleCheck, IconBolt, IconHandClick, IconClock, IconWebhook, IconExternalLink, IconMail, IconSend, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconRobot, IconGitBranch, IconDotsVertical, IconTrash, IconPlayerPlay, IconChevronRight, IconTool, IconSettings, IconCpu, IconClockHour4, IconVersions, IconNetwork, IconSitemap, IconCopy, IconPlayerStop, IconReload, IconTerminal2, IconBug, IconChevronDown, IconFilter, IconCategory, IconArchive, IconDownload } from '@tabler/icons-react';
16
+ import { IconBrain, IconFileText, IconDatabase, IconMessage, IconAlertCircle, IconCircleX, IconCircleCheck, IconBolt, IconHandClick, IconClock, IconWebhook, IconExternalLink, IconMail, IconSend, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconChevronRight, IconTool, IconSettings, IconCpu, IconClockHour4, IconVersions, IconPlayerPlay, IconNetwork, IconSitemap, IconCopy, IconPlayerStop, IconReload, IconTrash, IconTerminal2, IconBug, IconChevronDown, IconArrowLeft, IconRobot, IconGitBranch, IconDotsVertical, IconFilter, IconCategory, IconArchive, IconDownload } from '@tabler/icons-react';
17
17
  import { useForm } from '@mantine/form';
18
18
  import { memo, forwardRef, useMemo, useImperativeHandle, useState, useRef, useCallback, useEffect } from 'react';
19
- import dagre from '@dagrejs/dagre';
20
19
  import { useReactFlow, ReactFlow, ReactFlowProvider } from '@xyflow/react';
20
+ import dagre from '@dagrejs/dagre';
21
21
  import '@xyflow/react/dist/style.css';
22
+ import { useClipboard } from '@mantine/hooks';
23
+ import { notifications } from '@mantine/notifications';
24
+ import { useNavigate } from '@tanstack/react-router';
22
25
 
23
26
  function FormFieldRenderer({ field, form, richTextRenderer }) {
24
27
  const commonProps = {
@@ -169,251 +172,6 @@ function ActionModal({
169
172
  ] })
170
173
  ] }) }) });
171
174
  }
172
- function TaskCard({ task, onViewExecution, richTextRenderer }) {
173
- const [isExpanded, setIsExpanded] = useState(false);
174
- const { mutate: submitAction, isPending } = useSubmitAction();
175
- const { mutate: deleteTask, isPending: isDeleting } = useDeleteTask();
176
- const [actionModalOpened, setActionModalOpened] = useState(false);
177
- const [selectedAction, setSelectedAction] = useState(null);
178
- const [confirmAction, setConfirmAction] = useState(null);
179
- const [deleteConfirmOpened, setDeleteConfirmOpened] = useState(false);
180
- const handleActionClick = (action) => {
181
- if (action.requiresConfirmation) {
182
- setConfirmAction(action);
183
- } else if (action.form) {
184
- setSelectedAction(action);
185
- setActionModalOpened(true);
186
- } else {
187
- submitAction({
188
- taskId: task.id,
189
- actionId: action.id
190
- });
191
- }
192
- };
193
- const handleConfirm = () => {
194
- if (!confirmAction) return;
195
- if (confirmAction.form) {
196
- setSelectedAction(confirmAction);
197
- setActionModalOpened(true);
198
- } else {
199
- submitAction({
200
- taskId: task.id,
201
- actionId: confirmAction.id
202
- });
203
- }
204
- setConfirmAction(null);
205
- };
206
- const getPriorityColor2 = (priority) => {
207
- if (priority >= 8) return "red";
208
- if (priority >= 5) return "yellow";
209
- return "gray";
210
- };
211
- const getStatusColor2 = (status) => {
212
- switch (status) {
213
- case "pending":
214
- return "blue";
215
- case "processing":
216
- return "blue";
217
- case "completed":
218
- return "green";
219
- case "failed":
220
- return "red";
221
- case "expired":
222
- return "orange";
223
- default:
224
- return "gray";
225
- }
226
- };
227
- const handleRetry = () => {
228
- if (task.selectedAction) {
229
- submitAction({
230
- taskId: task.id,
231
- actionId: task.selectedAction,
232
- payload: task.actionPayload
233
- });
234
- }
235
- };
236
- const formatDate = (date) => {
237
- const now = /* @__PURE__ */ new Date();
238
- const diffMs = now.getTime() - date.getTime();
239
- const diffMins = Math.floor(diffMs / 6e4);
240
- const diffHours = Math.floor(diffMins / 60);
241
- const diffDays = Math.floor(diffHours / 24);
242
- if (diffMins < 60) return `${diffMins}m ago`;
243
- if (diffHours < 24) return `${diffHours}h ago`;
244
- return `${diffDays}d ago`;
245
- };
246
- return /* @__PURE__ */ jsx(
247
- Card,
248
- {
249
- withBorder: true,
250
- style: { transition: "box-shadow var(--duration-fast) var(--easing)" },
251
- onMouseEnter: (e) => {
252
- e.currentTarget.style.boxShadow = "var(--standard-box-shadow)";
253
- },
254
- onMouseLeave: (e) => {
255
- e.currentTarget.style.boxShadow = "";
256
- },
257
- children: /* @__PURE__ */ jsxs(Stack, { gap: "sm", children: [
258
- /* @__PURE__ */ jsxs(Group, { justify: "space-between", wrap: "nowrap", children: [
259
- /* @__PURE__ */ jsxs(Group, { gap: "sm", style: { flex: 1 }, children: [
260
- /* @__PURE__ */ jsx(ThemeIcon, { size: "lg", variant: "light", color: task.originResourceType === "agent" ? "blue" : "grape", children: task.originResourceType === "agent" ? /* @__PURE__ */ jsx(IconRobot, { size: 20 }) : /* @__PURE__ */ jsx(IconGitBranch, { size: 20 }) }),
261
- /* @__PURE__ */ jsxs("div", { style: { flex: 1 }, children: [
262
- /* @__PURE__ */ jsxs(Group, { gap: "xs", mb: 4, children: [
263
- /* @__PURE__ */ jsx(Text, { fw: 600, size: "sm", style: { fontFamily: "var(--mantine-font-family-headings)" }, children: task.description || "Task approval required" }),
264
- /* @__PURE__ */ jsxs(Badge, { size: "xs", variant: "light", color: getPriorityColor2(task.priority), radius: "sm", children: [
265
- "P",
266
- task.priority
267
- ] })
268
- ] }),
269
- /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
270
- /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", children: [
271
- task.originResourceType === "agent" ? "Agent" : "Workflow",
272
- ": ",
273
- task.originResourceId
274
- ] }),
275
- /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: "\u2022" }),
276
- /* @__PURE__ */ jsxs(Group, { gap: 4, children: [
277
- /* @__PURE__ */ jsx(IconClock, { size: 12 }),
278
- /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: formatDate(task.createdAt) })
279
- ] })
280
- ] })
281
- ] })
282
- ] }),
283
- /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
284
- /* @__PURE__ */ jsx(
285
- Badge,
286
- {
287
- size: "sm",
288
- variant: "light",
289
- color: getStatusColor2(task.status),
290
- radius: "sm",
291
- leftSection: task.status === "processing" ? /* @__PURE__ */ jsx(Loader, { size: 6 }) : void 0,
292
- children: task.status.charAt(0).toUpperCase() + task.status.slice(1)
293
- }
294
- ),
295
- task.status === "failed" && /* @__PURE__ */ jsx(Button, { variant: "light", color: "red", size: "xs", loading: isPending, onClick: handleRetry, children: "Retry" }),
296
- /* @__PURE__ */ jsxs(Menu, { shadow: "md", position: "bottom-end", offset: 8, children: [
297
- /* @__PURE__ */ jsx(Menu.Target, { children: /* @__PURE__ */ jsx(ActionIcon, { variant: "subtle", color: "gray", size: "sm", children: /* @__PURE__ */ jsx(IconDotsVertical, { size: 16 }) }) }),
298
- /* @__PURE__ */ jsx(Menu.Dropdown, { children: /* @__PURE__ */ jsx(
299
- Menu.Item,
300
- {
301
- leftSection: /* @__PURE__ */ jsx(IconTrash, { size: 14 }),
302
- disabled: task.status === "processing",
303
- onClick: () => setDeleteConfirmOpened(true),
304
- children: "Delete"
305
- }
306
- ) })
307
- ] })
308
- ] })
309
- ] }),
310
- /* @__PURE__ */ jsx(Accordion, { value: isExpanded ? "details" : null, onChange: (value) => setIsExpanded(!!value), children: /* @__PURE__ */ jsxs(Accordion.Item, { value: "details", children: [
311
- /* @__PURE__ */ jsx(Accordion.Control, { children: /* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, children: "View Context" }) }),
312
- /* @__PURE__ */ jsx(Accordion.Panel, { children: /* @__PURE__ */ jsx(ContextViewer, { data: task.context }) })
313
- ] }) }),
314
- task.status === "pending" && /* @__PURE__ */ jsx(Group, { gap: "xs", children: task.actions.map((action) => {
315
- const Icon = getIcon(action.icon);
316
- const variant = "light";
317
- return /* @__PURE__ */ jsx(
318
- Button,
319
- {
320
- variant,
321
- color: action.color || (action.type === "danger" ? "red" : "blue"),
322
- leftSection: Icon ? /* @__PURE__ */ jsx(Icon, { size: 16 }) : null,
323
- loading: isPending,
324
- onClick: () => handleActionClick(action),
325
- title: action.description,
326
- size: "xs",
327
- radius: "xs",
328
- children: action.label
329
- },
330
- action.id
331
- );
332
- }) }),
333
- task.selectedAction && /* @__PURE__ */ jsx(Accordion, { children: /* @__PURE__ */ jsxs(Accordion.Item, { value: "submitted", children: [
334
- /* @__PURE__ */ jsx(Accordion.Control, { children: /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
335
- /* @__PURE__ */ jsx(ThemeIcon, { size: "sm", variant: "light", color: "green", radius: "xl", children: /* @__PURE__ */ jsx(IconCheck, { size: 12 }) }),
336
- /* @__PURE__ */ jsxs(Text, { size: "sm", fw: 500, children: [
337
- "Submitted: ",
338
- task.actions.find((a) => a.id === task.selectedAction)?.label || task.selectedAction
339
- ] }),
340
- task.targetExecutionId && /* @__PURE__ */ jsx(Badge, { size: "xs", variant: "light", color: "cyan", leftSection: /* @__PURE__ */ jsx(IconPlayerPlay, { size: 10 }), children: "Executed" })
341
- ] }) }),
342
- /* @__PURE__ */ jsx(Accordion.Panel, { children: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
343
- task.actionPayload !== void 0 && task.actionPayload !== null && /* @__PURE__ */ jsx(JsonViewer, { data: task.actionPayload, maxHeight: 200 }),
344
- task.completedAt && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", children: [
345
- "Completed ",
346
- formatDate(task.completedAt),
347
- task.completedBy ? ` by ${task.completedBy}` : ""
348
- ] }),
349
- task.targetExecutionId && /* @__PURE__ */ jsx(
350
- Button,
351
- {
352
- variant: "light",
353
- size: "xs",
354
- leftSection: /* @__PURE__ */ jsx(IconExternalLink, { size: 14 }),
355
- onClick: () => {
356
- onViewExecution?.({
357
- resourceType: task.originResourceType,
358
- resourceId: task.originResourceId,
359
- executionId: task.targetExecutionId
360
- });
361
- },
362
- children: "View Execution"
363
- }
364
- )
365
- ] }) })
366
- ] }) }),
367
- /* @__PURE__ */ jsx(CustomModal, { opened: !!confirmAction, onClose: () => setConfirmAction(null), size: "sm", children: /* @__PURE__ */ jsxs(Stack, { children: [
368
- /* @__PURE__ */ jsx(Text, { fw: 600, children: "Confirm Action" }),
369
- /* @__PURE__ */ jsx(Text, { size: "sm", children: confirmAction?.confirmationMessage || `Are you sure you want to ${confirmAction?.label.toLowerCase()}?` }),
370
- /* @__PURE__ */ jsxs(Group, { justify: "flex-end", children: [
371
- /* @__PURE__ */ jsx(Button, { variant: "default", onClick: () => setConfirmAction(null), children: "Cancel" }),
372
- /* @__PURE__ */ jsx(Button, { onClick: handleConfirm, children: confirmAction?.label })
373
- ] })
374
- ] }) }),
375
- selectedAction && /* @__PURE__ */ jsx(
376
- ActionModal,
377
- {
378
- action: selectedAction,
379
- task,
380
- opened: actionModalOpened,
381
- onClose: () => setActionModalOpened(false),
382
- onSubmit: (payload, notes) => {
383
- submitAction({
384
- taskId: task.id,
385
- actionId: selectedAction.id,
386
- payload,
387
- notes
388
- });
389
- setActionModalOpened(false);
390
- },
391
- richTextRenderer
392
- }
393
- ),
394
- /* @__PURE__ */ jsx(CustomModal, { opened: deleteConfirmOpened, onClose: () => setDeleteConfirmOpened(false), size: "sm", children: /* @__PURE__ */ jsxs(Stack, { children: [
395
- /* @__PURE__ */ jsx(Text, { fw: 600, children: "Delete Task" }),
396
- /* @__PURE__ */ jsx(Text, { size: "sm", children: "Are you sure you want to delete this task? This action cannot be undone." }),
397
- /* @__PURE__ */ jsxs(Group, { justify: "flex-end", children: [
398
- /* @__PURE__ */ jsx(Button, { variant: "default", onClick: () => setDeleteConfirmOpened(false), children: "Cancel" }),
399
- /* @__PURE__ */ jsx(
400
- Button,
401
- {
402
- color: "red",
403
- loading: isDeleting,
404
- onClick: () => {
405
- deleteTask(task.id);
406
- setDeleteConfirmOpened(false);
407
- },
408
- children: "Delete"
409
- }
410
- )
411
- ] })
412
- ] }) })
413
- ] })
414
- }
415
- );
416
- }
417
175
  function ContentSections({ context, sections, titles }) {
418
176
  const sectionKeys = sections || Object.keys(context).filter((key) => key !== "contentDisplay" && typeof context[key] === "string");
419
177
  const formatTitle = (key) => key.replace(/_/g, " ").replace(/\b\w/g, (c) => c.toUpperCase());
@@ -1597,15 +1355,155 @@ function LogGroup({ title, logs, statusBadge }) {
1597
1355
  }
1598
1356
  );
1599
1357
  }
1600
- function AgentExecutionLogs({
1601
- resourceId,
1602
- executionId,
1603
- execution: externalExecution,
1604
- selectedIterationId,
1605
- iterationData,
1606
- onExecutionDeleted
1607
- }) {
1608
- const isIterationSelected = selectedIterationId !== null;
1358
+ var ResourceFilter = ({ value, onChange, fullWidth }) => {
1359
+ const buttonStyles = fullWidth ? { padding: "2px 8px", height: "28px", fontSize: "12px", flex: 1 } : { padding: "2px 8px", height: "24px", fontSize: "12px" };
1360
+ return /* @__PURE__ */ jsxs(Button.Group, { style: fullWidth ? { width: "100%" } : void 0, children: [
1361
+ /* @__PURE__ */ jsx(
1362
+ Button,
1363
+ {
1364
+ variant: value === "all" ? "filled" : "default",
1365
+ size: "xs",
1366
+ onClick: () => onChange("all"),
1367
+ bg: value === "all" ? void 0 : "var(--color-background)",
1368
+ styles: { root: buttonStyles },
1369
+ children: "All"
1370
+ }
1371
+ ),
1372
+ /* @__PURE__ */ jsx(
1373
+ Button,
1374
+ {
1375
+ variant: value === "dev" ? "filled" : "default",
1376
+ size: "xs",
1377
+ onClick: () => onChange("dev"),
1378
+ bg: value === "dev" ? void 0 : "var(--color-background)",
1379
+ styles: { root: buttonStyles },
1380
+ children: "Dev"
1381
+ }
1382
+ ),
1383
+ /* @__PURE__ */ jsx(
1384
+ Button,
1385
+ {
1386
+ variant: value === "prod" ? "filled" : "default",
1387
+ size: "xs",
1388
+ onClick: () => onChange("prod"),
1389
+ bg: value === "prod" ? void 0 : "var(--color-background)",
1390
+ styles: { root: buttonStyles },
1391
+ children: "Prod"
1392
+ }
1393
+ )
1394
+ ] });
1395
+ };
1396
+ function ResourceHeader({ resource, type, connected, runningCount, sessionCapable }) {
1397
+ const { currentMembership } = useOrganization();
1398
+ const organizationName = currentMembership?.organization?.name;
1399
+ const navigate = useNavigate();
1400
+ const Icon = getResourceIcon(type);
1401
+ const clipboard = useClipboard({ timeout: 2e3 });
1402
+ const handleCopyId = () => {
1403
+ clipboard.copy(`"${organizationName}/${resource.resourceId}"`);
1404
+ notifications.show({
1405
+ message: "Resource ID copied to clipboard",
1406
+ color: "teal"
1407
+ });
1408
+ };
1409
+ const handleGoToSessions = () => {
1410
+ navigate({
1411
+ to: "/operations/sessions",
1412
+ search: { agent: resource.resourceId }
1413
+ });
1414
+ };
1415
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1416
+ /* @__PURE__ */ jsx(
1417
+ PageTitleCaption,
1418
+ {
1419
+ title: resource.name,
1420
+ caption: resource.description || `${type.charAt(0).toUpperCase()}${type.slice(1)} details`
1421
+ }
1422
+ ),
1423
+ /* @__PURE__ */ jsxs(Group, { justify: "space-between", children: [
1424
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
1425
+ /* @__PURE__ */ jsx(Icon, { size: 20, color: "var(--color-primary)" }),
1426
+ /* @__PURE__ */ jsxs(Badge, { color: "blue", variant: "light", children: [
1427
+ type.charAt(0).toUpperCase(),
1428
+ type.slice(1)
1429
+ ] }),
1430
+ /* @__PURE__ */ jsx(Badge, { color: ResourceStatusColors[resource.status], variant: "outline", size: "sm", children: resource.status.toUpperCase() }),
1431
+ resource.version && /* @__PURE__ */ jsxs(Badge, { variant: "outline", size: "sm", children: [
1432
+ "v",
1433
+ resource.version
1434
+ ] }),
1435
+ /* @__PURE__ */ jsxs(Group, { gap: 4, children: [
1436
+ /* @__PURE__ */ jsxs(Text, { size: "sm", ff: "monospace", c: "dimmed", children: [
1437
+ organizationName,
1438
+ "/",
1439
+ resource.resourceId
1440
+ ] }),
1441
+ /* @__PURE__ */ jsx(Tooltip, { label: clipboard.copied ? "Copied!" : "Copy ID", children: /* @__PURE__ */ jsx(ActionIcon, { size: "sm", variant: "subtle", onClick: handleCopyId, color: clipboard.copied ? "teal" : "gray", children: /* @__PURE__ */ jsx(IconCopy, { size: 14, color: clipboard.copied ? "teal" : "gray" }) }) })
1442
+ ] })
1443
+ ] }),
1444
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
1445
+ connected && /* @__PURE__ */ jsx(Badge, { color: "green", variant: "dot", children: "CONNECTED" }),
1446
+ runningCount && runningCount > 0 && /* @__PURE__ */ jsxs(Badge, { color: "blue", variant: "filled", children: [
1447
+ runningCount,
1448
+ " running"
1449
+ ] }),
1450
+ type === "agent" && sessionCapable && /* @__PURE__ */ jsx(Button, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ jsx(IconMessage, { size: 16 }), onClick: handleGoToSessions, children: "Go to Sessions" }),
1451
+ /* @__PURE__ */ jsx(
1452
+ Button,
1453
+ {
1454
+ size: "sm",
1455
+ variant: "light",
1456
+ leftSection: /* @__PURE__ */ jsx(IconArrowLeft, { size: 16 }),
1457
+ onClick: () => navigate({ to: "/operations/resources" }),
1458
+ children: "Resources"
1459
+ }
1460
+ )
1461
+ ] })
1462
+ ] })
1463
+ ] });
1464
+ }
1465
+ function ResourceErrorState({ error }) {
1466
+ return /* @__PURE__ */ jsx(Stack, { children: /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(Stack, { align: "center", children: [
1467
+ /* @__PURE__ */ jsx(Text, { c: "red", children: "Failed to load resource" }),
1468
+ /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: error.message })
1469
+ ] }) }) });
1470
+ }
1471
+ function ResourceNotFoundState({ type, resourceId }) {
1472
+ const navigate = useNavigate();
1473
+ const { currentMembership } = useOrganization();
1474
+ const orgName = currentMembership?.organization?.name || "current organization";
1475
+ return /* @__PURE__ */ jsx(Stack, { children: /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(Stack, { align: "center", children: [
1476
+ /* @__PURE__ */ jsx(Text, { size: "lg", c: "dimmed", fw: 500, children: "Resource not found" }),
1477
+ /* @__PURE__ */ jsxs(Text, { size: "sm", c: "dimmed", ta: "center", children: [
1478
+ "The ",
1479
+ type,
1480
+ ' "',
1481
+ resourceId,
1482
+ '" could not be found in ',
1483
+ orgName,
1484
+ "."
1485
+ ] }),
1486
+ /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", ta: "center", children: "This resource may exist in a different organization. Try switching organizations or returning to the overview." }),
1487
+ /* @__PURE__ */ jsx(
1488
+ Button,
1489
+ {
1490
+ variant: "light",
1491
+ leftSection: /* @__PURE__ */ jsx(IconArrowLeft, { size: 16 }),
1492
+ onClick: () => navigate({ to: "/operations", search: { type: void 0 } }),
1493
+ children: "Back to Operations"
1494
+ }
1495
+ )
1496
+ ] }) }) });
1497
+ }
1498
+ function AgentExecutionLogs({
1499
+ resourceId,
1500
+ executionId,
1501
+ execution: externalExecution,
1502
+ selectedIterationId,
1503
+ iterationData,
1504
+ onExecutionDeleted
1505
+ }) {
1506
+ const isIterationSelected = selectedIterationId !== null;
1609
1507
  const logGroups = useMemo(() => {
1610
1508
  if (!iterationData) {
1611
1509
  return [];
@@ -2232,6 +2130,113 @@ var CommandQueueSidebar = ({
2232
2130
  )
2233
2131
  ] });
2234
2132
  };
2133
+ function ContextUsageBadge({ currentTokens, maxTokens }) {
2134
+ const percentage = currentTokens / maxTokens * 100;
2135
+ const color = percentage > 90 ? "red" : percentage > 70 ? "yellow" : "green";
2136
+ return /* @__PURE__ */ jsx(
2137
+ Tooltip,
2138
+ {
2139
+ label: `${currentTokens.toLocaleString()} of ${maxTokens.toLocaleString()} tokens used (${percentage.toFixed(1)}%)`,
2140
+ position: "bottom",
2141
+ children: /* @__PURE__ */ jsxs(Group, { gap: 6, style: { cursor: "help" }, children: [
2142
+ /* @__PURE__ */ jsx(IconBrain, { size: 16, color: `var(--mantine-color-${color}-6)` }),
2143
+ /* @__PURE__ */ jsxs(Text, { size: "xs", c: color, fw: 500, children: [
2144
+ currentTokens.toLocaleString(),
2145
+ " / ",
2146
+ maxTokens.toLocaleString()
2147
+ ] }),
2148
+ /* @__PURE__ */ jsx(Progress, { value: percentage, color, size: "sm", w: 80, radius: "xl" })
2149
+ ] })
2150
+ }
2151
+ );
2152
+ }
2153
+ function parseMemoryContent(memory) {
2154
+ const parsedSessionMemory = {};
2155
+ for (const [key, entry] of Object.entries(memory.sessionMemory || {})) {
2156
+ try {
2157
+ if (typeof entry.content === "string") {
2158
+ parsedSessionMemory[key] = {
2159
+ ...entry,
2160
+ content: JSON.parse(entry.content)
2161
+ };
2162
+ } else {
2163
+ parsedSessionMemory[key] = entry;
2164
+ }
2165
+ } catch {
2166
+ parsedSessionMemory[key] = entry;
2167
+ }
2168
+ }
2169
+ const parsedHistory = (memory.history || []).map((entry) => {
2170
+ try {
2171
+ if (typeof entry.content === "string") {
2172
+ return {
2173
+ ...entry,
2174
+ content: JSON.parse(entry.content)
2175
+ };
2176
+ }
2177
+ return entry;
2178
+ } catch {
2179
+ return entry;
2180
+ }
2181
+ });
2182
+ return {
2183
+ sessionMemory: parsedSessionMemory,
2184
+ history: parsedHistory
2185
+ };
2186
+ }
2187
+ function SessionMemory({ memory }) {
2188
+ if (!memory) {
2189
+ return /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
2190
+ /* @__PURE__ */ jsx(IconDatabase, { size: 18 }),
2191
+ /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: "No memory data available" })
2192
+ ] });
2193
+ }
2194
+ const sessionMemoryKeys = Object.keys(memory.sessionMemory || {});
2195
+ const historyCount = memory.history?.length || 0;
2196
+ const parsedMemory = parseMemoryContent(memory);
2197
+ return /* @__PURE__ */ jsxs(Stack, { children: [
2198
+ /* @__PURE__ */ jsxs(Group, { justify: "space-between", children: [
2199
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
2200
+ /* @__PURE__ */ jsx(IconDatabase, { size: 20 }),
2201
+ /* @__PURE__ */ jsx(Text, { fw: 600, size: "sm", style: { fontFamily: "var(--mantine-font-family-headings)" }, children: "Session Memory" })
2202
+ ] }),
2203
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
2204
+ /* @__PURE__ */ jsxs(Badge, { size: "sm", variant: "light", children: [
2205
+ sessionMemoryKeys.length,
2206
+ " keys"
2207
+ ] }),
2208
+ /* @__PURE__ */ jsxs(Badge, { size: "sm", variant: "light", children: [
2209
+ historyCount,
2210
+ " history items"
2211
+ ] })
2212
+ ] })
2213
+ ] }),
2214
+ /* @__PURE__ */ jsxs(Stack, { children: [
2215
+ /* @__PURE__ */ jsx(
2216
+ CollapsibleSection,
2217
+ {
2218
+ title: "Session Memory",
2219
+ count: sessionMemoryKeys.length,
2220
+ countLabel: "keys",
2221
+ emptyMessage: "No session memory stored",
2222
+ defaultExpanded: false,
2223
+ children: /* @__PURE__ */ jsx(JsonViewer, { data: parsedMemory.sessionMemory, maxHeight: 300 })
2224
+ }
2225
+ ),
2226
+ /* @__PURE__ */ jsx(
2227
+ CollapsibleSection,
2228
+ {
2229
+ title: "Conversation History",
2230
+ count: historyCount,
2231
+ countLabel: "items",
2232
+ emptyMessage: "No history available",
2233
+ defaultExpanded: false,
2234
+ children: /* @__PURE__ */ jsx(JsonViewer, { data: parsedMemory.history, maxHeight: 300 })
2235
+ }
2236
+ )
2237
+ ] })
2238
+ ] });
2239
+ }
2235
2240
  var triggerTypeIcons = {
2236
2241
  webhook: IconWebhook,
2237
2242
  schedule: IconClock,
@@ -2618,5 +2623,250 @@ var CommandViewGraph = forwardRef(
2618
2623
  return /* @__PURE__ */ jsx(ReactFlowProvider, { children: /* @__PURE__ */ jsx(CommandViewGraphInner, { ref, ...props }) });
2619
2624
  }
2620
2625
  );
2626
+ function TaskCard({ task, onViewExecution, richTextRenderer }) {
2627
+ const [isExpanded, setIsExpanded] = useState(false);
2628
+ const { mutate: submitAction, isPending } = useSubmitAction();
2629
+ const { mutate: deleteTask, isPending: isDeleting } = useDeleteTask();
2630
+ const [actionModalOpened, setActionModalOpened] = useState(false);
2631
+ const [selectedAction, setSelectedAction] = useState(null);
2632
+ const [confirmAction, setConfirmAction] = useState(null);
2633
+ const [deleteConfirmOpened, setDeleteConfirmOpened] = useState(false);
2634
+ const handleActionClick = (action) => {
2635
+ if (action.requiresConfirmation) {
2636
+ setConfirmAction(action);
2637
+ } else if (action.form) {
2638
+ setSelectedAction(action);
2639
+ setActionModalOpened(true);
2640
+ } else {
2641
+ submitAction({
2642
+ taskId: task.id,
2643
+ actionId: action.id
2644
+ });
2645
+ }
2646
+ };
2647
+ const handleConfirm = () => {
2648
+ if (!confirmAction) return;
2649
+ if (confirmAction.form) {
2650
+ setSelectedAction(confirmAction);
2651
+ setActionModalOpened(true);
2652
+ } else {
2653
+ submitAction({
2654
+ taskId: task.id,
2655
+ actionId: confirmAction.id
2656
+ });
2657
+ }
2658
+ setConfirmAction(null);
2659
+ };
2660
+ const getPriorityColor2 = (priority) => {
2661
+ if (priority >= 8) return "red";
2662
+ if (priority >= 5) return "yellow";
2663
+ return "gray";
2664
+ };
2665
+ const getStatusColor2 = (status) => {
2666
+ switch (status) {
2667
+ case "pending":
2668
+ return "blue";
2669
+ case "processing":
2670
+ return "blue";
2671
+ case "completed":
2672
+ return "green";
2673
+ case "failed":
2674
+ return "red";
2675
+ case "expired":
2676
+ return "orange";
2677
+ default:
2678
+ return "gray";
2679
+ }
2680
+ };
2681
+ const handleRetry = () => {
2682
+ if (task.selectedAction) {
2683
+ submitAction({
2684
+ taskId: task.id,
2685
+ actionId: task.selectedAction,
2686
+ payload: task.actionPayload
2687
+ });
2688
+ }
2689
+ };
2690
+ const formatDate = (date) => {
2691
+ const now = /* @__PURE__ */ new Date();
2692
+ const diffMs = now.getTime() - date.getTime();
2693
+ const diffMins = Math.floor(diffMs / 6e4);
2694
+ const diffHours = Math.floor(diffMins / 60);
2695
+ const diffDays = Math.floor(diffHours / 24);
2696
+ if (diffMins < 60) return `${diffMins}m ago`;
2697
+ if (diffHours < 24) return `${diffHours}h ago`;
2698
+ return `${diffDays}d ago`;
2699
+ };
2700
+ return /* @__PURE__ */ jsx(
2701
+ Card,
2702
+ {
2703
+ withBorder: true,
2704
+ style: { transition: "box-shadow var(--duration-fast) var(--easing)" },
2705
+ onMouseEnter: (e) => {
2706
+ e.currentTarget.style.boxShadow = "var(--standard-box-shadow)";
2707
+ },
2708
+ onMouseLeave: (e) => {
2709
+ e.currentTarget.style.boxShadow = "";
2710
+ },
2711
+ children: /* @__PURE__ */ jsxs(Stack, { gap: "sm", children: [
2712
+ /* @__PURE__ */ jsxs(Group, { justify: "space-between", wrap: "nowrap", children: [
2713
+ /* @__PURE__ */ jsxs(Group, { gap: "sm", style: { flex: 1 }, children: [
2714
+ /* @__PURE__ */ jsx(ThemeIcon, { size: "lg", variant: "light", color: task.originResourceType === "agent" ? "blue" : "grape", children: task.originResourceType === "agent" ? /* @__PURE__ */ jsx(IconRobot, { size: 20 }) : /* @__PURE__ */ jsx(IconGitBranch, { size: 20 }) }),
2715
+ /* @__PURE__ */ jsxs("div", { style: { flex: 1 }, children: [
2716
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", mb: 4, children: [
2717
+ /* @__PURE__ */ jsx(Text, { fw: 600, size: "sm", style: { fontFamily: "var(--mantine-font-family-headings)" }, children: task.description || "Task approval required" }),
2718
+ /* @__PURE__ */ jsxs(Badge, { size: "xs", variant: "light", color: getPriorityColor2(task.priority), radius: "sm", children: [
2719
+ "P",
2720
+ task.priority
2721
+ ] })
2722
+ ] }),
2723
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
2724
+ /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", children: [
2725
+ task.originResourceType === "agent" ? "Agent" : "Workflow",
2726
+ ": ",
2727
+ task.originResourceId
2728
+ ] }),
2729
+ /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: "\u2022" }),
2730
+ /* @__PURE__ */ jsxs(Group, { gap: 4, children: [
2731
+ /* @__PURE__ */ jsx(IconClock, { size: 12 }),
2732
+ /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: formatDate(task.createdAt) })
2733
+ ] })
2734
+ ] })
2735
+ ] })
2736
+ ] }),
2737
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
2738
+ /* @__PURE__ */ jsx(
2739
+ Badge,
2740
+ {
2741
+ size: "sm",
2742
+ variant: "light",
2743
+ color: getStatusColor2(task.status),
2744
+ radius: "sm",
2745
+ leftSection: task.status === "processing" ? /* @__PURE__ */ jsx(Loader, { size: 6 }) : void 0,
2746
+ children: task.status.charAt(0).toUpperCase() + task.status.slice(1)
2747
+ }
2748
+ ),
2749
+ task.status === "failed" && /* @__PURE__ */ jsx(Button, { variant: "light", color: "red", size: "xs", loading: isPending, onClick: handleRetry, children: "Retry" }),
2750
+ /* @__PURE__ */ jsxs(Menu, { shadow: "md", position: "bottom-end", offset: 8, children: [
2751
+ /* @__PURE__ */ jsx(Menu.Target, { children: /* @__PURE__ */ jsx(ActionIcon, { variant: "subtle", color: "gray", size: "sm", children: /* @__PURE__ */ jsx(IconDotsVertical, { size: 16 }) }) }),
2752
+ /* @__PURE__ */ jsx(Menu.Dropdown, { children: /* @__PURE__ */ jsx(
2753
+ Menu.Item,
2754
+ {
2755
+ leftSection: /* @__PURE__ */ jsx(IconTrash, { size: 14 }),
2756
+ disabled: task.status === "processing",
2757
+ onClick: () => setDeleteConfirmOpened(true),
2758
+ children: "Delete"
2759
+ }
2760
+ ) })
2761
+ ] })
2762
+ ] })
2763
+ ] }),
2764
+ /* @__PURE__ */ jsx(Accordion, { value: isExpanded ? "details" : null, onChange: (value) => setIsExpanded(!!value), children: /* @__PURE__ */ jsxs(Accordion.Item, { value: "details", children: [
2765
+ /* @__PURE__ */ jsx(Accordion.Control, { children: /* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, children: "View Context" }) }),
2766
+ /* @__PURE__ */ jsx(Accordion.Panel, { children: /* @__PURE__ */ jsx(ContextViewer, { data: task.context }) })
2767
+ ] }) }),
2768
+ task.status === "pending" && /* @__PURE__ */ jsx(Group, { gap: "xs", children: task.actions.map((action) => {
2769
+ const Icon = getIcon(action.icon);
2770
+ const variant = "light";
2771
+ return /* @__PURE__ */ jsx(
2772
+ Button,
2773
+ {
2774
+ variant,
2775
+ color: action.color || (action.type === "danger" ? "red" : "blue"),
2776
+ leftSection: Icon ? /* @__PURE__ */ jsx(Icon, { size: 16 }) : null,
2777
+ loading: isPending,
2778
+ onClick: () => handleActionClick(action),
2779
+ title: action.description,
2780
+ size: "xs",
2781
+ radius: "xs",
2782
+ children: action.label
2783
+ },
2784
+ action.id
2785
+ );
2786
+ }) }),
2787
+ task.selectedAction && /* @__PURE__ */ jsx(Accordion, { children: /* @__PURE__ */ jsxs(Accordion.Item, { value: "submitted", children: [
2788
+ /* @__PURE__ */ jsx(Accordion.Control, { children: /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
2789
+ /* @__PURE__ */ jsx(ThemeIcon, { size: "sm", variant: "light", color: "green", radius: "xl", children: /* @__PURE__ */ jsx(IconCheck, { size: 12 }) }),
2790
+ /* @__PURE__ */ jsxs(Text, { size: "sm", fw: 500, children: [
2791
+ "Submitted: ",
2792
+ task.actions.find((a) => a.id === task.selectedAction)?.label || task.selectedAction
2793
+ ] }),
2794
+ task.targetExecutionId && /* @__PURE__ */ jsx(Badge, { size: "xs", variant: "light", color: "cyan", leftSection: /* @__PURE__ */ jsx(IconPlayerPlay, { size: 10 }), children: "Executed" })
2795
+ ] }) }),
2796
+ /* @__PURE__ */ jsx(Accordion.Panel, { children: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
2797
+ task.actionPayload !== void 0 && task.actionPayload !== null && /* @__PURE__ */ jsx(JsonViewer, { data: task.actionPayload, maxHeight: 200 }),
2798
+ task.completedAt && /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", children: [
2799
+ "Completed ",
2800
+ formatDate(task.completedAt),
2801
+ task.completedBy ? ` by ${task.completedBy}` : ""
2802
+ ] }),
2803
+ task.targetExecutionId && /* @__PURE__ */ jsx(
2804
+ Button,
2805
+ {
2806
+ variant: "light",
2807
+ size: "xs",
2808
+ leftSection: /* @__PURE__ */ jsx(IconExternalLink, { size: 14 }),
2809
+ onClick: () => {
2810
+ onViewExecution?.({
2811
+ resourceType: task.originResourceType,
2812
+ resourceId: task.originResourceId,
2813
+ executionId: task.targetExecutionId
2814
+ });
2815
+ },
2816
+ children: "View Execution"
2817
+ }
2818
+ )
2819
+ ] }) })
2820
+ ] }) }),
2821
+ /* @__PURE__ */ jsx(CustomModal, { opened: !!confirmAction, onClose: () => setConfirmAction(null), size: "sm", children: /* @__PURE__ */ jsxs(Stack, { children: [
2822
+ /* @__PURE__ */ jsx(Text, { fw: 600, children: "Confirm Action" }),
2823
+ /* @__PURE__ */ jsx(Text, { size: "sm", children: confirmAction?.confirmationMessage || `Are you sure you want to ${confirmAction?.label.toLowerCase()}?` }),
2824
+ /* @__PURE__ */ jsxs(Group, { justify: "flex-end", children: [
2825
+ /* @__PURE__ */ jsx(Button, { variant: "default", onClick: () => setConfirmAction(null), children: "Cancel" }),
2826
+ /* @__PURE__ */ jsx(Button, { onClick: handleConfirm, children: confirmAction?.label })
2827
+ ] })
2828
+ ] }) }),
2829
+ selectedAction && /* @__PURE__ */ jsx(
2830
+ ActionModal,
2831
+ {
2832
+ action: selectedAction,
2833
+ task,
2834
+ opened: actionModalOpened,
2835
+ onClose: () => setActionModalOpened(false),
2836
+ onSubmit: (payload, notes) => {
2837
+ submitAction({
2838
+ taskId: task.id,
2839
+ actionId: selectedAction.id,
2840
+ payload,
2841
+ notes
2842
+ });
2843
+ setActionModalOpened(false);
2844
+ },
2845
+ richTextRenderer
2846
+ }
2847
+ ),
2848
+ /* @__PURE__ */ jsx(CustomModal, { opened: deleteConfirmOpened, onClose: () => setDeleteConfirmOpened(false), size: "sm", children: /* @__PURE__ */ jsxs(Stack, { children: [
2849
+ /* @__PURE__ */ jsx(Text, { fw: 600, children: "Delete Task" }),
2850
+ /* @__PURE__ */ jsx(Text, { size: "sm", children: "Are you sure you want to delete this task? This action cannot be undone." }),
2851
+ /* @__PURE__ */ jsxs(Group, { justify: "flex-end", children: [
2852
+ /* @__PURE__ */ jsx(Button, { variant: "default", onClick: () => setDeleteConfirmOpened(false), children: "Cancel" }),
2853
+ /* @__PURE__ */ jsx(
2854
+ Button,
2855
+ {
2856
+ color: "red",
2857
+ loading: isDeleting,
2858
+ onClick: () => {
2859
+ deleteTask(task.id);
2860
+ setDeleteConfirmOpened(false);
2861
+ },
2862
+ children: "Delete"
2863
+ }
2864
+ )
2865
+ ] })
2866
+ ] }) })
2867
+ ] })
2868
+ }
2869
+ );
2870
+ }
2621
2871
 
2622
- export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ContentSections, ContractDisplay, ExecutionErrorSection, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, ResourceDefinitionSection, TaskCard, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, useNewKnowledgeMapLayout };
2872
+ export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, TaskCard, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, useNewKnowledgeMapLayout };