@elevasis/ui 1.28.0 → 1.28.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -174,6 +174,9 @@ function useElevasisFeatures() {
174
174
  }
175
175
  return context;
176
176
  }
177
+ function useOptionalElevasisFeatures() {
178
+ return useContext(ElevasisFeaturesContext);
179
+ }
177
180
  function getEnabledFeatures(features, hasFeature) {
178
181
  return features.filter((feature) => hasFeature(feature.key));
179
182
  }
@@ -244,4 +247,4 @@ function FeatureShell({ children }) {
244
247
  ] });
245
248
  }
246
249
 
247
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter };
250
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures };
@@ -1,6 +1,6 @@
1
- import { CredentialNameSchema, UuidSchema, useErrorNotification, showApiErrorNotification } from './chunk-EBCIUZVV.js';
1
+ import { CredentialNameSchema, UuidSchema, useErrorNotification, showApiErrorNotification } from './chunk-EINVPEHK.js';
2
2
  import { getTimeRangeDates } from './chunk-LXHZYSMQ.js';
3
- import { useNotificationAdapter } from './chunk-KLG4H5NM.js';
3
+ import { useNotificationAdapter } from './chunk-45MS3IAW.js';
4
4
  import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT } from './chunk-IOKL7BKE.js';
5
5
  import { useElevasisServices } from './chunk-QEPXAWE2.js';
6
6
  import { z } from 'zod';
@@ -1,6 +1,6 @@
1
1
  import { getTimeRangeDates, observabilityKeys } from './chunk-LXHZYSMQ.js';
2
2
  import { GRAPH_CONSTANTS } from './chunk-F6RBK7NJ.js';
3
- import { useNotificationAdapter } from './chunk-KLG4H5NM.js';
3
+ import { useNotificationAdapter } from './chunk-45MS3IAW.js';
4
4
  import { HTTP_HEADERS } from './chunk-NVOCKXUQ.js';
5
5
  import { STALE_TIME_MONITORING, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, getErrorInfo, formatErrorMessage, getErrorTitle, STALE_TIME_DEFAULT, STALE_TIME_ADMIN, APIClientError } from './chunk-IOKL7BKE.js';
6
6
  import { useStableAccessToken } from './chunk-ALA56RGZ.js';
@@ -3128,14 +3128,131 @@ function useCompleteDealTask() {
3128
3128
  }
3129
3129
  });
3130
3130
  }
3131
- function useBatchTelemetry() {
3131
+ var acquisitionListKeys = {
3132
+ all: ["acquisition-lists"],
3133
+ list: (organizationId) => [...acquisitionListKeys.all, organizationId],
3134
+ detail: (organizationId, listId) => [...acquisitionListKeys.all, organizationId, listId],
3135
+ telemetry: (organizationId) => [...acquisitionListKeys.all, "telemetry", organizationId],
3136
+ progress: (organizationId, listId) => [...acquisitionListKeys.all, "progress", organizationId, listId],
3137
+ executions: (organizationId, listId) => [...acquisitionListKeys.all, "executions", organizationId, listId]
3138
+ };
3139
+ function useLists() {
3132
3140
  const { apiRequest, isReady, organizationId } = useElevasisServices();
3133
3141
  return useQuery({
3134
- queryKey: ["acq-batch-telemetry", organizationId],
3142
+ queryKey: acquisitionListKeys.list(organizationId),
3143
+ queryFn: () => apiRequest("/acquisition/lists"),
3144
+ enabled: isReady
3145
+ });
3146
+ }
3147
+ function useList(listId) {
3148
+ const { apiRequest, isReady, organizationId } = useElevasisServices();
3149
+ return useQuery({
3150
+ queryKey: acquisitionListKeys.detail(organizationId, listId),
3151
+ queryFn: () => apiRequest(`/acquisition/lists/${listId}`),
3152
+ enabled: isReady && !!listId
3153
+ });
3154
+ }
3155
+ function useListsTelemetry() {
3156
+ const { apiRequest, isReady, organizationId } = useElevasisServices();
3157
+ return useQuery({
3158
+ queryKey: acquisitionListKeys.telemetry(organizationId),
3135
3159
  queryFn: () => apiRequest("/acquisition/lists/telemetry"),
3136
3160
  enabled: isReady
3137
3161
  });
3138
3162
  }
3163
+ function useListProgress(listId) {
3164
+ const { apiRequest, isReady, organizationId } = useElevasisServices();
3165
+ return useQuery({
3166
+ queryKey: acquisitionListKeys.progress(organizationId, listId),
3167
+ queryFn: () => apiRequest(`/acquisition/lists/${listId}/progress`),
3168
+ enabled: isReady && !!listId
3169
+ });
3170
+ }
3171
+ function useListExecutions(listId) {
3172
+ const { apiRequest, isReady, organizationId } = useElevasisServices();
3173
+ return useQuery({
3174
+ queryKey: acquisitionListKeys.executions(organizationId, listId),
3175
+ queryFn: () => apiRequest(`/acquisition/lists/${listId}/executions`),
3176
+ enabled: isReady && !!listId
3177
+ });
3178
+ }
3179
+ function useCreateList() {
3180
+ const { apiRequest, organizationId } = useElevasisServices();
3181
+ const queryClient = useQueryClient();
3182
+ return useMutation({
3183
+ mutationFn: (body) => apiRequest("/acquisition/lists", {
3184
+ method: "POST",
3185
+ body: JSON.stringify(body)
3186
+ }),
3187
+ onSuccess: () => {
3188
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.list(organizationId) });
3189
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.telemetry(organizationId) });
3190
+ showSuccessNotification("List created");
3191
+ },
3192
+ onError: (error) => {
3193
+ showApiErrorNotification(error);
3194
+ }
3195
+ });
3196
+ }
3197
+ function useUpdateList(listId) {
3198
+ const { apiRequest, organizationId } = useElevasisServices();
3199
+ const queryClient = useQueryClient();
3200
+ return useMutation({
3201
+ mutationFn: (body) => apiRequest(`/acquisition/lists/${listId}`, {
3202
+ method: "PATCH",
3203
+ body: JSON.stringify(body)
3204
+ }),
3205
+ onSuccess: () => {
3206
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.list(organizationId) });
3207
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.detail(organizationId, listId) });
3208
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.telemetry(organizationId) });
3209
+ showSuccessNotification("List updated");
3210
+ },
3211
+ onError: (error) => {
3212
+ showApiErrorNotification(error);
3213
+ }
3214
+ });
3215
+ }
3216
+ function useUpdateListConfig(listId) {
3217
+ const { apiRequest, organizationId } = useElevasisServices();
3218
+ const queryClient = useQueryClient();
3219
+ return useMutation({
3220
+ mutationFn: (body) => apiRequest(`/acquisition/lists/${listId}/config`, {
3221
+ method: "PATCH",
3222
+ body: JSON.stringify(body)
3223
+ }),
3224
+ onSuccess: () => {
3225
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.list(organizationId) });
3226
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.detail(organizationId, listId) });
3227
+ showSuccessNotification("List configuration saved");
3228
+ },
3229
+ onError: (error) => {
3230
+ showApiErrorNotification(error);
3231
+ }
3232
+ });
3233
+ }
3234
+ function useDeleteList() {
3235
+ const { apiRequest, organizationId } = useElevasisServices();
3236
+ const queryClient = useQueryClient();
3237
+ return useMutation({
3238
+ mutationFn: (listId) => apiRequest(`/acquisition/lists/${listId}`, {
3239
+ method: "DELETE"
3240
+ }),
3241
+ onSuccess: () => {
3242
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.list(organizationId) });
3243
+ queryClient.invalidateQueries({ queryKey: acquisitionListKeys.telemetry(organizationId) });
3244
+ showSuccessNotification("List deleted");
3245
+ },
3246
+ onError: (error) => {
3247
+ showApiErrorNotification(error);
3248
+ }
3249
+ });
3250
+ }
3251
+
3252
+ // src/hooks/acquisition/useBatchTelemetry.ts
3253
+ function useBatchTelemetry() {
3254
+ return useListsTelemetry();
3255
+ }
3139
3256
 
3140
3257
  // src/hooks/acquisition/useDeals.ts
3141
3258
  var dealKeys = {
@@ -3176,4 +3293,4 @@ function useDeleteDeal() {
3176
3293
  });
3177
3294
  }
3178
3295
 
3179
- export { CredentialNameSchema, OperationsService, UuidSchema, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, 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, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification };
3296
+ export { CredentialNameSchema, OperationsService, UuidSchema, acquisitionListKeys, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateList, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useList, useListExecutions, useListProgress, useListSchedules, useLists, useListsTelemetry, 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, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateList, useUpdateListConfig, useUpdateProject, useUpdateSchedule, useWarningNotification };
@@ -1,7 +1,7 @@
1
1
  import { ElevasisLoader } from './chunk-SZHARWKU.js';
2
2
  import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-TXPUIHX2.js';
3
3
  import { AppBackground } from './chunk-CYXZHBP4.js';
4
- import { ElevasisCoreProvider } from './chunk-KLG4H5NM.js';
4
+ import { ElevasisCoreProvider } from './chunk-45MS3IAW.js';
5
5
  import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
6
6
  import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-IOKL7BKE.js';
7
7
  import { useMemo, useEffect } from 'react';
@@ -3,8 +3,8 @@ import { ExecutionStats } from './chunk-F2J7675J.js';
3
3
  import { HeroStatsRow, useCyberColors } from './chunk-JHVKGZ2P.js';
4
4
  import { CardHeader, EmptyState, PageTitleCaption, TabCountBadge, GlowDot } from './chunk-MCA6LOGM.js';
5
5
  import { AppShellCenteredContainer, AppShellLoader } from './chunk-YYBM5LNJ.js';
6
- import { useTimeRangeDates } from './chunk-7CJ5QBN2.js';
7
- import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-EBCIUZVV.js';
6
+ import { useTimeRangeDates } from './chunk-BYZ7VTSH.js';
7
+ import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-EINVPEHK.js';
8
8
  import { getTimeRangeDates } from './chunk-LXHZYSMQ.js';
9
9
  import { ResourceStatusColors } from './chunk-ELJIFLCB.js';
10
10
  import { formatTimeAgo, formatRelativeTime } from './chunk-IOKL7BKE.js';
@@ -1,6 +1,6 @@
1
1
  import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-JHVKGZ2P.js';
2
2
  import { CardHeader, EmptyState } from './chunk-MCA6LOGM.js';
3
- import { useResourcesHealth } from './chunk-EBCIUZVV.js';
3
+ import { useResourcesHealth } from './chunk-EINVPEHK.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';
@@ -3,8 +3,8 @@ import { CustomModal } from './chunk-GBMNCNHX.js';
3
3
  import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert, StatCard } from './chunk-MCA6LOGM.js';
4
4
  import { AppShellLoader } from './chunk-YYBM5LNJ.js';
5
5
  import { useAvailablePresets } from './chunk-QTD5HPKD.js';
6
- import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from './chunk-7CJ5QBN2.js';
7
- import { useResources, showErrorNotification } from './chunk-EBCIUZVV.js';
6
+ import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from './chunk-BYZ7VTSH.js';
7
+ import { useResources, showErrorNotification } from './chunk-EINVPEHK.js';
8
8
  import { formatDateTime, OAUTH_POPUP_CHECK_INTERVAL, OAUTH_FLOW_TIMEOUT } from './chunk-IOKL7BKE.js';
9
9
  import { useInitialization } from './chunk-TUXTSEAF.js';
10
10
  import { useElevasisServices } from './chunk-QEPXAWE2.js';
@@ -3,8 +3,8 @@ import { CustomModal } from './chunk-GBMNCNHX.js';
3
3
  import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-JHVKGZ2P.js';
4
4
  import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-MCA6LOGM.js';
5
5
  import { AppShellLoader } from './chunk-YYBM5LNJ.js';
6
- import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from './chunk-7CJ5QBN2.js';
7
- import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-EBCIUZVV.js';
6
+ import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from './chunk-BYZ7VTSH.js';
7
+ import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-EINVPEHK.js';
8
8
  import { formatBucketTime, getTimeRangeDates } from './chunk-LXHZYSMQ.js';
9
9
  import { formatDuration } from './chunk-XA34RETF.js';
10
10
  import { PAGE_SIZE_DEFAULT } from './chunk-IOKL7BKE.js';
@@ -1,6 +1,6 @@
1
1
  import { ChatHeader, ChatSidebar } from './chunk-ROSMICXG.js';
2
2
  import { SubshellSidebarSection, SubshellLoader, PageContainer, CollapsibleSidebarGroup, SidebarListItem } from './chunk-2IJCM3VQ.js';
3
- import { ResourceHealthPanel } from './chunk-ZUJ7WMGV.js';
3
+ import { ResourceHealthPanel } from './chunk-KP6LNTMH.js';
4
4
  import { CustomModal, ConfirmationModal } from './chunk-GBMNCNHX.js';
5
5
  import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphFitViewHandler } from './chunk-F2J7675J.js';
6
6
  import { useCyberColors, CyberDonut } from './chunk-JHVKGZ2P.js';
@@ -8,12 +8,13 @@ import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountB
8
8
  import { StyledMarkdown } from './chunk-3KMDHCAR.js';
9
9
  import { NavigationButton } from './chunk-NNKKBSJN.js';
10
10
  import { AppShellLoader } from './chunk-YYBM5LNJ.js';
11
- import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from './chunk-7CJ5QBN2.js';
12
- import { useCommandViewLayout, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, calibrationKeys, useDeleteProject, useCreateProject, useBulkDeleteExecutions } from './chunk-EBCIUZVV.js';
11
+ import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from './chunk-BYZ7VTSH.js';
12
+ import { useCommandViewLayout, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, calibrationKeys, useDeleteProject, useCreateProject, useBulkDeleteExecutions } from './chunk-EINVPEHK.js';
13
13
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, GRAPH_CONSTANTS, useGraphHighlighting, calculateGraphHeight } from './chunk-F6RBK7NJ.js';
14
14
  import { getResourceStatusColor, useMergedExecution, useTimelineData, useAgentIterationData, getStatusIcon } from './chunk-XA34RETF.js';
15
15
  import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-ELJIFLCB.js';
16
- import { useElevasisFeatures } from './chunk-KLG4H5NM.js';
16
+ import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-45MS3IAW.js';
17
+ import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from './chunk-5COLSYBE.js';
17
18
  import { useAppearance } from './chunk-QJ2KCHKX.js';
18
19
  import { topbarHeight } from './chunk-QJ2S46NI.js';
19
20
  import { getResourceIcon, getResourceColor, getErrorInfo, formatErrorMessage, formatRelativeTime, DOMAIN_MAP, getNodeId, PAGE_SIZE_DEFAULT } from './chunk-IOKL7BKE.js';
@@ -2082,9 +2083,11 @@ var CommandQueueSidebar = ({
2082
2083
  timeRange
2083
2084
  }) => {
2084
2085
  const colors = useCyberColors();
2086
+ const features = useOptionalElevasisFeatures();
2087
+ const resolvedTimeRange = timeRange ?? features?.timeRange ?? "24h";
2085
2088
  const statusFilter = status === "all" ? void 0 : status;
2086
2089
  const { data: checkpointData, isLoading: isDonutLoading } = useCommandQueueTotals({
2087
- timeRange,
2090
+ timeRange: resolvedTimeRange,
2088
2091
  priorityMin: priorityRange[0],
2089
2092
  priorityMax: priorityRange[1],
2090
2093
  status: statusFilter
@@ -2155,7 +2158,7 @@ var CommandQueueSidebar = ({
2155
2158
  onSelectCheckpoint,
2156
2159
  priorityRange,
2157
2160
  status,
2158
- timeRange
2161
+ timeRange: resolvedTimeRange
2159
2162
  }
2160
2163
  )
2161
2164
  ] });
@@ -3500,24 +3503,26 @@ function CommandQueuePage({
3500
3503
  priorityRange = [1, 10]
3501
3504
  }) {
3502
3505
  const { organizationReady } = useInitialization();
3506
+ const features = useOptionalElevasisFeatures();
3503
3507
  const [deleteConfirmId, setDeleteConfirmId] = useState(null);
3504
3508
  const { mutate: deleteTask, isPending: isDeleting } = useDeleteTask();
3509
+ const resolvedTimeRange = timeRange ?? features?.timeRange ?? "24h";
3505
3510
  const serverStatus = status === "all" ? void 0 : status;
3506
3511
  const { page, setPage, offset, totalPages } = usePaginationState(pageSize, [
3507
3512
  selectedCheckpoint,
3508
3513
  status,
3509
- timeRange,
3514
+ resolvedTimeRange,
3510
3515
  priorityRange
3511
3516
  ]);
3512
3517
  const { data: checkpointData, isLoading: isLoadingCheckpoints } = useCommandQueueTotals({
3513
- timeRange,
3518
+ timeRange: resolvedTimeRange,
3514
3519
  priorityMin: priorityRange[0],
3515
3520
  priorityMax: priorityRange[1]
3516
3521
  });
3517
3522
  const { data: tasks = [], isLoading: isLoadingTasks } = useCommandQueue({
3518
3523
  status: serverStatus,
3519
3524
  humanCheckpoint: selectedCheckpoint,
3520
- timeRange,
3525
+ timeRange: resolvedTimeRange,
3521
3526
  priorityMin: priorityRange[0],
3522
3527
  priorityMax: priorityRange[1],
3523
3528
  limit: pageSize,
@@ -6617,6 +6622,32 @@ var OperationsSidebar = () => {
6617
6622
  /* @__PURE__ */ jsx(OperationsSidebarMiddle, {})
6618
6623
  ] });
6619
6624
  };
6625
+ function CommandQueueShell({
6626
+ selectedCheckpoint,
6627
+ onSelectCheckpoint,
6628
+ status,
6629
+ onStatusChange,
6630
+ priorityRange,
6631
+ onPriorityRangeChange,
6632
+ children
6633
+ }) {
6634
+ const { currentPath } = useRouterContext();
6635
+ const isDetailView = /\/operations\/command-queue\/.+/.test(currentPath);
6636
+ return /* @__PURE__ */ jsxs(SubshellContainer, { children: [
6637
+ /* @__PURE__ */ jsx(SubshellSidebar, { width: 250, children: /* @__PURE__ */ jsx("div", { style: { cursor: isDetailView ? "not-allowed" : void 0, height: "100%" }, children: /* @__PURE__ */ jsx("div", { style: { pointerEvents: isDetailView ? "none" : void 0, height: "100%" }, children: /* @__PURE__ */ jsx(
6638
+ CommandQueueSidebar,
6639
+ {
6640
+ selectedCheckpoint,
6641
+ onSelectCheckpoint,
6642
+ status,
6643
+ onStatusChange,
6644
+ priorityRange,
6645
+ onPriorityRangeChange
6646
+ }
6647
+ ) }) }) }),
6648
+ /* @__PURE__ */ jsx(SubshellRightSideContainer, { children: /* @__PURE__ */ jsx(SubshellContentContainer, { children }) })
6649
+ ] });
6650
+ }
6620
6651
  var operationsManifest = {
6621
6652
  key: "operations",
6622
6653
  label: "Operations",
@@ -6643,4 +6674,4 @@ var operationsManifest = {
6643
6674
  }
6644
6675
  };
6645
6676
 
6646
- export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionPanel, AgentSessionGroup, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CheckpointGroup, CollapsibleJsonSection, CommandQueueDetailPage, CommandQueuePage, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, CommandViewPage, CommandViewSidebarContent, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecuteWorkflowModal, ExecutionErrorSection, ExecutionPanel, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceDetailPage, ResourceErrorState, ResourceExecuteDialog, ResourceExecuteForm, ResourceFilter, ResourceHeader, ResourceNotFoundState, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionMemory, SessionsPage, SessionsSidebar, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionPanel, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout };
6677
+ export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionPanel, AgentSessionGroup, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CheckpointGroup, CollapsibleJsonSection, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, CommandViewPage, CommandViewSidebarContent, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecuteWorkflowModal, ExecutionErrorSection, ExecutionPanel, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceDetailPage, ResourceErrorState, ResourceExecuteDialog, ResourceExecuteForm, ResourceFilter, ResourceHeader, ResourceNotFoundState, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionMemory, SessionsPage, SessionsSidebar, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionPanel, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout };
@@ -8289,7 +8289,7 @@ interface CommandQueueSidebarProps {
8289
8289
  onStatusChange: (status: TaskFilterStatus) => void;
8290
8290
  priorityRange: [number, number];
8291
8291
  onPriorityRangeChange: (range: [number, number]) => void;
8292
- timeRange: TimeRange;
8292
+ timeRange?: TimeRange;
8293
8293
  }
8294
8294
  /**
8295
8295
  * CommandQueueSidebar - Main sidebar component with donut charts and checkpoint groups
@@ -1,16 +1,16 @@
1
1
  import { useBreadcrumbs } from '../chunk-MG3NF7QL.js';
2
2
  import '../chunk-C27LLJM6.js';
3
- import { NotificationList } from '../chunk-37NT4BNV.js';
4
- export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-37NT4BNV.js';
5
- export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-ZXBD5SBV.js';
3
+ import { NotificationList } from '../chunk-T2X3WHQS.js';
4
+ export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-T2X3WHQS.js';
5
+ export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-R2BQITMQ.js';
6
6
  import { FilterBar } from '../chunk-PDHTXPSF.js';
7
7
  export { FilterBar } from '../chunk-PDHTXPSF.js';
8
- export { dashboardManifest } from '../chunk-S4S6K4MV.js';
8
+ export { dashboardManifest } from '../chunk-JQ4AKYUD.js';
9
9
  export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
10
- 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, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-C4WOXS2C.js';
10
+ 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, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-ZWY3A6ZU.js';
11
11
  import '../chunk-ROSMICXG.js';
12
12
  import { SubshellLoader, PageContainer, SubshellSidebarSection, SidebarListItem, CollapsibleSidebarGroup } from '../chunk-2IJCM3VQ.js';
13
- export { ResourceHealthPanel } from '../chunk-ZUJ7WMGV.js';
13
+ export { ResourceHealthPanel } from '../chunk-KP6LNTMH.js';
14
14
  import { CustomModal } from '../chunk-GBMNCNHX.js';
15
15
  export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-GBMNCNHX.js';
16
16
  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-F2J7675J.js';
@@ -21,18 +21,18 @@ export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
21
21
  export { NavigationButton } from '../chunk-NNKKBSJN.js';
22
22
  import { AppShellLoader } from '../chunk-YYBM5LNJ.js';
23
23
  import '../chunk-QTD5HPKD.js';
24
- import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useTasks, useProjects, useMilestones } from '../chunk-7CJ5QBN2.js';
25
- import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useDealTasksDue, useCreateDealTask, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-EBCIUZVV.js';
26
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-EBCIUZVV.js';
24
+ import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useTasks, useProjects, useMilestones } from '../chunk-BYZ7VTSH.js';
25
+ import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useDealTasksDue, useCreateDealTask, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-EINVPEHK.js';
26
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-EINVPEHK.js';
27
27
  import '../chunk-LXHZYSMQ.js';
28
28
  export { Graph_module_css_default as graphStyles } from '../chunk-F6RBK7NJ.js';
29
29
  export { CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS } from '../chunk-XA34RETF.js';
30
30
  import '../chunk-ELJIFLCB.js';
31
- import '../chunk-D25AE46Q.js';
31
+ import '../chunk-FW4S3Z5I.js';
32
32
  export { ElevasisLoader } from '../chunk-SZHARWKU.js';
33
33
  import '../chunk-TXPUIHX2.js';
34
34
  import '../chunk-CYXZHBP4.js';
35
- import '../chunk-KLG4H5NM.js';
35
+ import '../chunk-45MS3IAW.js';
36
36
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from '../chunk-5COLSYBE.js';
37
37
  import '../chunk-NVOCKXUQ.js';
38
38
  import '../chunk-2IFYDILW.js';
@@ -1,4 +1,4 @@
1
- export { Dashboard, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest } from '../../chunk-S4S6K4MV.js';
1
+ export { Dashboard, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest } from '../../chunk-JQ4AKYUD.js';
2
2
  import '../../chunk-LGKLC5MG.js';
3
3
  import '../../chunk-F2J7675J.js';
4
4
  import '../../chunk-JHVKGZ2P.js';
@@ -6,17 +6,17 @@ import '../../chunk-MCA6LOGM.js';
6
6
  import '../../chunk-3KMDHCAR.js';
7
7
  import '../../chunk-NNKKBSJN.js';
8
8
  import '../../chunk-YYBM5LNJ.js';
9
- import '../../chunk-7CJ5QBN2.js';
10
- import '../../chunk-EBCIUZVV.js';
9
+ import '../../chunk-BYZ7VTSH.js';
10
+ import '../../chunk-EINVPEHK.js';
11
11
  import '../../chunk-LXHZYSMQ.js';
12
12
  import '../../chunk-F6RBK7NJ.js';
13
13
  import '../../chunk-XA34RETF.js';
14
14
  import '../../chunk-ELJIFLCB.js';
15
- import '../../chunk-D25AE46Q.js';
15
+ import '../../chunk-FW4S3Z5I.js';
16
16
  import '../../chunk-SZHARWKU.js';
17
17
  import '../../chunk-TXPUIHX2.js';
18
18
  import '../../chunk-CYXZHBP4.js';
19
- import '../../chunk-KLG4H5NM.js';
19
+ import '../../chunk-45MS3IAW.js';
20
20
  import '../../chunk-5COLSYBE.js';
21
21
  import '../../chunk-NVOCKXUQ.js';
22
22
  import '../../chunk-2IFYDILW.js';
@@ -1,24 +1,24 @@
1
- export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-37NT4BNV.js';
1
+ export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-T2X3WHQS.js';
2
2
  import '../../chunk-PDHTXPSF.js';
3
3
  import '../../chunk-LGKLC5MG.js';
4
- import '../../chunk-ZUJ7WMGV.js';
4
+ import '../../chunk-KP6LNTMH.js';
5
5
  import '../../chunk-GBMNCNHX.js';
6
6
  import '../../chunk-JHVKGZ2P.js';
7
7
  import '../../chunk-MCA6LOGM.js';
8
8
  import '../../chunk-3KMDHCAR.js';
9
9
  import '../../chunk-NNKKBSJN.js';
10
10
  import '../../chunk-YYBM5LNJ.js';
11
- import '../../chunk-7CJ5QBN2.js';
12
- import '../../chunk-EBCIUZVV.js';
11
+ import '../../chunk-BYZ7VTSH.js';
12
+ import '../../chunk-EINVPEHK.js';
13
13
  import '../../chunk-LXHZYSMQ.js';
14
14
  import '../../chunk-F6RBK7NJ.js';
15
15
  import '../../chunk-XA34RETF.js';
16
16
  import '../../chunk-ELJIFLCB.js';
17
- import '../../chunk-D25AE46Q.js';
17
+ import '../../chunk-FW4S3Z5I.js';
18
18
  import '../../chunk-SZHARWKU.js';
19
19
  import '../../chunk-TXPUIHX2.js';
20
20
  import '../../chunk-CYXZHBP4.js';
21
- import '../../chunk-KLG4H5NM.js';
21
+ import '../../chunk-45MS3IAW.js';
22
22
  import '../../chunk-5COLSYBE.js';
23
23
  import '../../chunk-NVOCKXUQ.js';
24
24
  import '../../chunk-2IFYDILW.js';
@@ -1585,51 +1585,9 @@ interface FetchEventSourceWithTokenRefreshOptions {
1585
1585
  onclose?: () => void;
1586
1586
  }
1587
1587
 
1588
- interface SSEConnectionManagerOptions {
1589
- /** Grace period in ms before closing idle connections. Defaults to 5000. */
1590
- closeGracePeriodMs?: number;
1591
- }
1592
- /**
1593
- * SSE Connection Manager
1594
- *
1595
- * Ensures only ONE SSE connection exists per endpoint, preventing duplicate
1596
- * connections when components re-render or remount.
1597
- *
1598
- * Benefits:
1599
- * - Prevents resource waste from duplicate connections
1600
- * - Eliminates race conditions from overlapping connections
1601
- * - Automatically manages connection lifecycle
1602
- * - Shares single connection across multiple subscribers
1603
- */
1604
- declare class SSEConnectionManager {
1605
- private connections;
1606
- private closeGracePeriodMs;
1607
- constructor(options?: SSEConnectionManagerOptions);
1608
- /**
1609
- * Subscribe to an SSE endpoint
1610
- *
1611
- * If a connection already exists for this endpoint, reuses it.
1612
- * Otherwise, creates a new connection.
1613
- *
1614
- * @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
1615
- * @param subscriberId - Unique identifier for this subscriber (usually component instance)
1616
- * @param options - SSE connection options
1617
- * @returns Unsubscribe function to call when component unmounts
1618
- */
1588
+ interface SSEConnectionManagerLike {
1619
1589
  subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
1620
- /**
1621
- * Unsubscribe from an SSE endpoint
1622
- *
1623
- * If this is the last subscriber, closes the connection after grace period.
1624
- */
1625
- private unsubscribe;
1626
- /**
1627
- * Force close a connection and all its subscribers
1628
- */
1629
1590
  closeConnection(key: string): void;
1630
- /**
1631
- * Get current connection status
1632
- */
1633
1591
  getConnectionInfo(): Map<string, {
1634
1592
  url: string;
1635
1593
  subscribers: number;
@@ -1638,7 +1596,7 @@ declare class SSEConnectionManager {
1638
1596
 
1639
1597
  interface UseExecutionPanelStateOptions {
1640
1598
  resourceId: string;
1641
- manager: SSEConnectionManager;
1599
+ manager: SSEConnectionManagerLike;
1642
1600
  /**
1643
1601
  * Base URL of the API server (e.g. 'https://api.elevasis.io' or 'http://localhost:5170').
1644
1602
  * Provided by the consuming app -- the library does not read environment variables directly.
@@ -1677,7 +1635,7 @@ interface FeatureModule {
1677
1635
  }
1678
1636
 
1679
1637
  interface CommandQueuePageProps {
1680
- timeRange: TimeRange;
1638
+ timeRange?: TimeRange;
1681
1639
  pageSize?: number;
1682
1640
  onNavigateToTask: (taskId: string) => void;
1683
1641
  /** Filter props forwarded from the sidebar */
@@ -1809,7 +1767,7 @@ interface CalibrationRunDetailPageProps {
1809
1767
  run: CalibrationRun;
1810
1768
  }) => ReactNode;
1811
1769
  /** SSE connection manager instance for live calibration progress updates. */
1812
- manager: SSEConnectionManager;
1770
+ manager: SSEConnectionManagerLike;
1813
1771
  /** Base API URL used by CalibrationProgress to connect to the SSE endpoint. */
1814
1772
  apiUrl: string;
1815
1773
  }
@@ -1817,7 +1775,7 @@ declare function CalibrationRunDetailPage({ runId, onNavigateToProject, renderSe
1817
1775
 
1818
1776
  interface CalibrationProgressProps {
1819
1777
  runId: string;
1820
- manager: SSEConnectionManager;
1778
+ manager: SSEConnectionManagerLike;
1821
1779
  apiUrl: string;
1822
1780
  }
1823
1781
  declare function CalibrationProgress({ runId, manager, apiUrl }: CalibrationProgressProps): react_jsx_runtime.JSX.Element;
@@ -1841,7 +1799,7 @@ interface ExecutionPanelProps extends ExecutionSelectionControlProps$2 {
1841
1799
  resourceType: ResourceType$1;
1842
1800
  resourceName?: string;
1843
1801
  resourceDefinition: AIResourceDefinition;
1844
- sseManager: SSEConnectionManager;
1802
+ sseManager: SSEConnectionManagerLike;
1845
1803
  apiUrl: string;
1846
1804
  onConnectionStatus?: (connected: boolean, runningCount: number) => void;
1847
1805
  }
@@ -1852,7 +1810,7 @@ interface WorkflowExecutionPanelProps extends ExecutionSelectionControlProps$1 {
1852
1810
  resourceId: string;
1853
1811
  resourceName?: string;
1854
1812
  resourceDefinition: SerializedWorkflowDefinition;
1855
- sseManager: SSEConnectionManager;
1813
+ sseManager: SSEConnectionManagerLike;
1856
1814
  apiUrl: string;
1857
1815
  onConnectionStatus?: (connected: boolean, runningCount: number) => void;
1858
1816
  }
@@ -1863,7 +1821,7 @@ interface AgentExecutionPanelProps extends ExecutionSelectionControlProps {
1863
1821
  resourceId: string;
1864
1822
  resourceName?: string;
1865
1823
  resourceDefinition: SerializedAgentDefinition;
1866
- sseManager: SSEConnectionManager;
1824
+ sseManager: SSEConnectionManagerLike;
1867
1825
  apiUrl: string;
1868
1826
  onConnectionStatus?: (connected: boolean, runningCount: number) => void;
1869
1827
  }
@@ -2113,7 +2071,18 @@ declare const OperationsSidebarTop: () => react_jsx_runtime.JSX.Element | null;
2113
2071
 
2114
2072
  declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
2115
2073
 
2074
+ interface CommandQueueShellProps {
2075
+ selectedCheckpoint: string | undefined;
2076
+ onSelectCheckpoint: (checkpoint: string | undefined) => void;
2077
+ status: TaskFilterStatus;
2078
+ onStatusChange: (status: TaskFilterStatus) => void;
2079
+ priorityRange: [number, number];
2080
+ onPriorityRangeChange: (range: [number, number]) => void;
2081
+ children: ReactNode;
2082
+ }
2083
+ declare function CommandQueueShell({ selectedCheckpoint, onSelectCheckpoint, status, onStatusChange, priorityRange, onPriorityRangeChange, children }: CommandQueueShellProps): react_jsx_runtime.JSX.Element;
2084
+
2116
2085
  declare const operationsManifest: FeatureModule;
2117
2086
 
2118
- export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest };
2119
- 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 };
2087
+ export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest };
2088
+ export type { AgentExecutionPanelProps, AgentSessionGroupProps, CalibrationPageProps, CalibrationProgressProps, CalibrationProjectDetailPageProps, CalibrationProjectDetailPageRenderCreateModalArgs, CalibrationProjectDetailPageRenderRunCardArgs, CalibrationProjectsPageProps, CalibrationRunDetailPageProps, CalibrationSidebarProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandQueueShellProps, CommandViewPageProps, CommandViewSidebarContentProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, ResourceDetailPageProps, ResourceDetailPageRenderExecutionPanelArgs, ResourceExecuteDialogProps, ResourceExecuteFormProps, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, TaskFilterStatus, WorkflowExecutionPanelProps };