@neuronection/assistant-ui 0.57.0 → 0.59.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.
- package/CHANGELOG.md +19 -0
- package/dist/chunk-3Y6QOTVA.js +270 -0
- package/dist/chunk-3Y6QOTVA.js.map +1 -0
- package/dist/{chunk-FPX3AI3Z.js → chunk-GR6CSKQY.js} +3 -3
- package/dist/{chunk-FPX3AI3Z.js.map → chunk-GR6CSKQY.js.map} +1 -1
- package/dist/{chunk-3YIVKKT6.js → chunk-GUFHUKUA.js} +3 -3
- package/dist/{chunk-3YIVKKT6.js.map → chunk-GUFHUKUA.js.map} +1 -1
- package/dist/chunk-KDILZS2Z.js +3 -0
- package/dist/chunk-KDILZS2Z.js.map +1 -0
- package/dist/{chunk-KV67D3RP.js → chunk-O6BRNGXV.js} +2 -2
- package/dist/{chunk-KV67D3RP.js.map → chunk-O6BRNGXV.js.map} +1 -1
- package/dist/chunk-X6L5T65Q.js +81 -0
- package/dist/chunk-X6L5T65Q.js.map +1 -0
- package/dist/connection-test-row.js +1 -1
- package/dist/index.d.ts +114 -4
- package/dist/index.js +9 -8
- package/dist/model-picker.d.ts +16 -2
- package/dist/model-picker.js +1 -1
- package/dist/model-registry.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/task-assignment-picker.js +1 -1
- package/dist/web-search-providers.d.ts +99 -0
- package/dist/web-search-providers.js +3 -0
- package/dist/web-search-providers.js.map +1 -0
- package/package.json +5 -1
- package/dist/chunk-CCFVDJHU.js +0 -65
- package/dist/chunk-CCFVDJHU.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -466,7 +466,7 @@ interface FlowTelemetryStripProps {
|
|
|
466
466
|
declare const FlowTelemetryStrip: React.ForwardRefExoticComponent<FlowTelemetryStripProps & React.RefAttributes<HTMLDivElement>>;
|
|
467
467
|
|
|
468
468
|
declare const badgeVariants: (props?: ({
|
|
469
|
-
variant?: "
|
|
469
|
+
variant?: "default" | "warning" | "success" | "danger" | "secondary" | "outline" | "ai" | null | undefined;
|
|
470
470
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
471
471
|
interface BadgeProps extends React.ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
|
|
472
472
|
}
|
|
@@ -527,6 +527,102 @@ interface ConnectionTestRowProps {
|
|
|
527
527
|
*/
|
|
528
528
|
declare const ConnectionTestRow: React.ForwardRefExoticComponent<ConnectionTestRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
529
529
|
|
|
530
|
+
type WebSearchProbeStatus = 'ok' | 'unreachable' | 'auth' | 'rate_limit' | 'json_disabled' | 'error';
|
|
531
|
+
interface WebSearchProviderView {
|
|
532
|
+
id: string;
|
|
533
|
+
name: string;
|
|
534
|
+
type: string;
|
|
535
|
+
enabled: boolean;
|
|
536
|
+
baseUrl?: string | null;
|
|
537
|
+
googleCx?: string | null;
|
|
538
|
+
keyHint?: string | null;
|
|
539
|
+
keySet: boolean;
|
|
540
|
+
}
|
|
541
|
+
interface WebSearchProviderCatalogField {
|
|
542
|
+
id: string;
|
|
543
|
+
label: string;
|
|
544
|
+
required: boolean;
|
|
545
|
+
placeholder?: string;
|
|
546
|
+
}
|
|
547
|
+
interface WebSearchProviderCatalogEntry {
|
|
548
|
+
label: string;
|
|
549
|
+
requiresKey: boolean;
|
|
550
|
+
keyUrl?: string | null;
|
|
551
|
+
baseUrl?: string | null;
|
|
552
|
+
baseUrlRequired: boolean;
|
|
553
|
+
baseUrlHint?: string | null;
|
|
554
|
+
notes?: string | null;
|
|
555
|
+
fields?: WebSearchProviderCatalogField[];
|
|
556
|
+
}
|
|
557
|
+
interface WebSearchProviderCatalog {
|
|
558
|
+
/** Rendering + form order for provider types. */
|
|
559
|
+
order: string[];
|
|
560
|
+
entries: Record<string, WebSearchProviderCatalogEntry>;
|
|
561
|
+
}
|
|
562
|
+
interface WebSearchProviderSaveInput {
|
|
563
|
+
/** Absent = create. */
|
|
564
|
+
id?: string;
|
|
565
|
+
type: string;
|
|
566
|
+
name?: string | null;
|
|
567
|
+
baseUrl?: string | null;
|
|
568
|
+
googleCx?: string | null;
|
|
569
|
+
/** `null` keeps the stored key, a value stores it. */
|
|
570
|
+
apiKey?: string | null;
|
|
571
|
+
}
|
|
572
|
+
interface WebSearchProviderProbeView {
|
|
573
|
+
status: WebSearchProbeStatus;
|
|
574
|
+
latencyMs?: number | null;
|
|
575
|
+
error?: string | null;
|
|
576
|
+
}
|
|
577
|
+
interface WebSearchProvidersPanelLabels {
|
|
578
|
+
title?: string;
|
|
579
|
+
hint?: string;
|
|
580
|
+
addLabel?: string;
|
|
581
|
+
emptyLabel?: string;
|
|
582
|
+
nameLabel?: string;
|
|
583
|
+
typeLabel?: string;
|
|
584
|
+
baseUrlLabel?: string;
|
|
585
|
+
baseUrlRequiredLabel?: string;
|
|
586
|
+
keyLabel?: string;
|
|
587
|
+
keyOptionalLabel?: string;
|
|
588
|
+
keyStoredLabel?: string;
|
|
589
|
+
noKeyLabel?: string;
|
|
590
|
+
saveLabel?: string;
|
|
591
|
+
cancelLabel?: string;
|
|
592
|
+
editLabel?: string;
|
|
593
|
+
deleteLabel?: string;
|
|
594
|
+
moveUpLabel?: string;
|
|
595
|
+
moveDownLabel?: string;
|
|
596
|
+
enabledAriaLabel?: string;
|
|
597
|
+
disabledBadge?: string;
|
|
598
|
+
testLabel?: string;
|
|
599
|
+
probeLabels?: Partial<Record<WebSearchProbeStatus, string>>;
|
|
600
|
+
}
|
|
601
|
+
interface WebSearchProvidersPanelProps {
|
|
602
|
+
providers: WebSearchProviderView[];
|
|
603
|
+
catalog: WebSearchProviderCatalog;
|
|
604
|
+
/** Connection probes keyed by provider id. */
|
|
605
|
+
probes?: Record<string, WebSearchProviderProbeView>;
|
|
606
|
+
/** Id currently mid-test (shows the testing spinner). */
|
|
607
|
+
testingId?: string | null;
|
|
608
|
+
busy?: boolean;
|
|
609
|
+
labels?: WebSearchProvidersPanelLabels;
|
|
610
|
+
onSave: (input: WebSearchProviderSaveInput) => void;
|
|
611
|
+
onDelete: (id: string) => void;
|
|
612
|
+
onMove: (id: string, direction: 'up' | 'down') => void;
|
|
613
|
+
onToggle: (id: string, enabled: boolean) => void;
|
|
614
|
+
onTest: (id: string) => void;
|
|
615
|
+
className?: string;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* Presentational ordered web-search provider list (ADR-0035 family shape):
|
|
619
|
+
* enable/reorder/test/edit/delete rows plus a catalog-driven add/edit form.
|
|
620
|
+
* Fully controlled — persistence, keys and probes are app-side; the panel
|
|
621
|
+
* renders and emits. The first enabled provider that answers wins is the
|
|
622
|
+
* family's fallback semantics, surfaced here by row order.
|
|
623
|
+
*/
|
|
624
|
+
declare const WebSearchProvidersPanel: React.ForwardRefExoticComponent<WebSearchProvidersPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
625
|
+
|
|
530
626
|
/** One entry of the app's provider catalog (ADR-006: the catalog lives in
|
|
531
627
|
* the app/backend — the form only renders the picker and reports the key). */
|
|
532
628
|
interface ProviderPresetOption {
|
|
@@ -1514,10 +1610,9 @@ interface ModelPickerProvider {
|
|
|
1514
1610
|
name: string;
|
|
1515
1611
|
models: ModelPickerModel[];
|
|
1516
1612
|
}
|
|
1517
|
-
interface
|
|
1613
|
+
interface ModelPickerBaseProps {
|
|
1518
1614
|
providers: ModelPickerProvider[];
|
|
1519
1615
|
value?: string;
|
|
1520
|
-
onChange: (modelId: string) => void;
|
|
1521
1616
|
placeholder?: string;
|
|
1522
1617
|
searchPlaceholder?: string;
|
|
1523
1618
|
searchLabel?: string;
|
|
@@ -1534,6 +1629,21 @@ interface ModelPickerProps {
|
|
|
1534
1629
|
className?: string;
|
|
1535
1630
|
panelClassName?: string;
|
|
1536
1631
|
}
|
|
1632
|
+
/**
|
|
1633
|
+
* Discriminated on `nullOption` (plan 29 / ADR-0036): with the labeled
|
|
1634
|
+
* null option set, the option list leads with it and `onChange` receives
|
|
1635
|
+
* `null` when it is chosen (the inherit state). Without it the contract
|
|
1636
|
+
* is unchanged — `onChange` only ever receives model ids.
|
|
1637
|
+
*/
|
|
1638
|
+
type ModelPickerProps = ModelPickerBaseProps & ({
|
|
1639
|
+
nullOption?: undefined;
|
|
1640
|
+
onChange: (modelId: string) => void;
|
|
1641
|
+
} | {
|
|
1642
|
+
nullOption: {
|
|
1643
|
+
label: string;
|
|
1644
|
+
};
|
|
1645
|
+
onChange: (modelId: string | null) => void;
|
|
1646
|
+
});
|
|
1537
1647
|
/**
|
|
1538
1648
|
* Grouped, searchable provider → model picker. Presentational: the model
|
|
1539
1649
|
* list comes in via props, selection goes out via `onChange`.
|
|
@@ -3730,4 +3840,4 @@ interface ChatLauncherProps {
|
|
|
3730
3840
|
*/
|
|
3731
3841
|
declare const ChatLauncher: React.ForwardRefExoticComponent<ChatLauncherProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3732
3842
|
|
|
3733
|
-
export { AboutCard, type AboutCardProps, type AboutCreator, AboutFooterLine, type AboutFooterLineProps, type AboutLicense, type AboutLinkItem, AboutLinkList, type AboutLinkListProps, AboutNote, type AboutNoteContent, type AboutNoteProps, AboutPanel, type AboutPanelProps, type AboutSponsorContent, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AdminUser, type AdminUserPatch, AdminUserTable, type AdminUserTableIcons, type AdminUserTableLabels, type AdminUserTableProps, type AiAction, AiActionsDropdown, type AiActionsDropdownProps, AiButton, type AiButtonProps, AiMagicFill, type AiMagicFillProps, type AiTextTransformEventHandlers, type AiTextTransformStatus, type AiTextTransformTransport, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateStatus, Badge, type BadgeProps, type BranchNode, type BranchNodeInput, type BranchTree, type BreadcrumbItem, type BreadcrumbLinkProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CUSTOM_PRESET_KEY, CapabilityChips, type CapabilityChipsProps, type CapabilityDescriptor, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CareerMark, type ChatAttachmentView, ChatBranchTree, type ChatBranchTreeIcons, type ChatBranchTreeLabels, type ChatBranchTreeNode, type ChatBranchTreeProps, ChatComposer, type ChatComposerIcons, type ChatComposerLabels, type ChatComposerProps, ChatDrawer, type ChatDrawerProps, type ChatError, type ChatExportMessage, type ChatExportOptions, ChatHistoryButton, type ChatHistoryButtonLabels, type ChatHistoryButtonProps, ChatLauncher, type ChatLauncherProps, ChatMessage, type ChatMessageAction, type ChatMessageActions, ChatMessageEditor, type ChatMessageEditorLabels, type ChatMessageEditorProps, type ChatMessageLabels, type ChatMessageProps, type ChatMessageStatus, type ChatMessageVariants, type ChatMessageView, ChatPanel, type ChatPanelProps, type ChatPanelVariant, ChatPending, type ChatPendingProps, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSearchField, type ChatSearchFieldLabels, type ChatSearchFieldProps, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, ChatSuggestionCard, type ChatSuggestionCardProps, ChatToolCard, type ChatToolCardLabels, type ChatToolCardProps, type ChatToolCatalogArgument, type ChatToolCatalogEntry, ChatToolsCatalog, type ChatToolsCatalogLabels, type ChatToolsCatalogProps, ChatTraceMeta, type ChatTraceMetaProps, ChatTraceTimeline, type ChatTraceTimelineEntry, type ChatTraceTimelineLabels, type ChatTraceTimelineProps, type ChatTraceTimelineTrace, ChatTranscript, type ChatTranscriptLabels, type ChatTranscriptProps, ChatTurnStatus, type ChatTurnStatusLabels, type ChatTurnStatusProps, ChatWelcome, type ChatWelcomeProps, CheckIndicator, type CheckIndicatorProps, ChipInput, type ChipInputProps, ChipList, type ChipListProps, type ChipVariant, Combobox, ComboboxMulti, type ComboboxMultiProps, type ComboboxOption, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, ConnectionTestRow, type ConnectionTestRowProps, type ConnectionTestStatus, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, DEFAULT_SETUP_ERROR_COPY, DatePicker, type DatePickerProps, DesktopMark, DictationButton, type DictationButtonProps, type DictationError, type DictationResult, type DictationStatus, DictationStrip, type DictationStripLabels, type DictationStripProps, type DiffCell, type DiffRow, type DiffSegment, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, ExpandableSearch, type ExpandableSearchProps, type FamilyApp, FamilyBadge, type FamilyBadgeProps, type FamilyCreator, type FamilyMember, FieldDiff, type FieldDiffLabels, type FieldDiffProps, type FieldDiffValue, FieldLabel, type FieldLabelProps, FieldSummary, type FieldSummaryProps, FileCard, type FileCardProps, type FileCardStatus, FileQueue, type FileQueueItem, type FileQueueProps, type FlowError, FlowStatusCard, type FlowStatusCardProps, type FlowStep, type FlowStepInfo, type FlowStepStatus, FlowTelemetryStrip, type FlowTelemetryStripProps, type FlowTrace, type FlowTraceCall, FlowTraceCard, type FlowTraceCardLabels, type FlowTraceCardProps, type FlowTraceStage, type FlowTraceToolOp, FormModal, type FormModalProps, HealthMark, type HitlProposalAction, HitlProposalCard, type HitlProposalCardLabels, type HitlProposalCardProps, type HitlProposalStatus, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardTrigger, InfoButton, type InfoButtonProps, InfoTooltip, type InfoTooltipProps, Input, type InputProps, type InstanceAuthMode, InstanceModeControl, type InstanceModeControlIcons, type InstanceModeControlLabels, type InstanceModeControlProps, type LineDiffOptions, type LineDiffResult, type LiveNodeState, type LiveToolCall, type LiveTurnAction, type LiveTurnState, type LiveTurnStatus, LoginForm, type LoginFormFieldOverrides, type LoginFormFields, type LoginFormIcons, type LoginFormLabels, type LoginFormProps, type LogoProps, type LogoTheme, MarkdownCodeBlock, type MarkdownCodeBlockLabels, type MarkdownCodeBlockProps, type MarkdownComponents, MarkdownDiffView, type MarkdownDiffViewLabels, type MarkdownDiffViewProps, MarkdownSurface, type MarkdownSurfaceProps, MarqueeBand, type MarqueePhase, type MarqueeSelection, MarqueeSurface, type MarqueeSurfaceProps, Menu, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, MenuGroup, MenuItem, type MenuItemProps, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, MermaidDiagram, type MermaidDiagramProps, MessageVariantSwitcher, type MessageVariantSwitcherLabels, type MessageVariantSwitcherProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, ModelPicker, type ModelPickerModel, type ModelPickerProps, type ModelPickerProvider, ModelRegistry, type ModelRegistryDraft, type ModelRegistryModel, type ModelRegistryPatch, type ModelRegistryProps, type ModelRegistryProvider, type ModelRegistryRemoteModel, type ModelRegistryRemoteState, type NavChild, type NavItem, NeuronectionMark, NeuronectionWordmark, type NeuronectionWordmarkProps, PanelModal, type PanelModalProps, Popover, PopoverAnchor, PopoverButton, type PopoverButtonProps, PopoverClose, PopoverContent, PopoverTrigger, Portal, type PortalProps, type ProfileItem, ProfileSwitcher, type ProfileSwitcherIcons, type ProfileSwitcherLabels, type ProfileSwitcherProps, ProviderForm, type ProviderFormProps, ProviderLogo, type ProviderLogoProps, type ProviderPresetOption, ProviderSetupForm, type ProviderSetupFormError, type ProviderSetupFormPreset, type ProviderSetupFormProps, type ProviderSetupFormValue, ProviderSetupManualTile, type ProviderSetupTileChip, type ProviderSetupTileData, ProviderSetupTiles, type ProviderSetupTilesProps, RangeBar, type RangeBarProps, type Rect, RegisterForm, type RegisterFormFieldOverrides, type RegisterFormFields, type RegisterFormIcons, type RegisterFormLabels, type RegisterFormProps, RichTextEditor, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextToolbarGroup, SETUP_ERROR_CODES, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, type SetupErrorCode, SetupFirstRunCard, type SetupFirstRunCardProps, SetupReview, type SetupReviewModel, type SetupReviewOptions, type SetupReviewOptionsKey, type SetupReviewProps, type SetupReviewSlot, SidebarNav, type SidebarNavLabels, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, SponsorCard, type SponsorCardProps, type SponsorChannel, Stepper, type StepperProps, type StepperStep, StudyMark, SwitchRow, type SwitchRowProps, Table, type TableProps, TaskAssignmentPicker, type TaskAssignmentPickerProps, type TaskAssignmentSection, type TaskAssignmentTask, TechChips, type TechChipsProps, TextDiffView, type TextDiffViewLabels, type TextDiffViewProps, ThemeScope, type ThemeScopeProps, ThemeTokens, TimeList, type TimeListProps, TimePicker, TimePickerContent, type TimePickerContentProps, type TimePickerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UndoNotice, type UndoNoticeProps, type UnitDiffOptions, UploadDropzone, type UploadDropzoneProps, type UseAiTextTransformOptions, type UseChatStreamOptions, type UseChatStreamResult, type UseDictationOptions, type UseMarqueeOptions, UserMenu, type UserMenuIcons, type UserMenuItem, type UserMenuLanguage, type UserMenuProps, type UserMenuStatus, type UserMenuStatusTone, type UserMenuTheme, type UserMenuUser, ViewToggle, type ViewToggleProps, type ViewToggleView, Wizard, type WizardContext, type WizardProps, type WizardStep, activePathSet, badgeVariants, buildBranchTree, buildChatMarkdown, buttonVariants, chatExportFileName, cn, computeLineDiff, computeUnitDiff, describeAdminUserError, describeInstanceModeError, downloadChatMarkdown, formatBytes, formatFlowLatency, hitTestIds, initialLiveTurnState, linearTree, liveTurnReducer, marqueeRect, modalContentVariants, rectsIntersect, scaleColorForValue, splitMarkdownBlocks, useAiTextTransform, useChatStream, useDictation, useLogoId, useMarquee, variantInfo, walkActivePath, wordSegments };
|
|
3843
|
+
export { AboutCard, type AboutCardProps, type AboutCreator, AboutFooterLine, type AboutFooterLineProps, type AboutLicense, type AboutLinkItem, AboutLinkList, type AboutLinkListProps, AboutNote, type AboutNoteContent, type AboutNoteProps, AboutPanel, type AboutPanelProps, type AboutSponsorContent, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AdminUser, type AdminUserPatch, AdminUserTable, type AdminUserTableIcons, type AdminUserTableLabels, type AdminUserTableProps, type AiAction, AiActionsDropdown, type AiActionsDropdownProps, AiButton, type AiButtonProps, AiMagicFill, type AiMagicFillProps, type AiTextTransformEventHandlers, type AiTextTransformStatus, type AiTextTransformTransport, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateStatus, Badge, type BadgeProps, type BranchNode, type BranchNodeInput, type BranchTree, type BreadcrumbItem, type BreadcrumbLinkProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CUSTOM_PRESET_KEY, CapabilityChips, type CapabilityChipsProps, type CapabilityDescriptor, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CareerMark, type ChatAttachmentView, ChatBranchTree, type ChatBranchTreeIcons, type ChatBranchTreeLabels, type ChatBranchTreeNode, type ChatBranchTreeProps, ChatComposer, type ChatComposerIcons, type ChatComposerLabels, type ChatComposerProps, ChatDrawer, type ChatDrawerProps, type ChatError, type ChatExportMessage, type ChatExportOptions, ChatHistoryButton, type ChatHistoryButtonLabels, type ChatHistoryButtonProps, ChatLauncher, type ChatLauncherProps, ChatMessage, type ChatMessageAction, type ChatMessageActions, ChatMessageEditor, type ChatMessageEditorLabels, type ChatMessageEditorProps, type ChatMessageLabels, type ChatMessageProps, type ChatMessageStatus, type ChatMessageVariants, type ChatMessageView, ChatPanel, type ChatPanelProps, type ChatPanelVariant, ChatPending, type ChatPendingProps, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSearchField, type ChatSearchFieldLabels, type ChatSearchFieldProps, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, ChatSuggestionCard, type ChatSuggestionCardProps, ChatToolCard, type ChatToolCardLabels, type ChatToolCardProps, type ChatToolCatalogArgument, type ChatToolCatalogEntry, ChatToolsCatalog, type ChatToolsCatalogLabels, type ChatToolsCatalogProps, ChatTraceMeta, type ChatTraceMetaProps, ChatTraceTimeline, type ChatTraceTimelineEntry, type ChatTraceTimelineLabels, type ChatTraceTimelineProps, type ChatTraceTimelineTrace, ChatTranscript, type ChatTranscriptLabels, type ChatTranscriptProps, ChatTurnStatus, type ChatTurnStatusLabels, type ChatTurnStatusProps, ChatWelcome, type ChatWelcomeProps, CheckIndicator, type CheckIndicatorProps, ChipInput, type ChipInputProps, ChipList, type ChipListProps, type ChipVariant, Combobox, ComboboxMulti, type ComboboxMultiProps, type ComboboxOption, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, ConnectionTestRow, type ConnectionTestRowProps, type ConnectionTestStatus, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, DEFAULT_SETUP_ERROR_COPY, DatePicker, type DatePickerProps, DesktopMark, DictationButton, type DictationButtonProps, type DictationError, type DictationResult, type DictationStatus, DictationStrip, type DictationStripLabels, type DictationStripProps, type DiffCell, type DiffRow, type DiffSegment, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, ExpandableSearch, type ExpandableSearchProps, type FamilyApp, FamilyBadge, type FamilyBadgeProps, type FamilyCreator, type FamilyMember, FieldDiff, type FieldDiffLabels, type FieldDiffProps, type FieldDiffValue, FieldLabel, type FieldLabelProps, FieldSummary, type FieldSummaryProps, FileCard, type FileCardProps, type FileCardStatus, FileQueue, type FileQueueItem, type FileQueueProps, type FlowError, FlowStatusCard, type FlowStatusCardProps, type FlowStep, type FlowStepInfo, type FlowStepStatus, FlowTelemetryStrip, type FlowTelemetryStripProps, type FlowTrace, type FlowTraceCall, FlowTraceCard, type FlowTraceCardLabels, type FlowTraceCardProps, type FlowTraceStage, type FlowTraceToolOp, FormModal, type FormModalProps, HealthMark, type HitlProposalAction, HitlProposalCard, type HitlProposalCardLabels, type HitlProposalCardProps, type HitlProposalStatus, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardTrigger, InfoButton, type InfoButtonProps, InfoTooltip, type InfoTooltipProps, Input, type InputProps, type InstanceAuthMode, InstanceModeControl, type InstanceModeControlIcons, type InstanceModeControlLabels, type InstanceModeControlProps, type LineDiffOptions, type LineDiffResult, type LiveNodeState, type LiveToolCall, type LiveTurnAction, type LiveTurnState, type LiveTurnStatus, LoginForm, type LoginFormFieldOverrides, type LoginFormFields, type LoginFormIcons, type LoginFormLabels, type LoginFormProps, type LogoProps, type LogoTheme, MarkdownCodeBlock, type MarkdownCodeBlockLabels, type MarkdownCodeBlockProps, type MarkdownComponents, MarkdownDiffView, type MarkdownDiffViewLabels, type MarkdownDiffViewProps, MarkdownSurface, type MarkdownSurfaceProps, MarqueeBand, type MarqueePhase, type MarqueeSelection, MarqueeSurface, type MarqueeSurfaceProps, Menu, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, MenuGroup, MenuItem, type MenuItemProps, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, MermaidDiagram, type MermaidDiagramProps, MessageVariantSwitcher, type MessageVariantSwitcherLabels, type MessageVariantSwitcherProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, ModelPicker, type ModelPickerModel, type ModelPickerProps, type ModelPickerProvider, ModelRegistry, type ModelRegistryDraft, type ModelRegistryModel, type ModelRegistryPatch, type ModelRegistryProps, type ModelRegistryProvider, type ModelRegistryRemoteModel, type ModelRegistryRemoteState, type NavChild, type NavItem, NeuronectionMark, NeuronectionWordmark, type NeuronectionWordmarkProps, PanelModal, type PanelModalProps, Popover, PopoverAnchor, PopoverButton, type PopoverButtonProps, PopoverClose, PopoverContent, PopoverTrigger, Portal, type PortalProps, type ProfileItem, ProfileSwitcher, type ProfileSwitcherIcons, type ProfileSwitcherLabels, type ProfileSwitcherProps, ProviderForm, type ProviderFormProps, ProviderLogo, type ProviderLogoProps, type ProviderPresetOption, ProviderSetupForm, type ProviderSetupFormError, type ProviderSetupFormPreset, type ProviderSetupFormProps, type ProviderSetupFormValue, ProviderSetupManualTile, type ProviderSetupTileChip, type ProviderSetupTileData, ProviderSetupTiles, type ProviderSetupTilesProps, RangeBar, type RangeBarProps, type Rect, RegisterForm, type RegisterFormFieldOverrides, type RegisterFormFields, type RegisterFormIcons, type RegisterFormLabels, type RegisterFormProps, RichTextEditor, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextToolbarGroup, SETUP_ERROR_CODES, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, type SetupErrorCode, SetupFirstRunCard, type SetupFirstRunCardProps, SetupReview, type SetupReviewModel, type SetupReviewOptions, type SetupReviewOptionsKey, type SetupReviewProps, type SetupReviewSlot, SidebarNav, type SidebarNavLabels, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, SponsorCard, type SponsorCardProps, type SponsorChannel, Stepper, type StepperProps, type StepperStep, StudyMark, SwitchRow, type SwitchRowProps, Table, type TableProps, TaskAssignmentPicker, type TaskAssignmentPickerProps, type TaskAssignmentSection, type TaskAssignmentTask, TechChips, type TechChipsProps, TextDiffView, type TextDiffViewLabels, type TextDiffViewProps, ThemeScope, type ThemeScopeProps, ThemeTokens, TimeList, type TimeListProps, TimePicker, TimePickerContent, type TimePickerContentProps, type TimePickerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UndoNotice, type UndoNoticeProps, type UnitDiffOptions, UploadDropzone, type UploadDropzoneProps, type UseAiTextTransformOptions, type UseChatStreamOptions, type UseChatStreamResult, type UseDictationOptions, type UseMarqueeOptions, UserMenu, type UserMenuIcons, type UserMenuItem, type UserMenuLanguage, type UserMenuProps, type UserMenuStatus, type UserMenuStatusTone, type UserMenuTheme, type UserMenuUser, ViewToggle, type ViewToggleProps, type ViewToggleView, type WebSearchProbeStatus, type WebSearchProviderCatalog, type WebSearchProviderCatalogEntry, type WebSearchProviderCatalogField, type WebSearchProviderProbeView, type WebSearchProviderSaveInput, type WebSearchProviderView, WebSearchProvidersPanel, type WebSearchProvidersPanelLabels, type WebSearchProvidersPanelProps, Wizard, type WizardContext, type WizardProps, type WizardStep, activePathSet, badgeVariants, buildBranchTree, buildChatMarkdown, buttonVariants, chatExportFileName, cn, computeLineDiff, computeUnitDiff, describeAdminUserError, describeInstanceModeError, downloadChatMarkdown, formatBytes, formatFlowLatency, hitTestIds, initialLiveTurnState, linearTree, liveTurnReducer, marqueeRect, modalContentVariants, rectsIntersect, scaleColorForValue, splitMarkdownBlocks, useAiTextTransform, useChatStream, useDictation, useLogoId, useMarquee, variantInfo, walkActivePath, wordSegments };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export { ViewToggle } from './chunk-XZIJIGEB.js';
|
|
1
2
|
export { Stepper, Wizard } from './chunk-ZNVWHGKM.js';
|
|
3
|
+
export { SettingsShell } from './chunk-YPDIA54W.js';
|
|
2
4
|
export { SidebarNav } from './chunk-VAUB5TDF.js';
|
|
3
5
|
export { UserMenu } from './chunk-CYK3ZLAB.js';
|
|
4
6
|
export { ThemeScope } from './chunk-TGU3PKNM.js';
|
|
@@ -6,18 +8,16 @@ export { TimeList } from './chunk-67W2OLOQ.js';
|
|
|
6
8
|
export { TimePicker, TimePickerContent } from './chunk-WQ5MPOYG.js';
|
|
7
9
|
export { InfoTooltip, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-NDZ22QGX.js';
|
|
8
10
|
export { UndoNotice } from './chunk-AT32ANZW.js';
|
|
9
|
-
export {
|
|
11
|
+
export { ModelRegistry } from './chunk-GR6CSKQY.js';
|
|
10
12
|
export { SegmentedTabs } from './chunk-5IEBIDXQ.js';
|
|
11
13
|
export { SelectionBar } from './chunk-LXKRUJIS.js';
|
|
12
14
|
export { Skeleton, SkeletonText } from './chunk-4OJXAFGA.js';
|
|
13
15
|
export { HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger } from './chunk-PNYJ5VX2.js';
|
|
14
16
|
export { Table } from './chunk-53JFRZAO.js';
|
|
15
|
-
export { TaskAssignmentPicker } from './chunk-
|
|
16
|
-
export { SettingsShell } from './chunk-YPDIA54W.js';
|
|
17
|
+
export { TaskAssignmentPicker } from './chunk-GUFHUKUA.js';
|
|
17
18
|
export { RangeBar } from './chunk-3UDWLHLD.js';
|
|
18
19
|
export { ScaleSlider, scaleColorForValue } from './chunk-NLHODVBI.js';
|
|
19
20
|
export { SearchInput } from './chunk-UUIMMMSJ.js';
|
|
20
|
-
export { ModelRegistry } from './chunk-FPX3AI3Z.js';
|
|
21
21
|
export { ProfileSwitcher } from './chunk-6ANLDUGL.js';
|
|
22
22
|
export { CUSTOM_PRESET_KEY, ProviderForm } from './chunk-UMI4M4MF.js';
|
|
23
23
|
export { DEFAULT_SETUP_ERROR_COPY, ProviderSetupForm, SETUP_ERROR_CODES } from './chunk-6G7H6YP6.js';
|
|
@@ -29,7 +29,7 @@ export { SetupReview } from './chunk-FY3NCPFO.js';
|
|
|
29
29
|
export { SwitchRow } from './chunk-FQXVZVA5.js';
|
|
30
30
|
export { MarqueeBand, MarqueeSurface, hitTestIds, marqueeRect, rectsIntersect, useMarquee } from './chunk-RU3DEF2O.js';
|
|
31
31
|
export { MarkdownDiffView, splitMarkdownBlocks } from './chunk-TLFEVL42.js';
|
|
32
|
-
export { ModelPicker } from './chunk-
|
|
32
|
+
export { ModelPicker } from './chunk-X6L5T65Q.js';
|
|
33
33
|
export { PanelModal } from './chunk-6O4LOWZG.js';
|
|
34
34
|
export { LoginForm } from './chunk-3V5EBB4N.js';
|
|
35
35
|
export { RegisterForm } from './chunk-A3XTCQ7C.js';
|
|
@@ -37,24 +37,25 @@ export { RichTextEditor } from './chunk-QYZNTE6Y.js';
|
|
|
37
37
|
export { DictationButton, DictationStrip, useDictation } from './chunk-QRTECV3V.js';
|
|
38
38
|
export { useAiTextTransform } from './chunk-BKAO7BTU.js';
|
|
39
39
|
export { FileQueue } from './chunk-EEKWQQW3.js';
|
|
40
|
+
export { FileCard, formatBytes } from './chunk-SBVLHGDI.js';
|
|
40
41
|
export { UploadDropzone } from './chunk-Q7MRRVE6.js';
|
|
41
42
|
export { FlowStatusCard } from './chunk-E5GKW4XN.js';
|
|
42
43
|
export { FlowTelemetryStrip, FlowTraceCard, formatFlowLatency } from './chunk-HMUM3RAS.js';
|
|
43
44
|
export { FieldLabel } from './chunk-UTECJFDO.js';
|
|
44
45
|
export { InfoButton } from './chunk-2M4BWGLD.js';
|
|
46
|
+
export { Combobox, ComboboxMulti } from './chunk-SVRCZUNQ.js';
|
|
45
47
|
export { ConfirmationModal } from './chunk-SE2AHFA5.js';
|
|
46
48
|
export { ContextMenu } from './chunk-A64IW7ID.js';
|
|
47
49
|
export { ActionMenu, Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger } from './chunk-3UCBKZ2O.js';
|
|
48
50
|
export { DatePicker } from './chunk-QFIXMIVP.js';
|
|
49
51
|
export { ExpandableSearch } from './chunk-BAXBFV7Q.js';
|
|
50
|
-
export { FileCard, formatBytes } from './chunk-SBVLHGDI.js';
|
|
51
52
|
export { ChatTraceMeta } from './chunk-5CIRID6W.js';
|
|
52
53
|
export { ChatTraceTimeline } from './chunk-HR3FYO7C.js';
|
|
53
54
|
export { ChatToolsCatalog } from './chunk-OMWI53FM.js';
|
|
54
|
-
export {
|
|
55
|
+
export { WebSearchProvidersPanel } from './chunk-3Y6QOTVA.js';
|
|
56
|
+
export { ConnectionTestRow } from './chunk-O6BRNGXV.js';
|
|
55
57
|
export { CheckIndicator } from './chunk-FVIIVWRC.js';
|
|
56
58
|
export { ChipInput } from './chunk-HQN55NOV.js';
|
|
57
|
-
export { Combobox, ComboboxMulti } from './chunk-SVRCZUNQ.js';
|
|
58
59
|
export { ChatDrawer } from './chunk-UKR2WUO3.js';
|
|
59
60
|
export { ChatReasoning } from './chunk-INXQJM2K.js';
|
|
60
61
|
export { ChatSessionList } from './chunk-22MIIWC7.js';
|
package/dist/model-picker.d.ts
CHANGED
|
@@ -13,10 +13,9 @@ interface ModelPickerProvider {
|
|
|
13
13
|
name: string;
|
|
14
14
|
models: ModelPickerModel[];
|
|
15
15
|
}
|
|
16
|
-
interface
|
|
16
|
+
interface ModelPickerBaseProps {
|
|
17
17
|
providers: ModelPickerProvider[];
|
|
18
18
|
value?: string;
|
|
19
|
-
onChange: (modelId: string) => void;
|
|
20
19
|
placeholder?: string;
|
|
21
20
|
searchPlaceholder?: string;
|
|
22
21
|
searchLabel?: string;
|
|
@@ -33,6 +32,21 @@ interface ModelPickerProps {
|
|
|
33
32
|
className?: string;
|
|
34
33
|
panelClassName?: string;
|
|
35
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Discriminated on `nullOption` (plan 29 / ADR-0036): with the labeled
|
|
37
|
+
* null option set, the option list leads with it and `onChange` receives
|
|
38
|
+
* `null` when it is chosen (the inherit state). Without it the contract
|
|
39
|
+
* is unchanged — `onChange` only ever receives model ids.
|
|
40
|
+
*/
|
|
41
|
+
type ModelPickerProps = ModelPickerBaseProps & ({
|
|
42
|
+
nullOption?: undefined;
|
|
43
|
+
onChange: (modelId: string) => void;
|
|
44
|
+
} | {
|
|
45
|
+
nullOption: {
|
|
46
|
+
label: string;
|
|
47
|
+
};
|
|
48
|
+
onChange: (modelId: string | null) => void;
|
|
49
|
+
});
|
|
36
50
|
/**
|
|
37
51
|
* Grouped, searchable provider → model picker. Presentational: the model
|
|
38
52
|
* list comes in via props, selection goes out via `onChange`.
|
package/dist/model-picker.js
CHANGED
package/dist/model-registry.js
CHANGED