@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.
Files changed (154) hide show
  1. package/dist/{AgentComputer-CpS9R2KG.d.ts → AgentComputer-BI8RsGzq.d.ts} +11 -1
  2. package/dist/{AgentComputer-CsWDnHwj.js → AgentComputer-KhPwXwh8.js} +256 -247
  3. package/dist/{ChatGptSignInScreen-CmbBe09G.js → ChatGptSignInScreen-CLq5cetL.js} +1 -1
  4. package/dist/{CodeBlock-dt0L8md0.js → CodeBlock-ZG47S5e4.js} +1 -1
  5. package/dist/{ComputerCalendar-Z6k_DVJF.js → ComputerCalendar-B3xdMl90.js} +565 -478
  6. package/dist/{ComputerPresentation-BEQKYAjc.js → ComputerPresentation-rzx6n36S.js} +26 -4
  7. package/dist/{ExecutionResult-CXnGcmM4.js → ExecutionResult-BojdvFEY.js} +2 -2
  8. package/dist/{FileTree-CjfzpN6X.js → FileTree-C7fh3_H5.js} +1 -1
  9. package/dist/{ManagerOffice-BJ2vs-Lr.js → ManagerOffice-80ZkVjSt.js} +1 -1
  10. package/dist/{SetupChecklist-DwscX3Bw.js → SetupChecklist-BKCMkUuh.js} +1 -1
  11. package/dist/{ThinkSchedule-9nzxIoX1.d.ts → ThinkSchedule-C9vErgZQ.d.ts} +2 -3
  12. package/dist/{WorkspaceBrowser-mRScUczT.js → WorkspaceBrowser-BFdnZrm7.js} +2 -2
  13. package/dist/components/agents-sdk/AIProviderDialog.js +1 -1
  14. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  15. package/dist/components/agents-sdk/AgentChat.js +1 -1
  16. package/dist/components/agents-sdk/AgentComputer.d.ts +1 -1
  17. package/dist/components/agents-sdk/AgentComputer.js +1 -1
  18. package/dist/components/agents-sdk/AgentScreenSwitcher.js +1 -1
  19. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  20. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  21. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  22. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  23. package/dist/components/agents-sdk/ComputerAutomations.d.ts +8 -3
  24. package/dist/components/agents-sdk/ComputerAutomations.js +7 -7
  25. package/dist/components/agents-sdk/ComputerCalendar.d.ts +22 -2
  26. package/dist/components/agents-sdk/ComputerCalendar.js +1 -1
  27. package/dist/components/agents-sdk/ComputerChannels.d.ts +51 -0
  28. package/dist/components/agents-sdk/ComputerChannels.js +311 -0
  29. package/dist/components/agents-sdk/ComputerFiles.d.ts +1 -1
  30. package/dist/components/agents-sdk/ComputerFiles.js +4 -4
  31. package/dist/components/agents-sdk/ComputerHome.js +1 -1
  32. package/dist/components/agents-sdk/ComputerLayout.d.ts +1 -1
  33. package/dist/components/agents-sdk/ComputerNotifications.js +1 -1
  34. package/dist/components/agents-sdk/ComputerPresentation.d.ts +2 -2
  35. package/dist/components/agents-sdk/ComputerPresentation.js +2 -2
  36. package/dist/components/agents-sdk/ComputerScreen.d.ts +1 -1
  37. package/dist/components/agents-sdk/ComputerScreen.js +3 -3
  38. package/dist/components/agents-sdk/ComputerSettings.d.ts +1 -1
  39. package/dist/components/agents-sdk/ComputerSettings.js +4 -4
  40. package/dist/components/agents-sdk/ComputerSpotlight.js +1 -1
  41. package/dist/components/agents-sdk/ComputerViewer.js +1 -1
  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 +2 -2
  45. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +1 -1
  46. package/dist/components/agents-sdk/EmployeeSchedules.js +1 -1
  47. package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
  48. package/dist/components/agents-sdk/ExecutionBoard.js +3 -3
  49. package/dist/components/agents-sdk/ManagerAccountActions.js +1 -1
  50. package/dist/components/agents-sdk/ManagerOffice.d.ts +2 -2
  51. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  52. package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
  53. package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
  54. package/dist/components/agents-sdk/McpPluginCatalog.js +1 -1
  55. package/dist/components/agents-sdk/McpServerPicker.js +1 -1
  56. package/dist/components/agents-sdk/ModelSelector.js +1 -1
  57. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  58. package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
  59. package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
  60. package/dist/components/agents-sdk/ThinkChatToolPanels.js +2 -2
  61. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  62. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +1 -1
  63. package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
  64. package/dist/components/agents-sdk/ThinkSchedule.js +2 -2
  65. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
  66. package/dist/components/agents-sdk/ThinkScheduleActions.js +1 -1
  67. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
  68. package/dist/components/agents-sdk/ThinkScheduleBrowser.js +1 -1
  69. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +1 -1
  70. package/dist/components/agents-sdk/ThinkScheduleDetail.js +2 -2
  71. package/dist/components/agents-sdk/ThinkScheduleForm.js +4 -4
  72. package/dist/components/agents-sdk/ThinkThreadPicker.js +1 -1
  73. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  74. package/dist/components/agents-sdk/WorkspaceAutomation.js +5 -5
  75. package/dist/components/agents-sdk/WorkspaceAutomationTable.js +4 -4
  76. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  77. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +3 -3
  78. package/dist/components/agents-sdk/WorkspaceDesktop.js +326 -162
  79. package/dist/components/agents-sdk/WorkspaceExplorer.js +2 -2
  80. package/dist/components/agents-sdk/WorkspaceFileDetails.js +2 -2
  81. package/dist/components/agents-sdk/WorkspaceFileView.js +5 -5
  82. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  83. package/dist/components/agents-sdk/WorkspacePerson.js +3 -3
  84. package/dist/components/agents-sdk/WorkspaceProject.js +4 -4
  85. package/dist/components/ai-sdk/Activity.js +1 -1
  86. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  87. package/dist/components/ai-sdk/Approval.js +1 -1
  88. package/dist/components/ai-sdk/Artifact.js +1 -1
  89. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  90. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  91. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  92. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  93. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  94. package/dist/components/ai-sdk/ConnectedAppCards.js +2 -2
  95. package/dist/components/ai-sdk/Conversation.js +1 -1
  96. package/dist/components/ai-sdk/Goal.js +1 -1
  97. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  98. package/dist/components/ai-sdk/Message.js +2 -2
  99. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  100. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  101. package/dist/components/ai-sdk/Plan.js +1 -1
  102. package/dist/components/ai-sdk/PromptInput.js +1 -1
  103. package/dist/components/ai-sdk/Queue.js +1 -1
  104. package/dist/components/ai-sdk/Reasoning.js +1 -1
  105. package/dist/components/ai-sdk/Sources.js +1 -1
  106. package/dist/components/ai-sdk/Task.js +1 -1
  107. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  108. package/dist/components/extension/CodexModelSelector.js +1 -1
  109. package/dist/components/extension/ConversationTabPicker.js +1 -1
  110. package/dist/components/extension/FirstRunSetup.d.ts +1 -1
  111. package/dist/components/extension/FirstRunSetup.js +1 -1
  112. package/dist/components/foundations/Checkbox.js +1 -1
  113. package/dist/components/foundations/ContextMenu.js +1 -1
  114. package/dist/components/foundations/Favicon.js +1 -1
  115. package/dist/components/foundations/Menubar.js +1 -1
  116. package/dist/components/foundations/SearchField.js +1 -1
  117. package/dist/components/foundations/Select.js +1 -1
  118. package/dist/components/foundations/Stepper.js +1 -1
  119. package/dist/components/foundations/Toast.js +1 -1
  120. package/dist/components/foundations/icons.d.ts +2 -2
  121. package/dist/components/foundations/icons.js +2 -2
  122. package/dist/components/general-purpose/CommandPalette.js +1 -1
  123. package/dist/components/general-purpose/Commit.js +2 -2
  124. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  125. package/dist/components/general-purpose/FileTree.js +1 -1
  126. package/dist/components/general-purpose/PricingPlanCard.js +1 -1
  127. package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
  128. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  129. package/dist/components/general-purpose/TestResults.js +1 -1
  130. package/dist/components/general-purpose/ThemeModeControl.js +1 -1
  131. package/dist/components/general-purpose/WallpaperPicker.js +1 -1
  132. package/dist/components/general-purpose/WebPreview.js +1 -1
  133. package/dist/components/nanites/AgentConnection.js +2 -2
  134. package/dist/components/nanites/AgentToolDetail.js +1 -1
  135. package/dist/{connected-app-drafts-C49343p9.js → connected-app-drafts-D2ijldOR.js} +2 -2
  136. package/dist/{copy-button-DWBVJR6D.js → copy-button-UNBY7oXF.js} +1 -1
  137. package/dist/{icons-B3n7zvU7.d.ts → icons-CMPZtOxO.d.ts} +2 -1
  138. package/dist/{icons-nLTnB9kd.js → icons-CNwk7DEu.js} +3 -2
  139. package/dist/{parts-BFK5iocu.js → parts-Bb1aZP2y.js} +1 -1
  140. package/dist/{scheduled-table-source-gGpVJ1TN.js → scheduled-table-source-6YdnC3Sh.js} +1 -1
  141. package/dist/styles/app-top-bar.css +1 -1
  142. package/dist/styles/computer-calendar.css +12 -0
  143. package/dist/styles/computer-channels.css +87 -0
  144. package/dist/styles/index.css +1 -0
  145. package/dist/styles/list-detail.css +1 -2
  146. package/dist/styles/recipes.css +2 -2
  147. package/dist/styles/search-field.css +1 -1
  148. package/dist/styles/workspace-desktop.css +11 -7
  149. package/dist/{workspace-assets-DdtnBDU3.js → workspace-assets-CadpUKoz.js} +1 -1
  150. package/dist/{workspace-concept-panel-VkjvFCY_.js → workspace-concept-panel-CzxPyGpN.js} +1 -1
  151. package/dist/{workspace-delete-BOY6CMBf.js → workspace-delete-D9ZesEdu.js} +1 -1
  152. package/dist/{workspace-media-preview-B4iB5Tvi.js → workspace-media-preview-kXaEY4AN.js} +1 -1
  153. package/dist/{workspace-quick-look-8cbGu1Xf.js → workspace-quick-look-BDD-jXn3.js} +2 -2
  154. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { desktopArtwork } from "./utils/desktop-artwork.js";
2
2
  import { t as cx } from "./class-names-BiMDVpUo.js";
3
- import { N as KeyboardIcon, U as MinusIcon, W as MonitorIcon, c as BellIcon, g as ChevronRightIcon, gt as XIcon, h as ChevronLeftIcon, ht as WrenchIcon, mt as WarningIcon, p as CheckIcon, tt as SearchIcon, z as MaximizeIcon } from "./icons-nLTnB9kd.js";
3
+ import { G as MonitorIcon, N as KeyboardIcon, W as MinusIcon, _t as XIcon, c as BellIcon, g as ChevronRightIcon, gt as WrenchIcon, h as ChevronLeftIcon, ht as WarningIcon, nt as SearchIcon, p as CheckIcon, z as MaximizeIcon } from "./icons-CNwk7DEu.js";
4
4
  import { a as formatErrorMessage, n as clamp } from "./format-DL7f2rqp.js";
5
5
  import { Button } from "./components/foundations/Button.js";
6
6
  import { Tooltip } from "./components/foundations/Tooltip.js";
@@ -16,7 +16,7 @@ import { n as rootRem } from "./container-width-C43ccJ84.js";
16
16
  import { a as HandlersContext, c as PortalContext, d as WindowContext, g as usePresentation, h as useComputerSlice, i as ComputerContext, l as PresentationContext, n as AppHostsContext, o as HostContext, p as useComputer, r as AppearanceContext, t as ActionsContext, u as WindowActiveContext } from "./context-BWJpR084.js";
17
17
  import { n as useComputerWallpaper } from "./ComputerCustomWallpaper-CnGQYHp0.js";
18
18
  import { COMPUTER_APP_IDS } from "./components/agents-sdk/ComputerAppIds.js";
19
- import { l as arrangeDock, t as DEFAULT_COMPUTER_PRESENTATION } from "./ComputerPresentation-BEQKYAjc.js";
19
+ import { t as DEFAULT_COMPUTER_PRESENTATION, u as arrangeDock } from "./ComputerPresentation-rzx6n36S.js";
20
20
  import { Popover } from "./components/foundations/Popover.js";
21
21
  import { Toast } from "./components/foundations/Toast.js";
22
22
  import { ThemeContext } from "./components/foundations/ThemeProvider.js";
@@ -3621,7 +3621,7 @@ function changes(last, next) {
3621
3621
  /**
3622
3622
  * The computer's presentation, owned here and reported whole to the host on
3623
3623
  * every change: the controller reports the layout, Settings the wallpaper and
3624
- * Dock, and Files each folder's view.
3624
+ * Dock, and Files each folder's view and the desktop's icon positions.
3625
3625
  */
3626
3626
  var PresentationStore = class {
3627
3627
  presentation;
@@ -3650,6 +3650,7 @@ var PresentationStore = class {
3650
3650
  this.onChange?.(this.presentation);
3651
3651
  }
3652
3652
  setLayout = (layout) => this.update({ layout });
3653
+ setDesktopIcons = (desktop) => this.update({ desktop });
3653
3654
  /** Records one folder's view, keeping the most recently arranged {@link MAX_FOLDER_VIEWS}. */
3654
3655
  setFolderView(path, view) {
3655
3656
  const { [path]: _replaced, ...rest } = this.presentation.folders;
@@ -9079,7 +9080,7 @@ const NO_APPS = [];
9079
9080
  * Use a key when changing employee identity to reset their presentation state.
9080
9081
  */
9081
9082
  function AgentComputer(t0) {
9082
- const $ = c(118);
9083
+ const $ = c(121);
9083
9084
  let actionsRef;
9084
9085
  let connection;
9085
9086
  let extraResults;
@@ -9147,67 +9148,75 @@ function AgentComputer(t0) {
9147
9148
  $[19] = t4;
9148
9149
  } else t4 = $[19];
9149
9150
  let t5;
9150
- if ($[20] !== hosts.settings) {
9151
- t5 = hosts.settings ? [hosts.settings.app] : [];
9152
- $[20] = hosts.settings;
9151
+ if ($[20] !== hosts.channels) {
9152
+ t5 = hosts.channels ?? [];
9153
+ $[20] = hosts.channels;
9153
9154
  $[21] = t5;
9154
9155
  } else t5 = $[21];
9155
9156
  let t6;
9156
- if ($[22] !== hostApps || $[23] !== t2 || $[24] !== t3 || $[25] !== t4 || $[26] !== t5) {
9157
- t6 = [
9157
+ if ($[22] !== hosts.settings) {
9158
+ t6 = hosts.settings ? [hosts.settings.app] : [];
9159
+ $[22] = hosts.settings;
9160
+ $[23] = t6;
9161
+ } else t6 = $[23];
9162
+ let t7;
9163
+ if ($[24] !== hostApps || $[25] !== t2 || $[26] !== t3 || $[27] !== t4 || $[28] !== t5 || $[29] !== t6) {
9164
+ t7 = [
9158
9165
  ...t2,
9159
9166
  ...t3,
9160
9167
  ...t4,
9161
9168
  ...t5,
9169
+ ...t6,
9162
9170
  ...hostApps
9163
9171
  ];
9164
- $[22] = hostApps;
9165
- $[23] = t2;
9166
- $[24] = t3;
9167
- $[25] = t4;
9168
- $[26] = t5;
9169
- $[27] = t6;
9170
- } else t6 = $[27];
9171
- const apps = t6;
9172
- const t7 = React.useId();
9173
- let t8;
9174
- if ($[28] !== t7) {
9175
- let t9;
9176
- if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
9177
- t9 = /[^a-z0-9]/gi;
9178
- $[30] = t9;
9179
- } else t9 = $[30];
9180
- t8 = t7.replaceAll(t9, "");
9181
- $[28] = t7;
9182
- $[29] = t8;
9183
- } else t8 = $[29];
9184
- const anchorPrefix = `--computer-miniature-${t8}`;
9172
+ $[24] = hostApps;
9173
+ $[25] = t2;
9174
+ $[26] = t3;
9175
+ $[27] = t4;
9176
+ $[28] = t5;
9177
+ $[29] = t6;
9178
+ $[30] = t7;
9179
+ } else t7 = $[30];
9180
+ const apps = t7;
9181
+ const t8 = React.useId();
9185
9182
  let t9;
9186
- if ($[31] !== savedPresentation) {
9187
- t9 = () => new PresentationStore(savedPresentation ?? DEFAULT_COMPUTER_PRESENTATION);
9188
- $[31] = savedPresentation;
9183
+ if ($[31] !== t8) {
9184
+ let t10;
9185
+ if ($[33] === Symbol.for("react.memo_cache_sentinel")) {
9186
+ t10 = /[^a-z0-9]/gi;
9187
+ $[33] = t10;
9188
+ } else t10 = $[33];
9189
+ t9 = t8.replaceAll(t10, "");
9190
+ $[31] = t8;
9189
9191
  $[32] = t9;
9190
9192
  } else t9 = $[32];
9191
- const [presentation] = React.useState(t9);
9193
+ const anchorPrefix = `--computer-miniature-${t9}`;
9192
9194
  let t10;
9193
- if ($[33] !== anchorPrefix || $[34] !== apps || $[35] !== onActiveAppChange || $[36] !== presentation || $[37] !== selected) {
9194
- t10 = () => new ComputerController({
9195
+ if ($[34] !== savedPresentation) {
9196
+ t10 = () => new PresentationStore(savedPresentation ?? DEFAULT_COMPUTER_PRESENTATION);
9197
+ $[34] = savedPresentation;
9198
+ $[35] = t10;
9199
+ } else t10 = $[35];
9200
+ const [presentation] = React.useState(t10);
9201
+ let t11;
9202
+ if ($[36] !== anchorPrefix || $[37] !== apps || $[38] !== onActiveAppChange || $[39] !== presentation || $[40] !== selected) {
9203
+ t11 = () => new ComputerController({
9195
9204
  apps,
9196
9205
  selected,
9197
9206
  onActiveAppChange,
9198
9207
  onLayoutChange: presentation.setLayout
9199
9208
  }, presentation.get().layout ?? void 0, anchorPrefix);
9200
- $[33] = anchorPrefix;
9201
- $[34] = apps;
9202
- $[35] = onActiveAppChange;
9203
- $[36] = presentation;
9204
- $[37] = selected;
9205
- $[38] = t10;
9206
- } else t10 = $[38];
9207
- const [computer] = React.useState(t10);
9208
- let t11;
9209
- if ($[39] !== apps || $[40] !== computer || $[41] !== onActiveAppChange || $[42] !== onPresentationChange || $[43] !== presentation || $[44] !== selected) {
9210
- t11 = () => {
9209
+ $[36] = anchorPrefix;
9210
+ $[37] = apps;
9211
+ $[38] = onActiveAppChange;
9212
+ $[39] = presentation;
9213
+ $[40] = selected;
9214
+ $[41] = t11;
9215
+ } else t11 = $[41];
9216
+ const [computer] = React.useState(t11);
9217
+ let t12;
9218
+ if ($[42] !== apps || $[43] !== computer || $[44] !== onActiveAppChange || $[45] !== onPresentationChange || $[46] !== presentation || $[47] !== selected) {
9219
+ t12 = () => {
9211
9220
  presentation.receive(onPresentationChange);
9212
9221
  computer.receive({
9213
9222
  apps,
@@ -9216,288 +9225,288 @@ function AgentComputer(t0) {
9216
9225
  onLayoutChange: presentation.setLayout
9217
9226
  });
9218
9227
  };
9219
- $[39] = apps;
9220
- $[40] = computer;
9221
- $[41] = onActiveAppChange;
9222
- $[42] = onPresentationChange;
9223
- $[43] = presentation;
9224
- $[44] = selected;
9225
- $[45] = t11;
9226
- } else t11 = $[45];
9227
- React.useLayoutEffect(t11);
9228
- let t12;
9228
+ $[42] = apps;
9229
+ $[43] = computer;
9230
+ $[44] = onActiveAppChange;
9231
+ $[45] = onPresentationChange;
9232
+ $[46] = presentation;
9233
+ $[47] = selected;
9234
+ $[48] = t12;
9235
+ } else t12 = $[48];
9236
+ React.useLayoutEffect(t12);
9229
9237
  let t13;
9230
- if ($[46] !== computer) {
9231
- t12 = () => () => computer.dispose();
9232
- t13 = [computer];
9233
- $[46] = computer;
9234
- $[47] = t12;
9235
- $[48] = t13;
9236
- } else {
9237
- t12 = $[47];
9238
- t13 = $[48];
9239
- }
9240
- React.useEffect(t12, t13);
9241
- const mounted = host?.computer;
9242
9238
  let t14;
9243
- let t15;
9244
- if ($[49] !== computer || $[50] !== mounted) {
9245
- t14 = () => mounted?.attach(computer);
9246
- t15 = [mounted, computer];
9239
+ if ($[49] !== computer) {
9240
+ t13 = () => () => computer.dispose();
9241
+ t14 = [computer];
9247
9242
  $[49] = computer;
9248
- $[50] = mounted;
9243
+ $[50] = t13;
9249
9244
  $[51] = t14;
9250
- $[52] = t15;
9251
9245
  } else {
9246
+ t13 = $[50];
9252
9247
  t14 = $[51];
9253
- t15 = $[52];
9254
9248
  }
9255
- React.useLayoutEffect(t14, t15);
9249
+ React.useEffect(t13, t14);
9250
+ const mounted = host?.computer;
9251
+ let t15;
9256
9252
  let t16;
9257
- if ($[53] !== computer.actions) {
9258
- t16 = () => computer.actions;
9259
- $[53] = computer.actions;
9260
- $[54] = t16;
9261
- } else t16 = $[54];
9253
+ if ($[52] !== computer || $[53] !== mounted) {
9254
+ t15 = () => mounted?.attach(computer);
9255
+ t16 = [mounted, computer];
9256
+ $[52] = computer;
9257
+ $[53] = mounted;
9258
+ $[54] = t15;
9259
+ $[55] = t16;
9260
+ } else {
9261
+ t15 = $[54];
9262
+ t16 = $[55];
9263
+ }
9264
+ React.useLayoutEffect(t15, t16);
9262
9265
  let t17;
9263
- if ($[55] !== computer) {
9264
- t17 = [computer];
9265
- $[55] = computer;
9266
- $[56] = t17;
9267
- } else t17 = $[56];
9268
- React.useImperativeHandle(actionsRef, t16, t17);
9269
- const [portal, setPortal] = React.useState(null);
9266
+ if ($[56] !== computer.actions) {
9267
+ t17 = () => computer.actions;
9268
+ $[56] = computer.actions;
9269
+ $[57] = t17;
9270
+ } else t17 = $[57];
9270
9271
  let t18;
9271
- if ($[57] !== presentation) {
9272
- t18 = () => presentation.get().wallpaper;
9273
- $[57] = presentation;
9274
- $[58] = t18;
9275
- } else t18 = $[58];
9276
- const savedWallpaper = React.useSyncExternalStore(presentation.subscribe, t18);
9272
+ if ($[58] !== computer) {
9273
+ t18 = [computer];
9274
+ $[58] = computer;
9275
+ $[59] = t18;
9276
+ } else t18 = $[59];
9277
+ React.useImperativeHandle(actionsRef, t17, t18);
9278
+ const [portal, setPortal] = React.useState(null);
9277
9279
  let t19;
9278
- if ($[59] !== presentation) {
9279
- t19 = (wallpaper) => presentation.update({ wallpaper });
9280
- $[59] = presentation;
9281
- $[60] = t19;
9282
- } else t19 = $[60];
9283
- const appearance = useComputerWallpaper(savedWallpaper, t19);
9280
+ if ($[60] !== presentation) {
9281
+ t19 = () => presentation.get().wallpaper;
9282
+ $[60] = presentation;
9283
+ $[61] = t19;
9284
+ } else t19 = $[61];
9285
+ const savedWallpaper = React.useSyncExternalStore(presentation.subscribe, t19);
9286
+ let t20;
9287
+ if ($[62] !== presentation) {
9288
+ t20 = (wallpaper) => presentation.update({ wallpaper });
9289
+ $[62] = presentation;
9290
+ $[63] = t20;
9291
+ } else t20 = $[63];
9292
+ const appearance = useComputerWallpaper(savedWallpaper, t20);
9284
9293
  const wallpaper_0 = appearance.selected;
9285
9294
  const desktop = hosts.files?.desktop;
9286
- const t20 = computer.actions;
9287
- const t21 = computer.handlers;
9288
- const t22 = `${VEIL}, ${wallpaper_0.background}`;
9289
- let t23;
9290
- if ($[61] !== wallpaper_0.darkBackground) {
9291
- t23 = wallpaper_0.darkBackground && { "--sigvelo-recipe-computer-wallpaper-dark": `${VEIL}, ${wallpaper_0.darkBackground}` };
9292
- $[61] = wallpaper_0.darkBackground;
9293
- $[62] = t23;
9294
- } else t23 = $[62];
9295
+ const t21 = computer.actions;
9296
+ const t22 = computer.handlers;
9297
+ const t23 = `${VEIL}, ${wallpaper_0.background}`;
9295
9298
  let t24;
9296
- if ($[63] !== style || $[64] !== t22 || $[65] !== t23) {
9297
- t24 = {
9298
- "--sigvelo-recipe-computer-wallpaper": t22,
9299
- ...t23,
9299
+ if ($[64] !== wallpaper_0.darkBackground) {
9300
+ t24 = wallpaper_0.darkBackground && { "--sigvelo-recipe-computer-wallpaper-dark": `${VEIL}, ${wallpaper_0.darkBackground}` };
9301
+ $[64] = wallpaper_0.darkBackground;
9302
+ $[65] = t24;
9303
+ } else t24 = $[65];
9304
+ let t25;
9305
+ if ($[66] !== style || $[67] !== t23 || $[68] !== t24) {
9306
+ t25 = {
9307
+ "--sigvelo-recipe-computer-wallpaper": t23,
9308
+ ...t24,
9300
9309
  ...style
9301
9310
  };
9302
- $[63] = style;
9303
- $[64] = t22;
9304
- $[65] = t23;
9305
- $[66] = t24;
9306
- } else t24 = $[66];
9307
- const t25 = t24;
9308
- const t26 = Boolean(homeWidget);
9309
- const t27 = desktop !== void 0;
9310
- const t28 = host?.employee.name ?? "";
9311
- let t29;
9312
- if ($[67] !== connection || $[68] !== extraResults || $[69] !== extras || $[70] !== notifications) {
9313
- t29 = /* @__PURE__ */ jsx(ComputerMenuExtras, {
9311
+ $[66] = style;
9312
+ $[67] = t23;
9313
+ $[68] = t24;
9314
+ $[69] = t25;
9315
+ } else t25 = $[69];
9316
+ const t26 = t25;
9317
+ const t27 = Boolean(homeWidget);
9318
+ const t28 = desktop !== void 0;
9319
+ const t29 = host?.employee.name ?? "";
9320
+ let t30;
9321
+ if ($[70] !== connection || $[71] !== extraResults || $[72] !== extras || $[73] !== notifications) {
9322
+ t30 = /* @__PURE__ */ jsx(ComputerMenuExtras, {
9314
9323
  notifications,
9315
9324
  connection,
9316
9325
  extraResults,
9317
9326
  extras
9318
9327
  });
9319
- $[67] = connection;
9320
- $[68] = extraResults;
9321
- $[69] = extras;
9322
- $[70] = notifications;
9323
- $[71] = t29;
9324
- } else t29 = $[71];
9325
- let t30;
9326
- if ($[72] !== homeWidget || $[73] !== t28 || $[74] !== t29) {
9327
- t30 = /* @__PURE__ */ jsx(ShellBar, {
9328
- name: t28,
9328
+ $[70] = connection;
9329
+ $[71] = extraResults;
9330
+ $[72] = extras;
9331
+ $[73] = notifications;
9332
+ $[74] = t30;
9333
+ } else t30 = $[74];
9334
+ let t31;
9335
+ if ($[75] !== homeWidget || $[76] !== t29 || $[77] !== t30) {
9336
+ t31 = /* @__PURE__ */ jsx(ShellBar, {
9337
+ name: t29,
9329
9338
  homeWidget,
9330
- status: t29
9339
+ status: t30
9331
9340
  });
9332
- $[72] = homeWidget;
9333
- $[73] = t28;
9334
- $[74] = t29;
9335
- $[75] = t30;
9336
- } else t30 = $[75];
9337
- let t31;
9338
- if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
9339
- t31 = /* @__PURE__ */ jsx(ComputerHome, {});
9340
- $[76] = t31;
9341
- } else t31 = $[76];
9341
+ $[75] = homeWidget;
9342
+ $[76] = t29;
9343
+ $[77] = t30;
9344
+ $[78] = t31;
9345
+ } else t31 = $[78];
9342
9346
  let t32;
9343
- if ($[77] !== apps || $[78] !== desktop) {
9344
- t32 = /* @__PURE__ */ jsx(ShellStage, {
9345
- home: t31,
9346
- desktop,
9347
- apps
9348
- });
9349
- $[77] = apps;
9350
- $[78] = desktop;
9347
+ if ($[79] === Symbol.for("react.memo_cache_sentinel")) {
9348
+ t32 = /* @__PURE__ */ jsx(ComputerHome, {});
9351
9349
  $[79] = t32;
9352
9350
  } else t32 = $[79];
9353
9351
  let t33;
9354
- if ($[80] === Symbol.for("react.memo_cache_sentinel")) {
9355
- t33 = /* @__PURE__ */ jsx(ShellExpose, {});
9356
- $[80] = t33;
9357
- } else t33 = $[80];
9358
- const t34 = hosts.files?.trash;
9359
- const t35 = host?.employee.name ?? "";
9360
- let t36;
9361
- if ($[81] !== t34 || $[82] !== t35) {
9362
- t36 = /* @__PURE__ */ jsx(ComputerDock, {
9363
- trash: t34,
9364
- name: t35
9365
- });
9366
- $[81] = t34;
9367
- $[82] = t35;
9368
- $[83] = t36;
9369
- } else t36 = $[83];
9352
+ if ($[80] !== apps || $[81] !== desktop) {
9353
+ t33 = /* @__PURE__ */ jsx(ShellStage, {
9354
+ home: t32,
9355
+ desktop,
9356
+ apps
9357
+ });
9358
+ $[80] = apps;
9359
+ $[81] = desktop;
9360
+ $[82] = t33;
9361
+ } else t33 = $[82];
9362
+ let t34;
9363
+ if ($[83] === Symbol.for("react.memo_cache_sentinel")) {
9364
+ t34 = /* @__PURE__ */ jsx(ShellExpose, {});
9365
+ $[83] = t34;
9366
+ } else t34 = $[83];
9367
+ const t35 = hosts.files?.trash;
9368
+ const t36 = host?.employee.name ?? "";
9370
9369
  let t37;
9371
- if ($[84] === Symbol.for("react.memo_cache_sentinel")) {
9372
- t37 = /* @__PURE__ */ jsx(ShellAnnouncer, {});
9373
- $[84] = t37;
9374
- } else t37 = $[84];
9370
+ if ($[84] !== t35 || $[85] !== t36) {
9371
+ t37 = /* @__PURE__ */ jsx(ComputerDock, {
9372
+ trash: t35,
9373
+ name: t36
9374
+ });
9375
+ $[84] = t35;
9376
+ $[85] = t36;
9377
+ $[86] = t37;
9378
+ } else t37 = $[86];
9375
9379
  let t38;
9376
- if ($[85] !== t32 || $[86] !== t36) {
9377
- t38 = /* @__PURE__ */ jsxs(AppFrame.Body, {
9380
+ if ($[87] === Symbol.for("react.memo_cache_sentinel")) {
9381
+ t38 = /* @__PURE__ */ jsx(ShellAnnouncer, {});
9382
+ $[87] = t38;
9383
+ } else t38 = $[87];
9384
+ let t39;
9385
+ if ($[88] !== t33 || $[89] !== t37) {
9386
+ t39 = /* @__PURE__ */ jsxs(AppFrame.Body, {
9378
9387
  className: "agent-computer__body",
9379
9388
  children: [
9380
- t32,
9381
9389
  t33,
9382
- t36,
9383
- t37
9390
+ t34,
9391
+ t37,
9392
+ t38
9384
9393
  ]
9385
9394
  });
9386
- $[85] = t32;
9387
- $[86] = t36;
9388
- $[87] = t38;
9389
- } else t38 = $[87];
9390
- let t39;
9395
+ $[88] = t33;
9396
+ $[89] = t37;
9397
+ $[90] = t39;
9398
+ } else t39 = $[90];
9391
9399
  let t40;
9392
9400
  let t41;
9393
- if ($[88] === Symbol.for("react.memo_cache_sentinel")) {
9394
- t39 = /* @__PURE__ */ jsx(ShellRevealEdges, {});
9395
- t40 = /* @__PURE__ */ jsx(ShellAppSwitch, {});
9396
- t41 = /* @__PURE__ */ jsx("div", {
9401
+ let t42;
9402
+ if ($[91] === Symbol.for("react.memo_cache_sentinel")) {
9403
+ t40 = /* @__PURE__ */ jsx(ShellRevealEdges, {});
9404
+ t41 = /* @__PURE__ */ jsx(ShellAppSwitch, {});
9405
+ t42 = /* @__PURE__ */ jsx("div", {
9397
9406
  ref: setPortal,
9398
9407
  className: "agent-computer__portal"
9399
9408
  });
9400
- $[88] = t39;
9401
- $[89] = t40;
9402
- $[90] = t41;
9409
+ $[91] = t40;
9410
+ $[92] = t41;
9411
+ $[93] = t42;
9403
9412
  } else {
9404
- t39 = $[88];
9405
- t40 = $[89];
9406
- t41 = $[90];
9413
+ t40 = $[91];
9414
+ t41 = $[92];
9415
+ t42 = $[93];
9407
9416
  }
9408
- const t42 = hosts.files?.dialogs;
9409
- let t43;
9410
- if ($[91] === Symbol.for("react.memo_cache_sentinel")) {
9411
- t43 = /* @__PURE__ */ jsx(ShellEffects, {});
9412
- $[91] = t43;
9413
- } else t43 = $[91];
9417
+ const t43 = hosts.files?.dialogs;
9414
9418
  let t44;
9415
- if ($[92] !== props || $[93] !== t25 || $[94] !== t26 || $[95] !== t27 || $[96] !== t30 || $[97] !== t38 || $[98] !== t42) {
9416
- t44 = /* @__PURE__ */ jsxs(ShellRoot, {
9419
+ if ($[94] === Symbol.for("react.memo_cache_sentinel")) {
9420
+ t44 = /* @__PURE__ */ jsx(ShellEffects, {});
9421
+ $[94] = t44;
9422
+ } else t44 = $[94];
9423
+ let t45;
9424
+ if ($[95] !== props || $[96] !== t26 || $[97] !== t27 || $[98] !== t28 || $[99] !== t31 || $[100] !== t39 || $[101] !== t43) {
9425
+ t45 = /* @__PURE__ */ jsxs(ShellRoot, {
9417
9426
  ...props,
9418
- style: t25,
9419
- homeWidget: t26,
9420
- desktop: t27,
9427
+ style: t26,
9428
+ homeWidget: t27,
9429
+ desktop: t28,
9421
9430
  children: [
9422
- t30,
9423
- t38,
9431
+ t31,
9424
9432
  t39,
9425
9433
  t40,
9426
9434
  t41,
9427
9435
  t42,
9428
- t43
9436
+ t43,
9437
+ t44
9429
9438
  ]
9430
9439
  });
9431
- $[92] = props;
9432
- $[93] = t25;
9433
- $[94] = t26;
9434
- $[95] = t27;
9435
- $[96] = t30;
9436
- $[97] = t38;
9437
- $[98] = t42;
9438
- $[99] = t44;
9439
- } else t44 = $[99];
9440
- let t45;
9441
- if ($[100] !== appearance || $[101] !== t44) {
9442
- t45 = /* @__PURE__ */ jsx(AppearanceContext, {
9443
- value: appearance,
9444
- children: t44
9445
- });
9446
- $[100] = appearance;
9447
- $[101] = t44;
9440
+ $[95] = props;
9441
+ $[96] = t26;
9442
+ $[97] = t27;
9443
+ $[98] = t28;
9444
+ $[99] = t31;
9445
+ $[100] = t39;
9446
+ $[101] = t43;
9448
9447
  $[102] = t45;
9449
9448
  } else t45 = $[102];
9450
9449
  let t46;
9451
- if ($[103] !== presentation || $[104] !== t45) {
9452
- t46 = /* @__PURE__ */ jsx(PresentationContext, {
9453
- value: presentation,
9450
+ if ($[103] !== appearance || $[104] !== t45) {
9451
+ t46 = /* @__PURE__ */ jsx(AppearanceContext, {
9452
+ value: appearance,
9454
9453
  children: t45
9455
9454
  });
9456
- $[103] = presentation;
9455
+ $[103] = appearance;
9457
9456
  $[104] = t45;
9458
9457
  $[105] = t46;
9459
9458
  } else t46 = $[105];
9460
9459
  let t47;
9461
- if ($[106] !== portal || $[107] !== t46) {
9462
- t47 = /* @__PURE__ */ jsx(PortalContext, {
9463
- value: portal,
9460
+ if ($[106] !== presentation || $[107] !== t46) {
9461
+ t47 = /* @__PURE__ */ jsx(PresentationContext, {
9462
+ value: presentation,
9464
9463
  children: t46
9465
9464
  });
9466
- $[106] = portal;
9465
+ $[106] = presentation;
9467
9466
  $[107] = t46;
9468
9467
  $[108] = t47;
9469
9468
  } else t47 = $[108];
9470
9469
  let t48;
9471
- if ($[109] !== computer.handlers || $[110] !== t47) {
9472
- t48 = /* @__PURE__ */ jsx(HandlersContext, {
9473
- value: t21,
9470
+ if ($[109] !== portal || $[110] !== t47) {
9471
+ t48 = /* @__PURE__ */ jsx(PortalContext, {
9472
+ value: portal,
9474
9473
  children: t47
9475
9474
  });
9476
- $[109] = computer.handlers;
9475
+ $[109] = portal;
9477
9476
  $[110] = t47;
9478
9477
  $[111] = t48;
9479
9478
  } else t48 = $[111];
9480
9479
  let t49;
9481
- if ($[112] !== computer.actions || $[113] !== t48) {
9482
- t49 = /* @__PURE__ */ jsx(ActionsContext, {
9483
- value: t20,
9480
+ if ($[112] !== computer.handlers || $[113] !== t48) {
9481
+ t49 = /* @__PURE__ */ jsx(HandlersContext, {
9482
+ value: t22,
9484
9483
  children: t48
9485
9484
  });
9486
- $[112] = computer.actions;
9485
+ $[112] = computer.handlers;
9487
9486
  $[113] = t48;
9488
9487
  $[114] = t49;
9489
9488
  } else t49 = $[114];
9490
9489
  let t50;
9491
- if ($[115] !== computer || $[116] !== t49) {
9492
- t50 = /* @__PURE__ */ jsx(ComputerContext, {
9493
- value: computer,
9490
+ if ($[115] !== computer.actions || $[116] !== t49) {
9491
+ t50 = /* @__PURE__ */ jsx(ActionsContext, {
9492
+ value: t21,
9494
9493
  children: t49
9495
9494
  });
9496
- $[115] = computer;
9495
+ $[115] = computer.actions;
9497
9496
  $[116] = t49;
9498
9497
  $[117] = t50;
9499
9498
  } else t50 = $[117];
9500
- return t50;
9499
+ let t51;
9500
+ if ($[118] !== computer || $[119] !== t50) {
9501
+ t51 = /* @__PURE__ */ jsx(ComputerContext, {
9502
+ value: computer,
9503
+ children: t50
9504
+ });
9505
+ $[118] = computer;
9506
+ $[119] = t50;
9507
+ $[120] = t51;
9508
+ } else t51 = $[120];
9509
+ return t51;
9501
9510
  }
9502
9511
  //#endregion
9503
9512
  export { useAgentComputerWindow as a, COMPUTER_SPOTLIGHT_SHORTCUT as c, ComputerClock as d, ComputerNotifications as f, useAgentComputerPortalContainer as i, ComputerSpotlight as l, chordLabel as m, useAgentComputerActions as n, useAgentComputerWindowActive as o, useMinuteClock as p, useAgentComputerAppHandlers as r, ComputerHome as s, AgentComputer as t, ComputerAppearanceMenu as u };
@@ -1,6 +1,6 @@
1
1
  import { SIGVELO_LOGO } from "./utils/brand-marks.js";
2
2
  import { t as cx } from "./class-names-BiMDVpUo.js";
3
- import { it as SpinnerIcon, p as CheckIcon } from "./icons-nLTnB9kd.js";
3
+ import { at as SpinnerIcon, p as CheckIcon } from "./icons-CNwk7DEu.js";
4
4
  import { Button } from "./components/foundations/Button.js";
5
5
  import { t as ProviderLogo } from "./provider-logos-Ceu7iYFx.js";
6
6
  import { c } from "react/compiler-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "./class-names-BiMDVpUo.js";
2
2
  import { Select } from "./components/foundations/Select.js";
3
- import { t as CopyButton } from "./copy-button-DWBVJR6D.js";
3
+ import { t as CopyButton } from "./copy-button-UNBY7oXF.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import * as React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";