@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.
package/dist/index.d.ts CHANGED
@@ -6843,51 +6843,9 @@ interface FetchEventSourceWithTokenRefreshOptions {
6843
6843
  onclose?: () => void;
6844
6844
  }
6845
6845
 
6846
- interface SSEConnectionManagerOptions {
6847
- /** Grace period in ms before closing idle connections. Defaults to 5000. */
6848
- closeGracePeriodMs?: number;
6849
- }
6850
- /**
6851
- * SSE Connection Manager
6852
- *
6853
- * Ensures only ONE SSE connection exists per endpoint, preventing duplicate
6854
- * connections when components re-render or remount.
6855
- *
6856
- * Benefits:
6857
- * - Prevents resource waste from duplicate connections
6858
- * - Eliminates race conditions from overlapping connections
6859
- * - Automatically manages connection lifecycle
6860
- * - Shares single connection across multiple subscribers
6861
- */
6862
- declare class SSEConnectionManager {
6863
- private connections;
6864
- private closeGracePeriodMs;
6865
- constructor(options?: SSEConnectionManagerOptions);
6866
- /**
6867
- * Subscribe to an SSE endpoint
6868
- *
6869
- * If a connection already exists for this endpoint, reuses it.
6870
- * Otherwise, creates a new connection.
6871
- *
6872
- * @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
6873
- * @param subscriberId - Unique identifier for this subscriber (usually component instance)
6874
- * @param options - SSE connection options
6875
- * @returns Unsubscribe function to call when component unmounts
6876
- */
6846
+ interface SSEConnectionManagerLike {
6877
6847
  subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
6878
- /**
6879
- * Unsubscribe from an SSE endpoint
6880
- *
6881
- * If this is the last subscriber, closes the connection after grace period.
6882
- */
6883
- private unsubscribe;
6884
- /**
6885
- * Force close a connection and all its subscribers
6886
- */
6887
6848
  closeConnection(key: string): void;
6888
- /**
6889
- * Get current connection status
6890
- */
6891
6849
  getConnectionInfo(): Map<string, {
6892
6850
  url: string;
6893
6851
  subscribers: number;
@@ -6924,7 +6882,7 @@ interface ElevasisFeaturesProviderProps {
6924
6882
  features: FeatureModule[];
6925
6883
  timeRange?: TimeRange;
6926
6884
  operationsApiUrl?: string;
6927
- operationsSSEManager?: SSEConnectionManager;
6885
+ operationsSSEManager?: SSEConnectionManagerLike;
6928
6886
  children: ReactNode;
6929
6887
  }
6930
6888
  interface ElevasisFeaturesContextValue {
@@ -6933,12 +6891,13 @@ interface ElevasisFeaturesContextValue {
6933
6891
  allFeatures: FeatureModule[];
6934
6892
  timeRange?: TimeRange;
6935
6893
  operationsApiUrl?: string;
6936
- operationsSSEManager?: SSEConnectionManager;
6894
+ operationsSSEManager?: SSEConnectionManagerLike;
6937
6895
  isFeatureEnabled: (key: string) => boolean;
6938
6896
  getFeature: (key: string) => FeatureModule | undefined;
6939
6897
  }
6940
6898
 
6941
6899
  declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
6900
+ declare function useOptionalElevasisFeatures(): ElevasisFeaturesContextValue | null;
6942
6901
  declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
6943
6902
 
6944
6903
  declare function FeatureShell({ children }: {
@@ -11142,7 +11101,7 @@ declare function createUseFeatureAccess({ useInitialization, useOrganization }:
11142
11101
  };
11143
11102
 
11144
11103
  interface UseSSEConnectionOptions {
11145
- manager: SSEConnectionManager;
11104
+ manager: SSEConnectionManagerLike;
11146
11105
  /** Shared connection key — all subscribers with the same key share ONE connection. */
11147
11106
  connectionKey: string;
11148
11107
  url: string;
@@ -11689,7 +11648,7 @@ declare const operationsKeys: {
11689
11648
  session: (org: string, sessionId: string) => readonly ["operations", "session", string, string];
11690
11649
  };
11691
11650
 
11692
- declare function useExecutionLogSSE(resourceId: string, manager: SSEConnectionManager, apiUrl: string): {
11651
+ declare function useExecutionLogSSE(resourceId: string, manager: SSEConnectionManagerLike, apiUrl: string): {
11693
11652
  liveExecutions: Set<string>;
11694
11653
  connected: boolean;
11695
11654
  error: string | null;
@@ -11700,7 +11659,7 @@ declare function useExecutionLogSSE(resourceId: string, manager: SSEConnectionMa
11700
11659
 
11701
11660
  interface UseExecutionPanelStateOptions {
11702
11661
  resourceId: string;
11703
- manager: SSEConnectionManager;
11662
+ manager: SSEConnectionManagerLike;
11704
11663
  /**
11705
11664
  * Base URL of the API server (e.g. 'https://api.elevasis.io' or 'http://localhost:5170').
11706
11665
  * Provided by the consuming app -- the library does not read environment variables directly.
@@ -12143,7 +12102,7 @@ interface CalibrationProgress {
12143
12102
  }
12144
12103
  interface UseCalibrationSSEOptions {
12145
12104
  runId: string;
12146
- manager: SSEConnectionManager;
12105
+ manager: SSEConnectionManagerLike;
12147
12106
  apiUrl: string;
12148
12107
  enabled?: boolean;
12149
12108
  }
@@ -12270,6 +12229,351 @@ interface CompleteDealTaskParams {
12270
12229
  */
12271
12230
  declare function useCompleteDealTask(): _tanstack_react_query.UseMutationResult<AcqDealTask, Error, CompleteDealTaskParams, unknown>;
12272
12231
 
12232
+ declare const acquisitionListKeys: {
12233
+ all: readonly ["acquisition-lists"];
12234
+ list: (organizationId: string | null) => readonly ["acquisition-lists", string | null];
12235
+ detail: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", string | null, string];
12236
+ telemetry: (organizationId: string | null) => readonly ["acquisition-lists", "telemetry", string | null];
12237
+ progress: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", "progress", string | null, string];
12238
+ executions: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", "executions", string | null, string];
12239
+ };
12240
+ declare function useLists(): _tanstack_react_query.UseQueryResult<{
12241
+ id: string;
12242
+ organizationId: string;
12243
+ name: string;
12244
+ description: string | null;
12245
+ type: string;
12246
+ batchIds: string[];
12247
+ instantlyCampaignId: string | null;
12248
+ status: string;
12249
+ metadata: Record<string, unknown>;
12250
+ launchedAt: string | null;
12251
+ completedAt: string | null;
12252
+ createdAt: string;
12253
+ config: {
12254
+ qualification: {
12255
+ targetDescription: string;
12256
+ minReviewCount: number;
12257
+ minRating: number;
12258
+ excludeFranchises: boolean;
12259
+ customRules: string;
12260
+ };
12261
+ enrichment?: {
12262
+ emailDiscovery?: {
12263
+ primary: "tomba" | "anymailfinder";
12264
+ credentialName?: string | undefined;
12265
+ } | undefined;
12266
+ emailVerification?: {
12267
+ provider: "millionverifier";
12268
+ threshold?: "ok" | "ok+catch_all" | undefined;
12269
+ } | undefined;
12270
+ } | undefined;
12271
+ personalization?: {
12272
+ industryContext?: string | undefined;
12273
+ emailBody?: string | undefined;
12274
+ creativeDirection?: string | undefined;
12275
+ exclusionRules?: string[] | undefined;
12276
+ } | undefined;
12277
+ pipeline?: {
12278
+ steps: {
12279
+ key: string;
12280
+ label: string;
12281
+ resourceId: string;
12282
+ inputTemplate: Record<string, unknown>;
12283
+ enabled: boolean;
12284
+ order: number;
12285
+ }[];
12286
+ } | undefined;
12287
+ };
12288
+ }[], Error>;
12289
+ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
12290
+ id: string;
12291
+ organizationId: string;
12292
+ name: string;
12293
+ description: string | null;
12294
+ type: string;
12295
+ batchIds: string[];
12296
+ instantlyCampaignId: string | null;
12297
+ status: string;
12298
+ metadata: Record<string, unknown>;
12299
+ launchedAt: string | null;
12300
+ completedAt: string | null;
12301
+ createdAt: string;
12302
+ config: {
12303
+ qualification: {
12304
+ targetDescription: string;
12305
+ minReviewCount: number;
12306
+ minRating: number;
12307
+ excludeFranchises: boolean;
12308
+ customRules: string;
12309
+ };
12310
+ enrichment?: {
12311
+ emailDiscovery?: {
12312
+ primary: "tomba" | "anymailfinder";
12313
+ credentialName?: string | undefined;
12314
+ } | undefined;
12315
+ emailVerification?: {
12316
+ provider: "millionverifier";
12317
+ threshold?: "ok" | "ok+catch_all" | undefined;
12318
+ } | undefined;
12319
+ } | undefined;
12320
+ personalization?: {
12321
+ industryContext?: string | undefined;
12322
+ emailBody?: string | undefined;
12323
+ creativeDirection?: string | undefined;
12324
+ exclusionRules?: string[] | undefined;
12325
+ } | undefined;
12326
+ pipeline?: {
12327
+ steps: {
12328
+ key: string;
12329
+ label: string;
12330
+ resourceId: string;
12331
+ inputTemplate: Record<string, unknown>;
12332
+ enabled: boolean;
12333
+ order: number;
12334
+ }[];
12335
+ } | undefined;
12336
+ };
12337
+ }, Error>;
12338
+ declare function useListsTelemetry(): _tanstack_react_query.UseQueryResult<ListTelemetry[], Error>;
12339
+ declare function useListProgress(listId: string): _tanstack_react_query.UseQueryResult<ListTelemetry, Error>;
12340
+ declare function useListExecutions(listId: string): _tanstack_react_query.UseQueryResult<{
12341
+ executionId: string;
12342
+ resourceId: string;
12343
+ status: string;
12344
+ createdAt: string;
12345
+ completedAt: string | null;
12346
+ durationMs: number | null;
12347
+ }[], Error>;
12348
+ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
12349
+ id: string;
12350
+ organizationId: string;
12351
+ name: string;
12352
+ description: string | null;
12353
+ type: string;
12354
+ batchIds: string[];
12355
+ instantlyCampaignId: string | null;
12356
+ status: string;
12357
+ metadata: Record<string, unknown>;
12358
+ launchedAt: string | null;
12359
+ completedAt: string | null;
12360
+ createdAt: string;
12361
+ config: {
12362
+ qualification: {
12363
+ targetDescription: string;
12364
+ minReviewCount: number;
12365
+ minRating: number;
12366
+ excludeFranchises: boolean;
12367
+ customRules: string;
12368
+ };
12369
+ enrichment?: {
12370
+ emailDiscovery?: {
12371
+ primary: "tomba" | "anymailfinder";
12372
+ credentialName?: string | undefined;
12373
+ } | undefined;
12374
+ emailVerification?: {
12375
+ provider: "millionverifier";
12376
+ threshold?: "ok" | "ok+catch_all" | undefined;
12377
+ } | undefined;
12378
+ } | undefined;
12379
+ personalization?: {
12380
+ industryContext?: string | undefined;
12381
+ emailBody?: string | undefined;
12382
+ creativeDirection?: string | undefined;
12383
+ exclusionRules?: string[] | undefined;
12384
+ } | undefined;
12385
+ pipeline?: {
12386
+ steps: {
12387
+ key: string;
12388
+ label: string;
12389
+ resourceId: string;
12390
+ inputTemplate: Record<string, unknown>;
12391
+ enabled: boolean;
12392
+ order: number;
12393
+ }[];
12394
+ } | undefined;
12395
+ };
12396
+ }, Error, {
12397
+ name: string;
12398
+ type: string;
12399
+ description?: string | null | undefined;
12400
+ config?: {
12401
+ qualification: {
12402
+ targetDescription: string;
12403
+ minReviewCount: number;
12404
+ minRating: number;
12405
+ excludeFranchises: boolean;
12406
+ customRules: string;
12407
+ };
12408
+ enrichment?: {
12409
+ emailDiscovery?: {
12410
+ primary: "tomba" | "anymailfinder";
12411
+ credentialName?: string | undefined;
12412
+ } | undefined;
12413
+ emailVerification?: {
12414
+ provider: "millionverifier";
12415
+ threshold?: "ok" | "ok+catch_all" | undefined;
12416
+ } | undefined;
12417
+ } | undefined;
12418
+ personalization?: {
12419
+ industryContext?: string | undefined;
12420
+ emailBody?: string | undefined;
12421
+ creativeDirection?: string | undefined;
12422
+ exclusionRules?: string[] | undefined;
12423
+ } | undefined;
12424
+ pipeline?: {
12425
+ steps: {
12426
+ key: string;
12427
+ label: string;
12428
+ resourceId: string;
12429
+ inputTemplate: Record<string, unknown>;
12430
+ enabled: boolean;
12431
+ order: number;
12432
+ }[];
12433
+ } | undefined;
12434
+ } | undefined;
12435
+ }, unknown>;
12436
+ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutationResult<{
12437
+ id: string;
12438
+ organizationId: string;
12439
+ name: string;
12440
+ description: string | null;
12441
+ type: string;
12442
+ batchIds: string[];
12443
+ instantlyCampaignId: string | null;
12444
+ status: string;
12445
+ metadata: Record<string, unknown>;
12446
+ launchedAt: string | null;
12447
+ completedAt: string | null;
12448
+ createdAt: string;
12449
+ config: {
12450
+ qualification: {
12451
+ targetDescription: string;
12452
+ minReviewCount: number;
12453
+ minRating: number;
12454
+ excludeFranchises: boolean;
12455
+ customRules: string;
12456
+ };
12457
+ enrichment?: {
12458
+ emailDiscovery?: {
12459
+ primary: "tomba" | "anymailfinder";
12460
+ credentialName?: string | undefined;
12461
+ } | undefined;
12462
+ emailVerification?: {
12463
+ provider: "millionverifier";
12464
+ threshold?: "ok" | "ok+catch_all" | undefined;
12465
+ } | undefined;
12466
+ } | undefined;
12467
+ personalization?: {
12468
+ industryContext?: string | undefined;
12469
+ emailBody?: string | undefined;
12470
+ creativeDirection?: string | undefined;
12471
+ exclusionRules?: string[] | undefined;
12472
+ } | undefined;
12473
+ pipeline?: {
12474
+ steps: {
12475
+ key: string;
12476
+ label: string;
12477
+ resourceId: string;
12478
+ inputTemplate: Record<string, unknown>;
12479
+ enabled: boolean;
12480
+ order: number;
12481
+ }[];
12482
+ } | undefined;
12483
+ };
12484
+ }, Error, {
12485
+ name?: string | undefined;
12486
+ description?: string | null | undefined;
12487
+ status?: string | undefined;
12488
+ }, unknown>;
12489
+ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseMutationResult<{
12490
+ id: string;
12491
+ organizationId: string;
12492
+ name: string;
12493
+ description: string | null;
12494
+ type: string;
12495
+ batchIds: string[];
12496
+ instantlyCampaignId: string | null;
12497
+ status: string;
12498
+ metadata: Record<string, unknown>;
12499
+ launchedAt: string | null;
12500
+ completedAt: string | null;
12501
+ createdAt: string;
12502
+ config: {
12503
+ qualification: {
12504
+ targetDescription: string;
12505
+ minReviewCount: number;
12506
+ minRating: number;
12507
+ excludeFranchises: boolean;
12508
+ customRules: string;
12509
+ };
12510
+ enrichment?: {
12511
+ emailDiscovery?: {
12512
+ primary: "tomba" | "anymailfinder";
12513
+ credentialName?: string | undefined;
12514
+ } | undefined;
12515
+ emailVerification?: {
12516
+ provider: "millionverifier";
12517
+ threshold?: "ok" | "ok+catch_all" | undefined;
12518
+ } | undefined;
12519
+ } | undefined;
12520
+ personalization?: {
12521
+ industryContext?: string | undefined;
12522
+ emailBody?: string | undefined;
12523
+ creativeDirection?: string | undefined;
12524
+ exclusionRules?: string[] | undefined;
12525
+ } | undefined;
12526
+ pipeline?: {
12527
+ steps: {
12528
+ key: string;
12529
+ label: string;
12530
+ resourceId: string;
12531
+ inputTemplate: Record<string, unknown>;
12532
+ enabled: boolean;
12533
+ order: number;
12534
+ }[];
12535
+ } | undefined;
12536
+ };
12537
+ }, Error, {
12538
+ qualification?: {
12539
+ targetDescription?: string | undefined;
12540
+ minReviewCount?: number | undefined;
12541
+ minRating?: number | undefined;
12542
+ excludeFranchises?: boolean | undefined;
12543
+ customRules?: string | undefined;
12544
+ } | undefined;
12545
+ enrichment?: {
12546
+ emailDiscovery?: {
12547
+ primary: "tomba" | "anymailfinder";
12548
+ credentialName?: string | undefined;
12549
+ } | undefined;
12550
+ emailVerification?: {
12551
+ provider: "millionverifier";
12552
+ threshold?: "ok" | "ok+catch_all" | undefined;
12553
+ } | undefined;
12554
+ } | undefined;
12555
+ personalization?: {
12556
+ industryContext?: string | undefined;
12557
+ emailBody?: string | undefined;
12558
+ creativeDirection?: string | undefined;
12559
+ exclusionRules?: string[] | undefined;
12560
+ } | undefined;
12561
+ pipeline?: {
12562
+ steps?: {
12563
+ key: string;
12564
+ label: string;
12565
+ resourceId: string;
12566
+ inputTemplate: Record<string, unknown>;
12567
+ enabled: boolean;
12568
+ order: number;
12569
+ }[] | undefined;
12570
+ } | undefined;
12571
+ }, unknown>;
12572
+ declare function useDeleteList(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
12573
+
12574
+ /**
12575
+ * Deprecated alias retained until the remaining batch-oriented callers are removed.
12576
+ */
12273
12577
  declare function useBatchTelemetry(): _tanstack_react_query.UseQueryResult<ListTelemetry[], Error>;
12274
12578
 
12275
12579
  // Row types from Supabase
@@ -13069,5 +13373,5 @@ declare function InitializationProvider({ children }: {
13069
13373
  children: ReactNode;
13070
13374
  }): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
13071
13375
 
13072
- export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calculateBarPosition, calculateGraphHeight, calibrationKeys, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectKeys, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useAllCalibrationProjects, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateProject$1 as useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteApiKey, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteMilestone, useDeleteProject$1 as useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphHighlighting, useGraphStats, useInitialization, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePresetsContext, useProfile, useProject, useProjectNotes, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateProject$1 as useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
13376
+ export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, calibrationKeys, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectKeys, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useAllCalibrationProjects, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateProject$1 as useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteApiKey, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteProject$1 as useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphHighlighting, useGraphStats, useInitialization, useList, useListApiKeys, useListDeployments, useListExecutions, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisFeatures, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePresetsContext, useProfile, useProject, useProjectNotes, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateMemberConfig, useUpdateMilestone, useUpdateProject$1 as useUpdateProject, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
13073
13377
  export type { AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CalibrationProgress, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DealDetail, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, DocFile, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus$1 as ExecutionStatus, FailingResource, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureRegistry, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrganizationContextValue, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, ResourcesResponse, RetryExecutionParams, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseCalibrationSSEOptions, UseExecuteWorkflowOptions, UseExecuteWorkflowParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import './chunk-XCYKC6OZ.js';
2
2
  export { useAvailablePresets } from './chunk-QTD5HPKD.js';
3
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-7CJ5QBN2.js';
4
- export { OperationsService, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, 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 as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-EBCIUZVV.js';
3
+ export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-BYZ7VTSH.js';
4
+ export { OperationsService, acquisitionListKeys, calibrationKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, 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 as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateList, useUpdateListConfig, useUpdateProject, useUpdateSchedule, useWarningNotification } from './chunk-EINVPEHK.js';
5
5
  export { observabilityKeys, useErrorTrends } from './chunk-LXHZYSMQ.js';
6
6
  export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-F6RBK7NJ.js';
7
7
  export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-XA34RETF.js';
8
8
  import './chunk-ELJIFLCB.js';
9
- export { ElevasisUIProvider } from './chunk-D25AE46Q.js';
9
+ export { ElevasisUIProvider } from './chunk-FW4S3Z5I.js';
10
10
  import './chunk-SZHARWKU.js';
11
11
  export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-TXPUIHX2.js';
12
12
  import './chunk-CYXZHBP4.js';
13
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter } from './chunk-KLG4H5NM.js';
13
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, createUseFeatureAccess, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from './chunk-45MS3IAW.js';
14
14
  import './chunk-5COLSYBE.js';
15
15
  export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-NVOCKXUQ.js';
16
16
  export { ScrollToTop, TanStackRouterBridge } from './chunk-2IFYDILW.js';
@@ -297,51 +297,9 @@ interface FetchEventSourceWithTokenRefreshOptions {
297
297
  onclose?: () => void;
298
298
  }
299
299
 
300
- interface SSEConnectionManagerOptions {
301
- /** Grace period in ms before closing idle connections. Defaults to 5000. */
302
- closeGracePeriodMs?: number;
303
- }
304
- /**
305
- * SSE Connection Manager
306
- *
307
- * Ensures only ONE SSE connection exists per endpoint, preventing duplicate
308
- * connections when components re-render or remount.
309
- *
310
- * Benefits:
311
- * - Prevents resource waste from duplicate connections
312
- * - Eliminates race conditions from overlapping connections
313
- * - Automatically manages connection lifecycle
314
- * - Shares single connection across multiple subscribers
315
- */
316
- declare class SSEConnectionManager {
317
- private connections;
318
- private closeGracePeriodMs;
319
- constructor(options?: SSEConnectionManagerOptions);
320
- /**
321
- * Subscribe to an SSE endpoint
322
- *
323
- * If a connection already exists for this endpoint, reuses it.
324
- * Otherwise, creates a new connection.
325
- *
326
- * @param key - Unique identifier for the connection (e.g., 'notifications', 'resource-executive-agent')
327
- * @param subscriberId - Unique identifier for this subscriber (usually component instance)
328
- * @param options - SSE connection options
329
- * @returns Unsubscribe function to call when component unmounts
330
- */
300
+ interface SSEConnectionManagerLike {
331
301
  subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
332
- /**
333
- * Unsubscribe from an SSE endpoint
334
- *
335
- * If this is the last subscriber, closes the connection after grace period.
336
- */
337
- private unsubscribe;
338
- /**
339
- * Force close a connection and all its subscribers
340
- */
341
302
  closeConnection(key: string): void;
342
- /**
343
- * Get current connection status
344
- */
345
303
  getConnectionInfo(): Map<string, {
346
304
  url: string;
347
305
  subscribers: number;
@@ -378,7 +336,7 @@ interface ElevasisFeaturesProviderProps {
378
336
  features: FeatureModule[];
379
337
  timeRange?: TimeRange;
380
338
  operationsApiUrl?: string;
381
- operationsSSEManager?: SSEConnectionManager;
339
+ operationsSSEManager?: SSEConnectionManagerLike;
382
340
  children: ReactNode;
383
341
  }
384
342
  interface ElevasisFeaturesContextValue {
@@ -387,12 +345,13 @@ interface ElevasisFeaturesContextValue {
387
345
  allFeatures: FeatureModule[];
388
346
  timeRange?: TimeRange;
389
347
  operationsApiUrl?: string;
390
- operationsSSEManager?: SSEConnectionManager;
348
+ operationsSSEManager?: SSEConnectionManagerLike;
391
349
  isFeatureEnabled: (key: string) => boolean;
392
350
  getFeature: (key: string) => FeatureModule | undefined;
393
351
  }
394
352
 
395
353
  declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
354
+ declare function useOptionalElevasisFeatures(): ElevasisFeaturesContextValue | null;
396
355
  declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
397
356
 
398
357
  declare function FeatureShell({ children }: {
@@ -461,5 +420,5 @@ interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme
461
420
  }
462
421
  declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisUIProviderProps): react_jsx_runtime.JSX.Element;
463
422
 
464
- export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter };
423
+ export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
465
424
  export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureRegistry, FeatureSidebarComponent, NotificationAdapter, PresetName, WithSchemes };
@@ -1,8 +1,8 @@
1
- export { ElevasisUIProvider } from '../chunk-D25AE46Q.js';
1
+ export { ElevasisUIProvider } from '../chunk-FW4S3Z5I.js';
2
2
  import '../chunk-SZHARWKU.js';
3
3
  import '../chunk-TXPUIHX2.js';
4
4
  import '../chunk-CYXZHBP4.js';
5
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter } from '../chunk-KLG4H5NM.js';
5
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-45MS3IAW.js';
6
6
  import '../chunk-5COLSYBE.js';
7
7
  import '../chunk-NVOCKXUQ.js';
8
8
  import '../chunk-2IFYDILW.js';