@springbrand/message-panel 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/demo/camel-chat-showcase.d.ts +1 -0
  2. package/dist/demo/camel-chat-showcase.js +1007 -0
  3. package/dist/demo/fixtures.d.ts +32 -0
  4. package/dist/demo/fixtures.js +250 -0
  5. package/dist/demo/index.js +4 -0
  6. package/dist/demo/message-panel-chat-showcase.d.ts +1 -0
  7. package/dist/demo/message-panel-chat-showcase.js +114 -0
  8. package/dist/demo/message-panel-gallery.d.ts +1 -0
  9. package/dist/demo/message-panel-gallery.js +130 -0
  10. package/dist/src/adapters/ai-sdk.d.ts +4 -0
  11. package/dist/src/adapters/ai-sdk.js +25 -0
  12. package/dist/src/camel/camel-chat-messages.d.ts +44 -0
  13. package/dist/src/camel/camel-chat-messages.js +421 -0
  14. package/dist/src/camel/camel-model-select.d.ts +13 -0
  15. package/dist/src/camel/camel-model-select.js +7 -0
  16. package/dist/src/camel/camel-plan-bar.d.ts +5 -0
  17. package/dist/src/camel/camel-plan-bar.js +24 -0
  18. package/dist/src/camel/camel-prompt-input.d.ts +32 -0
  19. package/dist/src/camel/camel-prompt-input.js +182 -0
  20. package/dist/src/camel/camel-tool-presentation.d.ts +21 -0
  21. package/dist/src/camel/camel-tool-presentation.js +784 -0
  22. package/dist/src/camel/camel-turn.d.ts +57 -0
  23. package/dist/src/camel/camel-turn.js +203 -0
  24. package/dist/src/camel/index.js +7 -0
  25. package/dist/src/camel/turn-summary-bar.d.ts +8 -0
  26. package/dist/src/camel/turn-summary-bar.js +12 -0
  27. package/dist/src/chat-summary-panel.d.ts +22 -0
  28. package/dist/src/chat-summary-panel.js +26 -0
  29. package/dist/src/composer/chat-composer.d.ts +4 -0
  30. package/dist/src/composer/chat-composer.js +90 -0
  31. package/dist/src/composer/composer-attachments.d.ts +13 -0
  32. package/dist/src/composer/composer-attachments.js +47 -0
  33. package/dist/src/composer/composer-trigger-popover.d.ts +31 -0
  34. package/dist/src/composer/composer-trigger-popover.js +29 -0
  35. package/dist/src/composer/composer.d.ts +15 -0
  36. package/dist/src/composer/composer.js +180 -0
  37. package/dist/src/composer/drop-controller.d.ts +8 -0
  38. package/dist/src/composer/drop-controller.js +69 -0
  39. package/dist/src/composer/index.js +6 -0
  40. package/dist/src/composer/types.d.ts +62 -0
  41. package/dist/src/composer/types.js +1 -0
  42. package/dist/src/contracts.d.ts +94 -0
  43. package/dist/src/contracts.js +1 -0
  44. package/dist/src/conversation.d.ts +13 -0
  45. package/dist/src/conversation.js +18 -0
  46. package/dist/src/index.js +12 -0
  47. package/dist/src/internal/cn.d.ts +1 -0
  48. package/dist/src/internal/cn.js +3 -0
  49. package/dist/src/message-panel.d.ts +4 -0
  50. package/dist/src/message-panel.js +144 -0
  51. package/dist/src/message.d.ts +36 -0
  52. package/dist/src/message.js +83 -0
  53. package/dist/src/parts/index.d.ts +187 -0
  54. package/dist/src/parts/index.js +332 -0
  55. package/dist/src/parts/kind.d.ts +3 -0
  56. package/dist/src/parts/kind.js +69 -0
  57. package/dist/src/parts/plan.d.ts +10 -0
  58. package/dist/src/parts/plan.js +40 -0
  59. package/dist/src/parts/primitives.d.ts +70 -0
  60. package/dist/src/parts/primitives.js +153 -0
  61. package/dist/src/registry.d.ts +4 -0
  62. package/dist/src/registry.js +31 -0
  63. package/dist/src/status.d.ts +26 -0
  64. package/dist/src/status.js +74 -0
  65. package/package.json +17 -8
  66. package/demo/camel-chat-showcase.tsx +0 -1265
  67. package/demo/fixtures.ts +0 -292
  68. package/demo/message-panel-chat-showcase.tsx +0 -250
  69. package/demo/message-panel-gallery.tsx +0 -389
  70. package/src/adapters/ai-sdk.ts +0 -32
  71. package/src/camel/camel-chat-messages.tsx +0 -1420
  72. package/src/camel/camel-model-select.tsx +0 -88
  73. package/src/camel/camel-plan-bar.tsx +0 -115
  74. package/src/camel/camel-prompt-input.tsx +0 -540
  75. package/src/camel/camel-tool-presentation.tsx +0 -1270
  76. package/src/camel/camel-turn.ts +0 -315
  77. package/src/camel/turn-summary-bar.tsx +0 -81
  78. package/src/chat-summary-panel.tsx +0 -229
  79. package/src/composer/chat-composer.tsx +0 -216
  80. package/src/composer/composer-attachments.tsx +0 -138
  81. package/src/composer/composer-trigger-popover.tsx +0 -236
  82. package/src/composer/composer.tsx +0 -425
  83. package/src/composer/drop-controller.ts +0 -80
  84. package/src/composer/types.ts +0 -79
  85. package/src/contracts.ts +0 -139
  86. package/src/conversation.tsx +0 -76
  87. package/src/internal/cn.ts +0 -3
  88. package/src/message-panel.tsx +0 -368
  89. package/src/message.tsx +0 -254
  90. package/src/parts/index.tsx +0 -1149
  91. package/src/parts/kind.ts +0 -67
  92. package/src/parts/plan.ts +0 -63
  93. package/src/parts/primitives.tsx +0 -439
  94. package/src/registry.ts +0 -44
  95. package/src/status.tsx +0 -132
  96. /package/{demo/index.ts → dist/demo/index.d.ts} +0 -0
  97. /package/{src/camel/index.ts → dist/src/camel/index.d.ts} +0 -0
  98. /package/{src/composer/index.ts → dist/src/composer/index.d.ts} +0 -0
  99. /package/{src/index.ts → dist/src/index.d.ts} +0 -0
@@ -1,540 +0,0 @@
1
- import {
2
- AssistantRuntimeProvider,
3
- ComposerPrimitive,
4
- unstable_useSlashCommandAdapter,
5
- unstable_useTriggerPopoverAriaProps,
6
- unstable_useTriggerPopoverTriggers,
7
- useExternalStoreRuntime,
8
- type AssistantRuntime,
9
- type ThreadMessage,
10
- } from "@assistant-ui/react";
11
- import {
12
- ArrowUpIcon,
13
- ClockIcon,
14
- FileIcon,
15
- FileTextIcon,
16
- GlobeIcon,
17
- ListChecksIcon,
18
- Loader2Icon,
19
- PlugIcon,
20
- PlusIcon,
21
- RotateCcwIcon,
22
- SquareIcon,
23
- TerminalIcon,
24
- WrenchIcon,
25
- XIcon,
26
- } from "lucide-react";
27
- import {
28
- forwardRef,
29
- useCallback,
30
- useEffect,
31
- useMemo,
32
- useRef,
33
- useState,
34
- type ChangeEvent,
35
- type ClipboardEvent,
36
- type DragEvent,
37
- type FormEvent,
38
- type KeyboardEvent,
39
- type ReactNode,
40
- } from "react";
41
- import { ComposerTriggerPopover } from "../composer/composer-trigger-popover";
42
- import type { ComposerCommand } from "../composer/types";
43
- import { cn } from "../internal/cn";
44
-
45
- export interface CamelAttachmentView {
46
- id: string;
47
- filename?: string;
48
- mediaType?: string;
49
- size?: number;
50
- url: string;
51
- status: "uploading" | "ready" | "error";
52
- }
53
-
54
- const COMMAND_ICON_MAP = {
55
- plan: ListChecksIcon,
56
- research: GlobeIcon,
57
- file: FileTextIcon,
58
- time: ClockIcon,
59
- tool: WrenchIcon,
60
- mcp: PlugIcon,
61
- };
62
-
63
- type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
64
- size?: "sm" | "icon-xs" | "icon-sm";
65
- variant?: "default" | "outline" | "ghost" | "destructive";
66
- };
67
-
68
- function Button({
69
- className,
70
- size = "sm",
71
- variant = "default",
72
- type = "button",
73
- ...props
74
- }: ButtonProps) {
75
- return (
76
- <button
77
- type={type}
78
- className={cn(
79
- "inline-flex shrink-0 items-center justify-center gap-1 rounded-md text-xs font-medium transition-all outline-none disabled:pointer-events-none disabled:opacity-50",
80
- variant === "default" &&
81
- "bg-primary text-primary-foreground hover:bg-primary/80",
82
- variant === "outline" &&
83
- "border border-border bg-background hover:bg-muted",
84
- variant === "ghost" && "hover:bg-muted hover:text-foreground",
85
- variant === "destructive" &&
86
- "bg-destructive/10 text-destructive hover:bg-destructive/20",
87
- size === "sm" && "h-7 px-2",
88
- size === "icon-xs" && "size-6 p-0",
89
- size === "icon-sm" && "size-8 p-0",
90
- className,
91
- )}
92
- {...props}
93
- />
94
- );
95
- }
96
-
97
- function InputGroup({
98
- className,
99
- ...props
100
- }: React.HTMLAttributes<HTMLDivElement>) {
101
- return (
102
- <div
103
- role="group"
104
- className={cn(
105
- "group/input-group relative flex w-full min-w-0 flex-col items-center rounded-md border border-input bg-input/20 outline-none transition-colors dark:bg-input/30",
106
- "has-[[data-camel-input=true]:focus-visible]:border-ring has-[[data-camel-input=true]:focus-visible]:ring-2 has-[[data-camel-input=true]:focus-visible]:ring-ring/30",
107
- className,
108
- )}
109
- {...props}
110
- />
111
- );
112
- }
113
-
114
- function InputGroupAddon({
115
- className,
116
- align,
117
- ...props
118
- }: React.HTMLAttributes<HTMLDivElement> & {
119
- align: "block-start" | "block-end";
120
- }) {
121
- return (
122
- <div
123
- role="group"
124
- data-align={align}
125
- className={cn(
126
- "flex h-auto w-full cursor-text items-center gap-1 px-2 text-xs font-medium text-muted-foreground",
127
- align === "block-start"
128
- ? "order-first justify-start pt-2"
129
- : "order-last pb-2",
130
- className,
131
- )}
132
- {...props}
133
- />
134
- );
135
- }
136
-
137
- function InputGroupButton(props: ButtonProps) {
138
- return <Button {...props} />;
139
- }
140
-
141
- const InputGroupTextarea = forwardRef<
142
- HTMLTextAreaElement,
143
- React.TextareaHTMLAttributes<HTMLTextAreaElement>
144
- >(({ className, ...props }, ref) => (
145
- <textarea
146
- ref={ref}
147
- data-camel-input="true"
148
- className={cn(
149
- "w-full flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none outline-none ring-0 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
150
- className,
151
- )}
152
- {...props}
153
- />
154
- ));
155
- InputGroupTextarea.displayName = "InputGroupTextarea";
156
-
157
- interface CamelPromptInputProps {
158
- value: string;
159
- onChange: (value: string) => void;
160
- onSubmit: () => void;
161
- onStop: () => void;
162
- status: "ready" | "submitted" | "streaming" | "error";
163
- attachments: readonly CamelAttachmentView[];
164
- commands: readonly ComposerCommand[];
165
- onFilesSelected: (files: readonly File[]) => void;
166
- onAttachmentRemove: (id: string) => void;
167
- onAttachmentRetry: (id: string) => void;
168
- tools?: ReactNode;
169
- /** Compact delivery selector rendered immediately beside the submit button. */
170
- submitControl?: ReactNode;
171
- placeholder?: string;
172
- /** Durable Turn activity can outlive the local chat stream status. */
173
- turnActive?: boolean;
174
- /** Blocks new submissions without disabling the stop control for an active Turn. */
175
- submissionBlocked?: boolean;
176
- }
177
-
178
- function formatBytes(size?: number): string {
179
- if (!size) return "";
180
- if (size < 1024) return `${size} B`;
181
- if (size < 1024 * 1024) return `${Math.round(size / 1024)} KB`;
182
- return `${(size / 1024 / 1024).toFixed(1)} MB`;
183
- }
184
-
185
- function AttachmentList({
186
- attachments,
187
- onRemove,
188
- onRetry,
189
- }: {
190
- attachments: readonly CamelAttachmentView[];
191
- onRemove: (id: string) => void;
192
- onRetry: (id: string) => void;
193
- }) {
194
- return (
195
- <div className="flex w-full flex-wrap gap-2">
196
- {attachments.map((attachment) => (
197
- <div
198
- key={attachment.id}
199
- className="group/attachment flex max-w-64 items-center gap-2 rounded-lg border border-border bg-muted/30 p-2"
200
- data-attachment-status={attachment.status}
201
- >
202
- {attachment.mediaType?.startsWith("image/") ? (
203
- <img
204
- src={attachment.url}
205
- alt=""
206
- className="size-9 shrink-0 rounded-md object-cover"
207
- />
208
- ) : (
209
- <span className="grid size-9 shrink-0 place-items-center rounded-md bg-muted">
210
- <FileIcon className="size-4 text-muted-foreground" />
211
- </span>
212
- )}
213
- <div className="min-w-0 flex-1">
214
- <div className="truncate text-xs text-foreground">
215
- {attachment.filename ?? "Attachment"}
216
- </div>
217
- <div className="mt-0.5 flex items-center gap-1 text-[10px] text-muted-foreground">
218
- {attachment.status === "uploading" && (
219
- <Loader2Icon className="size-3 animate-spin" />
220
- )}
221
- <span>
222
- {attachment.status === "uploading"
223
- ? "Uploading"
224
- : attachment.status === "error"
225
- ? "Upload failed"
226
- : formatBytes(attachment.size)}
227
- </span>
228
- </div>
229
- </div>
230
- {attachment.status === "error" && (
231
- <Button
232
- type="button"
233
- variant="ghost"
234
- size="icon-xs"
235
- onClick={() => onRetry(attachment.id)}
236
- aria-label="重试上传"
237
- >
238
- <RotateCcwIcon className="size-3" />
239
- </Button>
240
- )}
241
- <Button
242
- type="button"
243
- variant="ghost"
244
- size="icon-xs"
245
- onClick={() => onRemove(attachment.id)}
246
- aria-label="移除附件"
247
- >
248
- <XIcon className="size-3" />
249
- </Button>
250
- </div>
251
- ))}
252
- </div>
253
- );
254
- }
255
-
256
- function CamelPromptInputContent({
257
- value,
258
- onChange,
259
- onSubmit,
260
- onStop,
261
- status,
262
- attachments,
263
- commands,
264
- onFilesSelected,
265
- onAttachmentRemove,
266
- onAttachmentRetry,
267
- tools,
268
- submitControl,
269
- placeholder = "Type a message...",
270
- submissionBlocked = false,
271
- turnActive,
272
- runtime,
273
- }: CamelPromptInputProps & { runtime: AssistantRuntime }) {
274
- const fileInputRef = useRef<HTMLInputElement>(null);
275
- const textareaRef = useRef<HTMLTextAreaElement>(null);
276
- const [isDragOver, setIsDragOver] = useState(false);
277
- const isRunning = turnActive ??
278
- (status === "submitted" || status === "streaming");
279
- const hasUploading = attachments.some(
280
- (attachment) => attachment.status === "uploading",
281
- );
282
- const hasReady = attachments.some(
283
- (attachment) => attachment.status === "ready",
284
- );
285
- const slashCommands = useMemo(
286
- () =>
287
- commands.map((command) => ({
288
- id: command.name,
289
- description: command.description,
290
- icon: command.icon,
291
- execute: () => {
292
- runtime.thread.composer.setText(command.prompt);
293
- onChange(command.prompt);
294
- requestAnimationFrame(() => textareaRef.current?.focus());
295
- },
296
- })),
297
- [commands, onChange, runtime],
298
- );
299
- const slash = unstable_useSlashCommandAdapter({
300
- commands: slashCommands,
301
- removeOnExecute: true,
302
- iconMap: COMMAND_ICON_MAP,
303
- fallbackIcon: TerminalIcon,
304
- });
305
- const triggers = unstable_useTriggerPopoverTriggers();
306
- const triggerAria = unstable_useTriggerPopoverAriaProps();
307
-
308
- const setTriggerCursor = useCallback(
309
- (position: number) => {
310
- for (const trigger of triggers.values()) {
311
- trigger.resource.setCursorPosition(position);
312
- }
313
- },
314
- [triggers],
315
- );
316
-
317
- useEffect(() => {
318
- const textarea = textareaRef.current;
319
- if (!textarea) return;
320
- textarea.style.height = "auto";
321
- textarea.style.height = `${Math.min(textarea.scrollHeight, 384)}px`;
322
- }, [value]);
323
-
324
- const submit = useCallback(() => {
325
- if (isRunning && !value.trim() && !hasReady) {
326
- onStop();
327
- return;
328
- }
329
- if (submissionBlocked) return;
330
- if (!hasUploading && (value.trim() || hasReady)) onSubmit();
331
- }, [
332
- hasReady,
333
- hasUploading,
334
- isRunning,
335
- onStop,
336
- onSubmit,
337
- submissionBlocked,
338
- value,
339
- ]);
340
-
341
- const handleKeyDown = (event: KeyboardEvent<HTMLTextAreaElement>) => {
342
- for (const trigger of triggers.values()) {
343
- if (trigger.resource.handleKeyDown(event)) return;
344
- }
345
- if (
346
- event.key === "Enter" &&
347
- !event.shiftKey &&
348
- !event.nativeEvent.isComposing
349
- ) {
350
- event.preventDefault();
351
- submit();
352
- }
353
- };
354
-
355
- const handlePaste = (event: ClipboardEvent<HTMLTextAreaElement>) => {
356
- const files = Array.from(event.clipboardData.files);
357
- if (files.length > 0) {
358
- event.preventDefault();
359
- onFilesSelected(files);
360
- }
361
- };
362
-
363
- const handleFiles = (event: ChangeEvent<HTMLInputElement>) => {
364
- const files = Array.from(event.currentTarget.files ?? []);
365
- if (files.length > 0) onFilesSelected(files);
366
- event.currentTarget.value = "";
367
- };
368
-
369
- const handleDragOver = (event: DragEvent<HTMLDivElement>) => {
370
- event.preventDefault();
371
- event.stopPropagation();
372
- setIsDragOver(true);
373
- };
374
-
375
- const handleDragLeave = (event: DragEvent<HTMLDivElement>) => {
376
- event.preventDefault();
377
- event.stopPropagation();
378
- const nextTarget = event.relatedTarget;
379
- if (!(nextTarget instanceof Node) || !event.currentTarget.contains(nextTarget)) {
380
- setIsDragOver(false);
381
- }
382
- };
383
-
384
- const handleDrop = (event: DragEvent<HTMLDivElement>) => {
385
- event.preventDefault();
386
- event.stopPropagation();
387
- setIsDragOver(false);
388
- const files = Array.from(event.dataTransfer.files);
389
- if (files.length > 0) onFilesSelected(files);
390
- };
391
-
392
- const handleFormSubmit = (event: FormEvent) => {
393
- event.preventDefault();
394
- submit();
395
- };
396
- const showStopButton = isRunning && !value.trim() && !hasReady;
397
- const submitDisabled =
398
- hasUploading || (
399
- !showStopButton &&
400
- (submissionBlocked || (!value.trim() && !hasReady))
401
- );
402
-
403
- return (
404
- <form
405
- onSubmit={handleFormSubmit}
406
- className="relative shrink-0"
407
- data-camel-prompt-input=""
408
- data-drop-scope="document"
409
- >
410
- <input
411
- ref={fileInputRef}
412
- type="file"
413
- multiple
414
- onChange={handleFiles}
415
- className="hidden"
416
- aria-hidden="true"
417
- />
418
- <ComposerTriggerPopover
419
- char="/"
420
- {...slash}
421
- aria-label="Commands"
422
- backLabel="Back"
423
- emptyItemsLabel="No matching commands"
424
- className="w-full"
425
- />
426
- <div
427
- onDragOver={handleDragOver}
428
- onDragLeave={handleDragLeave}
429
- onDrop={handleDrop}
430
- className={cn(
431
- "relative rounded-2xl transition-all duration-200",
432
- isDragOver && "ring-2 ring-primary ring-offset-2",
433
- )}
434
- >
435
- {isDragOver && (
436
- <div className="absolute inset-0 z-20 flex items-center justify-center rounded-2xl border-2 border-dashed border-primary bg-primary/10">
437
- <span className="text-sm font-medium text-primary">
438
- Drop files here
439
- </span>
440
- </div>
441
- )}
442
- <InputGroup className="cursor-text rounded-2xl border-border bg-background shadow-sm transition-all duration-200 hover:shadow-md focus-within:border-ring focus-within:shadow-md">
443
- {attachments.length > 0 && (
444
- <InputGroupAddon
445
- align="block-start"
446
- className="border-b border-border"
447
- >
448
- <AttachmentList
449
- attachments={attachments}
450
- onRemove={onAttachmentRemove}
451
- onRetry={onAttachmentRetry}
452
- />
453
- </InputGroupAddon>
454
- )}
455
- <InputGroupTextarea
456
- ref={textareaRef}
457
- value={value}
458
- onChange={(event) => {
459
- const next = event.currentTarget.value;
460
- runtime.thread.composer.setText(next);
461
- onChange(next);
462
- setTriggerCursor(
463
- event.currentTarget.selectionStart ?? next.length,
464
- );
465
- }}
466
- onKeyDown={handleKeyDown}
467
- onSelect={(event) =>
468
- setTriggerCursor(
469
- event.currentTarget.selectionStart ?? value.length,
470
- )
471
- }
472
- onPaste={handlePaste}
473
- placeholder={placeholder}
474
- autoFocus
475
- className="relative z-10 max-h-96 min-h-11 overflow-y-auto bg-transparent p-3.5 text-sm selection:bg-primary/30"
476
- style={{ caretColor: "var(--foreground)" }}
477
- {...triggerAria}
478
- />
479
- <InputGroupAddon
480
- align="block-end"
481
- className="justify-between px-3 pb-3"
482
- >
483
- <div className="flex items-center gap-1.5">
484
- <InputGroupButton
485
- type="button"
486
- size="icon-sm"
487
- variant="ghost"
488
- onClick={() => fileInputRef.current?.click()}
489
- className="rounded-full text-muted-foreground hover:bg-muted hover:text-foreground"
490
- aria-label="Upload file"
491
- >
492
- <PlusIcon className="size-4" />
493
- </InputGroupButton>
494
- {tools}
495
- </div>
496
- <div className="flex items-center gap-1">
497
- {!showStopButton && submitControl}
498
- <InputGroupButton
499
- type={showStopButton ? "button" : "submit"}
500
- size="icon-sm"
501
- variant="default"
502
- disabled={submitDisabled}
503
- onClick={showStopButton ? onStop : undefined}
504
- className="rounded-full"
505
- aria-label={showStopButton ? "停止" : "发送"}
506
- >
507
- {showStopButton ? (
508
- <SquareIcon className="size-3" />
509
- ) : (
510
- <ArrowUpIcon className="size-4" />
511
- )}
512
- </InputGroupButton>
513
- </div>
514
- </InputGroupAddon>
515
- </InputGroup>
516
- </div>
517
- </form>
518
- );
519
- }
520
-
521
- const EMPTY_MESSAGES: readonly ThreadMessage[] = [];
522
-
523
- export function CamelPromptInput(props: CamelPromptInputProps) {
524
- const runtime = useExternalStoreRuntime<ThreadMessage>({
525
- messages: EMPTY_MESSAGES,
526
- onNew: async () => undefined,
527
- });
528
-
529
- useEffect(() => {
530
- runtime.thread.composer.setText(props.value);
531
- }, [props.value, runtime]);
532
-
533
- return (
534
- <AssistantRuntimeProvider runtime={runtime}>
535
- <ComposerPrimitive.Unstable_TriggerPopoverRoot>
536
- <CamelPromptInputContent {...props} runtime={runtime} />
537
- </ComposerPrimitive.Unstable_TriggerPopoverRoot>
538
- </AssistantRuntimeProvider>
539
- );
540
- }