@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,20 +1,14 @@
|
|
|
1
|
-
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-
|
|
1
|
+
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-DniwGn96.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/SubagentRunDetails.d.ts
|
|
5
|
-
interface SubagentRunMetadataProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
4
|
+
export interface SubagentRunMetadataProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
6
5
|
run: AgentToolRunValue;
|
|
7
6
|
/** Product-owned milestone payloads stay whole; the default displays their names. */
|
|
8
7
|
renderMilestone?: (milestone: NonNullable<AgentToolRunValue["milestones"]>[number]) => React.ReactNode;
|
|
9
8
|
}
|
|
10
9
|
/** Full retained evidence, without a connection, transcript provider or second app bar. */
|
|
11
|
-
declare function SubagentRunMetadata({
|
|
12
|
-
|
|
13
|
-
renderMilestone,
|
|
14
|
-
className,
|
|
15
|
-
...props
|
|
16
|
-
}: SubagentRunMetadataProps): React.JSX.Element;
|
|
17
|
-
interface SubagentRunReportProps {
|
|
10
|
+
export declare function SubagentRunMetadata({ run, renderMilestone, className, ...props }: SubagentRunMetadataProps): React.JSX.Element;
|
|
11
|
+
export interface SubagentRunReportProps {
|
|
18
12
|
run: AgentToolRunValue;
|
|
19
13
|
renderMilestone?: SubagentRunMetadataProps["renderMilestone"];
|
|
20
14
|
className?: string;
|
|
@@ -25,41 +19,22 @@ interface SubagentRunReportProps {
|
|
|
25
19
|
* ExpansionStateProvider (the panel's `reportDisclosures` store), so a report
|
|
26
20
|
* collapsed once stays collapsed across drill-in navigation.
|
|
27
21
|
*/
|
|
28
|
-
declare function SubagentRunReport({
|
|
29
|
-
|
|
30
|
-
renderMilestone,
|
|
31
|
-
className
|
|
32
|
-
}: SubagentRunReportProps): React.JSX.Element;
|
|
33
|
-
interface SubagentRunProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
22
|
+
export declare function SubagentRunReport({ run, renderMilestone, className }: SubagentRunReportProps): React.JSX.Element;
|
|
23
|
+
export interface SubagentRunProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
34
24
|
/** Human-readable current action or phase. */
|
|
35
25
|
label: string;
|
|
36
26
|
/** Completion fraction from 0 to 1. Omit for indeterminate progress. */
|
|
37
27
|
value?: number;
|
|
38
28
|
}
|
|
39
|
-
declare function SubagentRunProgress({
|
|
40
|
-
className,
|
|
41
|
-
label,
|
|
42
|
-
value,
|
|
43
|
-
ref,
|
|
44
|
-
...props
|
|
45
|
-
}: SubagentRunProgressProps & {
|
|
29
|
+
export declare function SubagentRunProgress({ className, label, value, ref, ...props }: SubagentRunProgressProps & {
|
|
46
30
|
ref?: React.Ref<HTMLDivElement>;
|
|
47
31
|
}): React.JSX.Element;
|
|
48
|
-
interface SubagentRunMilestonesProps extends React.OlHTMLAttributes<HTMLOListElement> {}
|
|
49
|
-
declare function SubagentRunMilestones({
|
|
50
|
-
className,
|
|
51
|
-
ref,
|
|
52
|
-
...props
|
|
53
|
-
}: SubagentRunMilestonesProps & {
|
|
32
|
+
export interface SubagentRunMilestonesProps extends React.OlHTMLAttributes<HTMLOListElement> {}
|
|
33
|
+
export declare function SubagentRunMilestones({ className, ref, ...props }: SubagentRunMilestonesProps & {
|
|
54
34
|
ref?: React.Ref<HTMLOListElement>;
|
|
55
35
|
}): React.JSX.Element;
|
|
56
|
-
interface SubagentRunMilestoneProps extends React.LiHTMLAttributes<HTMLLIElement> {}
|
|
57
|
-
declare function SubagentRunMilestone({
|
|
58
|
-
className,
|
|
59
|
-
ref,
|
|
60
|
-
...props
|
|
61
|
-
}: SubagentRunMilestoneProps & {
|
|
36
|
+
export interface SubagentRunMilestoneProps extends React.LiHTMLAttributes<HTMLLIElement> {}
|
|
37
|
+
export declare function SubagentRunMilestone({ className, ref, ...props }: SubagentRunMilestoneProps & {
|
|
62
38
|
ref?: React.Ref<HTMLLIElement>;
|
|
63
39
|
}): React.JSX.Element;
|
|
64
|
-
//#endregion
|
|
65
|
-
export { SubagentRunMetadata, SubagentRunMetadataProps, SubagentRunMilestone, SubagentRunMilestoneProps, SubagentRunMilestones, SubagentRunMilestonesProps, SubagentRunProgress, SubagentRunProgressProps, SubagentRunReport, SubagentRunReportProps };
|
|
40
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
3
|
import { useExpansionState } from "../ai-sdk/ExpansionState.js";
|
|
4
|
-
import { n as clamp } from "../../format-
|
|
4
|
+
import { n as clamp } from "../../format-CWaZEp5o.js";
|
|
5
5
|
import { Progress } from "../foundations/Progress.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-
|
|
1
|
+
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-DniwGn96.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { AgentToolRunPart } from "agents/agent-tools";
|
|
4
|
-
|
|
5
4
|
//#region src/components/agents-sdk/SubagentRunIndicator.d.ts
|
|
6
|
-
declare function getSubagentRunName(run: AgentToolRunValue): string;
|
|
5
|
+
export declare function getSubagentRunName(run: AgentToolRunValue): string;
|
|
7
6
|
/**
|
|
8
7
|
* One line of status for a retained run, derived from upstream's whole
|
|
9
8
|
* record: the latest progress report or streamed text while it runs, the
|
|
@@ -12,18 +11,13 @@ declare function getSubagentRunName(run: AgentToolRunValue): string;
|
|
|
12
11
|
* source is cut in one place here, because a host's progress message, error,
|
|
13
12
|
* and report are all unbounded prose.
|
|
14
13
|
*/
|
|
15
|
-
declare function getSubagentRunStatusText(run: AgentToolRunValue): string;
|
|
16
|
-
interface SubagentRunIndicatorProps<Part extends AgentToolRunPart = AgentToolRunPart> extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
14
|
+
export declare function getSubagentRunStatusText(run: AgentToolRunValue): string;
|
|
15
|
+
export interface SubagentRunIndicatorProps<Part extends AgentToolRunPart = AgentToolRunPart> extends Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> {
|
|
17
16
|
/** Complete retained-run state returned by `useAgentToolEvents()`. */
|
|
18
17
|
run: AgentToolRunValue<Part>;
|
|
19
18
|
}
|
|
20
19
|
/** Decorative status mark derived from a whole upstream retained-run record. */
|
|
21
|
-
declare function SubagentRunIndicator<Part extends AgentToolRunPart = AgentToolRunPart>({
|
|
22
|
-
className,
|
|
23
|
-
run,
|
|
24
|
-
ref,
|
|
25
|
-
...props
|
|
26
|
-
}: SubagentRunIndicatorProps<Part> & {
|
|
20
|
+
export declare function SubagentRunIndicator<Part extends AgentToolRunPart = AgentToolRunPart>({ className, run, ref, ...props }: SubagentRunIndicatorProps<Part> & {
|
|
27
21
|
ref?: React.Ref<HTMLSpanElement>;
|
|
28
22
|
}): React.JSX.Element;
|
|
29
23
|
/**
|
|
@@ -31,10 +25,8 @@ declare function SubagentRunIndicator<Part extends AgentToolRunPart = AgentToolR
|
|
|
31
25
|
* name and live status line. The selector and drill-in bar share this so what a
|
|
32
26
|
* person clicks and what they land on read the same.
|
|
33
27
|
*/
|
|
34
|
-
declare function SubagentRunLabel<Part extends AgentToolRunPart = AgentToolRunPart>({
|
|
35
|
-
run
|
|
36
|
-
|
|
37
|
-
/** Complete retained-run state returned by `useAgentToolEvents()`. */run: AgentToolRunValue<Part>;
|
|
28
|
+
export declare function SubagentRunLabel<Part extends AgentToolRunPart = AgentToolRunPart>({ run }: {
|
|
29
|
+
/** Complete retained-run state returned by `useAgentToolEvents()`. */
|
|
30
|
+
run: AgentToolRunValue<Part>;
|
|
38
31
|
}): React.JSX.Element;
|
|
39
|
-
//#endregion
|
|
40
|
-
export { SubagentRunIndicator, SubagentRunIndicatorProps, SubagentRunLabel, getSubagentRunName, getSubagentRunStatusText };
|
|
32
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { J as StopIcon, K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
3
|
-
import { r as firstLine, s as textLines } from "../../format-
|
|
3
|
+
import { r as firstLine, s as textLines } from "../../format-CWaZEp5o.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/agents-sdk/SubagentRunIndicator.tsx
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-
|
|
1
|
+
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-DniwGn96.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { UIMessage } from "ai";
|
|
4
4
|
import { AgentToolRunPart } from "agents/agent-tools";
|
|
5
|
-
|
|
6
5
|
//#region src/components/agents-sdk/SubagentRunList.d.ts
|
|
7
|
-
interface SubagentRunListProps<Part extends AgentToolRunPart = UIMessage["parts"][number]> extends Omit<React.HTMLAttributes<HTMLUListElement>, "children" | "onSelect"> {
|
|
6
|
+
export interface SubagentRunListProps<Part extends AgentToolRunPart = UIMessage["parts"][number]> extends Omit<React.HTMLAttributes<HTMLUListElement>, "children" | "onSelect"> {
|
|
8
7
|
/** Complete retained runs returned by `useAgentToolEvents()`, in display order. */
|
|
9
8
|
runs: readonly AgentToolRunValue<Part>[];
|
|
10
9
|
/** App-authored TanStack Router Link for every retained run destination. */
|
|
@@ -12,15 +11,7 @@ interface SubagentRunListProps<Part extends AgentToolRunPart = UIMessage["parts"
|
|
|
12
11
|
selectedRunId?: string;
|
|
13
12
|
}
|
|
14
13
|
/** Semantic, wrapping list of retained-run selectors. */
|
|
15
|
-
declare function SubagentRunList<Part extends AgentToolRunPart = UIMessage["parts"][number]>({
|
|
16
|
-
className,
|
|
17
|
-
renderRunLink,
|
|
18
|
-
selectedRunId,
|
|
19
|
-
runs,
|
|
20
|
-
ref,
|
|
21
|
-
...props
|
|
22
|
-
}: SubagentRunListProps<Part> & {
|
|
14
|
+
export declare function SubagentRunList<Part extends AgentToolRunPart = UIMessage["parts"][number]>({ className, renderRunLink, selectedRunId, runs, ref, ...props }: SubagentRunListProps<Part> & {
|
|
23
15
|
ref?: React.Ref<HTMLUListElement>;
|
|
24
16
|
}): React.JSX.Element;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { SubagentRunList, SubagentRunListProps };
|
|
17
|
+
//#endregion
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { n as AgentToolRunValue, t as AgentToolEventsValue } from "../../AgentToolRunsContext-
|
|
1
|
+
import { n as AgentToolRunValue, t as AgentToolEventsValue } from "../../AgentToolRunsContext-DniwGn96.js";
|
|
2
2
|
import { ExpansionStore } from "../ai-sdk/ExpansionState.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { AgentToolRunPart } from "agents/agent-tools";
|
|
5
|
-
|
|
6
5
|
//#region src/components/agents-sdk/SubagentRunPanel.d.ts
|
|
7
6
|
interface CommandState {
|
|
8
7
|
pending: boolean;
|
|
9
8
|
error?: string;
|
|
10
9
|
}
|
|
11
|
-
interface SubagentRunPanelProviderProps {
|
|
10
|
+
export interface SubagentRunPanelProviderProps {
|
|
12
11
|
/** Conversation identity; changing it resets transient controls without remounting children. */
|
|
13
12
|
scopeKey: string;
|
|
14
13
|
/** The one upstream event-hook value from the parent connection. */
|
|
@@ -31,22 +30,11 @@ interface SubagentRunPanelValue extends Pick<SubagentRunPanelProviderProps, "age
|
|
|
31
30
|
stopRun: (runId: string) => Promise<void>;
|
|
32
31
|
}
|
|
33
32
|
/** A thread's transient controls/disclosure state; run facts remain in the SDK value. */
|
|
34
|
-
declare function SubagentRunPanelProvider({
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
selectedRunId,
|
|
38
|
-
parentRunning,
|
|
39
|
-
onStopCurrentWork,
|
|
40
|
-
onStopRun,
|
|
41
|
-
children
|
|
42
|
-
}: SubagentRunPanelProviderProps): React.JSX.Element;
|
|
43
|
-
declare function useOptionalSubagentRunPanel(): SubagentRunPanelValue | null;
|
|
44
|
-
interface SubagentRunPanelProps {
|
|
33
|
+
export declare function SubagentRunPanelProvider({ scopeKey, agentTools, selectedRunId, parentRunning, onStopCurrentWork, onStopRun, children }: SubagentRunPanelProviderProps): React.JSX.Element;
|
|
34
|
+
export declare function useOptionalSubagentRunPanel(): SubagentRunPanelValue | null;
|
|
35
|
+
export interface SubagentRunPanelProps {
|
|
45
36
|
renderRunLink: (run: AgentToolRunValue) => React.ReactElement;
|
|
46
37
|
}
|
|
47
38
|
/** Parent-scoped run queue composed beside queued prompts above the parent composer. */
|
|
48
|
-
declare function SubagentRunPanel({
|
|
49
|
-
|
|
50
|
-
}: SubagentRunPanelProps): React.JSX.Element | null;
|
|
51
|
-
//#endregion
|
|
52
|
-
export { SubagentRunPanel, SubagentRunPanelProps, SubagentRunPanelProvider, SubagentRunPanelProviderProps, useOptionalSubagentRunPanel };
|
|
39
|
+
export declare function SubagentRunPanel({ renderRunLink }: SubagentRunPanelProps): React.JSX.Element | null;
|
|
40
|
+
//#endregion
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-
|
|
1
|
+
import { n as AgentToolRunValue } from "../../AgentToolRunsContext-DniwGn96.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { UIMessage } from "ai";
|
|
4
4
|
import { AgentToolRunPart } from "agents/agent-tools";
|
|
5
|
-
|
|
6
5
|
//#region src/components/agents-sdk/SubagentRunSelector.d.ts
|
|
7
|
-
interface SubagentRunSelectorProps<Part extends AgentToolRunPart = UIMessage["parts"][number]> extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "children"> {
|
|
6
|
+
export interface SubagentRunSelectorProps<Part extends AgentToolRunPart = UIMessage["parts"][number]> extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "children"> {
|
|
8
7
|
/** Complete retained-run state returned by `useAgentToolEvents()`. */
|
|
9
8
|
run: AgentToolRunValue<Part>;
|
|
10
9
|
/** App-authored TanStack Router Link for this retained run. */
|
|
@@ -24,17 +23,8 @@ interface SubagentRunSelectorProps<Part extends AgentToolRunPart = UIMessage["pa
|
|
|
24
23
|
* this component never invents a second transcript or expands child content
|
|
25
24
|
* inline.
|
|
26
25
|
*/
|
|
27
|
-
declare function SubagentRunSelector<Part extends AgentToolRunPart = UIMessage["parts"][number]>({
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
run,
|
|
31
|
-
tooltip,
|
|
32
|
-
surface,
|
|
33
|
-
ref,
|
|
34
|
-
"aria-label": ariaLabel,
|
|
35
|
-
...props
|
|
36
|
-
}: SubagentRunSelectorProps<Part> & {
|
|
37
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLAnchorElement>;
|
|
26
|
+
export declare function SubagentRunSelector<Part extends AgentToolRunPart = UIMessage["parts"][number]>({ className, render, run, tooltip, surface, ref, "aria-label": ariaLabel, ...props }: SubagentRunSelectorProps<Part> & {
|
|
27
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
28
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
38
29
|
}): React.JSX.Element;
|
|
39
|
-
//#endregion
|
|
40
|
-
export { SubagentRunSelector, SubagentRunSelectorProps };
|
|
30
|
+
//#endregion
|
|
@@ -1,69 +1,50 @@
|
|
|
1
|
-
import { J as PromptInputMessage } from "../../PromptInput-
|
|
2
|
-
import { i as AgentMessageRenderPartContext } from "../../AgentMessageParts-
|
|
1
|
+
import { J as PromptInputMessage } from "../../PromptInput-C3adKglc.js";
|
|
2
|
+
import { i as AgentMessageRenderPartContext } from "../../AgentMessageParts-BtWwiE4f.js";
|
|
3
3
|
import { AgentChatMessageContentProps, AgentChatRootProps } from "./AgentChat.js";
|
|
4
|
-
import { o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, t as ThinkChatActivity } from "../../ThinkChatActivity-
|
|
5
|
-
import { i as ThinkChatValue } from "../../ThinkChatContext-
|
|
6
|
-
import { n as WorkspaceFileRenderer } from "../../WorkspaceMessageResponse-
|
|
4
|
+
import { o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, t as ThinkChatActivity } from "../../ThinkChatActivity-BkGjTY4r.js";
|
|
5
|
+
import { i as ThinkChatValue } from "../../ThinkChatContext-DQ6M2VlJ.js";
|
|
6
|
+
import { n as WorkspaceFileRenderer } from "../../WorkspaceMessageResponse-D8FGgIQU.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { ChatStatus, UIMessage } from "ai";
|
|
9
9
|
import { DataTag, UndefinedInitialDataOptions } from "@tanstack/react-query";
|
|
10
10
|
import { PendingApproval, Think } from "@cloudflare/think";
|
|
11
11
|
import { AgentStub } from "agents/client";
|
|
12
|
-
|
|
13
12
|
//#region src/components/agents-sdk/ThinkChat.d.ts
|
|
14
|
-
type ThinkPendingExecutionApprovalsQueryKey = readonly ["think", sourceKey: string, "pending-approvals"];
|
|
15
|
-
type ThinkPendingExecutionApprovalsQueryOptions = UndefinedInitialDataOptions<readonly PendingApproval[], Error, readonly PendingApproval[], ThinkPendingExecutionApprovalsQueryKey> & {
|
|
13
|
+
export type ThinkPendingExecutionApprovalsQueryKey = readonly ["think", sourceKey: string, "pending-approvals"];
|
|
14
|
+
export type ThinkPendingExecutionApprovalsQueryOptions = UndefinedInitialDataOptions<readonly PendingApproval[], Error, readonly PendingApproval[], ThinkPendingExecutionApprovalsQueryKey> & {
|
|
16
15
|
queryKey: DataTag<ThinkPendingExecutionApprovalsQueryKey, readonly PendingApproval[], Error>;
|
|
17
16
|
};
|
|
18
17
|
/** Shared pending-approval options for components and TanStack Router loaders. */
|
|
19
|
-
declare function thinkPendingExecutionApprovalsQueryOptions(stub: AgentStub<Think>, sourceKey: string): ThinkPendingExecutionApprovalsQueryOptions;
|
|
20
|
-
declare function useThinkPendingExecutionApprovals(stub: AgentStub<Think>, sourceKey: string, refreshSignal?: unknown, enabled?: boolean): {
|
|
18
|
+
export declare function thinkPendingExecutionApprovalsQueryOptions(stub: AgentStub<Think>, sourceKey: string): ThinkPendingExecutionApprovalsQueryOptions;
|
|
19
|
+
export declare function useThinkPendingExecutionApprovals(stub: AgentStub<Think>, sourceKey: string, refreshSignal?: unknown, enabled?: boolean): {
|
|
21
20
|
pendingApprovals: readonly PendingApproval[];
|
|
22
21
|
refreshPendingApprovals: () => Promise<void>;
|
|
23
22
|
};
|
|
24
23
|
/** The chat status shared by transcript, composer, and an external queue owner. */
|
|
25
|
-
declare function getThinkChatStatus<State = unknown, MessageT extends UIMessage = UIMessage>(chat: ThinkChatValue<State, MessageT>): ChatStatus;
|
|
26
|
-
interface ThinkChatRootProps<State = unknown, MessageT extends UIMessage = UIMessage> extends Omit<AgentChatRootProps<MessageT>, "messages" | "status" | "onSubmit" | "onStop" | "onRegenerate" | "onApprovalResponse"> {
|
|
24
|
+
export declare function getThinkChatStatus<State = unknown, MessageT extends UIMessage = UIMessage>(chat: ThinkChatValue<State, MessageT>): ChatStatus;
|
|
25
|
+
export interface ThinkChatRootProps<State = unknown, MessageT extends UIMessage = UIMessage> extends Omit<AgentChatRootProps<MessageT>, "messages" | "status" | "onSubmit" | "onStop" | "onRegenerate" | "onApprovalResponse"> {
|
|
27
26
|
/** Whole upstream hook value. Connections and subscriptions remain application-owned. */
|
|
28
27
|
chat: ThinkChatValue<State, MessageT>;
|
|
29
28
|
}
|
|
30
29
|
/** A single live adapter. It renders only explicit children and never opens another connection. */
|
|
31
|
-
declare function ThinkChatRoot<State = unknown, MessageT extends UIMessage = UIMessage>({
|
|
32
|
-
chat,
|
|
33
|
-
children,
|
|
34
|
-
...props
|
|
35
|
-
}: ThinkChatRootProps<State, MessageT>): React.JSX.Element;
|
|
30
|
+
export declare function ThinkChatRoot<State = unknown, MessageT extends UIMessage = UIMessage>({ chat, children, ...props }: ThinkChatRootProps<State, MessageT>): React.JSX.Element;
|
|
36
31
|
/** Normalize composer references for the upstream transport, also usable before a conversation exists. */
|
|
37
|
-
declare function normalizeThinkPrompt({
|
|
38
|
-
|
|
39
|
-
references
|
|
40
|
-
}: PromptInputMessage): string;
|
|
41
|
-
interface ThinkChatMessageContentProps<MessageT extends UIMessage = UIMessage> extends AgentChatMessageContentProps<MessageT>, ThinkChatActivityRendererOptions<MessageT> {
|
|
32
|
+
export declare function normalizeThinkPrompt({ text, references }: PromptInputMessage): string;
|
|
33
|
+
export interface ThinkChatMessageContentProps<MessageT extends UIMessage = UIMessage> extends AgentChatMessageContentProps<MessageT>, ThinkChatActivityRendererOptions<MessageT> {
|
|
42
34
|
renderWorkspaceFile?: WorkspaceFileRenderer;
|
|
43
35
|
}
|
|
44
36
|
/** Think activity/workspace rendering, independent of transcript layout and message actions. */
|
|
45
|
-
declare function ThinkChatMessageContent<MessageT extends UIMessage = UIMessage>({
|
|
46
|
-
|
|
47
|
-
renderPart,
|
|
48
|
-
excludeTools,
|
|
49
|
-
renderAgentToolRunLink,
|
|
50
|
-
toolRenderers,
|
|
51
|
-
renderWorkspaceFile
|
|
52
|
-
}: ThinkChatMessageContentProps<MessageT>): React.JSX.Element;
|
|
53
|
-
interface ThinkChatApprovalsProps {
|
|
37
|
+
export declare function ThinkChatMessageContent<MessageT extends UIMessage = UIMessage>({ message, renderPart, excludeTools, renderAgentToolRunLink, toolRenderers, renderWorkspaceFile }: ThinkChatMessageContentProps<MessageT>): React.JSX.Element;
|
|
38
|
+
export interface ThinkChatApprovalsProps {
|
|
54
39
|
stub: AgentStub<Think>;
|
|
55
40
|
sourceKey: string;
|
|
56
41
|
/** Chat parts that share the pending approvals discovered for this source. */
|
|
57
42
|
children: React.ReactNode;
|
|
58
43
|
}
|
|
59
44
|
/** Explicit durable discovery; policy and the decision to render a card remain with the caller. */
|
|
60
|
-
declare function ThinkChatApprovals({
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
children
|
|
64
|
-
}: ThinkChatApprovalsProps): React.JSX.Element;
|
|
65
|
-
declare function ThinkChatRecoveryNotice(): React.JSX.Element;
|
|
66
|
-
declare function useThinkChat<State = unknown, MessageT extends UIMessage = UIMessage>(): Omit<import("@ai-sdk/react").UseChatHelpers<MessageT>, "addToolOutput"> & {
|
|
45
|
+
export declare function ThinkChatApprovals({ stub, sourceKey, children }: ThinkChatApprovalsProps): React.JSX.Element;
|
|
46
|
+
export declare function ThinkChatRecoveryNotice(): React.JSX.Element;
|
|
47
|
+
export declare function useThinkChat<State = unknown, MessageT extends UIMessage = UIMessage>(): Omit<import("@ai-sdk/react").UseChatHelpers<MessageT>, "addToolOutput"> & {
|
|
67
48
|
clearHistory: () => void;
|
|
68
49
|
addToolOutput: (opts: {
|
|
69
50
|
toolCallId: string;
|
|
@@ -82,7 +63,7 @@ declare function useThinkChat<State = unknown, MessageT extends UIMessage = UIMe
|
|
|
82
63
|
wasClean: boolean;
|
|
83
64
|
}) | null;
|
|
84
65
|
};
|
|
85
|
-
declare const ThinkChat: {
|
|
66
|
+
export declare const ThinkChat: {
|
|
86
67
|
Root: typeof ThinkChatRoot;
|
|
87
68
|
MessageContent: typeof ThinkChatMessageContent;
|
|
88
69
|
Approvals: typeof ThinkChatApprovals;
|
|
@@ -91,5 +72,4 @@ declare const ThinkChat: {
|
|
|
91
72
|
renderActivityPart: (context: AgentMessageRenderPartContext<UIMessage<unknown, import("ai").UIDataTypes, import("ai").UITools>>) => React.ReactNode | undefined;
|
|
92
73
|
createActivityRenderer: typeof createThinkChatActivityRenderer;
|
|
93
74
|
};
|
|
94
|
-
//#endregion
|
|
95
|
-
export { ThinkChat, ThinkChatApprovals, ThinkChatApprovalsProps, ThinkChatMessageContent, ThinkChatMessageContentProps, ThinkChatRecoveryNotice, ThinkChatRoot, ThinkChatRootProps, ThinkPendingExecutionApprovalsQueryKey, ThinkPendingExecutionApprovalsQueryOptions, getThinkChatStatus, normalizeThinkPrompt, thinkPendingExecutionApprovalsQueryOptions, useThinkChat, useThinkPendingExecutionApprovals };
|
|
75
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { AgentChat, useAgentChatControls } from "./AgentChat.js";
|
|
|
3
3
|
import { ThinkChatContext, ThinkChatLiveContext, useThinkChatContext } from "./ThinkChatContext.js";
|
|
4
4
|
import { ThinkChatActivity, createThinkChatActivityRenderer, renderThinkChatActivityPart } from "./ThinkChatActivity.js";
|
|
5
5
|
import { ThinkRecoveryNotice } from "./ThinkRecoveryNotice.js";
|
|
6
|
-
import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-
|
|
6
|
+
import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-DnsdpaGU.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { isTextUIPart } from "ai";
|
|
@@ -34,8 +34,9 @@ function thinkPendingExecutionApprovalsQueryOptions(stub, sourceKey) {
|
|
|
34
34
|
}
|
|
35
35
|
function useThinkPendingExecutionApprovals(stub, sourceKey, refreshSignal, enabled = true) {
|
|
36
36
|
const queryClient = useQueryClient();
|
|
37
|
+
const options = thinkPendingExecutionApprovalsQueryOptions(stub, sourceKey);
|
|
37
38
|
const approvalsQuery = useQuery({
|
|
38
|
-
...
|
|
39
|
+
...options,
|
|
39
40
|
enabled
|
|
40
41
|
});
|
|
41
42
|
const refreshState = React.useRef({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../../ThinkChatActivity-
|
|
1
|
+
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../../ThinkChatActivity-BkGjTY4r.js";
|
|
2
2
|
export { ThinkChatActivity, ThinkChatActivityProps, ThinkChatActivityRendererOptions, ThinkChatToolRenderer, ThinkChatToolRenderers, createThinkChatActivityRenderer, renderThinkChatActivityPart };
|
|
@@ -3,9 +3,9 @@ import { Activity, ActivityContent, ActivityItem, ActivityItemGroup, ActivityTex
|
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { MessageResponse } from "../ai-sdk/Message.js";
|
|
5
5
|
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
6
|
-
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
|
-
import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
|
|
8
6
|
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
7
|
+
import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
|
|
8
|
+
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
9
9
|
import { useOptionalThinkChatLive } from "./ThinkChatContext.js";
|
|
10
10
|
import { isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartWorking, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart } from "./ThinkChatToolParts.js";
|
|
11
11
|
import { ThinkChatBrowserPanel, ThinkChatExecutePanel, ThinkChatFetchPanel, ThinkChatSessionContextPanel, ThinkChatSkillPanel, ThinkChatWorkspacePanel } from "./ThinkChatToolPanels.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ThinkChatToolLifecycleSnapshot, c as deriveThinkChatActivityHeader, d as summarizeActivitySteps, i as ThinkChatToolDescribers, l as deriveThinkChatToolLifecycleHeader, n as ThinkChatActivityHeader, o as activityPartIconKind, r as ThinkChatToolDescriber, s as activityPartUrl, t as ThinkChatActivityDescription, u as describeThinkChatActivityPart } from "../../ThinkChatActivitySummary-
|
|
1
|
+
import { a as ThinkChatToolLifecycleSnapshot, c as deriveThinkChatActivityHeader, d as summarizeActivitySteps, i as ThinkChatToolDescribers, l as deriveThinkChatToolLifecycleHeader, n as ThinkChatActivityHeader, o as activityPartIconKind, r as ThinkChatToolDescriber, s as activityPartUrl, t as ThinkChatActivityDescription, u as describeThinkChatActivityPart } from "../../ThinkChatActivitySummary-DZVy3uQV.js";
|
|
2
2
|
export { ThinkChatActivityDescription, ThinkChatActivityHeader, ThinkChatToolDescriber, ThinkChatToolDescribers, ThinkChatToolLifecycleSnapshot, activityPartIconKind, activityPartUrl, deriveThinkChatActivityHeader, deriveThinkChatToolLifecycleHeader, describeThinkChatActivityPart, summarizeActivitySteps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as capitalize } from "../../format-
|
|
1
|
+
import { t as capitalize } from "../../format-CWaZEp5o.js";
|
|
2
2
|
import { getToolDisplayName } from "../ai-sdk/ToolPart.js";
|
|
3
3
|
import { t as summarizeToolInput } from "../../summarize-tool-input-CqTcGRYy.js";
|
|
4
4
|
import { displayUrl, isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartFailed, isPartWorking, isSessionContextToolFailure, isSessionContextToolPart, isSkillToolPart, isWorkspaceToolPart } from "./ThinkChatToolParts.js";
|
|
@@ -13,7 +13,7 @@ function described(action, detail) {
|
|
|
13
13
|
const ACTIVITY_HEADER_LABEL_MAX_LENGTH = 240;
|
|
14
14
|
function bounded(text) {
|
|
15
15
|
if (text.length <= ACTIVITY_HEADER_LABEL_MAX_LENGTH) return text;
|
|
16
|
-
return `${text.slice(0,
|
|
16
|
+
return `${text.slice(0, 239).trimEnd()}…`;
|
|
17
17
|
}
|
|
18
18
|
function boundedActivityHeader(header) {
|
|
19
19
|
return {
|
|
@@ -344,7 +344,8 @@ function summarizeActivitySteps(parts) {
|
|
|
344
344
|
for (const segment of genericSegments) if (!includedSegments.has(segment)) segments.push(segment);
|
|
345
345
|
if (segments.length === 0) return "Worked";
|
|
346
346
|
const top = segments.slice(0, 3);
|
|
347
|
-
|
|
347
|
+
const joined = top.length === 1 ? top[0] : `${top.slice(0, -1).join(", ")} and ${top.at(-1)}`;
|
|
348
|
+
return capitalize(joined);
|
|
348
349
|
}
|
|
349
350
|
/** Derive the serializable collapsed header from persisted AI SDK message parts. */
|
|
350
351
|
function deriveThinkChatActivityHeader(parts, options = {}) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useOptionalThinkChatContext, i as ThinkChatValue, n as ThinkChatLiveContext, o as useOptionalThinkChatLive, r as ThinkChatLiveValue, s as useThinkChatContext, t as ThinkChatContext } from "../../ThinkChatContext-
|
|
1
|
+
import { a as useOptionalThinkChatContext, i as ThinkChatValue, n as ThinkChatLiveContext, o as useOptionalThinkChatLive, r as ThinkChatLiveValue, s as useThinkChatContext, t as ThinkChatContext } from "../../ThinkChatContext-DQ6M2VlJ.js";
|
|
2
2
|
export { ThinkChatContext, ThinkChatLiveContext, ThinkChatLiveValue, ThinkChatValue, useOptionalThinkChatContext, useOptionalThinkChatLive, useThinkChatContext };
|
|
@@ -1,49 +1,35 @@
|
|
|
1
|
-
import { a as SessionContextToolPart, d as WorkspaceToolPart, n as ExecuteToolPart, o as SkillToolPart, r as FetchToolPart, t as BrowserToolPart } from "../../ThinkChatToolParts-
|
|
1
|
+
import { a as SessionContextToolPart, d as WorkspaceToolPart, n as ExecuteToolPart, o as SkillToolPart, r as FetchToolPart, t as BrowserToolPart } from "../../ThinkChatToolParts-BucHi63O.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkChatToolPanels.d.ts
|
|
5
4
|
/** Default panels for the Think workspace tools, Claude Code-style: read/write
|
|
6
5
|
show the file with line numbers, edit shows a mini diff, list/find/grep
|
|
7
6
|
show their result lists, bash gets the shell panel. Everything is typed by
|
|
8
7
|
the upstream tool contract. */
|
|
9
|
-
declare function ThinkChatWorkspacePanel({
|
|
10
|
-
part
|
|
11
|
-
}: {
|
|
8
|
+
export declare function ThinkChatWorkspacePanel({ part }: {
|
|
12
9
|
part: WorkspaceToolPart;
|
|
13
10
|
}): React.JSX.Element | null;
|
|
14
11
|
/** Skill panels show what the model actually received: the activated skill's
|
|
15
12
|
body, the resource text, or the script result. */
|
|
16
|
-
declare function ThinkChatSkillPanel({
|
|
17
|
-
part
|
|
18
|
-
}: {
|
|
13
|
+
export declare function ThinkChatSkillPanel({ part }: {
|
|
19
14
|
part: SkillToolPart;
|
|
20
15
|
}): React.JSX.Element;
|
|
21
16
|
/** Session panels expose the durable context/search operation recorded in the
|
|
22
17
|
UIMessage. The session itself remains server-owned; this is transcript
|
|
23
18
|
rendering, not a client-side mirror of context state. */
|
|
24
|
-
declare function ThinkChatSessionContextPanel({
|
|
25
|
-
part
|
|
26
|
-
}: {
|
|
19
|
+
export declare function ThinkChatSessionContextPanel({ part }: {
|
|
27
20
|
part: SessionContextToolPart;
|
|
28
21
|
}): React.JSX.Element;
|
|
29
|
-
declare function ThinkChatFetchPanel({
|
|
30
|
-
part
|
|
31
|
-
}: {
|
|
22
|
+
export declare function ThinkChatFetchPanel({ part }: {
|
|
32
23
|
part: FetchToolPart;
|
|
33
24
|
}): React.JSX.Element;
|
|
34
|
-
interface ThinkChatExecutePanelProps {
|
|
25
|
+
export interface ThinkChatExecutePanelProps {
|
|
35
26
|
/** Whole upstream Think execute-tool part, including its current output lifecycle. */
|
|
36
27
|
part: ExecuteToolPart;
|
|
37
28
|
}
|
|
38
29
|
/** The codemode execute tool as an activity panel: highlighted TypeScript
|
|
39
30
|
plus logs, result, and the paused pending-approval list. */
|
|
40
|
-
declare function ThinkChatExecutePanel({
|
|
41
|
-
|
|
42
|
-
}: ThinkChatExecutePanelProps): React.JSX.Element;
|
|
43
|
-
declare function ThinkChatBrowserPanel({
|
|
44
|
-
part
|
|
45
|
-
}: {
|
|
31
|
+
export declare function ThinkChatExecutePanel({ part }: ThinkChatExecutePanelProps): React.JSX.Element;
|
|
32
|
+
export declare function ThinkChatBrowserPanel({ part }: {
|
|
46
33
|
part: BrowserToolPart;
|
|
47
34
|
}): React.JSX.Element;
|
|
48
|
-
//#endregion
|
|
49
|
-
export { ThinkChatBrowserPanel, ThinkChatExecutePanel, ThinkChatExecutePanelProps, ThinkChatFetchPanel, ThinkChatSessionContextPanel, ThinkChatSkillPanel, ThinkChatWorkspacePanel };
|
|
35
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActivityOutput, ActivityPanel } from "../ai-sdk/Activity.js";
|
|
2
2
|
import { Tabs } from "../foundations/Tabs.js";
|
|
3
|
-
import { o as formatUnknownValue } from "../../format-
|
|
3
|
+
import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
|
|
4
4
|
import { i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "../../CodeBlock-Dw1z6jc8.js";
|
|
5
5
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
6
6
|
import { inferWorkspaceLanguage } from "./WorkspaceFile.js";
|
|
@@ -328,8 +328,7 @@ function formatToolCall(call) {
|
|
|
328
328
|
}
|
|
329
329
|
function formatAuditValue(value) {
|
|
330
330
|
const formatted = formatUnknownValue(value);
|
|
331
|
-
|
|
332
|
-
return formatted.length > maxLength ? `${formatted.slice(0, maxLength - 1)}…` : formatted;
|
|
331
|
+
return formatted.length > 240 ? `${formatted.slice(0, 239)}…` : formatted;
|
|
333
332
|
}
|
|
334
333
|
function isHumanWait(action) {
|
|
335
334
|
return action.connector === "human" && action.method === "waitFor";
|
|
@@ -445,10 +444,13 @@ function ThinkChatBrowserPanel({ part }) {
|
|
|
445
444
|
});
|
|
446
445
|
}
|
|
447
446
|
const output = part.state === "output-available" ? part.output : void 0;
|
|
447
|
+
const label = displayUrl(part.input?.url) || "page";
|
|
448
|
+
const text = output === void 0 ? void 0 : typeof output === "string" ? output : Array.isArray(output) ? output.map((item) => typeof item === "string" ? item : JSON.stringify(item)).join("\n") : JSON.stringify(output, null, 2);
|
|
449
|
+
const status = part.type === "tool-browser_links" && Array.isArray(output) ? `${output.length} links` : void 0;
|
|
448
450
|
return /* @__PURE__ */ jsx(ActivityPanel, {
|
|
449
|
-
label
|
|
450
|
-
text
|
|
451
|
-
status
|
|
451
|
+
label,
|
|
452
|
+
text,
|
|
453
|
+
status
|
|
452
454
|
});
|
|
453
455
|
}
|
|
454
456
|
function ThinkChatShellPanel({ part }) {
|
|
@@ -456,9 +458,10 @@ function ThinkChatShellPanel({ part }) {
|
|
|
456
458
|
const errorText = part.state === "output-error" ? part.errorText : "";
|
|
457
459
|
const deniedReason = part.state === "output-denied" ? part.approval.reason ?? "denied" : "";
|
|
458
460
|
const failed = Boolean(errorText) || Boolean(deniedReason) || output !== void 0 && (output.exitCode !== 0 || Boolean(output.errors?.length));
|
|
461
|
+
const text = formatBashPanelText(part.input, output, errorText || deniedReason);
|
|
459
462
|
return /* @__PURE__ */ jsx(ActivityPanel, {
|
|
460
463
|
label: "Shell",
|
|
461
|
-
text
|
|
464
|
+
text,
|
|
462
465
|
status: output !== void 0 || errorText || deniedReason ? getBashStatusText(output, errorText, deniedReason) : void 0,
|
|
463
466
|
error: failed
|
|
464
467
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as isWorkspaceToolPart, _ as isPartWorking, a as SessionContextToolPart, b as isSkillToolPart, c as ThinkBashToolPart, d as WorkspaceToolPart, f as displayUrl, g as isPartFailed, h as isFetchToolPart, i as SessionContextToolName, l as ThinkChatPart, m as isExecuteToolPart, n as ExecuteToolPart, o as SkillToolPart, p as isBrowserToolPart, r as FetchToolPart, s as ThinkBashToolOutput, t as BrowserToolPart, u as ThinkWorkspaceToolName, v as isSessionContextToolFailure, x as isThinkChatActivityPart, y as isSessionContextToolPart } from "../../ThinkChatToolParts-
|
|
1
|
+
import { S as isWorkspaceToolPart, _ as isPartWorking, a as SessionContextToolPart, b as isSkillToolPart, c as ThinkBashToolPart, d as WorkspaceToolPart, f as displayUrl, g as isPartFailed, h as isFetchToolPart, i as SessionContextToolName, l as ThinkChatPart, m as isExecuteToolPart, n as ExecuteToolPart, o as SkillToolPart, p as isBrowserToolPart, r as FetchToolPart, s as ThinkBashToolOutput, t as BrowserToolPart, u as ThinkWorkspaceToolName, v as isSessionContextToolFailure, x as isThinkChatActivityPart, y as isSessionContextToolPart } from "../../ThinkChatToolParts-BucHi63O.js";
|
|
2
2
|
export { BrowserToolPart, ExecuteToolPart, FetchToolPart, SessionContextToolName, SessionContextToolPart, SkillToolPart, ThinkBashToolOutput, ThinkBashToolPart, ThinkChatPart, ThinkWorkspaceToolName, WorkspaceToolPart, displayUrl, isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartFailed, isPartWorking, isSessionContextToolFailure, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart };
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-
|
|
1
|
+
import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-CPeYVneQ.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/agents-sdk/ThinkExecutionDetail.d.ts
|
|
5
|
-
interface ThinkExecutionDetailProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
|
+
export interface ThinkExecutionDetailProps extends React.HTMLAttributes<HTMLElement> {
|
|
6
5
|
run: ThinkExecutionRun | null;
|
|
7
6
|
emptyState?: React.ReactNode;
|
|
8
7
|
}
|
|
9
8
|
/** Native Think submission or Agents Workflow detail, reusable outside the execution workbench. */
|
|
10
|
-
declare function ThinkExecutionDetail({
|
|
11
|
-
className,
|
|
12
|
-
emptyState,
|
|
13
|
-
ref,
|
|
14
|
-
run,
|
|
15
|
-
...props
|
|
16
|
-
}: ThinkExecutionDetailProps & {
|
|
9
|
+
export declare function ThinkExecutionDetail({ className, emptyState, ref, run, ...props }: ThinkExecutionDetailProps & {
|
|
17
10
|
ref?: React.Ref<HTMLElement>;
|
|
18
11
|
}): React.JSX.Element;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ThinkExecutionDetail, ThinkExecutionDetailProps };
|
|
12
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { S as FileIcon, T as InfoIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Activity, ActivityContent, ActivityItemGroup, ActivityOutput, ActivityTrigger } from "../ai-sdk/Activity.js";
|
|
4
|
-
import { o as formatUnknownValue } from "../../format-
|
|
4
|
+
import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
|
|
5
5
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
6
6
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
7
7
|
import { formatThinkExecutionTimestamp, getThinkExecutionRunError, getThinkExecutionRunId, getThinkExecutionRunKindLabel, getThinkExecutionRunProgressedAt, getThinkExecutionRunProgressedLabel, getThinkExecutionRunTitle, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as isThinkSubmissionRun, a as formatThinkExecutionStatus, c as getThinkExecutionRunError, d as getThinkExecutionRunProgressedAt, f as getThinkExecutionRunProgressedLabel, g as getThinkExecutionRunTitle, h as getThinkExecutionRunSubtitle, i as formatThinkExecutionShortTimestamp, l as getThinkExecutionRunId, m as getThinkExecutionRunStatusTone, n as ThinkExecutionStatusTone, o as formatThinkExecutionTimestamp, p as getThinkExecutionRunStatus, r as formatThinkExecutionRunProgress, s as getThinkExecutionRunAccessibleName, t as ThinkExecutionRun, u as getThinkExecutionRunKindLabel } from "../../ThinkExecutionRun-
|
|
1
|
+
import { _ as isThinkSubmissionRun, a as formatThinkExecutionStatus, c as getThinkExecutionRunError, d as getThinkExecutionRunProgressedAt, f as getThinkExecutionRunProgressedLabel, g as getThinkExecutionRunTitle, h as getThinkExecutionRunSubtitle, i as formatThinkExecutionShortTimestamp, l as getThinkExecutionRunId, m as getThinkExecutionRunStatusTone, n as ThinkExecutionStatusTone, o as formatThinkExecutionTimestamp, p as getThinkExecutionRunStatus, r as formatThinkExecutionRunProgress, s as getThinkExecutionRunAccessibleName, t as ThinkExecutionRun, u as getThinkExecutionRunKindLabel } from "../../ThinkExecutionRun-CPeYVneQ.js";
|
|
2
2
|
export { ThinkExecutionRun, ThinkExecutionStatusTone, formatThinkExecutionRunProgress, formatThinkExecutionShortTimestamp, formatThinkExecutionStatus, formatThinkExecutionTimestamp, getThinkExecutionRunAccessibleName, getThinkExecutionRunError, getThinkExecutionRunId, getThinkExecutionRunKindLabel, getThinkExecutionRunProgressedAt, getThinkExecutionRunProgressedLabel, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunSubtitle, getThinkExecutionRunTitle, isThinkSubmissionRun };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as capitalize } from "../../format-
|
|
1
|
+
import { t as capitalize } from "../../format-CWaZEp5o.js";
|
|
2
2
|
//#region src/components/agents-sdk/ThinkExecutionRun.ts
|
|
3
3
|
/** Narrows the direct upstream execution union without wrapping either record. */
|
|
4
4
|
function isThinkSubmissionRun(run) {
|
|
@@ -39,7 +39,8 @@ function getThinkExecutionRunStatusTone(run) {
|
|
|
39
39
|
return "neutral";
|
|
40
40
|
}
|
|
41
41
|
function formatThinkExecutionStatus(status) {
|
|
42
|
-
|
|
42
|
+
const words = status.replaceAll(/([a-z])([A-Z])/g, "$1 $2");
|
|
43
|
+
return capitalize(words);
|
|
43
44
|
}
|
|
44
45
|
function formatThinkExecutionTimestamp(value, fallback = "Not recorded") {
|
|
45
46
|
if (value == null) return fallback;
|