@mcp-b/react-components 0.62.0 → 0.64.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 (496) hide show
  1. package/dist/{AgentActivity-DptCj8XQ.d.ts → AgentActivity-Cngwkalq.d.ts} +2 -9
  2. package/dist/{AgentChatQueue-DG2rGyCI.d.ts → AgentChatQueue-C1TDnVAn.d.ts} +1 -1
  3. package/dist/{AppTopBar-DwzydmXu.d.ts → AppTopBar-CM57rJID.d.ts} +7 -3
  4. package/dist/ChatGptSignInScreen-CmbBe09G.js +298 -0
  5. package/dist/{CodeBlock-BTkag9ms.d.ts → CodeBlock-BDupVceI.d.ts} +1 -1
  6. package/dist/CodeBlock-dt0L8md0.js +892 -0
  7. package/dist/{EmployeeChrome-D5x4EM9y.d.ts → EmployeeChrome-kegSASjC.d.ts} +15 -8
  8. package/dist/{ExecutionBoard-DvPGdn4F.d.ts → ExecutionBoard-DBj1Aiva.d.ts} +8 -1
  9. package/dist/ExecutionResult-CXnGcmM4.js +671 -0
  10. package/dist/FileTree-CjfzpN6X.js +968 -0
  11. package/dist/{IconButton-FWsa9562.d.ts → IconButton-DXtGMkMI.d.ts} +7 -5
  12. package/dist/ManagerOffice-T79utm-P.js +2469 -0
  13. package/dist/{Menu-FA4P6KrA.d.ts → Menu-DajfQr3T.d.ts} +4 -2
  14. package/dist/{Message-BUedRDN1.d.ts → Message-BLyl6kWe.d.ts} +2 -2
  15. package/dist/{PromptInput-Dbe6WgWA.d.ts → PromptInput-DEwFMj6f.d.ts} +5 -8
  16. package/dist/{ResponsiveSidebarShell-DSAMNDdg.d.ts → ResponsiveSidebarShell-RwvmlMHS.d.ts} +23 -13
  17. package/dist/SetupChecklist-DwscX3Bw.js +230 -0
  18. package/dist/{Tabs-BYs-RgJ7.d.ts → Tabs-tyvVX3nc.d.ts} +29 -10
  19. package/dist/{ThinkChatActivity-zZaSsbC-.d.ts → ThinkChatActivity-C7xnO0Fx.d.ts} +1 -1
  20. package/dist/{ThinkChatActivitySummary-8MO1VjAJ.d.ts → ThinkChatActivitySummary-Dh4Av7x_.d.ts} +1 -1
  21. package/dist/{ThinkExecutionRun-DJ2TFDmZ.d.ts → ThinkExecutionRun-QzZVWX75.d.ts} +11 -3
  22. package/dist/ThinkSchedule-D4Ulsa0-.d.ts +53 -0
  23. package/dist/{ThinkThreadPicker-BmIZmpae.d.ts → ThinkThreadPicker-O-i2KloZ.d.ts} +1 -1
  24. package/dist/{Workspace-42LA9Zrb.d.ts → Workspace-B9nuTfIi.d.ts} +1 -1
  25. package/dist/{WorkspaceAutomation-CMvICi-p.d.ts → WorkspaceAutomation-C0fghGLi.d.ts} +3 -3
  26. package/dist/WorkspaceBrowser-oBJv-Dac.js +985 -0
  27. package/dist/{WorkspaceConcept-BjrgGE1w.d.ts → WorkspaceConcept-D46cYerS.d.ts} +1 -1
  28. package/dist/{WorkspaceFile-nK2n0i4S.d.ts → WorkspaceFile-BJC6vlp_.d.ts} +15 -4
  29. package/dist/WorkspaceFileCommands-SNIjRgtU.d.ts +145 -0
  30. package/dist/WorkspaceFileTransfer-BRD22nW-.d.ts +159 -0
  31. package/dist/WorkspaceLink-DDkj-Tq5.js +407 -0
  32. package/dist/{WorkspaceMessageResponse-BZ-_I18b.js → WorkspaceMessageResponse-CXGOQgpo.js} +111 -24
  33. package/dist/{agent-tool-runs-DsOp_X2y.js → agent-tool-runs-BXKdcxl8.js} +55 -28
  34. package/dist/app-bar-outlet-BEIGl9iF.js +35 -0
  35. package/{LICENSE → dist/assets/desktop/LICENSE.fluent.txt} +1 -1
  36. package/dist/assets/desktop/LICENSE.mac-icons.txt +7 -0
  37. package/dist/assets/desktop/README.md +43 -0
  38. package/dist/assets/desktop/automations.svg +19 -0
  39. package/dist/assets/desktop/document.svg +24 -0
  40. package/dist/assets/desktop/folder.png +0 -0
  41. package/dist/assets/desktop/mail.svg +31 -0
  42. package/dist/assets/desktop/settings.svg +9 -0
  43. package/dist/assets/desktop/trash-full.svg +23 -0
  44. package/dist/assets/desktop/trash.svg +19 -0
  45. package/dist/attachment-preview-DeRqFjdz.js +68 -0
  46. package/dist/attempt-CySQHJsF.js +21 -0
  47. package/dist/{codex-model-catalog-18yO7dln.d.ts → codex-model-catalog-CFEGgUAj.d.ts} +8 -8
  48. package/dist/command-search-1fjmCBBo.js +34 -0
  49. package/dist/components/agents-sdk/AIProviderDialog.d.ts +53 -0
  50. package/dist/components/agents-sdk/AIProviderDialog.js +902 -0
  51. package/dist/components/agents-sdk/AgentActivity.d.ts +2 -2
  52. package/dist/components/agents-sdk/AgentActivity.js +78 -31
  53. package/dist/components/agents-sdk/AgentChat.d.ts +3 -3
  54. package/dist/components/agents-sdk/AgentChat.js +1120 -393
  55. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  56. package/dist/components/agents-sdk/AgentChatQueue.js +290 -173
  57. package/dist/components/agents-sdk/AgentComputer.d.ts +270 -0
  58. package/dist/components/agents-sdk/AgentComputer.js +8045 -0
  59. package/dist/components/agents-sdk/AgentEvent.js +165 -22
  60. package/dist/components/agents-sdk/AgentScreenSwitcher.d.ts +46 -0
  61. package/dist/components/agents-sdk/AgentScreenSwitcher.js +409 -0
  62. package/dist/components/agents-sdk/AgentToolRunsContext.js +139 -41
  63. package/dist/components/agents-sdk/BrowserLiveScreen.js +860 -551
  64. package/dist/components/agents-sdk/BrowserLiveView.d.ts +1 -1
  65. package/dist/components/agents-sdk/BrowserLiveView.js +244 -88
  66. package/dist/components/agents-sdk/BrowserReplay.js +298 -133
  67. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +57 -1
  68. package/dist/components/agents-sdk/BrowserRunPanel.js +979 -129
  69. package/dist/components/agents-sdk/DiscordConnectionDialog.js +104 -57
  70. package/dist/components/agents-sdk/EmployeeApp.d.ts +1 -1
  71. package/dist/components/agents-sdk/EmployeeApp.js +109 -47
  72. package/dist/components/agents-sdk/EmployeeChat.d.ts +1 -1
  73. package/dist/components/agents-sdk/EmployeeChat.js +504 -103
  74. package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
  75. package/dist/components/agents-sdk/EmployeeChrome.js +1383 -522
  76. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +3 -3
  77. package/dist/components/agents-sdk/EmployeeSchedules.js +283 -66
  78. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +2 -2
  79. package/dist/components/agents-sdk/EmployeeStartScreen.js +185 -52
  80. package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
  81. package/dist/components/agents-sdk/ExecutionBoard.js +1661 -462
  82. package/dist/components/agents-sdk/ManagerAccountActions.js +143 -36
  83. package/dist/components/agents-sdk/ManagerOffice.d.ts +15 -8
  84. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  85. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  86. package/dist/components/agents-sdk/ManagerOfficeScreens.js +551 -185
  87. package/dist/components/agents-sdk/McpConnectionRequest.js +331 -116
  88. package/dist/components/agents-sdk/McpConnectorForm.js +321 -101
  89. package/dist/components/agents-sdk/McpPluginCatalog.js +698 -250
  90. package/dist/components/agents-sdk/McpServerIcon.js +57 -14
  91. package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
  92. package/dist/components/agents-sdk/McpServerPicker.js +543 -159
  93. package/dist/components/agents-sdk/ModelSelector.d.ts +1 -1
  94. package/dist/components/agents-sdk/ModelSelector.js +1154 -256
  95. package/dist/components/agents-sdk/PromptInputApproval.js +116 -28
  96. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  97. package/dist/components/agents-sdk/PromptInputCommands.js +33 -46
  98. package/dist/components/agents-sdk/SlackConnectionDialog.js +38 -14
  99. package/dist/components/agents-sdk/SubagentRunIndicator.js +118 -25
  100. package/dist/components/agents-sdk/SubagentRunLanes.js +291 -107
  101. package/dist/components/agents-sdk/SubagentRunPanel.js +359 -131
  102. package/dist/components/agents-sdk/SubagentRunSelector.js +123 -26
  103. package/dist/components/agents-sdk/ThinkChat.d.ts +5 -3
  104. package/dist/components/agents-sdk/ThinkChat.js +321 -129
  105. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  106. package/dist/components/agents-sdk/ThinkChatActivity.js +307 -101
  107. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  108. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +15 -9
  109. package/dist/components/agents-sdk/ThinkChatToolPanels.js +1389 -407
  110. package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +5 -3
  111. package/dist/components/agents-sdk/ThinkExecutionDetail.js +220 -46
  112. package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
  113. package/dist/components/agents-sdk/ThinkExecutionRun.js +19 -11
  114. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +5 -3
  115. package/dist/components/agents-sdk/ThinkExecutionStatus.js +224 -37
  116. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -5
  117. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +506 -125
  118. package/dist/components/agents-sdk/ThinkFullApp.js +147 -44
  119. package/dist/components/agents-sdk/ThinkPendingApproval.js +381 -75
  120. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +3 -1
  121. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +72 -26
  122. package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -2
  123. package/dist/components/agents-sdk/ThinkSchedule.js +124 -1
  124. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +3 -3
  125. package/dist/components/agents-sdk/ThinkScheduleActions.js +364 -133
  126. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
  127. package/dist/components/agents-sdk/ThinkScheduleBrowser.js +249 -116
  128. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
  129. package/dist/components/agents-sdk/ThinkScheduleDetail.js +312 -91
  130. package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +6 -2
  131. package/dist/components/agents-sdk/ThinkScheduleForm.js +1324 -481
  132. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
  133. package/dist/components/agents-sdk/ThinkThreadPicker.js +435 -215
  134. package/dist/components/agents-sdk/TypeSafeConnectionDialog.js +30 -13
  135. package/dist/components/agents-sdk/WorkbenchBack.js +66 -20
  136. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  137. package/dist/components/agents-sdk/Workspace.js +491 -166
  138. package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
  139. package/dist/components/agents-sdk/WorkspaceAutomation.js +1496 -419
  140. package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
  141. package/dist/components/agents-sdk/WorkspaceAutomationTable.js +1320 -529
  142. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +72 -2
  143. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -94
  144. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
  145. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
  146. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +619 -178
  147. package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +45 -0
  148. package/dist/components/agents-sdk/WorkspaceDesktop.js +240 -0
  149. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +52 -1
  150. package/dist/components/agents-sdk/WorkspaceExplorer.js +268 -86
  151. package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
  152. package/dist/components/agents-sdk/WorkspaceFile.js +30 -9
  153. package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +2 -0
  154. package/dist/components/agents-sdk/WorkspaceFileCommands.js +890 -0
  155. package/dist/components/agents-sdk/WorkspaceFileDetails.d.ts +29 -0
  156. package/dist/components/agents-sdk/WorkspaceFileDetails.js +271 -0
  157. package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +2 -0
  158. package/dist/components/agents-sdk/WorkspaceFileTransfer.js +505 -0
  159. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +18 -3
  160. package/dist/components/agents-sdk/WorkspaceFileView.js +866 -1
  161. package/dist/components/agents-sdk/WorkspaceHeader.js +71 -26
  162. package/dist/components/agents-sdk/WorkspaceLink.js +2 -2
  163. package/dist/components/agents-sdk/WorkspaceLive.d.ts +2 -2
  164. package/dist/components/agents-sdk/WorkspaceLive.js +126 -73
  165. package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +63 -0
  166. package/dist/components/agents-sdk/WorkspaceLocalFolder.js +455 -0
  167. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
  168. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  169. package/dist/components/agents-sdk/WorkspaceMountManager.js +119 -59
  170. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +90 -54
  171. package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
  172. package/dist/components/agents-sdk/WorkspacePerson.js +172 -41
  173. package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
  174. package/dist/components/agents-sdk/WorkspaceProject.js +175 -41
  175. package/dist/components/ai-sdk/Activity.js +768 -192
  176. package/dist/components/ai-sdk/AgentAttention.js +286 -58
  177. package/dist/components/ai-sdk/AgentChatMessageEditor.js +194 -69
  178. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +1 -1
  179. package/dist/components/ai-sdk/AgentChatStartScreen.js +368 -80
  180. package/dist/components/ai-sdk/AgentChatTurnError.d.ts +6 -1
  181. package/dist/components/ai-sdk/AgentChatTurnError.js +77 -25
  182. package/dist/components/ai-sdk/AgentMessageParts.js +0 -1
  183. package/dist/components/ai-sdk/Approval.js +574 -172
  184. package/dist/components/ai-sdk/Artifact.d.ts +1 -1
  185. package/dist/components/ai-sdk/Artifact.js +535 -128
  186. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  187. package/dist/components/ai-sdk/ChainOfThought.js +404 -80
  188. package/dist/components/ai-sdk/Checkpoint.js +229 -45
  189. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  190. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  191. package/dist/components/ai-sdk/ComposerLink.js +216 -48
  192. package/dist/components/ai-sdk/ConnectedAppCards.js +229 -52
  193. package/dist/components/ai-sdk/Context.js +738 -179
  194. package/dist/components/ai-sdk/Conversation.d.ts +1 -1
  195. package/dist/components/ai-sdk/Conversation.js +305 -68
  196. package/dist/components/ai-sdk/ExpansionState.js +74 -15
  197. package/dist/components/ai-sdk/Goal.js +435 -116
  198. package/dist/components/ai-sdk/InlineCitation.js +313 -76
  199. package/dist/components/ai-sdk/MediaPreviewCard.js +451 -135
  200. package/dist/components/ai-sdk/Message.d.ts +1 -1
  201. package/dist/components/ai-sdk/Message.js +1010 -195
  202. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  203. package/dist/components/ai-sdk/MessageScroller.js +264 -46
  204. package/dist/components/ai-sdk/MessageScrollerVirtual.js +6 -6
  205. package/dist/components/ai-sdk/Plan.js +639 -128
  206. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  207. package/dist/components/ai-sdk/PromptInput.js +2738 -797
  208. package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +1 -3
  209. package/dist/components/ai-sdk/PromptInputComposerEditor.js +188 -83
  210. package/dist/components/ai-sdk/Queue.js +793 -155
  211. package/dist/components/ai-sdk/Reasoning.js +268 -69
  212. package/dist/components/ai-sdk/Sources.js +226 -63
  213. package/dist/components/ai-sdk/Task.js +294 -71
  214. package/dist/components/ai-sdk/ToolApproval.js +126 -26
  215. package/dist/components/ai-sdk/ToolInvocation.js +112 -22
  216. package/dist/components/extension/ChatGptSignInScreen.js +1 -82
  217. package/dist/components/extension/CodexModelSelector.d.ts +2 -2
  218. package/dist/components/extension/CodexModelSelector.js +468 -147
  219. package/dist/components/extension/ConversationTabPicker.d.ts +1 -1
  220. package/dist/components/extension/ConversationTabPicker.js +254 -76
  221. package/dist/components/extension/FirstRunSetup.d.ts +61 -35
  222. package/dist/components/extension/FirstRunSetup.js +3833 -1011
  223. package/dist/components/foundations/Accordion.js +186 -41
  224. package/dist/components/foundations/AlertDialog.js +425 -97
  225. package/dist/components/foundations/AppIcon.d.ts +13 -13
  226. package/dist/components/foundations/AppIcon.js +183 -34
  227. package/dist/components/foundations/Autocomplete.js +408 -89
  228. package/dist/components/foundations/Avatar.d.ts +100 -2
  229. package/dist/components/foundations/Avatar.js +204 -44
  230. package/dist/components/foundations/Button.js +64 -13
  231. package/dist/components/foundations/Card.js +357 -63
  232. package/dist/components/foundations/Checkbox.js +83 -18
  233. package/dist/components/foundations/CheckboxGroup.js +266 -58
  234. package/dist/components/foundations/Collapsible.d.ts +2 -1
  235. package/dist/components/foundations/Collapsible.js +130 -27
  236. package/dist/components/foundations/Combobox.js +408 -89
  237. package/dist/components/foundations/ContextMenu.d.ts +2 -2
  238. package/dist/components/foundations/ContextMenu.js +591 -117
  239. package/dist/components/foundations/DescriptionList.js +159 -28
  240. package/dist/components/foundations/Dialog.js +373 -89
  241. package/dist/components/foundations/EmptyState.js +86 -23
  242. package/dist/components/foundations/Favicon.d.ts +17 -0
  243. package/dist/components/foundations/Favicon.js +62 -0
  244. package/dist/components/foundations/Field.js +525 -108
  245. package/dist/components/foundations/Fieldset.js +115 -23
  246. package/dist/components/foundations/Form.js +38 -9
  247. package/dist/components/foundations/FormattedDate.d.ts +19 -5
  248. package/dist/components/foundations/FormattedDate.js +82 -12
  249. package/dist/components/foundations/IconButton.d.ts +1 -1
  250. package/dist/components/foundations/IconButton.js +114 -17
  251. package/dist/components/foundations/Input.js +38 -9
  252. package/dist/components/foundations/Kbd.js +55 -10
  253. package/dist/components/foundations/Label.js +56 -12
  254. package/dist/components/foundations/LinkButton.js +67 -15
  255. package/dist/components/foundations/Marker.js +138 -29
  256. package/dist/components/foundations/Menu.d.ts +1 -1
  257. package/dist/components/foundations/Menu.js +634 -136
  258. package/dist/components/foundations/Menubar.d.ts +2 -2
  259. package/dist/components/foundations/Menubar.js +685 -130
  260. package/dist/components/foundations/Meter.js +186 -41
  261. package/dist/components/foundations/NavigationMenu.js +426 -95
  262. package/dist/components/foundations/NumberField.js +223 -49
  263. package/dist/components/foundations/Popover.js +398 -88
  264. package/dist/components/foundations/PreviewCard.js +234 -53
  265. package/dist/components/foundations/Progress.js +117 -25
  266. package/dist/components/foundations/RadioGroup.d.ts +13 -5
  267. package/dist/components/foundations/RadioGroup.js +132 -25
  268. package/dist/components/foundations/ScrollArea.js +230 -51
  269. package/dist/components/foundations/SearchField.d.ts +8 -3
  270. package/dist/components/foundations/SearchField.js +129 -28
  271. package/dist/components/foundations/Select.js +648 -145
  272. package/dist/components/foundations/Separator.js +61 -12
  273. package/dist/components/foundations/Slider.js +260 -57
  274. package/dist/components/foundations/Stepper.d.ts +1 -1
  275. package/dist/components/foundations/Stepper.js +561 -127
  276. package/dist/components/foundations/Switch.js +82 -18
  277. package/dist/components/foundations/Tabs.d.ts +2 -2
  278. package/dist/components/foundations/Tabs.js +282 -53
  279. package/dist/components/foundations/Textarea.js +43 -9
  280. package/dist/components/foundations/ThemeProvider.js +138 -52
  281. package/dist/components/foundations/Toast.d.ts +10 -2
  282. package/dist/components/foundations/Toast.js +322 -75
  283. package/dist/components/foundations/Toggle.d.ts +5 -2
  284. package/dist/components/foundations/Toggle.js +51 -10
  285. package/dist/components/foundations/ToggleGroup.d.ts +4 -4
  286. package/dist/components/foundations/ToggleGroup.js +216 -60
  287. package/dist/components/foundations/Toolbar.js +249 -61
  288. package/dist/components/foundations/Tooltip.d.ts +3 -3
  289. package/dist/components/foundations/Tooltip.js +311 -55
  290. package/dist/components/foundations/TransitionSurface.js +43 -9
  291. package/dist/components/foundations/icons.d.ts +2 -2
  292. package/dist/components/foundations/icons.js +2 -2
  293. package/dist/components/general-purpose/AccountSignInDialog.js +99 -17
  294. package/dist/components/general-purpose/ActionGuide.js +290 -64
  295. package/dist/components/general-purpose/AppFrame.js +72 -14
  296. package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
  297. package/dist/components/general-purpose/AppTopBar.js +349 -60
  298. package/dist/components/general-purpose/BrandLoading.js +37 -9
  299. package/dist/components/general-purpose/CommandPalette.d.ts +47 -0
  300. package/dist/components/general-purpose/CommandPalette.js +271 -0
  301. package/dist/components/general-purpose/Commit.d.ts +1 -1
  302. package/dist/components/general-purpose/Commit.js +937 -167
  303. package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
  304. package/dist/components/general-purpose/EnvironmentVariables.js +600 -114
  305. package/dist/components/general-purpose/FileTree.d.ts +20 -7
  306. package/dist/components/general-purpose/FileTree.js +1 -1
  307. package/dist/components/general-purpose/ListDetail.d.ts +84 -0
  308. package/dist/components/general-purpose/ListDetail.js +423 -0
  309. package/dist/components/general-purpose/NotificationPrompt.js +20 -11
  310. package/dist/components/general-purpose/PricingBillingToggle.js +34 -7
  311. package/dist/components/general-purpose/PricingConfirmationDialog.js +126 -42
  312. package/dist/components/general-purpose/PricingFAQ.js +53 -12
  313. package/dist/components/general-purpose/PricingPage.js +376 -139
  314. package/dist/components/general-purpose/PricingPlanCard.js +210 -85
  315. package/dist/components/general-purpose/PricingUsageCalculator.js +233 -83
  316. package/dist/components/general-purpose/ResizableSidePanel.js +316 -117
  317. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
  318. package/dist/components/general-purpose/ResponsiveSidebarShell.js +840 -342
  319. package/dist/components/general-purpose/ScreenStack.d.ts +54 -0
  320. package/dist/components/general-purpose/ScreenStack.js +427 -0
  321. package/dist/components/general-purpose/SettingsFormDialog.d.ts +10 -2
  322. package/dist/components/general-purpose/SettingsFormDialog.js +238 -74
  323. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  324. package/dist/components/general-purpose/StatusScreen.js +82 -24
  325. package/dist/components/general-purpose/SwipeActions.d.ts +54 -0
  326. package/dist/components/general-purpose/SwipeActions.js +357 -0
  327. package/dist/components/general-purpose/Terminal.d.ts +22 -48
  328. package/dist/components/general-purpose/Terminal.js +320 -174
  329. package/dist/components/general-purpose/TestResults.js +975 -196
  330. package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -1
  331. package/dist/components/general-purpose/ThemeModeControl.js +67 -24
  332. package/dist/components/general-purpose/WallpaperPicker.d.ts +33 -0
  333. package/dist/components/general-purpose/WallpaperPicker.js +180 -0
  334. package/dist/components/general-purpose/WebPreview.d.ts +5 -7
  335. package/dist/components/general-purpose/WebPreview.js +770 -203
  336. package/dist/components/nanites/AgentConnection.js +323 -84
  337. package/dist/components/nanites/AgentToolDetail.js +237 -57
  338. package/dist/components/nanites/GithubMotionMark.js +37 -9
  339. package/dist/components/nanites/NaniteScene.js +535 -323
  340. package/dist/connected-app-drafts-Bocdg3Z-.js +637 -0
  341. package/dist/container-width-C43ccJ84.js +17 -0
  342. package/dist/context-Ddsp8HgD.js +43 -0
  343. package/dist/{copy-button-B09hHWd1.d.ts → copy-button-C2HRdomn.d.ts} +1 -1
  344. package/dist/copy-button-DWBVJR6D.js +118 -0
  345. package/dist/{format-CWaZEp5o.js → format-DL7f2rqp.js} +5 -1
  346. package/dist/{icons-CReP3qYl.d.ts → icons-B3n7zvU7.d.ts} +10 -2
  347. package/dist/icons-nLTnB9kd.js +470 -0
  348. package/dist/{merge-refs-DAh6reu8.js → merge-refs-DTX97mLp.js} +17 -1
  349. package/dist/motion-CGM3i6lX.js +319 -0
  350. package/dist/motion-preferences-6qsDIDvH.js +13 -0
  351. package/dist/{navigation-link-kqMa81v5.js → navigation-link-DMmtdqsM.js} +32 -8
  352. package/dist/progress-ring-BO649JA9.js +79 -0
  353. package/dist/provider-logos-Ceu7iYFx.js +362 -0
  354. package/dist/scheduled-table-source-gGpVJ1TN.js +92 -0
  355. package/dist/styles/accessibility.css +26 -0
  356. package/dist/styles/accordion.css +0 -2
  357. package/dist/styles/activity.css +20 -12
  358. package/dist/styles/agent-attention.css +31 -10
  359. package/dist/styles/agent-chat.css +7 -6
  360. package/dist/styles/agent-computer-motion-reduction.css +118 -0
  361. package/dist/styles/agent-computer-motion.css +127 -0
  362. package/dist/styles/agent-computer-phone.css +942 -0
  363. package/dist/styles/agent-computer.css +1764 -0
  364. package/dist/styles/agent-connection.css +5 -5
  365. package/dist/styles/agent-screen-switcher.css +313 -0
  366. package/dist/styles/ai-provider-dialog.css +46 -0
  367. package/dist/styles/app-icon.css +34 -30
  368. package/dist/styles/app-top-bar.css +33 -18
  369. package/dist/styles/approval.css +3 -3
  370. package/dist/styles/artifact.css +1 -1
  371. package/dist/styles/attachment-preview.css +2 -4
  372. package/dist/styles/avatar.css +12 -14
  373. package/dist/styles/base-ui-motion.css +84 -18
  374. package/dist/styles/base-ui-motion.test.tsx +305 -0
  375. package/dist/styles/base.css +16 -12
  376. package/dist/styles/brand.test.ts +7 -20
  377. package/dist/styles/browser-control-overlay.css +1 -1
  378. package/dist/styles/browser-live-screen.css +2 -2
  379. package/dist/styles/browser-live-view.css +1 -1
  380. package/dist/styles/browser-replay.css +0 -8
  381. package/dist/styles/browser-run-panel.css +275 -37
  382. package/dist/styles/button.css +52 -9
  383. package/dist/styles/card.css +6 -5
  384. package/dist/styles/chain-of-thought.css +0 -10
  385. package/dist/styles/checkpoint.css +2 -2
  386. package/dist/styles/codex-model-selector.css +2 -2
  387. package/dist/styles/color-contrast.test.ts +18 -1
  388. package/dist/styles/command-palette.css +110 -0
  389. package/dist/styles/composer-link.css +11 -7
  390. package/dist/styles/composition-motion.css +3 -14
  391. package/dist/styles/context.css +2 -2
  392. package/dist/styles/conversation-tab-picker.css +7 -0
  393. package/dist/styles/conversation.css +8 -2
  394. package/dist/styles/dialog.css +2 -2
  395. package/dist/styles/employee-app.css +8 -2
  396. package/dist/styles/employee-chrome.css +15 -6
  397. package/dist/styles/execution-board.css +206 -114
  398. package/dist/styles/execution-result.css +2 -2
  399. package/dist/styles/field.css +187 -4
  400. package/dist/styles/file-tree.css +218 -40
  401. package/dist/styles/first-run-setup.css +914 -187
  402. package/dist/styles/github-motion-mark.css +0 -8
  403. package/dist/styles/index.css +145 -132
  404. package/dist/styles/inline-citation.css +5 -4
  405. package/dist/styles/list-detail.css +57 -0
  406. package/dist/styles/manager-office.css +6 -8
  407. package/dist/styles/manager-work.css +4 -2
  408. package/dist/styles/mcp-plugin-catalog.css +2 -2
  409. package/dist/styles/mcp-server-picker.css +3 -6
  410. package/dist/styles/media-preview-card.css +2 -2
  411. package/dist/styles/menu.css +0 -9
  412. package/dist/styles/menubar.css +18 -6
  413. package/dist/styles/message-scroller.css +47 -9
  414. package/dist/styles/message.css +3 -3
  415. package/dist/styles/model-selector.css +1 -1
  416. package/dist/styles/motion-reduction.css +39 -6
  417. package/dist/styles/pricing-page.css +1 -1
  418. package/dist/styles/prompt-input.css +29 -29
  419. package/dist/styles/queue.css +1 -1
  420. package/dist/styles/recipes.css +212 -28
  421. package/dist/styles/responsive-sidebar-shell-motion.test.ts +81 -1
  422. package/dist/styles/responsive-sidebar-shell.css +40 -43
  423. package/dist/styles/screen-stack.css +123 -0
  424. package/dist/styles/search-field.css +80 -3
  425. package/dist/styles/stepper.css +0 -10
  426. package/dist/styles/streamdown.css +2 -2
  427. package/dist/styles/subagent-run.css +9 -5
  428. package/dist/styles/swipe-actions.css +158 -0
  429. package/dist/styles/tabs.css +80 -23
  430. package/dist/styles/task.css +7 -1
  431. package/dist/styles/terminal.css +66 -78
  432. package/dist/styles/test-results.css +1 -19
  433. package/dist/styles/textarea.css +2 -1
  434. package/dist/styles/theme-mode-control.css +154 -26
  435. package/dist/styles/think-chat-tool-panels.css +1 -1
  436. package/dist/styles/think-execution-workbench.css +0 -9
  437. package/dist/styles/think-full-app.css +7 -1
  438. package/dist/styles/think-schedule.css +81 -54
  439. package/dist/styles/think-thread-picker.css +28 -37
  440. package/dist/styles/toast.css +11 -0
  441. package/dist/styles/toggle-group.css +0 -10
  442. package/dist/styles/toggle.css +13 -0
  443. package/dist/styles/tooltip.css +12 -0
  444. package/dist/styles/transition-surface.css +1 -0
  445. package/dist/styles/wallpaper-picker.css +224 -0
  446. package/dist/styles/web-preview.css +47 -18
  447. package/dist/styles/workspace-automation.css +116 -17
  448. package/dist/styles/workspace-concepts.css +1 -1
  449. package/dist/styles/workspace-desktop.css +124 -0
  450. package/dist/styles/workspace-entity-card.css +3 -1
  451. package/dist/styles/workspace-explorer.css +499 -5
  452. package/dist/utils/brand-marks.d.ts +13 -0
  453. package/dist/utils/brand-marks.js +14 -0
  454. package/dist/utils/codex-model-catalog.d.ts +1 -1
  455. package/dist/utils/desktop-artwork.d.ts +17 -0
  456. package/dist/utils/desktop-artwork.js +18 -0
  457. package/dist/utils/favicon.d.ts +6 -2
  458. package/dist/utils/favicon.js +16 -4
  459. package/dist/utils/model-provider-error.d.ts +17 -0
  460. package/dist/utils/model-provider-error.js +76 -0
  461. package/dist/utils/structured-code.d.ts +1 -1
  462. package/dist/workspace-assets-DdtnBDU3.js +213 -0
  463. package/dist/{workspace-concept-panel-KpMmznB_.d.ts → workspace-concept-panel-BDTBISNO.d.ts} +2 -2
  464. package/dist/workspace-concept-panel-VkjvFCY_.js +140 -0
  465. package/dist/workspace-delete-BOY6CMBf.js +183 -0
  466. package/dist/workspace-drag-B6hMXUNt.js +304 -0
  467. package/dist/workspace-entity-card-9YcsNiqU.js +178 -0
  468. package/dist/workspace-media-preview-B4iB5Tvi.js +1295 -0
  469. package/dist/{workspace-path-L_KmjRjq.js → workspace-path-TZggP-u4.js} +14 -1
  470. package/dist/{workspace-person-BVkYb3dv.js → workspace-person-ZwPqu5TX.js} +67 -21
  471. package/dist/workspace-quick-look-9V-UFpjj.js +1562 -0
  472. package/package.json +9 -3
  473. package/dist/Avatar-t1YRzdwB.d.ts +0 -101
  474. package/dist/CodeBlock-CNvOYR0Q.js +0 -318
  475. package/dist/ExecutionResult-DmC21cll.js +0 -279
  476. package/dist/FileTree-H31EVRv_.js +0 -323
  477. package/dist/ManagerOffice-B3X3iZV9.js +0 -1129
  478. package/dist/SetupChecklist-Wo4akaSG.js +0 -78
  479. package/dist/ThinkSchedule-CSuDGrZ9.d.ts +0 -34
  480. package/dist/WorkspaceFileView-BWI_AJlV.js +0 -783
  481. package/dist/WorkspaceLink-BeFAXpbI.js +0 -225
  482. package/dist/app-bar-outlet-CNfNzY4Y.js +0 -6
  483. package/dist/attachment-preview-1CXJvrmb.js +0 -25
  484. package/dist/chatgpt-sign-in-button-DNchrZHs.js +0 -32
  485. package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +0 -31
  486. package/dist/components/agents-sdk/ModelEndpointDialog.js +0 -141
  487. package/dist/connected-app-drafts-B9i69bkj.js +0 -283
  488. package/dist/copy-button-z20VEXRF.js +0 -45
  489. package/dist/icons-Yp99gmMC.js +0 -141
  490. package/dist/progress-ring-L2bbF0ji.js +0 -40
  491. package/dist/provider-logos-DWYY8wNz.js +0 -99
  492. package/dist/scheduled-table-source-NZR1vFc_.js +0 -38
  493. package/dist/workspace-assets-Dq5toMQc.js +0 -107
  494. package/dist/workspace-concept-panel-CxZfmFkP.js +0 -66
  495. package/dist/workspace-delete-CoB0l6ZU.js +0 -81
  496. package/dist/workspace-entity-card-B1aV-jBj.js +0 -61
@@ -1,15 +1,16 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { q as RefreshIcon, st as WarningIcon, y as EllipsisIcon } from "../../icons-Yp99gmMC.js";
2
+ import { et as RefreshIcon, mt as WarningIcon, w as EllipsisIcon } from "../../icons-nLTnB9kd.js";
3
+ import { a as formatErrorMessage } from "../../format-DL7f2rqp.js";
3
4
  import { buttonVariants } from "../foundations/Button.js";
4
- import { Menu } from "../foundations/Menu.js";
5
5
  import { IconButton } from "../foundations/IconButton.js";
6
- import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
7
- import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
8
- import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
6
+ import { Menu } from "../foundations/Menu.js";
9
7
  import { EmptyState } from "../foundations/EmptyState.js";
10
8
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
9
+ import { t as NavigationLink } from "../../navigation-link-DMmtdqsM.js";
11
10
  import { ResponsiveSidebarAppBar } from "../general-purpose/ResponsiveSidebarShell.js";
11
+ import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunTitle, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
12
12
  import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
13
+ import { c } from "react/compiler-runtime";
13
14
  import * as React from "react";
14
15
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
16
  import { useRender } from "@base-ui/react/use-render";
@@ -31,24 +32,65 @@ function thinkExecutionRunsScopeQueryKey(sourceKey) {
31
32
  "execution-runs"
32
33
  ];
33
34
  }
34
- function RunActions({ busy, onAction, run, source }) {
35
- const id = getThinkExecutionRunId(run);
36
- const statusTone = getThinkExecutionRunStatusTone(run);
37
- const kind = isThinkSubmissionRun(run) ? "submission" : "workflow";
38
- const action = (key, callback) => () => onAction(key, callback);
39
- return /* @__PURE__ */ jsxs(Menu.Root, { children: [/* @__PURE__ */ jsx(IconButton, {
40
- label: `Actions for ${kind} ${id}`,
41
- tooltip: "Run actions",
42
- render: /* @__PURE__ */ jsx(Menu.Trigger, { unstyled: true }),
43
- variant: "ghost",
44
- color: "neutral",
45
- size: "sm",
46
- className: "think-execution-workbench__run-actions",
47
- disabled: busy,
48
- children: /* @__PURE__ */ jsx(EllipsisIcon, {})
49
- }), /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(Menu.Positioner, {
50
- align: "end",
51
- children: /* @__PURE__ */ jsx(Menu.Popup, { children: isThinkSubmissionRun(run) ? /* @__PURE__ */ jsxs(Fragment, { children: [
35
+ function RunActions(t0) {
36
+ const $ = c(34);
37
+ const { busy, onAction, run, source } = t0;
38
+ let T0;
39
+ let T1;
40
+ let T2;
41
+ let T3;
42
+ let t1;
43
+ let t2;
44
+ let t3;
45
+ if ($[0] !== busy || $[1] !== onAction || $[2] !== run || $[3] !== source) {
46
+ const id = getThinkExecutionRunId(run);
47
+ const statusTone = getThinkExecutionRunStatusTone(run);
48
+ let t4;
49
+ if ($[11] !== onAction) {
50
+ t4 = (key, callback) => () => onAction(key, callback);
51
+ $[11] = onAction;
52
+ $[12] = t4;
53
+ } else t4 = $[12];
54
+ const action = t4;
55
+ T3 = Menu.Root;
56
+ let t5;
57
+ if ($[13] !== run) {
58
+ t5 = getThinkExecutionRunTitle(run);
59
+ $[13] = run;
60
+ $[14] = t5;
61
+ } else t5 = $[14];
62
+ const t6 = `Actions for ${t5}`;
63
+ let t7;
64
+ if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
65
+ t7 = /* @__PURE__ */ jsx(Menu.Trigger, { unstyled: true });
66
+ $[15] = t7;
67
+ } else t7 = $[15];
68
+ let t8;
69
+ if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
70
+ t8 = /* @__PURE__ */ jsx(EllipsisIcon, {});
71
+ $[16] = t8;
72
+ } else t8 = $[16];
73
+ if ($[17] !== busy || $[18] !== t6) {
74
+ t3 = /* @__PURE__ */ jsx(IconButton, {
75
+ label: t6,
76
+ tooltip: "Run actions",
77
+ render: t7,
78
+ variant: "ghost",
79
+ color: "neutral",
80
+ size: "sm",
81
+ className: "think-execution-workbench__run-actions",
82
+ disabled: busy,
83
+ children: t8
84
+ });
85
+ $[17] = busy;
86
+ $[18] = t6;
87
+ $[19] = t3;
88
+ } else t3 = $[19];
89
+ T2 = Menu.Portal;
90
+ T1 = Menu.Positioner;
91
+ t2 = "end";
92
+ T0 = Menu.Popup;
93
+ t1 = isThinkSubmissionRun(run) ? /* @__PURE__ */ jsxs(Fragment, { children: [
52
94
  isSubmissionCancelable(run.status) ? /* @__PURE__ */ jsx(Menu.Item, {
53
95
  disabled: busy,
54
96
  onClick: action(`cancel-submission:${id}`, () => source.cancelSubmission(id)),
@@ -95,8 +137,61 @@ function RunActions({ busy, onAction, run, source }) {
95
137
  onClick: action(`delete-workflow:${id}`, () => source.deleteWorkflow(id)),
96
138
  children: "Delete"
97
139
  })
98
- ] }) })
99
- }) })] });
140
+ ] });
141
+ $[0] = busy;
142
+ $[1] = onAction;
143
+ $[2] = run;
144
+ $[3] = source;
145
+ $[4] = T0;
146
+ $[5] = T1;
147
+ $[6] = T2;
148
+ $[7] = T3;
149
+ $[8] = t1;
150
+ $[9] = t2;
151
+ $[10] = t3;
152
+ } else {
153
+ T0 = $[4];
154
+ T1 = $[5];
155
+ T2 = $[6];
156
+ T3 = $[7];
157
+ t1 = $[8];
158
+ t2 = $[9];
159
+ t3 = $[10];
160
+ }
161
+ let t4;
162
+ if ($[20] !== T0 || $[21] !== t1) {
163
+ t4 = /* @__PURE__ */ jsx(T0, { children: t1 });
164
+ $[20] = T0;
165
+ $[21] = t1;
166
+ $[22] = t4;
167
+ } else t4 = $[22];
168
+ let t5;
169
+ if ($[23] !== T1 || $[24] !== t2 || $[25] !== t4) {
170
+ t5 = /* @__PURE__ */ jsx(T1, {
171
+ align: t2,
172
+ children: t4
173
+ });
174
+ $[23] = T1;
175
+ $[24] = t2;
176
+ $[25] = t4;
177
+ $[26] = t5;
178
+ } else t5 = $[26];
179
+ let t6;
180
+ if ($[27] !== T2 || $[28] !== t5) {
181
+ t6 = /* @__PURE__ */ jsx(T2, { children: t5 });
182
+ $[27] = T2;
183
+ $[28] = t5;
184
+ $[29] = t6;
185
+ } else t6 = $[29];
186
+ let t7;
187
+ if ($[30] !== T3 || $[31] !== t3 || $[32] !== t6) {
188
+ t7 = /* @__PURE__ */ jsxs(T3, { children: [t3, t6] });
189
+ $[30] = T3;
190
+ $[31] = t3;
191
+ $[32] = t6;
192
+ $[33] = t7;
193
+ } else t7 = $[33];
194
+ return t7;
100
195
  }
101
196
  /**
102
197
  * Shared list options for component reads and TanStack Router loaders.
@@ -123,60 +218,126 @@ function thinkExecutionRunsQueryOptions(source, sourceKey, pageSize = executionP
123
218
  * not normalize execution records or own workflow authoring. Its first
124
219
  * uncached list read suspends to the consuming route's Suspense boundary.
125
220
  */
126
- function ThinkExecutionWorkbenchRoot({ pageSize = executionPanelPageSize, render, ref, source, sourceKey, ...props }) {
127
- const runsOptions = thinkExecutionRunsQueryOptions(source, sourceKey, pageSize);
128
- const runsQuery = useSuspenseQuery(runsOptions);
129
- const actionMutation = useMutation({
130
- mutationFn: ({ action }) => action(),
131
- onSuccess: (_result, action, _onMutateResult, context) => context.client.invalidateQueries({ queryKey: action.runsQueryKey })
132
- });
221
+ function ThinkExecutionWorkbenchRoot(t0) {
222
+ const $ = c(30);
223
+ const { pageSize: t1, render, ref, source, sourceKey, ...props } = t0;
224
+ const pageSize = t1 === void 0 ? executionPanelPageSize : t1;
225
+ let t2;
226
+ if ($[0] !== pageSize || $[1] !== source || $[2] !== sourceKey) {
227
+ t2 = thinkExecutionRunsQueryOptions(source, sourceKey, pageSize);
228
+ $[0] = pageSize;
229
+ $[1] = source;
230
+ $[2] = sourceKey;
231
+ $[3] = t2;
232
+ } else t2 = $[3];
233
+ const runsQuery = useSuspenseQuery(t2);
234
+ let t3;
235
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
236
+ t3 = {
237
+ mutationFn: _temp,
238
+ onSuccess: _temp2
239
+ };
240
+ $[4] = t3;
241
+ } else t3 = $[4];
242
+ const actionMutation = useMutation(t3);
133
243
  const currentAction = actionMutation.variables?.source === source ? actionMutation.variables : null;
134
244
  const actionIsPending = currentAction !== null && actionMutation.isPending;
135
245
  const busyAction = actionIsPending ? currentAction.key : runsQuery.isFetching ? "refresh" : null;
136
246
  const error = currentAction && actionMutation.isError ? actionMutation.error : runsQuery.error;
137
- const runs = React.useMemo(() => [...runsQuery.data.submissions, ...runsQuery.data.workflows.workflows].sort((first, second) => Number(second.createdAt) - Number(first.createdAt)), [runsQuery.data]);
247
+ let t4;
248
+ if ($[5] !== runsQuery.data.submissions || $[6] !== runsQuery.data.workflows.workflows) {
249
+ t4 = [...runsQuery.data.submissions, ...runsQuery.data.workflows.workflows].sort(_temp3);
250
+ $[5] = runsQuery.data.submissions;
251
+ $[6] = runsQuery.data.workflows.workflows;
252
+ $[7] = t4;
253
+ } else t4 = $[7];
254
+ const runs = t4;
138
255
  const { mutate, reset } = actionMutation;
139
256
  const { refetch } = runsQuery;
140
257
  const busy = busyAction !== null;
141
- const value = React.useMemo(() => ({
142
- runs,
143
- source,
144
- actionIsPending,
145
- busy,
146
- error,
147
- runAction: (key, action) => {
258
+ let t5;
259
+ if ($[8] !== mutate || $[9] !== source || $[10] !== sourceKey) {
260
+ t5 = (key, action_1) => {
148
261
  mutate({
149
- action,
262
+ action: action_1,
150
263
  key,
151
264
  runsQueryKey: thinkExecutionRunsScopeQueryKey(sourceKey),
152
265
  source
153
266
  });
154
- },
155
- refresh: () => {
267
+ };
268
+ $[8] = mutate;
269
+ $[9] = source;
270
+ $[10] = sourceKey;
271
+ $[11] = t5;
272
+ } else t5 = $[11];
273
+ let t6;
274
+ if ($[12] !== refetch || $[13] !== reset) {
275
+ t6 = () => {
156
276
  reset();
157
277
  refetch();
158
- }
159
- }), [
160
- runs,
161
- source,
162
- sourceKey,
163
- actionIsPending,
164
- busy,
165
- error,
166
- mutate,
167
- reset,
168
- refetch
169
- ]);
170
- const element = useRender({
171
- defaultTagName: "div",
172
- render,
173
- ref,
174
- props: mergeProps(workbenchDefaults, props)
175
- });
176
- return /* @__PURE__ */ jsx(WorkbenchContext.Provider, {
177
- value,
178
- children: element
179
- });
278
+ };
279
+ $[12] = refetch;
280
+ $[13] = reset;
281
+ $[14] = t6;
282
+ } else t6 = $[14];
283
+ let t7;
284
+ if ($[15] !== actionIsPending || $[16] !== busy || $[17] !== error || $[18] !== runs || $[19] !== source || $[20] !== t5 || $[21] !== t6) {
285
+ t7 = {
286
+ runs,
287
+ source,
288
+ actionIsPending,
289
+ busy,
290
+ error,
291
+ runAction: t5,
292
+ refresh: t6
293
+ };
294
+ $[15] = actionIsPending;
295
+ $[16] = busy;
296
+ $[17] = error;
297
+ $[18] = runs;
298
+ $[19] = source;
299
+ $[20] = t5;
300
+ $[21] = t6;
301
+ $[22] = t7;
302
+ } else t7 = $[22];
303
+ const value = t7;
304
+ const t8 = "div";
305
+ const t9 = mergeProps(workbenchDefaults, props);
306
+ let t10;
307
+ if ($[23] !== ref || $[24] !== render || $[25] !== t9) {
308
+ t10 = {
309
+ defaultTagName: t8,
310
+ render,
311
+ ref,
312
+ props: t9
313
+ };
314
+ $[23] = ref;
315
+ $[24] = render;
316
+ $[25] = t9;
317
+ $[26] = t10;
318
+ } else t10 = $[26];
319
+ const element = useRender(t10);
320
+ let t11;
321
+ if ($[27] !== element || $[28] !== value) {
322
+ t11 = /* @__PURE__ */ jsx(WorkbenchContext.Provider, {
323
+ value,
324
+ children: element
325
+ });
326
+ $[27] = element;
327
+ $[28] = value;
328
+ $[29] = t11;
329
+ } else t11 = $[29];
330
+ return t11;
331
+ }
332
+ function _temp3(first, second) {
333
+ return Number(second.createdAt) - Number(first.createdAt);
334
+ }
335
+ function _temp2(_result, action_0, _onMutateResult, context) {
336
+ return context.client.invalidateQueries({ queryKey: action_0.runsQueryKey });
337
+ }
338
+ function _temp(t0) {
339
+ const { action } = t0;
340
+ return action();
180
341
  }
181
342
  const WorkbenchContext = React.createContext(null);
182
343
  function useWorkbench() {
@@ -184,90 +345,310 @@ function useWorkbench() {
184
345
  if (!value) throw new Error("ThinkExecutionWorkbench parts require ThinkExecutionWorkbench.Root.");
185
346
  return value;
186
347
  }
187
- /** Workbench controls composed into a standalone or host-owned application bar. */
188
- function ThinkExecutionWorkbenchHeader({ className, label = "Run controls", ...props }) {
189
- return /* @__PURE__ */ jsx(ResponsiveSidebarAppBar, {
190
- ...props,
191
- label,
192
- className: cx("think-execution-workbench__header", className)
193
- });
348
+ /**
349
+ * Workbench controls composed into a standalone or host-owned application bar.
350
+ * A host bar renders the slots outside this workbench, so they carry its context.
351
+ */
352
+ function ThinkExecutionWorkbenchHeader(t0) {
353
+ const $ = c(27);
354
+ let actions;
355
+ let className;
356
+ let leading;
357
+ let primary;
358
+ let props;
359
+ let t1;
360
+ if ($[0] !== t0) {
361
+ ({className, label: t1, leading, actions, primary, ...props} = t0);
362
+ $[0] = t0;
363
+ $[1] = actions;
364
+ $[2] = className;
365
+ $[3] = leading;
366
+ $[4] = primary;
367
+ $[5] = props;
368
+ $[6] = t1;
369
+ } else {
370
+ actions = $[1];
371
+ className = $[2];
372
+ leading = $[3];
373
+ primary = $[4];
374
+ props = $[5];
375
+ t1 = $[6];
376
+ }
377
+ const label = t1 === void 0 ? "Run controls" : t1;
378
+ const workbench = useWorkbench();
379
+ let t2;
380
+ if ($[7] !== workbench) {
381
+ t2 = (slot) => slot == null ? slot : /* @__PURE__ */ jsx(WorkbenchContext.Provider, {
382
+ value: workbench,
383
+ children: slot
384
+ });
385
+ $[7] = workbench;
386
+ $[8] = t2;
387
+ } else t2 = $[8];
388
+ const scoped = t2;
389
+ let t3;
390
+ if ($[9] !== leading || $[10] !== scoped) {
391
+ t3 = scoped(leading);
392
+ $[9] = leading;
393
+ $[10] = scoped;
394
+ $[11] = t3;
395
+ } else t3 = $[11];
396
+ let t4;
397
+ if ($[12] !== actions || $[13] !== scoped) {
398
+ t4 = scoped(actions);
399
+ $[12] = actions;
400
+ $[13] = scoped;
401
+ $[14] = t4;
402
+ } else t4 = $[14];
403
+ let t5;
404
+ if ($[15] !== primary || $[16] !== scoped) {
405
+ t5 = scoped(primary);
406
+ $[15] = primary;
407
+ $[16] = scoped;
408
+ $[17] = t5;
409
+ } else t5 = $[17];
410
+ let t6;
411
+ if ($[18] !== className) {
412
+ t6 = cx("think-execution-workbench__header", className);
413
+ $[18] = className;
414
+ $[19] = t6;
415
+ } else t6 = $[19];
416
+ let t7;
417
+ if ($[20] !== label || $[21] !== props || $[22] !== t3 || $[23] !== t4 || $[24] !== t5 || $[25] !== t6) {
418
+ t7 = /* @__PURE__ */ jsx(ResponsiveSidebarAppBar, {
419
+ ...props,
420
+ leading: t3,
421
+ actions: t4,
422
+ primary: t5,
423
+ label,
424
+ className: t6
425
+ });
426
+ $[20] = label;
427
+ $[21] = props;
428
+ $[22] = t3;
429
+ $[23] = t4;
430
+ $[24] = t5;
431
+ $[25] = t6;
432
+ $[26] = t7;
433
+ } else t7 = $[26];
434
+ return t7;
194
435
  }
195
- function ThinkExecutionWorkbenchContent({ render, ref, ...props }) {
436
+ function ThinkExecutionWorkbenchContent(t0) {
437
+ const $ = c(4);
438
+ const { render, ref, ...props } = t0;
196
439
  const { busy } = useWorkbench();
197
- return useRender({
198
- defaultTagName: "div",
199
- render,
200
- ref,
201
- props: mergeProps({
202
- className: "think-execution-workbench__content",
203
- "aria-busy": busy
204
- }, props)
205
- });
440
+ const t1 = "div";
441
+ const t2 = mergeProps({
442
+ className: "think-execution-workbench__content",
443
+ "aria-busy": busy
444
+ }, props);
445
+ let t3;
446
+ if ($[0] !== ref || $[1] !== render || $[2] !== t2) {
447
+ t3 = {
448
+ defaultTagName: t1,
449
+ render,
450
+ ref,
451
+ props: t2
452
+ };
453
+ $[0] = ref;
454
+ $[1] = render;
455
+ $[2] = t2;
456
+ $[3] = t3;
457
+ } else t3 = $[3];
458
+ return useRender(t3);
206
459
  }
207
460
  /** Refresh control retaining the complete AppTopBar button render/ref/event contract. */
208
- function ThinkExecutionWorkbenchRefresh({ label = "Refresh runs", ...props }) {
461
+ function ThinkExecutionWorkbenchRefresh(t0) {
462
+ const $ = c(5);
463
+ const { label: t1, ...props } = t0;
464
+ const label = t1 === void 0 ? "Refresh runs" : t1;
209
465
  const { busy, refresh } = useWorkbench();
210
- return /* @__PURE__ */ jsx(AppTopBar.Button, {
211
- ...mergeProps({
212
- label,
213
- disabled: busy,
214
- onClick: refresh,
215
- children: /* @__PURE__ */ jsx(RefreshIcon, {})
216
- }, {
217
- ...props,
218
- label
219
- }),
220
- disabled: busy || props.disabled
466
+ const t2 = AppTopBar;
467
+ let t3;
468
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
469
+ t3 = /* @__PURE__ */ jsx(RefreshIcon, {});
470
+ $[0] = t3;
471
+ } else t3 = $[0];
472
+ const t4 = mergeProps({
473
+ label,
474
+ disabled: busy,
475
+ onClick: refresh,
476
+ children: t3
477
+ }, {
478
+ ...props,
479
+ label
221
480
  });
481
+ const t5 = busy || props.disabled;
482
+ let t6;
483
+ if ($[1] !== t2.Button || $[2] !== t4 || $[3] !== t5) {
484
+ t6 = /* @__PURE__ */ jsx(t2.Button, {
485
+ ...t4,
486
+ disabled: t5
487
+ });
488
+ $[1] = t2.Button;
489
+ $[2] = t4;
490
+ $[3] = t5;
491
+ $[4] = t6;
492
+ } else t6 = $[4];
493
+ return t6;
222
494
  }
223
- function ThinkExecutionWorkbenchError({ className, ...props }) {
495
+ function ThinkExecutionWorkbenchError(t0) {
496
+ const $ = c(7);
497
+ let className;
498
+ let props;
499
+ if ($[0] !== t0) {
500
+ ({className, ...props} = t0);
501
+ $[0] = t0;
502
+ $[1] = className;
503
+ $[2] = props;
504
+ } else {
505
+ className = $[1];
506
+ props = $[2];
507
+ }
224
508
  const { error } = useWorkbench();
225
- return error ? /* @__PURE__ */ jsxs("div", {
226
- role: "alert",
227
- ...props,
228
- className: cx("think-execution-workbench__error", className),
229
- children: [/* @__PURE__ */ jsx(WarningIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", { children: formatErrorMessage(error) })]
230
- }) : null;
509
+ let t1;
510
+ if ($[3] !== className || $[4] !== error || $[5] !== props) {
511
+ t1 = error ? /* @__PURE__ */ jsxs("div", {
512
+ role: "alert",
513
+ ...props,
514
+ className: cx("think-execution-workbench__error", className),
515
+ children: [/* @__PURE__ */ jsx(WarningIcon, { "aria-hidden": "true" }), /* @__PURE__ */ jsx("span", { children: formatErrorMessage(error) })]
516
+ }) : null;
517
+ $[3] = className;
518
+ $[4] = error;
519
+ $[5] = props;
520
+ $[6] = t1;
521
+ } else t1 = $[6];
522
+ return t1;
231
523
  }
232
524
  /** Controls for one whole native run; mount in a list row or a selected-run toolbar. */
233
- function ThinkExecutionWorkbenchRunActions({ run }) {
525
+ function ThinkExecutionWorkbenchRunActions(t0) {
526
+ const $ = c(5);
527
+ const { run } = t0;
234
528
  const { source, actionIsPending, runAction } = useWorkbench();
235
- return /* @__PURE__ */ jsx(RunActions, {
236
- run,
237
- source,
238
- busy: actionIsPending,
239
- onAction: runAction
240
- });
529
+ let t1;
530
+ if ($[0] !== actionIsPending || $[1] !== run || $[2] !== runAction || $[3] !== source) {
531
+ t1 = /* @__PURE__ */ jsx(RunActions, {
532
+ run,
533
+ source,
534
+ busy: actionIsPending,
535
+ onAction: runAction
536
+ });
537
+ $[0] = actionIsPending;
538
+ $[1] = run;
539
+ $[2] = runAction;
540
+ $[3] = source;
541
+ $[4] = t1;
542
+ } else t1 = $[4];
543
+ return t1;
241
544
  }
242
- function ThinkExecutionWorkbenchList({ children, className, ...props }) {
545
+ function ThinkExecutionWorkbenchList(t0) {
546
+ const $ = c(13);
547
+ let children;
548
+ let className;
549
+ let props;
550
+ if ($[0] !== t0) {
551
+ ({children, className, ...props} = t0);
552
+ $[0] = t0;
553
+ $[1] = children;
554
+ $[2] = className;
555
+ $[3] = props;
556
+ } else {
557
+ children = $[1];
558
+ className = $[2];
559
+ props = $[3];
560
+ }
243
561
  const { runs } = useWorkbench();
244
- return /* @__PURE__ */ jsx("section", {
245
- "aria-label": "Runs",
246
- ...props,
247
- className: cx("think-execution-workbench__run-list", className),
248
- children: runs.length === 0 ? /* @__PURE__ */ jsx(EmptyState, {
562
+ let t1;
563
+ if ($[4] !== className) {
564
+ t1 = cx("think-execution-workbench__run-list", className);
565
+ $[4] = className;
566
+ $[5] = t1;
567
+ } else t1 = $[5];
568
+ let t2;
569
+ if ($[6] !== children || $[7] !== runs) {
570
+ t2 = runs.length === 0 ? /* @__PURE__ */ jsx(EmptyState, {
249
571
  className: "think-execution-workbench__empty",
250
572
  description: "No runs yet."
251
573
  }) : /* @__PURE__ */ jsx("ul", {
252
574
  className: "think-execution-workbench__list",
253
575
  role: "list",
254
576
  children: runs.map((run) => /* @__PURE__ */ jsx("li", { children: children(run) }, `${isThinkSubmissionRun(run) ? "submission" : "workflow"}:${getThinkExecutionRunId(run)}`))
255
- })
256
- });
577
+ });
578
+ $[6] = children;
579
+ $[7] = runs;
580
+ $[8] = t2;
581
+ } else t2 = $[8];
582
+ let t3;
583
+ if ($[9] !== props || $[10] !== t1 || $[11] !== t2) {
584
+ t3 = /* @__PURE__ */ jsx("section", {
585
+ "aria-label": "Runs",
586
+ ...props,
587
+ className: t1,
588
+ children: t2
589
+ });
590
+ $[9] = props;
591
+ $[10] = t1;
592
+ $[11] = t2;
593
+ $[12] = t3;
594
+ } else t3 = $[12];
595
+ return t3;
257
596
  }
258
- function ThinkExecutionWorkbenchRunLink({ run, className, ...props }) {
259
- return /* @__PURE__ */ jsx(NavigationLink, {
260
- "data-slot": "button",
261
- "aria-label": getThinkExecutionRunAccessibleName(run),
262
- ...props,
263
- className: buttonVariants({
597
+ function ThinkExecutionWorkbenchRunLink(t0) {
598
+ const $ = c(15);
599
+ let className;
600
+ let props;
601
+ let run;
602
+ if ($[0] !== t0) {
603
+ ({run, className, ...props} = t0);
604
+ $[0] = t0;
605
+ $[1] = className;
606
+ $[2] = props;
607
+ $[3] = run;
608
+ } else {
609
+ className = $[1];
610
+ props = $[2];
611
+ run = $[3];
612
+ }
613
+ let t1;
614
+ if ($[4] !== run) {
615
+ t1 = getThinkExecutionRunAccessibleName(run);
616
+ $[4] = run;
617
+ $[5] = t1;
618
+ } else t1 = $[5];
619
+ let t2;
620
+ if ($[6] !== className) {
621
+ t2 = buttonVariants({
264
622
  variant: "ghost",
265
623
  color: "neutral",
266
624
  size: "sm",
267
625
  className: cx("think-execution-workbench__run", className)
268
- }),
269
- children: /* @__PURE__ */ jsx(ThinkExecutionRunSummary, { run })
270
- });
626
+ });
627
+ $[6] = className;
628
+ $[7] = t2;
629
+ } else t2 = $[7];
630
+ let t3;
631
+ if ($[8] !== run) {
632
+ t3 = /* @__PURE__ */ jsx(ThinkExecutionRunSummary, { run });
633
+ $[8] = run;
634
+ $[9] = t3;
635
+ } else t3 = $[9];
636
+ let t4;
637
+ if ($[10] !== props || $[11] !== t1 || $[12] !== t2 || $[13] !== t3) {
638
+ t4 = /* @__PURE__ */ jsx(NavigationLink, {
639
+ "data-slot": "button",
640
+ "aria-label": t1,
641
+ ...props,
642
+ className: t2,
643
+ children: t3
644
+ });
645
+ $[10] = props;
646
+ $[11] = t1;
647
+ $[12] = t2;
648
+ $[13] = t3;
649
+ $[14] = t4;
650
+ } else t4 = $[14];
651
+ return t4;
271
652
  }
272
653
  /** Native execution runtime with independently placed controls, rows, and route content. */
273
654
  const ThinkExecutionWorkbench = {