@elevasis/ui 2.49.0 → 2.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/api/index.js +4 -3
  2. package/dist/app/index.d.ts +132 -0
  3. package/dist/app/index.js +8 -6
  4. package/dist/auth/index.js +8 -6
  5. package/dist/charts/index.js +8 -6
  6. package/dist/{chunk-SOGPJFO6.js → chunk-4UA62IDF.js} +1 -1
  7. package/dist/{chunk-OFLWSKSC.js → chunk-7Q5THR43.js} +1 -1
  8. package/dist/chunk-EJL4U7OZ.js +79 -0
  9. package/dist/chunk-FVOMKZ7S.js +118 -0
  10. package/dist/{chunk-Y3HPUATG.js → chunk-SBNC3FRX.js} +117 -118
  11. package/dist/{chunk-CDZB24OR.js → chunk-XOPLS4S6.js} +1 -85
  12. package/dist/components/index.d.ts +132 -0
  13. package/dist/components/index.js +8 -6
  14. package/dist/components/navigation/index.js +8 -6
  15. package/dist/features/auth/index.d.ts +132 -0
  16. package/dist/features/auth/index.js +9 -7
  17. package/dist/features/clients/index.js +8 -6
  18. package/dist/features/crm/index.d.ts +132 -0
  19. package/dist/features/crm/index.js +8 -6
  20. package/dist/features/dashboard/index.js +8 -6
  21. package/dist/features/delivery/index.d.ts +132 -0
  22. package/dist/features/delivery/index.js +8 -6
  23. package/dist/features/knowledge/index.js +8 -6
  24. package/dist/features/lead-gen/index.js +8 -6
  25. package/dist/features/monitoring/index.js +8 -6
  26. package/dist/features/monitoring/requests/index.js +9 -7
  27. package/dist/features/operations/index.d.ts +2 -2
  28. package/dist/features/operations/index.js +8 -6
  29. package/dist/features/public-agent-chat/index.d.ts +161 -0
  30. package/dist/features/public-agent-chat/index.js +413 -0
  31. package/dist/features/settings/index.d.ts +132 -0
  32. package/dist/features/settings/index.js +8 -6
  33. package/dist/hooks/access/index.js +8 -6
  34. package/dist/hooks/delivery/index.d.ts +132 -0
  35. package/dist/hooks/delivery/index.js +8 -6
  36. package/dist/hooks/index.d.ts +135 -1
  37. package/dist/hooks/index.js +8 -6
  38. package/dist/hooks/published.d.ts +135 -1
  39. package/dist/hooks/published.js +8 -6
  40. package/dist/index.d.ts +135 -1
  41. package/dist/index.js +9 -7
  42. package/dist/initialization/index.d.ts +132 -0
  43. package/dist/knowledge/index.js +263 -29
  44. package/dist/{knowledge-search-index-MHOBQTT3.js → knowledge-search-index-JOPRYZN6.js} +600 -561
  45. package/dist/layout/index.js +8 -6
  46. package/dist/organization/index.js +8 -6
  47. package/dist/profile/index.d.ts +132 -0
  48. package/dist/provider/index.d.ts +132 -0
  49. package/dist/provider/index.js +8 -6
  50. package/dist/provider/published.d.ts +132 -0
  51. package/dist/provider/published.js +8 -6
  52. package/dist/supabase/index.d.ts +258 -0
  53. package/dist/test-utils/index.js +4 -3
  54. package/dist/types/index.d.ts +135 -3
  55. package/dist/utils/index.js +2 -1
  56. package/package.json +9 -4
@@ -146,27 +146,6 @@ Request ID: ${requestId}`;
146
146
  }
147
147
  return formatted;
148
148
  }
149
-
150
- // ../core/src/platform/utils/debounce.ts
151
- function debounce(fn, wait) {
152
- let timeoutId = null;
153
- const debounced = (...args) => {
154
- if (timeoutId !== null) {
155
- clearTimeout(timeoutId);
156
- }
157
- timeoutId = setTimeout(() => {
158
- fn(...args);
159
- timeoutId = null;
160
- }, wait);
161
- };
162
- debounced.cancel = () => {
163
- if (timeoutId !== null) {
164
- clearTimeout(timeoutId);
165
- timeoutId = null;
166
- }
167
- };
168
- return debounced;
169
- }
170
149
  var ORGANIZATION_MODEL_ICON_TOKENS = [
171
150
  // Navigation / app areas
172
151
  "dashboard",
@@ -1622,56 +1601,6 @@ function getResourceColor(type) {
1622
1601
  return resourceTypeColors[type];
1623
1602
  }
1624
1603
 
1625
- // ../core/src/operations/observability/utils.ts
1626
- function getTimeRangeDates(range) {
1627
- const end = /* @__PURE__ */ new Date();
1628
- const start = /* @__PURE__ */ new Date();
1629
- switch (range) {
1630
- case "1h":
1631
- start.setHours(start.getHours() - 1);
1632
- break;
1633
- case "24h":
1634
- start.setHours(start.getHours() - 24);
1635
- break;
1636
- case "7d":
1637
- start.setDate(start.getDate() - 7);
1638
- break;
1639
- case "30d":
1640
- start.setDate(start.getDate() - 30);
1641
- break;
1642
- }
1643
- return {
1644
- startDate: start.toISOString(),
1645
- endDate: end.toISOString()
1646
- };
1647
- }
1648
- function getTimeRangeLabel(range) {
1649
- switch (range) {
1650
- case "1h":
1651
- return "Last 1 hour";
1652
- case "24h":
1653
- return "Last 24 hours";
1654
- case "7d":
1655
- return "Last 7 days";
1656
- case "30d":
1657
- return "Last 30 days";
1658
- }
1659
- }
1660
- function formatBucketTime(timestamp, granularity) {
1661
- const date = new Date(timestamp);
1662
- if (granularity === "hour") {
1663
- return date.toLocaleTimeString("en-US", {
1664
- hour: "2-digit",
1665
- minute: "2-digit",
1666
- hour12: false
1667
- });
1668
- }
1669
- return date.toLocaleDateString("en-US", {
1670
- month: "short",
1671
- day: "numeric"
1672
- });
1673
- }
1674
-
1675
1604
  // src/utils/resource-icons.tsx
1676
1605
  var iconNameToComponent = {
1677
1606
  IconBrain,
@@ -1697,19 +1626,6 @@ var GC_TIME_SHORT = 3e5;
1697
1626
  var GC_TIME_MEDIUM = 6e5;
1698
1627
  var GC_TIME_LONG = 18e5;
1699
1628
 
1700
- // src/utils/constants/polling.ts
1701
- var REFETCH_INTERVAL_DASHBOARD = 6e4;
1702
- var REFETCH_INTERVAL_REALTIME = 3e4;
1703
- var REFETCH_INTERVAL_RUNNING = 2e3;
1704
- var REFETCH_INTERVAL_RUNNING_FAST = 1e3;
1705
-
1706
- // src/utils/constants/reconnection.ts
1707
- var SSE_TOKEN_REFRESH_DELAY = 2e3;
1708
- var SSE_CLOSE_GRACE_PERIOD = 5e3;
1709
- var WS_RECONNECT_BASE_DELAY = 1e3;
1710
- var WS_RECONNECT_MAX_DELAY = 3e4;
1711
- var WS_MAX_RETRIES_BEFORE_ERROR = 3;
1712
-
1713
1629
  // src/utils/constants/ui.ts
1714
1630
  var PAGE_SIZE_DEFAULT = 20;
1715
1631
  var LIMIT_ACTIVITY_FEED = 50;
@@ -1785,4 +1701,4 @@ function setupBrowserMocks() {
1785
1701
  setupResizeObserver();
1786
1702
  }
1787
1703
 
1788
- export { APIClientError, API_URL, ActionInvocationSchema, ActionSchema, ActionsDomainSchema, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_ONTOLOGY_SCOPE, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, DescriptionSchema, EntitiesDomainSchema, EntitySchema, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, IconNameSchema, JsonValueSchema, LEAD_GEN_API_INTERFACE, LIMIT_ACTIVITY_FEED, LabelSchema, ModelIdSchema, NodeIdStringSchema, OAUTH_FLOW_TIMEOUT, OntologyIdSchema, OntologyScopeSchema, PAGE_SIZE_DEFAULT, PathSchema, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, SystemEntrySchema, SystemIdSchema, SystemInterfaceRefSchema, SystemLifecycleSchema, SystemPathSchema, SystemsDomainSchema, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, ancestorsOf, childrenOf, compileOrganizationOntology, computeInterfaceReadiness, debounce, defaultPathFor, defineActions, defineEntities, devOnlyFor, findById, findByPath, formatBucketTime, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getAllBuildTemplates, getAllPipelines, getAllProjectStatuses, getAllProspectingStages, getErrorInfo, getErrorTitle, getLeadGenStageCatalog, getResourceColor, getResourceIcon, getResourcesForSystem, getSystem, getSystemAncestors, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, listAllSystems, listResolvedOntologyRecords, ontologyGraphNodeId, parentOf, parseOntologyId, requiresAdminFor, resolveSystemConfig, restoreConsole, setupBrowserMocks, suppressKnownWarnings, topLevel, validateEmail };
1704
+ export { APIClientError, API_URL, ActionInvocationSchema, ActionSchema, ActionsDomainSchema, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_ONTOLOGY_SCOPE, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, DescriptionSchema, EntitiesDomainSchema, EntitySchema, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, IconNameSchema, JsonValueSchema, LEAD_GEN_API_INTERFACE, LIMIT_ACTIVITY_FEED, LabelSchema, ModelIdSchema, NodeIdStringSchema, OAUTH_FLOW_TIMEOUT, OntologyIdSchema, OntologyScopeSchema, PAGE_SIZE_DEFAULT, PathSchema, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, SystemEntrySchema, SystemIdSchema, SystemInterfaceRefSchema, SystemLifecycleSchema, SystemPathSchema, SystemsDomainSchema, ancestorsOf, childrenOf, compileOrganizationOntology, computeInterfaceReadiness, defaultPathFor, defineActions, defineEntities, devOnlyFor, findById, findByPath, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getAllBuildTemplates, getAllPipelines, getAllProjectStatuses, getAllProspectingStages, getErrorInfo, getErrorTitle, getLeadGenStageCatalog, getResourceColor, getResourceIcon, getResourcesForSystem, getSystem, getSystemAncestors, isAPIClientError, listAllSystems, listResolvedOntologyRecords, ontologyGraphNodeId, parentOf, parseOntologyId, requiresAdminFor, resolveSystemConfig, restoreConsole, setupBrowserMocks, suppressKnownWarnings, topLevel, validateEmail };
@@ -2560,6 +2560,138 @@ type Database = {
2560
2560
  };
2561
2561
  Relationships: [];
2562
2562
  };
2563
+ agent_access_grants: {
2564
+ Row: {
2565
+ allowed_origins: string[];
2566
+ branding: Json;
2567
+ capture_fields: Json;
2568
+ code_hash: string | null;
2569
+ code_salt: string | null;
2570
+ created_at: string;
2571
+ disabled_at: string | null;
2572
+ expires_at: string | null;
2573
+ id: string;
2574
+ max_sessions_per_visitor: number;
2575
+ max_turns_per_session: number;
2576
+ mode: string;
2577
+ organization_id: string;
2578
+ resource_id: string;
2579
+ slug: string;
2580
+ tool_policy: Json;
2581
+ updated_at: string;
2582
+ };
2583
+ Insert: {
2584
+ allowed_origins?: string[];
2585
+ branding?: Json;
2586
+ capture_fields?: Json;
2587
+ code_hash?: string | null;
2588
+ code_salt?: string | null;
2589
+ created_at?: string;
2590
+ disabled_at?: string | null;
2591
+ expires_at?: string | null;
2592
+ id?: string;
2593
+ max_sessions_per_visitor?: number;
2594
+ max_turns_per_session?: number;
2595
+ mode?: string;
2596
+ organization_id: string;
2597
+ resource_id: string;
2598
+ slug: string;
2599
+ tool_policy?: Json;
2600
+ updated_at?: string;
2601
+ };
2602
+ Update: {
2603
+ allowed_origins?: string[];
2604
+ branding?: Json;
2605
+ capture_fields?: Json;
2606
+ code_hash?: string | null;
2607
+ code_salt?: string | null;
2608
+ created_at?: string;
2609
+ disabled_at?: string | null;
2610
+ expires_at?: string | null;
2611
+ id?: string;
2612
+ max_sessions_per_visitor?: number;
2613
+ max_turns_per_session?: number;
2614
+ mode?: string;
2615
+ organization_id?: string;
2616
+ resource_id?: string;
2617
+ slug?: string;
2618
+ tool_policy?: Json;
2619
+ updated_at?: string;
2620
+ };
2621
+ Relationships: [
2622
+ {
2623
+ foreignKeyName: "agent_access_grants_organization_id_fkey";
2624
+ columns: ["organization_id"];
2625
+ isOneToOne: false;
2626
+ referencedRelation: "organizations";
2627
+ referencedColumns: ["id"];
2628
+ }
2629
+ ];
2630
+ };
2631
+ agent_chat_capabilities: {
2632
+ Row: {
2633
+ created_at: string;
2634
+ expires_at: string;
2635
+ grant_id: string;
2636
+ id: string;
2637
+ organization_id: string;
2638
+ origin: string | null;
2639
+ resource_id: string;
2640
+ revoked_at: string | null;
2641
+ session_id: string | null;
2642
+ token_hash: string;
2643
+ visitor_id: string | null;
2644
+ };
2645
+ Insert: {
2646
+ created_at?: string;
2647
+ expires_at: string;
2648
+ grant_id: string;
2649
+ id?: string;
2650
+ organization_id: string;
2651
+ origin?: string | null;
2652
+ resource_id: string;
2653
+ revoked_at?: string | null;
2654
+ session_id?: string | null;
2655
+ token_hash: string;
2656
+ visitor_id?: string | null;
2657
+ };
2658
+ Update: {
2659
+ created_at?: string;
2660
+ expires_at?: string;
2661
+ grant_id?: string;
2662
+ id?: string;
2663
+ organization_id?: string;
2664
+ origin?: string | null;
2665
+ resource_id?: string;
2666
+ revoked_at?: string | null;
2667
+ session_id?: string | null;
2668
+ token_hash?: string;
2669
+ visitor_id?: string | null;
2670
+ };
2671
+ Relationships: [
2672
+ {
2673
+ foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
2674
+ columns: ["grant_id"];
2675
+ isOneToOne: false;
2676
+ referencedRelation: "agent_access_grants";
2677
+ referencedColumns: ["id"];
2678
+ },
2679
+ {
2680
+ foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
2681
+ columns: ["organization_id"];
2682
+ isOneToOne: false;
2683
+ referencedRelation: "organizations";
2684
+ referencedColumns: ["id"];
2685
+ },
2686
+ {
2687
+ foreignKeyName: "agent_chat_capabilities_session_id_fkey";
2688
+ columns: ["session_id"];
2689
+ isOneToOne: false;
2690
+ referencedRelation: "sessions";
2691
+ referencedColumns: ["session_id"];
2692
+ }
2693
+ ];
2694
+ };
2563
2695
  organizations: {
2564
2696
  Row: {
2565
2697
  config: Json;
@@ -1,24 +1,26 @@
1
- export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, TabCountBadge, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, calculateProgress, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity } from '../chunk-Y3HPUATG.js';
1
+ export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, TabCountBadge, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, calculateProgress, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity } from '../chunk-SBNC3FRX.js';
2
2
  import '../chunk-NZ2F5RQ4.js';
3
3
  import '../chunk-OJJK27GC.js';
4
+ import '../chunk-ZTWA5H77.js';
4
5
  import '../chunk-AUDNF2Q7.js';
5
6
  import '../chunk-6M6OLGQY.js';
6
7
  import '../chunk-MKH2KOAO.js';
7
- export { StyledMarkdown } from '../chunk-GUKY77FJ.js';
8
+ import '../chunk-7Q5THR43.js';
8
9
  import '../chunk-SJHM4WDG.js';
9
- import '../chunk-ZTWA5H77.js';
10
+ export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../chunk-GMXGDO3I.js';
10
11
  export { CardHeader } from '../chunk-S3XR4II4.js';
11
12
  import '../chunk-6DO4PE3O.js';
12
- import '../chunk-OFLWSKSC.js';
13
13
  import '../chunk-DD3CCMCZ.js';
14
- export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../chunk-GMXGDO3I.js';
14
+ import '../chunk-EJL4U7OZ.js';
15
+ export { StyledMarkdown } from '../chunk-GUKY77FJ.js';
15
16
  import '../chunk-2IFYDILW.js';
16
17
  import '../chunk-Q7DJKLEN.js';
17
18
  export { Graph_module_css_default as graphStyles } from '../chunk-HENXLGVD.js';
18
19
  export { CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS } from '../chunk-7FPLLSHN.js';
19
20
  import '../chunk-RNP5R5I3.js';
20
21
  import '../chunk-W2SFTXMT.js';
21
- import '../chunk-CDZB24OR.js';
22
+ import '../chunk-XOPLS4S6.js';
23
+ import '../chunk-FVOMKZ7S.js';
22
24
  import '../chunk-KRWALB24.js';
23
25
  import '../chunk-2FTX4WO2.js';
24
26
  import '../chunk-MQZE7SUI.js';
@@ -1,24 +1,26 @@
1
- export { useBreadcrumbs } from '../../chunk-Y3HPUATG.js';
1
+ export { useBreadcrumbs } from '../../chunk-SBNC3FRX.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
+ import '../../chunk-ZTWA5H77.js';
4
5
  import '../../chunk-AUDNF2Q7.js';
5
6
  import '../../chunk-6M6OLGQY.js';
6
7
  import '../../chunk-MKH2KOAO.js';
7
- import '../../chunk-GUKY77FJ.js';
8
+ import '../../chunk-7Q5THR43.js';
8
9
  import '../../chunk-SJHM4WDG.js';
9
- import '../../chunk-ZTWA5H77.js';
10
+ import '../../chunk-GMXGDO3I.js';
10
11
  import '../../chunk-S3XR4II4.js';
11
12
  import '../../chunk-6DO4PE3O.js';
12
- import '../../chunk-OFLWSKSC.js';
13
13
  import '../../chunk-DD3CCMCZ.js';
14
- import '../../chunk-GMXGDO3I.js';
14
+ import '../../chunk-EJL4U7OZ.js';
15
+ import '../../chunk-GUKY77FJ.js';
15
16
  import '../../chunk-2IFYDILW.js';
16
17
  import '../../chunk-Q7DJKLEN.js';
17
18
  import '../../chunk-HENXLGVD.js';
18
19
  import '../../chunk-7FPLLSHN.js';
19
20
  import '../../chunk-RNP5R5I3.js';
20
21
  import '../../chunk-W2SFTXMT.js';
21
- import '../../chunk-CDZB24OR.js';
22
+ import '../../chunk-XOPLS4S6.js';
23
+ import '../../chunk-FVOMKZ7S.js';
22
24
  import '../../chunk-KRWALB24.js';
23
25
  import '../../chunk-2FTX4WO2.js';
24
26
  import '../../chunk-MQZE7SUI.js';
@@ -2115,6 +2115,138 @@ type Database = {
2115
2115
  };
2116
2116
  Relationships: [];
2117
2117
  };
2118
+ agent_access_grants: {
2119
+ Row: {
2120
+ allowed_origins: string[];
2121
+ branding: Json;
2122
+ capture_fields: Json;
2123
+ code_hash: string | null;
2124
+ code_salt: string | null;
2125
+ created_at: string;
2126
+ disabled_at: string | null;
2127
+ expires_at: string | null;
2128
+ id: string;
2129
+ max_sessions_per_visitor: number;
2130
+ max_turns_per_session: number;
2131
+ mode: string;
2132
+ organization_id: string;
2133
+ resource_id: string;
2134
+ slug: string;
2135
+ tool_policy: Json;
2136
+ updated_at: string;
2137
+ };
2138
+ Insert: {
2139
+ allowed_origins?: string[];
2140
+ branding?: Json;
2141
+ capture_fields?: Json;
2142
+ code_hash?: string | null;
2143
+ code_salt?: string | null;
2144
+ created_at?: string;
2145
+ disabled_at?: string | null;
2146
+ expires_at?: string | null;
2147
+ id?: string;
2148
+ max_sessions_per_visitor?: number;
2149
+ max_turns_per_session?: number;
2150
+ mode?: string;
2151
+ organization_id: string;
2152
+ resource_id: string;
2153
+ slug: string;
2154
+ tool_policy?: Json;
2155
+ updated_at?: string;
2156
+ };
2157
+ Update: {
2158
+ allowed_origins?: string[];
2159
+ branding?: Json;
2160
+ capture_fields?: Json;
2161
+ code_hash?: string | null;
2162
+ code_salt?: string | null;
2163
+ created_at?: string;
2164
+ disabled_at?: string | null;
2165
+ expires_at?: string | null;
2166
+ id?: string;
2167
+ max_sessions_per_visitor?: number;
2168
+ max_turns_per_session?: number;
2169
+ mode?: string;
2170
+ organization_id?: string;
2171
+ resource_id?: string;
2172
+ slug?: string;
2173
+ tool_policy?: Json;
2174
+ updated_at?: string;
2175
+ };
2176
+ Relationships: [
2177
+ {
2178
+ foreignKeyName: "agent_access_grants_organization_id_fkey";
2179
+ columns: ["organization_id"];
2180
+ isOneToOne: false;
2181
+ referencedRelation: "organizations";
2182
+ referencedColumns: ["id"];
2183
+ }
2184
+ ];
2185
+ };
2186
+ agent_chat_capabilities: {
2187
+ Row: {
2188
+ created_at: string;
2189
+ expires_at: string;
2190
+ grant_id: string;
2191
+ id: string;
2192
+ organization_id: string;
2193
+ origin: string | null;
2194
+ resource_id: string;
2195
+ revoked_at: string | null;
2196
+ session_id: string | null;
2197
+ token_hash: string;
2198
+ visitor_id: string | null;
2199
+ };
2200
+ Insert: {
2201
+ created_at?: string;
2202
+ expires_at: string;
2203
+ grant_id: string;
2204
+ id?: string;
2205
+ organization_id: string;
2206
+ origin?: string | null;
2207
+ resource_id: string;
2208
+ revoked_at?: string | null;
2209
+ session_id?: string | null;
2210
+ token_hash: string;
2211
+ visitor_id?: string | null;
2212
+ };
2213
+ Update: {
2214
+ created_at?: string;
2215
+ expires_at?: string;
2216
+ grant_id?: string;
2217
+ id?: string;
2218
+ organization_id?: string;
2219
+ origin?: string | null;
2220
+ resource_id?: string;
2221
+ revoked_at?: string | null;
2222
+ session_id?: string | null;
2223
+ token_hash?: string;
2224
+ visitor_id?: string | null;
2225
+ };
2226
+ Relationships: [
2227
+ {
2228
+ foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
2229
+ columns: ["grant_id"];
2230
+ isOneToOne: false;
2231
+ referencedRelation: "agent_access_grants";
2232
+ referencedColumns: ["id"];
2233
+ },
2234
+ {
2235
+ foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
2236
+ columns: ["organization_id"];
2237
+ isOneToOne: false;
2238
+ referencedRelation: "organizations";
2239
+ referencedColumns: ["id"];
2240
+ },
2241
+ {
2242
+ foreignKeyName: "agent_chat_capabilities_session_id_fkey";
2243
+ columns: ["session_id"];
2244
+ isOneToOne: false;
2245
+ referencedRelation: "sessions";
2246
+ referencedColumns: ["session_id"];
2247
+ }
2248
+ ];
2249
+ };
2118
2250
  organizations: {
2119
2251
  Row: {
2120
2252
  config: Json;
@@ -1,25 +1,27 @@
1
- import { ProtectedRoute, AppearanceContext, AppShellError, useAppearance } from '../../chunk-Y3HPUATG.js';
2
- export { AccessGuard } from '../../chunk-Y3HPUATG.js';
1
+ import { ProtectedRoute, AppearanceContext, AppShellError, useAppearance } from '../../chunk-SBNC3FRX.js';
2
+ export { AccessGuard } from '../../chunk-SBNC3FRX.js';
3
3
  import '../../chunk-NZ2F5RQ4.js';
4
4
  import '../../chunk-OJJK27GC.js';
5
+ import '../../chunk-ZTWA5H77.js';
5
6
  import '../../chunk-AUDNF2Q7.js';
6
7
  import '../../chunk-6M6OLGQY.js';
7
8
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-GUKY77FJ.js';
9
+ import '../../chunk-7Q5THR43.js';
9
10
  import '../../chunk-SJHM4WDG.js';
10
- import '../../chunk-ZTWA5H77.js';
11
+ import '../../chunk-GMXGDO3I.js';
11
12
  import '../../chunk-S3XR4II4.js';
12
13
  import { useInitialization } from '../../chunk-6DO4PE3O.js';
13
- import '../../chunk-OFLWSKSC.js';
14
14
  import '../../chunk-DD3CCMCZ.js';
15
- import '../../chunk-GMXGDO3I.js';
15
+ import '../../chunk-EJL4U7OZ.js';
16
+ import '../../chunk-GUKY77FJ.js';
16
17
  import '../../chunk-2IFYDILW.js';
17
18
  import '../../chunk-Q7DJKLEN.js';
18
19
  import '../../chunk-HENXLGVD.js';
19
20
  import '../../chunk-7FPLLSHN.js';
20
21
  import '../../chunk-RNP5R5I3.js';
21
22
  export { useUserProfile } from '../../chunk-W2SFTXMT.js';
22
- import '../../chunk-CDZB24OR.js';
23
+ import '../../chunk-XOPLS4S6.js';
24
+ import '../../chunk-FVOMKZ7S.js';
23
25
  import '../../chunk-KRWALB24.js';
24
26
  import '../../chunk-2FTX4WO2.js';
25
27
  import '../../chunk-MQZE7SUI.js';
@@ -1,24 +1,26 @@
1
- import { useClientStatus, StatCard, EmptyState, useCreateClient, CustomModal, useUpdateClient, useDeleteClient, usePaginationState, useClients, SubshellContentContainer, PageContainer, PageTitleCaption, FilterBar, CenteredErrorState, useClient, showApiErrorNotification } from '../../chunk-Y3HPUATG.js';
1
+ import { useClientStatus, StatCard, EmptyState, useCreateClient, CustomModal, useUpdateClient, useDeleteClient, usePaginationState, useClients, SubshellContentContainer, PageContainer, PageTitleCaption, FilterBar, CenteredErrorState, useClient, showApiErrorNotification } from '../../chunk-SBNC3FRX.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
+ import '../../chunk-ZTWA5H77.js';
4
5
  import '../../chunk-AUDNF2Q7.js';
5
6
  import '../../chunk-6M6OLGQY.js';
6
7
  import '../../chunk-MKH2KOAO.js';
7
- import '../../chunk-GUKY77FJ.js';
8
+ import '../../chunk-7Q5THR43.js';
8
9
  import '../../chunk-SJHM4WDG.js';
9
- import '../../chunk-ZTWA5H77.js';
10
+ import '../../chunk-GMXGDO3I.js';
10
11
  import { CardHeader } from '../../chunk-S3XR4II4.js';
11
12
  import '../../chunk-6DO4PE3O.js';
12
- import '../../chunk-OFLWSKSC.js';
13
13
  import '../../chunk-DD3CCMCZ.js';
14
- import '../../chunk-GMXGDO3I.js';
14
+ import '../../chunk-EJL4U7OZ.js';
15
+ import '../../chunk-GUKY77FJ.js';
15
16
  import '../../chunk-2IFYDILW.js';
16
17
  import '../../chunk-Q7DJKLEN.js';
17
18
  import '../../chunk-HENXLGVD.js';
18
19
  import '../../chunk-7FPLLSHN.js';
19
20
  import '../../chunk-RNP5R5I3.js';
20
21
  import '../../chunk-W2SFTXMT.js';
21
- import { PAGE_SIZE_DEFAULT, formatTimeAgo } from '../../chunk-CDZB24OR.js';
22
+ import { PAGE_SIZE_DEFAULT, formatTimeAgo } from '../../chunk-XOPLS4S6.js';
23
+ import '../../chunk-FVOMKZ7S.js';
22
24
  import '../../chunk-KRWALB24.js';
23
25
  import '../../chunk-2FTX4WO2.js';
24
26
  import '../../chunk-MQZE7SUI.js';