@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,2 @@
|
|
|
1
|
+
import { C as WorkspaceAutomationTableValue, S as WorkspaceAutomationTableSource, _ as WorkspaceAutomationTableLoadOptions, b as WorkspaceAutomationTableRow, g as WorkspaceAutomationTableInput, h as WorkspaceAutomationTableData, m as WorkspaceAutomationTableActions, p as WorkspaceAutomationTable, v as WorkspaceAutomationTableLoaded, x as WorkspaceAutomationTableRun, y as WorkspaceAutomationTableProps } from "../../WorkspaceAutomation-B2Pdz_SU.js";
|
|
2
|
+
export { WorkspaceAutomationTable, WorkspaceAutomationTableActions, WorkspaceAutomationTableData, WorkspaceAutomationTableInput, WorkspaceAutomationTableLoadOptions, WorkspaceAutomationTableLoaded, WorkspaceAutomationTableProps, WorkspaceAutomationTableRow, WorkspaceAutomationTableRun, WorkspaceAutomationTableSource, WorkspaceAutomationTableValue };
|
package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Button } from "../foundations/Button.js";
|
|
2
|
-
import { C as FolderIcon, D as LinkIcon, K as SpinnerIcon, R as PencilIcon, S as FileIcon, Y as StopIcon, d as CheckIcon, h as CopyIcon, nt as WrenchIcon, r as ArrowLeftIcon, tt as WarningIcon, u as CalendarIcon, z as PlayIcon } from "../../icons-DvlrWt54.js";
|
|
3
|
-
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
4
1
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
2
|
+
import { C as FileIcon, U as PlayIcon, V as PencilIcon, Z as SpinnerIcon, ct as WrenchIcon, d as CheckIcon, et as StopIcon, h as CopyIcon, k as LinkIcon, r as ArrowLeftIcon, st as WarningIcon, u as CalendarIcon, w as FolderIcon } from "../../icons-Yp99gmMC.js";
|
|
3
|
+
import { Button } from "../foundations/Button.js";
|
|
5
4
|
import { Field } from "../foundations/Field.js";
|
|
6
5
|
import { Textarea } from "../foundations/Textarea.js";
|
|
7
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
8
|
-
import {
|
|
9
|
-
import { a as
|
|
10
|
-
import { a as
|
|
11
|
-
import { n as executionResultLabel, t as ExecutionResult } from "../../ExecutionResult-
|
|
12
|
-
import { ExecutionBoard } from "./ExecutionBoard.js";
|
|
7
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
8
|
+
import { a as httpUrl, r as OutboundLink, t as FaviconMark } from "../../workspace-assets-Dq5toMQc.js";
|
|
9
|
+
import { a as executionResultSummary, n as executionErrorSummary, o as readExecutionResult } from "../../execution-result-DAuW4VWv.js";
|
|
10
|
+
import { n as executionResultLabel, t as ExecutionResult } from "../../ExecutionResult-DmC21cll.js";
|
|
13
11
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
12
|
+
import { ExecutionBoard } from "./ExecutionBoard.js";
|
|
13
|
+
import { n as OptionSelect, t as scheduledTableSourceNote } from "../../scheduled-table-source-NZR1vFc_.js";
|
|
14
14
|
import { Progress } from "../foundations/Progress.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
|
18
|
-
//#region src/components/agents-sdk/
|
|
18
|
+
//#region src/components/agents-sdk/WorkspaceAutomationTable.tsx
|
|
19
19
|
function isBlankCell(value) {
|
|
20
20
|
return value == null || typeof value === "string" && value.trim() === "";
|
|
21
21
|
}
|
|
@@ -30,26 +30,6 @@ function defaultColumns(data, parameters) {
|
|
|
30
30
|
return matches.length === 1 ? [[parameter.name, matches[0]]] : [];
|
|
31
31
|
}));
|
|
32
32
|
}
|
|
33
|
-
function TableSelect({ label, value, options, disabled, onChange }) {
|
|
34
|
-
return /* @__PURE__ */ jsxs(Select.Root, {
|
|
35
|
-
value,
|
|
36
|
-
disabled,
|
|
37
|
-
items: options,
|
|
38
|
-
onValueChange: (next) => {
|
|
39
|
-
if (next != null) onChange(next);
|
|
40
|
-
},
|
|
41
|
-
children: [/* @__PURE__ */ jsxs(Select.Trigger, {
|
|
42
|
-
"aria-label": label,
|
|
43
|
-
children: [/* @__PURE__ */ jsx(Select.Value, {}), /* @__PURE__ */ jsx(Select.Icon, {})]
|
|
44
|
-
}), /* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsx(Select.Positioner, {
|
|
45
|
-
sideOffset: 4,
|
|
46
|
-
children: /* @__PURE__ */ jsx(Select.Popup, { children: /* @__PURE__ */ jsx(Select.List, { children: options.map((option) => /* @__PURE__ */ jsxs(Select.Item, {
|
|
47
|
-
value: option.value,
|
|
48
|
-
children: [/* @__PURE__ */ jsx(Select.ItemText, { children: option.label }), /* @__PURE__ */ jsx(Select.ItemIndicator, {})]
|
|
49
|
-
}, option.value)) }) })
|
|
50
|
-
}) })]
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
33
|
const rowStatus = {
|
|
54
34
|
waiting: "Waiting",
|
|
55
35
|
running: "Running",
|
|
@@ -60,18 +40,18 @@ const rowStatus = {
|
|
|
60
40
|
};
|
|
61
41
|
function TablePreview({ data, visibleRows, rowsByIndex, results, resultColumns, showResult, trace, onSelectRow }) {
|
|
62
42
|
return /* @__PURE__ */ jsx("div", {
|
|
63
|
-
className: "workspace-
|
|
43
|
+
className: "workspace-automation-table__scroll",
|
|
64
44
|
role: "region",
|
|
65
45
|
"aria-label": "Table rows",
|
|
66
46
|
tabIndex: 0,
|
|
67
47
|
children: /* @__PURE__ */ jsxs("table", {
|
|
68
|
-
className: "workspace-
|
|
48
|
+
className: "workspace-automation-table__preview",
|
|
69
49
|
style: { minInlineSize: `${(data.columns.length + resultColumns.length + Number(showResult)) * 5.5 + 2}rem` },
|
|
70
50
|
"aria-label": "Table rows",
|
|
71
51
|
children: [/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
72
52
|
/* @__PURE__ */ jsx("th", {
|
|
73
53
|
scope: "col",
|
|
74
|
-
className: "workspace-
|
|
54
|
+
className: "workspace-automation-table__row-number",
|
|
75
55
|
children: /* @__PURE__ */ jsx("span", {
|
|
76
56
|
className: "sigvelo-visually-hidden",
|
|
77
57
|
children: "Row"
|
|
@@ -103,7 +83,7 @@ function TablePreview({ data, visibleRows, rowsByIndex, results, resultColumns,
|
|
|
103
83
|
children: [
|
|
104
84
|
/* @__PURE__ */ jsx("th", {
|
|
105
85
|
scope: "row",
|
|
106
|
-
className: "workspace-
|
|
86
|
+
className: "workspace-automation-table__row-number",
|
|
107
87
|
children: canInspect ? /* @__PURE__ */ jsx(IconButton, {
|
|
108
88
|
variant: "ghost",
|
|
109
89
|
color: "neutral",
|
|
@@ -122,7 +102,7 @@ function TablePreview({ data, visibleRows, rowsByIndex, results, resultColumns,
|
|
|
122
102
|
data.columns.map((column, columnIndex) => {
|
|
123
103
|
const value = cells[columnIndex];
|
|
124
104
|
const link = typeof value === "string" ? httpUrl(value) : void 0;
|
|
125
|
-
return /* @__PURE__ */ jsx("td", { children: link ? /* @__PURE__ */ jsx(
|
|
105
|
+
return /* @__PURE__ */ jsx("td", { children: link ? /* @__PURE__ */ jsx(OutboundLink, { href: link }) : displayCell(value) }, column);
|
|
126
106
|
}),
|
|
127
107
|
resultColumns.map((column) => /* @__PURE__ */ jsx("td", {
|
|
128
108
|
"data-result": "",
|
|
@@ -130,7 +110,7 @@ function TablePreview({ data, visibleRows, rowsByIndex, results, resultColumns,
|
|
|
130
110
|
result: result[column],
|
|
131
111
|
showSummary: false
|
|
132
112
|
}) : /* @__PURE__ */ jsx("span", {
|
|
133
|
-
className: "workspace-
|
|
113
|
+
className: "workspace-automation-table__hint",
|
|
134
114
|
children: "—"
|
|
135
115
|
})
|
|
136
116
|
}, column)),
|
|
@@ -238,7 +218,7 @@ function tableView({ prepared, loaded, data, source, parameters, columns, args }
|
|
|
238
218
|
const rowCount = prepared && !loaded ? prepared.rows.length : data?.rows.filter((row) => row.some((cell) => !isBlankCell(cell))).length ?? 0;
|
|
239
219
|
const finished = prepared?.rows.filter((row) => row.status !== "waiting" && row.status !== "running").length ?? 0;
|
|
240
220
|
const href = data?.source?.href ? httpUrl(data.source.href) : void 0;
|
|
241
|
-
const sourceDescription = source ?
|
|
221
|
+
const sourceDescription = source ? scheduledTableSourceNote(source) : void 0;
|
|
242
222
|
const visibleRows = data?.rows.map((row, index) => ({
|
|
243
223
|
row,
|
|
244
224
|
index
|
|
@@ -253,7 +233,7 @@ function tableView({ prepared, loaded, data, source, parameters, columns, args }
|
|
|
253
233
|
const value = args[parameter.name];
|
|
254
234
|
return isBlankCell(value) ? `Rook needs to know where to find ${parameter.label}.` : "";
|
|
255
235
|
}).find(Boolean) : void 0;
|
|
256
|
-
const requiredError = data ? !parameters.length ? "Rook needs to prepare this
|
|
236
|
+
const requiredError = data ? !parameters.length ? "Rook needs to prepare this automation for a table." : missingRequired || (!Object.keys(columns).length ? "Rook needs to connect this table to the automation." : "") : "";
|
|
257
237
|
const rowsByIndex = new Map((!loaded ? prepared?.rows : void 0)?.map((row) => [row.index, row]));
|
|
258
238
|
const results = new Map([...rowsByIndex].map(([index, row]) => [index, readExecutionResult(row.result)]));
|
|
259
239
|
return {
|
|
@@ -274,15 +254,15 @@ function tableView({ prepared, loaded, data, source, parameters, columns, args }
|
|
|
274
254
|
}
|
|
275
255
|
function TableReadOptions({ loaded, loadInput, loadOptions, setLoadOptions, busy, onLoad }) {
|
|
276
256
|
const headerId = React.useId();
|
|
277
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [loaded?.sheets && loaded.sheets.length > 1 && loadInput ? /* @__PURE__ */ jsx(
|
|
278
|
-
label: "Worksheet",
|
|
257
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [loaded?.sheets && loaded.sheets.length > 1 && loadInput ? /* @__PURE__ */ jsx(OptionSelect, {
|
|
258
|
+
"aria-label": "Worksheet",
|
|
279
259
|
value: "path" in loaded.source ? loaded.source.sheet ?? loaded.sheets[0] : loaded.sheets[0],
|
|
280
260
|
options: loaded.sheets.map((sheet) => ({
|
|
281
261
|
value: sheet,
|
|
282
262
|
label: sheet
|
|
283
263
|
})),
|
|
284
264
|
disabled: busy,
|
|
285
|
-
|
|
265
|
+
onValueChange: (sheet) => onLoad({
|
|
286
266
|
input: loadInput,
|
|
287
267
|
options: {
|
|
288
268
|
...loadOptions,
|
|
@@ -344,8 +324,8 @@ function TableReadOptions({ loaded, loadInput, loadOptions, setLoadOptions, busy
|
|
|
344
324
|
children: "Read table"
|
|
345
325
|
})
|
|
346
326
|
] }) : null,
|
|
347
|
-
/* @__PURE__ */ jsx(
|
|
348
|
-
label: "Column separator",
|
|
327
|
+
/* @__PURE__ */ jsx(OptionSelect, {
|
|
328
|
+
"aria-label": "Column separator",
|
|
349
329
|
value: loadOptions.delimiter ?? "default",
|
|
350
330
|
disabled: busy,
|
|
351
331
|
options: [
|
|
@@ -366,7 +346,7 @@ function TableReadOptions({ loaded, loadInput, loadOptions, setLoadOptions, busy
|
|
|
366
346
|
label: "Semicolon"
|
|
367
347
|
}
|
|
368
348
|
],
|
|
369
|
-
|
|
349
|
+
onValueChange: (delimiter) => {
|
|
370
350
|
if (delimiter === "," || delimiter === " " || delimiter === ";") onLoad({
|
|
371
351
|
input: loadInput,
|
|
372
352
|
options: {
|
|
@@ -390,7 +370,7 @@ function TableReadOptions({ loaded, loadInput, loadOptions, setLoadOptions, busy
|
|
|
390
370
|
}
|
|
391
371
|
function TableSelectedRow({ selectedRow, rowCount, selectedTrace, graph, fetching, onClose }) {
|
|
392
372
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("div", {
|
|
393
|
-
className: "workspace-
|
|
373
|
+
className: "workspace-automation-table__source",
|
|
394
374
|
children: [/* @__PURE__ */ jsxs(Button, {
|
|
395
375
|
type: "button",
|
|
396
376
|
variant: "ghost",
|
|
@@ -404,18 +384,18 @@ function TableSelectedRow({ selectedRow, rowCount, selectedTrace, graph, fetchin
|
|
|
404
384
|
]
|
|
405
385
|
}), /* @__PURE__ */ jsxs("span", { children: ["Row ", selectedRow.index + 1] })]
|
|
406
386
|
}), selectedTrace ? /* @__PURE__ */ jsx(ExecutionBoard, {
|
|
407
|
-
className: "workspace-
|
|
387
|
+
className: "workspace-automation-workbench__board",
|
|
408
388
|
graph: selectedTrace.graph,
|
|
409
389
|
trace: selectedTrace
|
|
410
390
|
}) : graph && selectedRow.status === "waiting" ? /* @__PURE__ */ jsx(ExecutionBoard, {
|
|
411
|
-
className: "workspace-
|
|
391
|
+
className: "workspace-automation-workbench__board",
|
|
412
392
|
graph
|
|
413
393
|
}) : /* @__PURE__ */ jsx("p", {
|
|
414
394
|
role: "status",
|
|
415
395
|
children: fetching ? "Loading row steps…" : "This row’s steps are not available yet."
|
|
416
396
|
})] });
|
|
417
397
|
}
|
|
418
|
-
/**
|
|
398
|
+
/** Table form state, seeded from the host's receipt. A receipt for another automation resets it. */
|
|
419
399
|
function useTableReceipt(execution, parameters) {
|
|
420
400
|
const [loaded, setLoaded] = React.useState();
|
|
421
401
|
const [columns, setColumns] = React.useState(() => execution?.invocation.table?.columns ?? {});
|
|
@@ -516,7 +496,7 @@ function useTableExecution({ path, parameters, execution, trace, onLoadTable, on
|
|
|
516
496
|
}
|
|
517
497
|
const run = useMutation({
|
|
518
498
|
mutationFn: async () => {
|
|
519
|
-
if (!onRunTable) throw new Error("
|
|
499
|
+
if (!onRunTable) throw new Error("Running is no longer available.");
|
|
520
500
|
let next = prepared;
|
|
521
501
|
const refreshing = next !== void 0 && next.status !== "ready" && !loaded;
|
|
522
502
|
if (loaded || !next || next.status !== "ready") {
|
|
@@ -610,9 +590,9 @@ function TableSourceSection({ session, actions }) {
|
|
|
610
590
|
const { data, source, active, busy, paste, setPaste, workspacePath, setWorkspacePath, sourceRequest, setSourceRequest, requestPending, requestSource, load, setLoaded, setPrepared, args, view: { rowCount, href, sourceDescription } } = session;
|
|
611
591
|
const { path, onLoadTable, onRequestTableSource } = actions;
|
|
612
592
|
if (data) return /* @__PURE__ */ jsxs("div", {
|
|
613
|
-
className: "workspace-
|
|
593
|
+
className: "workspace-automation-table__source-section",
|
|
614
594
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
615
|
-
className: "workspace-
|
|
595
|
+
className: "workspace-automation-table__source-line",
|
|
616
596
|
children: [
|
|
617
597
|
/* @__PURE__ */ jsx(FaviconMark, {
|
|
618
598
|
href,
|
|
@@ -629,7 +609,7 @@ function TableSourceSection({ session, actions }) {
|
|
|
629
609
|
children: tableSourceLabel(data, source)
|
|
630
610
|
}),
|
|
631
611
|
/* @__PURE__ */ jsxs("span", {
|
|
632
|
-
className: "workspace-
|
|
612
|
+
className: "workspace-automation-table__hint",
|
|
633
613
|
children: [
|
|
634
614
|
rowCount,
|
|
635
615
|
" ",
|
|
@@ -648,11 +628,11 @@ function TableSourceSection({ session, actions }) {
|
|
|
648
628
|
}) : null
|
|
649
629
|
]
|
|
650
630
|
}), /* @__PURE__ */ jsx("p", {
|
|
651
|
-
className: "workspace-
|
|
631
|
+
className: "workspace-automation-table__hint",
|
|
652
632
|
children: sourceDescription
|
|
653
633
|
})]
|
|
654
634
|
});
|
|
655
|
-
if (!onLoadTable) return /* @__PURE__ */ jsx("p", { children: "Ask Rook to prepare a table for this
|
|
635
|
+
if (!onLoadTable) return /* @__PURE__ */ jsx("p", { children: "Ask Rook to prepare a table for this automation." });
|
|
656
636
|
return /* @__PURE__ */ jsx(TableSourceSetup, {
|
|
657
637
|
busy,
|
|
658
638
|
paste,
|
|
@@ -686,15 +666,15 @@ function TableRunStatus({ session, actions }) {
|
|
|
686
666
|
className: "sigvelo-stack",
|
|
687
667
|
role: "status",
|
|
688
668
|
children: [/* @__PURE__ */ jsx("p", {
|
|
689
|
-
className: "workspace-
|
|
669
|
+
className: "workspace-automation-table__hint",
|
|
690
670
|
children: requiredError || "Rook can help prepare this table."
|
|
691
671
|
}), onRequestTableSource && source ? /* @__PURE__ */ jsxs(Button, {
|
|
692
672
|
type: "button",
|
|
693
|
-
variant: "
|
|
673
|
+
variant: "surface",
|
|
694
674
|
color: "neutral",
|
|
695
675
|
disabled: busy,
|
|
696
676
|
onClick: () => void requestSource({
|
|
697
|
-
request: "Prepare this table for the
|
|
677
|
+
request: "Prepare this table for the automation. Match the columns and ask me only for missing information.",
|
|
698
678
|
invocation: {
|
|
699
679
|
path,
|
|
700
680
|
args,
|
|
@@ -750,7 +730,7 @@ function TableActionBar({ session, actions }) {
|
|
|
750
730
|
const { error, active, selectedRow, data, busy, schedule, view: { requiredError } } = session;
|
|
751
731
|
const { onScheduleTable } = actions;
|
|
752
732
|
return /* @__PURE__ */ jsxs("div", {
|
|
753
|
-
className: "workspace-
|
|
733
|
+
className: "workspace-automation-table__footer",
|
|
754
734
|
children: [
|
|
755
735
|
error ? /* @__PURE__ */ jsx(Field.Errors, { errors: [error] }) : null,
|
|
756
736
|
/* @__PURE__ */ jsx(TablePrimaryAction, {
|
|
@@ -759,9 +739,9 @@ function TableActionBar({ session, actions }) {
|
|
|
759
739
|
}),
|
|
760
740
|
data && onScheduleTable && !selectedRow && !active ? /* @__PURE__ */ jsxs(Button, {
|
|
761
741
|
type: "button",
|
|
762
|
-
"aria-label": "Schedule table
|
|
742
|
+
"aria-label": "Schedule table automation",
|
|
763
743
|
size: "sm",
|
|
764
|
-
variant: "
|
|
744
|
+
variant: "surface",
|
|
765
745
|
color: "neutral",
|
|
766
746
|
disabled: busy || schedule.isPending || Boolean(requiredError),
|
|
767
747
|
onClick: () => schedule.mutate(),
|
|
@@ -770,14 +750,14 @@ function TableActionBar({ session, actions }) {
|
|
|
770
750
|
]
|
|
771
751
|
});
|
|
772
752
|
}
|
|
773
|
-
/** Run one existing
|
|
774
|
-
function
|
|
753
|
+
/** Run one existing automation for each row, then inspect each row on the same execution board. */
|
|
754
|
+
function WorkspaceAutomationTable(props) {
|
|
775
755
|
const { trace, graph } = props;
|
|
776
756
|
const session = useTableExecution(props);
|
|
777
757
|
const { selectedRow, selectedTrace, savedTrace, setSelectedIndex, data, loaded, loadInput, loadOptions, setLoadOptions, busy, load, view: { rowCount, visibleRows, rowsByIndex, results, resultColumns, showResult } } = session;
|
|
778
758
|
return /* @__PURE__ */ jsxs("div", {
|
|
779
|
-
className: "workspace-
|
|
780
|
-
"data-slot": "workspace-
|
|
759
|
+
className: "workspace-automation-table",
|
|
760
|
+
"data-slot": "workspace-automation-table",
|
|
781
761
|
children: [selectedRow ? /* @__PURE__ */ jsx(TableSelectedRow, {
|
|
782
762
|
selectedRow,
|
|
783
763
|
rowCount,
|
|
@@ -786,7 +766,7 @@ function WorkspaceExecutionTable(props) {
|
|
|
786
766
|
fetching: savedTrace.isFetching,
|
|
787
767
|
onClose: () => setSelectedIndex(void 0)
|
|
788
768
|
}) : /* @__PURE__ */ jsxs("div", {
|
|
789
|
-
className: "workspace-
|
|
769
|
+
className: "workspace-automation-table__body sigvelo-stack",
|
|
790
770
|
children: [
|
|
791
771
|
/* @__PURE__ */ jsx(TableSourceSection, {
|
|
792
772
|
session,
|
|
@@ -821,4 +801,4 @@ function WorkspaceExecutionTable(props) {
|
|
|
821
801
|
});
|
|
822
802
|
}
|
|
823
803
|
//#endregion
|
|
824
|
-
export {
|
|
804
|
+
export { WorkspaceAutomationTable };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as WorkspaceState } from "../../Workspace-
|
|
1
|
+
import { b as WorkspaceState } from "../../Workspace-42LA9Zrb.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/agents-sdk/WorkspaceBrowser.d.ts
|
|
4
4
|
export interface WorkspaceBrowserProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchField } from "../foundations/SearchField.js";
|
|
2
|
-
import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "../../FileTree-
|
|
2
|
+
import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "../../FileTree-H31EVRv_.js";
|
|
3
3
|
import { WorkspaceHeader } from "./WorkspaceHeader.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export {
|
|
1
|
+
import { a as workspacePathsOverlap, i as workspaceConceptQueryOptions, n as invalidateWorkspaceConceptQueries, r as workspaceConceptQueryKey, t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-BjrgGE1w.js";
|
|
2
|
+
export { WorkspaceConceptQueryOptions, invalidateWorkspaceConceptQueries, workspaceConceptQueryKey, workspaceConceptQueryOptions, workspacePathsOverlap };
|
|
@@ -39,4 +39,4 @@ function invalidateWorkspaceConceptQueries(queryClient, sourceKey, root, changed
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
//#endregion
|
|
42
|
-
export { invalidateWorkspaceConceptQueries, workspaceConceptQueryKey, workspaceConceptQueryOptions,
|
|
42
|
+
export { invalidateWorkspaceConceptQueries, workspaceConceptQueryKey, workspaceConceptQueryOptions, workspacePathsOverlap };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-BjrgGE1w.js";
|
|
2
|
+
import { t as ConceptCardProps } from "../../workspace-entity-card-2TC3RPKh.js";
|
|
3
|
+
import { t as WorkspacePerson } from "../../workspace-person-BSgvRjZE.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
//#region src/components/agents-sdk/WorkspaceCorrespondence.d.ts
|
|
6
6
|
export interface WorkspaceCorrespondenceField {
|
|
@@ -25,23 +25,43 @@ export interface WorkspaceCorrespondence extends WorkspaceCorrespondenceDraft {
|
|
|
25
25
|
state?: WorkspaceCorrespondenceState;
|
|
26
26
|
}
|
|
27
27
|
export interface WorkspaceCorrespondenceSource {
|
|
28
|
+
/** One parsed correspondence file; `null` once the file is gone. */
|
|
28
29
|
queryOptions: WorkspaceConceptQueryOptions<WorkspaceCorrespondence | null>;
|
|
30
|
+
/** The workspace's people, the People panel's query. Recipients on file show by name. */
|
|
31
|
+
people?: WorkspaceConceptQueryOptions<readonly WorkspacePerson[]>;
|
|
32
|
+
/** Writes the edited fields and body back to the file. Without it the card is read-only. */
|
|
29
33
|
onChange?: (path: string, next: WorkspaceCorrespondenceDraft) => Promise<void>;
|
|
34
|
+
/** Sends the saved file. Runs only after the last edit is on disk. */
|
|
30
35
|
onSend?: (path: string) => Promise<void>;
|
|
36
|
+
/** Opens the file. Without it the card's name is plain text. */
|
|
31
37
|
onOpen?: (path: string) => void;
|
|
38
|
+
/** Deletes the file after the trash control's confirm. */
|
|
32
39
|
onDelete?: (path: string) => void | Promise<void>;
|
|
33
40
|
}
|
|
34
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Lifecycle of persisting the visible draft. Absent means saved. A failed save
|
|
43
|
+
* is shown inline with its retry affordance, and while a save is in flight or
|
|
44
|
+
* failed the card's Send is disabled — a draft must never send content the
|
|
45
|
+
* backing store does not hold.
|
|
46
|
+
*/
|
|
47
|
+
export type ConnectedAppCardSaveState = {
|
|
48
|
+
status: "saving";
|
|
49
|
+
} | {
|
|
50
|
+
status: "error";
|
|
51
|
+
message: string;
|
|
52
|
+
onRetry?: () => void;
|
|
53
|
+
};
|
|
54
|
+
export interface WorkspaceCorrespondenceCardProps extends Omit<ConceptCardProps, "onChange"> {
|
|
35
55
|
/** Correspondence renderer key, such as the message or email kind selected by the host. */
|
|
36
56
|
kind: string;
|
|
37
|
-
/** Workspace-relative file path represented by this card. */
|
|
38
|
-
path: string;
|
|
39
57
|
/** Ordered header fields rendered above the correspondence body. */
|
|
40
58
|
fields: readonly WorkspaceCorrespondenceField[];
|
|
41
59
|
/** Editable or read-only correspondence body. */
|
|
42
60
|
body: string;
|
|
43
61
|
/** Leading icon identifying the correspondence channel. */
|
|
44
62
|
icon?: React.ReactNode;
|
|
63
|
+
/** The workspace's people. An email or Slack recipient on file shows as that person. */
|
|
64
|
+
people?: readonly WorkspacePerson[];
|
|
45
65
|
/** `sent` renders the read-only snapshot and ignores `onChange`/`onSend`. */
|
|
46
66
|
state?: WorkspaceCorrespondenceState;
|
|
47
67
|
/** Persistence lifecycle of the visible draft. Send is disabled while set. */
|
|
@@ -55,7 +75,7 @@ export interface WorkspaceCorrespondenceCardProps extends Omit<CardProps, "child
|
|
|
55
75
|
/** Deletes the backing correspondence through the host. */
|
|
56
76
|
onDelete?: () => void | Promise<void>;
|
|
57
77
|
}
|
|
58
|
-
export interface WorkspaceCorrespondenceFileProps extends Omit<WorkspaceCorrespondenceCardProps, "body" | "fields" | "kind" | "onChange" | "onDelete" | "onOpen" | "onSend" | "
|
|
78
|
+
export interface WorkspaceCorrespondenceFileProps extends Omit<WorkspaceCorrespondenceCardProps, "body" | "fields" | "kind" | "onChange" | "onDelete" | "onOpen" | "onSend" | "people" | "saveState" | "state"> {
|
|
59
79
|
source: WorkspaceCorrespondenceSource;
|
|
60
80
|
fallback?: React.ReactNode;
|
|
61
81
|
}
|
|
@@ -65,7 +85,7 @@ export interface WorkspaceCorrespondenceFileProps extends Omit<WorkspaceCorrespo
|
|
|
65
85
|
* snapshot, and falls back to the generic card for kinds without a richer
|
|
66
86
|
* design-system surface.
|
|
67
87
|
*/
|
|
68
|
-
export declare function WorkspaceCorrespondenceCard({ body, fields, kind,
|
|
88
|
+
export declare function WorkspaceCorrespondenceCard({ body, fields, kind, icon, people, saveState, state, onChange, onDelete, onOpen, onSend, ...props }: WorkspaceCorrespondenceCardProps & {
|
|
69
89
|
/** Ref forwarded to the component's rendered root element. */
|
|
70
90
|
ref?: React.Ref<HTMLDivElement>;
|
|
71
91
|
}): React.JSX.Element;
|