@mcp-b/react-components 0.30.0 → 0.30.1
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/{CodeBlock-CM5gfmdq.js → CodeBlock-B5I7wje1.js} +1 -1
- package/dist/{FileTree-4WP4Uc_m.js → FileTree-DbQMpvxV.js} +1 -1
- package/dist/MenuDisclosureGroup-BUOZ42me.js +32 -0
- package/dist/{ModelSelector-DzdEs2fX.js → ModelSelector-DZcpUBgn.js} +1 -1
- package/dist/{ThinkChat-Dsm1xF3a.js → ThinkChat-yid8e_Jb.js} +1 -1
- package/dist/{WorkspaceFileView-hd1-cpuz.js → WorkspaceFileView-BeUpr6TU.js} +65 -88
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentActivityPreview.js +3 -3
- package/dist/components/agents-sdk/AgentChat.js +9 -9
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
- package/dist/components/agents-sdk/McpServerPicker.d.ts +9 -1
- package/dist/components/agents-sdk/McpServerPicker.js +7 -7
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- 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/SubagentRunSelector.js +2 -2
- package/dist/components/agents-sdk/ThinkChat.js +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +1 -1
- 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 +3 -3
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +12 -0
- package/dist/components/agents-sdk/ThinkFullApp.js +30 -11
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +3 -0
- package/dist/components/agents-sdk/ThinkRoutineLibrary.js +38 -33
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +2 -2
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +1 -3
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +3 -3
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +1 -1
- 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/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.js +1 -1
- 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 +3 -3
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.js +2 -2
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +3 -3
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/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/icons.js +1 -1
- package/dist/components/general-purpose/Commit.js +3 -3
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
- package/dist/components/general-purpose/ResizableSidePanel.d.ts +6 -0
- package/dist/components/general-purpose/ResizableSidePanel.js +10 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.d.ts +3 -0
- package/dist/components/general-purpose/SetupChecklist.js +20 -14
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +2 -2
- package/dist/{copy-button-CsNSSKYG.js → copy-button-4YvddK4e.js} +1 -1
- package/dist/styles/file-tree.css +1 -0
- package/dist/styles/index.css +1 -0
- package/dist/styles/mcp-server-picker.css +1 -3
- package/dist/styles/menu-disclosure-group.css +13 -0
- package/dist/styles/think-full-app.css +1 -1
- package/dist/styles/workspace-explorer.css +0 -9
- package/package.json +2 -2
- package/dist/{icons-B1Qw05te.js → icons-B4mGvCvc.js} +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
2
|
import { Select } from "./components/foundations/Select.js";
|
|
3
|
-
import { t as CopyButton } from "./copy-button-
|
|
3
|
+
import { t as CopyButton } from "./copy-button-4YvddK4e.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { createHighlighter } from "shiki";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { C as FileIcon, T as FolderOpenIcon, m as ChevronRightIcon, w as FolderIcon } from "./icons-
|
|
2
|
+
import { C as FileIcon, T as FolderOpenIcon, m as ChevronRightIcon, w as FolderIcon } from "./icons-B4mGvCvc.js";
|
|
3
3
|
import { t as NavigationLink } from "./navigation-link-kqMa81v5.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { n as mergeBaseClassName } from "./class-names-BiMDVpUo.js";
|
|
2
|
+
import { f as ChevronDownIcon } from "./icons-B4mGvCvc.js";
|
|
3
|
+
import { Menu } from "./components/foundations/Menu.js";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/_internal/MenuDisclosureGroup.tsx
|
|
7
|
+
/**
|
|
8
|
+
* A menu-native disclosure: its trigger stays in the menu roving-focus model,
|
|
9
|
+
* while its rows mount only after the user expands the section.
|
|
10
|
+
*/
|
|
11
|
+
function MenuDisclosureGroup({ children, className, defaultOpen = false, label, triggerClassName, ...props }) {
|
|
12
|
+
const [open, setOpen] = React.useState(defaultOpen);
|
|
13
|
+
return /* @__PURE__ */ jsxs(Menu.Group, {
|
|
14
|
+
className: mergeBaseClassName("menu-disclosure-group", className),
|
|
15
|
+
...props,
|
|
16
|
+
children: [/* @__PURE__ */ jsxs(Menu.Item, {
|
|
17
|
+
"aria-expanded": open,
|
|
18
|
+
className: mergeBaseClassName("menu-disclosure-group__trigger", triggerClassName),
|
|
19
|
+
closeOnClick: false,
|
|
20
|
+
onClick: () => setOpen((current) => !current),
|
|
21
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
22
|
+
className: "sigvelo-truncate-grow",
|
|
23
|
+
children: label
|
|
24
|
+
}), /* @__PURE__ */ jsx(ChevronDownIcon, { "aria-hidden": "true" })]
|
|
25
|
+
}), open ? /* @__PURE__ */ jsx("div", {
|
|
26
|
+
className: "menu-disclosure-group__items",
|
|
27
|
+
children
|
|
28
|
+
}) : null]
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { MenuDisclosureGroup as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { G as SearchIcon, f as ChevronDownIcon } from "./icons-
|
|
2
|
+
import { G as SearchIcon, f as ChevronDownIcon } from "./icons-B4mGvCvc.js";
|
|
3
3
|
import { Button } from "./components/foundations/Button.js";
|
|
4
4
|
import { Dialog } from "./components/foundations/Dialog.js";
|
|
5
5
|
import { a as titleCase } from "./format-CmopcfqJ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as SpinnerIcon } from "./icons-
|
|
1
|
+
import { J as SpinnerIcon } from "./icons-B4mGvCvc.js";
|
|
2
2
|
import { TransitionSurface } from "./components/foundations/TransitionSurface.js";
|
|
3
3
|
import { AgentChat } from "./components/agents-sdk/AgentChat.js";
|
|
4
4
|
import { AgentToolRunsProvider, useOptionalAgentToolRuns } from "./components/agents-sdk/AgentToolRunsContext.js";
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { A as MaximizeIcon, d as CheckIcon, h as CodeIcon,
|
|
2
|
-
import { t as NavigationLink } from "./navigation-link-kqMa81v5.js";
|
|
3
|
-
import { buttonVariants } from "./components/foundations/Button.js";
|
|
1
|
+
import { A as MaximizeIcon, d as CheckIcon, h as CodeIcon, r as ArrowLeftIcon, tt as WarningIcon, x as EyeIcon, y as DownloadIcon } from "./icons-B4mGvCvc.js";
|
|
4
2
|
import { r as formatClock } from "./format-CmopcfqJ.js";
|
|
5
|
-
import { a as CodeBlockCopyButton, i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "./CodeBlock-
|
|
3
|
+
import { a as CodeBlockCopyButton, i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "./CodeBlock-B5I7wje1.js";
|
|
6
4
|
import { inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceSkillPath, parseWorkspaceSkill } from "./components/agents-sdk/WorkspaceFile.js";
|
|
7
5
|
import { c as useWorkspaceNavigationContext, s as useWorkspaceNavigationRestoration } from "./WorkspaceLink-DZeLe_jN.js";
|
|
8
6
|
import { n as createWorkspaceRehypePlugins, t as WorkspaceMessageResponse } from "./WorkspaceMessageResponse-BWbkIELl.js";
|
|
@@ -555,22 +553,13 @@ function WorkspaceFileView({ appearance = "contained", file, path, isLoading, is
|
|
|
555
553
|
downloadUrl: assetUrl.downloadUrl,
|
|
556
554
|
allowOpen: media?.mimeType !== "image/svg+xml"
|
|
557
555
|
}) : null;
|
|
558
|
-
const closeAction = workspaceNavigation ? /* @__PURE__ */ jsx(NavigationLink, {
|
|
559
|
-
"aria-label": "Close file",
|
|
560
|
-
className: buttonVariants({
|
|
561
|
-
color: "neutral",
|
|
562
|
-
variant: "ghost",
|
|
563
|
-
size: "sm",
|
|
564
|
-
className: "workspace-explorer__file-close"
|
|
565
|
-
}),
|
|
566
|
-
"data-icon-only": "",
|
|
567
|
-
"data-slot": "button",
|
|
568
|
-
render: workspaceNavigation.navigation.renderLink({ kind: "files" }),
|
|
569
|
-
children: /* @__PURE__ */ jsx(XIcon, { "aria-hidden": "true" })
|
|
570
|
-
}) : null;
|
|
571
556
|
const headerProps = {
|
|
572
557
|
path,
|
|
573
|
-
leading,
|
|
558
|
+
leading: workspaceNavigation ? /* @__PURE__ */ jsx(AppTopBar.Link, {
|
|
559
|
+
label: "Back to workspace",
|
|
560
|
+
render: workspaceNavigation.navigation.renderLink({ kind: "files" }),
|
|
561
|
+
children: /* @__PURE__ */ jsx(ArrowLeftIcon, { "aria-hidden": "true" })
|
|
562
|
+
}) : leading,
|
|
574
563
|
actions: isMarkdown ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
575
564
|
actions,
|
|
576
565
|
assetActions,
|
|
@@ -606,17 +595,13 @@ function WorkspaceFileView({ appearance = "contained", file, path, isLoading, is
|
|
|
606
595
|
className: "workspace-explorer__file",
|
|
607
596
|
"data-appearance": appearance,
|
|
608
597
|
"data-workspace-restoration-scope": "file",
|
|
609
|
-
children: [
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
role,
|
|
617
|
-
children: message
|
|
618
|
-
})
|
|
619
|
-
]
|
|
598
|
+
children: [/* @__PURE__ */ jsx(WorkspaceHeader, { ...headerProps }), /* @__PURE__ */ jsx("div", {
|
|
599
|
+
className: "workspace-explorer__empty",
|
|
600
|
+
"data-workspace-file-content": "",
|
|
601
|
+
"data-workspace-focus-target": "",
|
|
602
|
+
role,
|
|
603
|
+
children: message
|
|
604
|
+
})]
|
|
620
605
|
});
|
|
621
606
|
}
|
|
622
607
|
if (file.asset && media && assetUrl.url) return /* @__PURE__ */ jsxs("div", {
|
|
@@ -624,18 +609,14 @@ function WorkspaceFileView({ appearance = "contained", file, path, isLoading, is
|
|
|
624
609
|
className: "workspace-explorer__file",
|
|
625
610
|
"data-appearance": appearance,
|
|
626
611
|
"data-workspace-restoration-scope": "file",
|
|
627
|
-
children: [
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
downloadUrl: assetUrl.downloadUrl,
|
|
636
|
-
onScroll: handleScroll
|
|
637
|
-
})
|
|
638
|
-
]
|
|
612
|
+
children: [/* @__PURE__ */ jsx(WorkspaceHeader, { ...headerProps }), /* @__PURE__ */ jsx(WorkspaceMediaPreview, {
|
|
613
|
+
asset: file.asset,
|
|
614
|
+
fileName: file.name,
|
|
615
|
+
media,
|
|
616
|
+
url: assetUrl.url,
|
|
617
|
+
downloadUrl: assetUrl.downloadUrl,
|
|
618
|
+
onScroll: handleScroll
|
|
619
|
+
})]
|
|
639
620
|
});
|
|
640
621
|
if (file.content === null) return null;
|
|
641
622
|
if (isMarkdown && markdownView === "preview") {
|
|
@@ -652,60 +633,56 @@ function WorkspaceFileView({ appearance = "contained", file, path, isLoading, is
|
|
|
652
633
|
className: "workspace-explorer__file",
|
|
653
634
|
"data-appearance": appearance,
|
|
654
635
|
"data-workspace-restoration-scope": "file",
|
|
655
|
-
children: [
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
"
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
children: [
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
/* @__PURE__ */ jsx("p", {
|
|
675
|
-
className: "workspace-explorer__skill-name",
|
|
676
|
-
children: skill.parsed.properties.name
|
|
677
|
-
}),
|
|
678
|
-
/* @__PURE__ */ jsx("p", {
|
|
679
|
-
className: "workspace-explorer__skill-description",
|
|
680
|
-
children: skill.parsed.properties.description
|
|
681
|
-
}),
|
|
682
|
-
/* @__PURE__ */ jsxs("dl", {
|
|
683
|
-
className: "workspace-explorer__skill-metadata",
|
|
684
|
-
children: [skill.parsed.properties.compatibility ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("dt", { children: "Compatibility" }), /* @__PURE__ */ jsx("dd", { children: skill.parsed.properties.compatibility })] }) : null, skill.parsed.properties.allowedTools ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("dt", { children: "Allowed tools" }), /* @__PURE__ */ jsx("dd", { children: skill.parsed.properties.allowedTools })] }) : null]
|
|
685
|
-
})
|
|
686
|
-
] }) : null] }) : null,
|
|
687
|
-
/* @__PURE__ */ jsxs("div", {
|
|
688
|
-
className: "workspace-explorer__skill-status",
|
|
689
|
-
"data-invalid": skill.validationErrors.length > 0 ? "" : void 0,
|
|
690
|
-
children: [skill.validationErrors.length > 0 ? /* @__PURE__ */ jsx(WarningIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true" }), skill.validationErrors.length > 0 ? `${skill.validationErrors.length.toLocaleString()} validation ${skill.validationErrors.length === 1 ? "issue" : "issues"}` : "Valid Agent Skill"]
|
|
636
|
+
children: [/* @__PURE__ */ jsx(WorkspaceHeader, { ...headerProps }), /* @__PURE__ */ jsx("div", {
|
|
637
|
+
ref: scrollRef,
|
|
638
|
+
className: "workspace-explorer__markdown-scroll",
|
|
639
|
+
"data-workspace-file-content": "",
|
|
640
|
+
"data-workspace-scroll": "",
|
|
641
|
+
onScroll: handleScroll,
|
|
642
|
+
children: /* @__PURE__ */ jsxs("article", {
|
|
643
|
+
className: "workspace-explorer__markdown",
|
|
644
|
+
children: [skill ? /* @__PURE__ */ jsxs("header", {
|
|
645
|
+
className: "workspace-explorer__skill",
|
|
646
|
+
"data-skill-identity": showSkillIdentity ? "" : void 0,
|
|
647
|
+
children: [
|
|
648
|
+
showSkillIdentity ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
|
|
649
|
+
className: "workspace-explorer__skill-kicker",
|
|
650
|
+
children: "Agent Skill"
|
|
651
|
+
}), skill.parsed ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
652
|
+
/* @__PURE__ */ jsx("p", {
|
|
653
|
+
className: "workspace-explorer__skill-name",
|
|
654
|
+
children: skill.parsed.properties.name
|
|
691
655
|
}),
|
|
692
|
-
|
|
693
|
-
className: "workspace-explorer__skill-
|
|
694
|
-
children: skill.
|
|
695
|
-
})
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
656
|
+
/* @__PURE__ */ jsx("p", {
|
|
657
|
+
className: "workspace-explorer__skill-description",
|
|
658
|
+
children: skill.parsed.properties.description
|
|
659
|
+
}),
|
|
660
|
+
/* @__PURE__ */ jsxs("dl", {
|
|
661
|
+
className: "workspace-explorer__skill-metadata",
|
|
662
|
+
children: [skill.parsed.properties.compatibility ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("dt", { children: "Compatibility" }), /* @__PURE__ */ jsx("dd", { children: skill.parsed.properties.compatibility })] }) : null, skill.parsed.properties.allowedTools ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("dt", { children: "Allowed tools" }), /* @__PURE__ */ jsx("dd", { children: skill.parsed.properties.allowedTools })] }) : null]
|
|
663
|
+
})
|
|
664
|
+
] }) : null] }) : null,
|
|
665
|
+
/* @__PURE__ */ jsxs("div", {
|
|
666
|
+
className: "workspace-explorer__skill-status",
|
|
667
|
+
"data-invalid": skill.validationErrors.length > 0 ? "" : void 0,
|
|
668
|
+
children: [skill.validationErrors.length > 0 ? /* @__PURE__ */ jsx(WarningIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true" }), skill.validationErrors.length > 0 ? `${skill.validationErrors.length.toLocaleString()} validation ${skill.validationErrors.length === 1 ? "issue" : "issues"}` : "Valid Agent Skill"]
|
|
669
|
+
}),
|
|
670
|
+
skill.validationErrors.length > 0 ? /* @__PURE__ */ jsx("ul", {
|
|
671
|
+
className: "workspace-explorer__skill-errors",
|
|
672
|
+
children: skill.validationErrors.map((error) => /* @__PURE__ */ jsx("li", { children: error }, error))
|
|
673
|
+
}) : null
|
|
674
|
+
]
|
|
675
|
+
}) : null, response]
|
|
699
676
|
})
|
|
700
|
-
]
|
|
677
|
+
})]
|
|
701
678
|
});
|
|
702
679
|
}
|
|
703
|
-
return /* @__PURE__ */
|
|
680
|
+
return /* @__PURE__ */ jsx("div", {
|
|
704
681
|
ref: fileViewRef,
|
|
705
682
|
className: "workspace-explorer__file",
|
|
706
683
|
"data-appearance": appearance,
|
|
707
684
|
"data-workspace-restoration-scope": "file",
|
|
708
|
-
children:
|
|
685
|
+
children: /* @__PURE__ */ jsxs(CodeBlock, {
|
|
709
686
|
className: "workspace-explorer__code",
|
|
710
687
|
code: file.content,
|
|
711
688
|
"data-workspace-file-content": "",
|
|
@@ -724,7 +701,7 @@ function WorkspaceFileView({ appearance = "contained", file, path, isLoading, is
|
|
|
724
701
|
onScroll: handleScroll,
|
|
725
702
|
children: /* @__PURE__ */ jsx(CodeBlockContent, {})
|
|
726
703
|
})]
|
|
727
|
-
})
|
|
704
|
+
})
|
|
728
705
|
});
|
|
729
706
|
}
|
|
730
707
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inferFaviconUrl } from "../../utils/favicon.js";
|
|
2
|
-
import { $ as TerminalIcon, B as PencilIcon, C as FileIcon, F as MonitorIcon, G as SearchIcon, O as InfoIcon, k as LinkIcon, nt as WrenchIcon, tt as WarningIcon } from "../../icons-
|
|
2
|
+
import { $ as TerminalIcon, B as PencilIcon, C as FileIcon, F as MonitorIcon, G as SearchIcon, O as InfoIcon, k as LinkIcon, nt as WrenchIcon, tt as WarningIcon } from "../../icons-B4mGvCvc.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/agents-sdk/AgentActivity.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { C as FileIcon, J as SpinnerIcon, j as McpIcon, rt as XIcon, tt as WarningIcon } from "../../icons-
|
|
3
|
-
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
2
|
+
import { C as FileIcon, J as SpinnerIcon, j as McpIcon, rt as XIcon, tt as WarningIcon } from "../../icons-B4mGvCvc.js";
|
|
4
3
|
import { ActivityHeader } from "../ai-sdk/Activity.js";
|
|
4
|
+
import { Button } from "../foundations/Button.js";
|
|
5
|
+
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
5
6
|
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
6
7
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
7
|
-
import { Button } from "../foundations/Button.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/agents-sdk/AgentActivityPreview.tsx
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { B as PencilIcon, H as PlusIcon, J as SpinnerIcon, L as MoveToFrontIcon, U as QueueIcon, W as RefreshIcon, et as TrashIcon, t as ArchiveIcon } from "../../icons-B1Qw05te.js";
|
|
3
2
|
import { ExpansionStateProvider } from "../ai-sdk/ExpansionState.js";
|
|
3
|
+
import { B as PencilIcon, H as PlusIcon, J as SpinnerIcon, L as MoveToFrontIcon, U as QueueIcon, W as RefreshIcon, et as TrashIcon, t as ArchiveIcon } from "../../icons-B4mGvCvc.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
+
import { AgentChatMessageEditor } from "../ai-sdk/AgentChatMessageEditor.js";
|
|
5
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
|
-
import { Message, MessageAction, MessageActions } from "../ai-sdk/Message.js";
|
|
7
|
-
import { AgentMessageParts } from "../ai-sdk/AgentMessageParts.js";
|
|
8
|
-
import { Context, ContextContent, ContextContentBody, ContextContentHeader, ContextTrigger, getContextUsage, getContextUsedTokens } from "../ai-sdk/Context.js";
|
|
9
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
10
|
-
import { VirtualMessageScroller } from "../ai-sdk/MessageScrollerVirtual.js";
|
|
11
7
|
import { Menu } from "../foundations/Menu.js";
|
|
12
8
|
import { PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputCommandComposer, PromptInputContextSelector, PromptInputDictation, PromptInputFooter, PromptInputHeader, PromptInputPermissionSelector, PromptInputReferences, PromptInputSubmit, PromptInputTextarea, PromptInputTools, PromptInputTray, usePromptInputAttachments } from "../ai-sdk/PromptInput.js";
|
|
13
9
|
import { AgentChatStartScreen } from "../ai-sdk/AgentChatStartScreen.js";
|
|
14
|
-
import {
|
|
10
|
+
import { Message, MessageAction, MessageActions } from "../ai-sdk/Message.js";
|
|
11
|
+
import { AgentMessageParts } from "../ai-sdk/AgentMessageParts.js";
|
|
15
12
|
import { Marker, MarkerContent } from "../foundations/Marker.js";
|
|
13
|
+
import { t as CopyButton } from "../../copy-button-4YvddK4e.js";
|
|
14
|
+
import { Context, ContextContent, ContextContentBody, ContextContentHeader, ContextTrigger, getContextUsage, getContextUsedTokens } from "../ai-sdk/Context.js";
|
|
15
|
+
import { VirtualMessageScroller } from "../ai-sdk/MessageScrollerVirtual.js";
|
|
16
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
16
17
|
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
17
18
|
import { PromptInputApproval, getApprovalRequestId, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
|
|
18
|
-
import { t as CopyButton } from "../../copy-button-CsNSSKYG.js";
|
|
19
19
|
import * as React from "react";
|
|
20
20
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
-
import { isCompactionMessage } from "agents/experimental/memory/utils";
|
|
22
21
|
import { isTextUIPart } from "ai";
|
|
22
|
+
import { isCompactionMessage } from "agents/experimental/memory/utils";
|
|
23
23
|
//#region src/components/agents-sdk/AgentChat.tsx
|
|
24
24
|
/**
|
|
25
25
|
* Agents exports this helper from `agents/sessions` after cloudflare/agents#1896;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { A as MaximizeIcon, J as SpinnerIcon } from "../../icons-
|
|
2
|
+
import { A as MaximizeIcon, J as SpinnerIcon } from "../../icons-B4mGvCvc.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Dialog } from "../foundations/Dialog.js";
|
|
5
5
|
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { V as PlayIcon, z as PauseIcon } from "../../icons-
|
|
2
|
+
import { V as PlayIcon, z as PauseIcon } from "../../icons-B4mGvCvc.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { r as formatClock } from "../../format-CmopcfqJ.js";
|
|
5
5
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { J as SpinnerIcon, rt as XIcon } from "../../icons-
|
|
2
|
+
import { J as SpinnerIcon, rt as XIcon } from "../../icons-B4mGvCvc.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Tabs } from "../foundations/Tabs.js";
|
|
5
5
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getMcpServerEntry, getMcpServerRuntimeState } from "../../utils/mcp-server-catalog.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { J as SpinnerIcon, d as CheckIcon, j as McpIcon, tt as WarningIcon } from "../../icons-
|
|
3
|
+
import { J as SpinnerIcon, d as CheckIcon, j as McpIcon, tt as WarningIcon } from "../../icons-B4mGvCvc.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
-
import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
|
|
6
5
|
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
6
|
+
import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
|
|
7
7
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
8
|
import { n as getMcpServerConnectionKind } from "../../mcp-server-U71zhxFF.js";
|
|
9
9
|
import * as React from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CUSTOM_MCP_SERVER_CARD } from "../../utils/mcp-server-catalog.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
|
|
5
4
|
import { Field } from "../foundations/Field.js";
|
|
6
5
|
import { Form } from "../foundations/Form.js";
|
|
6
|
+
import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
|
|
7
7
|
import { Fieldset } from "../foundations/Fieldset.js";
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { getMcpServerEntry } from "../../utils/mcp-server-catalog.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { H as PlusIcon, J as SpinnerIcon, b as EllipsisIcon, o as ArrowUpRightIcon, rt as XIcon, tt as WarningIcon } from "../../icons-
|
|
4
|
-
import { AppIcon } from "../foundations/AppIcon.js";
|
|
3
|
+
import { H as PlusIcon, J as SpinnerIcon, b as EllipsisIcon, o as ArrowUpRightIcon, rt as XIcon, tt as WarningIcon } from "../../icons-B4mGvCvc.js";
|
|
5
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
+
import { AgentAttention, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
6
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
7
7
|
import { Dialog } from "../foundations/Dialog.js";
|
|
8
8
|
import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
|
|
9
9
|
import { Separator } from "../foundations/Separator.js";
|
|
10
|
-
import {
|
|
10
|
+
import { AppIcon } from "../foundations/AppIcon.js";
|
|
11
11
|
import { n as getMcpServerConnectionKind, t as McpServerIcon } from "../../mcp-server-U71zhxFF.js";
|
|
12
12
|
import { SearchField } from "../foundations/SearchField.js";
|
|
13
13
|
import * as React from "react";
|
|
@@ -5,6 +5,14 @@ import { l as DialogProps } from "../../Dialog-DeOSJ0Oy.js";
|
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { MCPServersState } from "agents";
|
|
7
7
|
|
|
8
|
+
//#region src/components/_internal/MenuDisclosureGroup.d.ts
|
|
9
|
+
interface MenuDisclosureGroupProps extends Omit<React.ComponentProps<typeof Menu.Group>, "children"> {
|
|
10
|
+
label: React.ReactNode;
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
defaultOpen?: boolean;
|
|
13
|
+
triggerClassName?: string;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
8
16
|
//#region src/components/agents-sdk/McpServerPicker.d.ts
|
|
9
17
|
interface McpServerPickerProps {
|
|
10
18
|
/** MCP servers to show in the plus-menu picker. */
|
|
@@ -24,7 +32,7 @@ interface McpServerPickerProps {
|
|
|
24
32
|
triggerLabel?: string;
|
|
25
33
|
}
|
|
26
34
|
type McpServerPickerItemsProps = Omit<McpServerPickerProps, "sideOffset" | "triggerLabel">;
|
|
27
|
-
interface McpServerPickerGroupProps extends Omit<
|
|
35
|
+
interface McpServerPickerGroupProps extends Omit<MenuDisclosureGroupProps, "children" | "label" | "triggerClassName"> {
|
|
28
36
|
/** Quiet visible heading for a related set of picker actions. */
|
|
29
37
|
label: React.ReactNode;
|
|
30
38
|
children: React.ReactNode;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { getMcpServerEntry, getMcpServerRuntimeState } from "../../utils/mcp-server-catalog.js";
|
|
2
2
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { J as SpinnerIcon, P as MinusIcon, d as CheckIcon, tt as WarningIcon } from "../../icons-
|
|
3
|
+
import { J as SpinnerIcon, P as MinusIcon, d as CheckIcon, tt as WarningIcon } from "../../icons-B4mGvCvc.js";
|
|
4
4
|
import { buttonVariants } from "../foundations/Button.js";
|
|
5
|
+
import { Menu } from "../foundations/Menu.js";
|
|
5
6
|
import { Dialog } from "../foundations/Dialog.js";
|
|
6
7
|
import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
|
|
7
|
-
import { Menu } from "../foundations/Menu.js";
|
|
8
8
|
import { PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger } from "../ai-sdk/PromptInput.js";
|
|
9
9
|
import { n as getMcpServerConnectionKind, t as McpServerIcon } from "../../mcp-server-U71zhxFF.js";
|
|
10
10
|
import { McpConnectorForm } from "./McpConnectorForm.js";
|
|
11
|
+
import { t as MenuDisclosureGroup } from "../../MenuDisclosureGroup-BUOZ42me.js";
|
|
11
12
|
import * as React from "react";
|
|
12
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
14
|
//#region src/components/agents-sdk/McpServerPicker.tsx
|
|
@@ -127,13 +128,12 @@ function McpServerPickerItems({ servers, onConnect, mcp, onDisconnect, actions,
|
|
|
127
128
|
] });
|
|
128
129
|
}
|
|
129
130
|
function McpServerPickerGroup({ label, children, className, ...props }) {
|
|
130
|
-
return /* @__PURE__ */
|
|
131
|
+
return /* @__PURE__ */ jsx(MenuDisclosureGroup, {
|
|
131
132
|
className: mergeBaseClassName("mcp-server-picker__group", className),
|
|
133
|
+
label,
|
|
134
|
+
triggerClassName: "mcp-server-picker__group-trigger",
|
|
132
135
|
...props,
|
|
133
|
-
children
|
|
134
|
-
className: "mcp-server-picker__group-label",
|
|
135
|
-
children: label
|
|
136
|
-
}), children]
|
|
136
|
+
children
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
function McpServerPickerAction({ icon, label, description, className, ...props }) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as getCloudflareModelProvider, a as ModelSelectorEmpty, b as normalizeCloudflareModelSelectorModels, c as ModelSelectorItem, d as ModelSelectorLogoGroup, f as ModelSelectorName, g as formatCloudflareModelProvider, h as ModelSelectorTrigger, i as ModelSelectorDialog, l as ModelSelectorList, m as ModelSelectorSource, n as ModelSelector, o as ModelSelectorGroup, p as ModelSelectorSeparator, r as ModelSelectorContent, s as ModelSelectorInput, t as CloudflareModelSelector, u as ModelSelectorLogo, v as isCloudflareRunnableModelId, x as readCloudflareModelId, y as listCloudflareModelSelectorOptions } from "../../ModelSelector-
|
|
1
|
+
import { _ as getCloudflareModelProvider, a as ModelSelectorEmpty, b as normalizeCloudflareModelSelectorModels, c as ModelSelectorItem, d as ModelSelectorLogoGroup, f as ModelSelectorName, g as formatCloudflareModelProvider, h as ModelSelectorTrigger, i as ModelSelectorDialog, l as ModelSelectorList, m as ModelSelectorSource, n as ModelSelector, o as ModelSelectorGroup, p as ModelSelectorSeparator, r as ModelSelectorContent, s as ModelSelectorInput, t as CloudflareModelSelector, u as ModelSelectorLogo, v as isCloudflareRunnableModelId, x as readCloudflareModelId, y as listCloudflareModelSelectorOptions } from "../../ModelSelector-DZcpUBgn.js";
|
|
2
2
|
export { CloudflareModelSelector, ModelSelector, ModelSelectorContent, ModelSelectorDialog, ModelSelectorEmpty, ModelSelectorGroup, ModelSelectorInput, ModelSelectorItem, ModelSelectorList, ModelSelectorLogo, ModelSelectorLogoGroup, ModelSelectorName, ModelSelectorSeparator, ModelSelectorSource, ModelSelectorTrigger, formatCloudflareModelProvider, getCloudflareModelProvider, isCloudflareRunnableModelId, listCloudflareModelSelectorOptions, normalizeCloudflareModelSelectorModels, readCloudflareModelId };
|
|
@@ -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 "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { isToolUIPart } from "ai";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BoxIcon, j as McpIcon } from "../../icons-
|
|
1
|
+
import { c as BoxIcon, j as McpIcon } from "../../icons-B4mGvCvc.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/components/agents-sdk/PromptInputCommands.tsx
|
|
4
4
|
/** Project whole upstream Agents MCP state into composer mention commands. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { J as SpinnerIcon, X as StopIcon, d as CheckIcon, tt as WarningIcon } from "../../icons-
|
|
2
|
+
import { J as SpinnerIcon, X as StopIcon, d as CheckIcon, tt as WarningIcon } from "../../icons-B4mGvCvc.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/agents-sdk/SubagentRunIndicator.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { l as BrainIcon } from "../../icons-
|
|
3
|
-
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
2
|
+
import { l as BrainIcon } from "../../icons-B4mGvCvc.js";
|
|
4
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
5
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
5
|
+
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
6
6
|
import { SubagentRunIndicator, getSubagentRunName, getSubagentRunTooltip } from "./SubagentRunIndicator.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -6,7 +6,7 @@ import { isThinkChatActivityPart } from "./ThinkChatToolParts.js";
|
|
|
6
6
|
import { describeThinkChatActivityPart } from "./ThinkChatActivitySummary.js";
|
|
7
7
|
import { ThinkChatActivity, createThinkChatActivityRenderer, renderThinkChatActivityPart } from "./ThinkChatActivity.js";
|
|
8
8
|
import { ThinkRecoveryNotice } from "./ThinkRecoveryNotice.js";
|
|
9
|
-
import { a as thinkPendingExecutionApprovalsQueryOptions, i as ThinkChatRoot, n as ThinkChatMessages, o as useThinkChat, r as ThinkChatProvider, s as useThinkPendingExecutionApprovals, t as ThinkChat } from "../../ThinkChat-
|
|
9
|
+
import { a as thinkPendingExecutionApprovalsQueryOptions, i as ThinkChatRoot, n as ThinkChatMessages, o as useThinkChat, r as ThinkChatProvider, s as useThinkPendingExecutionApprovals, t as ThinkChat } from "../../ThinkChat-yid8e_Jb.js";
|
|
10
10
|
import { useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryKey, workspaceDirectoryQueryOptions, workspaceDirectoryQueryPrefix, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions } from "./Workspace.js";
|
|
11
11
|
import { WorkspaceExplorer } from "./WorkspaceExplorer.js";
|
|
12
12
|
export { AgentToolRunsProvider, BrowserLiveView, BrowserReplay, ThinkChat, ThinkChatActivity, ThinkChatMessages, ThinkChatProvider, ThinkChatRoot, ThinkRecoveryNotice, WorkspaceExplorer, createThinkChatActivityRenderer, describeThinkChatActivityPart, inferWorkspaceLanguage, isThinkChatActivityPart, renderThinkChatActivityPart, thinkPendingExecutionApprovalsQueryOptions, useOptionalAgentToolRuns, useThinkChat, useThinkPendingExecutionApprovals, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryKey, workspaceDirectoryQueryOptions, workspaceDirectoryQueryPrefix, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
2
1
|
import { useExpansionState } from "../ai-sdk/ExpansionState.js";
|
|
3
2
|
import { Activity, ActivityContent, ActivityItem, ActivityItemGroup, ActivityText, ActivityTrigger } from "../ai-sdk/Activity.js";
|
|
4
3
|
import { Button } from "../foundations/Button.js";
|
|
5
4
|
import { MessageResponse } from "../ai-sdk/Message.js";
|
|
5
|
+
import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
|
|
6
6
|
import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
|
|
7
7
|
import { SubagentRunList } from "./SubagentRunList.js";
|
|
8
8
|
import { useOptionalThinkChatLive } from "./ThinkChatContext.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ActivityOutput, ActivityPanel } from "../ai-sdk/Activity.js";
|
|
2
2
|
import { Tabs } from "../foundations/Tabs.js";
|
|
3
|
+
import { t as CodeBlock } from "../../CodeBlock-B5I7wje1.js";
|
|
3
4
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
4
|
-
import { t as CodeBlock } from "../../CodeBlock-CM5gfmdq.js";
|
|
5
5
|
import { inferWorkspaceLanguage } from "./WorkspaceFile.js";
|
|
6
6
|
import { displayUrl, isSessionContextToolFailure } from "./ThinkChatToolParts.js";
|
|
7
7
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { $ as TerminalIcon, C as FileIcon, O as InfoIcon, W as RefreshIcon, d as CheckIcon, n as ArrowDownIcon, rt as XIcon } from "../../icons-
|
|
2
|
+
import { $ as TerminalIcon, C as FileIcon, O as InfoIcon, W as RefreshIcon, d as CheckIcon, n as ArrowDownIcon, rt as XIcon } from "../../icons-B4mGvCvc.js";
|
|
3
3
|
import { Activity, ActivityContent, ActivityItem, ActivityItemGroup, ActivityOutput, ActivityPanel, ActivityTrigger } from "../ai-sdk/Activity.js";
|
|
4
4
|
import { formatThinkExecutionRunProgress, formatThinkExecutionStatus, formatThinkExecutionTimestamp, getThinkExecutionRunError, getThinkExecutionRunId, getThinkExecutionRunProgressedAt, getThinkExecutionRunProgressedLabel, getThinkExecutionRunStatus, getThinkExecutionRunTitle, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
|
|
5
5
|
import { ThinkExecutionStatus } from "./ThinkExecutionStatus.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { J as SpinnerIcon, O as InfoIcon, d as CheckIcon, rt as XIcon, z as PauseIcon } from "../../icons-
|
|
2
|
+
import { J as SpinnerIcon, O as InfoIcon, d as CheckIcon, rt as XIcon, z as PauseIcon } from "../../icons-B4mGvCvc.js";
|
|
3
3
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
4
|
import { formatThinkExecutionRunProgress, formatThinkExecutionStatus, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunSubtitle, getThinkExecutionRunTitle } from "./ThinkExecutionRun.js";
|
|
5
5
|
import "react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { W as RefreshIcon, b as EllipsisIcon } from "../../icons-
|
|
3
|
-
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
2
|
+
import { W as RefreshIcon, b as EllipsisIcon } from "../../icons-B4mGvCvc.js";
|
|
4
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
5
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
+
import { Menu } from "../foundations/Menu.js";
|
|
6
6
|
import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
|
|
7
7
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
8
|
-
import {
|
|
8
|
+
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
9
9
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
10
10
|
import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, isSameThinkExecutionRun, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
|
|
11
11
|
import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
|