@mcp-b/react-components 0.56.1 → 0.56.2
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-CJwBAEMv.js} +4 -4
- 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 +10 -9
- 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 +1 -1
- 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 +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -39
- package/dist/components/agents-sdk/EmployeeChat.js +4 -4
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +13 -12
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
- package/dist/components/agents-sdk/EmployeeSchedules.js +3 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
- package/dist/components/agents-sdk/EmployeeStartScreen.js +3 -3
- package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
- package/dist/components/agents-sdk/ManagerAccountActions.js +3 -3
- 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 +3 -3
- 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 +3 -11
- 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 +2 -2
- 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 +2 -2
- 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/ThinkRoutineForm.d.ts +8 -16
- package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
- 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 +3 -3
- 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 +6 -6
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +8 -11
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
- 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 +11 -26
- 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/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 +1 -1
- 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 +6 -5
- 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-C3QT6UlQ.js} +1 -1
- 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,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,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,13 +1,13 @@
|
|
|
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";
|
|
7
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
8
|
+
import { Select } from "../foundations/Select.js";
|
|
8
9
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
9
10
|
import { Fieldset } from "../foundations/Fieldset.js";
|
|
10
|
-
import { Select } from "../foundations/Select.js";
|
|
11
11
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
12
12
|
import { CheckboxGroup } from "../foundations/CheckboxGroup.js";
|
|
13
13
|
import { Combobox } from "../foundations/Combobox.js";
|
|
@@ -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,11 +1,11 @@
|
|
|
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-
|
|
5
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
6
|
+
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
6
7
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
7
8
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
8
|
-
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
9
9
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
10
10
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
11
11
|
import { SearchField } from "../foundations/SearchField.js";
|
|
@@ -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
|
|
@@ -2,14 +2,13 @@ import { WorkspaceConceptQueryOptions } from "./WorkspaceConcept.js";
|
|
|
2
2
|
import { CardProps } from "../foundations/Card.js";
|
|
3
3
|
import { ConnectedAppCardSaveState } from "../ai-sdk/ConnectedAppCards.js";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
|
|
6
5
|
//#region src/components/agents-sdk/WorkspaceCorrespondence.d.ts
|
|
7
|
-
interface WorkspaceCorrespondenceField {
|
|
6
|
+
export interface WorkspaceCorrespondenceField {
|
|
8
7
|
name: string;
|
|
9
8
|
label: string;
|
|
10
9
|
value: string;
|
|
11
10
|
}
|
|
12
|
-
interface WorkspaceCorrespondenceDraft {
|
|
11
|
+
export interface WorkspaceCorrespondenceDraft {
|
|
13
12
|
fields: readonly WorkspaceCorrespondenceField[];
|
|
14
13
|
body: string;
|
|
15
14
|
}
|
|
@@ -19,20 +18,20 @@ interface WorkspaceCorrespondenceDraft {
|
|
|
19
18
|
* session after `onSend` resolves; a host with real delivery state overrides
|
|
20
19
|
* the latch by setting `state` on the queried data.
|
|
21
20
|
*/
|
|
22
|
-
type WorkspaceCorrespondenceState = "draft" | "sent";
|
|
23
|
-
interface WorkspaceCorrespondence extends WorkspaceCorrespondenceDraft {
|
|
21
|
+
export type WorkspaceCorrespondenceState = "draft" | "sent";
|
|
22
|
+
export interface WorkspaceCorrespondence extends WorkspaceCorrespondenceDraft {
|
|
24
23
|
kind: string;
|
|
25
24
|
path: string;
|
|
26
25
|
state?: WorkspaceCorrespondenceState;
|
|
27
26
|
}
|
|
28
|
-
interface WorkspaceCorrespondenceSource {
|
|
27
|
+
export interface WorkspaceCorrespondenceSource {
|
|
29
28
|
queryOptions: WorkspaceConceptQueryOptions<WorkspaceCorrespondence | null>;
|
|
30
29
|
onChange?: (path: string, next: WorkspaceCorrespondenceDraft) => Promise<void>;
|
|
31
30
|
onSend?: (path: string) => Promise<void>;
|
|
32
31
|
onOpen?: (path: string) => void;
|
|
33
32
|
onDelete?: (path: string) => void | Promise<void>;
|
|
34
33
|
}
|
|
35
|
-
interface WorkspaceCorrespondenceCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title" | "onChange"> {
|
|
34
|
+
export interface WorkspaceCorrespondenceCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title" | "onChange"> {
|
|
36
35
|
/** Correspondence renderer key, such as the message or email kind selected by the host. */
|
|
37
36
|
kind: string;
|
|
38
37
|
/** Workspace-relative file path represented by this card. */
|
|
@@ -56,7 +55,7 @@ interface WorkspaceCorrespondenceCardProps extends Omit<CardProps, "children" |
|
|
|
56
55
|
/** Deletes the backing correspondence through the host. */
|
|
57
56
|
onDelete?: () => void | Promise<void>;
|
|
58
57
|
}
|
|
59
|
-
interface WorkspaceCorrespondenceFileProps extends Omit<WorkspaceCorrespondenceCardProps, "body" | "fields" | "kind" | "onChange" | "onDelete" | "onOpen" | "onSend" | "path" | "saveState" | "state"> {
|
|
58
|
+
export interface WorkspaceCorrespondenceFileProps extends Omit<WorkspaceCorrespondenceCardProps, "body" | "fields" | "kind" | "onChange" | "onDelete" | "onOpen" | "onSend" | "path" | "saveState" | "state"> {
|
|
60
59
|
source: WorkspaceCorrespondenceSource;
|
|
61
60
|
fallback?: React.ReactNode;
|
|
62
61
|
}
|
|
@@ -66,22 +65,9 @@ interface WorkspaceCorrespondenceFileProps extends Omit<WorkspaceCorrespondenceC
|
|
|
66
65
|
* snapshot, and falls back to the generic card for kinds without a richer
|
|
67
66
|
* design-system surface.
|
|
68
67
|
*/
|
|
69
|
-
declare function WorkspaceCorrespondenceCard({
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
kind,
|
|
73
|
-
path,
|
|
74
|
-
icon,
|
|
75
|
-
saveState,
|
|
76
|
-
state,
|
|
77
|
-
onChange,
|
|
78
|
-
onDelete,
|
|
79
|
-
onOpen,
|
|
80
|
-
onSend,
|
|
81
|
-
ref,
|
|
82
|
-
...props
|
|
83
|
-
}: WorkspaceCorrespondenceCardProps & {
|
|
84
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
68
|
+
export declare function WorkspaceCorrespondenceCard({ body, fields, kind, path, icon, saveState, state, onChange, onDelete, onOpen, onSend, ref, ...props }: WorkspaceCorrespondenceCardProps & {
|
|
69
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
70
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
85
71
|
}): React.JSX.Element;
|
|
86
72
|
/**
|
|
87
73
|
* Query-backed reviewed correspondence. The host supplies normalized reads
|
|
@@ -98,8 +84,7 @@ declare function WorkspaceCorrespondenceCard({
|
|
|
98
84
|
* source swap a real unmount, so an old save or send cannot settle onto the
|
|
99
85
|
* next file.
|
|
100
86
|
*/
|
|
101
|
-
declare function WorkspaceCorrespondenceFile(props: WorkspaceCorrespondenceFileProps & {
|
|
87
|
+
export declare function WorkspaceCorrespondenceFile(props: WorkspaceCorrespondenceFileProps & {
|
|
102
88
|
ref?: React.Ref<HTMLDivElement>;
|
|
103
89
|
}): React.JSX.Element;
|
|
104
|
-
//#endregion
|
|
105
|
-
export { WorkspaceCorrespondence, WorkspaceCorrespondenceCard, WorkspaceCorrespondenceCardProps, WorkspaceCorrespondenceDraft, WorkspaceCorrespondenceField, WorkspaceCorrespondenceFile, WorkspaceCorrespondenceFileProps, WorkspaceCorrespondenceSource, WorkspaceCorrespondenceState };
|
|
90
|
+
//#endregion
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { S as FileIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { S as FileIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
6
4
|
import { Field } from "../foundations/Field.js";
|
|
7
5
|
import { Textarea } from "../foundations/Textarea.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { IconButton } from "../foundations/IconButton.js";
|
|
7
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
10
8
|
import { Card, CardAction, CardContent, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
9
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
10
|
+
import { Input } from "../foundations/Input.js";
|
|
11
11
|
import { EmailMessageCard, SlackMessageCard } from "../ai-sdk/ConnectedAppCards.js";
|
|
12
|
-
import { i as WorkspaceDeleteControl, r as httpUrl, t as FaviconMark } from "../../workspace-assets-
|
|
12
|
+
import { i as WorkspaceDeleteControl, r as httpUrl, t as FaviconMark } from "../../workspace-assets-C3QT6UlQ.js";
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
import { createElement } from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { WorkspaceConceptQueryOptions } from "./WorkspaceConcept.js";
|
|
2
2
|
import { CardProps } from "../foundations/Card.js";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/WorkspaceExecution.d.ts
|
|
6
|
-
type WorkspaceExecutionParamType = "string" | "number" | "boolean";
|
|
7
|
-
interface WorkspaceExecutionParam {
|
|
5
|
+
export type WorkspaceExecutionParamType = "string" | "number" | "boolean";
|
|
6
|
+
export interface WorkspaceExecutionParam {
|
|
8
7
|
name: string;
|
|
9
8
|
label: string;
|
|
10
9
|
type: WorkspaceExecutionParamType;
|
|
@@ -15,24 +14,24 @@ interface WorkspaceExecutionParam {
|
|
|
15
14
|
required: boolean;
|
|
16
15
|
value?: string | number | boolean;
|
|
17
16
|
}
|
|
18
|
-
interface WorkspaceExecutionRun {
|
|
17
|
+
export interface WorkspaceExecutionRun {
|
|
19
18
|
path: string;
|
|
20
19
|
label: string;
|
|
21
20
|
}
|
|
22
|
-
interface WorkspaceExecutionRunView extends WorkspaceExecutionRun {
|
|
21
|
+
export interface WorkspaceExecutionRunView extends WorkspaceExecutionRun {
|
|
23
22
|
onOpen?: () => void;
|
|
24
23
|
}
|
|
25
|
-
interface WorkspaceExecutionOutcome {
|
|
24
|
+
export interface WorkspaceExecutionOutcome {
|
|
26
25
|
/** Serialized return value from the existing execution runtime. */
|
|
27
26
|
result: unknown;
|
|
28
27
|
logs: readonly string[];
|
|
29
28
|
/** Result and log files emitted when the runtime overflowed its inline bounds. */
|
|
30
29
|
runs: readonly WorkspaceExecutionRun[];
|
|
31
30
|
}
|
|
32
|
-
interface WorkspaceExecutionViewOutcome extends Omit<WorkspaceExecutionOutcome, "runs"> {
|
|
31
|
+
export interface WorkspaceExecutionViewOutcome extends Omit<WorkspaceExecutionOutcome, "runs"> {
|
|
33
32
|
runs: readonly WorkspaceExecutionRunView[];
|
|
34
33
|
}
|
|
35
|
-
interface WorkspaceExecution {
|
|
34
|
+
export interface WorkspaceExecution {
|
|
36
35
|
/** Workspace path of the module file. */
|
|
37
36
|
path: string;
|
|
38
37
|
name: string;
|
|
@@ -44,7 +43,7 @@ interface WorkspaceExecution {
|
|
|
44
43
|
runs?: readonly WorkspaceExecutionRun[];
|
|
45
44
|
}
|
|
46
45
|
/** Data-only execution projection hydrated with card actions outside Query. */
|
|
47
|
-
interface WorkspaceExecutionView extends WorkspaceExecution {
|
|
46
|
+
export interface WorkspaceExecutionView extends WorkspaceExecution {
|
|
48
47
|
runs?: readonly WorkspaceExecutionRunView[];
|
|
49
48
|
/**
|
|
50
49
|
* Runs the module with the submitted values. The card owns the run lifecycle;
|
|
@@ -54,53 +53,40 @@ interface WorkspaceExecutionView extends WorkspaceExecution {
|
|
|
54
53
|
onOpen?: () => void;
|
|
55
54
|
onDelete?: () => void | Promise<void>;
|
|
56
55
|
}
|
|
57
|
-
interface WorkspaceExecutionSource {
|
|
56
|
+
export interface WorkspaceExecutionSource {
|
|
58
57
|
queryOptions: WorkspaceConceptQueryOptions<readonly WorkspaceExecution[]>;
|
|
59
58
|
/** Runs the module with the submitted values and returns its visible outcome. */
|
|
60
59
|
onRun?: (path: string, parameters: readonly WorkspaceExecutionParam[]) => Promise<WorkspaceExecutionOutcome>;
|
|
61
60
|
onOpen?: (path: string) => void;
|
|
62
61
|
onDelete?: (path: string) => void | Promise<void>;
|
|
63
62
|
}
|
|
64
|
-
interface WorkspaceExecutionCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
|
|
63
|
+
export interface WorkspaceExecutionCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
|
|
65
64
|
module: WorkspaceExecutionView;
|
|
66
65
|
}
|
|
67
|
-
interface WorkspaceExecutionFileProps extends Omit<WorkspaceExecutionCardProps, "module"> {
|
|
66
|
+
export interface WorkspaceExecutionFileProps extends Omit<WorkspaceExecutionCardProps, "module"> {
|
|
68
67
|
path: string;
|
|
69
68
|
source: WorkspaceExecutionSource;
|
|
70
69
|
fallback?: React.ReactNode;
|
|
71
70
|
}
|
|
72
|
-
interface WorkspaceExecutionsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
71
|
+
export interface WorkspaceExecutionsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
73
72
|
/** Shared workspace query and host actions, also used by inline module cards. */
|
|
74
73
|
source: WorkspaceExecutionSource;
|
|
75
74
|
}
|
|
76
|
-
declare function WorkspaceExecutionCard({
|
|
77
|
-
module,
|
|
78
|
-
...props
|
|
79
|
-
}: WorkspaceExecutionCardProps & {
|
|
75
|
+
export declare function WorkspaceExecutionCard({ module, ...props }: WorkspaceExecutionCardProps & {
|
|
80
76
|
ref?: React.Ref<HTMLDivElement>;
|
|
81
77
|
}): React.JSX.Element;
|
|
82
78
|
/**
|
|
83
79
|
* Compact inline card for one queried execution module.
|
|
84
80
|
*/
|
|
85
|
-
declare function WorkspaceExecutionFile({
|
|
86
|
-
fallback,
|
|
87
|
-
path,
|
|
88
|
-
source,
|
|
89
|
-
...props
|
|
90
|
-
}: WorkspaceExecutionFileProps & {
|
|
81
|
+
export declare function WorkspaceExecutionFile({ fallback, path, source, ...props }: WorkspaceExecutionFileProps & {
|
|
91
82
|
ref?: React.Ref<HTMLDivElement>;
|
|
92
83
|
}): string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null;
|
|
93
84
|
/**
|
|
94
85
|
* Workbench library. Same card as the inline placement. A query failure with
|
|
95
86
|
* nothing loaded renders as a quiet inline error, never as an empty library.
|
|
96
87
|
*/
|
|
97
|
-
declare function WorkspaceExecutionsPanel({
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
ref,
|
|
101
|
-
...props
|
|
102
|
-
}: WorkspaceExecutionsPanelProps & {
|
|
103
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLElement>;
|
|
88
|
+
export declare function WorkspaceExecutionsPanel({ className, source, ref, ...props }: WorkspaceExecutionsPanelProps & {
|
|
89
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
90
|
+
ref?: React.Ref<HTMLElement>;
|
|
104
91
|
}): React.JSX.Element;
|
|
105
|
-
//#endregion
|
|
106
|
-
export { WorkspaceExecution, WorkspaceExecutionCard, WorkspaceExecutionCardProps, WorkspaceExecutionFile, WorkspaceExecutionFileProps, WorkspaceExecutionOutcome, WorkspaceExecutionParam, WorkspaceExecutionParamType, WorkspaceExecutionRun, WorkspaceExecutionRunView, WorkspaceExecutionSource, WorkspaceExecutionView, WorkspaceExecutionViewOutcome, WorkspaceExecutionsPanel, WorkspaceExecutionsPanelProps };
|
|
92
|
+
//#endregion
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, S as FileIcon, Z as TerminalIcon, d as CheckIcon, z as PlayIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, S as FileIcon, Z as TerminalIcon, d as CheckIcon, z as PlayIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import { a as formatErrorMessage, o as formatUnknownValue, r as firstLine } from "../../format-COCyV98Z.js";
|
|
6
4
|
import { Field } from "../foundations/Field.js";
|
|
7
5
|
import { Form } from "../foundations/Form.js";
|
|
6
|
+
import { IconButton } from "../foundations/IconButton.js";
|
|
7
|
+
import { a as formatErrorMessage, o as formatUnknownValue, r as firstLine } from "../../format-CWaZEp5o.js";
|
|
8
|
+
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
9
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
10
|
import { Input } from "../foundations/Input.js";
|
|
9
11
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
10
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
11
|
-
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
12
12
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
13
|
-
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, r as httpUrl, t as FaviconMark } from "../../workspace-assets-
|
|
13
|
+
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, r as httpUrl, t as FaviconMark } from "../../workspace-assets-C3QT6UlQ.js";
|
|
14
14
|
import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-97ZyVpZI.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { createElement } from "react";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-
|
|
2
|
-
import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-
|
|
3
|
-
import { b as WorkspaceState } from "../../Workspace-
|
|
1
|
+
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-Buo6gKj2.js";
|
|
2
|
+
import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-DM384Cn6.js";
|
|
3
|
+
import { b as WorkspaceState } from "../../Workspace-Cr-aGDfx.js";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
|
|
6
5
|
//#region src/components/agents-sdk/WorkspaceExplorer.d.ts
|
|
7
|
-
interface WorkspaceExplorerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
6
|
+
export interface WorkspaceExplorerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
8
7
|
/** Workspace state that owns the file tree, selection, loading, and refresh behavior. */
|
|
9
8
|
workspace: WorkspaceState;
|
|
10
9
|
/** Host-owned URL/history adapter shared by chat links and the file explorer. */
|
|
@@ -29,10 +28,8 @@ interface WorkspaceExplorerProps extends Omit<React.HTMLAttributes<HTMLDivElemen
|
|
|
29
28
|
* `WorkspaceFileView`. The host adapter owns URLs and history; the explorer
|
|
30
29
|
* only restores presentation state for stable navigation entry keys.
|
|
31
30
|
*/
|
|
32
|
-
declare function WorkspaceExplorer({
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
31
|
+
export declare function WorkspaceExplorer({ ...props }: WorkspaceExplorerProps & {
|
|
32
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
33
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
36
34
|
}): React.JSX.Element;
|
|
37
|
-
//#endregion
|
|
38
|
-
export { WorkspaceExplorer, WorkspaceExplorerProps };
|
|
35
|
+
//#endregion
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { C as FolderIcon } from "../../icons-
|
|
2
|
+
import { C as FolderIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
4
4
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
5
5
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
6
|
-
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-
|
|
6
|
+
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-BeFAXpbI.js";
|
|
7
7
|
import { WorkspaceNavigationRestorationBoundary, useRequiredWorkspaceNavigationRestoration } from "./WorkspaceNavigationRestoration.js";
|
|
8
8
|
import { WorkspaceBrowser } from "./WorkspaceBrowser.js";
|
|
9
|
-
import { t as WorkspaceFileView } from "../../WorkspaceFileView-
|
|
9
|
+
import { t as WorkspaceFileView } from "../../WorkspaceFileView-DCvGBsI1.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region src/components/agents-sdk/WorkspaceExplorer.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as isWorkspaceTextPath, a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as isWorkspaceSkillPath, h as isWorkspaceMediaPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMarkdownPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as inferWorkspaceMimeType, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename, v as parseWorkspaceSkill } from "../../WorkspaceFile-
|
|
1
|
+
import { _ as isWorkspaceTextPath, a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as isWorkspaceSkillPath, h as isWorkspaceMediaPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMarkdownPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as inferWorkspaceMimeType, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename, v as parseWorkspaceSkill } from "../../WorkspaceFile-DiwiJEwO.js";
|
|
2
2
|
export { WorkspaceFileAsset, WorkspaceFileAssetRequest, WorkspaceFileAssetResolver, WorkspaceFileState, WorkspaceMediaInfo, WorkspaceMediaKind, WorkspaceMediaTrack, WorkspaceMediaTrackKind, WorkspaceSkillDocument, getWorkspaceBasename, inferWorkspaceLanguage, inferWorkspaceMedia, inferWorkspaceMimeType, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, isWorkspaceTextPath, parseWorkspaceSkill };
|