@vantageos/mosaic-blocks 0.5.29-alpha → 0.5.30-alpha

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/dist/index.cjs CHANGED
@@ -48,7 +48,7 @@ function _interopNamespace(e) {
48
48
  var React30__namespace = /*#__PURE__*/_interopNamespace(React30);
49
49
 
50
50
  // src/version.ts
51
- var version = "0.5.29-alpha";
51
+ var version = "0.5.30-alpha";
52
52
  function Placeholder({ label = "mosaic-blocks placeholder" }) {
53
53
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-mosaic-block": "placeholder", children: label });
54
54
  }
@@ -15823,6 +15823,962 @@ function MosaicMemorySearch({
15823
15823
  ] });
15824
15824
  }
15825
15825
  MosaicMemorySearch.displayName = "MosaicMemorySearch";
15826
+ var replyInputRootVariants = classVarianceAuthority.cva([
15827
+ "min-w-0 rounded-[14px] border border-border bg-card shadow-sm transition-colors",
15828
+ "focus-within:ring-[1px] focus-within:ring-ring"
15829
+ ]);
15830
+ var replyInputContextVariants = classVarianceAuthority.cva([
15831
+ "truncate border-border border-b px-3 py-2 text-muted-foreground text-xs"
15832
+ ]);
15833
+ var replyInputTextareaVariants = classVarianceAuthority.cva([
15834
+ "max-h-40 min-h-12 w-full resize-none bg-transparent px-3 pt-3 pb-1 text-sm outline-none",
15835
+ "placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-60"
15836
+ ]);
15837
+ var replyInputActionButtonVariants = classVarianceAuthority.cva(
15838
+ [
15839
+ "inline-flex h-7 shrink-0 items-center justify-center rounded-md px-2.5 text-xs transition-colors",
15840
+ "disabled:cursor-not-allowed disabled:opacity-30"
15841
+ ],
15842
+ {
15843
+ variants: {
15844
+ tone: {
15845
+ send: "bg-foreground text-background hover:bg-foreground/90",
15846
+ cancel: "bg-foreground/10 text-foreground hover:bg-foreground/20"
15847
+ }
15848
+ },
15849
+ defaultVariants: {
15850
+ tone: "send"
15851
+ }
15852
+ }
15853
+ );
15854
+ function cn105(...classes) {
15855
+ return classes.filter(Boolean).join(" ");
15856
+ }
15857
+ function MosaicReplyInput(props) {
15858
+ const {
15859
+ value,
15860
+ onValueChange,
15861
+ onSubmit,
15862
+ onCancel,
15863
+ context,
15864
+ contextAriaLabel,
15865
+ textareaAriaLabel,
15866
+ placeholder,
15867
+ sendButtonAriaLabel,
15868
+ cancelButtonAriaLabel,
15869
+ disabled = false,
15870
+ className,
15871
+ ref
15872
+ } = props;
15873
+ const textareaRef = React30.useRef(null);
15874
+ const trimmedValue = value.trim();
15875
+ React30.useEffect(() => {
15876
+ const textarea = textareaRef.current;
15877
+ if (!textarea) {
15878
+ return;
15879
+ }
15880
+ textarea.style.height = "auto";
15881
+ textarea.style.height = `${textarea.scrollHeight}px`;
15882
+ }, [value]);
15883
+ const submitValue = React30.useCallback(() => {
15884
+ const text = value.trim();
15885
+ if (!text || disabled) {
15886
+ return;
15887
+ }
15888
+ onSubmit(text);
15889
+ }, [disabled, onSubmit, value]);
15890
+ const handleSubmit = React30.useCallback(
15891
+ (event) => {
15892
+ event.preventDefault();
15893
+ submitValue();
15894
+ },
15895
+ [submitValue]
15896
+ );
15897
+ const handleKeyDown = React30.useCallback(
15898
+ (event) => {
15899
+ if (event.key === "Enter" && !event.shiftKey) {
15900
+ event.preventDefault();
15901
+ submitValue();
15902
+ }
15903
+ },
15904
+ [submitValue]
15905
+ );
15906
+ return /* @__PURE__ */ jsxRuntime.jsxs(
15907
+ "form",
15908
+ {
15909
+ ref,
15910
+ "data-slot": "reply-input",
15911
+ className: cn105(replyInputRootVariants(), className),
15912
+ onSubmit: handleSubmit,
15913
+ children: [
15914
+ /* @__PURE__ */ jsxRuntime.jsx(
15915
+ "div",
15916
+ {
15917
+ "aria-label": contextAriaLabel,
15918
+ className: replyInputContextVariants(),
15919
+ "data-slot": "reply-input-context",
15920
+ children: context
15921
+ }
15922
+ ),
15923
+ /* @__PURE__ */ jsxRuntime.jsx(
15924
+ "textarea",
15925
+ {
15926
+ "data-slot": "reply-input-textarea",
15927
+ "aria-label": textareaAriaLabel,
15928
+ className: replyInputTextareaVariants(),
15929
+ disabled,
15930
+ onChange: (event) => onValueChange(event.target.value),
15931
+ onKeyDown: handleKeyDown,
15932
+ placeholder,
15933
+ ref: textareaRef,
15934
+ rows: 1,
15935
+ value
15936
+ }
15937
+ ),
15938
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-9 items-center justify-end gap-2 px-3 pt-1 pb-2", children: [
15939
+ /* @__PURE__ */ jsxRuntime.jsx(
15940
+ "button",
15941
+ {
15942
+ "aria-label": cancelButtonAriaLabel,
15943
+ className: replyInputActionButtonVariants({ tone: "cancel" }),
15944
+ "data-slot": "reply-input-cancel-button",
15945
+ disabled,
15946
+ onClick: onCancel,
15947
+ type: "button",
15948
+ children: /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", children: "\xD7" })
15949
+ }
15950
+ ),
15951
+ /* @__PURE__ */ jsxRuntime.jsx(
15952
+ "button",
15953
+ {
15954
+ "aria-label": sendButtonAriaLabel,
15955
+ className: replyInputActionButtonVariants({ tone: "send" }),
15956
+ "data-slot": "reply-input-send-button",
15957
+ disabled: disabled || trimmedValue.length === 0,
15958
+ type: "submit",
15959
+ children: /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", children: "\u2191" })
15960
+ }
15961
+ )
15962
+ ] })
15963
+ ]
15964
+ }
15965
+ );
15966
+ }
15967
+ MosaicReplyInput.displayName = "MosaicReplyInput";
15968
+ var threadViewRootVariants = classVarianceAuthority.cva(["flex min-w-0 flex-col gap-3"]);
15969
+ var threadViewRootMessageVariants = classVarianceAuthority.cva([
15970
+ "rounded-lg border border-border bg-card p-4 shadow-sm"
15971
+ ]);
15972
+ var threadViewRepliesVariants = classVarianceAuthority.cva(["flex flex-col gap-2 border-border border-l-2 pl-4"]);
15973
+ var threadViewReplyVariants = classVarianceAuthority.cva([
15974
+ "rounded-lg border border-border bg-muted/40 p-3 text-sm"
15975
+ ]);
15976
+ var threadViewEmptyVariants = classVarianceAuthority.cva(["px-1 py-2 text-muted-foreground text-sm"]);
15977
+ function cn106(...classes) {
15978
+ return classes.filter(Boolean).join(" ");
15979
+ }
15980
+ function MosaicThreadView(props) {
15981
+ const { root, replies, rootAriaLabel, repliesAriaLabel, emptyRepliesLabel, className, ref } = props;
15982
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "thread-view", className: cn106(threadViewRootVariants(), className), children: [
15983
+ /* @__PURE__ */ jsxRuntime.jsxs(
15984
+ "div",
15985
+ {
15986
+ "aria-label": rootAriaLabel,
15987
+ className: threadViewRootMessageVariants(),
15988
+ "data-slot": "thread-view-root",
15989
+ children: [
15990
+ root.author,
15991
+ root.content
15992
+ ]
15993
+ }
15994
+ ),
15995
+ /* @__PURE__ */ jsxRuntime.jsx(
15996
+ "div",
15997
+ {
15998
+ "aria-label": repliesAriaLabel,
15999
+ className: threadViewRepliesVariants(),
16000
+ "data-slot": "thread-view-replies",
16001
+ children: replies.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: threadViewEmptyVariants(), "data-slot": "thread-view-empty", children: emptyRepliesLabel }) : replies.map((reply) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: threadViewReplyVariants(), "data-slot": "thread-view-reply", children: [
16002
+ reply.author,
16003
+ reply.content
16004
+ ] }, reply.id))
16005
+ }
16006
+ )
16007
+ ] });
16008
+ }
16009
+ MosaicThreadView.displayName = "MosaicThreadView";
16010
+ var threadIndicatorRootVariants = classVarianceAuthority.cva([
16011
+ "inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs transition-colors",
16012
+ "hover:bg-accent hover:text-accent-foreground",
16013
+ "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
16014
+ "disabled:cursor-not-allowed disabled:opacity-60"
16015
+ ]);
16016
+ var threadIndicatorCountVariants = classVarianceAuthority.cva([
16017
+ "inline-flex min-w-4 items-center justify-center rounded-full px-1.5 py-0.5",
16018
+ "bg-primary text-primary-foreground text-[10px] font-semibold leading-none"
16019
+ ]);
16020
+ function cn107(...classes) {
16021
+ return classes.filter(Boolean).join(" ");
16022
+ }
16023
+ function MosaicThreadIndicator(props) {
16024
+ const { replies, label, ariaLabel, onActivate, disabled = false, className, ref } = props;
16025
+ const unreadCount = replies.filter((reply) => reply.unread).length;
16026
+ return /* @__PURE__ */ jsxRuntime.jsxs(
16027
+ "button",
16028
+ {
16029
+ ref,
16030
+ "data-slot": "thread-indicator",
16031
+ type: "button",
16032
+ "aria-label": ariaLabel(unreadCount),
16033
+ className: cn107(threadIndicatorRootVariants(), className),
16034
+ disabled,
16035
+ onClick: onActivate,
16036
+ children: [
16037
+ /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "thread-indicator-label", children: label }),
16038
+ unreadCount > 0 && /* @__PURE__ */ jsxRuntime.jsx(
16039
+ "span",
16040
+ {
16041
+ "data-slot": "thread-indicator-count",
16042
+ "data-testid": "thread-indicator-count",
16043
+ className: threadIndicatorCountVariants(),
16044
+ children: unreadCount
16045
+ }
16046
+ )
16047
+ ]
16048
+ }
16049
+ );
16050
+ }
16051
+ MosaicThreadIndicator.displayName = "MosaicThreadIndicator";
16052
+ var mentionInputFieldVariants = classVarianceAuthority.cva([
16053
+ "flex w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm",
16054
+ "outline-none transition-colors placeholder:text-muted-foreground",
16055
+ "focus-visible:ring-1 focus-visible:ring-ring",
16056
+ "disabled:cursor-not-allowed disabled:opacity-50"
16057
+ ]);
16058
+ var mentionListVariants = classVarianceAuthority.cva(["m-0 max-h-64 list-none overflow-y-auto p-1"]);
16059
+ var mentionListItemVariants = classVarianceAuthority.cva(
16060
+ ["cursor-pointer rounded-sm px-2 py-1.5 text-sm outline-none"],
16061
+ {
16062
+ variants: {
16063
+ active: {
16064
+ true: "bg-accent text-accent-foreground",
16065
+ false: ""
16066
+ }
16067
+ },
16068
+ defaultVariants: {
16069
+ active: false
16070
+ }
16071
+ }
16072
+ );
16073
+ function cn108(...classes) {
16074
+ return classes.filter(Boolean).join(" ");
16075
+ }
16076
+ function findMentionStart(text, cursor, trigger) {
16077
+ for (let i = cursor - 1; i >= 0; i--) {
16078
+ const char = text[i];
16079
+ if (char === trigger) {
16080
+ return i;
16081
+ }
16082
+ if (/\s/.test(char)) {
16083
+ return null;
16084
+ }
16085
+ }
16086
+ return null;
16087
+ }
16088
+ function MosaicMentionInput({
16089
+ value,
16090
+ onValueChange,
16091
+ triggerCharacter,
16092
+ entries,
16093
+ renderEntry,
16094
+ getEntryText,
16095
+ onQueryChange,
16096
+ onSelectEntry,
16097
+ inputAriaLabel,
16098
+ listAriaLabel,
16099
+ emptyMessage,
16100
+ className,
16101
+ inputClassName
16102
+ }) {
16103
+ const inputRef = React30.useRef(null);
16104
+ const [mentionStart, setMentionStart] = React30.useState(null);
16105
+ const [activeIndex, setActiveIndex] = React30.useState(0);
16106
+ const open = mentionStart !== null;
16107
+ function closeMention() {
16108
+ setMentionStart(null);
16109
+ setActiveIndex(0);
16110
+ onQueryChange(null);
16111
+ }
16112
+ function handleChange(event) {
16113
+ const nextValue = event.target.value;
16114
+ const cursor = event.target.selectionStart ?? nextValue.length;
16115
+ onValueChange(nextValue);
16116
+ const start = findMentionStart(nextValue, cursor, triggerCharacter);
16117
+ if (start === null) {
16118
+ if (open) {
16119
+ closeMention();
16120
+ }
16121
+ return;
16122
+ }
16123
+ setMentionStart(start);
16124
+ setActiveIndex(0);
16125
+ onQueryChange(nextValue.slice(start + triggerCharacter.length, cursor));
16126
+ }
16127
+ function selectEntry(entry) {
16128
+ if (mentionStart === null || !inputRef.current) {
16129
+ return;
16130
+ }
16131
+ const cursor = inputRef.current.selectionStart ?? value.length;
16132
+ const insertText = getEntryText(entry);
16133
+ const nextValue = `${value.slice(0, mentionStart)}${insertText} ${value.slice(cursor)}`;
16134
+ onValueChange(nextValue);
16135
+ onSelectEntry?.(entry);
16136
+ closeMention();
16137
+ }
16138
+ function handleKeyDown(event) {
16139
+ if (!open) {
16140
+ return;
16141
+ }
16142
+ if (event.key === "Escape") {
16143
+ event.preventDefault();
16144
+ closeMention();
16145
+ return;
16146
+ }
16147
+ if (event.key === "ArrowDown") {
16148
+ event.preventDefault();
16149
+ setActiveIndex((index) => Math.min(entries.length - 1, index + 1));
16150
+ return;
16151
+ }
16152
+ if (event.key === "ArrowUp") {
16153
+ event.preventDefault();
16154
+ setActiveIndex((index) => Math.max(0, index - 1));
16155
+ return;
16156
+ }
16157
+ if (event.key === "Enter") {
16158
+ const entry = entries[activeIndex];
16159
+ if (entry) {
16160
+ event.preventDefault();
16161
+ selectEntry(entry);
16162
+ }
16163
+ }
16164
+ }
16165
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "mention-input", className, children: [
16166
+ /* @__PURE__ */ jsxRuntime.jsx(
16167
+ "input",
16168
+ {
16169
+ ref: inputRef,
16170
+ type: "text",
16171
+ "aria-label": inputAriaLabel,
16172
+ value,
16173
+ onChange: handleChange,
16174
+ onKeyDown: handleKeyDown,
16175
+ className: cn108(mentionInputFieldVariants(), inputClassName)
16176
+ }
16177
+ ),
16178
+ /* @__PURE__ */ jsxRuntime.jsx(
16179
+ MosaicPopover,
16180
+ {
16181
+ open,
16182
+ onOpenChange: (nextOpen) => {
16183
+ if (!nextOpen) {
16184
+ closeMention();
16185
+ }
16186
+ },
16187
+ anchor: inputRef,
16188
+ initialFocus: false,
16189
+ "aria-label": listAriaLabel,
16190
+ children: entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { "data-slot": "mention-input-empty", className: "px-2 py-1.5 text-sm text-muted-foreground", children: emptyMessage }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { "data-slot": "mention-input-list", className: mentionListVariants(), children: entries.map((entry, index) => /* @__PURE__ */ jsxRuntime.jsx(
16191
+ "li",
16192
+ {
16193
+ "data-slot": "mention-input-item",
16194
+ "aria-selected": index === activeIndex,
16195
+ className: mentionListItemVariants({ active: index === activeIndex }),
16196
+ onMouseEnter: () => setActiveIndex(index),
16197
+ onClick: () => selectEntry(entry),
16198
+ onKeyDown: (event) => {
16199
+ if (event.key === "Enter" || event.key === " ") {
16200
+ event.preventDefault();
16201
+ selectEntry(entry);
16202
+ }
16203
+ },
16204
+ children: renderEntry(entry, index, index === activeIndex)
16205
+ },
16206
+ entry.id
16207
+ )) })
16208
+ }
16209
+ )
16210
+ ] });
16211
+ }
16212
+ MosaicMentionInput.displayName = "MosaicMentionInput";
16213
+ function cn109(...classes) {
16214
+ return classes.filter(Boolean).join(" ");
16215
+ }
16216
+ function SearchIcon9() {
16217
+ return /* @__PURE__ */ jsxRuntime.jsxs(
16218
+ "svg",
16219
+ {
16220
+ xmlns: "http://www.w3.org/2000/svg",
16221
+ width: "16",
16222
+ height: "16",
16223
+ viewBox: "0 0 24 24",
16224
+ fill: "none",
16225
+ stroke: "currentColor",
16226
+ strokeWidth: "2",
16227
+ strokeLinecap: "round",
16228
+ strokeLinejoin: "round",
16229
+ "aria-hidden": "true",
16230
+ children: [
16231
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }),
16232
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
16233
+ ]
16234
+ }
16235
+ );
16236
+ }
16237
+ function ClearIcon2() {
16238
+ return /* @__PURE__ */ jsxRuntime.jsxs(
16239
+ "svg",
16240
+ {
16241
+ xmlns: "http://www.w3.org/2000/svg",
16242
+ width: "14",
16243
+ height: "14",
16244
+ viewBox: "0 0 24 24",
16245
+ fill: "none",
16246
+ stroke: "currentColor",
16247
+ strokeWidth: "2",
16248
+ strokeLinecap: "round",
16249
+ strokeLinejoin: "round",
16250
+ "aria-hidden": "true",
16251
+ children: [
16252
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
16253
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
16254
+ ]
16255
+ }
16256
+ );
16257
+ }
16258
+ function MosaicMessageSearch({
16259
+ query,
16260
+ onQueryChange,
16261
+ searchLabel,
16262
+ searchPlaceholder,
16263
+ clearButtonLabel,
16264
+ resultsSlot,
16265
+ emptyResultsLabel,
16266
+ className,
16267
+ ref
16268
+ }) {
16269
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "message-search", className: cn109("flex flex-col gap-2", className), children: [
16270
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
16271
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon9, {}) }),
16272
+ /* @__PURE__ */ jsxRuntime.jsx(
16273
+ MosaicInput,
16274
+ {
16275
+ type: "search",
16276
+ "aria-label": searchLabel,
16277
+ placeholder: searchPlaceholder,
16278
+ value: query,
16279
+ onChange: (event) => onQueryChange(event.target.value),
16280
+ className: "pl-9 pr-9"
16281
+ }
16282
+ ),
16283
+ query.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
16284
+ "button",
16285
+ {
16286
+ type: "button",
16287
+ "aria-label": clearButtonLabel,
16288
+ onClick: () => onQueryChange(""),
16289
+ className: cn109(
16290
+ "absolute right-2 top-1/2 -translate-y-1/2",
16291
+ "flex size-5 items-center justify-center rounded-full",
16292
+ "text-muted-foreground hover:bg-muted hover:text-foreground",
16293
+ "focus-visible:outline-none focus-visible:ring-ring focus-visible:ring-[3px]"
16294
+ ),
16295
+ children: /* @__PURE__ */ jsxRuntime.jsx(ClearIcon2, {})
16296
+ }
16297
+ )
16298
+ ] }),
16299
+ resultsSlot ? /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "message-search-results", children: resultsSlot }) : emptyResultsLabel && /* @__PURE__ */ jsxRuntime.jsx("p", { "data-slot": "message-search-results", className: "text-sm text-muted-foreground", children: emptyResultsLabel })
16300
+ ] });
16301
+ }
16302
+ MosaicMessageSearch.displayName = "MosaicMessageSearch";
16303
+ var sessionCardVariants = classVarianceAuthority.cva(
16304
+ [
16305
+ "rounded-lg border border-border bg-card text-card-foreground shadow-sm transition-all",
16306
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
16307
+ ],
16308
+ {
16309
+ variants: {
16310
+ variant: {
16311
+ default: "p-5",
16312
+ compact: "flex items-center justify-between gap-3 p-3"
16313
+ },
16314
+ selectable: {
16315
+ true: "cursor-pointer hover:shadow-md",
16316
+ false: ""
16317
+ }
16318
+ },
16319
+ defaultVariants: {
16320
+ variant: "default",
16321
+ selectable: false
16322
+ }
16323
+ }
16324
+ );
16325
+ function cn110(...classes) {
16326
+ return classes.filter(Boolean).join(" ");
16327
+ }
16328
+ var ACTIVATION_KEYS = /* @__PURE__ */ new Set(["Enter", " "]);
16329
+ function MosaicSessionCard(props) {
16330
+ const { session, formatStatus, className, ref, onSelect, selectLabel } = props;
16331
+ const selectable = Boolean(onSelect);
16332
+ function activate() {
16333
+ onSelect?.(session.id);
16334
+ }
16335
+ const interactionProps = selectable ? {
16336
+ role: "button",
16337
+ tabIndex: 0,
16338
+ "aria-label": selectLabel,
16339
+ onClick: activate,
16340
+ onKeyDown: (event) => {
16341
+ if (ACTIVATION_KEYS.has(event.key)) {
16342
+ event.preventDefault();
16343
+ activate();
16344
+ }
16345
+ }
16346
+ } : {};
16347
+ const statusBadge = /* @__PURE__ */ jsxRuntime.jsx(MosaicBadge, { "data-slot": "session-card-status", children: formatStatus(session.status) });
16348
+ if (props.variant === "compact") {
16349
+ return /* @__PURE__ */ jsxRuntime.jsxs(
16350
+ MosaicCard,
16351
+ {
16352
+ ref,
16353
+ "data-slot": "session-card",
16354
+ "data-variant": "compact",
16355
+ className: cn110(sessionCardVariants({ variant: "compact", selectable }), className),
16356
+ ...interactionProps,
16357
+ children: [
16358
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 truncate text-sm font-medium", children: session.title }),
16359
+ statusBadge
16360
+ ]
16361
+ }
16362
+ );
16363
+ }
16364
+ return /* @__PURE__ */ jsxRuntime.jsxs(
16365
+ MosaicCard,
16366
+ {
16367
+ ref,
16368
+ "data-slot": "session-card",
16369
+ "data-variant": "default",
16370
+ className: cn110(sessionCardVariants({ variant: "default", selectable }), className),
16371
+ ...interactionProps,
16372
+ children: [
16373
+ /* @__PURE__ */ jsxRuntime.jsxs(MosaicCardHeader, { className: "flex-row items-center justify-between gap-3 p-0", children: [
16374
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "line-clamp-1 text-base font-semibold", children: session.title }),
16375
+ statusBadge
16376
+ ] }),
16377
+ /* @__PURE__ */ jsxRuntime.jsx(MosaicCardContent, { className: "p-0 pt-3", children: /* @__PURE__ */ jsxRuntime.jsx(
16378
+ MosaicCardFooter,
16379
+ {
16380
+ "data-slot": "session-card-updated-at",
16381
+ className: "p-0 pt-2 text-xs text-muted-foreground",
16382
+ children: props.formatUpdatedAt(session.updatedAt)
16383
+ }
16384
+ ) })
16385
+ ]
16386
+ }
16387
+ );
16388
+ }
16389
+ MosaicSessionCard.displayName = "MosaicSessionCard";
16390
+ var sessionListVariants = classVarianceAuthority.cva([], {
16391
+ variants: {
16392
+ layout: {
16393
+ /** Single-column vertical stack, divided rows. */
16394
+ stack: "flex flex-col divide-y divide-border",
16395
+ /** Responsive tile grid. */
16396
+ grid: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
16397
+ /** Dense single-column stack — tighter row padding, no divider. */
16398
+ compact: "flex flex-col gap-1",
16399
+ /** Horizontal-scroll row of tiles. */
16400
+ inline: "flex flex-row gap-3 overflow-x-auto"
16401
+ }
16402
+ },
16403
+ defaultVariants: {
16404
+ layout: "stack"
16405
+ }
16406
+ });
16407
+ var sessionListItemVariants = classVarianceAuthority.cva([], {
16408
+ variants: {
16409
+ layout: {
16410
+ stack: "py-3",
16411
+ grid: "",
16412
+ compact: "py-1",
16413
+ inline: "shrink-0"
16414
+ }
16415
+ },
16416
+ defaultVariants: {
16417
+ layout: "stack"
16418
+ }
16419
+ });
16420
+ function cn111(...classes) {
16421
+ return classes.filter(Boolean).join(" ");
16422
+ }
16423
+ var NEXT_KEYS5 = /* @__PURE__ */ new Set(["ArrowRight", "ArrowDown"]);
16424
+ var PREV_KEYS5 = /* @__PURE__ */ new Set(["ArrowLeft", "ArrowUp"]);
16425
+ function MosaicSessionList({
16426
+ items,
16427
+ renderItem,
16428
+ layout = "stack",
16429
+ emptyMessage,
16430
+ className,
16431
+ itemClassName,
16432
+ ref
16433
+ }) {
16434
+ const itemRefs = React30.useRef([]);
16435
+ const [focusedIndex, setFocusedIndex] = React30.useState(0);
16436
+ function focusItem(index) {
16437
+ if (items.length === 0) {
16438
+ return;
16439
+ }
16440
+ const clamped = Math.max(0, Math.min(items.length - 1, index));
16441
+ setFocusedIndex(clamped);
16442
+ itemRefs.current[clamped]?.focus();
16443
+ }
16444
+ function handleKeyDown(event, index) {
16445
+ if (NEXT_KEYS5.has(event.key)) {
16446
+ event.preventDefault();
16447
+ focusItem(index + 1);
16448
+ } else if (PREV_KEYS5.has(event.key)) {
16449
+ event.preventDefault();
16450
+ focusItem(index - 1);
16451
+ } else if (event.key === "Home") {
16452
+ event.preventDefault();
16453
+ focusItem(0);
16454
+ } else if (event.key === "End") {
16455
+ event.preventDefault();
16456
+ focusItem(items.length - 1);
16457
+ }
16458
+ }
16459
+ if (items.length === 0) {
16460
+ return /* @__PURE__ */ jsxRuntime.jsx(
16461
+ "div",
16462
+ {
16463
+ ref,
16464
+ "data-slot": "session-list",
16465
+ "data-layout": layout,
16466
+ className: cn111(sessionListVariants({ layout }), className),
16467
+ children: /* @__PURE__ */ jsxRuntime.jsx(
16468
+ "p",
16469
+ {
16470
+ "data-slot": "session-list-empty",
16471
+ className: "py-12 text-center text-sm text-muted-foreground",
16472
+ children: emptyMessage
16473
+ }
16474
+ )
16475
+ }
16476
+ );
16477
+ }
16478
+ return /* @__PURE__ */ jsxRuntime.jsx(
16479
+ "ul",
16480
+ {
16481
+ ref,
16482
+ "data-slot": "session-list",
16483
+ "data-layout": layout,
16484
+ className: cn111("list-none", sessionListVariants({ layout }), className),
16485
+ children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
16486
+ "li",
16487
+ {
16488
+ ref: (node) => {
16489
+ itemRefs.current[index] = node;
16490
+ },
16491
+ "data-slot": "session-list-item",
16492
+ tabIndex: index === focusedIndex ? 0 : -1,
16493
+ onKeyDown: (event) => handleKeyDown(event, index),
16494
+ onFocus: () => setFocusedIndex(index),
16495
+ className: cn111(sessionListItemVariants({ layout }), itemClassName),
16496
+ children: renderItem(item, index)
16497
+ },
16498
+ item.id
16499
+ ))
16500
+ }
16501
+ );
16502
+ }
16503
+ MosaicSessionList.displayName = "MosaicSessionList";
16504
+ var editSessionDialogBodyVariants = classVarianceAuthority.cva(["flex flex-col gap-4"]);
16505
+ var editSessionDialogFieldVariants = classVarianceAuthority.cva(["flex flex-col gap-1.5"]);
16506
+ var editSessionDialogErrorVariants = classVarianceAuthority.cva(["text-xs font-medium text-destructive"]);
16507
+ var editSessionDialogFooterVariants = classVarianceAuthority.cva([
16508
+ "flex items-center justify-end gap-3 border-t border-border pt-4"
16509
+ ]);
16510
+ var editSessionDialogButtonVariants = classVarianceAuthority.cva(
16511
+ [
16512
+ "inline-flex min-h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium",
16513
+ "transition-colors disabled:cursor-not-allowed disabled:opacity-50"
16514
+ ],
16515
+ {
16516
+ variants: {
16517
+ intent: {
16518
+ cancel: "border border-border bg-background hover:bg-muted",
16519
+ save: "border border-transparent bg-primary text-primary-foreground hover:bg-primary/90"
16520
+ }
16521
+ },
16522
+ defaultVariants: {
16523
+ intent: "cancel"
16524
+ }
16525
+ }
16526
+ );
16527
+ function cn112(...classes) {
16528
+ return classes.filter(Boolean).join(" ");
16529
+ }
16530
+ function MosaicEditSessionDialog({
16531
+ open,
16532
+ onOpenChange,
16533
+ title,
16534
+ description,
16535
+ closeAriaLabel,
16536
+ name,
16537
+ onNameChange,
16538
+ nameLabel,
16539
+ namePlaceholder,
16540
+ nameError,
16541
+ classifications,
16542
+ classification,
16543
+ onClassificationChange,
16544
+ classificationLabel,
16545
+ isSaving,
16546
+ canSave,
16547
+ onSave,
16548
+ onCancel,
16549
+ saveButtonLabel,
16550
+ savingLabel,
16551
+ cancelButtonLabel,
16552
+ className
16553
+ }) {
16554
+ const nameErrorId = React30.useId();
16555
+ if (!open) return null;
16556
+ return /* @__PURE__ */ jsxRuntime.jsx(
16557
+ MosaicAdaptiveModal,
16558
+ {
16559
+ isOpen: open,
16560
+ onClose: () => onOpenChange(false),
16561
+ title,
16562
+ description,
16563
+ closeAriaLabel,
16564
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
16565
+ "div",
16566
+ {
16567
+ "data-slot": "edit-session-dialog",
16568
+ className: cn112(editSessionDialogBodyVariants(), className),
16569
+ children: [
16570
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: editSessionDialogFieldVariants(), children: [
16571
+ /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: "mosaic-edit-session-name", className: "text-sm font-medium text-foreground", children: nameLabel }),
16572
+ /* @__PURE__ */ jsxRuntime.jsx(
16573
+ MosaicInput,
16574
+ {
16575
+ id: "mosaic-edit-session-name",
16576
+ value: name,
16577
+ placeholder: namePlaceholder,
16578
+ onChange: (e) => onNameChange(e.target.value),
16579
+ "aria-invalid": nameError ? "true" : "false",
16580
+ "aria-describedby": nameError ? nameErrorId : void 0
16581
+ }
16582
+ ),
16583
+ nameError && /* @__PURE__ */ jsxRuntime.jsx("p", { id: nameErrorId, className: editSessionDialogErrorVariants(), children: nameError })
16584
+ ] }),
16585
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: editSessionDialogFieldVariants(), children: [
16586
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: classificationLabel }),
16587
+ /* @__PURE__ */ jsxRuntime.jsx(
16588
+ MosaicSelect,
16589
+ {
16590
+ items: classifications,
16591
+ value: classification,
16592
+ onValueChange: (value) => {
16593
+ if (value) onClassificationChange(value);
16594
+ }
16595
+ }
16596
+ )
16597
+ ] }),
16598
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: editSessionDialogFooterVariants(), children: [
16599
+ /* @__PURE__ */ jsxRuntime.jsx(
16600
+ "button",
16601
+ {
16602
+ type: "button",
16603
+ "data-slot": "edit-session-dialog-cancel-button",
16604
+ onClick: onCancel,
16605
+ disabled: isSaving,
16606
+ className: editSessionDialogButtonVariants({ intent: "cancel" }),
16607
+ children: cancelButtonLabel
16608
+ }
16609
+ ),
16610
+ /* @__PURE__ */ jsxRuntime.jsx(
16611
+ "button",
16612
+ {
16613
+ type: "button",
16614
+ "data-slot": "edit-session-dialog-save-button",
16615
+ onClick: onSave,
16616
+ disabled: !canSave || isSaving,
16617
+ "aria-busy": isSaving ? "true" : "false",
16618
+ className: editSessionDialogButtonVariants({ intent: "save" }),
16619
+ children: isSaving ? savingLabel : saveButtonLabel
16620
+ }
16621
+ )
16622
+ ] })
16623
+ ]
16624
+ }
16625
+ )
16626
+ }
16627
+ );
16628
+ }
16629
+ MosaicEditSessionDialog.displayName = "MosaicEditSessionDialog";
16630
+ var saveChatAsMemoryFormRootVariants = classVarianceAuthority.cva(["flex flex-col gap-4"]);
16631
+ var saveChatAsMemoryFormFieldVariants = classVarianceAuthority.cva(["flex flex-col gap-1.5"]);
16632
+ var saveChatAsMemoryFormErrorVariants = classVarianceAuthority.cva(["text-xs font-medium text-destructive"]);
16633
+ var saveChatAsMemoryFormFooterVariants = classVarianceAuthority.cva([
16634
+ "flex items-center justify-end gap-3 border-t border-border pt-4"
16635
+ ]);
16636
+ var saveChatAsMemoryFormButtonVariants = classVarianceAuthority.cva(
16637
+ [
16638
+ "inline-flex min-h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium",
16639
+ "transition-colors disabled:cursor-not-allowed disabled:opacity-50"
16640
+ ],
16641
+ {
16642
+ variants: {
16643
+ intent: {
16644
+ cancel: "border border-border bg-background hover:bg-muted",
16645
+ save: "border border-transparent bg-primary text-primary-foreground hover:bg-primary/90"
16646
+ }
16647
+ },
16648
+ defaultVariants: {
16649
+ intent: "cancel"
16650
+ }
16651
+ }
16652
+ );
16653
+ function cn113(...classes) {
16654
+ return classes.filter(Boolean).join(" ");
16655
+ }
16656
+ function MosaicSaveChatAsMemoryForm({
16657
+ title,
16658
+ onTitleChange,
16659
+ titleLabel,
16660
+ titlePlaceholder,
16661
+ titleError,
16662
+ content,
16663
+ onContentChange,
16664
+ contentLabel,
16665
+ contentPlaceholder,
16666
+ contentError,
16667
+ tags,
16668
+ onAddTag,
16669
+ onRemoveTag,
16670
+ tagsLabel,
16671
+ tagInputPlaceholder,
16672
+ removeTagAriaLabel,
16673
+ suggestedTags,
16674
+ maxTags,
16675
+ isSaving,
16676
+ canSave,
16677
+ onSave,
16678
+ onCancel,
16679
+ saveLabel,
16680
+ savingLabel,
16681
+ cancelLabel,
16682
+ className
16683
+ }) {
16684
+ const titleErrorId = React30.useId();
16685
+ const contentErrorId = React30.useId();
16686
+ return /* @__PURE__ */ jsxRuntime.jsxs(
16687
+ "div",
16688
+ {
16689
+ "data-slot": "save-chat-as-memory-form",
16690
+ className: cn113(saveChatAsMemoryFormRootVariants(), className),
16691
+ children: [
16692
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveChatAsMemoryFormFieldVariants(), children: [
16693
+ /* @__PURE__ */ jsxRuntime.jsx(
16694
+ "label",
16695
+ {
16696
+ htmlFor: "mosaic-save-chat-as-memory-title",
16697
+ className: "text-sm font-medium text-foreground",
16698
+ children: titleLabel
16699
+ }
16700
+ ),
16701
+ /* @__PURE__ */ jsxRuntime.jsx(
16702
+ MosaicInput,
16703
+ {
16704
+ id: "mosaic-save-chat-as-memory-title",
16705
+ value: title,
16706
+ placeholder: titlePlaceholder,
16707
+ onChange: (e) => onTitleChange(e.target.value),
16708
+ "aria-invalid": titleError ? "true" : "false",
16709
+ "aria-describedby": titleError ? titleErrorId : void 0
16710
+ }
16711
+ ),
16712
+ titleError && /* @__PURE__ */ jsxRuntime.jsx("p", { id: titleErrorId, className: saveChatAsMemoryFormErrorVariants(), children: titleError })
16713
+ ] }),
16714
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveChatAsMemoryFormFieldVariants(), children: [
16715
+ /* @__PURE__ */ jsxRuntime.jsx(
16716
+ "label",
16717
+ {
16718
+ htmlFor: "mosaic-save-chat-as-memory-content",
16719
+ className: "text-sm font-medium text-foreground",
16720
+ children: contentLabel
16721
+ }
16722
+ ),
16723
+ /* @__PURE__ */ jsxRuntime.jsx(
16724
+ MosaicTextarea,
16725
+ {
16726
+ id: "mosaic-save-chat-as-memory-content",
16727
+ value: content,
16728
+ placeholder: contentPlaceholder,
16729
+ onChange: (e) => onContentChange(e.target.value),
16730
+ rows: 4,
16731
+ "aria-invalid": contentError ? "true" : "false",
16732
+ "aria-describedby": contentError ? contentErrorId : void 0
16733
+ }
16734
+ ),
16735
+ contentError && /* @__PURE__ */ jsxRuntime.jsx("p", { id: contentErrorId, className: saveChatAsMemoryFormErrorVariants(), children: contentError })
16736
+ ] }),
16737
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveChatAsMemoryFormFieldVariants(), children: [
16738
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: tagsLabel }),
16739
+ /* @__PURE__ */ jsxRuntime.jsx(
16740
+ MosaicTagInput,
16741
+ {
16742
+ tags,
16743
+ onAddTag,
16744
+ onRemoveTag,
16745
+ placeholder: tagInputPlaceholder,
16746
+ removeTagAriaLabel,
16747
+ suggestions: suggestedTags,
16748
+ maxTags
16749
+ }
16750
+ )
16751
+ ] }),
16752
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveChatAsMemoryFormFooterVariants(), children: [
16753
+ /* @__PURE__ */ jsxRuntime.jsx(
16754
+ "button",
16755
+ {
16756
+ type: "button",
16757
+ "data-slot": "save-chat-as-memory-form-cancel-button",
16758
+ onClick: onCancel,
16759
+ disabled: isSaving,
16760
+ className: saveChatAsMemoryFormButtonVariants({ intent: "cancel" }),
16761
+ children: cancelLabel
16762
+ }
16763
+ ),
16764
+ /* @__PURE__ */ jsxRuntime.jsx(
16765
+ "button",
16766
+ {
16767
+ type: "button",
16768
+ "data-slot": "save-chat-as-memory-form-save-button",
16769
+ onClick: onSave,
16770
+ disabled: !canSave || isSaving,
16771
+ "aria-busy": isSaving ? "true" : "false",
16772
+ className: saveChatAsMemoryFormButtonVariants({ intent: "save" }),
16773
+ children: isSaving ? savingLabel : saveLabel
16774
+ }
16775
+ )
16776
+ ] })
16777
+ ]
16778
+ }
16779
+ );
16780
+ }
16781
+ MosaicSaveChatAsMemoryForm.displayName = "MosaicSaveChatAsMemoryForm";
15826
16782
 
15827
16783
  Object.defineProperty(exports, "Accordion", {
15828
16784
  enumerable: true,
@@ -15902,6 +16858,7 @@ exports.MosaicDocumentUpload = MosaicDocumentUpload;
15902
16858
  exports.MosaicDrawer = MosaicDrawer;
15903
16859
  exports.MosaicDropdownMenu = MosaicDropdownMenu;
15904
16860
  exports.MosaicEditMemoryDialog = MosaicEditMemoryDialog;
16861
+ exports.MosaicEditSessionDialog = MosaicEditSessionDialog;
15905
16862
  exports.MosaicEmptyState = MosaicEmptyState;
15906
16863
  exports.MosaicFallingPattern = MosaicFallingPattern;
15907
16864
  exports.MosaicFeature3Col = MosaicFeature3Col;
@@ -15934,10 +16891,12 @@ exports.MosaicMemoryDashboard = MosaicMemoryDashboard;
15934
16891
  exports.MosaicMemoryGrid = MosaicMemoryGrid;
15935
16892
  exports.MosaicMemoryList = MosaicMemoryList;
15936
16893
  exports.MosaicMemorySearch = MosaicMemorySearch;
16894
+ exports.MosaicMentionInput = MosaicMentionInput;
15937
16895
  exports.MosaicMessageCard = MosaicMessageCard;
15938
16896
  exports.MosaicMessageList = MosaicMessageList;
15939
16897
  exports.MosaicMessageListDesktop = MessageListDesktop;
15940
16898
  exports.MosaicMessageListMobile = MessageListMobile;
16899
+ exports.MosaicMessageSearch = MosaicMessageSearch;
15941
16900
  exports.MosaicModelSelector = MosaicModelSelector;
15942
16901
  exports.MosaicModuleCard = MosaicModuleCard;
15943
16902
  exports.MosaicModuleForm = MosaicModuleForm;
@@ -15961,12 +16920,16 @@ exports.MosaicQuickAgentSelector = MosaicQuickAgentSelector;
15961
16920
  exports.MosaicQuickStartPanel = MosaicQuickStartPanel;
15962
16921
  exports.MosaicRadioGroup = MosaicRadioGroup;
15963
16922
  exports.MosaicRadioGroupItem = MosaicRadioGroupItem;
16923
+ exports.MosaicReplyInput = MosaicReplyInput;
15964
16924
  exports.MosaicResizableSplitPane = MosaicResizableSplitPane;
16925
+ exports.MosaicSaveChatAsMemoryForm = MosaicSaveChatAsMemoryForm;
15965
16926
  exports.MosaicSaveTemplateModal = MosaicSaveTemplateModal;
15966
16927
  exports.MosaicScrollArea = MosaicScrollArea;
15967
16928
  exports.MosaicSelect = MosaicSelect;
15968
16929
  exports.MosaicSelectorModal = MosaicSelectorModal;
15969
16930
  exports.MosaicSeparator = MosaicSeparator;
16931
+ exports.MosaicSessionCard = MosaicSessionCard;
16932
+ exports.MosaicSessionList = MosaicSessionList;
15970
16933
  exports.MosaicSignInLayout = MosaicSignInLayout;
15971
16934
  exports.MosaicSignUpLayout = MosaicSignUpLayout;
15972
16935
  exports.MosaicSkeleton = MosaicSkeleton;
@@ -15990,6 +16953,8 @@ exports.MosaicTestimonialsGrid = MosaicTestimonialsGrid;
15990
16953
  exports.MosaicTextarea = MosaicTextarea;
15991
16954
  exports.MosaicThemeProvider = MosaicThemeProvider;
15992
16955
  exports.MosaicThemeToggle = MosaicThemeToggle;
16956
+ exports.MosaicThreadIndicator = MosaicThreadIndicator;
16957
+ exports.MosaicThreadView = MosaicThreadView;
15993
16958
  exports.MosaicToast = MosaicToast;
15994
16959
  exports.MosaicToastProvider = MosaicToastProvider;
15995
16960
  exports.MosaicToolToggleList = MosaicToolToggleList;
@@ -16025,21 +16990,41 @@ exports.editMemoryDialogBackdropVariants = editMemoryDialogBackdropVariants;
16025
16990
  exports.editMemoryDialogErrorVariants = editMemoryDialogErrorVariants;
16026
16991
  exports.editMemoryDialogFieldVariants = editMemoryDialogFieldVariants;
16027
16992
  exports.editMemoryDialogPopupVariants = editMemoryDialogPopupVariants;
16993
+ exports.editSessionDialogBodyVariants = editSessionDialogBodyVariants;
16994
+ exports.editSessionDialogButtonVariants = editSessionDialogButtonVariants;
16995
+ exports.editSessionDialogErrorVariants = editSessionDialogErrorVariants;
16996
+ exports.editSessionDialogFieldVariants = editSessionDialogFieldVariants;
16997
+ exports.editSessionDialogFooterVariants = editSessionDialogFooterVariants;
16028
16998
  exports.marketplaceCardVariants = marketplaceCardVariants;
16029
16999
  exports.memoryDashboardViewToggleButtonVariants = memoryDashboardViewToggleButtonVariants;
16030
17000
  exports.memoryGridVariants = memoryGridVariants;
16031
17001
  exports.memoryListItemVariants = memoryListItemVariants;
16032
17002
  exports.memoryListVariants = memoryListVariants;
16033
17003
  exports.memorySearchFilterChipVariants = memorySearchFilterChipVariants;
17004
+ exports.mentionInputFieldVariants = mentionInputFieldVariants;
17005
+ exports.mentionListItemVariants = mentionListItemVariants;
17006
+ exports.mentionListVariants = mentionListVariants;
16034
17007
  exports.pdfViewerFrameVariants = pdfViewerFrameVariants;
16035
17008
  exports.pdfViewerStatusVariants = pdfViewerStatusVariants;
16036
17009
  exports.pdfViewerToolbarButtonVariants = pdfViewerToolbarButtonVariants;
16037
17010
  exports.popoverPopupVariants = popoverPopupVariants;
17011
+ exports.replyInputActionButtonVariants = replyInputActionButtonVariants;
17012
+ exports.replyInputContextVariants = replyInputContextVariants;
17013
+ exports.replyInputRootVariants = replyInputRootVariants;
17014
+ exports.replyInputTextareaVariants = replyInputTextareaVariants;
17015
+ exports.saveChatAsMemoryFormButtonVariants = saveChatAsMemoryFormButtonVariants;
17016
+ exports.saveChatAsMemoryFormErrorVariants = saveChatAsMemoryFormErrorVariants;
17017
+ exports.saveChatAsMemoryFormFieldVariants = saveChatAsMemoryFormFieldVariants;
17018
+ exports.saveChatAsMemoryFormFooterVariants = saveChatAsMemoryFormFooterVariants;
17019
+ exports.saveChatAsMemoryFormRootVariants = saveChatAsMemoryFormRootVariants;
16038
17020
  exports.saveTemplateModalBodyVariants = saveTemplateModalBodyVariants;
16039
17021
  exports.saveTemplateModalButtonVariants = saveTemplateModalButtonVariants;
16040
17022
  exports.saveTemplateModalErrorVariants = saveTemplateModalErrorVariants;
16041
17023
  exports.saveTemplateModalFieldVariants = saveTemplateModalFieldVariants;
16042
17024
  exports.saveTemplateModalFooterVariants = saveTemplateModalFooterVariants;
17025
+ exports.sessionCardVariants = sessionCardVariants;
17026
+ exports.sessionListItemVariants = sessionListItemVariants;
17027
+ exports.sessionListVariants = sessionListVariants;
16043
17028
  exports.skeletonVariants = skeletonVariants;
16044
17029
  exports.splitPaneCollapseButtonVariants = splitPaneCollapseButtonVariants;
16045
17030
  exports.splitPaneHandleVariants = splitPaneHandleVariants;
@@ -16054,6 +17039,13 @@ exports.templateAgentCardVariants = templateAgentCardVariants;
16054
17039
  exports.templateCategoryChipVariants = templateCategoryChipVariants;
16055
17040
  exports.templateListVariants = templateListVariants;
16056
17041
  exports.templateManagementRowVariants = templateManagementRowVariants;
17042
+ exports.threadIndicatorCountVariants = threadIndicatorCountVariants;
17043
+ exports.threadIndicatorRootVariants = threadIndicatorRootVariants;
17044
+ exports.threadViewEmptyVariants = threadViewEmptyVariants;
17045
+ exports.threadViewRepliesVariants = threadViewRepliesVariants;
17046
+ exports.threadViewReplyVariants = threadViewReplyVariants;
17047
+ exports.threadViewRootMessageVariants = threadViewRootMessageVariants;
17048
+ exports.threadViewRootVariants = threadViewRootVariants;
16057
17049
  exports.toastCardVariants = toastCardVariants;
16058
17050
  exports.toastDismissButtonVariants = toastDismissButtonVariants;
16059
17051
  exports.toastProviderPositionVariants = toastProviderPositionVariants;