@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,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Select } from "@base-ui/react/select";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Select.d.ts
|
|
5
4
|
type SelectProps<Value = unknown, Multiple extends boolean | undefined = false> = Select.Root.Props<Value, Multiple>;
|
|
6
5
|
interface SelectLabelProps extends Select.Label.Props {}
|
|
@@ -51,91 +50,22 @@ interface SelectScrollDownArrowProps extends Select.ScrollDownArrow.Props {}
|
|
|
51
50
|
*
|
|
52
51
|
* @see {@link https://base-ui.com/react/components/select | Base UI Select}
|
|
53
52
|
*/
|
|
54
|
-
declare function SelectLabel({
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}:
|
|
59
|
-
declare function
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}:
|
|
65
|
-
declare function
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}:
|
|
69
|
-
declare function
|
|
70
|
-
className,
|
|
71
|
-
children,
|
|
72
|
-
ref,
|
|
73
|
-
...props
|
|
74
|
-
}: SelectIconProps): React.JSX.Element;
|
|
75
|
-
declare function SelectBackdrop({
|
|
76
|
-
className,
|
|
77
|
-
ref,
|
|
78
|
-
...props
|
|
79
|
-
}: SelectBackdropProps): React.JSX.Element;
|
|
80
|
-
declare function SelectPositioner({
|
|
81
|
-
className,
|
|
82
|
-
ref,
|
|
83
|
-
...props
|
|
84
|
-
}: SelectPositionerProps): React.JSX.Element;
|
|
85
|
-
declare function SelectPopup({
|
|
86
|
-
className,
|
|
87
|
-
ref,
|
|
88
|
-
...props
|
|
89
|
-
}: SelectPopupProps): React.JSX.Element;
|
|
90
|
-
declare function SelectList({
|
|
91
|
-
className,
|
|
92
|
-
ref,
|
|
93
|
-
...props
|
|
94
|
-
}: SelectListProps): React.JSX.Element;
|
|
95
|
-
declare function SelectItem({
|
|
96
|
-
className,
|
|
97
|
-
value,
|
|
98
|
-
ref,
|
|
99
|
-
...props
|
|
100
|
-
}: SelectItemProps): React.JSX.Element;
|
|
101
|
-
declare function SelectItemText({
|
|
102
|
-
className,
|
|
103
|
-
ref,
|
|
104
|
-
...props
|
|
105
|
-
}: SelectItemTextProps): React.JSX.Element;
|
|
106
|
-
declare function SelectItemIndicator({
|
|
107
|
-
className,
|
|
108
|
-
children,
|
|
109
|
-
ref,
|
|
110
|
-
...props
|
|
111
|
-
}: SelectItemIndicatorProps): React.JSX.Element;
|
|
112
|
-
declare function SelectGroup({
|
|
113
|
-
className,
|
|
114
|
-
ref,
|
|
115
|
-
...props
|
|
116
|
-
}: SelectGroupProps): React.JSX.Element;
|
|
117
|
-
declare function SelectGroupLabel({
|
|
118
|
-
className,
|
|
119
|
-
ref,
|
|
120
|
-
...props
|
|
121
|
-
}: SelectGroupLabelProps): React.JSX.Element;
|
|
122
|
-
declare function SelectSeparator({
|
|
123
|
-
className,
|
|
124
|
-
ref,
|
|
125
|
-
...props
|
|
126
|
-
}: SelectSeparatorProps): React.JSX.Element;
|
|
127
|
-
declare function SelectScrollUpArrow({
|
|
128
|
-
className,
|
|
129
|
-
children,
|
|
130
|
-
ref,
|
|
131
|
-
...props
|
|
132
|
-
}: SelectScrollUpArrowProps): React.JSX.Element;
|
|
133
|
-
declare function SelectScrollDownArrow({
|
|
134
|
-
className,
|
|
135
|
-
children,
|
|
136
|
-
ref,
|
|
137
|
-
...props
|
|
138
|
-
}: SelectScrollDownArrowProps): React.JSX.Element;
|
|
53
|
+
declare function SelectLabel({ className, ref, ...props }: SelectLabelProps): React.JSX.Element;
|
|
54
|
+
declare function SelectTrigger({ size, className, ref, ...props }: SelectTriggerProps): React.JSX.Element;
|
|
55
|
+
declare function SelectValue({ ref, ...props }: SelectValueProps): React.JSX.Element;
|
|
56
|
+
declare function SelectIcon({ className, children, ref, ...props }: SelectIconProps): React.JSX.Element;
|
|
57
|
+
declare function SelectBackdrop({ className, ref, ...props }: SelectBackdropProps): React.JSX.Element;
|
|
58
|
+
declare function SelectPositioner({ className, ref, ...props }: SelectPositionerProps): React.JSX.Element;
|
|
59
|
+
declare function SelectPopup({ className, ref, ...props }: SelectPopupProps): React.JSX.Element;
|
|
60
|
+
declare function SelectList({ className, ref, ...props }: SelectListProps): React.JSX.Element;
|
|
61
|
+
declare function SelectItem({ className, value, ref, ...props }: SelectItemProps): React.JSX.Element;
|
|
62
|
+
declare function SelectItemText({ className, ref, ...props }: SelectItemTextProps): React.JSX.Element;
|
|
63
|
+
declare function SelectItemIndicator({ className, children, ref, ...props }: SelectItemIndicatorProps): React.JSX.Element;
|
|
64
|
+
declare function SelectGroup({ className, ref, ...props }: SelectGroupProps): React.JSX.Element;
|
|
65
|
+
declare function SelectGroupLabel({ className, ref, ...props }: SelectGroupLabelProps): React.JSX.Element;
|
|
66
|
+
declare function SelectSeparator({ className, ref, ...props }: SelectSeparatorProps): React.JSX.Element;
|
|
67
|
+
declare function SelectScrollUpArrow({ className, children, ref, ...props }: SelectScrollUpArrowProps): React.JSX.Element;
|
|
68
|
+
declare function SelectScrollDownArrow({ className, children, ref, ...props }: SelectScrollDownArrowProps): React.JSX.Element;
|
|
139
69
|
declare const Select$1: {
|
|
140
70
|
Root: typeof Select.Root;
|
|
141
71
|
Label: typeof SelectLabel;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Separator } from "@base-ui/react/separator";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Separator.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Props for the Separator component.
|
|
@@ -28,13 +27,7 @@ interface SeparatorProps extends React.ComponentPropsWithRef<typeof Separator> {
|
|
|
28
27
|
*
|
|
29
28
|
* @see {@link https://base-ui.com/react/components/separator | Base UI Separator}
|
|
30
29
|
*/
|
|
31
|
-
declare function Separator$1({
|
|
32
|
-
orientation,
|
|
33
|
-
decorative,
|
|
34
|
-
className,
|
|
35
|
-
ref,
|
|
36
|
-
...props
|
|
37
|
-
}: SeparatorProps & {
|
|
30
|
+
declare function Separator$1({ orientation, decorative, className, ref, ...props }: SeparatorProps & {
|
|
38
31
|
ref?: React.Ref<HTMLDivElement>;
|
|
39
32
|
}): React.JSX.Element;
|
|
40
33
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { B as PlusIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon } from "./icons-
|
|
3
|
-
import { IconButton } from "./components/foundations/IconButton.js";
|
|
2
|
+
import { B as PlusIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon } from "./icons-CeGfXO21.js";
|
|
4
3
|
import { Menu } from "./components/foundations/Menu.js";
|
|
4
|
+
import { IconButton } from "./components/foundations/IconButton.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/_internal/menu-disclosure-group.tsx
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Tabs } from "@base-ui/react/tabs";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Tabs.d.ts
|
|
5
4
|
interface TabsProps extends Tabs.Root.Props {
|
|
6
5
|
/**
|
|
@@ -42,46 +41,19 @@ interface TabsIndicatorProps extends Tabs.Indicator.Props {}
|
|
|
42
41
|
*
|
|
43
42
|
* @see {@link https://base-ui.com/react/components/tabs | Base UI Tabs}
|
|
44
43
|
*/
|
|
45
|
-
declare function TabsRoot({
|
|
46
|
-
orientation,
|
|
47
|
-
variant,
|
|
48
|
-
className,
|
|
49
|
-
unstyled,
|
|
50
|
-
ref,
|
|
51
|
-
...props
|
|
52
|
-
}: TabsProps & {
|
|
44
|
+
declare function TabsRoot({ orientation, variant, className, unstyled, ref, ...props }: TabsProps & {
|
|
53
45
|
ref?: React.Ref<HTMLDivElement>;
|
|
54
46
|
}): React.JSX.Element;
|
|
55
|
-
declare function TabsList({
|
|
56
|
-
className,
|
|
57
|
-
variant,
|
|
58
|
-
unstyled,
|
|
59
|
-
ref,
|
|
60
|
-
...props
|
|
61
|
-
}: TabsListProps & {
|
|
47
|
+
declare function TabsList({ className, variant, unstyled, ref, ...props }: TabsListProps & {
|
|
62
48
|
ref?: React.Ref<HTMLDivElement>;
|
|
63
49
|
}): React.JSX.Element;
|
|
64
|
-
declare function Tab({
|
|
65
|
-
className,
|
|
66
|
-
unstyled,
|
|
67
|
-
ref,
|
|
68
|
-
...props
|
|
69
|
-
}: TabProps & {
|
|
50
|
+
declare function Tab({ className, unstyled, ref, ...props }: TabProps & {
|
|
70
51
|
ref?: React.Ref<HTMLButtonElement>;
|
|
71
52
|
}): React.JSX.Element;
|
|
72
|
-
declare function TabsIndicator({
|
|
73
|
-
className,
|
|
74
|
-
ref,
|
|
75
|
-
...props
|
|
76
|
-
}: TabsIndicatorProps & {
|
|
53
|
+
declare function TabsIndicator({ className, ref, ...props }: TabsIndicatorProps & {
|
|
77
54
|
ref?: React.Ref<HTMLSpanElement>;
|
|
78
55
|
}): React.JSX.Element;
|
|
79
|
-
declare function TabPanel({
|
|
80
|
-
className,
|
|
81
|
-
unstyled,
|
|
82
|
-
ref,
|
|
83
|
-
...props
|
|
84
|
-
}: TabPanelProps & {
|
|
56
|
+
declare function TabPanel({ className, unstyled, ref, ...props }: TabPanelProps & {
|
|
85
57
|
ref?: React.Ref<HTMLDivElement>;
|
|
86
58
|
}): React.JSX.Element;
|
|
87
59
|
declare const Tabs$1: {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { i as AgentMessageRenderPartContext } from "./AgentMessageParts-
|
|
1
|
+
import { i as AgentMessageRenderPartContext } from "./AgentMessageParts-BtWwiE4f.js";
|
|
2
2
|
import { AgentChatMessageContentProps } from "./components/agents-sdk/AgentChat.js";
|
|
3
|
-
import { n as AgentToolRunValue } from "./AgentToolRunsContext-
|
|
4
|
-
import { l as ThinkChatPart } from "./ThinkChatToolParts-
|
|
5
|
-
import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-
|
|
3
|
+
import { n as AgentToolRunValue } from "./AgentToolRunsContext-DniwGn96.js";
|
|
4
|
+
import { l as ThinkChatPart } from "./ThinkChatToolParts-BucHi63O.js";
|
|
5
|
+
import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-DZVy3uQV.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { DynamicToolUIPart, ToolUIPart, UIMessage } from "ai";
|
|
8
|
-
|
|
9
8
|
//#region src/components/agents-sdk/ThinkChatActivity.d.ts
|
|
10
9
|
/**
|
|
11
10
|
* Bespoke rendering for one tool inside the activity log. Both hooks fall
|
|
@@ -51,14 +50,7 @@ interface ThinkChatActivityProps {
|
|
|
51
50
|
*/
|
|
52
51
|
stateKey: string;
|
|
53
52
|
}
|
|
54
|
-
declare function ThinkChatActivity({
|
|
55
|
-
parts,
|
|
56
|
-
defaultOpen,
|
|
57
|
-
isStreaming,
|
|
58
|
-
toolRenderers,
|
|
59
|
-
settledAction,
|
|
60
|
-
stateKey
|
|
61
|
-
}: ThinkChatActivityProps): React.JSX.Element | null;
|
|
53
|
+
declare function ThinkChatActivity({ parts, defaultOpen, isStreaming, toolRenderers, settledAction, stateKey }: ThinkChatActivityProps): React.JSX.Element | null;
|
|
62
54
|
/**
|
|
63
55
|
* Builds a renderPart handler that folds every run of consecutive activity
|
|
64
56
|
* parts (reasoning + tool calls) into one collapsed Activity box. Everything
|
|
@@ -66,11 +58,7 @@ declare function ThinkChatActivity({
|
|
|
66
58
|
* state. Excluded tools split the run and return undefined so your own
|
|
67
59
|
* renderPart (or AgentChat's generic activity row) takes over for them.
|
|
68
60
|
*/
|
|
69
|
-
declare function createThinkChatActivityRenderer<MessageT extends UIMessage = UIMessage>({
|
|
70
|
-
excludeTools,
|
|
71
|
-
renderAgentToolRunLink,
|
|
72
|
-
toolRenderers
|
|
73
|
-
}?: ThinkChatActivityRendererOptions<MessageT>): NonNullable<AgentChatMessageContentProps<MessageT>["renderPart"]>;
|
|
61
|
+
declare function createThinkChatActivityRenderer<MessageT extends UIMessage = UIMessage>({ excludeTools, renderAgentToolRunLink, toolRenderers }?: ThinkChatActivityRendererOptions<MessageT>): NonNullable<AgentChatMessageContentProps<MessageT>["renderPart"]>;
|
|
74
62
|
/** Default activity renderer — `createThinkChatActivityRenderer()` with no overrides. */
|
|
75
63
|
declare const renderThinkChatActivityPart: (context: AgentMessageRenderPartContext<UIMessage<unknown, import("ai").UIDataTypes, import("ai").UITools>>) => React.ReactNode | undefined;
|
|
76
64
|
//#endregion
|
package/dist/{ThinkChatActivitySummary-BtBQgMg6.d.ts → ThinkChatActivitySummary-DZVy3uQV.d.ts}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { i as AgentActivityIconKind, s as AgentActivitySummary } from "./AgentActivity-
|
|
2
|
-
import { l as ThinkChatPart } from "./ThinkChatToolParts-
|
|
1
|
+
import { i as AgentActivityIconKind, s as AgentActivitySummary } from "./AgentActivity-DSObWhDU.js";
|
|
2
|
+
import { l as ThinkChatPart } from "./ThinkChatToolParts-BucHi63O.js";
|
|
3
3
|
import { DynamicToolUIPart, ToolUIPart } from "ai";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/ThinkChatActivitySummary.d.ts
|
|
6
5
|
interface ThinkChatToolDescriber {
|
|
7
6
|
describe?: (part: ToolUIPart | DynamicToolUIPart) => ThinkChatActivityDescription | null | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { UIMessage } from "ai";
|
|
3
3
|
import { useAgentChat } from "@cloudflare/think/react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/ThinkChatContext.d.ts
|
|
6
5
|
/** The complete upstream Think chat hook value, preserving app state and message extensions. */
|
|
7
6
|
type ThinkChatValue<State = unknown, MessageT extends UIMessage = UIMessage> = ReturnType<typeof useAgentChat<State, MessageT>>;
|
|
@@ -3,7 +3,6 @@ import { ProxyToolInput, ProxyToolOutput } from "@cloudflare/codemode";
|
|
|
3
3
|
import { QuickActionExtractInput, QuickActionPage, QuickActionScrapeInput, QuickActionToolName } from "@cloudflare/think/tools/browser";
|
|
4
4
|
import { FetchResponseMode, FetchResult } from "@cloudflare/think/tools/fetch";
|
|
5
5
|
import { WorkspaceTools } from "@cloudflare/think/tools/workspace";
|
|
6
|
-
|
|
7
6
|
//#region src/components/agents-sdk/ThinkChatToolParts.d.ts
|
|
8
7
|
type ThinkChatPart = UIMessage["parts"][number];
|
|
9
8
|
type WorkspaceUITools = InferUITools<Required<WorkspaceTools>>;
|
|
@@ -137,7 +136,7 @@ type BrowserUITools = {
|
|
|
137
136
|
} & { [K in QuickActionToolName as `browser_${K}`]: {
|
|
138
137
|
input: QuickActionInputs[K];
|
|
139
138
|
output: unknown;
|
|
140
|
-
} };
|
|
139
|
+
}; };
|
|
141
140
|
type BrowserToolPart = ToolUIPart<BrowserUITools>;
|
|
142
141
|
declare function isBrowserToolPart(part: ThinkChatPart): part is BrowserToolPart;
|
|
143
142
|
type ExecuteToolPart = ToolUIPart<{
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ThinkSubmissionInspection } from "@cloudflare/think";
|
|
2
2
|
import { WorkflowInfo } from "agents/workflows";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkExecutionRun.d.ts
|
|
5
4
|
/** Whole upstream execution records displayed by Think routine and execution surfaces. */
|
|
6
5
|
type ThinkExecutionRun = ThinkSubmissionInspection | WorkflowInfo;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as ThinkExecutionRun } from "./ThinkExecutionRun-
|
|
1
|
+
import { t as ThinkExecutionRun } from "./ThinkExecutionRun-CPeYVneQ.js";
|
|
2
2
|
import { ThinkScheduledTask } from "@cloudflare/think";
|
|
3
3
|
import { Schedule } from "agents";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/ThinkRoutine.d.ts
|
|
6
5
|
/** App-owned identity for the Think agent that owns a routine. */
|
|
7
6
|
interface ThinkRoutineOwner {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/agents-sdk/ThinkThreadPicker.d.ts
|
|
4
3
|
interface ThinkThreadItem {
|
|
5
4
|
/** Stable child-agent/thread id used by the app-authored link's route params. */
|
|
@@ -62,10 +61,7 @@ interface ThinkThreadPickerProps<Thread extends ThinkThreadItem = ThinkThreadIte
|
|
|
62
61
|
"aria-label"?: string;
|
|
63
62
|
}
|
|
64
63
|
declare function summarizeThinkThreads(threads: readonly Pick<ThinkThreadItem, "status">[]): ThinkThreadStatusSummary;
|
|
65
|
-
declare function ThinkThreadStatusIndicators({
|
|
66
|
-
summary,
|
|
67
|
-
className
|
|
68
|
-
}: ThinkThreadStatusIndicatorsProps): React.JSX.Element | null;
|
|
64
|
+
declare function ThinkThreadStatusIndicators({ summary, className }: ThinkThreadStatusIndicatorsProps): React.JSX.Element | null;
|
|
69
65
|
/**
|
|
70
66
|
* Thread roster UI for sub-agent chat apps.
|
|
71
67
|
*
|
|
@@ -75,20 +71,9 @@ declare function ThinkThreadStatusIndicators({
|
|
|
75
71
|
* notes beside the parent Think agent because
|
|
76
72
|
* `listThreads()`/`createThread()`/`deleteThread()` are app-owned.
|
|
77
73
|
*/
|
|
78
|
-
declare function ThinkThreadPicker<Thread extends ThinkThreadItem>({
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
createThreadLink,
|
|
82
|
-
onSelect,
|
|
83
|
-
onDelete,
|
|
84
|
-
className,
|
|
85
|
-
title,
|
|
86
|
-
headerActions,
|
|
87
|
-
"aria-label": ariaLabel,
|
|
88
|
-
ref,
|
|
89
|
-
...props
|
|
90
|
-
}: ThinkThreadPickerProps<Thread> & {
|
|
91
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLElement>;
|
|
74
|
+
declare function ThinkThreadPicker<Thread extends ThinkThreadItem>({ threads, renderThreadLink, createThreadLink, onSelect, onDelete, className, title, headerActions, "aria-label": ariaLabel, ref, ...props }: ThinkThreadPickerProps<Thread> & {
|
|
75
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
76
|
+
ref?: React.Ref<HTMLElement>;
|
|
92
77
|
}): React.JSX.Element;
|
|
93
78
|
//#endregion
|
|
94
79
|
export { ThinkThreadStatusIndicatorsProps as a, ThinkThreadStatusIndicators as i, ThinkThreadPicker as n, ThinkThreadStatusSummary as o, ThinkThreadPickerProps as r, summarizeThinkThreads as s, ThinkThreadItem as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Toolbar } from "@base-ui/react/toolbar";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Toolbar.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Props for the Toolbar.Root component.
|
|
@@ -50,63 +49,38 @@ interface ToolbarInputProps extends React.ComponentPropsWithoutRef<typeof Toolba
|
|
|
50
49
|
*
|
|
51
50
|
* @see {@link https://base-ui.com/react/components/toolbar | Base UI Toolbar}
|
|
52
51
|
*/
|
|
53
|
-
declare function ToolbarRoot({
|
|
54
|
-
|
|
55
|
-
ref
|
|
56
|
-
...props
|
|
57
|
-
}: ToolbarRootProps & {
|
|
58
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
52
|
+
declare function ToolbarRoot({ className, ref, ...props }: ToolbarRootProps & {
|
|
53
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
54
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
59
55
|
}): React.JSX.Element;
|
|
60
56
|
/**
|
|
61
57
|
* A clickable button within the toolbar.
|
|
62
58
|
*/
|
|
63
|
-
declare function ToolbarButton({
|
|
64
|
-
unstyled,
|
|
65
|
-
className,
|
|
66
|
-
ref,
|
|
67
|
-
...props
|
|
68
|
-
}: ToolbarButtonProps & {
|
|
59
|
+
declare function ToolbarButton({ unstyled, className, ref, ...props }: ToolbarButtonProps & {
|
|
69
60
|
ref?: React.Ref<HTMLButtonElement>;
|
|
70
61
|
}): React.JSX.Element;
|
|
71
62
|
/**
|
|
72
63
|
* A link element within the toolbar.
|
|
73
64
|
*/
|
|
74
|
-
declare function ToolbarLink({
|
|
75
|
-
unstyled,
|
|
76
|
-
className,
|
|
77
|
-
ref,
|
|
78
|
-
...props
|
|
79
|
-
}: ToolbarLinkProps & {
|
|
65
|
+
declare function ToolbarLink({ unstyled, className, ref, ...props }: ToolbarLinkProps & {
|
|
80
66
|
ref?: React.Ref<HTMLAnchorElement>;
|
|
81
67
|
}): React.JSX.Element;
|
|
82
68
|
/**
|
|
83
69
|
* Groups toolbar items together.
|
|
84
70
|
*/
|
|
85
|
-
declare function ToolbarGroup({
|
|
86
|
-
className,
|
|
87
|
-
ref,
|
|
88
|
-
...props
|
|
89
|
-
}: ToolbarGroupProps & {
|
|
71
|
+
declare function ToolbarGroup({ className, ref, ...props }: ToolbarGroupProps & {
|
|
90
72
|
ref?: React.Ref<HTMLDivElement>;
|
|
91
73
|
}): React.JSX.Element;
|
|
92
74
|
/**
|
|
93
75
|
* Visual separator between toolbar sections.
|
|
94
76
|
*/
|
|
95
|
-
declare function ToolbarSeparator({
|
|
96
|
-
className,
|
|
97
|
-
ref,
|
|
98
|
-
...props
|
|
99
|
-
}: ToolbarSeparatorProps & {
|
|
77
|
+
declare function ToolbarSeparator({ className, ref, ...props }: ToolbarSeparatorProps & {
|
|
100
78
|
ref?: React.Ref<HTMLDivElement>;
|
|
101
79
|
}): React.JSX.Element;
|
|
102
80
|
/**
|
|
103
81
|
* Input element within the toolbar.
|
|
104
82
|
*/
|
|
105
|
-
declare function ToolbarInput({
|
|
106
|
-
className,
|
|
107
|
-
ref,
|
|
108
|
-
...props
|
|
109
|
-
}: ToolbarInputProps & {
|
|
83
|
+
declare function ToolbarInput({ className, ref, ...props }: ToolbarInputProps & {
|
|
110
84
|
ref?: React.Ref<HTMLInputElement>;
|
|
111
85
|
}): React.JSX.Element;
|
|
112
86
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as WorkspaceMediaInfo, i as WorkspaceFileState, r as WorkspaceFileAssetResolver, t as WorkspaceFileAsset } from "./WorkspaceFile-
|
|
1
|
+
import { a as WorkspaceMediaInfo, i as WorkspaceFileState, r as WorkspaceFileAssetResolver, t as WorkspaceFileAsset } from "./WorkspaceFile-DiwiJEwO.js";
|
|
2
2
|
import { DataTag, QueryClient, QueryKey, UnusedSkipTokenOptions } from "@tanstack/react-query";
|
|
3
3
|
import { FileInfo, Workspace, WorkspaceFsLike } from "@cloudflare/shell";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/Workspace.d.ts
|
|
6
5
|
/** Workspace summary, as returned by `Workspace.getWorkspaceInfo()` upstream. */
|
|
7
6
|
type WorkspaceInfo = Awaited<ReturnType<Workspace["getWorkspaceInfo"]>>;
|
|
@@ -122,14 +121,7 @@ declare function workspaceFileAssetQueryOptions(sourceKey: string, root: string,
|
|
|
122
121
|
declare function workspaceTextFileQueryOptions(source: WorkspaceSource, sourceKey: string, root: string, target: WorkspaceFileReadTarget): WorkspaceTextFileQueryOptions;
|
|
123
122
|
/** Active-file-only buffered asset options, scoped to the validated stat result. */
|
|
124
123
|
declare function workspaceBinaryFileQueryOptions(source: WorkspaceSource, sourceKey: string, root: string, target: WorkspaceFileReadTarget, maxInlineAssetBytes: number): WorkspaceBinaryFileQueryOptions;
|
|
125
|
-
declare function refreshWorkspaceFileQueries(queryClient: QueryClient, {
|
|
126
|
-
source,
|
|
127
|
-
sourceKey,
|
|
128
|
-
root,
|
|
129
|
-
selectedPath,
|
|
130
|
-
resolveFileAsset,
|
|
131
|
-
maxInlineAssetBytes
|
|
132
|
-
}: Pick<UseWorkspaceOptions, "source" | "sourceKey" | "selectedPath" | "resolveFileAsset" | "maxInlineAssetBytes"> & {
|
|
124
|
+
declare function refreshWorkspaceFileQueries(queryClient: QueryClient, { source, sourceKey, root, selectedPath, resolveFileAsset, maxInlineAssetBytes }: Pick<UseWorkspaceOptions, "source" | "sourceKey" | "selectedPath" | "resolveFileAsset" | "maxInlineAssetBytes"> & {
|
|
133
125
|
root: string;
|
|
134
126
|
}): Promise<void>;
|
|
135
127
|
/**
|
|
@@ -137,14 +129,6 @@ declare function refreshWorkspaceFileQueries(queryClient: QueryClient, {
|
|
|
137
129
|
* directory, metadata, resolver, text, and byte lifecycles; the route owns
|
|
138
130
|
* selection, while this hook only keeps local tree expansion state.
|
|
139
131
|
*/
|
|
140
|
-
declare function useWorkspace({
|
|
141
|
-
source,
|
|
142
|
-
sourceKey,
|
|
143
|
-
root,
|
|
144
|
-
selectedPath,
|
|
145
|
-
onSelectedPathChange,
|
|
146
|
-
resolveFileAsset,
|
|
147
|
-
maxInlineAssetBytes
|
|
148
|
-
}: UseWorkspaceOptions): WorkspaceState;
|
|
132
|
+
declare function useWorkspace({ source, sourceKey, root, selectedPath, onSelectedPathChange, resolveFileAsset, maxInlineAssetBytes }: UseWorkspaceOptions): WorkspaceState;
|
|
149
133
|
//#endregion
|
|
150
134
|
export { workspaceFileQueryKey as A, refreshWorkspaceFileQueries as C, workspaceDirectoryQueryOptions as D, workspaceDirectoryQueryKey as E, workspaceTextFileQueryOptions as F, workspaceInfoQueryKey as M, workspaceInfoQueryOptions as N, workspaceDirectoryQueryPrefix as O, workspaceQueryKey as P, WorkspaceTextFileQueryOptions as S, workspaceBinaryFileQueryOptions as T, WorkspaceQueryOptions as _, WorkspaceDirectoryQueryOptions as a, WorkspaceState as b, WorkspaceFileQueryKey as c, WorkspaceFileStatQueryOptions as d, WorkspaceFileVersion as f, WorkspaceQueryKey as g, WorkspaceInfoQueryOptions as h, WorkspaceDirectoryQueryKey as i, workspaceFileStatQueryOptions as j, workspaceFileAssetQueryOptions as k, WorkspaceFileReadTarget as l, WorkspaceInfoQueryKey as m, WorkspaceBinaryFileQueryKey as n, WorkspaceFileAssetQueryKey as o, WorkspaceInfo as p, WorkspaceBinaryFileQueryOptions as r, WorkspaceFileAssetQueryOptions as s, UseWorkspaceOptions as t, WorkspaceFileStatQueryKey as u, WorkspaceResolvedAsset as v, useWorkspace as w, WorkspaceTextFileQueryKey as x, WorkspaceSource as y };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { O as CodeBlockLanguage } from "./CodeBlock-
|
|
1
|
+
import { O as CodeBlockLanguage } from "./CodeBlock-CPotpyyM.js";
|
|
2
2
|
import { SkillParseResult } from "agent-skills-ts-sdk";
|
|
3
3
|
import { FileInfo } from "@cloudflare/shell";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/WorkspaceFile.d.ts
|
|
6
5
|
type WorkspaceMediaKind = "image" | "pdf" | "audio" | "video";
|
|
7
6
|
interface WorkspaceMediaInfo {
|
|
@@ -47,7 +46,8 @@ type WorkspaceFileAsset = (WorkspaceFileAssetMetadata & {
|
|
|
47
46
|
*/
|
|
48
47
|
downloadUrl?: string;
|
|
49
48
|
}) | (WorkspaceFileAssetMetadata & {
|
|
50
|
-
kind: "data";
|
|
49
|
+
kind: "data";
|
|
50
|
+
/** Buffered data whose component-created object URL is revoked on replacement/unmount. */
|
|
51
51
|
data: Blob | ArrayBuffer | Uint8Array;
|
|
52
52
|
});
|
|
53
53
|
interface WorkspaceFileAssetRequest {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as EyeIcon, d as CheckIcon, et as WarningIcon, k as MaximizeIcon, m as CodeIcon, r as ArrowLeftIcon, v as DownloadIcon } from "./icons-
|
|
2
|
-
import { i as formatClock } from "./format-
|
|
1
|
+
import { b as EyeIcon, d as CheckIcon, et as WarningIcon, k as MaximizeIcon, m as CodeIcon, r as ArrowLeftIcon, v as DownloadIcon } from "./icons-CeGfXO21.js";
|
|
2
|
+
import { i as formatClock } from "./format-CWaZEp5o.js";
|
|
3
|
+
import { a as CodeBlockCopyButton, i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "./CodeBlock-Dw1z6jc8.js";
|
|
3
4
|
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
4
|
-
import { a as CodeBlockCopyButton, i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "./CodeBlock-Bl-q7wMc.js";
|
|
5
5
|
import { inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceSkillPath, parseWorkspaceSkill } from "./components/agents-sdk/WorkspaceFile.js";
|
|
6
|
-
import { i as useWorkspaceNavigationContext } from "./WorkspaceLink-
|
|
6
|
+
import { i as useWorkspaceNavigationContext } from "./WorkspaceLink-BeFAXpbI.js";
|
|
7
7
|
import { useWorkspaceNavigationRestoration } from "./components/agents-sdk/WorkspaceNavigationRestoration.js";
|
|
8
|
-
import { n as WorkspaceMessageResponse, r as createWorkspaceRehypePlugins } from "./WorkspaceMessageResponse-
|
|
8
|
+
import { n as WorkspaceMessageResponse, r as createWorkspaceRehypePlugins } from "./WorkspaceMessageResponse-DnsdpaGU.js";
|
|
9
9
|
import { WorkspaceHeader } from "./components/agents-sdk/WorkspaceHeader.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -611,12 +611,13 @@ function WorkspaceFileView({ appearance = "contained", file, path, isLoading, is
|
|
|
611
611
|
if (file.content === null) return null;
|
|
612
612
|
if (isMarkdown && markdownView === "preview") {
|
|
613
613
|
const skill = isWorkspaceSkillPath(file.path) ? parseWorkspaceSkill(file.content) : null;
|
|
614
|
+
const markdown = skill?.parsed?.body ?? file.content;
|
|
614
615
|
const response = /* @__PURE__ */ jsx(WorkspaceMessageResponse, {
|
|
615
616
|
className: "workspace-explorer__markdown-content",
|
|
616
617
|
components: markdownComponents,
|
|
617
618
|
mode: "static",
|
|
618
619
|
rehypePlugins: workspaceRehypePlugins,
|
|
619
|
-
children:
|
|
620
|
+
children: markdown
|
|
620
621
|
}, path);
|
|
621
622
|
return /* @__PURE__ */ jsxs("div", {
|
|
622
623
|
ref: fileViewRef,
|
|
@@ -116,20 +116,21 @@ function resolveWorkspaceLink({ href, root, base }) {
|
|
|
116
116
|
}
|
|
117
117
|
function WorkspaceNavigationProvider({ children, root, base, navigation }) {
|
|
118
118
|
const { kind: baseKind, path: basePath } = base;
|
|
119
|
+
const value = React.useMemo(() => ({
|
|
120
|
+
root,
|
|
121
|
+
base: {
|
|
122
|
+
kind: baseKind,
|
|
123
|
+
path: basePath
|
|
124
|
+
},
|
|
125
|
+
navigation
|
|
126
|
+
}), [
|
|
127
|
+
baseKind,
|
|
128
|
+
basePath,
|
|
129
|
+
navigation,
|
|
130
|
+
root
|
|
131
|
+
]);
|
|
119
132
|
return /* @__PURE__ */ jsx(WorkspaceNavigationContext, {
|
|
120
|
-
value
|
|
121
|
-
root,
|
|
122
|
-
base: {
|
|
123
|
-
kind: baseKind,
|
|
124
|
-
path: basePath
|
|
125
|
-
},
|
|
126
|
-
navigation
|
|
127
|
-
}), [
|
|
128
|
-
baseKind,
|
|
129
|
-
basePath,
|
|
130
|
-
navigation,
|
|
131
|
-
root
|
|
132
|
-
]),
|
|
133
|
+
value,
|
|
133
134
|
children
|
|
134
135
|
});
|
|
135
136
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/agents-sdk/WorkspaceLink.d.ts
|
|
4
3
|
type WorkspaceDestination = {
|
|
5
4
|
kind: "files";
|
|
@@ -53,17 +52,8 @@ interface WorkspaceNavigationProviderProps {
|
|
|
53
52
|
navigation: WorkspaceNavigationAdapter;
|
|
54
53
|
}
|
|
55
54
|
/** Resolve a Markdown link to a validated workspace file, external URL, or unavailable target. */
|
|
56
|
-
declare function resolveWorkspaceLink({
|
|
57
|
-
|
|
58
|
-
root,
|
|
59
|
-
base
|
|
60
|
-
}: ResolveWorkspaceLinkOptions): WorkspaceLinkResolution;
|
|
61
|
-
declare function WorkspaceNavigationProvider({
|
|
62
|
-
children,
|
|
63
|
-
root,
|
|
64
|
-
base,
|
|
65
|
-
navigation
|
|
66
|
-
}: WorkspaceNavigationProviderProps): React.JSX.Element;
|
|
55
|
+
declare function resolveWorkspaceLink({ href, root, base }: ResolveWorkspaceLinkOptions): WorkspaceLinkResolution;
|
|
56
|
+
declare function WorkspaceNavigationProvider({ children, root, base, navigation }: WorkspaceNavigationProviderProps): React.JSX.Element;
|
|
67
57
|
interface WorkspaceFileLinkProps extends React.ComponentProps<"a"> {
|
|
68
58
|
node?: unknown;
|
|
69
59
|
}
|
|
@@ -71,16 +61,6 @@ interface WorkspaceFileLinkProps extends React.ComponentProps<"a"> {
|
|
|
71
61
|
* Markdown-compatible anchor that resolves local files through the nearest
|
|
72
62
|
* workspace navigation provider while preserving native link behavior.
|
|
73
63
|
*/
|
|
74
|
-
declare function WorkspaceFileLink({
|
|
75
|
-
children,
|
|
76
|
-
className,
|
|
77
|
-
download,
|
|
78
|
-
href,
|
|
79
|
-
node,
|
|
80
|
-
onClick,
|
|
81
|
-
rel,
|
|
82
|
-
target,
|
|
83
|
-
...props
|
|
84
|
-
}: WorkspaceFileLinkProps): React.JSX.Element;
|
|
64
|
+
declare function WorkspaceFileLink({ children, className, download, href, node, onClick, rel, target, ...props }: WorkspaceFileLinkProps): React.JSX.Element;
|
|
85
65
|
//#endregion
|
|
86
66
|
export { WorkspaceFileLinkProps as a, WorkspaceLinkResolution as c, WorkspaceNavigationProvider as d, WorkspaceNavigationProviderProps as f, WorkspaceFileLink as i, WorkspaceNavigationAdapter as l, WorkspaceDestination as n, WorkspaceInvalidDestination as o, resolveWorkspaceLink as p, WorkspaceExternalDestination as r, WorkspaceLinkBase as s, ResolveWorkspaceLinkOptions as t, WorkspaceNavigationEntry as u };
|
package/dist/{WorkspaceMessageResponse-BApg8KZv.d.ts → WorkspaceMessageResponse-D8FGgIQU.d.ts}
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { O as MessageResponseProps } from "./Message-
|
|
1
|
+
import { O as MessageResponseProps } from "./Message-CwCqa90H.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/WorkspaceMessageResponse.d.ts
|
|
5
4
|
interface WorkspaceFileRenderInput {
|
|
6
5
|
label: string;
|
|
@@ -23,10 +22,7 @@ type WorkspaceFileRenderer = (file: WorkspaceFileRenderInput) => React.ReactNode
|
|
|
23
22
|
* composing `WorkspaceMessageResponse` directly provide it once at their
|
|
24
23
|
* conversation root.
|
|
25
24
|
*/
|
|
26
|
-
declare function WorkspaceFileRendererProvider({
|
|
27
|
-
children,
|
|
28
|
-
renderWorkspaceFile
|
|
29
|
-
}: {
|
|
25
|
+
declare function WorkspaceFileRendererProvider({ children, renderWorkspaceFile }: {
|
|
30
26
|
children: React.ReactNode;
|
|
31
27
|
renderWorkspaceFile: WorkspaceFileRenderer | undefined;
|
|
32
28
|
}): React.JSX.Element;
|
|
@@ -38,11 +34,6 @@ interface WorkspaceMessageResponseProps extends MessageResponseProps {
|
|
|
38
34
|
promoteWorkspaceFiles?: boolean;
|
|
39
35
|
}
|
|
40
36
|
/** Adds workspace-aware Markdown links when rendered inside a workspace provider. */
|
|
41
|
-
declare const WorkspaceMessageResponse: React.MemoExoticComponent<({
|
|
42
|
-
components,
|
|
43
|
-
rehypePlugins,
|
|
44
|
-
promoteWorkspaceFiles,
|
|
45
|
-
...props
|
|
46
|
-
}: WorkspaceMessageResponseProps) => React.JSX.Element>;
|
|
37
|
+
declare const WorkspaceMessageResponse: React.MemoExoticComponent<({ components, rehypePlugins, promoteWorkspaceFiles, ...props }: WorkspaceMessageResponseProps) => React.JSX.Element>;
|
|
47
38
|
//#endregion
|
|
48
39
|
export { WorkspaceMessageResponseProps as a, WorkspaceMessageResponse as i, WorkspaceFileRenderer as n, WorkspaceFileRendererProvider as r, WorkspaceFileRenderInput as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MessageResponse } from "./components/ai-sdk/Message.js";
|
|
2
|
-
import { i as useWorkspaceNavigationContext, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "./WorkspaceLink-
|
|
2
|
+
import { i as useWorkspaceNavigationContext, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "./WorkspaceLink-BeFAXpbI.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { defaultRehypePlugins } from "streamdown";
|