@mcp-b/react-components 0.62.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-D5x4EM9y.d.ts → EmployeeChrome-kegSASjC.d.ts} +15 -8
- 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-CMvICi-p.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/{codex-model-catalog-18yO7dln.d.ts → codex-model-catalog-CFEGgUAj.d.ts} +8 -8
- package/dist/command-search-1fjmCBBo.js +34 -0
- package/dist/components/agents-sdk/AIProviderDialog.d.ts +53 -0
- package/dist/components/agents-sdk/AIProviderDialog.js +902 -0
- 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 +1120 -393
- 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 +165 -22
- 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 +109 -47
- package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +504 -103
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +1383 -522
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeSchedules.js +283 -66
- 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 +143 -36
- 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 +331 -116
- package/dist/components/agents-sdk/McpConnectorForm.js +321 -101
- package/dist/components/agents-sdk/McpPluginCatalog.js +698 -250
- 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 +543 -159
- package/dist/components/agents-sdk/ModelSelector.d.ts +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +1154 -256
- package/dist/components/agents-sdk/PromptInputApproval.js +116 -28
- 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 +359 -131
- package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
- package/dist/components/agents-sdk/ThinkChat.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkChat.js +321 -129
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +307 -101
- 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 +1389 -407
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +220 -46
- 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 +506 -125
- package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
- package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
- package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +3 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +72 -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 +364 -133
- 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 +312 -91
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +1324 -481
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +435 -215
- 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 +1496 -419
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1320 -529
- 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 +268 -86
- 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 +119 -59
- 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 +194 -69
- 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.d.ts +6 -1
- package/dist/components/ai-sdk/AgentChatTurnError.js +77 -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 +738 -179
- 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 +2738 -797
- 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 +793 -155
- 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 +2 -2
- package/dist/components/extension/CodexModelSelector.js +468 -147
- 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 +3833 -1011
- 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 +83 -18
- package/dist/components/foundations/CheckboxGroup.js +266 -58
- package/dist/components/foundations/Collapsible.d.ts +2 -1
- package/dist/components/foundations/Collapsible.js +130 -27
- 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 +4 -4
- package/dist/components/foundations/ToggleGroup.js +216 -60
- 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 +34 -7
- 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 +210 -85
- package/dist/components/general-purpose/PricingUsageCalculator.js +233 -83
- 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.d.ts +10 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +238 -74
- 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 +67 -24
- 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 +237 -57
- 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/ai-provider-dialog.css +46 -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 +15 -6
- 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 -132
- 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/codex-model-catalog.d.ts +1 -1
- 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/model-provider-error.d.ts +17 -0
- package/dist/utils/model-provider-error.js +76 -0
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/workspace-assets-DdtnBDU3.js +213 -0
- package/dist/{workspace-concept-panel-KpMmznB_.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-CNvOYR0Q.js +0 -318
- package/dist/ExecutionResult-DmC21cll.js +0 -279
- package/dist/FileTree-H31EVRv_.js +0 -323
- package/dist/ManagerOffice-B3X3iZV9.js +0 -1129
- package/dist/SetupChecklist-Wo4akaSG.js +0 -78
- package/dist/ThinkSchedule-CSuDGrZ9.d.ts +0 -34
- package/dist/WorkspaceFileView-BWI_AJlV.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-DNchrZHs.js +0 -32
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +0 -31
- package/dist/components/agents-sdk/ModelEndpointDialog.js +0 -141
- package/dist/connected-app-drafts-B9i69bkj.js +0 -283
- package/dist/copy-button-z20VEXRF.js +0 -45
- package/dist/icons-Yp99gmMC.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-Dq5toMQc.js +0 -107
- package/dist/workspace-concept-panel-CxZfmFkP.js +0 -66
- package/dist/workspace-delete-CoB0l6ZU.js +0 -81
- package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
//#region src/components/agents-sdk/WorkspaceNavigationRestoration.tsx
|
|
@@ -7,71 +8,106 @@ const WorkspaceNavigationRestorationContext = React.createContext(null);
|
|
|
7
8
|
* This lets a full application share restoration between chat and files while
|
|
8
9
|
* keeping a standalone WorkspaceExplorer self-contained.
|
|
9
10
|
*/
|
|
10
|
-
function WorkspaceNavigationRestorationBoundary(
|
|
11
|
+
function WorkspaceNavigationRestorationBoundary(t0) {
|
|
12
|
+
const $ = c(4);
|
|
13
|
+
const { children } = t0;
|
|
11
14
|
const parent = React.use(WorkspaceNavigationRestorationContext);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
15
|
+
let t1;
|
|
16
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
17
|
+
t1 = /* @__PURE__ */ new Map();
|
|
18
|
+
$[0] = t1;
|
|
19
|
+
} else t1 = $[0];
|
|
20
|
+
const restorationsRef = React.useRef(t1);
|
|
21
|
+
let t2;
|
|
22
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
23
|
+
t2 = {
|
|
24
|
+
get: (entryKey) => restorationsRef.current.get(entryKey),
|
|
25
|
+
recordFocus: (entryKey_0, destination, scope) => {
|
|
26
|
+
const current = restorationsRef.current.get(entryKey_0);
|
|
27
|
+
restorationsRef.current.set(entryKey_0, {
|
|
28
|
+
...current,
|
|
29
|
+
focusDestination: destination,
|
|
30
|
+
focusScope: scope
|
|
31
|
+
});
|
|
32
|
+
},
|
|
33
|
+
recordScroll: (entryKey_1, scrollTop) => {
|
|
34
|
+
const current_0 = restorationsRef.current.get(entryKey_1);
|
|
35
|
+
restorationsRef.current.set(entryKey_1, {
|
|
36
|
+
...current_0,
|
|
37
|
+
scrollTop
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
$[1] = t2;
|
|
42
|
+
} else t2 = $[1];
|
|
43
|
+
const localValue = t2;
|
|
31
44
|
if (parent) return children;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
45
|
+
let t3;
|
|
46
|
+
if ($[2] !== children) {
|
|
47
|
+
t3 = /* @__PURE__ */ jsx(WorkspaceNavigationRestorationContext, {
|
|
48
|
+
value: localValue,
|
|
49
|
+
children
|
|
50
|
+
});
|
|
51
|
+
$[2] = children;
|
|
52
|
+
$[3] = t3;
|
|
53
|
+
} else t3 = $[3];
|
|
54
|
+
return t3;
|
|
36
55
|
}
|
|
37
56
|
function findDestinationLink(root, destination) {
|
|
38
57
|
if (destination.kind !== "file") return null;
|
|
39
58
|
return [...root.querySelectorAll("[data-workspace-link=\"file\"]")].find((candidate) => candidate.dataset.workspacePath === destination.path && (candidate.dataset.workspaceDestinationFragment || null) === destination.fragment) ?? null;
|
|
40
59
|
}
|
|
41
60
|
/** Restores a link in a named surface, including when that surface renders asynchronously. */
|
|
42
|
-
function WorkspaceNavigationFocusRestorer(
|
|
61
|
+
function WorkspaceNavigationFocusRestorer(t0) {
|
|
62
|
+
const $ = c(6);
|
|
63
|
+
const { entryKey, rootRef, scope } = t0;
|
|
43
64
|
const restoration = useWorkspaceNavigationRestoration();
|
|
44
65
|
const handledEntryRef = React.useRef(null);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
let t1;
|
|
67
|
+
let t2;
|
|
68
|
+
if ($[0] !== entryKey || $[1] !== restoration || $[2] !== rootRef || $[3] !== scope) {
|
|
69
|
+
t1 = () => {
|
|
70
|
+
if (handledEntryRef.current === entryKey) return;
|
|
71
|
+
const saved = restoration?.get(entryKey);
|
|
72
|
+
if (!saved?.focusDestination || saved.focusScope !== scope) return;
|
|
73
|
+
const focusDestination = saved.focusDestination;
|
|
74
|
+
const root = rootRef.current;
|
|
75
|
+
if (!root) return;
|
|
76
|
+
const restore = () => {
|
|
77
|
+
const surface = [...root.matches("[data-workspace-restoration-scope]") ? [root] : [], ...root.querySelectorAll("[data-workspace-restoration-scope]")].find((candidate) => candidate.dataset.workspaceRestorationScope === scope);
|
|
78
|
+
const target = surface ? findDestinationLink(surface, focusDestination) : null;
|
|
79
|
+
if (!target) return false;
|
|
80
|
+
target.focus({ preventScroll: true });
|
|
81
|
+
handledEntryRef.current = entryKey;
|
|
82
|
+
return true;
|
|
83
|
+
};
|
|
84
|
+
if (restore()) return;
|
|
85
|
+
const observer = new MutationObserver(() => {
|
|
86
|
+
if (restore()) observer.disconnect();
|
|
87
|
+
});
|
|
88
|
+
observer.observe(root, {
|
|
89
|
+
childList: true,
|
|
90
|
+
subtree: true
|
|
91
|
+
});
|
|
92
|
+
return () => observer.disconnect();
|
|
59
93
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
94
|
+
t2 = [
|
|
95
|
+
entryKey,
|
|
96
|
+
restoration,
|
|
97
|
+
rootRef,
|
|
98
|
+
scope
|
|
99
|
+
];
|
|
100
|
+
$[0] = entryKey;
|
|
101
|
+
$[1] = restoration;
|
|
102
|
+
$[2] = rootRef;
|
|
103
|
+
$[3] = scope;
|
|
104
|
+
$[4] = t1;
|
|
105
|
+
$[5] = t2;
|
|
106
|
+
} else {
|
|
107
|
+
t1 = $[4];
|
|
108
|
+
t2 = $[5];
|
|
109
|
+
}
|
|
110
|
+
React.useEffect(t1, t2);
|
|
75
111
|
return null;
|
|
76
112
|
}
|
|
77
113
|
function useWorkspaceNavigationRestoration() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-
|
|
2
|
-
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-
|
|
1
|
+
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-D46cYerS.js";
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-BDTBISNO.js";
|
|
3
3
|
import { t as WorkspacePerson } from "../../workspace-person-BSgvRjZE.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
//#region src/components/agents-sdk/WorkspacePerson.d.ts
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
1
|
+
import { pt as UsersIcon } from "../../icons-nLTnB9kd.js";
|
|
2
|
+
import { n as OutboundLink } from "../../workspace-assets-DdtnBDU3.js";
|
|
3
|
+
import { n as useConceptEntry, t as WorkspaceConceptPanel } from "../../workspace-concept-panel-VkjvFCY_.js";
|
|
4
|
+
import { t as WorkspaceEntityCard } from "../../workspace-entity-card-9YcsNiqU.js";
|
|
5
|
+
import { n as peopleListItems, t as PersonAvatar } from "../../workspace-person-ZwPqu5TX.js";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
6
7
|
import * as React from "react";
|
|
7
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
//#region src/components/agents-sdk/WorkspacePerson.tsx
|
|
@@ -48,53 +49,183 @@ function personHandle(uri) {
|
|
|
48
49
|
label: nanp ? `(${nanp[1]}) ${nanp[2]}-${nanp[3]}` : number
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
|
-
function PersonCard(
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
52
|
+
function PersonCard(t0) {
|
|
53
|
+
const $ = c(27);
|
|
54
|
+
let person;
|
|
55
|
+
let props;
|
|
56
|
+
let source;
|
|
57
|
+
if ($[0] !== t0) {
|
|
58
|
+
({person, source, ...props} = t0);
|
|
59
|
+
$[0] = t0;
|
|
60
|
+
$[1] = person;
|
|
61
|
+
$[2] = props;
|
|
62
|
+
$[3] = source;
|
|
63
|
+
} else {
|
|
64
|
+
person = $[1];
|
|
65
|
+
props = $[2];
|
|
66
|
+
source = $[3];
|
|
67
|
+
}
|
|
68
|
+
let t1;
|
|
69
|
+
if ($[4] !== person.handles) {
|
|
70
|
+
t1 = person.handles?.map(personHandle).find(Boolean);
|
|
71
|
+
$[4] = person.handles;
|
|
72
|
+
$[5] = t1;
|
|
73
|
+
} else t1 = $[5];
|
|
74
|
+
const handle = t1;
|
|
75
|
+
let t2;
|
|
76
|
+
if ($[6] !== person.name) {
|
|
77
|
+
t2 = /* @__PURE__ */ jsx(PersonAvatar, { name: person.name });
|
|
78
|
+
$[6] = person.name;
|
|
79
|
+
$[7] = t2;
|
|
80
|
+
} else t2 = $[7];
|
|
81
|
+
const t3 = person.name;
|
|
82
|
+
let t4;
|
|
83
|
+
if ($[8] !== person.path || $[9] !== source) {
|
|
84
|
+
t4 = source.onOpen ? () => source.onOpen?.(person.path) : void 0;
|
|
85
|
+
$[8] = person.path;
|
|
86
|
+
$[9] = source;
|
|
87
|
+
$[10] = t4;
|
|
88
|
+
} else t4 = $[10];
|
|
89
|
+
let t5;
|
|
90
|
+
if ($[11] !== person.relationship) {
|
|
91
|
+
let t6;
|
|
92
|
+
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
93
|
+
t6 = /^(?:your|my)\s+/iu;
|
|
94
|
+
$[13] = t6;
|
|
95
|
+
} else t6 = $[13];
|
|
96
|
+
t5 = person.relationship.replace(t6, "");
|
|
97
|
+
$[11] = person.relationship;
|
|
98
|
+
$[12] = t5;
|
|
99
|
+
} else t5 = $[12];
|
|
100
|
+
const t6 = person.formality ? ` · ${FORMALITY_LABEL[person.formality]}` : null;
|
|
101
|
+
const t7 = handle ? " · " : null;
|
|
102
|
+
let t8;
|
|
103
|
+
if ($[14] !== handle) {
|
|
104
|
+
t8 = handle ? /* @__PURE__ */ jsx(OutboundLink, {
|
|
105
|
+
href: handle.href,
|
|
106
|
+
children: handle.label
|
|
107
|
+
}) : null;
|
|
108
|
+
$[14] = handle;
|
|
109
|
+
$[15] = t8;
|
|
110
|
+
} else t8 = $[15];
|
|
111
|
+
let t9;
|
|
112
|
+
if ($[16] !== t5 || $[17] !== t6 || $[18] !== t7 || $[19] !== t8) {
|
|
113
|
+
t9 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
60
114
|
"Your ",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
]
|
|
69
|
-
|
|
115
|
+
t5,
|
|
116
|
+
t6,
|
|
117
|
+
t7,
|
|
118
|
+
t8
|
|
119
|
+
] });
|
|
120
|
+
$[16] = t5;
|
|
121
|
+
$[17] = t6;
|
|
122
|
+
$[18] = t7;
|
|
123
|
+
$[19] = t8;
|
|
124
|
+
$[20] = t9;
|
|
125
|
+
} else t9 = $[20];
|
|
126
|
+
let t10;
|
|
127
|
+
if ($[21] !== person.name || $[22] !== props || $[23] !== t2 || $[24] !== t4 || $[25] !== t9) {
|
|
128
|
+
t10 = /* @__PURE__ */ jsx(WorkspaceEntityCard, {
|
|
129
|
+
...props,
|
|
130
|
+
"data-slot": "workspace-person-card",
|
|
131
|
+
icon: t2,
|
|
132
|
+
name: t3,
|
|
133
|
+
onOpen: t4,
|
|
134
|
+
meta: t9
|
|
135
|
+
});
|
|
136
|
+
$[21] = person.name;
|
|
137
|
+
$[22] = props;
|
|
138
|
+
$[23] = t2;
|
|
139
|
+
$[24] = t4;
|
|
140
|
+
$[25] = t9;
|
|
141
|
+
$[26] = t10;
|
|
142
|
+
} else t10 = $[26];
|
|
143
|
+
return t10;
|
|
70
144
|
}
|
|
71
145
|
/** Compact inline card for one queried person file. */
|
|
72
|
-
function WorkspacePersonFile(
|
|
146
|
+
function WorkspacePersonFile(t0) {
|
|
147
|
+
const $ = c(10);
|
|
148
|
+
let path;
|
|
149
|
+
let props;
|
|
150
|
+
let source;
|
|
151
|
+
let t1;
|
|
152
|
+
if ($[0] !== t0) {
|
|
153
|
+
({fallback: t1, path, source, ...props} = t0);
|
|
154
|
+
$[0] = t0;
|
|
155
|
+
$[1] = path;
|
|
156
|
+
$[2] = props;
|
|
157
|
+
$[3] = source;
|
|
158
|
+
$[4] = t1;
|
|
159
|
+
} else {
|
|
160
|
+
path = $[1];
|
|
161
|
+
props = $[2];
|
|
162
|
+
source = $[3];
|
|
163
|
+
t1 = $[4];
|
|
164
|
+
}
|
|
165
|
+
const fallback = t1 === void 0 ? null : t1;
|
|
73
166
|
const person = useConceptEntry(source, path);
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
person,
|
|
77
|
-
|
|
78
|
-
|
|
167
|
+
let t2;
|
|
168
|
+
if ($[5] !== fallback || $[6] !== person || $[7] !== props || $[8] !== source) {
|
|
169
|
+
t2 = person ? /* @__PURE__ */ jsx(PersonCard, {
|
|
170
|
+
...props,
|
|
171
|
+
person,
|
|
172
|
+
source
|
|
173
|
+
}) : fallback;
|
|
174
|
+
$[5] = fallback;
|
|
175
|
+
$[6] = person;
|
|
176
|
+
$[7] = props;
|
|
177
|
+
$[8] = source;
|
|
178
|
+
$[9] = t2;
|
|
179
|
+
} else t2 = $[9];
|
|
180
|
+
return t2;
|
|
79
181
|
}
|
|
80
182
|
/**
|
|
81
183
|
* Workbench list of queried people, by name. Once anyone has a circle, the list
|
|
82
184
|
* splits into Family, Team, Friends, and Others, skipping empty sections. Same
|
|
83
185
|
* card as the inline placement.
|
|
84
186
|
*/
|
|
85
|
-
function WorkspacePeoplePanel(
|
|
187
|
+
function WorkspacePeoplePanel(t0) {
|
|
188
|
+
const $ = c(10);
|
|
189
|
+
let props;
|
|
190
|
+
let source;
|
|
191
|
+
if ($[0] !== t0) {
|
|
192
|
+
({source, ...props} = t0);
|
|
193
|
+
$[0] = t0;
|
|
194
|
+
$[1] = props;
|
|
195
|
+
$[2] = source;
|
|
196
|
+
} else {
|
|
197
|
+
props = $[1];
|
|
198
|
+
source = $[2];
|
|
199
|
+
}
|
|
86
200
|
const groupId = React.useId();
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
person
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
201
|
+
let t1;
|
|
202
|
+
if ($[3] !== groupId || $[4] !== source) {
|
|
203
|
+
t1 = (t2) => {
|
|
204
|
+
return peopleListItems(t2 === void 0 ? [] : t2, groupId, (person) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(PersonCard, {
|
|
205
|
+
flat: true,
|
|
206
|
+
person,
|
|
207
|
+
source
|
|
208
|
+
}) }, person.path));
|
|
209
|
+
};
|
|
210
|
+
$[3] = groupId;
|
|
211
|
+
$[4] = source;
|
|
212
|
+
$[5] = t1;
|
|
213
|
+
} else t1 = $[5];
|
|
214
|
+
let t2;
|
|
215
|
+
if ($[6] !== props || $[7] !== source.queryOptions || $[8] !== t1) {
|
|
216
|
+
t2 = /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
|
|
217
|
+
"data-slot": "workspace-people-panel",
|
|
218
|
+
...props,
|
|
219
|
+
item: peopleWorkbenchItem,
|
|
220
|
+
queryOptions: source.queryOptions,
|
|
221
|
+
children: t1
|
|
222
|
+
});
|
|
223
|
+
$[6] = props;
|
|
224
|
+
$[7] = source.queryOptions;
|
|
225
|
+
$[8] = t1;
|
|
226
|
+
$[9] = t2;
|
|
227
|
+
} else t2 = $[9];
|
|
228
|
+
return t2;
|
|
98
229
|
}
|
|
99
230
|
//#endregion
|
|
100
231
|
export { WorkspacePeoplePanel, WorkspacePersonFile, peopleWorkbenchItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-
|
|
2
|
-
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-
|
|
1
|
+
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-D46cYerS.js";
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-BDTBISNO.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/WorkspaceProject.d.ts
|
|
5
5
|
export type WorkspaceProjectThreadOrigin = "user" | "schedule" | "messenger";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { V as MessageSquareIcon, f as CalendarIcon, ft as UserIcon, k as FolderIcon } from "../../icons-nLTnB9kd.js";
|
|
2
2
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import "react";
|
|
3
|
+
import { n as OutboundLink, r as WorkspaceComposerLink } from "../../workspace-assets-DdtnBDU3.js";
|
|
4
|
+
import { n as useConceptEntry, t as WorkspaceConceptPanel } from "../../workspace-concept-panel-VkjvFCY_.js";
|
|
5
|
+
import { t as WorkspaceDeleteControl } from "../../workspace-delete-BOY6CMBf.js";
|
|
6
|
+
import { t as WorkspaceEntityCard } from "../../workspace-entity-card-9YcsNiqU.js";
|
|
7
|
+
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/agents-sdk/WorkspaceProject.tsx
|
|
10
10
|
/** The Projects destination in the workbench navigation; the panel's heading and mark. */
|
|
@@ -30,11 +30,32 @@ const ORIGIN_ORDER = [
|
|
|
30
30
|
"messenger"
|
|
31
31
|
];
|
|
32
32
|
/** One labeled run of links. Each child is an `<li>` with its own key. */
|
|
33
|
-
function LinkFact(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
function LinkFact(t0) {
|
|
34
|
+
const $ = c(7);
|
|
35
|
+
const { children, term } = t0;
|
|
36
|
+
let t1;
|
|
37
|
+
if ($[0] !== term) {
|
|
38
|
+
t1 = /* @__PURE__ */ jsx(DescriptionList.Term, { children: term });
|
|
39
|
+
$[0] = term;
|
|
40
|
+
$[1] = t1;
|
|
41
|
+
} else t1 = $[1];
|
|
42
|
+
let t2;
|
|
43
|
+
if ($[2] !== children) {
|
|
44
|
+
t2 = /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx("ul", {
|
|
45
|
+
className: "workspace-entity-card__links",
|
|
46
|
+
children
|
|
47
|
+
}) });
|
|
48
|
+
$[2] = children;
|
|
49
|
+
$[3] = t2;
|
|
50
|
+
} else t2 = $[3];
|
|
51
|
+
let t3;
|
|
52
|
+
if ($[4] !== t1 || $[5] !== t2) {
|
|
53
|
+
t3 = /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [t1, t2] });
|
|
54
|
+
$[4] = t1;
|
|
55
|
+
$[5] = t2;
|
|
56
|
+
$[6] = t3;
|
|
57
|
+
} else t3 = $[6];
|
|
58
|
+
return t3;
|
|
38
59
|
}
|
|
39
60
|
/** The working set, the folder's other files, and threads by origin; nothing when all are empty. */
|
|
40
61
|
function projectFacts(project, source) {
|
|
@@ -83,43 +104,156 @@ function projectFacts(project, source) {
|
|
|
83
104
|
]
|
|
84
105
|
});
|
|
85
106
|
}
|
|
86
|
-
function ProjectCard(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
107
|
+
function ProjectCard(t0) {
|
|
108
|
+
const $ = c(24);
|
|
109
|
+
let project;
|
|
110
|
+
let props;
|
|
111
|
+
let source;
|
|
112
|
+
if ($[0] !== t0) {
|
|
113
|
+
({project, source, ...props} = t0);
|
|
114
|
+
$[0] = t0;
|
|
115
|
+
$[1] = project;
|
|
116
|
+
$[2] = props;
|
|
117
|
+
$[3] = source;
|
|
118
|
+
} else {
|
|
119
|
+
project = $[1];
|
|
120
|
+
props = $[2];
|
|
121
|
+
source = $[3];
|
|
122
|
+
}
|
|
123
|
+
let t1;
|
|
124
|
+
if ($[4] !== project.icon) {
|
|
125
|
+
t1 = project.icon ?? /* @__PURE__ */ jsx(FolderIcon, {});
|
|
126
|
+
$[4] = project.icon;
|
|
127
|
+
$[5] = t1;
|
|
128
|
+
} else t1 = $[5];
|
|
129
|
+
const t2 = project.name;
|
|
130
|
+
let t3;
|
|
131
|
+
if ($[6] !== project.path || $[7] !== source) {
|
|
132
|
+
t3 = source.onOpen ? () => source.onOpen?.(project.path) : void 0;
|
|
133
|
+
$[6] = project.path;
|
|
134
|
+
$[7] = source;
|
|
135
|
+
$[8] = t3;
|
|
136
|
+
} else t3 = $[8];
|
|
137
|
+
const t4 = project.description;
|
|
138
|
+
let t5;
|
|
139
|
+
if ($[9] !== project.name || $[10] !== project.path || $[11] !== source) {
|
|
140
|
+
t5 = source.onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
|
|
95
141
|
name: project.name,
|
|
96
142
|
onDelete: () => source.onDelete?.(project.path)
|
|
97
|
-
}) : void 0
|
|
98
|
-
|
|
99
|
-
|
|
143
|
+
}) : void 0;
|
|
144
|
+
$[9] = project.name;
|
|
145
|
+
$[10] = project.path;
|
|
146
|
+
$[11] = source;
|
|
147
|
+
$[12] = t5;
|
|
148
|
+
} else t5 = $[12];
|
|
149
|
+
let t6;
|
|
150
|
+
if ($[13] !== project || $[14] !== source) {
|
|
151
|
+
t6 = projectFacts(project, source);
|
|
152
|
+
$[13] = project;
|
|
153
|
+
$[14] = source;
|
|
154
|
+
$[15] = t6;
|
|
155
|
+
} else t6 = $[15];
|
|
156
|
+
let t7;
|
|
157
|
+
if ($[16] !== project.description || $[17] !== project.name || $[18] !== props || $[19] !== t1 || $[20] !== t3 || $[21] !== t5 || $[22] !== t6) {
|
|
158
|
+
t7 = /* @__PURE__ */ jsx(WorkspaceEntityCard, {
|
|
159
|
+
...props,
|
|
160
|
+
"data-slot": "workspace-project-card",
|
|
161
|
+
icon: t1,
|
|
162
|
+
name: t2,
|
|
163
|
+
onOpen: t3,
|
|
164
|
+
meta: t4,
|
|
165
|
+
actions: t5,
|
|
166
|
+
detail: t6
|
|
167
|
+
});
|
|
168
|
+
$[16] = project.description;
|
|
169
|
+
$[17] = project.name;
|
|
170
|
+
$[18] = props;
|
|
171
|
+
$[19] = t1;
|
|
172
|
+
$[20] = t3;
|
|
173
|
+
$[21] = t5;
|
|
174
|
+
$[22] = t6;
|
|
175
|
+
$[23] = t7;
|
|
176
|
+
} else t7 = $[23];
|
|
177
|
+
return t7;
|
|
100
178
|
}
|
|
101
179
|
/** Compact inline card for one queried PROJECT.md. Identity plus contents — no status. */
|
|
102
|
-
function WorkspaceProjectFile(
|
|
180
|
+
function WorkspaceProjectFile(t0) {
|
|
181
|
+
const $ = c(10);
|
|
182
|
+
let path;
|
|
183
|
+
let props;
|
|
184
|
+
let source;
|
|
185
|
+
let t1;
|
|
186
|
+
if ($[0] !== t0) {
|
|
187
|
+
({fallback: t1, path, source, ...props} = t0);
|
|
188
|
+
$[0] = t0;
|
|
189
|
+
$[1] = path;
|
|
190
|
+
$[2] = props;
|
|
191
|
+
$[3] = source;
|
|
192
|
+
$[4] = t1;
|
|
193
|
+
} else {
|
|
194
|
+
path = $[1];
|
|
195
|
+
props = $[2];
|
|
196
|
+
source = $[3];
|
|
197
|
+
t1 = $[4];
|
|
198
|
+
}
|
|
199
|
+
const fallback = t1 === void 0 ? null : t1;
|
|
103
200
|
const project = useConceptEntry(source, path);
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
project,
|
|
107
|
-
|
|
108
|
-
}) : fallback;
|
|
109
|
-
}
|
|
110
|
-
/** Workbench list of queried projects. Same card as the inline placement. */
|
|
111
|
-
function WorkspaceProjectsPanel({ source, ...props }) {
|
|
112
|
-
return /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
|
|
113
|
-
"data-slot": "workspace-projects-panel",
|
|
114
|
-
...props,
|
|
115
|
-
item: projectsWorkbenchItem,
|
|
116
|
-
queryOptions: source.queryOptions,
|
|
117
|
-
children: (projects = []) => projects.map((project) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(ProjectCard, {
|
|
118
|
-
flat: true,
|
|
201
|
+
let t2;
|
|
202
|
+
if ($[5] !== fallback || $[6] !== project || $[7] !== props || $[8] !== source) {
|
|
203
|
+
t2 = project ? /* @__PURE__ */ jsx(ProjectCard, {
|
|
204
|
+
...props,
|
|
119
205
|
project,
|
|
120
206
|
source
|
|
121
|
-
})
|
|
122
|
-
|
|
207
|
+
}) : fallback;
|
|
208
|
+
$[5] = fallback;
|
|
209
|
+
$[6] = project;
|
|
210
|
+
$[7] = props;
|
|
211
|
+
$[8] = source;
|
|
212
|
+
$[9] = t2;
|
|
213
|
+
} else t2 = $[9];
|
|
214
|
+
return t2;
|
|
215
|
+
}
|
|
216
|
+
/** Workbench list of queried projects. Same card as the inline placement. */
|
|
217
|
+
function WorkspaceProjectsPanel(t0) {
|
|
218
|
+
const $ = c(9);
|
|
219
|
+
let props;
|
|
220
|
+
let source;
|
|
221
|
+
if ($[0] !== t0) {
|
|
222
|
+
({source, ...props} = t0);
|
|
223
|
+
$[0] = t0;
|
|
224
|
+
$[1] = props;
|
|
225
|
+
$[2] = source;
|
|
226
|
+
} else {
|
|
227
|
+
props = $[1];
|
|
228
|
+
source = $[2];
|
|
229
|
+
}
|
|
230
|
+
let t1;
|
|
231
|
+
if ($[3] !== source) {
|
|
232
|
+
t1 = (t2) => {
|
|
233
|
+
return (t2 === void 0 ? [] : t2).map((project) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(ProjectCard, {
|
|
234
|
+
flat: true,
|
|
235
|
+
project,
|
|
236
|
+
source
|
|
237
|
+
}) }, project.path));
|
|
238
|
+
};
|
|
239
|
+
$[3] = source;
|
|
240
|
+
$[4] = t1;
|
|
241
|
+
} else t1 = $[4];
|
|
242
|
+
let t2;
|
|
243
|
+
if ($[5] !== props || $[6] !== source.queryOptions || $[7] !== t1) {
|
|
244
|
+
t2 = /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
|
|
245
|
+
"data-slot": "workspace-projects-panel",
|
|
246
|
+
...props,
|
|
247
|
+
item: projectsWorkbenchItem,
|
|
248
|
+
queryOptions: source.queryOptions,
|
|
249
|
+
children: t1
|
|
250
|
+
});
|
|
251
|
+
$[5] = props;
|
|
252
|
+
$[6] = source.queryOptions;
|
|
253
|
+
$[7] = t1;
|
|
254
|
+
$[8] = t2;
|
|
255
|
+
} else t2 = $[8];
|
|
256
|
+
return t2;
|
|
123
257
|
}
|
|
124
258
|
//#endregion
|
|
125
259
|
export { WorkspaceProjectFile, WorkspaceProjectsPanel, projectsWorkbenchItem };
|