@surf-kit/agent 0.1.1 → 0.2.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/README.md +19 -1
- package/dist/agent-BNSmiexZ.d.cts +44 -0
- package/dist/agent-BNSmiexZ.d.ts +44 -0
- package/dist/agent-identity/index.cjs +157 -0
- package/dist/agent-identity/index.cjs.map +1 -0
- package/dist/agent-identity/index.d.cts +35 -0
- package/dist/agent-identity/index.d.ts +35 -0
- package/dist/agent-identity/index.js +127 -0
- package/dist/agent-identity/index.js.map +1 -0
- package/dist/chat/index.cjs +1281 -0
- package/dist/chat/index.cjs.map +1 -0
- package/dist/chat/index.d.cts +72 -0
- package/dist/chat/index.d.ts +72 -0
- package/dist/chat/index.js +1239 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat--OifhIRe.d.ts +24 -0
- package/dist/chat-ChYl2XjV.d.cts +24 -0
- package/dist/confidence/index.cjs +253 -0
- package/dist/confidence/index.cjs.map +1 -0
- package/dist/confidence/index.d.cts +40 -0
- package/dist/confidence/index.d.ts +40 -0
- package/dist/confidence/index.js +222 -0
- package/dist/confidence/index.js.map +1 -0
- package/dist/feedback/index.cjs +186 -0
- package/dist/feedback/index.cjs.map +1 -0
- package/dist/feedback/index.d.cts +27 -0
- package/dist/feedback/index.d.ts +27 -0
- package/dist/feedback/index.js +157 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/{hooks-B8CSeOsn.d.cts → hooks-BGs8-4GK.d.ts} +4 -99
- package/dist/{hooks-B8CSeOsn.d.ts → hooks-DLfF18IU.d.cts} +4 -99
- package/dist/hooks.d.cts +4 -1
- package/dist/hooks.d.ts +4 -1
- package/dist/index-BazLnae1.d.cts +67 -0
- package/dist/index-BazLnae1.d.ts +67 -0
- package/dist/index.cjs +889 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -321
- package/dist/index.d.ts +15 -321
- package/dist/index.js +879 -142
- package/dist/index.js.map +1 -1
- package/dist/layouts/index.cjs +1588 -0
- package/dist/layouts/index.cjs.map +1 -0
- package/dist/layouts/index.d.cts +46 -0
- package/dist/layouts/index.d.ts +46 -0
- package/dist/layouts/index.js +1548 -0
- package/dist/layouts/index.js.map +1 -0
- package/dist/mcp/index.cjs +522 -0
- package/dist/mcp/index.cjs.map +1 -0
- package/dist/mcp/index.d.cts +2 -0
- package/dist/mcp/index.d.ts +2 -0
- package/dist/mcp/index.js +492 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/response/index.cjs +519 -0
- package/dist/response/index.cjs.map +1 -0
- package/dist/response/index.d.cts +44 -0
- package/dist/response/index.d.ts +44 -0
- package/dist/response/index.js +478 -0
- package/dist/response/index.js.map +1 -0
- package/dist/sources/index.cjs +243 -0
- package/dist/sources/index.cjs.map +1 -0
- package/dist/sources/index.d.cts +44 -0
- package/dist/sources/index.d.ts +44 -0
- package/dist/sources/index.js +212 -0
- package/dist/sources/index.js.map +1 -0
- package/dist/streaming/index.cjs +531 -0
- package/dist/streaming/index.cjs.map +1 -0
- package/dist/streaming/index.d.cts +81 -0
- package/dist/streaming/index.d.ts +81 -0
- package/dist/streaming/index.js +495 -0
- package/dist/streaming/index.js.map +1 -0
- package/dist/streaming-DbQxScpi.d.ts +39 -0
- package/dist/streaming-DfT22A0z.d.cts +39 -0
- package/package.json +62 -17
package/dist/index.d.cts
CHANGED
|
@@ -1,321 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
showVerification?: boolean;
|
|
17
|
-
enableFeedback?: boolean;
|
|
18
|
-
onMessage?: (message: ChatMessage) => void;
|
|
19
|
-
className?: string;
|
|
20
|
-
};
|
|
21
|
-
declare function AgentChat({ endpoint, title, welcomeTitle, welcomeMessage, suggestedQuestions, showHeader, showWelcomeTitle, showSources, showConfidence, showVerification, className, }: AgentChatProps): react_jsx_runtime.JSX.Element;
|
|
22
|
-
|
|
23
|
-
type MessageThreadProps = {
|
|
24
|
-
messages: ChatMessage[];
|
|
25
|
-
streamingSlot?: React.ReactNode;
|
|
26
|
-
showSources?: boolean;
|
|
27
|
-
showConfidence?: boolean;
|
|
28
|
-
showVerification?: boolean;
|
|
29
|
-
className?: string;
|
|
30
|
-
};
|
|
31
|
-
declare function MessageThread({ messages, streamingSlot, showSources, showConfidence, showVerification, className }: MessageThreadProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
type MessageBubbleProps = {
|
|
34
|
-
message: ChatMessage;
|
|
35
|
-
showAgent?: boolean;
|
|
36
|
-
showSources?: boolean;
|
|
37
|
-
showConfidence?: boolean;
|
|
38
|
-
showVerification?: boolean;
|
|
39
|
-
className?: string;
|
|
40
|
-
};
|
|
41
|
-
declare function MessageBubble({ message, showAgent, showSources, showConfidence, showVerification, className, }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
42
|
-
|
|
43
|
-
type MessageComposerProps = {
|
|
44
|
-
onSend: (content: string) => void;
|
|
45
|
-
isLoading?: boolean;
|
|
46
|
-
placeholder?: string;
|
|
47
|
-
className?: string;
|
|
48
|
-
};
|
|
49
|
-
declare function MessageComposer({ onSend, isLoading, placeholder, className, }: MessageComposerProps): react_jsx_runtime.JSX.Element;
|
|
50
|
-
|
|
51
|
-
type WelcomeScreenProps = {
|
|
52
|
-
title?: string;
|
|
53
|
-
message?: string;
|
|
54
|
-
suggestedQuestions?: string[];
|
|
55
|
-
onQuestionSelect?: (question: string) => void;
|
|
56
|
-
className?: string;
|
|
57
|
-
};
|
|
58
|
-
declare function WelcomeScreen({ title, message, suggestedQuestions, onQuestionSelect, className, }: WelcomeScreenProps): react_jsx_runtime.JSX.Element;
|
|
59
|
-
|
|
60
|
-
type AgentResponseProps = {
|
|
61
|
-
response: AgentResponse$1;
|
|
62
|
-
showSources?: boolean;
|
|
63
|
-
showConfidence?: boolean;
|
|
64
|
-
showVerification?: boolean;
|
|
65
|
-
onFollowUp?: (suggestion: string) => void;
|
|
66
|
-
onNavigateSource?: (source: AgentResponse$1['sources'][number]) => void;
|
|
67
|
-
className?: string;
|
|
68
|
-
};
|
|
69
|
-
declare function AgentResponse({ response, showSources, showConfidence, showVerification, onFollowUp, onNavigateSource, className, }: AgentResponseProps): react_jsx_runtime.JSX.Element;
|
|
70
|
-
|
|
71
|
-
type ResponseMessageProps = {
|
|
72
|
-
content: string;
|
|
73
|
-
className?: string;
|
|
74
|
-
};
|
|
75
|
-
declare function ResponseMessage({ content, className }: ResponseMessageProps): react_jsx_runtime.JSX.Element;
|
|
76
|
-
|
|
77
|
-
type StructuredResponseProps = {
|
|
78
|
-
uiHint: AgentResponse$1['ui_hint'];
|
|
79
|
-
data: Record<string, unknown> | null;
|
|
80
|
-
className?: string;
|
|
81
|
-
};
|
|
82
|
-
declare function StructuredResponse({ uiHint, data, className }: StructuredResponseProps): react_jsx_runtime.JSX.Element | null;
|
|
83
|
-
|
|
84
|
-
type FollowUpChipsProps = {
|
|
85
|
-
suggestions: string[];
|
|
86
|
-
onSelect: (suggestion: string) => void;
|
|
87
|
-
className?: string;
|
|
88
|
-
};
|
|
89
|
-
declare function FollowUpChips({ suggestions, onSelect, className }: FollowUpChipsProps): react_jsx_runtime.JSX.Element | null;
|
|
90
|
-
|
|
91
|
-
type ErrorResponseProps = {
|
|
92
|
-
error: ChatError;
|
|
93
|
-
onRetry?: () => void;
|
|
94
|
-
className?: string;
|
|
95
|
-
};
|
|
96
|
-
declare function ErrorResponse({ error, onRetry, className }: ErrorResponseProps): react_jsx_runtime.JSX.Element;
|
|
97
|
-
|
|
98
|
-
type SourceCardProps = {
|
|
99
|
-
source: Source;
|
|
100
|
-
variant?: 'compact' | 'expanded';
|
|
101
|
-
onNavigate?: (source: Source) => void;
|
|
102
|
-
className?: string;
|
|
103
|
-
};
|
|
104
|
-
declare function SourceCard({ source, variant, onNavigate, className }: SourceCardProps): react_jsx_runtime.JSX.Element;
|
|
105
|
-
|
|
106
|
-
type SourceListProps = {
|
|
107
|
-
sources: Source[];
|
|
108
|
-
variant?: 'compact' | 'expanded';
|
|
109
|
-
collapsible?: boolean;
|
|
110
|
-
defaultExpanded?: boolean;
|
|
111
|
-
onNavigate?: (source: Source) => void;
|
|
112
|
-
className?: string;
|
|
113
|
-
};
|
|
114
|
-
declare function SourceList({ sources, variant, collapsible, defaultExpanded, onNavigate, className, }: SourceListProps): react_jsx_runtime.JSX.Element | null;
|
|
115
|
-
|
|
116
|
-
type SourceInlineProps = {
|
|
117
|
-
source: Source;
|
|
118
|
-
index: number;
|
|
119
|
-
className?: string;
|
|
120
|
-
};
|
|
121
|
-
declare function SourceInline({ source, index, className }: SourceInlineProps): react_jsx_runtime.JSX.Element;
|
|
122
|
-
|
|
123
|
-
type SourceDrawerProps = {
|
|
124
|
-
source: Source | null;
|
|
125
|
-
isOpen: boolean;
|
|
126
|
-
onClose: () => void;
|
|
127
|
-
className?: string;
|
|
128
|
-
};
|
|
129
|
-
declare function SourceDrawer({ source, isOpen, onClose, className }: SourceDrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
130
|
-
|
|
131
|
-
type SourceBadgeProps = {
|
|
132
|
-
count: number;
|
|
133
|
-
className?: string;
|
|
134
|
-
};
|
|
135
|
-
declare function SourceBadge({ count, className }: SourceBadgeProps): react_jsx_runtime.JSX.Element | null;
|
|
136
|
-
|
|
137
|
-
type ConfidenceBadgeProps = {
|
|
138
|
-
confidence: ConfidenceBreakdown$1;
|
|
139
|
-
className?: string;
|
|
140
|
-
};
|
|
141
|
-
declare function ConfidenceBadge({ confidence, className }: ConfidenceBadgeProps): react_jsx_runtime.JSX.Element;
|
|
142
|
-
|
|
143
|
-
type ConfidenceBreakdownProps = {
|
|
144
|
-
confidence: ConfidenceBreakdown$1;
|
|
145
|
-
expandable?: boolean;
|
|
146
|
-
defaultExpanded?: boolean;
|
|
147
|
-
className?: string;
|
|
148
|
-
};
|
|
149
|
-
declare function ConfidenceBreakdown({ confidence, expandable, defaultExpanded, className, }: ConfidenceBreakdownProps): react_jsx_runtime.JSX.Element;
|
|
150
|
-
|
|
151
|
-
type ConfidenceMeterProps = {
|
|
152
|
-
value: number;
|
|
153
|
-
label: string;
|
|
154
|
-
className?: string;
|
|
155
|
-
};
|
|
156
|
-
declare function ConfidenceMeter({ value, label, className }: ConfidenceMeterProps): react_jsx_runtime.JSX.Element;
|
|
157
|
-
|
|
158
|
-
type VerificationBadgeProps = {
|
|
159
|
-
verification: VerificationResult;
|
|
160
|
-
className?: string;
|
|
161
|
-
};
|
|
162
|
-
declare function VerificationBadge({ verification, className }: VerificationBadgeProps): react_jsx_runtime.JSX.Element;
|
|
163
|
-
|
|
164
|
-
type VerificationDetailProps = {
|
|
165
|
-
verification: VerificationResult;
|
|
166
|
-
expandable?: boolean;
|
|
167
|
-
defaultExpanded?: boolean;
|
|
168
|
-
className?: string;
|
|
169
|
-
};
|
|
170
|
-
declare function VerificationDetail({ verification, expandable, defaultExpanded, className, }: VerificationDetailProps): react_jsx_runtime.JSX.Element;
|
|
171
|
-
|
|
172
|
-
type AgentAvatarProps = {
|
|
173
|
-
agentId?: string;
|
|
174
|
-
agent?: AgentInfo;
|
|
175
|
-
size?: 'sm' | 'md' | 'lg';
|
|
176
|
-
agentThemes?: Record<string, AgentInfo>;
|
|
177
|
-
className?: string;
|
|
178
|
-
};
|
|
179
|
-
declare function AgentAvatar({ agentId, agent, size, agentThemes, className }: AgentAvatarProps): react_jsx_runtime.JSX.Element;
|
|
180
|
-
|
|
181
|
-
type AgentLabelProps = {
|
|
182
|
-
agent: AgentInfo;
|
|
183
|
-
className?: string;
|
|
184
|
-
};
|
|
185
|
-
declare function AgentLabel({ agent, className }: AgentLabelProps): react_jsx_runtime.JSX.Element;
|
|
186
|
-
|
|
187
|
-
type AgentHandoffProps = {
|
|
188
|
-
from: AgentInfo;
|
|
189
|
-
to: AgentInfo;
|
|
190
|
-
className?: string;
|
|
191
|
-
};
|
|
192
|
-
declare function AgentHandoff({ from, to, className }: AgentHandoffProps): react_jsx_runtime.JSX.Element;
|
|
193
|
-
|
|
194
|
-
type RoutingIndicatorProps = {
|
|
195
|
-
from: string;
|
|
196
|
-
to: string;
|
|
197
|
-
reason?: string;
|
|
198
|
-
className?: string;
|
|
199
|
-
};
|
|
200
|
-
declare function RoutingIndicator({ from, to, reason, className }: RoutingIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
201
|
-
|
|
202
|
-
type StreamingMessageProps = {
|
|
203
|
-
stream: StreamState;
|
|
204
|
-
onComplete?: () => void;
|
|
205
|
-
showPhases?: boolean;
|
|
206
|
-
className?: string;
|
|
207
|
-
};
|
|
208
|
-
declare function StreamingMessage({ stream, onComplete, showPhases, className, }: StreamingMessageProps): react_jsx_runtime.JSX.Element;
|
|
209
|
-
|
|
210
|
-
type ThinkingIndicatorProps = {
|
|
211
|
-
label?: string;
|
|
212
|
-
className?: string;
|
|
213
|
-
};
|
|
214
|
-
declare function ThinkingIndicator({ label, className }: ThinkingIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
215
|
-
|
|
216
|
-
type ToolExecutionProps = {
|
|
217
|
-
tool: string;
|
|
218
|
-
label?: string;
|
|
219
|
-
className?: string;
|
|
220
|
-
};
|
|
221
|
-
declare function ToolExecution({ tool, label, className }: ToolExecutionProps): react_jsx_runtime.JSX.Element;
|
|
222
|
-
|
|
223
|
-
type RetrievalProgressProps = {
|
|
224
|
-
sources: Source[];
|
|
225
|
-
isActive: boolean;
|
|
226
|
-
className?: string;
|
|
227
|
-
};
|
|
228
|
-
declare function RetrievalProgress({ sources, isActive, className }: RetrievalProgressProps): react_jsx_runtime.JSX.Element;
|
|
229
|
-
|
|
230
|
-
type VerificationProgressProps = {
|
|
231
|
-
isActive: boolean;
|
|
232
|
-
label?: string;
|
|
233
|
-
className?: string;
|
|
234
|
-
};
|
|
235
|
-
declare function VerificationProgress({ isActive, label, className, }: VerificationProgressProps): react_jsx_runtime.JSX.Element | null;
|
|
236
|
-
|
|
237
|
-
type TypewriterTextProps = {
|
|
238
|
-
text: string;
|
|
239
|
-
speed?: number;
|
|
240
|
-
delay?: number;
|
|
241
|
-
onComplete?: () => void;
|
|
242
|
-
className?: string;
|
|
243
|
-
showCursor?: boolean;
|
|
244
|
-
};
|
|
245
|
-
declare function TypewriterText({ text, speed, delay, onComplete, className, showCursor, }: TypewriterTextProps): react_jsx_runtime.JSX.Element;
|
|
246
|
-
|
|
247
|
-
type ConversationListProps = {
|
|
248
|
-
conversations: ConversationSummary[];
|
|
249
|
-
activeId?: string;
|
|
250
|
-
onSelect: (id: string) => void;
|
|
251
|
-
onDelete?: (id: string) => void;
|
|
252
|
-
onNew?: () => void;
|
|
253
|
-
className?: string;
|
|
254
|
-
};
|
|
255
|
-
declare function ConversationList({ conversations, activeId, onSelect, onDelete, onNew, className, }: ConversationListProps): react_jsx_runtime.JSX.Element;
|
|
256
|
-
|
|
257
|
-
type AgentFullPageProps = {
|
|
258
|
-
endpoint: string;
|
|
259
|
-
title?: string;
|
|
260
|
-
showConversationList?: boolean;
|
|
261
|
-
conversations?: ConversationSummary[];
|
|
262
|
-
activeConversationId?: string;
|
|
263
|
-
onConversationSelect?: (id: string) => void;
|
|
264
|
-
onConversationDelete?: (id: string) => void;
|
|
265
|
-
onNewConversation?: () => void;
|
|
266
|
-
className?: string;
|
|
267
|
-
};
|
|
268
|
-
declare function AgentFullPage({ endpoint, title, showConversationList, conversations, activeConversationId, onConversationSelect, onConversationDelete, onNewConversation, className, }: AgentFullPageProps): react_jsx_runtime.JSX.Element;
|
|
269
|
-
|
|
270
|
-
type AgentPanelProps = {
|
|
271
|
-
endpoint: string;
|
|
272
|
-
isOpen: boolean;
|
|
273
|
-
onClose: () => void;
|
|
274
|
-
side?: 'left' | 'right';
|
|
275
|
-
width?: string | number;
|
|
276
|
-
title?: string;
|
|
277
|
-
className?: string;
|
|
278
|
-
};
|
|
279
|
-
declare function AgentPanel({ endpoint, isOpen, onClose, side, width, title, className, }: AgentPanelProps): react_jsx_runtime.JSX.Element;
|
|
280
|
-
|
|
281
|
-
type AgentWidgetProps = {
|
|
282
|
-
endpoint: string;
|
|
283
|
-
position?: 'bottom-right' | 'bottom-left';
|
|
284
|
-
triggerLabel?: string;
|
|
285
|
-
title?: string;
|
|
286
|
-
className?: string;
|
|
287
|
-
};
|
|
288
|
-
declare function AgentWidget({ endpoint, position, triggerLabel, title, className, }: AgentWidgetProps): react_jsx_runtime.JSX.Element;
|
|
289
|
-
|
|
290
|
-
type AgentEmbedProps = {
|
|
291
|
-
endpoint: string;
|
|
292
|
-
title?: string;
|
|
293
|
-
className?: string;
|
|
294
|
-
};
|
|
295
|
-
declare function AgentEmbed({ endpoint, title, className, }: AgentEmbedProps): react_jsx_runtime.JSX.Element;
|
|
296
|
-
|
|
297
|
-
type FeedbackRating = 'positive' | 'negative';
|
|
298
|
-
type ThumbsFeedbackProps = {
|
|
299
|
-
messageId: string;
|
|
300
|
-
onFeedback: (messageId: string, rating: FeedbackRating, comment?: string) => void;
|
|
301
|
-
state?: FeedbackRating | null;
|
|
302
|
-
onNegative?: () => void;
|
|
303
|
-
className?: string;
|
|
304
|
-
};
|
|
305
|
-
declare function ThumbsFeedback({ messageId, onFeedback, state, onNegative, className, }: ThumbsFeedbackProps): react_jsx_runtime.JSX.Element;
|
|
306
|
-
|
|
307
|
-
type FeedbackDialogProps = {
|
|
308
|
-
isOpen: boolean;
|
|
309
|
-
onClose: () => void;
|
|
310
|
-
onSubmit: (comment: string) => void;
|
|
311
|
-
className?: string;
|
|
312
|
-
};
|
|
313
|
-
declare function FeedbackDialog({ isOpen, onClose, onSubmit, className }: FeedbackDialogProps): react_jsx_runtime.JSX.Element;
|
|
314
|
-
|
|
315
|
-
type FeedbackConfirmationProps = {
|
|
316
|
-
variant?: 'inline' | 'toast';
|
|
317
|
-
className?: string;
|
|
318
|
-
};
|
|
319
|
-
declare function FeedbackConfirmation({ variant, className }: FeedbackConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
320
|
-
|
|
321
|
-
export { AgentAvatar, type AgentAvatarProps, AgentChat, type AgentChatProps, AgentEmbed, type AgentEmbedProps, AgentFullPage, type AgentFullPageProps, AgentHandoff, type AgentHandoffProps, AgentInfo, AgentLabel, type AgentLabelProps, AgentPanel, type AgentPanelProps, AgentResponse$1 as AgentResponse, type AgentResponseProps, AgentResponse as AgentResponseView, AgentWidget, type AgentWidgetProps, ChatError, ChatMessage, ConfidenceBadge, type ConfidenceBadgeProps, ConfidenceBreakdown$1 as ConfidenceBreakdown, type ConfidenceBreakdownProps, ConfidenceBreakdown as ConfidenceBreakdownView, ConfidenceMeter, type ConfidenceMeterProps, ConversationList, type ConversationListProps, ConversationSummary, ErrorResponse, type ErrorResponseProps, FeedbackConfirmation, type FeedbackConfirmationProps, FeedbackDialog, type FeedbackDialogProps, type FeedbackRating, FollowUpChips, type FollowUpChipsProps, MessageBubble, type MessageBubbleProps, MessageComposer, type MessageComposerProps, MessageThread, type MessageThreadProps, ResponseMessage, type ResponseMessageProps, RetrievalProgress, type RetrievalProgressProps, RoutingIndicator, type RoutingIndicatorProps, Source, SourceBadge, type SourceBadgeProps, SourceCard, type SourceCardProps, SourceDrawer, type SourceDrawerProps, SourceInline, type SourceInlineProps, SourceList, type SourceListProps, StreamState, StreamingMessage, type StreamingMessageProps, StructuredResponse, type StructuredResponseProps, ThinkingIndicator, type ThinkingIndicatorProps, ThumbsFeedback, type ThumbsFeedbackProps, ToolExecution, type ToolExecutionProps, TypewriterText, type TypewriterTextProps, VerificationBadge, type VerificationBadgeProps, VerificationDetail, type VerificationDetailProps, VerificationProgress, type VerificationProgressProps, VerificationResult, WelcomeScreen, type WelcomeScreenProps };
|
|
1
|
+
export { A as AgentInfo, a as AgentResponse, C as ConfidenceBreakdown, S as Source, V as VerificationResult } from './agent-BNSmiexZ.cjs';
|
|
2
|
+
export { C as ChatError, a as ChatMessage, b as ConversationSummary } from './chat-ChYl2XjV.cjs';
|
|
3
|
+
export { S as StreamEvent, a as StreamState } from './streaming-DfT22A0z.cjs';
|
|
4
|
+
export { A as AgentChatActions, a as AgentChatConfig, b as AgentChatState, c as AgentThemeResult, C as CharacterDrainResult, d as Conversation, F as FeedbackPayload, e as FeedbackState, U as UseConversationOptions, f as UseFeedbackOptions, g as UseStreamingOptions } from './hooks-DLfF18IU.cjs';
|
|
5
|
+
export { M as MCPApprovalDialog, a as MCPApprovalDialogProps, b as MCPResource, c as MCPResourceView, d as MCPResourceViewProps, e as MCPServerInfo, f as MCPServerStatus, g as MCPServerStatusProps, h as MCPToolCall, i as MCPToolCallData, j as MCPToolCallProps, k as MCPToolStatus } from './index-BazLnae1.cjs';
|
|
6
|
+
export { AgentChat, AgentChatProps, ConversationList, ConversationListProps, MessageBubble, MessageBubbleProps, MessageComposer, MessageComposerProps, MessageThread, MessageThreadProps, WelcomeScreen, WelcomeScreenProps } from './chat/index.cjs';
|
|
7
|
+
export { AgentResponseProps, AgentResponse as AgentResponseView, ErrorResponse, ErrorResponseProps, FollowUpChips, FollowUpChipsProps, ResponseMessage, ResponseMessageProps, StructuredResponse, StructuredResponseProps } from './response/index.cjs';
|
|
8
|
+
export { SourceBadge, SourceBadgeProps, SourceCard, SourceCardProps, SourceDrawer, SourceDrawerProps, SourceInline, SourceInlineProps, SourceList, SourceListProps } from './sources/index.cjs';
|
|
9
|
+
export { ConfidenceBadge, ConfidenceBadgeProps, ConfidenceBreakdownProps, ConfidenceBreakdown as ConfidenceBreakdownView, ConfidenceMeter, ConfidenceMeterProps, VerificationBadge, VerificationBadgeProps, VerificationDetail, VerificationDetailProps } from './confidence/index.cjs';
|
|
10
|
+
export { AgentAvatar, AgentAvatarProps, AgentHandoff, AgentHandoffProps, AgentLabel, AgentLabelProps, RoutingIndicator, RoutingIndicatorProps } from './agent-identity/index.cjs';
|
|
11
|
+
export { RetrievalProgress, RetrievalProgressProps, StreamingList, StreamingListProps, StreamingMessage, StreamingMessageProps, StreamingStructure, StreamingStructureProps, TextGlimmer, TextGlimmerProps, ThinkingIndicator, ThinkingIndicatorProps, ToolExecution, ToolExecutionProps, TypewriterText, TypewriterTextProps, TypingIndicator, TypingIndicatorProps, VerificationProgress, VerificationProgressProps } from './streaming/index.cjs';
|
|
12
|
+
export { AgentEmbed, AgentEmbedProps, AgentFullPage, AgentFullPageProps, AgentPanel, AgentPanelProps, AgentWidget, AgentWidgetProps } from './layouts/index.cjs';
|
|
13
|
+
export { FeedbackConfirmation, FeedbackConfirmationProps, FeedbackDialog, FeedbackDialogProps, FeedbackRating, ThumbsFeedback, ThumbsFeedbackProps } from './feedback/index.cjs';
|
|
14
|
+
import 'react';
|
|
15
|
+
import 'react/jsx-runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,321 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
showVerification?: boolean;
|
|
17
|
-
enableFeedback?: boolean;
|
|
18
|
-
onMessage?: (message: ChatMessage) => void;
|
|
19
|
-
className?: string;
|
|
20
|
-
};
|
|
21
|
-
declare function AgentChat({ endpoint, title, welcomeTitle, welcomeMessage, suggestedQuestions, showHeader, showWelcomeTitle, showSources, showConfidence, showVerification, className, }: AgentChatProps): react_jsx_runtime.JSX.Element;
|
|
22
|
-
|
|
23
|
-
type MessageThreadProps = {
|
|
24
|
-
messages: ChatMessage[];
|
|
25
|
-
streamingSlot?: React.ReactNode;
|
|
26
|
-
showSources?: boolean;
|
|
27
|
-
showConfidence?: boolean;
|
|
28
|
-
showVerification?: boolean;
|
|
29
|
-
className?: string;
|
|
30
|
-
};
|
|
31
|
-
declare function MessageThread({ messages, streamingSlot, showSources, showConfidence, showVerification, className }: MessageThreadProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
type MessageBubbleProps = {
|
|
34
|
-
message: ChatMessage;
|
|
35
|
-
showAgent?: boolean;
|
|
36
|
-
showSources?: boolean;
|
|
37
|
-
showConfidence?: boolean;
|
|
38
|
-
showVerification?: boolean;
|
|
39
|
-
className?: string;
|
|
40
|
-
};
|
|
41
|
-
declare function MessageBubble({ message, showAgent, showSources, showConfidence, showVerification, className, }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
42
|
-
|
|
43
|
-
type MessageComposerProps = {
|
|
44
|
-
onSend: (content: string) => void;
|
|
45
|
-
isLoading?: boolean;
|
|
46
|
-
placeholder?: string;
|
|
47
|
-
className?: string;
|
|
48
|
-
};
|
|
49
|
-
declare function MessageComposer({ onSend, isLoading, placeholder, className, }: MessageComposerProps): react_jsx_runtime.JSX.Element;
|
|
50
|
-
|
|
51
|
-
type WelcomeScreenProps = {
|
|
52
|
-
title?: string;
|
|
53
|
-
message?: string;
|
|
54
|
-
suggestedQuestions?: string[];
|
|
55
|
-
onQuestionSelect?: (question: string) => void;
|
|
56
|
-
className?: string;
|
|
57
|
-
};
|
|
58
|
-
declare function WelcomeScreen({ title, message, suggestedQuestions, onQuestionSelect, className, }: WelcomeScreenProps): react_jsx_runtime.JSX.Element;
|
|
59
|
-
|
|
60
|
-
type AgentResponseProps = {
|
|
61
|
-
response: AgentResponse$1;
|
|
62
|
-
showSources?: boolean;
|
|
63
|
-
showConfidence?: boolean;
|
|
64
|
-
showVerification?: boolean;
|
|
65
|
-
onFollowUp?: (suggestion: string) => void;
|
|
66
|
-
onNavigateSource?: (source: AgentResponse$1['sources'][number]) => void;
|
|
67
|
-
className?: string;
|
|
68
|
-
};
|
|
69
|
-
declare function AgentResponse({ response, showSources, showConfidence, showVerification, onFollowUp, onNavigateSource, className, }: AgentResponseProps): react_jsx_runtime.JSX.Element;
|
|
70
|
-
|
|
71
|
-
type ResponseMessageProps = {
|
|
72
|
-
content: string;
|
|
73
|
-
className?: string;
|
|
74
|
-
};
|
|
75
|
-
declare function ResponseMessage({ content, className }: ResponseMessageProps): react_jsx_runtime.JSX.Element;
|
|
76
|
-
|
|
77
|
-
type StructuredResponseProps = {
|
|
78
|
-
uiHint: AgentResponse$1['ui_hint'];
|
|
79
|
-
data: Record<string, unknown> | null;
|
|
80
|
-
className?: string;
|
|
81
|
-
};
|
|
82
|
-
declare function StructuredResponse({ uiHint, data, className }: StructuredResponseProps): react_jsx_runtime.JSX.Element | null;
|
|
83
|
-
|
|
84
|
-
type FollowUpChipsProps = {
|
|
85
|
-
suggestions: string[];
|
|
86
|
-
onSelect: (suggestion: string) => void;
|
|
87
|
-
className?: string;
|
|
88
|
-
};
|
|
89
|
-
declare function FollowUpChips({ suggestions, onSelect, className }: FollowUpChipsProps): react_jsx_runtime.JSX.Element | null;
|
|
90
|
-
|
|
91
|
-
type ErrorResponseProps = {
|
|
92
|
-
error: ChatError;
|
|
93
|
-
onRetry?: () => void;
|
|
94
|
-
className?: string;
|
|
95
|
-
};
|
|
96
|
-
declare function ErrorResponse({ error, onRetry, className }: ErrorResponseProps): react_jsx_runtime.JSX.Element;
|
|
97
|
-
|
|
98
|
-
type SourceCardProps = {
|
|
99
|
-
source: Source;
|
|
100
|
-
variant?: 'compact' | 'expanded';
|
|
101
|
-
onNavigate?: (source: Source) => void;
|
|
102
|
-
className?: string;
|
|
103
|
-
};
|
|
104
|
-
declare function SourceCard({ source, variant, onNavigate, className }: SourceCardProps): react_jsx_runtime.JSX.Element;
|
|
105
|
-
|
|
106
|
-
type SourceListProps = {
|
|
107
|
-
sources: Source[];
|
|
108
|
-
variant?: 'compact' | 'expanded';
|
|
109
|
-
collapsible?: boolean;
|
|
110
|
-
defaultExpanded?: boolean;
|
|
111
|
-
onNavigate?: (source: Source) => void;
|
|
112
|
-
className?: string;
|
|
113
|
-
};
|
|
114
|
-
declare function SourceList({ sources, variant, collapsible, defaultExpanded, onNavigate, className, }: SourceListProps): react_jsx_runtime.JSX.Element | null;
|
|
115
|
-
|
|
116
|
-
type SourceInlineProps = {
|
|
117
|
-
source: Source;
|
|
118
|
-
index: number;
|
|
119
|
-
className?: string;
|
|
120
|
-
};
|
|
121
|
-
declare function SourceInline({ source, index, className }: SourceInlineProps): react_jsx_runtime.JSX.Element;
|
|
122
|
-
|
|
123
|
-
type SourceDrawerProps = {
|
|
124
|
-
source: Source | null;
|
|
125
|
-
isOpen: boolean;
|
|
126
|
-
onClose: () => void;
|
|
127
|
-
className?: string;
|
|
128
|
-
};
|
|
129
|
-
declare function SourceDrawer({ source, isOpen, onClose, className }: SourceDrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
130
|
-
|
|
131
|
-
type SourceBadgeProps = {
|
|
132
|
-
count: number;
|
|
133
|
-
className?: string;
|
|
134
|
-
};
|
|
135
|
-
declare function SourceBadge({ count, className }: SourceBadgeProps): react_jsx_runtime.JSX.Element | null;
|
|
136
|
-
|
|
137
|
-
type ConfidenceBadgeProps = {
|
|
138
|
-
confidence: ConfidenceBreakdown$1;
|
|
139
|
-
className?: string;
|
|
140
|
-
};
|
|
141
|
-
declare function ConfidenceBadge({ confidence, className }: ConfidenceBadgeProps): react_jsx_runtime.JSX.Element;
|
|
142
|
-
|
|
143
|
-
type ConfidenceBreakdownProps = {
|
|
144
|
-
confidence: ConfidenceBreakdown$1;
|
|
145
|
-
expandable?: boolean;
|
|
146
|
-
defaultExpanded?: boolean;
|
|
147
|
-
className?: string;
|
|
148
|
-
};
|
|
149
|
-
declare function ConfidenceBreakdown({ confidence, expandable, defaultExpanded, className, }: ConfidenceBreakdownProps): react_jsx_runtime.JSX.Element;
|
|
150
|
-
|
|
151
|
-
type ConfidenceMeterProps = {
|
|
152
|
-
value: number;
|
|
153
|
-
label: string;
|
|
154
|
-
className?: string;
|
|
155
|
-
};
|
|
156
|
-
declare function ConfidenceMeter({ value, label, className }: ConfidenceMeterProps): react_jsx_runtime.JSX.Element;
|
|
157
|
-
|
|
158
|
-
type VerificationBadgeProps = {
|
|
159
|
-
verification: VerificationResult;
|
|
160
|
-
className?: string;
|
|
161
|
-
};
|
|
162
|
-
declare function VerificationBadge({ verification, className }: VerificationBadgeProps): react_jsx_runtime.JSX.Element;
|
|
163
|
-
|
|
164
|
-
type VerificationDetailProps = {
|
|
165
|
-
verification: VerificationResult;
|
|
166
|
-
expandable?: boolean;
|
|
167
|
-
defaultExpanded?: boolean;
|
|
168
|
-
className?: string;
|
|
169
|
-
};
|
|
170
|
-
declare function VerificationDetail({ verification, expandable, defaultExpanded, className, }: VerificationDetailProps): react_jsx_runtime.JSX.Element;
|
|
171
|
-
|
|
172
|
-
type AgentAvatarProps = {
|
|
173
|
-
agentId?: string;
|
|
174
|
-
agent?: AgentInfo;
|
|
175
|
-
size?: 'sm' | 'md' | 'lg';
|
|
176
|
-
agentThemes?: Record<string, AgentInfo>;
|
|
177
|
-
className?: string;
|
|
178
|
-
};
|
|
179
|
-
declare function AgentAvatar({ agentId, agent, size, agentThemes, className }: AgentAvatarProps): react_jsx_runtime.JSX.Element;
|
|
180
|
-
|
|
181
|
-
type AgentLabelProps = {
|
|
182
|
-
agent: AgentInfo;
|
|
183
|
-
className?: string;
|
|
184
|
-
};
|
|
185
|
-
declare function AgentLabel({ agent, className }: AgentLabelProps): react_jsx_runtime.JSX.Element;
|
|
186
|
-
|
|
187
|
-
type AgentHandoffProps = {
|
|
188
|
-
from: AgentInfo;
|
|
189
|
-
to: AgentInfo;
|
|
190
|
-
className?: string;
|
|
191
|
-
};
|
|
192
|
-
declare function AgentHandoff({ from, to, className }: AgentHandoffProps): react_jsx_runtime.JSX.Element;
|
|
193
|
-
|
|
194
|
-
type RoutingIndicatorProps = {
|
|
195
|
-
from: string;
|
|
196
|
-
to: string;
|
|
197
|
-
reason?: string;
|
|
198
|
-
className?: string;
|
|
199
|
-
};
|
|
200
|
-
declare function RoutingIndicator({ from, to, reason, className }: RoutingIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
201
|
-
|
|
202
|
-
type StreamingMessageProps = {
|
|
203
|
-
stream: StreamState;
|
|
204
|
-
onComplete?: () => void;
|
|
205
|
-
showPhases?: boolean;
|
|
206
|
-
className?: string;
|
|
207
|
-
};
|
|
208
|
-
declare function StreamingMessage({ stream, onComplete, showPhases, className, }: StreamingMessageProps): react_jsx_runtime.JSX.Element;
|
|
209
|
-
|
|
210
|
-
type ThinkingIndicatorProps = {
|
|
211
|
-
label?: string;
|
|
212
|
-
className?: string;
|
|
213
|
-
};
|
|
214
|
-
declare function ThinkingIndicator({ label, className }: ThinkingIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
215
|
-
|
|
216
|
-
type ToolExecutionProps = {
|
|
217
|
-
tool: string;
|
|
218
|
-
label?: string;
|
|
219
|
-
className?: string;
|
|
220
|
-
};
|
|
221
|
-
declare function ToolExecution({ tool, label, className }: ToolExecutionProps): react_jsx_runtime.JSX.Element;
|
|
222
|
-
|
|
223
|
-
type RetrievalProgressProps = {
|
|
224
|
-
sources: Source[];
|
|
225
|
-
isActive: boolean;
|
|
226
|
-
className?: string;
|
|
227
|
-
};
|
|
228
|
-
declare function RetrievalProgress({ sources, isActive, className }: RetrievalProgressProps): react_jsx_runtime.JSX.Element;
|
|
229
|
-
|
|
230
|
-
type VerificationProgressProps = {
|
|
231
|
-
isActive: boolean;
|
|
232
|
-
label?: string;
|
|
233
|
-
className?: string;
|
|
234
|
-
};
|
|
235
|
-
declare function VerificationProgress({ isActive, label, className, }: VerificationProgressProps): react_jsx_runtime.JSX.Element | null;
|
|
236
|
-
|
|
237
|
-
type TypewriterTextProps = {
|
|
238
|
-
text: string;
|
|
239
|
-
speed?: number;
|
|
240
|
-
delay?: number;
|
|
241
|
-
onComplete?: () => void;
|
|
242
|
-
className?: string;
|
|
243
|
-
showCursor?: boolean;
|
|
244
|
-
};
|
|
245
|
-
declare function TypewriterText({ text, speed, delay, onComplete, className, showCursor, }: TypewriterTextProps): react_jsx_runtime.JSX.Element;
|
|
246
|
-
|
|
247
|
-
type ConversationListProps = {
|
|
248
|
-
conversations: ConversationSummary[];
|
|
249
|
-
activeId?: string;
|
|
250
|
-
onSelect: (id: string) => void;
|
|
251
|
-
onDelete?: (id: string) => void;
|
|
252
|
-
onNew?: () => void;
|
|
253
|
-
className?: string;
|
|
254
|
-
};
|
|
255
|
-
declare function ConversationList({ conversations, activeId, onSelect, onDelete, onNew, className, }: ConversationListProps): react_jsx_runtime.JSX.Element;
|
|
256
|
-
|
|
257
|
-
type AgentFullPageProps = {
|
|
258
|
-
endpoint: string;
|
|
259
|
-
title?: string;
|
|
260
|
-
showConversationList?: boolean;
|
|
261
|
-
conversations?: ConversationSummary[];
|
|
262
|
-
activeConversationId?: string;
|
|
263
|
-
onConversationSelect?: (id: string) => void;
|
|
264
|
-
onConversationDelete?: (id: string) => void;
|
|
265
|
-
onNewConversation?: () => void;
|
|
266
|
-
className?: string;
|
|
267
|
-
};
|
|
268
|
-
declare function AgentFullPage({ endpoint, title, showConversationList, conversations, activeConversationId, onConversationSelect, onConversationDelete, onNewConversation, className, }: AgentFullPageProps): react_jsx_runtime.JSX.Element;
|
|
269
|
-
|
|
270
|
-
type AgentPanelProps = {
|
|
271
|
-
endpoint: string;
|
|
272
|
-
isOpen: boolean;
|
|
273
|
-
onClose: () => void;
|
|
274
|
-
side?: 'left' | 'right';
|
|
275
|
-
width?: string | number;
|
|
276
|
-
title?: string;
|
|
277
|
-
className?: string;
|
|
278
|
-
};
|
|
279
|
-
declare function AgentPanel({ endpoint, isOpen, onClose, side, width, title, className, }: AgentPanelProps): react_jsx_runtime.JSX.Element;
|
|
280
|
-
|
|
281
|
-
type AgentWidgetProps = {
|
|
282
|
-
endpoint: string;
|
|
283
|
-
position?: 'bottom-right' | 'bottom-left';
|
|
284
|
-
triggerLabel?: string;
|
|
285
|
-
title?: string;
|
|
286
|
-
className?: string;
|
|
287
|
-
};
|
|
288
|
-
declare function AgentWidget({ endpoint, position, triggerLabel, title, className, }: AgentWidgetProps): react_jsx_runtime.JSX.Element;
|
|
289
|
-
|
|
290
|
-
type AgentEmbedProps = {
|
|
291
|
-
endpoint: string;
|
|
292
|
-
title?: string;
|
|
293
|
-
className?: string;
|
|
294
|
-
};
|
|
295
|
-
declare function AgentEmbed({ endpoint, title, className, }: AgentEmbedProps): react_jsx_runtime.JSX.Element;
|
|
296
|
-
|
|
297
|
-
type FeedbackRating = 'positive' | 'negative';
|
|
298
|
-
type ThumbsFeedbackProps = {
|
|
299
|
-
messageId: string;
|
|
300
|
-
onFeedback: (messageId: string, rating: FeedbackRating, comment?: string) => void;
|
|
301
|
-
state?: FeedbackRating | null;
|
|
302
|
-
onNegative?: () => void;
|
|
303
|
-
className?: string;
|
|
304
|
-
};
|
|
305
|
-
declare function ThumbsFeedback({ messageId, onFeedback, state, onNegative, className, }: ThumbsFeedbackProps): react_jsx_runtime.JSX.Element;
|
|
306
|
-
|
|
307
|
-
type FeedbackDialogProps = {
|
|
308
|
-
isOpen: boolean;
|
|
309
|
-
onClose: () => void;
|
|
310
|
-
onSubmit: (comment: string) => void;
|
|
311
|
-
className?: string;
|
|
312
|
-
};
|
|
313
|
-
declare function FeedbackDialog({ isOpen, onClose, onSubmit, className }: FeedbackDialogProps): react_jsx_runtime.JSX.Element;
|
|
314
|
-
|
|
315
|
-
type FeedbackConfirmationProps = {
|
|
316
|
-
variant?: 'inline' | 'toast';
|
|
317
|
-
className?: string;
|
|
318
|
-
};
|
|
319
|
-
declare function FeedbackConfirmation({ variant, className }: FeedbackConfirmationProps): react_jsx_runtime.JSX.Element;
|
|
320
|
-
|
|
321
|
-
export { AgentAvatar, type AgentAvatarProps, AgentChat, type AgentChatProps, AgentEmbed, type AgentEmbedProps, AgentFullPage, type AgentFullPageProps, AgentHandoff, type AgentHandoffProps, AgentInfo, AgentLabel, type AgentLabelProps, AgentPanel, type AgentPanelProps, AgentResponse$1 as AgentResponse, type AgentResponseProps, AgentResponse as AgentResponseView, AgentWidget, type AgentWidgetProps, ChatError, ChatMessage, ConfidenceBadge, type ConfidenceBadgeProps, ConfidenceBreakdown$1 as ConfidenceBreakdown, type ConfidenceBreakdownProps, ConfidenceBreakdown as ConfidenceBreakdownView, ConfidenceMeter, type ConfidenceMeterProps, ConversationList, type ConversationListProps, ConversationSummary, ErrorResponse, type ErrorResponseProps, FeedbackConfirmation, type FeedbackConfirmationProps, FeedbackDialog, type FeedbackDialogProps, type FeedbackRating, FollowUpChips, type FollowUpChipsProps, MessageBubble, type MessageBubbleProps, MessageComposer, type MessageComposerProps, MessageThread, type MessageThreadProps, ResponseMessage, type ResponseMessageProps, RetrievalProgress, type RetrievalProgressProps, RoutingIndicator, type RoutingIndicatorProps, Source, SourceBadge, type SourceBadgeProps, SourceCard, type SourceCardProps, SourceDrawer, type SourceDrawerProps, SourceInline, type SourceInlineProps, SourceList, type SourceListProps, StreamState, StreamingMessage, type StreamingMessageProps, StructuredResponse, type StructuredResponseProps, ThinkingIndicator, type ThinkingIndicatorProps, ThumbsFeedback, type ThumbsFeedbackProps, ToolExecution, type ToolExecutionProps, TypewriterText, type TypewriterTextProps, VerificationBadge, type VerificationBadgeProps, VerificationDetail, type VerificationDetailProps, VerificationProgress, type VerificationProgressProps, VerificationResult, WelcomeScreen, type WelcomeScreenProps };
|
|
1
|
+
export { A as AgentInfo, a as AgentResponse, C as ConfidenceBreakdown, S as Source, V as VerificationResult } from './agent-BNSmiexZ.js';
|
|
2
|
+
export { C as ChatError, a as ChatMessage, b as ConversationSummary } from './chat--OifhIRe.js';
|
|
3
|
+
export { S as StreamEvent, a as StreamState } from './streaming-DbQxScpi.js';
|
|
4
|
+
export { A as AgentChatActions, a as AgentChatConfig, b as AgentChatState, c as AgentThemeResult, C as CharacterDrainResult, d as Conversation, F as FeedbackPayload, e as FeedbackState, U as UseConversationOptions, f as UseFeedbackOptions, g as UseStreamingOptions } from './hooks-BGs8-4GK.js';
|
|
5
|
+
export { M as MCPApprovalDialog, a as MCPApprovalDialogProps, b as MCPResource, c as MCPResourceView, d as MCPResourceViewProps, e as MCPServerInfo, f as MCPServerStatus, g as MCPServerStatusProps, h as MCPToolCall, i as MCPToolCallData, j as MCPToolCallProps, k as MCPToolStatus } from './index-BazLnae1.js';
|
|
6
|
+
export { AgentChat, AgentChatProps, ConversationList, ConversationListProps, MessageBubble, MessageBubbleProps, MessageComposer, MessageComposerProps, MessageThread, MessageThreadProps, WelcomeScreen, WelcomeScreenProps } from './chat/index.js';
|
|
7
|
+
export { AgentResponseProps, AgentResponse as AgentResponseView, ErrorResponse, ErrorResponseProps, FollowUpChips, FollowUpChipsProps, ResponseMessage, ResponseMessageProps, StructuredResponse, StructuredResponseProps } from './response/index.js';
|
|
8
|
+
export { SourceBadge, SourceBadgeProps, SourceCard, SourceCardProps, SourceDrawer, SourceDrawerProps, SourceInline, SourceInlineProps, SourceList, SourceListProps } from './sources/index.js';
|
|
9
|
+
export { ConfidenceBadge, ConfidenceBadgeProps, ConfidenceBreakdownProps, ConfidenceBreakdown as ConfidenceBreakdownView, ConfidenceMeter, ConfidenceMeterProps, VerificationBadge, VerificationBadgeProps, VerificationDetail, VerificationDetailProps } from './confidence/index.js';
|
|
10
|
+
export { AgentAvatar, AgentAvatarProps, AgentHandoff, AgentHandoffProps, AgentLabel, AgentLabelProps, RoutingIndicator, RoutingIndicatorProps } from './agent-identity/index.js';
|
|
11
|
+
export { RetrievalProgress, RetrievalProgressProps, StreamingList, StreamingListProps, StreamingMessage, StreamingMessageProps, StreamingStructure, StreamingStructureProps, TextGlimmer, TextGlimmerProps, ThinkingIndicator, ThinkingIndicatorProps, ToolExecution, ToolExecutionProps, TypewriterText, TypewriterTextProps, TypingIndicator, TypingIndicatorProps, VerificationProgress, VerificationProgressProps } from './streaming/index.js';
|
|
12
|
+
export { AgentEmbed, AgentEmbedProps, AgentFullPage, AgentFullPageProps, AgentPanel, AgentPanelProps, AgentWidget, AgentWidgetProps } from './layouts/index.js';
|
|
13
|
+
export { FeedbackConfirmation, FeedbackConfirmationProps, FeedbackDialog, FeedbackDialogProps, FeedbackRating, ThumbsFeedback, ThumbsFeedbackProps } from './feedback/index.js';
|
|
14
|
+
import 'react';
|
|
15
|
+
import 'react/jsx-runtime';
|