@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,9 +1,9 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { W as MinusIcon, at as SpinnerIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-
|
|
3
|
-
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
2
|
+
import { W as MinusIcon, at as SpinnerIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-B7D1XaPY.js";
|
|
4
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
5
|
-
import { Dialog } from "../foundations/Dialog.js";
|
|
6
4
|
import { Menu } from "../foundations/Menu.js";
|
|
5
|
+
import { Dialog } from "../foundations/Dialog.js";
|
|
6
|
+
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
7
7
|
import { PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger } from "../ai-sdk/PromptInput.js";
|
|
8
8
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
9
9
|
import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { m as ChevronDownIcon, nt as SearchIcon } from "../../icons-CNwk7DEu.js";
|
|
3
|
-
import { l as titleCase } from "../../format-DL7f2rqp.js";
|
|
4
|
-
import { Button } from "../foundations/Button.js";
|
|
5
|
-
import { Dialog } from "../foundations/Dialog.js";
|
|
6
2
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
3
|
+
import { m as ChevronDownIcon, nt as SearchIcon } from "../../icons-B7D1XaPY.js";
|
|
4
|
+
import { Button } from "../foundations/Button.js";
|
|
7
5
|
import { Autocomplete } from "../foundations/Autocomplete.js";
|
|
8
|
-
import {
|
|
6
|
+
import { Dialog } from "../foundations/Dialog.js";
|
|
7
|
+
import { l as titleCase } from "../../format-DL7f2rqp.js";
|
|
9
8
|
import { Separator } from "../foundations/Separator.js";
|
|
10
9
|
import { t as ProviderLogo } from "../../provider-logos-Ceu7iYFx.js";
|
|
10
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { ThinkExecutionApproval, ThinkPendingApproval, getPausedExecution } from "./ThinkPendingApproval.js";
|
|
3
2
|
import { ToolApproval } from "../ai-sdk/ToolApproval.js";
|
|
3
|
+
import { ThinkExecutionApproval, ThinkPendingApproval, getPausedExecution } from "./ThinkPendingApproval.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { isToolUIPart } from "ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { composerLinkHref } from "../../utils/composer-link.js";
|
|
2
2
|
import { findCatalogMcpServerCard, getMcpServerIconSrc } from "../../utils/mcp-server-catalog.js";
|
|
3
|
-
import { B as McpIcon, u as BoxIcon } from "../../icons-
|
|
3
|
+
import { B as McpIcon, u as BoxIcon } from "../../icons-B7D1XaPY.js";
|
|
4
4
|
import { Favicon } from "../foundations/Favicon.js";
|
|
5
5
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { at as SpinnerIcon, ct as StopIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-
|
|
2
|
+
import { at as SpinnerIcon, ct as StopIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-B7D1XaPY.js";
|
|
3
3
|
import { c as textLines, r as firstLine } from "../../format-DL7f2rqp.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Button, buttonVariants } from "../foundations/Button.js";
|
|
3
|
-
import { a as runStopOffered, c as useRunOpen, d as useRunsStore, l as useRunStop } from "../../agent-tool-runs-BXKdcxl8.js";
|
|
4
|
-
import { SubagentRunIndicator, getSubagentRunName, getSubagentRunStatusText } from "./SubagentRunIndicator.js";
|
|
5
3
|
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
4
|
+
import { SubagentRunIndicator, getSubagentRunName, getSubagentRunStatusText } from "./SubagentRunIndicator.js";
|
|
5
|
+
import { a as runStopOffered, c as useRunOpen, d as useRunsStore, l as useRunStop } from "../../agent-tool-runs-BXKdcxl8.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { at as SpinnerIcon, st as SquareIcon } from "../../icons-
|
|
1
|
+
import { at as SpinnerIcon, st as SquareIcon } from "../../icons-B7D1XaPY.js";
|
|
2
2
|
import { buttonVariants } from "../foundations/Button.js";
|
|
3
3
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Popover } from "../foundations/Popover.js";
|
|
6
|
+
import { Queue, QueueItem, QueueItemActions, QueueItemContent, QueueItemDescription, QueueList } from "../ai-sdk/Queue.js";
|
|
6
7
|
import { SubagentRunIndicator, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
8
|
+
import { a as runStopOffered, c as useRunOpen, d as useRunsStore, n as IDLE, u as useRunsSelector } from "../../agent-tool-runs-BXKdcxl8.js";
|
|
7
9
|
import { useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
8
|
-
import { Queue, QueueItem, QueueItemActions, QueueItemContent, QueueItemDescription, QueueList } from "../ai-sdk/Queue.js";
|
|
9
10
|
import { AgentChatNotice } from "./AgentChat.js";
|
|
10
|
-
import { Popover } from "../foundations/Popover.js";
|
|
11
11
|
import { SubagentRunSelector } from "./SubagentRunSelector.js";
|
|
12
12
|
import { c } from "react/compiler-runtime";
|
|
13
13
|
import * as React from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { buttonVariants } from "../foundations/Button.js";
|
|
3
3
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
|
-
import { SubagentRunLabel, getSubagentRunName, getSubagentRunStatusText } from "./SubagentRunIndicator.js";
|
|
5
4
|
import { t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
5
|
+
import { SubagentRunLabel, getSubagentRunName, getSubagentRunStatusText } from "./SubagentRunIndicator.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/agents-sdk/SubagentRunSelector.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { J as PromptInputMessage } from "../../PromptInput-DEwFMj6f.js";
|
|
2
2
|
import { i as AgentMessageRenderPartContext } from "../../AgentMessageParts-BtWwiE4f.js";
|
|
3
3
|
import { AgentChatMessageContentProps, AgentChatRootProps } from "./AgentChat.js";
|
|
4
|
-
import { o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, t as ThinkChatActivity } from "../../ThinkChatActivity-
|
|
4
|
+
import { o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, t as ThinkChatActivity } from "../../ThinkChatActivity-BdPJiQYr.js";
|
|
5
5
|
import { i as ThinkChatValue } from "../../ThinkChatContext-DQ6M2VlJ.js";
|
|
6
6
|
import * as React from "react";
|
|
7
|
-
import { ChatStatus, UIMessage } from "ai";
|
|
8
7
|
import { DataTag, UndefinedInitialDataOptions } from "@tanstack/react-query";
|
|
8
|
+
import { ChatStatus, UIMessage } from "ai";
|
|
9
9
|
import { PendingApproval, Think } from "@cloudflare/think";
|
|
10
10
|
import { AgentStub } from "agents/client";
|
|
11
11
|
//#region src/components/agents-sdk/ThinkChat.d.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { composerDraftToPrompt, parseComposerLinks } from "../../utils/composer-link.js";
|
|
2
2
|
import { AgentChat, useAgentChatControls } from "./AgentChat.js";
|
|
3
|
-
import { n as WorkspaceMessageResponse } from "../../WorkspaceMessageResponse-CXGOQgpo.js";
|
|
4
3
|
import { ThinkChatContext, ThinkChatLiveContext, useThinkChatContext } from "./ThinkChatContext.js";
|
|
5
4
|
import { ThinkChatActivity, createThinkChatActivityRenderer, renderThinkChatActivityPart } from "./ThinkChatActivity.js";
|
|
6
5
|
import { ThinkRecoveryNotice } from "./ThinkRecoveryNotice.js";
|
|
6
|
+
import { n as WorkspaceMessageResponse } from "../../WorkspaceMessageResponse-CXGOQgpo.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
import { isTextUIPart } from "ai";
|
|
11
10
|
import { queryOptions, replaceEqualDeep, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
11
|
+
import { isTextUIPart } from "ai";
|
|
12
12
|
//#region src/components/agents-sdk/ThinkChat.tsx
|
|
13
13
|
const EMPTY_PENDING_APPROVALS = [];
|
|
14
14
|
const STREAMED_TEXT_ANIMATION = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../../ThinkChatActivity-
|
|
1
|
+
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../../ThinkChatActivity-BdPJiQYr.js";
|
|
2
2
|
export { ThinkChatActivity, ThinkChatActivityProps, ThinkChatActivityRendererOptions, ThinkChatToolRenderer, ThinkChatToolRenderers, createThinkChatActivityRenderer, renderThinkChatActivityPart };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Button } from "../foundations/Button.js";
|
|
2
|
-
import { AgentActivityIcon } from "./AgentActivity.js";
|
|
3
1
|
import { useExpansionNumber } from "../ai-sdk/ExpansionState.js";
|
|
4
2
|
import { Activity, ActivityContent, ActivityItem, ActivityItemGroup, ActivityText, ActivityTrigger } from "../ai-sdk/Activity.js";
|
|
3
|
+
import { Button } from "../foundations/Button.js";
|
|
5
4
|
import { MessageResponse } from "../ai-sdk/Message.js";
|
|
6
|
-
import { d as useRunsStore, u as useRunsSelector } from "../../agent-tool-runs-BXKdcxl8.js";
|
|
7
5
|
import { ToolInvocationDetails } from "../ai-sdk/ToolInvocation.js";
|
|
8
6
|
import { Favicon } from "../foundations/Favicon.js";
|
|
7
|
+
import { d as useRunsStore, u as useRunsSelector } from "../../agent-tool-runs-BXKdcxl8.js";
|
|
8
|
+
import { AgentActivityIcon } from "./AgentActivity.js";
|
|
9
9
|
import { SubagentRunLanes } from "./SubagentRunLanes.js";
|
|
10
10
|
import { useOptionalThinkChatLive } from "./ThinkChatContext.js";
|
|
11
11
|
import { isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartWorking, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart, thinkToolOutcome } from "./ThinkChatToolParts.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ThinkChatToolLifecycleSnapshot, c as deriveThinkChatActivityHeader, d as summarizeActivitySteps, i as ThinkChatToolDescribers, l as deriveThinkChatToolLifecycleHeader, n as ThinkChatActivityHeader, o as activityPartIconKind, r as ThinkChatToolDescriber, s as activityPartUrl, t as ThinkChatActivityDescription, u as describeThinkChatActivityPart } from "../../ThinkChatActivitySummary-
|
|
1
|
+
import { a as ThinkChatToolLifecycleSnapshot, c as deriveThinkChatActivityHeader, d as summarizeActivitySteps, i as ThinkChatToolDescribers, l as deriveThinkChatToolLifecycleHeader, n as ThinkChatActivityHeader, o as activityPartIconKind, r as ThinkChatToolDescriber, s as activityPartUrl, t as ThinkChatActivityDescription, u as describeThinkChatActivityPart } from "../../ThinkChatActivitySummary-xAIIxiW9.js";
|
|
2
2
|
export { ThinkChatActivityDescription, ThinkChatActivityHeader, ThinkChatToolDescriber, ThinkChatToolDescribers, ThinkChatToolLifecycleSnapshot, activityPartIconKind, activityPartUrl, deriveThinkChatActivityHeader, deriveThinkChatToolLifecycleHeader, describeThinkChatActivityPart, summarizeActivitySteps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as capitalize } from "../../format-DL7f2rqp.js";
|
|
2
|
+
import { i as workspaceBasename } from "../../workspace-path-TZggP-u4.js";
|
|
2
3
|
import { getToolDisplayName } from "../ai-sdk/ToolPart.js";
|
|
3
4
|
import { t as summarizeToolInput } from "../../summarize-tool-input-CqTcGRYy.js";
|
|
4
|
-
import { i as workspaceBasename } from "../../workspace-path-TZggP-u4.js";
|
|
5
5
|
import { formatThinkExecutionShortTimestamp } from "./ThinkExecutionRun.js";
|
|
6
6
|
import { displayUrl, isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartFailed, isPartWorking, isSessionContextToolFailure, isSessionContextToolPart, isSkillToolPart, isWorkspaceToolPart, readFollowUpReceipt, thinkToolOutcome, workspaceToolError } from "./ThinkChatToolParts.js";
|
|
7
7
|
import { getStaticToolName, getToolName, isReasoningUIPart, isStaticToolUIPart, isToolUIPart } from "ai";
|
|
@@ -249,7 +249,7 @@ function activityPartWorkspaceDestination(part) {
|
|
|
249
249
|
case "tool-delete":
|
|
250
250
|
case "tool-publish": {
|
|
251
251
|
const path = part.input?.path;
|
|
252
|
-
return
|
|
252
|
+
return path ? {
|
|
253
253
|
kind: "file",
|
|
254
254
|
path,
|
|
255
255
|
fragment: null
|
|
@@ -350,7 +350,6 @@ function describeSkillToolPart(part) {
|
|
|
350
350
|
return described(working ? "Using" : "Used", name ? `the ${name} skill` : "a skill");
|
|
351
351
|
}
|
|
352
352
|
case "tool-read_skill_resource": return described(working ? "Reading" : "Read", part.input?.path ?? "a skill resource");
|
|
353
|
-
case "tool-run_skill_script": return described(working ? "Running" : "Ran", part.input?.path ?? "a skill script");
|
|
354
353
|
}
|
|
355
354
|
})();
|
|
356
355
|
return failed ? described(`${action} ${detail ?? ""}`.trim() + " · failed") : described(action, detail);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as SkillToolPart, f as WorkspaceToolPart, n as ExecuteToolPart, o as SessionContextToolPart, r as FetchToolPart, t as BrowserToolPart } from "../../ThinkChatToolParts-
|
|
1
|
+
import { c as SkillToolPart, f as WorkspaceToolPart, n as ExecuteToolPart, o as SessionContextToolPart, r as FetchToolPart, t as BrowserToolPart } from "../../ThinkChatToolParts-kV8Ayg16.js";
|
|
2
2
|
import { AnyToolUIPart } from "../ai-sdk/ToolPart.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkChatToolPanels.d.ts
|
|
@@ -10,7 +10,7 @@ export declare function ThinkChatWorkspacePanel({ part }: {
|
|
|
10
10
|
part: WorkspaceToolPart;
|
|
11
11
|
}): React.JSX.Element | null;
|
|
12
12
|
/** Skill panels show what the model actually received: the activated skill's
|
|
13
|
-
body
|
|
13
|
+
body or the resource text. */
|
|
14
14
|
export declare function ThinkChatSkillPanel({ part }: {
|
|
15
15
|
part: SkillToolPart;
|
|
16
16
|
}): React.JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ActivityOutput, ActivityPanel } from "../ai-sdk/Activity.js";
|
|
2
|
-
import { ToolInvocationDetails } from "../ai-sdk/ToolInvocation.js";
|
|
3
2
|
import { Tabs } from "../foundations/Tabs.js";
|
|
4
3
|
import { i as workspaceBasename } from "../../workspace-path-TZggP-u4.js";
|
|
5
4
|
import { inferWorkspaceLanguage } from "./WorkspaceFile.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { ToolInvocationDetails } from "../ai-sdk/ToolInvocation.js";
|
|
6
|
+
import { i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "../../CodeBlock-DOVQbHdt.js";
|
|
8
7
|
import { n as executionErrorSummary } from "../../execution-result-DAuW4VWv.js";
|
|
9
8
|
import { t as WorkspaceFileLink } from "../../WorkspaceLink-DDkj-Tq5.js";
|
|
10
|
-
import { t as ExecutionResult } from "../../ExecutionResult-
|
|
11
|
-
import {
|
|
9
|
+
import { t as ExecutionResult } from "../../ExecutionResult-oj5iiK-R.js";
|
|
10
|
+
import { formatThinkExecutionShortTimestamp } from "./ThinkExecutionRun.js";
|
|
11
|
+
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
12
12
|
import { displayUrl, isSessionContextToolFailure, readFollowUpReceipt, thinkToolOutcome } from "./ThinkChatToolParts.js";
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
14
14
|
import * as React from "react";
|
|
@@ -557,9 +557,9 @@ function WorkspacePublishPanel(t0) {
|
|
|
557
557
|
return t3;
|
|
558
558
|
}
|
|
559
559
|
/** Skill panels show what the model actually received: the activated skill's
|
|
560
|
-
body
|
|
560
|
+
body or the resource text. */
|
|
561
561
|
function ThinkChatSkillPanel(t0) {
|
|
562
|
-
const $ = c(
|
|
562
|
+
const $ = c(8);
|
|
563
563
|
const { part } = t0;
|
|
564
564
|
let t1;
|
|
565
565
|
if ($[0] !== part) {
|
|
@@ -571,59 +571,35 @@ function ThinkChatSkillPanel(t0) {
|
|
|
571
571
|
if (failure) return failure;
|
|
572
572
|
switch (part.type) {
|
|
573
573
|
case "tool-activate_skill": {
|
|
574
|
-
const
|
|
574
|
+
const output_0 = part.state === "output-available" ? part.output : void 0;
|
|
575
575
|
const t2 = part.input?.name ?? "skill";
|
|
576
576
|
let t3;
|
|
577
|
-
if ($[2] !==
|
|
577
|
+
if ($[2] !== output_0 || $[3] !== t2) {
|
|
578
578
|
t3 = /* @__PURE__ */ jsx(ActivityPanel, {
|
|
579
579
|
label: t2,
|
|
580
|
-
text:
|
|
580
|
+
text: output_0
|
|
581
581
|
});
|
|
582
|
-
$[2] =
|
|
582
|
+
$[2] = output_0;
|
|
583
583
|
$[3] = t2;
|
|
584
584
|
$[4] = t3;
|
|
585
585
|
} else t3 = $[4];
|
|
586
586
|
return t3;
|
|
587
587
|
}
|
|
588
588
|
case "tool-read_skill_resource": {
|
|
589
|
-
const
|
|
589
|
+
const output = part.state === "output-available" ? part.output : void 0;
|
|
590
590
|
const t2 = part.input?.path ?? "resource";
|
|
591
591
|
let t3;
|
|
592
|
-
if ($[5] !==
|
|
592
|
+
if ($[5] !== output || $[6] !== t2) {
|
|
593
593
|
t3 = /* @__PURE__ */ jsx(ActivityPanel, {
|
|
594
594
|
label: t2,
|
|
595
|
-
text:
|
|
595
|
+
text: output
|
|
596
596
|
});
|
|
597
|
-
$[5] =
|
|
597
|
+
$[5] = output;
|
|
598
598
|
$[6] = t2;
|
|
599
599
|
$[7] = t3;
|
|
600
600
|
} else t3 = $[7];
|
|
601
601
|
return t3;
|
|
602
602
|
}
|
|
603
|
-
case "tool-run_skill_script": {
|
|
604
|
-
const output = part.state === "output-available" ? part.output : void 0;
|
|
605
|
-
const t2 = part.input?.path ?? "script";
|
|
606
|
-
let t3;
|
|
607
|
-
if ($[8] !== output) {
|
|
608
|
-
t3 = output !== void 0 ? /* @__PURE__ */ jsx(ExecutionResult, {
|
|
609
|
-
result: output,
|
|
610
|
-
showSummary: false
|
|
611
|
-
}) : null;
|
|
612
|
-
$[8] = output;
|
|
613
|
-
$[9] = t3;
|
|
614
|
-
} else t3 = $[9];
|
|
615
|
-
let t4;
|
|
616
|
-
if ($[10] !== t2 || $[11] !== t3) {
|
|
617
|
-
t4 = /* @__PURE__ */ jsx(ActivityPanel, {
|
|
618
|
-
label: t2,
|
|
619
|
-
children: t3
|
|
620
|
-
});
|
|
621
|
-
$[10] = t2;
|
|
622
|
-
$[11] = t3;
|
|
623
|
-
$[12] = t4;
|
|
624
|
-
} else t4 = $[12];
|
|
625
|
-
return t4;
|
|
626
|
-
}
|
|
627
603
|
}
|
|
628
604
|
}
|
|
629
605
|
/** Session panels expose the durable context/search operation recorded in the
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as isWorkspaceToolPart, E as workspaceToolError, S as isThinkChatActivityPart, T as thinkToolOutcome, _ as isPartFailed, a as SessionContextToolName, b as isSessionContextToolPart, c as SkillToolPart, d as ThinkWorkspaceToolName, f as WorkspaceToolPart, g as isFetchToolPart, h as isExecuteToolPart, i as FollowUpReceipt, l as ThinkChatPart, m as isBrowserToolPart, n as ExecuteToolPart, o as SessionContextToolPart, p as displayUrl, r as FetchToolPart, s as ShellToolPart, t as BrowserToolPart, u as ThinkToolOutcome, v as isPartWorking, w as readFollowUpReceipt, x as isSkillToolPart, y as isSessionContextToolFailure } from "../../ThinkChatToolParts-
|
|
1
|
+
import { C as isWorkspaceToolPart, E as workspaceToolError, S as isThinkChatActivityPart, T as thinkToolOutcome, _ as isPartFailed, a as SessionContextToolName, b as isSessionContextToolPart, c as SkillToolPart, d as ThinkWorkspaceToolName, f as WorkspaceToolPart, g as isFetchToolPart, h as isExecuteToolPart, i as FollowUpReceipt, l as ThinkChatPart, m as isBrowserToolPart, n as ExecuteToolPart, o as SessionContextToolPart, p as displayUrl, r as FetchToolPart, s as ShellToolPart, t as BrowserToolPart, u as ThinkToolOutcome, v as isPartWorking, w as readFollowUpReceipt, x as isSkillToolPart, y as isSessionContextToolFailure } from "../../ThinkChatToolParts-kV8Ayg16.js";
|
|
2
2
|
export { BrowserToolPart, ExecuteToolPart, FetchToolPart, FollowUpReceipt, SessionContextToolName, SessionContextToolPart, ShellToolPart, SkillToolPart, ThinkChatPart, ThinkToolOutcome, ThinkWorkspaceToolName, WorkspaceToolPart, displayUrl, isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartFailed, isPartWorking, isSessionContextToolFailure, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart, readFollowUpReceipt, thinkToolOutcome, workspaceToolError };
|
|
@@ -19,14 +19,9 @@ function isWorkspaceToolPart(part) {
|
|
|
19
19
|
/** The `{ error }` (or publish's `{ ok: false, error }`) a settled workspace tool returned. */
|
|
20
20
|
function workspaceToolError(part) {
|
|
21
21
|
if (part.state !== "output-available" || part.preliminary) return void 0;
|
|
22
|
-
|
|
23
|
-
return isRecord(output) && typeof output.error === "string" ? output.error : void 0;
|
|
22
|
+
return "error" in part.output ? part.output.error : void 0;
|
|
24
23
|
}
|
|
25
|
-
const SKILL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
26
|
-
"activate_skill",
|
|
27
|
-
"read_skill_resource",
|
|
28
|
-
"run_skill_script"
|
|
29
|
-
]);
|
|
24
|
+
const SKILL_TOOL_NAMES = /* @__PURE__ */ new Set(["activate_skill", "read_skill_resource"]);
|
|
30
25
|
function isSkillToolPart(part) {
|
|
31
26
|
return isStaticToolUIPart(part) && SKILL_TOOL_NAMES.has(getStaticToolName(part));
|
|
32
27
|
}
|
|
@@ -142,11 +137,11 @@ function thinkToolOutcome(part) {
|
|
|
142
137
|
if (part.state === "output-denied" || part.state === "approval-responded" && !part.approval.approved) return "denied";
|
|
143
138
|
if (!isStaticToolUIPart(part)) return void 0;
|
|
144
139
|
if (part.state !== "output-available" || part.preliminary) return void 0;
|
|
140
|
+
if (isWorkspaceToolPart(part)) return workspaceToolError(part) === void 0 ? void 0 : "failed";
|
|
145
141
|
const name = getToolName(part);
|
|
146
142
|
const output = part.output;
|
|
147
143
|
if (!isRecord(output)) return void 0;
|
|
148
144
|
if (name === "execute" || name === "browser_execute") return output.status === "error" ? "failed" : void 0;
|
|
149
|
-
if (isWorkspaceToolPart(part)) return workspaceToolError(part) === void 0 ? void 0 : "failed";
|
|
150
145
|
if (name === "read_active_tab") return typeof output.error === "string" ? "failed" : void 0;
|
|
151
146
|
if ((name === "follow_up" || name === "scheduled_tasks" || name === "search_history" || name === "set_thread_title") && isThinkActionError(output)) return "failed";
|
|
152
147
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
2
3
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
3
4
|
import { formatThinkExecutionTimestamp, getThinkExecutionRunError, getThinkExecutionRunProgressedAt, getThinkExecutionRunProgressedLabel, getThinkExecutionRunTitle } from "./ThinkExecutionRun.js";
|
|
4
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
5
5
|
import { ThinkExecutionStatus } from "./ThinkExecutionStatus.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { J as PauseIcon, M as InfoIcon, _t as XIcon, at as SpinnerIcon, p as CheckIcon } from "../../icons-
|
|
2
|
+
import { J as PauseIcon, M as InfoIcon, _t as XIcon, at as SpinnerIcon, p as CheckIcon } from "../../icons-B7D1XaPY.js";
|
|
3
3
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
4
|
import { formatThinkExecutionRunMeta, formatThinkExecutionStatus, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunTitle } from "./ThinkExecutionRun.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { ht as WarningIcon, tt as RefreshIcon, w as EllipsisIcon } from "../../icons-
|
|
3
|
-
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
2
|
+
import { ht as WarningIcon, tt as RefreshIcon, w as EllipsisIcon } from "../../icons-B7D1XaPY.js";
|
|
4
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
5
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
6
4
|
import { Menu } from "../foundations/Menu.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunTitle, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
|
|
5
|
+
import { IconButton } from "../foundations/IconButton.js";
|
|
6
|
+
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
10
7
|
import { t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
8
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
9
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
11
10
|
import { ResponsiveSidebarAppBar } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
11
|
+
import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunTitle, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
|
|
12
12
|
import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
14
14
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
2
1
|
import { AgentChatTurnError } from "../ai-sdk/AgentChatTurnError.js";
|
|
2
|
+
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/agents-sdk/ThinkRecoveryNotice.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as formatThinkScheduleTimeZone, i as formatThinkScheduleRepeat, n as ThinkScheduleOwner, o as getThinkScheduleNextRun, r as ThinkScheduleRunOf, s as parseThinkSchedule, t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { a as formatThinkScheduleTimeZone, i as formatThinkScheduleRepeat, n as ThinkScheduleOwner, o as getThinkScheduleNextRun, r as ThinkScheduleRunOf, s as parseThinkSchedule, t as ThinkSchedule } from "../../ThinkSchedule-Ce2tV1BF.js";
|
|
2
2
|
export { ThinkSchedule, ThinkScheduleOwner, ThinkScheduleRunOf, formatThinkScheduleRepeat, formatThinkScheduleTimeZone, getThinkScheduleNextRun, parseThinkSchedule };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AppTopBar } from "../../AppTopBar-CM57rJID.js";
|
|
2
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
2
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-Ce2tV1BF.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkScheduleActions.d.ts
|
|
5
5
|
export interface ThinkScheduleActionsRootProps<TSchedule extends ThinkSchedule = ThinkSchedule> {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Z as PlayIcon, at as SpinnerIcon, ft as TrashIcon } from "../../icons-
|
|
1
|
+
import { Z as PlayIcon, at as SpinnerIcon, ft as TrashIcon } from "../../icons-B7D1XaPY.js";
|
|
2
|
+
import { Button } from "../foundations/Button.js";
|
|
2
3
|
import { t as attempt } from "../../attempt-CySQHJsF.js";
|
|
3
4
|
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
4
|
-
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { n as mergeRefs } from "../../merge-refs-DTX97mLp.js";
|
|
6
6
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
7
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
8
7
|
import { n as executionErrorSummary } from "../../execution-result-DAuW4VWv.js";
|
|
8
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-Ce2tV1BF.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
//#region src/components/agents-sdk/ThinkScheduleBrowser.d.ts
|
|
4
4
|
export interface ThinkScheduleBrowserProps<TSchedule extends ThinkSchedule = ThinkSchedule> extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Q as PlusIcon } from "../../icons-
|
|
3
|
-
import { t as capitalize } from "../../format-DL7f2rqp.js";
|
|
2
|
+
import { Q as PlusIcon } from "../../icons-B7D1XaPY.js";
|
|
4
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
5
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
5
|
+
import { t as capitalize } from "../../format-DL7f2rqp.js";
|
|
6
|
+
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
6
7
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
7
8
|
import { formatThinkScheduleRepeat, getThinkScheduleNextRun } from "./ThinkSchedule.js";
|
|
8
|
-
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
9
9
|
import { SearchField } from "../foundations/SearchField.js";
|
|
10
10
|
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
2
|
-
import { r as ThinkScheduleRunOf, t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-BiZzDc4y.js";
|
|
2
|
+
import { r as ThinkScheduleRunOf, t as ThinkSchedule } from "../../ThinkSchedule-Ce2tV1BF.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkScheduleDetail.d.ts
|
|
5
5
|
export interface ThinkScheduleDetailProps<TSchedule extends ThinkSchedule = ThinkSchedule> extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { buttonVariants } from "../foundations/Button.js";
|
|
3
|
+
import { t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
4
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
5
|
+
import { n as executionResultLabel, t as ExecutionResult } from "../../ExecutionResult-oj5iiK-R.js";
|
|
3
6
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
4
7
|
import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
|
|
5
8
|
import { formatThinkScheduleRepeat, getThinkScheduleNextRun } from "./ThinkSchedule.js";
|
|
6
|
-
import { t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
7
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
|
-
import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
|
|
9
|
-
import { n as executionResultLabel, t as ExecutionResult } from "../../ExecutionResult-BojdvFEY.js";
|
|
10
9
|
import { Switch } from "../foundations/Switch.js";
|
|
10
|
+
import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as WorkspaceAutomationInvocation, t as WorkspaceAutomation } from "../../WorkspaceAutomation-
|
|
1
|
+
import { i as WorkspaceAutomationInvocation, t as WorkspaceAutomation } from "../../WorkspaceAutomation-BiZzDc4y.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
4
4
|
//#region src/components/agents-sdk/ThinkScheduleForm.d.ts
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { M as InfoIcon, at as SpinnerIcon, ht as WarningIcon, m as ChevronDownIcon, p as CheckIcon, r as ArrowLeftIcon } from "../../icons-
|
|
3
|
-
import { Checkbox } from "../foundations/Checkbox.js";
|
|
4
|
-
import { Select } from "../foundations/Select.js";
|
|
5
|
-
import { Field } from "../foundations/Field.js";
|
|
6
|
-
import { t as attempt } from "../../attempt-CySQHJsF.js";
|
|
7
|
-
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
2
|
+
import { M as InfoIcon, at as SpinnerIcon, ht as WarningIcon, m as ChevronDownIcon, p as CheckIcon, r as ArrowLeftIcon } from "../../icons-B7D1XaPY.js";
|
|
8
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { t as attempt } from "../../attempt-CySQHJsF.js";
|
|
5
|
+
import { Field } from "../foundations/Field.js";
|
|
9
6
|
import { Form } from "../foundations/Form.js";
|
|
10
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
11
7
|
import { Textarea } from "../foundations/Textarea.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
8
|
+
import { IconButton } from "../foundations/IconButton.js";
|
|
9
|
+
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
10
|
+
import { Select } from "../foundations/Select.js";
|
|
14
11
|
import { Favicon } from "../foundations/Favicon.js";
|
|
12
|
+
import { i as httpUrl } from "../../workspace-assets-BPkMEXP5.js";
|
|
15
13
|
import { n as executionErrorSummary } from "../../execution-result-DAuW4VWv.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
14
|
+
import { t as ExecutionResult } from "../../ExecutionResult-oj5iiK-R.js";
|
|
15
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
16
|
+
import { Checkbox } from "../foundations/Checkbox.js";
|
|
17
|
+
import { n as OptionSelect, t as scheduledTableSourceNote } from "../../scheduled-table-source-D0Pv1_Hb.js";
|
|
19
18
|
import { CheckboxGroup } from "../foundations/CheckboxGroup.js";
|
|
19
|
+
import { Combobox } from "../foundations/Combobox.js";
|
|
20
20
|
import { Fieldset } from "../foundations/Fieldset.js";
|
|
21
21
|
import { NumberField } from "../foundations/NumberField.js";
|
|
22
22
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Y as PencilIcon, at as SpinnerIcon, ht as WarningIcon, t as ArchiveIcon } from "../../icons-CNwk7DEu.js";
|
|
3
|
-
import { t as attempt } from "../../attempt-CySQHJsF.js";
|
|
4
|
-
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
5
|
-
import { Button, buttonVariants } from "../foundations/Button.js";
|
|
6
2
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
3
|
+
import { Y as PencilIcon, at as SpinnerIcon, ht as WarningIcon, t as ArchiveIcon } from "../../icons-B7D1XaPY.js";
|
|
4
|
+
import { Button, buttonVariants } from "../foundations/Button.js";
|
|
5
|
+
import { t as attempt } from "../../attempt-CySQHJsF.js";
|
|
7
6
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
7
|
+
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
8
8
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
9
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
10
9
|
import { n as isPlainPrimaryLinkActivation, t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
|
|
10
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
11
11
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
12
12
|
import { SearchField } from "../foundations/SearchField.js";
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ArrowLeftIcon } from "../../icons-
|
|
1
|
+
import { r as ArrowLeftIcon } from "../../icons-B7D1XaPY.js";
|
|
2
2
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { UseWorkspaceOptions, WorkspaceBinaryFileQueryKey, WorkspaceBinaryFileQueryOptions, WorkspaceDirectoryQueryKey, WorkspaceDirectoryQueryOptions, WorkspaceFileAssetQueryKey, WorkspaceFileAssetQueryOptions, WorkspaceFileQueryKey, WorkspaceFileReadTarget, WorkspaceFileStatQueryKey, WorkspaceFileStatQueryOptions, WorkspaceFileVersion, WorkspaceInfo, WorkspaceInfoQueryKey, WorkspaceInfoQueryOptions, WorkspaceQueryKey, WorkspaceQueryOptions, WorkspaceResolvedAsset, WorkspaceSource, WorkspaceState, WorkspaceTextFileQueryKey, WorkspaceTextFileQueryOptions, refreshWorkspaceFileQueries, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryKey, workspaceDirectoryQueryOptions, workspaceDirectoryQueryPrefix, workspaceFileAssetQueryOptions, workspaceFileQueryKey, workspaceFileStatQueryOptions, workspaceInfoQueryKey, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
|
|
1
|
+
import { A as workspaceFileAssetQueryOptions, C as invalidateWorkspaceInfo, D as workspaceDirectoryQueryKey, E as workspaceBinaryFileQueryOptions, F as workspaceQueryKey, I as workspaceTextFileQueryOptions, M as workspaceFileStatQueryOptions, N as workspaceInfoQueryKey, O as workspaceDirectoryQueryOptions, P as workspaceInfoQueryOptions, S as WorkspaceTextFileQueryOptions, T as useWorkspace, _ as WorkspaceQueryOptions, a as WorkspaceDirectoryQueryOptions, b as WorkspaceState, c as WorkspaceFileQueryKey, d as WorkspaceFileStatQueryOptions, f as WorkspaceFileVersion, g as WorkspaceQueryKey, h as WorkspaceInfoQueryOptions, i as WorkspaceDirectoryQueryKey, j as workspaceFileQueryKey, k as workspaceDirectoryQueryPrefix, l as WorkspaceFileReadTarget, m as WorkspaceInfoQueryKey, n as WorkspaceBinaryFileQueryKey, o as WorkspaceFileAssetQueryKey, p as WorkspaceInfo, r as WorkspaceBinaryFileQueryOptions, s as WorkspaceFileAssetQueryOptions, t as UseWorkspaceOptions, u as WorkspaceFileStatQueryKey, v as WorkspaceResolvedAsset, w as refreshWorkspaceFileQueries, x as WorkspaceTextFileQueryKey, y as WorkspaceSource } from "../../Workspace-Hw8GhSp9.js";
|
|
2
|
+
export { UseWorkspaceOptions, WorkspaceBinaryFileQueryKey, WorkspaceBinaryFileQueryOptions, WorkspaceDirectoryQueryKey, WorkspaceDirectoryQueryOptions, WorkspaceFileAssetQueryKey, WorkspaceFileAssetQueryOptions, WorkspaceFileQueryKey, WorkspaceFileReadTarget, WorkspaceFileStatQueryKey, WorkspaceFileStatQueryOptions, WorkspaceFileVersion, WorkspaceInfo, WorkspaceInfoQueryKey, WorkspaceInfoQueryOptions, WorkspaceQueryKey, WorkspaceQueryOptions, WorkspaceResolvedAsset, WorkspaceSource, WorkspaceState, WorkspaceTextFileQueryKey, WorkspaceTextFileQueryOptions, invalidateWorkspaceInfo, refreshWorkspaceFileQueries, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryKey, workspaceDirectoryQueryOptions, workspaceDirectoryQueryPrefix, workspaceFileAssetQueryOptions, workspaceFileQueryKey, workspaceFileStatQueryOptions, workspaceInfoQueryKey, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
|