@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.
Files changed (116) hide show
  1. package/dist/AgentComputer-2uYB8kmu.js +8084 -0
  2. package/dist/{ExecutionResult-CXnGcmM4.js → ExecutionResult-C7SzVquo.js} +1 -1
  3. package/dist/WallpaperPicker-C-FItmDS.d.ts +34 -0
  4. package/dist/WorkspaceBrowser-Dz48H-7X.d.ts +89 -0
  5. package/dist/{WorkspaceFileCommands-SNIjRgtU.d.ts → WorkspaceFileCommands-1s9Ol8CG.d.ts} +11 -3
  6. package/dist/{WorkspaceMessageResponse-CXGOQgpo.js → WorkspaceMessageResponse-BoeeltJM.js} +1 -1
  7. package/dist/assets/wallpapers/README.md +31 -0
  8. package/dist/assets/wallpapers/alpine.webp +0 -0
  9. package/dist/assets/wallpapers/dusk.webp +0 -0
  10. package/dist/assets/wallpapers/ember.webp +0 -0
  11. package/dist/assets/wallpapers/graphite.webp +0 -0
  12. package/dist/assets/wallpapers/sigvelo.webp +0 -0
  13. package/dist/assets/wallpapers/tide.webp +0 -0
  14. package/dist/automations-host-DPORjdc7.js +17 -0
  15. package/dist/components/agents-sdk/AgentComputer.d.ts +7 -1
  16. package/dist/components/agents-sdk/AgentComputer.js +1 -8044
  17. package/dist/components/agents-sdk/AgentScreenSwitcher.js +1 -0
  18. package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +7 -1
  19. package/dist/components/agents-sdk/BrowserLiveScreen.js +259 -257
  20. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +2 -0
  21. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -0
  22. package/dist/components/agents-sdk/ComputerAutomations.d.ts +70 -0
  23. package/dist/components/agents-sdk/ComputerAutomations.js +1410 -0
  24. package/dist/components/agents-sdk/ComputerCalendar.d.ts +7 -0
  25. package/dist/components/agents-sdk/ComputerCalendar.js +1344 -0
  26. package/dist/components/agents-sdk/ComputerFiles.d.ts +153 -0
  27. package/dist/components/agents-sdk/ComputerFiles.js +2401 -0
  28. package/dist/components/agents-sdk/ComputerHome.d.ts +15 -0
  29. package/dist/components/agents-sdk/ComputerHome.js +90 -0
  30. package/dist/components/agents-sdk/ComputerNotifications.d.ts +54 -0
  31. package/dist/components/agents-sdk/ComputerNotifications.js +692 -0
  32. package/dist/components/agents-sdk/ComputerScreen.d.ts +78 -0
  33. package/dist/components/agents-sdk/ComputerScreen.js +750 -0
  34. package/dist/components/agents-sdk/ComputerSettings.d.ts +69 -0
  35. package/dist/components/agents-sdk/ComputerSettings.js +1371 -0
  36. package/dist/components/agents-sdk/ComputerSpotlight.d.ts +29 -0
  37. package/dist/components/agents-sdk/ComputerSpotlight.js +232 -0
  38. package/dist/components/agents-sdk/ComputerViewer.d.ts +51 -0
  39. package/dist/components/agents-sdk/ComputerViewer.js +339 -0
  40. package/dist/components/agents-sdk/ComputerWallpapers.d.ts +11 -0
  41. package/dist/components/agents-sdk/ComputerWallpapers.js +43 -0
  42. package/dist/components/agents-sdk/EmployeeApp.js +1 -1
  43. package/dist/components/agents-sdk/EmployeeChat.js +1 -1
  44. package/dist/components/agents-sdk/EmployeeChrome.js +4 -4
  45. package/dist/components/agents-sdk/EmployeeSchedules.js +3 -3
  46. package/dist/components/agents-sdk/EmployeeStartScreen.js +1 -1
  47. package/dist/components/agents-sdk/ExecutionBoard.js +1 -1
  48. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  49. package/dist/components/agents-sdk/ManagerOfficeScreens.js +1 -1
  50. package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
  51. package/dist/components/agents-sdk/ModelSelector.js +1 -1
  52. package/dist/components/agents-sdk/ThinkChat.js +1 -1
  53. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +1 -1
  54. package/dist/components/agents-sdk/ThinkChatToolPanels.js +5 -5
  55. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  56. package/dist/components/agents-sdk/ThinkFullApp.d.ts +13 -0
  57. package/dist/components/agents-sdk/ThinkFullApp.js +13 -0
  58. package/dist/components/agents-sdk/ThinkScheduleActions.js +1 -1
  59. package/dist/components/agents-sdk/ThinkScheduleDetail.js +3 -3
  60. package/dist/components/agents-sdk/ThinkScheduleForm.js +4 -4
  61. package/dist/components/agents-sdk/WorkspaceAutomation.js +4 -4
  62. package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1 -1
  63. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +2 -88
  64. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +1 -1
  65. package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +1 -1
  66. package/dist/components/agents-sdk/WorkspaceDocumentFrame.d.ts +17 -0
  67. package/dist/components/agents-sdk/WorkspaceDocumentFrame.js +90 -0
  68. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +4 -1
  69. package/dist/components/agents-sdk/WorkspaceExplorer.js +70 -66
  70. package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -2
  71. package/dist/components/agents-sdk/WorkspaceFileCommands.js +346 -316
  72. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +7 -1
  73. package/dist/components/agents-sdk/WorkspaceFileView.js +83 -71
  74. package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
  75. package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -4
  76. package/dist/components/agents-sdk/WorkspaceLive.js +18 -11
  77. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  78. package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -1
  79. package/dist/components/agents-sdk/WorkspaceProject.js +7 -4
  80. package/dist/components/ai-sdk/ConnectedAppCards.js +1 -1
  81. package/dist/components/ai-sdk/Goal.d.ts +1 -2
  82. package/dist/components/ai-sdk/Goal.js +1 -2
  83. package/dist/components/extension/FirstRunSetup.d.ts +132 -37
  84. package/dist/components/extension/FirstRunSetup.js +1920 -1567
  85. package/dist/components/general-purpose/CommandPalette.d.ts +6 -1
  86. package/dist/components/general-purpose/CommandPalette.js +90 -82
  87. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  88. package/dist/components/general-purpose/StatusScreen.d.ts +6 -1
  89. package/dist/components/general-purpose/StatusScreen.js +44 -36
  90. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  91. package/dist/components/general-purpose/WallpaperPicker.d.ts +2 -33
  92. package/dist/components/nanites/AgentConnection.js +1 -1
  93. package/dist/parts-BxJC0QVb.js +112 -0
  94. package/dist/styles/agent-computer.css +28 -0
  95. package/dist/styles/base.css +6 -0
  96. package/dist/styles/chatgpt-sign-in-screen.css +2 -0
  97. package/dist/styles/computer-app-tile.css +20 -0
  98. package/dist/styles/computer-automations.css +454 -0
  99. package/dist/styles/computer-calendar.css +648 -0
  100. package/dist/styles/computer-files.css +566 -0
  101. package/dist/styles/computer-home.css +90 -0
  102. package/dist/styles/computer-notifications.css +242 -0
  103. package/dist/styles/computer-screen.css +89 -0
  104. package/dist/styles/computer-settings.css +550 -0
  105. package/dist/styles/computer-spotlight.css +7 -0
  106. package/dist/styles/computer-viewer.css +130 -0
  107. package/dist/styles/first-run-setup.css +107 -96
  108. package/dist/styles/index.css +11 -0
  109. package/dist/styles/recipes.css +42 -0
  110. package/dist/styles/select.css +2 -1
  111. package/dist/styles/switch.css +20 -5
  112. package/dist/styles/workspace-document-frame.css +31 -0
  113. package/package.json +2 -2
  114. package/dist/{ManagerOffice-T79utm-P.js → ManagerOffice-kSK7vTBl.js} +1 -1
  115. package/dist/{WorkspaceLink-DDkj-Tq5.js → WorkspaceLink-DK9kdMUH.js} +1 -1
  116. 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(61);
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] = sort;
113
- $[21] = t1;
114
- $[22] = t2;
115
- $[23] = t3;
116
- $[24] = t4;
117
- $[25] = view;
118
- $[26] = workspace;
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
- sort = $[20];
140
- t1 = $[21];
141
- t2 = $[22];
142
- t3 = $[23];
143
- t4 = $[24];
144
- view = $[25];
145
- workspace = $[26];
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 ($[27] !== currentEntry.destination || $[28] !== currentEntry.key || $[29] !== restoration) {
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
- $[27] = currentEntry.destination;
172
- $[28] = currentEntry.key;
173
- $[29] = restoration;
174
- $[30] = t5;
175
- } else t5 = $[30];
174
+ $[28] = currentEntry.destination;
175
+ $[29] = currentEntry.key;
176
+ $[30] = restoration;
177
+ $[31] = t5;
178
+ } else t5 = $[31];
176
179
  let t6;
177
- if ($[31] !== currentEntry || $[32] !== restoration) {
180
+ if ($[32] !== currentEntry || $[33] !== restoration) {
178
181
  t6 = [currentEntry, restoration];
179
- $[31] = currentEntry;
180
- $[32] = restoration;
181
- $[33] = t6;
182
- } else t6 = $[33];
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 ($[34] !== currentEntry.destination || $[35] !== currentEntry.key || $[36] !== expandedPaths || $[37] !== isLoading || $[38] !== layout || $[39] !== loadingPaths || $[40] !== setExpandedPaths || $[41] !== workspace.root) {
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
- $[34] = currentEntry.destination;
206
- $[35] = currentEntry.key;
207
- $[36] = expandedPaths;
208
- $[37] = isLoading;
209
- $[38] = layout;
210
- $[39] = loadingPaths;
211
- $[40] = setExpandedPaths;
212
- $[41] = workspace.root;
213
- $[42] = t7;
214
- } else t7 = $[42];
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 ($[43] !== currentEntry || $[44] !== entriesByDirectory || $[45] !== expandedPaths || $[46] !== isLoading || $[47] !== layout || $[48] !== loadingPaths || $[49] !== setExpandedPaths || $[50] !== workspace.root) {
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
- $[43] = currentEntry;
228
- $[44] = entriesByDirectory;
229
- $[45] = expandedPaths;
230
- $[46] = isLoading;
231
- $[47] = layout;
232
- $[48] = loadingPaths;
233
- $[49] = setExpandedPaths;
234
- $[50] = workspace.root;
235
- $[51] = t8;
236
- } else t8 = $[51];
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 ($[52] !== ref) {
242
+ if ($[53] !== ref) {
240
243
  t9 = mergeRefs(explorerRef, ref);
241
- $[52] = ref;
242
- $[53] = t9;
243
- } else t9 = $[53];
244
+ $[53] = ref;
245
+ $[54] = t9;
246
+ } else t9 = $[54];
244
247
  let t10;
245
- if ($[54] !== className) {
248
+ if ($[55] !== className) {
246
249
  t10 = cx("workspace-explorer", className);
247
- $[54] = className;
248
- $[55] = t10;
249
- } else t10 = $[55];
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 ($[56] !== props || $[57] !== t10 || $[58] !== t12 || $[59] !== t9) {
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
- $[56] = props;
310
- $[57] = t10;
311
- $[58] = t12;
312
- $[59] = t9;
313
- $[60] = t13;
314
- } else t13 = $[60];
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 useWorkspaceFileCommands, f as workspaceFileCommandForKey, h as workspaceTrashIsFull, i as WorkspaceFileCommands, l as isInWorkspaceTrash, m as workspaceRenameTarget, n as WorkspaceFileCommand, o as WorkspaceFiles, p as workspaceFileShortcut, r as WorkspaceFileCommandTarget, s as WorkspaceVolume, t as WORKSPACE_TRASH, u as runWorkspaceFileOperations } from "../../WorkspaceFileCommands-SNIjRgtU.js";
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 };