@mcp-b/react-components 0.63.0 → 0.64.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-DptCj8XQ.d.ts → AgentActivity-Cngwkalq.d.ts} +2 -9
- package/dist/{AgentChatQueue-DG2rGyCI.d.ts → AgentChatQueue-C1TDnVAn.d.ts} +1 -1
- package/dist/{AppTopBar-DwzydmXu.d.ts → AppTopBar-CM57rJID.d.ts} +7 -3
- package/dist/ChatGptSignInScreen-CmbBe09G.js +298 -0
- package/dist/{CodeBlock-BTkag9ms.d.ts → CodeBlock-BDupVceI.d.ts} +1 -1
- package/dist/CodeBlock-dt0L8md0.js +892 -0
- package/dist/{EmployeeChrome--PWdtg4B.d.ts → EmployeeChrome-kegSASjC.d.ts} +6 -5
- package/dist/{ExecutionBoard-DvPGdn4F.d.ts → ExecutionBoard-DBj1Aiva.d.ts} +8 -1
- package/dist/ExecutionResult-CXnGcmM4.js +671 -0
- package/dist/FileTree-CjfzpN6X.js +968 -0
- package/dist/{IconButton-FWsa9562.d.ts → IconButton-DXtGMkMI.d.ts} +7 -5
- package/dist/ManagerOffice-T79utm-P.js +2469 -0
- package/dist/{Menu-FA4P6KrA.d.ts → Menu-DajfQr3T.d.ts} +4 -2
- package/dist/{Message-BUedRDN1.d.ts → Message-BLyl6kWe.d.ts} +2 -2
- package/dist/{PromptInput-Dbe6WgWA.d.ts → PromptInput-DEwFMj6f.d.ts} +5 -8
- package/dist/{ResponsiveSidebarShell-DSAMNDdg.d.ts → ResponsiveSidebarShell-RwvmlMHS.d.ts} +23 -13
- package/dist/SetupChecklist-DwscX3Bw.js +230 -0
- package/dist/{Tabs-BYs-RgJ7.d.ts → Tabs-tyvVX3nc.d.ts} +29 -10
- package/dist/{ThinkChatActivity-zZaSsbC-.d.ts → ThinkChatActivity-C7xnO0Fx.d.ts} +1 -1
- package/dist/{ThinkChatActivitySummary-8MO1VjAJ.d.ts → ThinkChatActivitySummary-Dh4Av7x_.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-DJ2TFDmZ.d.ts → ThinkExecutionRun-QzZVWX75.d.ts} +11 -3
- package/dist/ThinkSchedule-D4Ulsa0-.d.ts +53 -0
- package/dist/{ThinkThreadPicker-BmIZmpae.d.ts → ThinkThreadPicker-O-i2KloZ.d.ts} +1 -1
- package/dist/{Workspace-42LA9Zrb.d.ts → Workspace-B9nuTfIi.d.ts} +1 -1
- package/dist/{WorkspaceAutomation-yDZorXla.d.ts → WorkspaceAutomation-C0fghGLi.d.ts} +3 -3
- package/dist/WorkspaceBrowser-oBJv-Dac.js +985 -0
- package/dist/{WorkspaceConcept-BjrgGE1w.d.ts → WorkspaceConcept-D46cYerS.d.ts} +1 -1
- package/dist/{WorkspaceFile-nK2n0i4S.d.ts → WorkspaceFile-BJC6vlp_.d.ts} +15 -4
- package/dist/WorkspaceFileCommands-SNIjRgtU.d.ts +145 -0
- package/dist/WorkspaceFileTransfer-BRD22nW-.d.ts +159 -0
- package/dist/WorkspaceLink-DDkj-Tq5.js +407 -0
- package/dist/{WorkspaceMessageResponse-BZ-_I18b.js → WorkspaceMessageResponse-CXGOQgpo.js} +111 -24
- package/dist/{agent-tool-runs-DsOp_X2y.js → agent-tool-runs-BXKdcxl8.js} +55 -28
- package/dist/app-bar-outlet-BEIGl9iF.js +35 -0
- package/{LICENSE → dist/assets/desktop/LICENSE.fluent.txt} +1 -1
- package/dist/assets/desktop/LICENSE.mac-icons.txt +7 -0
- package/dist/assets/desktop/README.md +43 -0
- package/dist/assets/desktop/automations.svg +19 -0
- package/dist/assets/desktop/document.svg +24 -0
- package/dist/assets/desktop/folder.png +0 -0
- package/dist/assets/desktop/mail.svg +31 -0
- package/dist/assets/desktop/settings.svg +9 -0
- package/dist/assets/desktop/trash-full.svg +23 -0
- package/dist/assets/desktop/trash.svg +19 -0
- package/dist/attachment-preview-DeRqFjdz.js +68 -0
- package/dist/attempt-CySQHJsF.js +21 -0
- package/dist/command-search-1fjmCBBo.js +34 -0
- package/dist/components/agents-sdk/AIProviderDialog.js +757 -224
- package/dist/components/agents-sdk/AgentActivity.d.ts +2 -2
- package/dist/components/agents-sdk/AgentActivity.js +78 -31
- package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
- package/dist/components/agents-sdk/AgentChat.js +1113 -386
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChatQueue.js +290 -173
- package/dist/components/agents-sdk/AgentComputer.d.ts +270 -0
- package/dist/components/agents-sdk/AgentComputer.js +8045 -0
- package/dist/components/agents-sdk/AgentEvent.js +164 -21
- package/dist/components/agents-sdk/AgentScreenSwitcher.d.ts +46 -0
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +409 -0
- package/dist/components/agents-sdk/AgentToolRunsContext.js +139 -41
- package/dist/components/agents-sdk/BrowserLiveScreen.js +860 -551
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +244 -88
- package/dist/components/agents-sdk/BrowserReplay.js +298 -133
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +57 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +979 -129
- package/dist/components/agents-sdk/DiscordConnectionDialog.js +104 -57
- package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +108 -46
- package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +500 -99
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +1375 -557
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeSchedules.js +281 -64
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.js +185 -52
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +1661 -462
- package/dist/components/agents-sdk/ManagerAccountActions.js +142 -35
- package/dist/components/agents-sdk/ManagerOffice.d.ts +15 -8
- 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 +551 -185
- package/dist/components/agents-sdk/McpConnectionRequest.js +332 -117
- package/dist/components/agents-sdk/McpConnectorForm.js +320 -100
- package/dist/components/agents-sdk/McpPluginCatalog.js +697 -249
- package/dist/components/agents-sdk/McpServerIcon.js +57 -14
- package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +542 -158
- package/dist/components/agents-sdk/ModelSelector.js +1151 -253
- package/dist/components/agents-sdk/PromptInputApproval.js +115 -27
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +33 -46
- package/dist/components/agents-sdk/SlackConnectionDialog.js +38 -14
- package/dist/components/agents-sdk/SubagentRunIndicator.js +118 -25
- package/dist/components/agents-sdk/SubagentRunLanes.js +291 -107
- package/dist/components/agents-sdk/SubagentRunPanel.js +357 -129
- package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
- package/dist/components/agents-sdk/ThinkChat.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkChat.js +321 -132
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +306 -100
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +15 -9
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +1386 -404
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +219 -45
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.js +19 -11
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +224 -37
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -5
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +505 -124
- package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
- package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +71 -26
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkSchedule.js +124 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +3 -3
- package/dist/components/agents-sdk/ThinkScheduleActions.js +363 -132
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +249 -116
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +311 -90
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +1318 -475
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +434 -214
- package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +30 -13
- package/dist/components/agents-sdk/WorkbenchBack.js +66 -20
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +491 -166
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +1492 -415
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1316 -525
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +72 -2
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -94
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +619 -178
- package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +45 -0
- package/dist/components/agents-sdk/WorkspaceDesktop.js +240 -0
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +52 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +267 -85
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceFile.js +30 -9
- package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileCommands.js +890 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.d.ts +29 -0
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +271 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceFileTransfer.js +505 -0
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +18 -3
- package/dist/components/agents-sdk/WorkspaceFileView.js +866 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +71 -26
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceLive.js +126 -73
- package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +63 -0
- package/dist/components/agents-sdk/WorkspaceLocalFolder.js +455 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +118 -58
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +90 -54
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspacePerson.js +172 -41
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.js +175 -41
- package/dist/components/ai-sdk/Activity.js +768 -192
- package/dist/components/ai-sdk/AgentAttention.js +286 -58
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +193 -68
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +368 -80
- package/dist/components/ai-sdk/AgentChatTurnError.js +75 -25
- package/dist/components/ai-sdk/AgentMessageParts.js +0 -1
- package/dist/components/ai-sdk/Approval.js +574 -172
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +535 -128
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +404 -80
- package/dist/components/ai-sdk/Checkpoint.js +229 -45
- 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 +216 -48
- package/dist/components/ai-sdk/ConnectedAppCards.js +229 -52
- package/dist/components/ai-sdk/Context.js +737 -178
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +305 -68
- package/dist/components/ai-sdk/ExpansionState.js +74 -15
- package/dist/components/ai-sdk/Goal.js +435 -116
- package/dist/components/ai-sdk/InlineCitation.js +313 -76
- package/dist/components/ai-sdk/MediaPreviewCard.js +451 -135
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +1010 -195
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +264 -46
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +6 -6
- package/dist/components/ai-sdk/Plan.js +639 -128
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +2735 -794
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +1 -3
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +188 -83
- package/dist/components/ai-sdk/Queue.js +792 -154
- package/dist/components/ai-sdk/Reasoning.js +268 -69
- package/dist/components/ai-sdk/Sources.js +226 -63
- package/dist/components/ai-sdk/Task.js +294 -71
- package/dist/components/ai-sdk/ToolApproval.js +126 -26
- package/dist/components/ai-sdk/ToolInvocation.js +112 -22
- package/dist/components/extension/ChatGptSignInScreen.js +1 -82
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.js +467 -146
- package/dist/components/extension/ConversationTabPicker.d.ts +1 -1
- package/dist/components/extension/ConversationTabPicker.js +254 -76
- package/dist/components/extension/FirstRunSetup.d.ts +61 -35
- package/dist/components/extension/FirstRunSetup.js +3834 -1012
- package/dist/components/foundations/Accordion.js +186 -41
- package/dist/components/foundations/AlertDialog.js +425 -97
- package/dist/components/foundations/AppIcon.d.ts +13 -13
- package/dist/components/foundations/AppIcon.js +183 -34
- package/dist/components/foundations/Autocomplete.js +408 -89
- package/dist/components/foundations/Avatar.d.ts +100 -2
- package/dist/components/foundations/Avatar.js +204 -44
- package/dist/components/foundations/Button.js +64 -13
- package/dist/components/foundations/Card.js +357 -63
- package/dist/components/foundations/Checkbox.js +82 -17
- package/dist/components/foundations/CheckboxGroup.js +266 -58
- package/dist/components/foundations/Collapsible.d.ts +2 -1
- package/dist/components/foundations/Collapsible.js +129 -26
- package/dist/components/foundations/Combobox.js +408 -89
- package/dist/components/foundations/ContextMenu.d.ts +2 -2
- package/dist/components/foundations/ContextMenu.js +591 -117
- package/dist/components/foundations/DescriptionList.js +159 -28
- package/dist/components/foundations/Dialog.js +373 -89
- package/dist/components/foundations/EmptyState.js +86 -23
- package/dist/components/foundations/Favicon.d.ts +17 -0
- package/dist/components/foundations/Favicon.js +62 -0
- package/dist/components/foundations/Field.js +525 -108
- package/dist/components/foundations/Fieldset.js +115 -23
- package/dist/components/foundations/Form.js +38 -9
- package/dist/components/foundations/FormattedDate.d.ts +19 -5
- package/dist/components/foundations/FormattedDate.js +82 -12
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/IconButton.js +114 -17
- package/dist/components/foundations/Input.js +38 -9
- package/dist/components/foundations/Kbd.js +55 -10
- package/dist/components/foundations/Label.js +56 -12
- package/dist/components/foundations/LinkButton.js +67 -15
- package/dist/components/foundations/Marker.js +138 -29
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +634 -136
- package/dist/components/foundations/Menubar.d.ts +2 -2
- package/dist/components/foundations/Menubar.js +685 -130
- package/dist/components/foundations/Meter.js +186 -41
- package/dist/components/foundations/NavigationMenu.js +426 -95
- package/dist/components/foundations/NumberField.js +223 -49
- package/dist/components/foundations/Popover.js +398 -88
- package/dist/components/foundations/PreviewCard.js +234 -53
- package/dist/components/foundations/Progress.js +117 -25
- package/dist/components/foundations/RadioGroup.d.ts +13 -5
- package/dist/components/foundations/RadioGroup.js +132 -25
- package/dist/components/foundations/ScrollArea.js +230 -51
- package/dist/components/foundations/SearchField.d.ts +8 -3
- package/dist/components/foundations/SearchField.js +129 -28
- package/dist/components/foundations/Select.js +648 -145
- package/dist/components/foundations/Separator.js +61 -12
- package/dist/components/foundations/Slider.js +260 -57
- package/dist/components/foundations/Stepper.d.ts +1 -1
- package/dist/components/foundations/Stepper.js +561 -127
- package/dist/components/foundations/Switch.js +82 -18
- package/dist/components/foundations/Tabs.d.ts +2 -2
- package/dist/components/foundations/Tabs.js +282 -53
- package/dist/components/foundations/Textarea.js +43 -9
- package/dist/components/foundations/ThemeProvider.js +138 -52
- package/dist/components/foundations/Toast.d.ts +10 -2
- package/dist/components/foundations/Toast.js +322 -75
- package/dist/components/foundations/Toggle.d.ts +5 -2
- package/dist/components/foundations/Toggle.js +51 -10
- package/dist/components/foundations/ToggleGroup.d.ts +3 -3
- package/dist/components/foundations/ToggleGroup.js +215 -59
- package/dist/components/foundations/Toolbar.js +249 -61
- package/dist/components/foundations/Tooltip.d.ts +3 -3
- package/dist/components/foundations/Tooltip.js +311 -55
- package/dist/components/foundations/TransitionSurface.js +43 -9
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +99 -17
- package/dist/components/general-purpose/ActionGuide.js +290 -64
- package/dist/components/general-purpose/AppFrame.js +72 -14
- package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
- package/dist/components/general-purpose/AppTopBar.js +349 -60
- package/dist/components/general-purpose/BrandLoading.js +37 -9
- package/dist/components/general-purpose/CommandPalette.d.ts +47 -0
- package/dist/components/general-purpose/CommandPalette.js +271 -0
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +937 -167
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +600 -114
- package/dist/components/general-purpose/FileTree.d.ts +20 -7
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/ListDetail.d.ts +84 -0
- package/dist/components/general-purpose/ListDetail.js +423 -0
- package/dist/components/general-purpose/NotificationPrompt.js +20 -11
- package/dist/components/general-purpose/PricingBillingToggle.js +33 -6
- package/dist/components/general-purpose/PricingConfirmationDialog.js +126 -42
- package/dist/components/general-purpose/PricingFAQ.js +53 -12
- package/dist/components/general-purpose/PricingPage.js +376 -139
- package/dist/components/general-purpose/PricingPlanCard.js +209 -84
- package/dist/components/general-purpose/PricingUsageCalculator.js +231 -81
- package/dist/components/general-purpose/ResizableSidePanel.js +316 -117
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +840 -342
- package/dist/components/general-purpose/ScreenStack.d.ts +54 -0
- package/dist/components/general-purpose/ScreenStack.js +427 -0
- package/dist/components/general-purpose/SettingsFormDialog.js +235 -77
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/StatusScreen.js +82 -24
- package/dist/components/general-purpose/SwipeActions.d.ts +54 -0
- package/dist/components/general-purpose/SwipeActions.js +357 -0
- package/dist/components/general-purpose/Terminal.d.ts +22 -48
- package/dist/components/general-purpose/Terminal.js +320 -174
- package/dist/components/general-purpose/TestResults.js +975 -196
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -1
- package/dist/components/general-purpose/ThemeModeControl.js +66 -23
- package/dist/components/general-purpose/WallpaperPicker.d.ts +33 -0
- package/dist/components/general-purpose/WallpaperPicker.js +180 -0
- package/dist/components/general-purpose/WebPreview.d.ts +5 -7
- package/dist/components/general-purpose/WebPreview.js +770 -203
- package/dist/components/nanites/AgentConnection.js +323 -84
- package/dist/components/nanites/AgentToolDetail.js +233 -53
- package/dist/components/nanites/GithubMotionMark.js +37 -9
- package/dist/components/nanites/NaniteScene.js +535 -323
- package/dist/connected-app-drafts-Bocdg3Z-.js +637 -0
- package/dist/container-width-C43ccJ84.js +17 -0
- package/dist/context-Ddsp8HgD.js +43 -0
- package/dist/{copy-button-B09hHWd1.d.ts → copy-button-C2HRdomn.d.ts} +1 -1
- package/dist/copy-button-DWBVJR6D.js +118 -0
- package/dist/{format-CWaZEp5o.js → format-DL7f2rqp.js} +5 -1
- package/dist/{icons-CReP3qYl.d.ts → icons-B3n7zvU7.d.ts} +10 -2
- package/dist/icons-nLTnB9kd.js +470 -0
- package/dist/{merge-refs-DAh6reu8.js → merge-refs-DTX97mLp.js} +17 -1
- package/dist/motion-CGM3i6lX.js +319 -0
- package/dist/motion-preferences-6qsDIDvH.js +13 -0
- package/dist/{navigation-link-kqMa81v5.js → navigation-link-DMmtdqsM.js} +32 -8
- package/dist/progress-ring-BO649JA9.js +79 -0
- package/dist/provider-logos-Ceu7iYFx.js +362 -0
- package/dist/scheduled-table-source-gGpVJ1TN.js +92 -0
- package/dist/styles/accessibility.css +26 -0
- package/dist/styles/accordion.css +0 -2
- package/dist/styles/activity.css +20 -12
- package/dist/styles/agent-attention.css +31 -10
- package/dist/styles/agent-chat.css +7 -6
- package/dist/styles/agent-computer-motion-reduction.css +118 -0
- package/dist/styles/agent-computer-motion.css +127 -0
- package/dist/styles/agent-computer-phone.css +942 -0
- package/dist/styles/agent-computer.css +1764 -0
- package/dist/styles/agent-connection.css +5 -5
- package/dist/styles/agent-screen-switcher.css +313 -0
- package/dist/styles/app-icon.css +34 -30
- package/dist/styles/app-top-bar.css +33 -18
- package/dist/styles/approval.css +3 -3
- package/dist/styles/artifact.css +1 -1
- package/dist/styles/attachment-preview.css +2 -4
- package/dist/styles/avatar.css +12 -14
- package/dist/styles/base-ui-motion.css +84 -18
- package/dist/styles/base-ui-motion.test.tsx +305 -0
- package/dist/styles/base.css +16 -12
- package/dist/styles/brand.test.ts +7 -20
- package/dist/styles/browser-control-overlay.css +1 -1
- package/dist/styles/browser-live-screen.css +2 -2
- package/dist/styles/browser-live-view.css +1 -1
- package/dist/styles/browser-replay.css +0 -8
- package/dist/styles/browser-run-panel.css +275 -37
- package/dist/styles/button.css +52 -9
- package/dist/styles/card.css +6 -5
- package/dist/styles/chain-of-thought.css +0 -10
- package/dist/styles/checkpoint.css +2 -2
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/color-contrast.test.ts +18 -1
- package/dist/styles/command-palette.css +110 -0
- package/dist/styles/composer-link.css +11 -7
- package/dist/styles/composition-motion.css +3 -14
- package/dist/styles/context.css +2 -2
- package/dist/styles/conversation-tab-picker.css +7 -0
- package/dist/styles/conversation.css +8 -2
- package/dist/styles/dialog.css +2 -2
- package/dist/styles/employee-app.css +8 -2
- package/dist/styles/employee-chrome.css +4 -4
- package/dist/styles/execution-board.css +206 -114
- package/dist/styles/execution-result.css +2 -2
- package/dist/styles/field.css +187 -4
- package/dist/styles/file-tree.css +218 -40
- package/dist/styles/first-run-setup.css +914 -187
- package/dist/styles/github-motion-mark.css +0 -8
- package/dist/styles/index.css +145 -133
- package/dist/styles/inline-citation.css +5 -4
- package/dist/styles/list-detail.css +57 -0
- package/dist/styles/manager-office.css +6 -8
- package/dist/styles/manager-work.css +4 -2
- package/dist/styles/mcp-plugin-catalog.css +2 -2
- package/dist/styles/mcp-server-picker.css +3 -6
- package/dist/styles/media-preview-card.css +2 -2
- package/dist/styles/menu.css +0 -9
- package/dist/styles/menubar.css +18 -6
- package/dist/styles/message-scroller.css +47 -9
- package/dist/styles/message.css +3 -3
- package/dist/styles/model-selector.css +1 -1
- package/dist/styles/motion-reduction.css +39 -6
- package/dist/styles/pricing-page.css +1 -1
- package/dist/styles/prompt-input.css +29 -29
- package/dist/styles/queue.css +1 -1
- package/dist/styles/recipes.css +212 -28
- package/dist/styles/responsive-sidebar-shell-motion.test.ts +81 -1
- package/dist/styles/responsive-sidebar-shell.css +40 -43
- package/dist/styles/screen-stack.css +123 -0
- package/dist/styles/search-field.css +80 -3
- package/dist/styles/stepper.css +0 -10
- package/dist/styles/streamdown.css +2 -2
- package/dist/styles/subagent-run.css +9 -5
- package/dist/styles/swipe-actions.css +158 -0
- package/dist/styles/tabs.css +80 -23
- package/dist/styles/task.css +7 -1
- package/dist/styles/terminal.css +66 -78
- package/dist/styles/test-results.css +1 -19
- package/dist/styles/textarea.css +2 -1
- package/dist/styles/theme-mode-control.css +154 -26
- package/dist/styles/think-chat-tool-panels.css +1 -1
- package/dist/styles/think-execution-workbench.css +0 -9
- package/dist/styles/think-full-app.css +7 -1
- package/dist/styles/think-schedule.css +81 -54
- package/dist/styles/think-thread-picker.css +28 -37
- package/dist/styles/toast.css +11 -0
- package/dist/styles/toggle-group.css +0 -10
- package/dist/styles/toggle.css +13 -0
- package/dist/styles/tooltip.css +12 -0
- package/dist/styles/transition-surface.css +1 -0
- package/dist/styles/wallpaper-picker.css +224 -0
- package/dist/styles/web-preview.css +47 -18
- package/dist/styles/workspace-automation.css +116 -17
- package/dist/styles/workspace-concepts.css +1 -1
- package/dist/styles/workspace-desktop.css +124 -0
- package/dist/styles/workspace-entity-card.css +3 -1
- package/dist/styles/workspace-explorer.css +499 -5
- package/dist/utils/brand-marks.d.ts +13 -0
- package/dist/utils/brand-marks.js +14 -0
- package/dist/utils/desktop-artwork.d.ts +17 -0
- package/dist/utils/desktop-artwork.js +18 -0
- package/dist/utils/favicon.d.ts +6 -2
- package/dist/utils/favicon.js +16 -4
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/workspace-assets-DdtnBDU3.js +213 -0
- package/dist/{workspace-concept-panel-C_oYhPSx.d.ts → workspace-concept-panel-BDTBISNO.d.ts} +2 -2
- package/dist/workspace-concept-panel-VkjvFCY_.js +140 -0
- package/dist/workspace-delete-BOY6CMBf.js +183 -0
- package/dist/workspace-drag-B6hMXUNt.js +304 -0
- package/dist/workspace-entity-card-9YcsNiqU.js +178 -0
- package/dist/workspace-media-preview-B4iB5Tvi.js +1295 -0
- package/dist/{workspace-path-L_KmjRjq.js → workspace-path-TZggP-u4.js} +14 -1
- package/dist/{workspace-person-BVkYb3dv.js → workspace-person-ZwPqu5TX.js} +67 -21
- package/dist/workspace-quick-look-9V-UFpjj.js +1562 -0
- package/package.json +9 -3
- package/dist/Avatar-t1YRzdwB.d.ts +0 -101
- package/dist/CodeBlock-DYQdZUH6.js +0 -318
- package/dist/ExecutionResult-2fBkpIGN.js +0 -279
- package/dist/FileTree-CDLOD643.js +0 -323
- package/dist/ManagerOffice-CvVSHnOM.js +0 -1129
- package/dist/SetupChecklist-B-iEta9v.js +0 -78
- package/dist/ThinkSchedule-DPoOYWTQ.d.ts +0 -34
- package/dist/WorkspaceFileView-DwIkehSM.js +0 -783
- package/dist/WorkspaceLink-BeFAXpbI.js +0 -225
- package/dist/app-bar-outlet-CNfNzY4Y.js +0 -6
- package/dist/attachment-preview-1CXJvrmb.js +0 -25
- package/dist/chatgpt-sign-in-button-D8AT6x4c.js +0 -32
- package/dist/connected-app-drafts-DtA2fBK5.js +0 -283
- package/dist/copy-button-DbR932tF.js +0 -45
- package/dist/icons-GoybMAB2.js +0 -141
- package/dist/progress-ring-L2bbF0ji.js +0 -40
- package/dist/provider-logos-DWYY8wNz.js +0 -99
- package/dist/scheduled-table-source-NZR1vFc_.js +0 -38
- package/dist/workspace-assets-F3r6XltC.js +0 -107
- package/dist/workspace-concept-panel-D8oEvR0n.js +0 -66
- package/dist/workspace-delete-CQvv1eDE.js +0 -81
- package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as EmployeeMenuProps } from "../../EmployeeChrome
|
|
2
|
-
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
3
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { l as EmployeeMenuProps } from "../../EmployeeChrome-kegSASjC.js";
|
|
2
|
+
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-C0fghGLi.js";
|
|
3
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-D4Ulsa0-.js";
|
|
4
4
|
import { ThinkScheduleActionsRootProps } from "./ThinkScheduleActions.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
//#region src/components/agents-sdk/EmployeeSchedules.d.ts
|
|
@@ -1,80 +1,259 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as PencilIcon, r as ArrowLeftIcon } from "../../icons-nLTnB9kd.js";
|
|
2
2
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
3
|
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
4
|
-
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
4
|
+
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
5
5
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
6
6
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
7
|
import { getThinkExecutionRunId } from "./ThinkExecutionRun.js";
|
|
8
8
|
import { ThinkScheduleActions, useThinkScheduleActions } from "./ThinkScheduleActions.js";
|
|
9
9
|
import { ThinkScheduleBrowser } from "./ThinkScheduleBrowser.js";
|
|
10
10
|
import { ThinkScheduleDetail } from "./ThinkScheduleDetail.js";
|
|
11
|
-
import "react";
|
|
11
|
+
import { c } from "react/compiler-runtime";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/agents-sdk/EmployeeSchedules.tsx
|
|
14
|
-
function SelectedSchedule(
|
|
14
|
+
function SelectedSchedule(t0) {
|
|
15
|
+
const $ = c(8);
|
|
16
|
+
const { schedule, renderLink, automation } = t0;
|
|
15
17
|
const actions = useThinkScheduleActions();
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
showOwner: false,
|
|
20
|
-
...actions,
|
|
21
|
-
renderRunLink: (run) => renderLink({
|
|
18
|
+
let t1;
|
|
19
|
+
if ($[0] !== renderLink || $[1] !== schedule.id) {
|
|
20
|
+
t1 = (run) => renderLink({
|
|
22
21
|
kind: "schedule-run",
|
|
23
22
|
scheduleId: schedule.id,
|
|
24
23
|
runId: getThinkExecutionRunId(run)
|
|
25
|
-
})
|
|
26
|
-
|
|
24
|
+
});
|
|
25
|
+
$[0] = renderLink;
|
|
26
|
+
$[1] = schedule.id;
|
|
27
|
+
$[2] = t1;
|
|
28
|
+
} else t1 = $[2];
|
|
29
|
+
let t2;
|
|
30
|
+
if ($[3] !== actions || $[4] !== automation || $[5] !== schedule || $[6] !== t1) {
|
|
31
|
+
t2 = /* @__PURE__ */ jsx(ThinkScheduleDetail, {
|
|
32
|
+
schedule,
|
|
33
|
+
automation,
|
|
34
|
+
showOwner: false,
|
|
35
|
+
...actions,
|
|
36
|
+
renderRunLink: t1
|
|
37
|
+
});
|
|
38
|
+
$[3] = actions;
|
|
39
|
+
$[4] = automation;
|
|
40
|
+
$[5] = schedule;
|
|
41
|
+
$[6] = t1;
|
|
42
|
+
$[7] = t2;
|
|
43
|
+
} else t2 = $[7];
|
|
44
|
+
return t2;
|
|
45
|
+
}
|
|
46
|
+
/** The schedule list, closing the compact drawer once a schedule is chosen. */
|
|
47
|
+
function ScheduleSidebar(props) {
|
|
48
|
+
const $ = c(3);
|
|
49
|
+
const { closeSidebarOnCompact } = useResponsiveSidebarShell();
|
|
50
|
+
let t0;
|
|
51
|
+
if ($[0] !== closeSidebarOnCompact || $[1] !== props) {
|
|
52
|
+
t0 = /* @__PURE__ */ jsx(ThinkScheduleBrowser, {
|
|
53
|
+
...props,
|
|
54
|
+
onScheduleLinkClick: closeSidebarOnCompact
|
|
55
|
+
});
|
|
56
|
+
$[0] = closeSidebarOnCompact;
|
|
57
|
+
$[1] = props;
|
|
58
|
+
$[2] = t0;
|
|
59
|
+
} else t0 = $[2];
|
|
60
|
+
return t0;
|
|
27
61
|
}
|
|
28
62
|
/** Schedule navigation, selection, empty states and controls shared by every host. */
|
|
29
|
-
function EmployeeSchedules(
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
63
|
+
function EmployeeSchedules(t0) {
|
|
64
|
+
const $ = c(74);
|
|
65
|
+
let automations;
|
|
66
|
+
let error;
|
|
67
|
+
let menu;
|
|
68
|
+
let onDelete;
|
|
69
|
+
let onEnabledChange;
|
|
70
|
+
let onRun;
|
|
71
|
+
let schedules;
|
|
72
|
+
let selectedScheduleId;
|
|
73
|
+
let sourceKey;
|
|
74
|
+
if ($[0] !== t0) {
|
|
75
|
+
({schedules, automations, selectedScheduleId, error, sourceKey, onRun, onEnabledChange, onDelete, ...menu} = t0);
|
|
76
|
+
$[0] = t0;
|
|
77
|
+
$[1] = automations;
|
|
78
|
+
$[2] = error;
|
|
79
|
+
$[3] = menu;
|
|
80
|
+
$[4] = onDelete;
|
|
81
|
+
$[5] = onEnabledChange;
|
|
82
|
+
$[6] = onRun;
|
|
83
|
+
$[7] = schedules;
|
|
84
|
+
$[8] = selectedScheduleId;
|
|
85
|
+
$[9] = sourceKey;
|
|
86
|
+
} else {
|
|
87
|
+
automations = $[1];
|
|
88
|
+
error = $[2];
|
|
89
|
+
menu = $[3];
|
|
90
|
+
onDelete = $[4];
|
|
91
|
+
onEnabledChange = $[5];
|
|
92
|
+
onRun = $[6];
|
|
93
|
+
schedules = $[7];
|
|
94
|
+
selectedScheduleId = $[8];
|
|
95
|
+
sourceKey = $[9];
|
|
96
|
+
}
|
|
97
|
+
let T0;
|
|
98
|
+
let renderLink;
|
|
99
|
+
let selected;
|
|
100
|
+
let selectedAutomationPath;
|
|
101
|
+
let t1;
|
|
102
|
+
let t2;
|
|
103
|
+
let t3;
|
|
104
|
+
let t4;
|
|
105
|
+
let t5;
|
|
106
|
+
let t6;
|
|
107
|
+
let t7;
|
|
108
|
+
let t8;
|
|
109
|
+
if ($[10] !== error || $[11] !== menu || $[12] !== schedules || $[13] !== selectedScheduleId) {
|
|
110
|
+
let t9;
|
|
111
|
+
if ($[26] !== selectedScheduleId) {
|
|
112
|
+
t9 = (schedule) => schedule.id === selectedScheduleId;
|
|
113
|
+
$[26] = selectedScheduleId;
|
|
114
|
+
$[27] = t9;
|
|
115
|
+
} else t9 = $[27];
|
|
116
|
+
selected = schedules.find(t9);
|
|
117
|
+
selectedAutomationPath = selected && "automation" in selected.task ? selected.task.automation.path : void 0;
|
|
118
|
+
({renderLink} = menu);
|
|
119
|
+
T0 = ResponsiveSidebarShell;
|
|
120
|
+
t6 = "schedules";
|
|
121
|
+
t7 = "Show selected schedule";
|
|
122
|
+
t8 = error;
|
|
123
|
+
t2 = "Schedule controls";
|
|
124
|
+
t3 = selected?.name ?? "Schedules";
|
|
125
|
+
t4 = /* @__PURE__ */ jsx("span", { children: selected?.name ?? "Schedules" });
|
|
126
|
+
let t10;
|
|
127
|
+
if ($[28] !== renderLink) {
|
|
128
|
+
t10 = renderLink({
|
|
129
|
+
kind: "view",
|
|
130
|
+
view: "chat"
|
|
131
|
+
});
|
|
132
|
+
$[28] = renderLink;
|
|
133
|
+
$[29] = t10;
|
|
134
|
+
} else t10 = $[29];
|
|
135
|
+
let t11;
|
|
136
|
+
if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
137
|
+
t11 = /* @__PURE__ */ jsx(ArrowLeftIcon, {});
|
|
138
|
+
$[30] = t11;
|
|
139
|
+
} else t11 = $[30];
|
|
140
|
+
if ($[31] !== t10) {
|
|
141
|
+
t5 = /* @__PURE__ */ jsx(AppTopBar.Link, {
|
|
42
142
|
label: "Back to chat",
|
|
143
|
+
render: t10,
|
|
144
|
+
children: t11
|
|
145
|
+
});
|
|
146
|
+
$[31] = t10;
|
|
147
|
+
$[32] = t5;
|
|
148
|
+
} else t5 = $[32];
|
|
149
|
+
t1 = selected ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
150
|
+
/* @__PURE__ */ jsx(ThinkScheduleActions.Run, {}),
|
|
151
|
+
/* @__PURE__ */ jsx(AppTopBar.Link, {
|
|
152
|
+
label: "Edit schedule",
|
|
43
153
|
render: renderLink({
|
|
44
|
-
kind: "
|
|
45
|
-
|
|
154
|
+
kind: "edit-schedule",
|
|
155
|
+
scheduleId: selected.id
|
|
46
156
|
}),
|
|
47
|
-
children: /* @__PURE__ */ jsx(
|
|
157
|
+
children: /* @__PURE__ */ jsx(PencilIcon, {})
|
|
48
158
|
}),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
159
|
+
/* @__PURE__ */ jsx(ThinkScheduleActions.Delete, {})
|
|
160
|
+
] }) : null;
|
|
161
|
+
$[10] = error;
|
|
162
|
+
$[11] = menu;
|
|
163
|
+
$[12] = schedules;
|
|
164
|
+
$[13] = selectedScheduleId;
|
|
165
|
+
$[14] = T0;
|
|
166
|
+
$[15] = renderLink;
|
|
167
|
+
$[16] = selected;
|
|
168
|
+
$[17] = selectedAutomationPath;
|
|
169
|
+
$[18] = t1;
|
|
170
|
+
$[19] = t2;
|
|
171
|
+
$[20] = t3;
|
|
172
|
+
$[21] = t4;
|
|
173
|
+
$[22] = t5;
|
|
174
|
+
$[23] = t6;
|
|
175
|
+
$[24] = t7;
|
|
176
|
+
$[25] = t8;
|
|
177
|
+
} else {
|
|
178
|
+
T0 = $[14];
|
|
179
|
+
renderLink = $[15];
|
|
180
|
+
selected = $[16];
|
|
181
|
+
selectedAutomationPath = $[17];
|
|
182
|
+
t1 = $[18];
|
|
183
|
+
t2 = $[19];
|
|
184
|
+
t3 = $[20];
|
|
185
|
+
t4 = $[21];
|
|
186
|
+
t5 = $[22];
|
|
187
|
+
t6 = $[23];
|
|
188
|
+
t7 = $[24];
|
|
189
|
+
t8 = $[25];
|
|
190
|
+
}
|
|
191
|
+
let t9;
|
|
192
|
+
if ($[33] !== t1) {
|
|
193
|
+
t9 = /* @__PURE__ */ jsx(Fragment, { children: t1 });
|
|
194
|
+
$[33] = t1;
|
|
195
|
+
$[34] = t9;
|
|
196
|
+
} else t9 = $[34];
|
|
197
|
+
let t10;
|
|
198
|
+
if ($[35] !== menu) {
|
|
199
|
+
t10 = /* @__PURE__ */ jsx(EmployeeChrome.Menu, {
|
|
200
|
+
...menu,
|
|
201
|
+
view: "schedules"
|
|
202
|
+
});
|
|
203
|
+
$[35] = menu;
|
|
204
|
+
$[36] = t10;
|
|
205
|
+
} else t10 = $[36];
|
|
206
|
+
let t11;
|
|
207
|
+
if ($[37] !== t10 || $[38] !== t2 || $[39] !== t3 || $[40] !== t4 || $[41] !== t5 || $[42] !== t9) {
|
|
208
|
+
t11 = {
|
|
209
|
+
label: t2,
|
|
210
|
+
title: t3,
|
|
211
|
+
compactTitleTrigger: t4,
|
|
212
|
+
leading: t5,
|
|
213
|
+
actions: t9,
|
|
214
|
+
primary: t10
|
|
215
|
+
};
|
|
216
|
+
$[37] = t10;
|
|
217
|
+
$[38] = t2;
|
|
218
|
+
$[39] = t3;
|
|
219
|
+
$[40] = t4;
|
|
220
|
+
$[41] = t5;
|
|
221
|
+
$[42] = t9;
|
|
222
|
+
$[43] = t11;
|
|
223
|
+
} else t11 = $[43];
|
|
224
|
+
let t12;
|
|
225
|
+
let t13;
|
|
226
|
+
if ($[44] !== renderLink) {
|
|
227
|
+
t12 = (schedule_0) => renderLink({
|
|
228
|
+
kind: "schedule",
|
|
229
|
+
scheduleId: schedule_0.id
|
|
230
|
+
});
|
|
231
|
+
t13 = renderLink({ kind: "new-schedule" });
|
|
232
|
+
$[44] = renderLink;
|
|
233
|
+
$[45] = t12;
|
|
234
|
+
$[46] = t13;
|
|
235
|
+
} else {
|
|
236
|
+
t12 = $[45];
|
|
237
|
+
t13 = $[46];
|
|
238
|
+
}
|
|
239
|
+
let t14;
|
|
240
|
+
if ($[47] !== schedules || $[48] !== selectedScheduleId || $[49] !== t12 || $[50] !== t13) {
|
|
241
|
+
t14 = /* @__PURE__ */ jsx(ScheduleSidebar, {
|
|
67
242
|
schedules,
|
|
68
243
|
selectedScheduleId,
|
|
69
244
|
showOwner: false,
|
|
70
|
-
renderScheduleLink:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
245
|
+
renderScheduleLink: t12,
|
|
246
|
+
newScheduleLink: t13
|
|
247
|
+
});
|
|
248
|
+
$[47] = schedules;
|
|
249
|
+
$[48] = selectedScheduleId;
|
|
250
|
+
$[49] = t12;
|
|
251
|
+
$[50] = t13;
|
|
252
|
+
$[51] = t14;
|
|
253
|
+
} else t14 = $[51];
|
|
254
|
+
let t15;
|
|
255
|
+
if ($[52] !== automations || $[53] !== renderLink || $[54] !== schedules.length || $[55] !== selected || $[56] !== selectedAutomationPath || $[57] !== selectedScheduleId) {
|
|
256
|
+
t15 = /* @__PURE__ */ jsx("main", {
|
|
78
257
|
className: "think-schedule__main",
|
|
79
258
|
children: selected ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
80
259
|
/* @__PURE__ */ jsx(ThinkScheduleActions.Error, {}),
|
|
@@ -92,16 +271,54 @@ function EmployeeSchedules({ schedules, automations, selectedScheduleId, error,
|
|
|
92
271
|
children: "Create schedule"
|
|
93
272
|
})
|
|
94
273
|
})
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
274
|
+
});
|
|
275
|
+
$[52] = automations;
|
|
276
|
+
$[53] = renderLink;
|
|
277
|
+
$[54] = schedules.length;
|
|
278
|
+
$[55] = selected;
|
|
279
|
+
$[56] = selectedAutomationPath;
|
|
280
|
+
$[57] = selectedScheduleId;
|
|
281
|
+
$[58] = t15;
|
|
282
|
+
} else t15 = $[58];
|
|
283
|
+
let t16;
|
|
284
|
+
if ($[59] !== T0 || $[60] !== t11 || $[61] !== t14 || $[62] !== t15 || $[63] !== t6 || $[64] !== t7 || $[65] !== t8) {
|
|
285
|
+
t16 = /* @__PURE__ */ jsx(T0, {
|
|
286
|
+
sidebarLabel: t6,
|
|
287
|
+
showMainLabel: t7,
|
|
288
|
+
error: t8,
|
|
289
|
+
bar: t11,
|
|
290
|
+
sidebar: t14,
|
|
291
|
+
children: t15
|
|
292
|
+
});
|
|
293
|
+
$[59] = T0;
|
|
294
|
+
$[60] = t11;
|
|
295
|
+
$[61] = t14;
|
|
296
|
+
$[62] = t15;
|
|
297
|
+
$[63] = t6;
|
|
298
|
+
$[64] = t7;
|
|
299
|
+
$[65] = t8;
|
|
300
|
+
$[66] = t16;
|
|
301
|
+
} else t16 = $[66];
|
|
302
|
+
const content = t16;
|
|
303
|
+
let t17;
|
|
304
|
+
if ($[67] !== content || $[68] !== onDelete || $[69] !== onEnabledChange || $[70] !== onRun || $[71] !== selected || $[72] !== sourceKey) {
|
|
305
|
+
t17 = selected ? /* @__PURE__ */ jsx(ThinkScheduleActions.Root, {
|
|
306
|
+
schedule: selected,
|
|
307
|
+
sourceKey,
|
|
308
|
+
onRun,
|
|
309
|
+
onEnabledChange,
|
|
310
|
+
onDelete,
|
|
311
|
+
children: content
|
|
312
|
+
}) : content;
|
|
313
|
+
$[67] = content;
|
|
314
|
+
$[68] = onDelete;
|
|
315
|
+
$[69] = onEnabledChange;
|
|
316
|
+
$[70] = onRun;
|
|
317
|
+
$[71] = selected;
|
|
318
|
+
$[72] = sourceKey;
|
|
319
|
+
$[73] = t17;
|
|
320
|
+
} else t17 = $[73];
|
|
321
|
+
return t17;
|
|
105
322
|
}
|
|
106
323
|
//#endregion
|
|
107
324
|
export { EmployeeSchedules };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as PromptInputMessage } from "../../PromptInput-
|
|
2
|
-
import { i as EmployeeDestination, t as EmployeeBrand } from "../../EmployeeChrome
|
|
1
|
+
import { J as PromptInputMessage } from "../../PromptInput-DEwFMj6f.js";
|
|
2
|
+
import { i as EmployeeDestination, t as EmployeeBrand } from "../../EmployeeChrome-kegSASjC.js";
|
|
3
3
|
import { SetupChecklistGroupProps } from "../general-purpose/SetupChecklist.js";
|
|
4
4
|
import { n as McpPluginCatalogProps } from "../../McpPluginCatalog-SQNOytXQ.js";
|
|
5
5
|
import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-DM384Cn6.js";
|
|
@@ -1,64 +1,130 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as PaperclipIcon, k as FolderIcon, rt as SlackIcon, u as BoxIcon, x as DiscordIcon } from "../../icons-nLTnB9kd.js";
|
|
2
2
|
import { IconButton } from "../foundations/IconButton.js";
|
|
3
|
+
import { AppIcon } from "../foundations/AppIcon.js";
|
|
3
4
|
import { Menu } from "../foundations/Menu.js";
|
|
4
5
|
import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
|
|
5
|
-
import { AppIcon } from "../foundations/AppIcon.js";
|
|
6
6
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
|
-
import { t as SetupChecklistAction } from "../../SetupChecklist-
|
|
7
|
+
import { t as SetupChecklistAction } from "../../SetupChecklist-DwscX3Bw.js";
|
|
8
8
|
import { McpServerPickerAction, McpServerPickerItems } from "./McpServerPicker.js";
|
|
9
9
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
10
|
+
import { c } from "react/compiler-runtime";
|
|
10
11
|
import * as React from "react";
|
|
11
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
13
|
//#region src/components/agents-sdk/EmployeeStartScreen.tsx
|
|
13
|
-
function SetupActions(
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
function SetupActions(t0) {
|
|
15
|
+
const $ = c(10);
|
|
16
|
+
const { start } = t0;
|
|
17
|
+
let t1;
|
|
18
|
+
if ($[0] !== start.slack) {
|
|
19
|
+
t1 = start.slack && !start.slack.configured ? /* @__PURE__ */ jsx(ActionGuideAction, {
|
|
16
20
|
icon: /* @__PURE__ */ jsx(SlackIcon, {}),
|
|
17
21
|
onClick: start.slack.onSelect,
|
|
18
22
|
children: "Connect Slack"
|
|
19
|
-
}) : null
|
|
20
|
-
|
|
23
|
+
}) : null;
|
|
24
|
+
$[0] = start.slack;
|
|
25
|
+
$[1] = t1;
|
|
26
|
+
} else t1 = $[1];
|
|
27
|
+
let t2;
|
|
28
|
+
if ($[2] !== start.discord) {
|
|
29
|
+
t2 = start.discord && !start.discord.configured ? /* @__PURE__ */ jsx(ActionGuideAction, {
|
|
21
30
|
icon: /* @__PURE__ */ jsx(DiscordIcon, {}),
|
|
22
31
|
onClick: start.discord.onSelect,
|
|
23
32
|
children: "Connect Discord"
|
|
24
|
-
}) : null
|
|
25
|
-
start.
|
|
33
|
+
}) : null;
|
|
34
|
+
$[2] = start.discord;
|
|
35
|
+
$[3] = t2;
|
|
36
|
+
} else t2 = $[3];
|
|
37
|
+
let t3;
|
|
38
|
+
if ($[4] !== start.mounts) {
|
|
39
|
+
t3 = start.mounts ? /* @__PURE__ */ jsx(ActionGuideAction, {
|
|
26
40
|
icon: /* @__PURE__ */ jsx(FolderIcon, {}),
|
|
27
41
|
onClick: start.mounts.onAdd,
|
|
28
42
|
disabled: start.mounts.adding || start.mounts.busyMountId != null,
|
|
29
43
|
children: "Attach a local folder"
|
|
30
|
-
}) : null
|
|
31
|
-
|
|
44
|
+
}) : null;
|
|
45
|
+
$[4] = start.mounts;
|
|
46
|
+
$[5] = t3;
|
|
47
|
+
} else t3 = $[5];
|
|
48
|
+
let t4;
|
|
49
|
+
if ($[6] !== t1 || $[7] !== t2 || $[8] !== t3) {
|
|
50
|
+
t4 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
51
|
+
t1,
|
|
52
|
+
t2,
|
|
53
|
+
t3
|
|
54
|
+
] });
|
|
55
|
+
$[6] = t1;
|
|
56
|
+
$[7] = t2;
|
|
57
|
+
$[8] = t3;
|
|
58
|
+
$[9] = t4;
|
|
59
|
+
} else t4 = $[9];
|
|
60
|
+
return t4;
|
|
32
61
|
}
|
|
33
|
-
function StartComposerTray(
|
|
62
|
+
function StartComposerTray(t0) {
|
|
63
|
+
const $ = c(28);
|
|
64
|
+
const { plugins, renderLink, start } = t0;
|
|
34
65
|
const [pluginTrigger, setPluginTrigger] = React.useState(null);
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
66
|
+
let t1;
|
|
67
|
+
if ($[0] !== pluginTrigger) {
|
|
68
|
+
t1 = pluginTrigger?.closest(".agent-chat") ?? void 0;
|
|
69
|
+
$[0] = pluginTrigger;
|
|
70
|
+
$[1] = t1;
|
|
71
|
+
} else t1 = $[1];
|
|
72
|
+
const menuBoundary = t1;
|
|
73
|
+
let t2;
|
|
74
|
+
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
75
|
+
t2 = /* @__PURE__ */ jsx(DiscordIcon, {});
|
|
76
|
+
$[2] = t2;
|
|
77
|
+
} else t2 = $[2];
|
|
78
|
+
let t3;
|
|
79
|
+
if ($[3] !== start.discord) {
|
|
80
|
+
t3 = {
|
|
81
|
+
id: "discord",
|
|
82
|
+
name: "Discord",
|
|
83
|
+
icon: t2,
|
|
84
|
+
connection: start.discord
|
|
85
|
+
};
|
|
86
|
+
$[3] = start.discord;
|
|
87
|
+
$[4] = t3;
|
|
88
|
+
} else t3 = $[4];
|
|
89
|
+
let t4;
|
|
90
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
91
|
+
t4 = /* @__PURE__ */ jsx(SlackIcon, {});
|
|
92
|
+
$[5] = t4;
|
|
93
|
+
} else t4 = $[5];
|
|
94
|
+
let t5;
|
|
95
|
+
if ($[6] !== start.slack) {
|
|
96
|
+
t5 = {
|
|
97
|
+
id: "slack",
|
|
98
|
+
name: "Slack",
|
|
99
|
+
icon: t4,
|
|
100
|
+
connection: start.slack
|
|
101
|
+
};
|
|
102
|
+
$[6] = start.slack;
|
|
103
|
+
$[7] = t5;
|
|
104
|
+
} else t5 = $[7];
|
|
105
|
+
let t6;
|
|
106
|
+
if ($[8] !== t3 || $[9] !== t5) {
|
|
107
|
+
t6 = [t3, t5].flatMap(_temp);
|
|
108
|
+
$[8] = t3;
|
|
109
|
+
$[9] = t5;
|
|
110
|
+
$[10] = t6;
|
|
111
|
+
} else t6 = $[10];
|
|
112
|
+
const connections = t6;
|
|
53
113
|
const hasPluginMenu = Boolean(plugins || connections.length);
|
|
54
|
-
|
|
55
|
-
|
|
114
|
+
let t7;
|
|
115
|
+
if ($[11] !== start.personalization) {
|
|
116
|
+
t7 = start.personalization ? /* @__PURE__ */ jsx(SetupChecklistAction, {
|
|
56
117
|
actionLabel: "Prompts",
|
|
57
118
|
label: "Prompts",
|
|
58
119
|
entries: start.personalization.entries,
|
|
59
120
|
onSelect: start.personalization.onSelect
|
|
60
|
-
}) : null
|
|
61
|
-
start.
|
|
121
|
+
}) : null;
|
|
122
|
+
$[11] = start.personalization;
|
|
123
|
+
$[12] = t7;
|
|
124
|
+
} else t7 = $[12];
|
|
125
|
+
let t8;
|
|
126
|
+
if ($[13] !== start.mounts) {
|
|
127
|
+
t8 = start.mounts ? /* @__PURE__ */ jsx(WorkspaceMountManager, {
|
|
62
128
|
...start.mounts,
|
|
63
129
|
trigger: /* @__PURE__ */ jsx(IconButton, {
|
|
64
130
|
variant: "ghost",
|
|
@@ -68,8 +134,13 @@ function StartComposerTray({ plugins, renderLink, start }) {
|
|
|
68
134
|
responsiveLabel: "Attach folder",
|
|
69
135
|
children: /* @__PURE__ */ jsx(PaperclipIcon, {})
|
|
70
136
|
})
|
|
71
|
-
}) : null
|
|
72
|
-
|
|
137
|
+
}) : null;
|
|
138
|
+
$[13] = start.mounts;
|
|
139
|
+
$[14] = t8;
|
|
140
|
+
} else t8 = $[14];
|
|
141
|
+
let t9;
|
|
142
|
+
if ($[15] !== connections || $[16] !== hasPluginMenu || $[17] !== menuBoundary || $[18] !== plugins?.mcp || $[19] !== plugins?.onConnect || $[20] !== plugins?.onDisconnect || $[21] !== plugins?.servers || $[22] !== renderLink) {
|
|
143
|
+
t9 = hasPluginMenu ? /* @__PURE__ */ jsxs(Menu.Root, { children: [/* @__PURE__ */ jsx(IconButton, {
|
|
73
144
|
type: "button",
|
|
74
145
|
variant: "ghost",
|
|
75
146
|
color: "neutral",
|
|
@@ -115,26 +186,88 @@ function StartComposerTray({ plugins, renderLink, start }) {
|
|
|
115
186
|
})
|
|
116
187
|
})]
|
|
117
188
|
})
|
|
118
|
-
}) })] }) : null
|
|
119
|
-
|
|
189
|
+
}) })] }) : null;
|
|
190
|
+
$[15] = connections;
|
|
191
|
+
$[16] = hasPluginMenu;
|
|
192
|
+
$[17] = menuBoundary;
|
|
193
|
+
$[18] = plugins?.mcp;
|
|
194
|
+
$[19] = plugins?.onConnect;
|
|
195
|
+
$[20] = plugins?.onDisconnect;
|
|
196
|
+
$[21] = plugins?.servers;
|
|
197
|
+
$[22] = renderLink;
|
|
198
|
+
$[23] = t9;
|
|
199
|
+
} else t9 = $[23];
|
|
200
|
+
let t10;
|
|
201
|
+
if ($[24] !== t7 || $[25] !== t8 || $[26] !== t9) {
|
|
202
|
+
t10 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
203
|
+
t7,
|
|
204
|
+
t8,
|
|
205
|
+
t9
|
|
206
|
+
] });
|
|
207
|
+
$[24] = t7;
|
|
208
|
+
$[25] = t8;
|
|
209
|
+
$[26] = t9;
|
|
210
|
+
$[27] = t10;
|
|
211
|
+
} else t10 = $[27];
|
|
212
|
+
return t10;
|
|
213
|
+
}
|
|
214
|
+
function _temp(t0) {
|
|
215
|
+
const { id, name, icon, connection } = t0;
|
|
216
|
+
return connection ? [{
|
|
217
|
+
id,
|
|
218
|
+
icon,
|
|
219
|
+
label: connection.configured ? name : `Connect ${name}`,
|
|
220
|
+
description: connection.description ?? (connection.configured ? "Connected" : `Talk to this employee from ${name}`),
|
|
221
|
+
onSelect: connection.onSelect
|
|
222
|
+
}] : [];
|
|
120
223
|
}
|
|
121
224
|
/** Canonical welcome screen, including configured connection states and connection menus. */
|
|
122
|
-
function EmployeeStartScreen(
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
225
|
+
function EmployeeStartScreen(t0) {
|
|
226
|
+
const $ = c(16);
|
|
227
|
+
const { brand, start, plugins, renderLink, children } = t0;
|
|
228
|
+
let t1;
|
|
229
|
+
if ($[0] !== start) {
|
|
230
|
+
t1 = /* @__PURE__ */ jsx(SetupActions, { start });
|
|
231
|
+
$[0] = start;
|
|
232
|
+
$[1] = t1;
|
|
233
|
+
} else t1 = $[1];
|
|
234
|
+
let t2;
|
|
235
|
+
if ($[2] !== plugins || $[3] !== renderLink || $[4] !== start) {
|
|
236
|
+
t2 = /* @__PURE__ */ jsx(StartComposerTray, {
|
|
132
237
|
start,
|
|
133
238
|
plugins,
|
|
134
239
|
renderLink
|
|
135
|
-
})
|
|
136
|
-
|
|
137
|
-
|
|
240
|
+
});
|
|
241
|
+
$[2] = plugins;
|
|
242
|
+
$[3] = renderLink;
|
|
243
|
+
$[4] = start;
|
|
244
|
+
$[5] = t2;
|
|
245
|
+
} else t2 = $[5];
|
|
246
|
+
let t3;
|
|
247
|
+
if ($[6] !== brand || $[7] !== children || $[8] !== start.hasConnectedApps || $[9] !== start.onRetrySuggestions || $[10] !== start.onSubmit || $[11] !== start.suggestions || $[12] !== start.suggestionsError || $[13] !== t1 || $[14] !== t2) {
|
|
248
|
+
t3 = /* @__PURE__ */ jsx(EmployeeChrome.Welcome, {
|
|
249
|
+
brand,
|
|
250
|
+
suggestions: start.suggestions,
|
|
251
|
+
suggestionsError: start.suggestionsError,
|
|
252
|
+
onRetrySuggestions: start.onRetrySuggestions,
|
|
253
|
+
onSubmit: start.onSubmit,
|
|
254
|
+
hasConnectedApps: start.hasConnectedApps,
|
|
255
|
+
setupActions: t1,
|
|
256
|
+
tray: t2,
|
|
257
|
+
children
|
|
258
|
+
});
|
|
259
|
+
$[6] = brand;
|
|
260
|
+
$[7] = children;
|
|
261
|
+
$[8] = start.hasConnectedApps;
|
|
262
|
+
$[9] = start.onRetrySuggestions;
|
|
263
|
+
$[10] = start.onSubmit;
|
|
264
|
+
$[11] = start.suggestions;
|
|
265
|
+
$[12] = start.suggestionsError;
|
|
266
|
+
$[13] = t1;
|
|
267
|
+
$[14] = t2;
|
|
268
|
+
$[15] = t3;
|
|
269
|
+
} else t3 = $[15];
|
|
270
|
+
return t3;
|
|
138
271
|
}
|
|
139
272
|
//#endregion
|
|
140
273
|
export { EmployeeStartScreen };
|