@vetta-org/theme-ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +195 -0
- package/src/action-approval/AppearanceActionPickerView.tsx +291 -0
- package/src/action-approval/AppearanceApprovalDrawerView.tsx +69 -0
- package/src/action-approval/AppearancePickerApprovalView.tsx +31 -0
- package/src/action-approval/ApprovalParts.tsx +376 -0
- package/src/action-approval/BatchTasksApprovalFrameView.tsx +138 -0
- package/src/action-approval/BatchTasksExecutionApprovalView.tsx +158 -0
- package/src/action-approval/BatchTasksTaskApprovalView.tsx +152 -0
- package/src/action-approval/GeneralSetExecutionModeApprovalView.tsx +76 -0
- package/src/action-approval/GenericActionApprovalView.tsx +127 -0
- package/src/action-approval/ManageActionApprovalFrameTypes.ts +27 -0
- package/src/action-approval/ManageActionApprovalFrameView.tsx +136 -0
- package/src/action-approval/NavigationOpenApprovalView.tsx +119 -0
- package/src/action-approval/SchedulerActionApprovalDialogView.tsx +191 -0
- package/src/action-approval/SchedulerEditApprovalDrawerView.tsx +113 -0
- package/src/action-approval/SchedulerUpdateApprovalView.tsx +14 -0
- package/src/action-approval/ThemeChangeApprovalView.tsx +30 -0
- package/src/action-approval/WebhookDeleteApprovalView.tsx +56 -0
- package/src/action-approval/WebhookTestApprovalView.tsx +51 -0
- package/src/action-approval/cn.ts +4 -0
- package/src/action-approval/index.ts +88 -0
- package/src/activity/ActivityPanel.tsx +269 -0
- package/src/activity/ActivityPanelFrame.tsx +36 -0
- package/src/activity/BackgroundTasksTabPanelView.tsx +382 -0
- package/src/activity/BatchProgressTabPanelView.tsx +22 -0
- package/src/activity/BrowserPanelView.tsx +169 -0
- package/src/activity/ChatTabPanelView.tsx +36 -0
- package/src/activity/CodePreview.tsx +57 -0
- package/src/activity/DebugTabPanelView.tsx +67 -0
- package/src/activity/FileTabContentView.tsx +46 -0
- package/src/activity/FloatingActivityTabView.tsx +107 -0
- package/src/activity/HtmlPreviewView.tsx +135 -0
- package/src/activity/JourneyPanelView.tsx +327 -0
- package/src/activity/KnowledgeHistoryPanelView.tsx +93 -0
- package/src/activity/MarkdownPreviewView.tsx +217 -0
- package/src/activity/PluginTabPickerView.tsx +182 -0
- package/src/activity/RequestHistorySubTabView.tsx +102 -0
- package/src/activity/ScheduleExecutionTabPanelView.tsx +162 -0
- package/src/activity/TodoTabPanelView.tsx +66 -0
- package/src/activity/ToolCallsSubTabView.tsx +184 -0
- package/src/activity/WorkflowTabPanelView.tsx +129 -0
- package/src/activity/index.ts +110 -0
- package/src/app/AppBackground.tsx +24 -0
- package/src/app/AppBootLoadingView.tsx +51 -0
- package/src/app/RouteContentLoadingView.tsx +20 -0
- package/src/app/index.ts +13 -0
- package/src/app-boot.ts +1 -0
- package/src/app-shell/DefaultPageHeader.tsx +46 -0
- package/src/app-shell/DefaultWindowControls.tsx +32 -0
- package/src/app-shell/PageHeaderActionGroup.tsx +15 -0
- package/src/app-shell/PageHeaderContent.tsx +70 -0
- package/src/app-shell/PageHeaderFrame.tsx +53 -0
- package/src/app-shell/PageHeaderSidebarTrigger.tsx +21 -0
- package/src/app-shell/PageHeaderTitle.tsx +25 -0
- package/src/app-shell/PageHeaderWindowActions.tsx +22 -0
- package/src/app-shell/WindowControlButton.tsx +35 -0
- package/src/app-shell/index.ts +49 -0
- package/src/appearance/BackgroundImageFrame.tsx +57 -0
- package/src/appearance/CenterSliceImageFrame.tsx +64 -0
- package/src/appearance/CornerImageFrame.tsx +63 -0
- package/src/appearance/HorizontalSliceImageFrame.tsx +97 -0
- package/src/appearance/NineSliceImageFrame.tsx +65 -0
- package/src/appearance/ThemeSurface.tsx +91 -0
- package/src/appearance/index.ts +12 -0
- package/src/batch-tasks/BatchProjectArtifactFieldView.tsx +36 -0
- package/src/batch-tasks/BatchProjectDialogView.tsx +61 -0
- package/src/batch-tasks/BatchProjectFoldersFieldView.tsx +108 -0
- package/src/batch-tasks/BatchProjectGroupView.tsx +77 -0
- package/src/batch-tasks/BatchProjectNameFieldView.tsx +29 -0
- package/src/batch-tasks/BatchProjectNotificationFieldView.tsx +42 -0
- package/src/batch-tasks/BatchProjectRuntimeFieldsView.tsx +67 -0
- package/src/batch-tasks/BatchTaskActionButtonsView.tsx +67 -0
- package/src/batch-tasks/BatchTaskCardView.tsx +142 -0
- package/src/batch-tasks/BatchTaskGridView.tsx +95 -0
- package/src/batch-tasks/BatchTaskListView.tsx +10 -0
- package/src/batch-tasks/BatchTaskProjectActionsView.tsx +73 -0
- package/src/batch-tasks/BatchTaskProjectBlockView.tsx +117 -0
- package/src/batch-tasks/BatchTaskProjectHeaderView.tsx +74 -0
- package/src/batch-tasks/BatchTasksPageView.tsx +126 -0
- package/src/batch-tasks/batchTaskUi.tsx +101 -0
- package/src/batch-tasks/index.ts +70 -0
- package/src/batch-tasks/types.ts +120 -0
- package/src/chat/ActionButtonBarView.tsx +45 -0
- package/src/chat/AgentAvatarView.tsx +59 -0
- package/src/chat/AppshotCardView.tsx +89 -0
- package/src/chat/AskUserQuestionView.tsx +177 -0
- package/src/chat/AssistantMessageView.tsx +147 -0
- package/src/chat/AtPanelView.tsx +220 -0
- package/src/chat/BackgroundTasksBadgeView.tsx +28 -0
- package/src/chat/BashTerminalCard.tsx +225 -0
- package/src/chat/ChatExportHostView.tsx +17 -0
- package/src/chat/ChatHeaderActionsView.tsx +75 -0
- package/src/chat/ContextRingView.tsx +100 -0
- package/src/chat/CopyIconButton.tsx +61 -0
- package/src/chat/DefaultGuidingWords.tsx +75 -0
- package/src/chat/DefaultSceneCarousel.tsx +113 -0
- package/src/chat/DefaultSkillBadgeRow.tsx +103 -0
- package/src/chat/DrawerCard.tsx +149 -0
- package/src/chat/EditDiffView.tsx +137 -0
- package/src/chat/ExecutionModeSelectorView.tsx +124 -0
- package/src/chat/ExportMessageListView.tsx +20 -0
- package/src/chat/GuideBadgeSwiperView.tsx +79 -0
- package/src/chat/InlineTokenChip.tsx +68 -0
- package/src/chat/InputActionBarView.tsx +112 -0
- package/src/chat/InputBarBackground.tsx +25 -0
- package/src/chat/InputBarCapsule.tsx +56 -0
- package/src/chat/InputBarContextMenuView.tsx +79 -0
- package/src/chat/InputBarPlaceholder.tsx +84 -0
- package/src/chat/InputBarToolbarButton.tsx +42 -0
- package/src/chat/KnowledgeToolViews.tsx +119 -0
- package/src/chat/LiveThinkingView.tsx +102 -0
- package/src/chat/MessageActions.tsx +109 -0
- package/src/chat/MessageBlockSegmentsView.tsx +203 -0
- package/src/chat/MessageBoundaryViews.tsx +93 -0
- package/src/chat/MessageCardsView.tsx +126 -0
- package/src/chat/MessageFeedContext.tsx +14 -0
- package/src/chat/MessageFeedLayoutView.tsx +97 -0
- package/src/chat/MessageFeedView.tsx +228 -0
- package/src/chat/MessageInputView.tsx +193 -0
- package/src/chat/MessageLayoutView.tsx +156 -0
- package/src/chat/MessageListFooterView.tsx +127 -0
- package/src/chat/MessageSelectionContextMenuView.tsx +66 -0
- package/src/chat/MessageTimelineView.tsx +261 -0
- package/src/chat/MessageView.tsx +82 -0
- package/src/chat/MessageVisualView.tsx +43 -0
- package/src/chat/ModelSelectorView.tsx +407 -0
- package/src/chat/NewSession.ts +107 -0
- package/src/chat/NewSessionBackground.tsx +54 -0
- package/src/chat/NewSessionPageLayoutView.tsx +96 -0
- package/src/chat/NewSessionPicker.tsx +270 -0
- package/src/chat/ProgressGroupView.tsx +323 -0
- package/src/chat/ProjectSelectorView.tsx +253 -0
- package/src/chat/QueueCardView.tsx +151 -0
- package/src/chat/ReadImageView.tsx +73 -0
- package/src/chat/SandboxGrantsBadgeView.tsx +101 -0
- package/src/chat/SandboxPermissionCard.tsx +64 -0
- package/src/chat/SceneCard.tsx +138 -0
- package/src/chat/SendButton.tsx +135 -0
- package/src/chat/SessionDropZoneView.tsx +85 -0
- package/src/chat/SessionViewerPageView.tsx +56 -0
- package/src/chat/SkillCard.tsx +56 -0
- package/src/chat/SkillPromptAreaView.tsx +129 -0
- package/src/chat/SuggestionBubblesView.tsx +58 -0
- package/src/chat/TextBlockView.tsx +770 -0
- package/src/chat/TextPreview.tsx +37 -0
- package/src/chat/ThinkingBlockView.tsx +183 -0
- package/src/chat/TodoCard.tsx +243 -0
- package/src/chat/TodoProgress.tsx +205 -0
- package/src/chat/TodoStatusBarView.tsx +140 -0
- package/src/chat/ToolCallBlockView.tsx +188 -0
- package/src/chat/UsageBarView.tsx +19 -0
- package/src/chat/UserMessageContextMenuView.tsx +87 -0
- package/src/chat/UserMessageView.tsx +241 -0
- package/src/chat/WorkflowFooterItemsView.tsx +170 -0
- package/src/chat/WriteContentView.tsx +12 -0
- package/src/chat/index.ts +524 -0
- package/src/chat/markdown-link.test.ts +238 -0
- package/src/chat/markdown-link.ts +279 -0
- package/src/chat/send-button.css +318 -0
- package/src/chat/useHorizontalDragScroll.ts +146 -0
- package/src/file-explorer/ConfirmDeleteDialogView.tsx +62 -0
- package/src/file-explorer/FileContextMenuView.tsx +209 -0
- package/src/file-explorer/FileTreeCreateRow.tsx +82 -0
- package/src/file-explorer/FileTreeNodeView.tsx +274 -0
- package/src/file-explorer/FileTreeView.tsx +301 -0
- package/src/file-explorer/FilesPanelView.tsx +91 -0
- package/src/file-explorer/drag-target.test.ts +34 -0
- package/src/file-explorer/drag-target.ts +26 -0
- package/src/file-explorer/fileIcons.ts +1 -0
- package/src/file-explorer/index.ts +28 -0
- package/src/file-explorer/nativeFileDrag.test.ts +30 -0
- package/src/file-explorer/nativeFileDrag.ts +14 -0
- package/src/file-explorer/types.ts +40 -0
- package/src/file-explorer/useFileTreeMarqueeSelection.ts +115 -0
- package/src/file-preview/FilePreviewDialogView.tsx +241 -0
- package/src/file-preview/FilePreviewView.tsx +162 -0
- package/src/file-preview/LightboxImageView.tsx +131 -0
- package/src/file-preview/PluginFilePreviewView.tsx +24 -0
- package/src/file-preview/PreviewBodyView.tsx +99 -0
- package/src/file-preview/PreviewErrorBoundary.tsx +51 -0
- package/src/file-preview/TextCodeEditorView.tsx +72 -0
- package/src/file-preview/TextFileEditorView.tsx +213 -0
- package/src/file-preview/index.ts +56 -0
- package/src/file-preview/keyboard-target.test.ts +49 -0
- package/src/file-preview/keyboard-target.ts +33 -0
- package/src/file-preview/syntax-tokens.css +77 -0
- package/src/file-preview/syntax-tokens.test.ts +31 -0
- package/src/file-preview/syntax-tokens.ts +155 -0
- package/src/file-preview/text-code-editor-theme.ts +321 -0
- package/src/file-preview/text-editor-language.test.ts +58 -0
- package/src/file-preview/text-editor-language.ts +182 -0
- package/src/file-preview/types.ts +29 -0
- package/src/flowing/FlowingPanelView.tsx +79 -0
- package/src/flowing/FlowingWorkflowView.tsx +54 -0
- package/src/flowing/UserNodeView.tsx +148 -0
- package/src/flowing/WorkflowBindDialogView.tsx +145 -0
- package/src/flowing/WorkflowProgressView.tsx +149 -0
- package/src/flowing/index.ts +27 -0
- package/src/flowing-chat/ChatBubbleView.tsx +219 -0
- package/src/flowing-chat/ChatComposerView.tsx +362 -0
- package/src/flowing-chat/ChatMembersBarView.tsx +86 -0
- package/src/flowing-chat/ChatPanelView.tsx +73 -0
- package/src/flowing-chat/index.ts +21 -0
- package/src/index.ts +22 -0
- package/src/knowledge/KnowledgeBaseSwitcherView.tsx +154 -0
- package/src/knowledge/KnowledgeBreadcrumbView.tsx +92 -0
- package/src/knowledge/KnowledgeContentsPanelView.tsx +77 -0
- package/src/knowledge/KnowledgeContextMenuView.tsx +70 -0
- package/src/knowledge/KnowledgeFilesSkeleton.tsx +22 -0
- package/src/knowledge/KnowledgeGridView.tsx +113 -0
- package/src/knowledge/KnowledgeHowItWorksDialogView.tsx +85 -0
- package/src/knowledge/KnowledgeImportDialogView.tsx +153 -0
- package/src/knowledge/KnowledgeListView.tsx +107 -0
- package/src/knowledge/KnowledgePendingFilesDialogView.tsx +76 -0
- package/src/knowledge/KnowledgeProcessingBadgeView.tsx +18 -0
- package/src/knowledge/KnowledgeRenameDialogView.tsx +66 -0
- package/src/knowledge/KnowledgeSourcePickerView.tsx +60 -0
- package/src/knowledge/KnowledgeViewShared.tsx +103 -0
- package/src/knowledge/cn.ts +4 -0
- package/src/knowledge/coloredFileIcons.ts +1 -0
- package/src/knowledge/index.ts +66 -0
- package/src/knowledge/types.ts +31 -0
- package/src/knowledge/useMarqueeSelection.ts +95 -0
- package/src/layout/AppFrame.tsx +34 -0
- package/src/layout/MainContentFrame.tsx +54 -0
- package/src/layout/ResizeHandle.tsx +91 -0
- package/src/layout/SidebarDock.tsx +33 -0
- package/src/layout/SidebarOverlay.tsx +36 -0
- package/src/layout/index.ts +10 -0
- package/src/overlays/CommandMenuRow.tsx +119 -0
- package/src/overlays/CommandMenuView.tsx +183 -0
- package/src/overlays/ConfirmDialogView.tsx +109 -0
- package/src/overlays/DetailDrawer.tsx +63 -0
- package/src/overlays/DetailDrawerEnter.tsx +37 -0
- package/src/overlays/KnowledgeDropOverlayView.tsx +43 -0
- package/src/overlays/RouteErrorPageView.tsx +72 -0
- package/src/overlays/ToasterView.tsx +76 -0
- package/src/overlays/UpdateCheckerView.tsx +206 -0
- package/src/overlays/UpdateRestartDialogView.tsx +107 -0
- package/src/overlays/command-menu-types.ts +47 -0
- package/src/overlays/command-menu.css +69 -0
- package/src/overlays/detail-drawer-guard.test.ts +16 -0
- package/src/overlays/detail-drawer-guard.ts +13 -0
- package/src/overlays/index.ts +44 -0
- package/src/plugin-ui/index.ts +26 -0
- package/src/project/BatchQueueStatusView.tsx +352 -0
- package/src/project/ConversationTagDotsView.tsx +130 -0
- package/src/project/ConversationTagEditorDialogView.tsx +273 -0
- package/src/project/DefaultConversationSectionView.tsx +74 -0
- package/src/project/DefaultSessionListView.tsx +128 -0
- package/src/project/DefaultSessionRowView.tsx +125 -0
- package/src/project/NewProjectDialogView.tsx +140 -0
- package/src/project/ProjectContextMenuView.tsx +187 -0
- package/src/project/ProjectDetailPageView.tsx +351 -0
- package/src/project/ProjectGroupView.tsx +37 -0
- package/src/project/ProjectRowView.tsx +111 -0
- package/src/project/ProjectSessionsLoadingView.tsx +14 -0
- package/src/project/ProjectSessionsView.tsx +96 -0
- package/src/project/ProjectsLoadingView.tsx +15 -0
- package/src/project/ProjectsPanelMenusView.tsx +23 -0
- package/src/project/ProjectsPanelView.tsx +56 -0
- package/src/project/QuickScrollOverlay.tsx +188 -0
- package/src/project/ScheduleStatusView.tsx +110 -0
- package/src/project/SessionContextMenuView.tsx +71 -0
- package/src/project/SessionRenameInputView.tsx +49 -0
- package/src/project/SessionRowView.tsx +119 -0
- package/src/project/SidebarProjectsSectionView.tsx +35 -0
- package/src/project/index.ts +87 -0
- package/src/project/types.ts +21 -0
- package/src/project/useActiveSessionAutoScroll.ts +171 -0
- package/src/registry.ts +62 -0
- package/src/scheduler/AutomationPageView.tsx +159 -0
- package/src/scheduler/ExecutionHistoryView.tsx +179 -0
- package/src/scheduler/HistoryDrawerView.tsx +149 -0
- package/src/scheduler/TaskFormDialogView.tsx +60 -0
- package/src/scheduler/TaskListView.tsx +219 -0
- package/src/scheduler/index.ts +30 -0
- package/src/settings/AchievementNavigationButtonView.tsx +90 -0
- package/src/settings/AchievementPromotionDialogView.tsx +91 -0
- package/src/settings/AchievementSettingsView.tsx +44 -0
- package/src/settings/AppshotSettingsView.tsx +132 -0
- package/src/settings/ArchivedProjectsSettingsView.tsx +80 -0
- package/src/settings/BuiltinMcpSecretsDialogView.tsx +278 -0
- package/src/settings/BuiltinMcpSectionView.tsx +164 -0
- package/src/settings/EnvironmentSettingsView.tsx +176 -0
- package/src/settings/GeneralSettingsView.tsx +174 -0
- package/src/settings/ImChannelCardView.tsx +152 -0
- package/src/settings/ImChannelGuideDialogView.tsx +126 -0
- package/src/settings/ImFeishuDialogView.tsx +156 -0
- package/src/settings/ImLegacyImportBannerView.tsx +44 -0
- package/src/settings/ImLogDrawerView.tsx +75 -0
- package/src/settings/ImStatusBadgeView.tsx +39 -0
- package/src/settings/McpDefaultIcon.tsx +27 -0
- package/src/settings/McpJsonEditorView.tsx +56 -0
- package/src/settings/ModelsProviderFormView.tsx +128 -0
- package/src/settings/ModelsProvidersSectionView.tsx +52 -0
- package/src/settings/MotionSelect.tsx +125 -0
- package/src/settings/PermissionsSettingsView.tsx +106 -0
- package/src/settings/PetBubbleStylePreviewView.tsx +44 -0
- package/src/settings/PetSettingsView.tsx +165 -0
- package/src/settings/PresetProviderModelsListView.tsx +58 -0
- package/src/settings/PresetProviderRowView.tsx +302 -0
- package/src/settings/PresetProvidersSectionView.tsx +70 -0
- package/src/settings/QrBindDialogView.tsx +165 -0
- package/src/settings/QuickPanelSettingsSectionView.tsx +66 -0
- package/src/settings/RemoteMcpSectionView.tsx +192 -0
- package/src/settings/SettingChrome.tsx +104 -0
- package/src/settings/SettingsAiAssistButtonView.tsx +150 -0
- package/src/settings/SettingsAiAssistDialogView.tsx +251 -0
- package/src/settings/SettingsFormFields.tsx +121 -0
- package/src/settings/SettingsPageShellView.tsx +84 -0
- package/src/settings/SettingsSidebarView.tsx +133 -0
- package/src/settings/ShortcutRecorderView.tsx +88 -0
- package/src/settings/ShortcutsSettingsView.tsx +66 -0
- package/src/settings/SubscriptionActionsView.tsx +63 -0
- package/src/settings/SubscriptionCardsView.tsx +212 -0
- package/src/settings/TeamDetailView.tsx +148 -0
- package/src/settings/TeamDialogsView.tsx +151 -0
- package/src/settings/TeamListView.tsx +57 -0
- package/src/settings/TeamSettingsView.tsx +51 -0
- package/src/settings/TokenActivityChartView.tsx +286 -0
- package/src/settings/UsageStatsView.tsx +101 -0
- package/src/settings/WebhookEndpointListView.tsx +123 -0
- package/src/settings/WechatBindDialogView.tsx +45 -0
- package/src/settings/achievements/AchievementCurtains.tsx +50 -0
- package/src/settings/achievements/AchievementPromotionBadge3D.tsx +350 -0
- package/src/settings/achievements/AchievementPromotionConfetti.tsx +71 -0
- package/src/settings/achievements/AchievementTitle.tsx +52 -0
- package/src/settings/achievements/index.ts +13 -0
- package/src/settings/index.ts +226 -0
- package/src/settings/shouldCloseEmptyApiKeyEditor.test.ts +135 -0
- package/src/settings/shouldCloseEmptyApiKeyEditor.ts +40 -0
- package/src/settings/token-activity.test.ts +195 -0
- package/src/settings/token-activity.ts +320 -0
- package/src/shared/AvatarStackView.tsx +45 -0
- package/src/shared/BotAvatar.tsx +395 -0
- package/src/shared/CodeBlockCopyButton.tsx +48 -0
- package/src/shared/CollapsePanel.tsx +125 -0
- package/src/shared/ContextMenuView.tsx +134 -0
- package/src/shared/MacKeyboardPreview.tsx +260 -0
- package/src/shared/MarkdownTable.tsx +216 -0
- package/src/shared/MultiplierTag.tsx +15 -0
- package/src/shared/ScrollFade.tsx +114 -0
- package/src/shared/SegmentedControl.tsx +82 -0
- package/src/shared/SyntaxHighlightedCode.tsx +0 -0
- package/src/shared/TabBar.tsx +696 -0
- package/src/shared/TimePicker.tsx +96 -0
- package/src/shared/connected-tab-outline.test.ts +22 -0
- package/src/shared/connected-tab-outline.ts +39 -0
- package/src/shared/fileIcons.test.ts +28 -0
- package/src/shared/fileIcons.ts +322 -0
- package/src/shared/index.ts +38 -0
- package/src/shared/markdown-table-clipboard.ts +31 -0
- package/src/shared/provider-icon/icons.ts +56 -0
- package/src/shared/provider-icon/index.tsx +42 -0
- package/src/shared/provider-icon/svg-url.d.ts +4 -0
- package/src/shared/tab-drag.test.ts +14 -0
- package/src/shared/tab-drag.ts +15 -0
- package/src/shared/useDelayedUnmount.ts +36 -0
- package/src/sidebar/AddProjectMenuItem.tsx +21 -0
- package/src/sidebar/AddProjectMenuPopoverView.tsx +52 -0
- package/src/sidebar/AddProjectMenuTriggerView.tsx +50 -0
- package/src/sidebar/ChatMessageListView.tsx +66 -0
- package/src/sidebar/DefaultSidebar.tsx +91 -0
- package/src/sidebar/FlowingMessageListView.tsx +111 -0
- package/src/sidebar/MessageCenterDialogView.tsx +81 -0
- package/src/sidebar/MessageCenterEmptyState.tsx +24 -0
- package/src/sidebar/MessageCenterTabs.tsx +86 -0
- package/src/sidebar/MessageCenterToolbarButton.tsx +25 -0
- package/src/sidebar/MessageCenterTriggerView.tsx +39 -0
- package/src/sidebar/NotificationMessageListView.tsx +136 -0
- package/src/sidebar/ProjectsPanelEmptyState.tsx +20 -0
- package/src/sidebar/RunningPulseDot.tsx +10 -0
- package/src/sidebar/SessionStatusIcon.tsx +43 -0
- package/src/sidebar/SettingsMenuAccountSection.tsx +32 -0
- package/src/sidebar/SettingsMenuActionButton.tsx +24 -0
- package/src/sidebar/SettingsMenuDivider.tsx +5 -0
- package/src/sidebar/SettingsMenuQuotaSection.tsx +45 -0
- package/src/sidebar/SettingsMenuSettingsItem.tsx +18 -0
- package/src/sidebar/SettingsMenuThemeSection.tsx +51 -0
- package/src/sidebar/SettingsMenuTriggerView.tsx +65 -0
- package/src/sidebar/ShowMoreSessionsButton.tsx +37 -0
- package/src/sidebar/SidebarFilterSelectView.tsx +95 -0
- package/src/sidebar/SidebarNavBadgeView.tsx +58 -0
- package/src/sidebar/SidebarNavIcon.tsx +33 -0
- package/src/sidebar/SidebarNavItemButton.tsx +59 -0
- package/src/sidebar/SidebarNavMorePanel.tsx +199 -0
- package/src/sidebar/SidebarNavigation.tsx +223 -0
- package/src/sidebar/SidebarPanel.tsx +48 -0
- package/src/sidebar/SidebarTopBar.tsx +103 -0
- package/src/sidebar/SidebarUpdateIcon.tsx +79 -0
- package/src/sidebar/index.ts +118 -0
- package/src/sidebar/nav-badge-text.test.ts +23 -0
- package/src/sidebar/nav-badge-text.ts +19 -0
- package/src/sidebar/useSidebarNavDrag.ts +139 -0
- package/src/skills/PluginCardView.tsx +150 -0
- package/src/skills/SceneCardView.tsx +194 -0
- package/src/skills/SkillCardView.tsx +186 -0
- package/src/skills/SkillDetailDialogView.tsx +138 -0
- package/src/skills/SkillTagGroupView.tsx +56 -0
- package/src/skills/SkillToggleSwitch.tsx +31 -0
- package/src/skills/index.ts +29 -0
- package/src/skills/skill-icon.test.ts +38 -0
- package/src/skills/skill-icon.tsx +126 -0
- package/src/styles.css +75 -0
- package/src/utils/platform.ts +2 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import type { CSSProperties, JSX } from "react";
|
|
2
|
+
|
|
3
|
+
export interface WorkflowFooterItem {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
/** e.g. "1/4"; empty string when the workflow has no todos yet. */
|
|
7
|
+
progressLabel: string;
|
|
8
|
+
statusLabel: string;
|
|
9
|
+
statusClassName: string;
|
|
10
|
+
/** Queued / pending / running — shows the stop affordance. */
|
|
11
|
+
active: boolean;
|
|
12
|
+
/** Completed — dimmed + strikethrough row. */
|
|
13
|
+
completed: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface WorkflowFooterItemsViewProps {
|
|
17
|
+
items: WorkflowFooterItem[];
|
|
18
|
+
/** Header text, e.g. "有 3 个工作流正在处理". */
|
|
19
|
+
title: string;
|
|
20
|
+
/** Any workflow still active — 3D cube loader + shimmering title. */
|
|
21
|
+
processing: boolean;
|
|
22
|
+
stopLabel: string;
|
|
23
|
+
onOpen: (id: string) => void;
|
|
24
|
+
onStop: (id: string) => void;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Theme primary — follows active theme / brand color. */
|
|
28
|
+
const TITLE_COLOR = "var(--primary)";
|
|
29
|
+
const TITLE_SHIMMER_MID = "color-mix(in srgb, var(--primary) 45%, white)";
|
|
30
|
+
const CUBE_COLOR = "var(--primary)";
|
|
31
|
+
|
|
32
|
+
const TITLE_SHIMMER_STYLE: CSSProperties = {
|
|
33
|
+
backgroundImage: `linear-gradient(90deg, ${TITLE_COLOR} 0%, ${TITLE_COLOR} 35%, ${TITLE_SHIMMER_MID} 50%, ${TITLE_COLOR} 65%, ${TITLE_COLOR} 100%)`,
|
|
34
|
+
backgroundSize: "200% 100%",
|
|
35
|
+
WebkitBackgroundClip: "text",
|
|
36
|
+
backgroundClip: "text",
|
|
37
|
+
color: "transparent",
|
|
38
|
+
animation: "workflow-title-shimmer 2.4s linear infinite",
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const TITLE_STATIC_STYLE: CSSProperties = { color: TITLE_COLOR };
|
|
42
|
+
|
|
43
|
+
const WORKFLOW_FOOTER_CSS = `
|
|
44
|
+
@keyframes workflow-title-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
|
|
45
|
+
@keyframes workflow-cube-spin {
|
|
46
|
+
0% { transform: rotate(45deg) rotateX(-25deg) rotateY(25deg); }
|
|
47
|
+
50% { transform: rotate(45deg) rotateX(-385deg) rotateY(25deg); }
|
|
48
|
+
100% { transform: rotate(45deg) rotateX(-385deg) rotateY(385deg); }
|
|
49
|
+
}
|
|
50
|
+
.workflow-cube {
|
|
51
|
+
position: relative;
|
|
52
|
+
width: 9px;
|
|
53
|
+
height: 9px;
|
|
54
|
+
animation: workflow-cube-spin 2s infinite ease;
|
|
55
|
+
transform-style: preserve-3d;
|
|
56
|
+
}
|
|
57
|
+
.workflow-cube > i {
|
|
58
|
+
position: absolute;
|
|
59
|
+
inset: 0;
|
|
60
|
+
background-color: color-mix(in srgb, var(--primary) 20%, transparent);
|
|
61
|
+
border: 1px solid ${CUBE_COLOR};
|
|
62
|
+
}
|
|
63
|
+
.workflow-cube > i:nth-of-type(1) { transform: translateZ(-4.5px) rotateY(180deg); }
|
|
64
|
+
.workflow-cube > i:nth-of-type(2) { transform: rotateY(-270deg) translateX(50%); transform-origin: top right; }
|
|
65
|
+
.workflow-cube > i:nth-of-type(3) { transform: rotateY(270deg) translateX(-50%); transform-origin: center left; }
|
|
66
|
+
.workflow-cube > i:nth-of-type(4) { transform: rotateX(90deg) translateY(-50%); transform-origin: top center; }
|
|
67
|
+
.workflow-cube > i:nth-of-type(5) { transform: rotateX(-90deg) translateY(50%); transform-origin: bottom center; }
|
|
68
|
+
.workflow-cube > i:nth-of-type(6) { transform: translateZ(4.5px); }
|
|
69
|
+
`;
|
|
70
|
+
|
|
71
|
+
/** 3D spinning cube while processing (theme primary loader). */
|
|
72
|
+
function CubeSpinner(): JSX.Element {
|
|
73
|
+
return (
|
|
74
|
+
<span aria-hidden className="flex h-4 w-4 shrink-0 items-center justify-center">
|
|
75
|
+
<span className="workflow-cube">
|
|
76
|
+
<i />
|
|
77
|
+
<i />
|
|
78
|
+
<i />
|
|
79
|
+
<i />
|
|
80
|
+
<i />
|
|
81
|
+
<i />
|
|
82
|
+
</span>
|
|
83
|
+
</span>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** Settled state: square checkbox — border, gap, filled inner square. */
|
|
88
|
+
function DoneSquare(): JSX.Element {
|
|
89
|
+
return (
|
|
90
|
+
<span aria-hidden className="flex h-4 w-4 shrink-0 items-center justify-center">
|
|
91
|
+
<span
|
|
92
|
+
className="flex h-[11px] w-[11px] items-center justify-center border"
|
|
93
|
+
style={{ borderColor: CUBE_COLOR }}
|
|
94
|
+
>
|
|
95
|
+
<span className="h-[5px] w-[5px]" style={{ backgroundColor: CUBE_COLOR }} />
|
|
96
|
+
</span>
|
|
97
|
+
</span>
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Workflow summary block in the MessageList footer (ADR-0044):
|
|
103
|
+
* cube loader + theme-primary shimmering title, then a guiding-words-style
|
|
104
|
+
* branch list of workflows. Click a row to open the workflow activity tab;
|
|
105
|
+
* stop interrupts the child.
|
|
106
|
+
*/
|
|
107
|
+
export function WorkflowFooterItemsView({
|
|
108
|
+
items,
|
|
109
|
+
title,
|
|
110
|
+
processing,
|
|
111
|
+
stopLabel,
|
|
112
|
+
onOpen,
|
|
113
|
+
onStop,
|
|
114
|
+
}: WorkflowFooterItemsViewProps): JSX.Element | null {
|
|
115
|
+
if (items.length === 0) return null;
|
|
116
|
+
return (
|
|
117
|
+
<div className="flex flex-col">
|
|
118
|
+
<style>{WORKFLOW_FOOTER_CSS}</style>
|
|
119
|
+
<div className="flex items-center gap-1.5">
|
|
120
|
+
{processing ? <CubeSpinner /> : <DoneSquare />}
|
|
121
|
+
<span className="text-[12px] font-bold" style={processing ? TITLE_SHIMMER_STYLE : TITLE_STATIC_STYLE}>
|
|
122
|
+
{title}
|
|
123
|
+
</span>
|
|
124
|
+
</div>
|
|
125
|
+
<div className="mt-0.5 ml-[7px] flex flex-col">
|
|
126
|
+
{items.map((item, index) => (
|
|
127
|
+
<div
|
|
128
|
+
key={item.id}
|
|
129
|
+
className={`group relative flex items-center gap-2 py-0.5 pl-3 before:absolute before:left-0 before:border-l before:border-muted-foreground/30 before:content-[''] ${
|
|
130
|
+
index === items.length - 1
|
|
131
|
+
? "before:top-0 before:h-[11px] before:w-2.5 before:rounded-bl-[7px] before:border-b"
|
|
132
|
+
: "before:inset-y-0 before:w-0 after:absolute after:top-1/2 after:left-0 after:w-2.5 after:border-t after:border-muted-foreground/30 after:content-['']"
|
|
133
|
+
} ${item.completed ? "opacity-50" : ""}`}
|
|
134
|
+
>
|
|
135
|
+
<button
|
|
136
|
+
type="button"
|
|
137
|
+
onClick={() => onOpen(item.id)}
|
|
138
|
+
className="flex min-w-0 flex-1 items-center gap-2 text-left"
|
|
139
|
+
>
|
|
140
|
+
<span
|
|
141
|
+
className={`truncate text-[12px] text-foreground transition-colors group-hover:text-primary ${
|
|
142
|
+
item.completed ? "line-through" : ""
|
|
143
|
+
}`}
|
|
144
|
+
>
|
|
145
|
+
{item.name}
|
|
146
|
+
</span>
|
|
147
|
+
{item.progressLabel && (
|
|
148
|
+
<span className="shrink-0 rounded bg-muted px-1.5 py-[1px] font-mono text-[10px] text-muted-foreground">
|
|
149
|
+
{item.progressLabel}
|
|
150
|
+
</span>
|
|
151
|
+
)}
|
|
152
|
+
<span className={`shrink-0 text-[11px] ${item.statusClassName}`}>{item.statusLabel}</span>
|
|
153
|
+
</button>
|
|
154
|
+
{item.active && (
|
|
155
|
+
<button
|
|
156
|
+
type="button"
|
|
157
|
+
title={stopLabel}
|
|
158
|
+
aria-label={stopLabel}
|
|
159
|
+
onClick={() => onStop(item.id)}
|
|
160
|
+
className="shrink-0 rounded p-1 text-muted-foreground opacity-0 transition-opacity hover:text-destructive group-hover:opacity-100"
|
|
161
|
+
>
|
|
162
|
+
<span className="icon-[mdi--stop-circle-outline] text-[14px]" />
|
|
163
|
+
</button>
|
|
164
|
+
)}
|
|
165
|
+
</div>
|
|
166
|
+
))}
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
);
|
|
170
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
2
|
+
import { TextPreview, type TextPreviewLabels } from "./TextPreview";
|
|
3
|
+
|
|
4
|
+
export interface WriteContentViewProps {
|
|
5
|
+
content: string;
|
|
6
|
+
label: string;
|
|
7
|
+
labels: TextPreviewLabels;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export function WriteContentView({ content, label, labels }: WriteContentViewProps): JSX.Element {
|
|
11
|
+
return <TextPreview label={label} text={content} labels={labels} />;
|
|
12
|
+
}
|
|
@@ -0,0 +1,524 @@
|
|
|
1
|
+
import "../registry";
|
|
2
|
+
import type { ComponentType } from "react";
|
|
3
|
+
import type { InputBarBackground } from "./InputBarBackground";
|
|
4
|
+
import type { InputBarPlaceholder } from "./InputBarPlaceholder";
|
|
5
|
+
import type {
|
|
6
|
+
NewSessionGuidingWordsProps,
|
|
7
|
+
NewSessionHeroProps,
|
|
8
|
+
NewSessionSceneCarouselProps,
|
|
9
|
+
NewSessionSkillBadgeRowProps,
|
|
10
|
+
} from "./NewSession";
|
|
11
|
+
import type { SceneCard } from "./SceneCard";
|
|
12
|
+
import type { SkillCard } from "./SkillCard";
|
|
13
|
+
import type { TodoStatusBarView } from "./TodoStatusBarView";
|
|
14
|
+
|
|
15
|
+
declare module "@vetta-org/theme-sdk" {
|
|
16
|
+
interface ThemeComponentRegistry {
|
|
17
|
+
readonly "chat.inputBarBackground"?: typeof InputBarBackground;
|
|
18
|
+
readonly "chat.inputBarPlaceholder"?: typeof InputBarPlaceholder;
|
|
19
|
+
readonly "chat.newSessionGuidingWords"?: ComponentType<NewSessionGuidingWordsProps>;
|
|
20
|
+
readonly "chat.newSessionHero"?: ComponentType<NewSessionHeroProps>;
|
|
21
|
+
readonly "chat.newSessionSceneCard"?: typeof SceneCard;
|
|
22
|
+
readonly "chat.newSessionSceneCarousel"?: ComponentType<NewSessionSceneCarouselProps>;
|
|
23
|
+
readonly "chat.newSessionSkillBadgeRow"?: ComponentType<NewSessionSkillBadgeRowProps>;
|
|
24
|
+
readonly "chat.newSessionSkillCard"?: typeof SkillCard;
|
|
25
|
+
readonly "chat.todoStatusBar"?: typeof TodoStatusBarView;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type { ActionButtonBarItem, ActionButtonBarViewProps } from "./ActionButtonBarView";
|
|
30
|
+
export { ActionButtonBarView } from "./ActionButtonBarView";
|
|
31
|
+
export type { AgentAvatarSize, AgentAvatarViewProps } from "./AgentAvatarView";
|
|
32
|
+
export { AgentAvatarView } from "./AgentAvatarView";
|
|
33
|
+
export type { AppshotCardViewLabels, AppshotCardViewProps } from "./AppshotCardView";
|
|
34
|
+
export { AppshotCardView } from "./AppshotCardView";
|
|
35
|
+
export type {
|
|
36
|
+
AskUserQuestionItem,
|
|
37
|
+
AskUserQuestionOption,
|
|
38
|
+
AskUserQuestionViewLabels,
|
|
39
|
+
AskUserQuestionViewProps,
|
|
40
|
+
} from "./AskUserQuestionView";
|
|
41
|
+
export { AskUserQuestionView } from "./AskUserQuestionView";
|
|
42
|
+
export type { AssistantMessageFoldLabels } from "./AssistantMessageView";
|
|
43
|
+
export {
|
|
44
|
+
AssistantMessage,
|
|
45
|
+
AssistantMessageFold,
|
|
46
|
+
AssistantMessagePredictingStatus,
|
|
47
|
+
AssistantMessageStreamingStatus,
|
|
48
|
+
StreamingIndicator,
|
|
49
|
+
} from "./AssistantMessageView";
|
|
50
|
+
export type {
|
|
51
|
+
AtPanelClassNames,
|
|
52
|
+
AtPanelEntryModel,
|
|
53
|
+
AtPanelLabels,
|
|
54
|
+
AtPanelViewProps,
|
|
55
|
+
} from "./AtPanelView";
|
|
56
|
+
export { AtPanelView } from "./AtPanelView";
|
|
57
|
+
export type { BackgroundTasksBadgeViewProps } from "./BackgroundTasksBadgeView";
|
|
58
|
+
export { BackgroundTasksBadgeView } from "./BackgroundTasksBadgeView";
|
|
59
|
+
export type {
|
|
60
|
+
BashTerminalLabels,
|
|
61
|
+
BashTerminalPrimitiveProps,
|
|
62
|
+
BashTerminalRootProps,
|
|
63
|
+
BashTerminalStatus,
|
|
64
|
+
} from "./BashTerminalCard";
|
|
65
|
+
export {
|
|
66
|
+
BashTerminal,
|
|
67
|
+
BashTerminalBackgroundTaskTail,
|
|
68
|
+
BashTerminalCard,
|
|
69
|
+
BashTerminalCommand,
|
|
70
|
+
BashTerminalCopyAction,
|
|
71
|
+
BashTerminalHeader,
|
|
72
|
+
BashTerminalHeaderLabel,
|
|
73
|
+
BashTerminalMeta,
|
|
74
|
+
BashTerminalPendingStatus,
|
|
75
|
+
BashTerminalResult,
|
|
76
|
+
BashTerminalRoot,
|
|
77
|
+
BashTerminalStatusDot,
|
|
78
|
+
} from "./BashTerminalCard";
|
|
79
|
+
export type { ChatExportHostViewProps } from "./ChatExportHostView";
|
|
80
|
+
export { ChatExportHostView } from "./ChatExportHostView";
|
|
81
|
+
export {
|
|
82
|
+
ChatHeaderActions,
|
|
83
|
+
ChatHeaderExportAction,
|
|
84
|
+
ChatHeaderPanelAction,
|
|
85
|
+
ChatHeaderPinAction,
|
|
86
|
+
} from "./ChatHeaderActionsView";
|
|
87
|
+
export type { ContextRingViewProps } from "./ContextRingView";
|
|
88
|
+
export { CIRCUMFERENCE as CONTEXT_RING_CIRCUMFERENCE, ContextRingView } from "./ContextRingView";
|
|
89
|
+
export type { CopyIconButtonLabels, CopyIconButtonProps } from "./CopyIconButton";
|
|
90
|
+
export { CopyIconButton } from "./CopyIconButton";
|
|
91
|
+
export {
|
|
92
|
+
DefaultGuidingWords,
|
|
93
|
+
NEW_SESSION_GUIDING_WORDS_SLOT_MIN_H_CLASS,
|
|
94
|
+
} from "./DefaultGuidingWords";
|
|
95
|
+
export {
|
|
96
|
+
DefaultSceneCarousel,
|
|
97
|
+
NEW_SESSION_SCENE_SLOT_MIN_H_CLASS,
|
|
98
|
+
} from "./DefaultSceneCarousel";
|
|
99
|
+
export {
|
|
100
|
+
DefaultSkillBadgeRow,
|
|
101
|
+
NEW_SESSION_SKILL_BADGE_SLOT_MIN_H_CLASS,
|
|
102
|
+
} from "./DefaultSkillBadgeRow";
|
|
103
|
+
export type { DrawerCardProps, DrawerTab } from "./DrawerCard";
|
|
104
|
+
export { DrawerCard } from "./DrawerCard";
|
|
105
|
+
export type {
|
|
106
|
+
AnchorEditItemView,
|
|
107
|
+
AnchorEditsFallbackViewProps,
|
|
108
|
+
DiffLineKind,
|
|
109
|
+
DiffLineView,
|
|
110
|
+
DiffPreviewViewProps,
|
|
111
|
+
EditTextFallbackViewProps,
|
|
112
|
+
} from "./EditDiffView";
|
|
113
|
+
export { AnchorEditsFallbackView, DiffPreviewView, EditTextFallbackView } from "./EditDiffView";
|
|
114
|
+
export type {
|
|
115
|
+
ExecutionModeOptionView,
|
|
116
|
+
ExecutionModeSelectorViewProps,
|
|
117
|
+
} from "./ExecutionModeSelectorView";
|
|
118
|
+
export { ExecutionModeSelectorView } from "./ExecutionModeSelectorView";
|
|
119
|
+
export type { ExportMessageListViewProps } from "./ExportMessageListView";
|
|
120
|
+
export { ExportMessageListView } from "./ExportMessageListView";
|
|
121
|
+
export type {
|
|
122
|
+
GuideBadgeSwiperViewLabels,
|
|
123
|
+
GuideBadgeSwiperViewProps,
|
|
124
|
+
GuideBadgeViewItem,
|
|
125
|
+
} from "./GuideBadgeSwiperView";
|
|
126
|
+
export { GuideBadgeSwiperView } from "./GuideBadgeSwiperView";
|
|
127
|
+
export type { InlineTokenChipProps } from "./InlineTokenChip";
|
|
128
|
+
export { InlineTokenChip } from "./InlineTokenChip";
|
|
129
|
+
export type {
|
|
130
|
+
InputActionBarItemView,
|
|
131
|
+
InputActionBarViewModel,
|
|
132
|
+
InputActionBarViewProps,
|
|
133
|
+
} from "./InputActionBarView";
|
|
134
|
+
export { InputActionBarView } from "./InputActionBarView";
|
|
135
|
+
export type { InputBarBackgroundProps } from "./InputBarBackground";
|
|
136
|
+
export { InputBarBackground } from "./InputBarBackground";
|
|
137
|
+
export type { InputBarCapsuleLabels, InputBarCapsuleProps } from "./InputBarCapsule";
|
|
138
|
+
export { InputBarCapsule } from "./InputBarCapsule";
|
|
139
|
+
export type {
|
|
140
|
+
InputBarContextMenuViewLabels,
|
|
141
|
+
InputBarContextMenuViewProps,
|
|
142
|
+
} from "./InputBarContextMenuView";
|
|
143
|
+
export { InputBarContextMenuView } from "./InputBarContextMenuView";
|
|
144
|
+
export type {
|
|
145
|
+
InputBarPlaceholderClassNames,
|
|
146
|
+
InputBarPlaceholderProps,
|
|
147
|
+
} from "./InputBarPlaceholder";
|
|
148
|
+
export { InputBarPlaceholder } from "./InputBarPlaceholder";
|
|
149
|
+
export type { InputBarToolbarButtonProps } from "./InputBarToolbarButton";
|
|
150
|
+
export { InputBarToolbarButton } from "./InputBarToolbarButton";
|
|
151
|
+
export type {
|
|
152
|
+
KbFilterByTagsViewProps,
|
|
153
|
+
KbFilterPageItem,
|
|
154
|
+
KbListTagsViewProps,
|
|
155
|
+
KbTagItem,
|
|
156
|
+
KbWritePageViewProps,
|
|
157
|
+
} from "./KnowledgeToolViews";
|
|
158
|
+
export { KbFilterByTagsView, KbListTagsView, KbWritePageView } from "./KnowledgeToolViews";
|
|
159
|
+
export type { LiveThinkingViewProps } from "./LiveThinkingView";
|
|
160
|
+
export { LiveThinkingView } from "./LiveThinkingView";
|
|
161
|
+
export type { CopyButtonLabels } from "./MessageActions";
|
|
162
|
+
export {
|
|
163
|
+
CopyButton,
|
|
164
|
+
formatDuration,
|
|
165
|
+
formatRelativeTime,
|
|
166
|
+
formatTime,
|
|
167
|
+
RelativeTimeLabel,
|
|
168
|
+
} from "./MessageActions";
|
|
169
|
+
export type { SegmentShellProps, ToolCallGroupViewProps } from "./MessageBlockSegmentsView";
|
|
170
|
+
export { ErrorBlockView, SegmentShell, ToolCallGroupView } from "./MessageBlockSegmentsView";
|
|
171
|
+
export type {
|
|
172
|
+
CompactionBoundaryViewProps,
|
|
173
|
+
ForkOriginBannerViewProps,
|
|
174
|
+
ModelSwitchBoundaryViewProps,
|
|
175
|
+
} from "./MessageBoundaryViews";
|
|
176
|
+
export {
|
|
177
|
+
CompactionBoundaryView,
|
|
178
|
+
ForkOriginBannerView,
|
|
179
|
+
ModelSwitchBoundaryView,
|
|
180
|
+
} from "./MessageBoundaryViews";
|
|
181
|
+
export type {
|
|
182
|
+
MessageCardsTabItem,
|
|
183
|
+
MessageCardsViewLabels,
|
|
184
|
+
MessageCardsViewProps,
|
|
185
|
+
} from "./MessageCardsView";
|
|
186
|
+
export { MessageCardsView } from "./MessageCardsView";
|
|
187
|
+
export type {
|
|
188
|
+
MessageFeedLayoutPrimitiveProps,
|
|
189
|
+
MessageFeedListLayoutProps,
|
|
190
|
+
} from "./MessageFeedLayoutView";
|
|
191
|
+
export {
|
|
192
|
+
MessageFeedLayout,
|
|
193
|
+
MessageFeedLayoutFrame,
|
|
194
|
+
MessageFeedLayoutLeftRail,
|
|
195
|
+
MessageFeedLayoutList,
|
|
196
|
+
MessageFeedLayoutRailContent,
|
|
197
|
+
MessageFeedLayoutState,
|
|
198
|
+
MessageFeedLayoutViewport,
|
|
199
|
+
MessageFeedLayoutVirtualizer,
|
|
200
|
+
} from "./MessageFeedLayoutView";
|
|
201
|
+
export type {
|
|
202
|
+
MessageFeedPrimitiveProps,
|
|
203
|
+
MessageFeedRootProps,
|
|
204
|
+
MessageFeedVirtualListChild,
|
|
205
|
+
MessageFeedVirtualListProps,
|
|
206
|
+
} from "./MessageFeedView";
|
|
207
|
+
export {
|
|
208
|
+
MessageFeed,
|
|
209
|
+
MessageFeedFooter,
|
|
210
|
+
MessageFeedRoot,
|
|
211
|
+
MessageFeedVirtualList,
|
|
212
|
+
} from "./MessageFeedView";
|
|
213
|
+
export type {
|
|
214
|
+
MessageInputDropZoneProps,
|
|
215
|
+
MessageInputPrimitiveProps,
|
|
216
|
+
MessageInputRootProps,
|
|
217
|
+
} from "./MessageInputView";
|
|
218
|
+
export {
|
|
219
|
+
MessageInput,
|
|
220
|
+
MessageInputContent,
|
|
221
|
+
MessageInputDropZone,
|
|
222
|
+
MessageInputRoot,
|
|
223
|
+
MessageInputSurface,
|
|
224
|
+
MessageInputToolbar,
|
|
225
|
+
MessageInputToolbarLeading,
|
|
226
|
+
MessageInputToolbarTrailing,
|
|
227
|
+
} from "./MessageInputView";
|
|
228
|
+
export type {
|
|
229
|
+
MessageLayoutKind,
|
|
230
|
+
MessageLayoutPrimitiveProps,
|
|
231
|
+
} from "./MessageLayoutView";
|
|
232
|
+
export {
|
|
233
|
+
MessageLayout,
|
|
234
|
+
MessageLayoutAfterBody,
|
|
235
|
+
MessageLayoutBeforeBody,
|
|
236
|
+
MessageLayoutEvent,
|
|
237
|
+
MessageLayoutFooter,
|
|
238
|
+
MessageLayoutHeader,
|
|
239
|
+
MessageLayoutHeaderLeading,
|
|
240
|
+
MessageLayoutIncoming,
|
|
241
|
+
MessageLayoutIncomingSurface,
|
|
242
|
+
MessageLayoutOutgoing,
|
|
243
|
+
MessageLayoutOutgoingContent,
|
|
244
|
+
} from "./MessageLayoutView";
|
|
245
|
+
export type { MessageListFooterPrimitiveProps } from "./MessageListFooterView";
|
|
246
|
+
export {
|
|
247
|
+
MessageListFooter,
|
|
248
|
+
MessageListFooterCompacting,
|
|
249
|
+
MessageListFooterPending,
|
|
250
|
+
MessageListFooterPresence,
|
|
251
|
+
MessageListFooterRetry,
|
|
252
|
+
MessageListFooterRoot,
|
|
253
|
+
MessageListFooterWaiting,
|
|
254
|
+
} from "./MessageListFooterView";
|
|
255
|
+
export type {
|
|
256
|
+
MessageSelectionContextMenuViewLabels,
|
|
257
|
+
MessageSelectionContextMenuViewProps,
|
|
258
|
+
} from "./MessageSelectionContextMenuView";
|
|
259
|
+
export { MessageSelectionContextMenuView } from "./MessageSelectionContextMenuView";
|
|
260
|
+
export type {
|
|
261
|
+
MessageTimelineButtonProps,
|
|
262
|
+
MessageTimelinePrimitiveProps,
|
|
263
|
+
MessageTimelineTickProps,
|
|
264
|
+
} from "./MessageTimelineView";
|
|
265
|
+
export {
|
|
266
|
+
MessageTimeline,
|
|
267
|
+
MessageTimelineBody,
|
|
268
|
+
MessageTimelineClose,
|
|
269
|
+
MessageTimelineCount,
|
|
270
|
+
MessageTimelineEmpty,
|
|
271
|
+
MessageTimelineEntry,
|
|
272
|
+
MessageTimelineEntryMatch,
|
|
273
|
+
MessageTimelineEntryPreview,
|
|
274
|
+
MessageTimelineNavigation,
|
|
275
|
+
MessageTimelinePanel,
|
|
276
|
+
MessageTimelinePanelHeader,
|
|
277
|
+
MessageTimelinePanelHeading,
|
|
278
|
+
MessageTimelinePanelPositioner,
|
|
279
|
+
MessageTimelineRail,
|
|
280
|
+
MessageTimelineRoot,
|
|
281
|
+
MessageTimelineTick,
|
|
282
|
+
MessageTimelineTickPreview,
|
|
283
|
+
MessageTimelineTitle,
|
|
284
|
+
MessageTimelineTrigger,
|
|
285
|
+
} from "./MessageTimelineView";
|
|
286
|
+
export type { MessageRootProps, MessageTextProps } from "./MessageView";
|
|
287
|
+
export {
|
|
288
|
+
Message,
|
|
289
|
+
MessageAuthor,
|
|
290
|
+
MessageMeta,
|
|
291
|
+
MessageRoot,
|
|
292
|
+
MessageStatus,
|
|
293
|
+
} from "./MessageView";
|
|
294
|
+
export {
|
|
295
|
+
MessageVisual,
|
|
296
|
+
MessageVisualEventBubble,
|
|
297
|
+
MessageVisualOutgoingBubble,
|
|
298
|
+
} from "./MessageVisualView";
|
|
299
|
+
export type {
|
|
300
|
+
ModelSelectorLabels,
|
|
301
|
+
ModelSelectorOptionView,
|
|
302
|
+
ModelSelectorProviderGroup,
|
|
303
|
+
ModelSelectorViewProps,
|
|
304
|
+
} from "./ModelSelectorView";
|
|
305
|
+
export { ModelSelectorView } from "./ModelSelectorView";
|
|
306
|
+
export type {
|
|
307
|
+
NewSessionGuidingWordsGroup,
|
|
308
|
+
NewSessionGuidingWordsProps,
|
|
309
|
+
NewSessionHeroAvatar,
|
|
310
|
+
NewSessionHeroIdentity,
|
|
311
|
+
NewSessionHeroProps,
|
|
312
|
+
NewSessionSceneActionState,
|
|
313
|
+
NewSessionSceneCarouselLabels,
|
|
314
|
+
NewSessionSceneCarouselProps,
|
|
315
|
+
NewSessionSceneItem,
|
|
316
|
+
NewSessionSelection,
|
|
317
|
+
NewSessionSkillBadgeRowLabels,
|
|
318
|
+
NewSessionSkillBadgeRowProps,
|
|
319
|
+
NewSessionSkillItem,
|
|
320
|
+
NewSessionSkillSelection,
|
|
321
|
+
} from "./NewSession";
|
|
322
|
+
export {
|
|
323
|
+
NEW_SESSION_TEXTURE_MASK,
|
|
324
|
+
NewSessionAmbientGlow,
|
|
325
|
+
NewSessionBackground,
|
|
326
|
+
} from "./NewSessionBackground";
|
|
327
|
+
export type { NewSessionPageLayoutViewProps } from "./NewSessionPageLayoutView";
|
|
328
|
+
export { NewSessionPageLayoutView } from "./NewSessionPageLayoutView";
|
|
329
|
+
export type {
|
|
330
|
+
NewSessionPickerRootProps,
|
|
331
|
+
NewSessionPickerTriggerProps,
|
|
332
|
+
NewSessionPickerValueProps,
|
|
333
|
+
} from "./NewSessionPicker";
|
|
334
|
+
export {
|
|
335
|
+
NewSessionPicker,
|
|
336
|
+
NewSessionPickerClear,
|
|
337
|
+
NewSessionPickerContent,
|
|
338
|
+
NewSessionPickerEmpty,
|
|
339
|
+
NewSessionPickerError,
|
|
340
|
+
NewSessionPickerFooter,
|
|
341
|
+
NewSessionPickerGroup,
|
|
342
|
+
NewSessionPickerItem,
|
|
343
|
+
NewSessionPickerItemIcon,
|
|
344
|
+
NewSessionPickerItemIndicator,
|
|
345
|
+
NewSessionPickerItemText,
|
|
346
|
+
NewSessionPickerLoading,
|
|
347
|
+
NewSessionPickerRoot,
|
|
348
|
+
NewSessionPickerSearch,
|
|
349
|
+
NewSessionPickerTrigger,
|
|
350
|
+
NewSessionPickerValue,
|
|
351
|
+
NewSessionPickerViewport,
|
|
352
|
+
} from "./NewSessionPicker";
|
|
353
|
+
export type {
|
|
354
|
+
ProgressGroupPrimitiveProps,
|
|
355
|
+
ProgressGroupRootProps,
|
|
356
|
+
ProgressGroupRowPrimitiveProps,
|
|
357
|
+
ProgressGroupRowRootProps,
|
|
358
|
+
ProgressGroupRowTriggerProps,
|
|
359
|
+
ProgressGroupTriggerProps,
|
|
360
|
+
} from "./ProgressGroupView";
|
|
361
|
+
export {
|
|
362
|
+
ProgressGroup,
|
|
363
|
+
ProgressGroupChevron,
|
|
364
|
+
ProgressGroupContent,
|
|
365
|
+
ProgressGroupFrame,
|
|
366
|
+
ProgressGroupRoot,
|
|
367
|
+
ProgressGroupRowChevron,
|
|
368
|
+
ProgressGroupRowContent,
|
|
369
|
+
ProgressGroupRowFrame,
|
|
370
|
+
ProgressGroupRowRoot,
|
|
371
|
+
ProgressGroupRowStatus,
|
|
372
|
+
ProgressGroupRowText,
|
|
373
|
+
ProgressGroupRowTrigger,
|
|
374
|
+
ProgressGroupStatus,
|
|
375
|
+
ProgressGroupTitle,
|
|
376
|
+
ProgressGroupTrigger,
|
|
377
|
+
} from "./ProgressGroupView";
|
|
378
|
+
export type {
|
|
379
|
+
ProjectSelectorOptionView,
|
|
380
|
+
ProjectSelectorViewLabels,
|
|
381
|
+
ProjectSelectorViewProps,
|
|
382
|
+
} from "./ProjectSelectorView";
|
|
383
|
+
export { ProjectSelectorView } from "./ProjectSelectorView";
|
|
384
|
+
export type {
|
|
385
|
+
QueueCardItem,
|
|
386
|
+
QueueCardPausedBanner,
|
|
387
|
+
QueueCardViewLabels,
|
|
388
|
+
QueueCardViewProps,
|
|
389
|
+
} from "./QueueCardView";
|
|
390
|
+
export { QueueCardView } from "./QueueCardView";
|
|
391
|
+
export type { ReadImageViewProps } from "./ReadImageView";
|
|
392
|
+
export { ReadImageView } from "./ReadImageView";
|
|
393
|
+
export type {
|
|
394
|
+
SandboxGrantsBadgeViewLabels,
|
|
395
|
+
SandboxGrantsBadgeViewProps,
|
|
396
|
+
SandboxGrantViewItem,
|
|
397
|
+
} from "./SandboxGrantsBadgeView";
|
|
398
|
+
export { SandboxGrantsBadgeView } from "./SandboxGrantsBadgeView";
|
|
399
|
+
export type {
|
|
400
|
+
SandboxPermissionCardLabels,
|
|
401
|
+
SandboxPermissionCardProps,
|
|
402
|
+
SandboxPermissionRequestModel,
|
|
403
|
+
} from "./SandboxPermissionCard";
|
|
404
|
+
export { SandboxPermissionCard } from "./SandboxPermissionCard";
|
|
405
|
+
export type {
|
|
406
|
+
SceneCardActionState,
|
|
407
|
+
SceneCardClassNames,
|
|
408
|
+
SceneCardModel,
|
|
409
|
+
SceneCardProps,
|
|
410
|
+
SceneCardState,
|
|
411
|
+
} from "./SceneCard";
|
|
412
|
+
export { SceneCard } from "./SceneCard";
|
|
413
|
+
export type { SendButtonLabels, SendButtonProps } from "./SendButton";
|
|
414
|
+
export { SendButton } from "./SendButton";
|
|
415
|
+
export type {
|
|
416
|
+
SessionDropDragKind,
|
|
417
|
+
SessionDropZoneViewLabels,
|
|
418
|
+
SessionDropZoneViewProps,
|
|
419
|
+
} from "./SessionDropZoneView";
|
|
420
|
+
export { SessionDropZoneView } from "./SessionDropZoneView";
|
|
421
|
+
export type { SessionViewerPageViewProps } from "./SessionViewerPageView";
|
|
422
|
+
export { SessionViewerPageView } from "./SessionViewerPageView";
|
|
423
|
+
export type { SkillCardClassNames, SkillCardModel, SkillCardProps } from "./SkillCard";
|
|
424
|
+
export { SkillCard } from "./SkillCard";
|
|
425
|
+
export type {
|
|
426
|
+
SkillPromptAreaViewLabels,
|
|
427
|
+
SkillPromptAreaViewProps,
|
|
428
|
+
} from "./SkillPromptAreaView";
|
|
429
|
+
export { SkillPromptAreaView } from "./SkillPromptAreaView";
|
|
430
|
+
export type { SuggestionBubblesViewProps } from "./SuggestionBubblesView";
|
|
431
|
+
export { SuggestionBubblesView } from "./SuggestionBubblesView";
|
|
432
|
+
export type {
|
|
433
|
+
InlineTokenAnnotation,
|
|
434
|
+
InlineTokenPiece,
|
|
435
|
+
InlineTokenSupport,
|
|
436
|
+
TextBlockViewLabels,
|
|
437
|
+
TextBlockViewProps,
|
|
438
|
+
} from "./TextBlockView";
|
|
439
|
+
export { TextBlockView } from "./TextBlockView";
|
|
440
|
+
export type { TextPreviewLabels, TextPreviewProps } from "./TextPreview";
|
|
441
|
+
export { TextPreview } from "./TextPreview";
|
|
442
|
+
export type {
|
|
443
|
+
ThinkingBlockPrimitiveProps,
|
|
444
|
+
ThinkingBlockRootProps,
|
|
445
|
+
ThinkingBlockTriggerProps,
|
|
446
|
+
} from "./ThinkingBlockView";
|
|
447
|
+
export {
|
|
448
|
+
ThinkingBlock,
|
|
449
|
+
ThinkingBlockChevron,
|
|
450
|
+
ThinkingBlockContent,
|
|
451
|
+
ThinkingBlockFrame,
|
|
452
|
+
ThinkingBlockIcon,
|
|
453
|
+
ThinkingBlockLineCount,
|
|
454
|
+
ThinkingBlockRoot,
|
|
455
|
+
ThinkingBlockTitle,
|
|
456
|
+
ThinkingBlockTrigger,
|
|
457
|
+
} from "./ThinkingBlockView";
|
|
458
|
+
export type { TodoCardItem, TodoCardLabels, TodoCardProps } from "./TodoCard";
|
|
459
|
+
export { TodoCard } from "./TodoCard";
|
|
460
|
+
export type {
|
|
461
|
+
TodoStatusItem,
|
|
462
|
+
TodoStatusSummary,
|
|
463
|
+
TodoTimelineLabels,
|
|
464
|
+
TodoTimelineProps,
|
|
465
|
+
} from "./TodoProgress";
|
|
466
|
+
export {
|
|
467
|
+
selectTodoStatusSummary,
|
|
468
|
+
TODO_PROGRESS_CSS,
|
|
469
|
+
TodoProgressBar,
|
|
470
|
+
TodoProgressStyles,
|
|
471
|
+
TodoStatusDot,
|
|
472
|
+
TodoTimeline,
|
|
473
|
+
todoLabelSheenStyle,
|
|
474
|
+
} from "./TodoProgress";
|
|
475
|
+
export type { TodoStatusBarLabels, TodoStatusBarViewProps } from "./TodoStatusBarView";
|
|
476
|
+
export { TodoStatusBarView } from "./TodoStatusBarView";
|
|
477
|
+
export type {
|
|
478
|
+
ToolCallPrimitiveProps,
|
|
479
|
+
ToolCallRootProps,
|
|
480
|
+
ToolCallTriggerProps,
|
|
481
|
+
} from "./ToolCallBlockView";
|
|
482
|
+
export {
|
|
483
|
+
ToolCall,
|
|
484
|
+
ToolCallBadge,
|
|
485
|
+
ToolCallChevron,
|
|
486
|
+
ToolCallContent,
|
|
487
|
+
ToolCallDetail,
|
|
488
|
+
ToolCallEmbedded,
|
|
489
|
+
ToolCallFrame,
|
|
490
|
+
ToolCallName,
|
|
491
|
+
ToolCallPhase,
|
|
492
|
+
ToolCallRoot,
|
|
493
|
+
ToolCallServer,
|
|
494
|
+
ToolCallStatusIcon,
|
|
495
|
+
ToolCallTrigger,
|
|
496
|
+
} from "./ToolCallBlockView";
|
|
497
|
+
export type { UsageBarViewProps } from "./UsageBarView";
|
|
498
|
+
export { UsageBarView } from "./UsageBarView";
|
|
499
|
+
export type {
|
|
500
|
+
UserMessageContextMenuViewLabels,
|
|
501
|
+
UserMessageContextMenuViewProps,
|
|
502
|
+
} from "./UserMessageContextMenuView";
|
|
503
|
+
export { UserMessageContextMenuView } from "./UserMessageContextMenuView";
|
|
504
|
+
export type {
|
|
505
|
+
UserMessageEntryState,
|
|
506
|
+
UserMessageViewLabels,
|
|
507
|
+
} from "./UserMessageView";
|
|
508
|
+
export {
|
|
509
|
+
SettingsAssistBadgeView,
|
|
510
|
+
SkillBadgeView,
|
|
511
|
+
UserMessage,
|
|
512
|
+
UserMessageAction,
|
|
513
|
+
UserMessageFrame,
|
|
514
|
+
UserMessageText,
|
|
515
|
+
} from "./UserMessageView";
|
|
516
|
+
export type {
|
|
517
|
+
UseHorizontalDragScrollOptions,
|
|
518
|
+
UseHorizontalDragScrollResult,
|
|
519
|
+
} from "./useHorizontalDragScroll";
|
|
520
|
+
export { useHorizontalDragScroll } from "./useHorizontalDragScroll";
|
|
521
|
+
export type { WorkflowFooterItem, WorkflowFooterItemsViewProps } from "./WorkflowFooterItemsView";
|
|
522
|
+
export { WorkflowFooterItemsView } from "./WorkflowFooterItemsView";
|
|
523
|
+
export type { WriteContentViewProps } from "./WriteContentView";
|
|
524
|
+
export { WriteContentView } from "./WriteContentView";
|