pxengine 0.1.46 → 0.1.48

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
@@ -1953,6 +1953,11 @@ interface CampaignSeedCardProps extends Omit<FormCardProps, "fields"> {
1953
1953
  * Optional action handler
1954
1954
  */
1955
1955
  onAction?: (action: any) => void;
1956
+ /**
1957
+ * Optional callback to send a message to the agent directly.
1958
+ * When provided, the proceed button calls this instead of relying on onAction.
1959
+ */
1960
+ sendMessage?: (text: string) => void;
1956
1961
  }
1957
1962
 
1958
1963
  /**
@@ -1993,6 +1998,11 @@ interface SearchSpecCardProps extends Omit<FormCardProps, "fields"> {
1993
1998
  * Optional action handler
1994
1999
  */
1995
2000
  onAction?: (action: any) => void;
2001
+ /**
2002
+ * Optional callback to send a message to the agent directly.
2003
+ * When provided, the proceed button calls this instead of relying on onAction.
2004
+ */
2005
+ sendMessage?: (text: string) => void;
1996
2006
  }
1997
2007
 
1998
2008
  /**
@@ -2079,18 +2089,47 @@ interface MCQCardProps {
2079
2089
  * Whether the interaction is disabled externally
2080
2090
  */
2081
2091
  disabled?: boolean;
2092
+ /**
2093
+ * Session ID for self-contained persistence.
2094
+ * When provided with sendMessage, MCQCard handles its own state.
2095
+ */
2096
+ sessionId?: string;
2097
+ /**
2098
+ * Callback to send a message to the agent.
2099
+ * Called after user confirms selection.
2100
+ */
2101
+ sendMessage?: (text: string) => void;
2102
+ /**
2103
+ * Custom fetcher for loading existing selections.
2104
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections/get
2105
+ */
2106
+ fetchSelections?: (sessionId: string) => Promise<Record<string, string>>;
2107
+ /**
2108
+ * Custom fetcher for persisting a selection.
2109
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections
2110
+ */
2111
+ persistSelection?: (sessionId: string, questionKey: string, value: string) => Promise<void>;
2082
2112
  }
2083
2113
 
2084
2114
  /**
2085
2115
  * MCQCard
2086
2116
  *
2087
2117
  * A molecule for Multiple Choice Questions.
2088
- * Styled to match OptionsRenderer from creator-engine
2118
+ * Self-contained: when `sessionId` + `sendMessage` are provided,
2119
+ * it manages its own persistence and agent communication.
2089
2120
  */
2090
2121
  declare const MCQCard: React__default.NamedExoticComponent<MCQCardProps & {
2091
2122
  disableContinueInDiscovery?: boolean;
2092
2123
  }>;
2093
2124
 
2125
+ /**
2126
+ * Default fetchers for MCQCard self-contained mode.
2127
+ * These hit relative API URLs via the agents-proxy, matching the
2128
+ * endpoints in server/api/custom_agents/state.py.
2129
+ */
2130
+ declare function defaultFetchSelections(sessionId: string): Promise<Record<string, string>>;
2131
+ declare function defaultPersistSelection(sessionId: string, questionKey: string, value: string): Promise<void>;
2132
+
2094
2133
  /**
2095
2134
  * PlatformIconGroup
2096
2135
  * Displays a horizontal list of active social platform icons.
@@ -2265,14 +2304,24 @@ interface FetchStatusParams {
2265
2304
  sessionId: string;
2266
2305
  versionNo: number;
2267
2306
  }
2307
+ interface FetchCreatorDetailsParams {
2308
+ creatorIds: number[];
2309
+ sessionId: string;
2310
+ versionNo?: number;
2311
+ }
2312
+ interface CreatorDetailData {
2313
+ success: boolean;
2314
+ creatorData: any[];
2315
+ }
2268
2316
  interface CreatorWidgetProps {
2269
2317
  sessionId: string;
2270
2318
  currentVersion?: number;
2271
2319
  isAgentOutput?: boolean;
2272
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2273
- fetchStatus: (params: FetchStatusParams) => Promise<{
2320
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2321
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2274
2322
  status: StatusDetails;
2275
2323
  }>;
2324
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2276
2325
  pollingConfig?: PollingConfig;
2277
2326
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2278
2327
  onAction?: (action: CreatorWidgetAction) => void;
@@ -2309,22 +2358,33 @@ interface CreatorProgressBarProps {
2309
2358
  timeRemaining?: string;
2310
2359
  }
2311
2360
 
2312
- declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2361
+ declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, fetchCreatorDetails, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2313
2362
  declare const CreatorWidget: React$1.MemoExoticComponent<typeof CreatorWidgetInner>;
2314
2363
 
2315
2364
  declare function CreatorWidgetSkeleton(): react_jsx_runtime.JSX.Element;
2316
2365
 
2366
+ interface CreatorExpandedPanelProps {
2367
+ isOpen: boolean;
2368
+ onClose: () => void;
2369
+ sessionId: string;
2370
+ creatorIds: number[];
2371
+ version?: number;
2372
+ searchSpec: Record<string, any>;
2373
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2374
+ }
2375
+ declare function CreatorExpandedPanel({ isOpen, onClose, sessionId, creatorIds, version, searchSpec, fetchCreatorDetails, }: CreatorExpandedPanelProps): React$1.ReactPortal | null;
2376
+
2317
2377
  interface UseCreatorWidgetPollingParams {
2318
2378
  sessionId: string;
2319
2379
  currentVersion?: number;
2320
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2321
- fetchStatus: (params: FetchStatusParams) => Promise<{
2380
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2381
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2322
2382
  status: StatusDetails;
2323
2383
  }>;
2324
2384
  pollingConfig?: PollingConfig;
2325
2385
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2326
2386
  }
2327
- declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions, fetchStatus, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2387
+ declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions: fetchVersionsProp, fetchStatus: fetchStatusProp, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2328
2388
  versionData: CreatorVersionData | null;
2329
2389
  versionNumbers: number[];
2330
2390
  selectedVersion: number | undefined;
@@ -2441,4 +2501,4 @@ interface StageIndicatorProps extends Omit<StageIndicatorMolecule, "id" | "type"
2441
2501
  */
2442
2502
  declare const StageIndicator: React__default.FC<StageIndicatorProps>;
2443
2503
 
2444
- export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };
2504
+ export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, type CreatorDetailData, CreatorExpandedPanel, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchCreatorDetailsParams, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, defaultFetchSelections, defaultPersistSelection, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };
package/dist/index.d.ts CHANGED
@@ -1953,6 +1953,11 @@ interface CampaignSeedCardProps extends Omit<FormCardProps, "fields"> {
1953
1953
  * Optional action handler
1954
1954
  */
1955
1955
  onAction?: (action: any) => void;
1956
+ /**
1957
+ * Optional callback to send a message to the agent directly.
1958
+ * When provided, the proceed button calls this instead of relying on onAction.
1959
+ */
1960
+ sendMessage?: (text: string) => void;
1956
1961
  }
1957
1962
 
1958
1963
  /**
@@ -1993,6 +1998,11 @@ interface SearchSpecCardProps extends Omit<FormCardProps, "fields"> {
1993
1998
  * Optional action handler
1994
1999
  */
1995
2000
  onAction?: (action: any) => void;
2001
+ /**
2002
+ * Optional callback to send a message to the agent directly.
2003
+ * When provided, the proceed button calls this instead of relying on onAction.
2004
+ */
2005
+ sendMessage?: (text: string) => void;
1996
2006
  }
1997
2007
 
1998
2008
  /**
@@ -2079,18 +2089,47 @@ interface MCQCardProps {
2079
2089
  * Whether the interaction is disabled externally
2080
2090
  */
2081
2091
  disabled?: boolean;
2092
+ /**
2093
+ * Session ID for self-contained persistence.
2094
+ * When provided with sendMessage, MCQCard handles its own state.
2095
+ */
2096
+ sessionId?: string;
2097
+ /**
2098
+ * Callback to send a message to the agent.
2099
+ * Called after user confirms selection.
2100
+ */
2101
+ sendMessage?: (text: string) => void;
2102
+ /**
2103
+ * Custom fetcher for loading existing selections.
2104
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections/get
2105
+ */
2106
+ fetchSelections?: (sessionId: string) => Promise<Record<string, string>>;
2107
+ /**
2108
+ * Custom fetcher for persisting a selection.
2109
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections
2110
+ */
2111
+ persistSelection?: (sessionId: string, questionKey: string, value: string) => Promise<void>;
2082
2112
  }
2083
2113
 
2084
2114
  /**
2085
2115
  * MCQCard
2086
2116
  *
2087
2117
  * A molecule for Multiple Choice Questions.
2088
- * Styled to match OptionsRenderer from creator-engine
2118
+ * Self-contained: when `sessionId` + `sendMessage` are provided,
2119
+ * it manages its own persistence and agent communication.
2089
2120
  */
2090
2121
  declare const MCQCard: React__default.NamedExoticComponent<MCQCardProps & {
2091
2122
  disableContinueInDiscovery?: boolean;
2092
2123
  }>;
2093
2124
 
2125
+ /**
2126
+ * Default fetchers for MCQCard self-contained mode.
2127
+ * These hit relative API URLs via the agents-proxy, matching the
2128
+ * endpoints in server/api/custom_agents/state.py.
2129
+ */
2130
+ declare function defaultFetchSelections(sessionId: string): Promise<Record<string, string>>;
2131
+ declare function defaultPersistSelection(sessionId: string, questionKey: string, value: string): Promise<void>;
2132
+
2094
2133
  /**
2095
2134
  * PlatformIconGroup
2096
2135
  * Displays a horizontal list of active social platform icons.
@@ -2265,14 +2304,24 @@ interface FetchStatusParams {
2265
2304
  sessionId: string;
2266
2305
  versionNo: number;
2267
2306
  }
2307
+ interface FetchCreatorDetailsParams {
2308
+ creatorIds: number[];
2309
+ sessionId: string;
2310
+ versionNo?: number;
2311
+ }
2312
+ interface CreatorDetailData {
2313
+ success: boolean;
2314
+ creatorData: any[];
2315
+ }
2268
2316
  interface CreatorWidgetProps {
2269
2317
  sessionId: string;
2270
2318
  currentVersion?: number;
2271
2319
  isAgentOutput?: boolean;
2272
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2273
- fetchStatus: (params: FetchStatusParams) => Promise<{
2320
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2321
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2274
2322
  status: StatusDetails;
2275
2323
  }>;
2324
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2276
2325
  pollingConfig?: PollingConfig;
2277
2326
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2278
2327
  onAction?: (action: CreatorWidgetAction) => void;
@@ -2309,22 +2358,33 @@ interface CreatorProgressBarProps {
2309
2358
  timeRemaining?: string;
2310
2359
  }
2311
2360
 
2312
- declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2361
+ declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, fetchCreatorDetails, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2313
2362
  declare const CreatorWidget: React$1.MemoExoticComponent<typeof CreatorWidgetInner>;
2314
2363
 
2315
2364
  declare function CreatorWidgetSkeleton(): react_jsx_runtime.JSX.Element;
2316
2365
 
2366
+ interface CreatorExpandedPanelProps {
2367
+ isOpen: boolean;
2368
+ onClose: () => void;
2369
+ sessionId: string;
2370
+ creatorIds: number[];
2371
+ version?: number;
2372
+ searchSpec: Record<string, any>;
2373
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2374
+ }
2375
+ declare function CreatorExpandedPanel({ isOpen, onClose, sessionId, creatorIds, version, searchSpec, fetchCreatorDetails, }: CreatorExpandedPanelProps): React$1.ReactPortal | null;
2376
+
2317
2377
  interface UseCreatorWidgetPollingParams {
2318
2378
  sessionId: string;
2319
2379
  currentVersion?: number;
2320
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2321
- fetchStatus: (params: FetchStatusParams) => Promise<{
2380
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2381
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2322
2382
  status: StatusDetails;
2323
2383
  }>;
2324
2384
  pollingConfig?: PollingConfig;
2325
2385
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2326
2386
  }
2327
- declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions, fetchStatus, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2387
+ declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions: fetchVersionsProp, fetchStatus: fetchStatusProp, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2328
2388
  versionData: CreatorVersionData | null;
2329
2389
  versionNumbers: number[];
2330
2390
  selectedVersion: number | undefined;
@@ -2441,4 +2501,4 @@ interface StageIndicatorProps extends Omit<StageIndicatorMolecule, "id" | "type"
2441
2501
  */
2442
2502
  declare const StageIndicator: React__default.FC<StageIndicatorProps>;
2443
2503
 
2444
- export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };
2504
+ export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, type CreatorDetailData, CreatorExpandedPanel, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchCreatorDetailsParams, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, defaultFetchSelections, defaultPersistSelection, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };