@mcp-b/react-components 0.60.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentActivity-DSObWhDU.d.ts → AgentActivity-DptCj8XQ.d.ts} +2 -2
- package/dist/{AgentChatQueue-CGR4hd7D.d.ts → AgentChatQueue-DG2rGyCI.d.ts} +1 -1
- package/dist/AgentToolRunsContext-Br3jZ6Up.d.ts +74 -0
- package/dist/{Button-ClRxb8tM.d.ts → Button-DIn-0P-0.d.ts} +4 -5
- package/dist/{Card-BPkXIkBz.d.ts → Card-DkGZ3jKQ.d.ts} +7 -1
- package/dist/{CodeBlock-DYp5V_4O.d.ts → CodeBlock-BTkag9ms.d.ts} +1 -1
- package/dist/{CodeBlock-B4K656LO.js → CodeBlock-CNvOYR0Q.js} +1 -1
- package/dist/{EmployeeChrome-QSki0QT4.d.ts → EmployeeChrome-D3IgFX22.d.ts} +12 -34
- package/dist/{ExecutionBoard-DHfMvKlB.d.ts → ExecutionBoard-DvPGdn4F.d.ts} +2 -2
- package/dist/{ExecutionResult-Wd1sKAvD.js → ExecutionResult-DmC21cll.js} +4 -4
- package/dist/{FileTree-BpCJuvji.js → FileTree-H31EVRv_.js} +1 -1
- package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
- package/dist/{ManagerOffice-BaHSBcSF.js → ManagerOffice-B3X3iZV9.js} +27 -34
- package/dist/{McpConnectorForm-D4bY-lm_.d.ts → McpConnectorForm-BLsQt_er.d.ts} +1 -1
- package/dist/{McpPluginCatalog-2FZDLCeK.d.ts → McpPluginCatalog-SQNOytXQ.d.ts} +2 -2
- package/dist/{Message-CwCqa90H.d.ts → Message-BUedRDN1.d.ts} +2 -2
- package/dist/{MessageScrollerVirtual-DVQeEkNy.d.ts → MessageScrollerVirtual-DxL6XKq9.d.ts} +1 -1
- package/dist/{PromptInput-C3adKglc.d.ts → PromptInput-Dbe6WgWA.d.ts} +1 -1
- package/dist/{ResponsiveSidebarShell-DzBGlRJF.d.ts → ResponsiveSidebarShell-DSAMNDdg.d.ts} +1 -1
- package/dist/{SetupChecklist-BNK2XFaI.js → SetupChecklist-Wo4akaSG.js} +2 -2
- package/dist/{ThinkChatActivity-C4_hPEmb.d.ts → ThinkChatActivity-zZaSsbC-.d.ts} +7 -3
- package/dist/{ThinkChatActivitySummary-ChJ8Iu2T.d.ts → ThinkChatActivitySummary-8MO1VjAJ.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-CPeYVneQ.d.ts → ThinkExecutionRun-DJ2TFDmZ.d.ts} +1 -1
- package/dist/ThinkSchedule-5S834QKW.d.ts +34 -0
- package/dist/{Workspace-iCkXvQRJ.d.ts → Workspace-42LA9Zrb.d.ts} +1 -1
- package/dist/WorkspaceAutomation-B2Pdz_SU.d.ts +215 -0
- package/dist/{WorkspaceConcept-ByaG-kBq.d.ts → WorkspaceConcept-BjrgGE1w.d.ts} +2 -3
- package/dist/{WorkspaceFile-DkIZKoK6.d.ts → WorkspaceFile-nK2n0i4S.d.ts} +1 -1
- package/dist/{WorkspaceFileView-5SHsjamf.js → WorkspaceFileView-BWI_AJlV.js} +8 -8
- package/dist/{WorkspaceLink-Buo6gKj2.d.ts → WorkspaceLink-C8HH2fMT.d.ts} +1 -0
- package/dist/{WorkspaceMessageResponse-DnsdpaGU.js → WorkspaceMessageResponse-BZ-_I18b.js} +3 -7
- package/dist/agent-tool-runs-DsOp_X2y.js +133 -0
- package/dist/assets/chrome.svg +1 -0
- package/dist/assets/plugins/plugin-github.svg +8 -0
- package/dist/assets/plugins/plugin-gmail.svg +1 -0
- package/dist/assets/plugins/plugin-google-drive.svg +1 -0
- package/dist/assets/plugins/plugin-google.svg +1 -0
- package/dist/assets/plugins/plugin-linear.svg +1 -0
- package/dist/assets/plugins/plugin-notion.svg +25 -0
- package/dist/assets/plugins/plugin-salesforce.svg +31 -0
- package/dist/assets/plugins/plugin-slack.svg +6 -0
- package/dist/chatgpt-sign-in-button-DNchrZHs.js +32 -0
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +5 -4
- package/dist/components/agents-sdk/AgentChat.d.ts +4 -4
- package/dist/components/agents-sdk/AgentChat.js +7 -7
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +4 -4
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
- package/dist/components/agents-sdk/AgentToolRunsContext.js +78 -8
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +4 -3
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
- package/dist/components/agents-sdk/EmployeeChat.js +14 -10
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +45 -33
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +10 -10
- package/dist/components/agents-sdk/EmployeeSchedules.js +39 -39
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +7 -33
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- package/dist/components/agents-sdk/ManagerOffice.d.ts +10 -14
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +3 -3
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
- package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +7 -6
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +4 -2
- package/dist/components/agents-sdk/SubagentRunIndicator.js +4 -3
- package/dist/components/agents-sdk/SubagentRunLanes.d.ts +38 -0
- package/dist/components/agents-sdk/SubagentRunLanes.js +160 -0
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -28
- package/dist/components/agents-sdk/SubagentRunPanel.js +145 -190
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
- package/dist/components/agents-sdk/ThinkChat.js +5 -8
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +13 -28
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +4 -4
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
- package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
- package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
- package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +47 -45
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
- package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
- package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
- package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
- package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +2 -2
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
- package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +3 -3
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +12 -4
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +6 -6
- package/dist/components/ai-sdk/Queue.d.ts +1 -1
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
- package/dist/components/extension/ChatGptSignInScreen.js +32 -32
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/extension/FirstRunSetup.d.ts +117 -0
- package/dist/components/extension/FirstRunSetup.js +1175 -0
- package/dist/components/foundations/AlertDialog.d.ts +1 -1
- package/dist/components/foundations/AppIcon.d.ts +5 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Button.js +1 -1
- package/dist/components/foundations/Card.d.ts +1 -1
- package/dist/components/foundations/Card.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/DescriptionList.d.ts +3 -1
- package/dist/components/foundations/DescriptionList.js +2 -1
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/LinkButton.d.ts +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/Popover.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +2 -4
- package/dist/components/foundations/Toggle.js +3 -7
- package/dist/components/foundations/ToggleGroup.d.ts +2 -4
- package/dist/components/foundations/ToggleGroup.js +4 -16
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +3 -3
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.d.ts +2 -2
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +3 -3
- package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
- package/dist/components/nanites/AgentToolDetail.js +3 -3
- package/dist/connected-app-drafts-B9i69bkj.js +283 -0
- package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
- package/dist/{copy-button-BsmxSSeD.js → copy-button-z20VEXRF.js} +1 -1
- package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
- package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
- package/dist/{icons-Cn3vWZRs.js → icons-Yp99gmMC.js} +9 -3
- package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
- package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
- package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
- package/dist/styles/accessibility.css +22 -9
- package/dist/styles/accordion.css +2 -2
- package/dist/styles/activity-header.css +14 -11
- package/dist/styles/activity.css +6 -13
- package/dist/styles/agent-attention.css +0 -23
- package/dist/styles/agent-chat.css +8 -3
- package/dist/styles/agent-connection.css +2 -2
- package/dist/styles/app-icon.css +7 -0
- package/dist/styles/app-top-bar.css +3 -11
- package/dist/styles/approval.css +2 -2
- package/dist/styles/base.css +3 -1
- package/dist/styles/browser-live-screen.css +3 -1
- package/dist/styles/browser-run-panel.css +2 -2
- package/dist/styles/button.css +13 -44
- package/dist/styles/card.css +42 -5
- package/dist/styles/chain-of-thought.css +2 -8
- package/dist/styles/chatgpt-sign-in-screen.css +91 -83
- package/dist/styles/checkbox-group.css +2 -1
- package/dist/styles/checkbox.css +4 -6
- package/dist/styles/code-block.css +2 -1
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-contrast.test.ts +1 -0
- package/dist/styles/combobox.css +5 -9
- package/dist/styles/commit.css +2 -7
- package/dist/styles/composer-link.css +0 -10
- package/dist/styles/connected-app-card.css +32 -32
- package/dist/styles/context-menu.css +2 -2
- package/dist/styles/description-list.css +14 -0
- package/dist/styles/execution-board.css +1 -1
- package/dist/styles/execution-result.css +161 -0
- package/dist/styles/file-tree.css +5 -9
- package/dist/styles/first-run-setup.css +751 -0
- package/dist/styles/index.css +5 -2
- package/dist/styles/inline-citation.css +2 -10
- package/dist/styles/manager-office.css +16 -43
- package/dist/styles/marker.css +2 -2
- package/dist/styles/media-preview-card.css +2 -7
- package/dist/styles/message-scroller.css +3 -2
- package/dist/styles/model-selector.css +19 -15
- package/dist/styles/navigation-menu.css +4 -4
- package/dist/styles/number-field.css +2 -3
- package/dist/styles/preview-card.css +2 -2
- package/dist/styles/prompt-input.css +5 -15
- package/dist/styles/queue.css +2 -7
- package/dist/styles/radio.css +4 -6
- package/dist/styles/recipes.css +25 -52
- package/dist/styles/resizable-side-panel.css +3 -2
- package/dist/styles/responsive-sidebar-shell.css +1 -6
- package/dist/styles/scroll-area.css +3 -2
- package/dist/styles/scrollbars.css +2 -0
- package/dist/styles/search-field.css +1 -2
- package/dist/styles/slider.css +4 -5
- package/dist/styles/sources.css +2 -7
- package/dist/styles/stepper.css +4 -4
- package/dist/styles/streamdown.css +8 -1
- package/dist/styles/subagent-run.css +123 -12
- package/dist/styles/switch.css +4 -7
- package/dist/styles/tabs.css +5 -4
- package/dist/styles/task.css +2 -7
- package/dist/styles/test-results.css +2 -7
- package/dist/styles/theme-mode-control.css +0 -6
- package/dist/styles/think-chat-activity.css +0 -8
- package/dist/styles/think-execution-status.css +1 -1
- package/dist/styles/think-execution-workbench.css +3 -3
- package/dist/styles/think-full-app.css +3 -2
- package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
- package/dist/styles/toggle-group.css +9 -6
- package/dist/styles/toggle.css +23 -15
- package/dist/styles/toolbar.css +0 -6
- package/dist/styles/workspace-automation.css +233 -0
- package/dist/styles/workspace-concepts.css +18 -412
- package/dist/styles/workspace-entity-card.css +146 -0
- package/dist/styles/workspace-explorer.css +4 -3
- package/dist/utils/mcp-server-catalog.d.ts +2 -2
- package/dist/utils/mcp-server-catalog.js +108 -21
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/{workspace-assets-RD6IhOyh.js → workspace-assets-Dq5toMQc.js} +34 -38
- package/dist/workspace-concept-panel-CxZfmFkP.js +66 -0
- package/dist/workspace-concept-panel-CxuqDi4m.d.ts +21 -0
- package/dist/{workspace-delete-CrNGUuBp.js → workspace-delete-CoB0l6ZU.js} +2 -1
- package/dist/workspace-entity-card-2TC3RPKh.d.ts +7 -0
- package/dist/workspace-entity-card-B1aV-jBj.js +61 -0
- package/dist/workspace-person-BSgvRjZE.d.ts +24 -0
- package/dist/workspace-person-BVkYb3dv.js +116 -0
- package/package.json +2 -2
- package/dist/AgentToolRunsContext-DniwGn96.d.ts +0 -18
- package/dist/Correspondent-ANkZHGEa.d.ts +0 -60
- package/dist/ThinkRoutine-DoZjbzyn.d.ts +0 -41
- package/dist/WorkspaceConceptPanel-D21iRsWm.js +0 -23
- package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +0 -239
- package/dist/WorkspaceMessageResponse-D8FGgIQU.d.ts +0 -39
- package/dist/components/agents-sdk/SubagentRunList.d.ts +0 -17
- package/dist/components/agents-sdk/SubagentRunList.js +0 -26
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +0 -2
- package/dist/components/agents-sdk/ThinkRoutine.js +0 -9
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +0 -42
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +0 -25
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +0 -19
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +0 -97
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +0 -59
- package/dist/components/agents-sdk/ThinkRoutineForm.js +0 -744
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +0 -15
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +0 -52
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceExecution.js +0 -843
- package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +0 -36
- package/dist/components/agents-sdk/WorkspaceUserScript.js +0 -153
- package/dist/components/ai-sdk/Correspondent.d.ts +0 -2
- package/dist/components/ai-sdk/Correspondent.js +0 -145
- package/dist/styles/correspondent.css +0 -73
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as PromptInputCommandDefinition, J as PromptInputMessage, r as PromptInput, vt as PromptInputTray } from "../../PromptInput-
|
|
2
|
-
import { r as AgentChatQueuedPrompt } from "../../AgentChatQueue-
|
|
1
|
+
import { D as PromptInputCommandDefinition, J as PromptInputMessage, r as PromptInput, vt as PromptInputTray } from "../../PromptInput-Dbe6WgWA.js";
|
|
2
|
+
import { r as AgentChatQueuedPrompt } from "../../AgentChatQueue-DG2rGyCI.js";
|
|
3
3
|
import { i as AgentMessageRenderPartContext } from "../../AgentMessageParts-BtWwiE4f.js";
|
|
4
|
-
import { i as MessageActions } from "../../Message-
|
|
5
|
-
import { t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-
|
|
4
|
+
import { i as MessageActions } from "../../Message-BUedRDN1.js";
|
|
5
|
+
import { t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-DxL6XKq9.js";
|
|
6
6
|
import { a as getPendingToolApprovals } from "../../PromptInputApproval-C6KvCOMZ.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { useRender } from "@base-ui/react/use-render";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { $ as TrashIcon, H as RefreshIcon, K as SpinnerIcon, R as PencilIcon, t as ArchiveIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { ExpansionStateProvider } from "../ai-sdk/ExpansionState.js";
|
|
3
|
+
import { V as PencilIcon, Z as SpinnerIcon, it as TrashIcon, q as RefreshIcon, t as ArchiveIcon } from "../../icons-Yp99gmMC.js";
|
|
4
|
+
import { AgentChatMessageEditor } from "../ai-sdk/AgentChatMessageEditor.js";
|
|
5
|
+
import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
|
|
4
6
|
import { Message, MessageAction, MessageActions, MessageCopyAction, MessageMeta, MessageTimestamp } from "../ai-sdk/Message.js";
|
|
5
|
-
import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
|
|
6
|
-
import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
7
7
|
import { AgentMessageParts } from "../ai-sdk/AgentMessageParts.js";
|
|
8
|
-
import {
|
|
8
|
+
import { Marker, MarkerContent } from "../foundations/Marker.js";
|
|
9
9
|
import { VirtualMessageScroller } from "../ai-sdk/MessageScrollerVirtual.js";
|
|
10
|
-
import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
|
|
11
10
|
import { Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemContent, QueueItemIndicator, QueueList } from "../ai-sdk/Queue.js";
|
|
11
|
+
import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
|
|
12
|
+
import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
12
13
|
import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
|
|
13
14
|
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
14
|
-
import { Marker, MarkerContent } from "../foundations/Marker.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useRender } from "@base-ui/react/use-render";
|
|
18
18
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
19
|
-
import { isCompactionMessage } from "agents/sessions";
|
|
20
19
|
import { isTextUIPart } from "ai";
|
|
20
|
+
import { isCompactionMessage } from "agents/sessions";
|
|
21
21
|
//#region src/components/agents-sdk/AgentChat.tsx
|
|
22
22
|
function observeAgentChatDock(element) {
|
|
23
23
|
if (!element || typeof ResizeObserver === "undefined") return;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as useOptionalAgentChatQueue, n as AgentChatQueueProviderProps, r as AgentChatQueuedPrompt, t as AgentChatQueueProvider } from "../../AgentChatQueue-
|
|
1
|
+
import { i as useOptionalAgentChatQueue, n as AgentChatQueueProviderProps, r as AgentChatQueuedPrompt, t as AgentChatQueueProvider } from "../../AgentChatQueue-DG2rGyCI.js";
|
|
2
2
|
export { AgentChatQueueProvider, AgentChatQueueProviderProps, AgentChatQueuedPrompt, useOptionalAgentChatQueue };
|
|
@@ -2,10 +2,10 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "../ai-sdk/Activity.js";
|
|
3
3
|
import { r as firstLine } from "../../format-CWaZEp5o.js";
|
|
4
4
|
import { MessageResponse } from "../ai-sdk/Message.js";
|
|
5
|
-
import {
|
|
5
|
+
import { u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
6
6
|
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
7
|
import { NaniteMark } from "../nanites/NaniteScene.js";
|
|
8
|
-
import "react";
|
|
8
|
+
import * as React from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { isTextUIPart } from "ai";
|
|
11
11
|
//#region src/components/agents-sdk/AgentEvent.tsx
|
|
@@ -73,8 +73,8 @@ function agentEventPreview(text) {
|
|
|
73
73
|
* `AgentToolRunsProvider`.
|
|
74
74
|
*/
|
|
75
75
|
function AgentEventRow({ className, event, message, ref, ...props }) {
|
|
76
|
-
const
|
|
77
|
-
const run =
|
|
76
|
+
const { runId } = event;
|
|
77
|
+
const run = useRunsSelector(React.useCallback((state) => runId ? state.agentTools.runsById[runId] : void 0, [runId]), void 0);
|
|
78
78
|
const name = run ? getSubagentRunName(run) : "Background task";
|
|
79
79
|
const text = message.parts.filter(isTextUIPart).map((part) => part.text).join("\n").trim();
|
|
80
80
|
return /* @__PURE__ */ jsxs(Activity, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { AgentToolEventsValue, AgentToolRunValue, AgentToolRunsProvider, AgentToolRunsProviderProps,
|
|
1
|
+
import { a as AgentToolRunsProviderProps, c as useStopCurrentWork, i as AgentToolRunsProvider, n as AgentToolEventsValue, o as useAgentRun, r as AgentToolRunValue, s as useAgentToolCollection, t as AgentRun } from "../../AgentToolRunsContext-Br3jZ6Up.js";
|
|
2
|
+
export { AgentRun, AgentToolEventsValue, AgentToolRunValue, AgentToolRunsProvider, AgentToolRunsProviderProps, useAgentRun, useAgentToolCollection, useStopCurrentWork };
|
|
@@ -1,16 +1,86 @@
|
|
|
1
|
+
import { a as runStopOffered, d as useRunsStore, i as createRunsStore, o as selectRunStop, r as RunsStoreContext, s as shallowEqual, u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
//#region src/components/agents-sdk/AgentToolRunsContext.tsx
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
/**
|
|
6
|
+
* One parent connection's delegated runs: the retained Agent Tool projection,
|
|
7
|
+
* the thread's Stop commands with their pending and failed states, and focus
|
|
8
|
+
* return from an open run. Mount it with the parent connection, above
|
|
9
|
+
* transcript windows and the open run's loading and error boundaries.
|
|
10
|
+
*
|
|
11
|
+
* Every reader takes its own slice, so a chunk for one run re-renders only
|
|
12
|
+
* what shows that run: its lane, its roster row, its run surface.
|
|
13
|
+
*/
|
|
14
|
+
function AgentToolRunsProvider({ scopeKey, agentTools, selectedRunId, onStopCurrentWork, onStopRun, children }) {
|
|
15
|
+
const host = {
|
|
16
|
+
agentTools,
|
|
17
|
+
selectedRunId,
|
|
18
|
+
onStopCurrentWork,
|
|
19
|
+
onStopRun
|
|
20
|
+
};
|
|
21
|
+
const [store, setStore] = React.useState(() => createRunsStore(scopeKey, host));
|
|
22
|
+
if (store.scopeKey !== scopeKey) setStore(createRunsStore(scopeKey, host));
|
|
23
|
+
React.useLayoutEffect(() => store.sync(host));
|
|
24
|
+
React.useLayoutEffect(() => {
|
|
25
|
+
if (!selectedRunId) return;
|
|
26
|
+
const claim = store.returnFocus.current;
|
|
27
|
+
if (claim?.to !== "lane" || claim.runId !== selectedRunId) store.returnFocus.current = { to: "pill" };
|
|
28
|
+
}, [store, selectedRunId]);
|
|
29
|
+
return /* @__PURE__ */ jsx(RunsStoreContext.Provider, {
|
|
30
|
+
value: store,
|
|
9
31
|
children
|
|
10
32
|
});
|
|
11
33
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
34
|
+
function useRequiredRunsStore(hook) {
|
|
35
|
+
const store = useRunsStore();
|
|
36
|
+
if (!store) throw new Error(`${hook} must be used inside AgentToolRunsProvider.`);
|
|
37
|
+
return store;
|
|
38
|
+
}
|
|
39
|
+
function useAgentRun(runId) {
|
|
40
|
+
const store = useRequiredRunsStore("useAgentRun");
|
|
41
|
+
const select = React.useCallback((state) => runId === void 0 ? void 0 : {
|
|
42
|
+
run: state.agentTools.runsById[runId],
|
|
43
|
+
status: state.agentTools.collection.status,
|
|
44
|
+
error: state.agentTools.collection.error,
|
|
45
|
+
stop: selectRunStop(state, runId)
|
|
46
|
+
}, [runId]);
|
|
47
|
+
const slice = useRunsSelector(select, void 0, shallowEqual);
|
|
48
|
+
return React.useMemo(() => {
|
|
49
|
+
if (!slice) return void 0;
|
|
50
|
+
const { run, status, error, stop } = slice;
|
|
51
|
+
if (run) return {
|
|
52
|
+
state: "ready",
|
|
53
|
+
run,
|
|
54
|
+
onCancel: runStopOffered(run, stop) ? () => void store.stopRun(run.runId).catch(() => void 0) : void 0,
|
|
55
|
+
cancelPending: stop?.pending,
|
|
56
|
+
cancelError: stop?.error
|
|
57
|
+
};
|
|
58
|
+
if (status === "error") return {
|
|
59
|
+
state: "error",
|
|
60
|
+
error: error ?? "Could not load this run."
|
|
61
|
+
};
|
|
62
|
+
return { state: status === "ready" ? "unavailable" : "loading" };
|
|
63
|
+
}, [slice, store]);
|
|
64
|
+
}
|
|
65
|
+
const selectCollection = (state) => state.agentTools.collection;
|
|
66
|
+
const NO_COLLECTION = {
|
|
67
|
+
status: "loading",
|
|
68
|
+
stale: false
|
|
69
|
+
};
|
|
70
|
+
/** The parent roster's own state — loading, ready, or failed, and whether its rows are stale. */
|
|
71
|
+
function useAgentToolCollection() {
|
|
72
|
+
useRequiredRunsStore("useAgentToolCollection");
|
|
73
|
+
return useRunsSelector(selectCollection, NO_COLLECTION, shallowEqual);
|
|
74
|
+
}
|
|
75
|
+
const selectCanStopCurrentWork = (state) => state.onStopCurrentWork !== void 0;
|
|
76
|
+
/**
|
|
77
|
+
* The thread's Stop for the parent turn and every run it dispatched — the
|
|
78
|
+
* composer's Stop and the roster's "Stop current work" are one command, with
|
|
79
|
+
* one pending and failed state. Undefined when the host supplies none.
|
|
80
|
+
*/
|
|
81
|
+
function useStopCurrentWork() {
|
|
82
|
+
const store = useRequiredRunsStore("useStopCurrentWork");
|
|
83
|
+
return useRunsSelector(selectCanStopCurrentWork, false) ? store.stopCurrentWork : void 0;
|
|
14
84
|
}
|
|
15
85
|
//#endregion
|
|
16
|
-
export { AgentToolRunsProvider,
|
|
86
|
+
export { AgentToolRunsProvider, useAgentRun, useAgentToolCollection, useStopCurrentWork };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as KeyboardIcon, q as RefreshIcon, r as ArrowLeftIcon } from "../../icons-Yp99gmMC.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { WebPreviewNavigationButton } from "../general-purpose/WebPreview.js";
|
|
4
4
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { M as MaximizeIcon, Z as SpinnerIcon, _ as DotIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Dialog } from "../foundations/Dialog.js";
|
|
5
5
|
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { B as PauseIcon, U as PlayIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { i as formatClock } from "../../format-CWaZEp5o.js";
|
|
5
5
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Z as SpinnerIcon, lt as XIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Tabs } from "../foundations/Tabs.js";
|
|
4
4
|
import { WebPreview, WebPreviewEmpty, WebPreviewNavigation, WebPreviewNavigationButton, WebPreviewUrl, WebPreviewViewport } from "../general-purpose/WebPreview.js";
|
|
5
5
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-
|
|
2
|
-
import {
|
|
1
|
+
import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-C8HH2fMT.js";
|
|
2
|
+
import { t as AgentRun } from "../../AgentToolRunsContext-Br3jZ6Up.js";
|
|
3
|
+
import { c as EmployeeModelSetup, d as EmployeeShellProps, f as EmployeeStatus, t as EmployeeBrand } from "../../EmployeeChrome-D3IgFX22.js";
|
|
3
4
|
import * as React from "react";
|
|
4
5
|
//#region src/components/agents-sdk/EmployeeApp.d.ts
|
|
5
6
|
export interface EmployeeAppRootProps extends EmployeeShellProps {
|
|
@@ -28,7 +29,7 @@ export interface EmployeeAppContentProps {
|
|
|
28
29
|
declare function EmployeeAppContent({ view, workbench, live, children }: EmployeeAppContentProps): React.JSX.Element;
|
|
29
30
|
/** Local run failure presentation; keep the parent connection and queue above this part. */
|
|
30
31
|
declare function EmployeeAppConversation({ run, children }: {
|
|
31
|
-
run:
|
|
32
|
+
run: AgentRun | null;
|
|
32
33
|
children: React.ReactNode;
|
|
33
34
|
}): React.JSX.Element;
|
|
34
35
|
/** Compose one persistent frame around independently hydrating conversation content. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { st as WarningIcon } from "../../icons-Yp99gmMC.js";
|
|
2
2
|
import { WorkbenchBack } from "./WorkbenchBack.js";
|
|
3
3
|
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
4
4
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as PromptInputCommandComposerProps, M as PromptInputContextSelectorProps } from "../../PromptInput-
|
|
1
|
+
import { E as PromptInputCommandComposerProps, M as PromptInputContextSelectorProps } from "../../PromptInput-Dbe6WgWA.js";
|
|
2
2
|
import { AgentChatTranscriptProps } from "./AgentChat.js";
|
|
3
3
|
import { ConversationTabPickerProps } from "../extension/ConversationTabPicker.js";
|
|
4
4
|
import { SetupChecklistGroupProps } from "../general-purpose/SetupChecklist.js";
|
|
@@ -7,6 +7,7 @@ import { EmployeeStartScreenProps } from "./EmployeeStartScreen.js";
|
|
|
7
7
|
import { ContextProps } from "../ai-sdk/Context.js";
|
|
8
8
|
import { CodexModelSelectorProps } from "../extension/CodexModelSelector.js";
|
|
9
9
|
import { ThinkChatMessageContentProps } from "./ThinkChat.js";
|
|
10
|
+
import { WorkspaceFileRenderer } from "./WorkspaceMessageResponse.js";
|
|
10
11
|
import * as React from "react";
|
|
11
12
|
//#region src/components/agents-sdk/EmployeeChat.d.ts
|
|
12
13
|
export interface EmployeeComposerProps<Id extends string = string> {
|
|
@@ -35,9 +36,15 @@ export declare const EmployeeComposer: typeof EmployeeComposerContent;
|
|
|
35
36
|
export interface EmployeeTranscriptProps extends Omit<ThinkChatMessageContentProps, "message"> {
|
|
36
37
|
readOnly?: boolean;
|
|
37
38
|
scrollAnchor?: AgentChatTranscriptProps["scrollAnchor"];
|
|
39
|
+
/**
|
|
40
|
+
* Promotes a workspace file paragraph to its concept card. It reaches the
|
|
41
|
+
* paragraphs through context, so a new function re-renders those paragraphs
|
|
42
|
+
* and never the memoized rows around them.
|
|
43
|
+
*/
|
|
44
|
+
renderWorkspaceFile?: WorkspaceFileRenderer;
|
|
38
45
|
}
|
|
39
46
|
/** Shared message content and actions, including the same read-only run behavior. */
|
|
40
|
-
export declare function EmployeeTranscript({ scrollAnchor, ...content }: EmployeeTranscriptProps): React.JSX.Element;
|
|
47
|
+
export declare function EmployeeTranscript({ scrollAnchor, renderWorkspaceFile, ...content }: EmployeeTranscriptProps): React.JSX.Element;
|
|
41
48
|
/** Common dock ordering. Hosts supply the runtime-backed notices and composer. */
|
|
42
49
|
export declare function EmployeeChatDock({ recovery, notices, readOnly, children }: {
|
|
43
50
|
recovery?: React.ReactNode;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger, PromptInputAttachments, PromptInputBody, PromptInputCommandComposer, PromptInputContextSelector, PromptInputFooter, PromptInputFooterEnd, PromptInputTools } from "../ai-sdk/PromptInput.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Context, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
|
|
3
|
+
import { CodexModelSelector } from "../extension/CodexModelSelector.js";
|
|
3
4
|
import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
|
|
4
|
-
import {
|
|
5
|
+
import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
|
|
6
|
+
import { n as SetupChecklistGroup } from "../../SetupChecklist-Wo4akaSG.js";
|
|
5
7
|
import { McpServerPickerItems } from "./McpServerPicker.js";
|
|
6
8
|
import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
|
|
7
|
-
import {
|
|
8
|
-
import { CodexModelSelector } from "../extension/CodexModelSelector.js";
|
|
9
|
+
import { t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-BZ-_I18b.js";
|
|
9
10
|
import { ThinkChat } from "./ThinkChat.js";
|
|
10
11
|
import * as React from "react";
|
|
11
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -89,12 +90,15 @@ const EmployeeMessage = React.memo(function EmployeeMessage({ message, messageIn
|
|
|
89
90
|
});
|
|
90
91
|
});
|
|
91
92
|
/** Shared message content and actions, including the same read-only run behavior. */
|
|
92
|
-
function EmployeeTranscript({ scrollAnchor, ...content }) {
|
|
93
|
-
return /* @__PURE__ */ jsx(
|
|
94
|
-
|
|
95
|
-
children:
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
function EmployeeTranscript({ scrollAnchor, renderWorkspaceFile, ...content }) {
|
|
94
|
+
return /* @__PURE__ */ jsx(WorkspaceFileRendererProvider, {
|
|
95
|
+
renderWorkspaceFile,
|
|
96
|
+
children: /* @__PURE__ */ jsx(AgentChat.Transcript, {
|
|
97
|
+
scrollAnchor,
|
|
98
|
+
children: (row) => /* @__PURE__ */ jsx(EmployeeMessage, {
|
|
99
|
+
...row,
|
|
100
|
+
...content
|
|
101
|
+
})
|
|
98
102
|
})
|
|
99
103
|
});
|
|
100
104
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export {
|
|
1
|
+
import { a as EmployeeFollow, c as EmployeeModelSetup, d as EmployeeShellProps, f as EmployeeStatus, i as EmployeeDestination, l as EmployeePasskeyVault, m as EmployeeWorkbenchItem, n as EmployeeChrome, o as EmployeeIdentity, p as EmployeeView, r as EmployeeCompanion, s as EmployeeMenuProps, t as EmployeeBrand, u as EmployeeRenderLink } from "../../EmployeeChrome-D3IgFX22.js";
|
|
2
|
+
export { EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeMenuProps, EmployeeModelSetup, EmployeePasskeyVault, EmployeeRenderLink, EmployeeShellProps, EmployeeStatus, EmployeeView, EmployeeWorkbenchItem };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { findCatalogMcpServerCard } from "../../utils/mcp-server-catalog.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as SquareIcon, C as FileIcon, E as InfoIcon, K as QueueIcon, L as MonitorIcon, N as McpIcon, P as MessageSquareIcon, R as MoonIcon, V as PencilIcon, Z as SpinnerIcon, c as BoxIcon, o as ArrowUpRightIcon, r as ArrowLeftIcon, rt as TerminalIcon, st as WarningIcon, tt as SunIcon, u as CalendarIcon, w as FolderIcon, x as EyeIcon, y as EllipsisIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { Menu } from "../foundations/Menu.js";
|
|
4
5
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
5
6
|
import { Dialog } from "../foundations/Dialog.js";
|
|
6
7
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
8
|
+
import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
|
|
9
|
+
import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
|
|
10
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
11
|
+
import { Avatar } from "../foundations/Avatar.js";
|
|
12
|
+
import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
|
|
13
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
14
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
15
|
+
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
7
16
|
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
8
|
-
import { Menu } from "../foundations/Menu.js";
|
|
9
17
|
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
10
18
|
import { AgentChat } from "./AgentChat.js";
|
|
11
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
12
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
13
|
-
import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
|
|
14
|
-
import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
|
|
15
|
-
import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
|
|
16
|
-
import { Avatar } from "../foundations/Avatar.js";
|
|
17
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
18
19
|
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
19
20
|
import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
|
|
20
|
-
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
21
21
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
22
22
|
import { ThinkThreadPicker, ThinkThreadStatusIndicators, summarizeThinkThreads } from "./ThinkThreadPicker.js";
|
|
23
23
|
import * as React from "react";
|
|
@@ -118,7 +118,7 @@ function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut,
|
|
|
118
118
|
})
|
|
119
119
|
}, item.id)),
|
|
120
120
|
/* @__PURE__ */ jsx(MenuHint, {
|
|
121
|
-
hint: "
|
|
121
|
+
hint: "Run a prompt or an automation at set times, and review the runs.",
|
|
122
122
|
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
123
123
|
"aria-current": view === "schedules" ? "page" : void 0,
|
|
124
124
|
onClick: closeSidebarOnCompact,
|
|
@@ -324,7 +324,10 @@ function employeeShellTitle({ agentRun, threadTitle, view, destinationTitle }) {
|
|
|
324
324
|
if (view === "live") return "Live view";
|
|
325
325
|
return destinationTitle ?? "Workspace";
|
|
326
326
|
}
|
|
327
|
-
const content = agentRun.state === "ready" ? /* @__PURE__ */ jsx(SubagentRunLabel, {
|
|
327
|
+
const content = agentRun.state === "ready" ? /* @__PURE__ */ jsx(SubagentRunLabel, {
|
|
328
|
+
run: agentRun.run,
|
|
329
|
+
error: agentRun.cancelError
|
|
330
|
+
}) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
328
331
|
className: "sigvelo-truncate",
|
|
329
332
|
children: "Delegated run"
|
|
330
333
|
})] });
|
|
@@ -479,6 +482,7 @@ function EmployeeGate({ status, connectingLabel, identity, brand, modelSetup })
|
|
|
479
482
|
error: modelSetup?.error,
|
|
480
483
|
label: modelSetup?.label,
|
|
481
484
|
title: "Meet " + brand.name,
|
|
485
|
+
description: "Your new AI teammate.",
|
|
482
486
|
brandName: "SigVelo",
|
|
483
487
|
onSignIn: modelSetup?.onSignIn,
|
|
484
488
|
secondaryAction: modelSetup?.onCustomEndpoint ? {
|
|
@@ -556,15 +560,23 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
|
|
|
556
560
|
children: [
|
|
557
561
|
/* @__PURE__ */ jsx(ActionGuideSection, {
|
|
558
562
|
title: "Start with a quick browser job",
|
|
559
|
-
children: /* @__PURE__ */ jsxs(ActionGuideList, { children: [
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
563
|
+
children: /* @__PURE__ */ jsxs(ActionGuideList, { children: [
|
|
564
|
+
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
565
|
+
icon: /* @__PURE__ */ jsx(BoxIcon, {}),
|
|
566
|
+
onClick: () => send("Organize this window’s tabs by task."),
|
|
567
|
+
children: "Organize this window’s tabs by task"
|
|
568
|
+
}),
|
|
569
|
+
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
570
|
+
icon: /* @__PURE__ */ jsx(EyeIcon, {}),
|
|
571
|
+
onClick: () => send("Close duplicate tabs in this window."),
|
|
572
|
+
children: "Close duplicate tabs in this window"
|
|
573
|
+
}),
|
|
574
|
+
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
575
|
+
icon: /* @__PURE__ */ jsx(MonitorIcon, {}),
|
|
576
|
+
onClick: () => send("Record a browser walkthrough as an MP4."),
|
|
577
|
+
children: "Record a browser walkthrough as an MP4"
|
|
578
|
+
})
|
|
579
|
+
] })
|
|
568
580
|
}),
|
|
569
581
|
/* @__PURE__ */ jsx(ActionGuideSection, {
|
|
570
582
|
title: "Set up ongoing work",
|
|
@@ -572,9 +584,9 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
|
|
|
572
584
|
layout: "cards",
|
|
573
585
|
children: [
|
|
574
586
|
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
575
|
-
icon: /* @__PURE__ */ jsx(
|
|
576
|
-
onClick: () => send("Help me create a
|
|
577
|
-
children: "Create a
|
|
587
|
+
icon: /* @__PURE__ */ jsx(CalendarIcon, {}),
|
|
588
|
+
onClick: () => send("Help me create a schedule."),
|
|
589
|
+
children: "Create a schedule"
|
|
578
590
|
}),
|
|
579
591
|
setupActions,
|
|
580
592
|
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
@@ -586,27 +598,27 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
|
|
|
586
598
|
})
|
|
587
599
|
}),
|
|
588
600
|
/* @__PURE__ */ jsx(ActionGuideSection, {
|
|
589
|
-
title: "
|
|
601
|
+
title: "Make an automation",
|
|
590
602
|
children: /* @__PURE__ */ jsxs(ActionGuideList, {
|
|
591
603
|
layout: "list",
|
|
592
604
|
children: [
|
|
605
|
+
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
606
|
+
icon: /* @__PURE__ */ jsx(QueueIcon, {}),
|
|
607
|
+
variant: "ghost",
|
|
608
|
+
onClick: () => send("Help me make an automation."),
|
|
609
|
+
children: "Save a job to run anytime"
|
|
610
|
+
}),
|
|
593
611
|
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
594
612
|
icon: /* @__PURE__ */ jsx(TerminalIcon, {}),
|
|
595
613
|
variant: "ghost",
|
|
596
|
-
onClick: () => send("
|
|
614
|
+
onClick: () => send("Help me make an automation that works across my signed-in browser tabs."),
|
|
597
615
|
children: "Automate work across signed-in tabs"
|
|
598
616
|
}),
|
|
599
617
|
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
600
618
|
icon: /* @__PURE__ */ jsx(FolderIcon, {}),
|
|
601
619
|
variant: "ghost",
|
|
602
|
-
onClick: () => send("
|
|
620
|
+
onClick: () => send("Help me make an automation that moves files between a signed-in website and the workspace."),
|
|
603
621
|
children: "Move files between a website and the workspace"
|
|
604
|
-
}),
|
|
605
|
-
/* @__PURE__ */ jsx(ActionGuideAction, {
|
|
606
|
-
icon: /* @__PURE__ */ jsx(EyeIcon, {}),
|
|
607
|
-
variant: "ghost",
|
|
608
|
-
onClick: () => send("Record a browser workflow as an MP4."),
|
|
609
|
-
children: "Record a browser workflow as an MP4"
|
|
610
622
|
})
|
|
611
623
|
]
|
|
612
624
|
})
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
1
|
+
import { s as EmployeeMenuProps } from "../../EmployeeChrome-D3IgFX22.js";
|
|
2
|
+
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-B2Pdz_SU.js";
|
|
3
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-5S834QKW.js";
|
|
4
|
+
import { ThinkScheduleActionsRootProps } from "./ThinkScheduleActions.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
//#region src/components/agents-sdk/EmployeeSchedules.d.ts
|
|
7
|
-
export interface EmployeeSchedulesProps<
|
|
8
|
-
|
|
9
|
-
/** Saved
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
export interface EmployeeSchedulesProps<TSchedule extends ThinkSchedule = ThinkSchedule> extends EmployeeMenuProps, Pick<ThinkScheduleActionsRootProps<TSchedule>, "sourceKey" | "onRun" | "onEnabledChange" | "onDelete"> {
|
|
8
|
+
schedules: readonly TSchedule[];
|
|
9
|
+
/** Saved automation metadata for readable names and inputs in schedule details. */
|
|
10
|
+
automations?: readonly WorkspaceAutomation[];
|
|
11
|
+
selectedScheduleId: string | null;
|
|
12
12
|
error?: React.ReactNode;
|
|
13
13
|
}
|
|
14
14
|
/** Schedule navigation, selection, empty states and controls shared by every host. */
|
|
15
|
-
export declare function EmployeeSchedules<
|
|
15
|
+
export declare function EmployeeSchedules<TSchedule extends ThinkSchedule>({ schedules, automations, selectedScheduleId, error, sourceKey, onRun, onEnabledChange, onDelete, ...menu }: EmployeeSchedulesProps<TSchedule>): React.JSX.Element;
|
|
16
16
|
//#endregion
|