@mcp-b/react-components 0.60.0 → 0.62.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 (366) 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-D5x4EM9y.d.ts} +19 -35
  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-CSuDGrZ9.d.ts +34 -0
  25. package/dist/{Workspace-iCkXvQRJ.d.ts → Workspace-42LA9Zrb.d.ts} +1 -1
  26. package/dist/WorkspaceAutomation-CMvICi-p.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/{codex-model-catalog-CFEGgUAj.d.ts → codex-model-catalog-18yO7dln.d.ts} +8 -8
  44. package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
  45. package/dist/components/agents-sdk/AgentActivity.js +5 -4
  46. package/dist/components/agents-sdk/AgentChat.d.ts +4 -4
  47. package/dist/components/agents-sdk/AgentChat.js +8 -8
  48. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  49. package/dist/components/agents-sdk/AgentEvent.js +5 -5
  50. package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
  51. package/dist/components/agents-sdk/AgentToolRunsContext.js +78 -8
  52. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  53. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  54. package/dist/components/agents-sdk/BrowserReplay.js +1 -1
  55. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  56. package/dist/components/agents-sdk/EmployeeApp.d.ts +4 -3
  57. package/dist/components/agents-sdk/EmployeeApp.js +2 -2
  58. package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
  59. package/dist/components/agents-sdk/EmployeeChat.js +15 -11
  60. package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
  61. package/dist/components/agents-sdk/EmployeeChrome.js +53 -35
  62. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +10 -10
  63. package/dist/components/agents-sdk/EmployeeSchedules.js +39 -39
  64. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +3 -3
  65. package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
  66. package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
  67. package/dist/components/agents-sdk/ExecutionBoard.js +7 -33
  68. package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
  69. package/dist/components/agents-sdk/ManagerOffice.d.ts +10 -14
  70. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  71. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +1 -1
  72. package/dist/components/agents-sdk/ManagerOfficeScreens.js +3 -3
  73. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
  74. package/dist/components/agents-sdk/McpConnectionRequest.js +2 -2
  75. package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
  76. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  77. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
  78. package/dist/components/agents-sdk/McpPluginCatalog.js +4 -4
  79. package/dist/components/agents-sdk/McpServerIcon.d.ts +1 -1
  80. package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
  81. package/dist/components/agents-sdk/McpServerPicker.js +2 -2
  82. package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
  83. package/dist/components/agents-sdk/ModelSelector.d.ts +2 -2
  84. package/dist/components/agents-sdk/ModelSelector.js +7 -6
  85. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  86. package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
  87. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  88. package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +4 -2
  89. package/dist/components/agents-sdk/SubagentRunIndicator.js +4 -3
  90. package/dist/components/agents-sdk/SubagentRunLanes.d.ts +38 -0
  91. package/dist/components/agents-sdk/SubagentRunLanes.js +160 -0
  92. package/dist/components/agents-sdk/SubagentRunPanel.d.ts +3 -28
  93. package/dist/components/agents-sdk/SubagentRunPanel.js +145 -190
  94. package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
  95. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  96. package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
  97. package/dist/components/agents-sdk/ThinkChat.js +5 -8
  98. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  99. package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
  100. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  101. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
  102. package/dist/components/agents-sdk/ThinkChatToolPanels.js +13 -28
  103. package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
  104. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  105. package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
  106. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
  107. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  108. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
  109. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +4 -4
  110. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  111. package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
  112. package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
  113. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
  114. package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
  115. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
  116. package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +47 -45
  117. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
  118. package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
  119. package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
  120. package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
  121. package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
  122. package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
  123. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  124. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  125. package/dist/components/agents-sdk/Workspace.js +1 -1
  126. package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
  127. package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
  128. package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
  129. package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
  130. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  131. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  132. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
  133. package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
  134. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
  135. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
  136. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
  137. package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
  138. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  139. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
  140. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  141. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  142. package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
  143. package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
  144. package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
  145. package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
  146. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
  147. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  148. package/dist/components/agents-sdk/WorkspaceMountManager.js +1 -1
  149. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
  150. package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
  151. package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
  152. package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
  153. package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
  154. package/dist/components/ai-sdk/Activity.js +1 -1
  155. package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
  156. package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
  157. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
  158. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  159. package/dist/components/ai-sdk/Approval.js +2 -2
  160. package/dist/components/ai-sdk/Artifact.d.ts +1 -1
  161. package/dist/components/ai-sdk/Artifact.js +2 -2
  162. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  163. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  164. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  165. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  166. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  167. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  168. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
  169. package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
  170. package/dist/components/ai-sdk/Context.js +1 -1
  171. package/dist/components/ai-sdk/Conversation.d.ts +1 -1
  172. package/dist/components/ai-sdk/Conversation.js +3 -3
  173. package/dist/components/ai-sdk/Goal.js +1 -1
  174. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
  175. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  176. package/dist/components/ai-sdk/Message.d.ts +1 -1
  177. package/dist/components/ai-sdk/Message.js +12 -4
  178. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  179. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  180. package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
  181. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  182. package/dist/components/ai-sdk/Plan.js +1 -1
  183. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  184. package/dist/components/ai-sdk/PromptInput.js +6 -6
  185. package/dist/components/ai-sdk/Queue.d.ts +1 -1
  186. package/dist/components/ai-sdk/Queue.js +1 -1
  187. package/dist/components/ai-sdk/Reasoning.js +1 -1
  188. package/dist/components/ai-sdk/Sources.js +1 -1
  189. package/dist/components/ai-sdk/Task.js +1 -1
  190. package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
  191. package/dist/components/extension/ChatGptSignInScreen.js +32 -32
  192. package/dist/components/extension/CodexModelSelector.d.ts +1 -1
  193. package/dist/components/extension/CodexModelSelector.js +2 -2
  194. package/dist/components/extension/ConversationTabPicker.js +2 -2
  195. package/dist/components/extension/FirstRunSetup.d.ts +117 -0
  196. package/dist/components/extension/FirstRunSetup.js +1175 -0
  197. package/dist/components/foundations/AlertDialog.d.ts +1 -1
  198. package/dist/components/foundations/AppIcon.d.ts +5 -2
  199. package/dist/components/foundations/Button.d.ts +1 -1
  200. package/dist/components/foundations/Button.js +1 -1
  201. package/dist/components/foundations/Card.d.ts +1 -1
  202. package/dist/components/foundations/Card.js +2 -2
  203. package/dist/components/foundations/Checkbox.js +1 -1
  204. package/dist/components/foundations/Collapsible.js +1 -1
  205. package/dist/components/foundations/ContextMenu.js +1 -1
  206. package/dist/components/foundations/DescriptionList.d.ts +3 -1
  207. package/dist/components/foundations/DescriptionList.js +2 -1
  208. package/dist/components/foundations/IconButton.d.ts +1 -1
  209. package/dist/components/foundations/LinkButton.d.ts +1 -1
  210. package/dist/components/foundations/Menubar.js +1 -1
  211. package/dist/components/foundations/Popover.js +1 -1
  212. package/dist/components/foundations/SearchField.js +1 -1
  213. package/dist/components/foundations/Select.js +1 -1
  214. package/dist/components/foundations/Stepper.js +1 -1
  215. package/dist/components/foundations/Toast.js +1 -1
  216. package/dist/components/foundations/Toggle.d.ts +2 -4
  217. package/dist/components/foundations/Toggle.js +3 -7
  218. package/dist/components/foundations/ToggleGroup.d.ts +3 -5
  219. package/dist/components/foundations/ToggleGroup.js +5 -17
  220. package/dist/components/foundations/icons.d.ts +2 -2
  221. package/dist/components/foundations/icons.js +2 -2
  222. package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
  223. package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
  224. package/dist/components/general-purpose/Commit.d.ts +1 -1
  225. package/dist/components/general-purpose/Commit.js +2 -2
  226. package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
  227. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  228. package/dist/components/general-purpose/FileTree.js +1 -1
  229. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  230. package/dist/components/general-purpose/PricingPlanCard.js +3 -3
  231. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  232. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
  233. package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
  234. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  235. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  236. package/dist/components/general-purpose/Terminal.d.ts +2 -2
  237. package/dist/components/general-purpose/Terminal.js +2 -2
  238. package/dist/components/general-purpose/TestResults.js +1 -1
  239. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  240. package/dist/components/general-purpose/WebPreview.d.ts +1 -1
  241. package/dist/components/general-purpose/WebPreview.js +1 -1
  242. package/dist/components/nanites/AgentConnection.js +3 -3
  243. package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
  244. package/dist/components/nanites/AgentToolDetail.js +4 -4
  245. package/dist/connected-app-drafts-B9i69bkj.js +283 -0
  246. package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
  247. package/dist/{copy-button-BsmxSSeD.js → copy-button-z20VEXRF.js} +1 -1
  248. package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
  249. package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
  250. package/dist/{icons-Cn3vWZRs.js → icons-Yp99gmMC.js} +9 -3
  251. package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
  252. package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
  253. package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
  254. package/dist/styles/accessibility.css +22 -9
  255. package/dist/styles/accordion.css +2 -2
  256. package/dist/styles/activity-header.css +14 -11
  257. package/dist/styles/activity.css +6 -13
  258. package/dist/styles/agent-attention.css +0 -23
  259. package/dist/styles/agent-chat.css +8 -3
  260. package/dist/styles/agent-connection.css +2 -2
  261. package/dist/styles/app-icon.css +7 -0
  262. package/dist/styles/app-top-bar.css +3 -11
  263. package/dist/styles/approval.css +2 -2
  264. package/dist/styles/base.css +3 -1
  265. package/dist/styles/browser-live-screen.css +3 -1
  266. package/dist/styles/browser-run-panel.css +2 -2
  267. package/dist/styles/button.css +13 -44
  268. package/dist/styles/card.css +42 -5
  269. package/dist/styles/chain-of-thought.css +2 -8
  270. package/dist/styles/chatgpt-sign-in-screen.css +91 -83
  271. package/dist/styles/checkbox-group.css +2 -1
  272. package/dist/styles/checkbox.css +4 -6
  273. package/dist/styles/code-block.css +2 -1
  274. package/dist/styles/codex-model-selector.css +2 -2
  275. package/dist/styles/collapsible.css +2 -2
  276. package/dist/styles/color-contrast.test.ts +1 -0
  277. package/dist/styles/combobox.css +5 -9
  278. package/dist/styles/commit.css +2 -7
  279. package/dist/styles/composer-link.css +0 -10
  280. package/dist/styles/connected-app-card.css +32 -32
  281. package/dist/styles/context-menu.css +2 -2
  282. package/dist/styles/description-list.css +14 -0
  283. package/dist/styles/execution-board.css +1 -1
  284. package/dist/styles/execution-result.css +161 -0
  285. package/dist/styles/file-tree.css +5 -9
  286. package/dist/styles/first-run-setup.css +751 -0
  287. package/dist/styles/index.css +5 -2
  288. package/dist/styles/inline-citation.css +2 -10
  289. package/dist/styles/manager-office.css +16 -43
  290. package/dist/styles/marker.css +2 -2
  291. package/dist/styles/media-preview-card.css +2 -7
  292. package/dist/styles/message-scroller.css +3 -2
  293. package/dist/styles/model-selector.css +19 -15
  294. package/dist/styles/navigation-menu.css +4 -4
  295. package/dist/styles/number-field.css +2 -3
  296. package/dist/styles/preview-card.css +2 -2
  297. package/dist/styles/prompt-input.css +5 -15
  298. package/dist/styles/queue.css +2 -7
  299. package/dist/styles/radio.css +4 -6
  300. package/dist/styles/recipes.css +25 -52
  301. package/dist/styles/resizable-side-panel.css +3 -2
  302. package/dist/styles/responsive-sidebar-shell.css +1 -6
  303. package/dist/styles/scroll-area.css +3 -2
  304. package/dist/styles/scrollbars.css +2 -0
  305. package/dist/styles/search-field.css +1 -2
  306. package/dist/styles/slider.css +4 -5
  307. package/dist/styles/sources.css +2 -7
  308. package/dist/styles/stepper.css +4 -4
  309. package/dist/styles/streamdown.css +8 -1
  310. package/dist/styles/subagent-run.css +123 -12
  311. package/dist/styles/switch.css +4 -7
  312. package/dist/styles/tabs.css +5 -4
  313. package/dist/styles/task.css +2 -7
  314. package/dist/styles/test-results.css +2 -7
  315. package/dist/styles/theme-mode-control.css +0 -6
  316. package/dist/styles/think-chat-activity.css +0 -8
  317. package/dist/styles/think-execution-status.css +1 -1
  318. package/dist/styles/think-execution-workbench.css +3 -3
  319. package/dist/styles/think-full-app.css +3 -2
  320. package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
  321. package/dist/styles/toggle-group.css +9 -6
  322. package/dist/styles/toggle.css +23 -15
  323. package/dist/styles/toolbar.css +0 -6
  324. package/dist/styles/workspace-automation.css +233 -0
  325. package/dist/styles/workspace-concepts.css +18 -412
  326. package/dist/styles/workspace-entity-card.css +146 -0
  327. package/dist/styles/workspace-explorer.css +4 -3
  328. package/dist/utils/codex-model-catalog.d.ts +1 -1
  329. package/dist/utils/mcp-server-catalog.d.ts +2 -2
  330. package/dist/utils/mcp-server-catalog.js +108 -21
  331. package/dist/utils/structured-code.d.ts +1 -1
  332. package/dist/{workspace-assets-RD6IhOyh.js → workspace-assets-Dq5toMQc.js} +34 -38
  333. package/dist/workspace-concept-panel-CxZfmFkP.js +66 -0
  334. package/dist/workspace-concept-panel-KpMmznB_.d.ts +21 -0
  335. package/dist/{workspace-delete-CrNGUuBp.js → workspace-delete-CoB0l6ZU.js} +2 -1
  336. package/dist/workspace-entity-card-2TC3RPKh.d.ts +7 -0
  337. package/dist/workspace-entity-card-B1aV-jBj.js +61 -0
  338. package/dist/workspace-person-BSgvRjZE.d.ts +24 -0
  339. package/dist/workspace-person-BVkYb3dv.js +116 -0
  340. package/package.json +2 -2
  341. package/dist/AgentToolRunsContext-DniwGn96.d.ts +0 -18
  342. package/dist/Correspondent-ANkZHGEa.d.ts +0 -60
  343. package/dist/ThinkRoutine-DoZjbzyn.d.ts +0 -41
  344. package/dist/WorkspaceConceptPanel-D21iRsWm.js +0 -23
  345. package/dist/WorkspaceExecutionTable-DNhj6YDX.d.ts +0 -239
  346. package/dist/WorkspaceMessageResponse-D8FGgIQU.d.ts +0 -39
  347. package/dist/components/agents-sdk/SubagentRunList.d.ts +0 -17
  348. package/dist/components/agents-sdk/SubagentRunList.js +0 -26
  349. package/dist/components/agents-sdk/ThinkRoutine.d.ts +0 -2
  350. package/dist/components/agents-sdk/ThinkRoutine.js +0 -9
  351. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +0 -42
  352. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +0 -25
  353. package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +0 -19
  354. package/dist/components/agents-sdk/ThinkRoutineDetail.js +0 -97
  355. package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +0 -59
  356. package/dist/components/agents-sdk/ThinkRoutineForm.js +0 -744
  357. package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +0 -15
  358. package/dist/components/agents-sdk/ThinkRoutineRuns.js +0 -52
  359. package/dist/components/agents-sdk/WorkspaceExecution.d.ts +0 -2
  360. package/dist/components/agents-sdk/WorkspaceExecution.js +0 -843
  361. package/dist/components/agents-sdk/WorkspaceExecutionTable.d.ts +0 -2
  362. package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +0 -36
  363. package/dist/components/agents-sdk/WorkspaceUserScript.js +0 -153
  364. package/dist/components/ai-sdk/Correspondent.d.ts +0 -2
  365. package/dist/components/ai-sdk/Correspondent.js +0 -145
  366. package/dist/styles/correspondent.css +0 -73
@@ -76,7 +76,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
76
76
  readonly upgradeInfo: null;
77
77
  readonly availabilityNux: null;
78
78
  readonly hidden: boolean;
79
- readonly inputModalities: ("text" | "image")[];
79
+ readonly inputModalities: ("image" | "text")[];
80
80
  readonly supportsPersonality: boolean;
81
81
  readonly additionalSpeedTiers: never[];
82
82
  readonly serviceTiers: never[];
@@ -93,7 +93,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
93
93
  readonly upgradeInfo: null;
94
94
  readonly availabilityNux: null;
95
95
  readonly hidden: boolean;
96
- readonly inputModalities: ("text" | "image")[];
96
+ readonly inputModalities: ("image" | "text")[];
97
97
  readonly supportsPersonality: boolean;
98
98
  readonly additionalSpeedTiers: never[];
99
99
  readonly serviceTiers: never[];
@@ -110,7 +110,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
110
110
  readonly upgradeInfo: null;
111
111
  readonly availabilityNux: null;
112
112
  readonly hidden: boolean;
113
- readonly inputModalities: ("text" | "image")[];
113
+ readonly inputModalities: ("image" | "text")[];
114
114
  readonly supportsPersonality: boolean;
115
115
  readonly additionalSpeedTiers: never[];
116
116
  readonly serviceTiers: never[];
@@ -127,7 +127,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
127
127
  readonly upgradeInfo: null;
128
128
  readonly availabilityNux: null;
129
129
  readonly hidden: boolean;
130
- readonly inputModalities: ("text" | "image")[];
130
+ readonly inputModalities: ("image" | "text")[];
131
131
  readonly supportsPersonality: boolean;
132
132
  readonly additionalSpeedTiers: never[];
133
133
  readonly serviceTiers: never[];
@@ -144,7 +144,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
144
144
  readonly upgradeInfo: null;
145
145
  readonly availabilityNux: null;
146
146
  readonly hidden: boolean;
147
- readonly inputModalities: ("text" | "image")[];
147
+ readonly inputModalities: ("image" | "text")[];
148
148
  readonly supportsPersonality: boolean;
149
149
  readonly additionalSpeedTiers: never[];
150
150
  readonly serviceTiers: never[];
@@ -161,7 +161,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
161
161
  readonly upgradeInfo: null;
162
162
  readonly availabilityNux: null;
163
163
  readonly hidden: boolean;
164
- readonly inputModalities: ("text" | "image")[];
164
+ readonly inputModalities: ("image" | "text")[];
165
165
  readonly supportsPersonality: boolean;
166
166
  readonly additionalSpeedTiers: never[];
167
167
  readonly serviceTiers: never[];
@@ -178,7 +178,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
178
178
  readonly upgradeInfo: null;
179
179
  readonly availabilityNux: null;
180
180
  readonly hidden: boolean;
181
- readonly inputModalities: ("text" | "image")[];
181
+ readonly inputModalities: ("image" | "text")[];
182
182
  readonly supportsPersonality: boolean;
183
183
  readonly additionalSpeedTiers: never[];
184
184
  readonly serviceTiers: never[];
@@ -195,7 +195,7 @@ declare const CHECKED_IN_CODEX_MODELS: readonly [{
195
195
  readonly upgradeInfo: null;
196
196
  readonly availabilityNux: null;
197
197
  readonly hidden: boolean;
198
- readonly inputModalities: ("text" | "image")[];
198
+ readonly inputModalities: ("image" | "text")[];
199
199
  readonly supportsPersonality: boolean;
200
200
  readonly additionalSpeedTiers: never[];
201
201
  readonly serviceTiers: never[];
@@ -1,2 +1,2 @@
1
- import { a as AgentActivityIconProps, i as AgentActivityIconKind, n as AgentActivityFaviconProps, o as AgentActivityMode, r as AgentActivityIcon, s as AgentActivitySummary, t as AgentActivityFavicon } from "../../AgentActivity-DSObWhDU.js";
1
+ import { a as AgentActivityIconProps, i as AgentActivityIconKind, n as AgentActivityFaviconProps, o as AgentActivityMode, r as AgentActivityIcon, s as AgentActivitySummary, t as AgentActivityFavicon } from "../../AgentActivity-DptCj8XQ.js";
2
2
  export { AgentActivityFavicon, AgentActivityFaviconProps, AgentActivityIcon, AgentActivityIconKind, AgentActivityIconProps, AgentActivityMode, AgentActivitySummary };
@@ -1,5 +1,6 @@
1
- import { canRequestFavicon, inferFaviconUrl } from "../../utils/favicon.js";
2
- import { D as LinkIcon, P as MonitorIcon, Q as TerminalIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, nt as WrenchIcon, tt as WarningIcon } from "../../icons-Cn3vWZRs.js";
1
+ import { canRequestFavicon } from "../../utils/favicon.js";
2
+ import { markSrcForHref } from "../../utils/mcp-server-catalog.js";
3
+ import { C as FileIcon, E as InfoIcon, J as SearchIcon, L as MonitorIcon, V as PencilIcon, ct as WrenchIcon, k as LinkIcon, rt as TerminalIcon, st as WarningIcon } from "../../icons-Yp99gmMC.js";
3
4
  import * as React from "react";
4
5
  import { jsx } from "react/jsx-runtime";
5
6
  //#region src/components/agents-sdk/AgentActivity.tsx
@@ -17,9 +18,9 @@ function AgentActivityIcon({ kind }) {
17
18
  default: return /* @__PURE__ */ jsx(WrenchIcon, {});
18
19
  }
19
20
  }
20
- /** Site favicon for URL-backed activity, with the shared icon vocabulary as fallback. */
21
+ /** Product or site mark for URL-backed activity, with the shared icon vocabulary as fallback. */
21
22
  function AgentActivityFavicon({ fallbackKind = "web", url }) {
22
- const src = inferFaviconUrl(url);
23
+ const src = markSrcForHref(url);
23
24
  const [failedSrc, setFailedSrc] = React.useState(null);
24
25
  const failed = failedSrc === src;
25
26
  if (!src || !canRequestFavicon(src) || failed) return /* @__PURE__ */ jsx(AgentActivityIcon, { kind: fallbackKind });
@@ -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";
12
- import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.js";
13
11
  import { BrandLoading } from "../general-purpose/BrandLoading.js";
14
- import { Marker, MarkerContent } from "../foundations/Marker.js";
12
+ import { AgentEventRow, getAgentEvent } from "./AgentEvent.js";
13
+ import { AgentChatQueueProvider, useOptionalAgentChatQueue } from "./AgentChatQueue.js";
14
+ import { PromptInputApproval, getApprovalStateKey, getPendingToolApprovals } from "./PromptInputApproval.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";
6
- import { getSubagentRunName } from "./SubagentRunIndicator.js";
7
5
  import { NaniteMark } from "../nanites/NaniteScene.js";
8
- import "react";
6
+ import { getSubagentRunName } from "./SubagentRunIndicator.js";
7
+ import { u as useRunsSelector } from "../../agent-tool-runs-DsOp_X2y.js";
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 { f as EmployeeShellProps, l as EmployeeModelSetup, p as EmployeeStatus, t as EmployeeBrand } from "../../EmployeeChrome-D5x4EM9y.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,6 +1,6 @@
1
- import { tt as WarningIcon } from "../../icons-Cn3vWZRs.js";
2
- import { WorkbenchBack } from "./WorkbenchBack.js";
1
+ import { st as WarningIcon } from "../../icons-Yp99gmMC.js";
3
2
  import { StatusScreen } from "../general-purpose/StatusScreen.js";
3
+ import { WorkbenchBack } from "./WorkbenchBack.js";
4
4
  import { EmployeeChrome } from "./EmployeeChrome.js";
5
5
  import { ThinkFullApp } from "./ThinkFullApp.js";
6
6
  import "react";
@@ -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,12 +1,13 @@
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";
3
- import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
4
- import { n as SetupChecklistGroup } from "../../SetupChecklist-BNK2XFaI.js";
5
- import { McpServerPickerItems } from "./McpServerPicker.js";
6
- import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
7
2
  import { Context, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextTrigger } from "../ai-sdk/Context.js";
8
3
  import { CodexModelSelector } from "../extension/CodexModelSelector.js";
4
+ import { ConversationTabPicker } from "../extension/ConversationTabPicker.js";
5
+ import { n as SetupChecklistGroup } from "../../SetupChecklist-Wo4akaSG.js";
6
+ import { AgentChat, useAgentChatCompaction } from "./AgentChat.js";
7
+ import { t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-BZ-_I18b.js";
9
8
  import { ThinkChat } from "./ThinkChat.js";
9
+ import { McpServerPickerItems } from "./McpServerPicker.js";
10
+ import { EmployeeStartScreen } from "./EmployeeStartScreen.js";
10
11
  import * as React from "react";
11
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
13
  //#region src/components/agents-sdk/EmployeeChat.tsx
@@ -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 EmployeeMenuProps, d as EmployeeRenderLink, f as EmployeeShellProps, h as EmployeeWorkbenchItem, i as EmployeeDestination, l as EmployeeModelSetup, m as EmployeeView, n as EmployeeChrome, o as EmployeeIdentity, p as EmployeeStatus, r as EmployeeCompanion, s as EmployeeLocalAgents, t as EmployeeBrand, u as EmployeePasskeyVault } from "../../EmployeeChrome-D5x4EM9y.js";
2
+ export { EmployeeBrand, EmployeeChrome, EmployeeCompanion, EmployeeDestination, EmployeeFollow, EmployeeIdentity, EmployeeLocalAgents, 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";
7
- import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
8
- import { Menu } from "../foundations/Menu.js";
9
- import { BrandLoading } from "../general-purpose/BrandLoading.js";
10
- 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
8
  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";
9
+ import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
17
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";
18
16
  import { useTheme } from "../foundations/ThemeProvider.js";
19
17
  import { ActionGuide, ActionGuideAction, ActionGuideList, ActionGuideSection } from "../general-purpose/ActionGuide.js";
20
- import { ResponsiveSidebarShell, useResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
18
+ import { BrandLoading } from "../general-purpose/BrandLoading.js";
19
+ import { SubagentRunLabel, getSubagentRunName } from "./SubagentRunIndicator.js";
20
+ import { AgentChat } from "./AgentChat.js";
21
21
  import { McpServerIcon } from "./McpServerIcon.js";
22
22
  import { ThinkThreadPicker, ThinkThreadStatusIndicators, summarizeThinkThreads } from "./ThinkThreadPicker.js";
23
23
  import * as React from "react";
@@ -68,7 +68,7 @@ function MenuSwitchItem({ label, hint, checked, onCheckedChange }) {
68
68
  });
69
69
  }
70
70
  /** Employee settings are host-owned state; the menu stores only dialog visibility. */
71
- function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut, companion, passkeys, follow, workbenchNavigation = [], navigation }) {
71
+ function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut, companion, localAgents, passkeys, follow, workbenchNavigation = [], navigation }) {
72
72
  const { preference, setPreference } = useTheme();
73
73
  const { restoreBarFocus, closeSidebarOnCompact } = useResponsiveSidebarShell();
74
74
  const [identityOpen, setIdentityOpen] = React.useState(false);
@@ -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,
@@ -178,6 +178,12 @@ function EmployeeMenu({ renderLink, view = "chat", identity, onModel, onSignOut,
178
178
  })
179
179
  })
180
180
  ] })] }) : null,
181
+ localAgents ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Local agents" }), /* @__PURE__ */ jsx(MenuSwitchItem, {
182
+ label: "Allow local agents",
183
+ hint: "Let agents on this computer, such as Claude Code, use this employee's browser and workspace through the rook command.",
184
+ checked: localAgents.enabled,
185
+ onCheckedChange: localAgents.setEnabled
186
+ })] })] }) : null,
181
187
  passkeys ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Menu.Separator, {}), /* @__PURE__ */ jsxs(Menu.Group, { children: [/* @__PURE__ */ jsx(Menu.GroupLabel, { children: "Passkeys" }), /* @__PURE__ */ jsx(MenuSwitchItem, {
182
188
  label: "Use its own passkeys",
183
189
  hint: "The employee saves and uses its own passkeys instead of the browser's.",
@@ -324,7 +330,10 @@ function employeeShellTitle({ agentRun, threadTitle, view, destinationTitle }) {
324
330
  if (view === "live") return "Live view";
325
331
  return destinationTitle ?? "Workspace";
326
332
  }
327
- const content = agentRun.state === "ready" ? /* @__PURE__ */ jsx(SubagentRunLabel, { run: agentRun.run }) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerIcon, {}), /* @__PURE__ */ jsx("span", {
333
+ const content = agentRun.state === "ready" ? /* @__PURE__ */ jsx(SubagentRunLabel, {
334
+ run: agentRun.run,
335
+ error: agentRun.cancelError
336
+ }) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerIcon, {}), /* @__PURE__ */ jsx("span", {
328
337
  className: "sigvelo-truncate",
329
338
  children: "Delegated run"
330
339
  })] });
@@ -479,6 +488,7 @@ function EmployeeGate({ status, connectingLabel, identity, brand, modelSetup })
479
488
  error: modelSetup?.error,
480
489
  label: modelSetup?.label,
481
490
  title: "Meet " + brand.name,
491
+ description: "Your new AI teammate.",
482
492
  brandName: "SigVelo",
483
493
  onSignIn: modelSetup?.onSignIn,
484
494
  secondaryAction: modelSetup?.onCustomEndpoint ? {
@@ -556,15 +566,23 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
556
566
  children: [
557
567
  /* @__PURE__ */ jsx(ActionGuideSection, {
558
568
  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
- })] })
569
+ children: /* @__PURE__ */ jsxs(ActionGuideList, { children: [
570
+ /* @__PURE__ */ jsx(ActionGuideAction, {
571
+ icon: /* @__PURE__ */ jsx(BoxIcon, {}),
572
+ onClick: () => send("Organize this window’s tabs by task."),
573
+ children: "Organize this window’s tabs by task"
574
+ }),
575
+ /* @__PURE__ */ jsx(ActionGuideAction, {
576
+ icon: /* @__PURE__ */ jsx(EyeIcon, {}),
577
+ onClick: () => send("Close duplicate tabs in this window."),
578
+ children: "Close duplicate tabs in this window"
579
+ }),
580
+ /* @__PURE__ */ jsx(ActionGuideAction, {
581
+ icon: /* @__PURE__ */ jsx(MonitorIcon, {}),
582
+ onClick: () => send("Record a browser walkthrough as an MP4."),
583
+ children: "Record a browser walkthrough as an MP4"
584
+ })
585
+ ] })
568
586
  }),
569
587
  /* @__PURE__ */ jsx(ActionGuideSection, {
570
588
  title: "Set up ongoing work",
@@ -572,9 +590,9 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
572
590
  layout: "cards",
573
591
  children: [
574
592
  /* @__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"
593
+ icon: /* @__PURE__ */ jsx(CalendarIcon, {}),
594
+ onClick: () => send("Help me create a schedule."),
595
+ children: "Create a schedule"
578
596
  }),
579
597
  setupActions,
580
598
  /* @__PURE__ */ jsx(ActionGuideAction, {
@@ -586,27 +604,27 @@ function EmployeeWelcome({ brand, children, suggestions, suggestionsError, onRet
586
604
  })
587
605
  }),
588
606
  /* @__PURE__ */ jsx(ActionGuideSection, {
589
- title: "Build a larger workflow",
607
+ title: "Make an automation",
590
608
  children: /* @__PURE__ */ jsxs(ActionGuideList, {
591
609
  layout: "list",
592
610
  children: [
611
+ /* @__PURE__ */ jsx(ActionGuideAction, {
612
+ icon: /* @__PURE__ */ jsx(QueueIcon, {}),
613
+ variant: "ghost",
614
+ onClick: () => send("Help me make an automation."),
615
+ children: "Save a job to run anytime"
616
+ }),
593
617
  /* @__PURE__ */ jsx(ActionGuideAction, {
594
618
  icon: /* @__PURE__ */ jsx(TerminalIcon, {}),
595
619
  variant: "ghost",
596
- onClick: () => send("Automate a workflow across my signed-in browser tabs."),
620
+ onClick: () => send("Help me make an automation that works across my signed-in browser tabs."),
597
621
  children: "Automate work across signed-in tabs"
598
622
  }),
599
623
  /* @__PURE__ */ jsx(ActionGuideAction, {
600
624
  icon: /* @__PURE__ */ jsx(FolderIcon, {}),
601
625
  variant: "ghost",
602
- onClick: () => send("Move files between a signed-in website and the workspace."),
626
+ onClick: () => send("Help me make an automation that moves files between a signed-in website and the workspace."),
603
627
  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
628
  })
611
629
  ]
612
630
  })
@@ -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 { c as EmployeeMenuProps } from "../../EmployeeChrome-D5x4EM9y.js";
2
+ import { t as WorkspaceAutomation } from "../../WorkspaceAutomation-CMvICi-p.js";
3
+ import { t as ThinkSchedule } from "../../ThinkSchedule-CSuDGrZ9.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