@mcp-b/react-components 0.56.0 → 0.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentActivity-Cc_oDYum.d.ts → AgentActivity-DSObWhDU.d.ts} +3 -9
- package/dist/{AgentChatQueue-MrHhV901.d.ts → AgentChatQueue-CGR4hd7D.d.ts} +2 -9
- package/dist/{AgentMessageParts-C7L-Mv9U.d.ts → AgentMessageParts-BtWwiE4f.d.ts} +1 -6
- package/dist/{AgentToolRunsContext-DT50htHj.d.ts → AgentToolRunsContext-DniwGn96.d.ts} +1 -5
- package/dist/{AppTopBar-CVkLRdk7.d.ts → AppTopBar-DwzydmXu.d.ts} +8 -43
- package/dist/{Avatar-o2NO1fCG.d.ts → Avatar-t1YRzdwB.d.ts} +7 -30
- package/dist/{Button-DjONW5UW.d.ts → Button-ClRxb8tM.d.ts} +4 -17
- package/dist/{CodeBlock-DJ99TQWy.d.ts → CodeBlock-CPotpyyM.d.ts} +16 -72
- package/dist/{Correspondent-7K6uNLUm.d.ts → Correspondent-ANkZHGEa.d.ts} +1 -5
- package/dist/{Dialog-88GF7_Th.d.ts → Dialog-D5AVE3IN.d.ts} +9 -49
- package/dist/{EmployeeChrome-B7Gt2Hpk.d.ts → EmployeeChrome-CN99SVfF.d.ts} +15 -59
- package/dist/{FileTree-okaLnS5j.js → FileTree-D61EeWRU.js} +0 -1
- package/dist/{Form-CM7GNTwR.d.ts → Form-DIpgCZ2V.d.ts} +3 -7
- package/dist/{IconButton-CAlFVb2L.d.ts → IconButton-43ggXEuf.d.ts} +4 -14
- package/dist/McpConnectorForm-BPWCo9bU.d.ts +35 -0
- package/dist/{McpPluginCatalog-DNeHDrts.d.ts → McpPluginCatalog-uSh0gGeY.d.ts} +5 -32
- package/dist/{Menu-CgfUZhZd.d.ts → Menu-FA4P6KrA.d.ts} +18 -87
- package/dist/{Message-COsMPZSC.d.ts → Message-CwCqa90H.d.ts} +20 -116
- package/dist/{MessageScrollerVirtual-D4afYwVB.d.ts → MessageScrollerVirtual-DVQeEkNy.d.ts} +2 -16
- package/dist/{Popover-CgHG5DtS.d.ts → Popover-BtAR4Tn8.d.ts} +12 -54
- package/dist/{PromptInput-DGPrCTPl.d.ts → PromptInput-C3adKglc.d.ts} +35 -243
- package/dist/{PromptInputApproval-D2hpn54U.d.ts → PromptInputApproval-C6KvCOMZ.d.ts} +2 -17
- package/dist/{ResponsiveSidebarShell-BUBQa_IV.d.ts → ResponsiveSidebarShell-DoZlSP30.d.ts} +4 -20
- package/dist/{Select-RrceeEIe.d.ts → Select-CEzSA672.d.ts} +16 -86
- package/dist/{Separator-CzhtLYE1.d.ts → Separator-CYWGW1tr.d.ts} +1 -8
- package/dist/{Tabs-Ptrbaynh.d.ts → Tabs-BYs-RgJ7.d.ts} +5 -33
- package/dist/{ThinkChatActivity-B6dh3n0-.d.ts → ThinkChatActivity-BkGjTY4r.d.ts} +6 -18
- package/dist/{ThinkChatActivitySummary-BtBQgMg6.d.ts → ThinkChatActivitySummary-DZVy3uQV.d.ts} +2 -3
- package/dist/{ThinkChatContext-COIgzkYp.d.ts → ThinkChatContext-DQ6M2VlJ.d.ts} +0 -1
- package/dist/{ThinkChatToolParts-D4qcnnxt.d.ts → ThinkChatToolParts-BucHi63O.d.ts} +1 -2
- package/dist/{ThinkExecutionRun-k8bpyXqt.d.ts → ThinkExecutionRun-CPeYVneQ.d.ts} +0 -1
- package/dist/{ThinkRoutine-Cb1DdaHa.d.ts → ThinkRoutine-DGlKJbIy.d.ts} +1 -2
- package/dist/{ThinkThreadPicker-DX0lL-P7.d.ts → ThinkThreadPicker-BmIZmpae.d.ts} +4 -19
- package/dist/{Toolbar-CGY004u0.d.ts → Toolbar-Dcn4IszI.d.ts} +8 -34
- package/dist/{Workspace-mzMZSdts.d.ts → Workspace-Cr-aGDfx.d.ts} +3 -19
- package/dist/{WorkspaceFile-19WP0EU1.d.ts → WorkspaceFile-DiwiJEwO.d.ts} +3 -3
- package/dist/{WorkspaceFileView-DQDWUpAH.js → WorkspaceFileView-DCvGBsI1.js} +5 -4
- package/dist/{WorkspaceLink-BYZG-V_I.js → WorkspaceLink-BeFAXpbI.js} +14 -13
- package/dist/{WorkspaceLink-Bh9-Jo1r.d.ts → WorkspaceLink-Buo6gKj2.d.ts} +3 -23
- package/dist/{WorkspaceMessageResponse-BApg8KZv.d.ts → WorkspaceMessageResponse-D8FGgIQU.d.ts} +3 -12
- package/dist/{WorkspaceMessageResponse-CUJk9_P5.js → WorkspaceMessageResponse-DnsdpaGU.js} +1 -1
- package/dist/{WorkspaceMountManager-CkLI1B-G.d.ts → WorkspaceMountManager-DM384Cn6.d.ts} +1 -11
- package/dist/{codex-model-catalog-BBN_gWcc.d.ts → codex-model-catalog-CBWDdQl7.d.ts} +4 -2
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +41 -89
- package/dist/components/agents-sdk/AgentChat.js +12 -15
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.d.ts +5 -13
- package/dist/components/agents-sdk/AgentEvent.js +3 -3
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +12 -24
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +9 -8
- package/dist/components/agents-sdk/BrowserReplay.d.ts +5 -12
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +4 -6
- package/dist/components/agents-sdk/DiscordConnectionDialog.d.ts +3 -11
- package/dist/components/agents-sdk/EmployeeApp.d.ts +9 -30
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -39
- package/dist/components/agents-sdk/EmployeeChat.js +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +12 -11
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
- package/dist/components/agents-sdk/EmployeeSchedules.js +4 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
- package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
- package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- package/dist/components/agents-sdk/ManagerOffice.d.ts +41 -98
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +18 -29
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +13 -10
- package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +2 -2
- package/dist/components/agents-sdk/McpServerIcon.d.ts +4 -10
- package/dist/components/agents-sdk/McpServerPicker.d.ts +16 -52
- package/dist/components/agents-sdk/McpServerPicker.js +1 -1
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +3 -11
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +46 -134
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -7
- package/dist/components/agents-sdk/SlackConnectionDialog.d.ts +3 -10
- package/dist/components/agents-sdk/SubagentRunDetails.d.ts +12 -37
- package/dist/components/agents-sdk/SubagentRunDetails.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +9 -17
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/SubagentRunList.d.ts +4 -13
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +7 -19
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +6 -16
- package/dist/components/agents-sdk/ThinkChat.d.ts +21 -41
- package/dist/components/agents-sdk/ThinkChat.js +3 -2
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +2 -2
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +4 -3
- package/dist/components/agents-sdk/ThinkChatContext.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +9 -23
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +10 -7
- package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +4 -12
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionRun.js +3 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +8 -20
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +20 -57
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -2
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +10 -30
- package/dist/components/agents-sdk/ThinkFullApp.js +1 -4
- package/dist/components/agents-sdk/ThinkPendingApproval.d.ts +6 -28
- package/dist/components/agents-sdk/ThinkPendingApproval.js +1 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +4 -8
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +8 -17
- package/dist/components/agents-sdk/ThinkRoutineActions.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +5 -17
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +4 -15
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +8 -16
- package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +4 -14
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +12 -9
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +3 -10
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +3 -3
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +4 -15
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +10 -18
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +12 -27
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +2 -2
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +18 -32
- package/dist/components/agents-sdk/WorkspaceExecution.js +3 -3
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +8 -11
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +4 -16
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.d.ts +3 -14
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +2 -1
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +8 -16
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +22 -38
- package/dist/components/agents-sdk/WorkspaceProject.js +2 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceUserScript.js +3 -2
- package/dist/components/ai-sdk/Activity.d.ts +21 -90
- package/dist/components/ai-sdk/AgentAttention.d.ts +15 -44
- package/dist/components/ai-sdk/AgentChatMessageEditor.d.ts +3 -11
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +15 -54
- package/dist/components/ai-sdk/AgentChatStartScreen.js +11 -10
- package/dist/components/ai-sdk/AgentChatTurnError.d.ts +3 -8
- package/dist/components/ai-sdk/AgentMessageParts.d.ts +1 -1
- package/dist/components/ai-sdk/AgentMessageParts.js +4 -2
- package/dist/components/ai-sdk/Approval.d.ts +20 -56
- package/dist/components/ai-sdk/Approval.js +1 -1
- package/dist/components/ai-sdk/Artifact.d.ts +23 -73
- package/dist/components/ai-sdk/ChainOfThought.d.ts +19 -62
- package/dist/components/ai-sdk/Checkpoint.d.ts +13 -40
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/ComposerLink.d.ts +6 -17
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +20 -60
- package/dist/components/ai-sdk/Context.d.ts +27 -65
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +16 -50
- package/dist/components/ai-sdk/Correspondent.d.ts +1 -1
- package/dist/components/ai-sdk/ExpansionState.d.ts +6 -11
- package/dist/components/ai-sdk/Goal.d.ts +20 -61
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/InlineCitation.d.ts +11 -30
- package/dist/components/ai-sdk/InlineCitation.js +8 -7
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +15 -53
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +1 -1
- package/dist/components/ai-sdk/MessageScroller.d.ts +14 -42
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/Plan.d.ts +32 -95
- package/dist/components/ai-sdk/Plan.js +3 -2
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +1 -1
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +5 -19
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +1 -1
- package/dist/components/ai-sdk/Queue.d.ts +39 -130
- package/dist/components/ai-sdk/Reasoning.d.ts +10 -32
- package/dist/components/ai-sdk/Sources.d.ts +11 -35
- package/dist/components/ai-sdk/Task.d.ts +13 -41
- package/dist/components/ai-sdk/ToolApproval.d.ts +3 -14
- package/dist/components/ai-sdk/ToolInvocation.d.ts +3 -9
- package/dist/components/ai-sdk/ToolInvocation.js +2 -4
- package/dist/components/ai-sdk/ToolPart.d.ts +5 -7
- package/dist/components/extension/ChatGptSignInScreen.d.ts +6 -20
- package/dist/components/extension/CodexModelSelector.d.ts +5 -22
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.d.ts +5 -10
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- package/dist/components/foundations/Accordion.d.ts +12 -34
- package/dist/components/foundations/AlertDialog.d.ts +24 -72
- package/dist/components/foundations/AlertDialog.js +6 -3
- package/dist/components/foundations/AppIcon.d.ts +15 -37
- package/dist/components/foundations/Autocomplete.d.ts +13 -59
- package/dist/components/foundations/Avatar.d.ts +1 -1
- package/dist/components/foundations/Avatar.js +4 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Card.d.ts +15 -54
- package/dist/components/foundations/Checkbox.d.ts +5 -15
- package/dist/components/foundations/CheckboxGroup.d.ts +14 -44
- package/dist/components/foundations/CheckboxGroup.js +14 -7
- package/dist/components/foundations/Collapsible.d.ts +10 -26
- package/dist/components/foundations/Combobox.d.ts +13 -59
- package/dist/components/foundations/ContextMenu.d.ts +31 -93
- package/dist/components/foundations/ContextMenu.js +2 -1
- package/dist/components/foundations/DescriptionList.d.ts +6 -26
- package/dist/components/foundations/Dialog.d.ts +1 -1
- package/dist/components/foundations/Dialog.js +4 -2
- package/dist/components/foundations/EmptyState.d.ts +5 -14
- package/dist/components/foundations/Field.d.ts +29 -84
- package/dist/components/foundations/Fieldset.d.ts +10 -24
- package/dist/components/foundations/Fieldset.js +2 -1
- package/dist/components/foundations/Form.d.ts +1 -1
- package/dist/components/foundations/Form.js +2 -1
- package/dist/components/foundations/FormattedDate.d.ts +3 -7
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/Input.d.ts +3 -9
- package/dist/components/foundations/Input.js +2 -1
- package/dist/components/foundations/Kbd.d.ts +3 -10
- package/dist/components/foundations/Label.d.ts +5 -12
- package/dist/components/foundations/Label.js +2 -1
- package/dist/components/foundations/LinkButton.d.ts +10 -17
- package/dist/components/foundations/Marker.d.ts +10 -29
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +2 -1
- package/dist/components/foundations/Menubar.d.ts +35 -101
- package/dist/components/foundations/Menubar.js +4 -2
- package/dist/components/foundations/Meter.d.ts +14 -35
- package/dist/components/foundations/NavigationMenu.d.ts +25 -71
- package/dist/components/foundations/NumberField.d.ts +16 -41
- package/dist/components/foundations/Popover.d.ts +1 -1
- package/dist/components/foundations/Popover.js +2 -1
- package/dist/components/foundations/PreviewCard.d.ts +16 -42
- package/dist/components/foundations/Progress.d.ts +9 -24
- package/dist/components/foundations/RadioGroup.d.ts +9 -24
- package/dist/components/foundations/RadioGroup.js +2 -1
- package/dist/components/foundations/ScrollArea.d.ts +16 -42
- package/dist/components/foundations/SearchField.d.ts +10 -23
- package/dist/components/foundations/Select.d.ts +1 -1
- package/dist/components/foundations/Separator.d.ts +1 -1
- package/dist/components/foundations/Slider.d.ts +16 -46
- package/dist/components/foundations/Stepper.d.ts +31 -91
- package/dist/components/foundations/Switch.d.ts +6 -17
- package/dist/components/foundations/Tabs.d.ts +1 -1
- package/dist/components/foundations/Textarea.d.ts +5 -11
- package/dist/components/foundations/ThemeProvider.d.ts +5 -13
- package/dist/components/foundations/Toast.d.ts +19 -51
- package/dist/components/foundations/Toggle.d.ts +7 -18
- package/dist/components/foundations/Toggle.js +5 -4
- package/dist/components/foundations/ToggleGroup.d.ts +12 -27
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/Toolbar.d.ts +1 -1
- package/dist/components/foundations/Tooltip.d.ts +16 -43
- package/dist/components/foundations/TransitionSurface.d.ts +6 -12
- package/dist/components/foundations/icons.d.ts +1 -1
- package/dist/components/general-purpose/AccountSignInDialog.d.ts +3 -10
- package/dist/components/general-purpose/ActionGuide.d.ts +14 -47
- package/dist/components/general-purpose/AppFrame.d.ts +4 -14
- package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
- package/dist/components/general-purpose/BrandLoading.d.ts +3 -7
- package/dist/components/general-purpose/Commit.d.ts +48 -156
- package/dist/components/general-purpose/Commit.js +2 -1
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +27 -93
- package/dist/components/general-purpose/FileTree.d.ts +15 -62
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/NotificationPrompt.d.ts +2 -7
- package/dist/components/general-purpose/Pricing.d.ts +10 -11
- package/dist/components/general-purpose/PricingBillingToggle.d.ts +3 -11
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingConfirmationDialog.d.ts +3 -13
- package/dist/components/general-purpose/PricingFAQ.d.ts +3 -9
- package/dist/components/general-purpose/PricingPage.d.ts +3 -30
- package/dist/components/general-purpose/PricingPage.js +2 -1
- package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -12
- package/dist/components/general-purpose/PricingUsageCalculator.d.ts +3 -11
- package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
- package/dist/components/general-purpose/ResizableSidePanel.d.ts +10 -33
- package/dist/components/general-purpose/ResizableSidePanel.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +5 -13
- package/dist/components/general-purpose/SettingsFormDialog.js +1 -1
- package/dist/components/general-purpose/SetupChecklist.d.ts +6 -18
- package/dist/components/general-purpose/StatusScreen.d.ts +5 -13
- package/dist/components/general-purpose/Terminal.d.ts +22 -67
- package/dist/components/general-purpose/TestResults.d.ts +39 -137
- package/dist/components/general-purpose/TestResults.js +6 -5
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -10
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.d.ts +23 -76
- package/dist/components/nanites/AgentConnection.d.ts +11 -35
- package/dist/components/nanites/AgentToolDetail.d.ts +8 -27
- package/dist/components/nanites/AgentToolDetail.js +9 -8
- package/dist/components/nanites/GithubMotionMark.d.ts +2 -6
- package/dist/components/nanites/GithubMotionMark.js +2 -1
- package/dist/components/nanites/NaniteScene.d.ts +16 -19
- package/dist/components/nanites/NaniteScene.js +9 -8
- package/dist/{copy-button-CJYYgCIU.d.ts → copy-button-BIfY5M-D.d.ts} +1 -2
- package/dist/{format-COCyV98Z.js → format-CWaZEp5o.js} +1 -1
- package/dist/icons-CUuD7iEh.d.ts +73 -0
- package/dist/{mcp-server-catalog-D9p4gGeJ.d.ts → mcp-server-catalog-DgA9BnL0.d.ts} +0 -1
- package/dist/{progress-ring-Cgii90dC.js → progress-ring-L2bbF0ji.js} +1 -1
- package/dist/styles/agent-chat.css +30 -35
- package/dist/styles/app-icon.css +1 -2
- package/dist/styles/app-top-bar.css +2 -2
- package/dist/styles/base.css +19 -10
- package/dist/styles/brand-loading.css +14 -0
- package/dist/styles/brand.test.ts +21 -0
- package/dist/styles/browser-replay.css +2 -2
- package/dist/styles/button.css +0 -2
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/composition-motion.css +13 -3
- package/dist/styles/github-motion-mark.css +2 -2
- package/dist/styles/recipes.css +19 -19
- package/dist/styles/responsive-sidebar-shell.css +11 -1
- package/dist/styles/search-field.css +1 -1
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/think-routine.css +0 -2
- package/dist/styles/think-thread-picker.css +18 -5
- package/dist/styles/toggle-group.css +2 -2
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/utils/composer-link.d.ts +24 -25
- package/dist/utils/favicon.d.ts +3 -4
- package/dist/utils/mcp-server-catalog.d.ts +1 -1
- package/dist/utils/structured-code.d.ts +4 -6
- package/dist/utils/theme.d.ts +11 -12
- package/package.json +41 -41
- package/dist/McpConnectorForm--HB0MEGC.d.ts +0 -39
- package/dist/icons-CCZGYUwU.d.ts +0 -299
- package/dist/{ManagerOffice-D4L_xO4i.js → ManagerOffice-CJwBAEMv.js} +2 -2
- package/dist/{workspace-assets-wW_lQLYK.js → workspace-assets-C3QT6UlQ.js} +1 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../../Button-
|
|
2
|
-
import { vt as PromptInputTray } from "../../PromptInput-
|
|
1
|
+
import { r as ButtonProps } from "../../Button-ClRxb8tM.js";
|
|
2
|
+
import { vt as PromptInputTray } from "../../PromptInput-C3adKglc.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { useRender } from "@base-ui/react/use-render";
|
|
5
|
-
|
|
6
5
|
//#region src/components/ai-sdk/AgentChatStartScreen.d.ts
|
|
7
|
-
interface AgentChatStarterItem {
|
|
6
|
+
export interface AgentChatStarterItem {
|
|
8
7
|
id: string;
|
|
9
8
|
label: React.ReactNode;
|
|
10
9
|
icon?: React.ReactNode;
|
|
@@ -13,58 +12,30 @@ interface AgentChatStarterItem {
|
|
|
13
12
|
/** Accessible label for this suggestion's optional dismiss action. */
|
|
14
13
|
dismissLabel?: string;
|
|
15
14
|
}
|
|
16
|
-
interface AgentChatStarterListProps extends Omit<React.ComponentPropsWithoutRef<"ul">, "children" | "onDismiss" | "onSelect"> {
|
|
15
|
+
export interface AgentChatStarterListProps extends Omit<React.ComponentPropsWithoutRef<"ul">, "children" | "onDismiss" | "onSelect"> {
|
|
17
16
|
/** Complete starter data from a host-owned suggestion query. */
|
|
18
17
|
items: readonly AgentChatStarterItem[];
|
|
19
18
|
onSelect: (item: AgentChatStarterItem) => void;
|
|
20
19
|
/** Enables dismiss actions for items that provide `dismissLabel`. */
|
|
21
20
|
onDismiss?: (item: AgentChatStarterItem) => void;
|
|
22
21
|
}
|
|
23
|
-
interface AgentChatStartScreenProps extends useRender.ComponentProps<"section"> {}
|
|
22
|
+
export interface AgentChatStartScreenProps extends useRender.ComponentProps<"section"> {}
|
|
24
23
|
/** First-turn layout beneath the same draft provider as the live composer. */
|
|
25
|
-
declare function AgentChatStartScreen({
|
|
26
|
-
|
|
27
|
-
ref,
|
|
28
|
-
children,
|
|
29
|
-
...props
|
|
30
|
-
}: AgentChatStartScreenProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
31
|
-
interface AgentChatStartScreenPrimaryProps extends useRender.ComponentProps<"div"> {
|
|
24
|
+
export declare function AgentChatStartScreen({ render, ref, children, ...props }: AgentChatStartScreenProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
25
|
+
export interface AgentChatStartScreenPrimaryProps extends useRender.ComponentProps<"div"> {
|
|
32
26
|
heading?: React.ReactNode;
|
|
33
27
|
}
|
|
34
28
|
/** Heading and live-composer group; suggestions are a separate sibling below it. */
|
|
35
|
-
declare function AgentChatStartScreenPrimary({
|
|
36
|
-
heading,
|
|
37
|
-
render,
|
|
38
|
-
ref,
|
|
39
|
-
children,
|
|
40
|
-
...props
|
|
41
|
-
}: AgentChatStartScreenPrimaryProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
29
|
+
export declare function AgentChatStartScreenPrimary({ heading, render, ref, children, ...props }: AgentChatStartScreenPrimaryProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
42
30
|
/** Stacking boundary for a caller-owned form and its docked utility tray. */
|
|
43
|
-
declare function AgentChatStartScreenComposer({
|
|
44
|
-
render,
|
|
45
|
-
ref,
|
|
46
|
-
...props
|
|
47
|
-
}: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
31
|
+
export declare function AgentChatStartScreenComposer({ render, ref, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
48
32
|
/** Utility actions share PromptInputTray's native props and ref. */
|
|
49
|
-
declare function AgentChatStartScreenTray({
|
|
50
|
-
className,
|
|
51
|
-
...props
|
|
52
|
-
}: Omit<React.ComponentProps<typeof PromptInputTray>, "side">): React.JSX.Element;
|
|
33
|
+
export declare function AgentChatStartScreenTray({ className, ...props }: Omit<React.ComponentProps<typeof PromptInputTray>, "side">): React.JSX.Element;
|
|
53
34
|
/** Starter prompts or an app-authored guide; remains in layout while the draft is active. */
|
|
54
|
-
declare function AgentChatStartScreenSuggestions({
|
|
55
|
-
render,
|
|
56
|
-
ref,
|
|
57
|
-
...props
|
|
58
|
-
}: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
35
|
+
export declare function AgentChatStartScreenSuggestions({ render, ref, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
59
36
|
/** Semantic list for first-turn prompts below an `AgentChatStartScreen`. */
|
|
60
|
-
declare function AgentChatStarterList({
|
|
61
|
-
|
|
62
|
-
onSelect,
|
|
63
|
-
onDismiss,
|
|
64
|
-
className,
|
|
65
|
-
...props
|
|
66
|
-
}: AgentChatStarterListProps): React.JSX.Element;
|
|
67
|
-
interface AgentChatStarterProps extends Omit<ButtonProps, "color" | "iconOnly" | "size" | "variant"> {
|
|
37
|
+
export declare function AgentChatStarterList({ items, onSelect, onDismiss, className, ...props }: AgentChatStarterListProps): React.JSX.Element;
|
|
38
|
+
export interface AgentChatStarterProps extends Omit<ButtonProps, "color" | "iconOnly" | "size" | "variant"> {
|
|
68
39
|
/** Decorative icon shown before the prompt label. */
|
|
69
40
|
icon?: React.ReactNode;
|
|
70
41
|
/** Render the prompt with quieter onboarding emphasis. */
|
|
@@ -75,15 +46,5 @@ interface AgentChatStarterProps extends Omit<ButtonProps, "color" | "iconOnly" |
|
|
|
75
46
|
dismissLabel?: string;
|
|
76
47
|
}
|
|
77
48
|
/** One full-width, keyboard-native starter prompt. */
|
|
78
|
-
declare function AgentChatStarter({
|
|
79
|
-
|
|
80
|
-
muted,
|
|
81
|
-
onDismiss,
|
|
82
|
-
dismissLabel,
|
|
83
|
-
children,
|
|
84
|
-
className,
|
|
85
|
-
type,
|
|
86
|
-
...props
|
|
87
|
-
}: AgentChatStarterProps): React.JSX.Element;
|
|
88
|
-
//#endregion
|
|
89
|
-
export { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenPrimaryProps, AgentChatStartScreenProps, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarter, AgentChatStarterItem, AgentChatStarterList, AgentChatStarterListProps, AgentChatStarterProps };
|
|
49
|
+
export declare function AgentChatStarter({ icon, muted, onDismiss, dismissLabel, children, className, type, ...props }: AgentChatStarterProps): React.JSX.Element;
|
|
50
|
+
//#endregion
|
|
@@ -11,20 +11,21 @@ import { mergeProps } from "@base-ui/react/merge-props";
|
|
|
11
11
|
/** First-turn layout beneath the same draft provider as the live composer. */
|
|
12
12
|
function AgentChatStartScreen({ render, ref, children, ...props }) {
|
|
13
13
|
const { textInput, attachments } = usePromptInputController();
|
|
14
|
+
const defaults = {
|
|
15
|
+
"data-slot": "agent-chat-start-screen",
|
|
16
|
+
"data-drafting": textInput.value.length > 0 || attachments.files.length > 0 ? "" : void 0,
|
|
17
|
+
className: "agent-chat-start-screen",
|
|
18
|
+
"aria-label": props["aria-labelledby"] ? void 0 : "New conversation",
|
|
19
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
20
|
+
className: "agent-chat-start-screen__content",
|
|
21
|
+
children
|
|
22
|
+
})
|
|
23
|
+
};
|
|
14
24
|
return useRender({
|
|
15
25
|
defaultTagName: "section",
|
|
16
26
|
render,
|
|
17
27
|
ref,
|
|
18
|
-
props: mergeProps(
|
|
19
|
-
"data-slot": "agent-chat-start-screen",
|
|
20
|
-
"data-drafting": textInput.value.length > 0 || attachments.files.length > 0 ? "" : void 0,
|
|
21
|
-
className: "agent-chat-start-screen",
|
|
22
|
-
"aria-label": props["aria-labelledby"] ? void 0 : "New conversation",
|
|
23
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
24
|
-
className: "agent-chat-start-screen__content",
|
|
25
|
-
children
|
|
26
|
-
})
|
|
27
|
-
}, props)
|
|
28
|
+
props: mergeProps(defaults, props)
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
31
|
/** Heading and live-composer group; suggestions are a separate sibling below it. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/components/ai-sdk/AgentChatTurnError.d.ts
|
|
2
|
-
interface AgentChatTurnErrorProps {
|
|
2
|
+
export interface AgentChatTurnErrorProps {
|
|
3
3
|
error: Error;
|
|
4
4
|
onDismiss: () => void;
|
|
5
5
|
onRetry?: () => void;
|
|
@@ -8,10 +8,5 @@ interface AgentChatTurnErrorProps {
|
|
|
8
8
|
* Recoverable turn failure for AgentChat-compatible surfaces. The message and
|
|
9
9
|
* actions remain one status unit while Button owns all interaction styling.
|
|
10
10
|
*/
|
|
11
|
-
declare function AgentChatTurnError({
|
|
12
|
-
|
|
13
|
-
onDismiss,
|
|
14
|
-
onRetry
|
|
15
|
-
}: AgentChatTurnErrorProps): import("react").JSX.Element;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { AgentChatTurnError, AgentChatTurnErrorProps };
|
|
11
|
+
export declare function AgentChatTurnError({ error, onDismiss, onRetry }: AgentChatTurnErrorProps): import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as AgentMessageRenderPartContext, n as AgentMessageParts, r as AgentMessagePartsProps, t as AgentMessagePart } from "../../AgentMessageParts-
|
|
1
|
+
import { i as AgentMessageRenderPartContext, n as AgentMessageParts, r as AgentMessagePartsProps, t as AgentMessagePart } from "../../AgentMessageParts-BtWwiE4f.js";
|
|
2
2
|
export { AgentMessagePart, AgentMessageParts, AgentMessagePartsProps, AgentMessageRenderPartContext };
|
|
@@ -60,8 +60,9 @@ function renderDefaultPart(message, part, partIndex, status) {
|
|
|
60
60
|
const reasoningText = message.parts.filter(isReasoningUIPart).map((reasoningPart) => reasoningPart.text).join("\n\n");
|
|
61
61
|
if (!reasoningText) return null;
|
|
62
62
|
const lastPart = message.parts.at(-1);
|
|
63
|
+
const isReasoningStreaming = status === "streaming" && lastPart !== void 0 && isReasoningUIPart(lastPart) && lastPart.state === "streaming";
|
|
63
64
|
return /* @__PURE__ */ jsxs(Reasoning, {
|
|
64
|
-
isStreaming:
|
|
65
|
+
isStreaming: isReasoningStreaming,
|
|
65
66
|
children: [/* @__PURE__ */ jsx(ReasoningTrigger, {}), /* @__PURE__ */ jsx(ReasoningContent, { children: reasoningText })]
|
|
66
67
|
});
|
|
67
68
|
}
|
|
@@ -89,7 +90,8 @@ function AgentMessageParts({ message, status = "ready", renderPart }) {
|
|
|
89
90
|
if (custom !== void 0) return custom ? /* @__PURE__ */ jsx(MessageContent, { children: custom }, getPartKey(part, partIndex)) : null;
|
|
90
91
|
const previous = message.parts[partIndex - 1];
|
|
91
92
|
if (isSourceUrlPart(previous) || isSourceDocumentPart(previous)) return null;
|
|
92
|
-
|
|
93
|
+
const sources = getSourceRun(message.parts, partIndex);
|
|
94
|
+
return /* @__PURE__ */ jsx(MessageContent, { children: renderSources(sources) }, getPartKey(part, partIndex));
|
|
93
95
|
}
|
|
94
96
|
const rendered = custom === void 0 ? defaultRender() : custom;
|
|
95
97
|
return rendered ? /* @__PURE__ */ jsx(MessageContent, { children: rendered }, getPartKey(part, partIndex)) : null;
|
|
@@ -1,79 +1,51 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/ai-sdk/Approval.d.ts
|
|
4
|
-
interface ApprovalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
export interface ApprovalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
4
|
/** Approval question, preview, and decision controls composed by the application. */
|
|
6
5
|
children?: React.ReactNode;
|
|
7
6
|
}
|
|
8
7
|
/** Presentation-only frame for a human approval request. */
|
|
9
|
-
declare function Approval({
|
|
10
|
-
|
|
11
|
-
ref
|
|
12
|
-
...props
|
|
13
|
-
}: ApprovalProps & {
|
|
14
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
8
|
+
export declare function Approval({ className, ref, ...props }: ApprovalProps & {
|
|
9
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
10
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
15
11
|
}): React.JSX.Element;
|
|
16
|
-
interface ApprovalHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
12
|
+
export interface ApprovalHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
17
13
|
/** Question and optional queue position for an approval request. */
|
|
18
|
-
declare function ApprovalHeader({
|
|
19
|
-
className,
|
|
20
|
-
ref,
|
|
21
|
-
...props
|
|
22
|
-
}: ApprovalHeaderProps & {
|
|
14
|
+
export declare function ApprovalHeader({ className, ref, ...props }: ApprovalHeaderProps & {
|
|
23
15
|
ref?: React.Ref<HTMLDivElement>;
|
|
24
16
|
}): React.JSX.Element;
|
|
25
|
-
interface ApprovalQuestionProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
17
|
+
export interface ApprovalQuestionProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
26
18
|
/** The request phrased as a human-readable question. */
|
|
27
|
-
declare function ApprovalQuestion({
|
|
28
|
-
className,
|
|
29
|
-
ref,
|
|
30
|
-
...props
|
|
31
|
-
}: ApprovalQuestionProps & {
|
|
19
|
+
export declare function ApprovalQuestion({ className, ref, ...props }: ApprovalQuestionProps & {
|
|
32
20
|
ref?: React.Ref<HTMLSpanElement>;
|
|
33
21
|
}): React.JSX.Element;
|
|
34
|
-
interface ApprovalCountProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
22
|
+
export interface ApprovalCountProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
35
23
|
/** Position of the current request in an app-owned approval queue. */
|
|
36
|
-
declare function ApprovalCount({
|
|
37
|
-
className,
|
|
38
|
-
ref,
|
|
39
|
-
...props
|
|
40
|
-
}: ApprovalCountProps & {
|
|
24
|
+
export declare function ApprovalCount({ className, ref, ...props }: ApprovalCountProps & {
|
|
41
25
|
ref?: React.Ref<HTMLSpanElement>;
|
|
42
26
|
}): React.JSX.Element;
|
|
43
|
-
interface ApprovalPreviewProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
27
|
+
export interface ApprovalPreviewProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
44
28
|
/** Bounded, read-only preview of the operation being authorized. */
|
|
45
|
-
declare function ApprovalPreview({
|
|
46
|
-
className,
|
|
47
|
-
ref,
|
|
48
|
-
...props
|
|
49
|
-
}: ApprovalPreviewProps & {
|
|
29
|
+
export declare function ApprovalPreview({ className, ref, ...props }: ApprovalPreviewProps & {
|
|
50
30
|
ref?: React.Ref<HTMLDivElement>;
|
|
51
31
|
}): React.JSX.Element;
|
|
52
|
-
interface ApprovalPreviewRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
32
|
+
export interface ApprovalPreviewRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
53
33
|
label?: React.ReactNode;
|
|
54
34
|
}
|
|
55
35
|
/** One labelled value in an approval preview. */
|
|
56
|
-
declare function ApprovalPreviewRow({
|
|
57
|
-
children,
|
|
58
|
-
className,
|
|
59
|
-
label,
|
|
60
|
-
ref,
|
|
61
|
-
...props
|
|
62
|
-
}: ApprovalPreviewRowProps & {
|
|
36
|
+
export declare function ApprovalPreviewRow({ children, className, label, ref, ...props }: ApprovalPreviewRowProps & {
|
|
63
37
|
ref?: React.Ref<HTMLDivElement>;
|
|
64
38
|
}): React.JSX.Element;
|
|
65
|
-
interface ApprovalInputPreviewProps {
|
|
39
|
+
export interface ApprovalInputPreviewProps {
|
|
66
40
|
input: unknown;
|
|
67
41
|
}
|
|
68
42
|
/** Renders unknown upstream input without changing or normalizing its shape. */
|
|
69
|
-
declare function ApprovalInputPreview({
|
|
70
|
-
|
|
71
|
-
}: ApprovalInputPreviewProps): React.JSX.Element;
|
|
72
|
-
interface ApprovalDecisionValue {
|
|
43
|
+
export declare function ApprovalInputPreview({ input }: ApprovalInputPreviewProps): React.JSX.Element;
|
|
44
|
+
export interface ApprovalDecisionValue {
|
|
73
45
|
approved: boolean;
|
|
74
46
|
reason?: string;
|
|
75
47
|
}
|
|
76
|
-
interface ApprovalDecisionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
48
|
+
export interface ApprovalDecisionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
77
49
|
/** Presentation callback. Transport adapters supply the upstream operation. */
|
|
78
50
|
onDecision: (decision: ApprovalDecisionValue) => void | PromiseLike<void>;
|
|
79
51
|
/** Dismisses the local presentation without settling the upstream request. */
|
|
@@ -87,15 +59,7 @@ interface ApprovalDecisionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
87
59
|
* in the reason field submits a denial. Async failures stay visible and are
|
|
88
60
|
* announced politely without coupling this presentation to a transport.
|
|
89
61
|
*/
|
|
90
|
-
declare function ApprovalDecision({
|
|
91
|
-
className,
|
|
92
|
-
onDecision,
|
|
93
|
-
onSkip,
|
|
94
|
-
subject,
|
|
95
|
-
ref,
|
|
96
|
-
...props
|
|
97
|
-
}: ApprovalDecisionProps & {
|
|
62
|
+
export declare function ApprovalDecision({ className, onDecision, onSkip, subject, ref, ...props }: ApprovalDecisionProps & {
|
|
98
63
|
ref?: React.Ref<HTMLDivElement>;
|
|
99
64
|
}): React.JSX.Element;
|
|
100
|
-
//#endregion
|
|
101
|
-
export { Approval, ApprovalCount, ApprovalCountProps, ApprovalDecision, ApprovalDecisionProps, ApprovalDecisionValue, ApprovalHeader, ApprovalHeaderProps, ApprovalInputPreview, ApprovalInputPreviewProps, ApprovalPreview, ApprovalPreviewProps, ApprovalPreviewRow, ApprovalPreviewRowProps, ApprovalProps, ApprovalQuestion, ApprovalQuestionProps };
|
|
65
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { R as PencilIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Kbd } from "../foundations/Kbd.js";
|
|
5
|
-
import { o as formatUnknownValue } from "../../format-
|
|
5
|
+
import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/ai-sdk/Approval.tsx
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { n as IconButtonProps } from "../../IconButton-
|
|
1
|
+
import { n as IconButtonProps } from "../../IconButton-43ggXEuf.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/Artifact.d.ts
|
|
5
|
-
interface ArtifactProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
export interface ArtifactProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
5
|
/** Additional class names for layout only; do not restyle artifact internals from apps. */
|
|
7
6
|
className?: string;
|
|
8
7
|
/** Header and content slots, usually composed from Artifact subcomponents. */
|
|
@@ -39,89 +38,48 @@ interface ArtifactProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
39
38
|
* </Artifact>
|
|
40
39
|
* ```
|
|
41
40
|
*/
|
|
42
|
-
declare function Artifact({
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
ref,
|
|
46
|
-
...props
|
|
47
|
-
}: ArtifactProps & {
|
|
48
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
41
|
+
export declare function Artifact({ className, children, ref, ...props }: ArtifactProps & {
|
|
42
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
43
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
49
44
|
}): React.JSX.Element;
|
|
50
|
-
interface ArtifactHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
51
|
-
declare function ArtifactHeader({
|
|
52
|
-
className,
|
|
53
|
-
children,
|
|
54
|
-
ref,
|
|
55
|
-
...props
|
|
56
|
-
}: ArtifactHeaderProps & {
|
|
45
|
+
export interface ArtifactHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
46
|
+
export declare function ArtifactHeader({ className, children, ref, ...props }: ArtifactHeaderProps & {
|
|
57
47
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
48
|
}): React.JSX.Element;
|
|
59
|
-
interface ArtifactTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {}
|
|
60
|
-
declare function ArtifactTitle({
|
|
61
|
-
className,
|
|
62
|
-
children,
|
|
63
|
-
ref,
|
|
64
|
-
...props
|
|
65
|
-
}: ArtifactTitleProps & {
|
|
49
|
+
export interface ArtifactTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {}
|
|
50
|
+
export declare function ArtifactTitle({ className, children, ref, ...props }: ArtifactTitleProps & {
|
|
66
51
|
ref?: React.Ref<HTMLHeadingElement>;
|
|
67
52
|
}): React.JSX.Element;
|
|
68
|
-
interface ArtifactDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
|
|
69
|
-
declare function ArtifactDescription({
|
|
70
|
-
className,
|
|
71
|
-
children,
|
|
72
|
-
ref,
|
|
73
|
-
...props
|
|
74
|
-
}: ArtifactDescriptionProps & {
|
|
53
|
+
export interface ArtifactDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
|
|
54
|
+
export declare function ArtifactDescription({ className, children, ref, ...props }: ArtifactDescriptionProps & {
|
|
75
55
|
ref?: React.Ref<HTMLParagraphElement>;
|
|
76
56
|
}): React.JSX.Element;
|
|
77
|
-
interface ArtifactActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
78
|
-
declare function ArtifactActions({
|
|
79
|
-
className,
|
|
80
|
-
children,
|
|
81
|
-
ref,
|
|
82
|
-
...props
|
|
83
|
-
}: ArtifactActionsProps & {
|
|
57
|
+
export interface ArtifactActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
58
|
+
export declare function ArtifactActions({ className, children, ref, ...props }: ArtifactActionsProps & {
|
|
84
59
|
ref?: React.Ref<HTMLDivElement>;
|
|
85
60
|
}): React.JSX.Element;
|
|
86
|
-
interface ArtifactActionProps extends Omit<IconButtonProps, "children" | "variant" | "size" | "color"> {
|
|
61
|
+
export interface ArtifactActionProps extends Omit<IconButtonProps, "children" | "variant" | "size" | "color"> {
|
|
87
62
|
/** The icon to render inside the button. */
|
|
88
63
|
icon?: React.ReactNode | React.ComponentType<{
|
|
89
64
|
className?: string;
|
|
90
65
|
}>;
|
|
91
66
|
children?: React.ReactNode;
|
|
92
67
|
}
|
|
93
|
-
declare function ArtifactAction({
|
|
94
|
-
|
|
95
|
-
label,
|
|
96
|
-
tooltip,
|
|
97
|
-
icon,
|
|
98
|
-
children,
|
|
99
|
-
...props
|
|
100
|
-
}: ArtifactActionProps): React.JSX.Element;
|
|
101
|
-
interface ArtifactCloseProps extends Omit<IconButtonProps, "children" | "label" | "variant" | "size" | "color"> {
|
|
68
|
+
export declare function ArtifactAction({ className, label, tooltip, icon, children, ...props }: ArtifactActionProps): React.JSX.Element;
|
|
69
|
+
export interface ArtifactCloseProps extends Omit<IconButtonProps, "children" | "label" | "variant" | "size" | "color"> {
|
|
102
70
|
/** Accessible label for the close button. */
|
|
103
71
|
label?: string;
|
|
104
72
|
children?: React.ReactNode;
|
|
105
73
|
}
|
|
106
|
-
declare function ArtifactClose({
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
children,
|
|
110
|
-
...props
|
|
111
|
-
}: ArtifactCloseProps): React.JSX.Element;
|
|
112
|
-
interface ArtifactContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
113
|
-
declare function ArtifactContent({
|
|
114
|
-
className,
|
|
115
|
-
children,
|
|
116
|
-
ref,
|
|
117
|
-
...props
|
|
118
|
-
}: ArtifactContentProps & {
|
|
74
|
+
export declare function ArtifactClose({ className, label, children, ...props }: ArtifactCloseProps): React.JSX.Element;
|
|
75
|
+
export interface ArtifactContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
76
|
+
export declare function ArtifactContent({ className, children, ref, ...props }: ArtifactContentProps & {
|
|
119
77
|
ref?: React.Ref<HTMLDivElement>;
|
|
120
78
|
}): React.JSX.Element;
|
|
121
79
|
/** Host error messages render verbatim and must be user-readable rather than raw diagnostics.
|
|
122
80
|
* Sandbox policy is a host concern the preview never mediates: a host that blocks a resource
|
|
123
81
|
* reports it through the error states, so there is no approval state here. */
|
|
124
|
-
type ArtifactPreviewState = {
|
|
82
|
+
export type ArtifactPreviewState = {
|
|
125
83
|
status: "loading";
|
|
126
84
|
} | {
|
|
127
85
|
message: string;
|
|
@@ -136,7 +94,7 @@ type ArtifactPreviewState = {
|
|
|
136
94
|
onRetry: () => void;
|
|
137
95
|
status: "runtime-error";
|
|
138
96
|
};
|
|
139
|
-
interface ArtifactPreviewProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
97
|
+
export interface ArtifactPreviewProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
140
98
|
/** Accessible artifact name, usually derived from the source link label. */
|
|
141
99
|
label: string;
|
|
142
100
|
/** Navigation element for the source artifact. */
|
|
@@ -151,15 +109,7 @@ interface ArtifactPreviewProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
151
109
|
* layout, and accessible announcements. The host owns source reads, sandbox
|
|
152
110
|
* policy, runtime messaging, and the rendered content element.
|
|
153
111
|
*/
|
|
154
|
-
declare function ArtifactPreview({
|
|
155
|
-
className,
|
|
156
|
-
label,
|
|
157
|
-
sourceLink,
|
|
158
|
-
state,
|
|
159
|
-
ref,
|
|
160
|
-
...props
|
|
161
|
-
}: ArtifactPreviewProps & {
|
|
112
|
+
export declare function ArtifactPreview({ className, label, sourceLink, state, ref, ...props }: ArtifactPreviewProps & {
|
|
162
113
|
ref?: React.Ref<HTMLDivElement>;
|
|
163
114
|
}): React.JSX.Element;
|
|
164
|
-
//#endregion
|
|
165
|
-
export { Artifact, ArtifactAction, ArtifactActionProps, ArtifactActions, ArtifactActionsProps, ArtifactClose, ArtifactCloseProps, ArtifactContent, ArtifactContentProps, ArtifactDescription, ArtifactDescriptionProps, ArtifactHeader, ArtifactHeaderProps, ArtifactPreview, ArtifactPreviewProps, ArtifactPreviewState, ArtifactProps, ArtifactTitle, ArtifactTitleProps };
|
|
115
|
+
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
2
|
-
import { E as IconProps } from "../../icons-
|
|
2
|
+
import { E as IconProps } from "../../icons-CUuD7iEh.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/ai-sdk/ChainOfThought.d.ts
|
|
6
|
-
interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
|
|
5
|
+
export interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
|
|
7
6
|
/**
|
|
8
7
|
* A collapsible display of an AI's step-by-step reasoning trace. Compose
|
|
9
8
|
* ChainOfThoughtHeader with ChainOfThoughtContent, then nest
|
|
@@ -29,39 +28,26 @@ interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsib
|
|
|
29
28
|
* </ChainOfThought>
|
|
30
29
|
* ```
|
|
31
30
|
*/
|
|
32
|
-
declare function ChainOfThought({
|
|
33
|
-
|
|
34
|
-
ref
|
|
35
|
-
...props
|
|
36
|
-
}: ChainOfThoughtProps & {
|
|
37
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
31
|
+
export declare function ChainOfThought({ className, ref, ...props }: ChainOfThoughtProps & {
|
|
32
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
33
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
38
34
|
}): React.JSX.Element;
|
|
39
|
-
interface ChainOfThoughtHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled"> {}
|
|
35
|
+
export interface ChainOfThoughtHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled"> {}
|
|
40
36
|
/**
|
|
41
37
|
* Clickable header row that toggles the reasoning trace.
|
|
42
38
|
*/
|
|
43
|
-
declare function ChainOfThoughtHeader({
|
|
44
|
-
className,
|
|
45
|
-
children,
|
|
46
|
-
ref,
|
|
47
|
-
...props
|
|
48
|
-
}: ChainOfThoughtHeaderProps & {
|
|
39
|
+
export declare function ChainOfThoughtHeader({ className, children, ref, ...props }: ChainOfThoughtHeaderProps & {
|
|
49
40
|
ref?: React.Ref<HTMLButtonElement>;
|
|
50
41
|
}): React.JSX.Element;
|
|
51
|
-
interface ChainOfThoughtContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "unstyled"> {}
|
|
42
|
+
export interface ChainOfThoughtContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "unstyled"> {}
|
|
52
43
|
/**
|
|
53
44
|
* Collapsible panel containing step rows.
|
|
54
45
|
*/
|
|
55
|
-
declare function ChainOfThoughtContent({
|
|
56
|
-
className,
|
|
57
|
-
children,
|
|
58
|
-
ref,
|
|
59
|
-
...props
|
|
60
|
-
}: ChainOfThoughtContentProps & {
|
|
46
|
+
export declare function ChainOfThoughtContent({ className, children, ref, ...props }: ChainOfThoughtContentProps & {
|
|
61
47
|
ref?: React.Ref<HTMLDivElement>;
|
|
62
48
|
}): React.JSX.Element;
|
|
63
|
-
type ChainOfThoughtStepStatus = "pending" | "active" | "complete";
|
|
64
|
-
interface ChainOfThoughtStepProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
49
|
+
export type ChainOfThoughtStepStatus = "pending" | "active" | "complete";
|
|
50
|
+
export interface ChainOfThoughtStepProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
65
51
|
/** Optional icon component rendered instead of the default status icon. */
|
|
66
52
|
icon?: React.ComponentType<IconProps>;
|
|
67
53
|
/** Visual status of this step. */
|
|
@@ -75,47 +61,26 @@ interface ChainOfThoughtStepProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
|
75
61
|
* A single step in the reasoning trace. Shows a status indicator, label,
|
|
76
62
|
* optional description, and any children (e.g. search results).
|
|
77
63
|
*/
|
|
78
|
-
declare function ChainOfThoughtStep({
|
|
79
|
-
className,
|
|
80
|
-
icon: Icon,
|
|
81
|
-
status,
|
|
82
|
-
label,
|
|
83
|
-
description,
|
|
84
|
-
children,
|
|
85
|
-
ref,
|
|
86
|
-
...props
|
|
87
|
-
}: ChainOfThoughtStepProps & {
|
|
64
|
+
export declare function ChainOfThoughtStep({ className, icon: Icon, status, label, description, children, ref, ...props }: ChainOfThoughtStepProps & {
|
|
88
65
|
ref?: React.Ref<HTMLLIElement>;
|
|
89
66
|
}): React.JSX.Element;
|
|
90
|
-
interface ChainOfThoughtSearchResultsProps extends React.HTMLAttributes<HTMLUListElement> {}
|
|
67
|
+
export interface ChainOfThoughtSearchResultsProps extends React.HTMLAttributes<HTMLUListElement> {}
|
|
91
68
|
/**
|
|
92
69
|
* Container for a set of search-result chips displayed inside a step.
|
|
93
70
|
*/
|
|
94
|
-
declare function ChainOfThoughtSearchResults({
|
|
95
|
-
className,
|
|
96
|
-
children,
|
|
97
|
-
ref,
|
|
98
|
-
...props
|
|
99
|
-
}: ChainOfThoughtSearchResultsProps & {
|
|
71
|
+
export declare function ChainOfThoughtSearchResults({ className, children, ref, ...props }: ChainOfThoughtSearchResultsProps & {
|
|
100
72
|
ref?: React.Ref<HTMLUListElement>;
|
|
101
73
|
}): React.JSX.Element;
|
|
102
|
-
interface ChainOfThoughtSearchResultProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "title"> {
|
|
74
|
+
export interface ChainOfThoughtSearchResultProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "title"> {
|
|
103
75
|
title?: React.ReactNode;
|
|
104
76
|
}
|
|
105
77
|
/**
|
|
106
78
|
* A single search-result chip link.
|
|
107
79
|
*/
|
|
108
|
-
declare function ChainOfThoughtSearchResult({
|
|
109
|
-
className,
|
|
110
|
-
children,
|
|
111
|
-
title,
|
|
112
|
-
href,
|
|
113
|
-
ref,
|
|
114
|
-
...props
|
|
115
|
-
}: ChainOfThoughtSearchResultProps & {
|
|
80
|
+
export declare function ChainOfThoughtSearchResult({ className, children, title, href, ref, ...props }: ChainOfThoughtSearchResultProps & {
|
|
116
81
|
ref?: React.Ref<HTMLAnchorElement>;
|
|
117
82
|
}): React.JSX.Element;
|
|
118
|
-
interface ChainOfThoughtImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
83
|
+
export interface ChainOfThoughtImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
119
84
|
/** Optional caption rendered beneath the image. */
|
|
120
85
|
caption?: string;
|
|
121
86
|
}
|
|
@@ -123,15 +88,7 @@ interface ChainOfThoughtImageProps extends React.ImgHTMLAttributes<HTMLImageElem
|
|
|
123
88
|
* An image thumbnail with optional caption, displayed inside a step's
|
|
124
89
|
* children area.
|
|
125
90
|
*/
|
|
126
|
-
declare function ChainOfThoughtImage({
|
|
127
|
-
className,
|
|
128
|
-
children,
|
|
129
|
-
caption,
|
|
130
|
-
alt,
|
|
131
|
-
ref,
|
|
132
|
-
...props
|
|
133
|
-
}: ChainOfThoughtImageProps & {
|
|
91
|
+
export declare function ChainOfThoughtImage({ className, children, caption, alt, ref, ...props }: ChainOfThoughtImageProps & {
|
|
134
92
|
ref?: React.Ref<HTMLImageElement>;
|
|
135
93
|
}): React.JSX.Element;
|
|
136
|
-
//#endregion
|
|
137
|
-
export { ChainOfThought, ChainOfThoughtContent, ChainOfThoughtContentProps, ChainOfThoughtHeader, ChainOfThoughtHeaderProps, ChainOfThoughtImage, ChainOfThoughtImageProps, ChainOfThoughtProps, ChainOfThoughtSearchResult, ChainOfThoughtSearchResultProps, ChainOfThoughtSearchResults, ChainOfThoughtSearchResultsProps, ChainOfThoughtStep, ChainOfThoughtStepProps, ChainOfThoughtStepStatus };
|
|
94
|
+
//#endregion
|