@mcp-b/react-components 0.56.1 → 0.57.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/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/{CodeBlock-Bl-q7wMc.js → CodeBlock-Dw1z6jc8.js} +1 -1
- 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-DruTQ-oa.js → FileTree-D61EeWRU.js} +1 -2
- 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/{ManagerOffice-CMJ7laGe.js → ManagerOffice-D4L_xO4i.js} +5 -5
- 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/{SetupChecklist-BiWQkKEq.js → SetupChecklist-DWyifWWg.js} +2 -2
- 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-DXgTljKV.js → WorkspaceFileView-DCvGBsI1.js} +7 -6
- 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/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +41 -89
- package/dist/components/agents-sdk/AgentChat.js +11 -10
- 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/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +9 -8
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.d.ts +5 -12
- package/dist/components/agents-sdk/BrowserReplay.js +2 -2
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +4 -6
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- 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 +2 -2
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -39
- package/dist/components/agents-sdk/EmployeeChat.js +5 -5
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +16 -15
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
- package/dist/components/agents-sdk/EmployeeSchedules.js +5 -4
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
- package/dist/components/agents-sdk/ManagerAccountActions.js +4 -4
- 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 +2 -2
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +13 -10
- package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
- 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 +4 -4
- 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 +3 -3
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +11 -11
- package/dist/components/agents-sdk/ModelEndpointDialog.js +25 -2
- package/dist/components/agents-sdk/ModelSelector.d.ts +46 -134
- package/dist/components/agents-sdk/ModelSelector.js +5 -5
- package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -7
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- 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 +2 -2
- 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/SubagentRunPanel.js +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +6 -16
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- 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 +3 -3
- 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 +11 -8
- 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 +3 -3
- 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/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +20 -57
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +6 -5
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +10 -30
- 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/ThinkRecoveryNotice.js +1 -1
- 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 +3 -3
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +5 -17
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +3 -3
- 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 +4 -4
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +4 -14
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +4 -4
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +3 -10
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- 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 +6 -6
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +18 -32
- package/dist/components/agents-sdk/WorkspaceExecution.js +7 -7
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +8 -11
- package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
- 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/WorkspaceHeader.js +1 -1
- 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 +3 -2
- 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 +5 -5
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceUserScript.js +6 -5
- package/dist/components/ai-sdk/Activity.d.ts +21 -90
- package/dist/components/ai-sdk/Activity.js +1 -1
- 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 +12 -11
- 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 +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +23 -73
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +19 -62
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.d.ts +13 -40
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.d.ts +6 -17
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +20 -60
- package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
- package/dist/components/ai-sdk/Context.d.ts +27 -65
- package/dist/components/ai-sdk/Context.js +2 -2
- package/dist/components/ai-sdk/Conversation.d.ts +16 -50
- package/dist/components/ai-sdk/Conversation.js +1 -1
- 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 +2 -2
- 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/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +3 -3
- package/dist/components/ai-sdk/MessageScroller.d.ts +14 -42
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.d.ts +32 -95
- package/dist/components/ai-sdk/Plan.js +4 -3
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +7 -7
- 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/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.d.ts +10 -32
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.d.ts +11 -35
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.d.ts +13 -41
- package/dist/components/ai-sdk/Task.js +1 -1
- 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/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.d.ts +5 -22
- package/dist/components/extension/CodexModelSelector.js +3 -3
- package/dist/components/extension/ConversationTabPicker.d.ts +5 -10
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- 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/Checkbox.js +1 -1
- 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/Collapsible.js +1 -1
- package/dist/components/foundations/Combobox.d.ts +13 -59
- package/dist/components/foundations/ContextMenu.d.ts +31 -93
- package/dist/components/foundations/ContextMenu.js +3 -2
- 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 +5 -3
- 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/SearchField.js +1 -1
- package/dist/components/foundations/Select.d.ts +1 -1
- package/dist/components/foundations/Select.js +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/Stepper.js +1 -1
- 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/Toast.js +1 -1
- 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/foundations/icons.js +1 -1
- package/dist/components/general-purpose/AccountSignInDialog.d.ts +3 -10
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- 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 +4 -3
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +27 -93
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- 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/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.d.ts +3 -11
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- 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 +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +5 -13
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.d.ts +6 -18
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- 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/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.d.ts +39 -137
- package/dist/components/general-purpose/TestResults.js +7 -6
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -10
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +23 -76
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.d.ts +11 -35
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.d.ts +8 -27
- package/dist/components/nanites/AgentToolDetail.js +10 -9
- 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/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
- 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/app-top-bar.css +2 -2
- package/dist/styles/recipes.css +19 -19
- 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/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-wW_lQLYK.js} +2 -2
- package/package.json +37 -37
- package/dist/McpConnectorForm--HB0MEGC.d.ts +0 -39
- package/dist/icons-CCZGYUwU.d.ts +0 -299
- package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { nt as XIcon } from "../../icons-
|
|
2
|
+
import { nt as XIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { PromptInputTray, usePromptInputController } from "./PromptInput.js";
|
|
@@ -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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { R as PencilIcon } from "../../icons-
|
|
2
|
+
import { R as PencilIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { o as formatUnknownValue } from "../../format-COCyV98Z.js";
|
|
5
4
|
import { Kbd } from "../foundations/Kbd.js";
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, et as WarningIcon, nt as XIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, et as WarningIcon, nt as XIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button, buttonVariants } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { K as SpinnerIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/ChainOfThought.tsx
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MarkerProps } from "../foundations/Marker.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/Checkpoint.d.ts
|
|
5
|
-
interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
|
|
4
|
+
export interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
|
|
6
5
|
/** Checkpoint icon, metadata, and optional application-owned actions. */
|
|
7
6
|
children?: React.ReactNode;
|
|
8
7
|
}
|
|
@@ -12,53 +11,27 @@ interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
|
|
|
12
11
|
* Actions are ordinary composed buttons or links; this primitive does not
|
|
13
12
|
* save, restore, resume, or otherwise call an agent transport.
|
|
14
13
|
*/
|
|
15
|
-
declare function Checkpoint({
|
|
16
|
-
className,
|
|
17
|
-
ref,
|
|
18
|
-
...props
|
|
19
|
-
}: CheckpointProps & {
|
|
14
|
+
export declare function Checkpoint({ className, ref, ...props }: CheckpointProps & {
|
|
20
15
|
ref?: React.Ref<HTMLDivElement>;
|
|
21
16
|
}): React.JSX.Element;
|
|
22
|
-
interface CheckpointIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
23
|
-
declare function CheckpointIcon({
|
|
24
|
-
children,
|
|
25
|
-
className,
|
|
26
|
-
ref,
|
|
27
|
-
...props
|
|
28
|
-
}: CheckpointIconProps & {
|
|
17
|
+
export interface CheckpointIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
18
|
+
export declare function CheckpointIcon({ children, className, ref, ...props }: CheckpointIconProps & {
|
|
29
19
|
ref?: React.Ref<HTMLSpanElement>;
|
|
30
20
|
}): React.JSX.Element;
|
|
31
|
-
interface CheckpointContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
32
|
-
declare function CheckpointContent({
|
|
33
|
-
className,
|
|
34
|
-
ref,
|
|
35
|
-
...props
|
|
36
|
-
}: CheckpointContentProps & {
|
|
21
|
+
export interface CheckpointContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
22
|
+
export declare function CheckpointContent({ className, ref, ...props }: CheckpointContentProps & {
|
|
37
23
|
ref?: React.Ref<HTMLDivElement>;
|
|
38
24
|
}): React.JSX.Element;
|
|
39
|
-
interface CheckpointTitleProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
40
|
-
declare function CheckpointTitle({
|
|
41
|
-
className,
|
|
42
|
-
ref,
|
|
43
|
-
...props
|
|
44
|
-
}: CheckpointTitleProps & {
|
|
25
|
+
export interface CheckpointTitleProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
26
|
+
export declare function CheckpointTitle({ className, ref, ...props }: CheckpointTitleProps & {
|
|
45
27
|
ref?: React.Ref<HTMLSpanElement>;
|
|
46
28
|
}): React.JSX.Element;
|
|
47
|
-
interface CheckpointDescriptionProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
48
|
-
declare function CheckpointDescription({
|
|
49
|
-
className,
|
|
50
|
-
ref,
|
|
51
|
-
...props
|
|
52
|
-
}: CheckpointDescriptionProps & {
|
|
29
|
+
export interface CheckpointDescriptionProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
30
|
+
export declare function CheckpointDescription({ className, ref, ...props }: CheckpointDescriptionProps & {
|
|
53
31
|
ref?: React.Ref<HTMLSpanElement>;
|
|
54
32
|
}): React.JSX.Element;
|
|
55
|
-
interface CheckpointActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
56
|
-
declare function CheckpointActions({
|
|
57
|
-
className,
|
|
58
|
-
ref,
|
|
59
|
-
...props
|
|
60
|
-
}: CheckpointActionsProps & {
|
|
33
|
+
export interface CheckpointActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
34
|
+
export declare function CheckpointActions({ className, ref, ...props }: CheckpointActionsProps & {
|
|
61
35
|
ref?: React.Ref<HTMLDivElement>;
|
|
62
36
|
}): React.JSX.Element;
|
|
63
|
-
//#endregion
|
|
64
|
-
export { Checkpoint, CheckpointActions, CheckpointActionsProps, CheckpointContent, CheckpointContentProps, CheckpointDescription, CheckpointDescriptionProps, CheckpointIcon, CheckpointIconProps, CheckpointProps, CheckpointTitle, CheckpointTitleProps };
|
|
37
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { s as BookmarkIcon } from "../../icons-
|
|
2
|
+
import { s as BookmarkIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Marker, MarkerIcon } from "../foundations/Marker.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-
|
|
1
|
+
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-CPotpyyM.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockActionsProps, CodeBlockContainer, CodeBlockContainerProps, CodeBlockContent, CodeBlockContentProps, CodeBlockCopyButton, CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockFilenameProps, CodeBlockHeader, CodeBlockHeaderProps, type CodeBlockLanguage, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorItemProps, CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, CodeBlockLanguageSelectorValueProps, CodeBlockProps, CodeBlockTitle, CodeBlockTitleProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-
|
|
1
|
+
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-Dw1z6jc8.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle };
|
|
@@ -1,30 +1,19 @@
|
|
|
1
1
|
import { ParsedComposerLink } from "../../utils/composer-link.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/ComposerLink.d.ts
|
|
5
|
-
interface ComposerLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
+
export interface ComposerLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
6
5
|
href: string;
|
|
7
6
|
icon?: React.ReactNode;
|
|
8
7
|
}
|
|
9
|
-
declare function composerLinkIconSrc(parts: ParsedComposerLink | undefined): string | undefined;
|
|
10
|
-
declare function composerLinkUsesCube(parts: ParsedComposerLink | undefined): boolean;
|
|
11
|
-
declare function composerLinkAccent(parts: ParsedComposerLink | undefined): string | undefined;
|
|
8
|
+
export declare function composerLinkIconSrc(parts: ParsedComposerLink | undefined): string | undefined;
|
|
9
|
+
export declare function composerLinkUsesCube(parts: ParsedComposerLink | undefined): boolean;
|
|
10
|
+
export declare function composerLinkAccent(parts: ParsedComposerLink | undefined): string | undefined;
|
|
12
11
|
/**
|
|
13
12
|
* Inline identity link for composer entities: slash commands, MCP mentions,
|
|
14
13
|
* skills, tabs, and files. The href is the source of truth; the visible node
|
|
15
14
|
* is text plus an optional brand mark, not a button chip.
|
|
16
15
|
*/
|
|
17
|
-
declare function ComposerLink({
|
|
18
|
-
href,
|
|
19
|
-
icon,
|
|
20
|
-
className,
|
|
21
|
-
children,
|
|
22
|
-
onClick,
|
|
23
|
-
style,
|
|
24
|
-
ref,
|
|
25
|
-
...props
|
|
26
|
-
}: ComposerLinkProps & {
|
|
16
|
+
export declare function ComposerLink({ href, icon, className, children, onClick, style, ref, ...props }: ComposerLinkProps & {
|
|
27
17
|
ref?: React.Ref<HTMLAnchorElement>;
|
|
28
18
|
}): React.JSX.Element;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { ComposerLink, ComposerLinkProps, composerLinkAccent, composerLinkIconSrc, composerLinkUsesCube };
|
|
19
|
+
//#endregion
|