@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,7 +1,7 @@
|
|
|
1
1
|
import { brandHexFromIconSrc, parseComposerHref, sampleImageAccent } from "../../utils/composer-link.js";
|
|
2
2
|
import { findCatalogMcpServerCard, getMcpServerIconSrc } from "../../utils/mcp-server-catalog.js";
|
|
3
3
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
4
|
-
import { c as BoxIcon } from "../../icons-
|
|
4
|
+
import { c as BoxIcon } from "../../icons-CeGfXO21.js";
|
|
5
5
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { t as Correspondent } from "../../Correspondent-
|
|
1
|
+
import { t as Correspondent } from "../../Correspondent-ANkZHGEa.js";
|
|
2
2
|
import { CardProps } from "../foundations/Card.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/ai-sdk/ConnectedAppCards.d.ts
|
|
6
|
-
type ConnectedAppCardState = "pending" | "sent" | "denied";
|
|
5
|
+
export type ConnectedAppCardState = "pending" | "sent" | "denied";
|
|
7
6
|
/**
|
|
8
7
|
* Lifecycle of persisting the visible draft. Absent means saved. While a save
|
|
9
8
|
* is in flight or failed the card's release action is disabled, and a failed
|
|
10
9
|
* save is shown inline with its retry affordance — a draft must never release
|
|
11
10
|
* content the backing store does not hold.
|
|
12
11
|
*/
|
|
13
|
-
type ConnectedAppCardSaveState = {
|
|
12
|
+
export type ConnectedAppCardSaveState = {
|
|
14
13
|
status: "saving";
|
|
15
14
|
} | {
|
|
16
15
|
status: "error";
|
|
@@ -18,8 +17,11 @@ type ConnectedAppCardSaveState = {
|
|
|
18
17
|
onRetry?: () => void;
|
|
19
18
|
};
|
|
20
19
|
type ConnectedAppCardProps = Omit<CardProps, "children" | "hover" | "size" | "title" | "onChange"> & {
|
|
21
|
-
/** Lifecycle of the draft. Pending can be edited; sent and denied are settled. */
|
|
22
|
-
|
|
20
|
+
/** Lifecycle of the draft. Pending can be edited; sent and denied are settled. */
|
|
21
|
+
state?: ConnectedAppCardState;
|
|
22
|
+
/** Persistence lifecycle of the visible draft. Absent means saved. */
|
|
23
|
+
saveState?: ConnectedAppCardSaveState;
|
|
24
|
+
/** Optional provider mark. The domain's generic icon is used by default. */
|
|
23
25
|
icon?: React.ReactNode;
|
|
24
26
|
/**
|
|
25
27
|
* File-level controls rendered beside the status in the header, such as Open
|
|
@@ -28,7 +30,7 @@ type ConnectedAppCardProps = Omit<CardProps, "children" | "hover" | "size" | "ti
|
|
|
28
30
|
*/
|
|
29
31
|
headerActions?: React.ReactNode;
|
|
30
32
|
};
|
|
31
|
-
interface EmailMessageDraft {
|
|
33
|
+
export interface EmailMessageDraft {
|
|
32
34
|
/** Sender label or address shown in the draft header. */
|
|
33
35
|
from?: string;
|
|
34
36
|
/** Recipient label or address shown in the draft header. */
|
|
@@ -38,7 +40,7 @@ interface EmailMessageDraft {
|
|
|
38
40
|
/** Editable plain-text message body. */
|
|
39
41
|
body?: string;
|
|
40
42
|
}
|
|
41
|
-
interface EmailMessageCardProps extends ConnectedAppCardProps, EmailMessageDraft {
|
|
43
|
+
export interface EmailMessageCardProps extends ConnectedAppCardProps, EmailMessageDraft {
|
|
42
44
|
/** Person-shaped To. The address string remains the route. */
|
|
43
45
|
correspondent?: Correspondent;
|
|
44
46
|
/** Receives the complete draft after an editable field changes. */
|
|
@@ -54,30 +56,17 @@ interface EmailMessageCardProps extends ConnectedAppCardProps, EmailMessageDraft
|
|
|
54
56
|
* Email draft or result. Pending cards can be edited and released; send,
|
|
55
57
|
* discard, and reject-with-reason stay application-owned.
|
|
56
58
|
*/
|
|
57
|
-
declare function EmailMessageCard({
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
from,
|
|
61
|
-
icon,
|
|
62
|
-
onChange,
|
|
63
|
-
onDiscard,
|
|
64
|
-
onReject,
|
|
65
|
-
onSend,
|
|
66
|
-
state,
|
|
67
|
-
subject,
|
|
68
|
-
to,
|
|
69
|
-
ref,
|
|
70
|
-
...props
|
|
71
|
-
}: EmailMessageCardProps & {
|
|
72
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
59
|
+
export declare function EmailMessageCard({ body, correspondent, from, icon, onChange, onDiscard, onReject, onSend, state, subject, to, ref, ...props }: EmailMessageCardProps & {
|
|
60
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
61
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
73
62
|
}): React.JSX.Element;
|
|
74
|
-
interface SlackMessageDraft {
|
|
63
|
+
export interface SlackMessageDraft {
|
|
75
64
|
workspace?: string;
|
|
76
65
|
to: string;
|
|
77
66
|
thread?: string;
|
|
78
67
|
message: string;
|
|
79
68
|
}
|
|
80
|
-
interface SlackMessageCardProps extends ConnectedAppCardProps, SlackMessageDraft {
|
|
69
|
+
export interface SlackMessageCardProps extends ConnectedAppCardProps, SlackMessageDraft {
|
|
81
70
|
/** Person-shaped To. Rooms stay the destination string. */
|
|
82
71
|
correspondent?: Correspondent;
|
|
83
72
|
onChange?: (next: SlackMessageDraft) => void;
|
|
@@ -86,31 +75,17 @@ interface SlackMessageCardProps extends ConnectedAppCardProps, SlackMessageDraft
|
|
|
86
75
|
onSend?: () => void | Promise<void>;
|
|
87
76
|
}
|
|
88
77
|
/** Slack draft or posted message with workspace, destination, and thread fields. */
|
|
89
|
-
declare function SlackMessageCard({
|
|
90
|
-
correspondent,
|
|
91
|
-
icon,
|
|
92
|
-
message,
|
|
93
|
-
onChange,
|
|
94
|
-
onDiscard,
|
|
95
|
-
onReject,
|
|
96
|
-
onSend,
|
|
97
|
-
state,
|
|
98
|
-
thread,
|
|
99
|
-
to,
|
|
100
|
-
workspace,
|
|
101
|
-
ref,
|
|
102
|
-
...props
|
|
103
|
-
}: SlackMessageCardProps & {
|
|
78
|
+
export declare function SlackMessageCard({ correspondent, icon, message, onChange, onDiscard, onReject, onSend, state, thread, to, workspace, ref, ...props }: SlackMessageCardProps & {
|
|
104
79
|
ref?: React.Ref<HTMLDivElement>;
|
|
105
80
|
}): React.JSX.Element;
|
|
106
|
-
interface CalendarEventDraft {
|
|
81
|
+
export interface CalendarEventDraft {
|
|
107
82
|
eventTitle: string;
|
|
108
83
|
when: string;
|
|
109
84
|
whenDateTime?: string;
|
|
110
85
|
location?: string;
|
|
111
86
|
attendees?: string;
|
|
112
87
|
}
|
|
113
|
-
interface CalendarEventCardProps extends ConnectedAppCardProps, CalendarEventDraft {
|
|
88
|
+
export interface CalendarEventCardProps extends ConnectedAppCardProps, CalendarEventDraft {
|
|
114
89
|
onChange?: (next: CalendarEventDraft) => void;
|
|
115
90
|
onDiscard?: () => void | Promise<void>;
|
|
116
91
|
onReject?: (reason: string) => void | Promise<void>;
|
|
@@ -120,22 +95,7 @@ interface CalendarEventCardProps extends ConnectedAppCardProps, CalendarEventDra
|
|
|
120
95
|
* Calendar draft or settled event. Pass `whenDateTime` for a semantic `time`
|
|
121
96
|
* element; the application owns locale and timezone formatting.
|
|
122
97
|
*/
|
|
123
|
-
declare function CalendarEventCard({
|
|
124
|
-
attendees,
|
|
125
|
-
eventTitle,
|
|
126
|
-
icon,
|
|
127
|
-
location,
|
|
128
|
-
onChange,
|
|
129
|
-
onDiscard,
|
|
130
|
-
onReject,
|
|
131
|
-
onSend,
|
|
132
|
-
state,
|
|
133
|
-
when,
|
|
134
|
-
whenDateTime,
|
|
135
|
-
ref,
|
|
136
|
-
...props
|
|
137
|
-
}: CalendarEventCardProps & {
|
|
98
|
+
export declare function CalendarEventCard({ attendees, eventTitle, icon, location, onChange, onDiscard, onReject, onSend, state, when, whenDateTime, ref, ...props }: CalendarEventCardProps & {
|
|
138
99
|
ref?: React.Ref<HTMLDivElement>;
|
|
139
100
|
}): React.JSX.Element;
|
|
140
|
-
//#endregion
|
|
141
|
-
export { CalendarEventCard, CalendarEventCardProps, CalendarEventDraft, ConnectedAppCardSaveState, ConnectedAppCardState, EmailMessageCard, EmailMessageCardProps, EmailMessageDraft, SlackMessageCard, SlackMessageCardProps, SlackMessageDraft };
|
|
101
|
+
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { G as SlackIcon, O as MailIcon, _ as DotIcon, d as CheckIcon, nt as XIcon, u as CalendarIcon } from "../../icons-
|
|
2
|
+
import { G as SlackIcon, O as MailIcon, _ as DotIcon, d as CheckIcon, nt as XIcon, u as CalendarIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Field } from "../foundations/Field.js";
|
|
5
5
|
import { Textarea } from "../foundations/Textarea.js";
|
|
6
|
-
import { Input } from "../foundations/Input.js";
|
|
7
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
6
|
import { Card, CardAction, CardContent, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
7
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
|
+
import { Input } from "../foundations/Input.js";
|
|
9
9
|
import { CorrespondentName, emailDestinationCorrespondent, slackDestinationCorrespondent } from "./Correspondent.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { f as PopoverTriggerProps, l as PopoverPositionerProps, u as PopoverProps } from "../../Popover-
|
|
1
|
+
import { f as PopoverTriggerProps, l as PopoverPositionerProps, u as PopoverProps } from "../../Popover-BtAR4Tn8.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { LanguageModelUsage, UIMessage } from "ai";
|
|
4
|
-
|
|
5
4
|
//#region src/components/ai-sdk/Context.d.ts
|
|
6
|
-
interface ContextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
export interface ContextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
6
|
/** Tokens currently used. */
|
|
8
7
|
usedTokens: number;
|
|
9
8
|
/** Maximum context window size. */
|
|
@@ -46,85 +45,48 @@ interface ContextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
46
45
|
* </Context>
|
|
47
46
|
* ```
|
|
48
47
|
*/
|
|
49
|
-
declare function Context({
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
maxTokens,
|
|
53
|
-
usage,
|
|
54
|
-
modelId,
|
|
55
|
-
totalCostUsd,
|
|
56
|
-
open,
|
|
57
|
-
defaultOpen,
|
|
58
|
-
onOpenChange,
|
|
59
|
-
children,
|
|
60
|
-
ref,
|
|
61
|
-
...props
|
|
62
|
-
}: ContextProps & {
|
|
63
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
48
|
+
export declare function Context({ className, usedTokens, maxTokens, usage, modelId, totalCostUsd, open, defaultOpen, onOpenChange, children, ref, ...props }: ContextProps & {
|
|
49
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
50
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
64
51
|
}): React.JSX.Element;
|
|
65
|
-
interface ContextTriggerProps extends PopoverTriggerProps {}
|
|
52
|
+
export interface ContextTriggerProps extends PopoverTriggerProps {}
|
|
66
53
|
/** Context ring trigger; use `render` to compose a custom control and `children` for its content. */
|
|
67
|
-
declare function ContextTrigger({
|
|
68
|
-
|
|
69
|
-
children,
|
|
70
|
-
...props
|
|
71
|
-
}: ContextTriggerProps): React.JSX.Element;
|
|
72
|
-
interface ContextContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
54
|
+
export declare function ContextTrigger({ className, children, ...props }: ContextTriggerProps): React.JSX.Element;
|
|
55
|
+
export interface ContextContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
73
56
|
/** The trigger usually sits in a composer at the bottom, so default "top". */
|
|
74
57
|
side?: PopoverPositionerProps["side"];
|
|
75
58
|
}
|
|
76
|
-
declare function ContextContent({
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
children,
|
|
80
|
-
...props
|
|
81
|
-
}: ContextContentProps): React.JSX.Element;
|
|
82
|
-
interface ContextContentHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
83
|
-
declare function ContextContentHeader({
|
|
84
|
-
className,
|
|
85
|
-
children,
|
|
86
|
-
ref,
|
|
87
|
-
...props
|
|
88
|
-
}: ContextContentHeaderProps & {
|
|
59
|
+
export declare function ContextContent({ className, side, children, ...props }: ContextContentProps): React.JSX.Element;
|
|
60
|
+
export interface ContextContentHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
61
|
+
export declare function ContextContentHeader({ className, children, ref, ...props }: ContextContentHeaderProps & {
|
|
89
62
|
ref?: React.Ref<HTMLDivElement>;
|
|
90
63
|
}): React.JSX.Element;
|
|
91
|
-
interface ContextContentBodyProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
92
|
-
declare function ContextContentBody({
|
|
93
|
-
className,
|
|
94
|
-
children,
|
|
95
|
-
ref,
|
|
96
|
-
...props
|
|
97
|
-
}: ContextContentBodyProps & {
|
|
64
|
+
export interface ContextContentBodyProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
65
|
+
export declare function ContextContentBody({ className, children, ref, ...props }: ContextContentBodyProps & {
|
|
98
66
|
ref?: React.Ref<HTMLDivElement>;
|
|
99
67
|
}): React.JSX.Element;
|
|
100
|
-
interface ContextContentFooterProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
101
|
-
declare function ContextContentFooter({
|
|
102
|
-
className,
|
|
103
|
-
children,
|
|
104
|
-
ref,
|
|
105
|
-
...props
|
|
106
|
-
}: ContextContentFooterProps & {
|
|
68
|
+
export interface ContextContentFooterProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
69
|
+
export declare function ContextContentFooter({ className, children, ref, ...props }: ContextContentFooterProps & {
|
|
107
70
|
ref?: React.Ref<HTMLDivElement>;
|
|
108
71
|
}): React.JSX.Element;
|
|
109
|
-
interface ContextUsageRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
72
|
+
export interface ContextUsageRowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
110
73
|
label?: string;
|
|
111
74
|
}
|
|
112
|
-
type ContextInputUsageProps = ContextUsageRowProps;
|
|
113
|
-
type ContextOutputUsageProps = ContextUsageRowProps;
|
|
114
|
-
type ContextReasoningUsageProps = ContextUsageRowProps;
|
|
115
|
-
type ContextCacheUsageProps = ContextUsageRowProps;
|
|
116
|
-
declare function ContextInputUsage(props: ContextInputUsageProps): React.JSX.Element;
|
|
117
|
-
declare function ContextOutputUsage(props: ContextOutputUsageProps): React.JSX.Element;
|
|
118
|
-
declare function ContextReasoningUsage(props: ContextReasoningUsageProps): React.JSX.Element;
|
|
119
|
-
declare function ContextCacheUsage(props: ContextCacheUsageProps): React.JSX.Element;
|
|
75
|
+
export type ContextInputUsageProps = ContextUsageRowProps;
|
|
76
|
+
export type ContextOutputUsageProps = ContextUsageRowProps;
|
|
77
|
+
export type ContextReasoningUsageProps = ContextUsageRowProps;
|
|
78
|
+
export type ContextCacheUsageProps = ContextUsageRowProps;
|
|
79
|
+
export declare function ContextInputUsage(props: ContextInputUsageProps): React.JSX.Element;
|
|
80
|
+
export declare function ContextOutputUsage(props: ContextOutputUsageProps): React.JSX.Element;
|
|
81
|
+
export declare function ContextReasoningUsage(props: ContextReasoningUsageProps): React.JSX.Element;
|
|
82
|
+
export declare function ContextCacheUsage(props: ContextCacheUsageProps): React.JSX.Element;
|
|
120
83
|
/**
|
|
121
84
|
* Latest `metadata.usage` in a transcript — the AI SDK convention for token
|
|
122
85
|
* accounting (`toUIMessageStreamResponse({ messageMetadata })`), which Think
|
|
123
86
|
* merges into `message.metadata` as turns finish. Structural: any message
|
|
124
87
|
* whose metadata carries a `usage` object qualifies.
|
|
125
88
|
*/
|
|
126
|
-
declare function getContextUsage(messages: readonly UIMessage[]): LanguageModelUsage | undefined;
|
|
89
|
+
export declare function getContextUsage(messages: readonly UIMessage[]): LanguageModelUsage | undefined;
|
|
127
90
|
/** Tokens occupying the context window: `totalTokens`, or input + output. */
|
|
128
|
-
declare function getContextUsedTokens(usage: LanguageModelUsage | undefined): number;
|
|
129
|
-
//#endregion
|
|
130
|
-
export { Context, ContextCacheUsage, ContextCacheUsageProps, ContextContent, ContextContentBody, ContextContentBodyProps, ContextContentFooter, ContextContentFooterProps, ContextContentHeader, ContextContentHeaderProps, ContextContentProps, ContextInputUsage, ContextInputUsageProps, ContextOutputUsage, ContextOutputUsageProps, ContextProps, ContextReasoningUsage, ContextReasoningUsageProps, ContextTrigger, ContextTriggerProps, ContextUsageRowProps, getContextUsage, getContextUsedTokens };
|
|
91
|
+
export declare function getContextUsedTokens(usage: LanguageModelUsage | undefined): number;
|
|
92
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Separator } from "../foundations/Separator.js";
|
|
3
2
|
import { Popover } from "../foundations/Popover.js";
|
|
4
|
-
import {
|
|
3
|
+
import { Separator } from "../foundations/Separator.js";
|
|
4
|
+
import { t as ProgressRing } from "../../progress-ring-L2bbF0ji.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Context.tsx
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { n as IconButtonProps } from "../../IconButton-
|
|
1
|
+
import { n as IconButtonProps } from "../../IconButton-43ggXEuf.js";
|
|
2
2
|
import { MessageScrollerButtonProps, MessageScrollerItemProps } from "./MessageScroller.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { UIMessage } from "ai";
|
|
5
|
-
|
|
6
5
|
//#region src/components/ai-sdk/Conversation.d.ts
|
|
7
6
|
/** Whole AI SDK message accepted by transcript export helpers. */
|
|
8
|
-
type ConversationMessage = UIMessage;
|
|
9
|
-
interface ConversationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
7
|
+
export type ConversationMessage = UIMessage;
|
|
8
|
+
export interface ConversationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
10
9
|
/** Additional class names for layout only; do not override scroll behavior from apps. */
|
|
11
10
|
className?: string;
|
|
12
11
|
/** ConversationContent, messages, empty state, scroll button, or download button. */
|
|
@@ -49,34 +48,22 @@ interface ConversationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "
|
|
|
49
48
|
*
|
|
50
49
|
* @see {@link https://elements.ai-sdk.dev/components/conversation | AI Elements Conversation}
|
|
51
50
|
*/
|
|
52
|
-
declare function Conversation({
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
ref,
|
|
56
|
-
...props
|
|
57
|
-
}: ConversationProps & {
|
|
58
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
51
|
+
export declare function Conversation({ className, children, ref, ...props }: ConversationProps & {
|
|
52
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
53
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
59
54
|
}): React.JSX.Element;
|
|
60
|
-
interface ConversationContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
55
|
+
export interface ConversationContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
61
56
|
/**
|
|
62
57
|
* Inner layout wrapper for conversation children. Applies vertical stacking
|
|
63
58
|
* and padding; does not scroll (the parent {@link Conversation} does).
|
|
64
59
|
*/
|
|
65
|
-
declare function ConversationContent({
|
|
66
|
-
className,
|
|
67
|
-
children,
|
|
68
|
-
...props
|
|
69
|
-
}: ConversationContentProps & {
|
|
60
|
+
export declare function ConversationContent({ className, children, ...props }: ConversationContentProps & {
|
|
70
61
|
ref?: React.Ref<HTMLDivElement>;
|
|
71
62
|
}): React.JSX.Element;
|
|
72
|
-
type ConversationItemProps = MessageScrollerItemProps;
|
|
63
|
+
export type ConversationItemProps = MessageScrollerItemProps;
|
|
73
64
|
/** Optional wrapper for one turn/message. Enables upstream scroll anchoring and visibility tracking. */
|
|
74
|
-
declare function ConversationItem({
|
|
75
|
-
|
|
76
|
-
scrollAnchor,
|
|
77
|
-
...props
|
|
78
|
-
}: ConversationItemProps): React.JSX.Element;
|
|
79
|
-
interface ConversationScrollButtonProps extends Omit<MessageScrollerButtonProps, "children"> {
|
|
65
|
+
export declare function ConversationItem({ className, scrollAnchor, ...props }: ConversationItemProps): React.JSX.Element;
|
|
66
|
+
export interface ConversationScrollButtonProps extends Omit<MessageScrollerButtonProps, "children"> {
|
|
80
67
|
/** Accessible label for the button. */
|
|
81
68
|
label?: string;
|
|
82
69
|
children?: React.ReactNode;
|
|
@@ -85,15 +72,7 @@ interface ConversationScrollButtonProps extends Omit<MessageScrollerButtonProps,
|
|
|
85
72
|
* Floating button that scrolls the conversation to the latest message.
|
|
86
73
|
* Hidden from view and tab order while the viewport is already at the end.
|
|
87
74
|
*/
|
|
88
|
-
declare function ConversationScrollButton({
|
|
89
|
-
className,
|
|
90
|
-
variant,
|
|
91
|
-
color,
|
|
92
|
-
size,
|
|
93
|
-
label,
|
|
94
|
-
children,
|
|
95
|
-
...props
|
|
96
|
-
}: ConversationScrollButtonProps & {
|
|
75
|
+
export declare function ConversationScrollButton({ className, variant, color, size, label, children, ...props }: ConversationScrollButtonProps & {
|
|
97
76
|
ref?: React.Ref<HTMLButtonElement>;
|
|
98
77
|
}): React.JSX.Element;
|
|
99
78
|
/**
|
|
@@ -103,8 +82,8 @@ declare function ConversationScrollButton({
|
|
|
103
82
|
* @param formatMessage - Optional per-message formatter; defaults to
|
|
104
83
|
* `### Role\n\n<text>` blocks joined by blank lines.
|
|
105
84
|
*/
|
|
106
|
-
declare function messagesToMarkdown(messages: ConversationMessage[], formatMessage?: (message: ConversationMessage, index: number) => string): string;
|
|
107
|
-
interface ConversationDownloadProps extends Omit<IconButtonProps, "onClick" | "children" | "label"> {
|
|
85
|
+
export declare function messagesToMarkdown(messages: ConversationMessage[], formatMessage?: (message: ConversationMessage, index: number) => string): string;
|
|
86
|
+
export interface ConversationDownloadProps extends Omit<IconButtonProps, "onClick" | "children" | "label"> {
|
|
108
87
|
messages: ConversationMessage[];
|
|
109
88
|
/** Filename for the downloaded Markdown file. */
|
|
110
89
|
filename?: string;
|
|
@@ -120,20 +99,7 @@ interface ConversationDownloadProps extends Omit<IconButtonProps, "onClick" | "c
|
|
|
120
99
|
* Skipped when `messages` is empty. For custom export flows, use
|
|
121
100
|
* {@link messagesToMarkdown} directly.
|
|
122
101
|
*/
|
|
123
|
-
declare function ConversationDownload({
|
|
124
|
-
className,
|
|
125
|
-
messages,
|
|
126
|
-
filename,
|
|
127
|
-
formatMessage,
|
|
128
|
-
label,
|
|
129
|
-
variant,
|
|
130
|
-
color,
|
|
131
|
-
size,
|
|
132
|
-
children,
|
|
133
|
-
ref,
|
|
134
|
-
...props
|
|
135
|
-
}: ConversationDownloadProps & {
|
|
102
|
+
export declare function ConversationDownload({ className, messages, filename, formatMessage, label, variant, color, size, children, ref, ...props }: ConversationDownloadProps & {
|
|
136
103
|
ref?: React.Ref<HTMLButtonElement>;
|
|
137
104
|
}): React.JSX.Element | null;
|
|
138
|
-
//#endregion
|
|
139
|
-
export { Conversation, ConversationContent, ConversationContentProps, ConversationDownload, ConversationDownloadProps, ConversationItem, ConversationItemProps, ConversationMessage, ConversationProps, ConversationScrollButton, ConversationScrollButtonProps, messagesToMarkdown };
|
|
105
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon, v as DownloadIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon, v as DownloadIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { t as assignRef } from "../../merge-refs-DF_7w2x_.js";
|
|
5
5
|
import { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport } from "./MessageScroller.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CorrespondentNameProps, c as emailDestinationCorrespondent, i as CorrespondentName, l as linkedinTabCorrespondent, n as CorrespondentHandle, o as correspondentHandleLabel, r as CorrespondentLatest, s as correspondentInitials, t as Correspondent, u as slackDestinationCorrespondent } from "../../Correspondent-
|
|
1
|
+
import { a as CorrespondentNameProps, c as emailDestinationCorrespondent, i as CorrespondentName, l as linkedinTabCorrespondent, n as CorrespondentHandle, o as correspondentHandleLabel, r as CorrespondentLatest, s as correspondentInitials, t as Correspondent, u as slackDestinationCorrespondent } from "../../Correspondent-ANkZHGEa.js";
|
|
2
2
|
export { Correspondent, CorrespondentHandle, CorrespondentLatest, CorrespondentName, CorrespondentNameProps, correspondentHandleLabel, correspondentInitials, emailDestinationCorrespondent, linkedinTabCorrespondent, slackDestinationCorrespondent };
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/ai-sdk/ExpansionState.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Disclosure open states keyed by stable transcript ids, held outside the
|
|
6
5
|
* rows so a virtualized transcript can unmount a row and restore its
|
|
7
6
|
* disclosures when it scrolls back into view.
|
|
8
7
|
*/
|
|
9
|
-
interface ExpansionStore {
|
|
8
|
+
export interface ExpansionStore {
|
|
10
9
|
get(key: string): boolean | undefined;
|
|
11
10
|
set(key: string, open: boolean): void;
|
|
12
11
|
}
|
|
13
12
|
/** Plain Map-backed store. Create one per conversation/thread. */
|
|
14
|
-
declare function createExpansionStore(): ExpansionStore;
|
|
15
|
-
interface ExpansionStateProviderProps {
|
|
13
|
+
export declare function createExpansionStore(): ExpansionStore;
|
|
14
|
+
export interface ExpansionStateProviderProps {
|
|
16
15
|
/**
|
|
17
16
|
* Store to record disclosure state in. Omit to scope persistence to this
|
|
18
17
|
* provider's lifetime — enough for scrolling within a mounted transcript.
|
|
@@ -36,16 +35,12 @@ interface ExpansionStateProviderProps {
|
|
|
36
35
|
* across remounts. A provider without an explicit `store` defers to an
|
|
37
36
|
* enclosing one, so AgentChat's built-in provider never shadows a host's.
|
|
38
37
|
*/
|
|
39
|
-
declare function ExpansionStateProvider({
|
|
40
|
-
store,
|
|
41
|
-
children
|
|
42
|
-
}: ExpansionStateProviderProps): React.JSX.Element;
|
|
38
|
+
export declare function ExpansionStateProvider({ store, children }: ExpansionStateProviderProps): React.JSX.Element;
|
|
43
39
|
/**
|
|
44
40
|
* Open state initialized from the surrounding store (falling back to
|
|
45
41
|
* `defaultOpen`) and written through on every change. Only the mounted row
|
|
46
42
|
* reads a given key, so there is no subscription — remounting re-reads the
|
|
47
43
|
* store. Without a provider or a `stateKey` this is plain local state.
|
|
48
44
|
*/
|
|
49
|
-
declare function useExpansionState(stateKey: string | undefined, defaultOpen: boolean): [boolean, (open: boolean) => void];
|
|
50
|
-
//#endregion
|
|
51
|
-
export { ExpansionStateProvider, ExpansionStateProviderProps, ExpansionStore, createExpansionStore, useExpansionState };
|
|
45
|
+
export declare function useExpansionState(stateKey: string | undefined, defaultOpen: boolean): [boolean, (open: boolean) => void];
|
|
46
|
+
//#endregion
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/ai-sdk/Goal.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Lifecycle of a persisted conversation goal. Mirrors the host's goal state;
|
|
6
5
|
* this is not a Think or AI SDK execution status.
|
|
7
6
|
*/
|
|
8
|
-
type GoalStatus = "pursuing" | "paused" | "achieved" | "unmet" | "limited";
|
|
9
|
-
interface GoalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
export type GoalStatus = "pursuing" | "paused" | "achieved" | "unmet" | "limited";
|
|
8
|
+
export interface GoalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
9
|
/** Drives the default title and the `data-status` styling hook. */
|
|
11
10
|
status?: GoalStatus;
|
|
12
11
|
/** Goal icon, content, and optional application-owned actions. */
|
|
@@ -24,68 +23,38 @@ interface GoalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
24
23
|
* resume, or clear a goal and owns no timer or transport. The host-side goal
|
|
25
24
|
* contract lives in docs/think-goal.md.
|
|
26
25
|
*/
|
|
27
|
-
declare function Goal({
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
ref,
|
|
31
|
-
...props
|
|
32
|
-
}: GoalProps & {
|
|
33
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
26
|
+
export declare function Goal({ className, status, ref, ...props }: GoalProps & {
|
|
27
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
28
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
34
29
|
}): React.JSX.Element;
|
|
35
|
-
interface GoalIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
36
|
-
declare function GoalIcon({
|
|
37
|
-
children,
|
|
38
|
-
className,
|
|
39
|
-
ref,
|
|
40
|
-
...props
|
|
41
|
-
}: GoalIconProps & {
|
|
30
|
+
export interface GoalIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
31
|
+
export declare function GoalIcon({ children, className, ref, ...props }: GoalIconProps & {
|
|
42
32
|
ref?: React.Ref<HTMLSpanElement>;
|
|
43
33
|
}): React.JSX.Element;
|
|
44
|
-
interface GoalContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
45
|
-
declare function GoalContent({
|
|
46
|
-
className,
|
|
47
|
-
ref,
|
|
48
|
-
...props
|
|
49
|
-
}: GoalContentProps & {
|
|
34
|
+
export interface GoalContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
35
|
+
export declare function GoalContent({ className, ref, ...props }: GoalContentProps & {
|
|
50
36
|
ref?: React.Ref<HTMLDivElement>;
|
|
51
37
|
}): React.JSX.Element;
|
|
52
|
-
interface GoalTitleProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
38
|
+
export interface GoalTitleProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
53
39
|
/** Status headline; defaults to the label for the surrounding `Goal` status. */
|
|
54
|
-
declare function GoalTitle({
|
|
55
|
-
children,
|
|
56
|
-
className,
|
|
57
|
-
ref,
|
|
58
|
-
...props
|
|
59
|
-
}: GoalTitleProps & {
|
|
40
|
+
export declare function GoalTitle({ children, className, ref, ...props }: GoalTitleProps & {
|
|
60
41
|
ref?: React.Ref<HTMLSpanElement>;
|
|
61
42
|
}): React.JSX.Element;
|
|
62
|
-
interface GoalObjectiveProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
43
|
+
export interface GoalObjectiveProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
63
44
|
/** The user- or model-authored objective text. */
|
|
64
|
-
declare function GoalObjective({
|
|
65
|
-
className,
|
|
66
|
-
ref,
|
|
67
|
-
...props
|
|
68
|
-
}: GoalObjectiveProps & {
|
|
45
|
+
export declare function GoalObjective({ className, ref, ...props }: GoalObjectiveProps & {
|
|
69
46
|
ref?: React.Ref<HTMLSpanElement>;
|
|
70
47
|
}): React.JSX.Element;
|
|
71
|
-
interface GoalMetaProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
48
|
+
export interface GoalMetaProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
72
49
|
/** Host-formatted progress metadata — elapsed time or turn count. */
|
|
73
|
-
declare function GoalMeta({
|
|
74
|
-
className,
|
|
75
|
-
ref,
|
|
76
|
-
...props
|
|
77
|
-
}: GoalMetaProps & {
|
|
50
|
+
export declare function GoalMeta({ className, ref, ...props }: GoalMetaProps & {
|
|
78
51
|
ref?: React.Ref<HTMLSpanElement>;
|
|
79
52
|
}): React.JSX.Element;
|
|
80
|
-
interface GoalActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
81
|
-
declare function GoalActions({
|
|
82
|
-
className,
|
|
83
|
-
ref,
|
|
84
|
-
...props
|
|
85
|
-
}: GoalActionsProps & {
|
|
53
|
+
export interface GoalActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
54
|
+
export declare function GoalActions({ className, ref, ...props }: GoalActionsProps & {
|
|
86
55
|
ref?: React.Ref<HTMLDivElement>;
|
|
87
56
|
}): React.JSX.Element;
|
|
88
|
-
interface GoalBannerProps extends Omit<GoalProps, "children" | "title"> {
|
|
57
|
+
export interface GoalBannerProps extends Omit<GoalProps, "children" | "title"> {
|
|
89
58
|
/** User- or model-authored objective. */
|
|
90
59
|
objective: string;
|
|
91
60
|
/** Host-formatted progress such as elapsed time or token spend. */
|
|
@@ -102,15 +71,5 @@ interface GoalBannerProps extends Omit<GoalProps, "children" | "title"> {
|
|
|
102
71
|
* The host still owns persistence and lifecycle policy. This component owns
|
|
103
72
|
* action pending/error state and the shared banner markup.
|
|
104
73
|
*/
|
|
105
|
-
declare function GoalBanner({
|
|
106
|
-
|
|
107
|
-
meta,
|
|
108
|
-
progressSummary,
|
|
109
|
-
status,
|
|
110
|
-
onPause,
|
|
111
|
-
onResume,
|
|
112
|
-
onClear,
|
|
113
|
-
...props
|
|
114
|
-
}: GoalBannerProps): React.JSX.Element;
|
|
115
|
-
//#endregion
|
|
116
|
-
export { Goal, GoalActions, GoalActionsProps, GoalBanner, GoalBannerProps, GoalContent, GoalContentProps, GoalIcon, GoalIconProps, GoalMeta, GoalMetaProps, GoalObjective, GoalObjectiveProps, GoalProps, GoalStatus, GoalTitle, GoalTitleProps };
|
|
74
|
+
export declare function GoalBanner({ objective, meta, progressSummary, status, onPause, onResume, onClear, ...props }: GoalBannerProps): React.JSX.Element;
|
|
75
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { L as PauseIcon, Q as TrashIcon, X as TargetIcon, z as PlayIcon } from "../../icons-
|
|
2
|
+
import { L as PauseIcon, Q as TrashIcon, X as TargetIcon, z as PlayIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { a as formatErrorMessage } from "../../format-
|
|
4
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Goal.tsx
|