@elevasis/ui 1.24.2 → 1.24.3

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.
@@ -1,4 +1,4 @@
1
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-N5SDJP44.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-UG5565XQ.js';
2
2
  import '../chunk-IAZT3VO6.js';
3
3
  import '../chunk-3KMDHCAR.js';
4
4
  import '../chunk-NNKKBSJN.js';
@@ -1,10 +1,10 @@
1
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-RNL2IC2Y.js';
4
- import { useCyberColors, CyberDonut } from './chunk-N5SDJP44.js';
3
+ import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, GraphFitViewHandler } from './chunk-VMMNFRAO.js';
4
+ import { useCyberColors, CyberDonut } from './chunk-UG5565XQ.js';
5
5
  import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, ContextViewer } from './chunk-IAZT3VO6.js';
6
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';
7
+ import { useCommandViewLayout, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useSubmitAction, useDeleteTask, showApiErrorNotification, showSuccessNotification } from './chunk-QDO6NF2I.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
10
  import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-ELJIFLCB.js';
@@ -2,7 +2,7 @@ import { FilterBar } from './chunk-PDHTXPSF.js';
2
2
  import { CustomModal } from './chunk-GBMNCNHX.js';
3
3
  import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert } from './chunk-IAZT3VO6.js';
4
4
  import { AppShellLoader } from './chunk-WWEMNIHW.js';
5
- import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, CredentialSchemas } from './chunk-FATKFO7X.js';
5
+ import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, CredentialSchemas } from './chunk-JTUX5FDC.js';
6
6
  import { formatDateTime } from './chunk-IOKL7BKE.js';
7
7
  import { useInitialization } from './chunk-TUXTSEAF.js';
8
8
  import { useState, useEffect } from 'react';
@@ -1,4 +1,4 @@
1
- import { CredentialNameSchema, UuidSchema, useErrorNotification, showApiErrorNotification } from './chunk-EDAYKRPJ.js';
1
+ import { CredentialNameSchema, UuidSchema, useErrorNotification, showApiErrorNotification } from './chunk-QDO6NF2I.js';
2
2
  import { getTimeRangeDates } from './chunk-LXHZYSMQ.js';
3
3
  import { useNotificationAdapter } from './chunk-R7WLWGPO.js';
4
4
  import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT } from './chunk-IOKL7BKE.js';
@@ -557,6 +557,33 @@ function useArchivedLogs(executionId) {
557
557
  }, [executionId, apiRequest, isLoading]);
558
558
  return { logs, isLoading, error, fetch };
559
559
  }
560
+ function useExecuteWorkflow(options) {
561
+ const mutation = useExecuteAsync();
562
+ const execute = useCallback(
563
+ async (params) => {
564
+ const parsed = options.schema.safeParse(params.input);
565
+ if (!parsed.success) {
566
+ throw new Error(`Invalid workflow input: ${parsed.error.message}`);
567
+ }
568
+ return mutation.mutateAsync({
569
+ resourceId: params.resourceId,
570
+ resourceType: params.resourceType,
571
+ input: parsed.data
572
+ });
573
+ },
574
+ [mutation, options.schema]
575
+ );
576
+ return {
577
+ execute,
578
+ mutation,
579
+ isPending: mutation.isPending,
580
+ isSuccess: mutation.isSuccess,
581
+ isError: mutation.isError,
582
+ error: mutation.error,
583
+ data: mutation.data,
584
+ reset: mutation.reset
585
+ };
586
+ }
560
587
  function useActivityTrend(params = {}) {
561
588
  const { apiRequest, isReady, organizationId } = useElevasisServices();
562
589
  return useQuery({
@@ -2983,4 +3010,4 @@ function useDeleteProject() {
2983
3010
  });
2984
3011
  }
2985
3012
 
2986
- export { CredentialNameSchema, OperationsService, UuidSchema, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification };
3013
+ export { CredentialNameSchema, OperationsService, UuidSchema, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification };
@@ -816,7 +816,7 @@ function HeroStatsRow({
816
816
  variant: "hero",
817
817
  icon: IconRocket,
818
818
  value: dashboardData?.activeDeploymentVersion ?? EM_DASH,
819
- label: "Deployment Version",
819
+ label: "Deployment",
820
820
  isLoading: dashboardLoading
821
821
  }
822
822
  )
@@ -1,4 +1,4 @@
1
- import { useCyberColors } from './chunk-N5SDJP44.js';
1
+ import { useCyberColors } from './chunk-UG5565XQ.js';
2
2
  import { GlowDot } from './chunk-IAZT3VO6.js';
3
3
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-F6RBK7NJ.js';
4
4
  import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-XA34RETF.js';
@@ -1,6 +1,6 @@
1
- import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-N5SDJP44.js';
1
+ import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-UG5565XQ.js';
2
2
  import { CardHeader, EmptyState } from './chunk-IAZT3VO6.js';
3
- import { useResourcesHealth } from './chunk-EDAYKRPJ.js';
3
+ import { useResourcesHealth } from './chunk-QDO6NF2I.js';
4
4
  import { getTimeRangeDates, formatBucketTime } from './chunk-LXHZYSMQ.js';
5
5
  import { Paper, Center, Loader, Group } from '@mantine/core';
6
6
  import { IconActivity, IconChartBar } from '@tabler/icons-react';
@@ -1,7 +1,7 @@
1
1
  import { FilterBar } from './chunk-PDHTXPSF.js';
2
- import { CyberAreaChart } from './chunk-N5SDJP44.js';
2
+ import { CyberAreaChart } from './chunk-UG5565XQ.js';
3
3
  import { APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState } from './chunk-IAZT3VO6.js';
4
- import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead } from './chunk-EDAYKRPJ.js';
4
+ import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead } from './chunk-QDO6NF2I.js';
5
5
  import { formatBucketTime } from './chunk-LXHZYSMQ.js';
6
6
  import { formatDuration } from './chunk-XA34RETF.js';
7
7
  import { PAGE_SIZE_DEFAULT } from './chunk-IOKL7BKE.js';
@@ -4283,7 +4283,7 @@ interface TableSelectionToolbarProps {
4283
4283
  declare function TableSelectionToolbar({ selectedCount, onDelete, isDeleting }: TableSelectionToolbarProps): react_jsx_runtime.JSX.Element | null;
4284
4284
 
4285
4285
  interface FormFieldRendererProps {
4286
- field: FormField;
4286
+ field: FormField | SerializedFormField;
4287
4287
  form: UseFormReturnType<any>;
4288
4288
  richTextRenderer?: (props: {
4289
4289
  content: string;
@@ -5705,4 +5705,4 @@ type BreadcrumbsProps = UseBreadcrumbsOptions;
5705
5705
  declare const Breadcrumbs: ({ navItems }: BreadcrumbsProps) => react_jsx_runtime.JSX.Element;
5706
5706
 
5707
5707
  export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateScheduleModal, CredentialList, CredentialSettings, CustomModal, CustomSelector, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, DocTreeNav, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, JsonViewer, KnowledgeBasePage, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OrganizationMembershipsList, PageNotFound, PageTitleCaption, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, SHARED_VIZ_CONSTANTS, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, buildErrorReport, catalogItemToResourceDefinition, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, iconMap, mdxComponents, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout };
5708
- export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FitViewButtonVariant, GraphFitViewHandlerProps, JsonViewerProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, ResourceHealthPanelProps, RichTextEditorProps, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps };
5708
+ export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, ResourceHealthPanelProps, RichTextEditorProps, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps };
@@ -1,27 +1,27 @@
1
1
  import { useBreadcrumbs } from '../chunk-MG3NF7QL.js';
2
2
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from '../chunk-CTF6FS2M.js';
3
- import { NotificationList } from '../chunk-7TLPKXC2.js';
4
- export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList } from '../chunk-7TLPKXC2.js';
5
- export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal } from '../chunk-HOYZWSNV.js';
3
+ import { NotificationList } from '../chunk-ZDKC3V7C.js';
4
+ export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList } from '../chunk-ZDKC3V7C.js';
5
+ export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal } from '../chunk-H3MU3WTM.js';
6
6
  import { FilterBar } from '../chunk-PDHTXPSF.js';
7
7
  export { FilterBar } from '../chunk-PDHTXPSF.js';
8
8
  export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
9
- 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 } from '../chunk-KLZB3MNC.js';
9
+ 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 } from '../chunk-BGTZFEKR.js';
10
10
  import { SubshellLoader, PageContainer, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-AWT255UH.js';
11
- export { ResourceHealthPanel } from '../chunk-5266RV46.js';
11
+ export { ResourceHealthPanel } from '../chunk-WY5IJI37.js';
12
12
  import { CustomModal } from '../chunk-GBMNCNHX.js';
13
13
  export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-GBMNCNHX.js';
14
- export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-RNL2IC2Y.js';
15
- import '../chunk-N5SDJP44.js';
14
+ export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-VMMNFRAO.js';
15
+ import '../chunk-UG5565XQ.js';
16
16
  import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, APIErrorAlert, CardHeader } from '../chunk-IAZT3VO6.js';
17
17
  export { APIErrorAlert, ActivityTimeline, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-IAZT3VO6.js';
18
18
  export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
19
19
  export { NavigationButton } from '../chunk-NNKKBSJN.js';
20
20
  import { AppShellLoader } from '../chunk-WWEMNIHW.js';
21
21
  import '../chunk-QJ2S46NI.js';
22
- import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments } from '../chunk-FATKFO7X.js';
23
- import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-EDAYKRPJ.js';
24
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-EDAYKRPJ.js';
22
+ import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments } from '../chunk-JTUX5FDC.js';
23
+ import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-QDO6NF2I.js';
24
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-QDO6NF2I.js';
25
25
  import '../chunk-NJJ3NQ7B.js';
26
26
  import '../chunk-LXHZYSMQ.js';
27
27
  import '../chunk-MHW43EOH.js';
@@ -1,13 +1,13 @@
1
1
  import { ResourceHealthChart } from '../../chunk-LGKLC5MG.js';
2
- import { ExecutionStats } from '../../chunk-RNL2IC2Y.js';
3
- import { HeroStatsRow, useCyberColors } from '../../chunk-N5SDJP44.js';
2
+ import { ExecutionStats } from '../../chunk-VMMNFRAO.js';
3
+ import { HeroStatsRow, useCyberColors } from '../../chunk-UG5565XQ.js';
4
4
  import { CardHeader, EmptyState, PageTitleCaption, TabCountBadge, GlowDot } from '../../chunk-IAZT3VO6.js';
5
5
  import '../../chunk-3KMDHCAR.js';
6
6
  import '../../chunk-NNKKBSJN.js';
7
7
  import { AppShellCenteredContainer, AppShellLoader } from '../../chunk-WWEMNIHW.js';
8
8
  import '../../chunk-QJ2S46NI.js';
9
- import { useTimeRangeDates } from '../../chunk-FATKFO7X.js';
10
- import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from '../../chunk-EDAYKRPJ.js';
9
+ import { useTimeRangeDates } from '../../chunk-JTUX5FDC.js';
10
+ import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from '../../chunk-QDO6NF2I.js';
11
11
  import '../../chunk-NJJ3NQ7B.js';
12
12
  import { getTimeRangeDates } from '../../chunk-LXHZYSMQ.js';
13
13
  import '../../chunk-MHW43EOH.js';
@@ -1,16 +1,16 @@
1
- import { ExecutionLogsFilters, ExecutionLogsTable, ExecutionHealthCard, ErrorBreakdownTable, ErrorAnalysisCard, CostByModelTable, ActivityFilters, ActivityTable, ActivityCard, NotificationList } from '../../chunk-7TLPKXC2.js';
1
+ import { ExecutionLogsFilters, ExecutionLogsTable, ExecutionHealthCard, ErrorBreakdownTable, ErrorAnalysisCard, CostBreakdownCard, CostByModelTable, ActivityFilters, ActivityTable, ActivityCard, NotificationList } from '../../chunk-ZDKC3V7C.js';
2
2
  import '../../chunk-PDHTXPSF.js';
3
3
  import '../../chunk-LGKLC5MG.js';
4
- import '../../chunk-5266RV46.js';
4
+ import '../../chunk-WY5IJI37.js';
5
5
  import { CustomModal } from '../../chunk-GBMNCNHX.js';
6
- import { CostTrendChart, ActivityTrendChart } from '../../chunk-N5SDJP44.js';
6
+ import { CostTrendChart, ActivityTrendChart } from '../../chunk-UG5565XQ.js';
7
7
  import { PageTitleCaption, JsonViewer, EmptyState } from '../../chunk-IAZT3VO6.js';
8
8
  import '../../chunk-3KMDHCAR.js';
9
9
  import '../../chunk-NNKKBSJN.js';
10
10
  import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
11
11
  import '../../chunk-QJ2S46NI.js';
12
- import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from '../../chunk-FATKFO7X.js';
13
- import { usePaginationState, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from '../../chunk-EDAYKRPJ.js';
12
+ import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from '../../chunk-JTUX5FDC.js';
13
+ import { usePaginationState, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from '../../chunk-QDO6NF2I.js';
14
14
  import '../../chunk-NJJ3NQ7B.js';
15
15
  import { getTimeRangeDates } from '../../chunk-LXHZYSMQ.js';
16
16
  import '../../chunk-MHW43EOH.js';
@@ -325,6 +325,7 @@ function CostAnalytics({ timeRange }) {
325
325
  const { data: trendsData, isLoading: trendsLoading, error: trendsError } = useCostTrends(timeRange);
326
326
  const { data: summaryData } = useCostSummary(timeRange);
327
327
  const { data: modelData, isLoading: modelLoading, error: modelError } = useCostByModel(timeRange);
328
+ const { data: breakdownData, isLoading: breakdownLoading, error: breakdownError } = useCostBreakdown(timeRange);
328
329
  if (trendsLoading) return /* @__PURE__ */ jsx(AppShellLoader, {});
329
330
  return /* @__PURE__ */ jsxs(Stack, { children: [
330
331
  /* @__PURE__ */ jsx(
@@ -335,6 +336,15 @@ function CostAnalytics({ timeRange }) {
335
336
  }
336
337
  ),
337
338
  /* @__PURE__ */ jsx(CostTrendChart, { data: trendsData, summaryData, isLoading: trendsLoading, error: trendsError }),
339
+ /* @__PURE__ */ jsx(
340
+ CostBreakdownCard,
341
+ {
342
+ breakdownData,
343
+ summaryData,
344
+ isLoading: breakdownLoading,
345
+ error: breakdownError
346
+ }
347
+ ),
338
348
  /* @__PURE__ */ jsx(CostByModelTable, { data: modelData, isLoading: modelLoading, error: modelError })
339
349
  ] });
340
350
  }
@@ -1339,7 +1339,7 @@ type ResourceStatus = 'dev' | 'prod';
1339
1339
  * All resource types in the platform
1340
1340
  * Used as the discriminator field in ResourceDefinition
1341
1341
  */
1342
- type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
1342
+ type ResourceType$1 = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
1343
1343
  /**
1344
1344
  * Base interface for ALL platform resources
1345
1345
  * Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
@@ -1354,7 +1354,7 @@ interface ResourceDefinition {
1354
1354
  /** Version for change tracking and evolution */
1355
1355
  version: string;
1356
1356
  /** Resource type discriminator */
1357
- type: ResourceType;
1357
+ type: ResourceType$1;
1358
1358
  /** Environment/deployment status */
1359
1359
  status: ResourceStatus;
1360
1360
  /** Domain tags for filtering and organization */
@@ -1498,9 +1498,9 @@ interface CalibrationRun {
1498
1498
 
1499
1499
  interface ResourcesPageProps {
1500
1500
  /** Initial filter type from the URL search param (caller-managed) */
1501
- initialFilter?: ResourceType;
1501
+ initialFilter?: ResourceType$1;
1502
1502
  /** Called when the user changes the tab filter — caller should update its URL */
1503
- onTypeChange: (type: ResourceType | undefined) => void;
1503
+ onTypeChange: (type: ResourceType$1 | undefined) => void;
1504
1504
  /** Current time range value — caller passes from its own store */
1505
1505
  timeRange: TimeRange;
1506
1506
  /** Called when the user clicks a resource row — caller handles navigation */
@@ -1520,14 +1520,14 @@ declare function ResourcesSidebar({ timeRange }: ResourcesSidebarProps): react_j
1520
1520
 
1521
1521
  interface ResourceDetailPageRenderExecutionPanelArgs {
1522
1522
  resourceId: string;
1523
- resourceType: ResourceType;
1523
+ resourceType: ResourceType$1;
1524
1524
  resourceName: string;
1525
1525
  resourceDefinition: AIResourceDefinition;
1526
1526
  onConnectionStatus: (connected: boolean, count: number) => void;
1527
1527
  }
1528
1528
  interface ResourceDetailPageProps {
1529
1529
  /** Resource type (workflow, agent, etc.) */
1530
- type: ResourceType;
1530
+ type: ResourceType$1;
1531
1531
  /** Resource identifier */
1532
1532
  resourceId: string;
1533
1533
  /** Current time range value — caller passes from its own store */
@@ -1541,6 +1541,24 @@ interface ResourceDetailPageProps {
1541
1541
  }
1542
1542
  declare function ResourceDetailPage({ type, resourceId, timeRange, renderExecutionPanel }: ResourceDetailPageProps): react_jsx_runtime.JSX.Element;
1543
1543
 
1544
+ /**
1545
+ * Resource Registry type definitions
1546
+ */
1547
+
1548
+
1549
+
1550
+ /**
1551
+ * All resource types in the platform
1552
+ * Used as the discriminator field in ResourceDefinition
1553
+ */
1554
+ type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human'
1555
+
1556
+ interface ExecuteAsyncResult {
1557
+ executionId: string;
1558
+ status: string;
1559
+ resourceId: string;
1560
+ }
1561
+
1544
1562
  interface EventSourceMessage {
1545
1563
  id: string;
1546
1564
  event: string;
@@ -1775,7 +1793,7 @@ declare function CalibrationSidebar({ currentProjectId, currentRunId, currentPat
1775
1793
 
1776
1794
  interface ExecutionPanelProps {
1777
1795
  resourceId: string;
1778
- resourceType: ResourceType;
1796
+ resourceType: ResourceType$1;
1779
1797
  resourceName?: string;
1780
1798
  resourceDefinition: AIResourceDefinition;
1781
1799
  sseManager: SSEConnectionManager;
@@ -1804,6 +1822,46 @@ interface AgentExecutionPanelProps {
1804
1822
  }
1805
1823
  declare function AgentExecutionPanel({ resourceId, resourceDefinition, sseManager, apiUrl, onConnectionStatus }: AgentExecutionPanelProps): react_jsx_runtime.JSX.Element;
1806
1824
 
1825
+ interface ExecuteWorkflowModalResource {
1826
+ resourceId: string;
1827
+ resourceType: ResourceType;
1828
+ name?: string;
1829
+ }
1830
+ interface ExecuteWorkflowModalProps {
1831
+ opened: boolean;
1832
+ onClose: () => void;
1833
+ resource: ExecuteWorkflowModalResource;
1834
+ isPending?: boolean;
1835
+ error?: Error | null;
1836
+ result?: ExecuteAsyncResult | null;
1837
+ onViewExecution?: (executionId: string) => void;
1838
+ onReset?: () => void;
1839
+ children?: ReactNode;
1840
+ }
1841
+ declare function ExecuteWorkflowModal({ opened, onClose, resource, isPending, error, result, onViewExecution, onReset, children }: ExecuteWorkflowModalProps): react_jsx_runtime.JSX.Element;
1842
+
1843
+ interface ResourceExecuteFormProps {
1844
+ formSchema: SerializedExecutionFormSchema;
1845
+ onSubmit: (input: Record<string, unknown>) => void | Promise<void>;
1846
+ isPending?: boolean;
1847
+ disabled?: boolean;
1848
+ submitLabel?: string;
1849
+ }
1850
+ declare function ResourceExecuteForm({ formSchema, onSubmit, isPending, disabled, submitLabel }: ResourceExecuteFormProps): react_jsx_runtime.JSX.Element;
1851
+
1852
+ interface ResourceExecuteDialogProps {
1853
+ opened: boolean;
1854
+ onClose: () => void;
1855
+ resource: {
1856
+ resourceId: string;
1857
+ resourceType: ResourceType;
1858
+ name?: string;
1859
+ formSchema?: SerializedExecutionFormSchema;
1860
+ };
1861
+ onViewExecution?: (executionId: string) => void;
1862
+ }
1863
+ declare function ResourceExecuteDialog({ opened, onClose, resource, onViewExecution }: ResourceExecuteDialogProps): react_jsx_runtime.JSX.Element;
1864
+
1807
1865
  interface SessionsPageProps {
1808
1866
  /** Whether the organization context is ready; blocks render until true */
1809
1867
  isReady: boolean;
@@ -2002,5 +2060,5 @@ interface SessionsSidebarProps {
2002
2060
  */
2003
2061
  declare function SessionsSidebar({ isReady, onAgentClick, buildSessionDetailUrl, sessionId, agentParam }: SessionsSidebarProps): react_jsx_runtime.JSX.Element;
2004
2062
 
2005
- export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecutionPanel, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel };
2006
- export type { AgentExecutionPanelProps, AgentSessionGroupProps, CalibrationPageProps, CalibrationProgressProps, CalibrationProjectDetailPageProps, CalibrationProjectDetailPageRenderCreateModalArgs, CalibrationProjectDetailPageRenderRunCardArgs, CalibrationProjectsPageProps, CalibrationRunDetailPageProps, CalibrationSidebarProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandViewPageProps, CommandViewSidebarContentProps, ConversationViewSlotArgs, ExecutionPanelProps, ResourceDetailPageProps, ResourceDetailPageRenderExecutionPanelArgs, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, WorkflowExecutionPanelProps };
2063
+ export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel };
2064
+ export type { AgentExecutionPanelProps, AgentSessionGroupProps, CalibrationPageProps, CalibrationProgressProps, CalibrationProjectDetailPageProps, CalibrationProjectDetailPageRenderCreateModalArgs, CalibrationProjectDetailPageRenderRunCardArgs, CalibrationProjectsPageProps, CalibrationRunDetailPageProps, CalibrationSidebarProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandViewPageProps, CommandViewSidebarContentProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, ResourceDetailPageProps, ResourceDetailPageRenderExecutionPanelArgs, ResourceExecuteDialogProps, ResourceExecuteFormProps, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, WorkflowExecutionPanelProps };
@@ -1,17 +1,17 @@
1
1
  import { ChatHeader, ChatSidebar } from '../../chunk-ROSMICXG.js';
2
- import { ResourceDefinitionSection, CommandQueueTaskRow, getIcon, ActionModal, CommandViewGraph, WorkflowExecutionLogs, AgentExecutionLogs, ResourceFilter, getExecutionStatusConfig, SessionMemory } from '../../chunk-KLZB3MNC.js';
2
+ import { FormFieldRenderer, ResourceDefinitionSection, CommandQueueTaskRow, getIcon, ActionModal, CommandViewGraph, WorkflowExecutionLogs, AgentExecutionLogs, ResourceFilter, getExecutionStatusConfig, SessionMemory } from '../../chunk-BGTZFEKR.js';
3
3
  import { SubshellLoader, SubshellSidebarSection, PageContainer, CollapsibleSidebarGroup, SidebarListItem } from '../../chunk-AWT255UH.js';
4
- import { ResourceHealthPanel } from '../../chunk-5266RV46.js';
4
+ import { ResourceHealthPanel } from '../../chunk-WY5IJI37.js';
5
5
  import { ConfirmationModal, CustomModal } from '../../chunk-GBMNCNHX.js';
6
- import { ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline } from '../../chunk-RNL2IC2Y.js';
7
- import { useCyberColors, CyberDonut } from '../../chunk-N5SDJP44.js';
6
+ import { ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline } from '../../chunk-VMMNFRAO.js';
7
+ import { useCyberColors, CyberDonut } from '../../chunk-UG5565XQ.js';
8
8
  import { PageTitleCaption, TabCountBadge, ResourceCard, ContextViewer, JsonViewer, APIErrorAlert, EmptyState, CardHeader } from '../../chunk-IAZT3VO6.js';
9
9
  import '../../chunk-3KMDHCAR.js';
10
10
  import '../../chunk-NNKKBSJN.js';
11
11
  import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
12
12
  import { topbarHeight } from '../../chunk-QJ2S46NI.js';
13
- import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from '../../chunk-FATKFO7X.js';
14
- import { usePaginationState, useResources, useRecentExecutionsByResource, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueueTotals, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useExecution, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, calibrationKeys, useDeleteProject, useCreateProject } from '../../chunk-EDAYKRPJ.js';
13
+ import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from '../../chunk-JTUX5FDC.js';
14
+ import { usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueueTotals, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useExecution, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, calibrationKeys, useDeleteProject, useCreateProject } from '../../chunk-QDO6NF2I.js';
15
15
  import '../../chunk-NJJ3NQ7B.js';
16
16
  import '../../chunk-LXHZYSMQ.js';
17
17
  import '../../chunk-MHW43EOH.js';
@@ -37,8 +37,8 @@ import { useOrganization } from '../../chunk-DD3CCMCZ.js';
37
37
  import '../../chunk-QEPXAWE2.js';
38
38
  import '../../chunk-BRJ3QZ4E.js';
39
39
  import '../../chunk-Q7DJKLEN.js';
40
- import { Stack, Card, Text, Button, Tabs, Group, Pagination, useMantineTheme, Box, Center, Loader, UnstyledButton, TextInput, Divider, Paper, Badge, ActionIcon, Title, SimpleGrid, CopyButton, SegmentedControl, ThemeIcon, Alert, Switch, Space, Progress, Timeline, Collapse, ScrollArea, Tooltip, Textarea, Menu, Modal, Table } from '@mantine/core';
41
- import { IconApps, IconRoute, IconBrain, IconRefresh, IconAdjustmentsHorizontal, IconSearch, IconChevronDown, IconCircleX, IconCircleCheck, IconCircleDashed, IconTrash, IconArrowLeft, IconClock, IconCheck, IconCopy, IconExternalLink, IconPlayerPlay, IconAlertCircle, IconPlus, IconAdjustments, IconSitemap, IconSettings, IconX, IconChartBar, IconReportAnalytics, IconCoin, IconChevronRight, IconFlask, IconInfoCircle, IconMessage, IconAlertTriangle, IconRobot, IconLayoutSidebarRightExpand, IconNote, IconArchive, IconDownload, IconTimeline, IconDotsVertical } from '@tabler/icons-react';
40
+ import { Stack, Card, Text, Button, Tabs, Group, Pagination, useMantineTheme, Box, Center, Loader, UnstyledButton, TextInput, Divider, Modal, Code, Alert, LoadingOverlay, Badge, Paper, ActionIcon, Title, SimpleGrid, CopyButton, SegmentedControl, ThemeIcon, Switch, Space, Progress, Timeline, Collapse, ScrollArea, Tooltip, Textarea, Menu, Table } from '@mantine/core';
41
+ import { IconApps, IconRoute, IconBrain, IconRefresh, IconAdjustmentsHorizontal, IconSearch, IconChevronDown, IconCircleX, IconCircleCheck, IconCircleDashed, IconCheck, IconExternalLink, IconAlertCircle, IconTrash, IconArrowLeft, IconClock, IconCopy, IconPlayerPlay, IconPlus, IconAdjustments, IconSitemap, IconSettings, IconX, IconChartBar, IconReportAnalytics, IconCoin, IconChevronRight, IconFlask, IconInfoCircle, IconMessage, IconAlertTriangle, IconRobot, IconLayoutSidebarRightExpand, IconNote, IconArchive, IconDownload, IconTimeline, IconDotsVertical } from '@tabler/icons-react';
42
42
  import { useState, useEffect, useMemo, useRef, useCallback } from 'react';
43
43
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
44
44
  import { useClipboard } from '@mantine/hooks';
@@ -556,7 +556,14 @@ function ResourcesSidebar({ timeRange }) {
556
556
  ] })
557
557
  ] });
558
558
  }
559
- function ResourceHeader({ resource, type, connected, runningCount, sessionCapable }) {
559
+ function ResourceHeader({
560
+ resource,
561
+ type,
562
+ connected,
563
+ runningCount,
564
+ sessionCapable,
565
+ onRun
566
+ }) {
560
567
  const { currentMembership } = useOrganization();
561
568
  const organizationName = currentMembership?.organization?.name;
562
569
  const navigate = useNavigate();
@@ -610,6 +617,7 @@ function ResourceHeader({ resource, type, connected, runningCount, sessionCapabl
610
617
  runningCount,
611
618
  " running"
612
619
  ] }),
620
+ onRun && /* @__PURE__ */ jsx(Button, { size: "sm", variant: "filled", leftSection: /* @__PURE__ */ jsx(IconPlayerPlay, { size: 16 }), onClick: onRun, children: "Run" }),
613
621
  type === "agent" && sessionCapable && /* @__PURE__ */ jsx(Button, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ jsx(IconMessage, { size: 16 }), onClick: handleGoToSessions, children: "Go to Sessions" }),
614
622
  /* @__PURE__ */ jsx(
615
623
  Button,
@@ -658,11 +666,175 @@ function ResourceNotFoundState({ type, resourceId }) {
658
666
  )
659
667
  ] }) }) });
660
668
  }
669
+ function ExecuteWorkflowModal({
670
+ opened,
671
+ onClose,
672
+ resource,
673
+ isPending = false,
674
+ error,
675
+ result,
676
+ onViewExecution,
677
+ onReset,
678
+ children
679
+ }) {
680
+ const canClose = !isPending;
681
+ const title = resource.name ?? resource.resourceId;
682
+ return /* @__PURE__ */ jsx(
683
+ Modal,
684
+ {
685
+ opened,
686
+ onClose: canClose ? onClose : () => void 0,
687
+ centered: true,
688
+ size: "lg",
689
+ closeOnClickOutside: canClose,
690
+ closeOnEscape: canClose,
691
+ withCloseButton: canClose,
692
+ title: /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
693
+ /* @__PURE__ */ jsxs(Text, { fw: 600, children: [
694
+ "Run ",
695
+ resource.resourceType
696
+ ] }),
697
+ /* @__PURE__ */ jsx(Badge, { color: "blue", variant: "light", size: "sm", children: resource.resourceType })
698
+ ] }),
699
+ children: /* @__PURE__ */ jsxs(Stack, { gap: "md", children: [
700
+ /* @__PURE__ */ jsxs(Group, { gap: 4, wrap: "nowrap", children: [
701
+ /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: "Target:" }),
702
+ /* @__PURE__ */ jsx(Text, { size: "sm", fw: 500, children: title }),
703
+ /* @__PURE__ */ jsx(Code, { children: resource.resourceId })
704
+ ] }),
705
+ /* @__PURE__ */ jsx(Divider, {}),
706
+ result ? /* @__PURE__ */ jsxs(Stack, { gap: "sm", children: [
707
+ /* @__PURE__ */ jsx(Alert, { variant: "light", color: "teal", title: "Execution started", icon: /* @__PURE__ */ jsx(IconCheck, { size: 16 }), children: /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
708
+ /* @__PURE__ */ jsxs(Text, { size: "sm", children: [
709
+ "The ",
710
+ resource.resourceType,
711
+ " is now running."
712
+ ] }),
713
+ /* @__PURE__ */ jsxs(Group, { gap: 4, children: [
714
+ /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: "Execution ID:" }),
715
+ /* @__PURE__ */ jsx(Code, { children: result.executionId })
716
+ ] })
717
+ ] }) }),
718
+ /* @__PURE__ */ jsxs(Group, { justify: "flex-end", gap: "xs", children: [
719
+ onReset && /* @__PURE__ */ jsx(Button, { variant: "default", onClick: onReset, children: "Run again" }),
720
+ onViewExecution && /* @__PURE__ */ jsx(
721
+ Button,
722
+ {
723
+ leftSection: /* @__PURE__ */ jsx(IconExternalLink, { size: 16 }),
724
+ onClick: () => onViewExecution(result.executionId),
725
+ children: "View execution"
726
+ }
727
+ ),
728
+ /* @__PURE__ */ jsx(Button, { variant: "light", onClick: onClose, children: "Close" })
729
+ ] })
730
+ ] }) : error ? /* @__PURE__ */ jsxs(Stack, { gap: "sm", children: [
731
+ /* @__PURE__ */ jsx(Alert, { variant: "light", color: "red", title: "Execution failed to start", icon: /* @__PURE__ */ jsx(IconAlertCircle, { size: 16 }), children: /* @__PURE__ */ jsx(Text, { size: "sm", children: error.message || "An unknown error occurred." }) }),
732
+ /* @__PURE__ */ jsxs(Group, { justify: "flex-end", gap: "xs", children: [
733
+ onReset && /* @__PURE__ */ jsx(Button, { variant: "default", onClick: onReset, children: "Try again" }),
734
+ /* @__PURE__ */ jsx(Button, { variant: "light", onClick: onClose, children: "Close" })
735
+ ] })
736
+ ] }) : /* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
737
+ /* @__PURE__ */ jsx(LoadingOverlay, { visible: isPending, zIndex: 1e3, overlayProps: { blur: 2 } }),
738
+ children ?? /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: "No input form provided." })
739
+ ] })
740
+ ] })
741
+ }
742
+ );
743
+ }
744
+ function getInitialValues(fields) {
745
+ const values = {};
746
+ for (const field of fields) {
747
+ values[field.name] = field.defaultValue ?? (field.type === "checkbox" ? false : "");
748
+ }
749
+ return values;
750
+ }
751
+ function applyFieldMappings(values, mappings) {
752
+ if (!mappings) return values;
753
+ const mapped = {};
754
+ for (const [key, value] of Object.entries(values)) {
755
+ const targetKey = mappings[key] ?? key;
756
+ mapped[targetKey] = value;
757
+ }
758
+ return mapped;
759
+ }
760
+ function ResourceExecuteForm({
761
+ formSchema,
762
+ onSubmit,
763
+ isPending = false,
764
+ disabled = false,
765
+ submitLabel = "Run"
766
+ }) {
767
+ const hasFields = formSchema?.fields?.length > 0;
768
+ const form = useForm({
769
+ initialValues: hasFields ? getInitialValues(formSchema.fields) : {},
770
+ validate: hasFields ? Object.fromEntries(
771
+ formSchema.fields.filter((f) => f.required).map((f) => [
772
+ f.name,
773
+ (value) => !value && value !== false ? `${f.label} is required` : null
774
+ ])
775
+ ) : {}
776
+ });
777
+ const handleSubmit = (values) => {
778
+ const input = applyFieldMappings(values, formSchema?.fieldMappings);
779
+ void onSubmit(input);
780
+ };
781
+ if (!hasFields) {
782
+ return /* @__PURE__ */ jsxs(Stack, { children: [
783
+ /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", children: "This workflow takes no input." }),
784
+ /* @__PURE__ */ jsx(Button, { onClick: () => void onSubmit({}), loading: isPending, disabled, fullWidth: true, children: isPending ? formSchema?.submitButton?.loadingLabel ?? "Running..." : submitLabel })
785
+ ] });
786
+ }
787
+ return /* @__PURE__ */ jsx("form", { onSubmit: form.onSubmit(handleSubmit), children: /* @__PURE__ */ jsxs(Stack, { children: [
788
+ formSchema.fields.map((field) => /* @__PURE__ */ jsx(FormFieldRenderer, { field, form }, field.name)),
789
+ /* @__PURE__ */ jsx(Button, { type: "submit", loading: isPending, disabled, fullWidth: true, children: isPending ? formSchema.submitButton?.loadingLabel ?? "Running..." : submitLabel })
790
+ ] }) });
791
+ }
792
+ function ResourceExecuteDialog({ opened, onClose, resource, onViewExecution }) {
793
+ const mutation = useExecuteAsync();
794
+ const handleSubmit = async (input) => {
795
+ await mutation.mutateAsync({
796
+ resourceId: resource.resourceId,
797
+ resourceType: resource.resourceType,
798
+ input
799
+ });
800
+ };
801
+ const handleReset = () => {
802
+ mutation.reset();
803
+ };
804
+ const modalResource = {
805
+ resourceId: resource.resourceId,
806
+ resourceType: resource.resourceType,
807
+ name: resource.name
808
+ };
809
+ return /* @__PURE__ */ jsx(
810
+ ExecuteWorkflowModal,
811
+ {
812
+ opened,
813
+ onClose,
814
+ resource: modalResource,
815
+ isPending: mutation.isPending,
816
+ error: mutation.error,
817
+ result: mutation.data ?? null,
818
+ onViewExecution,
819
+ onReset: handleReset,
820
+ children: /* @__PURE__ */ jsx(
821
+ ResourceExecuteForm,
822
+ {
823
+ formSchema: resource.formSchema ?? { fields: [] },
824
+ onSubmit: handleSubmit,
825
+ isPending: mutation.isPending,
826
+ disabled: mutation.isPending
827
+ }
828
+ )
829
+ }
830
+ );
831
+ }
661
832
  function ResourceDetailPage({ type, resourceId, timeRange, renderExecutionPanel }) {
662
833
  const { organizationReady } = useInitialization();
663
834
  const { data, isLoading, error } = useResources();
664
835
  const [connected, setConnected] = useState(false);
665
836
  const [runningCount, setRunningCount] = useState(0);
837
+ const [runOpened, setRunOpened] = useState(false);
666
838
  const resource = data ? (() => {
667
839
  const resources = [...data.workflows, ...data.agents];
668
840
  const found = resources.find((r) => r.resourceId === resourceId && r.type === type);
@@ -696,7 +868,21 @@ function ResourceDetailPage({ type, resourceId, timeRange, renderExecutionPanel
696
868
  type,
697
869
  connected,
698
870
  runningCount,
699
- sessionCapable
871
+ sessionCapable,
872
+ onRun: () => setRunOpened(true)
873
+ }
874
+ ),
875
+ /* @__PURE__ */ jsx(
876
+ ResourceExecuteDialog,
877
+ {
878
+ opened: runOpened,
879
+ onClose: () => setRunOpened(false),
880
+ resource: {
881
+ resourceId,
882
+ resourceType: type,
883
+ name: validResource.name,
884
+ formSchema: resourceDefinition?.interface?.form
885
+ }
700
886
  }
701
887
  ),
702
888
  /* @__PURE__ */ jsx(ResourceHealthPanel, { resourceId, resourceType: type, timeRange }),
@@ -3588,4 +3774,4 @@ function AgentListItem({ agent, isSelected, onAgentClick }) {
3588
3774
  );
3589
3775
  }
3590
3776
 
3591
- export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecutionPanel, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel };
3777
+ export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel };
@@ -1,5 +1,5 @@
1
1
  import { useAvailablePresets } from '../../chunk-TQBM3OEW.js';
2
- import { OrganizationMembershipsList, WebhookUrlDisplayModal, MembershipFeaturePanel, MembershipStatusBadge, getCredentialSchema, OAuthConnectModal, buildCredentialValue } from '../../chunk-HOYZWSNV.js';
2
+ import { OrganizationMembershipsList, WebhookUrlDisplayModal, MembershipFeaturePanel, MembershipStatusBadge, getCredentialSchema, OAuthConnectModal, buildCredentialValue } from '../../chunk-H3MU3WTM.js';
3
3
  import '../../chunk-PDHTXPSF.js';
4
4
  import { CustomModal } from '../../chunk-GBMNCNHX.js';
5
5
  import { PageTitleCaption, EmptyState, CardHeader, ListSkeleton, StatCard } from '../../chunk-IAZT3VO6.js';
@@ -7,8 +7,8 @@ import '../../chunk-3KMDHCAR.js';
7
7
  import '../../chunk-NNKKBSJN.js';
8
8
  import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
9
9
  import '../../chunk-QJ2S46NI.js';
10
- import { useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from '../../chunk-FATKFO7X.js';
11
- import { useResources, showErrorNotification } from '../../chunk-EDAYKRPJ.js';
10
+ import { useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from '../../chunk-JTUX5FDC.js';
11
+ import { useResources, showErrorNotification } from '../../chunk-QDO6NF2I.js';
12
12
  import '../../chunk-NJJ3NQ7B.js';
13
13
  import '../../chunk-LXHZYSMQ.js';
14
14
  import '../../chunk-MHW43EOH.js';
@@ -5730,6 +5730,29 @@ interface ArchivedLogsState {
5730
5730
  */
5731
5731
  declare function useArchivedLogs(executionId: string | undefined): ArchivedLogsState;
5732
5732
 
5733
+ interface UseExecuteWorkflowOptions<TSchema extends z.ZodType> {
5734
+ schema: TSchema;
5735
+ }
5736
+ interface UseExecuteWorkflowParams<TSchema extends z.ZodType> {
5737
+ resourceId: string;
5738
+ resourceType: ExecuteAsyncParams['resourceType'];
5739
+ input: z.infer<TSchema>;
5740
+ }
5741
+ /**
5742
+ * Zod-validating wrapper around useExecuteAsync. Validates input against schema
5743
+ * before POSTing; rejects with a useful error on validation failure.
5744
+ */
5745
+ declare function useExecuteWorkflow<TSchema extends z.ZodType>(options: UseExecuteWorkflowOptions<TSchema>): {
5746
+ execute: (params: UseExecuteWorkflowParams<TSchema>) => Promise<ExecuteAsyncResult>;
5747
+ mutation: _tanstack_react_query.UseMutationResult<ExecuteAsyncResult, Error, ExecuteAsyncParams, unknown>;
5748
+ isPending: boolean;
5749
+ isSuccess: boolean;
5750
+ isError: boolean;
5751
+ error: Error | null;
5752
+ data: ExecuteAsyncResult | undefined;
5753
+ reset: () => void;
5754
+ };
5755
+
5733
5756
  interface UseActivitiesParams {
5734
5757
  limit?: number;
5735
5758
  offset?: number;
@@ -6026,14 +6049,7 @@ declare function useCostTrends(timeRange: TimeRange, granularity?: 'hour' | 'day
6026
6049
 
6027
6050
  declare function useCostByModel(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostByModelResponse, Error>;
6028
6051
 
6029
- interface CostBreakdownItem {
6030
- resourceId: string;
6031
- resourceType: string;
6032
- model: string;
6033
- totalCost: number;
6034
- executionCount: number;
6035
- }
6036
- declare function useCostBreakdown(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostBreakdownItem[], Error>;
6052
+ declare function useCostBreakdown(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostBreakdownMetrics, Error>;
6037
6053
 
6038
6054
  declare function useDashboardMetrics(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<unknown, Error>;
6039
6055
 
@@ -7768,5 +7784,5 @@ declare function useCalibrationSSE({ runId, manager, apiUrl, enabled }: UseCalib
7768
7784
  error?: string;
7769
7785
  };
7770
7786
 
7771
- export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calibrationKeys, createUseFeatureAccess, executionsKeys, filterByDomainFilters, isSessionCapable, observabilityKeys, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useReactivateMembership, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
7772
- export type { ActivityFilters, ActivityTrendResponse, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CalibrationProgress, CancelExecutionParams, CancelExecutionResult, ChatMessage, CostBreakdownItem, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DocFile, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, ResourcesResponse, RetryExecutionParams, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusFilter$1 as StatusFilter, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseBatchedResourcesHealthParams, UseCalibrationSSEOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
7787
+ export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calibrationKeys, createUseFeatureAccess, executionsKeys, filterByDomainFilters, isSessionCapable, observabilityKeys, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, useReactivateMembership, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification };
7788
+ export type { ActivityFilters, ActivityTrendResponse, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CalibrationProgress, CancelExecutionParams, CancelExecutionResult, ChatMessage, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DocFile, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, ResourcesResponse, RetryExecutionParams, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusFilter$1 as StatusFilter, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseBatchedResourcesHealthParams, UseCalibrationSSEOptions, UseExecuteWorkflowOptions, UseExecuteWorkflowParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
@@ -1,5 +1,5 @@
1
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-FATKFO7X.js';
2
- export { OperationsService, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-EDAYKRPJ.js';
1
+ export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-JTUX5FDC.js';
2
+ export { OperationsService, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-QDO6NF2I.js';
3
3
  import '../chunk-NJJ3NQ7B.js';
4
4
  export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
5
5
  import '../chunk-F6RBK7NJ.js';
@@ -5591,6 +5591,29 @@ interface ArchivedLogsState {
5591
5591
  */
5592
5592
  declare function useArchivedLogs(executionId: string | undefined): ArchivedLogsState;
5593
5593
 
5594
+ interface UseExecuteWorkflowOptions<TSchema extends z.ZodType> {
5595
+ schema: TSchema;
5596
+ }
5597
+ interface UseExecuteWorkflowParams<TSchema extends z.ZodType> {
5598
+ resourceId: string;
5599
+ resourceType: ExecuteAsyncParams['resourceType'];
5600
+ input: z.infer<TSchema>;
5601
+ }
5602
+ /**
5603
+ * Zod-validating wrapper around useExecuteAsync. Validates input against schema
5604
+ * before POSTing; rejects with a useful error on validation failure.
5605
+ */
5606
+ declare function useExecuteWorkflow<TSchema extends z.ZodType>(options: UseExecuteWorkflowOptions<TSchema>): {
5607
+ execute: (params: UseExecuteWorkflowParams<TSchema>) => Promise<ExecuteAsyncResult>;
5608
+ mutation: _tanstack_react_query.UseMutationResult<ExecuteAsyncResult, Error, ExecuteAsyncParams, unknown>;
5609
+ isPending: boolean;
5610
+ isSuccess: boolean;
5611
+ isError: boolean;
5612
+ error: Error | null;
5613
+ data: ExecuteAsyncResult | undefined;
5614
+ reset: () => void;
5615
+ };
5616
+
5594
5617
  interface UseScheduledTasksOptions {
5595
5618
  status?: 'active' | 'paused' | 'completed' | 'cancelled';
5596
5619
  targetResourceType?: 'agent' | 'workflow';
@@ -6055,14 +6078,7 @@ declare function useCostTrends(timeRange: TimeRange, granularity?: 'hour' | 'day
6055
6078
 
6056
6079
  declare function useCostByModel(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostByModelResponse, Error>;
6057
6080
 
6058
- interface CostBreakdownItem {
6059
- resourceId: string;
6060
- resourceType: string;
6061
- model: string;
6062
- totalCost: number;
6063
- executionCount: number;
6064
- }
6065
- declare function useCostBreakdown(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostBreakdownItem[], Error>;
6081
+ declare function useCostBreakdown(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostBreakdownMetrics, Error>;
6066
6082
 
6067
6083
  declare function useDashboardMetrics(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<unknown, Error>;
6068
6084
 
@@ -7213,5 +7229,5 @@ declare function useSessionWebSocket(sessionId: string, apiUrl: string): {
7213
7229
  lastTokenUsage: SessionTokenUsage | null;
7214
7230
  };
7215
7231
 
7216
- export { OperationsService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, observabilityKeys, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification };
7217
- export type { ActivityTrendResponse, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CalibrationProgress, CancelExecutionParams, CancelExecutionResult, ChatMessage, CostBreakdownItem, CreateScheduleInput, CreateSessionResponse, DeleteExecutionParams, DocFile, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListSchedulesFilters, ListSchedulesResponse, MessageEvent, MessageType, ResourcesResponse, RetryExecutionParams, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseBatchedResourcesHealthParams, UseCalibrationSSEOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
7232
+ export { OperationsService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, observabilityKeys, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification };
7233
+ export type { ActivityTrendResponse, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CalibrationProgress, CancelExecutionParams, CancelExecutionResult, ChatMessage, CreateScheduleInput, CreateSessionResponse, DeleteExecutionParams, DocFile, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListSchedulesFilters, ListSchedulesResponse, MessageEvent, MessageType, ResourcesResponse, RetryExecutionParams, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseBatchedResourcesHealthParams, UseCalibrationSSEOptions, UseExecuteWorkflowOptions, UseExecuteWorkflowParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, WebSocketState };
@@ -1,4 +1,4 @@
1
- export { OperationsService, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-EDAYKRPJ.js';
1
+ export { OperationsService, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-QDO6NF2I.js';
2
2
  import '../chunk-NJJ3NQ7B.js';
3
3
  export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
4
4
  import '../chunk-F6RBK7NJ.js';
package/dist/index.d.ts CHANGED
@@ -7124,6 +7124,29 @@ interface ArchivedLogsState {
7124
7124
  */
7125
7125
  declare function useArchivedLogs(executionId: string | undefined): ArchivedLogsState;
7126
7126
 
7127
+ interface UseExecuteWorkflowOptions<TSchema extends z.ZodType> {
7128
+ schema: TSchema;
7129
+ }
7130
+ interface UseExecuteWorkflowParams<TSchema extends z.ZodType> {
7131
+ resourceId: string;
7132
+ resourceType: ExecuteAsyncParams['resourceType'];
7133
+ input: z.infer<TSchema>;
7134
+ }
7135
+ /**
7136
+ * Zod-validating wrapper around useExecuteAsync. Validates input against schema
7137
+ * before POSTing; rejects with a useful error on validation failure.
7138
+ */
7139
+ declare function useExecuteWorkflow<TSchema extends z.ZodType>(options: UseExecuteWorkflowOptions<TSchema>): {
7140
+ execute: (params: UseExecuteWorkflowParams<TSchema>) => Promise<ExecuteAsyncResult>;
7141
+ mutation: _tanstack_react_query.UseMutationResult<ExecuteAsyncResult, Error, ExecuteAsyncParams, unknown>;
7142
+ isPending: boolean;
7143
+ isSuccess: boolean;
7144
+ isError: boolean;
7145
+ error: Error | null;
7146
+ data: ExecuteAsyncResult | undefined;
7147
+ reset: () => void;
7148
+ };
7149
+
7127
7150
  interface UseActivitiesParams {
7128
7151
  limit?: number;
7129
7152
  offset?: number;
@@ -7420,14 +7443,7 @@ declare function useCostTrends(timeRange: TimeRange, granularity?: 'hour' | 'day
7420
7443
 
7421
7444
  declare function useCostByModel(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostByModelResponse, Error>;
7422
7445
 
7423
- interface CostBreakdownItem {
7424
- resourceId: string;
7425
- resourceType: string;
7426
- model: string;
7427
- totalCost: number;
7428
- executionCount: number;
7429
- }
7430
- declare function useCostBreakdown(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostBreakdownItem[], Error>;
7446
+ declare function useCostBreakdown(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<CostBreakdownMetrics, Error>;
7431
7447
 
7432
7448
  declare function useDashboardMetrics(timeRange: TimeRange): _tanstack_react_query.UseQueryResult<unknown, Error>;
7433
7449
 
@@ -9681,5 +9697,5 @@ declare function InitializationProvider({ children }: {
9681
9697
  children: ReactNode;
9682
9698
  }): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
9683
9699
 
9684
- export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisUIProvider, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calculateBarPosition, calculateGraphHeight, calibrationKeys, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineThemeOverride, observabilityKeys, operationsKeys, PRESETS as presets, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useAllCalibrationProjects, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAuthContext, useAvailablePresets, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphHighlighting, useGraphStats, useInitialization, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePresetsContext, useProfile, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
9685
- export type { ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CalibrationProgress, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CostBreakdownItem, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, DocFile, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus$1 as ExecutionStatus, FailingResource, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrganizationContextValue, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, ResourcesResponse, RetryExecutionParams, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseCalibrationSSEOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
9700
+ export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisUIProvider, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calculateBarPosition, calculateGraphHeight, calibrationKeys, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineThemeOverride, observabilityKeys, operationsKeys, PRESETS as presets, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useAllCalibrationProjects, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAuthContext, useAvailablePresets, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphHighlighting, useGraphStats, useInitialization, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePresetsContext, useProfile, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
9701
+ export type { ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CalibrationProgress, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, DocFile, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus$1 as ExecutionStatus, FailingResource, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrganizationContextValue, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, ResourcesResponse, RetryExecutionParams, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseCalibrationSSEOptions, UseExecuteWorkflowOptions, UseExecuteWorkflowParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { useAvailablePresets } from './chunk-TQBM3OEW.js';
2
2
  import './chunk-XCYKC6OZ.js';
3
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-FATKFO7X.js';
4
- export { OperationsService, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-EDAYKRPJ.js';
3
+ export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-JTUX5FDC.js';
4
+ export { OperationsService, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-QDO6NF2I.js';
5
5
  import './chunk-NJJ3NQ7B.js';
6
6
  export { observabilityKeys, useErrorTrends } from './chunk-LXHZYSMQ.js';
7
7
  export { ScrollToTop, TanStackRouterBridge } from './chunk-MHW43EOH.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "1.24.2",
3
+ "version": "1.24.3",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -238,9 +238,9 @@
238
238
  "tsup": "^8.0.0",
239
239
  "typescript": "5.9.2",
240
240
  "vite": "^7.0.0",
241
- "@repo/eslint-config": "0.0.0",
242
241
  "@repo/core": "0.0.0",
243
- "@repo/typescript-config": "0.0.0"
242
+ "@repo/typescript-config": "0.0.0",
243
+ "@repo/eslint-config": "0.0.0"
244
244
  },
245
245
  "dependencies": {
246
246
  "@dagrejs/dagre": "^1.1.4",