@elevasis/ui 2.57.0 → 2.59.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.
- package/dist/app/index.js +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/charts/index.js +2 -2
- package/dist/{chunk-ETZY6MFL.js → chunk-4N5GYO6R.js} +374 -385
- package/dist/{chunk-T73S4G4P.js → chunk-7AJKZM4F.js} +2 -0
- package/dist/components/chat/index.d.ts +3 -1
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.js +3 -3
- package/dist/features/clients/index.js +2 -2
- package/dist/features/crm/index.js +2 -2
- package/dist/features/dashboard/index.js +2 -2
- package/dist/features/delivery/index.js +2 -2
- package/dist/features/knowledge/index.js +2 -2
- package/dist/features/lead-gen/index.js +2 -2
- package/dist/features/monitoring/index.js +2 -2
- package/dist/features/monitoring/requests/index.js +3 -3
- package/dist/features/operations/index.d.ts +30 -21
- package/dist/features/operations/index.js +2 -2
- package/dist/features/public-agent-chat/index.d.ts +42 -6
- package/dist/features/public-agent-chat/index.js +149 -30
- package/dist/features/settings/index.js +2 -2
- package/dist/hooks/access/index.js +2 -2
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.d.ts +7 -1
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/published.d.ts +7 -1
- package/dist/hooks/published.js +2 -2
- package/dist/index.d.ts +7 -1
- package/dist/index.js +2 -2
- package/dist/knowledge/index.js +3 -3
- package/dist/layout/index.js +2 -2
- package/dist/organization/index.js +2 -2
- package/dist/provider/index.js +2 -2
- package/dist/provider/published.js +2 -2
- package/package.json +3 -3
|
@@ -644,6 +644,7 @@ function ChatInterface({
|
|
|
644
644
|
style,
|
|
645
645
|
isProcessing = false,
|
|
646
646
|
isConnected = true,
|
|
647
|
+
inputDisabled = false,
|
|
647
648
|
error,
|
|
648
649
|
onClearError,
|
|
649
650
|
emptyStateText = "No messages yet",
|
|
@@ -703,6 +704,7 @@ function ChatInterface({
|
|
|
703
704
|
input,
|
|
704
705
|
onInputChange,
|
|
705
706
|
onSend: onSendMessage,
|
|
707
|
+
isDisabled: inputDisabled,
|
|
706
708
|
isProcessing,
|
|
707
709
|
isConnected,
|
|
708
710
|
placeholder
|
|
@@ -170,6 +170,8 @@ interface ChatInterfaceProps {
|
|
|
170
170
|
style?: React.CSSProperties;
|
|
171
171
|
isProcessing?: boolean;
|
|
172
172
|
isConnected?: boolean;
|
|
173
|
+
/** When true, the input and send button are disabled (e.g. the session has ended). */
|
|
174
|
+
inputDisabled?: boolean;
|
|
173
175
|
error?: string | null;
|
|
174
176
|
onClearError?: () => void;
|
|
175
177
|
emptyStateText?: string;
|
|
@@ -188,7 +190,7 @@ interface ChatInterfaceProps {
|
|
|
188
190
|
* Used across ai studio sessions and production agent chat
|
|
189
191
|
* Handles message display, auto-scroll, and input area
|
|
190
192
|
*/
|
|
191
|
-
declare function ChatInterface({ messages, input, onInputChange, onSendMessage, className, style, isProcessing, isConnected, error, onClearError, emptyStateText, emptyStateSubtext, placeholder, messageAreaVariant, showAgentActivity }: ChatInterfaceProps): react_jsx_runtime.JSX.Element;
|
|
193
|
+
declare function ChatInterface({ messages, input, onInputChange, onSendMessage, className, style, isProcessing, isConnected, inputDisabled, error, onClearError, emptyStateText, emptyStateSubtext, placeholder, messageAreaVariant, showAgentActivity }: ChatInterfaceProps): react_jsx_runtime.JSX.Element;
|
|
192
194
|
|
|
193
195
|
interface MessageBubbleProps {
|
|
194
196
|
message: ChatMessage;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, MessageBubble, ProcessingIndicator } from '../../chunk-
|
|
1
|
+
export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, MessageBubble, ProcessingIndicator } from '../../chunk-7AJKZM4F.js';
|
|
2
2
|
import '../../chunk-I2KLQ2HA.js';
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, 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-
|
|
1
|
+
export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, 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-4N5GYO6R.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ export { CardHeader } from '../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../chunk-LO7GWG24.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
export { StyledMarkdown } from '../chunk-
|
|
15
|
+
export { StyledMarkdown } from '../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
export { Graph_module_css_default as graphStyles } from '../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { useBreadcrumbs } from '../../chunk-
|
|
1
|
+
export { useBreadcrumbs } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtectedRoute, AppearanceContext, AppShellError, useAppearance } from '../../chunk-
|
|
2
|
-
export { AccessGuard } from '../../chunk-
|
|
1
|
+
import { ProtectedRoute, AppearanceContext, AppShellError, useAppearance } from '../../chunk-4N5GYO6R.js';
|
|
2
|
+
export { AccessGuard } from '../../chunk-4N5GYO6R.js';
|
|
3
3
|
import '../../chunk-NZ2F5RQ4.js';
|
|
4
4
|
import '../../chunk-OJJK27GC.js';
|
|
5
5
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -13,7 +13,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
13
13
|
import { useInitialization } from '../../chunk-LO7GWG24.js';
|
|
14
14
|
import '../../chunk-DD3CCMCZ.js';
|
|
15
15
|
import '../../chunk-M7WWRZ5Z.js';
|
|
16
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-7AJKZM4F.js';
|
|
17
17
|
import '../../chunk-2IFYDILW.js';
|
|
18
18
|
import '../../chunk-Q7DJKLEN.js';
|
|
19
19
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useClientStatus, StatCard, EmptyState, useCreateClient, CustomModal, useUpdateClient, useDeleteClient, usePaginationState, useClients, SubshellContentContainer, PageContainer, PageTitleCaption, FilterBar, CenteredErrorState, useClient, showApiErrorNotification } from '../../chunk-
|
|
1
|
+
import { useClientStatus, StatCard, EmptyState, useCreateClient, CustomModal, useUpdateClient, useDeleteClient, usePaginationState, useClients, SubshellContentContainer, PageContainer, PageTitleCaption, FilterBar, CenteredErrorState, useClient, showApiErrorNotification } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import { CardHeader } from '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, ContactDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings } from '../../chunk-
|
|
1
|
+
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, ContactDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Dashboard, DashboardOperationsOverview, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } from '../../chunk-
|
|
1
|
+
export { Dashboard, DashboardOperationsOverview, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../../chunk-
|
|
1
|
+
export { AllTasksPage, Checklist, CreateDeliveryEntityModal, DELIVERY_COMMUNICATION_ITEMS, DELIVERY_PROJECT_ITEMS, DELIVERY_WORK_ITEMS, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { knowledgeManifest } from '../../chunk-
|
|
1
|
+
export { knowledgeManifest } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenConfig, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-
|
|
1
|
+
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenConfig, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-
|
|
1
|
+
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-
|
|
2
|
-
export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-
|
|
1
|
+
import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-4N5GYO6R.js';
|
|
2
|
+
export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-4N5GYO6R.js';
|
|
3
3
|
import '../../../chunk-NZ2F5RQ4.js';
|
|
4
4
|
import '../../../chunk-OJJK27GC.js';
|
|
5
5
|
import '../../../chunk-ZTWA5H77.js';
|
|
@@ -13,7 +13,7 @@ import { CardHeader } from '../../../chunk-S3XR4II4.js';
|
|
|
13
13
|
import '../../../chunk-LO7GWG24.js';
|
|
14
14
|
import '../../../chunk-DD3CCMCZ.js';
|
|
15
15
|
import '../../../chunk-M7WWRZ5Z.js';
|
|
16
|
-
import '../../../chunk-
|
|
16
|
+
import '../../../chunk-7AJKZM4F.js';
|
|
17
17
|
import '../../../chunk-2IFYDILW.js';
|
|
18
18
|
import '../../../chunk-Q7DJKLEN.js';
|
|
19
19
|
import '../../../chunk-HENXLGVD.js';
|
|
@@ -2119,6 +2119,8 @@ interface SessionListItem$1 {
|
|
|
2119
2119
|
resourceId: string;
|
|
2120
2120
|
turnCount: number;
|
|
2121
2121
|
isEnded: boolean;
|
|
2122
|
+
/** Derived session title (from `metadata.title`); null when none has been derived yet */
|
|
2123
|
+
title?: string | null;
|
|
2122
2124
|
createdAt: Date;
|
|
2123
2125
|
updatedAt: Date;
|
|
2124
2126
|
}
|
|
@@ -2271,26 +2273,23 @@ interface SessionChatPageProps {
|
|
|
2271
2273
|
* When renderConversationView is omitted, the shared SessionConversationView is
|
|
2272
2274
|
* used automatically. apiUrl must be present on ElevasisCoreProvider in this case.
|
|
2273
2275
|
*/
|
|
2274
|
-
declare function SessionChatPage({ sessionId, isReady, renderConversationView, buildExecutionUrl, buildSessionListUrl
|
|
2276
|
+
declare function SessionChatPage({ sessionId, isReady, renderConversationView, buildExecutionUrl, buildSessionListUrl, organizationName, buildSessionDetailUrl }: SessionChatPageProps): react_jsx_runtime.JSX.Element;
|
|
2275
2277
|
|
|
2276
2278
|
interface SessionChatAreaProps {
|
|
2277
2279
|
sessionId: string;
|
|
2278
2280
|
session: SessionDTO;
|
|
2279
|
-
organizationName: string;
|
|
2280
|
-
onDeleted?: () => void;
|
|
2281
2281
|
renderConversationView: (args: ConversationViewSlotArgs) => ReactNode;
|
|
2282
2282
|
}
|
|
2283
2283
|
/**
|
|
2284
|
-
*
|
|
2285
|
-
*
|
|
2284
|
+
* Chat area component: session header + chat interface.
|
|
2285
|
+
* Session details (CLI paths, instructions, timestamps, delete) now live in the
|
|
2286
|
+
* Info view's SessionDetailsPanel, not a floating sidebar.
|
|
2286
2287
|
*/
|
|
2287
|
-
declare function SessionChatArea({ sessionId, session,
|
|
2288
|
+
declare function SessionChatArea({ sessionId, session, renderConversationView }: SessionChatAreaProps): react_jsx_runtime.JSX.Element;
|
|
2288
2289
|
|
|
2289
2290
|
interface SessionHeaderProps {
|
|
2290
2291
|
session: SessionDTO;
|
|
2291
2292
|
connectionState: WebSocketState;
|
|
2292
|
-
onToggleSidebar: () => void;
|
|
2293
|
-
isSidebarOpen: boolean;
|
|
2294
2293
|
tokenUsage?: {
|
|
2295
2294
|
used: number;
|
|
2296
2295
|
total: number;
|
|
@@ -2298,24 +2297,28 @@ interface SessionHeaderProps {
|
|
|
2298
2297
|
}
|
|
2299
2298
|
/**
|
|
2300
2299
|
* Header component for session chat page.
|
|
2301
|
-
* Displays session title
|
|
2300
|
+
* Displays session title and connection status. Session details have moved to
|
|
2301
|
+
* the Info view's SessionDetailsPanel, so there is no longer a sidebar toggle.
|
|
2302
2302
|
*/
|
|
2303
|
-
declare function SessionHeader({ session: _session, connectionState,
|
|
2303
|
+
declare function SessionHeader({ session: _session, connectionState, tokenUsage }: SessionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2304
2304
|
|
|
2305
|
-
interface
|
|
2305
|
+
interface SessionDetailsPanelProps {
|
|
2306
2306
|
session: SessionDTO;
|
|
2307
|
-
|
|
2308
|
-
onClose: () => void;
|
|
2309
|
-
/** Organization name for CLI copy string */
|
|
2307
|
+
/** Organization name for the CLI resource path */
|
|
2310
2308
|
organizationName: string;
|
|
2311
|
-
/** Called after a successful session delete;
|
|
2309
|
+
/** Called after a successful session delete; host should navigate away */
|
|
2312
2310
|
onDeleted?: () => void;
|
|
2313
2311
|
}
|
|
2314
2312
|
/**
|
|
2315
|
-
*
|
|
2316
|
-
*
|
|
2313
|
+
* Session-specific details rendered inline as an Info-page panel.
|
|
2314
|
+
* Shows the CLI resource path, session ID, session instructions, timestamps,
|
|
2315
|
+
* an optional session-level model-config override, and the delete action.
|
|
2316
|
+
*
|
|
2317
|
+
* Agent identity / model config / tools are intentionally NOT duplicated here —
|
|
2318
|
+
* those live in the Agent Definition panel (ResourceDefinitionSection) on the
|
|
2319
|
+
* same Info view.
|
|
2317
2320
|
*/
|
|
2318
|
-
declare function
|
|
2321
|
+
declare function SessionDetailsPanel({ session, organizationName, onDeleted }: SessionDetailsPanelProps): react_jsx_runtime.JSX.Element;
|
|
2319
2322
|
|
|
2320
2323
|
interface SessionListItemProps {
|
|
2321
2324
|
session: SessionListItem$1;
|
|
@@ -2362,6 +2365,8 @@ interface AgentSessionGroupProps {
|
|
|
2362
2365
|
*/
|
|
2363
2366
|
declare function AgentSessionGroup({ group, onAgentClick, onSessionClick, selectedSessionId, onSessionDeleted }: AgentSessionGroupProps): react_jsx_runtime.JSX.Element;
|
|
2364
2367
|
|
|
2368
|
+
type SessionView = 'chat' | 'info';
|
|
2369
|
+
|
|
2365
2370
|
interface SessionsSidebarProps {
|
|
2366
2371
|
/** Whether the organization context is ready; blocks render until true */
|
|
2367
2372
|
isReady: boolean;
|
|
@@ -2373,13 +2378,17 @@ interface SessionsSidebarProps {
|
|
|
2373
2378
|
sessionId?: string;
|
|
2374
2379
|
/** Current agent param from URL search — undefined when no agent is selected */
|
|
2375
2380
|
agentParam?: string;
|
|
2381
|
+
/** Active session detail view; renders the Chat/Info toggle when paired with onViewChange */
|
|
2382
|
+
activeView?: SessionView;
|
|
2383
|
+
/** Called when the Chat/Info toggle changes; host updates the URL `view` param */
|
|
2384
|
+
onViewChange?: (view: SessionView) => void;
|
|
2376
2385
|
}
|
|
2377
2386
|
/**
|
|
2378
2387
|
* Agent Sessions sidebar — context-aware navigation panel.
|
|
2379
2388
|
* Shows an agents list on the list view, or a flat sessions list when viewing a specific session.
|
|
2380
2389
|
* Router-state (sessionId, agentParam) is injected as DI props.
|
|
2381
2390
|
*/
|
|
2382
|
-
declare function SessionsSidebar({ isReady, onAgentClick, buildSessionDetailUrl, sessionId, agentParam }: SessionsSidebarProps): react_jsx_runtime.JSX.Element;
|
|
2391
|
+
declare function SessionsSidebar({ isReady, onAgentClick, buildSessionDetailUrl, sessionId, agentParam, activeView, onViewChange }: SessionsSidebarProps): react_jsx_runtime.JSX.Element;
|
|
2383
2392
|
|
|
2384
2393
|
declare const OperationsSidebar: () => react_jsx_runtime.JSX.Element;
|
|
2385
2394
|
|
|
@@ -2458,5 +2467,5 @@ declare function aggregateSystemMetrics(model: OrganizationModel, systemPath: st
|
|
|
2458
2467
|
*/
|
|
2459
2468
|
declare function formatResourceAttribution(metrics: SystemMetrics): string;
|
|
2460
2469
|
|
|
2461
|
-
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView,
|
|
2462
|
-
export type { AgentExecutionPanelProps, AgentSessionGroupProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandQueueShellProps, CommandViewPageProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, OperationalOverviewPanelProps, OperationsOverviewProps, ResourceDetailPageProps, ResourceDetailPageRenderExecuteDialogArgs, ResourceDetailPageRenderExecutionPanelArgs, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionConversationViewProps,
|
|
2470
|
+
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest };
|
|
2471
|
+
export type { AgentExecutionPanelProps, AgentSessionGroupProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandQueueShellProps, CommandViewPageProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, OperationalOverviewPanelProps, OperationsOverviewProps, ResourceDetailPageProps, ResourceDetailPageRenderExecuteDialogArgs, ResourceDetailPageRenderExecutionPanelArgs, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionConversationViewProps, SessionDetailsPanelProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, SystemMetrics, SystemOpsViewProps, TaskFilterStatus, WorkflowExecutionPanelProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView,
|
|
1
|
+
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-4N5GYO6R.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../../chunk-LO7GWG24.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7AJKZM4F.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { z } from 'zod';
|
|
2
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
4
|
|
|
4
5
|
type MessageType = MessageEvent['type'];
|
|
@@ -81,13 +82,46 @@ type MessageEvent = {
|
|
|
81
82
|
error?: string;
|
|
82
83
|
};
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
/**
|
|
86
|
+
* The public-facing grant shape returned by /authorize and /metadata endpoints.
|
|
87
|
+
*
|
|
88
|
+
* captureFields defaults to [] on the DB (NOT NULL); the schema field is
|
|
89
|
+
* .optional() for forward-compat, but callers should treat absence as [].
|
|
90
|
+
*/
|
|
91
|
+
declare const PublicAgentChatGrantSchema: z.ZodObject<{
|
|
92
|
+
slug: z.ZodString;
|
|
93
|
+
resourceId: z.ZodString;
|
|
94
|
+
mode: z.ZodString;
|
|
95
|
+
requiresCode: z.ZodBoolean;
|
|
96
|
+
branding: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
title: z.ZodOptional<z.ZodString>;
|
|
98
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
99
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
100
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
101
|
+
name: z.ZodOptional<z.ZodString>;
|
|
102
|
+
description: z.ZodOptional<z.ZodString>;
|
|
103
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
104
|
+
intro: z.ZodOptional<z.ZodString>;
|
|
105
|
+
instructions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
106
|
+
ctaLabel: z.ZodOptional<z.ZodString>;
|
|
107
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
108
|
+
agentOpens: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
captureFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
111
|
+
key: z.ZodString;
|
|
112
|
+
label: z.ZodString;
|
|
113
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
114
|
+
email: "email";
|
|
115
|
+
text: "text";
|
|
116
|
+
tel: "tel";
|
|
117
|
+
}>>;
|
|
118
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
}, z.core.$strict>>>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
type PublicAgentChatGrant$1 = z.infer<typeof PublicAgentChatGrantSchema>;
|
|
122
|
+
|
|
123
|
+
interface PublicAgentChatGrant extends Omit<PublicAgentChatGrant$1, 'branding'> {
|
|
89
124
|
branding?: unknown;
|
|
90
|
-
captureFields?: unknown;
|
|
91
125
|
maxTurnsPerSession?: number;
|
|
92
126
|
}
|
|
93
127
|
interface PublicAgentChatMetadataResponse {
|
|
@@ -188,6 +222,8 @@ declare function usePublicAgentChatWebSocket(sessionId: string | null, apiUrl: s
|
|
|
188
222
|
sendMessage: (text: string) => void;
|
|
189
223
|
clearError: () => void;
|
|
190
224
|
lastTokenUsage: SessionTokenUsage | null;
|
|
225
|
+
endSession: () => void;
|
|
226
|
+
ended: boolean;
|
|
191
227
|
};
|
|
192
228
|
|
|
193
229
|
declare const publicAgentChatKeys: {
|