@pactor-app/ui 1.21.0 → 1.23.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.
@@ -594,14 +594,21 @@ interface ChatInputProps {
594
594
  * hideSend 且左右槽均未提供时工具栏行整体零渲染
595
595
  */
596
596
  hideSend?: boolean;
597
- /** 工具栏左端槽(DslNode 子树,经 Renderer children 机制渲染) */
598
- toolbarStart?: DslNode;
597
+ /** 工具栏左端槽(DslNode 子树经 Renderer 渲染;React 宿主可直接传元素) */
598
+ toolbarStart?: DslNode | ReactNode;
599
599
  /** 工具栏右端槽(发送钮之前) */
600
- toolbarEnd?: DslNode;
600
+ toolbarEnd?: DslNode | ReactNode;
601
601
  /** 顶部区槽(提供时渲染在 textarea 上方,与 footer 对称;附件卡片、上下文 chips 等输入上下文展示) */
602
- header?: DslNode;
602
+ header?: DslNode | ReactNode;
603
603
  /** 底部区槽(提供时渲染,与工具栏以分隔线相隔) */
604
- footer?: DslNode;
604
+ footer?: DslNode | ReactNode;
605
+ /**
606
+ * 自定义输入区(提供时替换内建 textarea):调用方自持编辑面
607
+ * (如 contenteditable 行内提及输入区);此时文本仍经受控
608
+ * value 驱动(canSubmit / 发送钮禁用逻辑),Enter 发送由自定义
609
+ * 输入区自行处理(内建 textarea 的键盘语义不生效)
610
+ */
611
+ field?: ReactNode;
605
612
  /** 输入事件,传出 string 值 */
606
613
  onChange?: (value: string) => void;
607
614
  /** 发送事件(点击发送钮或 Enter),传出当前文本 */
@@ -625,7 +632,7 @@ interface ChatInputProps {
625
632
  * 定位为通用结构构件:transport / 附件 / 提及等对话领域能力请使用
626
633
  * @pactor-app/chat 的 Composer。
627
634
  */
628
- declare function ChatInput({ value, placeholder, disabled, rows, hideSend, toolbarStart, toolbarEnd, header, footer, onChange, onSubmit, className, style, }: ChatInputProps): React.JSX.Element;
635
+ declare function ChatInput({ value, placeholder, disabled, rows, hideSend, toolbarStart, toolbarEnd, header, footer, field, onChange, onSubmit, className, style, }: ChatInputProps): React.JSX.Element;
629
636
 
630
637
  /** DSL Container 宽度档位(对齐 Tailwind 断点) */
631
638
  type ContainerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
@@ -3120,6 +3127,11 @@ type ChatMessagePart = {
3120
3127
  } | {
3121
3128
  type: 'status';
3122
3129
  text: string;
3130
+ }
3131
+ /** 产物计数段:展示「已生成 n 个产物」,提供 onOpenArtifacts 时可点击(打开产物栏) */
3132
+ | {
3133
+ type: 'artifacts';
3134
+ count: number;
3123
3135
  } | {
3124
3136
  type: 'error';
3125
3137
  message: string;
@@ -3149,12 +3161,14 @@ interface ChatMessageProps {
3149
3161
  agent?: ChatMessageAgent;
3150
3162
  /** 时间文本 */
3151
3163
  time?: string;
3152
- /** 是否展示发送方行,默认 true */
3164
+ /** 是否展示发送方行,默认 false(消息列表不展示 Sender) */
3153
3165
  showSender?: boolean;
3154
- /** 操作列表(completed / error 时展示) */
3166
+ /** 操作列表(completed / error 时展示;有图标时仅图标 + Tooltip 呈现) */
3155
3167
  actions?: ChatMessageActionItem[];
3156
3168
  /** 操作事件,传出 action name(Renderer 绑定 events.onAction) */
3157
3169
  onAction?: (name: string) => void;
3170
+ /** artifacts 段(「已生成 n 个产物」)点击事件;提供时该段才可点击 */
3171
+ onOpenArtifacts?: () => void;
3158
3172
  /** 通用:根节点 class(与内置样式合并) */
3159
3173
  className?: string;
3160
3174
  /** 通用:根节点内联样式 */
@@ -3162,12 +3176,112 @@ interface ChatMessageProps {
3162
3176
  }
3163
3177
  /**
3164
3178
  * ChatMessage 适配器(shadcn kit):会话消息组合件——
3165
- * Sender(头像 / 名称 / 时间)+ 有序 parts 渲染(text / markdown /
3179
+ * user 右侧气泡;assistant 左侧通栏(Sender + 有序 parts);system
3180
+ * 居中弱提示(无气泡、12px 浅色文字,参考 @pactor-app/chat
3181
+ * MessageBubble 的 system 约定)。parts 渲染(text / markdown /
3166
3182
  * thinking / tool-call / tool-result / status / error)+ streaming 光标 +
3167
3183
  * 操作行(onAction 传出 name)。props 驱动,不感知会话 store;
3168
3184
  * dsl / artifact 段与完整会话能力由 @pactor-app/chat 产品层承接。
3169
3185
  */
3170
- declare function ChatMessage({ role, parts, status, agent, time, showSender, actions, onAction, className, style, }: ChatMessageProps): React.JSX.Element;
3186
+ declare function ChatMessage({ role, parts, status, agent, time, showSender, actions, onAction, onOpenArtifacts, className, style, }: ChatMessageProps): React.JSX.Element;
3187
+
3188
+ /** 模型选项(模型选择 chip 的候选) */
3189
+ interface ComposerModelOption {
3190
+ value: string;
3191
+ label: string;
3192
+ }
3193
+ /** 上下文条目(提及候选与行内提及块共用) */
3194
+ interface ComposerContextItem {
3195
+ id: string;
3196
+ label: string;
3197
+ /** 来源触发符,缺省继承 source */
3198
+ trigger?: string;
3199
+ /** 图标名(Icon 白名单;缺省按 source.icon 或触发符兜底) */
3200
+ icon?: string;
3201
+ /** 原始数据(随选中结果透传给调用方) */
3202
+ data?: unknown;
3203
+ }
3204
+ /**
3205
+ * 上下文数据源:trigger 为声明的触发字符(如 '@' / '+')——
3206
+ * 输入该字符(词边界)时在光标位置弹出候选菜单(行内提及);
3207
+ * trigger 为 '+' 时工具栏左端同时渲染 + 按钮弹层(选中在光标处插入行内块)
3208
+ */
3209
+ interface ComposerContextSource {
3210
+ trigger: string;
3211
+ label: string;
3212
+ items: ComposerContextItem[];
3213
+ /** 菜单项与提及块的缺省图标(Icon 白名单) */
3214
+ icon?: string;
3215
+ }
3216
+ interface ComposerProps {
3217
+ /** 受控值(提供即受控) */
3218
+ value?: string;
3219
+ /** 占位提示 */
3220
+ placeholder?: string;
3221
+ /** 禁用输入与发送 */
3222
+ disabled?: boolean;
3223
+ /** 发送中(禁用发送钮,由调用方在完成后复位) */
3224
+ loading?: boolean;
3225
+ /** 最小行数,缺省 3 */
3226
+ rows?: number;
3227
+ /** 附件列表(展示在输入区上方) */
3228
+ attachments?: AttachmentItemData[];
3229
+ /** 附件移除事件,传出 id / 下标 */
3230
+ onRemoveAttachment?: (id: string | number) => void;
3231
+ /** 附件重试事件,传出 id / 下标 */
3232
+ onRetryAttachment?: (id: string | number) => void;
3233
+ /**
3234
+ * 附件选择入口(提供时工具栏左端渲染附件钮,并启用粘贴 / 拖拽文件);
3235
+ * 上传与存储由调用方负责
3236
+ */
3237
+ onAttachFiles?: (files: File[]) => void;
3238
+ /** 输入事件,传出 string 值(行内提及块序列化为 trigger+label) */
3239
+ onChange?: (value: string) => void;
3240
+ /** 发送事件(点击发送钮或 Enter),传出当前文本 */
3241
+ onSubmit?: (value: string) => void;
3242
+ /** 模型选项(非空时工具栏右端渲染模型选择 chip,位于发送钮之前) */
3243
+ models?: ComposerModelOption[];
3244
+ /** 当前选中模型 value(未命中时展示 models[0]) */
3245
+ model?: string;
3246
+ /** 弹层中选中模型时触发,传出 value */
3247
+ onModelChange?: (value: string) => void;
3248
+ /**
3249
+ * 上下文数据源(行内提及):配置后输入区切换为 contenteditable——
3250
+ * 输入触发符在光标位置弹出候选菜单(输入过滤 / ↑↓ 选择 / 回车选中),
3251
+ * 选中把触发符与已输入文字替换为行内提及块(图标 + 文字、浅色背景、
3252
+ * 圆角,退格整体删除)
3253
+ */
3254
+ contexts?: ComposerContextSource[];
3255
+ /** 行内提及块列表(受控,与输入区保持同步) */
3256
+ contextItems?: ComposerContextItem[];
3257
+ /** 提及块变更事件(插入 / 退格删除),传出输入区当前块列表;发送后的清空由调用方在 onSubmit 闭环里处理 */
3258
+ onContextItemsChange?: (items: ComposerContextItem[]) => void;
3259
+ /** footer 槽(渲染在输入框内工具栏下方,以分隔线相隔;DslNode 或 React 元素) */
3260
+ footer?: DslNode | ReactNode;
3261
+ /** 通用:根节点 class(与内置样式合并) */
3262
+ className?: string;
3263
+ /** 通用:根节点内联样式 */
3264
+ style?: CSSProperties;
3265
+ }
3266
+ /**
3267
+ * Composer 适配器(shadcn kit):会话输入组合件——
3268
+ * 附件区(Attachment)+ 输入区(ChatInput)。
3269
+ *
3270
+ * - 附件:受控 attachments 展示;提供 onAttachFiles 时工具栏左端渲染
3271
+ * 附件钮,并启用粘贴 / 拖拽文件入口(上传由调用方负责)
3272
+ * - 模型选择:models 非空时工具栏右端渲染模型 chip(发送钮之前),
3273
+ * 弹层选中经 onModelChange 传出
3274
+ * - 行内提及(MentionInput):contexts 非空时输入区切换为
3275
+ * contenteditable——输入触发符('@' 等)在光标位置弹出候选菜单
3276
+ * (输入过滤 / ↑↓ / 回车选中 / 点击选中),选中把触发符与已输入
3277
+ * 文字替换为行内提及块(图标 + 文字、浅色背景、圆角),退格整体
3278
+ * 删除;'+' 触发源额外在工具栏左端渲染 + 按钮弹层(选中在光标处
3279
+ * 插入行内块);块列表受控(contextItems + onContextItemsChange)
3280
+ * - footer 槽渲染在输入框内工具栏下方(分隔线相隔)
3281
+ *
3282
+ * 上传 / transport 由调用方负责,本组件只做呈现与事件上报。
3283
+ */
3284
+ declare function Composer({ value, placeholder, disabled, loading, rows, attachments, onRemoveAttachment, onRetryAttachment, onAttachFiles, onChange, onSubmit, models, model, onModelChange, contexts, contextItems, onContextItemsChange, footer, className, style, }: ComposerProps): React.JSX.Element;
3171
3285
 
3172
3286
  /** 会话条目 */
3173
3287
  interface ConversationItemData {
@@ -3215,6 +3329,10 @@ interface MessageListProps {
3215
3329
  id?: string;
3216
3330
  action: string;
3217
3331
  }) => void;
3332
+ /** artifacts 段(「已生成 n 个产物」)点击事件,传出 { id } */
3333
+ onOpenArtifacts?: (event: {
3334
+ id?: string;
3335
+ }) => void;
3218
3336
  /** 通用:根节点 class(与内置样式合并;高度由外层或 style 约束) */
3219
3337
  className?: string;
3220
3338
  /** 通用:根节点内联样式 */
@@ -3225,7 +3343,7 @@ interface MessageListProps {
3225
3343
  * 逐条渲染 ChatMessage,消息变化自动滚到底部(autoScroll 可关);
3226
3344
  * 高度由外层容器约束(组件本身只提供滚动语义)。
3227
3345
  */
3228
- declare function MessageList({ messages, autoScroll, onAction, className, style }: MessageListProps): React.JSX.Element;
3346
+ declare function MessageList({ messages, autoScroll, onAction, onOpenArtifacts, className, style }: MessageListProps): React.JSX.Element;
3229
3347
 
3230
3348
  /** 起始任务项(value 缺省取 title) */
3231
3349
  interface WelcomePromptItem {
@@ -3317,6 +3435,18 @@ interface ChatPageProps {
3317
3435
  onFooterSectionToggle?: (collapsed: boolean) => void;
3318
3436
  /** 对话区头部标题(通常为当前会话标题) */
3319
3437
  conversationTitle?: string;
3438
+ /**
3439
+ * 对话区头部右侧自定义操作(图标 + 提示);提供时替换缺省的产物区
3440
+ * 开关钮,点击经 onConversationHeaderAction 传出(产物区开关可经
3441
+ * 受控 artifactOpen + onArtifactOpenChange 自行接线)
3442
+ */
3443
+ conversationHeaderAction?: {
3444
+ icon?: string;
3445
+ label?: string;
3446
+ tooltip?: string;
3447
+ };
3448
+ /** 对话区头部右侧自定义操作点击事件 */
3449
+ onConversationHeaderAction?: () => void;
3320
3450
  messages?: MessageListItem[];
3321
3451
  /** 发送中(禁用 Composer 发送钮,由调用方完成后复位) */
3322
3452
  sending?: boolean;
@@ -3334,6 +3464,30 @@ interface ChatPageProps {
3334
3464
  id?: string;
3335
3465
  action: string;
3336
3466
  }) => void;
3467
+ /** 模型选项(非空时 Composer 工具栏右端渲染模型选择 chip) */
3468
+ models?: ComposerModelOption[];
3469
+ /** 当前选中模型 value(可绑 `${state.x}` 受控闭环) */
3470
+ model?: string;
3471
+ /** 模型切换事件,传出 value */
3472
+ onModelChange?: (value: string) => void;
3473
+ /** 上下文数据源(行内提及:输入触发符在光标处弹菜单,选中替换为行内提及块;'+' 源另有工具栏按钮弹层) */
3474
+ contexts?: ComposerContextSource[];
3475
+ /** 行内提及块列表(受控,与输入区同步,可绑 `${state.x}`) */
3476
+ contextItems?: ComposerContextItem[];
3477
+ /** chips 变更事件(选中追加 / 移除),传出新数组;发送后的清空由调用方在 onSend 闭环里处理 */
3478
+ onContextItemsChange?: (items: ComposerContextItem[]) => void;
3479
+ /** 附件列表(受控,展示在输入区上方) */
3480
+ attachments?: AttachmentItemData[];
3481
+ /** 附件选择入口(提供时启用附件钮与粘贴 / 拖拽文件),传出原始 File[] */
3482
+ onAttachFiles?: (files: File[]) => void;
3483
+ /** 附件移除事件,传出 id */
3484
+ onRemoveAttachment?: (id: string | number) => void;
3485
+ /** 附件重试事件,传出 id */
3486
+ onRetryAttachment?: (id: string | number) => void;
3487
+ /** Composer footer 槽(渲染在输入框内工具栏下方,以分隔线相隔) */
3488
+ composerFooter?: DslNode | ReactNode;
3489
+ /** Composer 下方自定义内容槽(渲染在输入框之外正下方,如免责声明弱提示行) */
3490
+ composerBottom?: DslNode | ReactNode;
3337
3491
  /** 产物区标题,缺省「产物」 */
3338
3492
  artifactTitle?: string;
3339
3493
  /**
@@ -3354,7 +3508,7 @@ interface ChatPageProps {
3354
3508
  onDownloadArtifact?: (artifact: ChatPageArtifact) => void;
3355
3509
  /** 产物区受控开关(提供即受控,配合 onArtifactOpenChange 闭环) */
3356
3510
  artifactOpen?: boolean;
3357
- /** 非受控初始开关,缺省 true */
3511
+ /** 非受控初始开关,缺省 false(产物栏不默认展示) */
3358
3512
  defaultArtifactOpen?: boolean;
3359
3513
  /** 产物区开关变化事件,传出 boolean */
3360
3514
  onArtifactOpenChange?: (open: boolean) => void;
@@ -3366,15 +3520,19 @@ interface ChatPageProps {
3366
3520
  /**
3367
3521
  * ChatPage 对话工作页(shadcn kit):四区整页布局——
3368
3522
  * 最左图标栏(railItems 独立定义,仅图标,hover 右侧 Tooltip 展示
3369
- * 菜单名;不传则整栏隐藏)、展开菜单区(品牌 + 图标文字导航 +
3370
- * 可折叠的会话列表与底部分组)、中间对话区(头部 / Welcome /
3371
- * MessageList / Composer)、最右产物区(ArtifactPanel:内建产物预览、
3523
+ * 菜单名;不传则整栏隐藏)、展开菜单区(品牌 + 图标文字导航固定于顶部,
3524
+ * 可折叠的会话列表与底部分组各占独立滚动区,内容短时下方留空)、中间对话区(头部 / Welcome /
3525
+ * MessageList / Composer——Composer 支持模型选择 chip(models/model)、
3526
+ * 行内提及(contexts:输入触发符在光标处弹菜单,选中替换为行内提及块,
3527
+ * 退格整体删除;受控 contextItems)、附件
3528
+ * 入口(onAttachFiles + 受控 attachments)与 composerFooter /
3529
+ * composerBottom 槽位)、最右产物区(ArtifactPanel:内建产物预览、
3372
3530
  * 目录树与下载,可显隐;展示时经 Resizable 拖拽调节与对话区的宽度)。
3373
3531
  * 数据与行为全部经 props / events 进出,
3374
3532
  * 本组件不持有业务状态(产物区开关与分区折叠缺省非受控,均可经
3375
3533
  * 受控 prop + change 事件闭环)。
3376
3534
  */
3377
- declare function ChatPage({ brand, menuItems, activeMenuKey, railItems, railFooterItems, menuAction, onMenuSelect, onMenuAction, conversationSectionTitle, conversationSectionCollapsed, defaultConversationSectionCollapsed, onConversationSectionToggle, conversations, activeConversationId, onSelectConversation, onDeleteConversation, moreLabel, onMore, footerSectionTitle, footerItems, footerSectionCollapsed, defaultFooterSectionCollapsed, onFooterSectionToggle, conversationTitle, messages, sending, composerPlaceholder, welcome, onSend, onMessageAction, artifactTitle, artifacts, activeArtifactId, onSelectArtifact, artifactEmptyText, safeRegistry, user, artifactViewers, onDownloadArtifact, artifactOpen, defaultArtifactOpen, onArtifactOpenChange, className, style, }: ChatPageProps): React.JSX.Element;
3535
+ declare function ChatPage({ brand, menuItems, activeMenuKey, railItems, railFooterItems, menuAction, onMenuSelect, onMenuAction, conversationSectionTitle, conversationSectionCollapsed, defaultConversationSectionCollapsed, onConversationSectionToggle, conversations, activeConversationId, onSelectConversation, onDeleteConversation, moreLabel, onMore, footerSectionTitle, footerItems, footerSectionCollapsed, defaultFooterSectionCollapsed, onFooterSectionToggle, conversationTitle, conversationHeaderAction, onConversationHeaderAction, messages, sending, composerPlaceholder, welcome, onSend, onMessageAction, models, model, onModelChange, contexts, contextItems, onContextItemsChange, attachments, onAttachFiles, onRemoveAttachment, onRetryAttachment, composerFooter, composerBottom, artifactTitle, artifacts, activeArtifactId, onSelectArtifact, artifactEmptyText, safeRegistry, user, artifactViewers, onDownloadArtifact, artifactOpen, defaultArtifactOpen, onArtifactOpenChange, className, style, }: ChatPageProps): React.JSX.Element;
3378
3536
 
3379
3537
  /** 引用来源项 */
3380
3538
  interface CitationItem {
@@ -3401,39 +3559,6 @@ interface CitationProps {
3401
3559
  */
3402
3560
  declare function Citation({ items, start, className, style }: CitationProps): React.JSX.Element;
3403
3561
 
3404
- interface ComposerProps {
3405
- /** 受控值(提供即受控) */
3406
- value?: string;
3407
- /** 占位提示 */
3408
- placeholder?: string;
3409
- /** 禁用输入与发送 */
3410
- disabled?: boolean;
3411
- /** 发送中(禁用发送钮,由调用方在完成后复位) */
3412
- loading?: boolean;
3413
- /** 最小行数,缺省 3 */
3414
- rows?: number;
3415
- /** 附件列表(展示在输入区上方) */
3416
- attachments?: AttachmentItemData[];
3417
- /** 附件移除事件,传出 id / 下标 */
3418
- onRemoveAttachment?: (id: string | number) => void;
3419
- /** 附件重试事件,传出 id / 下标 */
3420
- onRetryAttachment?: (id: string | number) => void;
3421
- /** 输入事件,传出 string 值 */
3422
- onChange?: (value: string) => void;
3423
- /** 发送事件(点击发送钮或 Enter),传出当前文本 */
3424
- onSubmit?: (value: string) => void;
3425
- /** 通用:根节点 class(与内置样式合并) */
3426
- className?: string;
3427
- /** 通用:根节点内联样式 */
3428
- style?: CSSProperties;
3429
- }
3430
- /**
3431
- * Composer 适配器(shadcn kit):会话输入组合件——
3432
- * 附件区(Attachment)+ 输入区(ChatInput);
3433
- * 上传 / transport 由调用方负责,本组件只做呈现与事件上报。
3434
- */
3435
- declare function Composer({ value, placeholder, disabled, loading, rows, attachments, onRemoveAttachment, onRetryAttachment, onChange, onSubmit, className, style, }: ComposerProps): React.JSX.Element;
3436
-
3437
3562
  interface PromptProps {
3438
3563
  /** 提示词标题 */
3439
3564
  title?: string;
@@ -3545,8 +3670,9 @@ interface ThinkingProps {
3545
3670
  style?: CSSProperties;
3546
3671
  }
3547
3672
  /**
3548
- * Thinking 适配器(shadcn kit):推理 / 处理中状态卡片——
3549
- * 头部(brain 图标 + 标题 + chevron)可折叠,进行中图标脉冲;
3673
+ * Thinking 适配器(shadcn kit):推理 / 处理中状态——
3674
+ * 无边框无底色:头部(brain 图标 + 标题 + chevron 紧随其后)可折叠,
3675
+ * 进行中图标脉冲;展开后内容仅以浅色文字呈现。
3550
3676
  * 展开态非受控(defaultExpanded)或受控(expanded + onToggle)。
3551
3677
  */
3552
3678
  declare function Thinking({ content, status, title, expanded, defaultExpanded, onToggle, className, style, }: ThinkingProps): React.JSX.Element;
@@ -3572,9 +3698,9 @@ interface ToolCallProps {
3572
3698
  style?: CSSProperties;
3573
3699
  }
3574
3700
  /**
3575
- * ToolCall 适配器(shadcn kit):工具调用卡片——头部(terminal 图标 +
3576
- * 名称 + 状态 + 耗时 + chevron)可折叠,展开展示参数(JSON 缩进)与结果;
3577
- * 缺省 running 展开、done / error 折叠。
3701
+ * ToolCall 适配器(shadcn kit):工具调用——无边框无底色:头部
3702
+ * (terminal 图标 + 名称 + 状态 + 耗时 + chevron 紧随其后)可折叠,
3703
+ * 展开后参数 / 结果仅以浅色文字呈现;缺省 running 展开、done / error 折叠。
3578
3704
  */
3579
3705
  declare function ToolCall({ name, params, status, result, durationMs, defaultExpanded, className, style }: ToolCallProps): React.JSX.Element;
3580
3706
 
@@ -4318,4 +4444,4 @@ interface FormContextValue {
4318
4444
  /** 在字段组件内探测 Form 上下文;不在 Form 内时返回 null */
4319
4445
  declare function useFormContext(): FormContextValue | null;
4320
4446
 
4321
- export { Accordion, type AccordionItemData, type AccordionProps, Affix, type AffixProps, AgentStatus, type AgentStatusProps, type AgentStatusType, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, Anchor, type AnchorItemData, type AnchorProps, AreaChart, type AreaChartProps, ArtifactPanel, type ArtifactPanelProps, type ArtifactTreeNode, type ArtifactViewer, type ArtifactViewers, AspectRatio, type AspectRatioProps, Attachment, type AttachmentItemData, type AttachmentProps, Audio, type AudioProps, Avatar, type AvatarProps, BackTop, type BackTopProps, Badge, type BadgeProps, type BadgeVariant, BarChart, type BarChartProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Bubble, BubbleChart, type BubbleChartProps, type BubbleProps, type BubbleVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, type ChartSelectPayload, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageActionItem, type ChatMessageAgent, type ChatMessagePart, type ChatMessageProps, type ChatMessageStatus, ChatPage, type ChatPageArtifact, type ChatPageBrand, type ChatPageMenuItem, type ChatPageProps, Checkbox, type CheckboxProps, Citation, type CitationItem, type CitationProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, ComposedChart, type ComposedChartProps, type ComposedSeriesItem, Composer, type ComposerProps, Container, type ContainerProps, type ContainerSize, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, type ConversationItemData, ConversationList, type ConversationListProps, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, DatePicker, type DatePickerPreset, type DatePickerPresetKey, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRangeValue, Descriptions, type DescriptionsItemData, type DescriptionsProps, Dialog, type DialogProps, DiffViewer, type DiffViewerProps, type DocumentPageData, DocumentPreview, type DocumentPreviewProps, DonutChart, type DonutChartProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, EChartBase, type EChartBaseProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, FilePreview, type FilePreviewKind, type FilePreviewProps, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, FunnelChart, type FunnelChartProps, Gallery, type GalleryItemData, type GalleryProps, GaugeChart, type GaugeChartProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderTheme, type HeaderUser, type HeaderUserItem, Heatmap, type HeatmapProps, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Image, ImageLightbox, type ImageLightboxProps, type ImageProps, ImageViewer, type ImageViewerProps, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, JSONViewer, type JSONViewerProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListItemData, type ListProps, LoadingOverlay, type LoadingOverlayProps, MapChart, type MapChartProps, type MentionOption, Mentions, type MentionsProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, Message, MessageList, type MessageListItem, type MessageListProps, type MessageProps, MetricCard, type MetricCardProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Notification, type NotificationProps, NumberInput, type NumberInputProps, Page, type PageProps, Pagination, type PaginationProps, PieChart, type PieChartProps, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressProps, Prompt, type PromptProps, QRCode, type QRCodeProps, RadarChart, type RadarChartProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Rate, type RateProps, Resizable, type ResizablePanelData, type ResizableProps, Result, type ResultProps, type ResultStatus, RichText, type RichTextProps, SankeyChart, type SankeyChartProps, ScatterChart, type ScatterChartProps, ScrollArea, type ScrollAreaProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectOption, type SelectProps, Sender, type SenderProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Space, type SpaceProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Status, type StatusProps, type StatusType, type StepItemData, type StepStatus, Steps, type StepsProps, StreamingText, type StreamingTextProps, Suggestion, type SuggestionItem, type SuggestionProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Tag, type TagColor, type TagProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Thinking, type ThinkingProps, type ThinkingStatus, TimePicker, type TimePickerProps, Timeline, type TimelineItemData, type TimelineProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, ToolCall, type ToolCallProps, type ToolCallStatus, Tooltip, type TooltipProps, Tour, type TourProps, type TourStep, Transfer, type TransferOption, type TransferProps, Tree, TreeChart, type TreeChartProps, type TreeNodeData, type TreeProps, TreeSelect, type TreeSelectOption, type TreeSelectProps, Typography, type TypographyProps, type TypographyVariant, Upload, type UploadFileMeta, type UploadProps, Video, type VideoProps, Watermark, type WatermarkProps, Welcome, type WelcomePromptItem, type WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
4447
+ export { Accordion, type AccordionItemData, type AccordionProps, Affix, type AffixProps, AgentStatus, type AgentStatusProps, type AgentStatusType, Alert, AlertDialog, type AlertDialogProps, type AlertProps, type AlertVariant, Anchor, type AnchorItemData, type AnchorProps, AreaChart, type AreaChartProps, ArtifactPanel, type ArtifactPanelProps, type ArtifactTreeNode, type ArtifactViewer, type ArtifactViewers, AspectRatio, type AspectRatioProps, Attachment, type AttachmentItemData, type AttachmentProps, Audio, type AudioProps, Avatar, type AvatarProps, BackTop, type BackTopProps, Badge, type BadgeProps, type BadgeVariant, BarChart, type BarChartProps, Breadcrumb, type BreadcrumbItemData, type BreadcrumbProps, Bubble, BubbleChart, type BubbleChartProps, type BubbleProps, type BubbleVariant, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, Carousel, type CarouselImage, type CarouselItemData, type CarouselProps, Cascader, type CascaderOption, type CascaderProps, type ChartSelectPayload, ChatInput, type ChatInputProps, ChatMessage, type ChatMessageActionItem, type ChatMessageAgent, type ChatMessagePart, type ChatMessageProps, type ChatMessageStatus, ChatPage, type ChatPageArtifact, type ChatPageBrand, type ChatPageMenuItem, type ChatPageProps, Checkbox, type CheckboxProps, Citation, type CitationItem, type CitationProps, CodeBlock, type CodeBlockProps, Collapsible, type CollapsibleProps, ColorPicker, type ColorPickerProps, ColumnChart, type ColumnChartProps, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandGroupData, type CommandItemData, type CommandProps, ComposedChart, type ComposedChartProps, type ComposedSeriesItem, Composer, type ComposerContextItem, type ComposerContextSource, type ComposerModelOption, type ComposerProps, Container, type ContainerProps, type ContainerSize, Content, type ContentProps, ContextMenu, type ContextMenuItemData, type ContextMenuProps, type ConversationItemData, ConversationList, type ConversationListProps, DataTable, type DataTableColumn, type DataTablePagination, type DataTableProps, type DataTableSort, type DataTableSortOrder, DatePicker, type DatePickerPreset, type DatePickerPresetKey, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRangeValue, Descriptions, type DescriptionsItemData, type DescriptionsProps, Dialog, type DialogProps, DiffViewer, type DiffViewerProps, type DocumentPageData, DocumentPreview, type DocumentPreviewProps, DonutChart, type DonutChartProps, Drawer, type DrawerPlacement, type DrawerProps, DropdownMenu, type DropdownMenuItemData, type DropdownMenuProps, EChartBase, type EChartBaseProps, Empty, type EmptyProps, Field, type FieldProps, type FieldRule, FilePreview, type FilePreviewKind, type FilePreviewProps, Flex, type FlexProps, Footer, type FooterProps, Form, type FormContextValue, type FormProps, FunnelChart, type FunnelChartProps, Gallery, type GalleryItemData, type GalleryProps, GaugeChart, type GaugeChartProps, Grid, type GridProps, Header, type HeaderBrandPosition, type HeaderDropdown, type HeaderDropdownItem, type HeaderLocale, type HeaderMenuItem, type HeaderProps, type HeaderTheme, type HeaderUser, type HeaderUserItem, Heatmap, type HeatmapProps, HoverCard, type HoverCardProps, ICONS, Icon, type IconProps, type IconSize, Image, ImageLightbox, type ImageLightboxProps, type ImageProps, ImageViewer, type ImageViewerProps, Input, InputGroup, type InputGroupProps, InputOTP, type InputOTPProps, type InputProps, Item, type ItemProps, JSONViewer, type JSONViewerProps, Kbd, type KbdProps, Label, type LabelProps, Layout, type LayoutProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListItemData, type ListProps, LoadingOverlay, type LoadingOverlayProps, MapChart, type MapChartProps, type MentionOption, Mentions, type MentionsProps, Menu, type MenuItem, type MenuProps, Menubar, type MenubarLeafItem, type MenubarMenuData, type MenubarProps, Message, MessageList, type MessageListItem, type MessageListProps, type MessageProps, MetricCard, type MetricCardProps, NavigationMenu, type NavigationMenuChildItem, type NavigationMenuItemData, type NavigationMenuProps, Notification, type NotificationProps, NumberInput, type NumberInputProps, Page, type PageProps, Pagination, type PaginationProps, PieChart, type PieChartProps, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, Progress, type ProgressProps, Prompt, type PromptProps, QRCode, type QRCodeProps, RadarChart, type RadarChartProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, RailTooltip, Rate, type RateProps, Resizable, type ResizablePanelData, type ResizableProps, Result, type ResultProps, type ResultStatus, RichText, type RichTextProps, SankeyChart, type SankeyChartProps, ScatterChart, type ScatterChartProps, ScrollArea, type ScrollAreaProps, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectOption, type SelectProps, Sender, type SenderProps, Separator, type SeparatorProps, Sheet, type SheetProps, type SheetSide, Sidebar, type SidebarBrand, type SidebarNavItem, type SidebarProps, Sider, type SiderProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Sonner, type SonnerProps, Space, type SpaceProps, Spinner, type SpinnerProps, type SpinnerSize, Statistic, type StatisticProps, Status, type StatusProps, type StatusType, type StepItemData, type StepStatus, Steps, type StepsProps, StreamingText, type StreamingTextProps, Suggestion, type SuggestionItem, type SuggestionProps, Switch, type SwitchProps, type TabItem, Table, type TableColumn, type TablePagination, type TablePaginationInfo, type TableProps, Tabs, type TabsProps, Tag, type TagColor, type TagProps, Text, type TextProps, type TextType, Textarea, type TextareaProps, Thinking, type ThinkingProps, type ThinkingStatus, TimePicker, type TimePickerProps, Timeline, type TimelineItemData, type TimelineProps, Toggle, ToggleGroup, type ToggleGroupOption, type ToggleGroupProps, type ToggleProps, ToolCall, type ToolCallProps, type ToolCallStatus, Tooltip, type TooltipProps, Tour, type TourProps, type TourStep, Transfer, type TransferOption, type TransferProps, Tree, TreeChart, type TreeChartProps, type TreeNodeData, type TreeProps, TreeSelect, type TreeSelectOption, type TreeSelectProps, Typography, type TypographyProps, type TypographyVariant, Upload, type UploadFileMeta, type UploadProps, Video, type VideoProps, Watermark, type WatermarkProps, Welcome, type WelcomePromptItem, type WelcomeProps, buildArtifactTree, builtinComponents, createComponentRegistry, diffLines, inferKind, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer };
@@ -151,7 +151,7 @@ import {
151
151
  inferKind,
152
152
  registerBuiltinComponents,
153
153
  useFormContext
154
- } from "../chunk-XXOY57SN.js";
154
+ } from "../chunk-VTCNWVKQ.js";
155
155
  import {
156
156
  ICONS,
157
157
  Icon,
@@ -160,7 +160,7 @@ import {
160
160
  Sidebar,
161
161
  normalizeIconName,
162
162
  useSidebarDrawer
163
- } from "../chunk-7WB4TS55.js";
163
+ } from "../chunk-44DAGWXZ.js";
164
164
  import "../chunk-JWZHJEUS.js";
165
165
  import "../chunk-XUHJ5YSG.js";
166
166
  import "../chunk-RB7RCKAX.js";