@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 { i as WorkspaceFileState } from "../../WorkspaceFile-
|
|
1
|
+
import { i as WorkspaceFileState } from "../../WorkspaceFile-DiwiJEwO.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/WorkspaceFileView.d.ts
|
|
5
|
-
interface WorkspaceFileViewProps {
|
|
4
|
+
export interface WorkspaceFileViewProps {
|
|
6
5
|
/**
|
|
7
6
|
* Canvas previews join the surrounding document flow without a component
|
|
8
7
|
* frame, divider, or nested scrolling surface.
|
|
@@ -23,16 +22,5 @@ interface WorkspaceFileViewProps {
|
|
|
23
22
|
onRefresh: () => void;
|
|
24
23
|
}
|
|
25
24
|
/** Workspace file preview composed from CodeBlock and AppTopBar. */
|
|
26
|
-
declare function WorkspaceFileView({
|
|
27
|
-
|
|
28
|
-
file,
|
|
29
|
-
path,
|
|
30
|
-
isLoading,
|
|
31
|
-
isRefreshing,
|
|
32
|
-
leading,
|
|
33
|
-
actions,
|
|
34
|
-
showSkillIdentity,
|
|
35
|
-
onRefresh
|
|
36
|
-
}: WorkspaceFileViewProps): React.JSX.Element | null;
|
|
37
|
-
//#endregion
|
|
38
|
-
export { WorkspaceFileView, WorkspaceFileViewProps };
|
|
25
|
+
export declare function WorkspaceFileView({ appearance, file, path, isLoading, isRefreshing, leading, actions, showSkillIdentity, onRefresh }: WorkspaceFileViewProps): React.JSX.Element | null;
|
|
26
|
+
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WorkspaceFileView } from "../../WorkspaceFileView-
|
|
1
|
+
import { t as WorkspaceFileView } from "../../WorkspaceFileView-DCvGBsI1.js";
|
|
2
2
|
export { WorkspaceFileView };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/agents-sdk/WorkspaceHeader.d.ts
|
|
4
|
-
interface WorkspaceHeaderProps {
|
|
3
|
+
export interface WorkspaceHeaderProps {
|
|
5
4
|
title?: React.ReactNode;
|
|
6
5
|
fileCount?: number;
|
|
7
6
|
path?: string;
|
|
@@ -13,15 +12,5 @@ interface WorkspaceHeaderProps {
|
|
|
13
12
|
onRefresh: () => void;
|
|
14
13
|
}
|
|
15
14
|
/** Shared workspace app bar for browser and file-preview surfaces. */
|
|
16
|
-
declare function WorkspaceHeader({
|
|
17
|
-
|
|
18
|
-
fileCount,
|
|
19
|
-
path,
|
|
20
|
-
leading,
|
|
21
|
-
actions,
|
|
22
|
-
copyAction,
|
|
23
|
-
isRefreshing,
|
|
24
|
-
onRefresh
|
|
25
|
-
}: WorkspaceHeaderProps): React.JSX.Element;
|
|
26
|
-
//#endregion
|
|
27
|
-
export { WorkspaceHeader, WorkspaceHeaderProps };
|
|
15
|
+
export declare function WorkspaceHeader({ title, fileCount, path, leading, actions, copyAction, isRefreshing, onRefresh }: WorkspaceHeaderProps): React.JSX.Element;
|
|
16
|
+
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../../WorkspaceLink-
|
|
1
|
+
import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../../WorkspaceLink-Buo6gKj2.js";
|
|
2
2
|
export { ResolveWorkspaceLinkOptions, WorkspaceDestination, WorkspaceExternalDestination, WorkspaceFileLink, WorkspaceFileLinkProps, WorkspaceInvalidDestination, WorkspaceLinkBase, WorkspaceLinkResolution, WorkspaceNavigationAdapter, WorkspaceNavigationEntry, WorkspaceNavigationProvider, WorkspaceNavigationProviderProps, resolveWorkspaceLink };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../../WorkspaceLink-
|
|
1
|
+
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../../WorkspaceLink-BeFAXpbI.js";
|
|
2
2
|
export { WorkspaceFileLink, WorkspaceNavigationProvider, resolveWorkspaceLink };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as WorkspaceFileAssetResolver } from "../../WorkspaceFile-
|
|
2
|
-
import { y as WorkspaceSource } from "../../Workspace-
|
|
1
|
+
import { r as WorkspaceFileAssetResolver } from "../../WorkspaceFile-DiwiJEwO.js";
|
|
2
|
+
import { y as WorkspaceSource } from "../../Workspace-Cr-aGDfx.js";
|
|
3
3
|
import { QueryClient } from "@tanstack/react-query";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/WorkspaceLive.d.ts
|
|
6
|
-
type WorkspaceChange = {
|
|
5
|
+
export type WorkspaceChange = {
|
|
7
6
|
type: "changed";
|
|
8
7
|
path: string;
|
|
9
8
|
movedFrom?: string;
|
|
@@ -11,12 +10,12 @@ type WorkspaceChange = {
|
|
|
11
10
|
type: "unknown";
|
|
12
11
|
};
|
|
13
12
|
/** Host adapter for a native workspace observer. */
|
|
14
|
-
interface WorkspaceChangeSource {
|
|
13
|
+
export interface WorkspaceChangeSource {
|
|
15
14
|
start?(): void | Promise<void>;
|
|
16
15
|
subscribe(listener: (change: WorkspaceChange) => void): () => void;
|
|
17
16
|
}
|
|
18
|
-
declare function invalidateWorkspaceDirectories(queryClient: QueryClient, sourceKey: string, directories: Iterable<string>, root: string): void;
|
|
19
|
-
interface UseWorkspaceLiveQueriesOptions {
|
|
17
|
+
export declare function invalidateWorkspaceDirectories(queryClient: QueryClient, sourceKey: string, directories: Iterable<string>, root: string): void;
|
|
18
|
+
export interface UseWorkspaceLiveQueriesOptions {
|
|
20
19
|
/** Native observer adapter. Omit for hosts without workspace observation. */
|
|
21
20
|
changes?: WorkspaceChangeSource;
|
|
22
21
|
sourceKey: string | undefined;
|
|
@@ -47,15 +46,5 @@ interface UseWorkspaceLiveQueriesOptions {
|
|
|
47
46
|
* stable query keys. Hosts only supply events; neither layer adds another
|
|
48
47
|
* watcher.
|
|
49
48
|
*/
|
|
50
|
-
declare function useWorkspaceLiveQueries({
|
|
51
|
-
|
|
52
|
-
maxInlineAssetBytes,
|
|
53
|
-
resolveFileAsset,
|
|
54
|
-
selectedPath,
|
|
55
|
-
source,
|
|
56
|
-
sourceKey,
|
|
57
|
-
root,
|
|
58
|
-
revision
|
|
59
|
-
}: UseWorkspaceLiveQueriesOptions): void;
|
|
60
|
-
//#endregion
|
|
61
|
-
export { UseWorkspaceLiveQueriesOptions, WorkspaceChange, WorkspaceChangeSource, invalidateWorkspaceDirectories, useWorkspaceLiveQueries };
|
|
49
|
+
export declare function useWorkspaceLiveQueries({ changes, maxInlineAssetBytes, resolveFileAsset, selectedPath, source, sourceKey, root, revision }: UseWorkspaceLiveQueriesOptions): void;
|
|
50
|
+
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorkspaceMessageResponseProps, i as WorkspaceMessageResponse, n as WorkspaceFileRenderer, r as WorkspaceFileRendererProvider, t as WorkspaceFileRenderInput } from "../../WorkspaceMessageResponse-
|
|
1
|
+
import { a as WorkspaceMessageResponseProps, i as WorkspaceMessageResponse, n as WorkspaceFileRenderer, r as WorkspaceFileRendererProvider, t as WorkspaceFileRenderInput } from "../../WorkspaceMessageResponse-D8FGgIQU.js";
|
|
2
2
|
export { WorkspaceFileRenderInput, WorkspaceFileRenderer, WorkspaceFileRendererProvider, WorkspaceMessageResponse, WorkspaceMessageResponseProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-
|
|
1
|
+
import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-DnsdpaGU.js";
|
|
2
2
|
export { WorkspaceFileRendererProvider, WorkspaceMessageResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as WorkspaceMountPermission, n as WorkspaceMountManager, r as WorkspaceMountManagerProps, t as WorkspaceMountItem } from "../../WorkspaceMountManager-
|
|
1
|
+
import { i as WorkspaceMountPermission, n as WorkspaceMountManager, r as WorkspaceMountManagerProps, t as WorkspaceMountItem } from "../../WorkspaceMountManager-DM384Cn6.js";
|
|
2
2
|
export { WorkspaceMountItem, WorkspaceMountManager, WorkspaceMountManagerProps, WorkspaceMountPermission };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../foundations/Button.js";
|
|
2
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
3
2
|
import { Card, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
4
3
|
import { Popover } from "../foundations/Popover.js";
|
|
4
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/agents-sdk/WorkspaceMountManager.tsx
|
|
@@ -33,9 +33,10 @@ function WorkspaceMountManager({ mounts, adding = false, busyMountId = null, err
|
|
|
33
33
|
mounts.length === 0 ? /* @__PURE__ */ jsx(EmptyState, { description: "No local folders attached." }) : /* @__PURE__ */ jsx("ul", {
|
|
34
34
|
className: "workspace-mount-manager__list sigvelo-stack-list",
|
|
35
35
|
children: mounts.map((mount) => {
|
|
36
|
+
const mountBusy = busyMountId === mount.id;
|
|
36
37
|
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Card, {
|
|
37
38
|
size: "sm",
|
|
38
|
-
"aria-busy":
|
|
39
|
+
"aria-busy": mountBusy || void 0,
|
|
39
40
|
children: [/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, {
|
|
40
41
|
className: "workspace-mount-manager__path",
|
|
41
42
|
children: /* @__PURE__ */ jsx("code", { children: mount.path })
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { n as WorkspaceDestination } from "../../WorkspaceLink-
|
|
1
|
+
import { n as WorkspaceDestination } from "../../WorkspaceLink-Buo6gKj2.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/WorkspaceNavigationRestoration.d.ts
|
|
5
|
-
interface WorkspaceNavigationRestoration {
|
|
4
|
+
export interface WorkspaceNavigationRestoration {
|
|
6
5
|
focusDestination?: WorkspaceDestination;
|
|
7
6
|
focusScope?: string;
|
|
8
7
|
scrollTop?: number;
|
|
9
8
|
}
|
|
10
|
-
interface WorkspaceNavigationRestorationContextValue {
|
|
9
|
+
export interface WorkspaceNavigationRestorationContextValue {
|
|
11
10
|
get(entryKey: string): WorkspaceNavigationRestoration | undefined;
|
|
12
11
|
recordFocus(entryKey: string, destination: WorkspaceDestination, scope?: string): void;
|
|
13
12
|
recordScroll(entryKey: string, scrollTop: number): void;
|
|
@@ -17,22 +16,15 @@ interface WorkspaceNavigationRestorationContextValue {
|
|
|
17
16
|
* This lets a full application share restoration between chat and files while
|
|
18
17
|
* keeping a standalone WorkspaceExplorer self-contained.
|
|
19
18
|
*/
|
|
20
|
-
declare function WorkspaceNavigationRestorationBoundary({
|
|
21
|
-
children
|
|
22
|
-
}: {
|
|
19
|
+
export declare function WorkspaceNavigationRestorationBoundary({ children }: {
|
|
23
20
|
children: React.ReactNode;
|
|
24
21
|
}): 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 | undefined;
|
|
25
22
|
/** Restores a link in a named surface, including when that surface renders asynchronously. */
|
|
26
|
-
declare function WorkspaceNavigationFocusRestorer({
|
|
27
|
-
entryKey,
|
|
28
|
-
rootRef,
|
|
29
|
-
scope
|
|
30
|
-
}: {
|
|
23
|
+
export declare function WorkspaceNavigationFocusRestorer({ entryKey, rootRef, scope }: {
|
|
31
24
|
entryKey: string;
|
|
32
25
|
rootRef: React.RefObject<HTMLElement | null>;
|
|
33
26
|
scope: string;
|
|
34
27
|
}): null;
|
|
35
|
-
declare function useWorkspaceNavigationRestoration(): WorkspaceNavigationRestorationContextValue | null;
|
|
36
|
-
declare function useRequiredWorkspaceNavigationRestoration(): WorkspaceNavigationRestorationContextValue;
|
|
37
|
-
//#endregion
|
|
38
|
-
export { WorkspaceNavigationFocusRestorer, WorkspaceNavigationRestoration, WorkspaceNavigationRestorationBoundary, WorkspaceNavigationRestorationContextValue, useRequiredWorkspaceNavigationRestoration, useWorkspaceNavigationRestoration };
|
|
28
|
+
export declare function useWorkspaceNavigationRestoration(): WorkspaceNavigationRestorationContextValue | null;
|
|
29
|
+
export declare function useRequiredWorkspaceNavigationRestoration(): WorkspaceNavigationRestorationContextValue;
|
|
30
|
+
//#endregion
|
|
@@ -1,14 +1,13 @@
|
|
|
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/WorkspaceProject.d.ts
|
|
6
|
-
type WorkspaceProjectThreadOrigin = "user" | "routine" | "messenger";
|
|
7
|
-
interface WorkspaceProjectFile {
|
|
5
|
+
export type WorkspaceProjectThreadOrigin = "user" | "routine" | "messenger";
|
|
6
|
+
export interface WorkspaceProjectFile {
|
|
8
7
|
path: string;
|
|
9
8
|
label: string;
|
|
10
9
|
}
|
|
11
|
-
type WorkspaceProjectSectionItem = {
|
|
10
|
+
export type WorkspaceProjectSectionItem = {
|
|
12
11
|
kind: "file";
|
|
13
12
|
path: string;
|
|
14
13
|
label: string;
|
|
@@ -20,18 +19,18 @@ type WorkspaceProjectSectionItem = {
|
|
|
20
19
|
kind: "text";
|
|
21
20
|
label: string;
|
|
22
21
|
};
|
|
23
|
-
interface WorkspaceProjectSection {
|
|
22
|
+
export interface WorkspaceProjectSection {
|
|
24
23
|
label: string;
|
|
25
24
|
items: readonly WorkspaceProjectSectionItem[];
|
|
26
25
|
}
|
|
27
|
-
interface WorkspaceProjectThread {
|
|
26
|
+
export interface WorkspaceProjectThread {
|
|
28
27
|
id: string;
|
|
29
28
|
title: string;
|
|
30
29
|
origin: WorkspaceProjectThreadOrigin;
|
|
31
30
|
/** Channel or origin mark. Messenger threads pass a brand favicon. */
|
|
32
31
|
icon?: React.ReactNode;
|
|
33
32
|
}
|
|
34
|
-
interface WorkspaceProject {
|
|
33
|
+
export interface WorkspaceProject {
|
|
35
34
|
/** Workspace path of PROJECT.md — directories are not addressable. */
|
|
36
35
|
path: string;
|
|
37
36
|
name: string;
|
|
@@ -46,77 +45,62 @@ interface WorkspaceProject {
|
|
|
46
45
|
type WorkspaceProjectOpenable = {
|
|
47
46
|
onOpen?: () => void;
|
|
48
47
|
};
|
|
49
|
-
type WorkspaceProjectFileView = WorkspaceProjectFile & WorkspaceProjectOpenable;
|
|
50
|
-
type WorkspaceProjectSectionItemView = (Extract<WorkspaceProjectSectionItem, {
|
|
48
|
+
export type WorkspaceProjectFileView = WorkspaceProjectFile & WorkspaceProjectOpenable;
|
|
49
|
+
export type WorkspaceProjectSectionItemView = (Extract<WorkspaceProjectSectionItem, {
|
|
51
50
|
kind: "file";
|
|
52
51
|
}> & WorkspaceProjectOpenable) | Exclude<WorkspaceProjectSectionItem, {
|
|
53
52
|
kind: "file";
|
|
54
53
|
}>;
|
|
55
|
-
interface WorkspaceProjectSectionView {
|
|
54
|
+
export interface WorkspaceProjectSectionView {
|
|
56
55
|
label: string;
|
|
57
56
|
items: readonly WorkspaceProjectSectionItemView[];
|
|
58
57
|
}
|
|
59
|
-
type WorkspaceProjectThreadView = WorkspaceProjectThread & WorkspaceProjectOpenable;
|
|
58
|
+
export type WorkspaceProjectThreadView = WorkspaceProjectThread & WorkspaceProjectOpenable;
|
|
60
59
|
/** Data-only project projection hydrated with card actions outside Query. */
|
|
61
|
-
interface WorkspaceProjectView extends Omit<WorkspaceProject, "files" | "sections" | "threads"> {
|
|
60
|
+
export interface WorkspaceProjectView extends Omit<WorkspaceProject, "files" | "sections" | "threads"> {
|
|
62
61
|
files?: readonly WorkspaceProjectFileView[];
|
|
63
62
|
sections?: readonly WorkspaceProjectSectionView[];
|
|
64
63
|
threads?: readonly WorkspaceProjectThreadView[];
|
|
65
64
|
onOpen?: () => void;
|
|
66
65
|
onDelete?: () => void | Promise<void>;
|
|
67
66
|
}
|
|
68
|
-
interface WorkspaceProjectSource {
|
|
67
|
+
export interface WorkspaceProjectSource {
|
|
69
68
|
queryOptions: WorkspaceConceptQueryOptions<readonly WorkspaceProject[]>;
|
|
70
69
|
onOpenFile?: (path: string) => void;
|
|
71
70
|
onOpenThread?: (id: string) => void;
|
|
72
71
|
/** Deletes PROJECT.md. The host decides whether the folder goes with it. */
|
|
73
72
|
onDelete?: (path: string) => void | Promise<void>;
|
|
74
73
|
}
|
|
75
|
-
interface WorkspaceProjectCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
|
|
74
|
+
export interface WorkspaceProjectCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
|
|
76
75
|
project: WorkspaceProjectView;
|
|
77
76
|
}
|
|
78
|
-
interface WorkspaceProjectFileCardProps extends Omit<WorkspaceProjectCardProps, "project"> {
|
|
77
|
+
export interface WorkspaceProjectFileCardProps extends Omit<WorkspaceProjectCardProps, "project"> {
|
|
79
78
|
path: string;
|
|
80
79
|
source: WorkspaceProjectSource;
|
|
81
80
|
fallback?: React.ReactNode;
|
|
82
81
|
}
|
|
83
|
-
interface WorkspaceProjectsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
82
|
+
export interface WorkspaceProjectsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
84
83
|
/** Shared workspace query and host actions, also used by inline project cards. */
|
|
85
84
|
source: WorkspaceProjectSource;
|
|
86
85
|
}
|
|
87
|
-
declare function WorkspaceProjectCard({
|
|
88
|
-
className,
|
|
89
|
-
project,
|
|
90
|
-
ref,
|
|
91
|
-
...props
|
|
92
|
-
}: WorkspaceProjectCardProps & {
|
|
86
|
+
export declare function WorkspaceProjectCard({ className, project, ref, ...props }: WorkspaceProjectCardProps & {
|
|
93
87
|
ref?: React.Ref<HTMLDivElement>;
|
|
94
88
|
}): React.JSX.Element;
|
|
95
89
|
/**
|
|
96
90
|
* Compact inline card for one queried PROJECT.md. Identity plus contents — no status.
|
|
97
91
|
*/
|
|
98
|
-
declare function WorkspaceProjectFileCard({
|
|
99
|
-
fallback,
|
|
100
|
-
path,
|
|
101
|
-
source,
|
|
102
|
-
...props
|
|
103
|
-
}: WorkspaceProjectFileCardProps & {
|
|
92
|
+
export declare function WorkspaceProjectFileCard({ fallback, path, source, ...props }: WorkspaceProjectFileCardProps & {
|
|
104
93
|
ref?: React.Ref<HTMLDivElement>;
|
|
105
94
|
}): 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;
|
|
106
95
|
/** Design-system-owned project query shared by panels, cards, and composer context. */
|
|
107
|
-
declare function useWorkspaceProjects(source: WorkspaceProjectSource): readonly WorkspaceProject[];
|
|
96
|
+
export declare function useWorkspaceProjects(source: WorkspaceProjectSource): readonly WorkspaceProject[];
|
|
108
97
|
/**
|
|
109
98
|
* Workbench list of queried projects. Same card as the inline placement. A
|
|
110
99
|
* query failure with nothing loaded renders as a quiet inline error, never as
|
|
111
100
|
* an empty library.
|
|
112
101
|
*/
|
|
113
|
-
declare function WorkspaceProjectsPanel({
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
ref,
|
|
117
|
-
...props
|
|
118
|
-
}: WorkspaceProjectsPanelProps & {
|
|
119
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLElement>;
|
|
102
|
+
export declare function WorkspaceProjectsPanel({ className, source, ref, ...props }: WorkspaceProjectsPanelProps & {
|
|
103
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
104
|
+
ref?: React.Ref<HTMLElement>;
|
|
120
105
|
}): React.JSX.Element;
|
|
121
|
-
//#endregion
|
|
122
|
-
export { WorkspaceProject, WorkspaceProjectCard, WorkspaceProjectCardProps, WorkspaceProjectFile, WorkspaceProjectFileCard, WorkspaceProjectFileCardProps, WorkspaceProjectFileView, WorkspaceProjectSection, WorkspaceProjectSectionItem, WorkspaceProjectSectionItemView, WorkspaceProjectSectionView, WorkspaceProjectSource, WorkspaceProjectThread, WorkspaceProjectThreadOrigin, WorkspaceProjectThreadView, WorkspaceProjectView, WorkspaceProjectsPanel, WorkspaceProjectsPanelProps, useWorkspaceProjects };
|
|
106
|
+
//#endregion
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { $ as UserIcon, C as FolderIcon, D as LinkIcon, K as SpinnerIcon, S as FileIcon, j as MessageSquareIcon, u as CalendarIcon } from "../../icons-
|
|
2
|
+
import { $ as UserIcon, C as FolderIcon, D as LinkIcon, K as SpinnerIcon, S as FileIcon, j as MessageSquareIcon, u as CalendarIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import { a as formatErrorMessage } from "../../format-
|
|
6
|
-
import {
|
|
5
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
6
|
+
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
7
7
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
8
9
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
9
|
-
import {
|
|
10
|
-
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-Bg7XhPsk.js";
|
|
10
|
+
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-C3QT6UlQ.js";
|
|
11
11
|
import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-97ZyVpZI.js";
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CardProps } from "../foundations/Card.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/WorkspaceUserScript.d.ts
|
|
5
|
-
interface WorkspaceUserScript {
|
|
4
|
+
export interface WorkspaceUserScript {
|
|
6
5
|
/** Workspace path of the `.user.js` file. */
|
|
7
6
|
path: string;
|
|
8
7
|
name: string;
|
|
@@ -16,32 +15,22 @@ interface WorkspaceUserScript {
|
|
|
16
15
|
onOpen?: () => void;
|
|
17
16
|
onDelete?: () => void | Promise<void>;
|
|
18
17
|
}
|
|
19
|
-
interface WorkspaceUserScriptCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
|
|
18
|
+
export interface WorkspaceUserScriptCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
|
|
20
19
|
script: WorkspaceUserScript;
|
|
21
20
|
}
|
|
22
|
-
interface WorkspaceUserScriptsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
21
|
+
export interface WorkspaceUserScriptsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
23
22
|
/** Projected user scripts to list; an empty list renders the empty state. */
|
|
24
23
|
scripts: readonly WorkspaceUserScript[];
|
|
25
24
|
}
|
|
26
|
-
declare function WorkspaceUserScriptCard({
|
|
27
|
-
className,
|
|
28
|
-
script,
|
|
29
|
-
ref,
|
|
30
|
-
...props
|
|
31
|
-
}: WorkspaceUserScriptCardProps & {
|
|
25
|
+
export declare function WorkspaceUserScriptCard({ className, script, ref, ...props }: WorkspaceUserScriptCardProps & {
|
|
32
26
|
ref?: React.Ref<HTMLDivElement>;
|
|
33
27
|
}): React.JSX.Element;
|
|
34
28
|
/**
|
|
35
29
|
* Workbench list of user-script cards, one per projected script. Renders a
|
|
36
30
|
* quiet empty state when nothing is projected.
|
|
37
31
|
*/
|
|
38
|
-
declare function WorkspaceUserScriptsPanel({
|
|
39
|
-
|
|
40
|
-
ref
|
|
41
|
-
scripts,
|
|
42
|
-
...props
|
|
43
|
-
}: WorkspaceUserScriptsPanelProps & {
|
|
44
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLElement>;
|
|
32
|
+
export declare function WorkspaceUserScriptsPanel({ className, ref, scripts, ...props }: WorkspaceUserScriptsPanelProps & {
|
|
33
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
34
|
+
ref?: React.Ref<HTMLElement>;
|
|
45
35
|
}): React.JSX.Element;
|
|
46
|
-
//#endregion
|
|
47
|
-
export { WorkspaceUserScript, WorkspaceUserScriptCard, WorkspaceUserScriptCardProps, WorkspaceUserScriptsPanel, WorkspaceUserScriptsPanelProps };
|
|
36
|
+
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { P as MonitorIcon, S as FileIcon, m as CodeIcon } from "../../icons-
|
|
2
|
+
import { P as MonitorIcon, S as FileIcon, m as CodeIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
5
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
6
4
|
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
5
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
6
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
7
7
|
import { Switch } from "../foundations/Switch.js";
|
|
8
|
-
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-
|
|
8
|
+
import { i as WorkspaceDeleteControl, n as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-C3QT6UlQ.js";
|
|
9
9
|
import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-97ZyVpZI.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -40,8 +40,9 @@ function sitesFromMatches(matches) {
|
|
|
40
40
|
}
|
|
41
41
|
function ScriptIcon({ script }) {
|
|
42
42
|
if (script.icon) return script.icon;
|
|
43
|
+
const href = script.matches.map((match) => matchAsUrl(match)?.href).find(Boolean);
|
|
43
44
|
return /* @__PURE__ */ jsx(FaviconMark, {
|
|
44
|
-
href
|
|
45
|
+
href,
|
|
45
46
|
fallback: /* @__PURE__ */ jsx(CodeIcon, {})
|
|
46
47
|
});
|
|
47
48
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/Activity.d.ts
|
|
5
|
-
interface ActivityProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {
|
|
4
|
+
export interface ActivityProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {
|
|
6
5
|
/** While true, the trigger action shimmers. */
|
|
7
6
|
isStreaming?: boolean;
|
|
8
7
|
/**
|
|
@@ -33,19 +32,11 @@ interface ActivityProps extends Omit<React.ComponentProps<typeof Collapsible.Roo
|
|
|
33
32
|
* </Activity>
|
|
34
33
|
* ```
|
|
35
34
|
*/
|
|
36
|
-
declare function Activity({
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
defaultOpen,
|
|
40
|
-
open: controlledOpen,
|
|
41
|
-
onOpenChange,
|
|
42
|
-
stateKey,
|
|
43
|
-
ref,
|
|
44
|
-
...props
|
|
45
|
-
}: ActivityProps & {
|
|
46
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
35
|
+
export declare function Activity({ className, isStreaming, defaultOpen, open: controlledOpen, onOpenChange, stateKey, ref, ...props }: ActivityProps & {
|
|
36
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
37
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
47
38
|
}): React.JSX.Element;
|
|
48
|
-
interface ActivityTriggerProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled" | "children"> {
|
|
39
|
+
export interface ActivityTriggerProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled" | "children"> {
|
|
49
40
|
/** The action being taken. Defaults to "Working…". */
|
|
50
41
|
action?: React.ReactNode;
|
|
51
42
|
/** What the action is being applied to, rendered quieter. See ActivityHeader. */
|
|
@@ -53,7 +44,7 @@ interface ActivityTriggerProps extends Omit<React.ComponentProps<typeof Collapsi
|
|
|
53
44
|
/** Optional leading icon for the header. */
|
|
54
45
|
icon?: React.ReactNode;
|
|
55
46
|
}
|
|
56
|
-
interface ActivityHeaderProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
47
|
+
export interface ActivityHeaderProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
57
48
|
/** The action being taken, e.g. "Reading" or "Ran". */
|
|
58
49
|
action?: React.ReactNode;
|
|
59
50
|
/**
|
|
@@ -75,43 +66,22 @@ interface ActivityHeaderProps extends Omit<React.HTMLAttributes<HTMLSpanElement>
|
|
|
75
66
|
* disclosure behavior so a transcript, app shell, or injected preview can
|
|
76
67
|
* provide the correct interaction semantics around the same visual.
|
|
77
68
|
*/
|
|
78
|
-
declare function ActivityHeader({
|
|
79
|
-
className,
|
|
80
|
-
detail,
|
|
81
|
-
icon,
|
|
82
|
-
isStreaming,
|
|
83
|
-
action,
|
|
84
|
-
trailing,
|
|
85
|
-
ref,
|
|
86
|
-
...props
|
|
87
|
-
}: ActivityHeaderProps & {
|
|
69
|
+
export declare function ActivityHeader({ className, detail, icon, isStreaming, action, trailing, ref, ...props }: ActivityHeaderProps & {
|
|
88
70
|
ref?: React.Ref<HTMLSpanElement>;
|
|
89
71
|
}): React.JSX.Element;
|
|
90
72
|
/**
|
|
91
73
|
* Clickable header line that toggles the activity log. The action shimmers
|
|
92
74
|
* while the parent Activity is streaming.
|
|
93
75
|
*/
|
|
94
|
-
declare function ActivityTrigger({
|
|
95
|
-
className,
|
|
96
|
-
action,
|
|
97
|
-
detail,
|
|
98
|
-
icon,
|
|
99
|
-
ref,
|
|
100
|
-
...props
|
|
101
|
-
}: ActivityTriggerProps & {
|
|
76
|
+
export declare function ActivityTrigger({ className, action, detail, icon, ref, ...props }: ActivityTriggerProps & {
|
|
102
77
|
ref?: React.Ref<HTMLButtonElement>;
|
|
103
78
|
}): React.JSX.Element;
|
|
104
|
-
interface ActivityContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "unstyled"> {}
|
|
79
|
+
export interface ActivityContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "unstyled"> {}
|
|
105
80
|
/** The collapsible log of ActivityItem children. */
|
|
106
|
-
declare function ActivityContent({
|
|
107
|
-
className,
|
|
108
|
-
children,
|
|
109
|
-
ref,
|
|
110
|
-
...props
|
|
111
|
-
}: ActivityContentProps & {
|
|
81
|
+
export declare function ActivityContent({ className, children, ref, ...props }: ActivityContentProps & {
|
|
112
82
|
ref?: React.Ref<HTMLDivElement>;
|
|
113
83
|
}): React.JSX.Element;
|
|
114
|
-
interface ActivityItemGroupProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {
|
|
84
|
+
export interface ActivityItemGroupProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {
|
|
115
85
|
/** The action the row reports, e.g. "Ran" or "Edited". */
|
|
116
86
|
action: React.ReactNode;
|
|
117
87
|
/** What the action applied to — a path, a command. Rendered muted. */
|
|
@@ -126,32 +96,15 @@ interface ActivityItemGroupProps extends Omit<React.ComponentProps<typeof Collap
|
|
|
126
96
|
* like a plain ActivityItem; expanding reveals chrome-free detail (shell
|
|
127
97
|
* output or a thought trace) flush inside the outer Activity log.
|
|
128
98
|
*/
|
|
129
|
-
declare function ActivityItemGroup({
|
|
130
|
-
className,
|
|
131
|
-
action,
|
|
132
|
-
detail,
|
|
133
|
-
icon,
|
|
134
|
-
children,
|
|
135
|
-
defaultOpen,
|
|
136
|
-
open: controlledOpen,
|
|
137
|
-
onOpenChange,
|
|
138
|
-
stateKey,
|
|
139
|
-
ref,
|
|
140
|
-
...props
|
|
141
|
-
}: ActivityItemGroupProps & {
|
|
99
|
+
export declare function ActivityItemGroup({ className, action, detail, icon, children, defaultOpen, open: controlledOpen, onOpenChange, stateKey, ref, ...props }: ActivityItemGroupProps & {
|
|
142
100
|
ref?: React.Ref<HTMLDivElement>;
|
|
143
101
|
}): React.JSX.Element;
|
|
144
|
-
interface ActivityTextProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
102
|
+
export interface ActivityTextProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
145
103
|
/** Scrollable plain-text detail inside an ActivityItemGroup. */
|
|
146
|
-
declare function ActivityText({
|
|
147
|
-
className,
|
|
148
|
-
children,
|
|
149
|
-
ref,
|
|
150
|
-
...props
|
|
151
|
-
}: ActivityTextProps & {
|
|
104
|
+
export declare function ActivityText({ className, children, ref, ...props }: ActivityTextProps & {
|
|
152
105
|
ref?: React.Ref<HTMLDivElement>;
|
|
153
106
|
}): React.JSX.Element;
|
|
154
|
-
interface ActivityItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
107
|
+
export interface ActivityItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
155
108
|
/** Optional leading icon for the row. */
|
|
156
109
|
icon?: React.ReactNode;
|
|
157
110
|
/** What the row's action applied to — a path, a command. Rendered muted. */
|
|
@@ -161,44 +114,22 @@ interface ActivityItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
161
114
|
* A single activity row — "Searched code", "Edited a file", etc. Free-form
|
|
162
115
|
* content; keep it to one line so the streaming peek reads well.
|
|
163
116
|
*/
|
|
164
|
-
declare function ActivityItem({
|
|
165
|
-
className,
|
|
166
|
-
icon,
|
|
167
|
-
detail,
|
|
168
|
-
children,
|
|
169
|
-
ref,
|
|
170
|
-
...props
|
|
171
|
-
}: ActivityItemProps & {
|
|
117
|
+
export declare function ActivityItem({ className, icon, detail, children, ref, ...props }: ActivityItemProps & {
|
|
172
118
|
ref?: React.Ref<HTMLDivElement>;
|
|
173
119
|
}): React.JSX.Element;
|
|
174
|
-
interface ActivityOutputProps extends React.HTMLAttributes<HTMLPreElement> {}
|
|
120
|
+
export interface ActivityOutputProps extends React.HTMLAttributes<HTMLPreElement> {}
|
|
175
121
|
/** Scrollable monospaced output inside an ActivityPanel. */
|
|
176
|
-
declare function ActivityOutput({
|
|
177
|
-
className,
|
|
178
|
-
children,
|
|
179
|
-
ref,
|
|
180
|
-
...props
|
|
181
|
-
}: ActivityOutputProps & {
|
|
122
|
+
export declare function ActivityOutput({ className, children, ref, ...props }: ActivityOutputProps & {
|
|
182
123
|
ref?: React.Ref<HTMLPreElement>;
|
|
183
124
|
}): React.JSX.Element;
|
|
184
|
-
interface ActivityPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
125
|
+
export interface ActivityPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
185
126
|
label: React.ReactNode;
|
|
186
127
|
text?: string;
|
|
187
128
|
status?: React.ReactNode;
|
|
188
129
|
error?: boolean;
|
|
189
130
|
}
|
|
190
131
|
/** Quiet detail panel for tool output inside an ActivityItemGroup. */
|
|
191
|
-
declare function ActivityPanel({
|
|
192
|
-
className,
|
|
193
|
-
label,
|
|
194
|
-
text,
|
|
195
|
-
status,
|
|
196
|
-
error,
|
|
197
|
-
children,
|
|
198
|
-
ref,
|
|
199
|
-
...props
|
|
200
|
-
}: ActivityPanelProps & {
|
|
132
|
+
export declare function ActivityPanel({ className, label, text, status, error, children, ref, ...props }: ActivityPanelProps & {
|
|
201
133
|
ref?: React.Ref<HTMLDivElement>;
|
|
202
134
|
}): React.JSX.Element;
|
|
203
|
-
//#endregion
|
|
204
|
-
export { Activity, ActivityContent, ActivityContentProps, ActivityHeader, ActivityHeaderProps, ActivityItem, ActivityItemGroup, ActivityItemGroupProps, ActivityItemProps, ActivityOutput, ActivityOutputProps, ActivityPanel, ActivityPanelProps, ActivityProps, ActivityText, ActivityTextProps, ActivityTrigger, ActivityTriggerProps };
|
|
135
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
4
3
|
import { useExpansionState } from "./ExpansionState.js";
|
|
4
|
+
import { p as ChevronRightIcon } from "../../icons-CeGfXO21.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Activity.tsx
|