@mcp-b/react-components 0.60.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentActivity-DSObWhDU.d.ts → AgentActivity-DptCj8XQ.d.ts} +2 -2
- package/dist/{AgentChatQueue-CGR4hd7D.d.ts → AgentChatQueue-DG2rGyCI.d.ts} +1 -1
- package/dist/AgentToolRunsContext-Br3jZ6Up.d.ts +74 -0
- package/dist/{Button-ClRxb8tM.d.ts → Button-DIn-0P-0.d.ts} +4 -5
- package/dist/{Card-BPkXIkBz.d.ts → Card-DkGZ3jKQ.d.ts} +7 -1
- package/dist/{CodeBlock-DYp5V_4O.d.ts → CodeBlock-BTkag9ms.d.ts} +1 -1
- package/dist/{CodeBlock-B4K656LO.js → CodeBlock-CNvOYR0Q.js} +1 -1
- package/dist/{EmployeeChrome-QSki0QT4.d.ts → EmployeeChrome-D5x4EM9y.d.ts} +19 -35
- package/dist/{ExecutionBoard-DHfMvKlB.d.ts → ExecutionBoard-DvPGdn4F.d.ts} +2 -2
- package/dist/{ExecutionResult-Wd1sKAvD.js → ExecutionResult-DmC21cll.js} +4 -4
- package/dist/{FileTree-BpCJuvji.js → FileTree-H31EVRv_.js} +1 -1
- package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
- package/dist/{ManagerOffice-BaHSBcSF.js → ManagerOffice-B3X3iZV9.js} +27 -34
- package/dist/{McpConnectorForm-D4bY-lm_.d.ts → McpConnectorForm-BLsQt_er.d.ts} +1 -1
- package/dist/{McpPluginCatalog-2FZDLCeK.d.ts → McpPluginCatalog-SQNOytXQ.d.ts} +2 -2
- package/dist/{Message-CwCqa90H.d.ts → Message-BUedRDN1.d.ts} +2 -2
- package/dist/{MessageScrollerVirtual-DVQeEkNy.d.ts → MessageScrollerVirtual-DxL6XKq9.d.ts} +1 -1
- package/dist/{PromptInput-C3adKglc.d.ts → PromptInput-Dbe6WgWA.d.ts} +1 -1
- package/dist/{ResponsiveSidebarShell-DzBGlRJF.d.ts → ResponsiveSidebarShell-DSAMNDdg.d.ts} +1 -1
- package/dist/{SetupChecklist-BNK2XFaI.js → SetupChecklist-Wo4akaSG.js} +2 -2
- package/dist/{ThinkChatActivity-C4_hPEmb.d.ts → ThinkChatActivity-zZaSsbC-.d.ts} +7 -3
- package/dist/{ThinkChatActivitySummary-ChJ8Iu2T.d.ts → ThinkChatActivitySummary-8MO1VjAJ.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-CPeYVneQ.d.ts → ThinkExecutionRun-DJ2TFDmZ.d.ts} +1 -1
- package/dist/ThinkSchedule-CSuDGrZ9.d.ts +34 -0
- package/dist/{Workspace-iCkXvQRJ.d.ts → Workspace-42LA9Zrb.d.ts} +1 -1
- package/dist/WorkspaceAutomation-CMvICi-p.d.ts +215 -0
- package/dist/{WorkspaceConcept-ByaG-kBq.d.ts → WorkspaceConcept-BjrgGE1w.d.ts} +2 -3
- package/dist/{WorkspaceFile-DkIZKoK6.d.ts → WorkspaceFile-nK2n0i4S.d.ts} +1 -1
- package/dist/{WorkspaceFileView-5SHsjamf.js → WorkspaceFileView-BWI_AJlV.js} +8 -8
- package/dist/{WorkspaceLink-Buo6gKj2.d.ts → WorkspaceLink-C8HH2fMT.d.ts} +1 -0
- package/dist/{WorkspaceMessageResponse-DnsdpaGU.js → WorkspaceMessageResponse-BZ-_I18b.js} +3 -7
- package/dist/agent-tool-runs-DsOp_X2y.js +133 -0
- package/dist/assets/chrome.svg +1 -0
- package/dist/assets/plugins/plugin-github.svg +8 -0
- package/dist/assets/plugins/plugin-gmail.svg +1 -0
- package/dist/assets/plugins/plugin-google-drive.svg +1 -0
- package/dist/assets/plugins/plugin-google.svg +1 -0
- package/dist/assets/plugins/plugin-linear.svg +1 -0
- package/dist/assets/plugins/plugin-notion.svg +25 -0
- package/dist/assets/plugins/plugin-salesforce.svg +31 -0
- package/dist/assets/plugins/plugin-slack.svg +6 -0
- package/dist/chatgpt-sign-in-button-DNchrZHs.js +32 -0
- package/dist/{codex-model-catalog-CFEGgUAj.d.ts → codex-model-catalog-18yO7dln.d.ts} +8 -8
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +5 -4
- package/dist/components/agents-sdk/AgentChat.d.ts +4 -4
- package/dist/components/agents-sdk/AgentChat.js +8 -8
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +5 -5
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
- package/dist/components/agents-sdk/AgentToolRunsContext.js +78 -8
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +4 -3
- package/dist/components/agents-sdk/EmployeeApp.js +2 -2
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
- package/dist/components/agents-sdk/EmployeeChat.js +15 -11
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +53 -35
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +10 -10
- package/dist/components/agents-sdk/EmployeeSchedules.js +39 -39
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +7 -33
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- package/dist/components/agents-sdk/ManagerOffice.d.ts +10 -14
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +3 -3
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +4 -4
- package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +7 -6
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +4 -2
- package/dist/components/agents-sdk/SubagentRunIndicator.js +4 -3
- package/dist/components/agents-sdk/SubagentRunLanes.d.ts +38 -0
- package/dist/components/agents-sdk/SubagentRunLanes.js +160 -0
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -28
- package/dist/components/agents-sdk/SubagentRunPanel.js +145 -190
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
- package/dist/components/agents-sdk/ThinkChat.js +5 -8
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +13 -28
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +4 -4
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
- package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
- package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
- package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +47 -45
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
- package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
- package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
- package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
- package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +2 -2
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
- package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +3 -3
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +12 -4
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +6 -6
- package/dist/components/ai-sdk/Queue.d.ts +1 -1
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
- package/dist/components/extension/ChatGptSignInScreen.js +32 -32
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/extension/FirstRunSetup.d.ts +117 -0
- package/dist/components/extension/FirstRunSetup.js +1175 -0
- package/dist/components/foundations/AlertDialog.d.ts +1 -1
- package/dist/components/foundations/AppIcon.d.ts +5 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Button.js +1 -1
- package/dist/components/foundations/Card.d.ts +1 -1
- package/dist/components/foundations/Card.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/DescriptionList.d.ts +3 -1
- package/dist/components/foundations/DescriptionList.js +2 -1
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/LinkButton.d.ts +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/Popover.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +2 -4
- package/dist/components/foundations/Toggle.js +3 -7
- package/dist/components/foundations/ToggleGroup.d.ts +3 -5
- package/dist/components/foundations/ToggleGroup.js +5 -17
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +3 -3
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.d.ts +2 -2
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +3 -3
- package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
- package/dist/components/nanites/AgentToolDetail.js +4 -4
- package/dist/connected-app-drafts-B9i69bkj.js +283 -0
- package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
- package/dist/{copy-button-BsmxSSeD.js → copy-button-z20VEXRF.js} +1 -1
- package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
- package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
- package/dist/{icons-Cn3vWZRs.js → icons-Yp99gmMC.js} +9 -3
- package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
- package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
- package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
- package/dist/styles/accessibility.css +22 -9
- package/dist/styles/accordion.css +2 -2
- package/dist/styles/activity-header.css +14 -11
- package/dist/styles/activity.css +6 -13
- package/dist/styles/agent-attention.css +0 -23
- package/dist/styles/agent-chat.css +8 -3
- package/dist/styles/agent-connection.css +2 -2
- package/dist/styles/app-icon.css +7 -0
- package/dist/styles/app-top-bar.css +3 -11
- package/dist/styles/approval.css +2 -2
- package/dist/styles/base.css +3 -1
- package/dist/styles/browser-live-screen.css +3 -1
- package/dist/styles/browser-run-panel.css +2 -2
- package/dist/styles/button.css +13 -44
- package/dist/styles/card.css +42 -5
- package/dist/styles/chain-of-thought.css +2 -8
- package/dist/styles/chatgpt-sign-in-screen.css +91 -83
- package/dist/styles/checkbox-group.css +2 -1
- package/dist/styles/checkbox.css +4 -6
- package/dist/styles/code-block.css +2 -1
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-contrast.test.ts +1 -0
- package/dist/styles/combobox.css +5 -9
- package/dist/styles/commit.css +2 -7
- package/dist/styles/composer-link.css +0 -10
- package/dist/styles/connected-app-card.css +32 -32
- package/dist/styles/context-menu.css +2 -2
- package/dist/styles/description-list.css +14 -0
- package/dist/styles/execution-board.css +1 -1
- package/dist/styles/execution-result.css +161 -0
- package/dist/styles/file-tree.css +5 -9
- package/dist/styles/first-run-setup.css +751 -0
- package/dist/styles/index.css +5 -2
- package/dist/styles/inline-citation.css +2 -10
- package/dist/styles/manager-office.css +16 -43
- package/dist/styles/marker.css +2 -2
- package/dist/styles/media-preview-card.css +2 -7
- package/dist/styles/message-scroller.css +3 -2
- package/dist/styles/model-selector.css +19 -15
- package/dist/styles/navigation-menu.css +4 -4
- package/dist/styles/number-field.css +2 -3
- package/dist/styles/preview-card.css +2 -2
- package/dist/styles/prompt-input.css +5 -15
- package/dist/styles/queue.css +2 -7
- package/dist/styles/radio.css +4 -6
- package/dist/styles/recipes.css +25 -52
- package/dist/styles/resizable-side-panel.css +3 -2
- package/dist/styles/responsive-sidebar-shell.css +1 -6
- package/dist/styles/scroll-area.css +3 -2
- package/dist/styles/scrollbars.css +2 -0
- package/dist/styles/search-field.css +1 -2
- package/dist/styles/slider.css +4 -5
- package/dist/styles/sources.css +2 -7
- package/dist/styles/stepper.css +4 -4
- package/dist/styles/streamdown.css +8 -1
- package/dist/styles/subagent-run.css +123 -12
- package/dist/styles/switch.css +4 -7
- package/dist/styles/tabs.css +5 -4
- package/dist/styles/task.css +2 -7
- package/dist/styles/test-results.css +2 -7
- package/dist/styles/theme-mode-control.css +0 -6
- package/dist/styles/think-chat-activity.css +0 -8
- package/dist/styles/think-execution-status.css +1 -1
- package/dist/styles/think-execution-workbench.css +3 -3
- package/dist/styles/think-full-app.css +3 -2
- package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
- package/dist/styles/toggle-group.css +9 -6
- package/dist/styles/toggle.css +23 -15
- package/dist/styles/toolbar.css +0 -6
- package/dist/styles/workspace-automation.css +233 -0
- package/dist/styles/workspace-concepts.css +18 -412
- package/dist/styles/workspace-entity-card.css +146 -0
- package/dist/styles/workspace-explorer.css +4 -3
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/utils/mcp-server-catalog.d.ts +2 -2
- package/dist/utils/mcp-server-catalog.js +108 -21
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/{workspace-assets-RD6IhOyh.js → workspace-assets-Dq5toMQc.js} +34 -38
- package/dist/workspace-concept-panel-CxZfmFkP.js +66 -0
- package/dist/workspace-concept-panel-KpMmznB_.d.ts +21 -0
- package/dist/{workspace-delete-CrNGUuBp.js → workspace-delete-CoB0l6ZU.js} +2 -1
- package/dist/workspace-entity-card-2TC3RPKh.d.ts +7 -0
- package/dist/workspace-entity-card-B1aV-jBj.js +61 -0
- package/dist/workspace-person-BSgvRjZE.d.ts +24 -0
- package/dist/workspace-person-BVkYb3dv.js +116 -0
- package/package.json +2 -2
- package/dist/AgentToolRunsContext-DniwGn96.d.ts +0 -18
- package/dist/Correspondent-ANkZHGEa.d.ts +0 -60
- package/dist/ThinkRoutine-DoZjbzyn.d.ts +0 -41
- package/dist/WorkspaceConceptPanel-D21iRsWm.js +0 -23
- package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +0 -239
- package/dist/WorkspaceMessageResponse-D8FGgIQU.d.ts +0 -39
- package/dist/components/agents-sdk/SubagentRunList.d.ts +0 -17
- package/dist/components/agents-sdk/SubagentRunList.js +0 -26
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +0 -2
- package/dist/components/agents-sdk/ThinkRoutine.js +0 -9
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +0 -42
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +0 -25
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +0 -19
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +0 -97
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +0 -59
- package/dist/components/agents-sdk/ThinkRoutineForm.js +0 -744
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +0 -15
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +0 -52
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceExecution.js +0 -843
- package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +0 -36
- package/dist/components/agents-sdk/WorkspaceUserScript.js +0 -153
- package/dist/components/ai-sdk/Correspondent.d.ts +0 -2
- package/dist/components/ai-sdk/Correspondent.js +0 -145
- package/dist/styles/correspondent.css +0 -73
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MessageTimestamp, C as MessageCopyActionProps, D as MessageResponse, E as MessageProps, M as MessageToolbar, N as MessageToolbarProps, O as MessageResponseProps, S as MessageCopyAction, T as MessageMetaProps, _ as MessageBranchProps, a as MessageActionsProps, b as MessageContent, c as MessageBranch, d as MessageBranchNext, f as MessageBranchNextProps, g as MessageBranchPreviousProps, h as MessageBranchPrevious, i as MessageActions, j as MessageTimestampProps, k as MessageRole, l as MessageBranchContent, m as MessageBranchPageProps, n as MessageAction, o as MessageAttachment, p as MessageBranchPage, r as MessageActionProps, s as MessageAttachmentProps, t as Message, u as MessageBranchContentProps, v as MessageBranchSelector, w as MessageMeta, x as MessageContentProps, y as MessageBranchSelectorProps } from "../../Message-
|
|
1
|
+
import { A as MessageTimestamp, C as MessageCopyActionProps, D as MessageResponse, E as MessageProps, M as MessageToolbar, N as MessageToolbarProps, O as MessageResponseProps, S as MessageCopyAction, T as MessageMetaProps, _ as MessageBranchProps, a as MessageActionsProps, b as MessageContent, c as MessageBranch, d as MessageBranchNext, f as MessageBranchNextProps, g as MessageBranchPreviousProps, h as MessageBranchPrevious, i as MessageActions, j as MessageTimestampProps, k as MessageRole, l as MessageBranchContent, m as MessageBranchPageProps, n as MessageAction, o as MessageAttachment, p as MessageBranchPage, r as MessageActionProps, s as MessageAttachmentProps, t as Message, u as MessageBranchContentProps, v as MessageBranchSelector, w as MessageMeta, x as MessageContentProps, y as MessageBranchSelectorProps } from "../../Message-BUedRDN1.js";
|
|
2
2
|
export { Message, MessageAction, MessageActionProps, MessageActions, MessageActionsProps, MessageAttachment, MessageAttachmentProps, MessageBranch, MessageBranchContent, MessageBranchContentProps, MessageBranchNext, MessageBranchNextProps, MessageBranchPage, MessageBranchPageProps, MessageBranchPrevious, MessageBranchPreviousProps, MessageBranchProps, MessageBranchSelector, MessageBranchSelectorProps, MessageContent, MessageContentProps, MessageCopyAction, MessageCopyActionProps, MessageMeta, MessageMetaProps, MessageProps, MessageResponse, MessageResponseProps, MessageRole, MessageTimestamp, MessageTimestampProps, MessageToolbar, MessageToolbarProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { parseComposerHref } from "../../utils/composer-link.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import {
|
|
3
|
+
import { C as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-Yp99gmMC.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
|
-
import { t as CopyButton } from "../../copy-button-BsmxSSeD.js";
|
|
7
6
|
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
8
7
|
import { n as clamp } from "../../format-CWaZEp5o.js";
|
|
9
8
|
import { ComposerLink } from "./ComposerLink.js";
|
|
9
|
+
import { t as CopyButton } from "../../copy-button-z20VEXRF.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { cjk } from "@streamdown/cjk";
|
|
@@ -81,7 +81,7 @@ const streamdownPlugins = {
|
|
|
81
81
|
cjk,
|
|
82
82
|
code
|
|
83
83
|
};
|
|
84
|
-
function MessageResponseLink({ href, children, ...props }) {
|
|
84
|
+
function MessageResponseLink({ href, children, node: _node, ...props }) {
|
|
85
85
|
return href && parseComposerHref(href) ? /* @__PURE__ */ jsx(ComposerLink, {
|
|
86
86
|
href,
|
|
87
87
|
children
|
|
@@ -92,8 +92,16 @@ function MessageResponseLink({ href, children, ...props }) {
|
|
|
92
92
|
children
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
+
/** A markdown image, marked like Streamdown's own so component images keep their styles. */
|
|
96
|
+
function MessageResponseImage({ alt = "", node: _node, ...props }) {
|
|
97
|
+
return /* @__PURE__ */ jsx("img", {
|
|
98
|
+
alt,
|
|
99
|
+
"data-streamdown": "image",
|
|
100
|
+
...props
|
|
101
|
+
});
|
|
102
|
+
}
|
|
95
103
|
const messageResponseComponents = {
|
|
96
|
-
img:
|
|
104
|
+
img: MessageResponseImage,
|
|
97
105
|
a: MessageResponseLink
|
|
98
106
|
};
|
|
99
107
|
const MessageResponse = React.memo(function MessageResponse({ className, components, ...props }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../../Button-
|
|
1
|
+
import { r as ButtonProps } from "../../Button-DIn-0P-0.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
|
|
4
4
|
//#region src/components/ai-sdk/MessageScroller.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
5
5
|
import "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as VirtualMessageScroller, r as VirtualMessageScrollerProps, t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-
|
|
1
|
+
import { n as VirtualMessageScroller, r as VirtualMessageScrollerProps, t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-DxL6XKq9.js";
|
|
2
2
|
export { VirtualMessageScrollAnchor, VirtualMessageScroller, VirtualMessageScrollerProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Popover } from "../foundations/Popover.js";
|
|
4
4
|
import { t as ProgressRing } from "../../progress-ring-L2bbF0ji.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PromptInputProviderProps, A as PromptInputContextItem, B as PromptInputHeader, C as PromptInputButtonProps, Ct as composerLinksToReferences, D as PromptInputCommandDefinition, E as PromptInputCommandComposerProps, F as PromptInputDictationProps, G as PromptInputHoverCardProps, H as PromptInputHoverCard, I as PromptInputFooter, J as PromptInputMessage, K as PromptInputHoverCardTrigger, L as PromptInputFooterEnd, M as PromptInputContextSelectorProps, N as PromptInputControllerProps, O as PromptInputCommandTrigger, P as PromptInputDictation, Q as PromptInputProvider, R as PromptInputFooterEndProps, S as PromptInputButton, St as TooltipSide, T as PromptInputCommandComposer, Tt as usePromptInputController, U as PromptInputHoverCardContent, V as PromptInputHeaderProps, W as PromptInputHoverCardContentProps, X as PromptInputPermissionSelectorProps, Y as PromptInputPermissionSelector, Z as PromptInputProps, _ as PromptInputAttachmentProps, _t as PromptInputTooltipConfig, a as PromptInputActionAddAttachmentsProps, at as PromptInputTabBodyProps, b as PromptInputBody, bt as PromptInputVoiceInput, c as PromptInputActionMenu, ct as PromptInputTabLabel, d as PromptInputActionMenuItem, dt as PromptInputTabsList, et as PromptInputReference, f as PromptInputActionMenuItemProps, ft as PromptInputTabsListProps, g as PromptInputAttachment, gt as PromptInputToolsProps, h as PromptInputActionMenuTriggerProps, ht as PromptInputTools, i as PromptInputActionAddAttachments, it as PromptInputTabBody, j as PromptInputContextSelector, k as PromptInputContextAction, l as PromptInputActionMenuContent, lt as PromptInputTabLabelProps, m as PromptInputActionMenuTrigger, mt as PromptInputTextareaProps, n as PermissionMode, nt as PromptInputSubmitProps, o as PromptInputActionAddScreenshot, ot as PromptInputTabItem, p as PromptInputActionMenuProps, pt as PromptInputTextarea, q as PromptInputHoverCardTriggerProps, r as PromptInput, rt as PromptInputTab, s as PromptInputActionAddScreenshotProps, st as PromptInputTabItemProps, t as AttachmentsContext, tt as PromptInputSubmit, u as PromptInputActionMenuContentProps, ut as PromptInputTabProps, v as PromptInputAttachments, vt as PromptInputTray, w as PromptInputButtonTooltip, wt as usePromptInputAttachments, x as PromptInputBodyProps, xt as TextInputContext, y as PromptInputAttachmentsProps, yt as PromptInputTrayProps, z as PromptInputFooterProps } from "../../PromptInput-
|
|
1
|
+
import { $ as PromptInputProviderProps, A as PromptInputContextItem, B as PromptInputHeader, C as PromptInputButtonProps, Ct as composerLinksToReferences, D as PromptInputCommandDefinition, E as PromptInputCommandComposerProps, F as PromptInputDictationProps, G as PromptInputHoverCardProps, H as PromptInputHoverCard, I as PromptInputFooter, J as PromptInputMessage, K as PromptInputHoverCardTrigger, L as PromptInputFooterEnd, M as PromptInputContextSelectorProps, N as PromptInputControllerProps, O as PromptInputCommandTrigger, P as PromptInputDictation, Q as PromptInputProvider, R as PromptInputFooterEndProps, S as PromptInputButton, St as TooltipSide, T as PromptInputCommandComposer, Tt as usePromptInputController, U as PromptInputHoverCardContent, V as PromptInputHeaderProps, W as PromptInputHoverCardContentProps, X as PromptInputPermissionSelectorProps, Y as PromptInputPermissionSelector, Z as PromptInputProps, _ as PromptInputAttachmentProps, _t as PromptInputTooltipConfig, a as PromptInputActionAddAttachmentsProps, at as PromptInputTabBodyProps, b as PromptInputBody, bt as PromptInputVoiceInput, c as PromptInputActionMenu, ct as PromptInputTabLabel, d as PromptInputActionMenuItem, dt as PromptInputTabsList, et as PromptInputReference, f as PromptInputActionMenuItemProps, ft as PromptInputTabsListProps, g as PromptInputAttachment, gt as PromptInputToolsProps, h as PromptInputActionMenuTriggerProps, ht as PromptInputTools, i as PromptInputActionAddAttachments, it as PromptInputTabBody, j as PromptInputContextSelector, k as PromptInputContextAction, l as PromptInputActionMenuContent, lt as PromptInputTabLabelProps, m as PromptInputActionMenuTrigger, mt as PromptInputTextareaProps, n as PermissionMode, nt as PromptInputSubmitProps, o as PromptInputActionAddScreenshot, ot as PromptInputTabItem, p as PromptInputActionMenuProps, pt as PromptInputTextarea, q as PromptInputHoverCardTriggerProps, r as PromptInput, rt as PromptInputTab, s as PromptInputActionAddScreenshotProps, st as PromptInputTabItemProps, t as AttachmentsContext, tt as PromptInputSubmit, u as PromptInputActionMenuContentProps, ut as PromptInputTabProps, v as PromptInputAttachments, vt as PromptInputTray, w as PromptInputButtonTooltip, wt as usePromptInputAttachments, x as PromptInputBodyProps, xt as TextInputContext, y as PromptInputAttachmentsProps, yt as PromptInputTrayProps, z as PromptInputFooterProps } from "../../PromptInput-Dbe6WgWA.js";
|
|
2
2
|
export { AttachmentsContext, PermissionMode, PromptInput, PromptInputActionAddAttachments, PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuContentProps, PromptInputActionMenuItem, PromptInputActionMenuItemProps, PromptInputActionMenuProps, PromptInputActionMenuTrigger, PromptInputActionMenuTriggerProps, PromptInputAttachment, PromptInputAttachmentProps, PromptInputAttachments, PromptInputAttachmentsProps, PromptInputBody, PromptInputBodyProps, PromptInputButton, PromptInputButtonProps, PromptInputButtonTooltip, PromptInputCommandComposer, PromptInputCommandComposerProps, PromptInputCommandDefinition, PromptInputCommandTrigger, PromptInputContextAction, PromptInputContextItem, PromptInputContextSelector, PromptInputContextSelectorProps, PromptInputControllerProps, PromptInputDictation, PromptInputDictationProps, PromptInputFooter, PromptInputFooterEnd, PromptInputFooterEndProps, PromptInputFooterProps, PromptInputHeader, PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, PromptInputHoverCardContentProps, PromptInputHoverCardProps, PromptInputHoverCardTrigger, PromptInputHoverCardTriggerProps, PromptInputMessage, PromptInputPermissionSelector, PromptInputPermissionSelectorProps, PromptInputProps, PromptInputProvider, PromptInputProviderProps, PromptInputReference, PromptInputSubmit, PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, PromptInputTabBodyProps, PromptInputTabItem, PromptInputTabItemProps, PromptInputTabLabel, PromptInputTabLabelProps, PromptInputTabProps, PromptInputTabsList, PromptInputTabsListProps, PromptInputTextarea, PromptInputTextareaProps, PromptInputTools, PromptInputToolsProps, PromptInputTooltipConfig, PromptInputTray, PromptInputTrayProps, PromptInputVoiceInput, TextInputContext, TooltipSide, composerLinksToReferences, usePromptInputAttachments, usePromptInputController };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { composerTriggerMatch, parseComposerLinks, replaceComposerTrigger } from "../../utils/composer-link.js";
|
|
2
2
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as SquareIcon, C as FileIcon, F as MicrophoneIcon, L as MonitorIcon, W as PlusIcon, Z as SpinnerIcon, a as ArrowUpIcon, ct as WrenchIcon, d as CheckIcon, et as StopIcon, f as ChevronDownIcon, lt as XIcon, st as WarningIcon, w as FolderIcon, z as PaperclipIcon } from "../../icons-Yp99gmMC.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
+
import { Autocomplete } from "../foundations/Autocomplete.js";
|
|
6
|
+
import { Kbd } from "../foundations/Kbd.js";
|
|
7
|
+
import { Menu } from "../foundations/Menu.js";
|
|
8
|
+
import { PreviewCard } from "../foundations/PreviewCard.js";
|
|
9
|
+
import { Tabs } from "../foundations/Tabs.js";
|
|
5
10
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
6
11
|
import { IconButton } from "../foundations/IconButton.js";
|
|
7
12
|
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
8
13
|
import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-CWaZEp5o.js";
|
|
9
14
|
import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
|
|
10
15
|
import { ComposerLink } from "./ComposerLink.js";
|
|
11
|
-
import { Autocomplete } from "../foundations/Autocomplete.js";
|
|
12
|
-
import { Kbd } from "../foundations/Kbd.js";
|
|
13
|
-
import { Menu } from "../foundations/Menu.js";
|
|
14
|
-
import { PreviewCard } from "../foundations/PreviewCard.js";
|
|
15
|
-
import { Tabs } from "../foundations/Tabs.js";
|
|
16
16
|
import { PromptInputComposerEditor } from "./PromptInputComposerEditor.js";
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../../Button-
|
|
1
|
+
import { r as ButtonProps } from "../../Button-DIn-0P-0.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
3
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
4
4
|
import * as React from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
4
3
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
4
|
+
import { C as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
|
|
5
5
|
import { Button } from "../foundations/Button.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Z as SpinnerIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "./Activity.js";
|
|
4
4
|
import { MessageResponse } from "./Message.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { k as LinkIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Sources.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { C as FileIcon, J as SearchIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Task.tsx
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
//#region src/components/extension/ChatGptSignInScreen.d.ts
|
|
3
|
+
/** An app-owned alternative to signing in, offered below the sign-in control. */
|
|
3
4
|
export interface ChatGptSignInSecondaryAction {
|
|
5
|
+
/** Visible text of the alternative, e.g. "Set up a custom model endpoint". */
|
|
4
6
|
label: React.ReactNode;
|
|
7
|
+
/** Called when the person chooses the alternative. */
|
|
5
8
|
onSelect: () => void;
|
|
9
|
+
/** Keeps the alternative visible but unavailable. */
|
|
6
10
|
disabled?: boolean;
|
|
7
11
|
}
|
|
8
12
|
export interface ChatGptSignInScreenProps extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -11,11 +15,16 @@ export interface ChatGptSignInScreenProps extends React.HTMLAttributes<HTMLEleme
|
|
|
11
15
|
* puts the built-in button in its error color.
|
|
12
16
|
*/
|
|
13
17
|
error?: React.ReactNode;
|
|
14
|
-
/** Main heading shown
|
|
18
|
+
/** Main heading shown under the mark. The screen's one larger title. */
|
|
15
19
|
title?: string;
|
|
20
|
+
/** One short line under the title that says what the product is. */
|
|
21
|
+
description?: React.ReactNode;
|
|
16
22
|
/** Brand name displayed in the footer. */
|
|
17
23
|
brandName?: string;
|
|
18
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Mark shown above the title, arriving once when the screen first renders.
|
|
26
|
+
* An `img` or `svg` mark is drawn at 128 × 128 whatever its intrinsic size.
|
|
27
|
+
*/
|
|
19
28
|
brandLogo?: React.ReactNode;
|
|
20
29
|
/** Optional app-owned alternative rendered in the shared full-screen layout. */
|
|
21
30
|
secondaryAction?: ChatGptSignInSecondaryAction;
|
|
@@ -33,8 +42,12 @@ export interface ChatGptSignInScreenProps extends React.HTMLAttributes<HTMLEleme
|
|
|
33
42
|
/** Called when the user clicks the sign-in action. Omit to hide the built-in action. */
|
|
34
43
|
onSignIn?: () => void;
|
|
35
44
|
}
|
|
36
|
-
/**
|
|
37
|
-
|
|
45
|
+
/**
|
|
46
|
+
* First-run screen that introduces the product and connects a model: the
|
|
47
|
+
* brand mark, a title and one-line description, the sign-in control, and an
|
|
48
|
+
* optional alternative. The footer stays pinned while the content scrolls.
|
|
49
|
+
*/
|
|
50
|
+
export declare function ChatGptSignInScreen({ busy, control, description, error, label, title, brandName, brandLogo, className, onSignIn, secondaryAction, ref, ...props }: ChatGptSignInScreenProps & {
|
|
38
51
|
/** Ref forwarded to the component's rendered root element. */
|
|
39
52
|
ref?: React.Ref<HTMLElement>;
|
|
40
53
|
}): React.JSX.Element;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { t as
|
|
3
|
+
import { t as ChatGptSignInButton } from "../../chatgpt-sign-in-button-DNchrZHs.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
//#region src/components/extension/ChatGptSignInScreen.tsx
|
|
8
|
-
/**
|
|
9
|
-
|
|
7
|
+
/**
|
|
8
|
+
* First-run screen that introduces the product and connects a model: the
|
|
9
|
+
* brand mark, a title and one-line description, the sign-in control, and an
|
|
10
|
+
* optional alternative. The footer stays pinned while the content scrolls.
|
|
11
|
+
*/
|
|
12
|
+
function ChatGptSignInScreen({ busy = false, control, description, error, label = "Sign in with ChatGPT", title = "Meet Rook", brandName = "SigVelo", brandLogo = /* @__PURE__ */ jsx("img", {
|
|
10
13
|
src: new URL("../../assets/sigvelo-logo.svg", import.meta.url).href,
|
|
11
14
|
alt: "",
|
|
12
|
-
width:
|
|
13
|
-
height:
|
|
15
|
+
width: 128,
|
|
16
|
+
height: 128
|
|
14
17
|
}), className, onSignIn, secondaryAction, ref, ...props }) {
|
|
15
18
|
return /* @__PURE__ */ jsxs("main", {
|
|
16
19
|
ref,
|
|
@@ -25,30 +28,23 @@ function ChatGptSignInScreen({ busy = false, control, error, label = "Sign in wi
|
|
|
25
28
|
children: [
|
|
26
29
|
/* @__PURE__ */ jsxs("div", {
|
|
27
30
|
className: "chatgpt-sign-in__brand",
|
|
28
|
-
children: [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
children: [
|
|
32
|
+
brandLogo ? /* @__PURE__ */ jsx("span", {
|
|
33
|
+
className: "chatgpt-sign-in__brand-mark",
|
|
34
|
+
children: brandLogo
|
|
35
|
+
}) : null,
|
|
36
|
+
/* @__PURE__ */ jsx("h1", { children: title }),
|
|
37
|
+
description ? /* @__PURE__ */ jsx("p", {
|
|
38
|
+
className: "chatgpt-sign-in__description",
|
|
39
|
+
children: description
|
|
40
|
+
}) : null
|
|
41
|
+
]
|
|
32
42
|
}),
|
|
33
|
-
control ?? (onSignIn ? /* @__PURE__ */
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
className: "chatgpt-sign-in__button",
|
|
39
|
-
"data-busy": busy ? "true" : void 0,
|
|
40
|
-
disabled: busy,
|
|
41
|
-
onClick: onSignIn,
|
|
42
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
43
|
-
className: "chatgpt-sign-in__button-icon",
|
|
44
|
-
children: busy ? /* @__PURE__ */ jsx(SpinnerIcon, { size: 16 }) : /* @__PURE__ */ jsx(ProviderLogo, {
|
|
45
|
-
provider: "openai",
|
|
46
|
-
className: "chatgpt-sign-in__logo"
|
|
47
|
-
})
|
|
48
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
49
|
-
className: "chatgpt-sign-in__button-label",
|
|
50
|
-
children: label
|
|
51
|
-
})]
|
|
43
|
+
control ?? (onSignIn ? /* @__PURE__ */ jsx(ChatGptSignInButton, {
|
|
44
|
+
busy,
|
|
45
|
+
failed: Boolean(error),
|
|
46
|
+
label,
|
|
47
|
+
onClick: onSignIn
|
|
52
48
|
}) : null),
|
|
53
49
|
error ? /* @__PURE__ */ jsx("p", {
|
|
54
50
|
role: "alert",
|
|
@@ -56,9 +52,13 @@ function ChatGptSignInScreen({ busy = false, control, error, label = "Sign in wi
|
|
|
56
52
|
children: error
|
|
57
53
|
}) : null
|
|
58
54
|
]
|
|
59
|
-
}), secondaryAction ? /* @__PURE__ */
|
|
55
|
+
}), secondaryAction ? /* @__PURE__ */ jsxs("div", {
|
|
60
56
|
className: "chatgpt-sign-in__secondary-action",
|
|
61
|
-
children: /* @__PURE__ */ jsx(
|
|
57
|
+
children: [control || onSignIn ? /* @__PURE__ */ jsx("span", {
|
|
58
|
+
className: "chatgpt-sign-in__separator",
|
|
59
|
+
"aria-hidden": "true",
|
|
60
|
+
children: "or"
|
|
61
|
+
}) : null, /* @__PURE__ */ jsx(Button, {
|
|
62
62
|
type: "button",
|
|
63
63
|
variant: "ghost",
|
|
64
64
|
color: "neutral",
|
|
@@ -66,7 +66,7 @@ function ChatGptSignInScreen({ busy = false, control, error, label = "Sign in wi
|
|
|
66
66
|
disabled: secondaryAction.disabled,
|
|
67
67
|
onClick: secondaryAction.onSelect,
|
|
68
68
|
children: secondaryAction.label
|
|
69
|
-
})
|
|
69
|
+
})]
|
|
70
70
|
}) : null]
|
|
71
71
|
}), /* @__PURE__ */ jsx("footer", {
|
|
72
72
|
className: "chatgpt-sign-in__footer",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as MenuProps } from "../../Menu-FA4P6KrA.js";
|
|
2
|
-
import { i as CodexModel } from "../../codex-model-catalog-
|
|
2
|
+
import { i as CodexModel } from "../../codex-model-catalog-18yO7dln.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/extension/CodexModelSelector.d.ts
|
|
5
5
|
type ModelId<ModelT extends CodexModel> = ModelT["id"];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon, q as RefreshIcon } from "../../icons-Yp99gmMC.js";
|
|
3
|
+
import { Menu } from "../foundations/Menu.js";
|
|
3
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
5
|
import { c as titleCase } from "../../format-CWaZEp5o.js";
|
|
5
|
-
import { Menu } from "../foundations/Menu.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/extension/CodexModelSelector.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { st as WarningIcon } from "../../icons-Yp99gmMC.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
|
-
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
4
3
|
import { Menu } from "../foundations/Menu.js";
|
|
4
|
+
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
5
5
|
import { Avatar } from "../foundations/Avatar.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { l as WorkspaceAutomationSource, t as WorkspaceAutomation } from "../../WorkspaceAutomation-CMvICi-p.js";
|
|
2
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.js";
|
|
3
|
+
import { WorkspaceCorrespondence } from "../agents-sdk/WorkspaceCorrespondence.js";
|
|
4
|
+
import { WorkspacePersonSource } from "../agents-sdk/WorkspacePerson.js";
|
|
5
|
+
import { WorkspaceProjectSource } from "../agents-sdk/WorkspaceProject.js";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { SkillDescriptor } from "agents/skills";
|
|
8
|
+
//#region src/components/extension/FirstRunSetup.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* A screen of the first run, in order. `schedule-<n>` asks about the nth
|
|
11
|
+
* automation that suggests a schedule.
|
|
12
|
+
*/
|
|
13
|
+
export type FirstRunStep = "welcome" | "sign-in" | "who" | "on-device" | "google" | "projects" | "people" | "style" | "signing" | "boundaries" | "automations" | "try" | `schedule-${number}` | "skills" | "pin" | "ask" | "ready";
|
|
14
|
+
/** Where a sign-in stands: not started, waiting on the provider's page, failed, or done. */
|
|
15
|
+
export type FirstRunSignInStatus = "idle" | "waiting" | "failed" | "done";
|
|
16
|
+
/** Where work the agent does during setup stands. */
|
|
17
|
+
export type FirstRunWorkStatus = "working" | "done" | "failed";
|
|
18
|
+
/**
|
|
19
|
+
* Work the agent does during setup. Its rows come from the concept's own
|
|
20
|
+
* query, so they land as the agent writes them, and show without the
|
|
21
|
+
* panel's actions.
|
|
22
|
+
*/
|
|
23
|
+
export interface FirstRunWork<Source> {
|
|
24
|
+
source: Source;
|
|
25
|
+
status: FirstRunWorkStatus;
|
|
26
|
+
/** Ends the work early, keeping what it made so far. */
|
|
27
|
+
onStop?: () => void;
|
|
28
|
+
/** Starts the work again after it failed. */
|
|
29
|
+
onRetry: () => void;
|
|
30
|
+
}
|
|
31
|
+
export type FirstRunWritingStyle = "direct" | "friendly" | "detailed";
|
|
32
|
+
/** Whose name goes on what the agent writes: its own, as the person's assistant, or the person's. */
|
|
33
|
+
export type FirstRunSigning = "assistant" | "you";
|
|
34
|
+
export interface FirstRunWritingAnswer {
|
|
35
|
+
style: FirstRunWritingStyle;
|
|
36
|
+
sign: FirstRunSigning;
|
|
37
|
+
}
|
|
38
|
+
/** One version of the sample email: in one style, signed one way. */
|
|
39
|
+
export interface FirstRunWritingSample extends WorkspaceCorrespondence, FirstRunWritingAnswer {}
|
|
40
|
+
export interface FirstRunSetupProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
|
|
41
|
+
/** The screen to show. A screen the flow skips shows the next one that applies. */
|
|
42
|
+
step: FirstRunStep;
|
|
43
|
+
/** Moves to another screen. Called inside a transition, so the move animates. */
|
|
44
|
+
onStepChange: (step: FirstRunStep) => void;
|
|
45
|
+
/** Product name used throughout the copy. */
|
|
46
|
+
brandName?: string;
|
|
47
|
+
/** Product mark. An `img` or `svg` is drawn at each place's own size. */
|
|
48
|
+
brandLogo?: React.ReactNode;
|
|
49
|
+
/** The Chrome profile's email. */
|
|
50
|
+
email?: string;
|
|
51
|
+
/** The keyboard shortcut that opens the product, as Chrome shows it. */
|
|
52
|
+
shortcut?: string;
|
|
53
|
+
/** Connecting the model that runs the rest of setup, or choosing another provider. */
|
|
54
|
+
signIn: {
|
|
55
|
+
status: FirstRunSignInStatus;
|
|
56
|
+
onSignIn: () => void;
|
|
57
|
+
onOtherProvider: () => void;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Connecting the Google account. Only `done` counts as connected: people and
|
|
61
|
+
* writing style come from email, so declining skips both.
|
|
62
|
+
*/
|
|
63
|
+
google: {
|
|
64
|
+
status: FirstRunSignInStatus;
|
|
65
|
+
onSignIn: () => void;
|
|
66
|
+
};
|
|
67
|
+
/** The projects the agent sets up, one for each thing the person works on. */
|
|
68
|
+
projects: FirstRunWork<WorkspaceProjectSource>;
|
|
69
|
+
/** The people the person talks to most. Shown only once Google is connected. */
|
|
70
|
+
people: FirstRunWork<WorkspacePersonSource>;
|
|
71
|
+
/** The same email written in each style, signed each way, and the pick to save. */
|
|
72
|
+
writing: {
|
|
73
|
+
status: FirstRunWorkStatus;
|
|
74
|
+
samples: readonly FirstRunWritingSample[];
|
|
75
|
+
/** The style closest to how the person writes, preselected. */
|
|
76
|
+
suggested?: FirstRunWritingStyle;
|
|
77
|
+
/** Saves the picks when the person leaves the signing screen. */
|
|
78
|
+
onSave: (answer: FirstRunWritingAnswer) => void;
|
|
79
|
+
/** Writes the samples again after it failed. */
|
|
80
|
+
onRetry: () => void;
|
|
81
|
+
};
|
|
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
|
+
/**
|
|
88
|
+
* Automations made from the person's work. With `source.onRun`, the first
|
|
89
|
+
* one that needs no input is offered to try; `source.trace` and
|
|
90
|
+
* `source.onStop` follow that run.
|
|
91
|
+
*/
|
|
92
|
+
automations: FirstRunWork<WorkspaceAutomationSource>;
|
|
93
|
+
/** Each automation with a `schedule` is offered as one; the enabled ones end the flow. */
|
|
94
|
+
schedules: {
|
|
95
|
+
list: readonly ThinkSchedule[];
|
|
96
|
+
onChange: (automation: WorkspaceAutomation, enabled: boolean) => Promise<void>;
|
|
97
|
+
};
|
|
98
|
+
/** The skills the agent wrote during setup, from the person and their recurring work. */
|
|
99
|
+
skills: FirstRunWork<{
|
|
100
|
+
list: readonly SkillDescriptor[];
|
|
101
|
+
}>;
|
|
102
|
+
/** Whether the product is pinned to Chrome's toolbar. Pinning moves on by itself. */
|
|
103
|
+
pinned: boolean;
|
|
104
|
+
/** Opens the product's main surface from the last screen. */
|
|
105
|
+
onOpen: () => void;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The first run of a Chrome extension agent, one screen at a time: connect a
|
|
109
|
+
* model and Google, watch the agent set up projects, people, writing, and
|
|
110
|
+
* automations from the person's own work, say what it should check first, try
|
|
111
|
+
* an automation, schedule the ones that suggest it, see the skills it wrote,
|
|
112
|
+
* and pin the product. The lists are the product's own rows. Controlled: the
|
|
113
|
+
* host owns `step` and gets each answer as the person leaves its screen;
|
|
114
|
+
* moving between screens animates through React view transitions.
|
|
115
|
+
*/
|
|
116
|
+
export declare function FirstRunSetup({ step, onStepChange, brandName, brandLogo, email, shortcut, signIn, google, projects, people, writing, boundaries, automations, schedules, skills, pinned, onOpen, className, ...props }: FirstRunSetupProps): React.JSX.Element;
|
|
117
|
+
//#endregion
|