@mcp-b/react-components 0.59.2 → 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-Bs_Z03eC.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-BSZsUbrL.js → ExecutionResult-DmC21cll.js} +4 -4
- package/dist/{FileTree-DyLBn7O_.js → FileTree-H31EVRv_.js} +1 -1
- package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
- package/dist/{ManagerOffice-BxBKEb_j.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-CKQ-mKYt.js → SetupChecklist-Wo4akaSG.js} +1 -1
- 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-CsWwQA1U.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/{codex-model-catalog-CReSIBpd.d.ts → codex-model-catalog-CFEGgUAj.d.ts} +68 -20
- 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 +1 -1
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +5 -5
- 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 +2 -2
- 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 +13 -9
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +42 -30
- 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 +3 -3
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +6 -32
- 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/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 +143 -188
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +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 +12 -27
- 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 +3 -3
- 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} +46 -44
- 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/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 +2 -2
- 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 +2 -2
- 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 +13 -5
- 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 +4 -4
- package/dist/components/ai-sdk/Queue.d.ts +1 -1
- package/dist/components/ai-sdk/Queue.js +2 -2
- 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/ai-sdk/ToolInvocation.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.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- 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 +2 -2
- 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/ActionGuide.d.ts +1 -1
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +3 -3
- 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 +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
- 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 +1 -1
- 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-M4sAp9xS.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-DvlrWt54.js → icons-Yp99gmMC.js} +8 -2
- 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/codex-model-catalog.d.ts +1 -1
- package/dist/utils/codex-model-catalog.js +51 -19
- 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-DVn0d-fN.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-CMY1kPkq.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 +28 -28
- 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,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,5 +1,5 @@
|
|
|
1
|
+
import { it as TrashIcon } from "./icons-Yp99gmMC.js";
|
|
1
2
|
import { Button } from "./components/foundations/Button.js";
|
|
2
|
-
import { $ as TrashIcon } from "./icons-DvlrWt54.js";
|
|
3
3
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
4
4
|
import { AlertDialog } from "./components/foundations/AlertDialog.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -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 };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
//#region src/components/_internal/workspace-person.d.ts
|
|
3
|
+
/** Someone the user talks to: one file under `/people`. */
|
|
4
|
+
interface WorkspacePerson {
|
|
5
|
+
/** Workspace path of the person's file. */
|
|
6
|
+
path: string;
|
|
7
|
+
/** Their name as the user knows them. The card's name. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** Who they are to the user, phrased to follow "Your": `manager`, `mom`. */
|
|
10
|
+
relationship: string;
|
|
11
|
+
/** Which of the user's closest groups they belong to. Absent for everyone else. */
|
|
12
|
+
circle?: "family" | "team" | "friends";
|
|
13
|
+
/** How the agent writes to them. Absent until there is evidence. */
|
|
14
|
+
formality?: "formal" | "casual";
|
|
15
|
+
/**
|
|
16
|
+
* `mailto:`, `tel:`, `https:`, and `http:` URIs as the agent wrote them, most
|
|
17
|
+
* used first. The card shows the first one it can show in full. A draft
|
|
18
|
+
* recipient names the person through a `mailto:` address or a Slack profile
|
|
19
|
+
* link (`https://<workspace>.slack.com/team/<member ID>`).
|
|
20
|
+
*/
|
|
21
|
+
handles?: readonly string[];
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { WorkspacePerson as t };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Avatar } from "./components/foundations/Avatar.js";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/_internal/workspace-person.tsx
|
|
4
|
+
/** The People panel's sections, closest people first. Everyone without a circle follows. */
|
|
5
|
+
const CIRCLES = [
|
|
6
|
+
["family", "Family"],
|
|
7
|
+
["team", "Team"],
|
|
8
|
+
["friends", "Friends"],
|
|
9
|
+
[void 0, "Others"]
|
|
10
|
+
];
|
|
11
|
+
const byName = new Intl.Collator();
|
|
12
|
+
/**
|
|
13
|
+
* People as the People panel lists them: by name, and once anyone has a
|
|
14
|
+
* circle, in Family, Team, Friends, and Others sections, skipping empty ones.
|
|
15
|
+
* `row` draws one person's `<li>`; `groupId` prefixes the section labels' ids.
|
|
16
|
+
*/
|
|
17
|
+
function peopleListItems(people, groupId, row) {
|
|
18
|
+
const rows = (members) => members.toSorted((a, b) => byName.compare(a.name, b.name)).map(row);
|
|
19
|
+
if (!people.some((person) => person.circle)) return rows(people);
|
|
20
|
+
return CIRCLES.flatMap(([circle, label]) => {
|
|
21
|
+
const members = people.filter((person) => person.circle === circle);
|
|
22
|
+
return members.length === 0 ? [] : [/* @__PURE__ */ jsxs("li", {
|
|
23
|
+
className: "workspace-concept-group",
|
|
24
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
25
|
+
id: `${groupId}-${label}`,
|
|
26
|
+
"data-slot": "workspace-concept-group-label",
|
|
27
|
+
children: label
|
|
28
|
+
}), /* @__PURE__ */ jsx("ul", {
|
|
29
|
+
"aria-labelledby": `${groupId}-${label}`,
|
|
30
|
+
className: "workspace-concept-list",
|
|
31
|
+
children: rows(members)
|
|
32
|
+
})]
|
|
33
|
+
}, label)];
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
/** Monotone initials: the first letters of the first and last words. */
|
|
37
|
+
function PersonAvatar({ name }) {
|
|
38
|
+
const words = name.trim().split(/\s+/u);
|
|
39
|
+
const letters = words.length > 1 ? [words[0], words.at(-1)].map((word) => Array.from(word)[0]) : Array.from(words[0]).slice(0, 2);
|
|
40
|
+
return /* @__PURE__ */ jsx(Avatar.Root, {
|
|
41
|
+
size: "sm",
|
|
42
|
+
"aria-hidden": "true",
|
|
43
|
+
children: /* @__PURE__ */ jsx(Avatar.Fallback, { children: letters.join("").toUpperCase() })
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
const SLACK_MEMBER = /^(?:https:\/\/[a-z0-9.-]+\.slack\.com\/team\/)?([UW][A-Z0-9]+)$/u;
|
|
47
|
+
const EMAIL = /^(?:mailto:)?([^\s<>@]+@[^\s<>@]+)$|<([^\s<>@]+@[^\s<>@]+)>$/iu;
|
|
48
|
+
/**
|
|
49
|
+
* What a handle or a draft recipient matches on: `email:` and the lowercased
|
|
50
|
+
* address, or `slack:` and the member ID. Nothing else names a person, so a
|
|
51
|
+
* room such as `#ops` never does.
|
|
52
|
+
*/
|
|
53
|
+
function personKey(text) {
|
|
54
|
+
const member = SLACK_MEMBER.exec(text)?.[1];
|
|
55
|
+
if (member) return { key: `slack:${member}` };
|
|
56
|
+
const match = EMAIL.exec(text);
|
|
57
|
+
const address = match?.[1] ?? match?.[2];
|
|
58
|
+
return address ? {
|
|
59
|
+
key: `email:${address.toLowerCase()}`,
|
|
60
|
+
address
|
|
61
|
+
} : void 0;
|
|
62
|
+
}
|
|
63
|
+
/** The person `text` names among `people`; the first file by path wins a shared handle. */
|
|
64
|
+
function personFor(text, people) {
|
|
65
|
+
const key = personKey(text.trim())?.key;
|
|
66
|
+
if (!key) return void 0;
|
|
67
|
+
return people.toSorted((a, b) => a.path < b.path ? -1 : 1).find((person) => person.handles?.some((handle) => personKey(handle.trim())?.key === key));
|
|
68
|
+
}
|
|
69
|
+
function Recipient({ person, address }) {
|
|
70
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
71
|
+
className: "connected-app-card__recipient",
|
|
72
|
+
children: [
|
|
73
|
+
/* @__PURE__ */ jsx(PersonAvatar, { name: person.name }),
|
|
74
|
+
person.name,
|
|
75
|
+
address ? /* @__PURE__ */ jsx("span", {
|
|
76
|
+
className: "connected-app-card__recipient-address",
|
|
77
|
+
children: address
|
|
78
|
+
}) : null
|
|
79
|
+
]
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* A draft's To field, given the people on file. Each `,` or `;` entry that
|
|
84
|
+
* matches a person's handle shows as that person; the first file by path wins
|
|
85
|
+
* a shared handle. `display` replaces the read-only value, keeping an email
|
|
86
|
+
* address beside the name because handles are agent-written. `hint` lists the
|
|
87
|
+
* people under the input while editing. Both are absent when nobody matches,
|
|
88
|
+
* so the field shows `to` exactly as written. `to` stays the route either way.
|
|
89
|
+
*/
|
|
90
|
+
function recipientField(to, people = []) {
|
|
91
|
+
const occurrences = /* @__PURE__ */ new Map();
|
|
92
|
+
const entries = to.split(/[,;]/u).map((text) => text.trim()).filter(Boolean).map((text) => {
|
|
93
|
+
const occurrence = (occurrences.get(text) ?? 0) + 1;
|
|
94
|
+
occurrences.set(text, occurrence);
|
|
95
|
+
return {
|
|
96
|
+
key: `${text}#${occurrence}`,
|
|
97
|
+
text,
|
|
98
|
+
address: personKey(text)?.address,
|
|
99
|
+
person: personFor(text, people)
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
const known = new Map(entries.flatMap(({ person }) => person ? [[person.path, person]] : []));
|
|
103
|
+
if (known.size === 0) return {};
|
|
104
|
+
return {
|
|
105
|
+
display: /* @__PURE__ */ jsx("span", {
|
|
106
|
+
className: "connected-app-card__recipients",
|
|
107
|
+
children: entries.map(({ key, text, address, person }, index) => /* @__PURE__ */ jsxs("span", { children: [person ? /* @__PURE__ */ jsx(Recipient, {
|
|
108
|
+
person,
|
|
109
|
+
address
|
|
110
|
+
}) : text, index < entries.length - 1 ? "," : null] }, key))
|
|
111
|
+
}),
|
|
112
|
+
hint: [...known.values()].map((person) => /* @__PURE__ */ jsx(Recipient, { person }, person.path))
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
116
|
+
export { recipientField as i, peopleListItems as n, personFor as r, PersonAvatar as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.0",
|
|
4
4
|
"description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
|
|
5
5
|
"homepage": "https://design-system.sigvelo.com",
|
|
6
6
|
"bugs": {
|
|
@@ -39,70 +39,70 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@base-ui/react": "~1.8.0",
|
|
42
|
-
"@rrweb/replay": "^2.1.
|
|
42
|
+
"@rrweb/replay": "^2.1.7",
|
|
43
43
|
"@shadcn/react": "^0.3.1",
|
|
44
|
-
"@streamdown/cjk": "^1.0.
|
|
44
|
+
"@streamdown/cjk": "^1.0.4",
|
|
45
45
|
"@streamdown/code": "^1.1.1",
|
|
46
|
-
"@tanstack/react-virtual": "^3.14.
|
|
47
|
-
"@xyflow/react": "^12.
|
|
48
|
-
"agent-skills-ts-sdk": "^2.
|
|
46
|
+
"@tanstack/react-virtual": "^3.14.13",
|
|
47
|
+
"@xyflow/react": "^12.12.0",
|
|
48
|
+
"agent-skills-ts-sdk": "^2.5.0",
|
|
49
49
|
"anser": "^2.3.5",
|
|
50
|
-
"lucide-react": "^1.
|
|
50
|
+
"lucide-react": "^1.53.0",
|
|
51
51
|
"react-icons": "^5.7.0",
|
|
52
52
|
"rehype-slug": "^6.0.0",
|
|
53
|
-
"shiki": "^4.
|
|
54
|
-
"simple-icons": "16.
|
|
55
|
-
"streamdown": "^2.
|
|
53
|
+
"shiki": "^4.5.0",
|
|
54
|
+
"simple-icons": "16.34.0",
|
|
55
|
+
"streamdown": "^2.7.0",
|
|
56
56
|
"unist-util-visit": "^5.1.0",
|
|
57
57
|
"yet-another-react-lightbox": "^3.32.2",
|
|
58
|
-
"@mcp-b/design-tokens": "0.
|
|
58
|
+
"@mcp-b/design-tokens": "0.61.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@ai-sdk/react": "^
|
|
62
|
-
"@cloudflare/codemode": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-
|
|
63
|
-
"@cloudflare/shell": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-
|
|
64
|
-
"@cloudflare/think": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-
|
|
65
|
-
"@cloudflare/workers-types": "^5.
|
|
61
|
+
"@ai-sdk/react": "^4.0.136",
|
|
62
|
+
"@cloudflare/codemode": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-fce39aefd5b8/cloudflare-codemode-0.5.3.tgz",
|
|
63
|
+
"@cloudflare/shell": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-fce39aefd5b8/cloudflare-shell-0.4.3.tgz",
|
|
64
|
+
"@cloudflare/think": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-fce39aefd5b8/cloudflare-think-0.20.1.tgz",
|
|
65
|
+
"@cloudflare/workers-types": "^5.20261008.1",
|
|
66
66
|
"@storybook/addon-a11y": "10.5.7",
|
|
67
67
|
"@storybook/addon-docs": "10.5.7",
|
|
68
68
|
"@storybook/addon-mcp": "0.7.0",
|
|
69
69
|
"@storybook/addon-vitest": "10.5.7",
|
|
70
70
|
"@storybook/tanstack-react": "10.5.7",
|
|
71
71
|
"@tanstack/react-form": "^1.33.5",
|
|
72
|
-
"@tanstack/react-query": "^5.
|
|
72
|
+
"@tanstack/react-query": "^5.104.1",
|
|
73
73
|
"@tanstack/react-router": "1.170.25",
|
|
74
|
-
"@tanstack/react-store": "^0.11.
|
|
74
|
+
"@tanstack/react-store": "^0.11.2",
|
|
75
75
|
"@tanstack/router-core": "1.171.21",
|
|
76
76
|
"@types/hast": "^3.0.5",
|
|
77
|
-
"@types/node": "^26.
|
|
77
|
+
"@types/node": "^26.6.4",
|
|
78
78
|
"@types/react": "^19.3.0",
|
|
79
79
|
"@types/react-dom": "^19.3.0",
|
|
80
80
|
"@vitest/browser-playwright": "^4.1.11",
|
|
81
81
|
"@vitest/coverage-v8": "^4.1.11",
|
|
82
82
|
"@vitest/mocker": "^4.1.11",
|
|
83
|
-
"agents": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-
|
|
84
|
-
"ai": "^
|
|
85
|
-
"cloudflare": "^7.
|
|
83
|
+
"agents": "https://github.com/WebMCP-org/do-runtime/releases/download/rook-sdk-fce39aefd5b8/agents-0.27.0.tgz",
|
|
84
|
+
"ai": "^7.0.133",
|
|
85
|
+
"cloudflare": "^7.3.0",
|
|
86
86
|
"oversight-lint": "0.7.1",
|
|
87
87
|
"playwright": "1.61.1",
|
|
88
88
|
"react": "19.3.0",
|
|
89
89
|
"react-dom": "19.3.0",
|
|
90
90
|
"storybook": "10.5.7",
|
|
91
|
-
"storybook-addon-oversight": "0.7.
|
|
91
|
+
"storybook-addon-oversight": "0.7.1",
|
|
92
92
|
"typescript": "^6.0.3",
|
|
93
93
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.1",
|
|
94
94
|
"vite-plus": "0.3.1",
|
|
95
95
|
"vitest": "^4.1.11"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"@ai-sdk/react": "^
|
|
99
|
-
"@cloudflare/codemode": "^0.5.
|
|
98
|
+
"@ai-sdk/react": "^4.0.136",
|
|
99
|
+
"@cloudflare/codemode": "^0.5.3",
|
|
100
100
|
"@cloudflare/shell": "^0.4.3",
|
|
101
|
-
"@cloudflare/think": "^0.
|
|
101
|
+
"@cloudflare/think": "^0.20.1",
|
|
102
102
|
"@cloudflare/workers-types": "^5.20260715.1",
|
|
103
103
|
"@tanstack/react-query": "^5.101.2",
|
|
104
|
-
"agents": "^0.
|
|
105
|
-
"ai": "^
|
|
104
|
+
"agents": "^0.27.0",
|
|
105
|
+
"ai": "^7.0.133",
|
|
106
106
|
"cloudflare": "^7.0.0",
|
|
107
107
|
"react": "19.3.0 || 19.3.0-canary-711c445b-20260722",
|
|
108
108
|
"react-dom": "19.3.0 || 19.3.0-canary-711c445b-20260722"
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { UIMessage } from "ai";
|
|
3
|
-
import { useAgentToolEvents } from "agents/react";
|
|
4
|
-
import { AgentToolRunPart, AgentToolRunState } from "agents/agent-tools";
|
|
5
|
-
//#region src/components/agents-sdk/AgentToolRunsContext.d.ts
|
|
6
|
-
/** Native SDK run and event-hook values, passed without translation. */
|
|
7
|
-
type AgentToolRunValue<Part extends AgentToolRunPart = AgentToolRunPart> = AgentToolRunState<Part>;
|
|
8
|
-
type AgentToolEventsValue<Part extends AgentToolRunPart = UIMessage["parts"][number]> = ReturnType<typeof useAgentToolEvents<Part>>;
|
|
9
|
-
interface AgentToolRunsProviderProps<Part extends AgentToolRunPart = UIMessage["parts"][number]> {
|
|
10
|
-
/** Pass the whole `useAgentToolEvents({ agent })` result directly. */
|
|
11
|
-
agentTools: AgentToolEventsValue<Part>;
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
/** Provides one parent connection's retained Agent Tool event projection. */
|
|
15
|
-
declare function AgentToolRunsProvider<Part extends AgentToolRunPart = UIMessage["parts"][number]>({ agentTools, children }: AgentToolRunsProviderProps<Part>): React.JSX.Element;
|
|
16
|
-
declare function useOptionalAgentToolRuns<Part extends AgentToolRunPart = UIMessage["parts"][number]>(): AgentToolEventsValue<Part> | null;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { useOptionalAgentToolRuns as a, AgentToolRunsProviderProps as i, AgentToolRunValue as n, AgentToolRunsProvider as r, AgentToolEventsValue as t };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
//#region src/components/ai-sdk/Correspondent.d.ts
|
|
3
|
-
/** One live handle. Extra handles are extra correspondents — no merge. */
|
|
4
|
-
type CorrespondentHandle = {
|
|
5
|
-
kind: "email";
|
|
6
|
-
address: string;
|
|
7
|
-
} | {
|
|
8
|
-
kind: "slack";
|
|
9
|
-
userId: string;
|
|
10
|
-
userName?: string;
|
|
11
|
-
} | {
|
|
12
|
-
kind: "linkedin";
|
|
13
|
-
url: string;
|
|
14
|
-
} | {
|
|
15
|
-
kind: "people";
|
|
16
|
-
resourceName: string;
|
|
17
|
-
};
|
|
18
|
-
type CorrespondentLatest = {
|
|
19
|
-
kind: "email-thread";
|
|
20
|
-
label: string;
|
|
21
|
-
} | {
|
|
22
|
-
kind: "slack-thread";
|
|
23
|
-
threadId: string;
|
|
24
|
-
label: string;
|
|
25
|
-
} | {
|
|
26
|
-
kind: "linkedin-tab";
|
|
27
|
-
tabId: number;
|
|
28
|
-
url: string;
|
|
29
|
-
title?: string;
|
|
30
|
-
} | {
|
|
31
|
-
kind: "calendar-event";
|
|
32
|
-
label: string;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Presentation of a person-shaped destination on current work. Not a contact
|
|
36
|
-
* record and not a ManagerOfficeEmployee seat.
|
|
37
|
-
*/
|
|
38
|
-
interface Correspondent {
|
|
39
|
-
handle: CorrespondentHandle;
|
|
40
|
-
displayName?: string;
|
|
41
|
-
avatarUrl?: string;
|
|
42
|
-
latest?: CorrespondentLatest;
|
|
43
|
-
}
|
|
44
|
-
declare function slackDestinationCorrespondent(to: string): Correspondent | undefined;
|
|
45
|
-
declare function emailDestinationCorrespondent(to: string): Correspondent | undefined;
|
|
46
|
-
declare function linkedinTabCorrespondent(url: string): Correspondent | undefined;
|
|
47
|
-
declare function correspondentHandleLabel(handle: CorrespondentHandle): string;
|
|
48
|
-
declare function correspondentInitials(label: string): string;
|
|
49
|
-
interface CorrespondentNameProps {
|
|
50
|
-
correspondent: Correspondent;
|
|
51
|
-
className?: string;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Avatar + name for a person-shaped destination. LinkedIn handles open the
|
|
55
|
-
* profile; other handles disclose handle and latest thread without inventing
|
|
56
|
-
* a directory.
|
|
57
|
-
*/
|
|
58
|
-
declare function CorrespondentName({ correspondent, className }: CorrespondentNameProps): React.ReactElement;
|
|
59
|
-
//#endregion
|
|
60
|
-
export { CorrespondentNameProps as a, emailDestinationCorrespondent as c, CorrespondentName as i, linkedinTabCorrespondent as l, CorrespondentHandle as n, correspondentHandleLabel as o, CorrespondentLatest as r, correspondentInitials as s, Correspondent as t, slackDestinationCorrespondent as u };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { t as ThinkExecutionRun } from "./ThinkExecutionRun-CPeYVneQ.js";
|
|
2
|
-
import { a as WorkspaceExecutionTableInvocation } from "./WorkspaceExecutionTable-DNhj6YDX.js";
|
|
3
|
-
import { JSONValue } from "ai";
|
|
4
|
-
import { ThinkScheduledTask, ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
5
|
-
import { Schedule } from "agents";
|
|
6
|
-
//#region src/components/agents-sdk/ThinkRoutine.d.ts
|
|
7
|
-
/** Saved program invoked by the host's existing execution runtime. */
|
|
8
|
-
interface ThinkRoutineScript {
|
|
9
|
-
path: string;
|
|
10
|
-
args?: Record<string, JSONValue>;
|
|
11
|
-
/** Reuses the prepared table source and input mapping on each occurrence. */
|
|
12
|
-
table?: WorkspaceExecutionTableInvocation["table"];
|
|
13
|
-
}
|
|
14
|
-
/** App-owned identity for the Think agent that owns a routine. */
|
|
15
|
-
interface ThinkRoutineOwner {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* App-level routine descriptor. Scheduling and execution records remain whole
|
|
21
|
-
* upstream Think/Agents SDK values; only library identity and enabled state are
|
|
22
|
-
* app-owned because neither SDK provides a cross-agent routine catalog.
|
|
23
|
-
*/
|
|
24
|
-
interface ThinkRoutine {
|
|
25
|
-
id: string;
|
|
26
|
-
name: string;
|
|
27
|
-
description?: string;
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
owner: ThinkRoutineOwner;
|
|
30
|
-
task: ThinkScheduledTask | {
|
|
31
|
-
schedule: ThinkScheduledTaskSchedule;
|
|
32
|
-
script: ThinkRoutineScript;
|
|
33
|
-
};
|
|
34
|
-
schedule?: Schedule<unknown> | null;
|
|
35
|
-
runs: readonly ThinkExecutionRun[];
|
|
36
|
-
}
|
|
37
|
-
/** Preserves an app-enriched native execution type carried by a routine subtype. */
|
|
38
|
-
type ThinkRoutineRunOf<TRoutine extends ThinkRoutine = ThinkRoutine> = TRoutine["runs"][number];
|
|
39
|
-
declare function getThinkRoutineNextRun(routine: ThinkRoutine): string | null;
|
|
40
|
-
//#endregion
|
|
41
|
-
export { getThinkRoutineNextRun as a, ThinkRoutineScript as i, ThinkRoutineOwner as n, ThinkRoutineRunOf as r, ThinkRoutine as t };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ResponsiveSidebarAppBar } from "./components/general-purpose/ResponsiveSidebarShell.js";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
//#region src/components/_internal/WorkspaceConceptPanel.tsx
|
|
4
|
-
/** Shared workbench chrome keeps the title visible while its content scrolls. */
|
|
5
|
-
function WorkspaceConceptPanel({ heading, children, ...props }) {
|
|
6
|
-
return /* @__PURE__ */ jsxs("section", {
|
|
7
|
-
...props,
|
|
8
|
-
children: [/* @__PURE__ */ jsx(ResponsiveSidebarAppBar, {
|
|
9
|
-
className: "workspace-concept-panel__header",
|
|
10
|
-
label: `${heading} controls`,
|
|
11
|
-
title: heading,
|
|
12
|
-
titleRender: (props) => /* @__PURE__ */ jsx("h2", {
|
|
13
|
-
...props,
|
|
14
|
-
children: props.children
|
|
15
|
-
})
|
|
16
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
17
|
-
className: "workspace-concept-panel__body",
|
|
18
|
-
children
|
|
19
|
-
})]
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { WorkspaceConceptPanel as t };
|