@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,146 @@
|
|
|
1
|
+
/* WorkspaceEntityCard: one anatomy for workspace and connected-app cards — a
|
|
2
|
+
mark column, the name, a quiet line under the name, then detail at the same
|
|
3
|
+
indent. A panel lays these flat on its own plane as rows; in a thread the
|
|
4
|
+
same card stands raised. */
|
|
5
|
+
.workspace-entity-card {
|
|
6
|
+
--workspace-entity-card-mark: var(--sigvelo-spacing-6);
|
|
7
|
+
--workspace-entity-card-indent: calc(
|
|
8
|
+
var(--workspace-entity-card-mark) + var(--sigvelo-spacing-2)
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
position: relative;
|
|
12
|
+
inline-size: 100%;
|
|
13
|
+
min-inline-size: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.workspace-entity-card__title {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: var(--sigvelo-spacing-2);
|
|
20
|
+
min-block-size: var(--workspace-entity-card-mark);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.workspace-entity-card__icon {
|
|
24
|
+
display: inline-grid;
|
|
25
|
+
flex: none;
|
|
26
|
+
place-items: center;
|
|
27
|
+
inline-size: var(--workspace-entity-card-mark);
|
|
28
|
+
block-size: var(--workspace-entity-card-mark);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.workspace-entity-card__icon > :is(svg, img) {
|
|
32
|
+
inline-size: var(--sigvelo-control-icon-size-md);
|
|
33
|
+
block-size: var(--sigvelo-control-icon-size-md);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.workspace-entity-card__icon :is(img, .app-icon__image) {
|
|
37
|
+
color: unset;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:is(.workspace-entity-card__meta, .workspace-entity-card__detail) {
|
|
41
|
+
padding-inline-start: var(--workspace-entity-card-indent);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* The name opens what the card shows: its file, or an automation's
|
|
45
|
+
workbench. Its hit area covers the card; the card's other controls sit
|
|
46
|
+
above it. */
|
|
47
|
+
.workspace-entity-card__open {
|
|
48
|
+
min-inline-size: 0;
|
|
49
|
+
margin: 0;
|
|
50
|
+
padding: 0;
|
|
51
|
+
color: inherit;
|
|
52
|
+
font: inherit;
|
|
53
|
+
text-align: start;
|
|
54
|
+
background: none;
|
|
55
|
+
border: 0;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.workspace-entity-card__open::after {
|
|
60
|
+
position: absolute;
|
|
61
|
+
inset: 0;
|
|
62
|
+
content: "";
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* A card holding a text field opens from its name alone, so a click in the
|
|
66
|
+
draft never leaves it, and it does not lift like a whole-card link. */
|
|
67
|
+
.workspace-entity-card:has(:is(input, textarea)) .workspace-entity-card__open::after {
|
|
68
|
+
content: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.workspace-entity-card.card--hover:has(:is(input, textarea)):hover {
|
|
72
|
+
box-shadow: var(--sigvelo-elevation-raised);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.workspace-entity-card:has(.workspace-entity-card__open:focus-visible) {
|
|
76
|
+
outline: var(--sigvelo-focus-ring);
|
|
77
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.workspace-entity-card:has(.workspace-entity-card__open)
|
|
81
|
+
:is(a, button, input, select, textarea, summary, label, [role="switch"]):not(
|
|
82
|
+
.workspace-entity-card__open
|
|
83
|
+
) {
|
|
84
|
+
position: relative;
|
|
85
|
+
z-index: 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.workspace-entity-card__detail {
|
|
89
|
+
color: var(--sigvelo-color-text-muted);
|
|
90
|
+
font-size: var(--sigvelo-text-xs);
|
|
91
|
+
line-height: var(--sigvelo-text-xs-leading);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.workspace-entity-card__detail .composer-link {
|
|
95
|
+
--composer-link-color: var(--sigvelo-color-text);
|
|
96
|
+
|
|
97
|
+
font-weight: var(--sigvelo-font-weight-normal);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.workspace-entity-card__links {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-wrap: wrap;
|
|
103
|
+
gap: var(--sigvelo-spacing-1) var(--sigvelo-spacing-3);
|
|
104
|
+
min-inline-size: 0;
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
list-style: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.workspace-entity-card__actions {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
gap: var(--sigvelo-spacing-1);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* OutboundLink: a link out of the app, a web page or a person's address or
|
|
117
|
+
number, reads like the text around it; a site's mark carries the color. */
|
|
118
|
+
.outbound-link {
|
|
119
|
+
display: inline-flex;
|
|
120
|
+
align-items: baseline;
|
|
121
|
+
gap: var(--sigvelo-spacing-1);
|
|
122
|
+
min-inline-size: 0;
|
|
123
|
+
max-inline-size: 100%;
|
|
124
|
+
color: inherit;
|
|
125
|
+
text-decoration: none;
|
|
126
|
+
overflow-wrap: anywhere;
|
|
127
|
+
border-radius: var(--sigvelo-radius-sm);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.outbound-link > :is(svg, .app-icon) {
|
|
131
|
+
align-self: center;
|
|
132
|
+
inline-size: var(--sigvelo-control-icon-size-sm);
|
|
133
|
+
block-size: var(--sigvelo-control-icon-size-sm);
|
|
134
|
+
flex: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.outbound-link:hover {
|
|
138
|
+
color: var(--sigvelo-color-text);
|
|
139
|
+
text-decoration: underline;
|
|
140
|
+
text-underline-offset: 2px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.outbound-link:focus-visible {
|
|
144
|
+
outline: var(--sigvelo-focus-ring);
|
|
145
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
146
|
+
}
|
|
@@ -296,8 +296,9 @@
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
.workspace-explorer__media-scroll:focus-visible {
|
|
299
|
+
--sigvelo-focus-offset: calc(-1 * var(--sigvelo-focus-width));
|
|
299
300
|
outline: var(--sigvelo-focus-ring);
|
|
300
|
-
outline-offset:
|
|
301
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
301
302
|
}
|
|
302
303
|
|
|
303
304
|
.workspace-explorer__media-figure {
|
|
@@ -337,8 +338,8 @@
|
|
|
337
338
|
}
|
|
338
339
|
|
|
339
340
|
.workspace-explorer__image-trigger:focus-visible {
|
|
340
|
-
outline:
|
|
341
|
-
|
|
341
|
+
outline: var(--sigvelo-focus-ring);
|
|
342
|
+
outline-offset: var(--sigvelo-focus-offset);
|
|
342
343
|
}
|
|
343
344
|
|
|
344
345
|
.workspace-explorer__image-trigger[aria-disabled="true"] {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MCP_SERVER_SETUP_AUTH, c as McpServerSetupAuth, d as McpServerSetupLink, f as findCatalogMcpServerCard, g as
|
|
2
|
-
export { CUSTOM_MCP_SERVER_CARD, DCR_MCP_SERVER_CARDS, DEFAULT_MCP_SERVER_CARDS, MANUAL_MCP_SERVER_CARDS, MCP_SERVER_SETUP_AUTH, McpServerCard, McpServerManualSetup, McpServerSetupAuth, McpServerSetupAuthField, McpServerSetupAuthFieldName, McpServerSetupLink, findCatalogMcpServerCard, getMcpServerEntry, getMcpServerIconSrc, getMcpServerRuntimeState, providerCardForHref };
|
|
1
|
+
import { _ as providerCardForHref, a as MCP_SERVER_SETUP_AUTH, c as McpServerSetupAuth, d as McpServerSetupLink, f as findCatalogMcpServerCard, g as markSrcForHref, h as getMcpServerRuntimeState, i as MANUAL_MCP_SERVER_CARDS, l as McpServerSetupAuthField, m as getMcpServerIconSrc, n as DCR_MCP_SERVER_CARDS, o as McpServerCard, p as getMcpServerEntry, r as DEFAULT_MCP_SERVER_CARDS, s as McpServerManualSetup, t as CUSTOM_MCP_SERVER_CARD, u as McpServerSetupAuthFieldName } from "../mcp-server-catalog-Di4N46H9.js";
|
|
2
|
+
export { CUSTOM_MCP_SERVER_CARD, DCR_MCP_SERVER_CARDS, DEFAULT_MCP_SERVER_CARDS, MANUAL_MCP_SERVER_CARDS, MCP_SERVER_SETUP_AUTH, McpServerCard, McpServerManualSetup, McpServerSetupAuth, McpServerSetupAuthField, McpServerSetupAuthFieldName, McpServerSetupLink, findCatalogMcpServerCard, getMcpServerEntry, getMcpServerIconSrc, getMcpServerRuntimeState, markSrcForHref, providerCardForHref };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inferFaviconUrl } from "./favicon.js";
|
|
2
|
-
import { siAirtable, siAsana, siAtlassian, siCalendly, siCloudflare, siDatadog, siEgnyte,
|
|
2
|
+
import { siAirtable, siAsana, siAtlassian, siCalendly, siCloudflare, siDatadog, siEgnyte, siGitlab, siGrafana, siHubspot, siHuggingface, siMiro, siNeon, siPaypal, siPosthog, siPostman, siRailway, siSentry, siStripe, siSupabase, siWebflow, siWix, siZapier, siZoom } from "simple-icons";
|
|
3
3
|
//#region src/utils/mcp-server-catalog.ts
|
|
4
4
|
/**
|
|
5
5
|
* Read the complete state emitted by the pinned Agents runtime.
|
|
@@ -40,6 +40,17 @@ function normalizeMcpServerUrl(url) {
|
|
|
40
40
|
}
|
|
41
41
|
const DCR_CATEGORY = "Auto";
|
|
42
42
|
const MANUAL_CATEGORY = "Manual";
|
|
43
|
+
const PRODUCT_ICONS = {
|
|
44
|
+
"salesforce-sobject-reads": new URL("../assets/plugins/plugin-salesforce.svg", import.meta.url).href,
|
|
45
|
+
slack: new URL("../assets/plugins/plugin-slack.svg", import.meta.url).href,
|
|
46
|
+
gmail: new URL("../assets/plugins/plugin-gmail.svg", import.meta.url).href,
|
|
47
|
+
"google-drive": new URL("../assets/plugins/plugin-google-drive.svg", import.meta.url).href,
|
|
48
|
+
"google-people": new URL("../assets/plugins/plugin-google.svg", import.meta.url).href,
|
|
49
|
+
"google-workspace-search": new URL("../assets/plugins/plugin-google.svg", import.meta.url).href,
|
|
50
|
+
github: new URL("../assets/plugins/plugin-github.svg", import.meta.url).href,
|
|
51
|
+
notion: new URL("../assets/plugins/plugin-notion.svg", import.meta.url).href,
|
|
52
|
+
linear: new URL("../assets/plugins/plugin-linear.svg", import.meta.url).href
|
|
53
|
+
};
|
|
43
54
|
const SIMPLE_ICONS = Object.fromEntries([
|
|
44
55
|
siAirtable,
|
|
45
56
|
siAsana,
|
|
@@ -48,15 +59,12 @@ const SIMPLE_ICONS = Object.fromEntries([
|
|
|
48
59
|
siCloudflare,
|
|
49
60
|
siDatadog,
|
|
50
61
|
siEgnyte,
|
|
51
|
-
siGithub,
|
|
52
62
|
siGitlab,
|
|
53
63
|
siGrafana,
|
|
54
64
|
siHubspot,
|
|
55
65
|
siHuggingface,
|
|
56
|
-
siLinear,
|
|
57
66
|
siMiro,
|
|
58
67
|
siNeon,
|
|
59
|
-
siNotion,
|
|
60
68
|
siPaypal,
|
|
61
69
|
siPosthog,
|
|
62
70
|
siPostman,
|
|
@@ -68,8 +76,10 @@ const SIMPLE_ICONS = Object.fromEntries([
|
|
|
68
76
|
siWix,
|
|
69
77
|
siZapier,
|
|
70
78
|
siZoom
|
|
71
|
-
].map((icon) => [icon.slug, icon.svg]));
|
|
72
|
-
|
|
79
|
+
].map((icon) => [icon.slug, icon.svg.replace("<svg ", `<svg fill="#${icon.hex}" `)]));
|
|
80
|
+
/** Full-color product art first, then the Simple Icons mark. */
|
|
81
|
+
function bundledIcon(server) {
|
|
82
|
+
if (PRODUCT_ICONS[server.id]) return PRODUCT_ICONS[server.id];
|
|
73
83
|
const slug = server.id === "zoom-workspace" ? "zoom" : server.id.replaceAll("-", "");
|
|
74
84
|
const svg = SIMPLE_ICONS[slug];
|
|
75
85
|
return svg ? `data:image/svg+xml,${encodeURIComponent(svg)}` : void 0;
|
|
@@ -154,24 +164,101 @@ const CUSTOM_MCP_SERVER_CARD = {
|
|
|
154
164
|
}
|
|
155
165
|
};
|
|
156
166
|
function getMcpServerIconSrc(server) {
|
|
157
|
-
return server.icon ??
|
|
167
|
+
return server.icon ?? bundledIcon(server) ?? inferFaviconUrl(server.url);
|
|
158
168
|
}
|
|
159
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* Where people use each catalog product. A host matches itself and its
|
|
171
|
+
* subdomains (`<workspace>.slack.com`); a path narrows an origin that several
|
|
172
|
+
* products share. A product with an app host of its own lists that host
|
|
173
|
+
* (`app.asana.com`), not its marketing domain. Hosts that serve other people's
|
|
174
|
+
* pages stay out: `github.io`, `notion.site`, `up.railway.app`, Stripe checkout,
|
|
175
|
+
* and Salesforce sites.
|
|
176
|
+
*
|
|
177
|
+
* ponytail: hand-maintained host table; derive it from catalog metadata if it grows.
|
|
178
|
+
*/
|
|
179
|
+
const PRODUCT_HOSTS = [
|
|
180
|
+
["airtable.com", "airtable"],
|
|
181
|
+
["app.asana.com", "asana"],
|
|
182
|
+
["atlassian.net", "atlassian"],
|
|
183
|
+
["app.attio.com", "attio"],
|
|
184
|
+
["calendly.com", "calendly"],
|
|
185
|
+
["canva.com", "canva"],
|
|
186
|
+
["app.clay.com", "clay"],
|
|
187
|
+
["app.clickup.com", "clickup"],
|
|
188
|
+
["app.close.com", "close"],
|
|
189
|
+
["dash.cloudflare.com", "cloudflare"],
|
|
190
|
+
["datadoghq.com", "datadog"],
|
|
191
|
+
["egnyte.com", "egnyte"],
|
|
192
|
+
["figma.com", "figma"],
|
|
193
|
+
["firecrawl.dev", "firecrawl"],
|
|
194
|
+
["github.com", "github"],
|
|
195
|
+
["gitlab.com", "gitlab"],
|
|
196
|
+
["mail.google.com", "gmail"],
|
|
197
|
+
["calendar.google.com", "google-calendar"],
|
|
198
|
+
["chat.google.com", "google-chat"],
|
|
199
|
+
[
|
|
200
|
+
"docs.google.com",
|
|
201
|
+
"google-docs",
|
|
202
|
+
"/document/"
|
|
203
|
+
],
|
|
204
|
+
["drive.google.com", "google-drive"],
|
|
205
|
+
[
|
|
206
|
+
"docs.google.com",
|
|
207
|
+
"google-sheets",
|
|
208
|
+
"/spreadsheets/"
|
|
209
|
+
],
|
|
210
|
+
[
|
|
211
|
+
"docs.google.com",
|
|
212
|
+
"google-slides",
|
|
213
|
+
"/presentation/"
|
|
214
|
+
],
|
|
215
|
+
["grafana.net", "grafana"],
|
|
216
|
+
["app.hubspot.com", "hubspot"],
|
|
217
|
+
["huggingface.co", "huggingface"],
|
|
218
|
+
["indeed.com", "indeed"],
|
|
219
|
+
["app.intercom.com", "intercom"],
|
|
220
|
+
["linear.app", "linear"],
|
|
221
|
+
["miro.com", "miro"],
|
|
222
|
+
["monday.com", "monday"],
|
|
223
|
+
["console.neon.tech", "neon"],
|
|
224
|
+
["notion.so", "notion"],
|
|
225
|
+
["paypal.com", "paypal"],
|
|
226
|
+
["posthog.com", "posthog"],
|
|
227
|
+
["postman.co", "postman"],
|
|
228
|
+
["railway.com", "railway"],
|
|
229
|
+
["app.ramp.com", "ramp"],
|
|
230
|
+
["lightning.force.com", "salesforce-sobject-reads"],
|
|
231
|
+
["my.salesforce.com", "salesforce-sobject-reads"],
|
|
232
|
+
["sentry.io", "sentry"],
|
|
233
|
+
["slack.com", "slack"],
|
|
234
|
+
["dashboard.stripe.com", "stripe"],
|
|
235
|
+
["supabase.com", "supabase"],
|
|
236
|
+
["vercel.com", "vercel"],
|
|
237
|
+
["webflow.com", "webflow"],
|
|
238
|
+
["wix.com", "wix"],
|
|
239
|
+
["zapier.com", "zapier"],
|
|
240
|
+
["zoom.us", "zoom-workspace"]
|
|
241
|
+
];
|
|
242
|
+
/**
|
|
243
|
+
* The catalog card whose product mark a visited page carries: a history entry,
|
|
244
|
+
* a working-set link, or a site in a run's evidence. Takes a full http(s) URL;
|
|
245
|
+
* other sites, bare host names, and other schemes resolve to `undefined`.
|
|
246
|
+
*/
|
|
160
247
|
function providerCardForHref(href) {
|
|
161
|
-
let
|
|
248
|
+
let url;
|
|
162
249
|
try {
|
|
163
|
-
|
|
250
|
+
url = new URL(href);
|
|
164
251
|
} catch {
|
|
165
252
|
return;
|
|
166
253
|
}
|
|
167
|
-
if (
|
|
168
|
-
const
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
254
|
+
if (url.protocol !== "https:" && url.protocol !== "http:") return void 0;
|
|
255
|
+
const row = PRODUCT_HOSTS.find(([host, , path]) => (url.hostname === host || url.hostname.endsWith(`.${host}`)) && (path === void 0 || url.pathname.includes(path)));
|
|
256
|
+
return row && findCatalogMcpServerCard({ id: row[1] });
|
|
257
|
+
}
|
|
258
|
+
/** A page's mark: its catalog product's own, otherwise the origin's favicon. */
|
|
259
|
+
function markSrcForHref(href) {
|
|
260
|
+
const product = providerCardForHref(href);
|
|
261
|
+
return product ? getMcpServerIconSrc(product) : inferFaviconUrl(href);
|
|
175
262
|
}
|
|
176
263
|
/** Match a live MCP entry or channel name to a catalog card that already has a brand mark. */
|
|
177
264
|
function findCatalogMcpServerCard(query) {
|
|
@@ -355,7 +442,7 @@ const DCR_MCP_SERVER_CARDS = [
|
|
|
355
442
|
url: "https://mcp.monday.com/mcp",
|
|
356
443
|
description: "Access monday.com workspace data",
|
|
357
444
|
category: DCR_CATEGORY,
|
|
358
|
-
icon: "https://
|
|
445
|
+
icon: "https://cdn.prod.website-files.com/656da6fea306219773d04208/65af6bd29fc8bb3d3d4ea39a_6464d702c3ac5c56000c2438_favicon-monday5-32.png"
|
|
359
446
|
},
|
|
360
447
|
{
|
|
361
448
|
id: "neon",
|
|
@@ -969,11 +1056,11 @@ const DEFAULT_MCP_SERVER_CARDS = [
|
|
|
969
1056
|
CUSTOM_MCP_SERVER_CARD,
|
|
970
1057
|
...MANUAL_MCP_SERVER_CARDS
|
|
971
1058
|
].map((server) => {
|
|
972
|
-
const icon =
|
|
1059
|
+
const icon = bundledIcon(server);
|
|
973
1060
|
return icon ? {
|
|
974
1061
|
...server,
|
|
975
1062
|
icon
|
|
976
1063
|
} : server;
|
|
977
1064
|
});
|
|
978
1065
|
//#endregion
|
|
979
|
-
export { CUSTOM_MCP_SERVER_CARD, DCR_MCP_SERVER_CARDS, DEFAULT_MCP_SERVER_CARDS, MANUAL_MCP_SERVER_CARDS, MCP_SERVER_SETUP_AUTH, findCatalogMcpServerCard, getMcpServerEntry, getMcpServerIconSrc, getMcpServerRuntimeState, providerCardForHref };
|
|
1066
|
+
export { CUSTOM_MCP_SERVER_CARD, DCR_MCP_SERVER_CARDS, DEFAULT_MCP_SERVER_CARDS, MANUAL_MCP_SERVER_CARDS, MCP_SERVER_SETUP_AUTH, findCatalogMcpServerCard, getMcpServerEntry, getMcpServerIconSrc, getMcpServerRuntimeState, markSrcForHref, providerCardForHref };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { composerLinkHref } from "./utils/composer-link.js";
|
|
2
|
-
import { canRequestFavicon
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { canRequestFavicon } from "./utils/favicon.js";
|
|
3
|
+
import { markSrcForHref } from "./utils/mcp-server-catalog.js";
|
|
4
|
+
import { C as FileIcon, k as LinkIcon } from "./icons-Yp99gmMC.js";
|
|
5
5
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
6
6
|
import { ComposerLink } from "./components/ai-sdk/ComposerLink.js";
|
|
7
7
|
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
@@ -18,46 +18,47 @@ function httpUrl(value) {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
/** Product or site mark for a URL. Decorative — sit it next to visible text. */
|
|
21
|
-
function FaviconMark({ fallback, href }) {
|
|
22
|
-
const
|
|
23
|
-
const src = product ? getMcpServerIconSrc(product) : href ? inferFaviconUrl(href) : void 0;
|
|
24
|
-
const allowed = Boolean(src && canRequestFavicon(src));
|
|
21
|
+
function FaviconMark({ fallback, href, variant }) {
|
|
22
|
+
const src = href ? markSrcForHref(href) : void 0;
|
|
25
23
|
const [failedSrc, setFailedSrc] = React.useState(null);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return /* @__PURE__ */ jsx(AppIcon.Root, {
|
|
29
|
-
size: "xs",
|
|
30
|
-
"aria-hidden": "true",
|
|
31
|
-
children: /* @__PURE__ */ jsx(AppIcon.Fallback, { children: fallback })
|
|
32
|
-
});
|
|
33
|
-
}
|
|
24
|
+
const show = src !== void 0 && failedSrc !== src && canRequestFavicon(src);
|
|
25
|
+
if (!show && fallback == null) return null;
|
|
34
26
|
return /* @__PURE__ */ jsxs(AppIcon.Root, {
|
|
35
27
|
size: "xs",
|
|
28
|
+
variant,
|
|
36
29
|
"aria-hidden": "true",
|
|
37
|
-
children: [/* @__PURE__ */ jsx(AppIcon.Image, {
|
|
30
|
+
children: [show ? /* @__PURE__ */ jsx(AppIcon.Image, {
|
|
38
31
|
alt: "",
|
|
39
32
|
fit: "contain",
|
|
40
33
|
src,
|
|
41
|
-
|
|
42
|
-
setFailedSrc(src);
|
|
34
|
+
onLoadingStatusChange: (status) => {
|
|
35
|
+
if (status === "error") setFailedSrc(src);
|
|
43
36
|
}
|
|
44
|
-
}), /* @__PURE__ */ jsx(AppIcon.Fallback, { children: fallback ?? null })]
|
|
37
|
+
}) : null, /* @__PURE__ */ jsx(AppIcon.Fallback, { children: fallback ?? null })]
|
|
45
38
|
});
|
|
46
39
|
}
|
|
47
|
-
/**
|
|
48
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Every link out of the app. It sits in a line of text and keeps the exact
|
|
42
|
+
* destination. A web page opens in a new tab beside its site's mark, labeled
|
|
43
|
+
* with the hostname unless given; a mail or phone address opens its app.
|
|
44
|
+
* `compact` shows the mark alone and keeps the label as the link's name.
|
|
45
|
+
*/
|
|
46
|
+
function OutboundLink({ children, compact, href, ...props }) {
|
|
47
|
+
const web = httpUrl(href);
|
|
49
48
|
return /* @__PURE__ */ jsxs("a", {
|
|
50
|
-
className: "
|
|
49
|
+
className: "outbound-link",
|
|
51
50
|
href,
|
|
52
51
|
title: href,
|
|
53
|
-
target: "_blank",
|
|
54
|
-
rel: "noreferrer",
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
52
|
+
target: web ? "_blank" : void 0,
|
|
53
|
+
rel: web ? "noreferrer" : void 0,
|
|
54
|
+
...props,
|
|
55
|
+
children: [web ? /* @__PURE__ */ jsx(FaviconMark, {
|
|
56
|
+
href: web,
|
|
57
|
+
fallback: /* @__PURE__ */ jsx(LinkIcon, {}),
|
|
58
|
+
variant: "inline"
|
|
59
|
+
}) : null, /* @__PURE__ */ jsx("span", {
|
|
60
|
+
className: compact ? "sigvelo-visually-hidden" : "sigvelo-truncate",
|
|
61
|
+
children: children ?? (web ? new URL(web).hostname : href)
|
|
61
62
|
})]
|
|
62
63
|
});
|
|
63
64
|
}
|
|
@@ -77,12 +78,11 @@ function Hint({ children, content }) {
|
|
|
77
78
|
}) })] });
|
|
78
79
|
}
|
|
79
80
|
/** File/thread/site identity, same icon+label mark as the composer. */
|
|
80
|
-
function WorkspaceComposerLink({
|
|
81
|
+
function WorkspaceComposerLink({ icon, kind = "file", label, onOpen, value }) {
|
|
81
82
|
const resolvedIcon = icon ?? (kind === "file" ? /* @__PURE__ */ jsx(FileIcon, {}) : void 0);
|
|
82
83
|
if (!onOpen) return /* @__PURE__ */ jsxs("span", {
|
|
83
84
|
className: "composer-link",
|
|
84
85
|
"data-composer-link": kind,
|
|
85
|
-
title: typeof hint === "string" ? hint : void 0,
|
|
86
86
|
children: [resolvedIcon ? /* @__PURE__ */ jsx("span", {
|
|
87
87
|
className: "composer-link__icon",
|
|
88
88
|
"aria-hidden": "true",
|
|
@@ -92,7 +92,7 @@ function WorkspaceComposerLink({ hint, icon, kind = "file", label, onOpen, value
|
|
|
92
92
|
children: label
|
|
93
93
|
})]
|
|
94
94
|
});
|
|
95
|
-
|
|
95
|
+
return /* @__PURE__ */ jsx(ComposerLink, {
|
|
96
96
|
href: composerLinkHref({
|
|
97
97
|
kind,
|
|
98
98
|
value,
|
|
@@ -102,10 +102,6 @@ function WorkspaceComposerLink({ hint, icon, kind = "file", label, onOpen, value
|
|
|
102
102
|
onClick: onOpen,
|
|
103
103
|
children: label
|
|
104
104
|
});
|
|
105
|
-
return hint == null || hint === false || hint === "" ? link : /* @__PURE__ */ jsx(Hint, {
|
|
106
|
-
content: hint,
|
|
107
|
-
children: link
|
|
108
|
-
});
|
|
109
105
|
}
|
|
110
106
|
//#endregion
|
|
111
|
-
export { httpUrl as a, WorkspaceComposerLink as i, Hint as n,
|
|
107
|
+
export { httpUrl as a, WorkspaceComposerLink as i, Hint as n, OutboundLink as r, FaviconMark as t };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
+
import { Z as SpinnerIcon } from "./icons-Yp99gmMC.js";
|
|
3
|
+
import { Button } from "./components/foundations/Button.js";
|
|
4
|
+
import { a as formatErrorMessage } from "./format-CWaZEp5o.js";
|
|
5
|
+
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
6
|
+
import { ResponsiveSidebarAppBar } from "./components/general-purpose/ResponsiveSidebarShell.js";
|
|
7
|
+
import * as React from "react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { useQuery } from "@tanstack/react-query";
|
|
10
|
+
//#region src/components/_internal/workspace-concept-panel.tsx
|
|
11
|
+
/** The entry whose file is at `path`, from the concept's shared list query. */
|
|
12
|
+
function useConceptEntry(source, path) {
|
|
13
|
+
return useQuery(source.queryOptions).data?.find((entry) => entry.path === path);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Workbench list of one concept's entries. The title stays visible while the
|
|
17
|
+
* list scrolls, and loading, failure, and empty read the same in every panel:
|
|
18
|
+
* a failure with nothing loaded is an error with Retry, never an empty list.
|
|
19
|
+
*/
|
|
20
|
+
function WorkspaceConceptPanel({ children, className, emptyDescription, item, queryOptions, ...props }) {
|
|
21
|
+
const titleId = React.useId();
|
|
22
|
+
const query = useQuery(queryOptions);
|
|
23
|
+
const rows = children(query.data);
|
|
24
|
+
const heading = item.label;
|
|
25
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
26
|
+
...props,
|
|
27
|
+
"aria-labelledby": props["aria-labelledby"] ?? (props["aria-label"] ? void 0 : titleId),
|
|
28
|
+
className: cx("workspace-concept-panel", className),
|
|
29
|
+
children: [/* @__PURE__ */ jsx(ResponsiveSidebarAppBar, {
|
|
30
|
+
className: "workspace-concept-panel__header",
|
|
31
|
+
label: `${heading} controls`,
|
|
32
|
+
title: heading,
|
|
33
|
+
titleRender: (titleProps) => /* @__PURE__ */ jsx("h2", {
|
|
34
|
+
...titleProps,
|
|
35
|
+
id: titleId,
|
|
36
|
+
children: titleProps.children
|
|
37
|
+
})
|
|
38
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
39
|
+
className: "workspace-concept-panel__body",
|
|
40
|
+
children: rows.length > 0 ? /* @__PURE__ */ jsx("ul", {
|
|
41
|
+
className: "workspace-concept-list",
|
|
42
|
+
children: rows
|
|
43
|
+
}) : query.error ? /* @__PURE__ */ jsx(EmptyState, {
|
|
44
|
+
icon: item.icon,
|
|
45
|
+
title: `${heading} unavailable`,
|
|
46
|
+
description: formatErrorMessage(query.error),
|
|
47
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
48
|
+
size: "sm",
|
|
49
|
+
variant: "surface",
|
|
50
|
+
color: "neutral",
|
|
51
|
+
onClick: () => void query.refetch(),
|
|
52
|
+
children: "Retry"
|
|
53
|
+
})
|
|
54
|
+
}) : query.isPending ? /* @__PURE__ */ jsx(EmptyState, {
|
|
55
|
+
icon: /* @__PURE__ */ jsx(SpinnerIcon, {}),
|
|
56
|
+
title: `Loading ${heading.toLowerCase()}`
|
|
57
|
+
}) : /* @__PURE__ */ jsx(EmptyState, {
|
|
58
|
+
icon: item.icon,
|
|
59
|
+
title: `No ${heading.toLowerCase()} yet`,
|
|
60
|
+
description: emptyDescription
|
|
61
|
+
})
|
|
62
|
+
})]
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { useConceptEntry as n, WorkspaceConceptPanel as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./EmployeeChrome-D3IgFX22.js";
|
|
2
|
+
import "./WorkspaceConcept-BjrgGE1w.js";
|
|
3
|
+
import { t as ConceptCardProps } from "./workspace-entity-card-2TC3RPKh.js";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
//#region src/components/_internal/workspace-concept-panel.d.ts
|
|
6
|
+
/** One concept file placed inline: the entry's card, or `fallback` until it is a known entry. */
|
|
7
|
+
interface WorkspaceConceptFileProps<Source> extends ConceptCardProps {
|
|
8
|
+
/** Workspace path of the entry's file. */
|
|
9
|
+
path: string;
|
|
10
|
+
/** The concept's query and the host's actions. */
|
|
11
|
+
source: Source;
|
|
12
|
+
/** Shown while the file is not, or not yet, a known entry. */
|
|
13
|
+
fallback?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/** A concept's workbench list. Its source also feeds the concept's inline cards. */
|
|
16
|
+
interface WorkspaceConceptPanelProps<Source> extends Omit<React.ComponentPropsWithRef<"section">, "children"> {
|
|
17
|
+
/** Shared workspace query and host actions, also used by inline cards. */
|
|
18
|
+
source: Source;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { WorkspaceConceptPanelProps as n, WorkspaceConceptFileProps as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { it as TrashIcon } from "./icons-Yp99gmMC.js";
|
|
2
2
|
import { Button } from "./components/foundations/Button.js";
|
|
3
3
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
4
4
|
import { AlertDialog } from "./components/foundations/AlertDialog.js";
|
|
@@ -19,6 +19,7 @@ function WorkspaceDeleteControl({ name, onDelete }) {
|
|
|
19
19
|
type: "button",
|
|
20
20
|
label: `Delete ${name}`,
|
|
21
21
|
tooltip: "Delete",
|
|
22
|
+
size: "xs",
|
|
22
23
|
variant: "ghost",
|
|
23
24
|
color: "neutral",
|
|
24
25
|
disabled: busy,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { f as CardProps } from "./Card-DkGZ3jKQ.js";
|
|
2
|
+
import "react";
|
|
3
|
+
//#region src/components/_internal/workspace-entity-card.d.ts
|
|
4
|
+
/** Card props a concept's card forwards. The entity anatomy owns the rest. */
|
|
5
|
+
type ConceptCardProps = Omit<CardProps, "children" | "hover" | "size" | "title">;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { ConceptCardProps as t };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
+
import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "./components/foundations/Card.js";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/_internal/workspace-entity-card.tsx
|
|
6
|
+
/**
|
|
7
|
+
* One anatomy for workspace and connected-app cards: a mark column, the name,
|
|
8
|
+
* one quiet line under it, then detail at the name's indent. Controls sit on
|
|
9
|
+
* the name's row.
|
|
10
|
+
*/
|
|
11
|
+
function WorkspaceEntityCard({ actions, children, className, detail, icon, meta, name, onOpen, ...props }) {
|
|
12
|
+
const titleId = React.useId();
|
|
13
|
+
return /* @__PURE__ */ jsxs(Card, {
|
|
14
|
+
render: /* @__PURE__ */ jsx("article", {}),
|
|
15
|
+
...props,
|
|
16
|
+
"aria-labelledby": props["aria-labelledby"] ?? (props["aria-label"] ? void 0 : titleId),
|
|
17
|
+
size: "sm",
|
|
18
|
+
hover: onOpen != null,
|
|
19
|
+
className: cx("workspace-entity-card", className),
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsxs(CardHeader, {
|
|
22
|
+
render: /* @__PURE__ */ jsx("header", {}),
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ jsxs(CardTitle, {
|
|
25
|
+
id: titleId,
|
|
26
|
+
className: "workspace-entity-card__title",
|
|
27
|
+
render: (titleProps) => /* @__PURE__ */ jsx("h3", {
|
|
28
|
+
...titleProps,
|
|
29
|
+
children: titleProps.children
|
|
30
|
+
}),
|
|
31
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
32
|
+
className: "workspace-entity-card__icon",
|
|
33
|
+
"aria-hidden": "true",
|
|
34
|
+
children: icon
|
|
35
|
+
}), onOpen ? /* @__PURE__ */ jsx("button", {
|
|
36
|
+
type: "button",
|
|
37
|
+
className: "workspace-entity-card__open sigvelo-truncate",
|
|
38
|
+
onClick: onOpen,
|
|
39
|
+
children: name
|
|
40
|
+
}) : name]
|
|
41
|
+
}),
|
|
42
|
+
meta ? /* @__PURE__ */ jsx(CardDescription, {
|
|
43
|
+
className: "workspace-entity-card__meta",
|
|
44
|
+
children: meta
|
|
45
|
+
}) : null,
|
|
46
|
+
actions ? /* @__PURE__ */ jsx(CardAction, {
|
|
47
|
+
className: "workspace-entity-card__actions",
|
|
48
|
+
children: actions
|
|
49
|
+
}) : null
|
|
50
|
+
]
|
|
51
|
+
}),
|
|
52
|
+
detail ? /* @__PURE__ */ jsx(CardContent, {
|
|
53
|
+
className: "workspace-entity-card__detail",
|
|
54
|
+
children: detail
|
|
55
|
+
}) : null,
|
|
56
|
+
children
|
|
57
|
+
]
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
61
|
+
export { WorkspaceEntityCard as t };
|