@mcp-b/react-components 0.63.0 → 0.64.1
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 +100 -36
- package/dist/components/extension/FirstRunSetup.js +3974 -1016
- 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,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as formatErrorMessage } from "../../format-
|
|
1
|
+
import { mt as WarningIcon } from "../../icons-nLTnB9kd.js";
|
|
2
|
+
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Menu } from "../foundations/Menu.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Favicon } from "../foundations/Favicon.js";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
6
7
|
import * as React from "react";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
//#region src/components/extension/ConversationTabPicker.tsx
|
|
@@ -19,19 +20,30 @@ function tabDomain(tab) {
|
|
|
19
20
|
return tab.url;
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
function TabMark(t0) {
|
|
24
|
+
const $ = c(6);
|
|
25
|
+
const { tab } = t0;
|
|
26
|
+
const t1 = tab.url;
|
|
27
|
+
const t2 = tab.iconSrc;
|
|
28
|
+
let t3;
|
|
29
|
+
if ($[0] !== tab) {
|
|
30
|
+
t3 = tabFallback(tab);
|
|
31
|
+
$[0] = tab;
|
|
32
|
+
$[1] = t3;
|
|
33
|
+
} else t3 = $[1];
|
|
34
|
+
let t4;
|
|
35
|
+
if ($[2] !== t3 || $[3] !== tab.iconSrc || $[4] !== tab.url) {
|
|
36
|
+
t4 = /* @__PURE__ */ jsx(Favicon, {
|
|
37
|
+
href: t1,
|
|
38
|
+
src: t2,
|
|
39
|
+
fallback: t3
|
|
40
|
+
});
|
|
41
|
+
$[2] = t3;
|
|
42
|
+
$[3] = tab.iconSrc;
|
|
43
|
+
$[4] = tab.url;
|
|
44
|
+
$[5] = t4;
|
|
45
|
+
} else t4 = $[5];
|
|
46
|
+
return t4;
|
|
35
47
|
}
|
|
36
48
|
/**
|
|
37
49
|
* Shared tab-menu presentation over host-resolved browser data.
|
|
@@ -39,80 +51,246 @@ function TabAvatar({ tab }) {
|
|
|
39
51
|
* The browser adapter owns tab lookup and activation. This component owns URL
|
|
40
52
|
* labels, favicon fallbacks, menu state, and async activation feedback.
|
|
41
53
|
*/
|
|
42
|
-
function ConversationTabPicker(
|
|
54
|
+
function ConversationTabPicker(t0) {
|
|
55
|
+
const $ = c(6);
|
|
56
|
+
let props;
|
|
57
|
+
let tabs;
|
|
58
|
+
if ($[0] !== t0) {
|
|
59
|
+
({tabs, ...props} = t0);
|
|
60
|
+
$[0] = t0;
|
|
61
|
+
$[1] = props;
|
|
62
|
+
$[2] = tabs;
|
|
63
|
+
} else {
|
|
64
|
+
props = $[1];
|
|
65
|
+
tabs = $[2];
|
|
66
|
+
}
|
|
43
67
|
if (tabs.length === 0) return null;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
68
|
+
let t1;
|
|
69
|
+
if ($[3] !== props || $[4] !== tabs) {
|
|
70
|
+
t1 = /* @__PURE__ */ jsx(ConversationTabPickerMenu, {
|
|
71
|
+
tabs,
|
|
72
|
+
...props
|
|
73
|
+
});
|
|
74
|
+
$[3] = props;
|
|
75
|
+
$[4] = tabs;
|
|
76
|
+
$[5] = t1;
|
|
77
|
+
} else t1 = $[5];
|
|
78
|
+
return t1;
|
|
48
79
|
}
|
|
49
|
-
function ConversationTabPickerMenu(
|
|
80
|
+
function ConversationTabPickerMenu(t0) {
|
|
81
|
+
const $ = c(57);
|
|
82
|
+
const { tabs, onSelect, maxVisible: t1, groupLabel: t2 } = t0;
|
|
83
|
+
const maxVisible = t1 === void 0 ? 3 : t1;
|
|
84
|
+
const groupLabel = t2 === void 0 ? "Tabs in this conversation" : t2;
|
|
50
85
|
const [open, setOpen] = React.useState(false);
|
|
51
86
|
const [action, setAction] = React.useState(null);
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
87
|
+
let T0;
|
|
88
|
+
let T1;
|
|
89
|
+
let error;
|
|
90
|
+
let hiddenCount;
|
|
91
|
+
let pending;
|
|
92
|
+
let selectTab;
|
|
93
|
+
let t3;
|
|
94
|
+
let t4;
|
|
95
|
+
let t5;
|
|
96
|
+
let t6;
|
|
97
|
+
let t7;
|
|
98
|
+
let t8;
|
|
99
|
+
let t9;
|
|
100
|
+
if ($[0] !== action || $[1] !== maxVisible || $[2] !== onSelect || $[3] !== open || $[4] !== tabs) {
|
|
101
|
+
const visibleTabs = tabs.slice(0, Math.max(0, maxVisible));
|
|
102
|
+
hiddenCount = tabs.length - visibleTabs.length;
|
|
103
|
+
pending = action && "pending" in action ? action.pending : null;
|
|
104
|
+
error = action && "error" in action ? action.error : null;
|
|
105
|
+
const label = `${tabs.length} controlled ${tabs.length === 1 ? "tab" : "tabs"}`;
|
|
106
|
+
let t10;
|
|
107
|
+
if ($[18] !== onSelect || $[19] !== pending) {
|
|
108
|
+
t10 = async function selectTab(tab) {
|
|
109
|
+
if (pending !== null) return;
|
|
110
|
+
setAction({ pending: tab.id });
|
|
111
|
+
try {
|
|
112
|
+
await onSelect(tab);
|
|
113
|
+
setAction(null);
|
|
114
|
+
setOpen(false);
|
|
115
|
+
} catch (t11) {
|
|
116
|
+
setAction({ error: formatErrorMessage(t11) });
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
$[18] = onSelect;
|
|
120
|
+
$[19] = pending;
|
|
121
|
+
$[20] = t10;
|
|
122
|
+
} else t10 = $[20];
|
|
123
|
+
selectTab = t10;
|
|
124
|
+
T1 = Menu.Root;
|
|
125
|
+
t8 = open;
|
|
126
|
+
t9 = setOpen;
|
|
127
|
+
T0 = Menu.Trigger;
|
|
128
|
+
const t11 = pending !== null;
|
|
129
|
+
const t12 = pending !== null;
|
|
130
|
+
if ($[21] !== t11 || $[22] !== t12) {
|
|
131
|
+
t6 = /* @__PURE__ */ jsx(Button, {
|
|
73
132
|
type: "button",
|
|
74
133
|
variant: "ghost",
|
|
75
134
|
color: "neutral",
|
|
76
135
|
size: "sm",
|
|
136
|
+
disabled: t11,
|
|
137
|
+
focusableWhenDisabled: t12
|
|
138
|
+
});
|
|
139
|
+
$[21] = t11;
|
|
140
|
+
$[22] = t12;
|
|
141
|
+
$[23] = t6;
|
|
142
|
+
} else t6 = $[23];
|
|
143
|
+
t7 = `Show ${label}`;
|
|
144
|
+
t3 = "conversation-tab-picker__marks";
|
|
145
|
+
t4 = "true";
|
|
146
|
+
t5 = visibleTabs.map(_temp);
|
|
147
|
+
$[0] = action;
|
|
148
|
+
$[1] = maxVisible;
|
|
149
|
+
$[2] = onSelect;
|
|
150
|
+
$[3] = open;
|
|
151
|
+
$[4] = tabs;
|
|
152
|
+
$[5] = T0;
|
|
153
|
+
$[6] = T1;
|
|
154
|
+
$[7] = error;
|
|
155
|
+
$[8] = hiddenCount;
|
|
156
|
+
$[9] = pending;
|
|
157
|
+
$[10] = selectTab;
|
|
158
|
+
$[11] = t3;
|
|
159
|
+
$[12] = t4;
|
|
160
|
+
$[13] = t5;
|
|
161
|
+
$[14] = t6;
|
|
162
|
+
$[15] = t7;
|
|
163
|
+
$[16] = t8;
|
|
164
|
+
$[17] = t9;
|
|
165
|
+
} else {
|
|
166
|
+
T0 = $[5];
|
|
167
|
+
T1 = $[6];
|
|
168
|
+
error = $[7];
|
|
169
|
+
hiddenCount = $[8];
|
|
170
|
+
pending = $[9];
|
|
171
|
+
selectTab = $[10];
|
|
172
|
+
t3 = $[11];
|
|
173
|
+
t4 = $[12];
|
|
174
|
+
t5 = $[13];
|
|
175
|
+
t6 = $[14];
|
|
176
|
+
t7 = $[15];
|
|
177
|
+
t8 = $[16];
|
|
178
|
+
t9 = $[17];
|
|
179
|
+
}
|
|
180
|
+
let t10;
|
|
181
|
+
if ($[24] !== hiddenCount) {
|
|
182
|
+
t10 = hiddenCount > 0 ? /* @__PURE__ */ jsxs("span", { children: ["+", hiddenCount] }) : null;
|
|
183
|
+
$[24] = hiddenCount;
|
|
184
|
+
$[25] = t10;
|
|
185
|
+
} else t10 = $[25];
|
|
186
|
+
let t11;
|
|
187
|
+
if ($[26] !== t10 || $[27] !== t3 || $[28] !== t4 || $[29] !== t5) {
|
|
188
|
+
t11 = /* @__PURE__ */ jsxs("span", {
|
|
189
|
+
className: t3,
|
|
190
|
+
"aria-hidden": t4,
|
|
191
|
+
children: [t5, t10]
|
|
192
|
+
});
|
|
193
|
+
$[26] = t10;
|
|
194
|
+
$[27] = t3;
|
|
195
|
+
$[28] = t4;
|
|
196
|
+
$[29] = t5;
|
|
197
|
+
$[30] = t11;
|
|
198
|
+
} else t11 = $[30];
|
|
199
|
+
let t12;
|
|
200
|
+
if ($[31] !== T0 || $[32] !== t11 || $[33] !== t6 || $[34] !== t7) {
|
|
201
|
+
t12 = /* @__PURE__ */ jsx(T0, {
|
|
202
|
+
render: t6,
|
|
203
|
+
"aria-label": t7,
|
|
204
|
+
children: t11
|
|
205
|
+
});
|
|
206
|
+
$[31] = T0;
|
|
207
|
+
$[32] = t11;
|
|
208
|
+
$[33] = t6;
|
|
209
|
+
$[34] = t7;
|
|
210
|
+
$[35] = t12;
|
|
211
|
+
} else t12 = $[35];
|
|
212
|
+
let t13;
|
|
213
|
+
if ($[36] !== groupLabel) {
|
|
214
|
+
t13 = /* @__PURE__ */ jsx(Menu.GroupLabel, { children: groupLabel });
|
|
215
|
+
$[36] = groupLabel;
|
|
216
|
+
$[37] = t13;
|
|
217
|
+
} else t13 = $[37];
|
|
218
|
+
let t14;
|
|
219
|
+
if ($[38] !== error) {
|
|
220
|
+
t14 = error ? /* @__PURE__ */ jsxs("div", {
|
|
221
|
+
className: "conversation-tab-picker__error",
|
|
222
|
+
role: "alert",
|
|
223
|
+
children: [/* @__PURE__ */ jsx(WarningIcon, {}), error]
|
|
224
|
+
}) : null;
|
|
225
|
+
$[38] = error;
|
|
226
|
+
$[39] = t14;
|
|
227
|
+
} else t14 = $[39];
|
|
228
|
+
let t15;
|
|
229
|
+
if ($[40] !== pending || $[41] !== selectTab || $[42] !== tabs) {
|
|
230
|
+
let t16;
|
|
231
|
+
if ($[44] !== pending || $[45] !== selectTab) {
|
|
232
|
+
t16 = (tab_1) => /* @__PURE__ */ jsxs(Menu.Item, {
|
|
233
|
+
"aria-busy": pending === tab_1.id || void 0,
|
|
234
|
+
closeOnClick: false,
|
|
235
|
+
"data-tab-id": tab_1.id,
|
|
77
236
|
disabled: pending !== null,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
237
|
+
onClick: () => void selectTab(tab_1),
|
|
238
|
+
children: [/* @__PURE__ */ jsx(TabMark, { tab: tab_1 }), /* @__PURE__ */ jsxs("span", {
|
|
239
|
+
className: "conversation-tab-picker__identity sigvelo-truncate-grow",
|
|
240
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
241
|
+
className: "sigvelo-truncate",
|
|
242
|
+
children: tab_1.title ?? tab_1.url ?? `Tab ${tab_1.id}`
|
|
243
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
244
|
+
className: "conversation-tab-picker__domain sigvelo-truncate",
|
|
245
|
+
children: tabDomain(tab_1)
|
|
246
|
+
})]
|
|
247
|
+
})]
|
|
248
|
+
}, tab_1.id);
|
|
249
|
+
$[44] = pending;
|
|
250
|
+
$[45] = selectTab;
|
|
251
|
+
$[46] = t16;
|
|
252
|
+
} else t16 = $[46];
|
|
253
|
+
t15 = tabs.map(t16);
|
|
254
|
+
$[40] = pending;
|
|
255
|
+
$[41] = selectTab;
|
|
256
|
+
$[42] = tabs;
|
|
257
|
+
$[43] = t15;
|
|
258
|
+
} else t15 = $[43];
|
|
259
|
+
let t16;
|
|
260
|
+
if ($[47] !== t13 || $[48] !== t14 || $[49] !== t15) {
|
|
261
|
+
t16 = /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(Menu.Positioner, {
|
|
86
262
|
side: "top",
|
|
87
263
|
align: "start",
|
|
88
264
|
sideOffset: 8,
|
|
89
265
|
children: /* @__PURE__ */ jsx(Menu.Popup, { children: /* @__PURE__ */ jsxs(Menu.Group, { children: [
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
role: "alert",
|
|
94
|
-
children: [/* @__PURE__ */ jsx(WarningIcon, {}), error]
|
|
95
|
-
}) : null,
|
|
96
|
-
tabs.map((tab) => /* @__PURE__ */ jsxs(Menu.Item, {
|
|
97
|
-
"aria-busy": pending === tab.id || void 0,
|
|
98
|
-
closeOnClick: false,
|
|
99
|
-
"data-tab-id": tab.id,
|
|
100
|
-
disabled: pending !== null,
|
|
101
|
-
onClick: () => void selectTab(tab),
|
|
102
|
-
children: [/* @__PURE__ */ jsx(TabAvatar, { tab }), /* @__PURE__ */ jsxs("span", {
|
|
103
|
-
className: "conversation-tab-picker__identity sigvelo-truncate-grow",
|
|
104
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
105
|
-
className: "sigvelo-truncate",
|
|
106
|
-
children: tab.title ?? tab.url ?? `Tab ${tab.id}`
|
|
107
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
108
|
-
className: "conversation-tab-picker__domain sigvelo-truncate",
|
|
109
|
-
children: tabDomain(tab)
|
|
110
|
-
})]
|
|
111
|
-
})]
|
|
112
|
-
}, tab.id))
|
|
266
|
+
t13,
|
|
267
|
+
t14,
|
|
268
|
+
t15
|
|
113
269
|
] }) })
|
|
114
|
-
}) })
|
|
115
|
-
|
|
270
|
+
}) });
|
|
271
|
+
$[47] = t13;
|
|
272
|
+
$[48] = t14;
|
|
273
|
+
$[49] = t15;
|
|
274
|
+
$[50] = t16;
|
|
275
|
+
} else t16 = $[50];
|
|
276
|
+
let t17;
|
|
277
|
+
if ($[51] !== T1 || $[52] !== t12 || $[53] !== t16 || $[54] !== t8 || $[55] !== t9) {
|
|
278
|
+
t17 = /* @__PURE__ */ jsxs(T1, {
|
|
279
|
+
open: t8,
|
|
280
|
+
onOpenChange: t9,
|
|
281
|
+
children: [t12, t16]
|
|
282
|
+
});
|
|
283
|
+
$[51] = T1;
|
|
284
|
+
$[52] = t12;
|
|
285
|
+
$[53] = t16;
|
|
286
|
+
$[54] = t8;
|
|
287
|
+
$[55] = t9;
|
|
288
|
+
$[56] = t17;
|
|
289
|
+
} else t17 = $[56];
|
|
290
|
+
return t17;
|
|
291
|
+
}
|
|
292
|
+
function _temp(tab_0) {
|
|
293
|
+
return /* @__PURE__ */ jsx(TabMark, { tab: tab_0 }, tab_0.id);
|
|
116
294
|
}
|
|
117
295
|
//#endregion
|
|
118
296
|
export { ConversationTabPicker };
|
|
@@ -1,20 +1,47 @@
|
|
|
1
|
-
import { l as WorkspaceAutomationSource, t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
2
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { l as WorkspaceAutomationSource, t as WorkspaceAutomation } from "../../WorkspaceAutomation-C0fghGLi.js";
|
|
2
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-D4Ulsa0-.js";
|
|
3
3
|
import { WorkspaceCorrespondence } from "../agents-sdk/WorkspaceCorrespondence.js";
|
|
4
4
|
import { WorkspacePersonSource } from "../agents-sdk/WorkspacePerson.js";
|
|
5
5
|
import { WorkspaceProjectSource } from "../agents-sdk/WorkspaceProject.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { SkillDescriptor } from "agents/skills";
|
|
8
|
+
//#region src/components/extension/first-run/flow.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* Every screen of the first run, in order. `FirstRunStep` is derived from this
|
|
11
|
+
* list, so a host that persists the step can validate it at its boundary.
|
|
12
|
+
*/
|
|
13
|
+
export declare const firstRunSteps: readonly ["welcome", "sign-in", "model-connection", "chrome-profile", "history", "preparation", "writing", "schedules", "try", "pin", "ask", "ready"];
|
|
14
|
+
/** Every history choice, for a host that persists it. */
|
|
15
|
+
export declare const firstRunHistoryChoices: readonly ["unset", "history", "skip"];
|
|
16
|
+
//#endregion
|
|
8
17
|
//#region src/components/extension/FirstRunSetup.d.ts
|
|
9
18
|
/**
|
|
10
|
-
* A screen of the first run,
|
|
11
|
-
*
|
|
19
|
+
* A screen of the first run, one of `firstRunSteps`. Work is the history
|
|
20
|
+
* choice, then preparation, writing style, schedule approvals, and a trial
|
|
21
|
+
* run, each its own screen.
|
|
12
22
|
*/
|
|
13
|
-
export type FirstRunStep =
|
|
23
|
+
export type FirstRunStep = (typeof firstRunSteps)[number];
|
|
14
24
|
/** Where a sign-in stands: not started, waiting on the provider's page, failed, or done. */
|
|
15
25
|
export type FirstRunSignInStatus = "idle" | "waiting" | "failed" | "done";
|
|
16
|
-
/**
|
|
17
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Whether this Chrome profile’s history may be used to prepare setup
|
|
28
|
+
* suggestions, one of `firstRunHistoryChoices`.
|
|
29
|
+
*/
|
|
30
|
+
export type FirstRunHistoryChoice = (typeof firstRunHistoryChoices)[number];
|
|
31
|
+
/**
|
|
32
|
+
* Where work the agent does during setup stands: `idle` before the host has
|
|
33
|
+
* started it, `working` while it runs, then `done` or `failed`.
|
|
34
|
+
*/
|
|
35
|
+
export type FirstRunWorkStatus = "idle" | "working" | "done" | "failed";
|
|
36
|
+
/** One app or source currently being examined during preparation. */
|
|
37
|
+
export interface FirstRunWorkActivity {
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
/** App artwork, typically an AppIcon.Image. */
|
|
41
|
+
icon?: React.ReactNode;
|
|
42
|
+
description: string;
|
|
43
|
+
status: FirstRunWorkStatus;
|
|
44
|
+
}
|
|
18
45
|
/**
|
|
19
46
|
* Work the agent does during setup. Its rows come from the concept's own
|
|
20
47
|
* query, so they land as the agent writes them, and show without the
|
|
@@ -23,19 +50,45 @@ export type FirstRunWorkStatus = "working" | "done" | "failed";
|
|
|
23
50
|
export interface FirstRunWork<Source> {
|
|
24
51
|
source: Source;
|
|
25
52
|
status: FirstRunWorkStatus;
|
|
26
|
-
/**
|
|
27
|
-
|
|
53
|
+
/** Live source activity from the host. Never inferred from saved result rows. */
|
|
54
|
+
activity?: readonly FirstRunWorkActivity[];
|
|
28
55
|
/** Starts the work again after it failed. */
|
|
29
56
|
onRetry: () => void;
|
|
30
57
|
}
|
|
31
|
-
export type FirstRunWritingStyle = "direct" | "friendly" | "detailed";
|
|
32
|
-
/**
|
|
33
|
-
export type FirstRunSigning = "assistant" | "
|
|
58
|
+
export type FirstRunWritingStyle = "direct" | "friendly" | "detailed" | "formal";
|
|
59
|
+
/** Sign using the current Chrome profile identity or the product’s separate assistant identity. */
|
|
60
|
+
export type FirstRunSigning = "assistant" | "profile";
|
|
61
|
+
/**
|
|
62
|
+
* An OpenAI-compatible model running on this computer, or at another provider
|
|
63
|
+
* reached with the provider's API key. A local model never takes a key.
|
|
64
|
+
*/
|
|
65
|
+
export type FirstRunModelSettings = {
|
|
66
|
+
kind: "local";
|
|
67
|
+
endpoint: string;
|
|
68
|
+
model: string;
|
|
69
|
+
} | {
|
|
70
|
+
kind: "api";
|
|
71
|
+
endpoint: string;
|
|
72
|
+
model: string;
|
|
73
|
+
/** The provider's API key, trimmed. Empty when the provider takes none. */
|
|
74
|
+
apiKey: string;
|
|
75
|
+
};
|
|
76
|
+
/** The host owns discovery, connection checks, and persisted model settings. */
|
|
77
|
+
export interface FirstRunModelConnection {
|
|
78
|
+
value: FirstRunModelSettings;
|
|
79
|
+
connected: boolean;
|
|
80
|
+
/** Save edited settings and invalidate the previous connection check. */
|
|
81
|
+
onChange: (value: FirstRunModelSettings) => void;
|
|
82
|
+
/** Read advertised models. The signal aborts when settings change or the screen closes. */
|
|
83
|
+
onFindModels: (value: FirstRunModelSettings, signal: AbortSignal) => Promise<readonly string[]>;
|
|
84
|
+
/** Verify a response and persist before resolving; honor the signal before persisting. */
|
|
85
|
+
onConnect: (value: FirstRunModelSettings, signal: AbortSignal) => Promise<void>;
|
|
86
|
+
}
|
|
34
87
|
export interface FirstRunWritingAnswer {
|
|
35
88
|
style: FirstRunWritingStyle;
|
|
36
89
|
sign: FirstRunSigning;
|
|
37
90
|
}
|
|
38
|
-
/** One version of the sample email
|
|
91
|
+
/** One version of the sample email, in one style and signed one way. */
|
|
39
92
|
export interface FirstRunWritingSample extends WorkspaceCorrespondence, FirstRunWritingAnswer {}
|
|
40
93
|
export interface FirstRunSetupProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
41
94
|
/** The screen to show. A screen the flow skips shows the next one that applies. */
|
|
@@ -48,49 +101,60 @@ export interface FirstRunSetupProps extends Omit<React.HTMLAttributes<HTMLElemen
|
|
|
48
101
|
brandLogo?: React.ReactNode;
|
|
49
102
|
/** The Chrome profile's email. */
|
|
50
103
|
email?: string;
|
|
104
|
+
/** Whether Chrome is signed in. Defaults to whether an email was supplied. */
|
|
105
|
+
chromeSignedIn?: boolean;
|
|
51
106
|
/** The keyboard shortcut that opens the product, as Chrome shows it. */
|
|
52
107
|
shortcut?: string;
|
|
53
108
|
/** Connecting the model that runs the rest of setup, or choosing another provider. */
|
|
54
109
|
signIn: {
|
|
55
110
|
status: FirstRunSignInStatus;
|
|
111
|
+
/** Starts the provider's sign-in. Never called while `status` is `done`. */
|
|
56
112
|
onSignIn: () => void;
|
|
57
|
-
|
|
113
|
+
/**
|
|
114
|
+
* The person chose the signed-in account while `status` is `done`: make it
|
|
115
|
+
* the model in use again, in place of any other connected model.
|
|
116
|
+
*/
|
|
117
|
+
onUse: () => void;
|
|
58
118
|
};
|
|
59
|
-
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
119
|
+
/** Another provider or local AI, configured within the Connect your AI section. */
|
|
120
|
+
modelConnection: FirstRunModelConnection;
|
|
121
|
+
/** History consent is independent of Chrome sign-in. Hosts must not read history before opting in. */
|
|
122
|
+
history: {
|
|
123
|
+
choice: FirstRunHistoryChoice;
|
|
124
|
+
/**
|
|
125
|
+
* Ask for any access the host needs, record consent, and start
|
|
126
|
+
* history-derived preparation. Resolve `true` once consent is recorded
|
|
127
|
+
* and `choice` reads `"history"`; resolve `false` when it did not happen
|
|
128
|
+
* (access refused, window closed). The choice waits while this is
|
|
129
|
+
* pending, moves to preparation on `true`, and shows the failure on
|
|
130
|
+
* `false` or a rejection. Never called again while pending.
|
|
131
|
+
*/
|
|
132
|
+
onSetUpFromHistory: () => Promise<boolean>;
|
|
133
|
+
/** Skip preparation and stop any ongoing discovery; keep results already prepared. */
|
|
134
|
+
onSkipForNow: () => void;
|
|
66
135
|
};
|
|
67
136
|
/** The projects the agent sets up, one for each thing the person works on. */
|
|
68
137
|
projects: FirstRunWork<WorkspaceProjectSource>;
|
|
69
|
-
/** The people the person talks to most. Shown only
|
|
138
|
+
/** The people the person talks to most. Shown only after history consent. */
|
|
70
139
|
people: FirstRunWork<WorkspacePersonSource>;
|
|
71
|
-
/**
|
|
140
|
+
/** Writing analysis and samples supplied after authorized profile and sent-email analysis. */
|
|
72
141
|
writing: {
|
|
73
142
|
status: FirstRunWorkStatus;
|
|
74
143
|
samples: readonly FirstRunWritingSample[];
|
|
75
|
-
/** The style
|
|
144
|
+
/** The style inferred from the person's sent emails, supplied only after analysis. */
|
|
76
145
|
suggested?: FirstRunWritingStyle;
|
|
77
|
-
/** Saves the
|
|
146
|
+
/** Saves the selected style and signing identity before schedule approvals. */
|
|
78
147
|
onSave: (answer: FirstRunWritingAnswer) => void;
|
|
79
148
|
/** Writes the samples again after it failed. */
|
|
80
149
|
onRetry: () => void;
|
|
81
150
|
};
|
|
82
|
-
/** What the agent should check with the person before doing, in their own words. */
|
|
83
|
-
boundaries: {
|
|
84
|
-
/** Saves the words when the person leaves the screen with any typed. */
|
|
85
|
-
onSave: (text: string) => void;
|
|
86
|
-
};
|
|
87
151
|
/**
|
|
88
152
|
* Automations made from the person's work. With `source.onRun`, the first
|
|
89
153
|
* one that needs no input is offered to try; `source.trace` and
|
|
90
154
|
* `source.onStop` follow that run.
|
|
91
155
|
*/
|
|
92
156
|
automations: FirstRunWork<WorkspaceAutomationSource>;
|
|
93
|
-
/**
|
|
157
|
+
/** Explicit schedule approvals within Work; enabled schedules are summarized at Ready. */
|
|
94
158
|
schedules: {
|
|
95
159
|
list: readonly ThinkSchedule[];
|
|
96
160
|
onChange: (automation: WorkspaceAutomation, enabled: boolean) => Promise<void>;
|
|
@@ -101,17 +165,17 @@ export interface FirstRunSetupProps extends Omit<React.HTMLAttributes<HTMLElemen
|
|
|
101
165
|
}>;
|
|
102
166
|
/** Whether the product is pinned to Chrome's toolbar. Pinning moves on by itself. */
|
|
103
167
|
pinned: boolean;
|
|
104
|
-
/** Opens the
|
|
168
|
+
/** Opens the main surface during preparation or from Ready. Keep host preparation running if setup closes. */
|
|
105
169
|
onOpen: () => void;
|
|
106
170
|
}
|
|
107
171
|
/**
|
|
108
|
-
*
|
|
109
|
-
* model
|
|
110
|
-
* automations from the person's own work,
|
|
172
|
+
* Full-screen first run of the agent, one screen at a time: connect a
|
|
173
|
+
* model, confirm the Chrome profile, choose whether to use history, and set up projects, people, writing, and
|
|
174
|
+
* automations from the person's own work, try
|
|
111
175
|
* an automation, schedule the ones that suggest it, see the skills it wrote,
|
|
112
176
|
* and pin the product. The lists are the product's own rows. Controlled: the
|
|
113
177
|
* host owns `step` and gets each answer as the person leaves its screen;
|
|
114
178
|
* moving between screens animates through React view transitions.
|
|
115
179
|
*/
|
|
116
|
-
export declare function FirstRunSetup({ step, onStepChange, brandName, brandLogo, email, shortcut, signIn,
|
|
180
|
+
export declare function FirstRunSetup({ step, onStepChange, brandName, brandLogo, email, chromeSignedIn, shortcut, signIn, modelConnection, history, projects, people, writing, automations, schedules, skills, pinned, onOpen, className, ...props }: FirstRunSetupProps): React.JSX.Element;
|
|
117
181
|
//#endregion
|