@opentiny/tiny-robot 0.4.2-alpha.1 → 0.4.2-alpha.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.
@@ -50,7 +50,7 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
50
50
  ])) : k("", !0)
51
51
  ]));
52
52
  }
53
- }), ee = /* @__PURE__ */ X(Z, [["__scopeId", "data-v-c5fbb560"]]), te = { class: "tr-feedback" }, oe = { class: "tr-feedback__operations" }, se = { class: "tr-feedback__operations-left" }, ne = { key: 1 }, le = { class: "tr-feedback__operations-right" }, re = {
53
+ }), ee = /* @__PURE__ */ X(Z, [["__scopeId", "data-v-0a3b7acb"]]), te = { class: "tr-feedback" }, oe = { class: "tr-feedback__operations" }, se = { class: "tr-feedback__operations-left" }, ne = { key: 1 }, le = { class: "tr-feedback__operations-right" }, re = {
54
54
  key: 0,
55
55
  class: "tr-feedback__footer"
56
56
  }, ae = { key: 0 }, ie = /* @__PURE__ */ V({
@@ -181,7 +181,7 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
181
181
  ]);
182
182
  };
183
183
  }
184
- }), C = /* @__PURE__ */ X(ie, [["__scopeId", "data-v-affa572f"]]);
184
+ }), C = /* @__PURE__ */ X(ie, [["__scopeId", "data-v-80a60d78"]]);
185
185
  C.name = "TrFeedback";
186
186
  const ce = function(h) {
187
187
  h.component(C.name, C);
package/dist/index.d.ts CHANGED
@@ -309,7 +309,6 @@ autoInsert: boolean;
309
309
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
310
310
 
311
311
  declare const __VLS_component_2: DefineComponent<BubbleListProps, {
312
- rootEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
313
312
  scrollToBottom: (behavior?: ScrollBehavior) => Promise<void>;
314
313
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
315
314
  "state-change": (payload: {
@@ -349,22 +348,22 @@ onClose?: (() => any) | undefined;
349
348
  title: string;
350
349
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
351
350
 
352
- declare const __VLS_component_5: DefineComponent<ContentNavProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
353
- select: (item: ContentNavItem) => any;
351
+ declare const __VLS_component_5: DefineComponent<AnchorProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
352
+ select: (item: AnchorItem) => any;
354
353
  "update:searchQuery": (value: string) => any;
355
354
  "update:activeId": (value: string | undefined) => any;
356
355
  "update:expanded": (value: boolean) => any;
357
- }, string, PublicProps, Readonly<ContentNavProps> & Readonly<{
358
- onSelect?: ((item: ContentNavItem) => any) | undefined;
356
+ }, string, PublicProps, Readonly<AnchorProps> & Readonly<{
357
+ onSelect?: ((item: AnchorItem) => any) | undefined;
359
358
  "onUpdate:searchQuery"?: ((value: string) => any) | undefined;
360
359
  "onUpdate:activeId"?: ((value: string | undefined) => any) | undefined;
361
360
  "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
362
361
  }>, {
363
- placement: ContentNavPlacement;
362
+ placement: AnchorPlacement;
364
363
  tooltipDelay: number;
365
364
  emptyText: string;
366
365
  activeOffset: number;
367
- expandTrigger: ContentNavExpandTrigger;
366
+ expandTrigger: AnchorExpandTrigger;
368
367
  targetFeedbackDuration: number;
369
368
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
370
369
  overlayShellRef: ({
@@ -372,7 +371,7 @@ $: ComponentInternalInstance;
372
371
  $data: {};
373
372
  $props: {
374
373
  readonly expanded: boolean;
375
- readonly placement: ContentNavPlacement;
374
+ readonly placement: AnchorPlacement;
376
375
  readonly floatingOffset?: number | undefined;
377
376
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
378
377
  $attrs: Attrs;
@@ -391,7 +390,7 @@ $parent: ComponentPublicInstance | null;
391
390
  $host: Element | null;
392
391
  $emit: (event: string, ...args: any[]) => void;
393
392
  $el: HTMLDivElement;
394
- $options: ComponentOptionsBase<Readonly<ContentNavOverlayProps> & Readonly<{}>, {
393
+ $options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
395
394
  hostEl: Ref<HTMLElement | null, HTMLElement | null>;
396
395
  overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
397
396
  navEl: Ref<HTMLElement | null, HTMLElement | null>;
@@ -419,7 +418,7 @@ $nextTick: nextTick;
419
418
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
420
419
  } & Readonly<{
421
420
  floatingOffset: number;
422
- }> & Omit<Readonly<ContentNavOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
421
+ }> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
423
422
  hostEl: HTMLElement | null;
424
423
  overlayEl: HTMLElement | null;
425
424
  navEl: HTMLElement | null;
@@ -1087,14 +1086,14 @@ declare function __VLS_template_4(): {
1087
1086
 
1088
1087
  declare function __VLS_template_5(): {
1089
1088
  attrs: Partial<{}>;
1090
- slots: Readonly<ContentNavSlots> & ContentNavSlots;
1089
+ slots: Readonly<AnchorSlots> & AnchorSlots;
1091
1090
  refs: {
1092
1091
  overlayShellRef: ({
1093
1092
  $: ComponentInternalInstance;
1094
1093
  $data: {};
1095
1094
  $props: {
1096
1095
  readonly expanded: boolean;
1097
- readonly placement: ContentNavPlacement;
1096
+ readonly placement: AnchorPlacement;
1098
1097
  readonly floatingOffset?: number | undefined;
1099
1098
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1100
1099
  $attrs: Attrs;
@@ -1113,7 +1112,7 @@ declare function __VLS_template_5(): {
1113
1112
  $host: Element | null;
1114
1113
  $emit: (event: string, ...args: any[]) => void;
1115
1114
  $el: HTMLDivElement;
1116
- $options: ComponentOptionsBase<Readonly<ContentNavOverlayProps> & Readonly<{}>, {
1115
+ $options: ComponentOptionsBase<Readonly<AnchorOverlayProps> & Readonly<{}>, {
1117
1116
  hostEl: Ref<HTMLElement | null, HTMLElement | null>;
1118
1117
  overlayEl: Ref<HTMLElement | null, HTMLElement | null>;
1119
1118
  navEl: Ref<HTMLElement | null, HTMLElement | null>;
@@ -1141,7 +1140,7 @@ declare function __VLS_template_5(): {
1141
1140
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1142
1141
  } & Readonly<{
1143
1142
  floatingOffset: number;
1144
- }> & Omit<Readonly<ContentNavOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
1143
+ }> & Omit<Readonly<AnchorOverlayProps> & Readonly<{}>, "floatingOffset" | "hostEl" | "overlayEl" | "navEl"> & {
1145
1144
  hostEl: HTMLElement | null;
1146
1145
  overlayEl: HTMLElement | null;
1147
1146
  navEl: HTMLElement | null;
@@ -1697,6 +1696,80 @@ export declare interface ActionButtonProps {
1697
1696
 
1698
1697
  export declare type AddType = 'form' | 'code';
1699
1698
 
1699
+ export declare interface AnchorEmits {
1700
+ 'update:activeId': [value: string | undefined];
1701
+ 'update:expanded': [value: boolean];
1702
+ 'update:searchQuery': [value: string];
1703
+ select: [item: AnchorItem];
1704
+ }
1705
+
1706
+ export declare type AnchorExpandTrigger = 'hover' | 'manual';
1707
+
1708
+ export declare interface AnchorHighlightSegment {
1709
+ text: string;
1710
+ highlighted: boolean;
1711
+ }
1712
+
1713
+ export declare interface AnchorItem {
1714
+ id: string;
1715
+ label: string;
1716
+ searchText?: string;
1717
+ tooltipText?: string;
1718
+ meta?: Record<string, unknown>;
1719
+ }
1720
+
1721
+ declare interface AnchorOverlayProps {
1722
+ expanded: boolean;
1723
+ placement: AnchorPlacement;
1724
+ floatingOffset?: number;
1725
+ }
1726
+
1727
+ export declare type AnchorPlacement = 'left' | 'right';
1728
+
1729
+ export declare interface AnchorProps {
1730
+ items: AnchorItem[];
1731
+ scrollContainer?: HTMLElement | null;
1732
+ activeId?: string;
1733
+ activeOffset?: number;
1734
+ expanded?: boolean;
1735
+ searchQuery?: string;
1736
+ placement?: AnchorPlacement;
1737
+ expandTrigger?: AnchorExpandTrigger;
1738
+ searchOptions?: AnchorSearchOptions;
1739
+ tooltipDelay?: number;
1740
+ targetFeedbackClass?: string;
1741
+ targetFeedbackDuration?: number;
1742
+ emptyText?: string;
1743
+ }
1744
+
1745
+ export declare type AnchorSearchMatcher = (item: AnchorItem, searchQuery: string) => false | AnchorHighlightSegment[];
1746
+
1747
+ export declare interface AnchorSearchOptions {
1748
+ placeholder?: string;
1749
+ matcher?: AnchorSearchMatcher;
1750
+ clearOnCollapse?: boolean;
1751
+ }
1752
+
1753
+ export declare interface AnchorSlots {
1754
+ item?: (slotProps: {
1755
+ item: AnchorItem;
1756
+ segments: AnchorHighlightSegment[];
1757
+ active: boolean;
1758
+ expanded: boolean;
1759
+ highlighted: boolean;
1760
+ }) => VNode | VNode[];
1761
+ marker?: (slotProps: {
1762
+ item: AnchorItem;
1763
+ active: boolean;
1764
+ }) => VNode | VNode[];
1765
+ search?: (slotProps: {
1766
+ searchQuery: string;
1767
+ setSearchQuery: (value: string) => void;
1768
+ searchOptions: AnchorSearchOptions;
1769
+ }) => VNode | VNode[];
1770
+ empty?: () => VNode | VNode[];
1771
+ }
1772
+
1700
1773
  export declare type Attachment = UrlAttachment | RawFileAttachment;
1701
1774
 
1702
1775
  export declare interface AttachmentListEmits {
@@ -2102,80 +2175,6 @@ export declare interface ContainerSlots {
2102
2175
  footer: () => unknown;
2103
2176
  }
2104
2177
 
2105
- export declare interface ContentNavEmits {
2106
- 'update:activeId': [value: string | undefined];
2107
- 'update:expanded': [value: boolean];
2108
- 'update:searchQuery': [value: string];
2109
- select: [item: ContentNavItem];
2110
- }
2111
-
2112
- export declare type ContentNavExpandTrigger = 'hover' | 'manual';
2113
-
2114
- export declare interface ContentNavHighlightSegment {
2115
- text: string;
2116
- highlighted: boolean;
2117
- }
2118
-
2119
- export declare interface ContentNavItem {
2120
- id: string;
2121
- label: string;
2122
- searchText?: string;
2123
- tooltipText?: string;
2124
- meta?: Record<string, unknown>;
2125
- }
2126
-
2127
- declare interface ContentNavOverlayProps {
2128
- expanded: boolean;
2129
- placement: ContentNavPlacement;
2130
- floatingOffset?: number;
2131
- }
2132
-
2133
- export declare type ContentNavPlacement = 'left' | 'right';
2134
-
2135
- export declare interface ContentNavProps {
2136
- items: ContentNavItem[];
2137
- scrollContainer?: HTMLElement | null;
2138
- activeId?: string;
2139
- activeOffset?: number;
2140
- expanded?: boolean;
2141
- searchQuery?: string;
2142
- placement?: ContentNavPlacement;
2143
- expandTrigger?: ContentNavExpandTrigger;
2144
- searchOptions?: ContentNavSearchOptions;
2145
- tooltipDelay?: number;
2146
- targetFeedbackClass?: string;
2147
- targetFeedbackDuration?: number;
2148
- emptyText?: string;
2149
- }
2150
-
2151
- export declare type ContentNavSearchMatcher = (item: ContentNavItem, searchQuery: string) => false | ContentNavHighlightSegment[];
2152
-
2153
- export declare interface ContentNavSearchOptions {
2154
- placeholder?: string;
2155
- matcher?: ContentNavSearchMatcher;
2156
- clearOnCollapse?: boolean;
2157
- }
2158
-
2159
- export declare interface ContentNavSlots {
2160
- item?: (slotProps: {
2161
- item: ContentNavItem;
2162
- segments: ContentNavHighlightSegment[];
2163
- active: boolean;
2164
- expanded: boolean;
2165
- highlighted: boolean;
2166
- }) => VNode | VNode[];
2167
- marker?: (slotProps: {
2168
- item: ContentNavItem;
2169
- active: boolean;
2170
- }) => VNode | VNode[];
2171
- search?: (slotProps: {
2172
- searchQuery: string;
2173
- setSearchQuery: (value: string) => void;
2174
- searchOptions: ContentNavSearchOptions;
2175
- }) => VNode | VNode[];
2176
- empty?: () => VNode | VNode[];
2177
- }
2178
-
2179
2178
  declare interface ControlState {
2180
2179
  tooltips?: string | TooltipRender;
2181
2180
  disabled?: boolean;
@@ -2372,8 +2371,8 @@ declare const _default_39: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, _
2372
2371
  declare const _default_4: typeof _default_30 & {
2373
2372
  install: typeof install_3;
2374
2373
  };
2375
- export { _default_4 as ContentNav }
2376
- export { _default_4 as TrContentNav }
2374
+ export { _default_4 as Anchor }
2375
+ export { _default_4 as TrAnchor }
2377
2376
 
2378
2377
  declare const _default_40: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2379
2378
 
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import F from "./attachments/index.js";
2
- import { B as S, a as C, b } from "./index6.js";
3
- import { c as Ee, d as ze, u as Pe, e as Ae, f as Le, g as ye, h as Oe, i as Me, j as je } from "./index6.js";
4
- import x from "./container/index.js";
5
- import E from "./content-nav/index.js";
6
- import z from "./conversations/index.js";
2
+ import { B as S, a as b, b as x } from "./index6.js";
3
+ import { c as ze, d as Ce, u as Pe, e as Ae, f as Le, g as ye, h as Oe, i as Me, j as je } from "./index6.js";
4
+ import E from "./container/index.js";
5
+ import z from "./anchor/index.js";
6
+ import C from "./conversations/index.js";
7
7
  import P from "./drag-overlay/index.js";
8
8
  import A from "./dropdown-menu/index.js";
9
9
  import L from "./feedback/index.js";
@@ -15,26 +15,26 @@ import H from "./sender/index.js";
15
15
  import R from "./sender-compat/index.js";
16
16
  import W, { SuggestionPillButton as $ } from "./suggestion-pills/index.js";
17
17
  import w from "./suggestion-popover/index.js";
18
- import N from "./theme-provider/index.js";
18
+ import k from "./theme-provider/index.js";
19
19
  import { useTheme as $e } from "./theme-provider/index.js";
20
- import k from "./welcome/index.js";
20
+ import N from "./welcome/index.js";
21
21
  import V from "./mcp-server-picker/index.js";
22
22
  import I from "./mcp-add-form/index.js";
23
23
  import { A as U, S as K, _ as X, W as Y, D as q } from "./index2.js";
24
- import { a as Ne, u as ke } from "./index2.js";
24
+ import { a as ke, u as Ne } from "./index2.js";
25
25
  import { _ as G, V as J } from "./index3.js";
26
26
  var u = /* @__PURE__ */ ((e) => (e.FileTypeNotAllowed = "file-type-not-allowed", e.FileSizeExceeded = "file-size-exceeded", e.FileCountExceeded = "file-count-exceeded", e))(u || {});
27
27
  function Q(e, r) {
28
28
  if (!r) return !0;
29
- const o = r.split(",").map((t) => t.trim());
30
- return o.includes("*") ? !0 : o.some((t) => {
31
- if (t.startsWith("."))
32
- return e.name.toLowerCase().endsWith(t.toLowerCase());
33
- if (t.includes("/*")) {
34
- const a = t.split("/")[0];
29
+ const t = r.split(",").map((o) => o.trim());
30
+ return t.includes("*") ? !0 : t.some((o) => {
31
+ if (o.startsWith("."))
32
+ return e.name.toLowerCase().endsWith(o.toLowerCase());
33
+ if (o.includes("/*")) {
34
+ const a = o.split("/")[0];
35
35
  return e.type.startsWith(a + "/");
36
36
  } else
37
- return e.type === t;
37
+ return e.type === o;
38
38
  });
39
39
  }
40
40
  function v(e, r) {
@@ -44,7 +44,7 @@ function Z(e, r) {
44
44
  return e.length <= r;
45
45
  }
46
46
  function ee(e, r) {
47
- const { accept: o, multiple: t, maxSize: a, maxFiles: l } = r, n = [], s = [];
47
+ const { accept: t, multiple: o, maxSize: a, maxFiles: l } = r, n = [], s = [];
48
48
  if (!Z(e, l))
49
49
  return {
50
50
  acceptedFiles: n,
@@ -55,8 +55,8 @@ function ee(e, r) {
55
55
  }
56
56
  };
57
57
  if (e.forEach((i) => {
58
- Q(i, o) && v(i, a) ? n.push(i) : s.push(i);
59
- }), !t && n.length > 1)
58
+ Q(i, t) && v(i, a) ? n.push(i) : s.push(i);
59
+ }), !o && n.length > 1)
60
60
  return {
61
61
  acceptedFiles: [],
62
62
  rejectedFiles: n,
@@ -66,7 +66,7 @@ function ee(e, r) {
66
66
  }
67
67
  };
68
68
  if (s.length > 0) {
69
- const i = s.some((p) => !v(p, a)), d = i ? u.FileSizeExceeded : u.FileTypeNotAllowed, m = i ? `文件大小不能超过 ${a / 1024 / 1024}MB` : `文件类型不匹配 (accept: ${o})`;
69
+ const i = s.some((c) => !v(c, a)), d = i ? u.FileSizeExceeded : u.FileTypeNotAllowed, m = i ? `文件大小不能超过 ${a / 1024 / 1024}MB` : `文件类型不匹配 (accept: ${t})`;
70
70
  return {
71
71
  acceptedFiles: n,
72
72
  rejectedFiles: s,
@@ -93,42 +93,42 @@ const Se = {
93
93
  * @param binding 绑定
94
94
  */
95
95
  mounted(e, r) {
96
- let o = 0;
97
- const { disabled: t, onDraggingChange: a } = r.value;
96
+ let t = 0;
97
+ const { disabled: o, onDraggingChange: a } = r.value;
98
98
  e.__vDropzoneOptions__ = T(r.value);
99
99
  const l = {
100
100
  /**
101
101
  * 拖拽进入
102
102
  */
103
103
  handleDragEnter: () => {
104
- t || (o++, o === 1 && a(!0, e));
104
+ o || (t++, t === 1 && a(!0, e));
105
105
  },
106
106
  /**
107
107
  * 拖拽覆盖
108
108
  * @param e 事件
109
109
  */
110
110
  handleDragOver: (n) => {
111
- t || n.preventDefault();
111
+ o || n.preventDefault();
112
112
  },
113
113
  /**
114
114
  * 拖拽离开
115
115
  */
116
116
  handleDragLeave: () => {
117
- t || (o--, o === 0 && a(!1, null));
117
+ o || (t--, t === 0 && a(!1, null));
118
118
  },
119
119
  /**
120
120
  * 拖拽放下
121
121
  * @param e 事件
122
122
  */
123
123
  handleDrop: (n) => {
124
- var c;
125
- if (t) return;
126
- n.preventDefault(), o = 0, a(!1, null);
127
- const s = (c = n.dataTransfer) == null ? void 0 : c.files, { onDrop: i, onError: d, accept: m, multiple: p, maxSize: D, maxFiles: g } = e.__vDropzoneOptions__;
124
+ var p;
125
+ if (o) return;
126
+ n.preventDefault(), t = 0, a(!1, null);
127
+ const s = (p = n.dataTransfer) == null ? void 0 : p.files, { onDrop: i, onError: d, accept: m, multiple: c, maxSize: D, maxFiles: g } = e.__vDropzoneOptions__;
128
128
  if (s && s.length > 0) {
129
129
  const h = Array.from(s), { acceptedFiles: f, rejectedFiles: B, rejectionReason: _ } = ee(h, {
130
130
  accept: m,
131
- multiple: p,
131
+ multiple: c,
132
132
  maxSize: D,
133
133
  maxFiles: g
134
134
  });
@@ -151,11 +151,11 @@ const Se = {
151
151
  }, re = [
152
152
  F,
153
153
  S,
154
- C,
155
154
  b,
156
155
  x,
157
156
  E,
158
157
  z,
158
+ C,
159
159
  P,
160
160
  A,
161
161
  L,
@@ -168,8 +168,8 @@ const Se = {
168
168
  W,
169
169
  $,
170
170
  w,
171
- N,
172
171
  k,
172
+ N,
173
173
  V,
174
174
  I,
175
175
  U,
@@ -179,26 +179,26 @@ const Se = {
179
179
  J,
180
180
  Y,
181
181
  q
182
- ], Ce = {
182
+ ], be = {
183
183
  install(e) {
184
184
  re.forEach((r) => {
185
- const o = r.name.replace(/^Tiny/, "").replace(/^Tr/, "");
186
- e.component(`Tr${o}`, r);
185
+ const t = r.name.replace(/^Tiny/, "").replace(/^Tr/, "");
186
+ e.component(`Tr${t}`, r);
187
187
  });
188
188
  }
189
189
  };
190
190
  export {
191
191
  U as ActionButton,
192
+ z as Anchor,
192
193
  F as Attachments,
193
194
  S as Bubble,
194
- C as BubbleList,
195
- b as BubbleProvider,
196
- Ee as BubbleRendererMatchPriority,
197
- ze as BubbleRenderers,
195
+ b as BubbleList,
196
+ x as BubbleProvider,
197
+ ze as BubbleRendererMatchPriority,
198
+ Ce as BubbleRenderers,
198
199
  X as ClearButton,
199
- x as Container,
200
- E as ContentNav,
201
- z as Conversations,
200
+ E as Container,
201
+ C as Conversations,
202
202
  q as DefaultActionButtons,
203
203
  P as DragOverlay,
204
204
  A as DropdownMenu,
@@ -209,23 +209,23 @@ export {
209
209
  V as McpServerPicker,
210
210
  M as Prompt,
211
211
  j as Prompts,
212
- Ne as SENDER_CONTEXT_KEY,
212
+ ke as SENDER_CONTEXT_KEY,
213
213
  H as Sender,
214
214
  R as SenderCompat,
215
215
  K as SubmitButton,
216
216
  $ as SuggestionPillButton,
217
217
  W as SuggestionPills,
218
218
  w as SuggestionPopover,
219
- N as ThemeProvider,
219
+ k as ThemeProvider,
220
220
  U as TrActionButton,
221
+ z as TrAnchor,
221
222
  F as TrAttachments,
222
223
  S as TrBubble,
223
- C as TrBubbleList,
224
- b as TrBubbleProvider,
224
+ b as TrBubbleList,
225
+ x as TrBubbleProvider,
225
226
  X as TrClearButton,
226
- x as TrContainer,
227
- E as TrContentNav,
228
- z as TrConversations,
227
+ E as TrContainer,
228
+ C as TrConversations,
229
229
  q as TrDefaultActionButtons,
230
230
  P as TrDragOverlay,
231
231
  A as TrDropdownMenu,
@@ -242,23 +242,23 @@ export {
242
242
  $ as TrSuggestionPillButton,
243
243
  W as TrSuggestionPills,
244
244
  w as TrSuggestionPopover,
245
- N as TrThemeProvider,
245
+ k as TrThemeProvider,
246
246
  G as TrUploadButton,
247
247
  J as TrVoiceButton,
248
- k as TrWelcome,
248
+ N as TrWelcome,
249
249
  Y as TrWordCounter,
250
250
  G as UploadButton,
251
251
  J as VoiceButton,
252
- k as Welcome,
252
+ N as Welcome,
253
253
  Y as WordCounter,
254
- Ce as default,
254
+ be as default,
255
255
  Pe as useAutoScroll,
256
256
  Ae as useBubbleBoxRenderer,
257
257
  Le as useBubbleContentRenderer,
258
258
  ye as useBubbleStateChangeFn,
259
259
  Oe as useMessageContent,
260
260
  Me as useOmitMessageFields,
261
- ke as useSenderContext,
261
+ Ne as useSenderContext,
262
262
  $e as useTheme,
263
263
  je as useToolCall,
264
264
  Re as useTouchDevice,
package/dist/index6.js CHANGED
@@ -842,7 +842,6 @@ const jt = /* @__PURE__ */ S({
842
842
  return l;
843
843
  }, m = y(() => o.messages.length === 0 ? [] : typeof o.groupStrategy == "function" ? o.groupStrategy(o.messages, o.dividerRole) : o.groupStrategy === "consecutive" ? u(o.messages) : b(o.messages, o.dividerRole));
844
844
  return e({
845
- rootEl: s,
846
845
  scrollToBottom: a
847
846
  }), (p, f) => (g(), C("div", {
848
847
  class: "tr-bubble-list",
@@ -885,7 +884,7 @@ const jt = /* @__PURE__ */ S({
885
884
  }), 128))
886
885
  ], 512));
887
886
  }
888
- }), V = /* @__PURE__ */ N(zt, [["__scopeId", "data-v-86cfb59a"]]), X = /* @__PURE__ */ S({
887
+ }), V = /* @__PURE__ */ N(zt, [["__scopeId", "data-v-e217fbb7"]]), X = /* @__PURE__ */ S({
889
888
  __name: "BubbleProvider",
890
889
  props: {
891
890
  boxRendererMatches: {},