@mcp-b/react-components 0.56.0 → 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/{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-okaLnS5j.js → FileTree-D61EeWRU.js} +0 -1
- 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/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/{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-DQDWUpAH.js → WorkspaceFileView-DCvGBsI1.js} +5 -4
- 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/AgentChat.d.ts +41 -89
- package/dist/components/agents-sdk/AgentChat.js +12 -15
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.d.ts +5 -13
- package/dist/components/agents-sdk/AgentEvent.js +3 -3
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +12 -24
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +9 -8
- package/dist/components/agents-sdk/BrowserReplay.d.ts +5 -12
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +4 -6
- 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 +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +12 -11
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
- package/dist/components/agents-sdk/EmployeeSchedules.js +4 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
- package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
- package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- 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 +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +13 -10
- package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +3 -11
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +46 -134
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -7
- 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 +1 -1
- 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/SubagentRunSelector.d.ts +6 -16
- 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 +10 -7
- 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 +1 -1
- 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/ThinkExecutionWorkbench.d.ts +20 -57
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -2
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +10 -30
- package/dist/components/agents-sdk/ThinkFullApp.js +1 -4
- 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/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 +1 -1
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +4 -15
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +8 -16
- package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +4 -14
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +12 -9
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +3 -10
- 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 +2 -2
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +18 -32
- package/dist/components/agents-sdk/WorkspaceExecution.js +3 -3
- 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/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 +2 -1
- 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 +2 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceUserScript.js +3 -2
- package/dist/components/ai-sdk/Activity.d.ts +21 -90
- 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 +11 -10
- 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 +1 -1
- package/dist/components/ai-sdk/Artifact.d.ts +23 -73
- package/dist/components/ai-sdk/ChainOfThought.d.ts +19 -62
- package/dist/components/ai-sdk/Checkpoint.d.ts +13 -40
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/ComposerLink.d.ts +6 -17
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +20 -60
- package/dist/components/ai-sdk/Context.d.ts +27 -65
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +16 -50
- 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 +1 -1
- 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/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +1 -1
- package/dist/components/ai-sdk/MessageScroller.d.ts +14 -42
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/Plan.d.ts +32 -95
- package/dist/components/ai-sdk/Plan.js +3 -2
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +1 -1
- 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/Reasoning.d.ts +10 -32
- package/dist/components/ai-sdk/Sources.d.ts +11 -35
- package/dist/components/ai-sdk/Task.d.ts +13 -41
- 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/CodexModelSelector.d.ts +5 -22
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.d.ts +5 -10
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- 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/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/Combobox.d.ts +13 -59
- package/dist/components/foundations/ContextMenu.d.ts +31 -93
- package/dist/components/foundations/ContextMenu.js +2 -1
- 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 +4 -2
- 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/Select.d.ts +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/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/Toggle.d.ts +7 -18
- package/dist/components/foundations/Toggle.js +5 -4
- package/dist/components/foundations/ToggleGroup.d.ts +12 -27
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/Toolbar.d.ts +1 -1
- package/dist/components/foundations/Tooltip.d.ts +16 -43
- package/dist/components/foundations/TransitionSurface.d.ts +6 -12
- package/dist/components/foundations/icons.d.ts +1 -1
- package/dist/components/general-purpose/AccountSignInDialog.d.ts +3 -10
- 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 +2 -1
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +27 -93
- package/dist/components/general-purpose/FileTree.d.ts +15 -62
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/NotificationPrompt.d.ts +2 -7
- package/dist/components/general-purpose/Pricing.d.ts +10 -11
- package/dist/components/general-purpose/PricingBillingToggle.d.ts +3 -11
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingConfirmationDialog.d.ts +3 -13
- package/dist/components/general-purpose/PricingFAQ.d.ts +3 -9
- package/dist/components/general-purpose/PricingPage.d.ts +3 -30
- package/dist/components/general-purpose/PricingPage.js +2 -1
- package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -12
- package/dist/components/general-purpose/PricingUsageCalculator.d.ts +3 -11
- package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
- 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 +1 -1
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +5 -13
- package/dist/components/general-purpose/SettingsFormDialog.js +1 -1
- package/dist/components/general-purpose/SetupChecklist.d.ts +6 -18
- 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/TestResults.d.ts +39 -137
- package/dist/components/general-purpose/TestResults.js +6 -5
- 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/nanites/AgentConnection.d.ts +11 -35
- package/dist/components/nanites/AgentToolDetail.d.ts +8 -27
- package/dist/components/nanites/AgentToolDetail.js +9 -8
- 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/{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/agent-chat.css +30 -35
- package/dist/styles/app-icon.css +1 -2
- package/dist/styles/app-top-bar.css +2 -2
- package/dist/styles/base.css +19 -10
- package/dist/styles/brand-loading.css +14 -0
- package/dist/styles/brand.test.ts +21 -0
- package/dist/styles/browser-replay.css +2 -2
- package/dist/styles/button.css +0 -2
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/composition-motion.css +13 -3
- package/dist/styles/github-motion-mark.css +2 -2
- package/dist/styles/recipes.css +19 -19
- package/dist/styles/responsive-sidebar-shell.css +11 -1
- package/dist/styles/search-field.css +1 -1
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/think-routine.css +0 -2
- package/dist/styles/think-thread-picker.css +18 -5
- package/dist/styles/toggle-group.css +2 -2
- 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/package.json +41 -41
- package/dist/McpConnectorForm--HB0MEGC.d.ts +0 -39
- package/dist/icons-CCZGYUwU.d.ts +0 -299
- package/dist/{ManagerOffice-D4L_xO4i.js → ManagerOffice-CJwBAEMv.js} +2 -2
- package/dist/{workspace-assets-wW_lQLYK.js → workspace-assets-C3QT6UlQ.js} +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, R as PencilIcon,
|
|
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
6
|
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
7
7
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
8
|
-
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
9
8
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
9
|
+
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
10
10
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
11
11
|
import { SearchField } from "../foundations/SearchField.js";
|
|
12
12
|
import * as React from "react";
|
|
@@ -91,7 +91,10 @@ function ThinkThreadStatusIndicators({ summary, className }) {
|
|
|
91
91
|
summary.attention ? /* @__PURE__ */ jsxs("span", {
|
|
92
92
|
className: "think-thread-status-indicators__item",
|
|
93
93
|
"data-status": "attention",
|
|
94
|
-
children: [/* @__PURE__ */ jsx(
|
|
94
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
95
|
+
className: "think-thread-status-dot",
|
|
96
|
+
"aria-hidden": "true"
|
|
97
|
+
}), /* @__PURE__ */ jsx("span", { children: summary.attention })]
|
|
95
98
|
}) : null,
|
|
96
99
|
summary.failed ? /* @__PURE__ */ jsxs("span", {
|
|
97
100
|
className: "think-thread-status-indicators__item",
|
|
@@ -167,10 +170,7 @@ function ThinkThreadPicker({ threads, renderThreadLink, createThreadLink, onSele
|
|
|
167
170
|
className: "think-thread-picker__title sigvelo-truncate",
|
|
168
171
|
children: title
|
|
169
172
|
}),
|
|
170
|
-
/* @__PURE__ */ jsx(ThinkThreadStatusIndicators, {
|
|
171
|
-
summary: statusSummary,
|
|
172
|
-
className: "sigvelo-visually-hidden"
|
|
173
|
-
}),
|
|
173
|
+
/* @__PURE__ */ jsx(ThinkThreadStatusIndicators, { summary: statusSummary }),
|
|
174
174
|
createThreadLink ? /* @__PURE__ */ jsxs(Tooltip.Root, { children: [/* @__PURE__ */ jsx(Tooltip.Trigger, {
|
|
175
175
|
render: /* @__PURE__ */ jsx(LinkButton, {
|
|
176
176
|
ref: createButtonRef,
|
|
@@ -245,7 +245,10 @@ function ThinkThreadPicker({ threads, renderThreadLink, createThreadLink, onSele
|
|
|
245
245
|
role: "img",
|
|
246
246
|
"aria-label": statusLabel,
|
|
247
247
|
title: statusLabel,
|
|
248
|
-
children: busy ? /* @__PURE__ */ jsx(SpinnerIcon, {}) : /* @__PURE__ */ jsx(
|
|
248
|
+
children: busy ? /* @__PURE__ */ jsx(SpinnerIcon, {}) : /* @__PURE__ */ jsx("span", {
|
|
249
|
+
className: "think-thread-status-dot",
|
|
250
|
+
"aria-hidden": "true"
|
|
251
|
+
})
|
|
249
252
|
}) : timestamp?.date ? /* @__PURE__ */ jsx("time", {
|
|
250
253
|
className: "think-thread-picker__thread-time",
|
|
251
254
|
dateTime: timestamp.date.toISOString(),
|
|
@@ -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,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
|
|
@@ -4,12 +4,12 @@ import { Button } from "../foundations/Button.js";
|
|
|
4
4
|
import { Field } from "../foundations/Field.js";
|
|
5
5
|
import { Textarea } from "../foundations/Textarea.js";
|
|
6
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
7
|
-
import { a as formatErrorMessage } from "../../format-
|
|
7
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
8
8
|
import { Card, CardAction, CardContent, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
9
9
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
10
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
|
|
@@ -4,13 +4,13 @@ import { Button } from "../foundations/Button.js";
|
|
|
4
4
|
import { Field } from "../foundations/Field.js";
|
|
5
5
|
import { Form } from "../foundations/Form.js";
|
|
6
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
7
|
-
import { a as formatErrorMessage, o as formatUnknownValue, r as firstLine } from "../../format-
|
|
7
|
+
import { a as formatErrorMessage, o as formatUnknownValue, r as firstLine } from "../../format-CWaZEp5o.js";
|
|
8
8
|
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
|
|
9
9
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
10
10
|
import { Input } from "../foundations/Input.js";
|
|
11
|
-
import { Checkbox } from "../foundations/Checkbox.js";
|
|
12
11
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
13
|
-
import {
|
|
12
|
+
import { Checkbox } from "../foundations/Checkbox.js";
|
|
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
|
|
@@ -2,11 +2,11 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
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
|
-
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-BYZG-V_I.js";
|
|
6
|
-
import { WorkspaceNavigationRestorationBoundary, useRequiredWorkspaceNavigationRestoration } from "./WorkspaceNavigationRestoration.js";
|
|
7
5
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
6
|
+
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-BeFAXpbI.js";
|
|
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 };
|
|
@@ -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 };
|