@neuronection/assistant-ui 0.49.0 → 0.50.1

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 (39) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -0
  3. package/dist/admin-user-table.js +1 -1
  4. package/dist/ai-magic-fill.js +1 -1
  5. package/dist/{chunk-RXFQZMSF.js → chunk-3YIVKKT6.js} +3 -3
  6. package/dist/{chunk-RXFQZMSF.js.map → chunk-3YIVKKT6.js.map} +1 -1
  7. package/dist/{chunk-OIET4P2M.js → chunk-47CRUWHB.js} +4 -4
  8. package/dist/{chunk-OIET4P2M.js.map → chunk-47CRUWHB.js.map} +1 -1
  9. package/dist/{chunk-67FLOT4X.js → chunk-5U45TQJE.js} +3 -3
  10. package/dist/{chunk-67FLOT4X.js.map → chunk-5U45TQJE.js.map} +1 -1
  11. package/dist/{chunk-WY5TO6R4.js → chunk-6ANLDUGL.js} +3 -3
  12. package/dist/{chunk-WY5TO6R4.js.map → chunk-6ANLDUGL.js.map} +1 -1
  13. package/dist/{chunk-PTTJJEYJ.js → chunk-CCFVDJHU.js} +3 -3
  14. package/dist/{chunk-PTTJJEYJ.js.map → chunk-CCFVDJHU.js.map} +1 -1
  15. package/dist/{chunk-QUVVOG7K.js → chunk-MFM4W6ZO.js} +3 -3
  16. package/dist/{chunk-QUVVOG7K.js.map → chunk-MFM4W6ZO.js.map} +1 -1
  17. package/dist/chunk-SNHU4PV3.js +169 -0
  18. package/dist/chunk-SNHU4PV3.js.map +1 -0
  19. package/dist/{chunk-URLF67WR.js → chunk-SVRCZUNQ.js} +6 -2
  20. package/dist/chunk-SVRCZUNQ.js.map +1 -0
  21. package/dist/{chunk-BCKOBT7T.js → chunk-UMI4M4MF.js} +3 -3
  22. package/dist/{chunk-BCKOBT7T.js.map → chunk-UMI4M4MF.js.map} +1 -1
  23. package/dist/{chunk-YM4YN3YC.js → chunk-X6L5Z5LV.js} +3 -3
  24. package/dist/{chunk-YM4YN3YC.js.map → chunk-X6L5Z5LV.js.map} +1 -1
  25. package/dist/combobox.js +1 -1
  26. package/dist/index.d.ts +59 -1
  27. package/dist/index.js +25 -24
  28. package/dist/instance-mode-control.d.ts +62 -0
  29. package/dist/instance-mode-control.js +3 -0
  30. package/dist/instance-mode-control.js.map +1 -0
  31. package/dist/markdown-diff-view.js +1 -1
  32. package/dist/model-picker.js +1 -1
  33. package/dist/model-registry.js +1 -1
  34. package/dist/profile-switcher.js +1 -1
  35. package/dist/provider-form.js +1 -1
  36. package/dist/styles.css +1 -1
  37. package/dist/task-assignment-picker.js +1 -1
  38. package/package.json +6 -2
  39. package/dist/chunk-URLF67WR.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -2981,6 +2981,64 @@ declare function describeAdminUserError(error: unknown, labels: Pick<AdminUserTa
2981
2981
  */
2982
2982
  declare const AdminUserTable: React.ForwardRefExoticComponent<AdminUserTableProps & React.RefAttributes<HTMLDivElement>>;
2983
2983
 
2984
+ type InstanceAuthMode = 'open' | 'authenticated';
2985
+ interface InstanceModeControlLabels {
2986
+ title: string;
2987
+ modeOpen: string;
2988
+ modeAuthenticated: string;
2989
+ modeOpenHint: string;
2990
+ modeAuthenticatedHint: string;
2991
+ enableLogin: string;
2992
+ enableLoginNote: (minLength: number) => string;
2993
+ disableLogin: string;
2994
+ disableLoginNote: string;
2995
+ password: string;
2996
+ confirmPassword: string;
2997
+ passwordMismatch: string;
2998
+ passwordTooShort: (minLength: number) => string;
2999
+ submitEnable: string;
3000
+ submitDisable: string;
3001
+ confirmAck: string;
3002
+ blockedServer: string;
3003
+ blockedUsers: (count: number) => string;
3004
+ auditNote: string;
3005
+ errorGeneric: string;
3006
+ errorForbidden: string;
3007
+ }
3008
+ interface InstanceModeControlIcons {
3009
+ open?: LucideIcon;
3010
+ authenticated?: LucideIcon;
3011
+ enableLogin?: LucideIcon;
3012
+ disableLogin?: LucideIcon;
3013
+ audit?: LucideIcon;
3014
+ }
3015
+ interface InstanceModeControlProps {
3016
+ mode: InstanceAuthMode;
3017
+ serverIdentity?: boolean;
3018
+ otherUserCount?: number;
3019
+ minPasswordLength?: number;
3020
+ onSetAuthenticated: (password: string) => void | Promise<unknown>;
3021
+ onSetOpen: (password: string) => void | Promise<unknown>;
3022
+ loading?: boolean;
3023
+ error?: string | null;
3024
+ labels?: Partial<InstanceModeControlLabels>;
3025
+ icons?: InstanceModeControlIcons;
3026
+ className?: string;
3027
+ }
3028
+ declare function describeInstanceModeError(error: unknown, labels: Pick<InstanceModeControlLabels, 'errorGeneric' | 'errorForbidden'>): string;
3029
+ /**
3030
+ * Presentational + controlled instance access-mode panel (identity-auth
3031
+ * §4.5, ADR-06): shows the current mode and offers the two admin
3032
+ * transitions — `open → authenticated` (the owner sets credentials in
3033
+ * the same call) and `authenticated → open` (current password plus an
3034
+ * explicit acknowledgement). Blocked states (server entrypoint, other
3035
+ * accounts existing) disable the transition with a label-driven reason.
3036
+ * Data flows in through `mode`; the transitions are events out — the app
3037
+ * persists them and re-supplies the mode. Rejections surface as
3038
+ * label-driven messages and every change carries an audit note.
3039
+ */
3040
+ declare const InstanceModeControl: React.ForwardRefExoticComponent<InstanceModeControlProps & React.RefAttributes<HTMLDivElement>>;
3041
+
2984
3042
  /**
2985
3043
  * The three states of the boot machine (identity-auth §4): `checking`
2986
3044
  * while the app's boot flow runs, `authenticated` once a session was
@@ -3202,4 +3260,4 @@ interface ChatLauncherProps {
3202
3260
  */
3203
3261
  declare const ChatLauncher: React.ForwardRefExoticComponent<ChatLauncherProps & React.RefAttributes<HTMLButtonElement>>;
3204
3262
 
3205
- 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, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, 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, 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, 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 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, type ProviderPresetOption, 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, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, 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, 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, downloadChatMarkdown, formatBytes, formatFlowLatency, hitTestIds, initialLiveTurnState, linearTree, liveTurnReducer, marqueeRect, modalContentVariants, rectsIntersect, scaleColorForValue, splitMarkdownBlocks, useAiTextTransform, useChatStream, useDictation, useLogoId, useMarquee, variantInfo, walkActivePath, wordSegments };
3263
+ 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, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, 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, 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, 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, type ProviderPresetOption, 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, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, 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, 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 };
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export { UserMenu } from './chunk-CYK3ZLAB.js';
1
2
  export { ThemeScope } from './chunk-TGU3PKNM.js';
2
3
  export { TimeList } from './chunk-67W2OLOQ.js';
3
4
  export { TimePicker, TimePickerContent } from './chunk-WQ5MPOYG.js';
@@ -5,46 +6,49 @@ export { InfoTooltip, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }
5
6
  export { UndoNotice } from './chunk-AT32ANZW.js';
6
7
  export { ViewToggle } from './chunk-XZIJIGEB.js';
7
8
  export { Stepper, Wizard } from './chunk-ZNVWHGKM.js';
9
+ export { SelectionBar } from './chunk-LXKRUJIS.js';
8
10
  export { Skeleton, SkeletonText } from './chunk-4OJXAFGA.js';
9
11
  export { HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger } from './chunk-PNYJ5VX2.js';
10
12
  export { Table } from './chunk-53JFRZAO.js';
11
- export { TaskAssignmentPicker } from './chunk-RXFQZMSF.js';
13
+ export { TaskAssignmentPicker } from './chunk-3YIVKKT6.js';
12
14
  export { SettingsShell } from './chunk-YPDIA54W.js';
13
15
  export { SidebarNav } from './chunk-VAUB5TDF.js';
14
- export { UserMenu } from './chunk-CYK3ZLAB.js';
16
+ export { ScaleSlider, scaleColorForValue } from './chunk-NLHODVBI.js';
15
17
  export { SearchInput } from './chunk-UUIMMMSJ.js';
16
- export { ModelRegistry } from './chunk-67FLOT4X.js';
18
+ export { ModelRegistry } from './chunk-5U45TQJE.js';
17
19
  export { CapabilityChips } from './chunk-SY5FR4HC.js';
18
20
  export { SegmentedTabs } from './chunk-5IEBIDXQ.js';
19
- export { SelectionBar } from './chunk-LXKRUJIS.js';
21
+ export { ModelPicker } from './chunk-CCFVDJHU.js';
20
22
  export { PanelModal } from './chunk-6O4LOWZG.js';
21
- export { ProfileSwitcher } from './chunk-WY5TO6R4.js';
22
- export { CUSTOM_PRESET_KEY, ProviderForm } from './chunk-BCKOBT7T.js';
23
+ export { ProfileSwitcher } from './chunk-6ANLDUGL.js';
24
+ export { CUSTOM_PRESET_KEY, ProviderForm } from './chunk-UMI4M4MF.js';
23
25
  export { RangeBar } from './chunk-3UDWLHLD.js';
24
- export { ScaleSlider, scaleColorForValue } from './chunk-NLHODVBI.js';
25
26
  export { RichTextEditor } from './chunk-QYZNTE6Y.js';
26
27
  export { DictationButton, DictationStrip, useDictation } from './chunk-QRTECV3V.js';
27
28
  export { useAiTextTransform } from './chunk-BKAO7BTU.js';
28
29
  export { MarqueeBand, MarqueeSurface, hitTestIds, marqueeRect, rectsIntersect, useMarquee } from './chunk-RU3DEF2O.js';
29
- export { MarkdownDiffView, splitMarkdownBlocks } from './chunk-QUVVOG7K.js';
30
- export { ModelPicker } from './chunk-PTTJJEYJ.js';
30
+ export { MarkdownDiffView, splitMarkdownBlocks } from './chunk-MFM4W6ZO.js';
31
+ export { FlowTelemetryStrip, FlowTraceCard, formatFlowLatency } from './chunk-HMUM3RAS.js';
31
32
  export { FieldLabel } from './chunk-UTECJFDO.js';
32
33
  export { InfoButton } from './chunk-2M4BWGLD.js';
33
34
  export { LoginForm } from './chunk-3V5EBB4N.js';
34
35
  export { RegisterForm } from './chunk-A3XTCQ7C.js';
36
+ export { DatePicker } from './chunk-QFIXMIVP.js';
35
37
  export { ExpandableSearch } from './chunk-BAXBFV7Q.js';
36
38
  export { FileQueue } from './chunk-EEKWQQW3.js';
37
39
  export { FileCard, formatBytes } from './chunk-SBVLHGDI.js';
38
40
  export { UploadDropzone } from './chunk-Q7MRRVE6.js';
39
41
  export { FlowStatusCard } from './chunk-E5GKW4XN.js';
40
- export { FlowTelemetryStrip, FlowTraceCard, formatFlowLatency } from './chunk-HMUM3RAS.js';
42
+ export { ConnectionTestRow } from './chunk-KV67D3RP.js';
41
43
  export { CheckIndicator } from './chunk-FVIIVWRC.js';
42
44
  export { ChipInput } from './chunk-HQN55NOV.js';
43
- export { Combobox, ComboboxMulti } from './chunk-URLF67WR.js';
45
+ export { Combobox, ComboboxMulti } from './chunk-SVRCZUNQ.js';
44
46
  export { ConfirmationModal } from './chunk-SE2AHFA5.js';
45
47
  export { ContextMenu } from './chunk-A64IW7ID.js';
46
48
  export { ActionMenu, Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger } from './chunk-3UCBKZ2O.js';
47
- export { DatePicker } from './chunk-QFIXMIVP.js';
49
+ export { FieldDiff, FieldSummary, HitlProposalCard } from './chunk-452GYIS7.js';
50
+ export { TextDiffView } from './chunk-WYIHBQVV.js';
51
+ export { computeLineDiff, computeUnitDiff, wordSegments } from './chunk-QLP7K3PY.js';
48
52
  export { ChatToolCard } from './chunk-5BJ4VULP.js';
49
53
  export { ChatTurnStatus } from './chunk-TQDTFPM4.js';
50
54
  export { buildChatMarkdown, chatExportFileName, downloadChatMarkdown } from './chunk-DRJGZ5TB.js';
@@ -53,7 +57,7 @@ export { PopoverButton } from './chunk-2EC3NEAE.js';
53
57
  export { ChatTraceMeta } from './chunk-5CIRID6W.js';
54
58
  export { ChatTraceTimeline } from './chunk-HR3FYO7C.js';
55
59
  export { ChatToolsCatalog } from './chunk-OMWI53FM.js';
56
- export { ConnectionTestRow } from './chunk-KV67D3RP.js';
60
+ export { ChatPanel } from './chunk-SEZZVAGP.js';
57
61
  export { ChatTranscript } from './chunk-XOODPYJ3.js';
58
62
  export { MarkdownCodeBlock, MarkdownSurface, MermaidDiagram } from './chunk-HQ3X5SVR.js';
59
63
  export { CopyButton } from './chunk-XFYCNCPS.js';
@@ -62,35 +66,32 @@ export { ChatBranchTree } from './chunk-BG44GKXQ.js';
62
66
  export { ChatDrawer } from './chunk-UKR2WUO3.js';
63
67
  export { ChatReasoning } from './chunk-S63SYV6O.js';
64
68
  export { ChatSessionList } from './chunk-PC3CE4W2.js';
65
- export { FieldDiff, FieldSummary, HitlProposalCard } from './chunk-452GYIS7.js';
66
- export { TextDiffView } from './chunk-WYIHBQVV.js';
67
- export { computeLineDiff, computeUnitDiff, wordSegments } from './chunk-QLP7K3PY.js';
69
+ export { AiMagicFill } from './chunk-X6L5Z5LV.js';
70
+ export { FormModal } from './chunk-QPY2Y532.js';
71
+ export { Modal, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, modalContentVariants } from './chunk-FVQWIDB5.js';
68
72
  export { Breadcrumbs } from './chunk-FILCIMXX.js';
69
73
  export { initialLiveTurnState, liveTurnReducer, useChatStream } from './chunk-6GNLY2EB.js';
70
74
  export { activePathSet, buildBranchTree, linearTree, variantInfo, walkActivePath } from './chunk-Z4IBQ53C.js';
71
75
  export { ChatLauncher } from './chunk-E3NZM4U7.js';
72
76
  export { Portal } from './chunk-XZWLTTHA.js';
73
77
  export { ChatComposer } from './chunk-NUD32RLL.js';
74
- export { ChatPanel } from './chunk-SEZZVAGP.js';
75
78
  export { rawTokens, semanticTokens } from './chunk-GDGKARRB.js';
76
79
  export { AiActionsDropdown } from './chunk-HUIKW2PK.js';
77
80
  export { AboutCard, AboutFooterLine, AboutLinkList, AboutNote, AboutPanel, FamilyBadge, SponsorCard, TechChips } from './chunk-PPW4GNM6.js';
78
81
  export { CareerMark, DesktopMark, HealthMark, NeuronectionMark, NeuronectionWordmark, StudyMark, useLogoId } from './chunk-MK6V5MA4.js';
79
82
  export { ChipList } from './chunk-UBJNPO7A.js';
80
83
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-2XS5Q7XT.js';
81
- export { AdminUserTable, describeAdminUserError } from './chunk-OIET4P2M.js';
82
- export { Input } from './chunk-GQDW6BBO.js';
84
+ export { AdminUserTable, describeAdminUserError } from './chunk-47CRUWHB.js';
83
85
  export { EmptyState } from './chunk-QKWFRXU6.js';
86
+ export { InstanceModeControl, describeInstanceModeError } from './chunk-SNHU4PV3.js';
87
+ export { Input } from './chunk-GQDW6BBO.js';
84
88
  export { ErrorBanner } from './chunk-HNMFDVMD.js';
89
+ export { Button, buttonVariants } from './chunk-4WBBF5LH.js';
90
+ export { Spinner } from './chunk-SQHW7TYF.js';
85
91
  export { Badge, badgeVariants } from './chunk-AIQJNN5B.js';
86
92
  export { AuthGate } from './chunk-CEXLCDPM.js';
87
93
  export { AiButton } from './chunk-OY4UOY2W.js';
88
94
  export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger } from './chunk-VX3EQRSM.js';
89
- export { AiMagicFill } from './chunk-YM4YN3YC.js';
90
- export { FormModal } from './chunk-QPY2Y532.js';
91
- export { Modal, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, modalContentVariants } from './chunk-FVQWIDB5.js';
92
- export { Button, buttonVariants } from './chunk-4WBBF5LH.js';
93
- export { Spinner } from './chunk-SQHW7TYF.js';
94
95
  export { cn } from './chunk-RVVXVTH3.js';
95
96
  //# sourceMappingURL=index.js.map
96
97
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,62 @@
1
+ import * as React from 'react';
2
+ import { LucideIcon } from 'lucide-react';
3
+
4
+ type InstanceAuthMode = 'open' | 'authenticated';
5
+ interface InstanceModeControlLabels {
6
+ title: string;
7
+ modeOpen: string;
8
+ modeAuthenticated: string;
9
+ modeOpenHint: string;
10
+ modeAuthenticatedHint: string;
11
+ enableLogin: string;
12
+ enableLoginNote: (minLength: number) => string;
13
+ disableLogin: string;
14
+ disableLoginNote: string;
15
+ password: string;
16
+ confirmPassword: string;
17
+ passwordMismatch: string;
18
+ passwordTooShort: (minLength: number) => string;
19
+ submitEnable: string;
20
+ submitDisable: string;
21
+ confirmAck: string;
22
+ blockedServer: string;
23
+ blockedUsers: (count: number) => string;
24
+ auditNote: string;
25
+ errorGeneric: string;
26
+ errorForbidden: string;
27
+ }
28
+ interface InstanceModeControlIcons {
29
+ open?: LucideIcon;
30
+ authenticated?: LucideIcon;
31
+ enableLogin?: LucideIcon;
32
+ disableLogin?: LucideIcon;
33
+ audit?: LucideIcon;
34
+ }
35
+ interface InstanceModeControlProps {
36
+ mode: InstanceAuthMode;
37
+ serverIdentity?: boolean;
38
+ otherUserCount?: number;
39
+ minPasswordLength?: number;
40
+ onSetAuthenticated: (password: string) => void | Promise<unknown>;
41
+ onSetOpen: (password: string) => void | Promise<unknown>;
42
+ loading?: boolean;
43
+ error?: string | null;
44
+ labels?: Partial<InstanceModeControlLabels>;
45
+ icons?: InstanceModeControlIcons;
46
+ className?: string;
47
+ }
48
+ declare function describeInstanceModeError(error: unknown, labels: Pick<InstanceModeControlLabels, 'errorGeneric' | 'errorForbidden'>): string;
49
+ /**
50
+ * Presentational + controlled instance access-mode panel (identity-auth
51
+ * §4.5, ADR-06): shows the current mode and offers the two admin
52
+ * transitions — `open → authenticated` (the owner sets credentials in
53
+ * the same call) and `authenticated → open` (current password plus an
54
+ * explicit acknowledgement). Blocked states (server entrypoint, other
55
+ * accounts existing) disable the transition with a label-driven reason.
56
+ * Data flows in through `mode`; the transitions are events out — the app
57
+ * persists them and re-supplies the mode. Rejections surface as
58
+ * label-driven messages and every change carries an audit note.
59
+ */
60
+ declare const InstanceModeControl: React.ForwardRefExoticComponent<InstanceModeControlProps & React.RefAttributes<HTMLDivElement>>;
61
+
62
+ export { type InstanceAuthMode, InstanceModeControl, type InstanceModeControlIcons, type InstanceModeControlLabels, type InstanceModeControlProps, describeInstanceModeError };
@@ -0,0 +1,3 @@
1
+ export { InstanceModeControl, describeInstanceModeError } from './chunk-SNHU4PV3.js';
2
+ //# sourceMappingURL=instance-mode-control.js.map
3
+ //# sourceMappingURL=instance-mode-control.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"instance-mode-control.js"}
@@ -1,3 +1,3 @@
1
- export { MarkdownDiffView, splitMarkdownBlocks } from './chunk-QUVVOG7K.js';
1
+ export { MarkdownDiffView, splitMarkdownBlocks } from './chunk-MFM4W6ZO.js';
2
2
  //# sourceMappingURL=markdown-diff-view.js.map
3
3
  //# sourceMappingURL=markdown-diff-view.js.map
@@ -1,3 +1,3 @@
1
- export { ModelPicker } from './chunk-PTTJJEYJ.js';
1
+ export { ModelPicker } from './chunk-CCFVDJHU.js';
2
2
  //# sourceMappingURL=model-picker.js.map
3
3
  //# sourceMappingURL=model-picker.js.map
@@ -1,3 +1,3 @@
1
- export { ModelRegistry } from './chunk-67FLOT4X.js';
1
+ export { ModelRegistry } from './chunk-5U45TQJE.js';
2
2
  //# sourceMappingURL=model-registry.js.map
3
3
  //# sourceMappingURL=model-registry.js.map
@@ -1,3 +1,3 @@
1
- export { ProfileSwitcher } from './chunk-WY5TO6R4.js';
1
+ export { ProfileSwitcher } from './chunk-6ANLDUGL.js';
2
2
  //# sourceMappingURL=profile-switcher.js.map
3
3
  //# sourceMappingURL=profile-switcher.js.map
@@ -1,3 +1,3 @@
1
- export { CUSTOM_PRESET_KEY, ProviderForm } from './chunk-BCKOBT7T.js';
1
+ export { CUSTOM_PRESET_KEY, ProviderForm } from './chunk-UMI4M4MF.js';
2
2
  //# sourceMappingURL=provider-form.js.map
3
3
  //# sourceMappingURL=provider-form.js.map