@mcp-b/react-components 0.71.0 → 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-DZCyQkcE.js → AgentComputer-KhPwXwh8.js} +332 -314
- package/dist/{ChatGptSignInScreen-CmbBe09G.js → ChatGptSignInScreen-CLq5cetL.js} +1 -1
- package/dist/{CodeBlock-dt0L8md0.js → CodeBlock-ZG47S5e4.js} +1 -1
- package/dist/{ComputerCalendar-Ci7tLASe.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 +60 -48
- 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-DuT5-rDz.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";
|
|
@@ -52,11 +52,12 @@ function finderPlaces(locations) {
|
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* The home volume's source, with Recents and a search read from the host.
|
|
55
|
-
* A Proxy, so a class-backed source keeps its own `this`.
|
|
55
|
+
* A Proxy, so a class-backed source keeps its own `this`. Finder and Spotlight
|
|
56
|
+
* both list through it, so one cached query answers them both.
|
|
56
57
|
*/
|
|
57
58
|
function querySource(source, recent, search) {
|
|
58
59
|
const readDir = async (path = "/", options) => {
|
|
59
|
-
const rows = path === "/.Recents" ? await recent(QUERY_LIMIT) : path.startsWith(
|
|
60
|
+
const rows = path === "/.Recents" ? await recent(QUERY_LIMIT) : path.startsWith("/.Search/") ? await search(decodeURIComponent(path.slice(9)), QUERY_LIMIT) : null;
|
|
60
61
|
if (!rows) return source.readDir(path, options);
|
|
61
62
|
const offset = options?.offset ?? 0;
|
|
62
63
|
return rows.slice(offset, offset + (options?.limit ?? Infinity));
|
|
@@ -320,7 +321,7 @@ function FinderViewControls(t0) {
|
|
|
320
321
|
} else t8 = $[12];
|
|
321
322
|
let t9;
|
|
322
323
|
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
323
|
-
t9 = SORT_KEYS.map(_temp2$
|
|
324
|
+
t9 = SORT_KEYS.map(_temp2$2);
|
|
324
325
|
$[13] = t9;
|
|
325
326
|
} else t9 = $[13];
|
|
326
327
|
let t10;
|
|
@@ -390,7 +391,7 @@ function FinderViewControls(t0) {
|
|
|
390
391
|
} else t17 = $[30];
|
|
391
392
|
return t17;
|
|
392
393
|
}
|
|
393
|
-
function _temp2$
|
|
394
|
+
function _temp2$2(t0) {
|
|
394
395
|
const [by, label] = t0;
|
|
395
396
|
return /* @__PURE__ */ jsxs(Menu.RadioItem, {
|
|
396
397
|
value: by,
|
|
@@ -624,7 +625,7 @@ function FinderRail(t0) {
|
|
|
624
625
|
const group = phone ? "inset-group" : void 0;
|
|
625
626
|
let t1;
|
|
626
627
|
if ($[0] !== phone || $[1] !== places) {
|
|
627
|
-
t1 = phone ? places.filter(_temp3$
|
|
628
|
+
t1 = phone ? places.filter(_temp3$2) : places;
|
|
628
629
|
$[0] = phone;
|
|
629
630
|
$[1] = places;
|
|
630
631
|
$[2] = t1;
|
|
@@ -769,7 +770,7 @@ function _temp5(event) {
|
|
|
769
770
|
function _temp4(project) {
|
|
770
771
|
return workspaceDirname(project.path);
|
|
771
772
|
}
|
|
772
|
-
function _temp3$
|
|
773
|
+
function _temp3$2(place) {
|
|
773
774
|
return place.path !== "/";
|
|
774
775
|
}
|
|
775
776
|
/** One sidebar location: it opens on a press and, as in Finder, takes a drop and springs open under a held drag. */
|
|
@@ -2210,7 +2211,7 @@ function useComputerFiles(t0) {
|
|
|
2210
2211
|
const getInfo = t6;
|
|
2211
2212
|
let t7;
|
|
2212
2213
|
if ($[12] !== locations) {
|
|
2213
|
-
t7 = locations.filter(_temp2).map(_temp3);
|
|
2214
|
+
t7 = locations.filter(_temp2$1).map(_temp3$1);
|
|
2214
2215
|
$[12] = locations;
|
|
2215
2216
|
$[13] = t7;
|
|
2216
2217
|
} else t7 = $[13];
|
|
@@ -2250,10 +2251,10 @@ function useComputerFiles(t0) {
|
|
|
2250
2251
|
} else t10 = $[24];
|
|
2251
2252
|
return t10;
|
|
2252
2253
|
}
|
|
2253
|
-
function _temp3(location_0) {
|
|
2254
|
+
function _temp3$1(location_0) {
|
|
2254
2255
|
return location_0.path;
|
|
2255
2256
|
}
|
|
2256
|
-
function _temp2(location) {
|
|
2257
|
+
function _temp2$1(location) {
|
|
2257
2258
|
return location.readOnly;
|
|
2258
2259
|
}
|
|
2259
2260
|
function _temp$1(t0) {
|
|
@@ -2284,7 +2285,7 @@ function folderTitle(host, home, path) {
|
|
|
2284
2285
|
* desktop and every Files window.
|
|
2285
2286
|
*/
|
|
2286
2287
|
function Host(t0) {
|
|
2287
|
-
const $ = c(
|
|
2288
|
+
const $ = c(53);
|
|
2288
2289
|
const { value, children } = t0;
|
|
2289
2290
|
const { computer, workspace } = useComputerHost("ComputerFiles.Host");
|
|
2290
2291
|
const volume = workspace.volume;
|
|
@@ -2420,20 +2421,25 @@ function Host(t0) {
|
|
|
2420
2421
|
$[30] = t12;
|
|
2421
2422
|
} else t12 = $[30];
|
|
2422
2423
|
let t13;
|
|
2423
|
-
if ($[31] !== command) {
|
|
2424
|
+
if ($[31] !== command || $[32] !== queryClient || $[33] !== volume) {
|
|
2424
2425
|
t13 = async (query) => {
|
|
2425
|
-
const
|
|
2426
|
-
const
|
|
2426
|
+
const { source: source_1, sourceKey: sourceKey_1 } = volume;
|
|
2427
|
+
const { recent: recentFn, search: searchFn } = latest.current;
|
|
2428
|
+
const listing = (root) => queryClient.fetchQuery(workspaceDirectoryQueryOptions(querySource(source_1, recentFn, searchFn), sourceKey_1, root, root));
|
|
2429
|
+
const [recent, found] = await Promise.all([listing(RECENTS).then(_temp), listing(`${SEARCH}${encodeURIComponent(query)}`).then(_temp2)]);
|
|
2430
|
+
const paths_0 = new Set(recent.map(_temp3));
|
|
2427
2431
|
return {
|
|
2428
2432
|
recent: recent.map((entry_2) => command(entry_2, "Recent")),
|
|
2429
2433
|
found: found.filter((entry_3) => !paths_0.has(entry_3.path)).map((entry_4) => command(entry_4, entry_4.type === "directory" ? "Folders" : "Files"))
|
|
2430
2434
|
};
|
|
2431
2435
|
};
|
|
2432
2436
|
$[31] = command;
|
|
2433
|
-
$[32] =
|
|
2434
|
-
|
|
2437
|
+
$[32] = queryClient;
|
|
2438
|
+
$[33] = volume;
|
|
2439
|
+
$[34] = t13;
|
|
2440
|
+
} else t13 = $[34];
|
|
2435
2441
|
let t14;
|
|
2436
|
-
if ($[
|
|
2442
|
+
if ($[35] !== dialogs || $[36] !== open || $[37] !== t10 || $[38] !== t12 || $[39] !== t13) {
|
|
2437
2443
|
t14 = {
|
|
2438
2444
|
apps: t10,
|
|
2439
2445
|
desktop: t11,
|
|
@@ -2442,61 +2448,67 @@ function Host(t0) {
|
|
|
2442
2448
|
open,
|
|
2443
2449
|
spotlight: t13
|
|
2444
2450
|
};
|
|
2445
|
-
$[
|
|
2446
|
-
$[
|
|
2447
|
-
$[
|
|
2448
|
-
$[
|
|
2449
|
-
$[
|
|
2450
|
-
$[
|
|
2451
|
-
} else t14 = $[
|
|
2451
|
+
$[35] = dialogs;
|
|
2452
|
+
$[36] = open;
|
|
2453
|
+
$[37] = t10;
|
|
2454
|
+
$[38] = t12;
|
|
2455
|
+
$[39] = t13;
|
|
2456
|
+
$[40] = t14;
|
|
2457
|
+
} else t14 = $[40];
|
|
2452
2458
|
const contribution = t14;
|
|
2453
2459
|
let t15;
|
|
2454
|
-
if ($[
|
|
2460
|
+
if ($[41] !== files || $[42] !== value) {
|
|
2455
2461
|
t15 = {
|
|
2456
2462
|
host: value,
|
|
2457
2463
|
files
|
|
2458
2464
|
};
|
|
2459
|
-
$[
|
|
2460
|
-
$[
|
|
2461
|
-
$[
|
|
2462
|
-
} else t15 = $[
|
|
2465
|
+
$[41] = files;
|
|
2466
|
+
$[42] = value;
|
|
2467
|
+
$[43] = t15;
|
|
2468
|
+
} else t15 = $[43];
|
|
2463
2469
|
const state = t15;
|
|
2464
2470
|
const t16 = useAppHosts("files", contribution);
|
|
2465
2471
|
let t17;
|
|
2466
|
-
if ($[
|
|
2472
|
+
if ($[44] !== children || $[45] !== t16) {
|
|
2467
2473
|
t17 = /* @__PURE__ */ jsx(AppHostsContext, {
|
|
2468
2474
|
value: t16,
|
|
2469
2475
|
children
|
|
2470
2476
|
});
|
|
2471
|
-
$[
|
|
2472
|
-
$[
|
|
2473
|
-
$[
|
|
2474
|
-
} else t17 = $[
|
|
2477
|
+
$[44] = children;
|
|
2478
|
+
$[45] = t16;
|
|
2479
|
+
$[46] = t17;
|
|
2480
|
+
} else t17 = $[46];
|
|
2475
2481
|
let t18;
|
|
2476
|
-
if ($[
|
|
2482
|
+
if ($[47] !== infoPanels || $[48] !== t17) {
|
|
2477
2483
|
t18 = /* @__PURE__ */ jsx(InfoPanels, {
|
|
2478
2484
|
value: infoPanels,
|
|
2479
2485
|
children: t17
|
|
2480
2486
|
});
|
|
2481
|
-
$[
|
|
2482
|
-
$[
|
|
2483
|
-
$[
|
|
2484
|
-
} else t18 = $[
|
|
2487
|
+
$[47] = infoPanels;
|
|
2488
|
+
$[48] = t17;
|
|
2489
|
+
$[49] = t18;
|
|
2490
|
+
} else t18 = $[49];
|
|
2485
2491
|
let t19;
|
|
2486
|
-
if ($[
|
|
2492
|
+
if ($[50] !== state || $[51] !== t18) {
|
|
2487
2493
|
t19 = /* @__PURE__ */ jsx(FilesContext, {
|
|
2488
2494
|
value: state,
|
|
2489
2495
|
children: t18
|
|
2490
2496
|
});
|
|
2491
|
-
$[
|
|
2492
|
-
$[
|
|
2493
|
-
$[
|
|
2494
|
-
} else t19 = $[
|
|
2497
|
+
$[50] = state;
|
|
2498
|
+
$[51] = t18;
|
|
2499
|
+
$[52] = t19;
|
|
2500
|
+
} else t19 = $[52];
|
|
2495
2501
|
return t19;
|
|
2496
2502
|
}
|
|
2497
|
-
function
|
|
2503
|
+
function _temp3(entry_1) {
|
|
2498
2504
|
return entry_1.path;
|
|
2499
2505
|
}
|
|
2506
|
+
function _temp2(rows_0) {
|
|
2507
|
+
return rows_0.slice(0, SPOTLIGHT_FOUND);
|
|
2508
|
+
}
|
|
2509
|
+
function _temp(rows) {
|
|
2510
|
+
return rows.slice(0, SPOTLIGHT_RECENT);
|
|
2511
|
+
}
|
|
2500
2512
|
/** The workspace's root on the desktop, behind the windows. */
|
|
2501
2513
|
function FilesDesktop() {
|
|
2502
2514
|
const $ = c(27);
|
|
@@ -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";
|