@upbound/monarch-blocks 0.13.2 → 0.13.3

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.
@@ -93,6 +93,7 @@ function SectionNavItem(_a) {
93
93
 
94
94
  // src/relative-time.tsx
95
95
  import * as React from "react";
96
+ import { Tooltip, TooltipContent, TooltipTrigger } from "@upbound/monarch-core";
96
97
 
97
98
  // src/hooks/use-mounted.ts
98
99
  import { useSyncExternalStore } from "react";
@@ -109,7 +110,7 @@ function useMounted() {
109
110
  }
110
111
 
111
112
  // src/relative-time.tsx
112
- import { jsx as jsx2 } from "react/jsx-runtime";
113
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
113
114
  function absoluteTitle(date, locale) {
114
115
  return date.toLocaleString(locale, {
115
116
  weekday: "long",
@@ -187,8 +188,8 @@ function AbsoluteTimestamp(_a) {
187
188
 
188
189
  // src/chat-interface.tsx
189
190
  import { Marker, MarkerContent, MarkerIcon } from "@upbound/monarch-core";
190
- import { Tooltip, TooltipContent, TooltipTrigger } from "@upbound/monarch-core";
191
- import { jsx as jsx3, jsxs } from "react/jsx-runtime";
191
+ import { Tooltip as Tooltip2, TooltipContent as TooltipContent2, TooltipTrigger as TooltipTrigger2 } from "@upbound/monarch-core";
192
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
192
193
  function formatRelativeTime(iso) {
193
194
  const diffMs = Date.now() - new Date(iso).getTime();
194
195
  const s = Math.round(diffMs / 1e3);
@@ -219,7 +220,7 @@ function formatExactTime(iso) {
219
220
  function ChatSessionList({ sessions, activeSessionId, onSelectSession, className }) {
220
221
  return /* @__PURE__ */ jsx3("div", { className: cn("bg-background flex h-full flex-col", className), children: /* @__PURE__ */ jsx3("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsx3(ItemGroup, { className: "gap-1 p-2", children: sessions.map((session) => {
221
222
  const isActive = session.id === activeSessionId;
222
- return /* @__PURE__ */ jsxs(
223
+ return /* @__PURE__ */ jsxs2(
223
224
  Item,
224
225
  {
225
226
  role: "button",
@@ -237,11 +238,11 @@ function ChatSessionList({ sessions, activeSessionId, onSelectSession, className
237
238
  "group/session-item hover:bg-muted/50 data-[active=true]:bg-accent data-[active=true]:text-accent-foreground cursor-pointer flex-nowrap"
238
239
  ),
239
240
  children: [
240
- /* @__PURE__ */ jsxs(ItemContent, { className: "min-w-0", children: [
241
+ /* @__PURE__ */ jsxs2(ItemContent, { className: "min-w-0", children: [
241
242
  /* @__PURE__ */ jsx3(ItemTitle, { className: "truncate", children: session.title }),
242
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
243
+ /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-2", children: [
243
244
  session.surface && /* @__PURE__ */ jsx3(Badge, { variant: "outline", className: "text-[10px]", children: session.surface }),
244
- session.messageCount != null && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-[10px]", children: [
245
+ session.messageCount != null && /* @__PURE__ */ jsxs2("span", { className: "text-muted-foreground text-[10px]", children: [
245
246
  session.messageCount,
246
247
  " msgs"
247
248
  ] }),
@@ -255,7 +256,7 @@ function ChatSessionList({ sessions, activeSessionId, onSelectSession, className
255
256
  )
256
257
  ] })
257
258
  ] }),
258
- /* @__PURE__ */ jsx3(ItemActions, { className: "opacity-0 group-hover/session-item:opacity-100 has-data-[state=open]:opacity-100 motion-safe:transition-opacity", children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [
259
+ /* @__PURE__ */ jsx3(ItemActions, { className: "opacity-0 group-hover/session-item:opacity-100 has-data-[state=open]:opacity-100 motion-safe:transition-opacity", children: /* @__PURE__ */ jsxs2(DropdownMenu, { children: [
259
260
  /* @__PURE__ */ jsx3(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx3(
260
261
  Button,
261
262
  {
@@ -266,7 +267,7 @@ function ChatSessionList({ sessions, activeSessionId, onSelectSession, className
266
267
  children: /* @__PURE__ */ jsx3(Icon, { name: "ellipsis" })
267
268
  }
268
269
  ) }),
269
- /* @__PURE__ */ jsxs(DropdownMenuContent, { align: "end", children: [
270
+ /* @__PURE__ */ jsxs2(DropdownMenuContent, { align: "end", children: [
270
271
  /* @__PURE__ */ jsx3(DropdownMenuItem, { children: "Pin" }),
271
272
  /* @__PURE__ */ jsx3(DropdownMenuItem, { children: "Rename" }),
272
273
  /* @__PURE__ */ jsx3(DropdownMenuItem, { children: "Share" }),
@@ -287,7 +288,7 @@ function ChatMessageBubble({
287
288
  assistantName = "Upbound AI"
288
289
  }) {
289
290
  const isUser = message.role === "user";
290
- const messageFooter = /* @__PURE__ */ jsxs(
291
+ const messageFooter = /* @__PURE__ */ jsxs2(
291
292
  "div",
292
293
  {
293
294
  className: cn(
@@ -295,8 +296,8 @@ function ChatMessageBubble({
295
296
  isUser && "justify-end"
296
297
  ),
297
298
  children: [
298
- /* @__PURE__ */ jsxs(Tooltip, { children: [
299
- /* @__PURE__ */ jsx3(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx3(
299
+ /* @__PURE__ */ jsxs2(Tooltip2, { children: [
300
+ /* @__PURE__ */ jsx3(TooltipTrigger2, { asChild: true, children: /* @__PURE__ */ jsx3(
300
301
  Button,
301
302
  {
302
303
  variant: "ghost",
@@ -306,35 +307,35 @@ function ChatMessageBubble({
306
307
  children: /* @__PURE__ */ jsx3(Icon, { name: "copy" })
307
308
  }
308
309
  ) }),
309
- /* @__PURE__ */ jsx3(TooltipContent, { children: "Copy" })
310
+ /* @__PURE__ */ jsx3(TooltipContent2, { children: "Copy" })
310
311
  ] }),
311
- message.timestamp && /* @__PURE__ */ jsxs(Tooltip, { children: [
312
- /* @__PURE__ */ jsx3(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx3("span", { className: "text-caption text-muted-foreground", children: formatRelativeTime(message.timestamp) }) }),
313
- /* @__PURE__ */ jsx3(TooltipContent, { children: formatExactTime(message.timestamp) })
312
+ message.timestamp && /* @__PURE__ */ jsxs2(Tooltip2, { children: [
313
+ /* @__PURE__ */ jsx3(TooltipTrigger2, { asChild: true, children: /* @__PURE__ */ jsx3("span", { className: "text-caption text-muted-foreground", children: formatRelativeTime(message.timestamp) }) }),
314
+ /* @__PURE__ */ jsx3(TooltipContent2, { children: formatExactTime(message.timestamp) })
314
315
  ] })
315
316
  ]
316
317
  }
317
318
  );
318
319
  if (isUser) {
319
- return /* @__PURE__ */ jsx3(Message, { align: "end", className: "group/chat-message", children: /* @__PURE__ */ jsxs(MessageContent, { className: "max-w-2xl", children: [
320
+ return /* @__PURE__ */ jsx3(Message, { align: "end", className: "group/chat-message", children: /* @__PURE__ */ jsxs2(MessageContent, { className: "max-w-2xl", children: [
320
321
  /* @__PURE__ */ jsx3(Bubble, { variant: "default", align: "end", children: /* @__PURE__ */ jsx3(BubbleContent, { className: "whitespace-pre-wrap", children: message.content }) }),
321
322
  messageFooter
322
323
  ] }) });
323
324
  }
324
- return /* @__PURE__ */ jsx3(Message, { align: "start", className: "group/chat-message", children: /* @__PURE__ */ jsxs(MessageContent, { className: "max-w-2xl", children: [
325
- /* @__PURE__ */ jsxs("div", { className: "text-body text-foreground mb-2 flex items-center gap-1.5 font-semibold", children: [
325
+ return /* @__PURE__ */ jsx3(Message, { align: "start", className: "group/chat-message", children: /* @__PURE__ */ jsxs2(MessageContent, { className: "max-w-2xl", children: [
326
+ /* @__PURE__ */ jsxs2("div", { className: "text-body text-foreground mb-2 flex items-center gap-1.5 font-semibold", children: [
326
327
  /* @__PURE__ */ jsx3(Icon, { name: "sparkles", size: "default", className: "text-primary" }),
327
328
  assistantName
328
329
  ] }),
329
- message.toolCalls && message.toolCalls.length > 0 && /* @__PURE__ */ jsx3("div", { className: "mb-3 space-y-1.5", children: message.toolCalls.map((tc, i) => /* @__PURE__ */ jsxs("div", { className: "bg-muted/50 text-body-sm flex items-start gap-2 rounded border px-3 py-2", children: [
330
+ message.toolCalls && message.toolCalls.length > 0 && /* @__PURE__ */ jsx3("div", { className: "mb-3 space-y-1.5", children: message.toolCalls.map((tc, i) => /* @__PURE__ */ jsxs2("div", { className: "bg-muted/50 text-body-sm flex items-start gap-2 rounded border px-3 py-2", children: [
330
331
  /* @__PURE__ */ jsx3(Icon, { name: "wrench", size: "sm", className: "text-muted-foreground mt-0.5 shrink-0" }),
331
- /* @__PURE__ */ jsxs("div", { children: [
332
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
332
+ /* @__PURE__ */ jsxs2("div", { children: [
333
+ /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-2", children: [
333
334
  /* @__PURE__ */ jsx3("span", { className: "font-medium", children: tc.name }),
334
335
  tc.isNew && /* @__PURE__ */ jsx3(Badge, { variant: "secondary", className: "text-[10px]", children: "New API" })
335
336
  ] }),
336
337
  tc.description && /* @__PURE__ */ jsx3("div", { className: "text-muted-foreground mt-0.5 font-mono text-[10px]", children: tc.description }),
337
- tc.apiUsed && /* @__PURE__ */ jsxs("div", { className: "text-muted-foreground mt-0.5", children: [
338
+ tc.apiUsed && /* @__PURE__ */ jsxs2("div", { className: "text-muted-foreground mt-0.5", children: [
338
339
  "via ",
339
340
  tc.apiUsed
340
341
  ] })
@@ -364,7 +365,7 @@ function ChatInput({
364
365
  onSend == null ? void 0 : onSend(value.trim());
365
366
  setValue("");
366
367
  }
367
- return /* @__PURE__ */ jsx3("div", { className: cn("shrink-0 p-3", className), children: /* @__PURE__ */ jsxs(InputGroup, { className: "has-[[data-slot=input-group-control]:focus-visible]:border-input! has-[[data-slot=input-group-control]:focus-visible]:ring-0!", children: [
368
+ return /* @__PURE__ */ jsx3("div", { className: cn("shrink-0 p-3", className), children: /* @__PURE__ */ jsxs2(InputGroup, { className: "has-[[data-slot=input-group-control]:focus-visible]:border-input! has-[[data-slot=input-group-control]:focus-visible]:ring-0!", children: [
368
369
  /* @__PURE__ */ jsx3(
369
370
  InputGroupTextarea,
370
371
  {
@@ -381,24 +382,24 @@ function ChatInput({
381
382
  rows: 1
382
383
  }
383
384
  ),
384
- /* @__PURE__ */ jsxs(InputGroupAddon, { align: "block-end", children: [
385
- routines !== void 0 && /* @__PURE__ */ jsxs(DropdownMenu, { children: [
386
- /* @__PURE__ */ jsx3(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { variant: "ghost", size: "sm", children: [
385
+ /* @__PURE__ */ jsxs2(InputGroupAddon, { align: "block-end", children: [
386
+ routines !== void 0 && /* @__PURE__ */ jsxs2(DropdownMenu, { children: [
387
+ /* @__PURE__ */ jsx3(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs2(Button, { variant: "ghost", size: "sm", children: [
387
388
  /* @__PURE__ */ jsx3(Icon, { name: "wand-magic-sparkles", "data-icon": "inline-start" }),
388
389
  "Workflows",
389
390
  /* @__PURE__ */ jsx3(Icon, { name: "chevron-down", "data-icon": "inline-end" })
390
391
  ] }) }),
391
- /* @__PURE__ */ jsxs(DropdownMenuContent, { align: "start", children: [
392
+ /* @__PURE__ */ jsxs2(DropdownMenuContent, { align: "start", children: [
392
393
  /* @__PURE__ */ jsx3("div", { className: "max-h-64 overflow-y-auto", children: routines.length === 0 ? /* @__PURE__ */ jsx3(DropdownMenuItem, { disabled: true, children: "No workflows yet" }) : routines.map((w) => /* @__PURE__ */ jsx3(DropdownMenuItem, { onSelect: () => onSelectRoutine == null ? void 0 : onSelectRoutine(w.id), children: w.name }, w.id)) }),
393
394
  /* @__PURE__ */ jsx3(DropdownMenuSeparator, {}),
394
- /* @__PURE__ */ jsxs(DropdownMenuItem, { onSelect: onManageRoutines, children: [
395
+ /* @__PURE__ */ jsxs2(DropdownMenuItem, { onSelect: onManageRoutines, children: [
395
396
  /* @__PURE__ */ jsx3(Icon, { name: "gear" }),
396
397
  "Manage workflows"
397
398
  ] })
398
399
  ] })
399
400
  ] }),
400
- /* @__PURE__ */ jsxs(Tooltip, { children: [
401
- /* @__PURE__ */ jsx3(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx3(
401
+ /* @__PURE__ */ jsxs2(Tooltip2, { children: [
402
+ /* @__PURE__ */ jsx3(TooltipTrigger2, { asChild: true, children: /* @__PURE__ */ jsx3(
402
403
  Button,
403
404
  {
404
405
  variant: "ghost",
@@ -413,15 +414,15 @@ function ChatInput({
413
414
  children: /* @__PURE__ */ jsx3(Icon, { name: "expand" })
414
415
  }
415
416
  ) }),
416
- /* @__PURE__ */ jsx3(TooltipContent, { children: usePageAsContext ? "Using page as context" : "Use page as context" })
417
+ /* @__PURE__ */ jsx3(TooltipContent2, { children: usePageAsContext ? "Using page as context" : "Use page as context" })
417
418
  ] }),
418
- /* @__PURE__ */ jsxs(Tooltip, { children: [
419
- /* @__PURE__ */ jsx3(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx3(Button, { variant: "ghost", size: "icon-sm", onClick: onAttach, "aria-label": "Attach image, file, or video", children: /* @__PURE__ */ jsx3(Icon, { name: "paperclip" }) }) }),
420
- /* @__PURE__ */ jsx3(TooltipContent, { children: "Attach image, file, or video" })
419
+ /* @__PURE__ */ jsxs2(Tooltip2, { children: [
420
+ /* @__PURE__ */ jsx3(TooltipTrigger2, { asChild: true, children: /* @__PURE__ */ jsx3(Button, { variant: "ghost", size: "icon-sm", onClick: onAttach, "aria-label": "Attach image, file, or video", children: /* @__PURE__ */ jsx3(Icon, { name: "paperclip" }) }) }),
421
+ /* @__PURE__ */ jsx3(TooltipContent2, { children: "Attach image, file, or video" })
421
422
  ] }),
422
- /* @__PURE__ */ jsxs(Tooltip, { children: [
423
- /* @__PURE__ */ jsx3(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx3(Button, { variant: "outline", size: "icon-sm", onClick: handleSend, "aria-label": "Send message", children: /* @__PURE__ */ jsx3(Icon, { name: "arrow-up" }) }) }),
424
- /* @__PURE__ */ jsxs(TooltipContent, { children: [
423
+ /* @__PURE__ */ jsxs2(Tooltip2, { children: [
424
+ /* @__PURE__ */ jsx3(TooltipTrigger2, { asChild: true, children: /* @__PURE__ */ jsx3(Button, { variant: "outline", size: "icon-sm", onClick: handleSend, "aria-label": "Send message", children: /* @__PURE__ */ jsx3(Icon, { name: "arrow-up" }) }) }),
425
+ /* @__PURE__ */ jsxs2(TooltipContent2, { children: [
425
426
  "Send message",
426
427
  /* @__PURE__ */ jsx3(Kbd, { children: "\u23CE" })
427
428
  ] })
@@ -453,16 +454,16 @@ function ChatThread({
453
454
  // `bg-muted/30` lives on the root so messages area and input area share
454
455
  // the same backdrop — the input then floats on the muted bg instead of
455
456
  // sitting in its own white-bordered footer container.
456
- /* @__PURE__ */ jsxs("div", { className: cn("bg-muted/30 flex h-full flex-col", className), children: [
457
- (title || headerActions) && /* @__PURE__ */ jsxs("div", { className: "bg-background flex shrink-0 items-center justify-between border-b px-6 py-3", children: [
458
- /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
457
+ /* @__PURE__ */ jsxs2("div", { className: cn("bg-muted/30 flex h-full flex-col", className), children: [
458
+ (title || headerActions) && /* @__PURE__ */ jsxs2("div", { className: "bg-background flex shrink-0 items-center justify-between border-b px-6 py-3", children: [
459
+ /* @__PURE__ */ jsxs2("div", { className: "min-w-0", children: [
459
460
  title && /* @__PURE__ */ jsx3("div", { className: "text-h4 truncate", children: title }),
460
461
  subtitle && /* @__PURE__ */ jsx3("div", { className: "text-body-sm text-muted-foreground truncate", children: subtitle })
461
462
  ] }),
462
- /* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-1", children: [
463
- title && /* @__PURE__ */ jsxs(DropdownMenu, { children: [
463
+ /* @__PURE__ */ jsxs2("div", { className: "flex shrink-0 items-center gap-1", children: [
464
+ title && /* @__PURE__ */ jsxs2(DropdownMenu, { children: [
464
465
  /* @__PURE__ */ jsx3(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx3(Button, { variant: "ghost", size: "icon-sm", "aria-label": "Session actions", children: /* @__PURE__ */ jsx3(Icon, { name: "ellipsis" }) }) }),
465
- /* @__PURE__ */ jsxs(DropdownMenuContent, { align: "end", children: [
466
+ /* @__PURE__ */ jsxs2(DropdownMenuContent, { align: "end", children: [
466
467
  /* @__PURE__ */ jsx3(DropdownMenuItem, { children: "Pin" }),
467
468
  /* @__PURE__ */ jsx3(DropdownMenuItem, { children: "Rename" }),
468
469
  /* @__PURE__ */ jsx3(DropdownMenuItem, { children: "Share" }),
@@ -474,16 +475,16 @@ function ChatThread({
474
475
  headerActions
475
476
  ] })
476
477
  ] }),
477
- /* @__PURE__ */ jsx3(MessageScrollerProvider, { autoScroll: true, defaultScrollPosition: "end", children: /* @__PURE__ */ jsxs(MessageScroller, { className: "min-h-0 flex-1", children: [
478
- /* @__PURE__ */ jsx3(MessageScrollerViewport, { children: /* @__PURE__ */ jsxs(MessageScrollerContent, { className: "gap-4 px-6 py-4", children: [
478
+ /* @__PURE__ */ jsx3(MessageScrollerProvider, { autoScroll: true, defaultScrollPosition: "end", children: /* @__PURE__ */ jsxs2(MessageScroller, { className: "min-h-0 flex-1", children: [
479
+ /* @__PURE__ */ jsx3(MessageScrollerViewport, { children: /* @__PURE__ */ jsxs2(MessageScrollerContent, { className: "gap-4 px-6 py-4", children: [
479
480
  callout,
480
481
  messages.length === 0 && suggestions && suggestions.length > 0 ? (
481
482
  // Starting state — shown when no messages yet AND suggestions
482
483
  // are provided. Disappears the moment the user sends anything
483
484
  // (either via the input or by clicking a suggestion card).
484
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 pt-2", children: [
485
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
486
- /* @__PURE__ */ jsxs("div", { className: "text-h4", children: [
485
+ /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-4 pt-2", children: [
486
+ /* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-1", children: [
487
+ /* @__PURE__ */ jsxs2("div", { className: "text-h4", children: [
487
488
  "\u{1F44B} Hi, I'm ",
488
489
  assistantName != null ? assistantName : "your AI assistant"
489
490
  ] }),
@@ -501,11 +502,11 @@ function ChatThread({
501
502
  )) })
502
503
  ] })
503
504
  ) : null,
504
- messages.map((msg) => /* @__PURE__ */ jsxs(React2.Fragment, { children: [
505
+ messages.map((msg) => /* @__PURE__ */ jsxs2(React2.Fragment, { children: [
505
506
  /* @__PURE__ */ jsx3(MessageScrollerItem, { messageId: msg.id, scrollAnchor: msg.role === "user", children: /* @__PURE__ */ jsx3(ChatMessageBubble, { message: msg, userName, assistantName }) }),
506
- msg.role === "user" && msg.pageContext && /* @__PURE__ */ jsx3(MessageScrollerItem, { messageId: `${msg.id}-ctx`, children: /* @__PURE__ */ jsxs(Marker, { children: [
507
+ msg.role === "user" && msg.pageContext && /* @__PURE__ */ jsx3(MessageScrollerItem, { messageId: `${msg.id}-ctx`, children: /* @__PURE__ */ jsxs2(Marker, { children: [
507
508
  /* @__PURE__ */ jsx3(MarkerIcon, { children: /* @__PURE__ */ jsx3(Icon, { name: "expand" }) }),
508
- /* @__PURE__ */ jsxs(MarkerContent, { children: [
509
+ /* @__PURE__ */ jsxs2(MarkerContent, { children: [
509
510
  "Sent with page context: ",
510
511
  msg.pageContext
511
512
  ] })
@@ -532,8 +533,8 @@ function ChatThread({
532
533
  );
533
534
  }
534
535
  function ChatNavRail({ onNewSession, onOpenRoutines, onOpenConnectors, onOpenCustomize }) {
535
- return /* @__PURE__ */ jsx3(SectionNav, { className: "border-b p-3", children: /* @__PURE__ */ jsxs(SectionNavList, { children: [
536
- /* @__PURE__ */ jsxs(
536
+ return /* @__PURE__ */ jsx3(SectionNav, { className: "border-b p-3", children: /* @__PURE__ */ jsxs2(SectionNavList, { children: [
537
+ /* @__PURE__ */ jsxs2(
537
538
  SectionNavItem,
538
539
  {
539
540
  href: "#",
@@ -547,7 +548,7 @@ function ChatNavRail({ onNewSession, onOpenRoutines, onOpenConnectors, onOpenCus
547
548
  ]
548
549
  }
549
550
  ),
550
- /* @__PURE__ */ jsxs(
551
+ /* @__PURE__ */ jsxs2(
551
552
  SectionNavItem,
552
553
  {
553
554
  href: "#",
@@ -561,7 +562,7 @@ function ChatNavRail({ onNewSession, onOpenRoutines, onOpenConnectors, onOpenCus
561
562
  ]
562
563
  }
563
564
  ),
564
- /* @__PURE__ */ jsxs(
565
+ /* @__PURE__ */ jsxs2(
565
566
  SectionNavItem,
566
567
  {
567
568
  href: "#",
@@ -575,7 +576,7 @@ function ChatNavRail({ onNewSession, onOpenRoutines, onOpenConnectors, onOpenCus
575
576
  ]
576
577
  }
577
578
  ),
578
- /* @__PURE__ */ jsxs(
579
+ /* @__PURE__ */ jsxs2(
579
580
  SectionNavItem,
580
581
  {
581
582
  href: "#",
@@ -611,8 +612,8 @@ function ChatInterface(_a) {
611
612
  "onOpenCustomize",
612
613
  "className"
613
614
  ]);
614
- return /* @__PURE__ */ jsxs("div", { className: cn("flex h-full", className), children: [
615
- /* @__PURE__ */ jsxs("div", { className: "bg-background flex w-72 shrink-0 flex-col border-r", children: [
615
+ return /* @__PURE__ */ jsxs2("div", { className: cn("flex h-full", className), children: [
616
+ /* @__PURE__ */ jsxs2("div", { className: "bg-background flex w-72 shrink-0 flex-col border-r", children: [
616
617
  /* @__PURE__ */ jsx3(
617
618
  ChatNavRail,
618
619
  {