@invana/ui 0.0.19 → 0.0.20

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.d.cts CHANGED
@@ -637,6 +637,175 @@ interface ChatSessionComposerProps {
637
637
  */
638
638
  declare function ChatSessionComposer({ value, onChange, onSend, onStop, isRunning, disabled, placeholder, toolbarStart, toolbarEnd, attachments, sendIcon, stopIcon, sendDisabled, className, textareaClassName, }: ChatSessionComposerProps): React$1.JSX.Element;
639
639
 
640
+ /**
641
+ * Shared gutter column for the console-style transcript. Every leading glyph —
642
+ * status dot, prompt caret, spinner — occupies this fixed-width column so all
643
+ * body text starts on one left edge ({@link ChatSessionPromptRow},
644
+ * {@link ChatSessionProgressLine} and this row all use it).
645
+ */
646
+ declare const chatSessionGutterClass = "w-3.5 shrink-0 flex justify-center";
647
+ /**
648
+ * Semantic state of an activity row, mapped to the status tokens from
649
+ * `@invana/styling`. `pending` renders a hollow dot (queued / not started).
650
+ */
651
+ type ChatSessionActivityStatus = "default" | "info" | "success" | "warning" | "error" | "pending";
652
+ interface ChatSessionActivityRowProps {
653
+ /** Colors the gutter marker; `warning`/`error` also tint the body text. */
654
+ status?: ChatSessionActivityStatus;
655
+ /** Replaces the status dot with a custom gutter node (e.g. a spinner). */
656
+ marker?: React$1.ReactNode;
657
+ /** Row body. Plain text wraps and preserves newlines; nodes render as-is. */
658
+ children?: React$1.ReactNode;
659
+ /** Action row, typically a `<ChatSessionMessageOptions />`. */
660
+ actions?: React$1.ReactNode;
661
+ /** Meta line under the body — e.g. "Cypher · 50 rows · 12ms". */
662
+ meta?: React$1.ReactNode;
663
+ /** Extra content below — sub-lines, a `<ChatSessionDisclosure />`, results. */
664
+ footer?: React$1.ReactNode;
665
+ className?: string;
666
+ }
667
+ /**
668
+ * One event in a console-style transcript: a status-colored dot in the shared
669
+ * gutter and a left-aligned body. Assistant text, tool calls, spawned agents,
670
+ * and errors all render as activity rows — one visual grammar for everything
671
+ * the system does. Nest `<ChatSessionActivitySubLine />` in `footer` for the
672
+ * elbow-prefixed detail lines, and drop `<ChatSessionMessageOptions />` into
673
+ * `actions` for the re-run / view-query / copy / vote toolbar.
674
+ *
675
+ * Presentational only — no data fetching or state.
676
+ */
677
+ declare function ChatSessionActivityRow({ status, marker, children, actions, meta, footer, className, }: ChatSessionActivityRowProps): React$1.JSX.Element;
678
+ interface ChatSessionActivitySubLineProps {
679
+ /** Elbow glyph in front of the line. Defaults to "└". */
680
+ elbow?: React$1.ReactNode;
681
+ children?: React$1.ReactNode;
682
+ className?: string;
683
+ }
684
+ /**
685
+ * An indented detail line under an activity row — "└ Backgrounded agent
686
+ * (↓ to manage)", an interruption note, a one-line result. Render inside the
687
+ * row's `footer` (or directly after the body in `children`).
688
+ */
689
+ declare function ChatSessionActivitySubLine({ elbow, children, className, }: ChatSessionActivitySubLineProps): React$1.JSX.Element;
690
+
691
+ interface ChatSessionPromptRowProps {
692
+ /** The echoed user input. Plain text wraps and preserves newlines. */
693
+ children?: React$1.ReactNode;
694
+ /** Gutter glyph. Defaults to "❯". */
695
+ caret?: React$1.ReactNode;
696
+ /** Right-aligned meta — a timestamp, an attachment count. */
697
+ meta?: React$1.ReactNode;
698
+ className?: string;
699
+ }
700
+ /**
701
+ * The user's turn in a console-style transcript: a full-bleed highlighted band
702
+ * with the caret in the shared gutter, so the echoed text sits on exactly the
703
+ * same left edge as the {@link ChatSessionActivityRow} bodies below it.
704
+ *
705
+ * Full bleed assumes the default `ChatSession` body padding (`p-3`) — the
706
+ * negative margins here cancel it. If you override `bodyClassName` with a
707
+ * different horizontal padding, pass matching `-mx-*`/`px-*` via `className`.
708
+ */
709
+ declare function ChatSessionPromptRow({ children, caret, meta, className, }: ChatSessionPromptRowProps): React$1.JSX.Element;
710
+
711
+ interface ChatSessionProgressLineProps {
712
+ /** What's happening — "Waiting for 1 background agent to finish". */
713
+ children?: React$1.ReactNode;
714
+ /** Custom spinner node in the gutter; defaults to a CSS ring spinner. */
715
+ spinner?: React$1.ReactNode;
716
+ /** Right-aligned elapsed/progress readout — "29s", "12k tokens". */
717
+ elapsed?: React$1.ReactNode;
718
+ className?: string;
719
+ }
720
+ /**
721
+ * A transient "work in flight" line in the transcript — spinner in the shared
722
+ * gutter, label, and an optional right-aligned elapsed readout. Replace it with
723
+ * a settled {@link ChatSessionActivityRow} when the run finishes.
724
+ */
725
+ declare function ChatSessionProgressLine({ children, spinner, elapsed, className, }: ChatSessionProgressLineProps): React$1.JSX.Element;
726
+
727
+ interface ChatSessionDisclosureProps {
728
+ /** Header label — "cypher", "result", "context". */
729
+ label: React$1.ReactNode;
730
+ /** Right-aligned header meta — "50 rows · 12ms". */
731
+ meta?: React$1.ReactNode;
732
+ /** Disclosed content. Wrapped in an `overflow-x-auto` container. */
733
+ children?: React$1.ReactNode;
734
+ /** Controlled open state. Omit for uncontrolled (see `defaultOpen`). */
735
+ open?: boolean;
736
+ /** Uncontrolled initial state. Defaults to closed. */
737
+ defaultOpen?: boolean;
738
+ onOpenChange?: (open: boolean) => void;
739
+ /** Custom chevron node; the default "▸" rotates when open. */
740
+ chevron?: React$1.ReactNode;
741
+ className?: string;
742
+ /** Classes for the content area — e.g. `font-mono` for a query block. */
743
+ contentClassName?: string;
744
+ }
745
+ /**
746
+ * A collapsible detail block under an activity row — the expanded state of
747
+ * "View query": generated Cypher, a result preview, gathered context. Renders
748
+ * as a bordered card with a click-to-toggle header (label + meta) and an
749
+ * `overflow-x-auto` body, matching the transcript's nested-detail grammar.
750
+ *
751
+ * Controlled (`open` + `onOpenChange`) or uncontrolled (`defaultOpen`).
752
+ */
753
+ declare function ChatSessionDisclosure({ label, meta, children, open, defaultOpen, onOpenChange, chevron, className, contentClassName, }: ChatSessionDisclosureProps): React$1.JSX.Element;
754
+
755
+ /**
756
+ * Lifecycle of a background task / session. Mapped to the status tokens from
757
+ * `@invana/styling`: `running` pulses the primary dot, `needs-input` is the
758
+ * warning color, `queued` renders hollow.
759
+ */
760
+ type ChatSessionTaskStatus = "running" | "needs-input" | "success" | "error" | "queued";
761
+ interface ChatSessionTaskRowProps {
762
+ /** Colors the leading dot. */
763
+ status?: ChatSessionTaskStatus;
764
+ /** Replaces the status dot — e.g. a spinner node for a running task. */
765
+ indicator?: React$1.ReactNode;
766
+ /** Task/agent name, kept bold and never truncated. */
767
+ name: React$1.ReactNode;
768
+ /** One-line summary; truncates with ellipsis. */
769
+ description?: React$1.ReactNode;
770
+ /** Right-aligned meta — "2s · ↑ 18.4k tokens", "38d". */
771
+ meta?: React$1.ReactNode;
772
+ /** Makes the row an interactive button (hover surface, focus ring). */
773
+ onClick?: () => void;
774
+ className?: string;
775
+ }
776
+ /**
777
+ * One background task / agent / session: status dot, bold name, truncating
778
+ * description, right-aligned meta. Used both in the pinned strip under a
779
+ * transcript and in the grouped task dashboard ({@link ChatSessionTaskGroup}).
780
+ */
781
+ declare function ChatSessionTaskRow({ status, indicator, name, description, meta, onClick, className, }: ChatSessionTaskRowProps): React$1.JSX.Element;
782
+ interface ChatSessionTaskGroupProps {
783
+ /** Section heading — "Needs input", "Completed", "Running". */
784
+ heading?: React$1.ReactNode;
785
+ /** The rows — typically `<ChatSessionTaskRow />` nodes. */
786
+ children?: React$1.ReactNode;
787
+ className?: string;
788
+ }
789
+ /**
790
+ * A titled section of task rows — the "Needs input" / "Completed" groups of a
791
+ * session dashboard.
792
+ */
793
+ declare function ChatSessionTaskGroup({ heading, children, className, }: ChatSessionTaskGroupProps): React$1.JSX.Element;
794
+
795
+ interface ChatSessionStatusBarProps {
796
+ /** Left-aligned items — mode indicator, view switch. Grows and truncates. */
797
+ start?: React$1.ReactNode;
798
+ /** Right-aligned items — agent count, shortcut hints. */
799
+ end?: React$1.ReactNode;
800
+ className?: string;
801
+ }
802
+ /**
803
+ * The slim bar under a chat session's composer — mode indicator, view
804
+ * switches, agent counts, keyboard hints. Two slots, muted by default; put
805
+ * interactive elements (buttons, toggles) straight into the slots.
806
+ */
807
+ declare function ChatSessionStatusBar({ start, end, className, }: ChatSessionStatusBarProps): React$1.JSX.Element;
808
+
640
809
  declare class ErrorBoundary extends Component<{
641
810
  children: ReactNode;
642
811
  }, {
@@ -1312,4 +1481,4 @@ declare const Typography: {
1312
1481
  Pre: React$1.ForwardRefExoticComponent<TypographyPreProps & React$1.RefAttributes<HTMLPreElement>>;
1313
1482
  };
1314
1483
 
1315
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseNavProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, ButtonWithTooltip, type ButtonWithTooltipProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithHeader, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChatSession, ChatSessionComposer, type ChatSessionComposerProps, ChatSessionMessage, type ChatSessionMessageAction, ChatSessionMessageOptions, type ChatSessionMessageOptionsProps, type ChatSessionMessageProps, type ChatSessionMessageRole, type ChatSessionMessageStatus, type ChatSessionProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorBoundary, HoverCard, HoverCardContent, HoverCardTrigger, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, MenuItem, type MenuItemProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavBase, NavHorizontal, type NavHorizontalItem, NavHorizontalItems, type NavHorizontalItemsProps, type NavHorizontalProps, type NavItemConfig, NavItems, type NavItemsProps, type NavSection, NavVertical, type NavVerticalItem, NavVerticalItems, type NavVerticalItemsProps, type NavVerticalProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NestedMenu, type NestedMenuProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelContent, type PanelContentProps, PanelStack, type PanelStackProps, type PanelStackSection, Popover, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichSelect, type RichSelectOption, type RichSelectProps, ScrollArea, ScrollBar, SearchInput, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, type TabConfig, TabbedPanel, type TabbedPanelProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tour, type TourController, type TourProps, type TourReference, type TourStep, TreeItem, TreeView, type TreeViewProps, Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographyPre, type TypographyPreProps, TypographySmall, type TypographySmallProps, UnderDevelopment, type UnderDevelopmentProps, type UseTourOptions, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useSidebar, useTour };
1484
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseNavProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, ButtonWithTooltip, type ButtonWithTooltipProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithHeader, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChatSession, ChatSessionActivityRow, type ChatSessionActivityRowProps, type ChatSessionActivityStatus, ChatSessionActivitySubLine, type ChatSessionActivitySubLineProps, ChatSessionComposer, type ChatSessionComposerProps, ChatSessionDisclosure, type ChatSessionDisclosureProps, ChatSessionMessage, type ChatSessionMessageAction, ChatSessionMessageOptions, type ChatSessionMessageOptionsProps, type ChatSessionMessageProps, type ChatSessionMessageRole, type ChatSessionMessageStatus, ChatSessionProgressLine, type ChatSessionProgressLineProps, ChatSessionPromptRow, type ChatSessionPromptRowProps, type ChatSessionProps, ChatSessionStatusBar, type ChatSessionStatusBarProps, ChatSessionTaskGroup, type ChatSessionTaskGroupProps, ChatSessionTaskRow, type ChatSessionTaskRowProps, type ChatSessionTaskStatus, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorBoundary, HoverCard, HoverCardContent, HoverCardTrigger, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, MenuItem, type MenuItemProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavBase, NavHorizontal, type NavHorizontalItem, NavHorizontalItems, type NavHorizontalItemsProps, type NavHorizontalProps, type NavItemConfig, NavItems, type NavItemsProps, type NavSection, NavVertical, type NavVerticalItem, NavVerticalItems, type NavVerticalItemsProps, type NavVerticalProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NestedMenu, type NestedMenuProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelContent, type PanelContentProps, PanelStack, type PanelStackProps, type PanelStackSection, Popover, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichSelect, type RichSelectOption, type RichSelectProps, ScrollArea, ScrollBar, SearchInput, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, type TabConfig, TabbedPanel, type TabbedPanelProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tour, type TourController, type TourProps, type TourReference, type TourStep, TreeItem, TreeView, type TreeViewProps, Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographyPre, type TypographyPreProps, TypographySmall, type TypographySmallProps, UnderDevelopment, type UnderDevelopmentProps, type UseTourOptions, badgeVariants, buttonGroupVariants, buttonVariants, chatSessionGutterClass, cn, navigationMenuTriggerStyle, toggleVariants, useSidebar, useTour };
package/dist/index.d.ts CHANGED
@@ -637,6 +637,175 @@ interface ChatSessionComposerProps {
637
637
  */
638
638
  declare function ChatSessionComposer({ value, onChange, onSend, onStop, isRunning, disabled, placeholder, toolbarStart, toolbarEnd, attachments, sendIcon, stopIcon, sendDisabled, className, textareaClassName, }: ChatSessionComposerProps): React$1.JSX.Element;
639
639
 
640
+ /**
641
+ * Shared gutter column for the console-style transcript. Every leading glyph —
642
+ * status dot, prompt caret, spinner — occupies this fixed-width column so all
643
+ * body text starts on one left edge ({@link ChatSessionPromptRow},
644
+ * {@link ChatSessionProgressLine} and this row all use it).
645
+ */
646
+ declare const chatSessionGutterClass = "w-3.5 shrink-0 flex justify-center";
647
+ /**
648
+ * Semantic state of an activity row, mapped to the status tokens from
649
+ * `@invana/styling`. `pending` renders a hollow dot (queued / not started).
650
+ */
651
+ type ChatSessionActivityStatus = "default" | "info" | "success" | "warning" | "error" | "pending";
652
+ interface ChatSessionActivityRowProps {
653
+ /** Colors the gutter marker; `warning`/`error` also tint the body text. */
654
+ status?: ChatSessionActivityStatus;
655
+ /** Replaces the status dot with a custom gutter node (e.g. a spinner). */
656
+ marker?: React$1.ReactNode;
657
+ /** Row body. Plain text wraps and preserves newlines; nodes render as-is. */
658
+ children?: React$1.ReactNode;
659
+ /** Action row, typically a `<ChatSessionMessageOptions />`. */
660
+ actions?: React$1.ReactNode;
661
+ /** Meta line under the body — e.g. "Cypher · 50 rows · 12ms". */
662
+ meta?: React$1.ReactNode;
663
+ /** Extra content below — sub-lines, a `<ChatSessionDisclosure />`, results. */
664
+ footer?: React$1.ReactNode;
665
+ className?: string;
666
+ }
667
+ /**
668
+ * One event in a console-style transcript: a status-colored dot in the shared
669
+ * gutter and a left-aligned body. Assistant text, tool calls, spawned agents,
670
+ * and errors all render as activity rows — one visual grammar for everything
671
+ * the system does. Nest `<ChatSessionActivitySubLine />` in `footer` for the
672
+ * elbow-prefixed detail lines, and drop `<ChatSessionMessageOptions />` into
673
+ * `actions` for the re-run / view-query / copy / vote toolbar.
674
+ *
675
+ * Presentational only — no data fetching or state.
676
+ */
677
+ declare function ChatSessionActivityRow({ status, marker, children, actions, meta, footer, className, }: ChatSessionActivityRowProps): React$1.JSX.Element;
678
+ interface ChatSessionActivitySubLineProps {
679
+ /** Elbow glyph in front of the line. Defaults to "└". */
680
+ elbow?: React$1.ReactNode;
681
+ children?: React$1.ReactNode;
682
+ className?: string;
683
+ }
684
+ /**
685
+ * An indented detail line under an activity row — "└ Backgrounded agent
686
+ * (↓ to manage)", an interruption note, a one-line result. Render inside the
687
+ * row's `footer` (or directly after the body in `children`).
688
+ */
689
+ declare function ChatSessionActivitySubLine({ elbow, children, className, }: ChatSessionActivitySubLineProps): React$1.JSX.Element;
690
+
691
+ interface ChatSessionPromptRowProps {
692
+ /** The echoed user input. Plain text wraps and preserves newlines. */
693
+ children?: React$1.ReactNode;
694
+ /** Gutter glyph. Defaults to "❯". */
695
+ caret?: React$1.ReactNode;
696
+ /** Right-aligned meta — a timestamp, an attachment count. */
697
+ meta?: React$1.ReactNode;
698
+ className?: string;
699
+ }
700
+ /**
701
+ * The user's turn in a console-style transcript: a full-bleed highlighted band
702
+ * with the caret in the shared gutter, so the echoed text sits on exactly the
703
+ * same left edge as the {@link ChatSessionActivityRow} bodies below it.
704
+ *
705
+ * Full bleed assumes the default `ChatSession` body padding (`p-3`) — the
706
+ * negative margins here cancel it. If you override `bodyClassName` with a
707
+ * different horizontal padding, pass matching `-mx-*`/`px-*` via `className`.
708
+ */
709
+ declare function ChatSessionPromptRow({ children, caret, meta, className, }: ChatSessionPromptRowProps): React$1.JSX.Element;
710
+
711
+ interface ChatSessionProgressLineProps {
712
+ /** What's happening — "Waiting for 1 background agent to finish". */
713
+ children?: React$1.ReactNode;
714
+ /** Custom spinner node in the gutter; defaults to a CSS ring spinner. */
715
+ spinner?: React$1.ReactNode;
716
+ /** Right-aligned elapsed/progress readout — "29s", "12k tokens". */
717
+ elapsed?: React$1.ReactNode;
718
+ className?: string;
719
+ }
720
+ /**
721
+ * A transient "work in flight" line in the transcript — spinner in the shared
722
+ * gutter, label, and an optional right-aligned elapsed readout. Replace it with
723
+ * a settled {@link ChatSessionActivityRow} when the run finishes.
724
+ */
725
+ declare function ChatSessionProgressLine({ children, spinner, elapsed, className, }: ChatSessionProgressLineProps): React$1.JSX.Element;
726
+
727
+ interface ChatSessionDisclosureProps {
728
+ /** Header label — "cypher", "result", "context". */
729
+ label: React$1.ReactNode;
730
+ /** Right-aligned header meta — "50 rows · 12ms". */
731
+ meta?: React$1.ReactNode;
732
+ /** Disclosed content. Wrapped in an `overflow-x-auto` container. */
733
+ children?: React$1.ReactNode;
734
+ /** Controlled open state. Omit for uncontrolled (see `defaultOpen`). */
735
+ open?: boolean;
736
+ /** Uncontrolled initial state. Defaults to closed. */
737
+ defaultOpen?: boolean;
738
+ onOpenChange?: (open: boolean) => void;
739
+ /** Custom chevron node; the default "▸" rotates when open. */
740
+ chevron?: React$1.ReactNode;
741
+ className?: string;
742
+ /** Classes for the content area — e.g. `font-mono` for a query block. */
743
+ contentClassName?: string;
744
+ }
745
+ /**
746
+ * A collapsible detail block under an activity row — the expanded state of
747
+ * "View query": generated Cypher, a result preview, gathered context. Renders
748
+ * as a bordered card with a click-to-toggle header (label + meta) and an
749
+ * `overflow-x-auto` body, matching the transcript's nested-detail grammar.
750
+ *
751
+ * Controlled (`open` + `onOpenChange`) or uncontrolled (`defaultOpen`).
752
+ */
753
+ declare function ChatSessionDisclosure({ label, meta, children, open, defaultOpen, onOpenChange, chevron, className, contentClassName, }: ChatSessionDisclosureProps): React$1.JSX.Element;
754
+
755
+ /**
756
+ * Lifecycle of a background task / session. Mapped to the status tokens from
757
+ * `@invana/styling`: `running` pulses the primary dot, `needs-input` is the
758
+ * warning color, `queued` renders hollow.
759
+ */
760
+ type ChatSessionTaskStatus = "running" | "needs-input" | "success" | "error" | "queued";
761
+ interface ChatSessionTaskRowProps {
762
+ /** Colors the leading dot. */
763
+ status?: ChatSessionTaskStatus;
764
+ /** Replaces the status dot — e.g. a spinner node for a running task. */
765
+ indicator?: React$1.ReactNode;
766
+ /** Task/agent name, kept bold and never truncated. */
767
+ name: React$1.ReactNode;
768
+ /** One-line summary; truncates with ellipsis. */
769
+ description?: React$1.ReactNode;
770
+ /** Right-aligned meta — "2s · ↑ 18.4k tokens", "38d". */
771
+ meta?: React$1.ReactNode;
772
+ /** Makes the row an interactive button (hover surface, focus ring). */
773
+ onClick?: () => void;
774
+ className?: string;
775
+ }
776
+ /**
777
+ * One background task / agent / session: status dot, bold name, truncating
778
+ * description, right-aligned meta. Used both in the pinned strip under a
779
+ * transcript and in the grouped task dashboard ({@link ChatSessionTaskGroup}).
780
+ */
781
+ declare function ChatSessionTaskRow({ status, indicator, name, description, meta, onClick, className, }: ChatSessionTaskRowProps): React$1.JSX.Element;
782
+ interface ChatSessionTaskGroupProps {
783
+ /** Section heading — "Needs input", "Completed", "Running". */
784
+ heading?: React$1.ReactNode;
785
+ /** The rows — typically `<ChatSessionTaskRow />` nodes. */
786
+ children?: React$1.ReactNode;
787
+ className?: string;
788
+ }
789
+ /**
790
+ * A titled section of task rows — the "Needs input" / "Completed" groups of a
791
+ * session dashboard.
792
+ */
793
+ declare function ChatSessionTaskGroup({ heading, children, className, }: ChatSessionTaskGroupProps): React$1.JSX.Element;
794
+
795
+ interface ChatSessionStatusBarProps {
796
+ /** Left-aligned items — mode indicator, view switch. Grows and truncates. */
797
+ start?: React$1.ReactNode;
798
+ /** Right-aligned items — agent count, shortcut hints. */
799
+ end?: React$1.ReactNode;
800
+ className?: string;
801
+ }
802
+ /**
803
+ * The slim bar under a chat session's composer — mode indicator, view
804
+ * switches, agent counts, keyboard hints. Two slots, muted by default; put
805
+ * interactive elements (buttons, toggles) straight into the slots.
806
+ */
807
+ declare function ChatSessionStatusBar({ start, end, className, }: ChatSessionStatusBarProps): React$1.JSX.Element;
808
+
640
809
  declare class ErrorBoundary extends Component<{
641
810
  children: ReactNode;
642
811
  }, {
@@ -1312,4 +1481,4 @@ declare const Typography: {
1312
1481
  Pre: React$1.ForwardRefExoticComponent<TypographyPreProps & React$1.RefAttributes<HTMLPreElement>>;
1313
1482
  };
1314
1483
 
1315
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseNavProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, ButtonWithTooltip, type ButtonWithTooltipProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithHeader, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChatSession, ChatSessionComposer, type ChatSessionComposerProps, ChatSessionMessage, type ChatSessionMessageAction, ChatSessionMessageOptions, type ChatSessionMessageOptionsProps, type ChatSessionMessageProps, type ChatSessionMessageRole, type ChatSessionMessageStatus, type ChatSessionProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorBoundary, HoverCard, HoverCardContent, HoverCardTrigger, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, MenuItem, type MenuItemProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavBase, NavHorizontal, type NavHorizontalItem, NavHorizontalItems, type NavHorizontalItemsProps, type NavHorizontalProps, type NavItemConfig, NavItems, type NavItemsProps, type NavSection, NavVertical, type NavVerticalItem, NavVerticalItems, type NavVerticalItemsProps, type NavVerticalProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NestedMenu, type NestedMenuProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelContent, type PanelContentProps, PanelStack, type PanelStackProps, type PanelStackSection, Popover, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichSelect, type RichSelectOption, type RichSelectProps, ScrollArea, ScrollBar, SearchInput, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, type TabConfig, TabbedPanel, type TabbedPanelProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tour, type TourController, type TourProps, type TourReference, type TourStep, TreeItem, TreeView, type TreeViewProps, Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographyPre, type TypographyPreProps, TypographySmall, type TypographySmallProps, UnderDevelopment, type UnderDevelopmentProps, type UseTourOptions, badgeVariants, buttonGroupVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useSidebar, useTour };
1484
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseNavProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, ButtonWithTooltip, type ButtonWithTooltipProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CardWithHeader, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChatSession, ChatSessionActivityRow, type ChatSessionActivityRowProps, type ChatSessionActivityStatus, ChatSessionActivitySubLine, type ChatSessionActivitySubLineProps, ChatSessionComposer, type ChatSessionComposerProps, ChatSessionDisclosure, type ChatSessionDisclosureProps, ChatSessionMessage, type ChatSessionMessageAction, ChatSessionMessageOptions, type ChatSessionMessageOptionsProps, type ChatSessionMessageProps, type ChatSessionMessageRole, type ChatSessionMessageStatus, ChatSessionProgressLine, type ChatSessionProgressLineProps, ChatSessionPromptRow, type ChatSessionPromptRowProps, type ChatSessionProps, ChatSessionStatusBar, type ChatSessionStatusBarProps, ChatSessionTaskGroup, type ChatSessionTaskGroupProps, ChatSessionTaskRow, type ChatSessionTaskRowProps, type ChatSessionTaskStatus, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorBoundary, HoverCard, HoverCardContent, HoverCardTrigger, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, MenuItem, type MenuItemProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavBase, NavHorizontal, type NavHorizontalItem, NavHorizontalItems, type NavHorizontalItemsProps, type NavHorizontalProps, type NavItemConfig, NavItems, type NavItemsProps, type NavSection, NavVertical, type NavVerticalItem, NavVerticalItems, type NavVerticalItemsProps, type NavVerticalProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NestedMenu, type NestedMenuProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelContent, type PanelContentProps, PanelStack, type PanelStackProps, type PanelStackSection, Popover, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichSelect, type RichSelectOption, type RichSelectProps, ScrollArea, ScrollBar, SearchInput, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, type TabConfig, TabbedPanel, type TabbedPanelProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tour, type TourController, type TourProps, type TourReference, type TourStep, TreeItem, TreeView, type TreeViewProps, Typography, TypographyBlockquote, type TypographyBlockquoteProps, TypographyH1, type TypographyH1Props, TypographyH2, type TypographyH2Props, TypographyH3, type TypographyH3Props, TypographyH4, type TypographyH4Props, TypographyH5, type TypographyH5Props, TypographyH6, type TypographyH6Props, TypographyInlineCode, type TypographyInlineCodeProps, TypographyLarge, type TypographyLargeProps, TypographyLead, type TypographyLeadProps, TypographyList, type TypographyListProps, TypographyMuted, type TypographyMutedProps, TypographyP, type TypographyPProps, TypographyPre, type TypographyPreProps, TypographySmall, type TypographySmallProps, UnderDevelopment, type UnderDevelopmentProps, type UseTourOptions, badgeVariants, buttonGroupVariants, buttonVariants, chatSessionGutterClass, cn, navigationMenuTriggerStyle, toggleVariants, useSidebar, useTour };