@mcp-b/react-components 0.71.1 → 0.72.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/{AgentComputer-CpS9R2KG.d.ts → AgentComputer-BI8RsGzq.d.ts} +11 -1
- package/dist/{AgentComputer-CsWDnHwj.js → AgentComputer-KhPwXwh8.js} +256 -247
- package/dist/{ChatGptSignInScreen-CmbBe09G.js → ChatGptSignInScreen-CLq5cetL.js} +1 -1
- package/dist/{CodeBlock-dt0L8md0.js → CodeBlock-ZG47S5e4.js} +1 -1
- package/dist/{ComputerCalendar-Z6k_DVJF.js → ComputerCalendar-B3xdMl90.js} +565 -478
- package/dist/{ComputerPresentation-BEQKYAjc.js → ComputerPresentation-rzx6n36S.js} +26 -4
- package/dist/{ExecutionResult-CXnGcmM4.js → ExecutionResult-BojdvFEY.js} +2 -2
- package/dist/{FileTree-CjfzpN6X.js → FileTree-C7fh3_H5.js} +1 -1
- package/dist/{ManagerOffice-BJ2vs-Lr.js → ManagerOffice-80ZkVjSt.js} +1 -1
- package/dist/{SetupChecklist-DwscX3Bw.js → SetupChecklist-BKCMkUuh.js} +1 -1
- package/dist/{ThinkSchedule-9nzxIoX1.d.ts → ThinkSchedule-C9vErgZQ.d.ts} +2 -3
- package/dist/{WorkspaceBrowser-mRScUczT.js → WorkspaceBrowser-BFdnZrm7.js} +2 -2
- package/dist/components/agents-sdk/AIProviderDialog.js +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.js +1 -1
- package/dist/components/agents-sdk/AgentComputer.d.ts +1 -1
- package/dist/components/agents-sdk/AgentComputer.js +1 -1
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +1 -1
- 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/ComputerAutomations.d.ts +8 -3
- package/dist/components/agents-sdk/ComputerAutomations.js +7 -7
- package/dist/components/agents-sdk/ComputerCalendar.d.ts +22 -2
- package/dist/components/agents-sdk/ComputerCalendar.js +1 -1
- package/dist/components/agents-sdk/ComputerChannels.d.ts +51 -0
- package/dist/components/agents-sdk/ComputerChannels.js +311 -0
- package/dist/components/agents-sdk/ComputerFiles.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerFiles.js +4 -4
- package/dist/components/agents-sdk/ComputerHome.js +1 -1
- package/dist/components/agents-sdk/ComputerLayout.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerNotifications.js +1 -1
- package/dist/components/agents-sdk/ComputerPresentation.d.ts +2 -2
- package/dist/components/agents-sdk/ComputerPresentation.js +2 -2
- package/dist/components/agents-sdk/ComputerScreen.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerScreen.js +3 -3
- package/dist/components/agents-sdk/ComputerSettings.d.ts +1 -1
- package/dist/components/agents-sdk/ComputerSettings.js +4 -4
- package/dist/components/agents-sdk/ComputerSpotlight.js +1 -1
- package/dist/components/agents-sdk/ComputerViewer.js +1 -1
- package/dist/components/agents-sdk/EmployeeApp.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +2 -2
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.js +1 -1
- package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
- package/dist/components/agents-sdk/ExecutionBoard.js +3 -3
- package/dist/components/agents-sdk/ManagerAccountActions.js +1 -1
- package/dist/components/agents-sdk/ManagerOffice.d.ts +2 -2
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
- package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.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/ThinkChatToolPanels.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.js +2 -2
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.js +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.js +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.js +4 -4
- package/dist/components/agents-sdk/ThinkThreadPicker.js +1 -1
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomation.js +5 -5
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +4 -4
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +3 -3
- package/dist/components/agents-sdk/WorkspaceDesktop.js +326 -162
- package/dist/components/agents-sdk/WorkspaceExplorer.js +2 -2
- package/dist/components/agents-sdk/WorkspaceFileDetails.js +2 -2
- package/dist/components/agents-sdk/WorkspaceFileView.js +5 -5
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.js +3 -3
- package/dist/components/agents-sdk/WorkspaceProject.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 +1 -1
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.js +2 -2
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +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 +1 -1
- 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 +1 -1
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- package/dist/components/extension/FirstRunSetup.d.ts +1 -1
- package/dist/components/extension/FirstRunSetup.js +1 -1
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/Favicon.js +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/CommandPalette.js +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WallpaperPicker.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +1 -1
- package/dist/{connected-app-drafts-C49343p9.js → connected-app-drafts-D2ijldOR.js} +2 -2
- package/dist/{copy-button-DWBVJR6D.js → copy-button-UNBY7oXF.js} +1 -1
- package/dist/{icons-B3n7zvU7.d.ts → icons-CMPZtOxO.d.ts} +2 -1
- package/dist/{icons-nLTnB9kd.js → icons-CNwk7DEu.js} +3 -2
- package/dist/{parts-BFK5iocu.js → parts-Bb1aZP2y.js} +1 -1
- package/dist/{scheduled-table-source-gGpVJ1TN.js → scheduled-table-source-6YdnC3Sh.js} +1 -1
- package/dist/styles/app-top-bar.css +1 -1
- package/dist/styles/computer-calendar.css +12 -0
- package/dist/styles/computer-channels.css +87 -0
- package/dist/styles/index.css +1 -0
- package/dist/styles/list-detail.css +1 -2
- package/dist/styles/recipes.css +2 -2
- package/dist/styles/search-field.css +1 -1
- package/dist/styles/workspace-desktop.css +11 -7
- package/dist/{workspace-assets-DdtnBDU3.js → workspace-assets-CadpUKoz.js} +1 -1
- package/dist/{workspace-concept-panel-VkjvFCY_.js → workspace-concept-panel-CzxPyGpN.js} +1 -1
- package/dist/{workspace-delete-BOY6CMBf.js → workspace-delete-D9ZesEdu.js} +1 -1
- package/dist/{workspace-media-preview-B4iB5Tvi.js → workspace-media-preview-kXaEY4AN.js} +1 -1
- package/dist/{workspace-quick-look-8cbGu1Xf.js → workspace-quick-look-BDD-jXn3.js} +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { J as PauseIcon, M as InfoIcon, V as MessageCircleIcon, _t as XIcon, at as SpinnerIcon, it as SlackIcon, x as DiscordIcon } from "../../icons-CNwk7DEu.js";
|
|
2
|
+
import { Button } from "../foundations/Button.js";
|
|
3
|
+
import { a as useAgentComputerWindow, p as useMinuteClock } from "../../AgentComputer-KhPwXwh8.js";
|
|
4
|
+
import { f as useAppHosts, m as useComputerHost, n as AppHostsContext } from "../../context-BWJpR084.js";
|
|
5
|
+
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
6
|
+
import { EmptyState } from "../foundations/EmptyState.js";
|
|
7
|
+
import { n as computerAppTile } from "../../parts-Bb1aZP2y.js";
|
|
8
|
+
import { c } from "react/compiler-runtime";
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
//#region src/components/agents-sdk/ComputerChannels.tsx
|
|
12
|
+
const ComputerChannelsContext = React.createContext(null);
|
|
13
|
+
/** The channels `ComputerChannels.Host` holds. Throws outside one. */
|
|
14
|
+
function useComputerChannelsContext() {
|
|
15
|
+
const value = React.use(ComputerChannelsContext);
|
|
16
|
+
if (!value) throw new Error("Channel windows need ComputerChannels.Host.");
|
|
17
|
+
return value;
|
|
18
|
+
}
|
|
19
|
+
/** Providers whose conversations without a channel are direct messages. */
|
|
20
|
+
const MESSENGERS = /* @__PURE__ */ new Set(["slack", "discord"]);
|
|
21
|
+
function channelTile(id) {
|
|
22
|
+
if (id === "slack") return computerAppTile(/* @__PURE__ */ jsx(SlackIcon, {}));
|
|
23
|
+
if (id === "discord") return computerAppTile(/* @__PURE__ */ jsx(DiscordIcon, { color: "#fff" }), "#5865f2");
|
|
24
|
+
return computerAppTile(/* @__PURE__ */ jsx(MessageCircleIcon, {}));
|
|
25
|
+
}
|
|
26
|
+
function connectionLabel({ phase, userName, error }) {
|
|
27
|
+
if (phase === "connected") return userName ? `Connected as ${userName}` : "Connected";
|
|
28
|
+
if (phase === "connecting") return "Connecting…";
|
|
29
|
+
if (phase === "reconnecting") return "Reconnecting…";
|
|
30
|
+
if (phase === "auth_failed") return error ? `Sign-in failed: ${error}` : "Sign-in failed";
|
|
31
|
+
return error ? `Not connected: ${error}` : "Not connected";
|
|
32
|
+
}
|
|
33
|
+
const STATUS = {
|
|
34
|
+
running: {
|
|
35
|
+
label: "Working",
|
|
36
|
+
tone: "primary",
|
|
37
|
+
icon: /* @__PURE__ */ jsx(SpinnerIcon, {})
|
|
38
|
+
},
|
|
39
|
+
attention: {
|
|
40
|
+
label: "Update ready",
|
|
41
|
+
tone: "neutral",
|
|
42
|
+
icon: /* @__PURE__ */ jsx(InfoIcon, {})
|
|
43
|
+
},
|
|
44
|
+
error: {
|
|
45
|
+
label: "Issue",
|
|
46
|
+
tone: "danger",
|
|
47
|
+
icon: /* @__PURE__ */ jsx(XIcon, {})
|
|
48
|
+
},
|
|
49
|
+
interrupted: {
|
|
50
|
+
label: "Stopped",
|
|
51
|
+
tone: "paused",
|
|
52
|
+
icon: /* @__PURE__ */ jsx(PauseIcon, {})
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
const relative = new Intl.RelativeTimeFormat(void 0, { numeric: "auto" });
|
|
56
|
+
function relativeTime(timestamp, now) {
|
|
57
|
+
const minutes = Math.round((timestamp - now) / 6e4);
|
|
58
|
+
if (Math.abs(minutes) < 60) return relative.format(minutes, "minute");
|
|
59
|
+
const hours = Math.round(minutes / 60);
|
|
60
|
+
if (Math.abs(hours) < 24) return relative.format(hours, "hour");
|
|
61
|
+
return relative.format(Math.round(hours / 24), "day");
|
|
62
|
+
}
|
|
63
|
+
function useChannel(id) {
|
|
64
|
+
const $ = c(5);
|
|
65
|
+
const t0 = useComputerChannelsContext();
|
|
66
|
+
let t1;
|
|
67
|
+
if ($[0] !== id || $[1] !== t0.channels) {
|
|
68
|
+
let t2;
|
|
69
|
+
if ($[3] !== id) {
|
|
70
|
+
t2 = (channel) => channel.id === id;
|
|
71
|
+
$[3] = id;
|
|
72
|
+
$[4] = t2;
|
|
73
|
+
} else t2 = $[4];
|
|
74
|
+
t1 = t0.channels.find(t2);
|
|
75
|
+
$[0] = id;
|
|
76
|
+
$[1] = t0.channels;
|
|
77
|
+
$[2] = t1;
|
|
78
|
+
} else t1 = $[2];
|
|
79
|
+
return t1;
|
|
80
|
+
}
|
|
81
|
+
function ConnectionBar(t0) {
|
|
82
|
+
const $ = c(14);
|
|
83
|
+
const { channel } = t0;
|
|
84
|
+
const { connection, onConnect } = channel;
|
|
85
|
+
const t1 = `${channel.label} connection`;
|
|
86
|
+
const t2 = connection.phase;
|
|
87
|
+
let t3;
|
|
88
|
+
if ($[0] !== connection) {
|
|
89
|
+
t3 = connectionLabel(connection);
|
|
90
|
+
$[0] = connection;
|
|
91
|
+
$[1] = t3;
|
|
92
|
+
} else t3 = $[1];
|
|
93
|
+
let t4;
|
|
94
|
+
if ($[2] !== connection.phase || $[3] !== t3) {
|
|
95
|
+
t4 = /* @__PURE__ */ jsx(AppTopBar.Leading, { children: /* @__PURE__ */ jsx("span", {
|
|
96
|
+
className: "computer-channels__connection sigvelo-truncate",
|
|
97
|
+
"data-phase": t2,
|
|
98
|
+
role: "status",
|
|
99
|
+
children: t3
|
|
100
|
+
}) });
|
|
101
|
+
$[2] = connection.phase;
|
|
102
|
+
$[3] = t3;
|
|
103
|
+
$[4] = t4;
|
|
104
|
+
} else t4 = $[4];
|
|
105
|
+
let t5;
|
|
106
|
+
if ($[5] !== connection.configured || $[6] !== onConnect) {
|
|
107
|
+
t5 = onConnect ? /* @__PURE__ */ jsx(Button, {
|
|
108
|
+
size: "xs",
|
|
109
|
+
variant: "surface",
|
|
110
|
+
color: "neutral",
|
|
111
|
+
onClick: onConnect,
|
|
112
|
+
children: connection.configured ? "Reconnect…" : "Connect…"
|
|
113
|
+
}) : null;
|
|
114
|
+
$[5] = connection.configured;
|
|
115
|
+
$[6] = onConnect;
|
|
116
|
+
$[7] = t5;
|
|
117
|
+
} else t5 = $[7];
|
|
118
|
+
let t6;
|
|
119
|
+
if ($[8] !== t5) {
|
|
120
|
+
t6 = /* @__PURE__ */ jsx(AppTopBar.Trailing, { children: t5 });
|
|
121
|
+
$[8] = t5;
|
|
122
|
+
$[9] = t6;
|
|
123
|
+
} else t6 = $[9];
|
|
124
|
+
let t7;
|
|
125
|
+
if ($[10] !== t1 || $[11] !== t4 || $[12] !== t6) {
|
|
126
|
+
t7 = /* @__PURE__ */ jsxs(AppTopBar.Root, {
|
|
127
|
+
className: "computer-channels__bar",
|
|
128
|
+
"aria-label": t1,
|
|
129
|
+
children: [t4, t6]
|
|
130
|
+
});
|
|
131
|
+
$[10] = t1;
|
|
132
|
+
$[11] = t4;
|
|
133
|
+
$[12] = t6;
|
|
134
|
+
$[13] = t7;
|
|
135
|
+
} else t7 = $[13];
|
|
136
|
+
return t7;
|
|
137
|
+
}
|
|
138
|
+
function ChannelTitle(t0) {
|
|
139
|
+
const $ = c(4);
|
|
140
|
+
const { id, label } = t0;
|
|
141
|
+
const { phone } = useAgentComputerWindow();
|
|
142
|
+
const channel = useChannel(id);
|
|
143
|
+
let t1;
|
|
144
|
+
if ($[0] !== channel || $[1] !== label || $[2] !== phone) {
|
|
145
|
+
t1 = phone || !channel ? label : /* @__PURE__ */ jsx(ConnectionBar, { channel });
|
|
146
|
+
$[0] = channel;
|
|
147
|
+
$[1] = label;
|
|
148
|
+
$[2] = phone;
|
|
149
|
+
$[3] = t1;
|
|
150
|
+
} else t1 = $[3];
|
|
151
|
+
return t1;
|
|
152
|
+
}
|
|
153
|
+
function ChannelContent(t0) {
|
|
154
|
+
const $ = c(8);
|
|
155
|
+
const { id } = t0;
|
|
156
|
+
const { phone } = useAgentComputerWindow();
|
|
157
|
+
const channel = useChannel(id);
|
|
158
|
+
const host = useComputerHost("ComputerChannels");
|
|
159
|
+
const now = useMinuteClock(host.clock?.now ?? Date.now);
|
|
160
|
+
if (!channel) return null;
|
|
161
|
+
let t1;
|
|
162
|
+
if ($[0] !== channel || $[1] !== host || $[2] !== now || $[3] !== phone) {
|
|
163
|
+
const threads = channel.threads.toSorted(_temp);
|
|
164
|
+
const groups = Map.groupBy(threads, (thread) => thread.channel ?? (MESSENGERS.has(channel.id) ? "Direct messages" : ""));
|
|
165
|
+
let t2;
|
|
166
|
+
if ($[5] !== channel || $[6] !== phone) {
|
|
167
|
+
t2 = phone ? /* @__PURE__ */ jsx(ConnectionBar, { channel }) : null;
|
|
168
|
+
$[5] = channel;
|
|
169
|
+
$[6] = phone;
|
|
170
|
+
$[7] = t2;
|
|
171
|
+
} else t2 = $[7];
|
|
172
|
+
t1 = /* @__PURE__ */ jsxs("div", {
|
|
173
|
+
className: "computer-channels",
|
|
174
|
+
children: [t2, threads.length ? /* @__PURE__ */ jsx("div", {
|
|
175
|
+
className: "computer-channels__groups",
|
|
176
|
+
children: [...groups].map((t3) => {
|
|
177
|
+
const [name, members] = t3;
|
|
178
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
179
|
+
className: "computer-channels__group",
|
|
180
|
+
"aria-label": name || void 0,
|
|
181
|
+
children: [name ? /* @__PURE__ */ jsx("h2", { children: name }) : null, /* @__PURE__ */ jsx("ul", {
|
|
182
|
+
role: "list",
|
|
183
|
+
children: members.map((thread_0, index) => {
|
|
184
|
+
const status = thread_0.status === "idle" ? null : STATUS[thread_0.status];
|
|
185
|
+
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Button, {
|
|
186
|
+
className: "computer-channels__thread",
|
|
187
|
+
variant: "ghost",
|
|
188
|
+
color: "neutral",
|
|
189
|
+
onClick: () => host.onOpenConversation(thread_0.id),
|
|
190
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
191
|
+
className: "computer-channels__copy",
|
|
192
|
+
children: [/* @__PURE__ */ jsx("strong", {
|
|
193
|
+
className: "sigvelo-truncate",
|
|
194
|
+
children: thread_0.title
|
|
195
|
+
}), /* @__PURE__ */ jsxs("small", {
|
|
196
|
+
className: "sigvelo-truncate",
|
|
197
|
+
children: [thread_0.channel ? `${thread_0.channel} · ` : null, /* @__PURE__ */ jsx("time", {
|
|
198
|
+
dateTime: new Date(thread_0.updatedAt).toISOString(),
|
|
199
|
+
children: relativeTime(thread_0.updatedAt, now)
|
|
200
|
+
})]
|
|
201
|
+
})]
|
|
202
|
+
}), status ? /* @__PURE__ */ jsx("span", {
|
|
203
|
+
className: "think-execution-status",
|
|
204
|
+
"data-tone": status.tone,
|
|
205
|
+
role: "img",
|
|
206
|
+
"aria-label": status.label,
|
|
207
|
+
title: status.label,
|
|
208
|
+
children: status.icon
|
|
209
|
+
}) : null]
|
|
210
|
+
}) }, `${thread_0.id}:${index}`);
|
|
211
|
+
})
|
|
212
|
+
})]
|
|
213
|
+
}, name);
|
|
214
|
+
})
|
|
215
|
+
}) : /* @__PURE__ */ jsx(EmptyState, {
|
|
216
|
+
className: "computer-channels__empty",
|
|
217
|
+
title: `No conversations from ${channel.label} yet.`
|
|
218
|
+
})]
|
|
219
|
+
});
|
|
220
|
+
$[0] = channel;
|
|
221
|
+
$[1] = host;
|
|
222
|
+
$[2] = now;
|
|
223
|
+
$[3] = phone;
|
|
224
|
+
$[4] = t1;
|
|
225
|
+
} else t1 = $[4];
|
|
226
|
+
return t1;
|
|
227
|
+
}
|
|
228
|
+
function _temp(first, second) {
|
|
229
|
+
return second.updatedAt - first.updatedAt;
|
|
230
|
+
}
|
|
231
|
+
/** One app object per channel id and label, so a host render keeps its windows mounted. */
|
|
232
|
+
const APPS = /* @__PURE__ */ new Map();
|
|
233
|
+
function channelApp(id, label) {
|
|
234
|
+
const key = `${id}\u0000${label}`;
|
|
235
|
+
let app = APPS.get(key);
|
|
236
|
+
if (!app) {
|
|
237
|
+
app = {
|
|
238
|
+
id,
|
|
239
|
+
label,
|
|
240
|
+
icon: channelTile(id),
|
|
241
|
+
launcher: "standard",
|
|
242
|
+
defaultWindowSize: {
|
|
243
|
+
width: 720,
|
|
244
|
+
height: 520
|
|
245
|
+
},
|
|
246
|
+
titleBar: "unified",
|
|
247
|
+
Title: () => /* @__PURE__ */ jsx(ChannelTitle, {
|
|
248
|
+
id,
|
|
249
|
+
label
|
|
250
|
+
}),
|
|
251
|
+
Content: () => /* @__PURE__ */ jsx(ChannelContent, { id })
|
|
252
|
+
};
|
|
253
|
+
APPS.set(key, app);
|
|
254
|
+
}
|
|
255
|
+
return app;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* The host's messaging channels, one window each: how the channel is
|
|
259
|
+
* connected and the conversations it started, each opening beside the
|
|
260
|
+
* computer. Mount it inside a `ComputerHost` and above the computer.
|
|
261
|
+
*/
|
|
262
|
+
function Host(t0) {
|
|
263
|
+
const $ = c(10);
|
|
264
|
+
const { value, children } = t0;
|
|
265
|
+
let t1;
|
|
266
|
+
if ($[0] !== value.channels) {
|
|
267
|
+
t1 = value.channels.map(_temp2).join("");
|
|
268
|
+
$[0] = value.channels;
|
|
269
|
+
$[1] = t1;
|
|
270
|
+
} else t1 = $[1];
|
|
271
|
+
const ids = t1;
|
|
272
|
+
let t2;
|
|
273
|
+
if ($[2] !== ids) {
|
|
274
|
+
t2 = ids ? ids.split("").map(_temp3) : [];
|
|
275
|
+
$[2] = ids;
|
|
276
|
+
$[3] = t2;
|
|
277
|
+
} else t2 = $[3];
|
|
278
|
+
const t3 = useAppHosts("channels", t2);
|
|
279
|
+
let t4;
|
|
280
|
+
if ($[4] !== children || $[5] !== t3) {
|
|
281
|
+
t4 = /* @__PURE__ */ jsx(AppHostsContext, {
|
|
282
|
+
value: t3,
|
|
283
|
+
children
|
|
284
|
+
});
|
|
285
|
+
$[4] = children;
|
|
286
|
+
$[5] = t3;
|
|
287
|
+
$[6] = t4;
|
|
288
|
+
} else t4 = $[6];
|
|
289
|
+
let t5;
|
|
290
|
+
if ($[7] !== t4 || $[8] !== value) {
|
|
291
|
+
t5 = /* @__PURE__ */ jsx(ComputerChannelsContext, {
|
|
292
|
+
value,
|
|
293
|
+
children: t4
|
|
294
|
+
});
|
|
295
|
+
$[7] = t4;
|
|
296
|
+
$[8] = value;
|
|
297
|
+
$[9] = t5;
|
|
298
|
+
} else t5 = $[9];
|
|
299
|
+
return t5;
|
|
300
|
+
}
|
|
301
|
+
function _temp3(entry) {
|
|
302
|
+
const [id, label] = entry.split("\0");
|
|
303
|
+
return channelApp(id, label);
|
|
304
|
+
}
|
|
305
|
+
function _temp2(channel) {
|
|
306
|
+
return `${channel.id}\u0000${channel.label}`;
|
|
307
|
+
}
|
|
308
|
+
/** The channel windows' Host. */
|
|
309
|
+
const ComputerChannels = { Host };
|
|
310
|
+
//#endregion
|
|
311
|
+
export { ComputerChannels, useComputerChannelsContext };
|
|
@@ -3,7 +3,7 @@ import { a as WorkspaceFileState } from "../../WorkspaceFile-BJC6vlp_.js";
|
|
|
3
3
|
import "../../Workspace-mZddFyvP.js";
|
|
4
4
|
import "../../WorkspaceFileTransfer-D--dVla2.js";
|
|
5
5
|
import "../../WorkspaceFileCommands-CN2oVUzx.js";
|
|
6
|
-
import { r as AgentComputerApp } from "../../AgentComputer-
|
|
6
|
+
import { r as AgentComputerApp } from "../../AgentComputer-BI8RsGzq.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
import { FileInfo } from "@cloudflare/shell";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { desktopArtwork } from "../../utils/desktop-artwork.js";
|
|
2
|
-
import { C as DownloadIcon, E as EyeIcon,
|
|
2
|
+
import { C as DownloadIcon, E as EyeIcon, H as MessageSquareIcon, I as ListIcon, O as FileIcon, Q as PlusIcon, Y as PencilIcon, a as ArrowUpDownIcon, g as ChevronRightIcon, h as ChevronLeftIcon, j as GridIcon, k as FolderIcon, p as CheckIcon, tt as RefreshIcon, v as ClockIcon, w as EllipsisIcon, y as CodeIcon } from "../../icons-CNwk7DEu.js";
|
|
3
3
|
import { Field } from "../foundations/Field.js";
|
|
4
4
|
import { o as formatOperationError } from "../../format-DL7f2rqp.js";
|
|
5
5
|
import { Button } from "../foundations/Button.js";
|
|
@@ -11,17 +11,17 @@ import { a as workspaceDirname, i as workspaceBasename } from "../../workspace-p
|
|
|
11
11
|
import { useWorkspace, workspaceDirectoryQueryOptions, workspaceInfoQueryKey, workspaceInfoQueryOptions } from "./Workspace.js";
|
|
12
12
|
import { _ as workspaceFileShortcut, a as saveWorkspaceFileAs, d as isHiddenWorkspaceEntry, f as isInWorkspaceTrash, g as workspaceFileCommandForKey, h as useWorkspaceFileCommands, p as isWithin, r as downloadWorkspaceFile, u as WORKSPACE_TRASH } from "../../WorkspaceFileTransfer-D2cOoVyO.js";
|
|
13
13
|
import { r as useWorkspaceDragAndDrop } from "../../workspace-drag-BNhZIN8F.js";
|
|
14
|
-
import { a as useAgentComputerWindow, r as useAgentComputerAppHandlers } from "../../AgentComputer-
|
|
14
|
+
import { a as useAgentComputerWindow, r as useAgentComputerAppHandlers } from "../../AgentComputer-KhPwXwh8.js";
|
|
15
15
|
import { f as useAppHosts, l as PresentationContext, m as useComputerHost, n as AppHostsContext } from "../../context-BWJpR084.js";
|
|
16
16
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
17
17
|
import { COMPUTER_APP_IDS } from "./ComputerAppIds.js";
|
|
18
18
|
import { Menubar } from "../foundations/Menubar.js";
|
|
19
19
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
20
20
|
import { SearchField } from "../foundations/SearchField.js";
|
|
21
|
-
import { n as computerAppTile } from "../../parts-
|
|
21
|
+
import { n as computerAppTile } from "../../parts-Bb1aZP2y.js";
|
|
22
22
|
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
23
23
|
import { a as hasModifier } from "../../ComputerFileThumbnail-CXHy127c.js";
|
|
24
|
-
import { i as WorkspaceThumbnailContext } from "../../workspace-quick-look-
|
|
24
|
+
import { i as WorkspaceThumbnailContext } from "../../workspace-quick-look-BDD-jXn3.js";
|
|
25
25
|
import { WorkspaceFileDetails, WorkspaceFileFacts } from "./WorkspaceFileDetails.js";
|
|
26
26
|
import { WorkspaceFileView } from "./WorkspaceFileView.js";
|
|
27
27
|
import { WorkspaceExplorer } from "./WorkspaceExplorer.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { s as ComputerHome } from "../../AgentComputer-
|
|
1
|
+
import { s as ComputerHome } from "../../AgentComputer-KhPwXwh8.js";
|
|
2
2
|
export { ComputerHome };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as AgentComputerLayout } from "../../AgentComputer-
|
|
1
|
+
import { a as AgentComputerLayout } from "../../AgentComputer-BI8RsGzq.js";
|
|
2
2
|
//#region src/components/agents-sdk/ComputerLayout.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* A saved `AgentComputer` layout, as `onLayoutChange` reported it, or null when
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as ComputerClock, f as ComputerNotifications, u as ComputerAppearanceMenu } from "../../AgentComputer-
|
|
1
|
+
import { d as ComputerClock, f as ComputerNotifications, u as ComputerAppearanceMenu } from "../../AgentComputer-KhPwXwh8.js";
|
|
2
2
|
export { ComputerAppearanceMenu, ComputerClock, ComputerNotifications };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as DockArrangement, S as readComputerPresentation, _ as
|
|
2
|
-
export { ComputerFolderView, ComputerFolderViews, ComputerPresentation, DEFAULT_COMPUTER_PRESENTATION, type DockArrangement, MAX_FOLDER_VIEWS, readComputerPresentation };
|
|
1
|
+
import { C as MAX_DESKTOP_ICONS, E as DockArrangement, S as DEFAULT_COMPUTER_PRESENTATION, T as readComputerPresentation, _ as ComputerDesktopCell, b as ComputerFolderViews, v as ComputerDesktopIcons, w as MAX_FOLDER_VIEWS, x as ComputerPresentation, y as ComputerFolderView } from "../../AgentComputer-BI8RsGzq.js";
|
|
2
|
+
export { ComputerDesktopCell, ComputerDesktopIcons, ComputerFolderView, ComputerFolderViews, ComputerPresentation, DEFAULT_COMPUTER_PRESENTATION, type DockArrangement, MAX_DESKTOP_ICONS, MAX_FOLDER_VIEWS, readComputerPresentation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
export { DEFAULT_COMPUTER_PRESENTATION, MAX_FOLDER_VIEWS, readComputerPresentation };
|
|
1
|
+
import { i as readComputerPresentation, n as MAX_DESKTOP_ICONS, r as MAX_FOLDER_VIEWS, t as DEFAULT_COMPUTER_PRESENTATION } from "../../ComputerPresentation-rzx6n36S.js";
|
|
2
|
+
export { DEFAULT_COMPUTER_PRESENTATION, MAX_DESKTOP_ICONS, MAX_FOLDER_VIEWS, readComputerPresentation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as AgentComputerApp } from "../../AgentComputer-
|
|
1
|
+
import { r as AgentComputerApp } from "../../AgentComputer-BI8RsGzq.js";
|
|
2
2
|
import { BrowserProfile } from "./BrowserRunPanel.js";
|
|
3
3
|
import { AgentHandoff } from "./ManagerOffice.js";
|
|
4
4
|
import { AgentScreenSwitcherTab } from "./AgentScreenSwitcher.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as MonitorIcon, H as MessageSquareIcon, _ as ChromeIcon, i as ArrowRightIcon, m as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-CNwk7DEu.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { a as useAgentComputerWindow, n as useAgentComputerActions, o as useAgentComputerWindowActive } from "../../AgentComputer-
|
|
4
|
+
import { a as useAgentComputerWindow, n as useAgentComputerActions, o as useAgentComputerWindowActive } from "../../AgentComputer-KhPwXwh8.js";
|
|
5
5
|
import { f as useAppHosts, m as useComputerHost, n as AppHostsContext } from "../../context-BWJpR084.js";
|
|
6
6
|
import { COMPUTER_APP_IDS } from "./ComputerAppIds.js";
|
|
7
7
|
import { Menubar } from "../foundations/Menubar.js";
|
|
@@ -9,7 +9,7 @@ import { FormattedDate } from "../foundations/FormattedDate.js";
|
|
|
9
9
|
import { AgentScreenSwitcher } from "./AgentScreenSwitcher.js";
|
|
10
10
|
import { WebPreviewNavigationButton } from "../general-purpose/WebPreview.js";
|
|
11
11
|
import { BrowserProfileMenu, BrowserRunPanel, BrowserTabStrip } from "./BrowserRunPanel.js";
|
|
12
|
-
import { n as computerAppTile } from "../../parts-
|
|
12
|
+
import { n as computerAppTile } from "../../parts-Bb1aZP2y.js";
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
14
14
|
import * as React from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as AgentComputerApp } from "../../AgentComputer-
|
|
1
|
+
import { r as AgentComputerApp } from "../../AgentComputer-BI8RsGzq.js";
|
|
2
2
|
import { c as EmployeeLocalAgents, d as EmployeePasskeyVault, r as EmployeeCompanion, s as EmployeeIdentity } from "../../EmployeeChrome-kegSASjC.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
//#region src/components/agents-sdk/ComputerSettings.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { desktopArtwork } from "../../utils/desktop-artwork.js";
|
|
2
|
-
import { A as GlobeIcon, F as LinkIcon,
|
|
2
|
+
import { A as GlobeIcon, F as LinkIcon, G as MonitorIcon, H as MessageSquareIcon, L as LockIcon, N as KeyboardIcon, R as MailIcon, _ as ChromeIcon, dt as TerminalIcon, j as GridIcon, pt as UserIcon } from "../../icons-CNwk7DEu.js";
|
|
3
3
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
4
|
-
import { a as useAgentComputerWindow, c as COMPUTER_SPOTLIGHT_SHORTCUT, m as chordLabel } from "../../AgentComputer-
|
|
4
|
+
import { a as useAgentComputerWindow, c as COMPUTER_SPOTLIGHT_SHORTCUT, m as chordLabel } from "../../AgentComputer-KhPwXwh8.js";
|
|
5
5
|
import { f as useAppHosts, g as usePresentation, h as useComputerSlice, l as PresentationContext, m as useComputerHost, n as AppHostsContext, r as AppearanceContext } from "../../context-BWJpR084.js";
|
|
6
6
|
import { COMPUTER_APP_IDS } from "./ComputerAppIds.js";
|
|
7
|
-
import { a as
|
|
7
|
+
import { a as DockSettings, c as SettingsRow, l as SettingsToolbar, o as EmployeeWorkspaceRows, s as SettingsLayout } from "../../ComputerPresentation-rzx6n36S.js";
|
|
8
8
|
import { ThemeModeControl } from "../general-purpose/ThemeModeControl.js";
|
|
9
|
-
import { n as computerAppTile } from "../../parts-
|
|
9
|
+
import { n as computerAppTile } from "../../parts-Bb1aZP2y.js";
|
|
10
10
|
import { Switch } from "../foundations/Switch.js";
|
|
11
11
|
import { WallpaperPicker } from "../general-purpose/WallpaperPicker.js";
|
|
12
12
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as COMPUTER_SPOTLIGHT_SHORTCUT, l as ComputerSpotlight } from "../../AgentComputer-
|
|
1
|
+
import { c as COMPUTER_SPOTLIGHT_SHORTCUT, l as ComputerSpotlight } from "../../AgentComputer-KhPwXwh8.js";
|
|
2
2
|
export { COMPUTER_SPOTLIGHT_SHORTCUT, ComputerSpotlight };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as MonitorIcon, H as MessageSquareIcon, _t as XIcon } from "../../icons-CNwk7DEu.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { m as useComputerHost } from "../../context-BWJpR084.js";
|
|
4
4
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ht as WarningIcon } from "../../icons-CNwk7DEu.js";
|
|
2
2
|
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
3
3
|
import { WorkbenchBack } from "./WorkbenchBack.js";
|
|
4
4
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
@@ -2,7 +2,7 @@ import { PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActi
|
|
|
2
2
|
import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
|
|
3
3
|
import { t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-CXGOQgpo.js";
|
|
4
4
|
import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
|
|
5
|
-
import { n as SetupChecklistGroup } from "../../SetupChecklist-
|
|
5
|
+
import { n as SetupChecklistGroup } from "../../SetupChecklist-BKCMkUuh.js";
|
|
6
6
|
import { McpServerPickerItems } from "./McpServerPicker.js";
|
|
7
7
|
import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
|
|
8
8
|
import { a as ContextContentFooter, i as ContextContentBody, o as ContextContentHeader, r as ContextContent, t as Context, u as ContextTrigger } from "../../Context-CYUxZrwW.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { findCatalogMcpServerCard } from "../../utils/mcp-server-catalog.js";
|
|
2
|
-
import {
|
|
2
|
+
import { B as McpIcon, E as EyeIcon, G as MonitorIcon, H as MessageSquareIcon, K as MoonIcon, M as InfoIcon, O as FileIcon, Y as PencilIcon, at as SpinnerIcon, dt as TerminalIcon, et as QueueIcon, f as CalendarIcon, ht as WarningIcon, k as FolderIcon, lt as SunIcon, r as ArrowLeftIcon, s as ArrowUpRightIcon, st as SquareIcon, u as BoxIcon, w as EllipsisIcon } from "../../icons-CNwk7DEu.js";
|
|
3
3
|
import { t as attempt } from "../../attempt-CySQHJsF.js";
|
|
4
4
|
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
5
5
|
import { Button } from "../foundations/Button.js";
|
|
@@ -17,7 +17,7 @@ import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-DMmtdqs
|
|
|
17
17
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
18
18
|
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
19
19
|
import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
|
|
20
|
-
import { t as ChatGptSignInScreen } from "../../ChatGptSignInScreen-
|
|
20
|
+
import { t as ChatGptSignInScreen } from "../../ChatGptSignInScreen-CLq5cetL.js";
|
|
21
21
|
import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
|
|
22
22
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
23
23
|
import { ThinkThreadPicker, ThinkThreadStatusIndicators, summarizeThinkThreads } from "./ThinkThreadPicker.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as EmployeeMenuProps } from "../../EmployeeChrome-kegSASjC.js";
|
|
2
2
|
import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-hwl6C1aX.js";
|
|
3
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
3
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-C9vErgZQ.js";
|
|
4
4
|
import { ThinkScheduleActionsRootProps } from "./ThinkScheduleActions.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
//#region src/components/agents-sdk/EmployeeSchedules.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as PencilIcon, r as ArrowLeftIcon } from "../../icons-CNwk7DEu.js";
|
|
2
2
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
3
|
import { getThinkExecutionRunId } from "./ThinkExecutionRun.js";
|
|
4
4
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { it as SlackIcon, k as FolderIcon, q as PaperclipIcon, u as BoxIcon, x as DiscordIcon } from "../../icons-CNwk7DEu.js";
|
|
2
2
|
import { IconButton } from "../foundations/IconButton.js";
|
|
3
3
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
4
4
|
import { Menu } from "../foundations/Menu.js";
|
|
5
5
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
6
6
|
import { ActionGuideAction } from "../general-purpose/ActionGuide.js";
|
|
7
7
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
8
|
-
import { t as SetupChecklistAction } from "../../SetupChecklist-
|
|
8
|
+
import { t as SetupChecklistAction } from "../../SetupChecklist-BKCMkUuh.js";
|
|
9
9
|
import { McpServerPickerAction, McpServerPickerItems } from "./McpServerPicker.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import * as React from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { D as EyeOffIcon, F as LinkIcon, J as PauseIcon, M as InfoIcon, O as FileIcon, Q as PlusIcon, W as MinusIcon, Z as PlayIcon, _t as XIcon, at as SpinnerIcon, et as QueueIcon, gt as WrenchIcon, ht as WarningIcon, ot as SplitIcon, p as CheckIcon, s as ArrowUpRightIcon, tt as RefreshIcon, u as BoxIcon, z as MaximizeIcon } from "../../icons-CNwk7DEu.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { t as motionIsReduced } from "../../motion-preferences-6qsDIDvH.js";
|
|
6
6
|
import { Favicon } from "../foundations/Favicon.js";
|
|
7
7
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
8
8
|
import { a as executionResultSummary, n as executionErrorSummary, s as stepState, t as boardNotice } from "../../execution-result-DAuW4VWv.js";
|
|
9
|
-
import { i as httpUrl, t as Hint } from "../../workspace-assets-
|
|
10
|
-
import { t as ExecutionResult } from "../../ExecutionResult-
|
|
9
|
+
import { i as httpUrl, t as Hint } from "../../workspace-assets-CadpUKoz.js";
|
|
10
|
+
import { t as ExecutionResult } from "../../ExecutionResult-BojdvFEY.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Q as PlusIcon, w as EllipsisIcon } from "../../icons-CNwk7DEu.js";
|
|
2
2
|
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { Menu } from "../foundations/Menu.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ThinkSchedule } from "../../ThinkSchedule-
|
|
1
|
+
import { t as ThinkSchedule } from "../../ThinkSchedule-C9vErgZQ.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
4
|
//#region src/components/agents-sdk/ManagerOffice.d.ts
|
|
@@ -97,7 +97,7 @@ export interface ManagerOfficeConnectedEmployee extends ManagerOfficeEmployeeBas
|
|
|
97
97
|
role: string;
|
|
98
98
|
handoffs: readonly ManagerOfficeHandoff[];
|
|
99
99
|
work: readonly ManagerOfficeWork[];
|
|
100
|
-
/** Whole upstream-backed schedules, including their native task,
|
|
100
|
+
/** Whole upstream-backed schedules, including their native task, next run, and runs. */
|
|
101
101
|
schedules: readonly ThinkSchedule[];
|
|
102
102
|
/** Every service the employee reads from or acts on. Empty is meaningful. */
|
|
103
103
|
channels: readonly ManagerOfficeChannel[];
|
|
@@ -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-80ZkVjSt.js";
|
|
2
2
|
export { ManagerOffice, ManagerOfficeSidebar, ManagerOfficeSidebarAlert };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as MonitorIcon, Q as PlusIcon, Y as PencilIcon, ht as WarningIcon, it as SlackIcon, k as FolderIcon, r as ArrowLeftIcon } from "../../icons-CNwk7DEu.js";
|
|
2
2
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
3
3
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
4
4
|
import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
5
5
|
import { ThinkThreadPicker } from "./ThinkThreadPicker.js";
|
|
6
6
|
import { EmployeeChrome } from "./EmployeeChrome.js";
|
|
7
|
-
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-
|
|
7
|
+
import { n as ManagerOfficeSidebar, r as ManagerOfficeSidebarAlert, t as ManagerOffice } from "../../ManagerOffice-80ZkVjSt.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/agents-sdk/ManagerOfficeScreens.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { at as SpinnerIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-CNwk7DEu.js";
|
|
3
3
|
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "../ai-sdk/AgentAttention.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SIGVELO_LOGO } from "../../utils/brand-marks.js";
|
|
2
2
|
import { CUSTOM_MCP_SERVER_CARD } from "../../utils/mcp-server-catalog.js";
|
|
3
3
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Q as PlusIcon, _t as XIcon, at as SpinnerIcon, ht as WarningIcon, s as ArrowUpRightIcon, w as EllipsisIcon } from "../../icons-CNwk7DEu.js";
|
|
5
5
|
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
6
6
|
import { Button } from "../foundations/Button.js";
|
|
7
7
|
import { Dialog } from "../foundations/Dialog.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { W as MinusIcon, at as SpinnerIcon, ht as WarningIcon, p as CheckIcon } from "../../icons-CNwk7DEu.js";
|
|
3
3
|
import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
|
|
4
4
|
import { buttonVariants } from "../foundations/Button.js";
|
|
5
5
|
import { Dialog } from "../foundations/Dialog.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { m as ChevronDownIcon,
|
|
2
|
+
import { m as ChevronDownIcon, nt as SearchIcon } from "../../icons-CNwk7DEu.js";
|
|
3
3
|
import { l as titleCase } from "../../format-DL7f2rqp.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { Dialog } from "../foundations/Dialog.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { composerLinkHref } from "../../utils/composer-link.js";
|
|
2
2
|
import { findCatalogMcpServerCard, getMcpServerIconSrc } from "../../utils/mcp-server-catalog.js";
|
|
3
|
-
import { B as McpIcon, u as BoxIcon } from "../../icons-
|
|
3
|
+
import { B as McpIcon, u as BoxIcon } from "../../icons-CNwk7DEu.js";
|
|
4
4
|
import { Favicon } from "../foundations/Favicon.js";
|
|
5
5
|
import { McpServerIcon } from "./McpServerIcon.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|