@mcp-b/react-components 0.58.1 → 0.59.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-Bs_Z03eC.js → CodeBlock-B4K656LO.js} +1 -1
- package/dist/{EmployeeChrome-DsdIek0l.d.ts → EmployeeChrome-QSki0QT4.d.ts} +4 -4
- package/dist/{ExecutionResult-BSZsUbrL.js → ExecutionResult-Wd1sKAvD.js} +2 -2
- package/dist/{FileTree-DyLBn7O_.js → FileTree-BpCJuvji.js} +1 -1
- package/dist/{ManagerOffice-C8AQcaXs.js → ManagerOffice-BaHSBcSF.js} +4 -4
- package/dist/{ResponsiveSidebarShell-DoZlSP30.d.ts → ResponsiveSidebarShell-DzBGlRJF.d.ts} +23 -8
- package/dist/{SetupChecklist-CKQ-mKYt.js → SetupChecklist-BNK2XFaI.js} +2 -2
- package/dist/{ThinkChatActivity-BkGjTY4r.d.ts → ThinkChatActivity-C4_hPEmb.d.ts} +20 -4
- package/dist/{ThinkChatActivitySummary-DZVy3uQV.d.ts → ThinkChatActivitySummary-ChJ8Iu2T.d.ts} +3 -3
- package/dist/{ThinkChatToolParts-BucHi63O.d.ts → ThinkChatToolParts-BrntWlpa.d.ts} +29 -3
- package/dist/{WorkspaceConceptPanel-97ZyVpZI.js → WorkspaceConceptPanel-D21iRsWm.js} +7 -4
- package/dist/{WorkspaceFileView-M2jC2P4p.js → WorkspaceFileView-5SHsjamf.js} +84 -78
- package/dist/app-bar-outlet-CNfNzY4Y.js +6 -0
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.js +7 -7
- package/dist/components/agents-sdk/BrowserLiveScreen.js +50 -12
- 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 +2 -3
- package/dist/components/agents-sdk/EmployeeApp.js +5 -5
- package/dist/components/agents-sdk/EmployeeChat.js +4 -4
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +219 -207
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.js +7 -7
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.js +3 -3
- package/dist/components/agents-sdk/ExecutionBoard.js +4 -4
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- 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 +6 -19
- 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 +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.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/SubagentRunPanel.d.ts +8 -9
- package/dist/components/agents-sdk/SubagentRunPanel.js +133 -122
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChat.js +26 -3
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +110 -110
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +183 -40
- package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +8 -4
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +310 -64
- package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkChatToolParts.js +71 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -4
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +8 -8
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkFullApp.js +6 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.js +15 -23
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.js +6 -6
- 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 +7 -7
- package/dist/components/agents-sdk/WorkspaceExecution.js +146 -139
- package/dist/components/agents-sdk/WorkspaceExecutionTable.js +5 -5
- 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 +27 -29
- package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
- package/dist/components/agents-sdk/WorkspaceProject.js +6 -6
- package/dist/components/agents-sdk/WorkspaceUserScript.js +6 -6
- package/dist/components/ai-sdk/Activity.d.ts +1 -1
- package/dist/components/ai-sdk/Activity.js +85 -7
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +4 -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 +2 -2
- package/dist/components/ai-sdk/ConnectedAppCards.js +66 -48
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.js +2 -2
- package/dist/components/ai-sdk/ExpansionState.d.ts +16 -6
- package/dist/components/ai-sdk/ExpansionState.js +25 -7
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +2 -2
- 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 +99 -12
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.js +13 -9
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +2 -2
- 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.d.ts +8 -0
- package/dist/components/ai-sdk/ToolInvocation.js +45 -19
- 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.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.d.ts +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +163 -88
- 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 +3 -3
- 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.d.ts +1 -3
- package/dist/components/nanites/AgentToolDetail.js +30 -39
- package/dist/{copy-button-M4sAp9xS.js → copy-button-BsmxSSeD.js} +1 -1
- package/dist/merge-refs-DAh6reu8.js +26 -0
- package/dist/styles/activity.css +74 -0
- package/dist/styles/agent-chat.css +8 -1
- package/dist/styles/agent-tool-detail.css +2 -17
- package/dist/styles/app-top-bar.css +6 -7
- package/dist/styles/base.css +1 -1
- package/dist/styles/employee-chrome.css +0 -7
- package/dist/styles/message.css +1 -1
- package/dist/styles/responsive-sidebar-shell.css +10 -25
- package/dist/styles/scroll-area.css +16 -0
- package/dist/styles/scrollbars.css +55 -41
- package/dist/styles/search-field.css +0 -1
- package/dist/styles/subagent-run.css +36 -196
- package/dist/styles/think-chat-tool-panels.css +38 -5
- package/dist/styles/think-execution-workbench.css +4 -0
- package/dist/styles/think-full-app.css +1 -6
- package/dist/styles/workspace-concepts.css +6 -39
- package/dist/styles/workspace-explorer.css +4 -11
- package/dist/{workspace-assets-DVn0d-fN.js → workspace-assets-RD6IhOyh.js} +1 -1
- package/dist/{workspace-delete-DfloiBWp.js → workspace-delete-CrNGUuBp.js} +1 -1
- package/package.json +2 -2
- package/dist/components/agents-sdk/SubagentRunDetails.d.ts +0 -40
- package/dist/components/agents-sdk/SubagentRunDetails.js +0 -98
- package/dist/merge-refs-DF_7w2x_.js +0 -18
- package/dist/{icons-DvlrWt54.js → icons-Cn3vWZRs.js} +1 -1
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { findCatalogMcpServerCard } from "../../utils/mcp-server-catalog.js";
|
|
2
|
-
import { A as McpIcon, C as FolderIcon, F as MoonIcon, J as SquareIcon, K as SpinnerIcon, P as MonitorIcon, Q as TerminalIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, V as QueueIcon,
|
|
2
|
+
import { A as McpIcon, C as FolderIcon, F as MoonIcon, J as SquareIcon, K as SpinnerIcon, P as MonitorIcon, Q as TerminalIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, X as SunIcon, b as EyeIcon, c as BoxIcon, j as MessageSquareIcon, o as ArrowUpRightIcon, r as ArrowLeftIcon, tt as WarningIcon, u as CalendarIcon, y as EllipsisIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { Menu } from "../foundations/Menu.js";
|
|
5
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
6
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
7
5
|
import { Dialog } from "../foundations/Dialog.js";
|
|
8
6
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
9
|
-
import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
|
|
10
|
-
import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
|
|
11
|
-
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
12
|
-
import { Avatar } from "../foundations/Avatar.js";
|
|
13
|
-
import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
|
|
14
7
|
import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
|
|
8
|
+
import { Menu } from "../foundations/Menu.js";
|
|
15
9
|
import { BrandLoading } from "../general-purpose/BrandLoading.js";
|
|
16
10
|
import { AgentChat } from "./AgentChat.js";
|
|
17
11
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
18
12
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
13
|
+
import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
|
|
14
|
+
import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
|
|
15
|
+
import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
|
|
16
|
+
import { Avatar } from "../foundations/Avatar.js";
|
|
17
|
+
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
19
18
|
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
20
19
|
import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
|
|
21
20
|
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
@@ -68,178 +67,187 @@ function MenuSwitchItem({ label, hint, checked, onCheckedChange }) {
|
|
|
68
67
|
/** Employee settings are host-owned state; the menu stores only dialog visibility. */
|
|
69
68
|
function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut, companion, passkeys, follow, workbenchNavigation = [], navigation }) {
|
|
70
69
|
const { preference, setPreference } = useTheme();
|
|
70
|
+
const { restoreBarFocus, closeSidebarOnCompact } = useResponsiveSidebarShell();
|
|
71
71
|
const [identityOpen, setIdentityOpen] = React.useState(false);
|
|
72
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Menu.Root, {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
children:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
children: /* @__PURE__ */
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}) }),
|
|
105
|
-
children: [item.icon, /* @__PURE__ */ jsx("span", {
|
|
106
|
-
className: "sigvelo-truncate",
|
|
107
|
-
children: item.label
|
|
108
|
-
})]
|
|
109
|
-
})
|
|
110
|
-
}, item.id)),
|
|
111
|
-
/* @__PURE__ */ jsx(MenuHint, {
|
|
112
|
-
hint: "Create and manage recurring tasks and review their runs.",
|
|
113
|
-
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
114
|
-
"aria-current": view === "schedules" ? "page" : void 0,
|
|
115
|
-
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: renderLink({
|
|
116
|
-
kind: "view",
|
|
117
|
-
view: "schedules"
|
|
118
|
-
}) }),
|
|
119
|
-
children: [/* @__PURE__ */ jsx(CalendarIcon, {}), "Schedules"]
|
|
120
|
-
})
|
|
121
|
-
}),
|
|
122
|
-
follow ? /* @__PURE__ */ jsx(MenuHint, {
|
|
123
|
-
hint: "Follow the browser tabs this employee uses for this conversation.",
|
|
124
|
-
children: /* @__PURE__ */ jsxs(Menu.CheckboxItem, {
|
|
125
|
-
checked: follow.followed,
|
|
126
|
-
onCheckedChange: follow.onCheckedChange,
|
|
127
|
-
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
128
|
-
children: [/* @__PURE__ */ jsx(EyeIcon, {}), "Follow this conversation"]
|
|
129
|
-
})
|
|
130
|
-
}) : null,
|
|
131
|
-
identity ? /* @__PURE__ */ jsx(MenuHint, {
|
|
132
|
-
hint: "Review the browser profile and account assigned to this employee.",
|
|
133
|
-
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
134
|
-
onClick: () => setIdentityOpen(true),
|
|
135
|
-
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
136
|
-
children: [/* @__PURE__ */ jsx(InfoIcon, {}), "Identity"]
|
|
137
|
-
})
|
|
138
|
-
}) : null,
|
|
139
|
-
onModel ? /* @__PURE__ */ jsx(MenuHint, {
|
|
140
|
-
hint: "Choose the model this employee uses for conversations.",
|
|
141
|
-
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
142
|
-
onClick: onModel,
|
|
143
|
-
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
144
|
-
children: [/* @__PURE__ */ jsx(TerminalIcon, {}), "Model"]
|
|
145
|
-
})
|
|
146
|
-
}) : null,
|
|
147
|
-
companion ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [
|
|
148
|
-
/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Companion app" }),
|
|
149
|
-
/* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
150
|
-
label: "Connect this browser",
|
|
151
|
-
hint: "Connect this browser so you can chat with this employee and watch it work from the companion app.",
|
|
152
|
-
checked: companion.enabled,
|
|
153
|
-
onCheckedChange: companion.setEnabled
|
|
154
|
-
}),
|
|
155
|
-
/* @__PURE__ */ jsx(MenuHint, {
|
|
156
|
-
hint: "Open the companion app in a new tab to chat with this employee remotely.",
|
|
72
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Menu.Root, {
|
|
73
|
+
onOpenChangeComplete: (open) => {
|
|
74
|
+
if (!open) queueMicrotask(restoreBarFocus);
|
|
75
|
+
},
|
|
76
|
+
children: [/* @__PURE__ */ jsx(AppTopBar.Button, {
|
|
77
|
+
label: "More actions",
|
|
78
|
+
tooltip: identity?.email ? "Signed in as " + identity.email : void 0,
|
|
79
|
+
render: /* @__PURE__ */ jsx(Menu.Trigger, {}),
|
|
80
|
+
children: identity?.email ? /* @__PURE__ */ jsx(Avatar.Root, {
|
|
81
|
+
size: "sm",
|
|
82
|
+
children: /* @__PURE__ */ jsx(Avatar.Fallback, { children: identity.email[0]?.toUpperCase() })
|
|
83
|
+
}) : /* @__PURE__ */ jsx(EllipsisIcon, {})
|
|
84
|
+
}), /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(Menu.Positioner, {
|
|
85
|
+
side: "bottom",
|
|
86
|
+
align: "end",
|
|
87
|
+
sideOffset: 4,
|
|
88
|
+
children: /* @__PURE__ */ jsxs(Menu.Popup, {
|
|
89
|
+
className: "employee-menu",
|
|
90
|
+
children: [
|
|
91
|
+
view !== "chat" ? /* @__PURE__ */ jsx(MenuHint, {
|
|
92
|
+
hint: "Return to this conversation.",
|
|
93
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
94
|
+
onClick: closeSidebarOnCompact,
|
|
95
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: renderLink({
|
|
96
|
+
kind: "view",
|
|
97
|
+
view: "chat"
|
|
98
|
+
}) }),
|
|
99
|
+
children: [/* @__PURE__ */ jsx(MessageSquareIcon, {}), "Chat"]
|
|
100
|
+
})
|
|
101
|
+
}) : null,
|
|
102
|
+
(navigation ?? [...WORKBENCH_NAVIGATION, ...workbenchNavigation]).map((item) => /* @__PURE__ */ jsx(MenuHint, {
|
|
103
|
+
hint: item.description,
|
|
157
104
|
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
105
|
+
"aria-current": view === item.id ? "page" : void 0,
|
|
106
|
+
onClick: closeSidebarOnCompact,
|
|
107
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: renderLink({
|
|
108
|
+
kind: "view",
|
|
109
|
+
view: item.id
|
|
163
110
|
}) }),
|
|
164
|
-
children: [
|
|
111
|
+
children: [item.icon, /* @__PURE__ */ jsx("span", {
|
|
165
112
|
className: "sigvelo-truncate",
|
|
166
|
-
children:
|
|
113
|
+
children: item.label
|
|
167
114
|
})]
|
|
168
115
|
})
|
|
169
|
-
})
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
/* @__PURE__ */ jsx(
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
})
|
|
116
|
+
}, item.id)),
|
|
117
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
118
|
+
hint: "Create and manage recurring tasks and review their runs.",
|
|
119
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
120
|
+
"aria-current": view === "schedules" ? "page" : void 0,
|
|
121
|
+
onClick: closeSidebarOnCompact,
|
|
122
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: renderLink({
|
|
123
|
+
kind: "view",
|
|
124
|
+
view: "schedules"
|
|
125
|
+
}) }),
|
|
126
|
+
children: [/* @__PURE__ */ jsx(CalendarIcon, {}), "Schedules"]
|
|
127
|
+
})
|
|
128
|
+
}),
|
|
129
|
+
follow ? /* @__PURE__ */ jsx(MenuHint, {
|
|
130
|
+
hint: "Follow the browser tabs this employee uses for this conversation.",
|
|
131
|
+
children: /* @__PURE__ */ jsxs(Menu.CheckboxItem, {
|
|
132
|
+
checked: follow.followed,
|
|
133
|
+
onCheckedChange: follow.onCheckedChange,
|
|
134
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
135
|
+
children: [/* @__PURE__ */ jsx(EyeIcon, {}), "Follow this conversation"]
|
|
136
|
+
})
|
|
137
|
+
}) : null,
|
|
138
|
+
identity ? /* @__PURE__ */ jsx(MenuHint, {
|
|
139
|
+
hint: "Review the browser profile and account assigned to this employee.",
|
|
140
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
141
|
+
onClick: () => setIdentityOpen(true),
|
|
142
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
143
|
+
children: [/* @__PURE__ */ jsx(InfoIcon, {}), "Identity"]
|
|
144
|
+
})
|
|
145
|
+
}) : null,
|
|
146
|
+
onModel ? /* @__PURE__ */ jsx(MenuHint, {
|
|
147
|
+
hint: "Choose the model this employee uses for conversations.",
|
|
148
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
149
|
+
onClick: onModel,
|
|
150
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
151
|
+
children: [/* @__PURE__ */ jsx(TerminalIcon, {}), "Model"]
|
|
152
|
+
})
|
|
153
|
+
}) : null,
|
|
154
|
+
companion ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [
|
|
155
|
+
/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Companion app" }),
|
|
156
|
+
/* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
157
|
+
label: "Connect this browser",
|
|
158
|
+
hint: "Connect this browser so you can chat with this employee and watch it work from the companion app.",
|
|
159
|
+
checked: companion.enabled,
|
|
160
|
+
onCheckedChange: companion.setEnabled
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
163
|
+
hint: "Open the companion app in a new tab to chat with this employee remotely.",
|
|
164
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
165
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("a", {
|
|
166
|
+
href: companion.origin,
|
|
167
|
+
target: "_blank",
|
|
168
|
+
rel: "noreferrer",
|
|
169
|
+
"aria-label": companion.origin.replace(/^https?:\/\//, "")
|
|
170
|
+
}) }),
|
|
171
|
+
children: [/* @__PURE__ */ jsx(ArrowUpRightIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
172
|
+
className: "sigvelo-truncate",
|
|
173
|
+
children: companion.origin.replace(/^https?:\/\//, "")
|
|
174
|
+
})]
|
|
228
175
|
})
|
|
229
|
-
|
|
230
|
-
})]
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
176
|
+
})
|
|
177
|
+
] })] }) : null,
|
|
178
|
+
passkeys ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Passkeys" }), /* @__PURE__ */ jsx(MenuSwitchItem, {
|
|
179
|
+
label: "Use its own passkeys",
|
|
180
|
+
hint: "The employee saves and uses its own passkeys instead of the browser's.",
|
|
181
|
+
checked: passkeys.enabled,
|
|
182
|
+
onCheckedChange: passkeys.setEnabled
|
|
183
|
+
})] })] }) : null,
|
|
184
|
+
/* @__PURE__ */ jsx(Menu.Separator, {}),
|
|
185
|
+
/* @__PURE__ */ jsxs(Menu.Group, {
|
|
186
|
+
className: "employee-menu__appearance",
|
|
187
|
+
children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Appearance" }), /* @__PURE__ */ jsxs(Menu.RadioGroup, {
|
|
188
|
+
className: "employee-menu__theme-options",
|
|
189
|
+
value: preference,
|
|
190
|
+
onValueChange: (value) => {
|
|
191
|
+
if (value === "light" || value === "dark" || value === "system") setPreference(value);
|
|
192
|
+
},
|
|
193
|
+
children: [
|
|
194
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
195
|
+
hint: "Use a light appearance.",
|
|
196
|
+
children: /* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
197
|
+
value: "light",
|
|
198
|
+
className: "employee-menu__theme-option",
|
|
199
|
+
"aria-label": "Light",
|
|
200
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
201
|
+
closeOnClick: false,
|
|
202
|
+
children: [/* @__PURE__ */ jsx(SunIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
203
|
+
className: "sigvelo-visually-hidden",
|
|
204
|
+
children: "Light"
|
|
205
|
+
})]
|
|
206
|
+
})
|
|
207
|
+
}),
|
|
208
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
209
|
+
hint: "Use a dark appearance.",
|
|
210
|
+
children: /* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
211
|
+
value: "dark",
|
|
212
|
+
className: "employee-menu__theme-option",
|
|
213
|
+
"aria-label": "Dark",
|
|
214
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
215
|
+
closeOnClick: false,
|
|
216
|
+
children: [/* @__PURE__ */ jsx(MoonIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
217
|
+
className: "sigvelo-visually-hidden",
|
|
218
|
+
children: "Dark"
|
|
219
|
+
})]
|
|
220
|
+
})
|
|
221
|
+
}),
|
|
222
|
+
/* @__PURE__ */ jsx(MenuHint, {
|
|
223
|
+
hint: "Match your device’s light or dark appearance automatically.",
|
|
224
|
+
children: /* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
225
|
+
value: "system",
|
|
226
|
+
className: "employee-menu__theme-option",
|
|
227
|
+
"aria-label": "System",
|
|
228
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
229
|
+
closeOnClick: false,
|
|
230
|
+
children: [/* @__PURE__ */ jsx(MonitorIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", {
|
|
231
|
+
className: "sigvelo-visually-hidden",
|
|
232
|
+
children: "System"
|
|
233
|
+
})]
|
|
234
|
+
})
|
|
235
|
+
})
|
|
236
|
+
]
|
|
237
|
+
})]
|
|
238
|
+
}),
|
|
239
|
+
onSignOut ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsx(MenuHint, {
|
|
240
|
+
hint: "Sign out of your account on this device.",
|
|
241
|
+
children: /* @__PURE__ */ jsxs(Menu.Item, {
|
|
242
|
+
onClick: onSignOut,
|
|
243
|
+
render: /* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("div", {}) }),
|
|
244
|
+
children: [/* @__PURE__ */ jsx(ArrowUpRightIcon, {}), "Sign out"]
|
|
245
|
+
})
|
|
246
|
+
})] }) : null
|
|
247
|
+
]
|
|
248
|
+
})
|
|
249
|
+
}) })]
|
|
250
|
+
}), identity ? /* @__PURE__ */ jsx(IdentityDialog, {
|
|
243
251
|
identity,
|
|
244
252
|
open: identityOpen,
|
|
245
253
|
onOpenChange: setIdentityOpen
|
|
@@ -323,6 +331,11 @@ function employeeShellTitle({ agentRun, threadTitle, view, destinationTitle }) {
|
|
|
323
331
|
children: content
|
|
324
332
|
});
|
|
325
333
|
}
|
|
334
|
+
/** At drawer widths the chat title opens the threads; elsewhere Back takes the drawer toggle's place. */
|
|
335
|
+
function employeeShellCompactSlots({ agentRun, view, title, threads, leading }) {
|
|
336
|
+
if (agentRun || view !== "chat") return { compactLeading: leading };
|
|
337
|
+
return { compactTitleTrigger: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", { children: title }), /* @__PURE__ */ jsx(ThinkThreadStatusIndicators, { summary: summarizeThinkThreads(threads) })] }) };
|
|
338
|
+
}
|
|
326
339
|
function employeeShellActions({ agentRun, focusedStop }) {
|
|
327
340
|
if (agentRun?.state !== "ready" || !agentRun.onCancel) return null;
|
|
328
341
|
return /* @__PURE__ */ jsx(AppTopBar.Button, {
|
|
@@ -349,15 +362,8 @@ function EmployeeNewThread({ renderLink }) {
|
|
|
349
362
|
children: /* @__PURE__ */ jsx(PencilIcon, {})
|
|
350
363
|
});
|
|
351
364
|
}
|
|
352
|
-
function EmployeeThreadSidebar({
|
|
365
|
+
function EmployeeThreadSidebar({ closeSidebarOnCompact, threads, renderLink, onDeleteThread }) {
|
|
353
366
|
return /* @__PURE__ */ jsx(ThinkThreadPicker, {
|
|
354
|
-
headerActions: /* @__PURE__ */ jsx(IconButton, {
|
|
355
|
-
label: "Hide threads",
|
|
356
|
-
variant: "ghost",
|
|
357
|
-
size: "sm",
|
|
358
|
-
onClick: closeSidebar,
|
|
359
|
-
children: /* @__PURE__ */ jsx(SidebarIcon, {})
|
|
360
|
-
}),
|
|
361
367
|
threads,
|
|
362
368
|
renderThreadLink: (item) => renderLink({
|
|
363
369
|
kind: "thread",
|
|
@@ -367,15 +373,12 @@ function EmployeeThreadSidebar({ closeSidebar, closeSidebarOnCompact, threads, r
|
|
|
367
373
|
onDelete: onDeleteThread
|
|
368
374
|
});
|
|
369
375
|
}
|
|
370
|
-
function EmployeeShellLeading({ agentRun, view, back, appBarLeading, renderLink }) {
|
|
371
|
-
if (agentRun || view === "live") return
|
|
372
|
-
|
|
373
|
-
}
|
|
374
|
-
function employeeCompactTitle(view, agentRun, thread, history) {
|
|
375
|
-
if (agentRun || view !== "chat") return void 0;
|
|
376
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", { children: thread?.title ?? "New chat" }), /* @__PURE__ */ jsx(ThinkThreadStatusIndicators, { summary: summarizeThinkThreads(history) })] });
|
|
376
|
+
function EmployeeShellLeading({ agentRun, view, returnLink, back, appBarLeading, renderLink }) {
|
|
377
|
+
if (agentRun || view === "live") return returnLink;
|
|
378
|
+
if (view !== "chat") return back ?? returnLink;
|
|
379
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [appBarLeading, /* @__PURE__ */ jsx(EmployeeNewThread, { renderLink })] });
|
|
377
380
|
}
|
|
378
|
-
function EmployeeShell({ view, threads, threadId, agentRun, renderLink, appBarLeading,
|
|
381
|
+
function EmployeeShell({ view, threads, threadId, agentRun, back, renderLink, appBarLeading, onDeleteThread, sidebar, sidebarLabel = "threads", navigation, children, ...menu }) {
|
|
379
382
|
const history = threads ?? EMPTY_THREADS;
|
|
380
383
|
const thread = history.find((candidate) => candidate.id === threadId);
|
|
381
384
|
const destination = (navigation ?? [...WORKBENCH_NAVIGATION, ...menu.workbenchNavigation ?? []]).find((item) => item.id === view);
|
|
@@ -386,7 +389,7 @@ function EmployeeShell({ view, threads, threadId, agentRun, renderLink, appBarLe
|
|
|
386
389
|
destinationTitle: destination?.label
|
|
387
390
|
});
|
|
388
391
|
const { backRef, focusedStop } = useEmployeeRunStopFocus();
|
|
389
|
-
const
|
|
392
|
+
const returnLink = /* @__PURE__ */ jsx(AppTopBar.Link, {
|
|
390
393
|
ref: backRef,
|
|
391
394
|
label: agentRun ? "Back to parent conversation" : "Back to chat",
|
|
392
395
|
render: agentRun && threadId ? renderLink({
|
|
@@ -398,18 +401,34 @@ function EmployeeShell({ view, threads, threadId, agentRun, renderLink, appBarLe
|
|
|
398
401
|
}),
|
|
399
402
|
children: /* @__PURE__ */ jsx(ArrowLeftIcon, {})
|
|
400
403
|
});
|
|
404
|
+
const employeeMenu = /* @__PURE__ */ jsx(EmployeeMenu, {
|
|
405
|
+
...menu,
|
|
406
|
+
view,
|
|
407
|
+
navigation,
|
|
408
|
+
renderLink,
|
|
409
|
+
follow: agentRun ? void 0 : menu.follow
|
|
410
|
+
}, JSON.stringify([view, threadId]));
|
|
401
411
|
if (view === "live" && !sidebar) return /* @__PURE__ */ jsx("div", {
|
|
402
412
|
className: "employee-shell",
|
|
403
413
|
"data-view": view,
|
|
404
414
|
children: /* @__PURE__ */ jsx(ResponsiveSidebarShell, {
|
|
405
415
|
bar: {
|
|
406
416
|
label: "Live view controls",
|
|
407
|
-
title
|
|
408
|
-
leading:
|
|
417
|
+
title,
|
|
418
|
+
leading: returnLink,
|
|
419
|
+
primary: employeeMenu
|
|
409
420
|
},
|
|
410
421
|
children
|
|
411
422
|
})
|
|
412
423
|
});
|
|
424
|
+
const leading = /* @__PURE__ */ jsx(EmployeeShellLeading, {
|
|
425
|
+
agentRun,
|
|
426
|
+
view,
|
|
427
|
+
returnLink,
|
|
428
|
+
back,
|
|
429
|
+
appBarLeading,
|
|
430
|
+
renderLink
|
|
431
|
+
});
|
|
413
432
|
return /* @__PURE__ */ jsx("div", {
|
|
414
433
|
className: "employee-shell",
|
|
415
434
|
"data-view": view,
|
|
@@ -422,29 +441,22 @@ function EmployeeShell({ view, threads, threadId, agentRun, renderLink, appBarLe
|
|
|
422
441
|
bar: {
|
|
423
442
|
label: "Workbench controls",
|
|
424
443
|
title,
|
|
425
|
-
|
|
426
|
-
|
|
444
|
+
leading,
|
|
445
|
+
...employeeShellCompactSlots({
|
|
427
446
|
agentRun,
|
|
428
447
|
view,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
448
|
+
title,
|
|
449
|
+
threads: history,
|
|
450
|
+
leading
|
|
432
451
|
}),
|
|
433
|
-
compactLeading: !agentRun && view !== "chat" ? compactBack : void 0,
|
|
434
452
|
actions: employeeShellActions({
|
|
435
453
|
agentRun,
|
|
436
454
|
focusedStop
|
|
437
455
|
}),
|
|
438
|
-
primary:
|
|
439
|
-
...menu,
|
|
440
|
-
view,
|
|
441
|
-
navigation,
|
|
442
|
-
renderLink,
|
|
443
|
-
follow: agentRun ? void 0 : menu.follow
|
|
444
|
-
}, JSON.stringify([view, threadId]))
|
|
456
|
+
primary: employeeMenu
|
|
445
457
|
},
|
|
446
|
-
|
|
447
|
-
|
|
458
|
+
contentBar: true,
|
|
459
|
+
sidebar: sidebar ?? (agentRun ? void 0 : ({ closeSidebarOnCompact }) => /* @__PURE__ */ jsx(EmployeeThreadSidebar, {
|
|
448
460
|
closeSidebarOnCompact,
|
|
449
461
|
threads: history,
|
|
450
462
|
renderLink,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as EmployeeMenuProps } from "../../EmployeeChrome-
|
|
1
|
+
import { c as EmployeeMenuProps } from "../../EmployeeChrome-QSki0QT4.js";
|
|
2
2
|
import { p as WorkspaceExecution } from "../../WorkspaceExecutionTable-DNhj6YDX.js";
|
|
3
3
|
import { t as ThinkRoutine } from "../../ThinkRoutine-DoZjbzyn.js";
|
|
4
4
|
import { ThinkRoutineActionsRootProps } from "./ThinkRoutineActions.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as PencilIcon, r as ArrowLeftIcon } from "../../icons-
|
|
1
|
+
import { R as PencilIcon, r as ArrowLeftIcon } from "../../icons-Cn3vWZRs.js";
|
|
2
2
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
3
|
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
4
4
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
@@ -37,7 +37,7 @@ function EmployeeSchedules({ routines, scripts, selectedRoutineId, error, source
|
|
|
37
37
|
bar: {
|
|
38
38
|
label: "Schedule controls",
|
|
39
39
|
title: selected?.name ?? "Schedules",
|
|
40
|
-
compactTitleTrigger:
|
|
40
|
+
compactTitleTrigger: /* @__PURE__ */ jsx("span", { children: selected?.name ?? "Schedules" }),
|
|
41
41
|
leading: /* @__PURE__ */ jsx(AppTopBar.Link, {
|
|
42
42
|
label: "Back to chat",
|
|
43
43
|
render: renderLink({
|
|
@@ -46,10 +46,6 @@ function EmployeeSchedules({ routines, scripts, selectedRoutineId, error, source
|
|
|
46
46
|
}),
|
|
47
47
|
children: /* @__PURE__ */ jsx(ArrowLeftIcon, {})
|
|
48
48
|
}),
|
|
49
|
-
primary: /* @__PURE__ */ jsx(EmployeeChrome.Menu, {
|
|
50
|
-
...menu,
|
|
51
|
-
view: "schedules"
|
|
52
|
-
}),
|
|
53
49
|
actions: /* @__PURE__ */ jsx(Fragment, { children: selected ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
54
50
|
/* @__PURE__ */ jsx(ThinkRoutineActions.Run, {}),
|
|
55
51
|
/* @__PURE__ */ jsx(AppTopBar.Link, {
|
|
@@ -61,7 +57,11 @@ function EmployeeSchedules({ routines, scripts, selectedRoutineId, error, source
|
|
|
61
57
|
children: /* @__PURE__ */ jsx(PencilIcon, {})
|
|
62
58
|
}),
|
|
63
59
|
/* @__PURE__ */ jsx(ThinkRoutineActions.Delete, {})
|
|
64
|
-
] }) : null })
|
|
60
|
+
] }) : null }),
|
|
61
|
+
primary: /* @__PURE__ */ jsx(EmployeeChrome.Menu, {
|
|
62
|
+
...menu,
|
|
63
|
+
view: "schedules"
|
|
64
|
+
})
|
|
65
65
|
},
|
|
66
66
|
sidebar: ({ closeSidebarOnCompact }) => /* @__PURE__ */ jsx(ThinkRoutineBrowser, {
|
|
67
67
|
routines,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { J as PromptInputMessage } from "../../PromptInput-C3adKglc.js";
|
|
2
|
-
import { a as EmployeeDestination, n as EmployeeBrand } from "../../EmployeeChrome-
|
|
2
|
+
import { a as EmployeeDestination, n as EmployeeBrand } from "../../EmployeeChrome-QSki0QT4.js";
|
|
3
3
|
import { SetupChecklistGroupProps } from "../general-purpose/SetupChecklist.js";
|
|
4
4
|
import { n as McpPluginCatalogProps } from "../../McpPluginCatalog-2FZDLCeK.js";
|
|
5
5
|
import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-DM384Cn6.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 { Menu } from "../foundations/Menu.js";
|
|
1
|
+
import { C as FolderIcon, G as SlackIcon, I as PaperclipIcon, c as BoxIcon, g as DiscordIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { IconButton } from "../foundations/IconButton.js";
|
|
3
|
+
import { Menu } from "../foundations/Menu.js";
|
|
4
4
|
import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
|
|
5
5
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
6
6
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
|
-
import { t as SetupChecklistAction } from "../../SetupChecklist-
|
|
7
|
+
import { t as SetupChecklistAction } from "../../SetupChecklist-BNK2XFaI.js";
|
|
8
8
|
import { McpServerPickerAction, McpServerPickerItems } from "./McpServerPicker.js";
|
|
9
9
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
10
10
|
import * as React from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { D as LinkIcon, H as RefreshIcon, K as SpinnerIcon, L as PauseIcon, N as MinusIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, c as BoxIcon, d as CheckIcon, nt as WrenchIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SplitIcon, rt as XIcon, tt as WarningIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-
|
|
2
|
+
import { D as LinkIcon, H as RefreshIcon, K as SpinnerIcon, L as PauseIcon, N as MinusIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, c as BoxIcon, d as CheckIcon, nt as WrenchIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SplitIcon, rt as XIcon, tt as WarningIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { Menu } from "../foundations/Menu.js";
|
|
5
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
+
import { Menu } from "../foundations/Menu.js";
|
|
6
6
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
7
7
|
import { i as executionResultSummary, t as executionErrorSummary } from "../../execution-result-DWVmm-bL.js";
|
|
8
|
-
import { a as httpUrl, n as Hint, t as FaviconMark } from "../../workspace-assets-
|
|
9
|
-
import { t as ExecutionResult } from "../../ExecutionResult-
|
|
8
|
+
import { a as httpUrl, n as Hint, t as FaviconMark } from "../../workspace-assets-RD6IhOyh.js";
|
|
9
|
+
import { t as ExecutionResult } from "../../ExecutionResult-Wd1sKAvD.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Handle, MarkerType, Panel, Position, ReactFlow, ReactFlowProvider, useNodesInitialized, useReactFlow } from "@xyflow/react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as PlusIcon, y as EllipsisIcon } from "../../icons-
|
|
2
|
-
import { Menu } from "../foundations/Menu.js";
|
|
1
|
+
import { B as PlusIcon, y as EllipsisIcon } from "../../icons-Cn3vWZRs.js";
|
|
3
2
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
3
|
import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
|
|
4
|
+
import { Menu } from "../foundations/Menu.js";
|
|
5
5
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
6
6
|
import { Toast } from "../foundations/Toast.js";
|
|
7
7
|
import "react";
|
|
@@ -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-BaHSBcSF.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-QSki0QT4.js";
|
|
2
2
|
import { ManagerOfficeConnectedEmployee, ManagerOfficeDestination, ManagerOfficeEmployee } from "./ManagerOffice.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ManagerOfficeScreens.d.ts
|