@elevasis/ui 2.0.0 → 2.0.1
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.
- package/dist/charts/index.js +1 -1
- package/dist/{chunk-BYZ7VTSH.js → chunk-7QNDXJQW.js} +2 -2
- package/dist/{chunk-R2BQITMQ.js → chunk-CD6UPIXK.js} +2 -2
- package/dist/{chunk-F2J7675J.js → chunk-N5BS2VIA.js} +632 -6
- package/dist/{chunk-ZWY3A6ZU.js → chunk-NEST7NA4.js} +8 -14
- package/dist/{chunk-EINVPEHK.js → chunk-P6EELWRV.js} +1 -1
- package/dist/{chunk-45MS3IAW.js → chunk-VB4MVOPL.js} +6 -1
- package/dist/{chunk-JHVKGZ2P.js → chunk-YUAE4IVA.js} +2 -3
- package/dist/{chunk-KP6LNTMH.js → chunk-YVDYRV4Q.js} +2 -2
- package/dist/{chunk-T2X3WHQS.js → chunk-ZNG35YAN.js} +3 -3
- package/dist/{chunk-FW4S3Z5I.js → chunk-ZT754TNZ.js} +1 -1
- package/dist/components/index.d.ts +6 -2
- package/dist/components/index.js +28 -21
- package/dist/features/dashboard/index.d.ts +14 -4
- package/dist/features/dashboard/index.js +6 -7
- package/dist/features/monitoring/index.js +8 -8
- package/dist/features/operations/index.d.ts +171 -55
- package/dist/features/operations/index.js +9 -8
- package/dist/features/settings/index.js +5 -5
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.js +3 -3
- package/dist/index.js +4 -4
- package/dist/provider/index.js +2 -2
- package/dist/provider/published.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-JQ4AKYUD.js +0 -635
|
@@ -1,19 +1,19 @@
|
|
|
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-
|
|
3
|
+
import { ResourceHealthPanel } from './chunk-YVDYRV4Q.js';
|
|
4
4
|
import { CustomModal, ConfirmationModal } from './chunk-GBMNCNHX.js';
|
|
5
|
-
import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphFitViewHandler } from './chunk-
|
|
6
|
-
import { useCyberColors, CyberDonut } from './chunk-
|
|
5
|
+
import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphFitViewHandler } from './chunk-N5BS2VIA.js';
|
|
6
|
+
import { useCyberColors, CyberDonut } from './chunk-YUAE4IVA.js';
|
|
7
7
|
import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountBadge, ResourceCard, ContextViewer, APIErrorAlert, EmptyState } from './chunk-MCA6LOGM.js';
|
|
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-
|
|
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-
|
|
11
|
+
import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from './chunk-7QNDXJQW.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-P6EELWRV.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 { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-
|
|
16
|
+
import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-VB4MVOPL.js';
|
|
17
17
|
import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from './chunk-5COLSYBE.js';
|
|
18
18
|
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
19
19
|
import { topbarHeight } from './chunk-QJ2S46NI.js';
|
|
@@ -6652,20 +6652,14 @@ var operationsManifest = {
|
|
|
6652
6652
|
key: "operations",
|
|
6653
6653
|
label: "Operations",
|
|
6654
6654
|
sidebar: OperationsSidebar,
|
|
6655
|
-
subshellRoutes: [
|
|
6656
|
-
"/operations/resources",
|
|
6657
|
-
"/operations/sessions",
|
|
6658
|
-
"/operations/calibration",
|
|
6659
|
-
"/operations/settings",
|
|
6660
|
-
"/operations/documentation",
|
|
6661
|
-
"/operations/command-view"
|
|
6662
|
-
],
|
|
6655
|
+
subshellRoutes: ["/operations/resources"],
|
|
6663
6656
|
navEntry: {
|
|
6664
6657
|
label: "Operations",
|
|
6665
6658
|
icon: IconCode,
|
|
6666
6659
|
featureKey: "operations",
|
|
6667
6660
|
dataOnboardingTourId: "sidebar-operations",
|
|
6668
6661
|
links: [
|
|
6662
|
+
{ label: "Overview", link: "/operations" },
|
|
6669
6663
|
{ label: "Resources", link: "/operations/resources" },
|
|
6670
6664
|
{ label: "Command View", link: "/operations/command-view" },
|
|
6671
6665
|
{ label: "Command Queue", link: "/operations/command-queue" },
|
|
@@ -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-
|
|
3
|
+
import { useNotificationAdapter } from './chunk-VB4MVOPL.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';
|
|
@@ -124,6 +124,10 @@ function OrgServiceBridge({
|
|
|
124
124
|
const isReady = !!currentWorkOSOrganizationId && !isInitializing && !isOrgRefreshing;
|
|
125
125
|
return /* @__PURE__ */ jsx(ElevasisServiceProvider, { apiRequest, organizationId: currentWorkOSOrganizationId, isReady, children: /* @__PURE__ */ jsx(NotificationProvider, { adapter: notifications, children: /* @__PURE__ */ jsx(InitializationProvider, { children }) }) });
|
|
126
126
|
}
|
|
127
|
+
var FEATURE_KEY_ALIASES = {
|
|
128
|
+
crm: "acquisition",
|
|
129
|
+
"lead-gen": "acquisition"
|
|
130
|
+
};
|
|
127
131
|
function createUseFeatureAccess({
|
|
128
132
|
useInitialization: useInitialization2,
|
|
129
133
|
useOrganization: useOrganization2
|
|
@@ -139,7 +143,8 @@ function createUseFeatureAccess({
|
|
|
139
143
|
const userConfig = profile?.config;
|
|
140
144
|
const checkFeature = useCallback(
|
|
141
145
|
(featureKey) => {
|
|
142
|
-
const
|
|
146
|
+
const normalizedFeatureKey = FEATURE_KEY_ALIASES[featureKey] ?? featureKey;
|
|
147
|
+
const key = normalizedFeatureKey;
|
|
143
148
|
if (profile?.is_platform_admin) {
|
|
144
149
|
return { allowed: true, restrictedBy: null };
|
|
145
150
|
}
|
|
@@ -804,10 +804,9 @@ function HeroStatsRow({
|
|
|
804
804
|
{
|
|
805
805
|
variant: "hero",
|
|
806
806
|
icon: IconAlertTriangle,
|
|
807
|
-
value: unresolvedErrorCount ?? EM_DASH,
|
|
807
|
+
value: errorsLoading ? EM_DASH : unresolvedErrorCount ?? EM_DASH,
|
|
808
808
|
label: "Errors",
|
|
809
|
-
valueColor: unresolvedErrorCount != null ? getErrorCountColor(unresolvedErrorCount) : void 0
|
|
810
|
-
isLoading: errorsLoading
|
|
809
|
+
valueColor: unresolvedErrorCount != null ? getErrorCountColor(unresolvedErrorCount) : void 0
|
|
811
810
|
}
|
|
812
811
|
),
|
|
813
812
|
/* @__PURE__ */ jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-
|
|
1
|
+
import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-YUAE4IVA.js';
|
|
2
2
|
import { CardHeader, EmptyState } from './chunk-MCA6LOGM.js';
|
|
3
|
-
import { useResourcesHealth } from './chunk-
|
|
3
|
+
import { useResourcesHealth } from './chunk-P6EELWRV.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,10 +1,10 @@
|
|
|
1
1
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
2
2
|
import { CustomModal } from './chunk-GBMNCNHX.js';
|
|
3
|
-
import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-
|
|
3
|
+
import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-YUAE4IVA.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-
|
|
7
|
-
import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-
|
|
6
|
+
import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from './chunk-7QNDXJQW.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-P6EELWRV.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,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-
|
|
4
|
+
import { ElevasisCoreProvider } from './chunk-VB4MVOPL.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';
|
|
@@ -8768,10 +8768,14 @@ declare const noteTypeColors: Record<string, string>;
|
|
|
8768
8768
|
declare function formatStatusLabel(status: string): string;
|
|
8769
8769
|
declare function calculateProgress(completed: number, total: number): number;
|
|
8770
8770
|
|
|
8771
|
-
|
|
8772
|
-
|
|
8771
|
+
/**
|
|
8772
|
+
* Compatibility manifest for existing consumers that still register a
|
|
8773
|
+
* top-level dashboard nav entry. Host apps should eventually own this nav item.
|
|
8774
|
+
*/
|
|
8773
8775
|
declare const dashboardManifest: FeatureModule;
|
|
8774
8776
|
|
|
8777
|
+
declare const monitoringManifest: FeatureModule;
|
|
8778
|
+
|
|
8775
8779
|
declare const settingsManifest: FeatureModule;
|
|
8776
8780
|
|
|
8777
8781
|
declare const OperationsSidebar: () => react_jsx_runtime.JSX.Element;
|
package/dist/components/index.js
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
1
|
import { useBreadcrumbs } from '../chunk-MG3NF7QL.js';
|
|
2
2
|
import '../chunk-C27LLJM6.js';
|
|
3
|
-
import { NotificationList } from '../chunk-
|
|
4
|
-
export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-
|
|
5
|
-
export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-
|
|
3
|
+
import { NotificationList } from '../chunk-ZNG35YAN.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-ZNG35YAN.js';
|
|
5
|
+
export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-CD6UPIXK.js';
|
|
6
6
|
import { FilterBar } from '../chunk-PDHTXPSF.js';
|
|
7
7
|
export { FilterBar } from '../chunk-PDHTXPSF.js';
|
|
8
|
-
export {
|
|
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-ZWY3A6ZU.js';
|
|
8
|
+
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-NEST7NA4.js';
|
|
11
9
|
import '../chunk-ROSMICXG.js';
|
|
12
10
|
import { SubshellLoader, PageContainer, SubshellSidebarSection, SidebarListItem, CollapsibleSidebarGroup } from '../chunk-2IJCM3VQ.js';
|
|
13
|
-
export { ResourceHealthPanel } from '../chunk-
|
|
11
|
+
export { ResourceHealthPanel } from '../chunk-YVDYRV4Q.js';
|
|
14
12
|
import { CustomModal } from '../chunk-GBMNCNHX.js';
|
|
15
13
|
export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-GBMNCNHX.js';
|
|
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-
|
|
17
|
-
|
|
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, dashboardManifest, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-N5BS2VIA.js';
|
|
15
|
+
export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
|
|
16
|
+
import '../chunk-YUAE4IVA.js';
|
|
18
17
|
import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader, ActivityTimeline, StatusBadge } from '../chunk-MCA6LOGM.js';
|
|
19
18
|
export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-MCA6LOGM.js';
|
|
20
19
|
export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
|
|
21
20
|
export { NavigationButton } from '../chunk-NNKKBSJN.js';
|
|
22
21
|
import { AppShellLoader } from '../chunk-YYBM5LNJ.js';
|
|
23
22
|
import '../chunk-QTD5HPKD.js';
|
|
24
|
-
import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useTasks, useProjects, useMilestones } from '../chunk-
|
|
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-
|
|
26
|
-
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-
|
|
23
|
+
import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useTasks, useProjects, useMilestones } from '../chunk-7QNDXJQW.js';
|
|
24
|
+
import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useDealTasksDue, useCreateDealTask, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-P6EELWRV.js';
|
|
25
|
+
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-P6EELWRV.js';
|
|
27
26
|
import '../chunk-LXHZYSMQ.js';
|
|
28
27
|
export { Graph_module_css_default as graphStyles } from '../chunk-F6RBK7NJ.js';
|
|
29
28
|
export { CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS } from '../chunk-XA34RETF.js';
|
|
30
29
|
import '../chunk-ELJIFLCB.js';
|
|
31
|
-
import '../chunk-
|
|
30
|
+
import '../chunk-ZT754TNZ.js';
|
|
32
31
|
export { ElevasisLoader } from '../chunk-SZHARWKU.js';
|
|
33
32
|
import '../chunk-TXPUIHX2.js';
|
|
34
33
|
import '../chunk-CYXZHBP4.js';
|
|
35
|
-
import '../chunk-
|
|
34
|
+
import '../chunk-VB4MVOPL.js';
|
|
36
35
|
import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from '../chunk-5COLSYBE.js';
|
|
37
36
|
import '../chunk-NVOCKXUQ.js';
|
|
38
37
|
import '../chunk-2IFYDILW.js';
|
|
@@ -50,7 +49,7 @@ import { useElevasisServices } from '../chunk-QEPXAWE2.js';
|
|
|
50
49
|
import '../chunk-BRJ3QZ4E.js';
|
|
51
50
|
import { useRouterContext } from '../chunk-Q7DJKLEN.js';
|
|
52
51
|
import { Table, Group, Text, Button, Stack, Title, TextInput, Alert, Tooltip, ActionIcon, Paper, Code, CopyButton, SimpleGrid, Badge, Loader, Pagination, useMantineTheme, Box, ScrollArea, Select, Center, Card, SegmentedControl, Switch, Textarea, Divider, Menu, Timeline, ThemeIcon, Tabs, Anchor, Breadcrumbs as Breadcrumbs$1, Drawer, UnstyledButton, Modal, RingProgress, Collapse, Popover, Indicator } from '@mantine/core';
|
|
53
|
-
import { IconBriefcase, IconChevronUp, IconChevronDown, IconSelector, IconTrash, IconPencil, IconAlertCircle, IconKey, IconCalendar, IconClock, IconAlertTriangle, IconExclamationMark, IconShieldLock, IconCheck, IconCopy, IconPlus, IconRocket, IconRefresh, IconPower, IconPlayerPlay, IconCircleCheck, IconTag, IconBook2, IconFileOff, IconList, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconRobot, IconGitBranch, IconSettings, IconExternalLink, IconDotsVertical, IconPlayerPause, IconPlayerStop, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck,
|
|
52
|
+
import { IconAddressBook, IconBriefcase, IconTarget, IconChevronUp, IconChevronDown, IconSelector, IconTrash, IconPencil, IconAlertCircle, IconKey, IconCalendar, IconClock, IconAlertTriangle, IconExclamationMark, IconShieldLock, IconCheck, IconCopy, IconPlus, IconRocket, IconRefresh, IconPower, IconPlayerPlay, IconCircleCheck, IconTag, IconBook2, IconFileOff, IconList, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconRobot, IconGitBranch, IconSettings, IconExternalLink, IconDotsVertical, IconPlayerPause, IconPlayerStop, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck, IconTrophy, IconClockExclamation, IconUser, IconLayoutGrid, IconColumns, IconFileInvoice, IconChecklist, IconHistory, IconListDetails, IconBuilding, IconMailCheck, IconSearch, IconChartBar, IconTrendingUp, IconHeartbeat, IconFlag, IconFileText, IconInbox, IconLock, IconChevronRight, IconDownload, IconMessageCircle, IconBell, IconNotes, IconFolderOpen, IconFolder, IconCheckbox, IconMail, IconPhone, IconArrowRight, IconNote } from '@tabler/icons-react';
|
|
54
53
|
import * as runtime from 'react/jsx-runtime';
|
|
55
54
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
56
55
|
import { useDisclosure } from '@mantine/hooks';
|
|
@@ -4097,13 +4096,17 @@ function CrmOverview({
|
|
|
4097
4096
|
] })
|
|
4098
4097
|
] });
|
|
4099
4098
|
}
|
|
4100
|
-
|
|
4101
|
-
// src/features/crm/manifest.ts
|
|
4102
4099
|
var crmManifest = {
|
|
4103
4100
|
key: "crm",
|
|
4104
4101
|
label: "CRM",
|
|
4105
4102
|
sidebar: CrmSidebar,
|
|
4106
|
-
subshellRoutes: ["/crm"]
|
|
4103
|
+
subshellRoutes: ["/crm"],
|
|
4104
|
+
navEntry: {
|
|
4105
|
+
label: "CRM",
|
|
4106
|
+
icon: IconAddressBook,
|
|
4107
|
+
link: "/crm",
|
|
4108
|
+
featureKey: "acquisition"
|
|
4109
|
+
}
|
|
4107
4110
|
};
|
|
4108
4111
|
var LeadGenSidebarTop = () => {
|
|
4109
4112
|
return /* @__PURE__ */ jsx(SubshellSidebarSection, { icon: IconTarget, label: "Lead Gen" });
|
|
@@ -4138,13 +4141,17 @@ var LeadGenSidebar = () => {
|
|
|
4138
4141
|
/* @__PURE__ */ jsx(LeadGenSidebarMiddle, {})
|
|
4139
4142
|
] });
|
|
4140
4143
|
};
|
|
4141
|
-
|
|
4142
|
-
// src/features/lead-gen/manifest.ts
|
|
4143
4144
|
var leadGenManifest = {
|
|
4144
4145
|
key: "lead-gen",
|
|
4145
4146
|
label: "Lead Gen",
|
|
4146
4147
|
sidebar: LeadGenSidebar,
|
|
4147
|
-
subshellRoutes: ["/lead-gen"]
|
|
4148
|
+
subshellRoutes: ["/lead-gen"],
|
|
4149
|
+
navEntry: {
|
|
4150
|
+
label: "Lead Gen",
|
|
4151
|
+
icon: IconTarget,
|
|
4152
|
+
link: "/lead-gen",
|
|
4153
|
+
featureKey: "acquisition"
|
|
4154
|
+
}
|
|
4148
4155
|
};
|
|
4149
4156
|
var SEOSidebarTop = () => {
|
|
4150
4157
|
return /* @__PURE__ */ jsx(SubshellSidebarSection, { icon: IconSearch, label: "SEO" });
|
|
@@ -150,7 +150,7 @@ declare const DOMAINS: {
|
|
|
150
150
|
*/
|
|
151
151
|
type ResourceDomain = (typeof DOMAINS)[keyof typeof DOMAINS];
|
|
152
152
|
|
|
153
|
-
interface
|
|
153
|
+
interface OperationsOverviewProps {
|
|
154
154
|
/**
|
|
155
155
|
* Active time range for all metrics queries.
|
|
156
156
|
*/
|
|
@@ -202,7 +202,13 @@ interface DashboardProps {
|
|
|
202
202
|
*/
|
|
203
203
|
renderTrendChart?: (data: DashboardMetrics['executionHealth'] | undefined, isLoading: boolean, error?: Error) => ReactNode;
|
|
204
204
|
}
|
|
205
|
-
declare function
|
|
205
|
+
declare function OperationsOverview({ timeRange, onResourceClick, onErrorsNavigate, onCommandQueueNavigate, onScheduledTasksNavigate, renderTrendChart }: OperationsOverviewProps): react_jsx_runtime.JSX.Element;
|
|
206
|
+
type DashboardProps = OperationsOverviewProps;
|
|
207
|
+
/**
|
|
208
|
+
* @deprecated Use `OperationsOverview` instead. `Dashboard` remains as a
|
|
209
|
+
* compatibility export while consumer apps migrate route ownership.
|
|
210
|
+
*/
|
|
211
|
+
declare const Dashboard: typeof OperationsOverview;
|
|
206
212
|
|
|
207
213
|
interface DisplayResource {
|
|
208
214
|
resourceId: string;
|
|
@@ -264,7 +270,11 @@ interface FeatureModule {
|
|
|
264
270
|
subshellRoutes?: string[];
|
|
265
271
|
}
|
|
266
272
|
|
|
273
|
+
/**
|
|
274
|
+
* Compatibility manifest for existing consumers that still register a
|
|
275
|
+
* top-level dashboard nav entry. Host apps should eventually own this nav item.
|
|
276
|
+
*/
|
|
267
277
|
declare const dashboardManifest: FeatureModule;
|
|
268
278
|
|
|
269
|
-
export { Dashboard, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest };
|
|
270
|
-
export type { DashboardProps, DisplayResource, RecentExecutionsByResourceProps, ResourceOverviewProps, UnresolvedErrorsTeaserProps };
|
|
279
|
+
export { Dashboard, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest };
|
|
280
|
+
export type { DashboardProps, DisplayResource, OperationsOverviewProps, RecentExecutionsByResourceProps, ResourceOverviewProps, UnresolvedErrorsTeaserProps };
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
export { Dashboard, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest } from '../../chunk-
|
|
1
|
+
export { Dashboard, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest } from '../../chunk-N5BS2VIA.js';
|
|
2
2
|
import '../../chunk-LGKLC5MG.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-JHVKGZ2P.js';
|
|
3
|
+
import '../../chunk-YUAE4IVA.js';
|
|
5
4
|
import '../../chunk-MCA6LOGM.js';
|
|
6
5
|
import '../../chunk-3KMDHCAR.js';
|
|
7
6
|
import '../../chunk-NNKKBSJN.js';
|
|
8
7
|
import '../../chunk-YYBM5LNJ.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-7QNDXJQW.js';
|
|
9
|
+
import '../../chunk-P6EELWRV.js';
|
|
11
10
|
import '../../chunk-LXHZYSMQ.js';
|
|
12
11
|
import '../../chunk-F6RBK7NJ.js';
|
|
13
12
|
import '../../chunk-XA34RETF.js';
|
|
14
13
|
import '../../chunk-ELJIFLCB.js';
|
|
15
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-ZT754TNZ.js';
|
|
16
15
|
import '../../chunk-SZHARWKU.js';
|
|
17
16
|
import '../../chunk-TXPUIHX2.js';
|
|
18
17
|
import '../../chunk-CYXZHBP4.js';
|
|
19
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-VB4MVOPL.js';
|
|
20
19
|
import '../../chunk-5COLSYBE.js';
|
|
21
20
|
import '../../chunk-NVOCKXUQ.js';
|
|
22
21
|
import '../../chunk-2IFYDILW.js';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-
|
|
1
|
+
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-ZNG35YAN.js';
|
|
2
2
|
import '../../chunk-PDHTXPSF.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-KP6LNTMH.js';
|
|
3
|
+
import '../../chunk-YVDYRV4Q.js';
|
|
5
4
|
import '../../chunk-GBMNCNHX.js';
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-LGKLC5MG.js';
|
|
6
|
+
import '../../chunk-YUAE4IVA.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-
|
|
12
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-7QNDXJQW.js';
|
|
12
|
+
import '../../chunk-P6EELWRV.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-
|
|
17
|
+
import '../../chunk-ZT754TNZ.js';
|
|
18
18
|
import '../../chunk-SZHARWKU.js';
|
|
19
19
|
import '../../chunk-TXPUIHX2.js';
|
|
20
20
|
import '../../chunk-CYXZHBP4.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-VB4MVOPL.js';
|
|
22
22
|
import '../../chunk-5COLSYBE.js';
|
|
23
23
|
import '../../chunk-NVOCKXUQ.js';
|
|
24
24
|
import '../../chunk-2IFYDILW.js';
|
|
@@ -1164,6 +1164,68 @@ interface ResourceMetricsConfig {
|
|
|
1164
1164
|
* Time range selector for dashboard metrics
|
|
1165
1165
|
*/
|
|
1166
1166
|
type TimeRange = '1h' | '24h' | '7d' | '30d';
|
|
1167
|
+
/**
|
|
1168
|
+
* Execution health metrics response
|
|
1169
|
+
* Success rate, P95 duration, execution counts, and trend data
|
|
1170
|
+
* trendData includes executionCount for throughput visualization (eliminates separate API call)
|
|
1171
|
+
*/
|
|
1172
|
+
interface ExecutionHealthMetrics {
|
|
1173
|
+
successRate: number;
|
|
1174
|
+
p95Duration: number;
|
|
1175
|
+
totalExecutions: number;
|
|
1176
|
+
trendData: Array<{
|
|
1177
|
+
time: string;
|
|
1178
|
+
rate: number;
|
|
1179
|
+
successCount: number;
|
|
1180
|
+
errorCount: number;
|
|
1181
|
+
warningCount: number;
|
|
1182
|
+
executionCount: number;
|
|
1183
|
+
}>;
|
|
1184
|
+
statusCounts: {
|
|
1185
|
+
success: number;
|
|
1186
|
+
failed: number;
|
|
1187
|
+
pending: number;
|
|
1188
|
+
warning: number;
|
|
1189
|
+
};
|
|
1190
|
+
peakPeriod: string;
|
|
1191
|
+
granularity: 'hour' | 'day';
|
|
1192
|
+
}
|
|
1193
|
+
/**
|
|
1194
|
+
* Business impact metrics response
|
|
1195
|
+
* ROI, labor savings, and cost analysis
|
|
1196
|
+
*/
|
|
1197
|
+
interface BusinessImpactMetrics {
|
|
1198
|
+
totalSavingsUsd: number;
|
|
1199
|
+
totalCostUsd: number;
|
|
1200
|
+
netSavingsUsd: number;
|
|
1201
|
+
roi: number;
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* Cost breakdown metrics response
|
|
1205
|
+
* Per-resource cost analysis
|
|
1206
|
+
*/
|
|
1207
|
+
interface CostBreakdownMetrics {
|
|
1208
|
+
resources: Array<{
|
|
1209
|
+
resourceId: string;
|
|
1210
|
+
totalCostUsd: number;
|
|
1211
|
+
executionCount: number;
|
|
1212
|
+
avgCostUsd: number;
|
|
1213
|
+
}>;
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* Dashboard metrics response
|
|
1217
|
+
* Aggregates core observability metrics in a single response
|
|
1218
|
+
* Note: Throughput data is now included in executionHealth.trendData.executionCount
|
|
1219
|
+
*/
|
|
1220
|
+
interface DashboardMetrics {
|
|
1221
|
+
executionHealth: ExecutionHealthMetrics;
|
|
1222
|
+
costBreakdown: CostBreakdownMetrics;
|
|
1223
|
+
businessImpact: BusinessImpactMetrics;
|
|
1224
|
+
/** ISO timestamp of the currently active deployment, or null if none */
|
|
1225
|
+
activeDeploymentDate: string | null;
|
|
1226
|
+
/** Deployment version of the active deployment, or null if none */
|
|
1227
|
+
activeDeploymentVersion: string | null;
|
|
1228
|
+
}
|
|
1167
1229
|
|
|
1168
1230
|
/**
|
|
1169
1231
|
* AIUsageCollector
|
|
@@ -1510,6 +1572,113 @@ interface ResourcesPageProps {
|
|
|
1510
1572
|
}
|
|
1511
1573
|
declare function ResourcesPage({ initialFilter, onTypeChange, timeRange, onResourceClick, pageSize }: ResourcesPageProps): react_jsx_runtime.JSX.Element;
|
|
1512
1574
|
|
|
1575
|
+
interface OperationsOverviewProps {
|
|
1576
|
+
/**
|
|
1577
|
+
* Active time range for all metrics queries.
|
|
1578
|
+
*/
|
|
1579
|
+
timeRange: TimeRange;
|
|
1580
|
+
/**
|
|
1581
|
+
* Business-impact metrics computed by the CC wrapper.
|
|
1582
|
+
* Stays CC-local per decision lock #4.
|
|
1583
|
+
* TODO(Wave 2): thread to HeroStatsRow once the CC wrapper wires it through.
|
|
1584
|
+
*/
|
|
1585
|
+
businessImpact?: ReturnType<() => {
|
|
1586
|
+
data: BusinessImpactMetrics | undefined;
|
|
1587
|
+
isLoading: boolean;
|
|
1588
|
+
}>;
|
|
1589
|
+
/**
|
|
1590
|
+
* Cost breakdown metrics computed by the CC wrapper.
|
|
1591
|
+
* Stays CC-local per decision lock #4.
|
|
1592
|
+
* TODO(Wave 2): thread to HeroStatsRow once the CC wrapper wires it through.
|
|
1593
|
+
*/
|
|
1594
|
+
costBreakdown?: ReturnType<() => {
|
|
1595
|
+
data: CostBreakdownMetrics | undefined;
|
|
1596
|
+
isLoading: boolean;
|
|
1597
|
+
}>;
|
|
1598
|
+
/**
|
|
1599
|
+
* Called when the user clicks a resource card.
|
|
1600
|
+
*/
|
|
1601
|
+
onResourceClick?: (params: {
|
|
1602
|
+
resourceId: string;
|
|
1603
|
+
resourceType?: string;
|
|
1604
|
+
}) => void;
|
|
1605
|
+
/**
|
|
1606
|
+
* Called when the user wants to drill into the unresolved errors view.
|
|
1607
|
+
*/
|
|
1608
|
+
onErrorsNavigate?: () => void;
|
|
1609
|
+
/**
|
|
1610
|
+
* Called when the user wants to navigate to the command queue.
|
|
1611
|
+
* Minor refinement over locked props shape — OperationalOverview has this link target.
|
|
1612
|
+
*/
|
|
1613
|
+
onCommandQueueNavigate?: () => void;
|
|
1614
|
+
/**
|
|
1615
|
+
* Called when the user wants to navigate to the task scheduler.
|
|
1616
|
+
* Minor refinement over locked props shape — OperationalOverview has this link target.
|
|
1617
|
+
*/
|
|
1618
|
+
onScheduledTasksNavigate?: () => void;
|
|
1619
|
+
/**
|
|
1620
|
+
* Custom render function for the execution trend chart.
|
|
1621
|
+
* The wrapper owns the chart implementation (CC uses its monitoring-local CombinedTrendChart).
|
|
1622
|
+
* Receives executionHealth data, loading state, and error from useDashboardMetrics.
|
|
1623
|
+
* If omitted, the trend chart section is not rendered.
|
|
1624
|
+
*/
|
|
1625
|
+
renderTrendChart?: (data: DashboardMetrics['executionHealth'] | undefined, isLoading: boolean, error?: Error) => ReactNode;
|
|
1626
|
+
}
|
|
1627
|
+
declare function OperationsOverview({ timeRange, onResourceClick, onErrorsNavigate, onCommandQueueNavigate, onScheduledTasksNavigate, renderTrendChart }: OperationsOverviewProps): react_jsx_runtime.JSX.Element;
|
|
1628
|
+
|
|
1629
|
+
interface EventSourceMessage {
|
|
1630
|
+
id: string;
|
|
1631
|
+
event: string;
|
|
1632
|
+
data: string;
|
|
1633
|
+
retry?: number;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
interface FetchEventSourceWithTokenRefreshOptions {
|
|
1637
|
+
url: string;
|
|
1638
|
+
getToken: () => Promise<string | undefined>;
|
|
1639
|
+
headers?: Record<string, string>;
|
|
1640
|
+
signal: AbortSignal;
|
|
1641
|
+
/** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
|
|
1642
|
+
tokenRefreshDelayMs?: number;
|
|
1643
|
+
onopen?: (response: Response) => void | Promise<void>;
|
|
1644
|
+
onmessage?: (event: EventSourceMessage) => void;
|
|
1645
|
+
onerror?: (error: unknown) => void;
|
|
1646
|
+
onclose?: () => void;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
interface SSEConnectionManagerLike {
|
|
1650
|
+
subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
|
|
1651
|
+
closeConnection(key: string): void;
|
|
1652
|
+
getConnectionInfo(): Map<string, {
|
|
1653
|
+
url: string;
|
|
1654
|
+
subscribers: number;
|
|
1655
|
+
}>;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
interface FeatureNavLink {
|
|
1659
|
+
label: string;
|
|
1660
|
+
link: string;
|
|
1661
|
+
featureKey?: string;
|
|
1662
|
+
onClick?: () => void;
|
|
1663
|
+
}
|
|
1664
|
+
interface FeatureNavEntry {
|
|
1665
|
+
label: string;
|
|
1666
|
+
icon: ComponentType;
|
|
1667
|
+
link?: string;
|
|
1668
|
+
featureKey?: string;
|
|
1669
|
+
requiresAdmin?: boolean;
|
|
1670
|
+
dataOnboardingTourId?: string;
|
|
1671
|
+
links?: FeatureNavLink[];
|
|
1672
|
+
}
|
|
1673
|
+
type FeatureSidebarComponent = ComponentType;
|
|
1674
|
+
interface FeatureModule {
|
|
1675
|
+
key: string;
|
|
1676
|
+
label?: string;
|
|
1677
|
+
navEntry?: FeatureNavEntry;
|
|
1678
|
+
sidebar?: FeatureSidebarComponent;
|
|
1679
|
+
subshellRoutes?: string[];
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1513
1682
|
interface ResourcesSidebarProps {
|
|
1514
1683
|
timeRange: TimeRange;
|
|
1515
1684
|
}
|
|
@@ -1565,35 +1734,6 @@ interface ExecuteAsyncResult {
|
|
|
1565
1734
|
resourceId: string;
|
|
1566
1735
|
}
|
|
1567
1736
|
|
|
1568
|
-
interface EventSourceMessage {
|
|
1569
|
-
id: string;
|
|
1570
|
-
event: string;
|
|
1571
|
-
data: string;
|
|
1572
|
-
retry?: number;
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
interface FetchEventSourceWithTokenRefreshOptions {
|
|
1576
|
-
url: string;
|
|
1577
|
-
getToken: () => Promise<string | undefined>;
|
|
1578
|
-
headers?: Record<string, string>;
|
|
1579
|
-
signal: AbortSignal;
|
|
1580
|
-
/** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
|
|
1581
|
-
tokenRefreshDelayMs?: number;
|
|
1582
|
-
onopen?: (response: Response) => void | Promise<void>;
|
|
1583
|
-
onmessage?: (event: EventSourceMessage) => void;
|
|
1584
|
-
onerror?: (error: unknown) => void;
|
|
1585
|
-
onclose?: () => void;
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
interface SSEConnectionManagerLike {
|
|
1589
|
-
subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
|
|
1590
|
-
closeConnection(key: string): void;
|
|
1591
|
-
getConnectionInfo(): Map<string, {
|
|
1592
|
-
url: string;
|
|
1593
|
-
subscribers: number;
|
|
1594
|
-
}>;
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
1737
|
interface UseExecutionPanelStateOptions {
|
|
1598
1738
|
resourceId: string;
|
|
1599
1739
|
manager: SSEConnectionManagerLike;
|
|
@@ -1610,30 +1750,6 @@ interface UseExecutionPanelStateOptions {
|
|
|
1610
1750
|
|
|
1611
1751
|
type TaskFilterStatus = 'all' | 'pending' | 'completed' | 'expired';
|
|
1612
1752
|
|
|
1613
|
-
interface FeatureNavLink {
|
|
1614
|
-
label: string;
|
|
1615
|
-
link: string;
|
|
1616
|
-
featureKey?: string;
|
|
1617
|
-
onClick?: () => void;
|
|
1618
|
-
}
|
|
1619
|
-
interface FeatureNavEntry {
|
|
1620
|
-
label: string;
|
|
1621
|
-
icon: ComponentType;
|
|
1622
|
-
link?: string;
|
|
1623
|
-
featureKey?: string;
|
|
1624
|
-
requiresAdmin?: boolean;
|
|
1625
|
-
dataOnboardingTourId?: string;
|
|
1626
|
-
links?: FeatureNavLink[];
|
|
1627
|
-
}
|
|
1628
|
-
type FeatureSidebarComponent = ComponentType;
|
|
1629
|
-
interface FeatureModule {
|
|
1630
|
-
key: string;
|
|
1631
|
-
label?: string;
|
|
1632
|
-
navEntry?: FeatureNavEntry;
|
|
1633
|
-
sidebar?: FeatureSidebarComponent;
|
|
1634
|
-
subshellRoutes?: string[];
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
1753
|
interface CommandQueuePageProps {
|
|
1638
1754
|
timeRange?: TimeRange;
|
|
1639
1755
|
pageSize?: number;
|
|
@@ -2084,5 +2200,5 @@ declare function CommandQueueShell({ selectedCheckpoint, onSelectCheckpoint, sta
|
|
|
2084
2200
|
|
|
2085
2201
|
declare const operationsManifest: FeatureModule;
|
|
2086
2202
|
|
|
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 };
|
|
2203
|
+
export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel, operationsManifest };
|
|
2204
|
+
export type { AgentExecutionPanelProps, AgentSessionGroupProps, CalibrationPageProps, CalibrationProgressProps, CalibrationProjectDetailPageProps, CalibrationProjectDetailPageRenderCreateModalArgs, CalibrationProjectDetailPageRenderRunCardArgs, CalibrationProjectsPageProps, CalibrationRunDetailPageProps, CalibrationSidebarProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandQueueShellProps, CommandViewPageProps, CommandViewSidebarContentProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, OperationsOverviewProps, ResourceDetailPageProps, ResourceDetailPageRenderExecutionPanelArgs, ResourceExecuteDialogProps, ResourceExecuteFormProps, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, TaskFilterStatus, WorkflowExecutionPanelProps };
|