@mcp-b/react-components 0.60.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentActivity-DSObWhDU.d.ts → AgentActivity-DptCj8XQ.d.ts} +2 -2
- package/dist/{AgentChatQueue-CGR4hd7D.d.ts → AgentChatQueue-DG2rGyCI.d.ts} +1 -1
- package/dist/AgentToolRunsContext-Br3jZ6Up.d.ts +74 -0
- package/dist/{Button-ClRxb8tM.d.ts → Button-DIn-0P-0.d.ts} +4 -5
- package/dist/{Card-BPkXIkBz.d.ts → Card-DkGZ3jKQ.d.ts} +7 -1
- package/dist/{CodeBlock-DYp5V_4O.d.ts → CodeBlock-BTkag9ms.d.ts} +1 -1
- package/dist/{CodeBlock-B4K656LO.js → CodeBlock-CNvOYR0Q.js} +1 -1
- package/dist/{EmployeeChrome-QSki0QT4.d.ts → EmployeeChrome-D3IgFX22.d.ts} +12 -34
- package/dist/{ExecutionBoard-DHfMvKlB.d.ts → ExecutionBoard-DvPGdn4F.d.ts} +2 -2
- package/dist/{ExecutionResult-Wd1sKAvD.js → ExecutionResult-DmC21cll.js} +4 -4
- package/dist/{FileTree-BpCJuvji.js → FileTree-H31EVRv_.js} +1 -1
- package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
- package/dist/{ManagerOffice-BaHSBcSF.js → ManagerOffice-B3X3iZV9.js} +27 -34
- package/dist/{McpConnectorForm-D4bY-lm_.d.ts → McpConnectorForm-BLsQt_er.d.ts} +1 -1
- package/dist/{McpPluginCatalog-2FZDLCeK.d.ts → McpPluginCatalog-SQNOytXQ.d.ts} +2 -2
- package/dist/{Message-CwCqa90H.d.ts → Message-BUedRDN1.d.ts} +2 -2
- package/dist/{MessageScrollerVirtual-DVQeEkNy.d.ts → MessageScrollerVirtual-DxL6XKq9.d.ts} +1 -1
- package/dist/{PromptInput-C3adKglc.d.ts → PromptInput-Dbe6WgWA.d.ts} +1 -1
- package/dist/{ResponsiveSidebarShell-DzBGlRJF.d.ts → ResponsiveSidebarShell-DSAMNDdg.d.ts} +1 -1
- package/dist/{SetupChecklist-BNK2XFaI.js → SetupChecklist-Wo4akaSG.js} +2 -2
- package/dist/{ThinkChatActivity-C4_hPEmb.d.ts → ThinkChatActivity-zZaSsbC-.d.ts} +7 -3
- package/dist/{ThinkChatActivitySummary-ChJ8Iu2T.d.ts → ThinkChatActivitySummary-8MO1VjAJ.d.ts} +1 -1
- package/dist/{ThinkExecutionRun-CPeYVneQ.d.ts → ThinkExecutionRun-DJ2TFDmZ.d.ts} +1 -1
- package/dist/ThinkSchedule-5S834QKW.d.ts +34 -0
- package/dist/{Workspace-iCkXvQRJ.d.ts → Workspace-42LA9Zrb.d.ts} +1 -1
- package/dist/WorkspaceAutomation-B2Pdz_SU.d.ts +215 -0
- package/dist/{WorkspaceConcept-ByaG-kBq.d.ts → WorkspaceConcept-BjrgGE1w.d.ts} +2 -3
- package/dist/{WorkspaceFile-DkIZKoK6.d.ts → WorkspaceFile-nK2n0i4S.d.ts} +1 -1
- package/dist/{WorkspaceFileView-5SHsjamf.js → WorkspaceFileView-BWI_AJlV.js} +8 -8
- package/dist/{WorkspaceLink-Buo6gKj2.d.ts → WorkspaceLink-C8HH2fMT.d.ts} +1 -0
- package/dist/{WorkspaceMessageResponse-DnsdpaGU.js → WorkspaceMessageResponse-BZ-_I18b.js} +3 -7
- package/dist/agent-tool-runs-DsOp_X2y.js +133 -0
- package/dist/assets/chrome.svg +1 -0
- package/dist/assets/plugins/plugin-github.svg +8 -0
- package/dist/assets/plugins/plugin-gmail.svg +1 -0
- package/dist/assets/plugins/plugin-google-drive.svg +1 -0
- package/dist/assets/plugins/plugin-google.svg +1 -0
- package/dist/assets/plugins/plugin-linear.svg +1 -0
- package/dist/assets/plugins/plugin-notion.svg +25 -0
- package/dist/assets/plugins/plugin-salesforce.svg +31 -0
- package/dist/assets/plugins/plugin-slack.svg +6 -0
- package/dist/chatgpt-sign-in-button-DNchrZHs.js +32 -0
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +5 -4
- package/dist/components/agents-sdk/AgentChat.d.ts +4 -4
- package/dist/components/agents-sdk/AgentChat.js +7 -7
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +4 -4
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
- package/dist/components/agents-sdk/AgentToolRunsContext.js +78 -8
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +4 -3
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
- package/dist/components/agents-sdk/EmployeeChat.js +14 -10
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.js +45 -33
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +10 -10
- package/dist/components/agents-sdk/EmployeeSchedules.js +39 -39
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +3 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +7 -33
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- package/dist/components/agents-sdk/ManagerOffice.d.ts +10 -14
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +3 -3
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
- package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +7 -6
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +4 -2
- package/dist/components/agents-sdk/SubagentRunIndicator.js +4 -3
- package/dist/components/agents-sdk/SubagentRunLanes.d.ts +38 -0
- package/dist/components/agents-sdk/SubagentRunLanes.js +160 -0
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -28
- package/dist/components/agents-sdk/SubagentRunPanel.js +145 -190
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
- package/dist/components/agents-sdk/ThinkChat.js +5 -8
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +13 -28
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +4 -4
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
- package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
- package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
- package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +47 -45
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
- package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
- package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
- package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
- package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
- package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
- package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
- package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +1 -1
- package/dist/components/ai-sdk/Artifact.js +2 -2
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
- package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +1 -1
- package/dist/components/ai-sdk/Conversation.js +3 -3
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +12 -4
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +6 -6
- package/dist/components/ai-sdk/Queue.d.ts +1 -1
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
- package/dist/components/extension/ChatGptSignInScreen.js +32 -32
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/extension/FirstRunSetup.d.ts +117 -0
- package/dist/components/extension/FirstRunSetup.js +1175 -0
- package/dist/components/foundations/AlertDialog.d.ts +1 -1
- package/dist/components/foundations/AppIcon.d.ts +5 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Button.js +1 -1
- package/dist/components/foundations/Card.d.ts +1 -1
- package/dist/components/foundations/Card.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/DescriptionList.d.ts +3 -1
- package/dist/components/foundations/DescriptionList.js +2 -1
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/LinkButton.d.ts +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/Popover.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +2 -4
- package/dist/components/foundations/Toggle.js +3 -7
- package/dist/components/foundations/ToggleGroup.d.ts +2 -4
- package/dist/components/foundations/ToggleGroup.js +4 -16
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
- package/dist/components/general-purpose/Commit.d.ts +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +3 -3
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.d.ts +2 -2
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +3 -3
- package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
- package/dist/components/nanites/AgentToolDetail.js +3 -3
- package/dist/connected-app-drafts-B9i69bkj.js +283 -0
- package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
- package/dist/{copy-button-BsmxSSeD.js → copy-button-z20VEXRF.js} +1 -1
- package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
- package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
- package/dist/{icons-Cn3vWZRs.js → icons-Yp99gmMC.js} +9 -3
- package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
- package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
- package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
- package/dist/styles/accessibility.css +22 -9
- package/dist/styles/accordion.css +2 -2
- package/dist/styles/activity-header.css +14 -11
- package/dist/styles/activity.css +6 -13
- package/dist/styles/agent-attention.css +0 -23
- package/dist/styles/agent-chat.css +8 -3
- package/dist/styles/agent-connection.css +2 -2
- package/dist/styles/app-icon.css +7 -0
- package/dist/styles/app-top-bar.css +3 -11
- package/dist/styles/approval.css +2 -2
- package/dist/styles/base.css +3 -1
- package/dist/styles/browser-live-screen.css +3 -1
- package/dist/styles/browser-run-panel.css +2 -2
- package/dist/styles/button.css +13 -44
- package/dist/styles/card.css +42 -5
- package/dist/styles/chain-of-thought.css +2 -8
- package/dist/styles/chatgpt-sign-in-screen.css +91 -83
- package/dist/styles/checkbox-group.css +2 -1
- package/dist/styles/checkbox.css +4 -6
- package/dist/styles/code-block.css +2 -1
- package/dist/styles/codex-model-selector.css +2 -2
- package/dist/styles/collapsible.css +2 -2
- package/dist/styles/color-contrast.test.ts +1 -0
- package/dist/styles/combobox.css +5 -9
- package/dist/styles/commit.css +2 -7
- package/dist/styles/composer-link.css +0 -10
- package/dist/styles/connected-app-card.css +32 -32
- package/dist/styles/context-menu.css +2 -2
- package/dist/styles/description-list.css +14 -0
- package/dist/styles/execution-board.css +1 -1
- package/dist/styles/execution-result.css +161 -0
- package/dist/styles/file-tree.css +5 -9
- package/dist/styles/first-run-setup.css +751 -0
- package/dist/styles/index.css +5 -2
- package/dist/styles/inline-citation.css +2 -10
- package/dist/styles/manager-office.css +16 -43
- package/dist/styles/marker.css +2 -2
- package/dist/styles/media-preview-card.css +2 -7
- package/dist/styles/message-scroller.css +3 -2
- package/dist/styles/model-selector.css +19 -15
- package/dist/styles/navigation-menu.css +4 -4
- package/dist/styles/number-field.css +2 -3
- package/dist/styles/preview-card.css +2 -2
- package/dist/styles/prompt-input.css +5 -15
- package/dist/styles/queue.css +2 -7
- package/dist/styles/radio.css +4 -6
- package/dist/styles/recipes.css +25 -52
- package/dist/styles/resizable-side-panel.css +3 -2
- package/dist/styles/responsive-sidebar-shell.css +1 -6
- package/dist/styles/scroll-area.css +3 -2
- package/dist/styles/scrollbars.css +2 -0
- package/dist/styles/search-field.css +1 -2
- package/dist/styles/slider.css +4 -5
- package/dist/styles/sources.css +2 -7
- package/dist/styles/stepper.css +4 -4
- package/dist/styles/streamdown.css +8 -1
- package/dist/styles/subagent-run.css +123 -12
- package/dist/styles/switch.css +4 -7
- package/dist/styles/tabs.css +5 -4
- package/dist/styles/task.css +2 -7
- package/dist/styles/test-results.css +2 -7
- package/dist/styles/theme-mode-control.css +0 -6
- package/dist/styles/think-chat-activity.css +0 -8
- package/dist/styles/think-execution-status.css +1 -1
- package/dist/styles/think-execution-workbench.css +3 -3
- package/dist/styles/think-full-app.css +3 -2
- package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
- package/dist/styles/toggle-group.css +9 -6
- package/dist/styles/toggle.css +23 -15
- package/dist/styles/toolbar.css +0 -6
- package/dist/styles/workspace-automation.css +233 -0
- package/dist/styles/workspace-concepts.css +18 -412
- package/dist/styles/workspace-entity-card.css +146 -0
- package/dist/styles/workspace-explorer.css +4 -3
- package/dist/utils/mcp-server-catalog.d.ts +2 -2
- package/dist/utils/mcp-server-catalog.js +108 -21
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/{workspace-assets-RD6IhOyh.js → workspace-assets-Dq5toMQc.js} +34 -38
- package/dist/workspace-concept-panel-CxZfmFkP.js +66 -0
- package/dist/workspace-concept-panel-CxuqDi4m.d.ts +21 -0
- package/dist/{workspace-delete-CrNGUuBp.js → workspace-delete-CoB0l6ZU.js} +2 -1
- package/dist/workspace-entity-card-2TC3RPKh.d.ts +7 -0
- package/dist/workspace-entity-card-B1aV-jBj.js +61 -0
- package/dist/workspace-person-BSgvRjZE.d.ts +24 -0
- package/dist/workspace-person-BVkYb3dv.js +116 -0
- package/package.json +2 -2
- package/dist/AgentToolRunsContext-DniwGn96.d.ts +0 -18
- package/dist/Correspondent-ANkZHGEa.d.ts +0 -60
- package/dist/ThinkRoutine-DoZjbzyn.d.ts +0 -41
- package/dist/WorkspaceConceptPanel-D21iRsWm.js +0 -23
- package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +0 -239
- package/dist/WorkspaceMessageResponse-D8FGgIQU.d.ts +0 -39
- package/dist/components/agents-sdk/SubagentRunList.d.ts +0 -17
- package/dist/components/agents-sdk/SubagentRunList.js +0 -26
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +0 -2
- package/dist/components/agents-sdk/ThinkRoutine.js +0 -9
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +0 -42
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +0 -25
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +0 -19
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +0 -97
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +0 -59
- package/dist/components/agents-sdk/ThinkRoutineForm.js +0 -744
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +0 -15
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +0 -52
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceExecution.js +0 -843
- package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +0 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +0 -36
- package/dist/components/agents-sdk/WorkspaceUserScript.js +0 -153
- package/dist/components/ai-sdk/Correspondent.d.ts +0 -2
- package/dist/components/ai-sdk/Correspondent.js +0 -145
- package/dist/styles/correspondent.css +0 -73
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ot as UsersIcon } from "../../icons-Yp99gmMC.js";
|
|
2
|
+
import { r as OutboundLink } from "../../workspace-assets-Dq5toMQc.js";
|
|
3
|
+
import { t as WorkspaceEntityCard } from "../../workspace-entity-card-B1aV-jBj.js";
|
|
4
|
+
import { n as peopleListItems, t as PersonAvatar } from "../../workspace-person-BVkYb3dv.js";
|
|
5
|
+
import { n as useConceptEntry, t as WorkspaceConceptPanel } from "../../workspace-concept-panel-CxZfmFkP.js";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/agents-sdk/WorkspacePerson.tsx
|
|
9
|
+
/** The People destination in the workbench navigation; the panel's heading and mark. */
|
|
10
|
+
const peopleWorkbenchItem = {
|
|
11
|
+
id: "people",
|
|
12
|
+
label: "People",
|
|
13
|
+
description: "Who they are to you and how to write to each.",
|
|
14
|
+
icon: /* @__PURE__ */ jsx(UsersIcon, {})
|
|
15
|
+
};
|
|
16
|
+
const FORMALITY_LABEL = {
|
|
17
|
+
formal: "Formal",
|
|
18
|
+
casual: "Casual"
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Handles are agent-written, so one becomes a link only when its label shows
|
|
22
|
+
* the whole destination: a web page, one bare address, or one E.164 number.
|
|
23
|
+
*/
|
|
24
|
+
function personHandle(uri) {
|
|
25
|
+
let url;
|
|
26
|
+
try {
|
|
27
|
+
url = new URL(uri.trim());
|
|
28
|
+
} catch {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
if (url.protocol === "https:" || url.protocol === "http:") {
|
|
32
|
+
const label = `${url.host.replace(/^www\./u, "")}${url.pathname.replace(/\/$/u, "")}`;
|
|
33
|
+
return {
|
|
34
|
+
href: url.href,
|
|
35
|
+
label
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
if (url.search || url.hash) return null;
|
|
39
|
+
if (url.protocol === "mailto:" && /^[^\s@,;%]+@[^\s@,;%]+$/u.test(url.pathname)) return {
|
|
40
|
+
href: url.href,
|
|
41
|
+
label: url.pathname
|
|
42
|
+
};
|
|
43
|
+
const number = url.protocol === "tel:" ? url.pathname.replace(/[\s().-]/gu, "") : "";
|
|
44
|
+
if (!/^\+[1-9]\d{6,14}$/u.test(number)) return null;
|
|
45
|
+
const nanp = /^\+1(\d{3})(\d{3})(\d{4})$/u.exec(number);
|
|
46
|
+
return {
|
|
47
|
+
href: `tel:${number}`,
|
|
48
|
+
label: nanp ? `(${nanp[1]}) ${nanp[2]}-${nanp[3]}` : number
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function PersonCard({ person, source, ...props }) {
|
|
52
|
+
const handle = person.handles?.map(personHandle).find(Boolean);
|
|
53
|
+
return /* @__PURE__ */ jsx(WorkspaceEntityCard, {
|
|
54
|
+
...props,
|
|
55
|
+
"data-slot": "workspace-person-card",
|
|
56
|
+
icon: /* @__PURE__ */ jsx(PersonAvatar, { name: person.name }),
|
|
57
|
+
name: person.name,
|
|
58
|
+
onOpen: source.onOpen ? () => source.onOpen?.(person.path) : void 0,
|
|
59
|
+
meta: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
60
|
+
"Your ",
|
|
61
|
+
person.relationship.replace(/^(?:your|my)\s+/iu, ""),
|
|
62
|
+
person.formality ? ` · ${FORMALITY_LABEL[person.formality]}` : null,
|
|
63
|
+
handle ? " · " : null,
|
|
64
|
+
handle ? /* @__PURE__ */ jsx(OutboundLink, {
|
|
65
|
+
href: handle.href,
|
|
66
|
+
children: handle.label
|
|
67
|
+
}) : null
|
|
68
|
+
] })
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/** Compact inline card for one queried person file. */
|
|
72
|
+
function WorkspacePersonFile({ fallback = null, path, source, ...props }) {
|
|
73
|
+
const person = useConceptEntry(source, path);
|
|
74
|
+
return person ? /* @__PURE__ */ jsx(PersonCard, {
|
|
75
|
+
...props,
|
|
76
|
+
person,
|
|
77
|
+
source
|
|
78
|
+
}) : fallback;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Workbench list of queried people, by name. Once anyone has a circle, the list
|
|
82
|
+
* splits into Family, Team, Friends, and Others, skipping empty sections. Same
|
|
83
|
+
* card as the inline placement.
|
|
84
|
+
*/
|
|
85
|
+
function WorkspacePeoplePanel({ source, ...props }) {
|
|
86
|
+
const groupId = React.useId();
|
|
87
|
+
return /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
|
|
88
|
+
"data-slot": "workspace-people-panel",
|
|
89
|
+
...props,
|
|
90
|
+
item: peopleWorkbenchItem,
|
|
91
|
+
queryOptions: source.queryOptions,
|
|
92
|
+
children: (people = []) => peopleListItems(people, groupId, (person) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(PersonCard, {
|
|
93
|
+
flat: true,
|
|
94
|
+
person,
|
|
95
|
+
source
|
|
96
|
+
}) }, person.path))
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
export { WorkspacePeoplePanel, WorkspacePersonFile, peopleWorkbenchItem };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-BjrgGE1w.js";
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-CxuqDi4m.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/WorkspaceProject.d.ts
|
|
5
|
-
export type WorkspaceProjectThreadOrigin = "user" | "
|
|
6
|
-
|
|
5
|
+
export type WorkspaceProjectThreadOrigin = "user" | "schedule" | "messenger";
|
|
6
|
+
/** A file in the project's folder. */
|
|
7
|
+
export interface WorkspaceProjectLink {
|
|
7
8
|
path: string;
|
|
8
9
|
label: string;
|
|
9
10
|
}
|
|
@@ -37,70 +38,33 @@ export interface WorkspaceProject {
|
|
|
37
38
|
description?: string;
|
|
38
39
|
/** Brand mark. Defaults to `FolderIcon`. */
|
|
39
40
|
icon?: React.ReactNode;
|
|
40
|
-
|
|
41
|
+
/** Files in the project's folder. The card lists those the working set does not, minus PROJECT.md. */
|
|
42
|
+
files?: readonly WorkspaceProjectLink[];
|
|
41
43
|
/** Explicit groups authored under `## Working set` in PROJECT.md. */
|
|
42
44
|
sections?: readonly WorkspaceProjectSection[];
|
|
43
45
|
threads?: readonly WorkspaceProjectThread[];
|
|
44
46
|
}
|
|
45
|
-
type WorkspaceProjectOpenable = {
|
|
46
|
-
onOpen?: () => void;
|
|
47
|
-
};
|
|
48
|
-
export type WorkspaceProjectFileView = WorkspaceProjectFile & WorkspaceProjectOpenable;
|
|
49
|
-
export type WorkspaceProjectSectionItemView = (Extract<WorkspaceProjectSectionItem, {
|
|
50
|
-
kind: "file";
|
|
51
|
-
}> & WorkspaceProjectOpenable) | Exclude<WorkspaceProjectSectionItem, {
|
|
52
|
-
kind: "file";
|
|
53
|
-
}>;
|
|
54
|
-
export interface WorkspaceProjectSectionView {
|
|
55
|
-
label: string;
|
|
56
|
-
items: readonly WorkspaceProjectSectionItemView[];
|
|
57
|
-
}
|
|
58
|
-
export type WorkspaceProjectThreadView = WorkspaceProjectThread & WorkspaceProjectOpenable;
|
|
59
|
-
/** Data-only project projection hydrated with card actions outside Query. */
|
|
60
|
-
export interface WorkspaceProjectView extends Omit<WorkspaceProject, "files" | "sections" | "threads"> {
|
|
61
|
-
files?: readonly WorkspaceProjectFileView[];
|
|
62
|
-
sections?: readonly WorkspaceProjectSectionView[];
|
|
63
|
-
threads?: readonly WorkspaceProjectThreadView[];
|
|
64
|
-
onOpen?: () => void;
|
|
65
|
-
onDelete?: () => void | Promise<void>;
|
|
66
|
-
}
|
|
67
47
|
export interface WorkspaceProjectSource {
|
|
48
|
+
/** The workspace's projects, shared by the panel, inline cards, and composer context. */
|
|
68
49
|
queryOptions: WorkspaceConceptQueryOptions<readonly WorkspaceProject[]>;
|
|
69
|
-
|
|
50
|
+
/** Opens a workspace file: PROJECT.md from the name, or a file in the folder. */
|
|
51
|
+
onOpen?: (path: string) => void;
|
|
52
|
+
/** Opens one of the project's threads. */
|
|
70
53
|
onOpenThread?: (id: string) => void;
|
|
71
54
|
/** Deletes PROJECT.md. The host decides whether the folder goes with it. */
|
|
72
55
|
onDelete?: (path: string) => void | Promise<void>;
|
|
73
56
|
}
|
|
74
|
-
export
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
export
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export declare function
|
|
87
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
88
|
-
}): React.JSX.Element;
|
|
89
|
-
/**
|
|
90
|
-
* Compact inline card for one queried PROJECT.md. Identity plus contents — no status.
|
|
91
|
-
*/
|
|
92
|
-
export declare function WorkspaceProjectFileCard({ fallback, path, source, ...props }: WorkspaceProjectFileCardProps & {
|
|
93
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
94
|
-
}): string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null;
|
|
95
|
-
/** Design-system-owned project query shared by panels, cards, and composer context. */
|
|
96
|
-
export declare function useWorkspaceProjects(source: WorkspaceProjectSource): readonly WorkspaceProject[];
|
|
97
|
-
/**
|
|
98
|
-
* Workbench list of queried projects. Same card as the inline placement. A
|
|
99
|
-
* query failure with nothing loaded renders as a quiet inline error, never as
|
|
100
|
-
* an empty library.
|
|
101
|
-
*/
|
|
102
|
-
export declare function WorkspaceProjectsPanel({ className, source, ref, ...props }: WorkspaceProjectsPanelProps & {
|
|
103
|
-
/** Ref forwarded to the component's rendered root element. */
|
|
104
|
-
ref?: React.Ref<HTMLElement>;
|
|
105
|
-
}): React.JSX.Element;
|
|
57
|
+
export type WorkspaceProjectFileProps = WorkspaceConceptFileProps<WorkspaceProjectSource>;
|
|
58
|
+
export type WorkspaceProjectsPanelProps = WorkspaceConceptPanelProps<WorkspaceProjectSource>;
|
|
59
|
+
/** The Projects destination in the workbench navigation; the panel's heading and mark. */
|
|
60
|
+
export declare const projectsWorkbenchItem: {
|
|
61
|
+
readonly id: "projects";
|
|
62
|
+
readonly label: "Projects";
|
|
63
|
+
readonly description: "Browse project files and choose what to work on.";
|
|
64
|
+
readonly icon: React.JSX.Element;
|
|
65
|
+
};
|
|
66
|
+
/** Compact inline card for one queried PROJECT.md. Identity plus contents — no status. */
|
|
67
|
+
export declare function WorkspaceProjectFile({ fallback, path, source, ...props }: WorkspaceProjectFileProps): string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null;
|
|
68
|
+
/** Workbench list of queried projects. Same card as the inline placement. */
|
|
69
|
+
export declare function WorkspaceProjectsPanel({ source, ...props }: WorkspaceProjectsPanelProps): React.JSX.Element;
|
|
106
70
|
//#endregion
|
|
@@ -1,227 +1,125 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as FolderIcon, D as LinkIcon, K as SpinnerIcon, S as FileIcon, et as UserIcon, j as MessageSquareIcon, u as CalendarIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
|
-
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
6
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
1
|
+
import { P as MessageSquareIcon, at as UserIcon, u as CalendarIcon, w as FolderIcon } from "../../icons-Yp99gmMC.js";
|
|
7
2
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as WorkspaceDeleteControl } from "../../workspace-delete-
|
|
12
|
-
import
|
|
13
|
-
import * as React from "react";
|
|
3
|
+
import { i as WorkspaceComposerLink, r as OutboundLink } from "../../workspace-assets-Dq5toMQc.js";
|
|
4
|
+
import { t as WorkspaceEntityCard } from "../../workspace-entity-card-B1aV-jBj.js";
|
|
5
|
+
import { n as useConceptEntry, t as WorkspaceConceptPanel } from "../../workspace-concept-panel-CxZfmFkP.js";
|
|
6
|
+
import { t as WorkspaceDeleteControl } from "../../workspace-delete-CoB0l6ZU.js";
|
|
7
|
+
import "react";
|
|
14
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
import { useQuery } from "@tanstack/react-query";
|
|
16
9
|
//#region src/components/agents-sdk/WorkspaceProject.tsx
|
|
10
|
+
/** The Projects destination in the workbench navigation; the panel's heading and mark. */
|
|
11
|
+
const projectsWorkbenchItem = {
|
|
12
|
+
id: "projects",
|
|
13
|
+
label: "Projects",
|
|
14
|
+
description: "Browse project files and choose what to work on.",
|
|
15
|
+
icon: /* @__PURE__ */ jsx(FolderIcon, {})
|
|
16
|
+
};
|
|
17
17
|
const ORIGIN_LABEL = {
|
|
18
18
|
user: "From you",
|
|
19
|
-
|
|
19
|
+
schedule: "Schedule",
|
|
20
20
|
messenger: "Messenger"
|
|
21
21
|
};
|
|
22
22
|
const ORIGIN_ICON = {
|
|
23
23
|
user: /* @__PURE__ */ jsx(UserIcon, {}),
|
|
24
|
-
|
|
24
|
+
schedule: /* @__PURE__ */ jsx(CalendarIcon, {}),
|
|
25
25
|
messenger: /* @__PURE__ */ jsx(MessageSquareIcon, {})
|
|
26
26
|
};
|
|
27
27
|
const ORIGIN_ORDER = [
|
|
28
28
|
"user",
|
|
29
|
-
"
|
|
29
|
+
"schedule",
|
|
30
30
|
"messenger"
|
|
31
31
|
];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
label: item.label,
|
|
39
|
-
icon: item.icon,
|
|
40
|
-
hint: item.hint,
|
|
41
|
-
onOpen: item.onOpen
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
return /* @__PURE__ */ jsx("ul", {
|
|
45
|
-
className: "sigvelo-stack-list",
|
|
46
|
-
children: items.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
|
|
47
|
-
kind: "tab",
|
|
48
|
-
value: item.key,
|
|
49
|
-
label: item.label,
|
|
50
|
-
icon: item.icon,
|
|
51
|
-
hint: item.hint,
|
|
52
|
-
onOpen: item.onOpen
|
|
53
|
-
}) }, item.key))
|
|
54
|
-
});
|
|
32
|
+
/** One labeled run of links. Each child is an `<li>` with its own key. */
|
|
33
|
+
function LinkFact({ children, term }) {
|
|
34
|
+
return /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: term }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx("ul", {
|
|
35
|
+
className: "workspace-entity-card__links",
|
|
36
|
+
children
|
|
37
|
+
}) })] });
|
|
55
38
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
const files = (project.files ?? []).filter((file) => !file.path.endsWith("/PROJECT.md") && !referencedFiles.has(file.path));
|
|
39
|
+
/** The working set, the folder's other files, and threads by origin; nothing when all are empty. */
|
|
40
|
+
function projectFacts(project, source) {
|
|
59
41
|
const sections = (project.sections ?? []).filter(({ items }) => items.length > 0);
|
|
42
|
+
const referenced = new Set(sections.flatMap(({ items }) => items.flatMap((item) => item.kind === "file" ? [item.path] : [])));
|
|
43
|
+
const files = (project.files ?? []).filter((file) => file.path !== project.path && !referenced.has(file.path));
|
|
60
44
|
const threads = project.threads ?? [];
|
|
61
|
-
if (files.length === 0 && sections.length === 0 && threads.length === 0) return
|
|
45
|
+
if (files.length === 0 && sections.length === 0 && threads.length === 0) return void 0;
|
|
46
|
+
const openFile = (path) => source.onOpen ? () => source.onOpen?.(path) : void 0;
|
|
62
47
|
return /* @__PURE__ */ jsxs(DescriptionList.Root, {
|
|
63
48
|
align: "start",
|
|
64
|
-
|
|
49
|
+
density: "compact",
|
|
65
50
|
children: [
|
|
66
|
-
sections.map((section) => /* @__PURE__ */
|
|
67
|
-
|
|
68
|
-
children: section.items.map((item) => item.kind === "file" ? /* @__PURE__ */ jsx(WorkspaceComposerLink, {
|
|
51
|
+
sections.map((section) => /* @__PURE__ */ jsx(LinkFact, {
|
|
52
|
+
term: section.label,
|
|
53
|
+
children: section.items.map((item) => item.kind === "file" ? /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
|
|
69
54
|
value: item.path,
|
|
70
55
|
label: item.label,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}, `${item.kind}:${item.path}`) : item.kind === "link" ? /* @__PURE__ */ jsxs(LinkButton, {
|
|
56
|
+
onOpen: openFile(item.path)
|
|
57
|
+
}) }, `file:${item.path}`) : item.kind === "link" ? /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(OutboundLink, {
|
|
74
58
|
href: item.href,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
href: item.href,
|
|
82
|
-
fallback: /* @__PURE__ */ jsx(LinkIcon, {})
|
|
83
|
-
}), item.label]
|
|
84
|
-
}, `${item.kind}:${item.href}`) : /* @__PURE__ */ jsx("span", { children: item.label }, `${item.kind}:${item.label}`))
|
|
85
|
-
}) })] }, section.label)),
|
|
86
|
-
files.length > 0 ? /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "Contents" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx("div", {
|
|
87
|
-
className: "sigvelo-cluster",
|
|
88
|
-
children: files.map((file) => /* @__PURE__ */ jsx(WorkspaceComposerLink, {
|
|
59
|
+
children: item.label
|
|
60
|
+
}) }, `link:${item.href}`) : /* @__PURE__ */ jsx("li", { children: item.label }, `text:${item.label}`))
|
|
61
|
+
}, section.label)),
|
|
62
|
+
files.length > 0 ? /* @__PURE__ */ jsx(LinkFact, {
|
|
63
|
+
term: "Contents",
|
|
64
|
+
children: files.map((file) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
|
|
89
65
|
value: file.path,
|
|
90
66
|
label: file.label,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}) })] }) : null,
|
|
67
|
+
onOpen: openFile(file.path)
|
|
68
|
+
}) }, file.path))
|
|
69
|
+
}) : null,
|
|
95
70
|
ORIGIN_ORDER.map((origin) => {
|
|
96
71
|
const grouped = threads.filter((thread) => thread.origin === origin);
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
72
|
+
return grouped.length > 0 ? /* @__PURE__ */ jsx(LinkFact, {
|
|
73
|
+
term: ORIGIN_LABEL[origin],
|
|
74
|
+
children: grouped.map((thread) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
|
|
75
|
+
kind: "tab",
|
|
76
|
+
value: thread.id,
|
|
77
|
+
label: thread.title,
|
|
78
|
+
icon: thread.icon ?? ORIGIN_ICON[origin],
|
|
79
|
+
onOpen: source.onOpenThread ? () => source.onOpenThread?.(thread.id) : void 0
|
|
80
|
+
}) }, thread.id))
|
|
81
|
+
}, origin) : null;
|
|
104
82
|
})
|
|
105
83
|
]
|
|
106
84
|
});
|
|
107
85
|
}
|
|
108
|
-
function
|
|
109
|
-
|
|
110
|
-
const ariaLabel = props["aria-label"];
|
|
111
|
-
const ariaLabelledBy = props["aria-labelledby"] ?? (ariaLabel ? void 0 : titleId);
|
|
112
|
-
return /* @__PURE__ */ jsxs(Card, {
|
|
86
|
+
function ProjectCard({ project, source, ...props }) {
|
|
87
|
+
return /* @__PURE__ */ jsx(WorkspaceEntityCard, {
|
|
113
88
|
...props,
|
|
114
|
-
ref,
|
|
115
|
-
role: props.role ?? "article",
|
|
116
|
-
"aria-labelledby": ariaLabelledBy,
|
|
117
89
|
"data-slot": "workspace-project-card",
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}),
|
|
128
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
129
|
-
className: "connected-app-card__icon",
|
|
130
|
-
"aria-hidden": "true",
|
|
131
|
-
children: project.icon ?? /* @__PURE__ */ jsx(FolderIcon, {})
|
|
132
|
-
}), project.name]
|
|
133
|
-
}),
|
|
134
|
-
project.description ? /* @__PURE__ */ jsx(CardDescription, { children: project.description }) : null,
|
|
135
|
-
project.onOpen || project.onDelete ? /* @__PURE__ */ jsxs(CardAction, {
|
|
136
|
-
className: "sigvelo-cluster",
|
|
137
|
-
children: [project.onOpen ? /* @__PURE__ */ jsx(IconButton, {
|
|
138
|
-
label: `Open ${project.name}`,
|
|
139
|
-
tooltip: project.path,
|
|
140
|
-
variant: "ghost",
|
|
141
|
-
color: "neutral",
|
|
142
|
-
onClick: project.onOpen,
|
|
143
|
-
children: /* @__PURE__ */ jsx(FileIcon, {})
|
|
144
|
-
}) : null, project.onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
|
|
145
|
-
name: project.name,
|
|
146
|
-
onDelete: project.onDelete
|
|
147
|
-
}) : null]
|
|
148
|
-
}) : null
|
|
149
|
-
] }), /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(ProjectDetails, { project }) })]
|
|
90
|
+
icon: project.icon ?? /* @__PURE__ */ jsx(FolderIcon, {}),
|
|
91
|
+
name: project.name,
|
|
92
|
+
onOpen: source.onOpen ? () => source.onOpen?.(project.path) : void 0,
|
|
93
|
+
meta: project.description,
|
|
94
|
+
actions: source.onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
|
|
95
|
+
name: project.name,
|
|
96
|
+
onDelete: () => source.onDelete?.(project.path)
|
|
97
|
+
}) : void 0,
|
|
98
|
+
detail: projectFacts(project, source)
|
|
150
99
|
});
|
|
151
100
|
}
|
|
152
|
-
/**
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
const project = useWorkspaceProjects(source).find((candidate) => candidate.path === path);
|
|
157
|
-
return project ? /* @__PURE__ */ jsx(WorkspaceProjectCard, {
|
|
101
|
+
/** Compact inline card for one queried PROJECT.md. Identity plus contents — no status. */
|
|
102
|
+
function WorkspaceProjectFile({ fallback = null, path, source, ...props }) {
|
|
103
|
+
const project = useConceptEntry(source, path);
|
|
104
|
+
return project ? /* @__PURE__ */ jsx(ProjectCard, {
|
|
158
105
|
...props,
|
|
159
|
-
project
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
/** Design-system-owned project query shared by panels, cards, and composer context. */
|
|
163
|
-
function useWorkspaceProjects(source) {
|
|
164
|
-
return useQuery(source.queryOptions).data ?? [];
|
|
106
|
+
project,
|
|
107
|
+
source
|
|
108
|
+
}) : fallback;
|
|
165
109
|
}
|
|
166
|
-
/**
|
|
167
|
-
|
|
168
|
-
* query failure with nothing loaded renders as a quiet inline error, never as
|
|
169
|
-
* an empty library.
|
|
170
|
-
*/
|
|
171
|
-
function WorkspaceProjectsPanel({ className, source, ref, ...props }) {
|
|
172
|
-
const query = useQuery(source.queryOptions);
|
|
173
|
-
const projects = query.data ?? [];
|
|
110
|
+
/** Workbench list of queried projects. Same card as the inline placement. */
|
|
111
|
+
function WorkspaceProjectsPanel({ source, ...props }) {
|
|
174
112
|
return /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
|
|
175
|
-
heading: "Projects",
|
|
176
|
-
ref,
|
|
177
113
|
"data-slot": "workspace-projects-panel",
|
|
178
|
-
className: cx("workspace-concept-panel", className),
|
|
179
114
|
...props,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
children: /* @__PURE__ */ jsx(Button, {
|
|
189
|
-
size: "sm",
|
|
190
|
-
variant: "outline",
|
|
191
|
-
color: "neutral",
|
|
192
|
-
onClick: () => void query.refetch(),
|
|
193
|
-
children: "Retry"
|
|
194
|
-
})
|
|
195
|
-
}) : query.isPending ? /* @__PURE__ */ jsx(EmptyState, {
|
|
196
|
-
icon: /* @__PURE__ */ jsx(SpinnerIcon, {}),
|
|
197
|
-
title: "Loading projects"
|
|
198
|
-
}) : /* @__PURE__ */ jsx(EmptyState, {
|
|
199
|
-
icon: /* @__PURE__ */ jsx(FolderIcon, {}),
|
|
200
|
-
title: "No projects"
|
|
201
|
-
})
|
|
202
|
-
}, JSON.stringify(source.queryOptions.queryKey));
|
|
203
|
-
}
|
|
204
|
-
function projectWithSource(project, source) {
|
|
205
|
-
return {
|
|
206
|
-
...project,
|
|
207
|
-
files: project.files?.map((file) => ({
|
|
208
|
-
...file,
|
|
209
|
-
onOpen: source.onOpenFile ? () => source.onOpenFile?.(file.path) : void 0
|
|
210
|
-
})),
|
|
211
|
-
sections: project.sections?.map((section) => ({
|
|
212
|
-
...section,
|
|
213
|
-
items: section.items.map((item) => item.kind === "file" ? {
|
|
214
|
-
...item,
|
|
215
|
-
onOpen: source.onOpenFile ? () => source.onOpenFile?.(item.path) : void 0
|
|
216
|
-
} : item)
|
|
217
|
-
})),
|
|
218
|
-
threads: project.threads?.map((thread) => ({
|
|
219
|
-
...thread,
|
|
220
|
-
onOpen: source.onOpenThread ? () => source.onOpenThread?.(thread.id) : void 0
|
|
221
|
-
})),
|
|
222
|
-
onOpen: source.onOpenFile ? () => source.onOpenFile?.(project.path) : void 0,
|
|
223
|
-
onDelete: source.onDelete ? () => source.onDelete?.(project.path) : void 0
|
|
224
|
-
};
|
|
115
|
+
item: projectsWorkbenchItem,
|
|
116
|
+
queryOptions: source.queryOptions,
|
|
117
|
+
children: (projects = []) => projects.map((project) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(ProjectCard, {
|
|
118
|
+
flat: true,
|
|
119
|
+
project,
|
|
120
|
+
source
|
|
121
|
+
}) }, project.path))
|
|
122
|
+
});
|
|
225
123
|
}
|
|
226
124
|
//#endregion
|
|
227
|
-
export {
|
|
125
|
+
export { WorkspaceProjectFile, WorkspaceProjectsPanel, projectsWorkbenchItem };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
4
3
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
5
4
|
import { useExpansionState } from "./ExpansionState.js";
|
|
5
|
+
import { p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/ai-sdk/Activity.tsx
|
|
@@ -77,7 +77,7 @@ function AgentChatMessageEditor({ message, originalText, onCancel, onSubmit, onS
|
|
|
77
77
|
className: "message__edit-actions",
|
|
78
78
|
children: [/* @__PURE__ */ jsx(Button, {
|
|
79
79
|
type: "button",
|
|
80
|
-
variant: "
|
|
80
|
+
variant: "surface",
|
|
81
81
|
color: "neutral",
|
|
82
82
|
size: "sm",
|
|
83
83
|
disabled: isSubmitting,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../../Button-
|
|
2
|
-
import { vt as PromptInputTray } from "../../PromptInput-
|
|
1
|
+
import { r as ButtonProps } from "../../Button-DIn-0P-0.js";
|
|
2
|
+
import { vt as PromptInputTray } from "../../PromptInput-Dbe6WgWA.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { useRender } from "@base-ui/react/use-render";
|
|
5
5
|
//#region src/components/ai-sdk/AgentChatStartScreen.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { lt as XIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { PromptInputTray, usePromptInputController } from "./PromptInput.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { V as PencilIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
|
|
5
4
|
import { Kbd } from "../foundations/Kbd.js";
|
|
5
|
+
import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/ai-sdk/Approval.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as IconButtonProps } from "../../IconButton-
|
|
1
|
+
import { n as IconButtonProps } from "../../IconButton-FWsa9562.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/ai-sdk/Artifact.d.ts
|
|
4
4
|
export interface ArtifactProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Z as SpinnerIcon, lt as XIcon, st as WarningIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Button, buttonVariants } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
@@ -174,7 +174,7 @@ function ArtifactPreviewError({ message, onRetry, overlay = false }) {
|
|
|
174
174
|
/* @__PURE__ */ jsx("span", { children: message }),
|
|
175
175
|
/* @__PURE__ */ jsx(Button, {
|
|
176
176
|
type: "button",
|
|
177
|
-
variant: "
|
|
177
|
+
variant: "surface",
|
|
178
178
|
color: "neutral",
|
|
179
179
|
size: "sm",
|
|
180
180
|
onClick: onRetry,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
2
|
-
import {
|
|
2
|
+
import { D as IconProps } from "../../icons-CReP3qYl.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/ai-sdk/ChainOfThought.d.ts
|
|
5
5
|
export interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
+
import { Z as SpinnerIcon, _ as DotIcon, d as CheckIcon, 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/ChainOfThought.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { s as BookmarkIcon } from "../../icons-
|
|
2
|
+
import { s as BookmarkIcon } from "../../icons-Yp99gmMC.js";
|
|
3
3
|
import { Marker, MarkerIcon } from "../foundations/Marker.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-
|
|
1
|
+
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-BTkag9ms.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockActionsProps, CodeBlockContainer, CodeBlockContainerProps, CodeBlockContent, CodeBlockContentProps, CodeBlockCopyButton, CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockFilenameProps, CodeBlockHeader, CodeBlockHeaderProps, type CodeBlockLanguage, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorItemProps, CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, CodeBlockLanguageSelectorValueProps, CodeBlockProps, CodeBlockTitle, CodeBlockTitleProps };
|