@plaisolutions/react 0.3.0 → 0.5.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 CHANGED
@@ -90,11 +90,126 @@ export function Chat() {
90
90
  ## Optional UI Primitives
91
91
 
92
92
  ```tsx
93
- import { Message, PromptForm, ToolResultCard } from "@plaisolutions/react";
93
+ import {
94
+ Message,
95
+ MessageAvatar,
96
+ MessageContent,
97
+ MessageFooter,
98
+ MessageHeader,
99
+ MessageParts,
100
+ Clipboard,
101
+ ThumbDown,
102
+ ThumbUp,
103
+ PromptForm,
104
+ ToolResultCard,
105
+ } from "@plaisolutions/react";
94
106
  ```
95
107
 
96
108
  Available optional components:
97
109
 
98
110
  - `Message`
111
+ - `MessageAvatar`
112
+ - `MessageContent`
113
+ - `MessageHeader`
114
+ - `MessageFooter`
115
+ - `MessageParts`
116
+ - `Clipboard`
117
+ - `ThumbUp`
118
+ - `ThumbDown`
99
119
  - `PromptForm`
100
120
  - `ToolResultCard`
121
+
122
+ For persisted threads, pass a stable `conversationId` when the active thread
123
+ changes and use the returned `hydrate(messages)` and `clearError()` APIs.
124
+ The returned `rateMessage({ messageId, rating })`,
125
+ `transcribeAudio(audio, signal?)`, and `uploadFile(file)` actions reuse the
126
+ same session-aware transport and dynamic authentication headers as
127
+ `sendMessage`.
128
+ `Message` is a composable row primitive. `MessageAvatar`, `MessageContent`,
129
+ `MessageHeader` and `MessageFooter` are optional layout children, while
130
+ `MessageParts` renders a `UIMessage` and accepts custom text/tool renderers.
131
+
132
+ ```tsx
133
+ <Message align={message.role === "user" ? "end" : "start"}>
134
+ <MessageAvatar src={avatarUrl} fallback="John Doe" />
135
+ <MessageContent>
136
+ <MessageHeader>John Doe</MessageHeader>
137
+ <MessageParts message={message} />
138
+ <MessageFooter>Delivered</MessageFooter>
139
+ </MessageContent>
140
+ </Message>
141
+ ```
142
+
143
+ `Clipboard` owns the browser clipboard operation and its button feedback. The
144
+ optional `onCopy` callback runs after a successful copy:
145
+
146
+ ```tsx
147
+ <Clipboard text="Text to copy" />
148
+
149
+ <Clipboard text="Text to copy" onCopy={(text) => trackCopy(text)} />
150
+ ```
151
+
152
+ Rating buttons delegate their click behavior to the host:
153
+
154
+ ```tsx
155
+ <ThumbUp
156
+ onClick={() =>
157
+ rateMessage({ messageId: "message_123", rating: "POSITIVE" })
158
+ }
159
+ />
160
+ <ThumbDown
161
+ onClick={() =>
162
+ rateMessage({ messageId: "message_123", rating: "NEGATIVE" })
163
+ }
164
+ />
165
+ ```
166
+
167
+ `SpeechToTextToggle` owns recording and UI state while authenticated
168
+ transcription remains a transport capability:
169
+
170
+ ```tsx
171
+ const { transcribeAudio } = useChat({ transport });
172
+
173
+ <SpeechToTextToggle
174
+ transcribe={transcribeAudio}
175
+ onTranscriptionComplete={(text) => setInput(text)}
176
+ />
177
+ ```
178
+
179
+ `transcribe` is required. Storybook and demos can pass the exported
180
+ `dummyTranscribeAudio` explicitly.
181
+
182
+ File uploads expose one reactive `uploadState`; derive activity from its
183
+ status rather than maintaining a second boolean:
184
+
185
+ ```tsx
186
+ const { uploadFile, uploadState, sendMessage } = useChat({ transport });
187
+
188
+ <PromptForm
189
+ uploadState={uploadState}
190
+ onSubmit={async ({ text, files }) => {
191
+ const documents = [];
192
+ for (const file of files) {
193
+ const mediaFile = await uploadFile(file);
194
+ documents.push({
195
+ mediaFileId: mediaFile.id,
196
+ url: mediaFile.url,
197
+ filename: mediaFile.name,
198
+ });
199
+ }
200
+ await sendMessage({ text, documents });
201
+ }}
202
+ />
203
+ ```
204
+
205
+ `PromptForm` keeps attachment previews visible, disables file interactions
206
+ during `uploading` and `processing`, and renders byte progress below them.
207
+
208
+ Datasource results use localized OpenGraph metadata when it is present. Pass
209
+ the active locale to `MessageParts` (for example, `locale="es-ES"`). Resolution
210
+ tries the exact locale, then its base language, then the default OpenGraph
211
+ value, before falling back to the native resource fields.
212
+
213
+ The same resolution is available to custom renderers through the exported
214
+ `getLocalizedOpenGraphValue`, `getResourceTitle`, `getResourceDescription`,
215
+ `getResourceIcon`, `getResourceType`, and `getResourceUrl` helpers.
@@ -1,24 +1,78 @@
1
1
  import * as react0 from "react";
2
2
  import { ButtonHTMLAttributes, DialogHTMLAttributes, HTMLAttributes, PropsWithChildren, ReactNode, SVGProps } from "react";
3
- import { ChatStatus, ResourceReadModel, UIAgentInvocationToolCallPart, UIBrowserToolCallPart, UIExternalDatasourceToolCallPart, UIFirecrawlSearchToolCallPart, UIHttpRequestToolCallPart, UIMcpToolCallPart, UIMessage, UIOfficeDocumentsToolCallPart, UIPerplexityToolCallPart, UIToolCallPart, UIWorkflowDispatchToolCallPart } from "@plaisolutions/client";
3
+ import { ChatStatus, FileUploadState, ResourceReadModel, TranscribeAudioFn, UIAgentInvocationToolCallPart, UIBrowserToolCallPart, UIExternalDatasourceToolCallPart, UIFirecrawlSearchToolCallPart, UIHttpRequestToolCallPart, UIMcpToolCallPart, UIMessage, UIMessagePart, UIOfficeDocumentsToolCallPart, UIPerplexityToolCallPart, UIToolCallPart, UIWorkflowDispatchToolCallPart } from "@plaisolutions/client";
4
4
 
5
5
  //#region src/components/message.d.ts
6
- type MessageProps = {
6
+ type MessageProps = HTMLAttributes<HTMLElement> & {
7
+ align?: "start" | "end";
8
+ };
9
+ declare function Message({
10
+ align,
11
+ className,
12
+ ...props
13
+ }: MessageProps): react0.JSX.Element;
14
+ type MessageAvatarProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
15
+ src: string;
16
+ fallback: string;
17
+ alt?: string;
18
+ imageClassName?: string;
19
+ };
20
+ declare function MessageAvatar({
21
+ src,
22
+ fallback,
23
+ alt,
24
+ className,
25
+ imageClassName,
26
+ ...props
27
+ }: MessageAvatarProps): react0.JSX.Element;
28
+ type MessageContentProps = HTMLAttributes<HTMLDivElement>;
29
+ declare function MessageContent({
30
+ className,
31
+ ...props
32
+ }: MessageContentProps): react0.JSX.Element;
33
+ type MessageHeaderProps = HTMLAttributes<HTMLElement>;
34
+ declare function MessageHeader({
35
+ className,
36
+ ...props
37
+ }: MessageHeaderProps): react0.JSX.Element;
38
+ type MessageFooterProps = HTMLAttributes<HTMLElement>;
39
+ declare function MessageFooter({
40
+ className,
41
+ ...props
42
+ }: MessageFooterProps): react0.JSX.Element;
43
+ type MessagePartsProps = HTMLAttributes<HTMLDivElement> & {
7
44
  message: UIMessage;
8
- className?: string;
9
- showRole?: boolean;
10
45
  collapseThreshold?: number;
11
46
  datasourceToolResultsPosition?: "inline" | "before-content";
12
47
  onOpenAgentThread?: (threadId: string) => void;
48
+ locale?: string | null;
49
+ renderText?: (part: Extract<UIMessagePart, {
50
+ type: "text";
51
+ }>, context: {
52
+ message: UIMessage;
53
+ isStreaming: boolean;
54
+ }) => ReactNode;
55
+ renderToolCall?: (part: UIToolCallPart, context: {
56
+ message: UIMessage;
57
+ }) => ReactNode;
58
+ isStreaming?: boolean;
59
+ readMoreLabel?: string;
60
+ readLessLabel?: string;
13
61
  };
14
- declare function Message({
62
+ declare function MessageParts({
15
63
  message,
16
- className,
17
- showRole,
18
64
  collapseThreshold,
19
65
  datasourceToolResultsPosition,
20
- onOpenAgentThread
21
- }: MessageProps): react0.JSX.Element;
66
+ onOpenAgentThread,
67
+ locale,
68
+ renderText,
69
+ renderToolCall,
70
+ isStreaming,
71
+ readMoreLabel,
72
+ readLessLabel,
73
+ className,
74
+ ...props
75
+ }: MessagePartsProps): react0.JSX.Element;
22
76
  //#endregion
23
77
  //#region src/components/datasource-tool-result-card.d.ts
24
78
  type DatasourceToolResultCardProps = {
@@ -28,39 +82,117 @@ type DatasourceToolResultCardProps = {
28
82
  };
29
83
  declare function DatasourceToolResultCard(props: DatasourceToolResultCardProps): react0.JSX.Element;
30
84
  //#endregion
85
+ //#region src/components/clipboard.d.ts
86
+ type ClipboardState = {
87
+ isCopied: boolean;
88
+ isCopying: boolean;
89
+ };
90
+ type ClipboardProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "onCopy"> & {
91
+ text: string;
92
+ onCopy?: (text: string) => void | Promise<void>;
93
+ copiedDuration?: number;
94
+ copyLabel?: string;
95
+ copiedLabel?: string;
96
+ children?: ReactNode | ((state: ClipboardState) => ReactNode);
97
+ };
98
+ declare function Clipboard({
99
+ text,
100
+ onCopy,
101
+ copiedDuration,
102
+ copyLabel,
103
+ copiedLabel,
104
+ children,
105
+ className,
106
+ disabled,
107
+ onClick,
108
+ type,
109
+ ...props
110
+ }: ClipboardProps): react0.JSX.Element;
111
+ //#endregion
112
+ //#region src/components/thumbs.d.ts
113
+ type ThumbButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
114
+ label: string;
115
+ icon: ReactNode;
116
+ };
117
+ type ThumbClickHandler = NonNullable<ButtonHTMLAttributes<HTMLButtonElement>["onClick"]>;
118
+ type ThumbUpProps = Omit<ThumbButtonProps, "icon" | "label" | "onClick"> & {
119
+ label?: string;
120
+ onClick: ThumbClickHandler;
121
+ };
122
+ declare function ThumbUp({
123
+ label,
124
+ ...props
125
+ }: ThumbUpProps): react0.JSX.Element;
126
+ type ThumbDownProps = Omit<ThumbButtonProps, "icon" | "label" | "onClick"> & {
127
+ label?: string;
128
+ onClick: ThumbClickHandler;
129
+ };
130
+ declare function ThumbDown({
131
+ label,
132
+ ...props
133
+ }: ThumbDownProps): react0.JSX.Element;
134
+ //#endregion
31
135
  //#region src/components/resource-card.d.ts
32
136
  type ResourceCardProps = {
33
137
  icon?: string;
138
+ type?: string;
34
139
  title: string;
35
- description: string;
140
+ description?: string;
36
141
  url: string | null;
37
142
  };
38
143
  declare function ResourceCard(props: ResourceCardProps): react0.JSX.Element;
39
144
  //#endregion
40
145
  //#region src/components/datasource-folder-card.d.ts
41
146
  type DatasourceFolderCardProps = {
147
+ icon?: string;
42
148
  title: string;
43
149
  description: string;
44
150
  type: string;
151
+ url?: string | null;
45
152
  resources: ResourceCardProps[];
46
153
  };
47
154
  declare function DatasourceFolderCard({
155
+ icon,
48
156
  title,
49
157
  description,
50
158
  type,
159
+ url,
51
160
  resources
52
161
  }: DatasourceFolderCardProps): react0.JSX.Element;
53
162
  //#endregion
54
163
  //#region src/components/datasource-tool-resources.d.ts
55
164
  type DatasourceToolResourcesProps = {
56
165
  resources: ResourceReadModel[];
166
+ locale?: string | null;
57
167
  className?: string;
58
168
  };
59
169
  declare function DatasourceToolResources({
60
170
  resources,
171
+ locale,
61
172
  className
62
173
  }: DatasourceToolResourcesProps): react0.JSX.Element;
63
174
  //#endregion
175
+ //#region src/components/opengraph.d.ts
176
+ type OpenGraphField = "title" | "description" | "url" | "image" | "type";
177
+ type OpenGraphTranslation = Partial<Record<OpenGraphField, string>>;
178
+ type LocalizedOpenGraph = OpenGraphTranslation & {
179
+ defaultLocale?: string;
180
+ translations?: Record<string, OpenGraphTranslation>;
181
+ };
182
+ type OpenGraphContainer = {
183
+ extra_info?: (Record<string, unknown> & {
184
+ opengraph?: LocalizedOpenGraph;
185
+ }) | null;
186
+ };
187
+ declare function getLocalizedOpenGraphValue(container: OpenGraphContainer, field: OpenGraphField, locale?: string | null): string | undefined;
188
+ declare function getResourceTitle(resource: ResourceReadModel, locale?: string | null): string;
189
+ declare function getResourceDescription(resource: ResourceReadModel, locale?: string | null): string | undefined;
190
+ declare function getResourceOpenGraphImage(resource: ResourceReadModel, locale?: string | null): string | undefined;
191
+ declare function getResourceOpenGraphType(resource: ResourceReadModel, locale?: string | null): string | undefined;
192
+ declare function getResourceUrl(resource: ResourceReadModel, locale?: string | null): string | null;
193
+ declare function getResourceType(resource: ResourceReadModel, locale?: string | null): string;
194
+ declare function getResourceIcon(resource: ResourceReadModel, locale?: string | null): string | undefined;
195
+ //#endregion
64
196
  //#region src/components/sheet/sheet.d.ts
65
197
  type SheetProps = PropsWithChildren<{
66
198
  open?: boolean;
@@ -143,6 +275,7 @@ type PromptFormProps = {
143
275
  onValueChange: (value: string) => void;
144
276
  onSubmit: (input: PromptFormSubmitInput) => void | Promise<void>;
145
277
  status?: ChatStatus;
278
+ uploadState?: FileUploadState;
146
279
  onStop?: () => void;
147
280
  disabled?: boolean;
148
281
  clearOnSubmit?: boolean;
@@ -152,6 +285,9 @@ type PromptFormProps = {
152
285
  stopLabel?: string;
153
286
  attachLabel?: string;
154
287
  removeFileLabel?: string;
288
+ uploadingLabel?: string;
289
+ processingUploadLabel?: string;
290
+ uploadErrorLabel?: string;
155
291
  enableAttachments?: boolean;
156
292
  files?: File[];
157
293
  onFilesChange?: (files: File[]) => void;
@@ -160,17 +296,22 @@ type PromptFormProps = {
160
296
  className?: string;
161
297
  textareaClassName?: string;
162
298
  attachmentsClassName?: string;
299
+ uploadProgressClassName?: string;
163
300
  maxRows?: number;
164
301
  submitButtonClassName?: string;
165
302
  stopButtonClassName?: string;
166
303
  leftSlot?: ReactNode;
167
304
  rightSlot?: ReactNode;
305
+ /** Submit on Enter while preserving Shift+Enter for a newline. */
306
+ submitOnEnter?: boolean;
307
+ onTextareaKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
168
308
  };
169
309
  declare function PromptForm({
170
310
  value,
171
311
  onValueChange,
172
312
  onSubmit,
173
313
  status,
314
+ uploadState,
174
315
  onStop,
175
316
  disabled,
176
317
  clearOnSubmit,
@@ -180,6 +321,9 @@ declare function PromptForm({
180
321
  stopLabel,
181
322
  attachLabel,
182
323
  removeFileLabel,
324
+ uploadingLabel,
325
+ processingUploadLabel,
326
+ uploadErrorLabel,
183
327
  enableAttachments,
184
328
  files: filesProp,
185
329
  onFilesChange,
@@ -188,11 +332,14 @@ declare function PromptForm({
188
332
  className,
189
333
  textareaClassName,
190
334
  attachmentsClassName,
335
+ uploadProgressClassName,
191
336
  maxRows,
192
337
  submitButtonClassName,
193
338
  stopButtonClassName,
194
339
  leftSlot,
195
- rightSlot
340
+ rightSlot,
341
+ submitOnEnter,
342
+ onTextareaKeyDown
196
343
  }: PromptFormProps): react0.JSX.Element;
197
344
  //#endregion
198
345
  //#region src/components/prompt-form/prompt-form-attach-button.d.ts
@@ -212,16 +359,13 @@ declare function PromptFormAttachButton({
212
359
  }: PromptFormAttachButtonProps): react0.JSX.Element;
213
360
  //#endregion
214
361
  //#region src/components/speech-to-text-toggle/transcribe-audio.d.ts
215
- type TranscribeAudioFn = (audio: Blob, signal?: AbortSignal) => Promise<string>;
216
362
  declare function dummyTranscribeAudio(_audio: Blob, signal?: AbortSignal): Promise<string>;
217
- declare function transcribeAudioViaEndpoint(audio: Blob, endpoint: string, signal?: AbortSignal): Promise<string>;
218
363
  //#endregion
219
364
  //#region src/components/speech-to-text-toggle/speech-to-text-toggle.d.ts
220
365
  type SpeechToTextToggleProps = {
221
366
  onTranscriptionComplete: (text: string) => void;
222
367
  onTranscriptionError?: (error: Error) => void;
223
- transcribe?: TranscribeAudioFn;
224
- transcriptionEndpoint?: string;
368
+ transcribe: TranscribeAudioFn;
225
369
  label?: string;
226
370
  listeningLabel?: string;
227
371
  loadingLabel?: string;
@@ -230,7 +374,6 @@ declare function SpeechToTextToggle({
230
374
  onTranscriptionComplete,
231
375
  onTranscriptionError,
232
376
  transcribe,
233
- transcriptionEndpoint,
234
377
  disabled,
235
378
  label,
236
379
  listeningLabel,
@@ -244,12 +387,14 @@ type ToolResultCardProps = {
244
387
  part: UIToolCallPart;
245
388
  className?: string;
246
389
  detailsOpen?: boolean;
390
+ locale?: string | null;
247
391
  onOpenAgentThread?: (threadId: string) => void;
248
392
  };
249
393
  declare function ToolResultCard({
250
394
  part,
251
395
  className,
252
396
  detailsOpen,
397
+ locale,
253
398
  onOpenAgentThread
254
399
  }: ToolResultCardProps): react0.JSX.Element;
255
400
  //#endregion
@@ -335,5 +480,5 @@ declare function ToolResultWorkflowDispatchCard({
335
480
  className
336
481
  }: ToolResultWorkflowDispatchCardProps): react0.JSX.Element;
337
482
  //#endregion
338
- export { ArrowUp, DatasourceFolderCard, type DatasourceFolderCardProps, DatasourceToolResources, type DatasourceToolResourcesProps, DatasourceToolResultCard, type DatasourceToolResultCardProps, type InvalidPromptFormFile, Loader, Message, type MessageProps, Microphone, PROMPT_FORM_FILE_ACCEPT, Paperclip, PromptForm, PromptFormAttachButton, type PromptFormAttachButtonProps, PromptFormIconButton, type PromptFormIconButtonProps, type PromptFormProps, type PromptFormSubmitInput, ResourceCard, type ResourceCardProps, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, SpeechToTextToggle, type SpeechToTextToggleProps, Stop, ToolResultAgentInvocationCard, type ToolResultAgentInvocationCardProps, ToolResultBrowserCard, type ToolResultBrowserCardProps, ToolResultCard, type ToolResultCardProps, ToolResultExternalDatasourceCard, type ToolResultExternalDatasourceCardProps, ToolResultHttpRequestCard, type ToolResultHttpRequestCardProps, ToolResultMcpCard, type ToolResultMcpCardProps, ToolResultOfficeDocumentsCard, type ToolResultOfficeDocumentsCardProps, ToolResultWebSearchCard, type ToolResultWebSearchCardProps, ToolResultWorkflowDispatchCard, type ToolResultWorkflowDispatchCardProps, type TranscribeAudioFn, X, dummyTranscribeAudio, isAllowedPromptFormFile, partitionPromptFormFiles, transcribeAudioViaEndpoint };
483
+ export { ArrowUp, Clipboard, type ClipboardProps, type ClipboardState, DatasourceFolderCard, type DatasourceFolderCardProps, DatasourceToolResources, type DatasourceToolResourcesProps, DatasourceToolResultCard, type DatasourceToolResultCardProps, type InvalidPromptFormFile, Loader, type LocalizedOpenGraph, Message, MessageAvatar, type MessageAvatarProps, MessageContent, type MessageContentProps, MessageFooter, type MessageFooterProps, MessageHeader, type MessageHeaderProps, MessageParts, type MessagePartsProps, type MessageProps, Microphone, type OpenGraphContainer, type OpenGraphField, type OpenGraphTranslation, PROMPT_FORM_FILE_ACCEPT, Paperclip, PromptForm, PromptFormAttachButton, type PromptFormAttachButtonProps, PromptFormIconButton, type PromptFormIconButtonProps, type PromptFormProps, type PromptFormSubmitInput, ResourceCard, type ResourceCardProps, Sheet, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, SpeechToTextToggle, type SpeechToTextToggleProps, Stop, ThumbDown, type ThumbDownProps, ThumbUp, type ThumbUpProps, ToolResultAgentInvocationCard, type ToolResultAgentInvocationCardProps, ToolResultBrowserCard, type ToolResultBrowserCardProps, ToolResultCard, type ToolResultCardProps, ToolResultExternalDatasourceCard, type ToolResultExternalDatasourceCardProps, ToolResultHttpRequestCard, type ToolResultHttpRequestCardProps, ToolResultMcpCard, type ToolResultMcpCardProps, ToolResultOfficeDocumentsCard, type ToolResultOfficeDocumentsCardProps, ToolResultWebSearchCard, type ToolResultWebSearchCardProps, ToolResultWorkflowDispatchCard, type ToolResultWorkflowDispatchCardProps, type TranscribeAudioFn, X, dummyTranscribeAudio, getLocalizedOpenGraphValue, getResourceDescription, getResourceIcon, getResourceOpenGraphImage, getResourceOpenGraphType, getResourceTitle, getResourceType, getResourceUrl, isAllowedPromptFormFile, partitionPromptFormFiles };
339
484
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/components/message.tsx","../../src/components/datasource-tool-result-card.tsx","../../src/components/resource-card.tsx","../../src/components/datasource-folder-card.tsx","../../src/components/datasource-tool-resources.tsx","../../src/components/sheet/sheet.tsx","../../src/components/icons/arrow.tsx","../../src/components/icons/loader.tsx","../../src/components/icons/microphone.tsx","../../src/components/icons/paperclip.tsx","../../src/components/icons/stop.tsx","../../src/components/icons/x.tsx","../../src/components/prompt-form/file-attachments.ts","../../src/components/prompt-form/prompt-form.tsx","../../src/components/prompt-form/prompt-form-attach-button.tsx","../../src/components/speech-to-text-toggle/transcribe-audio.ts","../../src/components/speech-to-text-toggle/speech-to-text-toggle.tsx","../../src/components/tool-result-card.tsx","../../src/components/tool-result-agent-invocation-card.tsx","../../src/components/tool-result-browser-card.tsx","../../src/components/tool-result-external-datasource-card.tsx","../../src/components/tool-result-http-request-card.tsx","../../src/components/tool-result-mcp-card.tsx","../../src/components/tool-result-office-documents-card.tsx","../../src/components/tool-result-web-search-card.tsx","../../src/components/tool-result-workflow-dispatch-card.tsx"],"sourcesContent":[],"mappings":";;;;;KAKY,YAAA;WACD;;;EADC,iBAAY,CAAA,EAAA,MACb;EAiKK,6BAAO,CAAA,EAAA,QAAA,GAAA,gBAAA;EACrB,iBAAA,CAAA,EAAA,CAAA,QAAA,EAAA,MAAA,EAAA,GAAA,IAAA;CACA;AACA,iBAHc,OAAA,CAGd;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA,iBAAA;EAAA,6BAAA;EAAA;AAAA,CAAA,EAIC,YAJD,CAAA,EAIa,MAAA,CAAA,GAAA,CAAA,OAJb;;;KC1KU,6BAAA;;;;;AD2KV,iBC1Gc,wBAAA,CD0Gd,KAAA,EC1G8C,6BD0G9C,CAAA,EC1G2E,MAAA,CAAA,GAAA,CAAA,OD0G3E;;;KEzKU,iBAAA;;;;;AFGZ,CAAA;AAkKgB,iBEpIA,YAAA,CFoIO,KAAA,EEpIa,iBFoIb,CAAA,EEpI8B,MAAA,CAAA,GAAA,CAAA,OFoI9B;;;KGzJX,yBAAA;;;;EHTA,SAAA,EGaC,iBHZF,EAAA;AAiKX,CAAA;AACE,iBGnJc,oBAAA,CHmJd;EAAA,KAAA;EAAA,WAAA;EAAA,IAAA;EAAA;AAAA,CAAA,EG9IC,yBH8ID,CAAA,EG9I0B,MAAA,CAAA,GAAA,CAAA,OH8I1B;;;KInKU,4BAAA;aACC;;;AJiKG,iBI7FA,uBAAA,CJ6FO;EAAA,SAAA;EAAA;AAAA,CAAA,EI1FpB,4BJ0FoB,CAAA,EI1FQ,MAAA,CAAA,GAAA,CAAA,OJ0FR;;;KK/IX,UAAA,GAAa;;;;ALnBzB,CAAA,CAAA;AAkKgB,KKzIJ,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I,iBuB0CI,6BAAA,CvBzCI;EAAA,IAAA;EAAA;AAAA,CAAA,EuB4CjB,kCvB5CiB,CAAA,EuB4CiB,MAAA,CAAA,GAAA,CAAA,OvB5CjB;;;KwBUR,4BAAA;QACJ,2BAA2B;;;AxBZvB,iBwByII,uBAAA,CxBxII;EAAA,IAAA;EAAA;AAAA,CAAA,EwB2IjB,4BxB3IiB,CAAA,EwB2IW,MAAA,CAAA,GAAA,CAAA,OxB3IX;;;KyBMR,mCAAA;QACJ;;;AzBRI,iByB2DI,8BAAA,CzB1DI;EAAA,IAAA;EAAA;AAAA,CAAA,EyB6DjB,mCzB7DiB,CAAA,EyB6DkB,MAAA,CAAA,GAAA,CAAA,OzB7DlB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/components/message.tsx","../../src/components/datasource-tool-result-card.tsx","../../src/components/clipboard.tsx","../../src/components/thumbs.tsx","../../src/components/resource-card.tsx","../../src/components/datasource-folder-card.tsx","../../src/components/datasource-tool-resources.tsx","../../src/components/opengraph.ts","../../src/components/sheet/sheet.tsx","../../src/components/icons/arrow.tsx","../../src/components/icons/loader.tsx","../../src/components/icons/microphone.tsx","../../src/components/icons/paperclip.tsx","../../src/components/icons/stop.tsx","../../src/components/icons/x.tsx","../../src/components/prompt-form/file-attachments.ts","../../src/components/prompt-form/prompt-form.tsx","../../src/components/prompt-form/prompt-form-attach-button.tsx","../../src/components/speech-to-text-toggle/transcribe-audio.ts","../../src/components/speech-to-text-toggle/speech-to-text-toggle.tsx","../../src/components/tool-result-card.tsx","../../src/components/tool-result-agent-invocation-card.tsx","../../src/components/tool-result-browser-card.tsx","../../src/components/tool-result-external-datasource-card.tsx","../../src/components/tool-result-http-request-card.tsx","../../src/components/tool-result-mcp-card.tsx","../../src/components/tool-result-office-documents-card.tsx","../../src/components/tool-result-web-search-card.tsx","../../src/components/tool-result-workflow-dispatch-card.tsx"],"sourcesContent":[],"mappings":";;;;;KAUY,YAAA,GAAe,eAAe;;;AAA9B,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