@elevasis/ui 1.3.1 → 1.3.2

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 (261) hide show
  1. package/dist/api/index.js +1 -1
  2. package/dist/auth/guards/AdminGuard.d.ts +32 -0
  3. package/dist/auth/guards/AdminGuard.d.ts.map +1 -0
  4. package/dist/auth/guards/ProtectedRoute.d.ts +60 -0
  5. package/dist/auth/guards/ProtectedRoute.d.ts.map +1 -0
  6. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts +12 -0
  7. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts.map +1 -0
  8. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts +14 -0
  9. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts.map +1 -0
  10. package/dist/auth/index.d.ts +14 -174
  11. package/dist/auth/index.d.ts.map +1 -0
  12. package/dist/auth/index.js +1 -1
  13. package/dist/{chunk-A3MCANC6.js → chunk-6IX5JZEH.js} +110 -50
  14. package/dist/chunk-GIFAF5ZS.js +313 -0
  15. package/dist/chunk-JQLT6HBI.js +850 -0
  16. package/dist/chunk-LFYO3MDC.js +58 -0
  17. package/dist/{chunk-72HOBFMP.js → chunk-LTQAAIGE.js} +3 -3
  18. package/dist/{chunk-JBFFCZI4.js → chunk-U34YGJQB.js} +1 -93
  19. package/dist/components/index.d.ts +1 -1353
  20. package/dist/components/index.js +1 -20
  21. package/dist/components/navigation/index.d.ts +2 -32
  22. package/dist/components/navigation/index.js +1 -29
  23. package/dist/execution/index.d.ts +63 -231
  24. package/dist/execution/index.js +1 -4
  25. package/dist/graph/index.css +0 -1
  26. package/dist/graph/index.d.ts +4 -203
  27. package/dist/graph/index.js +1 -1
  28. package/dist/hooks/command-queue/index.d.ts +7 -0
  29. package/dist/hooks/command-queue/index.d.ts.map +1 -0
  30. package/dist/hooks/command-queue/useCommandQueue.d.ts +33 -0
  31. package/dist/hooks/command-queue/useCommandQueue.d.ts.map +1 -0
  32. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts +17 -0
  33. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts.map +1 -0
  34. package/dist/hooks/command-queue/useDeleteTask.d.ts +5 -0
  35. package/dist/hooks/command-queue/useDeleteTask.d.ts.map +1 -0
  36. package/dist/hooks/command-queue/usePatchTask.d.ts +6 -0
  37. package/dist/hooks/command-queue/usePatchTask.d.ts.map +1 -0
  38. package/dist/hooks/command-queue/useSubmitAction.d.ts +29 -0
  39. package/dist/hooks/command-queue/useSubmitAction.d.ts.map +1 -0
  40. package/dist/hooks/executions/index.d.ts +16 -0
  41. package/dist/hooks/executions/index.d.ts.map +1 -0
  42. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts +15 -0
  43. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts.map +1 -0
  44. package/dist/hooks/executions/useCancelExecution.d.ts +20 -0
  45. package/dist/hooks/executions/useCancelExecution.d.ts.map +1 -0
  46. package/dist/hooks/executions/useDeleteExecution.d.ts +13 -0
  47. package/dist/hooks/executions/useDeleteExecution.d.ts.map +1 -0
  48. package/dist/hooks/executions/useExecuteAsync.d.ts +21 -0
  49. package/dist/hooks/executions/useExecuteAsync.d.ts.map +1 -0
  50. package/dist/hooks/executions/useExecution.d.ts +10 -0
  51. package/dist/hooks/executions/useExecution.d.ts.map +1 -0
  52. package/dist/hooks/executions/useExecutions.d.ts +16 -0
  53. package/dist/hooks/executions/useExecutions.d.ts.map +1 -0
  54. package/dist/hooks/executions/useResourceDefinition.d.ts +9 -0
  55. package/dist/hooks/executions/useResourceDefinition.d.ts.map +1 -0
  56. package/dist/hooks/executions/useResources.d.ts +15 -0
  57. package/dist/hooks/executions/useResources.d.ts.map +1 -0
  58. package/dist/hooks/executions/useRetryExecution.d.ts +16 -0
  59. package/dist/hooks/executions/useRetryExecution.d.ts.map +1 -0
  60. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts +44 -0
  61. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts.map +1 -0
  62. package/dist/hooks/feature-access/index.d.ts +2 -0
  63. package/dist/hooks/feature-access/index.d.ts.map +1 -0
  64. package/dist/hooks/index.d.ts +11 -4554
  65. package/dist/hooks/index.d.ts.map +1 -0
  66. package/dist/hooks/index.js +2 -4
  67. package/dist/hooks/monitoring/index.d.ts +9 -0
  68. package/dist/hooks/monitoring/index.d.ts.map +1 -0
  69. package/dist/hooks/monitoring/useActivities.d.ts +52 -0
  70. package/dist/hooks/monitoring/useActivities.d.ts.map +1 -0
  71. package/dist/hooks/monitoring/useCostSummary.d.ts +7 -0
  72. package/dist/hooks/monitoring/useCostSummary.d.ts.map +1 -0
  73. package/dist/hooks/monitoring/useExecutionHealth.d.ts +10 -0
  74. package/dist/hooks/monitoring/useExecutionHealth.d.ts.map +1 -0
  75. package/dist/hooks/monitoring/useExecutionLogs.d.ts +56 -0
  76. package/dist/hooks/monitoring/useExecutionLogs.d.ts.map +1 -0
  77. package/dist/hooks/monitoring/useNotifications.d.ts +11 -0
  78. package/dist/hooks/monitoring/useNotifications.d.ts.map +1 -0
  79. package/dist/hooks/notifications/index.d.ts +8 -0
  80. package/dist/hooks/notifications/index.d.ts.map +1 -0
  81. package/dist/hooks/notifications/useMarkAllAsRead.d.ts +2 -0
  82. package/dist/hooks/notifications/useMarkAllAsRead.d.ts.map +1 -0
  83. package/dist/hooks/notifications/useMarkAsRead.d.ts +2 -0
  84. package/dist/hooks/notifications/useMarkAsRead.d.ts.map +1 -0
  85. package/dist/hooks/notifications/useNotificationCount.d.ts +8 -0
  86. package/dist/hooks/notifications/useNotificationCount.d.ts.map +1 -0
  87. package/dist/hooks/observability/index.d.ts +19 -0
  88. package/dist/hooks/observability/index.d.ts.map +1 -0
  89. package/dist/hooks/observability/useBusinessImpact.d.ts +9 -0
  90. package/dist/hooks/observability/useBusinessImpact.d.ts.map +1 -0
  91. package/dist/hooks/observability/useCostBreakdown.d.ts +10 -0
  92. package/dist/hooks/observability/useCostBreakdown.d.ts.map +1 -0
  93. package/dist/hooks/observability/useCostByModel.d.ts +3 -0
  94. package/dist/hooks/observability/useCostByModel.d.ts.map +1 -0
  95. package/dist/hooks/observability/useCostTrends.d.ts +3 -0
  96. package/dist/hooks/observability/useCostTrends.d.ts.map +1 -0
  97. package/dist/hooks/observability/useDashboardMetrics.d.ts +3 -0
  98. package/dist/hooks/observability/useDashboardMetrics.d.ts.map +1 -0
  99. package/dist/hooks/observability/useErrorAnalysis.d.ts +7 -0
  100. package/dist/hooks/observability/useErrorAnalysis.d.ts.map +1 -0
  101. package/dist/hooks/observability/useErrorDetails.d.ts +20 -0
  102. package/dist/hooks/observability/useErrorDetails.d.ts.map +1 -0
  103. package/dist/hooks/observability/useErrorDistribution.d.ts +12 -0
  104. package/dist/hooks/observability/useErrorDistribution.d.ts.map +1 -0
  105. package/dist/hooks/observability/useErrorTrends.d.ts +12 -0
  106. package/dist/hooks/observability/useErrorTrends.d.ts.map +1 -0
  107. package/dist/hooks/observability/useResolveError.d.ts +17 -0
  108. package/dist/hooks/observability/useResolveError.d.ts.map +1 -0
  109. package/dist/hooks/observability/useTopFailingResources.d.ts +13 -0
  110. package/dist/hooks/observability/useTopFailingResources.d.ts.map +1 -0
  111. package/dist/hooks/published.d.ts +19 -4279
  112. package/dist/hooks/published.d.ts.map +1 -0
  113. package/dist/hooks/published.js +367 -4
  114. package/dist/hooks/scheduling/index.d.ts +5 -0
  115. package/dist/hooks/scheduling/index.d.ts.map +1 -0
  116. package/dist/hooks/scheduling/useSchedules.d.ts +185 -0
  117. package/dist/hooks/scheduling/useSchedules.d.ts.map +1 -0
  118. package/dist/hooks/sessions/index.d.ts +8 -0
  119. package/dist/hooks/sessions/index.d.ts.map +1 -0
  120. package/dist/hooks/sessions/useSessionExecutions.d.ts +13 -0
  121. package/dist/hooks/sessions/useSessionExecutions.d.ts.map +1 -0
  122. package/dist/hooks/sessions/useSessionMessages.d.ts +7 -0
  123. package/dist/hooks/sessions/useSessionMessages.d.ts.map +1 -0
  124. package/dist/hooks/sessions/useSessions.d.ts +26 -0
  125. package/dist/hooks/sessions/useSessions.d.ts.map +1 -0
  126. package/dist/index.css +0 -118
  127. package/dist/index.d.ts +15 -7889
  128. package/dist/index.d.ts.map +1 -0
  129. package/dist/index.js +1119 -24
  130. package/dist/initialization/InitializationProvider.d.ts +48 -0
  131. package/dist/initialization/InitializationProvider.d.ts.map +1 -0
  132. package/dist/initialization/hooks/useAppInitialization.d.ts +32 -0
  133. package/dist/initialization/hooks/useAppInitialization.d.ts.map +1 -0
  134. package/dist/initialization/index.d.ts +22 -2361
  135. package/dist/initialization/index.d.ts.map +1 -0
  136. package/dist/initialization/index.js +1 -1
  137. package/dist/organization/context/OrganizationProvider.d.ts +20 -0
  138. package/dist/organization/context/OrganizationProvider.d.ts.map +1 -0
  139. package/dist/organization/hooks/useOrgInitialization.d.ts +56 -0
  140. package/dist/organization/hooks/useOrgInitialization.d.ts.map +1 -0
  141. package/dist/organization/index.d.ts +21 -283
  142. package/dist/organization/index.d.ts.map +1 -0
  143. package/dist/organization/index.js +3 -3
  144. package/dist/profile/context/ProfileProvider.d.ts +27 -0
  145. package/dist/profile/context/ProfileProvider.d.ts.map +1 -0
  146. package/dist/profile/hooks/useUserProfile.d.ts +31 -0
  147. package/dist/profile/hooks/useUserProfile.d.ts.map +1 -0
  148. package/dist/profile/index.d.ts +14 -2290
  149. package/dist/profile/index.d.ts.map +1 -0
  150. package/dist/provider/CoreAuthKitInner.d.ts +12 -0
  151. package/dist/provider/CoreAuthKitInner.d.ts.map +1 -0
  152. package/dist/provider/ElevasisCoreProvider.d.ts +39 -0
  153. package/dist/provider/ElevasisCoreProvider.d.ts.map +1 -0
  154. package/dist/provider/ElevasisServiceContext.d.ts +31 -0
  155. package/dist/provider/ElevasisServiceContext.d.ts.map +1 -0
  156. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts +2 -0
  157. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts.map +1 -0
  158. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts +2 -0
  159. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts.map +1 -0
  160. package/dist/provider/index.d.ts +7 -372
  161. package/dist/provider/index.d.ts.map +1 -0
  162. package/dist/provider/index.js +6 -6
  163. package/dist/provider/published.d.ts +9 -263
  164. package/dist/provider/published.d.ts.map +1 -0
  165. package/dist/provider/published.js +5 -5
  166. package/dist/provider/types.d.ts +190 -0
  167. package/dist/provider/types.d.ts.map +1 -0
  168. package/dist/sdk-barrel.d.ts +20 -0
  169. package/dist/sdk-barrel.d.ts.map +1 -0
  170. package/dist/supabase/index.d.ts +0 -255
  171. package/dist/theme/cssVariables.d.ts +12 -0
  172. package/dist/theme/cssVariables.d.ts.map +1 -0
  173. package/dist/theme/index.d.ts +4 -0
  174. package/dist/theme/index.d.ts.map +1 -0
  175. package/dist/theme/presets/__tests__/getPreset.test.d.ts +2 -0
  176. package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +1 -0
  177. package/dist/theme/presets/abyss.d.ts +3 -0
  178. package/dist/theme/presets/abyss.d.ts.map +1 -0
  179. package/dist/theme/presets/abyss.js +54 -0
  180. package/dist/theme/presets/aurora.d.ts +8 -0
  181. package/dist/theme/presets/aurora.d.ts.map +1 -0
  182. package/dist/theme/presets/aurora.js +59 -0
  183. package/dist/theme/presets/canopy.d.ts +3 -0
  184. package/dist/theme/presets/canopy.d.ts.map +1 -0
  185. package/dist/theme/presets/canopy.js +58 -0
  186. package/dist/theme/presets/cyber-flux.d.ts +8 -0
  187. package/dist/theme/presets/cyber-flux.d.ts.map +1 -0
  188. package/dist/theme/presets/cyber-strike.d.ts +9 -0
  189. package/dist/theme/presets/cyber-strike.d.ts.map +1 -0
  190. package/dist/theme/presets/cyber-void.d.ts +8 -0
  191. package/dist/theme/presets/cyber-void.d.ts.map +1 -0
  192. package/dist/theme/presets/cyber-volt.d.ts +8 -0
  193. package/dist/theme/presets/cyber-volt.d.ts.map +1 -0
  194. package/dist/theme/presets/default.d.ts +4 -0
  195. package/dist/theme/presets/default.d.ts.map +1 -0
  196. package/dist/theme/presets/ember.d.ts +8 -0
  197. package/dist/theme/presets/ember.d.ts.map +1 -0
  198. package/dist/theme/presets/ember.js +63 -0
  199. package/dist/theme/presets/honey.d.ts +3 -0
  200. package/dist/theme/presets/honey.d.ts.map +1 -0
  201. package/dist/theme/presets/honey.js +62 -0
  202. package/dist/theme/presets/index.d.ts +6 -0
  203. package/dist/theme/presets/index.d.ts.map +1 -0
  204. package/dist/theme/presets/midnight.d.ts +8 -0
  205. package/dist/theme/presets/midnight.d.ts.map +1 -0
  206. package/dist/theme/presets/midnight.js +68 -0
  207. package/dist/theme/presets/obsidian.d.ts +3 -0
  208. package/dist/theme/presets/obsidian.d.ts.map +1 -0
  209. package/dist/theme/presets/obsidian.js +56 -0
  210. package/dist/theme/presets/regal.d.ts +8 -0
  211. package/dist/theme/presets/regal.d.ts.map +1 -0
  212. package/dist/theme/presets/rose-gold.d.ts +8 -0
  213. package/dist/theme/presets/rose-gold.d.ts.map +1 -0
  214. package/dist/theme/presets/slate.d.ts +3 -0
  215. package/dist/theme/presets/slate.d.ts.map +1 -0
  216. package/dist/theme/presets/slate.js +56 -0
  217. package/dist/theme/presets/tactical.d.ts +8 -0
  218. package/dist/theme/presets/tactical.d.ts.map +1 -0
  219. package/dist/theme/presets/types.d.ts +26 -0
  220. package/dist/theme/presets/types.d.ts.map +1 -0
  221. package/dist/theme/presets/types.js +1 -0
  222. package/dist/utils/index.d.ts +1 -22
  223. package/dist/utils/index.js +1 -1
  224. package/package.json +67 -51
  225. package/dist/chunk-3KMDHCAR.js +0 -52
  226. package/dist/chunk-6BJOYF6E.js +0 -8
  227. package/dist/chunk-BLO4SISK.js +0 -113
  228. package/dist/chunk-HUWJXLLF.js +0 -681
  229. package/dist/chunk-JVAZHVNV.js +0 -110
  230. package/dist/chunk-JYSYHVLU.js +0 -379
  231. package/dist/chunk-NE36BUGQ.js +0 -146
  232. package/dist/chunk-O3PY6B6E.js +0 -749
  233. package/dist/chunk-OXVOHOP3.js +0 -661
  234. package/dist/chunk-PSLKGOBZ.js +0 -58
  235. package/dist/chunk-RJCA5672.js +0 -1664
  236. package/dist/chunk-TMFCNFLW.js +0 -107
  237. package/dist/chunk-TN3PU2WK.js +0 -748
  238. package/dist/chunk-TZPAA4RC.js +0 -1461
  239. package/dist/chunk-W7ZBF5AA.js +0 -1
  240. package/dist/chunk-YZ6GTZXL.js +0 -48
  241. package/dist/components/command-queue/index.css +0 -53
  242. package/dist/components/command-queue/index.d.ts +0 -204
  243. package/dist/components/command-queue/index.js +0 -12
  244. package/dist/components/forms/index.d.ts +0 -56
  245. package/dist/components/forms/index.js +0 -2
  246. package/dist/components/index.css +0 -443
  247. package/dist/components/monitoring/index.d.ts +0 -66
  248. package/dist/components/monitoring/index.js +0 -2
  249. package/dist/components/notifications/index.d.ts +0 -52
  250. package/dist/components/notifications/index.js +0 -5
  251. package/dist/components/resource-definition/index.css +0 -388
  252. package/dist/components/resource-definition/index.d.ts +0 -301
  253. package/dist/components/resource-definition/index.js +0 -3
  254. package/dist/display/index.css +0 -53
  255. package/dist/display/index.d.ts +0 -606
  256. package/dist/display/index.js +0 -7
  257. package/dist/execution/index.css +0 -388
  258. package/dist/provider/index.css +0 -61
  259. package/dist/{chunk-TYV5NJV2.js → chunk-BUZONXAW.js} +0 -0
  260. package/dist/{chunk-UMXDDEAG.js → chunk-SFF5MJEI.js} +1 -1
  261. /package/dist/{chunk-NXHL23JW.js → chunk-XXDDMASA.js} +0 -0
@@ -1,20 +1 @@
1
- export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, ConfirmationInputModal, ConfirmationModal, MessageBubble } from '../chunk-TN3PU2WK.js';
2
- export { ExecutionLogsTable, ResourceHealthChart, getHealthColor } from '../chunk-NE36BUGQ.js';
3
- import '../chunk-W7ZBF5AA.js';
4
- export { ActionModal, CustomModal, TaskCard, getIcon, iconMap } from '../chunk-JYSYHVLU.js';
5
- import '../chunk-NXHL23JW.js';
6
- export { FormFieldRenderer } from '../chunk-PSLKGOBZ.js';
7
- export { NotificationBell, NotificationItem, NotificationList, NotificationPanel } from '../chunk-TMFCNFLW.js';
8
- import '../chunk-BLO4SISK.js';
9
- export { AgentDefinitionDisplay, CollapsibleJsonSection, ConfigCard, ContractDisplay, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, ResourceDefinitionSection, ToolsListDisplay, WorkflowDefinitionDisplay, useNewKnowledgeMapLayout } from '../chunk-OXVOHOP3.js';
10
- import '../chunk-6BJOYF6E.js';
11
- import '../chunk-HUWJXLLF.js';
12
- export { APIErrorAlert, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, JsonViewer, ListSkeleton, NavigationButton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-O3PY6B6E.js';
13
- export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
14
- import '../chunk-YZ6GTZXL.js';
15
- import '../chunk-TIRMFDM4.js';
16
- import '../chunk-JVAZHVNV.js';
17
- import '../chunk-4VGWQ5AN.js';
18
- import '../chunk-KA7LO7U5.js';
19
- import '../chunk-7PLEQFHO.js';
20
- import '../chunk-Q7DJKLEN.js';
1
+
@@ -1,6 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React from 'react';
3
-
4
1
  interface BreadcrumbItem {
5
2
  label: string;
6
3
  path?: string;
@@ -23,32 +20,5 @@ interface UseBreadcrumbsOptions {
23
20
  }
24
21
  declare const useBreadcrumbs: (options?: UseBreadcrumbsOptions) => BreadcrumbItem[];
25
22
 
26
- interface LinkItem {
27
- label: string;
28
- link: string;
29
- onClick?: () => void;
30
- }
31
- interface LinksGroupProps {
32
- icon: React.ComponentType<{
33
- size?: number;
34
- stroke?: number;
35
- }>;
36
- label: string;
37
- initiallyOpened?: boolean;
38
- links?: LinkItem[];
39
- link?: string;
40
- onClick?: () => void;
41
- currentPath?: string;
42
- opened?: boolean;
43
- onToggle?: () => void;
44
- /** Optional tour target ID for onboarding highlights */
45
- dataOnboardingTourId?: string;
46
- }
47
-
48
- interface BreadcrumbsProps extends UseBreadcrumbsOptions {
49
- navItems: LinksGroupProps[];
50
- }
51
- declare const Breadcrumbs: ({ navItems }: BreadcrumbsProps) => react_jsx_runtime.JSX.Element;
52
-
53
- export { Breadcrumbs, useBreadcrumbs };
54
- export type { BreadcrumbItem, BreadcrumbsProps, UseBreadcrumbsOptions };
23
+ export { useBreadcrumbs };
24
+ export type { BreadcrumbItem, UseBreadcrumbsOptions };
@@ -1,7 +1,5 @@
1
1
  import { useRouterContext } from '../../chunk-Q7DJKLEN.js';
2
- import { Text, Anchor, Breadcrumbs as Breadcrumbs$1 } from '@mantine/core';
3
2
  import { useMemo } from 'react';
4
- import { jsx } from 'react/jsx-runtime';
5
3
 
6
4
  var useBreadcrumbs = (options = {}) => {
7
5
  const { currentPath } = useRouterContext();
@@ -61,31 +59,5 @@ var useBreadcrumbs = (options = {}) => {
61
59
  function formatSegmentLabel(segment) {
62
60
  return segment.split("-").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
63
61
  }
64
- var Breadcrumbs = ({ navItems }) => {
65
- const { Link } = useRouterContext();
66
- const breadcrumbs = useBreadcrumbs({ navItems });
67
- const items = breadcrumbs.map((item) => {
68
- const isActive = item.isActive;
69
- if (isActive) {
70
- return /* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, c: "var(--color-text)", children: item.label }, item.path || item.label);
71
- }
72
- return item.path ? /* @__PURE__ */ jsx(
73
- Anchor,
74
- {
75
- component: Link,
76
- to: item.path,
77
- size: "sm",
78
- style: {
79
- color: "var(--color-text-subtle)",
80
- textDecoration: "none"
81
- },
82
- c: "dimmed",
83
- children: item.label
84
- },
85
- item.path
86
- ) : /* @__PURE__ */ jsx(Text, { size: "sm", c: "var(--color-text-subtle)", children: item.label }, item.label);
87
- });
88
- return /* @__PURE__ */ jsx(Breadcrumbs$1, { separator: "/", children: items });
89
- };
90
62
 
91
- export { Breadcrumbs, useBreadcrumbs };
63
+ export { useBreadcrumbs };
@@ -1,7 +1,5 @@
1
- import { Node, Edge, NodeProps, EdgeProps } from '@xyflow/react';
1
+ import { Node, Edge } from '@xyflow/react';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { BadgeProps } from '@mantine/core';
4
- import * as react from 'react';
5
3
 
6
4
  /**
7
5
  * Workflow-specific logging types and utilities
@@ -781,6 +779,38 @@ declare function useReactFlowAgent(iterationData: AgentIterationData | null, _re
781
779
  edges: Edge[];
782
780
  };
783
781
 
782
+ /**
783
+ * Format duration in milliseconds for display
784
+ *
785
+ * @param ms - Duration in milliseconds
786
+ * @returns Formatted duration string (e.g., "150ms", "2.5s")
787
+ */
788
+ declare function formatDuration(ms?: number): string;
789
+
790
+ interface StatusIconColors {
791
+ icon: string;
792
+ }
793
+ interface GetStatusIconOptions {
794
+ status: ExecutionStatus;
795
+ colors: StatusIconColors;
796
+ iconSize: number;
797
+ spinDuration?: string;
798
+ }
799
+ /**
800
+ * Get status icon component for execution nodes
801
+ *
802
+ * @param options - Configuration for icon rendering
803
+ * @returns React component for the status icon
804
+ */
805
+ declare function getStatusIcon({ status, colors, iconSize, spinDuration }: GetStatusIconOptions): react_jsx_runtime.JSX.Element;
806
+
807
+ /**
808
+ * Get the color for a resource status badge
809
+ * @param resourceStatus - The resource status ('dev' | 'prod')
810
+ * @returns CSS variable color string
811
+ */
812
+ declare function getResourceStatusColor(resourceStatus: ResourceStatus): string;
813
+
784
814
  /**
785
815
  * Unified status color system for execution visualizers
786
816
  * Shared between workflow and agent implementations
@@ -800,163 +830,50 @@ declare const STATUS_COLORS: Record<ExecutionStatus, StatusColorScheme>;
800
830
  */
801
831
  declare function getStatusColors(status: ExecutionStatus): StatusColorScheme;
802
832
 
803
- interface ExecutionStatusBadgeProps {
804
- /** The execution status */
805
- status: ExecutionStatus;
806
- /** Badge size - defaults to 'sm' */
807
- size?: BadgeProps['size'];
808
- /** Badge variant - defaults to 'light' */
809
- variant?: 'light' | 'filled' | 'outline' | 'dot';
810
- /** Whether to show a loader for running status - defaults to true */
811
- showLoader?: boolean;
812
- }
813
- /**
814
- * ExecutionStatusBadge - Reusable badge for execution statuses
815
- *
816
- * Consolidates status badge rendering across:
817
- * - ExecutionSummaryRow.tsx
818
- * - SessionExecutionLogs.tsx
819
- * - BaseExecutionLogsHeader.tsx
820
- * - UnifiedWorkflowNode.tsx
821
- * - Dashboard.tsx task list
822
- *
823
- * Uses the centralized STATUS_COLORS from statusColors.ts
824
- *
825
- * @example
826
- * ```tsx
827
- * <ExecutionStatusBadge status="running" />
828
- * <ExecutionStatusBadge status="completed" variant="dot" />
829
- * ```
830
- */
831
- declare function ExecutionStatusBadge({ status, size, variant, showLoader }: ExecutionStatusBadgeProps): react_jsx_runtime.JSX.Element;
832
-
833
- interface ExecutionStatsProps {
834
- totalExecutions: number;
835
- successCount: number;
836
- failureCount: number;
837
- warningCount?: number;
838
- successRate: number;
839
- align?: 'flex-start' | 'flex-end' | 'center';
840
- /** Compact mode renders metric chips in a horizontal row */
841
- compact?: boolean;
833
+ interface EdgeColorOptions {
834
+ selected?: boolean;
835
+ sourceStatus: ExecutionStatus;
842
836
  }
843
837
  /**
844
- * Execution statistics with colored text vertical stack or compact metric chips
845
- */
846
- declare function ExecutionStats({ totalExecutions, successCount, failureCount, warningCount, successRate, align, compact }: ExecutionStatsProps): react_jsx_runtime.JSX.Element | null;
847
-
848
- /**
849
- * TimelineContainer Component
850
- *
851
- * Outer container for the timeline visualization.
852
- * Wraps timeline rows and displays time axis at the bottom.
838
+ * Get edge color based on source node status
839
+ * Simplified: uses unified status color system
853
840
  */
854
- declare function TimelineContainer({ executionStart, executionEnd, children }: TimelineContainerProps): react_jsx_runtime.JSX.Element;
855
-
856
- interface TimelineAxisProps {
857
- totalDuration: number;
841
+ declare function getEdgeColor({ selected, sourceStatus }: EdgeColorOptions): string;
842
+ interface EdgeOpacityOptions {
843
+ sourceStatus: ExecutionStatus;
858
844
  }
859
845
  /**
860
- * TimelineAxis Component
861
- *
862
- * Renders time markers at the bottom of the timeline.
863
- * Shows 0ms on the left, total duration on the right, and 3 intermediate markers.
864
- */
865
- declare function TimelineAxis({ totalDuration }: TimelineAxisProps): react_jsx_runtime.JSX.Element;
866
-
867
- /**
868
- * TimelineBar Component
869
- *
870
- * Renders a single horizontal bar in the timeline visualization.
871
- * Position and width are calculated as percentages based on absolute timestamps.
846
+ * Get edge opacity based on source node status
872
847
  */
873
- declare function TimelineBar({ startTime, endTime, executionStart, executionEnd, status, label, onClick, isSelected, hasSelection }: TimelineBarProps): react_jsx_runtime.JSX.Element;
874
-
848
+ declare function getEdgeOpacity({ sourceStatus }: EdgeOpacityOptions): number;
875
849
  /**
876
- * TimelineRow Component
877
- *
878
- * Renders a row in the timeline with a label and one or more timeline bars.
879
- * Supports indentation for nested rows (e.g., sub-activities within iterations).
850
+ * Check if edge should be animated (when source or target is running)
880
851
  */
881
- declare function TimelineRow({ label, bars, executionStart, executionEnd, indent, selectedNodeId }: TimelineRowProps): react_jsx_runtime.JSX.Element;
882
-
883
- interface IVisualizerContainerProps {
884
- children: React.ReactNode;
885
- /** Click handler for container (for deselecting nodes). Optional for definition mode. */
886
- handleContainerClick?: (event: React.MouseEvent) => void;
887
- /** Optional dynamic height calculated from graph layout. Falls back to default if not provided. */
888
- height?: number;
889
- }
890
- declare const VisualizerContainer: ({ children, handleContainerClick, height }: IVisualizerContainerProps) => react_jsx_runtime.JSX.Element;
891
-
892
- declare const EmptyVisualizer: ({ message }: {
893
- message?: string;
894
- }) => react_jsx_runtime.JSX.Element;
895
-
896
- interface UnifiedWorkflowGraphProps {
897
- /**
898
- * Workflow definition (entry point, steps, routes)
899
- * Accepts either SerializedWorkflowDefinition (execution mode) or WorkflowStepsLayoutInput (definition mode)
900
- */
901
- resourceDefinition: SerializedWorkflowDefinition | WorkflowStepsLayoutInput;
902
- /** Execution logs from SSE or useExecution hook (only used in execution mode) */
903
- executionLogs?: ExecutionLogMessage[];
904
- /** Currently selected step ID for highlighting (only used in execution mode) */
905
- selectedStepId?: string | null;
906
- /** Callback when step selection changes (only used in execution mode) */
907
- onStepSelect?: (stepId: string | null) => void;
908
- /** External trigger for fit view (increment to trigger, used after collapse animations) */
909
- fitViewTrigger?: number;
910
- }
911
- declare function UnifiedWorkflowGraph({ resourceDefinition, executionLogs, selectedStepId, onStepSelect, fitViewTrigger: externalFitViewTrigger }: UnifiedWorkflowGraphProps): react_jsx_runtime.JSX.Element;
912
-
913
- type UnifiedWorkflowNodeProps = NodeProps<Node<UnifiedWorkflowNodeData>>;
914
- declare const UnifiedWorkflowNode: react.NamedExoticComponent<UnifiedWorkflowNodeProps>;
915
-
916
- type UnifiedWorkflowEdgeProps = EdgeProps<Edge<UnifiedWorkflowEdgeData, string>>;
917
- declare const UnifiedWorkflowEdge: react.NamedExoticComponent<UnifiedWorkflowEdgeProps>;
852
+ declare function shouldAnimateEdge(sourceStatus: ExecutionStatus, targetStatus: ExecutionStatus): boolean;
918
853
 
919
- interface WorkflowExecutionTimelineProps {
920
- timelineData: WorkflowNodeVisualizerData;
921
- selectedStepId?: string | null;
922
- }
923
854
  /**
924
- * WorkflowExecutionTimeline Component
855
+ * Calculate timeline bar position and width as percentages
925
856
  *
926
- * Renders a Temporal-style timeline visualization for workflow executions.
927
- * Shows all workflow steps with their timing and status.
928
- */
929
- declare function WorkflowExecutionTimeline({ timelineData, selectedStepId }: WorkflowExecutionTimelineProps): react_jsx_runtime.JSX.Element;
930
-
931
- interface AgentExecutionVisualizerProps {
932
- resourceDefinition: SerializedAgentDefinition;
933
- iterationData: AgentIterationData | null;
934
- selectedExecutionId?: string;
935
- liveExecutions: Set<string>;
936
- selectedIterationId: number | 'initialization' | 'completion' | null;
937
- onIterationSelect: (iterationId: number | 'initialization' | 'completion' | null) => void;
938
- }
939
- declare function AgentExecutionVisualizer({ resourceDefinition, iterationData, selectedExecutionId, liveExecutions, selectedIterationId, onIterationSelect }: AgentExecutionVisualizerProps): react_jsx_runtime.JSX.Element;
940
-
941
- interface AgentExecutionTimelineProps {
942
- iterationData: AgentIterationData;
943
- selectedIterationId?: number | 'initialization' | 'completion' | null;
944
- }
945
- /**
946
- * AgentExecutionTimeline Component
857
+ * Handles edge cases:
858
+ * - Zero duration executions (instant completion)
859
+ * - Activities that start before execution (data inconsistency)
860
+ * - Activities that extend beyond execution end (data inconsistency)
861
+ * - Zero or near-zero duration activities (enforces minimum visible width)
947
862
  *
948
- * Renders a Temporal-style timeline visualization for agent executions.
949
- * Shows initialization, iterations (with sub-activities), and completion phases.
863
+ * @param startTime - Activity start timestamp (absolute)
864
+ * @param endTime - Activity end timestamp (absolute)
865
+ * @param executionStart - Execution start timestamp (absolute)
866
+ * @param executionEnd - Execution end timestamp (absolute)
867
+ * @returns Object with left and width percentages for bar positioning
950
868
  */
951
- declare function AgentExecutionTimeline({ iterationData, selectedIterationId }: AgentExecutionTimelineProps): react_jsx_runtime.JSX.Element;
952
-
953
- declare const AgentIterationNode: react.NamedExoticComponent<NodeProps>;
954
-
955
- declare const AgentIterationEdge: react.NamedExoticComponent<EdgeProps>;
869
+ declare function calculateBarPosition(startTime: number, endTime: number, executionStart: number, executionEnd: number): {
870
+ left: number;
871
+ width: number;
872
+ };
956
873
 
957
874
  /**
958
- * Timeline visualization constants
959
- * Layout and styling constants for timeline components
875
+ * Execution visualization constants.
876
+ * Headless layout/sizing data used by hooks and utils (no Mantine dependency).
960
877
  */
961
878
  declare const TIMELINE_CONSTANTS: {
962
879
  readonly BAR_HEIGHT: 24;
@@ -967,9 +884,6 @@ declare const TIMELINE_CONSTANTS: {
967
884
  readonly CONTAINER_PADDING: 16;
968
885
  readonly CONTAINER_BORDER_RADIUS: 8;
969
886
  };
970
- /**
971
- * Shared visualization constants used by both workflow and agent visualizers
972
- */
973
887
  declare const SHARED_VIZ_CONSTANTS: {
974
888
  readonly NODE_WIDTH: 160;
975
889
  readonly NODE_SPACING: 220;
@@ -977,15 +891,6 @@ declare const SHARED_VIZ_CONSTANTS: {
977
891
  readonly MIN_ZOOM: 0.5;
978
892
  readonly MAX_ZOOM: 2;
979
893
  };
980
- /**
981
- * Container height constant (used by VisualizerContainer and EmptyVisualizer)
982
- */
983
- declare const CONTAINER_CONSTANTS: {
984
- CONTAINER_HEIGHT: number;
985
- };
986
- /**
987
- * Agent-specific dimension and layout constants
988
- */
989
894
  declare const AGENT_CONSTANTS: {
990
895
  readonly NODE_HEIGHT: 140;
991
896
  readonly CONTAINER_HEIGHT: 430;
@@ -1013,78 +918,5 @@ declare const WORKFLOW_CONSTANTS: {
1013
918
  readonly MAX_ZOOM: 2;
1014
919
  };
1015
920
 
1016
- /**
1017
- * Format duration in milliseconds for display
1018
- *
1019
- * @param ms - Duration in milliseconds
1020
- * @returns Formatted duration string (e.g., "150ms", "2.5s")
1021
- */
1022
- declare function formatDuration(ms?: number): string;
1023
-
1024
- interface StatusIconColors {
1025
- icon: string;
1026
- }
1027
- interface GetStatusIconOptions {
1028
- status: ExecutionStatus;
1029
- colors: StatusIconColors;
1030
- iconSize: number;
1031
- spinDuration?: string;
1032
- }
1033
- /**
1034
- * Get status icon component for execution nodes
1035
- *
1036
- * @param options - Configuration for icon rendering
1037
- * @returns React component for the status icon
1038
- */
1039
- declare function getStatusIcon({ status, colors, iconSize, spinDuration }: GetStatusIconOptions): react_jsx_runtime.JSX.Element;
1040
-
1041
- /**
1042
- * Get the color for a resource status badge
1043
- * @param resourceStatus - The resource status ('dev' | 'prod')
1044
- * @returns CSS variable color string
1045
- */
1046
- declare function getResourceStatusColor(resourceStatus: ResourceStatus): string;
1047
-
1048
- interface EdgeColorOptions {
1049
- selected?: boolean;
1050
- sourceStatus: ExecutionStatus;
1051
- }
1052
- /**
1053
- * Get edge color based on source node status
1054
- * Simplified: uses unified status color system
1055
- */
1056
- declare function getEdgeColor({ selected, sourceStatus }: EdgeColorOptions): string;
1057
- interface EdgeOpacityOptions {
1058
- sourceStatus: ExecutionStatus;
1059
- }
1060
- /**
1061
- * Get edge opacity based on source node status
1062
- */
1063
- declare function getEdgeOpacity({ sourceStatus }: EdgeOpacityOptions): number;
1064
- /**
1065
- * Check if edge should be animated (when source or target is running)
1066
- */
1067
- declare function shouldAnimateEdge(sourceStatus: ExecutionStatus, targetStatus: ExecutionStatus): boolean;
1068
-
1069
- /**
1070
- * Calculate timeline bar position and width as percentages
1071
- *
1072
- * Handles edge cases:
1073
- * - Zero duration executions (instant completion)
1074
- * - Activities that start before execution (data inconsistency)
1075
- * - Activities that extend beyond execution end (data inconsistency)
1076
- * - Zero or near-zero duration activities (enforces minimum visible width)
1077
- *
1078
- * @param startTime - Activity start timestamp (absolute)
1079
- * @param endTime - Activity end timestamp (absolute)
1080
- * @param executionStart - Execution start timestamp (absolute)
1081
- * @param executionEnd - Execution end timestamp (absolute)
1082
- * @returns Object with left and width percentages for bar positioning
1083
- */
1084
- declare function calculateBarPosition(startTime: number, endTime: number, executionStart: number, executionEnd: number): {
1085
- left: number;
1086
- width: number;
1087
- };
1088
-
1089
- export { AGENT_CONSTANTS, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, CONTAINER_CONSTANTS, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WORKFLOW_CONSTANTS, WorkflowExecutionTimeline, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout };
921
+ export { AGENT_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout };
1090
922
  export type { AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, EdgeColorOptions, EdgeOpacityOptions, ExecutionPathState, ExecutionStatus, GraphMode, StatusColorScheme, StatusIconColors, StepExecutionData, TimelineBarProps, TimelineContainerProps, TimelineRowProps, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
@@ -1,4 +1 @@
1
- export { AGENT_CONSTANTS, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, CONTAINER_CONSTANTS, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WORKFLOW_CONSTANTS, WorkflowExecutionTimeline, calculateBarPosition, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from '../chunk-RJCA5672.js';
2
- export { formatDuration } from '../chunk-6BJOYF6E.js';
3
- import '../chunk-HUWJXLLF.js';
4
- import '../chunk-YZ6GTZXL.js';
1
+ export { AGENT_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from '../chunk-JQLT6HBI.js';
@@ -1,4 +1,3 @@
1
- /* src/graph/Graph.globals.css */
2
1
  /* src/graph/Graph.module.css */
3
2
  @keyframes edgeFlow {
4
3
  0% {