@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,49 +1,38 @@
|
|
|
1
|
-
import { f as EmployeeShellProps } from "../../EmployeeChrome-
|
|
1
|
+
import { f as EmployeeShellProps } from "../../EmployeeChrome-CN99SVfF.js";
|
|
2
2
|
import { ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeEmployee } from "./ManagerOffice.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/ManagerOfficeScreens.d.ts
|
|
6
|
-
type ManagerOfficeView = {
|
|
5
|
+
export type ManagerOfficeView = {
|
|
7
6
|
kind: "attention";
|
|
8
7
|
} | {
|
|
9
8
|
kind: "employee";
|
|
10
9
|
employeeId: string;
|
|
11
10
|
};
|
|
12
|
-
interface ManagerWorkShellProps extends Omit<EmployeeShellProps, "appBarLeading"> {
|
|
11
|
+
export interface ManagerWorkShellProps extends Omit<EmployeeShellProps, "appBarLeading"> {
|
|
13
12
|
employees: readonly ManagerOfficeEmployee[];
|
|
14
13
|
employee: ManagerOfficeEmployee;
|
|
15
14
|
renderOfficeLink: (destination: ManagerOfficeDestination) => React.ReactElement;
|
|
16
15
|
officeActions: React.ReactNode;
|
|
17
16
|
}
|
|
18
17
|
/** Workforce navigation remains available while reading or sending work. */
|
|
19
|
-
declare function ManagerWorkShell({
|
|
20
|
-
employees,
|
|
21
|
-
employee,
|
|
22
|
-
renderOfficeLink,
|
|
23
|
-
officeActions,
|
|
24
|
-
...chrome
|
|
25
|
-
}: ManagerWorkShellProps): React.JSX.Element;
|
|
18
|
+
export declare function ManagerWorkShell({ employees, employee, renderOfficeLink, officeActions, ...chrome }: ManagerWorkShellProps): React.JSX.Element;
|
|
26
19
|
/** Employee channels in the same raised workbench plane as files and other output. */
|
|
27
|
-
declare function ManagerWorkChannels({
|
|
28
|
-
employee
|
|
29
|
-
}: {
|
|
20
|
+
export declare function ManagerWorkChannels({ employee }: {
|
|
30
21
|
employee: ManagerOfficeConnectedEmployee;
|
|
31
22
|
}): React.JSX.Element;
|
|
32
23
|
/** Canonical manager overview; the host supplies its roster, actions and destinations. */
|
|
33
|
-
declare function ManagerOfficeScreen({
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
officeActions: React.ReactNode; /** Shared account actions for the selected employee. */
|
|
24
|
+
export declare function ManagerOfficeScreen({ employees, renderLink, view, emptyOfficeAction, officeActions, renderEmployeeActions }: {
|
|
25
|
+
/** Current employee projections, including connecting and offline entries. */
|
|
26
|
+
employees: readonly ManagerOfficeEmployee[];
|
|
27
|
+
/** Render a host-owned route link for an office destination. */
|
|
28
|
+
renderLink: (destination: ManagerOfficeDestination) => React.ReactElement;
|
|
29
|
+
/** Selected attention inbox or employee dossier. */
|
|
30
|
+
view: ManagerOfficeView;
|
|
31
|
+
/** Sign-in or add-employee control shown for an empty roster. */
|
|
32
|
+
emptyOfficeAction: React.ReactNode;
|
|
33
|
+
/** Shared account actions displayed above the employee roster. */
|
|
34
|
+
officeActions: React.ReactNode;
|
|
35
|
+
/** Shared account actions for the selected employee. */
|
|
46
36
|
renderEmployeeActions: (employee: ManagerOfficeConnectedEmployee) => React.ReactNode;
|
|
47
37
|
}): React.JSX.Element;
|
|
48
|
-
//#endregion
|
|
49
|
-
export { ManagerOfficeScreen, ManagerOfficeView, ManagerWorkChannels, ManagerWorkShell, ManagerWorkShellProps };
|
|
38
|
+
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as PlusIcon, C as FolderIcon, G as SlackIcon, P as MonitorIcon, R as PencilIcon, W as SidebarIcon, et as WarningIcon, r as ArrowLeftIcon } from "../../icons-
|
|
1
|
+
import { B as PlusIcon, C as FolderIcon, G as SlackIcon, P as MonitorIcon, R as PencilIcon, W as SidebarIcon, et as WarningIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
2
2
|
import { IconButton } from "../foundations/IconButton.js";
|
|
3
3
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
4
4
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
5
5
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
6
6
|
import { ThinkThreadPicker } from "./ThinkThreadPicker.js";
|
|
7
7
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
8
|
-
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-
|
|
8
|
+
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-D4L_xO4i.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/components/agents-sdk/ManagerOfficeScreens.tsx
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { o as McpServerCard } from "../../mcp-server-catalog-
|
|
1
|
+
import { o as McpServerCard } from "../../mcp-server-catalog-DgA9BnL0.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { DynamicToolUIPart, ToolUIPart } from "ai";
|
|
4
4
|
import { MCPServersState } from "agents";
|
|
5
|
-
|
|
6
5
|
//#region src/components/agents-sdk/McpConnectionRequest.d.ts
|
|
7
|
-
type McpConnectionRequestOutcome = "authorization-required" | "connected" | "declined" | "failed";
|
|
6
|
+
export type McpConnectionRequestOutcome = "authorization-required" | "connected" | "declined" | "failed";
|
|
8
7
|
interface McpConnectionRequestBaseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "part"> {
|
|
9
8
|
/** Whole upstream AI SDK tool part whose lifecycle this card renders. */
|
|
10
9
|
part: ToolUIPart | DynamicToolUIPart;
|
|
@@ -19,11 +18,15 @@ interface McpConnectionRequestBaseProps extends Omit<React.HTMLAttributes<HTMLDi
|
|
|
19
18
|
/** Declines the request. The host may remove any existing non-ready entry. */
|
|
20
19
|
onDecline?: () => void | Promise<void>;
|
|
21
20
|
}
|
|
22
|
-
type McpConnectionRequestProps = (McpConnectionRequestBaseProps & {
|
|
23
|
-
/** A live authorization outcome must identify its assigned Agents MCP entry. */
|
|
21
|
+
export type McpConnectionRequestProps = (McpConnectionRequestBaseProps & {
|
|
22
|
+
/** A live authorization outcome must identify its assigned Agents MCP entry. */
|
|
23
|
+
outcome: "authorization-required";
|
|
24
|
+
/** Agents MCP entry assigned to this authorization request. */
|
|
24
25
|
serverId: string;
|
|
25
26
|
}) | (McpConnectionRequestBaseProps & {
|
|
26
|
-
/** App-validated terminal outcome, or omitted while the request is active. */
|
|
27
|
+
/** App-validated terminal outcome, or omitted while the request is active. */
|
|
28
|
+
outcome?: Exclude<McpConnectionRequestOutcome, "authorization-required">;
|
|
29
|
+
/** Unused unless the outcome requires authorization. */
|
|
27
30
|
serverId?: never;
|
|
28
31
|
});
|
|
29
32
|
/**
|
|
@@ -31,8 +34,8 @@ type McpConnectionRequestProps = (McpConnectionRequestBaseProps & {
|
|
|
31
34
|
* state. Failed and interrupted connections deliberately restart through the
|
|
32
35
|
* same `onConnect` seam instead of introducing recovery operations.
|
|
33
36
|
*/
|
|
34
|
-
declare function McpConnectionRequest(props: McpConnectionRequestProps & {
|
|
35
|
-
/** Ref forwarded to the component's rendered root element. */
|
|
37
|
+
export declare function McpConnectionRequest(props: McpConnectionRequestProps & {
|
|
38
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
39
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
36
40
|
}): React.JSX.Element;
|
|
37
|
-
//#endregion
|
|
38
|
-
export { McpConnectionRequest, McpConnectionRequestOutcome, McpConnectionRequestProps };
|
|
41
|
+
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import {
|
|
4
|
+
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
5
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
5
6
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
6
7
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
7
8
|
import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
|
|
8
|
-
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { getToolPartState } from "@cloudflare/think/react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as McpConnectorFormProps, r as McpConnectorFormValues, t as McpConnectorForm } from "../../McpConnectorForm
|
|
1
|
+
import { n as McpConnectorFormProps, r as McpConnectorFormValues, t as McpConnectorForm } from "../../McpConnectorForm-BPWCo9bU.js";
|
|
2
2
|
export { McpConnectorForm, McpConnectorFormProps, McpConnectorFormValues };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CUSTOM_MCP_SERVER_CARD } from "../../utils/mcp-server-catalog.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
5
4
|
import { Field } from "../foundations/Field.js";
|
|
6
5
|
import { Form } from "../foundations/Form.js";
|
|
6
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
7
7
|
import { Fieldset } from "../foundations/Fieldset.js";
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as McpPluginDetailsDialogProps, i as McpPluginDetailsDialog, n as McpPluginCatalogProps, r as McpPluginDetails, t as McpPluginCatalog } from "../../McpPluginCatalog-
|
|
1
|
+
import { a as McpPluginDetailsDialogProps, i as McpPluginDetailsDialog, n as McpPluginCatalogProps, r as McpPluginDetails, t as McpPluginCatalog } from "../../McpPluginCatalog-uSh0gGeY.js";
|
|
2
2
|
export { McpPluginCatalog, McpPluginCatalogProps, McpPluginDetails, McpPluginDetailsDialog, McpPluginDetailsDialogProps };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { CUSTOM_MCP_SERVER_CARD } from "../../utils/mcp-server-catalog.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { B as PlusIcon, K as SpinnerIcon, et as WarningIcon, nt as XIcon, o as ArrowUpRightIcon, y as EllipsisIcon } from "../../icons-
|
|
3
|
+
import { B as PlusIcon, K as SpinnerIcon, et as WarningIcon, nt as XIcon, o as ArrowUpRightIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
+
import { AgentAttention, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
5
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
7
|
import { Dialog } from "../foundations/Dialog.js";
|
|
7
|
-
import { a as formatErrorMessage } from "../../format-
|
|
8
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
8
9
|
import { Separator } from "../foundations/Separator.js";
|
|
9
10
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
10
|
-
import { McpServerIcon } from "./McpServerIcon.js";
|
|
11
11
|
import { SearchField } from "../foundations/SearchField.js";
|
|
12
|
+
import { McpServerIcon } from "./McpServerIcon.js";
|
|
12
13
|
import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
|
|
13
14
|
import { McpServerSetupDialog } from "./McpServerPicker.js";
|
|
14
|
-
import { AgentAttention, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
//#region src/components/agents-sdk/McpPluginCatalog.tsx
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import { o as McpServerCard } from "../../mcp-server-catalog-
|
|
1
|
+
import { o as McpServerCard } from "../../mcp-server-catalog-DgA9BnL0.js";
|
|
2
2
|
import { AppIconSize, AppIconVariant } from "../foundations/AppIcon.js";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/McpServerIcon.d.ts
|
|
5
|
-
interface McpServerIconProps {
|
|
4
|
+
export interface McpServerIconProps {
|
|
6
5
|
server: McpServerCard;
|
|
7
6
|
size?: AppIconSize;
|
|
8
7
|
variant?: AppIconVariant;
|
|
9
8
|
}
|
|
10
9
|
/** Catalog-backed MCP identity mark. The owning control supplies its accessible name. */
|
|
11
|
-
declare function McpServerIcon({
|
|
12
|
-
|
|
13
|
-
size,
|
|
14
|
-
variant
|
|
15
|
-
}: McpServerIconProps): import("react").JSX.Element;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { McpServerIcon, McpServerIconProps };
|
|
10
|
+
export declare function McpServerIcon({ server, size, variant }: McpServerIconProps): import("react").JSX.Element;
|
|
11
|
+
//#endregion
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { s as MenuItemProps, t as Menu } from "../../Menu-
|
|
2
|
-
import { l as DialogProps } from "../../Dialog-
|
|
3
|
-
import { o as McpServerCard } from "../../mcp-server-catalog-
|
|
4
|
-
import { n as McpConnectorFormProps } from "../../McpConnectorForm
|
|
1
|
+
import { s as MenuItemProps, t as Menu } from "../../Menu-FA4P6KrA.js";
|
|
2
|
+
import { l as DialogProps } from "../../Dialog-D5AVE3IN.js";
|
|
3
|
+
import { o as McpServerCard } from "../../mcp-server-catalog-DgA9BnL0.js";
|
|
4
|
+
import { n as McpConnectorFormProps } from "../../McpConnectorForm-BPWCo9bU.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { MCPServersState } from "agents";
|
|
7
|
-
|
|
8
7
|
//#region src/components/agents-sdk/McpServerPicker.d.ts
|
|
9
|
-
interface McpServerPickerProps {
|
|
8
|
+
export interface McpServerPickerProps {
|
|
10
9
|
/** MCP servers to show in the plus-menu picker. */
|
|
11
10
|
servers: readonly McpServerCard[];
|
|
12
11
|
/** Called for a new or non-ready server. Hosts should replace stale entries before adding it. */
|
|
@@ -24,18 +23,18 @@ interface McpServerPickerProps {
|
|
|
24
23
|
/** Accessible name for the plus trigger. */
|
|
25
24
|
triggerLabel?: string;
|
|
26
25
|
}
|
|
27
|
-
type McpServerPickerItemsProps = Omit<McpServerPickerProps, "sideOffset" | "triggerLabel">;
|
|
28
|
-
interface McpServerPickerGroupProps extends Omit<React.ComponentProps<typeof Menu.Group>, "children"> {
|
|
26
|
+
export type McpServerPickerItemsProps = Omit<McpServerPickerProps, "sideOffset" | "triggerLabel">;
|
|
27
|
+
export interface McpServerPickerGroupProps extends Omit<React.ComponentProps<typeof Menu.Group>, "children"> {
|
|
29
28
|
/** Quiet visible heading for a related set of picker actions. */
|
|
30
29
|
label: React.ReactNode;
|
|
31
30
|
children: React.ReactNode;
|
|
32
31
|
}
|
|
33
|
-
interface McpServerPickerActionProps extends Omit<MenuItemProps, "children" | "label"> {
|
|
32
|
+
export interface McpServerPickerActionProps extends Omit<MenuItemProps, "children" | "label"> {
|
|
34
33
|
icon?: React.ReactNode;
|
|
35
34
|
label: React.ReactNode;
|
|
36
35
|
description?: React.ReactNode;
|
|
37
36
|
}
|
|
38
|
-
interface McpServerPickerActionItem {
|
|
37
|
+
export interface McpServerPickerActionItem {
|
|
39
38
|
id: string;
|
|
40
39
|
icon?: React.ReactNode;
|
|
41
40
|
label: React.ReactNode;
|
|
@@ -43,52 +42,17 @@ interface McpServerPickerActionItem {
|
|
|
43
42
|
disabled?: boolean;
|
|
44
43
|
onSelect: () => void;
|
|
45
44
|
}
|
|
46
|
-
interface McpServerSetupDialogProps extends Pick<McpConnectorFormProps, "defaults" | "onSubmit" | "redirectUrl" | "status"> {
|
|
45
|
+
export interface McpServerSetupDialogProps extends Pick<McpConnectorFormProps, "defaults" | "onSubmit" | "redirectUrl" | "status"> {
|
|
47
46
|
/** Selected catalog entry. Passing null closes the dialog. */
|
|
48
47
|
server: McpServerCard | null;
|
|
49
48
|
/** Called when the user dismisses the dialog. */
|
|
50
49
|
onOpenChange: NonNullable<DialogProps["onOpenChange"]>;
|
|
51
50
|
}
|
|
52
51
|
/** Manual MCP setup surface driven by the same catalog metadata as the picker. */
|
|
53
|
-
declare function McpServerSetupDialog({
|
|
54
|
-
server,
|
|
55
|
-
defaults,
|
|
56
|
-
onOpenChange,
|
|
57
|
-
onSubmit,
|
|
58
|
-
redirectUrl,
|
|
59
|
-
status
|
|
60
|
-
}: McpServerSetupDialogProps): React.JSX.Element;
|
|
52
|
+
export declare function McpServerSetupDialog({ server, defaults, onOpenChange, onSubmit, redirectUrl, status }: McpServerSetupDialogProps): React.JSX.Element;
|
|
61
53
|
/** Prompt plus-menu picker for connecting and removing MCP servers. */
|
|
62
|
-
declare function McpServerPicker({
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
actions,
|
|
68
|
-
actionsLabel,
|
|
69
|
-
sideOffset,
|
|
70
|
-
triggerLabel
|
|
71
|
-
}: McpServerPickerProps): React.JSX.Element;
|
|
72
|
-
declare function McpServerPickerItems({
|
|
73
|
-
servers,
|
|
74
|
-
onConnect,
|
|
75
|
-
mcp,
|
|
76
|
-
onDisconnect,
|
|
77
|
-
actions,
|
|
78
|
-
actionsLabel
|
|
79
|
-
}: McpServerPickerItemsProps): React.JSX.Element;
|
|
80
|
-
declare function McpServerPickerGroup({
|
|
81
|
-
label,
|
|
82
|
-
children,
|
|
83
|
-
className,
|
|
84
|
-
...props
|
|
85
|
-
}: McpServerPickerGroupProps): React.JSX.Element;
|
|
86
|
-
declare function McpServerPickerAction({
|
|
87
|
-
icon,
|
|
88
|
-
label,
|
|
89
|
-
description,
|
|
90
|
-
className,
|
|
91
|
-
...props
|
|
92
|
-
}: McpServerPickerActionProps): React.JSX.Element;
|
|
93
|
-
//#endregion
|
|
94
|
-
export { McpServerPicker, McpServerPickerAction, McpServerPickerActionItem, McpServerPickerActionProps, McpServerPickerGroup, McpServerPickerGroupProps, McpServerPickerItems, McpServerPickerItemsProps, McpServerPickerProps, McpServerSetupDialog, McpServerSetupDialogProps };
|
|
54
|
+
export declare function McpServerPicker({ servers, onConnect, mcp, onDisconnect, actions, actionsLabel, sideOffset, triggerLabel }: McpServerPickerProps): React.JSX.Element;
|
|
55
|
+
export declare function McpServerPickerItems({ servers, onConnect, mcp, onDisconnect, actions, actionsLabel }: McpServerPickerItemsProps): React.JSX.Element;
|
|
56
|
+
export declare function McpServerPickerGroup({ label, children, className, ...props }: McpServerPickerGroupProps): React.JSX.Element;
|
|
57
|
+
export declare function McpServerPickerAction({ icon, label, description, className, ...props }: McpServerPickerActionProps): React.JSX.Element;
|
|
58
|
+
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, N as MinusIcon, d as CheckIcon, et as WarningIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, N as MinusIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
4
|
-
import { Dialog } from "../foundations/Dialog.js";
|
|
5
|
-
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
6
4
|
import { Menu } from "../foundations/Menu.js";
|
|
5
|
+
import { Dialog } from "../foundations/Dialog.js";
|
|
6
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
7
7
|
import { PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger } from "../ai-sdk/PromptInput.js";
|
|
8
8
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
9
9
|
import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { SettingsFormDialogProps } from "../general-purpose/SettingsFormDialog.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/agents-sdk/ModelEndpointDialog.d.ts
|
|
4
|
-
|
|
3
|
+
declare const MODEL_APIS: readonly [{
|
|
4
|
+
readonly value: "chat-completions";
|
|
5
|
+
readonly label: "Chat Completions";
|
|
6
|
+
}, {
|
|
7
|
+
readonly value: "responses";
|
|
8
|
+
readonly label: "Responses";
|
|
9
|
+
}];
|
|
10
|
+
export interface ModelEndpointDialogProps {
|
|
5
11
|
/** Whether the host has opened its model connection settings. */
|
|
6
12
|
open: boolean;
|
|
7
13
|
/** Update the host-owned open state after dismissal or successful submission. */
|
|
@@ -12,6 +18,7 @@ interface ModelEndpointDialogProps {
|
|
|
12
18
|
onRemove?: () => Promise<void>;
|
|
13
19
|
/** Existing endpoint values and the most recent request error. */
|
|
14
20
|
configured?: {
|
|
21
|
+
api: (typeof MODEL_APIS)[number]["value"];
|
|
15
22
|
baseUrl: string;
|
|
16
23
|
modelId: string;
|
|
17
24
|
acceptsImages: boolean;
|
|
@@ -20,12 +27,5 @@ interface ModelEndpointDialogProps {
|
|
|
20
27
|
};
|
|
21
28
|
}
|
|
22
29
|
/** Shared connection form; the host owns validation, credentials and persistence. */
|
|
23
|
-
declare function ModelEndpointDialog({
|
|
24
|
-
|
|
25
|
-
onOpenChange,
|
|
26
|
-
onSubmit,
|
|
27
|
-
onRemove,
|
|
28
|
-
configured
|
|
29
|
-
}: ModelEndpointDialogProps): import("react").JSX.Element;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { ModelEndpointDialog, ModelEndpointDialogProps };
|
|
30
|
+
export declare function ModelEndpointDialog({ open, onOpenChange, onSubmit, onRemove, configured }: ModelEndpointDialogProps): import("react").JSX.Element;
|
|
31
|
+
//#endregion
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { Field } from "../foundations/Field.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Select } from "../foundations/Select.js";
|
|
3
3
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
4
|
+
import { SettingsFormDialog } from "../general-purpose/SettingsFormDialog.js";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
//#region src/components/agents-sdk/ModelEndpointDialog.tsx
|
|
7
|
+
const MODEL_APIS = [{
|
|
8
|
+
value: "chat-completions",
|
|
9
|
+
label: "Chat Completions"
|
|
10
|
+
}, {
|
|
11
|
+
value: "responses",
|
|
12
|
+
label: "Responses"
|
|
13
|
+
}];
|
|
6
14
|
/** Shared connection form; the host owns validation, credentials and persistence. */
|
|
7
15
|
function ModelEndpointDialog({ open, onOpenChange, onSubmit, onRemove, configured }) {
|
|
8
16
|
return /* @__PURE__ */ jsxs(SettingsFormDialog, {
|
|
9
17
|
open,
|
|
10
18
|
onOpenChange,
|
|
11
19
|
title: "Custom model endpoint",
|
|
12
|
-
description: "
|
|
20
|
+
description: "Connect to an OpenAI-compatible endpoint using Chat Completions or Responses. The API key is stored by your employee and used for model requests; leave it blank for endpoints without auth.",
|
|
13
21
|
submitLabel: "Use this endpoint",
|
|
14
22
|
removeLabel: onRemove ? "Use ChatGPT instead" : void 0,
|
|
15
23
|
externalError: configured?.error ? `Last request failed: ${configured.error}` : void 0,
|
|
@@ -37,6 +45,21 @@ function ModelEndpointDialog({ open, onOpenChange, onSubmit, onRemove, configure
|
|
|
37
45
|
})
|
|
38
46
|
]
|
|
39
47
|
}),
|
|
48
|
+
/* @__PURE__ */ jsxs(Field.Root, {
|
|
49
|
+
name: "api",
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ jsx(Field.Label, { children: "API" }),
|
|
52
|
+
/* @__PURE__ */ jsxs(Select.Root, {
|
|
53
|
+
defaultValue: configured?.api ?? "chat-completions",
|
|
54
|
+
items: MODEL_APIS,
|
|
55
|
+
children: [/* @__PURE__ */ jsxs(Select.Trigger, { children: [/* @__PURE__ */ jsx(Select.Value, {}), /* @__PURE__ */ jsx(Select.Icon, {})] }), /* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsx(Select.Positioner, { children: /* @__PURE__ */ jsx(Select.Popup, { children: /* @__PURE__ */ jsx(Select.List, { children: MODEL_APIS.map(({ value, label }) => /* @__PURE__ */ jsx(Select.Item, {
|
|
56
|
+
value,
|
|
57
|
+
children: /* @__PURE__ */ jsx(Select.ItemText, { children: label })
|
|
58
|
+
}, value)) }) }) }) })]
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ jsx(Field.Description, { children: "Choose the API your endpoint supports. Codex uses Responses." })
|
|
61
|
+
]
|
|
62
|
+
}),
|
|
40
63
|
/* @__PURE__ */ jsxs(Field.Root, {
|
|
41
64
|
name: "modelId",
|
|
42
65
|
children: [
|