@mcp-b/react-components 0.60.0 → 0.61.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 (363) hide show
  1. package/dist/{AgentActivity-DSObWhDU.d.ts → AgentActivity-DptCj8XQ.d.ts} +2 -2
  2. package/dist/{AgentChatQueue-CGR4hd7D.d.ts → AgentChatQueue-DG2rGyCI.d.ts} +1 -1
  3. package/dist/AgentToolRunsContext-Br3jZ6Up.d.ts +74 -0
  4. package/dist/{Button-ClRxb8tM.d.ts → Button-DIn-0P-0.d.ts} +4 -5
  5. package/dist/{Card-BPkXIkBz.d.ts → Card-DkGZ3jKQ.d.ts} +7 -1
  6. package/dist/{CodeBlock-DYp5V_4O.d.ts → CodeBlock-BTkag9ms.d.ts} +1 -1
  7. package/dist/{CodeBlock-B4K656LO.js → CodeBlock-CNvOYR0Q.js} +1 -1
  8. package/dist/{EmployeeChrome-QSki0QT4.d.ts → EmployeeChrome-D3IgFX22.d.ts} +12 -34
  9. package/dist/{ExecutionBoard-DHfMvKlB.d.ts → ExecutionBoard-DvPGdn4F.d.ts} +2 -2
  10. package/dist/{ExecutionResult-Wd1sKAvD.js → ExecutionResult-DmC21cll.js} +4 -4
  11. package/dist/{FileTree-BpCJuvji.js → FileTree-H31EVRv_.js} +1 -1
  12. package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
  13. package/dist/{ManagerOffice-BaHSBcSF.js → ManagerOffice-B3X3iZV9.js} +27 -34
  14. package/dist/{McpConnectorForm-D4bY-lm_.d.ts → McpConnectorForm-BLsQt_er.d.ts} +1 -1
  15. package/dist/{McpPluginCatalog-2FZDLCeK.d.ts → McpPluginCatalog-SQNOytXQ.d.ts} +2 -2
  16. package/dist/{Message-CwCqa90H.d.ts → Message-BUedRDN1.d.ts} +2 -2
  17. package/dist/{MessageScrollerVirtual-DVQeEkNy.d.ts → MessageScrollerVirtual-DxL6XKq9.d.ts} +1 -1
  18. package/dist/{PromptInput-C3adKglc.d.ts → PromptInput-Dbe6WgWA.d.ts} +1 -1
  19. package/dist/{ResponsiveSidebarShell-DzBGlRJF.d.ts → ResponsiveSidebarShell-DSAMNDdg.d.ts} +1 -1
  20. package/dist/{SetupChecklist-BNK2XFaI.js → SetupChecklist-Wo4akaSG.js} +2 -2
  21. package/dist/{ThinkChatActivity-C4_hPEmb.d.ts → ThinkChatActivity-zZaSsbC-.d.ts} +7 -3
  22. package/dist/{ThinkChatActivitySummary-ChJ8Iu2T.d.ts → ThinkChatActivitySummary-8MO1VjAJ.d.ts} +1 -1
  23. package/dist/{ThinkExecutionRun-CPeYVneQ.d.ts → ThinkExecutionRun-DJ2TFDmZ.d.ts} +1 -1
  24. package/dist/ThinkSchedule-5S834QKW.d.ts +34 -0
  25. package/dist/{Workspace-iCkXvQRJ.d.ts → Workspace-42LA9Zrb.d.ts} +1 -1
  26. package/dist/WorkspaceAutomation-B2Pdz_SU.d.ts +215 -0
  27. package/dist/{WorkspaceConcept-ByaG-kBq.d.ts → WorkspaceConcept-BjrgGE1w.d.ts} +2 -3
  28. package/dist/{WorkspaceFile-DkIZKoK6.d.ts → WorkspaceFile-nK2n0i4S.d.ts} +1 -1
  29. package/dist/{WorkspaceFileView-5SHsjamf.js → WorkspaceFileView-BWI_AJlV.js} +8 -8
  30. package/dist/{WorkspaceLink-Buo6gKj2.d.ts → WorkspaceLink-C8HH2fMT.d.ts} +1 -0
  31. package/dist/{WorkspaceMessageResponse-DnsdpaGU.js → WorkspaceMessageResponse-BZ-_I18b.js} +3 -7
  32. package/dist/agent-tool-runs-DsOp_X2y.js +133 -0
  33. package/dist/assets/chrome.svg +1 -0
  34. package/dist/assets/plugins/plugin-github.svg +8 -0
  35. package/dist/assets/plugins/plugin-gmail.svg +1 -0
  36. package/dist/assets/plugins/plugin-google-drive.svg +1 -0
  37. package/dist/assets/plugins/plugin-google.svg +1 -0
  38. package/dist/assets/plugins/plugin-linear.svg +1 -0
  39. package/dist/assets/plugins/plugin-notion.svg +25 -0
  40. package/dist/assets/plugins/plugin-salesforce.svg +31 -0
  41. package/dist/assets/plugins/plugin-slack.svg +6 -0
  42. package/dist/chatgpt-sign-in-button-DNchrZHs.js +32 -0
  43. package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
  44. package/dist/components/agents-sdk/AgentActivity.js +5 -4
  45. package/dist/components/agents-sdk/AgentChat.d.ts +4 -4
  46. package/dist/components/agents-sdk/AgentChat.js +7 -7
  47. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  48. package/dist/components/agents-sdk/AgentEvent.js +4 -4
  49. package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
  50. package/dist/components/agents-sdk/AgentToolRunsContext.js +78 -8
  51. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  52. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  53. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  54. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  55. package/dist/components/agents-sdk/EmployeeApp.d.ts +4 -3
  56. package/dist/components/agents-sdk/EmployeeApp.js +1 -1
  57. package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
  58. package/dist/components/agents-sdk/EmployeeChat.js +14 -10
  59. package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
  60. package/dist/components/agents-sdk/EmployeeChrome.js +45 -33
  61. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +10 -10
  62. package/dist/components/agents-sdk/EmployeeSchedules.js +39 -39
  63. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +3 -3
  64. package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
  65. package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
  66. package/dist/components/agents-sdk/ExecutionBoard.js +7 -33
  67. package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
  68. package/dist/components/agents-sdk/ManagerOffice.d.ts +10 -14
  69. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  70. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  71. package/dist/components/agents-sdk/ManagerOfficeScreens.js +3 -3
  72. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
  73. package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
  74. package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
  75. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  76. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
  77. package/dist/components/agents-sdk/McpPluginCatalog.js +3 -3
  78. package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
  79. package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
  80. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  81. package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
  82. package/dist/components/agents-sdk/ModelSelector.d.ts +2 -2
  83. package/dist/components/agents-sdk/ModelSelector.js +7 -6
  84. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  85. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  86. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  87. package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +4 -2
  88. package/dist/components/agents-sdk/SubagentRunIndicator.js +4 -3
  89. package/dist/components/agents-sdk/SubagentRunLanes.d.ts +38 -0
  90. package/dist/components/agents-sdk/SubagentRunLanes.js +160 -0
  91. package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -28
  92. package/dist/components/agents-sdk/SubagentRunPanel.js +145 -190
  93. package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
  94. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  95. package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
  96. package/dist/components/agents-sdk/ThinkChat.js +5 -8
  97. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  98. package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
  99. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  100. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
  101. package/dist/components/agents-sdk/ThinkChatToolPanels.js +13 -28
  102. package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
  103. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  104. package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
  105. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
  106. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  107. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
  108. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +4 -4
  109. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  110. package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
  111. package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
  112. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
  113. package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
  114. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
  115. package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +47 -45
  116. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
  117. package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
  118. package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
  119. package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
  120. package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
  121. package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
  122. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  123. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  124. package/dist/components/agents-sdk/Workspace.js +1 -1
  125. package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
  126. package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
  127. package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
  128. package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
  129. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  130. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  131. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
  132. package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
  133. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
  134. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
  135. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
  136. package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
  137. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  138. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
  139. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  140. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  141. package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
  142. package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
  143. package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
  144. package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
  145. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
  146. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  147. package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
  148. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
  149. package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
  150. package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
  151. package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
  152. package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
  153. package/dist/components/ai-sdk/Activity.js +1 -1
  154. package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
  155. package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
  156. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
  157. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  158. package/dist/components/ai-sdk/Approval.js +2 -2
  159. package/dist/components/ai-sdk/Artifact.d.ts +1 -1
  160. package/dist/components/ai-sdk/Artifact.js +2 -2
  161. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  162. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  163. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  164. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  165. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  166. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  167. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
  168. package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
  169. package/dist/components/ai-sdk/Context.js +1 -1
  170. package/dist/components/ai-sdk/Conversation.d.ts +1 -1
  171. package/dist/components/ai-sdk/Conversation.js +3 -3
  172. package/dist/components/ai-sdk/Goal.js +1 -1
  173. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
  174. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  175. package/dist/components/ai-sdk/Message.d.ts +1 -1
  176. package/dist/components/ai-sdk/Message.js +12 -4
  177. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  178. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  179. package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
  180. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  181. package/dist/components/ai-sdk/Plan.js +1 -1
  182. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  183. package/dist/components/ai-sdk/PromptInput.js +6 -6
  184. package/dist/components/ai-sdk/Queue.d.ts +1 -1
  185. package/dist/components/ai-sdk/Queue.js +1 -1
  186. package/dist/components/ai-sdk/Reasoning.js +1 -1
  187. package/dist/components/ai-sdk/Sources.js +1 -1
  188. package/dist/components/ai-sdk/Task.js +1 -1
  189. package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
  190. package/dist/components/extension/ChatGptSignInScreen.js +32 -32
  191. package/dist/components/extension/CodexModelSelector.js +2 -2
  192. package/dist/components/extension/ConversationTabPicker.js +2 -2
  193. package/dist/components/extension/FirstRunSetup.d.ts +117 -0
  194. package/dist/components/extension/FirstRunSetup.js +1175 -0
  195. package/dist/components/foundations/AlertDialog.d.ts +1 -1
  196. package/dist/components/foundations/AppIcon.d.ts +5 -2
  197. package/dist/components/foundations/Button.d.ts +1 -1
  198. package/dist/components/foundations/Button.js +1 -1
  199. package/dist/components/foundations/Card.d.ts +1 -1
  200. package/dist/components/foundations/Card.js +2 -2
  201. package/dist/components/foundations/Checkbox.js +1 -1
  202. package/dist/components/foundations/Collapsible.js +1 -1
  203. package/dist/components/foundations/ContextMenu.js +1 -1
  204. package/dist/components/foundations/DescriptionList.d.ts +3 -1
  205. package/dist/components/foundations/DescriptionList.js +2 -1
  206. package/dist/components/foundations/IconButton.d.ts +1 -1
  207. package/dist/components/foundations/LinkButton.d.ts +1 -1
  208. package/dist/components/foundations/Menubar.js +1 -1
  209. package/dist/components/foundations/Popover.js +1 -1
  210. package/dist/components/foundations/SearchField.js +1 -1
  211. package/dist/components/foundations/Select.js +1 -1
  212. package/dist/components/foundations/Stepper.js +1 -1
  213. package/dist/components/foundations/Toast.js +1 -1
  214. package/dist/components/foundations/Toggle.d.ts +2 -4
  215. package/dist/components/foundations/Toggle.js +3 -7
  216. package/dist/components/foundations/ToggleGroup.d.ts +2 -4
  217. package/dist/components/foundations/ToggleGroup.js +4 -16
  218. package/dist/components/foundations/icons.d.ts +2 -2
  219. package/dist/components/foundations/icons.js +2 -2
  220. package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
  221. package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
  222. package/dist/components/general-purpose/Commit.d.ts +1 -1
  223. package/dist/components/general-purpose/Commit.js +2 -2
  224. package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
  225. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  226. package/dist/components/general-purpose/FileTree.js +1 -1
  227. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  228. package/dist/components/general-purpose/PricingPlanCard.js +3 -3
  229. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  230. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
  231. package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
  232. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  233. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  234. package/dist/components/general-purpose/Terminal.d.ts +2 -2
  235. package/dist/components/general-purpose/Terminal.js +2 -2
  236. package/dist/components/general-purpose/TestResults.js +1 -1
  237. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  238. package/dist/components/general-purpose/WebPreview.d.ts +1 -1
  239. package/dist/components/general-purpose/WebPreview.js +1 -1
  240. package/dist/components/nanites/AgentConnection.js +3 -3
  241. package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
  242. package/dist/components/nanites/AgentToolDetail.js +3 -3
  243. package/dist/connected-app-drafts-B9i69bkj.js +283 -0
  244. package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
  245. package/dist/{copy-button-BsmxSSeD.js → copy-button-z20VEXRF.js} +1 -1
  246. package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
  247. package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
  248. package/dist/{icons-Cn3vWZRs.js → icons-Yp99gmMC.js} +9 -3
  249. package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
  250. package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
  251. package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
  252. package/dist/styles/accessibility.css +22 -9
  253. package/dist/styles/accordion.css +2 -2
  254. package/dist/styles/activity-header.css +14 -11
  255. package/dist/styles/activity.css +6 -13
  256. package/dist/styles/agent-attention.css +0 -23
  257. package/dist/styles/agent-chat.css +8 -3
  258. package/dist/styles/agent-connection.css +2 -2
  259. package/dist/styles/app-icon.css +7 -0
  260. package/dist/styles/app-top-bar.css +3 -11
  261. package/dist/styles/approval.css +2 -2
  262. package/dist/styles/base.css +3 -1
  263. package/dist/styles/browser-live-screen.css +3 -1
  264. package/dist/styles/browser-run-panel.css +2 -2
  265. package/dist/styles/button.css +13 -44
  266. package/dist/styles/card.css +42 -5
  267. package/dist/styles/chain-of-thought.css +2 -8
  268. package/dist/styles/chatgpt-sign-in-screen.css +91 -83
  269. package/dist/styles/checkbox-group.css +2 -1
  270. package/dist/styles/checkbox.css +4 -6
  271. package/dist/styles/code-block.css +2 -1
  272. package/dist/styles/codex-model-selector.css +2 -2
  273. package/dist/styles/collapsible.css +2 -2
  274. package/dist/styles/color-contrast.test.ts +1 -0
  275. package/dist/styles/combobox.css +5 -9
  276. package/dist/styles/commit.css +2 -7
  277. package/dist/styles/composer-link.css +0 -10
  278. package/dist/styles/connected-app-card.css +32 -32
  279. package/dist/styles/context-menu.css +2 -2
  280. package/dist/styles/description-list.css +14 -0
  281. package/dist/styles/execution-board.css +1 -1
  282. package/dist/styles/execution-result.css +161 -0
  283. package/dist/styles/file-tree.css +5 -9
  284. package/dist/styles/first-run-setup.css +751 -0
  285. package/dist/styles/index.css +5 -2
  286. package/dist/styles/inline-citation.css +2 -10
  287. package/dist/styles/manager-office.css +16 -43
  288. package/dist/styles/marker.css +2 -2
  289. package/dist/styles/media-preview-card.css +2 -7
  290. package/dist/styles/message-scroller.css +3 -2
  291. package/dist/styles/model-selector.css +19 -15
  292. package/dist/styles/navigation-menu.css +4 -4
  293. package/dist/styles/number-field.css +2 -3
  294. package/dist/styles/preview-card.css +2 -2
  295. package/dist/styles/prompt-input.css +5 -15
  296. package/dist/styles/queue.css +2 -7
  297. package/dist/styles/radio.css +4 -6
  298. package/dist/styles/recipes.css +25 -52
  299. package/dist/styles/resizable-side-panel.css +3 -2
  300. package/dist/styles/responsive-sidebar-shell.css +1 -6
  301. package/dist/styles/scroll-area.css +3 -2
  302. package/dist/styles/scrollbars.css +2 -0
  303. package/dist/styles/search-field.css +1 -2
  304. package/dist/styles/slider.css +4 -5
  305. package/dist/styles/sources.css +2 -7
  306. package/dist/styles/stepper.css +4 -4
  307. package/dist/styles/streamdown.css +8 -1
  308. package/dist/styles/subagent-run.css +123 -12
  309. package/dist/styles/switch.css +4 -7
  310. package/dist/styles/tabs.css +5 -4
  311. package/dist/styles/task.css +2 -7
  312. package/dist/styles/test-results.css +2 -7
  313. package/dist/styles/theme-mode-control.css +0 -6
  314. package/dist/styles/think-chat-activity.css +0 -8
  315. package/dist/styles/think-execution-status.css +1 -1
  316. package/dist/styles/think-execution-workbench.css +3 -3
  317. package/dist/styles/think-full-app.css +3 -2
  318. package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
  319. package/dist/styles/toggle-group.css +9 -6
  320. package/dist/styles/toggle.css +23 -15
  321. package/dist/styles/toolbar.css +0 -6
  322. package/dist/styles/workspace-automation.css +233 -0
  323. package/dist/styles/workspace-concepts.css +18 -412
  324. package/dist/styles/workspace-entity-card.css +146 -0
  325. package/dist/styles/workspace-explorer.css +4 -3
  326. package/dist/utils/mcp-server-catalog.d.ts +2 -2
  327. package/dist/utils/mcp-server-catalog.js +108 -21
  328. package/dist/utils/structured-code.d.ts +1 -1
  329. package/dist/{workspace-assets-RD6IhOyh.js → workspace-assets-Dq5toMQc.js} +34 -38
  330. package/dist/workspace-concept-panel-CxZfmFkP.js +66 -0
  331. package/dist/workspace-concept-panel-CxuqDi4m.d.ts +21 -0
  332. package/dist/{workspace-delete-CrNGUuBp.js → workspace-delete-CoB0l6ZU.js} +2 -1
  333. package/dist/workspace-entity-card-2TC3RPKh.d.ts +7 -0
  334. package/dist/workspace-entity-card-B1aV-jBj.js +61 -0
  335. package/dist/workspace-person-BSgvRjZE.d.ts +24 -0
  336. package/dist/workspace-person-BVkYb3dv.js +116 -0
  337. package/package.json +2 -2
  338. package/dist/AgentToolRunsContext-DniwGn96.d.ts +0 -18
  339. package/dist/Correspondent-ANkZHGEa.d.ts +0 -60
  340. package/dist/ThinkRoutine-DoZjbzyn.d.ts +0 -41
  341. package/dist/WorkspaceConceptPanel-D21iRsWm.js +0 -23
  342. package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +0 -239
  343. package/dist/WorkspaceMessageResponse-D8FGgIQU.d.ts +0 -39
  344. package/dist/components/agents-sdk/SubagentRunList.d.ts +0 -17
  345. package/dist/components/agents-sdk/SubagentRunList.js +0 -26
  346. package/dist/components/agents-sdk/ThinkRoutine.d.ts +0 -2
  347. package/dist/components/agents-sdk/ThinkRoutine.js +0 -9
  348. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +0 -42
  349. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +0 -25
  350. package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +0 -19
  351. package/dist/components/agents-sdk/ThinkRoutineDetail.js +0 -97
  352. package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +0 -59
  353. package/dist/components/agents-sdk/ThinkRoutineForm.js +0 -744
  354. package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +0 -15
  355. package/dist/components/agents-sdk/ThinkRoutineRuns.js +0 -52
  356. package/dist/components/agents-sdk/WorkspaceExecution.d.ts +0 -2
  357. package/dist/components/agents-sdk/WorkspaceExecution.js +0 -843
  358. package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +0 -2
  359. package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +0 -36
  360. package/dist/components/agents-sdk/WorkspaceUserScript.js +0 -153
  361. package/dist/components/ai-sdk/Correspondent.d.ts +0 -2
  362. package/dist/components/ai-sdk/Correspondent.js +0 -145
  363. package/dist/styles/correspondent.css +0 -73
@@ -1,8 +1,8 @@
1
- import { D as PromptInputCommandDefinition, J as PromptInputMessage, r as PromptInput, vt as PromptInputTray } from "../../PromptInput-C3adKglc.js";
2
- import { r as AgentChatQueuedPrompt } from "../../AgentChatQueue-CGR4hd7D.js";
1
+ import { D as PromptInputCommandDefinition, J as PromptInputMessage, r as PromptInput, vt as PromptInputTray } from "../../PromptInput-Dbe6WgWA.js";
2
+ import { r as AgentChatQueuedPrompt } from "../../AgentChatQueue-DG2rGyCI.js";
3
3
  import { i as AgentMessageRenderPartContext } from "../../AgentMessageParts-BtWwiE4f.js";
4
- import { i as MessageActions } from "../../Message-CwCqa90H.js";
5
- import { t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-DVQeEkNy.js";
4
+ import { i as MessageActions } from "../../Message-BUedRDN1.js";
5
+ import { t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-DxL6XKq9.js";
6
6
  import { a as getPendingToolApprovals } from "../../PromptInputApproval-C6KvCOMZ.js";
7
7
  import * as React from "react";
8
8
  import { useRender } from "@base-ui/react/use-render";
@@ -1,23 +1,23 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { $ as TrashIcon, H as RefreshIcon, K as SpinnerIcon, R as PencilIcon, t as ArchiveIcon } from "../../icons-Cn3vWZRs.js";
3
2
  import { ExpansionStateProvider } from "../ai-sdk/ExpansionState.js";
3
+ import { V as PencilIcon, Z as SpinnerIcon, it as TrashIcon, q as RefreshIcon, t as ArchiveIcon } from "../../icons-Yp99gmMC.js";
4
+ import { AgentChatMessageEditor } from "../ai-sdk/AgentChatMessageEditor.js";
5
+ import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
4
6
  import { Message, MessageAction, MessageActions, MessageCopyAction, MessageMeta, MessageTimestamp } from "../ai-sdk/Message.js";
5
- import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
6
- import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
7
7
  import { AgentMessageParts } from "../ai-sdk/AgentMessageParts.js";
8
- import { AgentChatMessageEditor } from "../ai-sdk/AgentChatMessageEditor.js";
8
+ import { Marker, MarkerContent } from "../foundations/Marker.js";
9
9
  import { VirtualMessageScroller } from "../ai-sdk/MessageScrollerVirtual.js";
10
- import { PromptInput, PromptInputSubmit, PromptInputTray, composerLinksToReferences, usePromptInputController } from "../ai-sdk/PromptInput.js";
11
10
  import { Queue, QueueItem, QueueItemAction, QueueItemActions, QueueItemContent, QueueItemIndicator, QueueList } from "../ai-sdk/Queue.js";
11
+ import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
12
+ import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
12
13
  import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
13
14
  import { BrandLoading } from "../general-purpose/BrandLoading.js";
14
- import { Marker, MarkerContent } from "../foundations/Marker.js";
15
15
  import * as React from "react";
16
16
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
17
17
  import { useRender } from "@base-ui/react/use-render";
18
18
  import { mergeProps } from "@base-ui/react/merge-props";
19
- import { isCompactionMessage } from "agents/sessions";
20
19
  import { isTextUIPart } from "ai";
20
+ import { isCompactionMessage } from "agents/sessions";
21
21
  //#region src/components/agents-sdk/AgentChat.tsx
22
22
  function observeAgentChatDock(element) {
23
23
  if (!element || typeof ResizeObserver === "undefined") return;
@@ -1,2 +1,2 @@
1
- import { i as useOptionalAgentChatQueue, n as AgentChatQueueProviderProps, r as AgentChatQueuedPrompt, t as AgentChatQueueProvider } from "../../AgentChatQueue-CGR4hd7D.js";
1
+ import { i as useOptionalAgentChatQueue, n as AgentChatQueueProviderProps, r as AgentChatQueuedPrompt, t as AgentChatQueueProvider } from "../../AgentChatQueue-DG2rGyCI.js";
2
2
  export { AgentChatQueueProvider, AgentChatQueueProviderProps, AgentChatQueuedPrompt, useOptionalAgentChatQueue };
@@ -2,10 +2,10 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
2
  import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "../ai-sdk/Activity.js";
3
3
  import { r as firstLine } from "../../format-CWaZEp5o.js";
4
4
  import { MessageResponse } from "../ai-sdk/Message.js";
5
- import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
5
+ import { u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
6
6
  import { getSubagentRunName } from "./SubagentRunIndicator.js";
7
7
  import { NaniteMark } from "../nanites/NaniteScene.js";
8
- import "react";
8
+ import * as React from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { isTextUIPart } from "ai";
11
11
  //#region src/components/agents-sdk/AgentEvent.tsx
@@ -73,8 +73,8 @@ function agentEventPreview(text) {
73
73
  * `AgentToolRunsProvider`.
74
74
  */
75
75
  function AgentEventRow({ className, event, message, ref, ...props }) {
76
- const agentTools = useOptionalAgentToolRuns();
77
- const run = event.runId ? agentTools?.runsById[event.runId] : void 0;
76
+ const { runId } = event;
77
+ const run = useRunsSelector(React.useCallback((state) => runId ? state.agentTools.runsById[runId] : void 0, [runId]), void 0);
78
78
  const name = run ? getSubagentRunName(run) : "Background task";
79
79
  const text = message.parts.filter(isTextUIPart).map((part) => part.text).join("\n").trim();
80
80
  return /* @__PURE__ */ jsxs(Activity, {
@@ -1,2 +1,2 @@
1
- import { a as useOptionalAgentToolRuns, i as AgentToolRunsProviderProps, n as AgentToolRunValue, r as AgentToolRunsProvider, t as AgentToolEventsValue } from "../../AgentToolRunsContext-DniwGn96.js";
2
- export { AgentToolEventsValue, AgentToolRunValue, AgentToolRunsProvider, AgentToolRunsProviderProps, useOptionalAgentToolRuns };
1
+ import { a as AgentToolRunsProviderProps, c as useStopCurrentWork, i as AgentToolRunsProvider, n as AgentToolEventsValue, o as useAgentRun, r as AgentToolRunValue, s as useAgentToolCollection, t as AgentRun } from "../../AgentToolRunsContext-Br3jZ6Up.js";
2
+ export { AgentRun, AgentToolEventsValue, AgentToolRunValue, AgentToolRunsProvider, AgentToolRunsProviderProps, useAgentRun, useAgentToolCollection, useStopCurrentWork };
@@ -1,16 +1,86 @@
1
+ import { a as runStopOffered, d as useRunsStore, i as createRunsStore, o as selectRunStop, r as RunsStoreContext, s as shallowEqual, u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
1
2
  import * as React from "react";
2
3
  import { jsx } from "react/jsx-runtime";
3
4
  //#region src/components/agents-sdk/AgentToolRunsContext.tsx
4
- const AgentToolRunsContext = React.createContext(null);
5
- /** Provides one parent connection's retained Agent Tool event projection. */
6
- function AgentToolRunsProvider({ agentTools, children }) {
7
- return /* @__PURE__ */ jsx(AgentToolRunsContext.Provider, {
8
- value: agentTools,
5
+ /**
6
+ * One parent connection's delegated runs: the retained Agent Tool projection,
7
+ * the thread's Stop commands with their pending and failed states, and focus
8
+ * return from an open run. Mount it with the parent connection, above
9
+ * transcript windows and the open run's loading and error boundaries.
10
+ *
11
+ * Every reader takes its own slice, so a chunk for one run re-renders only
12
+ * what shows that run: its lane, its roster row, its run surface.
13
+ */
14
+ function AgentToolRunsProvider({ scopeKey, agentTools, selectedRunId, onStopCurrentWork, onStopRun, children }) {
15
+ const host = {
16
+ agentTools,
17
+ selectedRunId,
18
+ onStopCurrentWork,
19
+ onStopRun
20
+ };
21
+ const [store, setStore] = React.useState(() => createRunsStore(scopeKey, host));
22
+ if (store.scopeKey !== scopeKey) setStore(createRunsStore(scopeKey, host));
23
+ React.useLayoutEffect(() => store.sync(host));
24
+ React.useLayoutEffect(() => {
25
+ if (!selectedRunId) return;
26
+ const claim = store.returnFocus.current;
27
+ if (claim?.to !== "lane" || claim.runId !== selectedRunId) store.returnFocus.current = { to: "pill" };
28
+ }, [store, selectedRunId]);
29
+ return /* @__PURE__ */ jsx(RunsStoreContext.Provider, {
30
+ value: store,
9
31
  children
10
32
  });
11
33
  }
12
- function useOptionalAgentToolRuns() {
13
- return React.useContext(AgentToolRunsContext);
34
+ function useRequiredRunsStore(hook) {
35
+ const store = useRunsStore();
36
+ if (!store) throw new Error(`${hook} must be used inside AgentToolRunsProvider.`);
37
+ return store;
38
+ }
39
+ function useAgentRun(runId) {
40
+ const store = useRequiredRunsStore("useAgentRun");
41
+ const select = React.useCallback((state) => runId === void 0 ? void 0 : {
42
+ run: state.agentTools.runsById[runId],
43
+ status: state.agentTools.collection.status,
44
+ error: state.agentTools.collection.error,
45
+ stop: selectRunStop(state, runId)
46
+ }, [runId]);
47
+ const slice = useRunsSelector(select, void 0, shallowEqual);
48
+ return React.useMemo(() => {
49
+ if (!slice) return void 0;
50
+ const { run, status, error, stop } = slice;
51
+ if (run) return {
52
+ state: "ready",
53
+ run,
54
+ onCancel: runStopOffered(run, stop) ? () => void store.stopRun(run.runId).catch(() => void 0) : void 0,
55
+ cancelPending: stop?.pending,
56
+ cancelError: stop?.error
57
+ };
58
+ if (status === "error") return {
59
+ state: "error",
60
+ error: error ?? "Could not load this run."
61
+ };
62
+ return { state: status === "ready" ? "unavailable" : "loading" };
63
+ }, [slice, store]);
64
+ }
65
+ const selectCollection = (state) => state.agentTools.collection;
66
+ const NO_COLLECTION = {
67
+ status: "loading",
68
+ stale: false
69
+ };
70
+ /** The parent roster's own state — loading, ready, or failed, and whether its rows are stale. */
71
+ function useAgentToolCollection() {
72
+ useRequiredRunsStore("useAgentToolCollection");
73
+ return useRunsSelector(selectCollection, NO_COLLECTION, shallowEqual);
74
+ }
75
+ const selectCanStopCurrentWork = (state) => state.onStopCurrentWork !== void 0;
76
+ /**
77
+ * The thread's Stop for the parent turn and every run it dispatched — the
78
+ * composer's Stop and the roster's "Stop current work" are one command, with
79
+ * one pending and failed state. Undefined when the host supplies none.
80
+ */
81
+ function useStopCurrentWork() {
82
+ const store = useRequiredRunsStore("useStopCurrentWork");
83
+ return useRunsSelector(selectCanStopCurrentWork, false) ? store.stopCurrentWork : void 0;
14
84
  }
15
85
  //#endregion
16
- export { AgentToolRunsProvider, useOptionalAgentToolRuns };
86
+ export { AgentToolRunsProvider, useAgentRun, useAgentToolCollection, useStopCurrentWork };
@@ -1,4 +1,4 @@
1
- import { E as KeyboardIcon, H as RefreshIcon, r as ArrowLeftIcon } from "../../icons-Cn3vWZRs.js";
1
+ import { D as KeyboardIcon, q as RefreshIcon, r as ArrowLeftIcon } from "../../icons-Yp99gmMC.js";
2
2
  import { Button } from "../foundations/Button.js";
3
3
  import { WebPreviewNavigationButton } from "../general-purpose/WebPreview.js";
4
4
  import { BrowserLiveView } from "./BrowserLiveView.js";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, _ as DotIcon, k as MaximizeIcon } from "../../icons-Cn3vWZRs.js";
2
+ import { M as MaximizeIcon, Z as SpinnerIcon, _ as DotIcon } from "../../icons-Yp99gmMC.js";
3
3
  import { Button } from "../foundations/Button.js";
4
4
  import { Dialog } from "../foundations/Dialog.js";
5
5
  import { TransitionSurface } from "../foundations/TransitionSurface.js";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { L as PauseIcon, z as PlayIcon } from "../../icons-Cn3vWZRs.js";
2
+ import { B as PauseIcon, U as PlayIcon } from "../../icons-Yp99gmMC.js";
3
3
  import { IconButton } from "../foundations/IconButton.js";
4
4
  import { i as formatClock } from "../../format-CWaZEp5o.js";
5
5
  import { EmptyState } from "../foundations/EmptyState.js";
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, rt as XIcon } from "../../icons-Cn3vWZRs.js";
2
+ import { Z as SpinnerIcon, lt as XIcon } from "../../icons-Yp99gmMC.js";
3
3
  import { Tabs } from "../foundations/Tabs.js";
4
4
  import { WebPreview, WebPreviewEmpty, WebPreviewNavigation, WebPreviewNavigationButton, WebPreviewUrl, WebPreviewViewport } from "../general-purpose/WebPreview.js";
5
5
  import { BrowserLiveView } from "./BrowserLiveView.js";
@@ -1,5 +1,6 @@
1
- import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-Buo6gKj2.js";
2
- import { f as EmployeeShellProps, l as EmployeeModelSetup, n as EmployeeBrand, p as EmployeeStatus, t as EmployeeAgentRun } from "../../EmployeeChrome-QSki0QT4.js";
1
+ import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-C8HH2fMT.js";
2
+ import { t as AgentRun } from "../../AgentToolRunsContext-Br3jZ6Up.js";
3
+ import { c as EmployeeModelSetup, d as EmployeeShellProps, f as EmployeeStatus, t as EmployeeBrand } from "../../EmployeeChrome-D3IgFX22.js";
3
4
  import * as React from "react";
4
5
  //#region src/components/agents-sdk/EmployeeApp.d.ts
5
6
  export interface EmployeeAppRootProps extends EmployeeShellProps {
@@ -28,7 +29,7 @@ export interface EmployeeAppContentProps {
28
29
  declare function EmployeeAppContent({ view, workbench, live, children }: EmployeeAppContentProps): React.JSX.Element;
29
30
  /** Local run failure presentation; keep the parent connection and queue above this part. */
30
31
  declare function EmployeeAppConversation({ run, children }: {
31
- run: EmployeeAgentRun | null;
32
+ run: AgentRun | null;
32
33
  children: React.ReactNode;
33
34
  }): React.JSX.Element;
34
35
  /** Compose one persistent frame around independently hydrating conversation content. */
@@ -1,4 +1,4 @@
1
- import { tt as WarningIcon } from "../../icons-Cn3vWZRs.js";
1
+ import { st as WarningIcon } from "../../icons-Yp99gmMC.js";
2
2
  import { WorkbenchBack } from "./WorkbenchBack.js";
3
3
  import { StatusScreen } from "../general-purpose/StatusScreen.js";
4
4
  import { EmployeeChrome } from "./EmployeeChrome.js";
@@ -1,4 +1,4 @@
1
- import { E as PromptInputCommandComposerProps, M as PromptInputContextSelectorProps } from "../../PromptInput-C3adKglc.js";
1
+ import { E as PromptInputCommandComposerProps, M as PromptInputContextSelectorProps } from "../../PromptInput-Dbe6WgWA.js";
2
2
  import { AgentChatTranscriptProps } from "./AgentChat.js";
3
3
  import { ConversationTabPickerProps } from "../extension/ConversationTabPicker.js";
4
4
  import { SetupChecklistGroupProps } from "../general-purpose/SetupChecklist.js";
@@ -7,6 +7,7 @@ import { EmployeeStartScreenProps } from "./EmployeeStartScreen.js";
7
7
  import { ContextProps } from "../ai-sdk/Context.js";
8
8
  import { CodexModelSelectorProps } from "../extension/CodexModelSelector.js";
9
9
  import { ThinkChatMessageContentProps } from "./ThinkChat.js";
10
+ import { WorkspaceFileRenderer } from "./WorkspaceMessageResponse.js";
10
11
  import * as React from "react";
11
12
  //#region src/components/agents-sdk/EmployeeChat.d.ts
12
13
  export interface EmployeeComposerProps<Id extends string = string> {
@@ -35,9 +36,15 @@ export declare const EmployeeComposer: typeof EmployeeComposerContent;
35
36
  export interface EmployeeTranscriptProps extends Omit<ThinkChatMessageContentProps, "message"> {
36
37
  readOnly?: boolean;
37
38
  scrollAnchor?: AgentChatTranscriptProps["scrollAnchor"];
39
+ /**
40
+ * Promotes a workspace file paragraph to its concept card. It reaches the
41
+ * paragraphs through context, so a new function re-renders those paragraphs
42
+ * and never the memoized rows around them.
43
+ */
44
+ renderWorkspaceFile?: WorkspaceFileRenderer;
38
45
  }
39
46
  /** Shared message content and actions, including the same read-only run behavior. */
40
- export declare function EmployeeTranscript({ scrollAnchor, ...content }: EmployeeTranscriptProps): React.JSX.Element;
47
+ export declare function EmployeeTranscript({ scrollAnchor, renderWorkspaceFile, ...content }: EmployeeTranscriptProps): React.JSX.Element;
41
48
  /** Common dock ordering. Hosts supply the runtime-backed notices and composer. */
42
49
  export declare function EmployeeChatDock({ recovery, notices, readOnly, children }: {
43
50
  recovery?: React.ReactNode;
@@ -1,11 +1,12 @@
1
1
  import { PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuTrigger, PromptInputAttachments, PromptInputBody, PromptInputCommandComposer, PromptInputContextSelector, PromptInputFooter, PromptInputFooterEnd, PromptInputTools } from "../ai-sdk/PromptInput.js";
2
- import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
2
+ import { Context, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
3
+ import { CodexModelSelector } from "../extension/CodexModelSelector.js";
3
4
  import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
4
- import { n as SetupChecklistGroup } from "../../SetupChecklist-BNK2XFaI.js";
5
+ import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
6
+ import { n as SetupChecklistGroup } from "../../SetupChecklist-Wo4akaSG.js";
5
7
  import { McpServerPickerItems } from "./McpServerPicker.js";
6
8
  import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
7
- import { Context, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
8
- import { CodexModelSelector } from "../extension/CodexModelSelector.js";
9
+ import { t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-BZ-_I18b.js";
9
10
  import { ThinkChat } from "./ThinkChat.js";
10
11
  import * as React from "react";
11
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -89,12 +90,15 @@ const EmployeeMessage = React.memo(function EmployeeMessage({ message, messageIn
89
90
  });
90
91
  });
91
92
  /** Shared message content and actions, including the same read-only run behavior. */
92
- function EmployeeTranscript({ scrollAnchor, ...content }) {
93
- return /* @__PURE__ */ jsx(AgentChat.Transcript, {
94
- scrollAnchor,
95
- children: (row) => /* @__PURE__ */ jsx(EmployeeMessage, {
96
- ...row,
97
- ...content
93
+ function EmployeeTranscript({ scrollAnchor, renderWorkspaceFile, ...content }) {
94
+ return /* @__PURE__ */ jsx(WorkspaceFileRendererProvider, {
95
+ renderWorkspaceFile,
96
+ children: /* @__PURE__ */ jsx(AgentChat.Transcript, {
97
+ scrollAnchor,
98
+ children: (row) => /* @__PURE__ */ jsx(EmployeeMessage, {
99
+ ...row,
100
+ ...content
101
+ })
98
102
  })
99
103
  });
100
104
  }
@@ -1,2 +1,2 @@
1
- import { a as EmployeeDestination, c as EmployeeMenuProps, d as EmployeeRenderLink, f as EmployeeShellProps, h as EmployeeWorkbenchItem, i as EmployeeCompanion, l as EmployeeModelSetup, m as EmployeeView, n as EmployeeBrand, o as EmployeeFollow, p as EmployeeStatus, r as EmployeeChrome, s as EmployeeIdentity, t as EmployeeAgentRun, u as EmployeePasskeyVault } from "../../EmployeeChrome-QSki0QT4.js";
2
- export { EmployeeAgentRun, EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeMenuProps, EmployeeModelSetup, EmployeePasskeyVault, EmployeeRenderLink, EmployeeShellProps, EmployeeStatus, EmployeeView, EmployeeWorkbenchItem };
1
+ import { a as EmployeeFollow, c as EmployeeModelSetup, d as EmployeeShellProps, f as EmployeeStatus, i as EmployeeDestination, l as EmployeePasskeyVault, m as EmployeeWorkbenchItem, n as EmployeeChrome, o as EmployeeIdentity, p as EmployeeView, r as EmployeeCompanion, s as EmployeeMenuProps, t as EmployeeBrand, u as EmployeeRenderLink } from "../../EmployeeChrome-D3IgFX22.js";
2
+ export { EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeMenuProps, EmployeeModelSetup, EmployeePasskeyVault, EmployeeRenderLink, EmployeeShellProps, EmployeeStatus, EmployeeView, EmployeeWorkbenchItem };
@@ -1,23 +1,23 @@
1
1
  import { findCatalogMcpServerCard } from "../../utils/mcp-server-catalog.js";
2
- import { A as McpIcon, C as FolderIcon, F as MoonIcon, J as SquareIcon, K as SpinnerIcon, P as MonitorIcon, Q as TerminalIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, V as QueueIcon, X as SunIcon, b as EyeIcon, c as BoxIcon, j as MessageSquareIcon, o as ArrowUpRightIcon, r as ArrowLeftIcon, tt as WarningIcon, u as CalendarIcon, y as EllipsisIcon } from "../../icons-Cn3vWZRs.js";
2
+ import { $ as SquareIcon, C as FileIcon, E as InfoIcon, K as QueueIcon, L as MonitorIcon, N as McpIcon, P as MessageSquareIcon, R as MoonIcon, V as PencilIcon, Z as SpinnerIcon, c as BoxIcon, o as ArrowUpRightIcon, r as ArrowLeftIcon, rt as TerminalIcon, st as WarningIcon, tt as SunIcon, u as CalendarIcon, w as FolderIcon, x as EyeIcon, y as EllipsisIcon } from "../../icons-Yp99gmMC.js";
3
3
  import { Button } from "../foundations/Button.js";
4
+ import { Menu } from "../foundations/Menu.js";
4
5
  import { Tooltip } from "../foundations/Tooltip.js";
5
6
  import { Dialog } from "../foundations/Dialog.js";
6
7
  import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
8
+ import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
9
+ import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
10
+ import { DescriptionList } from "../foundations/DescriptionList.js";
11
+ import { Avatar } from "../foundations/Avatar.js";
12
+ import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
13
+ import { EmptyState } from "../foundations/EmptyState.js";
14
+ import { AppTopBar } from "../general-purpose/AppTopBar.js";
15
+ import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
7
16
  import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
8
- import { Menu } from "../foundations/Menu.js";
9
17
  import { BrandLoading } from "../general-purpose/BrandLoading.js";
10
18
  import { AgentChat } from "./AgentChat.js";
11
- import { EmptyState } from "../foundations/EmptyState.js";
12
- import { AppTopBar } from "../general-purpose/AppTopBar.js";
13
- import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
14
- import { AgentChatStartScreen, AgentChatStartScreenComposer, AgentChatStartScreenPrimary, AgentChatStartScreenSuggestions, AgentChatStartScreenTray, AgentChatStarterList } from "../ai-sdk/AgentChatStartScreen.js";
15
- import { ChatGptSignInScreen } from "../extension/ChatGptSignInScreen.js";
16
- import { Avatar } from "../foundations/Avatar.js";
17
- import { DescriptionList } from "../foundations/DescriptionList.js";
18
19
  import { useTheme } from "../foundations/ThemeProvider.js";
19
20
  import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
20
- import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
21
21
  import { McpServerIcon } from "./McpServerIcon.js";
22
22
  import { ThinkThreadPicker, ThinkThreadStatusIndicators, summarizeThinkThreads } from "./ThinkThreadPicker.js";
23
23
  import * as React from "react";
@@ -118,7 +118,7 @@ function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut,
118
118
  })
119
119
  }, item.id)),
120
120
  /* @__PURE__ */ jsx(MenuHint, {
121
- hint: "Create and manage recurring tasks and review their runs.",
121
+ hint: "Run a prompt or an automation at set times, and review the runs.",
122
122
  children: /* @__PURE__ */ jsxs(Menu.Item, {
123
123
  "aria-current": view === "schedules" ? "page" : void 0,
124
124
  onClick: closeSidebarOnCompact,
@@ -324,7 +324,10 @@ function employeeShellTitle({ agentRun, threadTitle, view, destinationTitle }) {
324
324
  if (view === "live") return "Live view";
325
325
  return destinationTitle ?? "Workspace";
326
326
  }
327
- const content = agentRun.state === "ready" ? /* @__PURE__ */ jsx(SubagentRunLabel, { run: agentRun.run }) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerIcon, {}), /* @__PURE__ */ jsx("span", {
327
+ const content = agentRun.state === "ready" ? /* @__PURE__ */ jsx(SubagentRunLabel, {
328
+ run: agentRun.run,
329
+ error: agentRun.cancelError
330
+ }) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerIcon, {}), /* @__PURE__ */ jsx("span", {
328
331
  className: "sigvelo-truncate",
329
332
  children: "Delegated run"
330
333
  })] });
@@ -479,6 +482,7 @@ function EmployeeGate({ status, connectingLabel, identity, brand, modelSetup })
479
482
  error: modelSetup?.error,
480
483
  label: modelSetup?.label,
481
484
  title: "Meet " + brand.name,
485
+ description: "Your new AI teammate.",
482
486
  brandName: "SigVelo",
483
487
  onSignIn: modelSetup?.onSignIn,
484
488
  secondaryAction: modelSetup?.onCustomEndpoint ? {
@@ -556,15 +560,23 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
556
560
  children: [
557
561
  /* @__PURE__ */ jsx(ActionGuideSection, {
558
562
  title: "Start with a quick browser job",
559
- children: /* @__PURE__ */ jsxs(ActionGuideList, { children: [/* @__PURE__ */ jsx(ActionGuideAction, {
560
- icon: /* @__PURE__ */ jsx(BoxIcon, {}),
561
- onClick: () => send("Organize this window’s tabs by task."),
562
- children: "Organize this window’s tabs by task"
563
- }), /* @__PURE__ */ jsx(ActionGuideAction, {
564
- icon: /* @__PURE__ */ jsx(EyeIcon, {}),
565
- onClick: () => send("Close duplicate tabs in this window."),
566
- children: "Close duplicate tabs in this window"
567
- })] })
563
+ children: /* @__PURE__ */ jsxs(ActionGuideList, { children: [
564
+ /* @__PURE__ */ jsx(ActionGuideAction, {
565
+ icon: /* @__PURE__ */ jsx(BoxIcon, {}),
566
+ onClick: () => send("Organize this window’s tabs by task."),
567
+ children: "Organize this window’s tabs by task"
568
+ }),
569
+ /* @__PURE__ */ jsx(ActionGuideAction, {
570
+ icon: /* @__PURE__ */ jsx(EyeIcon, {}),
571
+ onClick: () => send("Close duplicate tabs in this window."),
572
+ children: "Close duplicate tabs in this window"
573
+ }),
574
+ /* @__PURE__ */ jsx(ActionGuideAction, {
575
+ icon: /* @__PURE__ */ jsx(MonitorIcon, {}),
576
+ onClick: () => send("Record a browser walkthrough as an MP4."),
577
+ children: "Record a browser walkthrough as an MP4"
578
+ })
579
+ ] })
568
580
  }),
569
581
  /* @__PURE__ */ jsx(ActionGuideSection, {
570
582
  title: "Set up ongoing work",
@@ -572,9 +584,9 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
572
584
  layout: "cards",
573
585
  children: [
574
586
  /* @__PURE__ */ jsx(ActionGuideAction, {
575
- icon: /* @__PURE__ */ jsx(QueueIcon, {}),
576
- onClick: () => send("Help me create a recurring task that runs on a schedule."),
577
- children: "Create a recurring task"
587
+ icon: /* @__PURE__ */ jsx(CalendarIcon, {}),
588
+ onClick: () => send("Help me create a schedule."),
589
+ children: "Create a schedule"
578
590
  }),
579
591
  setupActions,
580
592
  /* @__PURE__ */ jsx(ActionGuideAction, {
@@ -586,27 +598,27 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
586
598
  })
587
599
  }),
588
600
  /* @__PURE__ */ jsx(ActionGuideSection, {
589
- title: "Build a larger workflow",
601
+ title: "Make an automation",
590
602
  children: /* @__PURE__ */ jsxs(ActionGuideList, {
591
603
  layout: "list",
592
604
  children: [
605
+ /* @__PURE__ */ jsx(ActionGuideAction, {
606
+ icon: /* @__PURE__ */ jsx(QueueIcon, {}),
607
+ variant: "ghost",
608
+ onClick: () => send("Help me make an automation."),
609
+ children: "Save a job to run anytime"
610
+ }),
593
611
  /* @__PURE__ */ jsx(ActionGuideAction, {
594
612
  icon: /* @__PURE__ */ jsx(TerminalIcon, {}),
595
613
  variant: "ghost",
596
- onClick: () => send("Automate a workflow across my signed-in browser tabs."),
614
+ onClick: () => send("Help me make an automation that works across my signed-in browser tabs."),
597
615
  children: "Automate work across signed-in tabs"
598
616
  }),
599
617
  /* @__PURE__ */ jsx(ActionGuideAction, {
600
618
  icon: /* @__PURE__ */ jsx(FolderIcon, {}),
601
619
  variant: "ghost",
602
- onClick: () => send("Move files between a signed-in website and the workspace."),
620
+ onClick: () => send("Help me make an automation that moves files between a signed-in website and the workspace."),
603
621
  children: "Move files between a website and the workspace"
604
- }),
605
- /* @__PURE__ */ jsx(ActionGuideAction, {
606
- icon: /* @__PURE__ */ jsx(EyeIcon, {}),
607
- variant: "ghost",
608
- onClick: () => send("Record a browser workflow as an MP4."),
609
- children: "Record a browser workflow as an MP4"
610
622
  })
611
623
  ]
612
624
  })
@@ -1,16 +1,16 @@
1
- import { c as EmployeeMenuProps } from "../../EmployeeChrome-QSki0QT4.js";
2
- import { p as WorkspaceExecution } from "../../WorkspaceExecutionTable-DNhj6YDX.js";
3
- import { t as ThinkRoutine } from "../../ThinkRoutine-DoZjbzyn.js";
4
- import { ThinkRoutineActionsRootProps } from "./ThinkRoutineActions.js";
1
+ import { s as EmployeeMenuProps } from "../../EmployeeChrome-D3IgFX22.js";
2
+ import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-B2Pdz_SU.js";
3
+ import { t as ThinkSchedule } from "../../ThinkSchedule-5S834QKW.js";
4
+ import { ThinkScheduleActionsRootProps } from "./ThinkScheduleActions.js";
5
5
  import * as React from "react";
6
6
  //#region src/components/agents-sdk/EmployeeSchedules.d.ts
7
- export interface EmployeeSchedulesProps<Routine extends ThinkRoutine = ThinkRoutine> extends EmployeeMenuProps, Pick<ThinkRoutineActionsRootProps<Routine>, "sourceKey" | "onRun" | "onEnabledChange" | "onDelete"> {
8
- routines: readonly Routine[];
9
- /** Saved workflow metadata for readable names and inputs in schedule details. */
10
- scripts?: readonly WorkspaceExecution[];
11
- selectedRoutineId: string | null;
7
+ export interface EmployeeSchedulesProps<TSchedule extends ThinkSchedule = ThinkSchedule> extends EmployeeMenuProps, Pick<ThinkScheduleActionsRootProps<TSchedule>, "sourceKey" | "onRun" | "onEnabledChange" | "onDelete"> {
8
+ schedules: readonly TSchedule[];
9
+ /** Saved automation metadata for readable names and inputs in schedule details. */
10
+ automations?: readonly WorkspaceAutomation[];
11
+ selectedScheduleId: string | null;
12
12
  error?: React.ReactNode;
13
13
  }
14
14
  /** Schedule navigation, selection, empty states and controls shared by every host. */
15
- export declare function EmployeeSchedules<Routine extends ThinkRoutine>({ routines, scripts, selectedRoutineId, error, sourceKey, onRun, onEnabledChange, onDelete, ...menu }: EmployeeSchedulesProps<Routine>): React.JSX.Element;
15
+ export declare function EmployeeSchedules<TSchedule extends ThinkSchedule>({ schedules, automations, selectedScheduleId, error, sourceKey, onRun, onEnabledChange, onDelete, ...menu }: EmployeeSchedulesProps<TSchedule>): React.JSX.Element;
16
16
  //#endregion