@mcp-b/react-components 0.64.1 → 0.66.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-2uYB8kmu.js +8084 -0
- package/dist/{ExecutionResult-CXnGcmM4.js → ExecutionResult-C7SzVquo.js} +1 -1
- package/dist/WallpaperPicker-C-FItmDS.d.ts +34 -0
- package/dist/WorkspaceBrowser-Dz48H-7X.d.ts +89 -0
- package/dist/{WorkspaceFileCommands-SNIjRgtU.d.ts → WorkspaceFileCommands-1s9Ol8CG.d.ts} +11 -3
- package/dist/{WorkspaceMessageResponse-CXGOQgpo.js → WorkspaceMessageResponse-BoeeltJM.js} +1 -1
- package/dist/assets/wallpapers/README.md +31 -0
- package/dist/assets/wallpapers/alpine.webp +0 -0
- package/dist/assets/wallpapers/dusk.webp +0 -0
- package/dist/assets/wallpapers/ember.webp +0 -0
- package/dist/assets/wallpapers/graphite.webp +0 -0
- package/dist/assets/wallpapers/sigvelo.webp +0 -0
- package/dist/assets/wallpapers/tide.webp +0 -0
- package/dist/automations-host-DPORjdc7.js +17 -0
- package/dist/components/agents-sdk/AgentComputer.d.ts +7 -1
- package/dist/components/agents-sdk/AgentComputer.js +1 -8044
- package/dist/components/agents-sdk/AgentScreenSwitcher.js +1 -0
- package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +7 -1
- package/dist/components/agents-sdk/BrowserLiveScreen.js +259 -257
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +2 -0
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -0
- package/dist/components/agents-sdk/ComputerAutomations.d.ts +70 -0
- package/dist/components/agents-sdk/ComputerAutomations.js +1410 -0
- package/dist/components/agents-sdk/ComputerCalendar.d.ts +7 -0
- package/dist/components/agents-sdk/ComputerCalendar.js +1344 -0
- package/dist/components/agents-sdk/ComputerFiles.d.ts +153 -0
- package/dist/components/agents-sdk/ComputerFiles.js +2401 -0
- package/dist/components/agents-sdk/ComputerHome.d.ts +15 -0
- package/dist/components/agents-sdk/ComputerHome.js +90 -0
- package/dist/components/agents-sdk/ComputerNotifications.d.ts +54 -0
- package/dist/components/agents-sdk/ComputerNotifications.js +692 -0
- package/dist/components/agents-sdk/ComputerScreen.d.ts +78 -0
- package/dist/components/agents-sdk/ComputerScreen.js +750 -0
- package/dist/components/agents-sdk/ComputerSettings.d.ts +69 -0
- package/dist/components/agents-sdk/ComputerSettings.js +1371 -0
- package/dist/components/agents-sdk/ComputerSpotlight.d.ts +29 -0
- package/dist/components/agents-sdk/ComputerSpotlight.js +232 -0
- package/dist/components/agents-sdk/ComputerViewer.d.ts +51 -0
- package/dist/components/agents-sdk/ComputerViewer.js +339 -0
- package/dist/components/agents-sdk/ComputerWallpapers.d.ts +11 -0
- package/dist/components/agents-sdk/ComputerWallpapers.js +43 -0
- 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 +4 -4
- package/dist/components/agents-sdk/EmployeeSchedules.js +3 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.js +1 -1
- package/dist/components/agents-sdk/ExecutionBoard.js +1 -1
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.js +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +5 -5
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +13 -0
- package/dist/components/agents-sdk/ThinkFullApp.js +13 -0
- package/dist/components/agents-sdk/ThinkScheduleActions.js +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.js +3 -3
- package/dist/components/agents-sdk/ThinkScheduleForm.js +4 -4
- package/dist/components/agents-sdk/WorkspaceAutomation.js +4 -4
- package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +2 -88
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +1 -1
- package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceDocumentFrame.d.ts +17 -0
- package/dist/components/agents-sdk/WorkspaceDocumentFrame.js +90 -0
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +4 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +70 -66
- package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceFileCommands.js +346 -316
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +7 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +83 -71
- package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -4
- package/dist/components/agents-sdk/WorkspaceLive.js +18 -11
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -1
- package/dist/components/agents-sdk/WorkspaceProject.js +7 -4
- package/dist/components/ai-sdk/ConnectedAppCards.js +1 -1
- package/dist/components/ai-sdk/Goal.d.ts +1 -2
- package/dist/components/ai-sdk/Goal.js +1 -2
- package/dist/components/extension/FirstRunSetup.d.ts +132 -37
- package/dist/components/extension/FirstRunSetup.js +1920 -1567
- package/dist/components/general-purpose/CommandPalette.d.ts +6 -1
- package/dist/components/general-purpose/CommandPalette.js +90 -82
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/StatusScreen.d.ts +6 -1
- package/dist/components/general-purpose/StatusScreen.js +44 -36
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WallpaperPicker.d.ts +2 -33
- package/dist/components/nanites/AgentConnection.js +1 -1
- package/dist/parts-BxJC0QVb.js +112 -0
- package/dist/styles/agent-computer.css +28 -0
- package/dist/styles/base.css +6 -0
- package/dist/styles/chatgpt-sign-in-screen.css +2 -0
- package/dist/styles/computer-app-tile.css +20 -0
- package/dist/styles/computer-automations.css +454 -0
- package/dist/styles/computer-calendar.css +648 -0
- package/dist/styles/computer-files.css +566 -0
- package/dist/styles/computer-home.css +90 -0
- package/dist/styles/computer-notifications.css +242 -0
- package/dist/styles/computer-screen.css +89 -0
- package/dist/styles/computer-settings.css +550 -0
- package/dist/styles/computer-spotlight.css +7 -0
- package/dist/styles/computer-viewer.css +130 -0
- package/dist/styles/first-run-setup.css +107 -96
- package/dist/styles/index.css +11 -0
- package/dist/styles/recipes.css +42 -0
- package/dist/styles/select.css +2 -1
- package/dist/styles/switch.css +20 -5
- package/dist/styles/workspace-document-frame.css +31 -0
- package/package.json +2 -2
- package/dist/{ManagerOffice-T79utm-P.js → ManagerOffice-kSK7vTBl.js} +1 -1
- package/dist/{WorkspaceLink-DDkj-Tq5.js → WorkspaceLink-DK9kdMUH.js} +1 -1
- package/dist/{connected-app-drafts-Bocdg3Z-.js → connected-app-drafts-C49343p9.js} +1 -1
|
@@ -2,10 +2,10 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { k as FolderIcon } from "../../icons-nLTnB9kd.js";
|
|
3
3
|
import { n as mergeRefs } from "../../merge-refs-DTX97mLp.js";
|
|
4
4
|
import { a as workspaceDirname } from "../../workspace-path-TZggP-u4.js";
|
|
5
|
+
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-DK9kdMUH.js";
|
|
6
|
+
import { WorkspaceNavigationRestorationBoundary, useRequiredWorkspaceNavigationRestoration } from "./WorkspaceNavigationRestoration.js";
|
|
5
7
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
6
8
|
import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
|
|
7
|
-
import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-DDkj-Tq5.js";
|
|
8
|
-
import { WorkspaceNavigationRestorationBoundary, useRequiredWorkspaceNavigationRestoration } from "./WorkspaceNavigationRestoration.js";
|
|
9
9
|
import { t as WorkspaceBrowser } from "../../WorkspaceBrowser-oBJv-Dac.js";
|
|
10
10
|
import { WorkspaceFileView } from "./WorkspaceFileView.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
@@ -60,7 +60,7 @@ function WorkspaceExplorer(t0) {
|
|
|
60
60
|
return t1;
|
|
61
61
|
}
|
|
62
62
|
function WorkspaceExplorerContent(t0) {
|
|
63
|
-
const $ = c(
|
|
63
|
+
const $ = c(62);
|
|
64
64
|
let actions;
|
|
65
65
|
let actionsRef;
|
|
66
66
|
let className;
|
|
@@ -80,6 +80,7 @@ function WorkspaceExplorerContent(t0) {
|
|
|
80
80
|
let ref;
|
|
81
81
|
let renderPreview;
|
|
82
82
|
let renderThumbnail;
|
|
83
|
+
let renderUnsupported;
|
|
83
84
|
let sort;
|
|
84
85
|
let t1;
|
|
85
86
|
let t2;
|
|
@@ -88,7 +89,7 @@ function WorkspaceExplorerContent(t0) {
|
|
|
88
89
|
let view;
|
|
89
90
|
let workspace;
|
|
90
91
|
if ($[0] !== t0) {
|
|
91
|
-
({workspace, preview, navigation, className, header: t1, title: t2, leading, actions, mounts, showFilter: t3, filterPlaceholder: t4, filter, onFilterChange, view, onViewChange, onDirectoryOpen, renderThumbnail, layout, sort, emptyState, dragAndDrop, commands, renderPreview, actionsRef, ref, ...props} = t0);
|
|
92
|
+
({workspace, preview, renderUnsupported, navigation, className, header: t1, title: t2, leading, actions, mounts, showFilter: t3, filterPlaceholder: t4, filter, onFilterChange, view, onViewChange, onDirectoryOpen, renderThumbnail, layout, sort, emptyState, dragAndDrop, commands, renderPreview, actionsRef, ref, ...props} = t0);
|
|
92
93
|
$[0] = t0;
|
|
93
94
|
$[1] = actions;
|
|
94
95
|
$[2] = actionsRef;
|
|
@@ -109,13 +110,14 @@ function WorkspaceExplorerContent(t0) {
|
|
|
109
110
|
$[17] = ref;
|
|
110
111
|
$[18] = renderPreview;
|
|
111
112
|
$[19] = renderThumbnail;
|
|
112
|
-
$[20] =
|
|
113
|
-
$[21] =
|
|
114
|
-
$[22] =
|
|
115
|
-
$[23] =
|
|
116
|
-
$[24] =
|
|
117
|
-
$[25] =
|
|
118
|
-
$[26] =
|
|
113
|
+
$[20] = renderUnsupported;
|
|
114
|
+
$[21] = sort;
|
|
115
|
+
$[22] = t1;
|
|
116
|
+
$[23] = t2;
|
|
117
|
+
$[24] = t3;
|
|
118
|
+
$[25] = t4;
|
|
119
|
+
$[26] = view;
|
|
120
|
+
$[27] = workspace;
|
|
119
121
|
} else {
|
|
120
122
|
actions = $[1];
|
|
121
123
|
actionsRef = $[2];
|
|
@@ -136,13 +138,14 @@ function WorkspaceExplorerContent(t0) {
|
|
|
136
138
|
ref = $[17];
|
|
137
139
|
renderPreview = $[18];
|
|
138
140
|
renderThumbnail = $[19];
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
renderUnsupported = $[20];
|
|
142
|
+
sort = $[21];
|
|
143
|
+
t1 = $[22];
|
|
144
|
+
t2 = $[23];
|
|
145
|
+
t3 = $[24];
|
|
146
|
+
t4 = $[25];
|
|
147
|
+
view = $[26];
|
|
148
|
+
workspace = $[27];
|
|
146
149
|
}
|
|
147
150
|
const header = t1 === void 0 ? "bar" : t1;
|
|
148
151
|
const title = t2 === void 0 ? "Workspace" : t2;
|
|
@@ -156,7 +159,7 @@ function WorkspaceExplorerContent(t0) {
|
|
|
156
159
|
const { entriesByDirectory, expandedPaths, selectedPath, selectedFile, isLoading, loadingPaths, refresh, setExpandedPaths } = workspace;
|
|
157
160
|
const fileDestination = getValidatedFileDestination(currentEntry.destination, workspace.root);
|
|
158
161
|
let t5;
|
|
159
|
-
if ($[
|
|
162
|
+
if ($[28] !== currentEntry.destination || $[29] !== currentEntry.key || $[30] !== restoration) {
|
|
160
163
|
t5 = () => {
|
|
161
164
|
const previous = previousDestinationRef.current;
|
|
162
165
|
if (currentEntry.destination.kind === "files" && previous.kind === "file") {
|
|
@@ -168,21 +171,21 @@ function WorkspaceExplorerContent(t0) {
|
|
|
168
171
|
}
|
|
169
172
|
previousDestinationRef.current = currentEntry.destination;
|
|
170
173
|
};
|
|
171
|
-
$[
|
|
172
|
-
$[
|
|
173
|
-
$[
|
|
174
|
-
$[
|
|
175
|
-
} else t5 = $[
|
|
174
|
+
$[28] = currentEntry.destination;
|
|
175
|
+
$[29] = currentEntry.key;
|
|
176
|
+
$[30] = restoration;
|
|
177
|
+
$[31] = t5;
|
|
178
|
+
} else t5 = $[31];
|
|
176
179
|
let t6;
|
|
177
|
-
if ($[
|
|
180
|
+
if ($[32] !== currentEntry || $[33] !== restoration) {
|
|
178
181
|
t6 = [currentEntry, restoration];
|
|
179
|
-
$[
|
|
180
|
-
$[
|
|
181
|
-
$[
|
|
182
|
-
} else t6 = $[
|
|
182
|
+
$[32] = currentEntry;
|
|
183
|
+
$[33] = restoration;
|
|
184
|
+
$[34] = t6;
|
|
185
|
+
} else t6 = $[34];
|
|
183
186
|
React.useEffect(t5, t6);
|
|
184
187
|
let t7;
|
|
185
|
-
if ($[
|
|
188
|
+
if ($[35] !== currentEntry.destination || $[36] !== currentEntry.key || $[37] !== expandedPaths || $[38] !== isLoading || $[39] !== layout || $[40] !== loadingPaths || $[41] !== setExpandedPaths || $[42] !== workspace.root) {
|
|
186
189
|
t7 = () => {
|
|
187
190
|
const pending = pendingTreeFocusRef.current;
|
|
188
191
|
if (!pending || pending.entryKey !== currentEntry.key || currentEntry.destination.kind !== "files") return;
|
|
@@ -202,18 +205,18 @@ function WorkspaceExplorerContent(t0) {
|
|
|
202
205
|
(surface?.querySelector(".file-tree__node, .workspace-browser__open") ?? surface?.querySelector("[data-workspace-browser-focus-target]"))?.focus({ preventScroll: true });
|
|
203
206
|
pendingTreeFocusRef.current = null;
|
|
204
207
|
};
|
|
205
|
-
$[
|
|
206
|
-
$[
|
|
207
|
-
$[
|
|
208
|
-
$[
|
|
209
|
-
$[
|
|
210
|
-
$[
|
|
211
|
-
$[
|
|
212
|
-
$[
|
|
213
|
-
$[
|
|
214
|
-
} else t7 = $[
|
|
208
|
+
$[35] = currentEntry.destination;
|
|
209
|
+
$[36] = currentEntry.key;
|
|
210
|
+
$[37] = expandedPaths;
|
|
211
|
+
$[38] = isLoading;
|
|
212
|
+
$[39] = layout;
|
|
213
|
+
$[40] = loadingPaths;
|
|
214
|
+
$[41] = setExpandedPaths;
|
|
215
|
+
$[42] = workspace.root;
|
|
216
|
+
$[43] = t7;
|
|
217
|
+
} else t7 = $[43];
|
|
215
218
|
let t8;
|
|
216
|
-
if ($[
|
|
219
|
+
if ($[44] !== currentEntry || $[45] !== entriesByDirectory || $[46] !== expandedPaths || $[47] !== isLoading || $[48] !== layout || $[49] !== loadingPaths || $[50] !== setExpandedPaths || $[51] !== workspace.root) {
|
|
217
220
|
t8 = [
|
|
218
221
|
entriesByDirectory,
|
|
219
222
|
expandedPaths,
|
|
@@ -224,29 +227,29 @@ function WorkspaceExplorerContent(t0) {
|
|
|
224
227
|
workspace.root,
|
|
225
228
|
layout
|
|
226
229
|
];
|
|
227
|
-
$[
|
|
228
|
-
$[
|
|
229
|
-
$[
|
|
230
|
-
$[
|
|
231
|
-
$[
|
|
232
|
-
$[
|
|
233
|
-
$[
|
|
234
|
-
$[
|
|
235
|
-
$[
|
|
236
|
-
} else t8 = $[
|
|
230
|
+
$[44] = currentEntry;
|
|
231
|
+
$[45] = entriesByDirectory;
|
|
232
|
+
$[46] = expandedPaths;
|
|
233
|
+
$[47] = isLoading;
|
|
234
|
+
$[48] = layout;
|
|
235
|
+
$[49] = loadingPaths;
|
|
236
|
+
$[50] = setExpandedPaths;
|
|
237
|
+
$[51] = workspace.root;
|
|
238
|
+
$[52] = t8;
|
|
239
|
+
} else t8 = $[52];
|
|
237
240
|
React.useEffect(t7, t8);
|
|
238
241
|
let t9;
|
|
239
|
-
if ($[
|
|
242
|
+
if ($[53] !== ref) {
|
|
240
243
|
t9 = mergeRefs(explorerRef, ref);
|
|
241
|
-
$[
|
|
242
|
-
$[
|
|
243
|
-
} else t9 = $[
|
|
244
|
+
$[53] = ref;
|
|
245
|
+
$[54] = t9;
|
|
246
|
+
} else t9 = $[54];
|
|
244
247
|
let t10;
|
|
245
|
-
if ($[
|
|
248
|
+
if ($[55] !== className) {
|
|
246
249
|
t10 = cx("workspace-explorer", className);
|
|
247
|
-
$[
|
|
248
|
-
$[
|
|
249
|
-
} else t10 = $[
|
|
250
|
+
$[55] = className;
|
|
251
|
+
$[56] = t10;
|
|
252
|
+
} else t10 = $[56];
|
|
250
253
|
const t11 = "fill-host";
|
|
251
254
|
const t12 = fileDestination ? /* @__PURE__ */ jsx(WorkspaceNavigationProvider, {
|
|
252
255
|
root: workspace.root,
|
|
@@ -257,6 +260,7 @@ function WorkspaceExplorerContent(t0) {
|
|
|
257
260
|
navigation,
|
|
258
261
|
children: /* @__PURE__ */ jsx(WorkspaceFileView, {
|
|
259
262
|
preview,
|
|
263
|
+
renderUnsupported,
|
|
260
264
|
header,
|
|
261
265
|
file: selectedFile?.path === fileDestination.path ? selectedFile : null,
|
|
262
266
|
path: fileDestination.path,
|
|
@@ -298,7 +302,7 @@ function WorkspaceExplorerContent(t0) {
|
|
|
298
302
|
})
|
|
299
303
|
});
|
|
300
304
|
let t13;
|
|
301
|
-
if ($[
|
|
305
|
+
if ($[57] !== props || $[58] !== t10 || $[59] !== t12 || $[60] !== t9) {
|
|
302
306
|
t13 = /* @__PURE__ */ jsx("div", {
|
|
303
307
|
ref: t9,
|
|
304
308
|
className: t10,
|
|
@@ -306,12 +310,12 @@ function WorkspaceExplorerContent(t0) {
|
|
|
306
310
|
...props,
|
|
307
311
|
children: t12
|
|
308
312
|
});
|
|
309
|
-
$[
|
|
310
|
-
$[
|
|
311
|
-
$[
|
|
312
|
-
$[
|
|
313
|
-
$[
|
|
314
|
-
} else t13 = $[
|
|
313
|
+
$[57] = props;
|
|
314
|
+
$[58] = t10;
|
|
315
|
+
$[59] = t12;
|
|
316
|
+
$[60] = t9;
|
|
317
|
+
$[61] = t13;
|
|
318
|
+
} else t13 = $[61];
|
|
315
319
|
return t13;
|
|
316
320
|
}
|
|
317
321
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorkspaceFileOperation, c as isHiddenWorkspaceEntry, d as
|
|
2
|
-
export { WORKSPACE_TRASH, WorkspaceFileCommand, WorkspaceFileCommandTarget, WorkspaceFileCommands, WorkspaceFileOperation, WorkspaceFiles, WorkspaceVolume, isHiddenWorkspaceEntry, isInWorkspaceTrash, runWorkspaceFileOperations, useWorkspaceFileCommands, workspaceFileCommandForKey, workspaceFileShortcut, workspaceRenameTarget, workspaceTrashIsFull };
|
|
1
|
+
import { a as WorkspaceFileOperation, c as isHiddenWorkspaceEntry, d as runWorkspaceFileOperations, f as useWorkspaceFileCommands, g as workspaceTrashIsFull, h as workspaceRenameTarget, i as WorkspaceFileCommands, l as isInWorkspaceTrash, m as workspaceFileShortcut, n as WorkspaceFileCommand, o as WorkspaceFiles, p as workspaceFileCommandForKey, r as WorkspaceFileCommandTarget, s as WorkspaceVolume, t as WORKSPACE_TRASH, u as isWithin } from "../../WorkspaceFileCommands-1s9Ol8CG.js";
|
|
2
|
+
export { WORKSPACE_TRASH, WorkspaceFileCommand, WorkspaceFileCommandTarget, WorkspaceFileCommands, WorkspaceFileOperation, WorkspaceFiles, WorkspaceVolume, isHiddenWorkspaceEntry, isInWorkspaceTrash, isWithin, runWorkspaceFileOperations, useWorkspaceFileCommands, workspaceFileCommandForKey, workspaceFileShortcut, workspaceRenameTarget, workspaceTrashIsFull };
|