@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,9 +1,8 @@
|
|
|
1
1
|
import { ResizableSidePanelHandleProps } from "../general-purpose/ResizableSidePanel.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/ThinkFullApp.d.ts
|
|
6
|
-
interface ThinkFullAppRootProps extends React.ComponentPropsWithRef<"div"> {
|
|
5
|
+
export interface ThinkFullAppRootProps extends React.ComponentPropsWithRef<"div"> {
|
|
7
6
|
/** Whether the host-selected workbench is visible. Route identity remains with the host. */
|
|
8
7
|
workbenchOpen: boolean;
|
|
9
8
|
}
|
|
@@ -14,39 +13,20 @@ interface ThinkFullAppRootProps extends React.ComponentPropsWithRef<"div"> {
|
|
|
14
13
|
* Compact layout follows the width available to this content, including any
|
|
15
14
|
* space occupied by a surrounding sidebar.
|
|
16
15
|
*/
|
|
17
|
-
declare function ThinkFullAppRoot({
|
|
18
|
-
|
|
19
|
-
children,
|
|
20
|
-
className,
|
|
21
|
-
...props
|
|
22
|
-
}: ThinkFullAppRootProps): React.JSX.Element;
|
|
23
|
-
interface ThinkFullAppConversationProps extends useRender.ComponentProps<"section"> {}
|
|
16
|
+
declare function ThinkFullAppRoot({ workbenchOpen, children, className, ...props }: ThinkFullAppRootProps): React.JSX.Element;
|
|
17
|
+
export interface ThinkFullAppConversationProps extends useRender.ComponentProps<"section"> {}
|
|
24
18
|
/** Persistent conversation lane. Its contents and SDK providers belong to the caller. */
|
|
25
|
-
declare function ThinkFullAppConversation({
|
|
26
|
-
|
|
27
|
-
className,
|
|
28
|
-
ref,
|
|
29
|
-
...props
|
|
30
|
-
}: ThinkFullAppConversationProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
31
|
-
interface ThinkFullAppWorkbenchProps extends useRender.ComponentProps<"aside"> {}
|
|
19
|
+
declare function ThinkFullAppConversation({ render, className, ref, ...props }: ThinkFullAppConversationProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
20
|
+
export interface ThinkFullAppWorkbenchProps extends useRender.ComponentProps<"aside"> {}
|
|
32
21
|
/** The single raised output plane. Unmounts its content when the host closes it. */
|
|
33
|
-
declare function ThinkFullAppWorkbench({
|
|
34
|
-
|
|
35
|
-
className,
|
|
36
|
-
ref,
|
|
37
|
-
...props
|
|
38
|
-
}: ThinkFullAppWorkbenchProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
|
|
39
|
-
interface ThinkFullAppResizeHandleProps extends ResizableSidePanelHandleProps {}
|
|
22
|
+
declare function ThinkFullAppWorkbench({ render, className, ref, ...props }: ThinkFullAppWorkbenchProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
|
|
23
|
+
export interface ThinkFullAppResizeHandleProps extends ResizableSidePanelHandleProps {}
|
|
40
24
|
/** Keyboard and pointer resize control; absent while the workbench is closed. */
|
|
41
|
-
declare function ThinkFullAppResizeHandle({
|
|
42
|
-
|
|
43
|
-
...props
|
|
44
|
-
}: ThinkFullAppResizeHandleProps): React.JSX.Element | null;
|
|
45
|
-
declare const ThinkFullApp: {
|
|
25
|
+
declare function ThinkFullAppResizeHandle({ className, ...props }: ThinkFullAppResizeHandleProps): React.JSX.Element | null;
|
|
26
|
+
export declare const ThinkFullApp: {
|
|
46
27
|
Root: typeof ThinkFullAppRoot;
|
|
47
28
|
Conversation: typeof ThinkFullAppConversation;
|
|
48
29
|
Workbench: typeof ThinkFullAppWorkbench;
|
|
49
30
|
ResizeHandle: typeof ThinkFullAppResizeHandle;
|
|
50
31
|
};
|
|
51
|
-
//#endregion
|
|
52
|
-
export { ThinkFullApp, ThinkFullAppConversationProps, ThinkFullAppResizeHandleProps, ThinkFullAppRootProps, ThinkFullAppWorkbenchProps };
|
|
32
|
+
//#endregion
|
|
@@ -3,13 +3,12 @@ import { DynamicToolUIPart, ToolUIPart } from "ai";
|
|
|
3
3
|
import { PendingApproval, Think } from "@cloudflare/think";
|
|
4
4
|
import { AgentStub } from "agents/client";
|
|
5
5
|
import { ProxyToolOutput } from "@cloudflare/codemode";
|
|
6
|
-
|
|
7
6
|
//#region src/components/agents-sdk/ThinkPendingApproval.d.ts
|
|
8
7
|
type PausedExecution = Extract<ProxyToolOutput, {
|
|
9
8
|
status: "paused";
|
|
10
9
|
}>;
|
|
11
10
|
/** Structural match for any upstream tool binding of the Codemode execute runtime. */
|
|
12
|
-
declare function getPausedExecution(part: ToolUIPart | DynamicToolUIPart): PausedExecution | undefined;
|
|
11
|
+
export declare function getPausedExecution(part: ToolUIPart | DynamicToolUIPart): PausedExecution | undefined;
|
|
13
12
|
interface SharedThinkApprovalProps {
|
|
14
13
|
thinkStub: AgentStub<Think>;
|
|
15
14
|
onSettled?: () => void | Promise<void>;
|
|
@@ -17,7 +16,7 @@ interface SharedThinkApprovalProps {
|
|
|
17
16
|
count?: number;
|
|
18
17
|
question?: React.ReactNode;
|
|
19
18
|
}
|
|
20
|
-
interface ThinkPendingApprovalProps extends React.HTMLAttributes<HTMLDivElement>, SharedThinkApprovalProps {
|
|
19
|
+
export interface ThinkPendingApprovalProps extends React.HTMLAttributes<HTMLDivElement>, SharedThinkApprovalProps {
|
|
21
20
|
/** Whole entry returned by Think `pendingApprovals()`. */
|
|
22
21
|
approval: PendingApproval;
|
|
23
22
|
}
|
|
@@ -25,36 +24,15 @@ interface ThinkPendingApprovalProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
25
24
|
* Durable Think approval adapter. It renders the complete upstream descriptor
|
|
26
25
|
* and resolves only through the full Think stub's idempotent execution RPCs.
|
|
27
26
|
*/
|
|
28
|
-
declare function ThinkPendingApproval({
|
|
29
|
-
approval,
|
|
30
|
-
className,
|
|
31
|
-
count,
|
|
32
|
-
onSettled,
|
|
33
|
-
onSkip,
|
|
34
|
-
question,
|
|
35
|
-
ref,
|
|
36
|
-
thinkStub,
|
|
37
|
-
...props
|
|
38
|
-
}: ThinkPendingApprovalProps & {
|
|
27
|
+
export declare function ThinkPendingApproval({ approval, className, count, onSettled, onSkip, question, ref, thinkStub, ...props }: ThinkPendingApprovalProps & {
|
|
39
28
|
ref?: React.Ref<HTMLDivElement>;
|
|
40
29
|
}): React.JSX.Element;
|
|
41
|
-
interface ThinkExecutionApprovalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "part">, SharedThinkApprovalProps {
|
|
30
|
+
export interface ThinkExecutionApprovalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "part">, SharedThinkApprovalProps {
|
|
42
31
|
/** Whole AI SDK tool part whose upstream Codemode output may be paused. */
|
|
43
32
|
part: ToolUIPart | DynamicToolUIPart;
|
|
44
33
|
}
|
|
45
34
|
/** Actionable adapter for Think's in-band paused Codemode execution output. */
|
|
46
|
-
declare function ThinkExecutionApproval({
|
|
47
|
-
className,
|
|
48
|
-
count,
|
|
49
|
-
onSettled,
|
|
50
|
-
onSkip,
|
|
51
|
-
part,
|
|
52
|
-
question,
|
|
53
|
-
ref,
|
|
54
|
-
thinkStub,
|
|
55
|
-
...props
|
|
56
|
-
}: ThinkExecutionApprovalProps & {
|
|
35
|
+
export declare function ThinkExecutionApproval({ className, count, onSettled, onSkip, part, question, ref, thinkStub, ...props }: ThinkExecutionApprovalProps & {
|
|
57
36
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
37
|
}): React.JSX.Element | null;
|
|
59
|
-
//#endregion
|
|
60
|
-
export { ThinkExecutionApproval, ThinkExecutionApprovalProps, ThinkPendingApproval, ThinkPendingApprovalProps, getPausedExecution };
|
|
38
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as titleCase, o as formatUnknownValue } from "../../format-
|
|
1
|
+
import { c as titleCase, o as formatUnknownValue } from "../../format-CWaZEp5o.js";
|
|
2
2
|
import { Approval, ApprovalCount, ApprovalDecision, ApprovalHeader, ApprovalInputPreview, ApprovalPreview, ApprovalPreviewRow, ApprovalQuestion } from "../ai-sdk/Approval.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { i as ThinkChatValue } from "../../ThinkChatContext-
|
|
1
|
+
import { i as ThinkChatValue } from "../../ThinkChatContext-DQ6M2VlJ.js";
|
|
2
2
|
import { UIMessage } from "ai";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkRecoveryNotice.d.ts
|
|
5
|
-
interface ThinkRecoveryNoticeProps<State = unknown, MessageT extends UIMessage = UIMessage> {
|
|
4
|
+
export interface ThinkRecoveryNoticeProps<State = unknown, MessageT extends UIMessage = UIMessage> {
|
|
6
5
|
/** The complete `useAgentChat` value from `@cloudflare/think/react`. */
|
|
7
6
|
chat: ThinkChatValue<State, MessageT>;
|
|
8
7
|
}
|
|
@@ -12,8 +11,5 @@ interface ThinkRecoveryNoticeProps<State = unknown, MessageT extends UIMessage =
|
|
|
12
11
|
* checkpoint, attempt count, or timeline to the browser, so this adapter does
|
|
13
12
|
* not claim those details.
|
|
14
13
|
*/
|
|
15
|
-
declare function ThinkRecoveryNotice<State = unknown, MessageT extends UIMessage = UIMessage>({
|
|
16
|
-
|
|
17
|
-
}: ThinkRecoveryNoticeProps<State, MessageT>): import("react").JSX.Element | null;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ThinkRecoveryNotice, ThinkRecoveryNoticeProps };
|
|
14
|
+
export declare function ThinkRecoveryNotice<State = unknown, MessageT extends UIMessage = UIMessage>({ chat }: ThinkRecoveryNoticeProps<State, MessageT>): import("react").JSX.Element | null;
|
|
15
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
2
1
|
import { AgentChatTurnError } from "../ai-sdk/AgentChatTurnError.js";
|
|
2
|
+
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkRecoveryNotice.tsx
|
|
5
5
|
function connectionReason(error) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as getThinkRoutineNextRun, n as ThinkRoutineOwner, r as ThinkRoutineRunOf, t as ThinkRoutine } from "../../ThinkRoutine-
|
|
1
|
+
import { i as getThinkRoutineNextRun, n as ThinkRoutineOwner, r as ThinkRoutineRunOf, t as ThinkRoutine } from "../../ThinkRoutine-DGlKJbIy.js";
|
|
2
2
|
export { ThinkRoutine, ThinkRoutineOwner, ThinkRoutineRunOf, getThinkRoutineNextRun };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as AppTopBar } from "../../AppTopBar-
|
|
2
|
-
import { t as ThinkRoutine } from "../../ThinkRoutine-
|
|
1
|
+
import { t as AppTopBar } from "../../AppTopBar-DwzydmXu.js";
|
|
2
|
+
import { t as ThinkRoutine } from "../../ThinkRoutine-DGlKJbIy.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/ThinkRoutineActions.d.ts
|
|
6
|
-
interface ThinkRoutineActionsRootProps<TRoutine extends ThinkRoutine = ThinkRoutine> {
|
|
5
|
+
export interface ThinkRoutineActionsRootProps<TRoutine extends ThinkRoutine = ThinkRoutine> {
|
|
7
6
|
/** Whole selected routine, including app-owned extensions and native task/run values. */
|
|
8
7
|
routine: TRoutine;
|
|
9
8
|
/** Stable non-secret identity of the source backing this routine. */
|
|
@@ -18,20 +17,13 @@ interface ThinkRoutineActionsRootProps<TRoutine extends ThinkRoutine = ThinkRout
|
|
|
18
17
|
children: React.ReactNode;
|
|
19
18
|
}
|
|
20
19
|
/** Connect an independently mounted detail to its selected routine action scope. */
|
|
21
|
-
declare function useThinkRoutineActions(): {
|
|
20
|
+
export declare function useThinkRoutineActions(): {
|
|
22
21
|
busy: boolean;
|
|
23
22
|
onEnabledChange: ((enabled: boolean) => void) | undefined;
|
|
24
23
|
};
|
|
25
24
|
/** No layout or routing. Source/routine changes reset actions without remounting caller navigation. */
|
|
26
|
-
declare function ThinkRoutineActionsRoot<TRoutine extends ThinkRoutine>({
|
|
27
|
-
|
|
28
|
-
sourceKey,
|
|
29
|
-
onRun,
|
|
30
|
-
onEnabledChange,
|
|
31
|
-
onDelete,
|
|
32
|
-
children
|
|
33
|
-
}: ThinkRoutineActionsRootProps<TRoutine>): React.JSX.Element;
|
|
34
|
-
type ThinkRoutineActionProps = Omit<React.ComponentProps<typeof AppTopBar.Button>, "label"> & {
|
|
25
|
+
declare function ThinkRoutineActionsRoot<TRoutine extends ThinkRoutine>({ routine, sourceKey, onRun, onEnabledChange, onDelete, children }: ThinkRoutineActionsRootProps<TRoutine>): React.JSX.Element;
|
|
26
|
+
export type ThinkRoutineActionProps = Omit<React.ComponentProps<typeof AppTopBar.Button>, "label"> & {
|
|
35
27
|
label?: string;
|
|
36
28
|
};
|
|
37
29
|
/** Explicit run control; preserves the complete shared button composition contract. */
|
|
@@ -40,12 +32,11 @@ declare function ThinkRoutineRun(props: ThinkRoutineActionProps): React.JSX.Elem
|
|
|
40
32
|
declare function ThinkRoutineDelete(props: ThinkRoutineActionProps): React.JSX.Element | null;
|
|
41
33
|
declare function ThinkRoutineError(props: React.ComponentPropsWithRef<"div">): React.JSX.Element | null;
|
|
42
34
|
declare function ThinkRoutineStatus(props: React.ComponentPropsWithRef<"div">): React.JSX.Element;
|
|
43
|
-
declare const ThinkRoutineActions: {
|
|
35
|
+
export declare const ThinkRoutineActions: {
|
|
44
36
|
Root: typeof ThinkRoutineActionsRoot;
|
|
45
37
|
Run: typeof ThinkRoutineRun;
|
|
46
38
|
Delete: typeof ThinkRoutineDelete;
|
|
47
39
|
Error: typeof ThinkRoutineError;
|
|
48
40
|
Status: typeof ThinkRoutineStatus;
|
|
49
41
|
};
|
|
50
|
-
//#endregion
|
|
51
|
-
export { ThinkRoutineActionProps, ThinkRoutineActions, ThinkRoutineActionsRootProps, useThinkRoutineActions };
|
|
42
|
+
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { K as SpinnerIcon, Q as TrashIcon, z as PlayIcon } from "../../icons-
|
|
1
|
+
import { K as SpinnerIcon, Q as TrashIcon, z as PlayIcon } from "../../icons-CeGfXO21.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
|
-
import { a as formatErrorMessage } from "../../format-
|
|
3
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
4
4
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
5
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
6
5
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
6
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as ThinkRoutine } from "../../ThinkRoutine-
|
|
1
|
+
import { t as ThinkRoutine } from "../../ThinkRoutine-DGlKJbIy.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkRoutineBrowser.d.ts
|
|
5
|
-
type ThinkRoutineFilter = "all" | "active" | "paused";
|
|
6
|
-
interface ThinkRoutineBrowserProps<TRoutine extends ThinkRoutine = ThinkRoutine> extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {
|
|
4
|
+
export type ThinkRoutineFilter = "all" | "active" | "paused";
|
|
5
|
+
export interface ThinkRoutineBrowserProps<TRoutine extends ThinkRoutine = ThinkRoutine> extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {
|
|
7
6
|
routines: readonly TRoutine[];
|
|
8
7
|
/** Routine selected by the current application route. */
|
|
9
8
|
selectedRoutineId?: string | null;
|
|
@@ -20,18 +19,7 @@ interface ThinkRoutineBrowserProps<TRoutine extends ThinkRoutine = ThinkRoutine>
|
|
|
20
19
|
onRoutineLinkClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
21
20
|
}
|
|
22
21
|
/** Searchable, filterable navigation for an app-owned collection of Think routines. */
|
|
23
|
-
declare function ThinkRoutineBrowser<TRoutine extends ThinkRoutine = ThinkRoutine>({
|
|
24
|
-
className,
|
|
25
|
-
routines,
|
|
26
|
-
selectedRoutineId,
|
|
27
|
-
showOwner,
|
|
28
|
-
renderRoutineLink,
|
|
29
|
-
createRoutineLink,
|
|
30
|
-
onRoutineLinkClick,
|
|
31
|
-
ref,
|
|
32
|
-
...props
|
|
33
|
-
}: ThinkRoutineBrowserProps<TRoutine> & {
|
|
22
|
+
export declare function ThinkRoutineBrowser<TRoutine extends ThinkRoutine = ThinkRoutine>({ className, routines, selectedRoutineId, showOwner, renderRoutineLink, createRoutineLink, onRoutineLinkClick, ref, ...props }: ThinkRoutineBrowserProps<TRoutine> & {
|
|
34
23
|
ref?: React.Ref<HTMLElement>;
|
|
35
24
|
}): React.JSX.Element;
|
|
36
|
-
//#endregion
|
|
37
|
-
export { ThinkRoutineBrowser, ThinkRoutineBrowserProps, ThinkRoutineFilter };
|
|
25
|
+
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { B as PlusIcon } from "../../icons-
|
|
2
|
+
import { B as PlusIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
4
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
5
|
-
import { t as capitalize } from "../../format-
|
|
6
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
5
|
+
import { t as capitalize } from "../../format-CWaZEp5o.js";
|
|
7
6
|
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
7
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
8
8
|
import { SearchField } from "../foundations/SearchField.js";
|
|
9
9
|
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
10
10
|
import { getThinkRoutineNextRun } from "./ThinkRoutine.js";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { r as ThinkRoutineRunOf, t as ThinkRoutine } from "../../ThinkRoutine-
|
|
1
|
+
import { r as ThinkRoutineRunOf, t as ThinkRoutine } from "../../ThinkRoutine-DGlKJbIy.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkRoutineDetail.d.ts
|
|
5
|
-
interface ThinkRoutineDetailProps<TRoutine extends ThinkRoutine = ThinkRoutine> extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
export interface ThinkRoutineDetailProps<TRoutine extends ThinkRoutine = ThinkRoutine> extends React.HTMLAttributes<HTMLElement> {
|
|
6
5
|
routine: TRoutine;
|
|
7
6
|
busy?: boolean;
|
|
8
7
|
showOwner?: boolean;
|
|
@@ -11,17 +10,7 @@ interface ThinkRoutineDetailProps<TRoutine extends ThinkRoutine = ThinkRoutine>
|
|
|
11
10
|
renderRunLink?: (run: ThinkRoutineRunOf<TRoutine>) => React.ReactElement;
|
|
12
11
|
}
|
|
13
12
|
/** Readable definition, schedule settings, and recent executions for one routine. */
|
|
14
|
-
declare function ThinkRoutineDetail<TRoutine extends ThinkRoutine = ThinkRoutine>({
|
|
15
|
-
busy,
|
|
16
|
-
className,
|
|
17
|
-
routine,
|
|
18
|
-
showOwner,
|
|
19
|
-
onEnabledChange,
|
|
20
|
-
renderRunLink,
|
|
21
|
-
ref,
|
|
22
|
-
...props
|
|
23
|
-
}: ThinkRoutineDetailProps<TRoutine> & {
|
|
13
|
+
export declare function ThinkRoutineDetail<TRoutine extends ThinkRoutine = ThinkRoutine>({ busy, className, routine, showOwner, onEnabledChange, renderRunLink, ref, ...props }: ThinkRoutineDetailProps<TRoutine> & {
|
|
24
14
|
ref?: React.Ref<HTMLElement>;
|
|
25
15
|
}): React.JSX.Element;
|
|
26
|
-
//#endregion
|
|
27
|
-
export { ThinkRoutineDetail, ThinkRoutineDetailProps };
|
|
16
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { getThinkRoutineNextRun } from "./ThinkRoutine.js";
|
|
3
2
|
import { Switch } from "../foundations/Switch.js";
|
|
3
|
+
import { getThinkRoutineNextRun } from "./ThinkRoutine.js";
|
|
4
4
|
import { ThinkRoutineRuns } from "./ThinkRoutineRuns.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkRoutineForm.d.ts
|
|
5
4
|
/** Parsed schedule fields required to prefill the editor. */
|
|
6
|
-
type ThinkRoutineFormSchedule = {
|
|
5
|
+
export type ThinkRoutineFormSchedule = {
|
|
7
6
|
kind: "interval";
|
|
8
7
|
intervalMs: number;
|
|
9
8
|
} | {
|
|
@@ -14,7 +13,7 @@ type ThinkRoutineFormSchedule = {
|
|
|
14
13
|
days: "daily" | "weekday" | readonly number[];
|
|
15
14
|
};
|
|
16
15
|
/** Existing routine fields required by the edit form. */
|
|
17
|
-
interface ThinkRoutineFormRoutine {
|
|
16
|
+
export interface ThinkRoutineFormRoutine {
|
|
18
17
|
name: string;
|
|
19
18
|
task: {
|
|
20
19
|
prompt: string;
|
|
@@ -22,12 +21,12 @@ interface ThinkRoutineFormRoutine {
|
|
|
22
21
|
parsedSchedule: ThinkRoutineFormSchedule;
|
|
23
22
|
}
|
|
24
23
|
/** Prompt routine draft emitted by the routine form. */
|
|
25
|
-
interface ThinkRoutineFormValue {
|
|
24
|
+
export interface ThinkRoutineFormValue {
|
|
26
25
|
name: string;
|
|
27
26
|
prompt: string;
|
|
28
27
|
schedule: ThinkScheduledTaskSchedule;
|
|
29
28
|
}
|
|
30
|
-
interface ThinkRoutineFormProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSubmit"> {
|
|
29
|
+
export interface ThinkRoutineFormProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSubmit"> {
|
|
31
30
|
/** Existing routine projected through Think's schedule parser. Omit when creating. */
|
|
32
31
|
routine?: ThinkRoutineFormRoutine;
|
|
33
32
|
/** App-authored TanStack Router Link to the routine catalog. */
|
|
@@ -36,15 +35,8 @@ interface ThinkRoutineFormProps extends Omit<React.HTMLAttributes<HTMLDivElement
|
|
|
36
35
|
onSubmit: (value: ThinkRoutineFormValue) => void | Promise<void>;
|
|
37
36
|
}
|
|
38
37
|
/** Complete create/edit surface for a prompt-based Think scheduled task. */
|
|
39
|
-
declare function ThinkRoutineForm({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
routine,
|
|
43
|
-
onSubmit,
|
|
44
|
-
ref,
|
|
45
|
-
...props
|
|
46
|
-
}: ThinkRoutineFormProps & {
|
|
47
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
38
|
+
export declare function ThinkRoutineForm({ cancelLink, className, routine, onSubmit, ref, ...props }: ThinkRoutineFormProps & {
|
|
39
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
40
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
48
41
|
}): React.JSX.Element;
|
|
49
|
-
//#endregion
|
|
50
|
-
export { ThinkRoutineForm, ThinkRoutineFormProps, ThinkRoutineFormRoutine, ThinkRoutineFormSchedule, ThinkRoutineFormValue };
|
|
42
|
+
//#endregion
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.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";
|
|
7
6
|
import { Textarea } from "../foundations/Textarea.js";
|
|
8
|
-
import {
|
|
9
|
-
import { Fieldset } from "../foundations/Fieldset.js";
|
|
7
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
10
8
|
import { Select } from "../foundations/Select.js";
|
|
11
9
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
12
10
|
import { CheckboxGroup } from "../foundations/CheckboxGroup.js";
|
|
13
11
|
import { Combobox } from "../foundations/Combobox.js";
|
|
12
|
+
import { Fieldset } from "../foundations/Fieldset.js";
|
|
14
13
|
import { NumberField } from "../foundations/NumberField.js";
|
|
14
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.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/ThinkRoutineForm.tsx
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-
|
|
1
|
+
import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-CPeYVneQ.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkRoutineRuns.d.ts
|
|
5
|
-
interface ThinkRoutineRunsProps<TRun extends ThinkExecutionRun = ThinkExecutionRun> extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {
|
|
4
|
+
export interface ThinkRoutineRunsProps<TRun extends ThinkExecutionRun = ThinkExecutionRun> extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {
|
|
6
5
|
runs: readonly TRun[];
|
|
7
6
|
title?: React.ReactNode;
|
|
8
7
|
emptyState?: React.ReactNode;
|
|
@@ -10,16 +9,7 @@ interface ThinkRoutineRunsProps<TRun extends ThinkExecutionRun = ThinkExecutionR
|
|
|
10
9
|
renderRunLink?: (run: TRun) => React.ReactElement;
|
|
11
10
|
}
|
|
12
11
|
/** Compact execution history shared by routine detail surfaces. */
|
|
13
|
-
declare function ThinkRoutineRuns<TRun extends ThinkExecutionRun = ThinkExecutionRun>({
|
|
14
|
-
className,
|
|
15
|
-
runs,
|
|
16
|
-
title,
|
|
17
|
-
emptyState,
|
|
18
|
-
renderRunLink,
|
|
19
|
-
ref,
|
|
20
|
-
...props
|
|
21
|
-
}: ThinkRoutineRunsProps<TRun> & {
|
|
12
|
+
export declare function ThinkRoutineRuns<TRun extends ThinkExecutionRun = ThinkExecutionRun>({ className, runs, title, emptyState, renderRunLink, ref, ...props }: ThinkRoutineRunsProps<TRun> & {
|
|
22
13
|
ref?: React.Ref<HTMLElement>;
|
|
23
14
|
}): React.JSX.Element;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { ThinkRoutineRuns, ThinkRoutineRunsProps };
|
|
15
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { buttonVariants } from "../foundations/Button.js";
|
|
3
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
4
3
|
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
4
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
5
5
|
import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
|
|
6
6
|
import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
|
|
7
7
|
import * as React from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ThinkThreadStatusIndicatorsProps, i as ThinkThreadStatusIndicators, n as ThinkThreadPicker, o as ThinkThreadStatusSummary, r as ThinkThreadPickerProps, s as summarizeThinkThreads, t as ThinkThreadItem } from "../../ThinkThreadPicker-
|
|
1
|
+
import { a as ThinkThreadStatusIndicatorsProps, i as ThinkThreadStatusIndicators, n as ThinkThreadPicker, o as ThinkThreadStatusSummary, r as ThinkThreadPickerProps, s as summarizeThinkThreads, t as ThinkThreadItem } from "../../ThinkThreadPicker-BmIZmpae.js";
|
|
2
2
|
export { ThinkThreadItem, ThinkThreadPicker, ThinkThreadPickerProps, ThinkThreadStatusIndicators, ThinkThreadStatusIndicatorsProps, ThinkThreadStatusSummary, summarizeThinkThreads };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, R as PencilIcon, et as WarningIcon, t as ArchiveIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, R as PencilIcon, et as WarningIcon, t as ArchiveIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button, buttonVariants } from "../foundations/Button.js";
|
|
4
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
5
|
-
import { a as formatErrorMessage } from "../../format-
|
|
6
|
-
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
7
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
5
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
8
6
|
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
7
|
+
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
9
8
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
9
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
10
10
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
11
11
|
import { SearchField } from "../foundations/SearchField.js";
|
|
12
12
|
import * as React from "react";
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-
|
|
1
|
+
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-Buo6gKj2.js";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/WorkbenchBack.d.ts
|
|
5
4
|
/** Back follows the visible hierarchy, never unrelated browser history. */
|
|
6
|
-
declare function WorkbenchBack({
|
|
7
|
-
navigation,
|
|
8
|
-
filesOpen,
|
|
9
|
-
onBackToChat,
|
|
10
|
-
backToChatLink
|
|
11
|
-
}: {
|
|
5
|
+
export declare function WorkbenchBack({ navigation, filesOpen, onBackToChat, backToChatLink }: {
|
|
12
6
|
navigation?: WorkspaceNavigationAdapter;
|
|
13
7
|
filesOpen: boolean;
|
|
14
8
|
onBackToChat?: () => void;
|
|
15
9
|
backToChatLink?: ReactElement;
|
|
16
10
|
}): import("react").JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { WorkbenchBack };
|
|
11
|
+
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ArrowLeftIcon } from "../../icons-
|
|
1
|
+
import { r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
2
2
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/agents-sdk/WorkbenchBack.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as workspaceFileQueryKey, C as refreshWorkspaceFileQueries, D as workspaceDirectoryQueryOptions, E as workspaceDirectoryQueryKey, F as workspaceTextFileQueryOptions, M as workspaceInfoQueryKey, N as workspaceInfoQueryOptions, O as workspaceDirectoryQueryPrefix, P as workspaceQueryKey, S as WorkspaceTextFileQueryOptions, T as workspaceBinaryFileQueryOptions, _ as WorkspaceQueryOptions, a as WorkspaceDirectoryQueryOptions, b as WorkspaceState, c as WorkspaceFileQueryKey, d as WorkspaceFileStatQueryOptions, f as WorkspaceFileVersion, g as WorkspaceQueryKey, h as WorkspaceInfoQueryOptions, i as WorkspaceDirectoryQueryKey, j as workspaceFileStatQueryOptions, k as workspaceFileAssetQueryOptions, l as WorkspaceFileReadTarget, m as WorkspaceInfoQueryKey, n as WorkspaceBinaryFileQueryKey, o as WorkspaceFileAssetQueryKey, p as WorkspaceInfo, r as WorkspaceBinaryFileQueryOptions, s as WorkspaceFileAssetQueryOptions, t as UseWorkspaceOptions, u as WorkspaceFileStatQueryKey, v as WorkspaceResolvedAsset, w as useWorkspace, x as WorkspaceTextFileQueryKey, y as WorkspaceSource } from "../../Workspace-
|
|
1
|
+
import { A as workspaceFileQueryKey, C as refreshWorkspaceFileQueries, D as workspaceDirectoryQueryOptions, E as workspaceDirectoryQueryKey, F as workspaceTextFileQueryOptions, M as workspaceInfoQueryKey, N as workspaceInfoQueryOptions, O as workspaceDirectoryQueryPrefix, P as workspaceQueryKey, S as WorkspaceTextFileQueryOptions, T as workspaceBinaryFileQueryOptions, _ as WorkspaceQueryOptions, a as WorkspaceDirectoryQueryOptions, b as WorkspaceState, c as WorkspaceFileQueryKey, d as WorkspaceFileStatQueryOptions, f as WorkspaceFileVersion, g as WorkspaceQueryKey, h as WorkspaceInfoQueryOptions, i as WorkspaceDirectoryQueryKey, j as workspaceFileStatQueryOptions, k as workspaceFileAssetQueryOptions, l as WorkspaceFileReadTarget, m as WorkspaceInfoQueryKey, n as WorkspaceBinaryFileQueryKey, o as WorkspaceFileAssetQueryKey, p as WorkspaceInfo, r as WorkspaceBinaryFileQueryOptions, s as WorkspaceFileAssetQueryOptions, t as UseWorkspaceOptions, u as WorkspaceFileStatQueryKey, v as WorkspaceResolvedAsset, w as useWorkspace, x as WorkspaceTextFileQueryKey, y as WorkspaceSource } from "../../Workspace-Cr-aGDfx.js";
|
|
2
2
|
export { UseWorkspaceOptions, WorkspaceBinaryFileQueryKey, WorkspaceBinaryFileQueryOptions, WorkspaceDirectoryQueryKey, WorkspaceDirectoryQueryOptions, WorkspaceFileAssetQueryKey, WorkspaceFileAssetQueryOptions, WorkspaceFileQueryKey, WorkspaceFileReadTarget, WorkspaceFileStatQueryKey, WorkspaceFileStatQueryOptions, WorkspaceFileVersion, WorkspaceInfo, WorkspaceInfoQueryKey, WorkspaceInfoQueryOptions, WorkspaceQueryKey, WorkspaceQueryOptions, WorkspaceResolvedAsset, WorkspaceSource, WorkspaceState, WorkspaceTextFileQueryKey, WorkspaceTextFileQueryOptions, refreshWorkspaceFileQueries, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryKey, workspaceDirectoryQueryOptions, workspaceDirectoryQueryPrefix, workspaceFileAssetQueryOptions, workspaceFileQueryKey, workspaceFileStatQueryOptions, workspaceInfoQueryKey, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as formatErrorMessage } from "../../format-
|
|
1
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
2
2
|
import { getWorkspaceBasename, inferWorkspaceMedia, isWorkspaceTextPath } from "./WorkspaceFile.js";
|
|
3
3
|
import { n as isWorkspacePathWithinRoot, t as canonicalizeAbsoluteWorkspacePath } from "../../workspace-path-L_KmjRjq.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { queryOptions, useQueries, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
6
6
|
//#region src/components/agents-sdk/Workspace.ts
|
|
7
|
-
const DEFAULT_MAX_INLINE_ASSET_BYTES =
|
|
7
|
+
const DEFAULT_MAX_INLINE_ASSET_BYTES = 33554432;
|
|
8
8
|
const WORKSPACE_DIRECTORY_PAGE_SIZE = 1e3;
|
|
9
9
|
const ACTIVE_FILE_GC_TIME = 2e3;
|
|
10
10
|
const EMPTY_ENTRIES_BY_DIRECTORY = Object.freeze({});
|
|
@@ -45,7 +45,7 @@ function normalizeWorkspaceAsset(asset, path, inferredMedia, info) {
|
|
|
45
45
|
}
|
|
46
46
|
async function readWorkspaceAssetBytes(source, path, info, maxInlineAssetBytes) {
|
|
47
47
|
if (info.size > maxInlineAssetBytes) {
|
|
48
|
-
const maximumMiB = Math.floor(maxInlineAssetBytes /
|
|
48
|
+
const maximumMiB = Math.floor(maxInlineAssetBytes / 1048576);
|
|
49
49
|
throw new Error(`This file is too large for the built-in byte preview (${maximumMiB.toLocaleString()} MiB maximum). Provide resolveFileAsset with a URL instead.`);
|
|
50
50
|
}
|
|
51
51
|
const data = await source.readFileBytes(path);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { b as WorkspaceState } from "../../Workspace-
|
|
1
|
+
import { b as WorkspaceState } from "../../Workspace-Cr-aGDfx.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/WorkspaceBrowser.d.ts
|
|
5
|
-
interface WorkspaceBrowserProps {
|
|
4
|
+
export interface WorkspaceBrowserProps {
|
|
6
5
|
workspace: WorkspaceState;
|
|
7
6
|
title?: React.ReactNode;
|
|
8
7
|
/** Leading workspace control, such as a host-owned Back to chat button. */
|
|
@@ -15,15 +14,5 @@ interface WorkspaceBrowserProps {
|
|
|
15
14
|
renderFileLink?: (path: string) => React.ReactElement;
|
|
16
15
|
}
|
|
17
16
|
/** Workspace tree and filter surface, usable independently from the file preview. */
|
|
18
|
-
declare function WorkspaceBrowser({
|
|
19
|
-
|
|
20
|
-
title,
|
|
21
|
-
leading,
|
|
22
|
-
actions,
|
|
23
|
-
showFilter,
|
|
24
|
-
filterPlaceholder,
|
|
25
|
-
emptyState,
|
|
26
|
-
renderFileLink
|
|
27
|
-
}: WorkspaceBrowserProps): React.JSX.Element;
|
|
28
|
-
//#endregion
|
|
29
|
-
export { WorkspaceBrowser, WorkspaceBrowserProps };
|
|
17
|
+
export declare function WorkspaceBrowser({ workspace, title, leading, actions, showFilter, filterPlaceholder, emptyState, renderFileLink }: WorkspaceBrowserProps): React.JSX.Element;
|
|
18
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchField } from "../foundations/SearchField.js";
|
|
2
|
-
import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "../../FileTree-
|
|
2
|
+
import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "../../FileTree-D61EeWRU.js";
|
|
3
3
|
import { WorkspaceHeader } from "./WorkspaceHeader.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { _ as WorkspaceQueryOptions, g as WorkspaceQueryKey } from "../../Workspace-
|
|
1
|
+
import { _ as WorkspaceQueryOptions, g as WorkspaceQueryKey } from "../../Workspace-Cr-aGDfx.js";
|
|
2
2
|
import { QueryClient, QueryFunction } from "@tanstack/react-query";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/WorkspaceConcept.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Concept query identity is what the data is: source, root, concept, scope.
|
|
@@ -9,9 +8,9 @@ import { QueryClient, QueryFunction } from "@tanstack/react-query";
|
|
|
9
8
|
* `revision` tick), so cards keep their data, mutation state, and typed form
|
|
10
9
|
* drafts across refreshes.
|
|
11
10
|
*/
|
|
12
|
-
type WorkspaceConceptQueryKey = readonly [...WorkspaceQueryKey, "concept", concept: string, scope: string];
|
|
13
|
-
type WorkspaceConceptQueryOptions<TData> = WorkspaceQueryOptions<TData, WorkspaceConceptQueryKey>;
|
|
14
|
-
interface WorkspaceConceptQueryInput<TData> {
|
|
11
|
+
export type WorkspaceConceptQueryKey = readonly [...WorkspaceQueryKey, "concept", concept: string, scope: string];
|
|
12
|
+
export type WorkspaceConceptQueryOptions<TData> = WorkspaceQueryOptions<TData, WorkspaceConceptQueryKey>;
|
|
13
|
+
export interface WorkspaceConceptQueryInput<TData> {
|
|
15
14
|
sourceKey: string;
|
|
16
15
|
/**
|
|
17
16
|
* The host's workspace boundary. Required, and never defaulted: concept keys
|
|
@@ -24,22 +23,15 @@ interface WorkspaceConceptQueryInput<TData> {
|
|
|
24
23
|
scope: string;
|
|
25
24
|
queryFn: QueryFunction<TData, WorkspaceConceptQueryKey>;
|
|
26
25
|
}
|
|
27
|
-
declare function workspaceConceptQueryPrefix(sourceKey: string, root: string): readonly ["workspace", string, string, "concept"];
|
|
28
|
-
declare function workspaceConceptQueryKey(sourceKey: string, root: string, concept: string, scope: string): WorkspaceConceptQueryKey;
|
|
26
|
+
export declare function workspaceConceptQueryPrefix(sourceKey: string, root: string): readonly ["workspace", string, string, "concept"];
|
|
27
|
+
export declare function workspaceConceptQueryKey(sourceKey: string, root: string, concept: string, scope: string): WorkspaceConceptQueryKey;
|
|
29
28
|
/** Shared concept options for design-system components and host loaders. */
|
|
30
|
-
declare function workspaceConceptQueryOptions<TData>({
|
|
31
|
-
|
|
32
|
-
root,
|
|
33
|
-
concept,
|
|
34
|
-
scope,
|
|
35
|
-
queryFn
|
|
36
|
-
}: WorkspaceConceptQueryInput<TData>): WorkspaceConceptQueryOptions<TData>;
|
|
37
|
-
declare function workspacePathsOverlap(left: string, right: string): boolean;
|
|
29
|
+
export declare function workspaceConceptQueryOptions<TData>({ sourceKey, root, concept, scope, queryFn }: WorkspaceConceptQueryInput<TData>): WorkspaceConceptQueryOptions<TData>;
|
|
30
|
+
export declare function workspacePathsOverlap(left: string, right: string): boolean;
|
|
38
31
|
/**
|
|
39
32
|
* Invalidate active concept queries touched by an external workspace change.
|
|
40
33
|
* `root` is required and must be the same root the concept options were built
|
|
41
34
|
* with — the prefix is derived from it, so a mismatch invalidates nothing.
|
|
42
35
|
*/
|
|
43
|
-
declare function invalidateWorkspaceConceptQueries(queryClient: QueryClient, sourceKey: string, root: string, changedPaths?: readonly string[]): Promise<void>;
|
|
44
|
-
//#endregion
|
|
45
|
-
export { WorkspaceConceptQueryInput, WorkspaceConceptQueryKey, WorkspaceConceptQueryOptions, invalidateWorkspaceConceptQueries, workspaceConceptQueryKey, workspaceConceptQueryOptions, workspaceConceptQueryPrefix, workspacePathsOverlap };
|
|
36
|
+
export declare function invalidateWorkspaceConceptQueries(queryClient: QueryClient, sourceKey: string, root: string, changedPaths?: readonly string[]): Promise<void>;
|
|
37
|
+
//#endregion
|