@mcp-b/react-components 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CodeBlock-Bl-q7wMc.js → CodeBlock-Dw1z6jc8.js} +1 -1
- package/dist/{EmployeeChrome-C8eTGJWn.d.ts → EmployeeChrome-B605rpVz.d.ts} +2 -0
- package/dist/{FileTree-DruTQ-oa.js → FileTree-okaLnS5j.js} +1 -1
- package/dist/{ManagerOffice-CMJ7laGe.js → ManagerOffice-D4L_xO4i.js} +5 -5
- package/dist/{SetupChecklist-BiWQkKEq.js → SetupChecklist-DWyifWWg.js} +2 -2
- package/dist/{WorkspaceFileView-DXgTljKV.js → WorkspaceFileView-DQDWUpAH.js} +2 -2
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +11 -1
- package/dist/components/agents-sdk/AgentChat.js +91 -58
- package/dist/components/agents-sdk/AgentEvent.js +2 -2
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +2 -2
- package/dist/components/agents-sdk/EmployeeChat.d.ts +6 -5
- package/dist/components/agents-sdk/EmployeeChat.js +30 -22
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +181 -123
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.js +3 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ManagerAccountActions.js +3 -3
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +5 -2
- 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.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +4 -4
- 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/SubagentRunPanel.js +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.js +6 -5
- package/dist/components/agents-sdk/ThinkChatActivity.js +3 -3
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineForm.js +4 -4
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
- package/dist/components/agents-sdk/WorkspaceExecution.js +7 -7
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -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 +1 -1
- package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
- package/dist/components/agents-sdk/WorkspaceUserScript.js +4 -4
- 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 +2 -2
- 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 +3 -3
- package/dist/components/ai-sdk/Context.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 +2 -2
- 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 +45 -42
- 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 +1 -1
- package/dist/components/extension/CodexModelSelector.js +2 -2
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/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/AccountSignInDialog.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/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -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.js +1 -1
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +7 -6
- package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
- package/dist/styles/employee-chrome.css +4 -0
- package/dist/styles/switch.css +7 -0
- package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-wW_lQLYK.js} +2 -2
- package/package.json +2 -2
- package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { findCatalogMcpServerCard } from "../../utils/mcp-server-catalog.js";
|
|
2
|
-
import { A as McpIcon, C as FolderIcon, F as MoonIcon, K as SpinnerIcon, P as MonitorIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, W as SidebarIcon, Y as SunIcon, Z as TerminalIcon, b as EyeIcon, c as BoxIcon, et as WarningIcon, o as ArrowUpRightIcon, q as SquareIcon, r as ArrowLeftIcon, y as EllipsisIcon } from "../../icons-
|
|
2
|
+
import { A as McpIcon, C as FolderIcon, F as MoonIcon, K as SpinnerIcon, P as MonitorIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, W as SidebarIcon, Y as SunIcon, Z as TerminalIcon, b as EyeIcon, c as BoxIcon, et as WarningIcon, o as ArrowUpRightIcon, q as SquareIcon, r as ArrowLeftIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { Menu } from "../foundations/Menu.js";
|
|
4
5
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
5
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
7
|
import { Dialog } from "../foundations/Dialog.js";
|
|
7
8
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
8
|
-
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
9
|
-
import { Menu } from "../foundations/Menu.js";
|
|
10
|
-
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
11
|
-
import { AgentChat } from "./AgentChat.js";
|
|
12
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
13
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
14
|
-
import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
|
|
15
9
|
import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
|
|
16
|
-
import {
|
|
17
|
-
import { Avatar } from "../foundations/Avatar.js";
|
|
10
|
+
import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
|
|
18
11
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
19
|
-
import {
|
|
12
|
+
import { Avatar } from "../foundations/Avatar.js";
|
|
13
|
+
import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
|
|
14
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
20
15
|
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
21
16
|
import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
|
|
17
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
18
|
+
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
22
19
|
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
20
|
+
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
21
|
+
import { AgentChat } from "./AgentChat.js";
|
|
23
22
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
24
23
|
import { ThinkThreadPicker } from "./ThinkThreadPicker.js";
|
|
25
24
|
import * as React from "react";
|
|
@@ -28,28 +27,43 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
28
27
|
const WORKBENCH_NAVIGATION = [{
|
|
29
28
|
id: "files",
|
|
30
29
|
label: "Files",
|
|
30
|
+
description: "Browse files in this employee’s workspace.",
|
|
31
31
|
icon: /* @__PURE__ */ jsx(FileIcon, {})
|
|
32
32
|
}, {
|
|
33
33
|
id: "plugins",
|
|
34
34
|
label: "Plugins",
|
|
35
|
+
description: "Connect apps and manage the tools this employee can use.",
|
|
35
36
|
icon: /* @__PURE__ */ jsx(BoxIcon, {})
|
|
36
37
|
}];
|
|
38
|
+
function MenuHint({ hint, children }) {
|
|
39
|
+
const descriptionId = React.useId();
|
|
40
|
+
return /* @__PURE__ */ jsxs(Tooltip.Root, { children: [React.cloneElement(children, { "aria-describedby": descriptionId }), /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, {
|
|
41
|
+
side: "left",
|
|
42
|
+
align: "center",
|
|
43
|
+
sideOffset: 8,
|
|
44
|
+
children: /* @__PURE__ */ jsx(Tooltip.Popup, {
|
|
45
|
+
id: descriptionId,
|
|
46
|
+
children: hint
|
|
47
|
+
})
|
|
48
|
+
}) })] });
|
|
49
|
+
}
|
|
37
50
|
function MenuSwitchItem({ label, hint, checked, onCheckedChange }) {
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
51
|
+
return /* @__PURE__ */ jsx(MenuHint, {
|
|
52
|
+
hint,
|
|
53
|
+
children: /* @__PURE__ */ jsxs(Menu.CheckboxItem, {
|
|
40
54
|
className: "employee-menu__switch",
|
|
41
55
|
checked,
|
|
42
|
-
onCheckedChange
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
})
|
|
52
|
-
})
|
|
56
|
+
onCheckedChange,
|
|
57
|
+
closeOnClick: false,
|
|
58
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
59
|
+
children: [/* @__PURE__ */ jsx("span", { children: label }), /* @__PURE__ */ jsx("span", {
|
|
60
|
+
className: "switch switch--sm",
|
|
61
|
+
"aria-hidden": "true",
|
|
62
|
+
"data-checked": checked ? "" : void 0,
|
|
63
|
+
children: /* @__PURE__ */ jsx("span", { className: "switch__thumb" })
|
|
64
|
+
})]
|
|
65
|
+
})
|
|
66
|
+
});
|
|
53
67
|
}
|
|
54
68
|
/** Employee settings are host-owned state; the menu stores only dialog visibility. */
|
|
55
69
|
function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut, companion, passkeys, follow, workbenchNavigation = [], navigation }) {
|
|
@@ -68,109 +82,152 @@ function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut,
|
|
|
68
82
|
side: "bottom",
|
|
69
83
|
align: "end",
|
|
70
84
|
sideOffset: 4,
|
|
71
|
-
children: /* @__PURE__ */ jsxs(Menu.Popup, {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
onClick: onModel,
|
|
97
|
-
children: [/* @__PURE__ */ jsx(TerminalIcon, {}), "Model"]
|
|
98
|
-
}) : null,
|
|
99
|
-
companion ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [
|
|
100
|
-
/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Companion app" }),
|
|
101
|
-
/* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
102
|
-
label: "Connect this browser",
|
|
103
|
-
hint: "Connecting lets this employee chat with the browser and watch it work from anywhere.",
|
|
104
|
-
checked: companion.enabled,
|
|
105
|
-
onCheckedChange: companion.setEnabled
|
|
85
|
+
children: /* @__PURE__ */ jsxs(Menu.Popup, {
|
|
86
|
+
className: "employee-menu",
|
|
87
|
+
children: [
|
|
88
|
+
compact ? (navigation ?? [...WORKBENCH_NAVIGATION, ...workbenchNavigation]).map((item) => /* @__PURE__ */ jsx(MenuHint, {
|
|
89
|
+
hint: item.description,
|
|
90
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
91
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: renderLink({
|
|
92
|
+
kind: "view",
|
|
93
|
+
view: view === item.id ? "chat" : item.id
|
|
94
|
+
}) }),
|
|
95
|
+
children: [item.icon, /* @__PURE__ */ jsx("span", {
|
|
96
|
+
className: "sigvelo-truncate",
|
|
97
|
+
children: item.label
|
|
98
|
+
})]
|
|
99
|
+
})
|
|
100
|
+
}, item.id)) : null,
|
|
101
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
102
|
+
hint: "Create and manage recurring tasks and review their runs.",
|
|
103
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
104
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: renderLink({
|
|
105
|
+
kind: "view",
|
|
106
|
+
view: "schedules"
|
|
107
|
+
}) }),
|
|
108
|
+
children: [/* @__PURE__ */ jsx(QueueIcon, {}), "Routines"]
|
|
109
|
+
})
|
|
106
110
|
}),
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
follow ? /* @__PURE__ */ jsx(MenuHint, {
|
|
112
|
+
hint: "Follow the browser tabs this employee uses for this conversation.",
|
|
113
|
+
children: /* @__PURE__ */ jsxs(Menu.CheckboxItem, {
|
|
114
|
+
checked: follow.followed,
|
|
115
|
+
onCheckedChange: follow.onCheckedChange,
|
|
116
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
117
|
+
children: [/* @__PURE__ */ jsx(EyeIcon, {}), "Follow this conversation"]
|
|
118
|
+
})
|
|
119
|
+
}) : null,
|
|
120
|
+
identity ? /* @__PURE__ */ jsx(MenuHint, {
|
|
121
|
+
hint: "Review the browser profile and account assigned to this employee.",
|
|
122
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
123
|
+
onClick: () => setIdentityOpen(true),
|
|
124
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
125
|
+
children: [/* @__PURE__ */ jsx(InfoIcon, {}), "Identity"]
|
|
126
|
+
})
|
|
127
|
+
}) : null,
|
|
128
|
+
onModel ? /* @__PURE__ */ jsx(MenuHint, {
|
|
129
|
+
hint: "Choose the model this employee uses for conversations.",
|
|
130
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
131
|
+
onClick: onModel,
|
|
132
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
133
|
+
children: [/* @__PURE__ */ jsx(TerminalIcon, {}), "Model"]
|
|
134
|
+
})
|
|
135
|
+
}) : null,
|
|
136
|
+
companion ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [
|
|
137
|
+
/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Companion app" }),
|
|
138
|
+
/* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
139
|
+
label: "Connect this browser",
|
|
140
|
+
hint: "Connect this browser so you can chat with this employee and watch it work from the companion app.",
|
|
141
|
+
checked: companion.enabled,
|
|
142
|
+
onCheckedChange: companion.setEnabled
|
|
113
143
|
}),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Appearance" }), /* @__PURE__ */ jsxs(Menu.RadioGroup, {
|
|
127
|
-
className: "employee-menu__theme-options",
|
|
128
|
-
value: preference,
|
|
129
|
-
onValueChange: (value) => {
|
|
130
|
-
if (value === "light" || value === "dark" || value === "system") setPreference(value);
|
|
131
|
-
},
|
|
132
|
-
children: [
|
|
133
|
-
/* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
134
|
-
value: "light",
|
|
135
|
-
className: "employee-menu__theme-option",
|
|
136
|
-
"aria-label": "Light",
|
|
137
|
-
title: "Light",
|
|
138
|
-
closeOnClick: false,
|
|
139
|
-
children: [/* @__PURE__ */ jsx(SunIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
140
|
-
className: "sigvelo-visually-hidden",
|
|
141
|
-
children: "Light"
|
|
142
|
-
})]
|
|
143
|
-
}),
|
|
144
|
-
/* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
145
|
-
value: "dark",
|
|
146
|
-
className: "employee-menu__theme-option",
|
|
147
|
-
"aria-label": "Dark",
|
|
148
|
-
title: "Dark",
|
|
149
|
-
closeOnClick: false,
|
|
150
|
-
children: [/* @__PURE__ */ jsx(MoonIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
151
|
-
className: "sigvelo-visually-hidden",
|
|
152
|
-
children: "Dark"
|
|
153
|
-
})]
|
|
154
|
-
}),
|
|
155
|
-
/* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
156
|
-
value: "system",
|
|
157
|
-
className: "employee-menu__theme-option",
|
|
158
|
-
"aria-label": "System",
|
|
159
|
-
title: "System",
|
|
160
|
-
closeOnClick: false,
|
|
161
|
-
children: [/* @__PURE__ */ jsx(MonitorIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
162
|
-
className: "sigvelo-visually-hidden",
|
|
163
|
-
children: "System"
|
|
144
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
145
|
+
hint: "Open the companion app in a new tab to chat with this employee remotely.",
|
|
146
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
147
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("a", {
|
|
148
|
+
href: companion.origin,
|
|
149
|
+
target: "_blank",
|
|
150
|
+
rel: "noreferrer",
|
|
151
|
+
"aria-label": companion.origin.replace(/^https?:\/\//, "")
|
|
152
|
+
}) }),
|
|
153
|
+
children: [/* @__PURE__ */ jsx(ArrowUpRightIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
154
|
+
className: "sigvelo-truncate",
|
|
155
|
+
children: companion.origin.replace(/^https?:\/\//, "")
|
|
164
156
|
})]
|
|
165
157
|
})
|
|
166
|
-
|
|
167
|
-
})]
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
158
|
+
})
|
|
159
|
+
] })] }) : null,
|
|
160
|
+
passkeys ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Passkeys" }), /* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
161
|
+
label: "Use its own passkeys",
|
|
162
|
+
hint: "The employee saves and uses its own passkeys instead of the browser's.",
|
|
163
|
+
checked: passkeys.enabled,
|
|
164
|
+
onCheckedChange: passkeys.setEnabled
|
|
165
|
+
})] })] }) : null,
|
|
166
|
+
/* @__PURE__ */ jsx(Menu.Separator, {}),
|
|
167
|
+
/* @__PURE__ */ jsxs(Menu.Group, {
|
|
168
|
+
className: "employee-menu__appearance",
|
|
169
|
+
children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Appearance" }), /* @__PURE__ */ jsxs(Menu.RadioGroup, {
|
|
170
|
+
className: "employee-menu__theme-options",
|
|
171
|
+
value: preference,
|
|
172
|
+
onValueChange: (value) => {
|
|
173
|
+
if (value === "light" || value === "dark" || value === "system") setPreference(value);
|
|
174
|
+
},
|
|
175
|
+
children: [
|
|
176
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
177
|
+
hint: "Use a light appearance.",
|
|
178
|
+
children: /* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
179
|
+
value: "light",
|
|
180
|
+
className: "employee-menu__theme-option",
|
|
181
|
+
"aria-label": "Light",
|
|
182
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
183
|
+
closeOnClick: false,
|
|
184
|
+
children: [/* @__PURE__ */ jsx(SunIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
185
|
+
className: "sigvelo-visually-hidden",
|
|
186
|
+
children: "Light"
|
|
187
|
+
})]
|
|
188
|
+
})
|
|
189
|
+
}),
|
|
190
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
191
|
+
hint: "Use a dark appearance.",
|
|
192
|
+
children: /* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
193
|
+
value: "dark",
|
|
194
|
+
className: "employee-menu__theme-option",
|
|
195
|
+
"aria-label": "Dark",
|
|
196
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
197
|
+
closeOnClick: false,
|
|
198
|
+
children: [/* @__PURE__ */ jsx(MoonIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
199
|
+
className: "sigvelo-visually-hidden",
|
|
200
|
+
children: "Dark"
|
|
201
|
+
})]
|
|
202
|
+
})
|
|
203
|
+
}),
|
|
204
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
205
|
+
hint: "Match your device’s light or dark appearance automatically.",
|
|
206
|
+
children: /* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
207
|
+
value: "system",
|
|
208
|
+
className: "employee-menu__theme-option",
|
|
209
|
+
"aria-label": "System",
|
|
210
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
211
|
+
closeOnClick: false,
|
|
212
|
+
children: [/* @__PURE__ */ jsx(MonitorIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
213
|
+
className: "sigvelo-visually-hidden",
|
|
214
|
+
children: "System"
|
|
215
|
+
})]
|
|
216
|
+
})
|
|
217
|
+
})
|
|
218
|
+
]
|
|
219
|
+
})]
|
|
220
|
+
}),
|
|
221
|
+
onSignOut ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsx(MenuHint, {
|
|
222
|
+
hint: "Sign out of your account on this device.",
|
|
223
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
224
|
+
onClick: onSignOut,
|
|
225
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
226
|
+
children: [/* @__PURE__ */ jsx(ArrowUpRightIcon, {}), "Sign out"]
|
|
227
|
+
})
|
|
228
|
+
})] }) : null
|
|
229
|
+
]
|
|
230
|
+
})
|
|
174
231
|
}) })] }), identity ? /* @__PURE__ */ jsx(IdentityDialog, {
|
|
175
232
|
identity,
|
|
176
233
|
open: identityOpen,
|
|
@@ -231,6 +288,7 @@ function EmployeeWorkbenchLinks({ view, renderLink, workbenchNavigation = [], na
|
|
|
231
288
|
if (compact) return null;
|
|
232
289
|
return /* @__PURE__ */ jsx(Fragment, { children: (navigation ?? [...WORKBENCH_NAVIGATION, ...workbenchNavigation]).map((item) => /* @__PURE__ */ jsx(AppTopBar.Link, {
|
|
233
290
|
label: item.label,
|
|
291
|
+
tooltip: item.description,
|
|
234
292
|
"aria-current": view === item.id ? "page" : void 0,
|
|
235
293
|
"data-pressed": view === item.id ? "" : void 0,
|
|
236
294
|
render: renderLink({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as EmployeeMenuProps } from "../../EmployeeChrome-
|
|
1
|
+
import { c as EmployeeMenuProps } from "../../EmployeeChrome-B605rpVz.js";
|
|
2
2
|
import { t as ThinkRoutine } from "../../ThinkRoutine-Cb1DdaHa.js";
|
|
3
3
|
import { ThinkRoutineActionsRootProps } from "./ThinkRoutineActions.js";
|
|
4
4
|
import * as React from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as PencilIcon, r as ArrowLeftIcon } from "../../icons-
|
|
1
|
+
import { R as PencilIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
2
|
+
import { LinkButton } from "../foundations/LinkButton.js";
|
|
2
3
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
|
-
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
4
4
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
5
|
-
import {
|
|
5
|
+
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
6
6
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
7
|
import { getThinkExecutionRunId } from "./ThinkExecutionRun.js";
|
|
8
8
|
import { ThinkRoutineActions, useThinkRoutineActions } from "./ThinkRoutineActions.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { J as PromptInputMessage } from "../../PromptInput-DGPrCTPl.js";
|
|
2
|
-
import { a as EmployeeDestination, n as EmployeeBrand } from "../../EmployeeChrome-
|
|
2
|
+
import { a as EmployeeDestination, n as EmployeeBrand } from "../../EmployeeChrome-B605rpVz.js";
|
|
3
3
|
import { SetupChecklistGroupProps } from "../general-purpose/SetupChecklist.js";
|
|
4
4
|
import { n as McpPluginCatalogProps } from "../../McpPluginCatalog-DNeHDrts.js";
|
|
5
5
|
import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-CkLI1B-G.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as FolderIcon, G as SlackIcon, I as PaperclipIcon, c as BoxIcon, g as DiscordIcon } from "../../icons-
|
|
2
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
1
|
+
import { C as FolderIcon, G as SlackIcon, I as PaperclipIcon, c as BoxIcon, g as DiscordIcon } from "../../icons-CeGfXO21.js";
|
|
3
2
|
import { Menu } from "../foundations/Menu.js";
|
|
4
|
-
import {
|
|
3
|
+
import { IconButton } from "../foundations/IconButton.js";
|
|
5
4
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
5
|
+
import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
|
|
6
|
+
import { t as SetupChecklistAction } from "../../SetupChecklist-DWyifWWg.js";
|
|
6
7
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
|
-
import { t as SetupChecklistAction } from "../../SetupChecklist-BiWQkKEq.js";
|
|
8
8
|
import { McpServerPickerAction, McpServerPickerItems } from "./McpServerPicker.js";
|
|
9
9
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
10
10
|
import * as React from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as PlusIcon, y as EllipsisIcon } from "../../icons-
|
|
1
|
+
import { B as PlusIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
|
|
2
|
+
import { Menu } from "../foundations/Menu.js";
|
|
2
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
3
4
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
4
|
-
import { Menu } from "../foundations/Menu.js";
|
|
5
|
-
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
6
5
|
import { Toast } from "../foundations/Toast.js";
|
|
6
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/agents-sdk/ManagerAccountActions.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-
|
|
1
|
+
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-D4L_xO4i.js";
|
|
2
2
|
export { ManagerOffice, ManagerOfficeSidebar, ManagerOfficeSidebarAlert };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as EmployeeShellProps } from "../../EmployeeChrome-
|
|
1
|
+
import { f as EmployeeShellProps } from "../../EmployeeChrome-B605rpVz.js";
|
|
2
2
|
import { ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeEmployee } from "./ManagerOffice.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as PlusIcon, C as FolderIcon, G as SlackIcon, P as MonitorIcon, R as PencilIcon, W as SidebarIcon, et as WarningIcon, r as ArrowLeftIcon } from "../../icons-
|
|
1
|
+
import { B as PlusIcon, C as FolderIcon, G as SlackIcon, P as MonitorIcon, R as PencilIcon, W as SidebarIcon, et as WarningIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
2
2
|
import { IconButton } from "../foundations/IconButton.js";
|
|
3
3
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
4
4
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
5
5
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
6
6
|
import { ThinkThreadPicker } from "./ThinkThreadPicker.js";
|
|
7
7
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
8
|
-
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-
|
|
8
|
+
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-D4L_xO4i.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/components/agents-sdk/ManagerOfficeScreens.tsx
|
|
@@ -29,16 +29,19 @@ function ManagerWorkShell({ employees, employee, renderOfficeLink, officeActions
|
|
|
29
29
|
{
|
|
30
30
|
id: "files",
|
|
31
31
|
label: "Files",
|
|
32
|
+
description: "Browse files in this employee’s workspace.",
|
|
32
33
|
icon: /* @__PURE__ */ jsx(FolderIcon, {})
|
|
33
34
|
},
|
|
34
35
|
{
|
|
35
36
|
id: "browser",
|
|
36
37
|
label: "Browser",
|
|
38
|
+
description: "View this employee’s browser and current activity.",
|
|
37
39
|
icon: /* @__PURE__ */ jsx(MonitorIcon, {})
|
|
38
40
|
},
|
|
39
41
|
{
|
|
40
42
|
id: "channels",
|
|
41
43
|
label: "Channels",
|
|
44
|
+
description: "Manage the messaging channels connected to this employee.",
|
|
42
45
|
icon: /* @__PURE__ */ jsx(SlackIcon, {})
|
|
43
46
|
}
|
|
44
47
|
],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
4
5
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
5
6
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
6
7
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
7
8
|
import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
|
|
8
|
-
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { getToolPartState } from "@cloudflare/think/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 { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
5
4
|
import { Field } from "../foundations/Field.js";
|
|
6
5
|
import { Form } from "../foundations/Form.js";
|
|
6
|
+
import { a as formatErrorMessage } from "../../format-COCyV98Z.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,17 +1,17 @@
|
|
|
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
|
-
import { B as PlusIcon, K as SpinnerIcon, et as WarningIcon, nt as XIcon, o as ArrowUpRightIcon, y as EllipsisIcon } from "../../icons-
|
|
3
|
+
import { B as PlusIcon, K as SpinnerIcon, et as WarningIcon, nt as XIcon, o as ArrowUpRightIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
+
import { AgentAttention, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
5
6
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
7
|
import { Dialog } from "../foundations/Dialog.js";
|
|
7
8
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
8
9
|
import { Separator } from "../foundations/Separator.js";
|
|
9
10
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
10
|
-
import { McpServerIcon } from "./McpServerIcon.js";
|
|
11
11
|
import { SearchField } from "../foundations/SearchField.js";
|
|
12
|
+
import { McpServerIcon } from "./McpServerIcon.js";
|
|
12
13
|
import { t as getMcpServerProjection } from "../../mcp-server-mAErsxHU.js";
|
|
13
14
|
import { McpServerSetupDialog } from "./McpServerPicker.js";
|
|
14
|
-
import { AgentAttention, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
//#region src/components/agents-sdk/McpPluginCatalog.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, N as MinusIcon, d as CheckIcon, et as WarningIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, N as MinusIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { buttonVariants } from "../foundations/Button.js";
|
|
4
|
+
import { Menu } from "../foundations/Menu.js";
|
|
4
5
|
import { Dialog } from "../foundations/Dialog.js";
|
|
5
6
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
6
|
-
import { Menu } from "../foundations/Menu.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,6 +1,6 @@
|
|
|
1
1
|
import { Field } from "../foundations/Field.js";
|
|
2
|
-
import { SettingsFormDialog } from "../general-purpose/SettingsFormDialog.js";
|
|
3
2
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
3
|
+
import { SettingsFormDialog } from "../general-purpose/SettingsFormDialog.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/agents-sdk/ModelEndpointDialog.tsx
|
|
6
6
|
/** Shared connection form; the host owns validation, credentials and persistence. */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { U as SearchIcon, f as ChevronDownIcon } from "../../icons-
|
|
2
|
+
import { U as SearchIcon, f as ChevronDownIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { Autocomplete } from "../foundations/Autocomplete.js";
|
|
4
5
|
import { Dialog } from "../foundations/Dialog.js";
|
|
5
6
|
import { c as titleCase } from "../../format-COCyV98Z.js";
|
|
6
|
-
import {
|
|
7
|
+
import { Separator } from "../foundations/Separator.js";
|
|
7
8
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
8
|
-
import { EmptyState } from "../foundations/EmptyState.js";
|
|
9
9
|
import { t as ProviderLogo } from "../../provider-logos-DWYY8wNz.js";
|
|
10
|
-
import {
|
|
10
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
11
11
|
import * as React from "react";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { createPortal } from "react-dom";
|
|
@@ -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,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 { A as McpIcon, c as BoxIcon } from "../../icons-
|
|
3
|
+
import { A as McpIcon, c as BoxIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/agents-sdk/PromptInputCommands.tsx
|
|
6
6
|
function mcpServerCommandIcon(server) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { J as StopIcon, K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-
|
|
2
|
+
import { J as StopIcon, K as SpinnerIcon, d as CheckIcon, et as WarningIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { r as firstLine, s as textLines } from "../../format-COCyV98Z.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createExpansionStore } from "../ai-sdk/ExpansionState.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
|
+
import { Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemContent, QueueItemDescription, QueueList, QueueSection, QueueSectionActions, QueueSectionContent, QueueSectionLabel, QueueSectionTrigger } from "../ai-sdk/Queue.js";
|
|
3
4
|
import { getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
4
5
|
import { useOptionalAgentChatQueue } from "./AgentChatQueue.js";
|
|
5
|
-
import { Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemContent, QueueItemDescription, QueueList, QueueSection, QueueSectionActions, QueueSectionContent, QueueSectionLabel, QueueSectionTrigger } from "../ai-sdk/Queue.js";
|
|
6
6
|
import { AgentChatNotice, AgentChatPromptTray } from "./AgentChat.js";
|
|
7
7
|
import { SubagentRunSelector } from "./SubagentRunSelector.js";
|
|
8
8
|
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-kqMa81v5.js";
|
|
5
|
+
import { SubagentRunLabel, getSubagentRunName, getSubagentRunStatusText } from "./SubagentRunIndicator.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/agents-sdk/SubagentRunSelector.tsx
|