@mcp-b/react-components 0.75.0 → 0.75.2
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/{AgentComputer-KhPwXwh8.js → AgentComputer-B1rKkSUP.js} +14 -14
- package/dist/{AgentComputer-BI8RsGzq.d.ts → AgentComputer-MNiC5pQC.d.ts} +3 -3
- package/dist/{ChatGptSignInScreen-CLq5cetL.js → ChatGptSignInScreen-CeKZ0htx.js} +1 -1
- package/dist/{CodeBlock-ZG47S5e4.js → CodeBlock-DOVQbHdt.js} +1 -1
- package/dist/{ComputerCalendar-B3xdMl90.js → ComputerCalendar-WTEQV--E.js} +9 -9
- package/dist/{ComputerPresentation-rzx6n36S.js → ComputerPresentation-3f4QYD2Z.js} +5 -5
- package/dist/{ExecutionResult-BojdvFEY.js → ExecutionResult-oj5iiK-R.js} +2 -2
- package/dist/{FileTree-C7fh3_H5.js → FileTree-BLQF5D2f.js} +1 -1
- package/dist/{ManagerOffice-80ZkVjSt.js → ManagerOffice-CU_aPVzD.js} +5 -5
- package/dist/{SetupChecklist-BKCMkUuh.js → SetupChecklist-4Qyuw5R1.js} +2 -2
- package/dist/{ThinkChatActivity-Cb47dKAW.d.ts → ThinkChatActivity-BdPJiQYr.d.ts} +2 -2
- package/dist/{ThinkChatActivitySummary-Hvur11FV.d.ts → ThinkChatActivitySummary-xAIIxiW9.d.ts} +1 -1
- package/dist/{ThinkChatToolParts-vSzcCbQW.d.ts → ThinkChatToolParts-kV8Ayg16.d.ts} +0 -8
- package/dist/{ThinkSchedule-gDwDmWOF.d.ts → ThinkSchedule-Ce2tV1BF.d.ts} +1 -1
- package/dist/{Workspace-mZddFyvP.d.ts → Workspace-Hw8GhSp9.d.ts} +26 -7
- package/dist/{WorkspaceAutomation-Dugk4RkK.d.ts → WorkspaceAutomation-BiZzDc4y.d.ts} +2 -2
- package/dist/{WorkspaceBrowser-BFdnZrm7.js → WorkspaceBrowser-B7qBJrNE.js} +7 -7
- package/dist/{WorkspaceBrowser-CNVAKXXZ.d.ts → WorkspaceBrowser-DYQIXLO8.d.ts} +5 -4
- package/dist/{WorkspaceConcept-DqzfZWws.d.ts → WorkspaceConcept-EqNa4417.d.ts} +1 -1
- package/dist/{WorkspaceFileCommands-CN2oVUzx.d.ts → WorkspaceFileCommands-DAGsAfrn.d.ts} +2 -2
- package/dist/{WorkspaceFileTransfer-D2cOoVyO.js → WorkspaceFileTransfer-DlCEZRuz.js} +13 -11
- package/dist/{WorkspaceFileTransfer-D--dVla2.d.ts → WorkspaceFileTransfer-gzr9DQvv.d.ts} +1 -1
- package/dist/{codex-model-catalog-CFEGgUAj.d.ts → codex-model-catalog-18yO7dln.d.ts} +8 -8
- package/dist/components/agents-sdk/AIProviderDialog.js +3 -3
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.js +8 -8
- package/dist/components/agents-sdk/AgentComputer.d.ts +1 -1
- package/dist/components/agents-sdk/AgentComputer.js +1 -1
- package/dist/components/agents-sdk/AgentEvent.js +3 -3
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +5 -5
- 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 +3 -3
- package/dist/components/agents-sdk/BrowserRunPanel.js +3 -3
- package/dist/components/agents-sdk/ComputerAutomations.d.ts +3 -3
- package/dist/components/agents-sdk/ComputerAutomations.js +13 -13
- package/dist/components/agents-sdk/ComputerCalendar.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerCalendar.js +1 -1
- package/dist/components/agents-sdk/ComputerChannels.js +5 -5
- package/dist/components/agents-sdk/ComputerFileThumbnail.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerFiles.d.ts +4 -4
- package/dist/components/agents-sdk/ComputerFiles.js +16 -17
- package/dist/components/agents-sdk/ComputerHome.js +1 -1
- package/dist/components/agents-sdk/ComputerHost.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerLayout.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerNotifications.js +1 -1
- package/dist/components/agents-sdk/ComputerPresentation.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerPresentation.js +1 -1
- package/dist/components/agents-sdk/ComputerScreen.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerScreen.js +6 -6
- package/dist/components/agents-sdk/ComputerSettings.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerSettings.js +7 -7
- package/dist/components/agents-sdk/ComputerSpotlight.js +1 -1
- package/dist/components/agents-sdk/ComputerViewer.js +2 -2
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +5 -5
- package/dist/components/agents-sdk/EmployeeChrome.js +14 -14
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +2 -2
- package/dist/components/agents-sdk/EmployeeSchedules.js +2 -2
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ExecutionBoard.js +5 -5
- package/dist/components/agents-sdk/ManagerAccountActions.js +3 -3
- package/dist/components/agents-sdk/ManagerOffice.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +3 -3
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.js +2 -2
- package/dist/components/agents-sdk/McpPluginCatalog.js +5 -5
- package/dist/components/agents-sdk/McpServerPicker.js +3 -3
- package/dist/components/agents-sdk/ModelSelector.js +5 -5
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/SubagentRunLanes.js +2 -2
- package/dist/components/agents-sdk/SubagentRunPanel.js +4 -4
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkChat.js +2 -2
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +3 -3
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +2 -3
- package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +15 -39
- package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatToolParts.js +3 -8
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +6 -6
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.js +3 -3
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +3 -3
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +4 -4
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleForm.js +12 -12
- package/dist/components/agents-sdk/ThinkThreadPicker.js +5 -5
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +2 -2
- package/dist/components/agents-sdk/Workspace.js +353 -319
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +15 -15
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +10 -10
- 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 +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +3 -3
- package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceDesktop.js +4 -4
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +4 -3
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
- package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileCommands.js +1 -1
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +4 -4
- package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileTransfer.js +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +8 -8
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceLocalFolder.js +4 -3
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspacePerson.js +3 -3
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +2 -2
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +3 -3
- package/dist/components/ai-sdk/Artifact.js +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.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.js +2 -2
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +2 -2
- package/dist/components/ai-sdk/MediaPreviewCard.js +2 -2
- package/dist/components/ai-sdk/Message.js +3 -3
- package/dist/components/ai-sdk/MessageScroller.js +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.js +9 -9
- package/dist/components/ai-sdk/Queue.js +2 -2
- 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/ai-sdk/ToolInvocation.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.js +3 -3
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/extension/FirstRunSetup.d.ts +2 -2
- package/dist/components/extension/FirstRunSetup.js +13 -13
- package/dist/components/foundations/Checkbox.js +2 -2
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/Favicon.js +1 -1
- package/dist/components/foundations/Menubar.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/ToggleGroup.d.ts +1 -1
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/CommandPalette.js +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- 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 +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +3 -3
- package/dist/components/general-purpose/SettingsFormDialog.js +4 -4
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WallpaperPicker.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +5 -5
- package/dist/{connected-app-drafts-D2ijldOR.js → connected-app-drafts-BcWAz2A5.js} +6 -6
- package/dist/{copy-button-UNBY7oXF.js → copy-button-CseE2x9v.js} +1 -1
- package/dist/{parts-Bb1aZP2y.js → parts-BH-SeHct.js} +1 -1
- package/dist/{scheduled-table-source-6YdnC3Sh.js → scheduled-table-source-D0Pv1_Hb.js} +1 -1
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/{workspace-assets-CadpUKoz.js → workspace-assets-BPkMEXP5.js} +1 -1
- package/dist/{workspace-concept-panel-CzxPyGpN.js → workspace-concept-panel-BC2aq8rz.js} +2 -2
- package/dist/{workspace-concept-panel-BC2W28pu.d.ts → workspace-concept-panel-Cq7odBRZ.d.ts} +1 -1
- package/dist/{workspace-delete-D9ZesEdu.js → workspace-delete-DrV618jg.js} +1 -1
- package/dist/{workspace-drag-BNhZIN8F.js → workspace-drag-BldB7Yr3.js} +1 -1
- package/dist/{workspace-media-preview-kXaEY4AN.js → workspace-media-preview-B9BmB8Tu.js} +2 -2
- package/dist/{workspace-quick-look-BDD-jXn3.js → workspace-quick-look-Dw047GMK.js} +5 -5
- package/package.json +2 -2
- package/dist/{icons-CNwk7DEu.js → icons-B7D1XaPY.js} +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { desktopArtwork } from "./utils/desktop-artwork.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import { G as MonitorIcon, N as KeyboardIcon, W as MinusIcon, _t as XIcon, c as BellIcon, g as ChevronRightIcon, gt as WrenchIcon, h as ChevronLeftIcon, ht as WarningIcon, nt as SearchIcon, p as CheckIcon, z as MaximizeIcon } from "./icons-
|
|
4
|
-
import { a as formatErrorMessage, n as clamp } from "./format-DL7f2rqp.js";
|
|
3
|
+
import { G as MonitorIcon, N as KeyboardIcon, W as MinusIcon, _t as XIcon, c as BellIcon, g as ChevronRightIcon, gt as WrenchIcon, h as ChevronLeftIcon, ht as WarningIcon, nt as SearchIcon, p as CheckIcon, z as MaximizeIcon } from "./icons-B7D1XaPY.js";
|
|
5
4
|
import { Button } from "./components/foundations/Button.js";
|
|
5
|
+
import { Menu } from "./components/foundations/Menu.js";
|
|
6
6
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
7
7
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
8
|
+
import { a as formatErrorMessage, n as clamp } from "./format-DL7f2rqp.js";
|
|
8
9
|
import { r as useMergedRefs } from "./merge-refs-DTX97mLp.js";
|
|
9
10
|
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { AppFrame } from "./components/general-purpose/AppFrame.js";
|
|
11
|
+
import { n as readWorkspaceDrop, t as WORKSPACE_DRAG_TYPE } from "./workspace-drag-BldB7Yr3.js";
|
|
12
|
+
import { Popover } from "./components/foundations/Popover.js";
|
|
13
13
|
import { t as motionIsReduced } from "./motion-preferences-6qsDIDvH.js";
|
|
14
|
-
import {
|
|
14
|
+
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
15
15
|
import { n as rootRem } from "./container-width-C43ccJ84.js";
|
|
16
|
+
import { Menubar } from "./components/foundations/Menubar.js";
|
|
17
|
+
import { ThemeContext } from "./components/foundations/ThemeProvider.js";
|
|
18
|
+
import { Toast } from "./components/foundations/Toast.js";
|
|
19
|
+
import { AppFrame } from "./components/general-purpose/AppFrame.js";
|
|
20
|
+
import { CommandPalette } from "./components/general-purpose/CommandPalette.js";
|
|
21
|
+
import { a as project, c as scrubTiming, d as trackVelocity, i as fly, l as settle, n as cssEasing, o as rubberBand, r as cssNumber, s as scrub, t as cssDuration, u as supportsScopedViewTransitions } from "./motion-CGM3i6lX.js";
|
|
22
|
+
import { ThemeModeControl } from "./components/general-purpose/ThemeModeControl.js";
|
|
16
23
|
import { a as HandlersContext, c as PortalContext, d as WindowContext, g as usePresentation, h as useComputerSlice, i as ComputerContext, l as PresentationContext, n as AppHostsContext, o as HostContext, p as useComputer, r as AppearanceContext, t as ActionsContext, u as WindowActiveContext } from "./context-BWJpR084.js";
|
|
17
24
|
import { n as useComputerWallpaper } from "./ComputerCustomWallpaper-CnGQYHp0.js";
|
|
18
25
|
import { COMPUTER_APP_IDS } from "./components/agents-sdk/ComputerAppIds.js";
|
|
19
|
-
import { t as DEFAULT_COMPUTER_PRESENTATION, u as arrangeDock } from "./ComputerPresentation-
|
|
20
|
-
import { Popover } from "./components/foundations/Popover.js";
|
|
21
|
-
import { Toast } from "./components/foundations/Toast.js";
|
|
22
|
-
import { ThemeContext } from "./components/foundations/ThemeProvider.js";
|
|
23
|
-
import { ThemeModeControl } from "./components/general-purpose/ThemeModeControl.js";
|
|
24
|
-
import { CommandPalette } from "./components/general-purpose/CommandPalette.js";
|
|
26
|
+
import { t as DEFAULT_COMPUTER_PRESENTATION, u as arrangeDock } from "./ComputerPresentation-3f4QYD2Z.js";
|
|
25
27
|
import { ComputerViewerToggle } from "./components/agents-sdk/ComputerViewer.js";
|
|
26
|
-
import { Menubar } from "./components/foundations/Menubar.js";
|
|
27
|
-
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
28
28
|
import { c } from "react/compiler-runtime";
|
|
29
29
|
import * as React from "react";
|
|
30
30
|
import { use, useEffect, useRef, useState } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./Workspace-
|
|
2
|
-
import { i as WorkspaceDragSource } from "./WorkspaceFileTransfer-
|
|
1
|
+
import "./Workspace-Hw8GhSp9.js";
|
|
2
|
+
import { i as WorkspaceDragSource } from "./WorkspaceFileTransfer-gzr9DQvv.js";
|
|
3
3
|
import { n as CommandPaletteCommand } from "./CommandPalette-DDctKdpC.js";
|
|
4
4
|
import { r as ComputerNotification } from "./ComputerNotifications-q7eeELZ8.js";
|
|
5
5
|
import { t as ComputerWallpaper } from "./ComputerCustomWallpaper-D4lgwj2k.js";
|
|
6
|
-
import { i as WorkspaceBrowserSort } from "./WorkspaceBrowser-
|
|
6
|
+
import { i as WorkspaceBrowserSort } from "./WorkspaceBrowser-DYQIXLO8.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
//#region src/components/_internal/computer-apps/settings.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SIGVELO_LOGO } from "./utils/brand-marks.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import { at as SpinnerIcon, p as CheckIcon } from "./icons-
|
|
3
|
+
import { at as SpinnerIcon, p as CheckIcon } from "./icons-B7D1XaPY.js";
|
|
4
4
|
import { Button } from "./components/foundations/Button.js";
|
|
5
5
|
import { t as ProviderLogo } from "./provider-logos-Ceu7iYFx.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
+
import { t as CopyButton } from "./copy-button-CseE2x9v.js";
|
|
2
3
|
import { Select } from "./components/foundations/Select.js";
|
|
3
|
-
import { t as CopyButton } from "./copy-button-UNBY7oXF.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Q as PlusIcon, _t as XIcon, g as ChevronRightIcon, h as ChevronLeftIcon } from "./icons-
|
|
2
|
-
import { Checkbox } from "./components/foundations/Checkbox.js";
|
|
1
|
+
import { Q as PlusIcon, _t as XIcon, g as ChevronRightIcon, h as ChevronLeftIcon } from "./icons-B7D1XaPY.js";
|
|
3
2
|
import { Button } from "./components/foundations/Button.js";
|
|
4
3
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
5
|
-
import {
|
|
6
|
-
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
7
|
-
import { COMPUTER_APP_IDS } from "./components/agents-sdk/ComputerAppIds.js";
|
|
4
|
+
import { DescriptionList } from "./components/foundations/DescriptionList.js";
|
|
8
5
|
import { Popover } from "./components/foundations/Popover.js";
|
|
9
|
-
import { Menubar } from "./components/foundations/Menubar.js";
|
|
10
6
|
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
7
|
+
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
8
|
+
import { ResponsiveSidebarShell } from "./components/general-purpose/ResponsiveSidebarShell.js";
|
|
9
|
+
import { Checkbox } from "./components/foundations/Checkbox.js";
|
|
11
10
|
import { formatThinkExecutionStatus, getThinkExecutionRunId, getThinkExecutionRunStatus, isThinkSubmissionRun } from "./components/agents-sdk/ThinkExecutionRun.js";
|
|
12
11
|
import { formatThinkScheduleTimeZone } from "./components/agents-sdk/ThinkSchedule.js";
|
|
13
12
|
import { LinkButton } from "./components/foundations/LinkButton.js";
|
|
14
|
-
import {
|
|
13
|
+
import { Menubar } from "./components/foundations/Menubar.js";
|
|
15
14
|
import { SearchField } from "./components/foundations/SearchField.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { n as useAgentComputerActions } from "./AgentComputer-B1rKkSUP.js";
|
|
16
|
+
import { COMPUTER_APP_IDS } from "./components/agents-sdk/ComputerAppIds.js";
|
|
17
|
+
import { t as computerAppParts } from "./parts-BH-SeHct.js";
|
|
18
18
|
import { c } from "react/compiler-runtime";
|
|
19
19
|
import * as React from "react";
|
|
20
20
|
import { createContext, use, useEffect, useEffectEvent, useId, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as FileIcon, at as SpinnerIcon, d as BrainIcon, g as ChevronRightIcon, h as ChevronLeftIcon, ht as WarningIcon, k as FolderIcon, n as ArrowDownIcon, o as ArrowUpIcon, tt as RefreshIcon, u as BoxIcon } from "./icons-
|
|
2
|
-
import { Checkbox } from "./components/foundations/Checkbox.js";
|
|
1
|
+
import { O as FileIcon, at as SpinnerIcon, d as BrainIcon, g as ChevronRightIcon, h as ChevronLeftIcon, ht as WarningIcon, k as FolderIcon, n as ArrowDownIcon, o as ArrowUpIcon, tt as RefreshIcon, u as BoxIcon } from "./icons-B7D1XaPY.js";
|
|
3
2
|
import { Button } from "./components/foundations/Button.js";
|
|
3
|
+
import { Tabs } from "./components/foundations/Tabs.js";
|
|
4
4
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
5
5
|
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
6
|
-
import {
|
|
6
|
+
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
7
|
+
import { Checkbox } from "./components/foundations/Checkbox.js";
|
|
8
|
+
import { ScreenStack } from "./components/general-purpose/ScreenStack.js";
|
|
7
9
|
import { DEFAULT_COMPUTER_WALLPAPER } from "./components/agents-sdk/ComputerWallpapers.js";
|
|
8
10
|
import { t as readWallpaper } from "./ComputerCustomWallpaper-CnGQYHp0.js";
|
|
9
11
|
import { readComputerLayout } from "./components/agents-sdk/ComputerLayout.js";
|
|
10
|
-
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
11
|
-
import { ScreenStack } from "./components/general-purpose/ScreenStack.js";
|
|
12
12
|
import { COMPUTER_APP_IDS } from "./components/agents-sdk/ComputerAppIds.js";
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
14
14
|
import { useId, useLayoutEffect, useRef } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as ChevronRightIcon } from "./icons-
|
|
1
|
+
import { g as ChevronRightIcon } from "./icons-B7D1XaPY.js";
|
|
2
2
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
3
3
|
import { DescriptionList } from "./components/foundations/DescriptionList.js";
|
|
4
|
+
import { i as httpUrl, n as OutboundLink, r as WorkspaceComposerLink } from "./workspace-assets-BPkMEXP5.js";
|
|
4
5
|
import { a as executionResultSummary, i as executionResultPath, o as readExecutionResult, r as executionResultFiles } from "./execution-result-DAuW4VWv.js";
|
|
5
|
-
import { i as httpUrl, n as OutboundLink, r as WorkspaceComposerLink } from "./workspace-assets-CadpUKoz.js";
|
|
6
6
|
import { t as WorkspaceFileLink } from "./WorkspaceLink-DDkj-Tq5.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { useId, useState } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { desktopArtwork } from "./utils/desktop-artwork.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import { g as ChevronRightIcon } from "./icons-
|
|
3
|
+
import { g as ChevronRightIcon } from "./icons-B7D1XaPY.js";
|
|
4
4
|
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
5
5
|
import { t as NavigationLink } from "./navigation-link-DMmtdqsM.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { findCatalogMcpServerCard, getMcpServerIconSrc, providerCardForHref } from "./utils/mcp-server-catalog.js";
|
|
2
2
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
3
|
-
import { F as LinkIcon, G as MonitorIcon, H as MessageSquareIcon, J as PauseIcon, M as InfoIcon, O as FileIcon, S as DotIcon, _t as XIcon, at as SpinnerIcon, f as CalendarIcon, g as ChevronRightIcon, ht as WarningIcon, k as FolderIcon, m as ChevronDownIcon, p as CheckIcon } from "./icons-CNwk7DEu.js";
|
|
4
|
-
import { Button } from "./components/foundations/Button.js";
|
|
5
3
|
import { Collapsible } from "./components/foundations/Collapsible.js";
|
|
4
|
+
import { F as LinkIcon, G as MonitorIcon, H as MessageSquareIcon, J as PauseIcon, M as InfoIcon, O as FileIcon, S as DotIcon, _t as XIcon, at as SpinnerIcon, f as CalendarIcon, g as ChevronRightIcon, ht as WarningIcon, k as FolderIcon, m as ChevronDownIcon, p as CheckIcon } from "./icons-B7D1XaPY.js";
|
|
5
|
+
import { Button } from "./components/foundations/Button.js";
|
|
6
|
+
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "./components/ai-sdk/AgentAttention.js";
|
|
6
7
|
import { Tooltip } from "./components/foundations/Tooltip.js";
|
|
7
8
|
import { AppIcon } from "./components/foundations/AppIcon.js";
|
|
8
|
-
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
9
|
-
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
10
9
|
import { Favicon } from "./components/foundations/Favicon.js";
|
|
11
|
-
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "./components/ai-sdk/AgentAttention.js";
|
|
12
10
|
import { Avatar } from "./components/foundations/Avatar.js";
|
|
11
|
+
import { EmptyState } from "./components/foundations/EmptyState.js";
|
|
12
|
+
import { AppTopBar } from "./components/general-purpose/AppTopBar.js";
|
|
13
13
|
import { getThinkExecutionRunStatus } from "./components/agents-sdk/ThinkExecutionRun.js";
|
|
14
14
|
import { formatThinkScheduleRepeat } from "./components/agents-sdk/ThinkSchedule.js";
|
|
15
15
|
import { LinkButton } from "./components/foundations/LinkButton.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { Q as PlusIcon, ht as WarningIcon, m as ChevronDownIcon, p as CheckIcon } from "./icons-
|
|
3
|
-
import { IconButton } from "./components/foundations/IconButton.js";
|
|
2
|
+
import { Q as PlusIcon, ht as WarningIcon, m as ChevronDownIcon, p as CheckIcon } from "./icons-B7D1XaPY.js";
|
|
4
3
|
import { Menu } from "./components/foundations/Menu.js";
|
|
4
|
+
import { IconButton } from "./components/foundations/IconButton.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as AgentMessageRenderPartContext } from "./AgentMessageParts-BtWwiE4f.js";
|
|
2
2
|
import { AgentChatMessageContentProps } from "./components/agents-sdk/AgentChat.js";
|
|
3
3
|
import { r as AgentToolRunValue } from "./AgentToolRunsContext-Br3jZ6Up.js";
|
|
4
|
-
import { l as ThinkChatPart } from "./ThinkChatToolParts-
|
|
5
|
-
import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-
|
|
4
|
+
import { l as ThinkChatPart } from "./ThinkChatToolParts-kV8Ayg16.js";
|
|
5
|
+
import { t as ThinkChatActivityDescription } from "./ThinkChatActivitySummary-xAIIxiW9.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { DynamicToolUIPart, ToolUIPart, UIMessage } from "ai";
|
|
8
8
|
//#region src/components/agents-sdk/ThinkChatActivity.d.ts
|
package/dist/{ThinkChatActivitySummary-Hvur11FV.d.ts → ThinkChatActivitySummary-xAIIxiW9.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AgentActivitySummary, n as AgentActivityIconKind } from "./AgentActivity-Cngwkalq.js";
|
|
2
|
-
import { l as ThinkChatPart } from "./ThinkChatToolParts-
|
|
2
|
+
import { l as ThinkChatPart } from "./ThinkChatToolParts-kV8Ayg16.js";
|
|
3
3
|
import { DynamicToolUIPart, ToolUIPart } from "ai";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkChatActivitySummary.d.ts
|
|
5
5
|
interface ThinkChatToolDescriber {
|
|
@@ -164,14 +164,6 @@ type SkillUITools = {
|
|
|
164
164
|
};
|
|
165
165
|
output: string;
|
|
166
166
|
};
|
|
167
|
-
run_skill_script: {
|
|
168
|
-
input: {
|
|
169
|
-
name: string;
|
|
170
|
-
path: string;
|
|
171
|
-
input?: unknown;
|
|
172
|
-
};
|
|
173
|
-
output: unknown;
|
|
174
|
-
};
|
|
175
167
|
};
|
|
176
168
|
type SkillToolPart = ToolUIPart<SkillUITools>;
|
|
177
169
|
declare function isSkillToolPart(part: ThinkChatPart): part is SkillToolPart;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ThinkExecutionRun } from "./ThinkExecutionRun-QzZVWX75.js";
|
|
2
|
-
import { i as WorkspaceAutomationInvocation } from "./WorkspaceAutomation-
|
|
2
|
+
import { i as WorkspaceAutomationInvocation } from "./WorkspaceAutomation-BiZzDc4y.js";
|
|
3
3
|
import { ParsedDeclaredSchedule, ThinkScheduledTask, ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkSchedule.d.ts
|
|
5
5
|
/** App-owned identity for the Think agent that owns a schedule. */
|
|
@@ -31,6 +31,12 @@ interface UseWorkspaceOptions {
|
|
|
31
31
|
resolveFileAsset?: WorkspaceFileAssetResolver;
|
|
32
32
|
/** Maximum size for the built-in buffered-byte fallback. Defaults to 32 MiB. */
|
|
33
33
|
maxInlineAssetBytes?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Read the workspace summary into `info`, for a surface that shows it: the
|
|
36
|
+
* file count in the bar of WorkspaceExplorer and WorkspaceBrowser. Off by
|
|
37
|
+
* default, because a source may walk every file to answer.
|
|
38
|
+
*/
|
|
39
|
+
info?: boolean;
|
|
34
40
|
}
|
|
35
41
|
interface WorkspaceState {
|
|
36
42
|
root: string;
|
|
@@ -46,15 +52,15 @@ interface WorkspaceState {
|
|
|
46
52
|
selectFile: (path: string | null) => void;
|
|
47
53
|
/** The selected file once its read settles; null while loading. */
|
|
48
54
|
selectedFile: WorkspaceFileState | null;
|
|
49
|
-
/** Initial root
|
|
55
|
+
/** Initial root load, the summary's with `info`, or explicit refresh in flight. */
|
|
50
56
|
isLoading: boolean;
|
|
51
57
|
/** Directory and file paths with a query in flight. */
|
|
52
58
|
loadingPaths: ReadonlySet<string>;
|
|
53
59
|
/** Root/directory listing failure. Per-file read errors live on the file state. */
|
|
54
60
|
error: string | null;
|
|
55
|
-
/** Workspace summary. */
|
|
61
|
+
/** Workspace summary, read only with the `info` option; null without it. */
|
|
56
62
|
info: WorkspaceInfo | null;
|
|
57
|
-
/** Reload the root, every expanded directory,
|
|
63
|
+
/** Reload the root, every expanded directory, the selected file and a shown summary. */
|
|
58
64
|
refresh: () => void;
|
|
59
65
|
}
|
|
60
66
|
interface WorkspaceFileReadTarget {
|
|
@@ -86,9 +92,17 @@ declare function workspaceFileQueryKey(sourceKey: string, root: string, requeste
|
|
|
86
92
|
type WorkspaceFileQueryKey = ReturnType<typeof workspaceFileQueryKey>;
|
|
87
93
|
/**
|
|
88
94
|
* The source's summary. It does not depend on the root and each read is a
|
|
89
|
-
* whole-workspace aggregate, so every root of one source shares it.
|
|
95
|
+
* whole-workspace aggregate, so every root of one source shares it. Mark it
|
|
96
|
+
* stale with {@link invalidateWorkspaceInfo}, never by cancelling a read.
|
|
90
97
|
*/
|
|
91
98
|
declare function workspaceInfoQueryKey(sourceKey: string): readonly ["workspace", string, "info"];
|
|
99
|
+
/**
|
|
100
|
+
* Marks the source's summary stale. Only a mounted reader that shows it reads
|
|
101
|
+
* it again, and never beside a read in flight: a source may walk every file to
|
|
102
|
+
* answer and cannot abort the walk, so every change during one waits for it to
|
|
103
|
+
* land and then shares a single follow-up read.
|
|
104
|
+
*/
|
|
105
|
+
declare function invalidateWorkspaceInfo(queryClient: QueryClient, sourceKey: string): Promise<void>;
|
|
92
106
|
declare function workspaceFileVersion(target: WorkspaceFileReadTarget): {
|
|
93
107
|
readonly path: string;
|
|
94
108
|
readonly name: string;
|
|
@@ -115,7 +129,12 @@ type WorkspaceBinaryFileQueryKey = readonly [...WorkspaceFileQueryKey, "bytes",
|
|
|
115
129
|
type WorkspaceBinaryFileQueryOptions = WorkspaceQueryOptions<WorkspaceResolvedAsset | null, WorkspaceBinaryFileQueryKey>;
|
|
116
130
|
/** Shared directory options for workspace components and route loaders. */
|
|
117
131
|
declare function workspaceDirectoryQueryOptions(source: WorkspaceSource, sourceKey: string, root: string, path: string): WorkspaceDirectoryQueryOptions;
|
|
118
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Shared workspace-summary options for a surface that shows the summary.
|
|
134
|
+
* The read ignores its abort signal, since a source cannot abort its walk: a
|
|
135
|
+
* reader that unmounts mid-read lets it land in the cache, so a reader that
|
|
136
|
+
* mounts next shares it rather than starting a second walk beside it.
|
|
137
|
+
*/
|
|
119
138
|
declare function workspaceInfoQueryOptions(source: WorkspaceSource, sourceKey: string): WorkspaceInfoQueryOptions;
|
|
120
139
|
/** Re-stat and validate a requested path before any resolver or file read. */
|
|
121
140
|
declare function workspaceFileStatQueryOptions(source: WorkspaceSource, sourceKey: string, root: string, requestedPath: string): WorkspaceFileStatQueryOptions;
|
|
@@ -133,6 +152,6 @@ declare function refreshWorkspaceFileQueries(queryClient: QueryClient, { source,
|
|
|
133
152
|
* directory, metadata, resolver, text, and byte lifecycles; the route owns
|
|
134
153
|
* selection, while this hook only keeps local tree expansion state.
|
|
135
154
|
*/
|
|
136
|
-
declare function useWorkspace({ source, sourceKey, root, selectedPath, onSelectedPathChange, resolveFileAsset, maxInlineAssetBytes }: UseWorkspaceOptions): WorkspaceState;
|
|
155
|
+
declare function useWorkspace({ source, sourceKey, root, selectedPath, onSelectedPathChange, resolveFileAsset, maxInlineAssetBytes, info: showsInfo }: UseWorkspaceOptions): WorkspaceState;
|
|
137
156
|
//#endregion
|
|
138
|
-
export {
|
|
157
|
+
export { workspaceFileAssetQueryOptions as A, invalidateWorkspaceInfo as C, workspaceDirectoryQueryKey as D, workspaceBinaryFileQueryOptions as E, workspaceQueryKey as F, workspaceTextFileQueryOptions as I, workspaceFileStatQueryOptions as M, workspaceInfoQueryKey as N, workspaceDirectoryQueryOptions as O, workspaceInfoQueryOptions as P, WorkspaceTextFileQueryOptions as S, useWorkspace as T, WorkspaceQueryOptions as _, WorkspaceDirectoryQueryOptions as a, WorkspaceState as b, WorkspaceFileQueryKey as c, WorkspaceFileStatQueryOptions as d, WorkspaceFileVersion as f, WorkspaceQueryKey as g, WorkspaceInfoQueryOptions as h, WorkspaceDirectoryQueryKey as i, workspaceFileQueryKey as j, workspaceDirectoryQueryPrefix as k, WorkspaceFileReadTarget as l, WorkspaceInfoQueryKey as m, WorkspaceBinaryFileQueryKey as n, WorkspaceFileAssetQueryKey as o, WorkspaceInfo as p, WorkspaceBinaryFileQueryOptions as r, WorkspaceFileAssetQueryOptions as s, UseWorkspaceOptions as t, WorkspaceFileStatQueryKey as u, WorkspaceResolvedAsset as v, refreshWorkspaceFileQueries as w, WorkspaceTextFileQueryKey as x, WorkspaceSource as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as WorkspaceConceptQueryOptions } from "./WorkspaceConcept-
|
|
2
|
-
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "./workspace-concept-panel-
|
|
1
|
+
import { t as WorkspaceConceptQueryOptions } from "./WorkspaceConcept-EqNa4417.js";
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "./workspace-concept-panel-Cq7odBRZ.js";
|
|
3
3
|
import { a as ExecutionTrace, r as ExecutionGraph } from "./ExecutionBoard-DBj1Aiva.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { JSONValue } from "ai";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Button } from "./components/foundations/Button.js";
|
|
2
2
|
import { describeWorkspaceFile } from "./components/agents-sdk/WorkspaceFile.js";
|
|
3
|
-
import { d as isHiddenWorkspaceEntry } from "./WorkspaceFileTransfer-
|
|
4
|
-
import { r as useWorkspaceDragAndDrop } from "./workspace-drag-
|
|
5
|
-
import { c as PortalContext } from "./context-BWJpR084.js";
|
|
6
|
-
import { FormattedDate } from "./components/foundations/FormattedDate.js";
|
|
3
|
+
import { d as isHiddenWorkspaceEntry } from "./WorkspaceFileTransfer-DlCEZRuz.js";
|
|
4
|
+
import { r as useWorkspaceDragAndDrop } from "./workspace-drag-BldB7Yr3.js";
|
|
7
5
|
import { t as NavigationLink } from "./navigation-link-DMmtdqsM.js";
|
|
6
|
+
import { ContextMenu } from "./components/foundations/ContextMenu.js";
|
|
7
|
+
import { FormattedDate } from "./components/foundations/FormattedDate.js";
|
|
8
8
|
import { SearchField } from "./components/foundations/SearchField.js";
|
|
9
|
+
import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "./FileTree-BLQF5D2f.js";
|
|
10
|
+
import { c as PortalContext } from "./context-BWJpR084.js";
|
|
9
11
|
import { i as fileGridOption, n as FileGrid } from "./ComputerFileThumbnail-CXHy127c.js";
|
|
10
|
-
import { i as FileTreeFolder, r as FileTreeFile, t as FileTree } from "./FileTree-C7fh3_H5.js";
|
|
11
12
|
import { WorkspaceHeader } from "./components/agents-sdk/WorkspaceHeader.js";
|
|
12
|
-
import {
|
|
13
|
-
import { n as useWorkspaceSelection, r as WorkspaceFileTile, t as WorkspaceQuickLook } from "./workspace-quick-look-BDD-jXn3.js";
|
|
13
|
+
import { n as useWorkspaceSelection, r as WorkspaceFileTile, t as WorkspaceQuickLook } from "./workspace-quick-look-Dw047GMK.js";
|
|
14
14
|
import { c } from "react/compiler-runtime";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as WorkspaceState } from "./Workspace-
|
|
2
|
-
import { r as WorkspaceDragAndDrop } from "./WorkspaceFileTransfer-
|
|
3
|
-
import { i as WorkspaceFileCommands, n as WorkspaceFileCommand } from "./WorkspaceFileCommands-
|
|
1
|
+
import { b as WorkspaceState } from "./Workspace-Hw8GhSp9.js";
|
|
2
|
+
import { r as WorkspaceDragAndDrop } from "./WorkspaceFileTransfer-gzr9DQvv.js";
|
|
3
|
+
import { i as WorkspaceFileCommands, n as WorkspaceFileCommand } from "./WorkspaceFileCommands-DAGsAfrn.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { FileInfo } from "@cloudflare/shell";
|
|
6
6
|
//#region src/components/agents-sdk/WorkspaceBrowser.d.ts
|
|
@@ -19,7 +19,8 @@ interface WorkspaceBrowserProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* Which surface carries the folder heading and refresh. "bar" keeps the
|
|
21
21
|
* browser's own top bar; "none" hands them to chrome the host already draws,
|
|
22
|
-
* such as a window toolbar, so a folder never stacks two bars.
|
|
22
|
+
* such as a window toolbar, so a folder never stacks two bars. The bar
|
|
23
|
+
* shows the file count when `workspace` was read with `info`.
|
|
23
24
|
*/
|
|
24
25
|
header?: "bar" | "none";
|
|
25
26
|
title?: React.ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as WorkspaceQueryOptions, g as WorkspaceQueryKey } from "./Workspace-
|
|
1
|
+
import { _ as WorkspaceQueryOptions, g as WorkspaceQueryKey } from "./Workspace-Hw8GhSp9.js";
|
|
2
2
|
import { QueryClient, QueryFunction } from "@tanstack/react-query";
|
|
3
3
|
//#region src/components/agents-sdk/WorkspaceConcept.d.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as WorkspaceFileAssetResolver } from "./WorkspaceFile-BJC6vlp_.js";
|
|
2
|
-
import { y as WorkspaceSource } from "./Workspace-
|
|
3
|
-
import { a as WorkspaceDrop, i as WorkspaceDragSource, p as WorkspaceTransferTarget, u as WorkspaceTransferOperation } from "./WorkspaceFileTransfer-
|
|
2
|
+
import { y as WorkspaceSource } from "./Workspace-Hw8GhSp9.js";
|
|
3
|
+
import { a as WorkspaceDrop, i as WorkspaceDragSource, p as WorkspaceTransferTarget, u as WorkspaceTransferOperation } from "./WorkspaceFileTransfer-gzr9DQvv.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { FileInfo } from "@cloudflare/shell";
|
|
6
6
|
//#region src/components/agents-sdk/WorkspaceFileCommands.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as formatOperationError } from "./format-DL7f2rqp.js";
|
|
2
1
|
import { Button } from "./components/foundations/Button.js";
|
|
2
|
+
import { o as formatOperationError } from "./format-DL7f2rqp.js";
|
|
3
3
|
import { AlertDialog } from "./components/foundations/AlertDialog.js";
|
|
4
4
|
import { a as workspaceDirname, i as workspaceBasename, n as isWorkspacePathWithinRoot, r as joinWorkspacePath } from "./workspace-path-TZggP-u4.js";
|
|
5
|
-
import { refreshWorkspaceFileQueries, workspaceFileQueryKey } from "./components/agents-sdk/Workspace.js";
|
|
5
|
+
import { invalidateWorkspaceInfo, refreshWorkspaceFileQueries, workspaceFileQueryKey } from "./components/agents-sdk/Workspace.js";
|
|
6
6
|
import { invalidateWorkspaceConceptQueries, workspacePathsOverlap } from "./components/agents-sdk/WorkspaceConcept.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import * as React from "react";
|
|
@@ -937,17 +937,16 @@ const DEFAULT_DEBOUNCE_MS = 200;
|
|
|
937
937
|
/**
|
|
938
938
|
* Listings the host's root does not own: a Finder folder, Recents and a
|
|
939
939
|
* search each read under a root of their own (a dot root for the queries), so
|
|
940
|
-
* a change refreshes the source's
|
|
941
|
-
*
|
|
942
|
-
*
|
|
943
|
-
*
|
|
944
|
-
* Trash refresh.
|
|
940
|
+
* a change refreshes the source's summary and each Get Info window's item,
|
|
941
|
+
* the listings of the changed folders, every query root's listings since any
|
|
942
|
+
* change can move them, and whether the Trash is full when the Trash changed.
|
|
943
|
+
* Without `directories`, every listing of the source and the Trash refresh.
|
|
945
944
|
*/
|
|
946
945
|
function invalidateEveryRoot(queryClient, sourceKey, directories) {
|
|
947
|
-
return queryClient.invalidateQueries({
|
|
946
|
+
return Promise.all([invalidateWorkspaceInfo(queryClient, sourceKey), queryClient.invalidateQueries({
|
|
948
947
|
queryKey: ["workspace", sourceKey],
|
|
949
|
-
predicate: ({ queryKey: [, , root, segment, path] }) => root === "info" || root === "trash" && (!directories || directories.has("/.Trash")) || segment === "directory" && (!directories || typeof root === "string" && root.startsWith("/.") || typeof path === "string" && directories.has(path))
|
|
950
|
-
});
|
|
948
|
+
predicate: ({ queryKey: [, , root, segment, path] }) => root === "info" && segment !== void 0 || root === "trash" && (!directories || directories.has("/.Trash")) || segment === "directory" && (!directories || typeof root === "string" && root.startsWith("/.") || typeof path === "string" && directories.has(path))
|
|
949
|
+
})]);
|
|
951
950
|
}
|
|
952
951
|
/**
|
|
953
952
|
* What a change to `paths` in one source can have touched, under every root:
|
|
@@ -957,7 +956,10 @@ function invalidateEveryRoot(queryClient, sourceKey, directories) {
|
|
|
957
956
|
* query of the source refreshes.
|
|
958
957
|
*/
|
|
959
958
|
function invalidateWorkspacePaths(queryClient, sourceKey, paths) {
|
|
960
|
-
if (!paths) return
|
|
959
|
+
if (!paths) return Promise.all([invalidateWorkspaceInfo(queryClient, sourceKey), queryClient.invalidateQueries({
|
|
960
|
+
queryKey: ["workspace", sourceKey],
|
|
961
|
+
predicate: ({ queryKey: [, , root, segment] }) => root !== "info" || segment !== void 0
|
|
962
|
+
})]);
|
|
961
963
|
const touches = (scope) => typeof scope === "string" && paths.some((path) => workspacePathsOverlap(scope, path));
|
|
962
964
|
return Promise.all([invalidateEveryRoot(queryClient, sourceKey, new Set(paths.map(workspaceDirname))), queryClient.invalidateQueries({
|
|
963
965
|
queryKey: ["workspace", sourceKey],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as WorkspaceSource } from "./Workspace-
|
|
1
|
+
import { y as WorkspaceSource } from "./Workspace-Hw8GhSp9.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/agents-sdk/WorkspaceFileTransfer.d.ts
|
|
4
4
|
/** What a transfer does with an item whose name the destination already has. */
|
|
@@ -76,7 +76,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
76
76
|
readonly upgradeInfo: null;
|
|
77
77
|
readonly availabilityNux: null;
|
|
78
78
|
readonly hidden: boolean;
|
|
79
|
-
readonly inputModalities: ("
|
|
79
|
+
readonly inputModalities: ("image" | "text")[];
|
|
80
80
|
readonly supportsPersonality: boolean;
|
|
81
81
|
readonly additionalSpeedTiers: never[];
|
|
82
82
|
readonly serviceTiers: never[];
|
|
@@ -93,7 +93,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
93
93
|
readonly upgradeInfo: null;
|
|
94
94
|
readonly availabilityNux: null;
|
|
95
95
|
readonly hidden: boolean;
|
|
96
|
-
readonly inputModalities: ("
|
|
96
|
+
readonly inputModalities: ("image" | "text")[];
|
|
97
97
|
readonly supportsPersonality: boolean;
|
|
98
98
|
readonly additionalSpeedTiers: never[];
|
|
99
99
|
readonly serviceTiers: never[];
|
|
@@ -110,7 +110,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
110
110
|
readonly upgradeInfo: null;
|
|
111
111
|
readonly availabilityNux: null;
|
|
112
112
|
readonly hidden: boolean;
|
|
113
|
-
readonly inputModalities: ("
|
|
113
|
+
readonly inputModalities: ("image" | "text")[];
|
|
114
114
|
readonly supportsPersonality: boolean;
|
|
115
115
|
readonly additionalSpeedTiers: never[];
|
|
116
116
|
readonly serviceTiers: never[];
|
|
@@ -127,7 +127,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
127
127
|
readonly upgradeInfo: null;
|
|
128
128
|
readonly availabilityNux: null;
|
|
129
129
|
readonly hidden: boolean;
|
|
130
|
-
readonly inputModalities: ("
|
|
130
|
+
readonly inputModalities: ("image" | "text")[];
|
|
131
131
|
readonly supportsPersonality: boolean;
|
|
132
132
|
readonly additionalSpeedTiers: never[];
|
|
133
133
|
readonly serviceTiers: never[];
|
|
@@ -144,7 +144,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
144
144
|
readonly upgradeInfo: null;
|
|
145
145
|
readonly availabilityNux: null;
|
|
146
146
|
readonly hidden: boolean;
|
|
147
|
-
readonly inputModalities: ("
|
|
147
|
+
readonly inputModalities: ("image" | "text")[];
|
|
148
148
|
readonly supportsPersonality: boolean;
|
|
149
149
|
readonly additionalSpeedTiers: never[];
|
|
150
150
|
readonly serviceTiers: never[];
|
|
@@ -161,7 +161,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
161
161
|
readonly upgradeInfo: null;
|
|
162
162
|
readonly availabilityNux: null;
|
|
163
163
|
readonly hidden: boolean;
|
|
164
|
-
readonly inputModalities: ("
|
|
164
|
+
readonly inputModalities: ("image" | "text")[];
|
|
165
165
|
readonly supportsPersonality: boolean;
|
|
166
166
|
readonly additionalSpeedTiers: never[];
|
|
167
167
|
readonly serviceTiers: never[];
|
|
@@ -178,7 +178,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
178
178
|
readonly upgradeInfo: null;
|
|
179
179
|
readonly availabilityNux: null;
|
|
180
180
|
readonly hidden: boolean;
|
|
181
|
-
readonly inputModalities: ("
|
|
181
|
+
readonly inputModalities: ("image" | "text")[];
|
|
182
182
|
readonly supportsPersonality: boolean;
|
|
183
183
|
readonly additionalSpeedTiers: never[];
|
|
184
184
|
readonly serviceTiers: never[];
|
|
@@ -195,7 +195,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
|
|
|
195
195
|
readonly upgradeInfo: null;
|
|
196
196
|
readonly availabilityNux: null;
|
|
197
197
|
readonly hidden: boolean;
|
|
198
|
-
readonly inputModalities: ("
|
|
198
|
+
readonly inputModalities: ("image" | "text")[];
|
|
199
199
|
readonly supportsPersonality: boolean;
|
|
200
200
|
readonly additionalSpeedTiers: never[];
|
|
201
201
|
readonly serviceTiers: never[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as InfoIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-
|
|
2
|
-
import { Checkbox } from "../foundations/Checkbox.js";
|
|
3
|
-
import { Select } from "../foundations/Select.js";
|
|
1
|
+
import { M as InfoIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-B7D1XaPY.js";
|
|
4
2
|
import { Field } from "../foundations/Field.js";
|
|
3
|
+
import { Select } from "../foundations/Select.js";
|
|
4
|
+
import { Checkbox } from "../foundations/Checkbox.js";
|
|
5
5
|
import { SettingsFormDialog } from "../general-purpose/SettingsFormDialog.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { useEffect, useState } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as LinkIcon, G as MonitorIcon, M as InfoIcon, O as FileIcon, Y as PencilIcon, dt as TerminalIcon, gt as WrenchIcon, ht as WarningIcon, nt as SearchIcon } from "../../icons-
|
|
1
|
+
import { F as LinkIcon, G as MonitorIcon, M as InfoIcon, O as FileIcon, Y as PencilIcon, dt as TerminalIcon, gt as WrenchIcon, ht as WarningIcon, nt as SearchIcon } from "../../icons-B7D1XaPY.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/agents-sdk/AgentActivity.tsx
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Y as PencilIcon, at as SpinnerIcon, ft as TrashIcon, t as ArchiveIcon, tt as RefreshIcon } from "../../icons-CNwk7DEu.js";
|
|
3
2
|
import { ExpansionStateProvider } from "../ai-sdk/ExpansionState.js";
|
|
3
|
+
import { Y as PencilIcon, at as SpinnerIcon, ft as TrashIcon, t as ArchiveIcon, tt as RefreshIcon } from "../../icons-B7D1XaPY.js";
|
|
4
|
+
import { AgentChatMessageEditor } from "../ai-sdk/AgentChatMessageEditor.js";
|
|
5
|
+
import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
|
|
4
6
|
import { Message, MessageAction, MessageActions, MessageCopyAction, MessageMeta, MessageTimestamp } from "../ai-sdk/Message.js";
|
|
5
|
-
import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
|
|
6
|
-
import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
7
7
|
import { AgentMessageParts } from "../ai-sdk/AgentMessageParts.js";
|
|
8
|
-
import {
|
|
8
|
+
import { Marker, MarkerContent } from "../foundations/Marker.js";
|
|
9
9
|
import { VirtualMessageScroller } from "../ai-sdk/MessageScrollerVirtual.js";
|
|
10
|
-
import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
|
|
11
10
|
import { Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemContent, QueueItemIndicator, QueueList } from "../ai-sdk/Queue.js";
|
|
12
|
-
import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
|
|
13
11
|
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
14
|
-
import {
|
|
12
|
+
import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
|
|
13
|
+
import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
14
|
+
import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
|
|
15
15
|
import { c } from "react/compiler-runtime";
|
|
16
16
|
import * as React from "react";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
import { useRender } from "@base-ui/react/use-render";
|
|
19
19
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
20
|
-
import { isCompactionMessage } from "agents/sessions";
|
|
21
20
|
import { isTextUIPart } from "ai";
|
|
21
|
+
import { isCompactionMessage } from "agents/sessions";
|
|
22
22
|
//#region src/components/agents-sdk/AgentChat.tsx
|
|
23
23
|
function observeAgentChatDock(element) {
|
|
24
24
|
if (!element || typeof ResizeObserver === "undefined") return;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AgentComputerLayout, c as AgentComputerWindow, d as AgentComputerWindowSize, f as useAgentComputerActions, g as useAgentComputerWindowActive, h as useAgentComputerWindow, i as AgentComputerAppHandlers, l as AgentComputerWindowBounds, m as useAgentComputerPortalContainer, n as AgentComputerActions, o as AgentComputerOpenOptions, p as useAgentComputerAppHandlers, r as AgentComputerApp, s as AgentComputerProps, t as AgentComputer, u as AgentComputerWindowLayout } from "../../AgentComputer-
|
|
1
|
+
import { a as AgentComputerLayout, c as AgentComputerWindow, d as AgentComputerWindowSize, f as useAgentComputerActions, g as useAgentComputerWindowActive, h as useAgentComputerWindow, i as AgentComputerAppHandlers, l as AgentComputerWindowBounds, m as useAgentComputerPortalContainer, n as AgentComputerActions, o as AgentComputerOpenOptions, p as useAgentComputerAppHandlers, r as AgentComputerApp, s as AgentComputerProps, t as AgentComputer, u as AgentComputerWindowLayout } from "../../AgentComputer-MNiC5pQC.js";
|
|
2
2
|
export { AgentComputer, AgentComputerActions, AgentComputerApp, AgentComputerAppHandlers, AgentComputerLayout, AgentComputerOpenOptions, AgentComputerProps, AgentComputerWindow, AgentComputerWindowBounds, AgentComputerWindowLayout, AgentComputerWindowSize, useAgentComputerActions, useAgentComputerAppHandlers, useAgentComputerPortalContainer, useAgentComputerWindow, useAgentComputerWindowActive };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useAgentComputerWindow, i as useAgentComputerPortalContainer, n as useAgentComputerActions, o as useAgentComputerWindowActive, r as useAgentComputerAppHandlers, t as AgentComputer } from "../../AgentComputer-
|
|
1
|
+
import { a as useAgentComputerWindow, i as useAgentComputerPortalContainer, n as useAgentComputerActions, o as useAgentComputerWindowActive, r as useAgentComputerAppHandlers, t as AgentComputer } from "../../AgentComputer-B1rKkSUP.js";
|
|
2
2
|
export { AgentComputer, useAgentComputerActions, useAgentComputerAppHandlers, useAgentComputerPortalContainer, useAgentComputerWindow, useAgentComputerWindowActive };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { r as firstLine } from "../../format-DL7f2rqp.js";
|
|
3
2
|
import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "../ai-sdk/Activity.js";
|
|
3
|
+
import { r as firstLine } from "../../format-DL7f2rqp.js";
|
|
4
4
|
import { MessageResponse } from "../ai-sdk/Message.js";
|
|
5
|
-
import { u as useRunsSelector } from "../../agent-tool-runs-BXKdcxl8.js";
|
|
6
|
-
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
5
|
import { NaniteMark } from "../nanites/NaniteScene.js";
|
|
6
|
+
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
7
|
+
import { u as useRunsSelector } from "../../agent-tool-runs-BXKdcxl8.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { isTextUIPart } from "ai";
|