@mcp-b/react-components 0.60.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentActivity-DSObWhDU.d.ts → AgentActivity-DptCj8XQ.d.ts} +2 -2
- package/dist/{AgentChatQueue-CGR4hd7D.d.ts → AgentChatQueue-DG2rGyCI.d.ts} +1 -1
- package/dist/AgentToolRunsContext-Br3jZ6Up.d.ts +74 -0
- package/dist/{Button-ClRxb8tM.d.ts → Button-DIn-0P-0.d.ts} +4 -5
- package/dist/{Card-BPkXIkBz.d.ts → Card-DkGZ3jKQ.d.ts} +7 -1
- package/dist/{CodeBlock-DYp5V_4O.d.ts → CodeBlock-BTkag9ms.d.ts} +1 -1
- package/dist/{CodeBlock-B4K656LO.js → CodeBlock-CNvOYR0Q.js} +1 -1
- package/dist/{EmployeeChrome-QSki0QT4.d.ts → EmployeeChrome-D3IgFX22.d.ts} +12 -34
- package/dist/{ExecutionBoard-DHfMvKlB.d.ts → ExecutionBoard-DvPGdn4F.d.ts} +2 -2
- package/dist/{ExecutionResult-Wd1sKAvD.js → ExecutionResult-DmC21cll.js} +4 -4
- package/dist/{FileTree-BpCJuvji.js → FileTree-H31EVRv_.js} +1 -1
- package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
- package/dist/{ManagerOffice-BaHSBcSF.js → ManagerOffice-B3X3iZV9.js} +27 -34
- package/dist/{McpConnectorForm-D4bY-lm_.d.ts → McpConnectorForm-BLsQt_er.d.ts} +1 -1
- package/dist/{McpPluginCatalog-2FZDLCeK.d.ts → McpPluginCatalog-SQNOytXQ.d.ts} +2 -2
- package/dist/{Message-CwCqa90H.d.ts → Message-BUedRDN1.d.ts} +2 -2
- package/dist/{MessageScrollerVirtual-DVQeEkNy.d.ts → MessageScrollerVirtual-DxL6XKq9.d.ts} +1 -1
- package/dist/{PromptInput-C3adKglc.d.ts → PromptInput-Dbe6WgWA.d.ts} +1 -1
- package/dist/{ResponsiveSidebarShell-DzBGlRJF.d.ts → ResponsiveSidebarShell-DSAMNDdg.d.ts} +1 -1
- package/dist/{SetupChecklist-BNK2XFaI.js → SetupChecklist-Wo4akaSG.js} +2 -2
- package/dist/{ThinkChatActivity-C4_hPEmb.d.ts → ThinkChatActivity-zZaSsbC-.d.ts} +7 -3
- package/dist/{ThinkChatActivitySummary-ChJ8Iu2T.d.ts → ThinkChatActivitySummary-8MO1VjAJ.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-CPeYVneQ.d.ts → ThinkExecutionRun-DJ2TFDmZ.d.ts} +1 -1
- package/dist/ThinkSchedule-5S834QKW.d.ts +34 -0
- package/dist/{Workspace-iCkXvQRJ.d.ts → Workspace-42LA9Zrb.d.ts} +1 -1
- package/dist/WorkspaceAutomation-B2Pdz_SU.d.ts +215 -0
- package/dist/{WorkspaceConcept-ByaG-kBq.d.ts → WorkspaceConcept-BjrgGE1w.d.ts} +2 -3
- package/dist/{WorkspaceFile-DkIZKoK6.d.ts → WorkspaceFile-nK2n0i4S.d.ts} +1 -1
- package/dist/{WorkspaceFileView-5SHsjamf.js → WorkspaceFileView-BWI_AJlV.js} +8 -8
- package/dist/{WorkspaceLink-Buo6gKj2.d.ts → WorkspaceLink-C8HH2fMT.d.ts} +1 -0
- package/dist/{WorkspaceMessageResponse-DnsdpaGU.js → WorkspaceMessageResponse-BZ-_I18b.js} +3 -7
- package/dist/agent-tool-runs-DsOp_X2y.js +133 -0
- package/dist/assets/chrome.svg +1 -0
- package/dist/assets/plugins/plugin-github.svg +8 -0
- package/dist/assets/plugins/plugin-gmail.svg +1 -0
- package/dist/assets/plugins/plugin-google-drive.svg +1 -0
- package/dist/assets/plugins/plugin-google.svg +1 -0
- package/dist/assets/plugins/plugin-linear.svg +1 -0
- package/dist/assets/plugins/plugin-notion.svg +25 -0
- package/dist/assets/plugins/plugin-salesforce.svg +31 -0
- package/dist/assets/plugins/plugin-slack.svg +6 -0
- package/dist/chatgpt-sign-in-button-DNchrZHs.js +32 -0
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +5 -4
- package/dist/components/agents-sdk/AgentChat.d.ts +4 -4
- package/dist/components/agents-sdk/AgentChat.js +7 -7
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +4 -4
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
- package/dist/components/agents-sdk/AgentToolRunsContext.js +78 -8
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +4 -3
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
- package/dist/components/agents-sdk/EmployeeChat.js +14 -10
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +45 -33
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +10 -10
- package/dist/components/agents-sdk/EmployeeSchedules.js +39 -39
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +7 -33
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- package/dist/components/agents-sdk/ManagerOffice.d.ts +10 -14
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +3 -3
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
- package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +7 -6
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +4 -2
- package/dist/components/agents-sdk/SubagentRunIndicator.js +4 -3
- package/dist/components/agents-sdk/SubagentRunLanes.d.ts +38 -0
- package/dist/components/agents-sdk/SubagentRunLanes.js +160 -0
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -28
- package/dist/components/agents-sdk/SubagentRunPanel.js +145 -190
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
- package/dist/components/agents-sdk/ThinkChat.js +5 -8
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +13 -28
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +4 -4
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
- package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
- package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
- package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +47 -45
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
- package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
- package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
- package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
- package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +2 -2
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
- package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +3 -3
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +12 -4
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +6 -6
- package/dist/components/ai-sdk/Queue.d.ts +1 -1
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
- package/dist/components/extension/ChatGptSignInScreen.js +32 -32
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/extension/FirstRunSetup.d.ts +117 -0
- package/dist/components/extension/FirstRunSetup.js +1175 -0
- package/dist/components/foundations/AlertDialog.d.ts +1 -1
- package/dist/components/foundations/AppIcon.d.ts +5 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Button.js +1 -1
- package/dist/components/foundations/Card.d.ts +1 -1
- package/dist/components/foundations/Card.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/DescriptionList.d.ts +3 -1
- package/dist/components/foundations/DescriptionList.js +2 -1
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/LinkButton.d.ts +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/Popover.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +2 -4
- package/dist/components/foundations/Toggle.js +3 -7
- package/dist/components/foundations/ToggleGroup.d.ts +2 -4
- package/dist/components/foundations/ToggleGroup.js +4 -16
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +3 -3
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.d.ts +2 -2
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +3 -3
- package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
- package/dist/components/nanites/AgentToolDetail.js +3 -3
- package/dist/connected-app-drafts-B9i69bkj.js +283 -0
- package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
- package/dist/{copy-button-BsmxSSeD.js → copy-button-z20VEXRF.js} +1 -1
- package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
- package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
- package/dist/{icons-Cn3vWZRs.js → icons-Yp99gmMC.js} +9 -3
- package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
- package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
- package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
- package/dist/styles/accessibility.css +22 -9
- package/dist/styles/accordion.css +2 -2
- package/dist/styles/activity-header.css +14 -11
- package/dist/styles/activity.css +6 -13
- package/dist/styles/agent-attention.css +0 -23
- package/dist/styles/agent-chat.css +8 -3
- package/dist/styles/agent-connection.css +2 -2
- package/dist/styles/app-icon.css +7 -0
- package/dist/styles/app-top-bar.css +3 -11
- package/dist/styles/approval.css +2 -2
- package/dist/styles/base.css +3 -1
- package/dist/styles/browser-live-screen.css +3 -1
- package/dist/styles/browser-run-panel.css +2 -2
- package/dist/styles/button.css +13 -44
- package/dist/styles/card.css +42 -5
- package/dist/styles/chain-of-thought.css +2 -8
- package/dist/styles/chatgpt-sign-in-screen.css +91 -83
- package/dist/styles/checkbox-group.css +2 -1
- package/dist/styles/checkbox.css +4 -6
- package/dist/styles/code-block.css +2 -1
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-contrast.test.ts +1 -0
- package/dist/styles/combobox.css +5 -9
- package/dist/styles/commit.css +2 -7
- package/dist/styles/composer-link.css +0 -10
- package/dist/styles/connected-app-card.css +32 -32
- package/dist/styles/context-menu.css +2 -2
- package/dist/styles/description-list.css +14 -0
- package/dist/styles/execution-board.css +1 -1
- package/dist/styles/execution-result.css +161 -0
- package/dist/styles/file-tree.css +5 -9
- package/dist/styles/first-run-setup.css +751 -0
- package/dist/styles/index.css +5 -2
- package/dist/styles/inline-citation.css +2 -10
- package/dist/styles/manager-office.css +16 -43
- package/dist/styles/marker.css +2 -2
- package/dist/styles/media-preview-card.css +2 -7
- package/dist/styles/message-scroller.css +3 -2
- package/dist/styles/model-selector.css +19 -15
- package/dist/styles/navigation-menu.css +4 -4
- package/dist/styles/number-field.css +2 -3
- package/dist/styles/preview-card.css +2 -2
- package/dist/styles/prompt-input.css +5 -15
- package/dist/styles/queue.css +2 -7
- package/dist/styles/radio.css +4 -6
- package/dist/styles/recipes.css +25 -52
- package/dist/styles/resizable-side-panel.css +3 -2
- package/dist/styles/responsive-sidebar-shell.css +1 -6
- package/dist/styles/scroll-area.css +3 -2
- package/dist/styles/scrollbars.css +2 -0
- package/dist/styles/search-field.css +1 -2
- package/dist/styles/slider.css +4 -5
- package/dist/styles/sources.css +2 -7
- package/dist/styles/stepper.css +4 -4
- package/dist/styles/streamdown.css +8 -1
- package/dist/styles/subagent-run.css +123 -12
- package/dist/styles/switch.css +4 -7
- package/dist/styles/tabs.css +5 -4
- package/dist/styles/task.css +2 -7
- package/dist/styles/test-results.css +2 -7
- package/dist/styles/theme-mode-control.css +0 -6
- package/dist/styles/think-chat-activity.css +0 -8
- package/dist/styles/think-execution-status.css +1 -1
- package/dist/styles/think-execution-workbench.css +3 -3
- package/dist/styles/think-full-app.css +3 -2
- package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
- package/dist/styles/toggle-group.css +9 -6
- package/dist/styles/toggle.css +23 -15
- package/dist/styles/toolbar.css +0 -6
- package/dist/styles/workspace-automation.css +233 -0
- package/dist/styles/workspace-concepts.css +18 -412
- package/dist/styles/workspace-entity-card.css +146 -0
- package/dist/styles/workspace-explorer.css +4 -3
- package/dist/utils/mcp-server-catalog.d.ts +2 -2
- package/dist/utils/mcp-server-catalog.js +108 -21
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/{workspace-assets-RD6IhOyh.js → workspace-assets-Dq5toMQc.js} +34 -38
- package/dist/workspace-concept-panel-CxZfmFkP.js +66 -0
- package/dist/workspace-concept-panel-CxuqDi4m.d.ts +21 -0
- package/dist/{workspace-delete-CrNGUuBp.js → workspace-delete-CoB0l6ZU.js} +2 -1
- package/dist/workspace-entity-card-2TC3RPKh.d.ts +7 -0
- package/dist/workspace-entity-card-B1aV-jBj.js +61 -0
- package/dist/workspace-person-BSgvRjZE.d.ts +24 -0
- package/dist/workspace-person-BVkYb3dv.js +116 -0
- package/package.json +2 -2
- package/dist/AgentToolRunsContext-DniwGn96.d.ts +0 -18
- package/dist/Correspondent-ANkZHGEa.d.ts +0 -60
- package/dist/ThinkRoutine-DoZjbzyn.d.ts +0 -41
- package/dist/WorkspaceConceptPanel-D21iRsWm.js +0 -23
- package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +0 -239
- package/dist/WorkspaceMessageResponse-D8FGgIQU.d.ts +0 -39
- package/dist/components/agents-sdk/SubagentRunList.d.ts +0 -17
- package/dist/components/agents-sdk/SubagentRunList.js +0 -26
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +0 -2
- package/dist/components/agents-sdk/ThinkRoutine.js +0 -9
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +0 -42
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +0 -25
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +0 -19
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +0 -97
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +0 -59
- package/dist/components/agents-sdk/ThinkRoutineForm.js +0 -744
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +0 -15
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +0 -52
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceExecution.js +0 -843
- package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +0 -36
- package/dist/components/agents-sdk/WorkspaceUserScript.js +0 -153
- package/dist/components/ai-sdk/Correspondent.d.ts +0 -2
- package/dist/components/ai-sdk/Correspondent.js +0 -145
- package/dist/styles/correspondent.css +0 -73
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as WorkspaceDestination } from "./WorkspaceLink-
|
|
1
|
+
import { n as WorkspaceDestination } from "./WorkspaceLink-C8HH2fMT.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/agents-sdk/AgentActivity.d.ts
|
|
4
4
|
type AgentActivityMode = "working" | "approval";
|
|
@@ -37,7 +37,7 @@ interface AgentActivityFaviconProps {
|
|
|
37
37
|
url: string;
|
|
38
38
|
fallbackKind?: AgentActivityIconKind;
|
|
39
39
|
}
|
|
40
|
-
/**
|
|
40
|
+
/** Product or site mark for URL-backed activity, with the shared icon vocabulary as fallback. */
|
|
41
41
|
declare function AgentActivityFavicon({ fallbackKind, url }: AgentActivityFaviconProps): React.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { AgentActivityIconProps as a, AgentActivityIconKind as i, AgentActivityFaviconProps as n, AgentActivityMode as o, AgentActivityIcon as r, AgentActivitySummary as s, AgentActivityFavicon as t };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { UIMessage } from "ai";
|
|
3
|
+
import { useAgentToolEvents } from "agents/react";
|
|
4
|
+
import { AgentToolRunPart, AgentToolRunState } from "agents/agent-tools";
|
|
5
|
+
//#region src/components/agents-sdk/AgentToolRunsContext.d.ts
|
|
6
|
+
/** Native SDK run and event-hook values, passed without translation. */
|
|
7
|
+
type AgentToolRunValue<Part extends AgentToolRunPart = AgentToolRunPart> = AgentToolRunState<Part>;
|
|
8
|
+
type AgentToolEventsValue<Part extends AgentToolRunPart = UIMessage["parts"][number]> = ReturnType<typeof useAgentToolEvents<Part>>;
|
|
9
|
+
/**
|
|
10
|
+
* A delegated run as its own surface shows it, from `useAgentRun`. A `ready`
|
|
11
|
+
* run carries the whole retained record out of the dispatching thread's
|
|
12
|
+
* projection, so status, progress, and report are that thread's facts, never
|
|
13
|
+
* the child's. `onCancel` is the whole Stop affordance's condition.
|
|
14
|
+
*/
|
|
15
|
+
type AgentRun<Part extends AgentToolRunPart = AgentToolRunPart> = {
|
|
16
|
+
state: "loading";
|
|
17
|
+
} | {
|
|
18
|
+
state: "unavailable";
|
|
19
|
+
} | {
|
|
20
|
+
state: "error";
|
|
21
|
+
error: string;
|
|
22
|
+
} | {
|
|
23
|
+
state: "ready";
|
|
24
|
+
run: AgentToolRunValue<Part>;
|
|
25
|
+
/** Stops the run; absent while there is nothing to stop. */
|
|
26
|
+
onCancel?: () => void;
|
|
27
|
+
/** A stop already in flight, so the control reads as busy rather than dead. */
|
|
28
|
+
cancelPending?: boolean;
|
|
29
|
+
/** Why the last stop failed, until the next one starts. */
|
|
30
|
+
cancelError?: string;
|
|
31
|
+
};
|
|
32
|
+
interface AgentToolRunsProviderProps<Part extends AgentToolRunPart = UIMessage["parts"][number]> {
|
|
33
|
+
/** Conversation identity; changing it resets Stop state and focus return without remounting children. */
|
|
34
|
+
scopeKey: string;
|
|
35
|
+
/** Pass the whole `useAgentToolEvents({ agent })` result directly. */
|
|
36
|
+
agentTools: AgentToolEventsValue<Part>;
|
|
37
|
+
/** The run whose surface is open, if any. */
|
|
38
|
+
selectedRunId?: string;
|
|
39
|
+
/** Stops the parent turn and every run it dispatched. Without it nothing offers that Stop. */
|
|
40
|
+
onStopCurrentWork?: () => Promise<void>;
|
|
41
|
+
/** Stops one run. Without it lanes, rows, and run surfaces are a record. */
|
|
42
|
+
onStopRun?: (runId: string) => Promise<void>;
|
|
43
|
+
children: React.ReactNode;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* One parent connection's delegated runs: the retained Agent Tool projection,
|
|
47
|
+
* the thread's Stop commands with their pending and failed states, and focus
|
|
48
|
+
* return from an open run. Mount it with the parent connection, above
|
|
49
|
+
* transcript windows and the open run's loading and error boundaries.
|
|
50
|
+
*
|
|
51
|
+
* Every reader takes its own slice, so a chunk for one run re-renders only
|
|
52
|
+
* what shows that run: its lane, its roster row, its run surface.
|
|
53
|
+
*/
|
|
54
|
+
declare function AgentToolRunsProvider<Part extends AgentToolRunPart = UIMessage["parts"][number]>({ scopeKey, agentTools, selectedRunId, onStopCurrentWork, onStopRun, children }: AgentToolRunsProviderProps<Part>): React.JSX.Element;
|
|
55
|
+
/**
|
|
56
|
+
* The delegated run `runId` names, for the surface that opens it: `ready`
|
|
57
|
+
* with the whole retained record and its Stop, `loading` until the parent's
|
|
58
|
+
* roster settles, `unavailable` once it settles without the run, or `error`
|
|
59
|
+
* when the roster could not load. Re-renders only when this run, its Stop,
|
|
60
|
+
* or the roster's own state changes. Nothing without an id.
|
|
61
|
+
*/
|
|
62
|
+
declare function useAgentRun<Part extends AgentToolRunPart = UIMessage["parts"][number]>(runId: string): AgentRun<Part>;
|
|
63
|
+
declare function useAgentRun<Part extends AgentToolRunPart = UIMessage["parts"][number]>(runId: string | undefined): AgentRun<Part> | undefined;
|
|
64
|
+
type AgentToolCollection = AgentToolEventsValue["collection"];
|
|
65
|
+
/** The parent roster's own state — loading, ready, or failed, and whether its rows are stale. */
|
|
66
|
+
declare function useAgentToolCollection(): AgentToolCollection;
|
|
67
|
+
/**
|
|
68
|
+
* The thread's Stop for the parent turn and every run it dispatched — the
|
|
69
|
+
* composer's Stop and the roster's "Stop current work" are one command, with
|
|
70
|
+
* one pending and failed state. Undefined when the host supplies none.
|
|
71
|
+
*/
|
|
72
|
+
declare function useStopCurrentWork(): (() => Promise<void>) | undefined;
|
|
73
|
+
//#endregion
|
|
74
|
+
export { AgentToolRunsProviderProps as a, useStopCurrentWork as c, AgentToolRunsProvider as i, AgentToolEventsValue as n, useAgentRun as o, AgentToolRunValue as r, useAgentToolCollection as s, AgentRun as t };
|
|
@@ -4,13 +4,12 @@ import { Button } from "@base-ui/react/button";
|
|
|
4
4
|
/**
|
|
5
5
|
* The visual rendering style of the button.
|
|
6
6
|
*
|
|
7
|
-
* - `normal` - Filled
|
|
8
|
-
* - `
|
|
9
|
-
* - `surface` - Raised neutral surface for prominent lightweight actions
|
|
7
|
+
* - `normal` - Filled and slightly raised (default)
|
|
8
|
+
* - `surface` - Raised card-style surface for secondary actions; `destructive` tints the label
|
|
10
9
|
* - `ghost` - Minimal style, background appears on hover
|
|
11
10
|
* - `link` - Appears as a text link with underline on hover
|
|
12
11
|
*/
|
|
13
|
-
type ButtonVariant = "normal" | "surface" | "
|
|
12
|
+
type ButtonVariant = "normal" | "surface" | "ghost" | "link";
|
|
14
13
|
/**
|
|
15
14
|
* The semantic color intent of the button.
|
|
16
15
|
*
|
|
@@ -75,7 +74,7 @@ interface ButtonProps extends BaseButtonProps, Omit<ButtonHTMLAttributes<HTMLBut
|
|
|
75
74
|
* ```tsx
|
|
76
75
|
* <Button color="primary">Save changes</Button>
|
|
77
76
|
* <Button color="destructive">Delete account</Button>
|
|
78
|
-
* <Button variant="
|
|
77
|
+
* <Button variant="surface">Cancel</Button>
|
|
79
78
|
* <Button variant="ghost" size="sm" iconOnly aria-label="Search"><SearchIcon /></Button>
|
|
80
79
|
* ```
|
|
81
80
|
*
|
|
@@ -4,6 +4,12 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
4
4
|
* Props for the Card component.
|
|
5
5
|
*/
|
|
6
6
|
interface CardProps extends useRender.ComponentProps<"div"> {
|
|
7
|
+
/**
|
|
8
|
+
* No fill or shadow: the card is a row on its host's plane, such as a panel
|
|
9
|
+
* list. With `hover`, a subtle fill under the pointer replaces the lift.
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
flat?: boolean;
|
|
7
13
|
/**
|
|
8
14
|
* Enable hover animation effects.
|
|
9
15
|
* @default false
|
|
@@ -35,7 +41,7 @@ interface CardFooterProps extends useRender.ComponentProps<"div"> {}
|
|
|
35
41
|
*
|
|
36
42
|
* @see {@link https://base-ui.com/react/handbook/composition | Base UI composition}
|
|
37
43
|
*/
|
|
38
|
-
declare function Card({ hover, size, className, render, ref, ...props }: CardProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
44
|
+
declare function Card({ flat, hover, size, className, render, ref, ...props }: CardProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
39
45
|
declare function CardHeader({ className, render, ref, ...props }: CardHeaderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
40
46
|
declare function CardTitle({ className, render, ref, ...props }: CardTitleProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
41
47
|
declare function CardDescription({ className, render, ref, ...props }: CardDescriptionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as CopyButtonProps } from "./copy-button-
|
|
1
|
+
import { t as CopyButtonProps } from "./copy-button-B09hHWd1.js";
|
|
2
2
|
import { m as SelectProps, t as Select } from "./Select-CEzSA672.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { BundledLanguage } from "shiki";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { t as CopyButton } from "./copy-button-
|
|
2
|
+
import { t as CopyButton } from "./copy-button-z20VEXRF.js";
|
|
3
3
|
import { Select } from "./components/foundations/Select.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as PromptInputMessage } from "./PromptInput-
|
|
2
|
-
import {
|
|
3
|
-
import { i as ResponsiveSidebarShell } from "./ResponsiveSidebarShell-
|
|
1
|
+
import { J as PromptInputMessage } from "./PromptInput-Dbe6WgWA.js";
|
|
2
|
+
import { t as AgentRun } from "./AgentToolRunsContext-Br3jZ6Up.js";
|
|
3
|
+
import { i as ResponsiveSidebarShell } from "./ResponsiveSidebarShell-DSAMNDdg.js";
|
|
4
4
|
import { t as ThinkThreadItem } from "./ThinkThreadPicker-BmIZmpae.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
//#region src/components/agents-sdk/EmployeeChrome.d.ts
|
|
@@ -23,16 +23,16 @@ type EmployeeDestination = {
|
|
|
23
23
|
kind: "agent-run";
|
|
24
24
|
runId: string;
|
|
25
25
|
} | {
|
|
26
|
-
kind: "
|
|
27
|
-
|
|
26
|
+
kind: "schedule";
|
|
27
|
+
scheduleId: string;
|
|
28
28
|
} | {
|
|
29
|
-
kind: "
|
|
29
|
+
kind: "new-schedule";
|
|
30
30
|
} | {
|
|
31
|
-
kind: "edit-
|
|
32
|
-
|
|
31
|
+
kind: "edit-schedule";
|
|
32
|
+
scheduleId: string;
|
|
33
33
|
} | {
|
|
34
|
-
kind: "
|
|
35
|
-
|
|
34
|
+
kind: "schedule-run";
|
|
35
|
+
scheduleId: string;
|
|
36
36
|
runId: string;
|
|
37
37
|
};
|
|
38
38
|
/** Host-owned router link for a destination; the chrome has no route vocabulary. */
|
|
@@ -75,28 +75,6 @@ interface EmployeeModelSetup {
|
|
|
75
75
|
label?: string;
|
|
76
76
|
onCustomEndpoint?: () => void;
|
|
77
77
|
}
|
|
78
|
-
/**
|
|
79
|
-
* The delegated run the chrome is drilled into. A `ready` run carries the whole
|
|
80
|
-
* retained record out of the dispatching thread's projection, so status,
|
|
81
|
-
* progress, and report are the dispatching thread's facts, never the child's.
|
|
82
|
-
* The host decides which state applies and whether the run may still be
|
|
83
|
-
* stopped — `onCancel` is the whole Stop affordance's condition.
|
|
84
|
-
*/
|
|
85
|
-
type EmployeeAgentRun = {
|
|
86
|
-
state: "loading";
|
|
87
|
-
} | {
|
|
88
|
-
state: "unavailable";
|
|
89
|
-
} | {
|
|
90
|
-
state: "error";
|
|
91
|
-
error: string;
|
|
92
|
-
} | {
|
|
93
|
-
state: "ready";
|
|
94
|
-
run: AgentToolRunValue;
|
|
95
|
-
/** Stops the run. Omit while the run cannot be stopped; the bar follows. */
|
|
96
|
-
onCancel?: () => void;
|
|
97
|
-
/** A stop already in flight, so the control reads as busy rather than dead. */
|
|
98
|
-
cancelPending?: boolean;
|
|
99
|
-
};
|
|
100
78
|
/** One host-owned destination in the employee's workspace. */
|
|
101
79
|
interface EmployeeWorkbenchItem {
|
|
102
80
|
id: string;
|
|
@@ -135,7 +113,7 @@ interface EmployeeShellProps<Thread extends ThinkThreadItem = ThinkThreadItem> e
|
|
|
135
113
|
/** Selected thread, used for the title, the picker, and the return link. */
|
|
136
114
|
threadId?: string;
|
|
137
115
|
/** The delegated run this chrome is drilled into, when it is drilled into one. */
|
|
138
|
-
agentRun?:
|
|
116
|
+
agentRun?: AgentRun;
|
|
139
117
|
/** Caller-owned leading bar content, such as the extension's navigation control. */
|
|
140
118
|
appBarLeading?: React.ReactNode;
|
|
141
119
|
/** Passed the whole history item after the thread picker confirms removal. */
|
|
@@ -178,4 +156,4 @@ declare const EmployeeChrome: {
|
|
|
178
156
|
Welcome: typeof EmployeeWelcome;
|
|
179
157
|
};
|
|
180
158
|
//#endregion
|
|
181
|
-
export {
|
|
159
|
+
export { EmployeeFollow as a, EmployeeModelSetup as c, EmployeeShellProps as d, EmployeeStatus as f, EmployeeDestination as i, EmployeePasskeyVault as l, EmployeeWorkbenchItem as m, EmployeeChrome as n, EmployeeIdentity as o, EmployeeView as p, EmployeeCompanion as r, EmployeeMenuProps as s, EmployeeBrand as t, EmployeeRenderLink as u };
|
|
@@ -51,9 +51,9 @@ interface ExecutionTrace {
|
|
|
51
51
|
logs: readonly string[];
|
|
52
52
|
}
|
|
53
53
|
interface ExecutionBoardProps extends Omit<React.ComponentPropsWithoutRef<"section">, "children"> {
|
|
54
|
-
/** Steps and connections inferred from the
|
|
54
|
+
/** Steps and connections inferred from the automation's source. */
|
|
55
55
|
graph: ExecutionGraph;
|
|
56
|
-
/** Run status and step results to display over the
|
|
56
|
+
/** Run status and step results to display over the automation. */
|
|
57
57
|
trace?: ExecutionTrace;
|
|
58
58
|
/** Hide the result drawer and summary when the surrounding workbench owns Results. */
|
|
59
59
|
showResults?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as ChevronRightIcon } from "./icons-
|
|
1
|
+
import { p as ChevronRightIcon } from "./icons-Yp99gmMC.js";
|
|
2
2
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
3
3
|
import { DescriptionList } from "./components/foundations/DescriptionList.js";
|
|
4
|
-
import { a as
|
|
5
|
-
import { a as
|
|
4
|
+
import { a as httpUrl, i as WorkspaceComposerLink, r as OutboundLink } from "./workspace-assets-Dq5toMQc.js";
|
|
5
|
+
import { a as executionResultSummary, i as executionResultPath, o as readExecutionResult, r as executionResultFiles } from "./execution-result-DAuW4VWv.js";
|
|
6
6
|
import { t as WorkspaceFileLink } from "./WorkspaceLink-BeFAXpbI.js";
|
|
7
7
|
import { useId, useState } from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -230,7 +230,7 @@ function Value({ value, label = "Results" }) {
|
|
|
230
230
|
if (typeof result === "number") return /* @__PURE__ */ jsx("span", { children: result.toLocaleString() });
|
|
231
231
|
if (typeof result === "string") {
|
|
232
232
|
const href = httpUrl(result);
|
|
233
|
-
if (href) return /* @__PURE__ */ jsx(
|
|
233
|
+
if (href) return /* @__PURE__ */ jsx(OutboundLink, { href });
|
|
234
234
|
if (result.startsWith("/") && !/\s/.test(result)) return /* @__PURE__ */ jsx(FileLink, { path: result });
|
|
235
235
|
return /* @__PURE__ */ jsx(ResultText, { text: result });
|
|
236
236
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { C as
|
|
2
|
+
import { C as FileIcon, T as FolderOpenIcon, p as ChevronRightIcon, w as FolderIcon } from "./icons-Yp99gmMC.js";
|
|
3
3
|
import { t as NavigationLink } from "./navigation-link-kqMa81v5.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonSize, r as ButtonProps } from "./Button-
|
|
1
|
+
import { i as ButtonSize, r as ButtonProps } from "./Button-DIn-0P-0.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/foundations/IconButton.d.ts
|
|
4
4
|
interface IconButtonProps extends Omit<ButtonProps, "aria-label" | "children" | "size"> {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { findCatalogMcpServerCard, getMcpServerIconSrc, providerCardForHref } from "./utils/mcp-server-catalog.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import { C as FolderIcon, D as LinkIcon, K as SpinnerIcon, L as PauseIcon, P as MonitorIcon, S as FileIcon, T as InfoIcon, _ as DotIcon, d as CheckIcon, f as ChevronDownIcon, j as MessageSquareIcon, p as ChevronRightIcon, rt as XIcon, tt as WarningIcon, u as CalendarIcon } from "./icons-Cn3vWZRs.js";
|
|
4
3
|
import { Collapsible } from "./components/foundations/Collapsible.js";
|
|
4
|
+
import { B as PauseIcon, C as FileIcon, E as InfoIcon, L as MonitorIcon, P as MessageSquareIcon, Z as SpinnerIcon, _ as DotIcon, d as CheckIcon, f as ChevronDownIcon, k as LinkIcon, lt as XIcon, p as ChevronRightIcon, st as WarningIcon, u as CalendarIcon, w as FolderIcon } from "./icons-Yp99gmMC.js";
|
|
5
5
|
import { Button } from "./components/foundations/Button.js";
|
|
6
|
+
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "./components/ai-sdk/AgentAttention.js";
|
|
6
7
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
7
|
-
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
8
|
-
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
9
8
|
import { Avatar } from "./components/foundations/Avatar.js";
|
|
10
9
|
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
11
|
-
import { LinkButton } from "./components/foundations/LinkButton.js";
|
|
12
10
|
import { getThinkExecutionRunStatus } from "./components/agents-sdk/ThinkExecutionRun.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
12
|
+
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
13
|
+
import { LinkButton } from "./components/foundations/LinkButton.js";
|
|
15
14
|
import * as React from "react";
|
|
16
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
16
|
import { useRender } from "@base-ui/react/use-render";
|
|
@@ -600,9 +599,7 @@ function workingSetOf(work) {
|
|
|
600
599
|
return work.workingSet ?? [];
|
|
601
600
|
}
|
|
602
601
|
function workingSetKey(item) {
|
|
603
|
-
|
|
604
|
-
if (item.kind === "link") return `link:${item.href}`;
|
|
605
|
-
return `correspondent:${correspondentHandleLabel(item.correspondent.handle)}`;
|
|
602
|
+
return item.kind === "link" ? `link:${item.href}` : `${item.kind}:${item.path}`;
|
|
606
603
|
}
|
|
607
604
|
function safeHttpUrl(url) {
|
|
608
605
|
try {
|
|
@@ -638,11 +635,11 @@ function WorkingSetMark({ item }) {
|
|
|
638
635
|
});
|
|
639
636
|
return /* @__PURE__ */ jsx(LinkIcon, {});
|
|
640
637
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
643
|
-
const finishedRuns =
|
|
644
|
-
if (!finishedRuns.length) return
|
|
645
|
-
return `${
|
|
638
|
+
function scheduleDetail(schedule) {
|
|
639
|
+
const repeats = schedule.enabled ? schedule.task.schedule : `Paused · ${schedule.task.schedule}`;
|
|
640
|
+
const finishedRuns = schedule.runs.filter((run) => run.completedAt != null);
|
|
641
|
+
if (!finishedRuns.length) return repeats;
|
|
642
|
+
return `${repeats} · ${finishedRuns.filter((run) => {
|
|
646
643
|
const status = getThinkExecutionRunStatus(run);
|
|
647
644
|
return status === "completed" || status === "complete";
|
|
648
645
|
}).length} of ${finishedRuns.length} recent runs completed`;
|
|
@@ -736,10 +733,6 @@ function WorkingSetAttachment(props) {
|
|
|
736
733
|
}) })] });
|
|
737
734
|
}
|
|
738
735
|
function WorkingSetItemRow({ employee, item, renderLink, work }) {
|
|
739
|
-
if (item.kind === "correspondent") return /* @__PURE__ */ jsx("li", {
|
|
740
|
-
className: "manager-office__working-set-item",
|
|
741
|
-
children: /* @__PURE__ */ jsx(CorrespondentName, { correspondent: item.correspondent })
|
|
742
|
-
});
|
|
743
736
|
const caption = workingSetItemCaption(item);
|
|
744
737
|
const mark = /* @__PURE__ */ jsx(WorkingSetMark, { item });
|
|
745
738
|
if (item.kind === "link") {
|
|
@@ -970,13 +963,13 @@ function ManagerOfficeWorkSection({ className, ...props }) {
|
|
|
970
963
|
})]
|
|
971
964
|
});
|
|
972
965
|
}
|
|
973
|
-
function
|
|
966
|
+
function ManagerOfficeSchedules({ className, ...props }) {
|
|
974
967
|
const employee = useEmployee();
|
|
975
968
|
const { renderLink } = useOffice();
|
|
976
969
|
return /* @__PURE__ */ jsx("section", {
|
|
977
970
|
...props,
|
|
978
971
|
className: cx("manager-office__section", className),
|
|
979
|
-
"aria-label": "
|
|
972
|
+
"aria-label": "Schedules",
|
|
980
973
|
children: /* @__PURE__ */ jsxs(Collapsible.Root, {
|
|
981
974
|
defaultOpen: true,
|
|
982
975
|
children: [/* @__PURE__ */ jsxs(Button, {
|
|
@@ -985,43 +978,43 @@ function ManagerOfficeRoutines({ className, ...props }) {
|
|
|
985
978
|
variant: "ghost",
|
|
986
979
|
color: "neutral",
|
|
987
980
|
size: "sm",
|
|
988
|
-
className: "manager-
|
|
981
|
+
className: "manager-office__schedule-trigger",
|
|
989
982
|
children: [/* @__PURE__ */ jsxs("span", {
|
|
990
983
|
className: "manager-office__identity",
|
|
991
|
-
children: [/* @__PURE__ */ jsx(CalendarIcon, {}), /* @__PURE__ */ jsx("strong", { children: "
|
|
984
|
+
children: [/* @__PURE__ */ jsx(CalendarIcon, {}), /* @__PURE__ */ jsx("strong", { children: "Schedules" })]
|
|
992
985
|
}), /* @__PURE__ */ jsx(ChevronDownIcon, { className: "sigvelo-disclosure-chevron" })]
|
|
993
986
|
}), /* @__PURE__ */ jsx(Collapsible.Panel, {
|
|
994
987
|
unstyled: true,
|
|
995
|
-
children: employee.
|
|
996
|
-
className: "manager-
|
|
997
|
-
children: employee.
|
|
988
|
+
children: employee.schedules.length ? /* @__PURE__ */ jsx("ul", {
|
|
989
|
+
className: "manager-office__schedule-list sigvelo-stack-list",
|
|
990
|
+
children: employee.schedules.map((schedule) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(LinkButton, {
|
|
998
991
|
render: renderLink({
|
|
999
|
-
kind: "
|
|
992
|
+
kind: "schedule",
|
|
1000
993
|
employee,
|
|
1001
|
-
|
|
994
|
+
schedule
|
|
1002
995
|
}),
|
|
1003
996
|
variant: "ghost",
|
|
1004
997
|
color: "neutral",
|
|
1005
998
|
size: "sm",
|
|
1006
|
-
className: "manager-
|
|
999
|
+
className: "manager-office__schedule-link",
|
|
1007
1000
|
children: [
|
|
1008
|
-
|
|
1001
|
+
schedule.enabled ? /* @__PURE__ */ jsx(CalendarIcon, {}) : /* @__PURE__ */ jsx(PauseIcon, {}),
|
|
1009
1002
|
/* @__PURE__ */ jsxs("span", {
|
|
1010
1003
|
className: "manager-office__identity",
|
|
1011
1004
|
children: [/* @__PURE__ */ jsx("strong", {
|
|
1012
1005
|
className: "sigvelo-truncate",
|
|
1013
|
-
children:
|
|
1006
|
+
children: schedule.name
|
|
1014
1007
|
}), /* @__PURE__ */ jsx("small", {
|
|
1015
1008
|
className: "sigvelo-truncate",
|
|
1016
|
-
children:
|
|
1009
|
+
children: scheduleDetail(schedule)
|
|
1017
1010
|
})]
|
|
1018
1011
|
}),
|
|
1019
1012
|
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "manager-office__row-chevron" })
|
|
1020
1013
|
]
|
|
1021
|
-
}) },
|
|
1014
|
+
}) }, schedule.id))
|
|
1022
1015
|
}) : /* @__PURE__ */ jsx("p", {
|
|
1023
1016
|
className: "manager-office__section-empty",
|
|
1024
|
-
children: "No
|
|
1017
|
+
children: "No schedules yet."
|
|
1025
1018
|
})
|
|
1026
1019
|
})]
|
|
1027
1020
|
})
|
|
@@ -1128,7 +1121,7 @@ const ManagerOffice = {
|
|
|
1128
1121
|
Columns: ManagerOfficeColumns,
|
|
1129
1122
|
Aside: ManagerOfficeAside,
|
|
1130
1123
|
Work: ManagerOfficeWorkSection,
|
|
1131
|
-
|
|
1124
|
+
Schedules: ManagerOfficeSchedules,
|
|
1132
1125
|
Channels: ManagerOfficeChannels,
|
|
1133
1126
|
ConnectionState: ManagerOfficeConnectionState
|
|
1134
1127
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as McpServerSetupAuth, u as McpServerSetupAuthFieldName } from "./mcp-server-catalog-
|
|
1
|
+
import { c as McpServerSetupAuth, u as McpServerSetupAuthFieldName } from "./mcp-server-catalog-Di4N46H9.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/agents-sdk/McpConnectorForm.d.ts
|
|
4
4
|
type CredentialFieldName = Exclude<McpServerSetupAuthFieldName, "redirectUrl">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as DialogProps } from "./Dialog-D5AVE3IN.js";
|
|
2
|
-
import { o as McpServerCard } from "./mcp-server-catalog-
|
|
3
|
-
import { r as McpConnectorFormValues } from "./McpConnectorForm-
|
|
2
|
+
import { o as McpServerCard } from "./mcp-server-catalog-Di4N46H9.js";
|
|
3
|
+
import { r as McpConnectorFormValues } from "./McpConnectorForm-BLsQt_er.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { MCPServersState } from "agents";
|
|
6
6
|
//#region src/components/agents-sdk/McpPluginCatalog.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as IconButtonProps } from "./IconButton-
|
|
2
|
-
import { t as CopyButtonProps } from "./copy-button-
|
|
1
|
+
import { n as IconButtonProps } from "./IconButton-FWsa9562.js";
|
|
2
|
+
import { t as CopyButtonProps } from "./copy-button-B09hHWd1.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { FileUIPart, UIMessage } from "ai";
|
|
5
5
|
import { StreamdownProps } from "streamdown";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as MenuProps, s as MenuItemProps, t as Menu } from "./Menu-FA4P6KrA.js";
|
|
2
2
|
import { a as TabsListProps, n as TabProps, t as TabPanelProps } from "./Tabs-BYs-RgJ7.js";
|
|
3
|
-
import { r as ButtonProps } from "./Button-
|
|
3
|
+
import { r as ButtonProps } from "./Button-DIn-0P-0.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { ChatStatus, FileUIPart } from "ai";
|
|
6
6
|
//#region src/components/ai-sdk/PromptInput.d.ts
|
|
@@ -17,7 +17,7 @@ interface ResponsiveSidebarShellControls {
|
|
|
17
17
|
declare function useResponsiveSidebarShell(): ResponsiveSidebarShellControls;
|
|
18
18
|
/**
|
|
19
19
|
* Bar slot content shared by every shell-owning surface's `bar` prop, so an
|
|
20
|
-
* app writes one shape whether it is configuring ThinkFullApp, the
|
|
20
|
+
* app writes one shape whether it is configuring ThinkFullApp, the schedule
|
|
21
21
|
* library, or the shell directly.
|
|
22
22
|
*/
|
|
23
23
|
interface AppBarSlots {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
3
|
-
import { IconButton } from "./components/foundations/IconButton.js";
|
|
2
|
+
import { W as PlusIcon, d as CheckIcon, f as ChevronDownIcon, st as WarningIcon } from "./icons-Yp99gmMC.js";
|
|
4
3
|
import { Menu } from "./components/foundations/Menu.js";
|
|
4
|
+
import { IconButton } from "./components/foundations/IconButton.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/_internal/menu-disclosure-group.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as AgentMessageRenderPartContext } from "./AgentMessageParts-BtWwiE4f.js";
|
|
2
2
|
import { AgentChatMessageContentProps } from "./components/agents-sdk/AgentChat.js";
|
|
3
|
-
import {
|
|
3
|
+
import { r as AgentToolRunValue } from "./AgentToolRunsContext-Br3jZ6Up.js";
|
|
4
4
|
import { u as ThinkChatPart } from "./ThinkChatToolParts-BrntWlpa.js";
|
|
5
|
-
import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-
|
|
5
|
+
import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-8MO1VjAJ.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { DynamicToolUIPart, ToolUIPart, UIMessage } from "ai";
|
|
8
8
|
//#region src/components/agents-sdk/ThinkChatActivity.d.ts
|
|
@@ -28,7 +28,11 @@ interface ThinkChatActivityRendererOptions<MessageT extends UIMessage = UIMessag
|
|
|
28
28
|
excludeTools?: readonly string[];
|
|
29
29
|
/** Per-tool action/panel overrides inside the activity log, keyed by tool name. */
|
|
30
30
|
toolRenderers?: ThinkChatToolRenderers;
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* App-authored TanStack Router Link for each retained child destination.
|
|
33
|
+
* When set, the runs that a group's tool calls dispatched render as live
|
|
34
|
+
* lanes (`SubagentRunLanes`) under that group.
|
|
35
|
+
*/
|
|
32
36
|
renderAgentToolRunLink?: (run: AgentToolRunValue<MessageT["parts"][number]>) => React.ReactElement;
|
|
33
37
|
}
|
|
34
38
|
interface ThinkChatActivityProps {
|
package/dist/{ThinkChatActivitySummary-ChJ8Iu2T.d.ts → ThinkChatActivitySummary-8MO1VjAJ.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as AgentActivityIconKind, s as AgentActivitySummary } from "./AgentActivity-
|
|
1
|
+
import { i as AgentActivityIconKind, s as AgentActivitySummary } from "./AgentActivity-DptCj8XQ.js";
|
|
2
2
|
import { u as ThinkChatPart } from "./ThinkChatToolParts-BrntWlpa.js";
|
|
3
3
|
import { DynamicToolUIPart, ToolUIPart } from "ai";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkChatActivitySummary.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ThinkSubmissionInspection } from "@cloudflare/think";
|
|
2
2
|
import { WorkflowInfo } from "agents/workflows";
|
|
3
3
|
//#region src/components/agents-sdk/ThinkExecutionRun.d.ts
|
|
4
|
-
/** Whole upstream execution records displayed by Think
|
|
4
|
+
/** Whole upstream execution records displayed by Think schedule and execution surfaces. */
|
|
5
5
|
type ThinkExecutionRun = ThinkSubmissionInspection | WorkflowInfo;
|
|
6
6
|
/** Narrows the direct upstream execution union without wrapping either record. */
|
|
7
7
|
declare function isThinkSubmissionRun(run: ThinkExecutionRun): run is ThinkSubmissionInspection;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { t as ThinkExecutionRun } from "./ThinkExecutionRun-DJ2TFDmZ.js";
|
|
2
|
+
import { i as WorkspaceAutomationInvocation } from "./WorkspaceAutomation-B2Pdz_SU.js";
|
|
3
|
+
import { ThinkScheduledTask, ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
4
|
+
import { Schedule } from "agents";
|
|
5
|
+
//#region src/components/agents-sdk/ThinkSchedule.d.ts
|
|
6
|
+
/** App-owned identity for the Think agent that owns a schedule. */
|
|
7
|
+
interface ThinkScheduleOwner {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* App-level schedule descriptor. Scheduling and run records remain whole
|
|
13
|
+
* upstream Think/Agents SDK values; only library identity and enabled state are
|
|
14
|
+
* app-owned because neither SDK provides a cross-agent schedule catalog.
|
|
15
|
+
*/
|
|
16
|
+
interface ThinkSchedule {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
owner: ThinkScheduleOwner;
|
|
22
|
+
task: ThinkScheduledTask | {
|
|
23
|
+
schedule: ThinkScheduledTaskSchedule;
|
|
24
|
+
automation: WorkspaceAutomationInvocation;
|
|
25
|
+
};
|
|
26
|
+
/** The Agents SDK alarm for the next occurrence. */
|
|
27
|
+
alarm?: Schedule<unknown> | null;
|
|
28
|
+
runs: readonly ThinkExecutionRun[];
|
|
29
|
+
}
|
|
30
|
+
/** Preserves an app-enriched native run type carried by a schedule subtype. */
|
|
31
|
+
type ThinkScheduleRunOf<TSchedule extends ThinkSchedule = ThinkSchedule> = TSchedule["runs"][number];
|
|
32
|
+
declare function getThinkScheduleNextRun(schedule: ThinkSchedule): string | null;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { getThinkScheduleNextRun as i, ThinkScheduleOwner as n, ThinkScheduleRunOf as r, ThinkSchedule as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as WorkspaceMediaInfo, i as WorkspaceFileState, r as WorkspaceFileAssetResolver, t as WorkspaceFileAsset } from "./WorkspaceFile-
|
|
1
|
+
import { a as WorkspaceMediaInfo, i as WorkspaceFileState, r as WorkspaceFileAssetResolver, t as WorkspaceFileAsset } from "./WorkspaceFile-nK2n0i4S.js";
|
|
2
2
|
import { DataTag, QueryClient, QueryKey, UnusedSkipTokenOptions } from "@tanstack/react-query";
|
|
3
3
|
import { FileInfo, Workspace, WorkspaceFsLike } from "@cloudflare/shell";
|
|
4
4
|
//#region src/components/agents-sdk/Workspace.d.ts
|