@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
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { X as SlackIcon, _ as DotIcon, d as CheckIcon, j as MailIcon, lt as XIcon } from "./icons-Yp99gmMC.js";
|
|
2
|
+
import { Button } from "./components/foundations/Button.js";
|
|
3
|
+
import { Field } from "./components/foundations/Field.js";
|
|
4
|
+
import { Textarea } from "./components/foundations/Textarea.js";
|
|
5
|
+
import { CardContent, CardFooter } from "./components/foundations/Card.js";
|
|
6
|
+
import { DescriptionList } from "./components/foundations/DescriptionList.js";
|
|
7
|
+
import { Input } from "./components/foundations/Input.js";
|
|
8
|
+
import { a as httpUrl, t as FaviconMark } from "./workspace-assets-Dq5toMQc.js";
|
|
9
|
+
import { t as WorkspaceEntityCard } from "./workspace-entity-card-B1aV-jBj.js";
|
|
10
|
+
import { i as recipientField } from "./workspace-person-BVkYb3dv.js";
|
|
11
|
+
import * as React from "react";
|
|
12
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
//#region src/components/_internal/connected-app-card-frame.tsx
|
|
14
|
+
const STATE_ICON = {
|
|
15
|
+
"approval-requested": DotIcon,
|
|
16
|
+
pending: DotIcon,
|
|
17
|
+
sent: CheckIcon,
|
|
18
|
+
denied: XIcon,
|
|
19
|
+
failed: XIcon
|
|
20
|
+
};
|
|
21
|
+
/** Labeled facts, or their inputs while editing. A web address shows its site's mark. */
|
|
22
|
+
function FieldList({ editing, items, onFieldChange }) {
|
|
23
|
+
const fieldId = React.useId();
|
|
24
|
+
if (items.length === 0) return null;
|
|
25
|
+
return /* @__PURE__ */ jsx(DescriptionList.Root, {
|
|
26
|
+
align: "start",
|
|
27
|
+
density: "compact",
|
|
28
|
+
children: items.map((item) => {
|
|
29
|
+
const inputId = `${fieldId}-${item.name}`;
|
|
30
|
+
const hintId = item.hint ? `${inputId}-hint` : void 0;
|
|
31
|
+
const href = httpUrl(item.value);
|
|
32
|
+
return /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsxs(DescriptionList.Term, { children: [href ? /* @__PURE__ */ jsx(FaviconMark, { href }) : null, editing ? /* @__PURE__ */ jsx("label", {
|
|
33
|
+
htmlFor: inputId,
|
|
34
|
+
children: item.term
|
|
35
|
+
}) : item.term] }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: editing ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Input, {
|
|
36
|
+
id: inputId,
|
|
37
|
+
name: item.name,
|
|
38
|
+
type: href ? "url" : void 0,
|
|
39
|
+
value: item.value,
|
|
40
|
+
autoComplete: "off",
|
|
41
|
+
"aria-describedby": hintId,
|
|
42
|
+
onChange: (event) => onFieldChange?.(item.name, event.currentTarget.value)
|
|
43
|
+
}), hintId ? /* @__PURE__ */ jsx("p", {
|
|
44
|
+
id: hintId,
|
|
45
|
+
className: "connected-app-card__hint",
|
|
46
|
+
children: item.hint
|
|
47
|
+
}) : null] }) : item.display ?? item.value })] }, item.name);
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/** The draft's message: its textarea while editing, otherwise its text when there is any. */
|
|
52
|
+
function MessageBody({ editing, name, value, onChange }) {
|
|
53
|
+
if (!editing) return value ? /* @__PURE__ */ jsx("p", {
|
|
54
|
+
className: "connected-app-card__body",
|
|
55
|
+
children: value
|
|
56
|
+
}) : null;
|
|
57
|
+
return /* @__PURE__ */ jsxs(Field.Root, { children: [/* @__PURE__ */ jsx(Field.Label, { children: "Message" }), /* @__PURE__ */ jsx(Field.Control, {
|
|
58
|
+
render: /* @__PURE__ */ jsx(Textarea, {
|
|
59
|
+
name,
|
|
60
|
+
rows: 4,
|
|
61
|
+
resize: "vertical",
|
|
62
|
+
autoComplete: "off"
|
|
63
|
+
}),
|
|
64
|
+
value,
|
|
65
|
+
onChange: (event) => onChange(event.currentTarget.value)
|
|
66
|
+
})] });
|
|
67
|
+
}
|
|
68
|
+
/** Runs Send once at a time and keeps its failure for the card to show. */
|
|
69
|
+
function useSend(onSend) {
|
|
70
|
+
const [busy, setBusy] = React.useState(false);
|
|
71
|
+
const [errorMessage, setErrorMessage] = React.useState("");
|
|
72
|
+
const send = async () => {
|
|
73
|
+
if (!onSend || busy) return;
|
|
74
|
+
setBusy(true);
|
|
75
|
+
setErrorMessage("");
|
|
76
|
+
try {
|
|
77
|
+
await onSend();
|
|
78
|
+
} catch (error) {
|
|
79
|
+
setErrorMessage(error instanceof Error && error.message.trim() ? error.message : "Nothing was sent. Try again.");
|
|
80
|
+
} finally {
|
|
81
|
+
setBusy(false);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
return {
|
|
85
|
+
busy,
|
|
86
|
+
errorMessage,
|
|
87
|
+
send
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
const SEND_STATE_LABELS = {
|
|
91
|
+
"approval-requested": "Awaiting approval",
|
|
92
|
+
pending: "Sending",
|
|
93
|
+
sent: "Sent",
|
|
94
|
+
denied: "Denied",
|
|
95
|
+
failed: "Not sent"
|
|
96
|
+
};
|
|
97
|
+
/** A draft on the entity card: its status, body, and save lifecycle, and Send where offered. */
|
|
98
|
+
function ConnectedAppCardFrame({ actions, children, sendLabel = "Send", state, saveState, stateLabels = SEND_STATE_LABELS, onSend, ...props }) {
|
|
99
|
+
const offersSend = state === void 0 && onSend != null;
|
|
100
|
+
const status = state ? stateLabels[state] : offersSend ? "Ready to send" : void 0;
|
|
101
|
+
const StateIcon = STATE_ICON[state ?? "pending"];
|
|
102
|
+
const send = useSend(onSend);
|
|
103
|
+
return /* @__PURE__ */ jsxs(WorkspaceEntityCard, {
|
|
104
|
+
...props,
|
|
105
|
+
"data-state": state,
|
|
106
|
+
actions: /* @__PURE__ */ jsxs(Fragment, { children: [status ? /* @__PURE__ */ jsxs("span", {
|
|
107
|
+
className: "connected-app-card__status",
|
|
108
|
+
"data-state": state,
|
|
109
|
+
children: [/* @__PURE__ */ jsx(StateIcon, { size: 14 }), status]
|
|
110
|
+
}) : null, actions] }),
|
|
111
|
+
children: [/* @__PURE__ */ jsxs(CardContent, { children: [
|
|
112
|
+
children,
|
|
113
|
+
/* @__PURE__ */ jsx(ConnectedAppCardSaveError, { saveState }),
|
|
114
|
+
send.errorMessage ? /* @__PURE__ */ jsx(Field.Errors, { errors: [send.errorMessage] }) : null,
|
|
115
|
+
/* @__PURE__ */ jsx("span", {
|
|
116
|
+
className: "sigvelo-visually-hidden",
|
|
117
|
+
role: "status",
|
|
118
|
+
"aria-atomic": "true",
|
|
119
|
+
children: connectedAppCardAnnouncement(saveState, send)
|
|
120
|
+
})
|
|
121
|
+
] }), offersSend ? /* @__PURE__ */ jsx(CardFooter, {
|
|
122
|
+
render: /* @__PURE__ */ jsx("footer", {}),
|
|
123
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
124
|
+
type: "button",
|
|
125
|
+
size: "sm",
|
|
126
|
+
disabled: send.busy || saveState !== void 0,
|
|
127
|
+
onClick: () => void send.send(),
|
|
128
|
+
children: sendLabel
|
|
129
|
+
})
|
|
130
|
+
}) : null]
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/** A failed save stays visible, with its retry, until the store holds the draft. */
|
|
134
|
+
function ConnectedAppCardSaveError({ saveState }) {
|
|
135
|
+
if (saveState?.status !== "error" || !saveState.message) return null;
|
|
136
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
137
|
+
className: "connected-app-card__save-error",
|
|
138
|
+
children: [/* @__PURE__ */ jsx(Field.Errors, { errors: [saveState.message] }), saveState.onRetry ? /* @__PURE__ */ jsx(Button, {
|
|
139
|
+
type: "button",
|
|
140
|
+
size: "sm",
|
|
141
|
+
variant: "ghost",
|
|
142
|
+
color: "neutral",
|
|
143
|
+
onClick: saveState.onRetry,
|
|
144
|
+
children: "Retry save"
|
|
145
|
+
}) : null]
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/** One polite announcement: errors first, then the save or send in flight. */
|
|
149
|
+
function connectedAppCardAnnouncement(saveState, send) {
|
|
150
|
+
if (saveState?.status === "error" && saveState.message) return saveState.message;
|
|
151
|
+
if (send.errorMessage) return send.errorMessage;
|
|
152
|
+
if (saveState?.status === "saving") return "Saving";
|
|
153
|
+
return send.busy ? "Sending" : "";
|
|
154
|
+
}
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region src/components/_internal/connected-app-drafts.tsx
|
|
157
|
+
function createDraftUpdater(draft, onChange) {
|
|
158
|
+
let current = draft;
|
|
159
|
+
return (patch) => {
|
|
160
|
+
const next = {
|
|
161
|
+
...current,
|
|
162
|
+
...patch
|
|
163
|
+
};
|
|
164
|
+
current = next;
|
|
165
|
+
onChange?.(next);
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
function EmailDraftCard({ draft, icon, people, state, onChange, ...props }) {
|
|
169
|
+
const { from, to, subject, body } = draft;
|
|
170
|
+
const editing = state === void 0 && onChange != null;
|
|
171
|
+
const updateDraft = createDraftUpdater(draft, onChange);
|
|
172
|
+
return /* @__PURE__ */ jsxs(ConnectedAppCardFrame, {
|
|
173
|
+
...props,
|
|
174
|
+
"data-slot": "email-message-card",
|
|
175
|
+
icon: icon ?? /* @__PURE__ */ jsx(MailIcon, {}),
|
|
176
|
+
name: "New email",
|
|
177
|
+
sendLabel: "Send email",
|
|
178
|
+
state,
|
|
179
|
+
children: [/* @__PURE__ */ jsx(FieldList, {
|
|
180
|
+
editing,
|
|
181
|
+
onFieldChange: (name, value) => updateDraft({ [name]: value }),
|
|
182
|
+
items: editing ? [
|
|
183
|
+
{
|
|
184
|
+
name: "from",
|
|
185
|
+
term: "From",
|
|
186
|
+
value: from ?? ""
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
name: "to",
|
|
190
|
+
term: "To",
|
|
191
|
+
value: to ?? "",
|
|
192
|
+
...recipientField(to ?? "", people)
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
name: "subject",
|
|
196
|
+
term: "Subject",
|
|
197
|
+
value: subject
|
|
198
|
+
}
|
|
199
|
+
] : [
|
|
200
|
+
...from ? [{
|
|
201
|
+
name: "from",
|
|
202
|
+
term: "From",
|
|
203
|
+
value: from
|
|
204
|
+
}] : [],
|
|
205
|
+
...to ? [{
|
|
206
|
+
name: "to",
|
|
207
|
+
term: "To",
|
|
208
|
+
value: to,
|
|
209
|
+
...recipientField(to, people)
|
|
210
|
+
}] : [],
|
|
211
|
+
{
|
|
212
|
+
name: "subject",
|
|
213
|
+
term: "Subject",
|
|
214
|
+
value: subject
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
}), /* @__PURE__ */ jsx(MessageBody, {
|
|
218
|
+
editing,
|
|
219
|
+
name: "body",
|
|
220
|
+
value: body ?? "",
|
|
221
|
+
onChange: (value) => updateDraft({ body: value })
|
|
222
|
+
})]
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
function SlackDraftCard({ draft, icon, people, state, onChange, ...props }) {
|
|
226
|
+
const { workspace, to, thread, message } = draft;
|
|
227
|
+
const editing = state === void 0 && onChange != null;
|
|
228
|
+
const updateDraft = createDraftUpdater(draft, onChange);
|
|
229
|
+
return /* @__PURE__ */ jsxs(ConnectedAppCardFrame, {
|
|
230
|
+
...props,
|
|
231
|
+
"data-slot": "slack-message-card",
|
|
232
|
+
icon: icon ?? /* @__PURE__ */ jsx(SlackIcon, {}),
|
|
233
|
+
name: "Slack message",
|
|
234
|
+
sendLabel: "Send message",
|
|
235
|
+
state,
|
|
236
|
+
children: [/* @__PURE__ */ jsx(FieldList, {
|
|
237
|
+
editing,
|
|
238
|
+
onFieldChange: (name, value) => updateDraft({ [name]: value }),
|
|
239
|
+
items: editing ? [
|
|
240
|
+
{
|
|
241
|
+
name: "workspace",
|
|
242
|
+
term: "Workspace",
|
|
243
|
+
value: workspace ?? ""
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: "to",
|
|
247
|
+
term: "To",
|
|
248
|
+
value: to,
|
|
249
|
+
...recipientField(to, people)
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: "thread",
|
|
253
|
+
term: "Thread",
|
|
254
|
+
value: thread ?? ""
|
|
255
|
+
}
|
|
256
|
+
] : [
|
|
257
|
+
...workspace ? [{
|
|
258
|
+
name: "workspace",
|
|
259
|
+
term: "Workspace",
|
|
260
|
+
value: workspace
|
|
261
|
+
}] : [],
|
|
262
|
+
{
|
|
263
|
+
name: "to",
|
|
264
|
+
term: "To",
|
|
265
|
+
value: to,
|
|
266
|
+
...recipientField(to, people)
|
|
267
|
+
},
|
|
268
|
+
...thread ? [{
|
|
269
|
+
name: "thread",
|
|
270
|
+
term: "Thread",
|
|
271
|
+
value: thread
|
|
272
|
+
}] : []
|
|
273
|
+
]
|
|
274
|
+
}), /* @__PURE__ */ jsx(MessageBody, {
|
|
275
|
+
editing,
|
|
276
|
+
name: "message",
|
|
277
|
+
value: message,
|
|
278
|
+
onChange: (value) => updateDraft({ message: value })
|
|
279
|
+
})]
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
//#endregion
|
|
283
|
+
export { MessageBody as a, FieldList as i, SlackDraftCard as n, ConnectedAppCardFrame as r, EmailDraftCard as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as IconButtonProps } from "./IconButton-
|
|
1
|
+
import { n as IconButtonProps } from "./IconButton-FWsa9562.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/_internal/copy-button.d.ts
|
|
4
4
|
interface CopyButtonProps extends Omit<IconButtonProps, "children" | "variant" | "color" | "onClick" | "onError"> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CheckIcon, h as CopyIcon } from "./icons-
|
|
1
|
+
import { d as CheckIcon, h as CopyIcon } from "./icons-Yp99gmMC.js";
|
|
2
2
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -61,7 +61,7 @@ function executionResultSummary(result) {
|
|
|
61
61
|
}
|
|
62
62
|
/** Preserve useful failure prose without putting provider response bodies in the UI. */
|
|
63
63
|
function executionErrorSummary(error) {
|
|
64
|
-
if (error.includes("JavaScript preflight failed:")) return "This
|
|
64
|
+
if (error.includes("JavaScript preflight failed:")) return "This automation needs a correction before it can run.";
|
|
65
65
|
const start = error.search(STRUCTURED_RESULT_START);
|
|
66
66
|
if (start === -1) return prose(error) ?? "Couldn't complete this run.";
|
|
67
67
|
const details = readExecutionResult(error.slice(start));
|
|
@@ -76,5 +76,33 @@ function executionErrorSummary(error) {
|
|
|
76
76
|
}
|
|
77
77
|
return prose(error.slice(0, start).replace(/[:\s]+$/, "")) ?? "Couldn't complete this run.";
|
|
78
78
|
}
|
|
79
|
+
/** How one step of a run stands, in the words the board and its outline show. */
|
|
80
|
+
function stepState(node, trace) {
|
|
81
|
+
if (!node.observed) return "Not observed";
|
|
82
|
+
const stats = trace?.steps[node.stepId];
|
|
83
|
+
if (stats?.active && trace?.status === "running") return "Running";
|
|
84
|
+
if (stats?.failed) return "Failed";
|
|
85
|
+
if (stats?.active) return "Unfinished";
|
|
86
|
+
if (stats?.completed) return "Completed";
|
|
87
|
+
return trace && trace.status !== "running" ? "Not reached" : "Ready";
|
|
88
|
+
}
|
|
89
|
+
/** The board's one-line notice for a run that failed, stopped, or was interrupted. */
|
|
90
|
+
function boardNotice(graph, trace) {
|
|
91
|
+
if (!trace) return void 0;
|
|
92
|
+
if (trace.status === "error") return {
|
|
93
|
+
text: `${graph.nodes.find((node) => trace.steps[node.stepId]?.failed)?.label ?? "This run"} could not finish.${trace.error ? ` ${executionErrorSummary(trace.error)}` : " Ask Rook to review this step."}`,
|
|
94
|
+
alert: true
|
|
95
|
+
};
|
|
96
|
+
if (trace.status !== "aborted" && trace.status !== "interrupted") return void 0;
|
|
97
|
+
const unfinished = graph.nodes.find((node) => trace.steps[node.stepId]?.active);
|
|
98
|
+
if (trace.status === "aborted") return {
|
|
99
|
+
text: unfinished ? `Stopped during ${unfinished.label}.` : "Stopped before the job finished.",
|
|
100
|
+
alert: false
|
|
101
|
+
};
|
|
102
|
+
return {
|
|
103
|
+
text: unfinished ? `Interrupted during ${unfinished.label}.` : "This run was interrupted before the job finished.",
|
|
104
|
+
alert: false
|
|
105
|
+
};
|
|
106
|
+
}
|
|
79
107
|
//#endregion
|
|
80
|
-
export {
|
|
108
|
+
export { executionResultSummary as a, executionResultPath as i, executionErrorSummary as n, readExecutionResult as o, executionResultFiles as r, stepState as s, boardNotice as t };
|
|
@@ -61,6 +61,7 @@ declare const MonitorIcon: ({ size, strokeWidth, ...props }: IconProps) => impor
|
|
|
61
61
|
declare const MessageSquareIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
62
62
|
declare const MailIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
63
63
|
declare const UserIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
64
|
+
declare const UsersIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
64
65
|
declare const McpIcon: ({ size, ...props }: BrandIconProps) => import("react").JSX.Element;
|
|
65
66
|
/** Discord Blurple. Callers override with `color` or a `className` that sets color. */
|
|
66
67
|
declare function DiscordIcon({ size, color, className, ...props }: BrandIconProps): import("react").JSX.Element;
|
|
@@ -70,5 +71,10 @@ declare const MoonIcon: ({ size, strokeWidth, ...props }: IconProps) => import("
|
|
|
70
71
|
declare const SunIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
71
72
|
declare const TargetIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
72
73
|
declare const MaximizeIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
74
|
+
declare const EllipsisVerticalIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
75
|
+
declare const LaptopIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
76
|
+
declare const LockIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
77
|
+
declare const PinIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
78
|
+
declare const PuzzleIcon: ({ size, strokeWidth, ...props }: IconProps) => import("react").JSX.Element;
|
|
73
79
|
//#endregion
|
|
74
|
-
export {
|
|
80
|
+
export { SpinnerIcon as $, LaptopIcon as A, MoonIcon as B, EyeOffIcon as C, IconProps as D, FolderOpenIcon as E, McpIcon as F, PlayIcon as G, PauseIcon as H, MessageSquareIcon as I, QueueIcon as J, PlusIcon as K, MicrophoneIcon as L, LockIcon as M, MailIcon as N, InfoIcon as O, MaximizeIcon as P, SlackIcon as Q, MinusIcon as R, EyeIcon as S, FolderIcon as T, PencilIcon as U, PaperclipIcon as V, PinIcon as W, SearchIcon as X, RefreshIcon as Y, SidebarIcon as Z, DiscordIcon as _, ArrowUpIcon as a, TerminalIcon as at, EllipsisIcon as b, BoxIcon as c, UsersIcon as ct, CalendarIcon as d, XIcon as dt, SplitIcon as et, CheckIcon as f, CopyIcon as g, CodeIcon as h, ArrowRightIcon as i, TargetIcon as it, LinkIcon as j, KeyboardIcon as k, BrainIcon as l, WarningIcon as lt, ChevronRightIcon as m, ArrowDownIcon as n, StopIcon as nt, ArrowUpRightIcon as o, TrashIcon as ot, ChevronDownIcon as p, PuzzleIcon as q, ArrowLeftIcon as r, SunIcon as rt, BookmarkIcon as s, UserIcon as st, ArchiveIcon as t, SquareIcon as tt, BrandIconProps as u, WrenchIcon as ut, DotIcon as v, FileIcon as w, EllipsisVerticalIcon as x, DownloadIcon as y, MonitorIcon as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Bookmark, Box, Brain, CalendarDays, Check, ChevronDown, ChevronRight, CircleStop, CodeXml, Copy, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Info, Keyboard, Link2, ListRestart, LoaderCircle, Mail, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Split, Square, Sun, Target, Terminal, Trash2, TriangleAlert, User, Wrench, X } from "lucide-react";
|
|
3
|
-
import { SiDiscord, SiModelcontextprotocol } from "react-icons/si";
|
|
4
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Bookmark, Box, Brain, CalendarDays, Check, ChevronDown, ChevronRight, CircleStop, CodeXml, Copy, Dot, Download, Ellipsis, EllipsisVertical, Eye, EyeOff, File, Folder, FolderOpen, Info, Keyboard, Laptop, Link2, ListRestart, LoaderCircle, Lock, Mail, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Pin, Play, Plus, Puzzle, RefreshCw, Search, Split, Square, Sun, Target, Terminal, Trash2, TriangleAlert, User, Users, Wrench, X } from "lucide-react";
|
|
4
|
+
import { SiDiscord, SiModelcontextprotocol } from "react-icons/si";
|
|
5
5
|
//#region src/components/_internal/icons.tsx
|
|
6
6
|
function icon(Component) {
|
|
7
7
|
return function DesignSystemIcon({ size = 16, strokeWidth = 1.75, ...props }) {
|
|
@@ -83,6 +83,7 @@ const MonitorIcon = icon(Monitor);
|
|
|
83
83
|
const MessageSquareIcon = icon(MessageSquare);
|
|
84
84
|
const MailIcon = icon(Mail);
|
|
85
85
|
const UserIcon = icon(User);
|
|
86
|
+
const UsersIcon = icon(Users);
|
|
86
87
|
const McpIcon = brandIcon(SiModelcontextprotocol);
|
|
87
88
|
/** Discord Blurple. Callers override with `color` or a `className` that sets color. */
|
|
88
89
|
function DiscordIcon({ size = 16, color = "#5865F2", className, ...props }) {
|
|
@@ -131,5 +132,10 @@ const MoonIcon = icon(Moon);
|
|
|
131
132
|
const SunIcon = icon(Sun);
|
|
132
133
|
const TargetIcon = icon(Target);
|
|
133
134
|
const MaximizeIcon = icon(Maximize2);
|
|
135
|
+
const EllipsisVerticalIcon = icon(EllipsisVertical);
|
|
136
|
+
const LaptopIcon = icon(Laptop);
|
|
137
|
+
const LockIcon = icon(Lock);
|
|
138
|
+
const PinIcon = icon(Pin);
|
|
139
|
+
const PuzzleIcon = icon(Puzzle);
|
|
134
140
|
//#endregion
|
|
135
|
-
export {
|
|
141
|
+
export { SquareIcon as $, LockIcon as A, PauseIcon as B, FileIcon as C, KeyboardIcon as D, InfoIcon as E, MicrophoneIcon as F, PuzzleIcon as G, PinIcon as H, MinusIcon as I, SearchIcon as J, QueueIcon as K, MonitorIcon as L, MaximizeIcon as M, McpIcon as N, LaptopIcon as O, MessageSquareIcon as P, SplitIcon as Q, MoonIcon as R, EyeOffIcon as S, FolderOpenIcon as T, PlayIcon as U, PencilIcon as V, PlusIcon as W, SlackIcon as X, SidebarIcon as Y, SpinnerIcon as Z, DotIcon as _, ArrowUpIcon as a, UserIcon as at, EllipsisVerticalIcon as b, BoxIcon as c, WrenchIcon as ct, CheckIcon as d, StopIcon as et, ChevronDownIcon as f, DiscordIcon as g, CopyIcon as h, ArrowRightIcon as i, TrashIcon as it, MailIcon as j, LinkIcon as k, BrainIcon as l, XIcon as lt, CodeIcon as m, ArrowDownIcon as n, TargetIcon as nt, ArrowUpRightIcon as o, UsersIcon as ot, ChevronRightIcon as p, RefreshIcon as q, ArrowLeftIcon as r, TerminalIcon as rt, BookmarkIcon as s, WarningIcon as st, ArchiveIcon as t, SunIcon as tt, CalendarIcon as u, DownloadIcon as v, FolderIcon as w, EyeIcon as x, EllipsisIcon as y, PaperclipIcon as z };
|
|
@@ -135,8 +135,14 @@ declare const CUSTOM_MCP_SERVER_CARD: {
|
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
137
|
declare function getMcpServerIconSrc(server: McpServerCard): string | undefined;
|
|
138
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* The catalog card whose product mark a visited page carries: a history entry,
|
|
140
|
+
* a working-set link, or a site in a run's evidence. Takes a full http(s) URL;
|
|
141
|
+
* other sites, bare host names, and other schemes resolve to `undefined`.
|
|
142
|
+
*/
|
|
139
143
|
declare function providerCardForHref(href: string): McpServerCard | undefined;
|
|
144
|
+
/** A page's mark: its catalog product's own, otherwise the origin's favicon. */
|
|
145
|
+
declare function markSrcForHref(href: string): string | undefined;
|
|
140
146
|
/** Match a live MCP entry or channel name to a catalog card that already has a brand mark. */
|
|
141
147
|
declare function findCatalogMcpServerCard(query: {
|
|
142
148
|
id?: string;
|
|
@@ -283,7 +289,7 @@ declare const DCR_MCP_SERVER_CARDS: readonly [{
|
|
|
283
289
|
readonly url: "https://mcp.monday.com/mcp";
|
|
284
290
|
readonly description: "Access monday.com workspace data";
|
|
285
291
|
readonly category: "Auto";
|
|
286
|
-
readonly icon: "https://
|
|
292
|
+
readonly icon: "https://cdn.prod.website-files.com/656da6fea306219773d04208/65af6bd29fc8bb3d3d4ea39a_6464d702c3ac5c56000c2438_favicon-monday5-32.png";
|
|
287
293
|
}, {
|
|
288
294
|
readonly id: "neon";
|
|
289
295
|
readonly name: "Neon";
|
|
@@ -1110,4 +1116,4 @@ declare const MANUAL_MCP_SERVER_CARDS: readonly [{
|
|
|
1110
1116
|
}];
|
|
1111
1117
|
declare const DEFAULT_MCP_SERVER_CARDS: readonly McpServerCard[];
|
|
1112
1118
|
//#endregion
|
|
1113
|
-
export { MCP_SERVER_SETUP_AUTH as a, McpServerSetupAuth as c, McpServerSetupLink as d, findCatalogMcpServerCard as f,
|
|
1119
|
+
export { providerCardForHref as _, MCP_SERVER_SETUP_AUTH as a, McpServerSetupAuth as c, McpServerSetupLink as d, findCatalogMcpServerCard as f, markSrcForHref as g, getMcpServerRuntimeState as h, MANUAL_MCP_SERVER_CARDS as i, McpServerSetupAuthField as l, getMcpServerIconSrc as m, DCR_MCP_SERVER_CARDS as n, McpServerCard as o, getMcpServerEntry as p, DEFAULT_MCP_SERVER_CARDS as r, McpServerManualSetup as s, CUSTOM_MCP_SERVER_CARD as t, McpServerSetupAuthFieldName as u };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
+
//#region src/components/_internal/navigation-link.d.ts
|
|
4
|
+
interface NavigationLinkProps extends Omit<useRender.ComponentProps<"a">, "render"> {
|
|
5
|
+
/** App-authored TanStack Router Link with its destination already type-checked. */
|
|
6
|
+
render: React.ReactElement;
|
|
7
|
+
}
|
|
8
|
+
declare function isPlainPrimaryLinkActivation(event: React.MouseEvent<HTMLAnchorElement>): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Merges design-system anchor props into an application-owned router Link.
|
|
11
|
+
*
|
|
12
|
+
* Keeping the Link element at the call site lets the consuming application's
|
|
13
|
+
* registered route tree infer `to`, `params`, and `search` without routing
|
|
14
|
+
* generics leaking through every design-system component.
|
|
15
|
+
*/
|
|
16
|
+
declare function NavigationLink({ render, ref, ...props }: NavigationLinkProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { isPlainPrimaryLinkActivation as n, NavigationLink as t };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Select } from "./components/foundations/Select.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/_internal/option-select.tsx
|
|
4
|
+
/** A select over a fixed list of labelled string options. */
|
|
5
|
+
function OptionSelect({ "aria-label": ariaLabel, children, disabled, name, onValueChange, options, value }) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(Select.Root, {
|
|
7
|
+
disabled,
|
|
8
|
+
name,
|
|
9
|
+
items: options,
|
|
10
|
+
value,
|
|
11
|
+
onValueChange: (nextValue) => {
|
|
12
|
+
if (nextValue !== null) onValueChange(nextValue);
|
|
13
|
+
},
|
|
14
|
+
children: [
|
|
15
|
+
children,
|
|
16
|
+
/* @__PURE__ */ jsxs(Select.Trigger, {
|
|
17
|
+
"aria-label": ariaLabel,
|
|
18
|
+
children: [/* @__PURE__ */ jsx(Select.Value, {}), /* @__PURE__ */ jsx(Select.Icon, {})]
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsx(Select.Positioner, {
|
|
21
|
+
sideOffset: 4,
|
|
22
|
+
children: /* @__PURE__ */ jsx(Select.Popup, { children: /* @__PURE__ */ jsx(Select.List, { children: options.map((option) => /* @__PURE__ */ jsxs(Select.Item, {
|
|
23
|
+
value: option.value,
|
|
24
|
+
children: [/* @__PURE__ */ jsx(Select.ItemText, { children: option.label }), /* @__PURE__ */ jsx(Select.ItemIndicator, {})]
|
|
25
|
+
}, option.value)) }) })
|
|
26
|
+
}) })
|
|
27
|
+
]
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/_internal/scheduled-table-source.ts
|
|
32
|
+
/** What each scheduled run does with the table's rows. */
|
|
33
|
+
function scheduledTableSourceNote(source) {
|
|
34
|
+
if ("script" in source) return "Reads current rows for each scheduled run";
|
|
35
|
+
return "data" in source ? "Repeats these rows on schedule" : "Uses this saved file for each scheduled run";
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
export { OptionSelect as n, scheduledTableSourceNote as t };
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
/* Accessibility overrides intentionally come after component styles so system
|
|
2
|
-
* colors and keyboard focus remain visible even when a component
|
|
3
|
-
*
|
|
2
|
+
* colors and keyboard focus remain visible even when a component draws focus
|
|
3
|
+
* with a background or under a pressed-state outline. The ring reads
|
|
4
|
+
* --sigvelo-focus-offset, so inset placements stay inside. */
|
|
5
|
+
|
|
6
|
+
/* The wrapper rings these controls: the composer, a combobox group, a checkbox
|
|
7
|
+
* row, the deny row, a slider thumb, a card, the model search row. They draw
|
|
8
|
+
* no ring of their own in any color mode, so the forced-colors ring below
|
|
9
|
+
* never doubles the wrapper's. */
|
|
10
|
+
:where(
|
|
11
|
+
.approval__reason,
|
|
12
|
+
.checkbox-group__item .checkbox,
|
|
13
|
+
.combobox__input-group > .combobox__input,
|
|
14
|
+
.media-preview-card > :is(a, button),
|
|
15
|
+
.model-selector__input,
|
|
16
|
+
.prompt-input__textarea,
|
|
17
|
+
.slider__thumb input,
|
|
18
|
+
.workspace-entity-card__open
|
|
19
|
+
):focus-visible {
|
|
20
|
+
outline: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
4
23
|
@media (forced-colors: active) {
|
|
5
24
|
:where(:focus-visible) {
|
|
6
|
-
outline: var(--sigvelo-focus-
|
|
25
|
+
outline: var(--sigvelo-focus-ring);
|
|
7
26
|
outline-offset: var(--sigvelo-focus-offset);
|
|
8
27
|
}
|
|
9
28
|
|
|
@@ -25,10 +44,4 @@
|
|
|
25
44
|
) {
|
|
26
45
|
background-color: Highlight;
|
|
27
46
|
}
|
|
28
|
-
|
|
29
|
-
/* Base UI focuses the hidden range input inside the visible thumb. */
|
|
30
|
-
.slider__thumb:has(:focus-visible) {
|
|
31
|
-
outline: var(--sigvelo-focus-ring-forced);
|
|
32
|
-
outline-offset: var(--sigvelo-focus-offset);
|
|
33
|
-
}
|
|
34
47
|
}
|
|
@@ -35,8 +35,18 @@
|
|
|
35
35
|
color: var(--sigvelo-color-text-muted);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
/* The live line of agent work: a streaming activity header, a delegated
|
|
39
|
+
run's lane status one level down, the busy attention pill's title, and the
|
|
40
|
+
first run's live line share one sweep. Reduced motion, by preference or the
|
|
41
|
+
app switch, and forced colors show plain text; the switch stops the
|
|
42
|
+
animation itself globally. */
|
|
43
|
+
:is(
|
|
44
|
+
.activity[data-streaming] .activity__header-action,
|
|
45
|
+
.activity__header[data-streaming] .activity__header-action,
|
|
46
|
+
.subagent-run-lanes__lane[data-live] .subagent-run-lanes__status,
|
|
47
|
+
.agent-attention[data-busy] .agent-attention__title,
|
|
48
|
+
.first-run-live
|
|
49
|
+
) {
|
|
40
50
|
--sigvelo-shimmer-base: color-mix(in oklab, var(--sigvelo-color-text-muted), transparent 20%);
|
|
41
51
|
background: linear-gradient(
|
|
42
52
|
90deg,
|
|
@@ -49,21 +59,14 @@
|
|
|
49
59
|
background-clip: text;
|
|
50
60
|
color: transparent;
|
|
51
61
|
animation: sigvelo-text-shimmer var(--sigvelo-motion-duration-shimmer) linear infinite;
|
|
52
|
-
}
|
|
53
62
|
|
|
54
|
-
@media (prefers-reduced-motion: reduce) {
|
|
55
|
-
.activity[data-streaming] .activity__header-action,
|
|
56
|
-
.activity__header[data-streaming] .activity__header-action {
|
|
63
|
+
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
|
|
57
64
|
animation: none;
|
|
58
65
|
background: none;
|
|
59
66
|
color: inherit;
|
|
60
67
|
}
|
|
61
|
-
}
|
|
62
68
|
|
|
63
|
-
|
|
64
|
-
.activity[data-streaming] .activity__header-action,
|
|
65
|
-
.activity__header[data-streaming] .activity__header-action {
|
|
66
|
-
animation: none;
|
|
69
|
+
:root[data-motion="reduce"] & {
|
|
67
70
|
background: none;
|
|
68
71
|
color: inherit;
|
|
69
72
|
}
|
package/dist/styles/activity.css
CHANGED
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.activity__trigger:focus-visible {
|
|
48
|
-
outline:
|
|
49
|
-
|
|
48
|
+
outline: var(--sigvelo-focus-ring);
|
|
49
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.activity__trigger-icon {
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.activity__group-trigger:focus-visible {
|
|
165
|
-
outline:
|
|
166
|
-
|
|
165
|
+
outline: var(--sigvelo-focus-ring);
|
|
166
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
167
167
|
border-radius: var(--sigvelo-radius-sm);
|
|
168
168
|
}
|
|
169
169
|
|
|
@@ -184,8 +184,8 @@
|
|
|
184
184
|
|
|
185
185
|
.activity__group-text:focus-visible,
|
|
186
186
|
.activity__shell-output:focus-visible {
|
|
187
|
-
outline:
|
|
188
|
-
|
|
187
|
+
outline: var(--sigvelo-focus-ring);
|
|
188
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
189
189
|
border-radius: var(--sigvelo-radius-sm);
|
|
190
190
|
scroll-margin-block: var(--sigvelo-spacing-4);
|
|
191
191
|
}
|
|
@@ -330,10 +330,3 @@
|
|
|
330
330
|
.activity__group-trigger .activity__item-text {
|
|
331
331
|
overflow-wrap: anywhere;
|
|
332
332
|
}
|
|
333
|
-
|
|
334
|
-
@media (forced-colors: active) {
|
|
335
|
-
.activity__trigger:focus-visible {
|
|
336
|
-
outline: var(--sigvelo-focus-ring-forced);
|
|
337
|
-
outline-offset: 2px;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
@@ -93,26 +93,3 @@
|
|
|
93
93
|
min-block-size: var(--sigvelo-control-height-xl);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
.agent-attention[data-busy] .agent-attention__title {
|
|
98
|
-
--sigvelo-shimmer-base: color-mix(in oklab, var(--sigvelo-color-text-muted), transparent 20%);
|
|
99
|
-
background: linear-gradient(
|
|
100
|
-
90deg,
|
|
101
|
-
var(--sigvelo-shimmer-base) 0% 40%,
|
|
102
|
-
var(--sigvelo-color-text) 50%,
|
|
103
|
-
var(--sigvelo-shimmer-base) 60% 100%
|
|
104
|
-
);
|
|
105
|
-
background-size: 200% 100%;
|
|
106
|
-
-webkit-background-clip: text;
|
|
107
|
-
background-clip: text;
|
|
108
|
-
color: transparent;
|
|
109
|
-
animation: sigvelo-text-shimmer var(--sigvelo-motion-duration-shimmer) linear infinite;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
|
|
113
|
-
.agent-attention[data-busy] .agent-attention__title {
|
|
114
|
-
animation: none;
|
|
115
|
-
background: none;
|
|
116
|
-
color: inherit;
|
|
117
|
-
}
|
|
118
|
-
}
|