udi-yac 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +373 -0
  2. package/dist/app/ErrorBoundary.d.ts +18 -0
  3. package/dist/app/UDIChat.d.ts +3 -0
  4. package/dist/app/UDIChatConfig.d.ts +23 -0
  5. package/dist/app/UDIChatContext.d.ts +26 -0
  6. package/dist/app/validateConfig.d.ts +14 -0
  7. package/dist/app/validateConfig.test.d.ts +1 -0
  8. package/dist/assets/domainWorker-Cd9KoNXV.js +16 -0
  9. package/dist/ce-entry-C4ngOj0B.js +42577 -0
  10. package/dist/components/ui/badge.d.ts +7 -0
  11. package/dist/components/ui/button.d.ts +8 -0
  12. package/dist/components/ui/card.d.ts +11 -0
  13. package/dist/components/ui/checkbox.d.ts +3 -0
  14. package/dist/components/ui/dialog.d.ts +17 -0
  15. package/dist/components/ui/dropdown-menu.d.ts +29 -0
  16. package/dist/components/ui/input.d.ts +3 -0
  17. package/dist/components/ui/label.d.ts +3 -0
  18. package/dist/components/ui/scroll-area.d.ts +4 -0
  19. package/dist/components/ui/select.d.ts +15 -0
  20. package/dist/components/ui/separator.d.ts +3 -0
  21. package/dist/components/ui/slider.d.ts +3 -0
  22. package/dist/components/ui/switch.d.ts +5 -0
  23. package/dist/components/ui/tabs.d.ts +10 -0
  24. package/dist/components/ui/textarea.d.ts +3 -0
  25. package/dist/components/ui/tooltip.d.ts +6 -0
  26. package/dist/data/hubmap_2025-05-05/datapackage_udi.json +19606 -0
  27. package/dist/data/hubmap_2025-05-05/datasets.csv +6324 -0
  28. package/dist/data/hubmap_2025-05-05/datasets.tsv +6324 -0
  29. package/dist/data/hubmap_2025-05-05/donors.csv +433 -0
  30. package/dist/data/hubmap_2025-05-05/donors.tsv +433 -0
  31. package/dist/data/hubmap_2025-05-05/samples.csv +4490 -0
  32. package/dist/data/hubmap_2025-05-05/samples.tsv +4490 -0
  33. package/dist/data/hubmap_api/datapackage.json +14110 -0
  34. package/dist/data/readme.md +41 -0
  35. package/dist/favicon.svg +1 -0
  36. package/dist/features/chat/api/completions.d.ts +12 -0
  37. package/dist/features/chat/components/ApiKeyInput.d.ts +5 -0
  38. package/dist/features/chat/components/ChatHeaderBar.d.ts +19 -0
  39. package/dist/features/chat/components/ChatInput.d.ts +7 -0
  40. package/dist/features/chat/components/ChatPanel.d.ts +13 -0
  41. package/dist/features/chat/components/ClosedVisualizationsPanel.d.ts +6 -0
  42. package/dist/features/chat/components/ConversationList.d.ts +1 -0
  43. package/dist/features/chat/components/DebugToggleSection.d.ts +13 -0
  44. package/dist/features/chat/components/MessageBubble.d.ts +8 -0
  45. package/dist/features/chat/components/MessageList.d.ts +7 -0
  46. package/dist/features/chat/hooks/useChatApi.d.ts +6 -0
  47. package/dist/features/chat/hooks/useDebugExports.d.ts +11 -0
  48. package/dist/features/chat/hooks/useExamplePrompts.d.ts +7 -0
  49. package/dist/features/chat/hooks/useResetHandlers.d.ts +8 -0
  50. package/dist/features/chat/index.d.ts +9 -0
  51. package/dist/features/chat/stores/conversationStore.d.ts +10 -0
  52. package/dist/features/chat/stores/conversationStore.test.d.ts +1 -0
  53. package/dist/features/dashboard/components/DashboardCard.d.ts +9 -0
  54. package/dist/features/dashboard/components/DashboardPanel.d.ts +1 -0
  55. package/dist/features/dashboard/components/DataCounts.d.ts +1 -0
  56. package/dist/features/dashboard/components/DownloadButton.d.ts +1 -0
  57. package/dist/features/dashboard/components/FilterToolbar.d.ts +1 -0
  58. package/dist/features/dashboard/components/VizTweakComponent.d.ts +8 -0
  59. package/dist/features/dashboard/components/VizTweakComponent.types.d.ts +20 -0
  60. package/dist/features/dashboard/components/WelcomeSplash.d.ts +1 -0
  61. package/dist/features/dashboard/index.d.ts +10 -0
  62. package/dist/features/dashboard/stores/dashboardStore.d.ts +70 -0
  63. package/dist/features/dashboard/stores/dashboardStore.test.d.ts +1 -0
  64. package/dist/features/dashboard/stores/dataFiltersStore.d.ts +34 -0
  65. package/dist/features/dashboard/stores/dataFiltersStore.test.d.ts +1 -0
  66. package/dist/features/dashboard/stores/memoryBankStore.d.ts +8 -0
  67. package/dist/features/dashboard/stores/memoryBankStore.test.d.ts +1 -0
  68. package/dist/features/dashboard/stores/selectionsStore.d.ts +7 -0
  69. package/dist/features/dashboard/stores/selectionsStore.test.d.ts +1 -0
  70. package/dist/features/data-package/index.d.ts +7 -0
  71. package/dist/features/data-package/stores/dataPackageStore.d.ts +25 -0
  72. package/dist/features/data-package/stores/dataPackageStore.test.d.ts +1 -0
  73. package/dist/features/data-package/types.d.ts +27 -0
  74. package/dist/features/data-package/utils/joinDataPath.d.ts +7 -0
  75. package/dist/features/data-package/utils/joinDataPath.test.d.ts +1 -0
  76. package/dist/features/data-package/utils/structuredTextParser.d.ts +7 -0
  77. package/dist/features/data-package/utils/structuredTextParser.test.d.ts +1 -0
  78. package/dist/features/data-package/workers/domainWorker.d.ts +13 -0
  79. package/dist/features/tool-calls/components/ClarifyVariable.d.ts +6 -0
  80. package/dist/features/tool-calls/components/FilterComponent.d.ts +9 -0
  81. package/dist/features/tool-calls/components/FreeTextExplain.d.ts +2 -0
  82. package/dist/features/tool-calls/components/IntervalFilterComponent.d.ts +9 -0
  83. package/dist/features/tool-calls/components/PointFilterComponent.d.ts +8 -0
  84. package/dist/features/tool-calls/components/RebuffNotice.d.ts +7 -0
  85. package/dist/features/tool-calls/components/ToolCallRenderer.d.ts +11 -0
  86. package/dist/features/tool-calls/components/VisualizationCard.d.ts +10 -0
  87. package/dist/features/tool-calls/index.d.ts +6 -0
  88. package/dist/features/tool-calls/types.d.ts +52 -0
  89. package/dist/icons.svg +24 -0
  90. package/dist/images/yac-mascot.svg +22 -0
  91. package/dist/index.d.ts +5 -0
  92. package/dist/lib/utils.d.ts +2 -0
  93. package/dist/stores/globalStore.d.ts +6 -0
  94. package/dist/stores/globalStore.test.d.ts +1 -0
  95. package/dist/test/setup.d.ts +0 -0
  96. package/dist/types/dataPackage.d.ts +64 -0
  97. package/dist/types/messages.d.ts +24 -0
  98. package/dist/udi-yac.css +3 -0
  99. package/dist/udi-yac.js +25877 -0
  100. package/dist/utils/specMutations.d.ts +45 -0
  101. package/dist/utils/specMutations.test.d.ts +1 -0
  102. package/package.json +110 -0
@@ -0,0 +1,7 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "default" | "link" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<'span'> & VariantProps<typeof badgeVariants>): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
7
+ export { Badge, badgeVariants };
@@ -0,0 +1,8 @@
1
+ import { Button as ButtonPrimitive } from '@base-ui/react/button';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "default" | "link" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
5
+ size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ declare function Button({ className, variant, size, ...props }: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>): import("react/jsx-runtime").JSX.Element;
8
+ export { Button, buttonVariants };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ declare function Card({ className, size, ...props }: React.ComponentProps<'div'> & {
3
+ size?: 'default' | 'sm';
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
9
+ declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
10
+ declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
11
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };
@@ -0,0 +1,3 @@
1
+ import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox';
2
+ declare function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ export { Checkbox };
@@ -0,0 +1,17 @@
1
+ import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
2
+ import * as React from 'react';
3
+ declare function Dialog({ ...props }: DialogPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function DialogTrigger({ ...props }: DialogPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function DialogPortal({ ...props }: DialogPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogClose({ ...props }: DialogPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogOverlay({ className, ...props }: DialogPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogContent({ className, children, showCloseButton, ...props }: DialogPrimitive.Popup.Props & {
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<'div'> & {
13
+ showCloseButton?: boolean;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): import("react/jsx-runtime").JSX.Element;
16
+ declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
17
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -0,0 +1,29 @@
1
+ import { Menu as MenuPrimitive } from '@base-ui/react/menu';
2
+ import * as React from 'react';
3
+ declare function DropdownMenu({ ...props }: MenuPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
8
+ declare function DropdownMenuLabel({ className, inset, ...props }: MenuPrimitive.GroupLabel.Props & {
9
+ inset?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: MenuPrimitive.Item.Props & {
12
+ inset?: boolean;
13
+ variant?: 'default' | 'destructive';
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props): import("react/jsx-runtime").JSX.Element;
16
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: MenuPrimitive.SubmenuTrigger.Props & {
17
+ inset?: boolean;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
+ declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React.ComponentProps<typeof DropdownMenuContent>): import("react/jsx-runtime").JSX.Element;
20
+ declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: MenuPrimitive.CheckboxItem.Props & {
21
+ inset?: boolean;
22
+ }): import("react/jsx-runtime").JSX.Element;
23
+ declare function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props): import("react/jsx-runtime").JSX.Element;
24
+ declare function DropdownMenuRadioItem({ className, children, inset, ...props }: MenuPrimitive.RadioItem.Props & {
25
+ inset?: boolean;
26
+ }): import("react/jsx-runtime").JSX.Element;
27
+ declare function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
28
+ declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
29
+ export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare function Input({ className, type, ...props }: React.ComponentProps<'input'>): import("react/jsx-runtime").JSX.Element;
3
+ export { Input };
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare function Label({ className, ...props }: React.ComponentProps<'label'>): import("react/jsx-runtime").JSX.Element;
3
+ export { Label };
@@ -0,0 +1,4 @@
1
+ import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
2
+ declare function ScrollArea({ className, children, ...props }: ScrollAreaPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ declare function ScrollBar({ className, orientation, ...props }: ScrollAreaPrimitive.Scrollbar.Props): import("react/jsx-runtime").JSX.Element;
4
+ export { ScrollArea, ScrollBar };
@@ -0,0 +1,15 @@
1
+ import { Select as SelectPrimitive } from '@base-ui/react/select';
2
+ import * as React from 'react';
3
+ declare const Select: typeof SelectPrimitive.Root;
4
+ declare function SelectGroup({ className, ...props }: SelectPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare function SelectTrigger({ className, size, children, ...props }: SelectPrimitive.Trigger.Props & {
7
+ size?: 'sm' | 'default';
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: SelectPrimitive.Popup.Props & Pick<SelectPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'alignItemWithTrigger'>): import("react/jsx-runtime").JSX.Element;
10
+ declare function SelectLabel({ className, ...props }: SelectPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
11
+ declare function SelectItem({ className, children, ...props }: SelectPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
12
+ declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
13
+ declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpArrow>): import("react/jsx-runtime").JSX.Element;
14
+ declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>): import("react/jsx-runtime").JSX.Element;
15
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
@@ -0,0 +1,3 @@
1
+ import { Separator as SeparatorPrimitive } from '@base-ui/react/separator';
2
+ declare function Separator({ className, orientation, ...props }: SeparatorPrimitive.Props): import("react/jsx-runtime").JSX.Element;
3
+ export { Separator };
@@ -0,0 +1,3 @@
1
+ import { Slider as SliderPrimitive } from '@base-ui/react/slider';
2
+ declare function Slider({ className, defaultValue, value, min, max, ...props }: SliderPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ export { Slider };
@@ -0,0 +1,5 @@
1
+ import { Switch as SwitchPrimitive } from '@base-ui/react/switch';
2
+ declare function Switch({ className, size, ...props }: SwitchPrimitive.Root.Props & {
3
+ size?: 'sm' | 'default';
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ export { Switch };
@@ -0,0 +1,10 @@
1
+ import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare function Tabs({ className, orientation, ...props }: TabsPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare const tabsListVariants: (props?: ({
5
+ variant?: "default" | "line" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ declare function TabsList({ className, variant, ...props }: TabsPrimitive.List.Props & VariantProps<typeof tabsListVariants>): import("react/jsx-runtime").JSX.Element;
8
+ declare function TabsTrigger({ className, ...props }: TabsPrimitive.Tab.Props): import("react/jsx-runtime").JSX.Element;
9
+ declare function TabsContent({ className, ...props }: TabsPrimitive.Panel.Props): import("react/jsx-runtime").JSX.Element;
10
+ export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare function Textarea({ className, ...props }: React.ComponentProps<'textarea'>): import("react/jsx-runtime").JSX.Element;
3
+ export { Textarea };
@@ -0,0 +1,6 @@
1
+ import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
2
+ declare function TooltipProvider({ delay, ...props }: TooltipPrimitive.Provider.Props): import("react/jsx-runtime").JSX.Element;
3
+ declare function Tooltip({ ...props }: TooltipPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function TooltipTrigger({ ...props }: TooltipPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipPrimitive.Popup.Props & Pick<TooltipPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): import("react/jsx-runtime").JSX.Element;
6
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };