@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,20 +1,11 @@
1
- import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { S as FileIcon, d as CheckIcon } from "../../icons-Cn3vWZRs.js";
3
- import { Button } from "../foundations/Button.js";
4
- import { IconButton } from "../foundations/IconButton.js";
1
+ import { C as FileIcon } from "../../icons-Yp99gmMC.js";
5
2
  import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
6
- import { Field } from "../foundations/Field.js";
7
- import { Textarea } from "../foundations/Textarea.js";
8
- import { Input } from "../foundations/Input.js";
9
- import { DescriptionList } from "../foundations/DescriptionList.js";
10
- import { Card, CardAction, CardContent, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
11
- import { a as httpUrl, t as FaviconMark } from "../../workspace-assets-RD6IhOyh.js";
12
- import { EmailMessageCard, SlackMessageCard } from "../ai-sdk/ConnectedAppCards.js";
13
- import { t as WorkspaceDeleteControl } from "../../workspace-delete-CrNGUuBp.js";
3
+ import { a as MessageBody, i as FieldList, n as SlackDraftCard, r as ConnectedAppCardFrame, t as EmailDraftCard } from "../../connected-app-drafts-B9i69bkj.js";
4
+ import { t as WorkspaceDeleteControl } from "../../workspace-delete-CoB0l6ZU.js";
14
5
  import * as React from "react";
15
6
  import { createElement } from "react";
16
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
17
- import { hashKey, useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
8
+ import { hashKey, useMutation, useQueries, useQuery, useQueryClient } from "@tanstack/react-query";
18
9
  //#region src/components/agents-sdk/WorkspaceCorrespondence.tsx
19
10
  const SAVE_DEBOUNCE_MS = 400;
20
11
  const SEND_BLOCKED_MESSAGE = "Your edit has not saved, so nothing was sent. Retry the save first.";
@@ -48,162 +39,31 @@ function replaceFields(fields, values) {
48
39
  function displayKind(kind) {
49
40
  return kind.trim().split(/[-_\s]+/u).filter(Boolean).map((word) => word[0].toUpperCase() + word.slice(1)).join(" ");
50
41
  }
51
- /**
52
- * File-level header controls shared by every channel presentation, so the rich
53
- * email and Slack cards carry the same Open and Delete affordances the generic
54
- * card has instead of dropping them.
55
- */
56
- function CorrespondenceHeaderActions({ kind, path, onDelete, onOpen }) {
57
- return /* @__PURE__ */ jsxs(Fragment, { children: [onOpen ? /* @__PURE__ */ jsx(IconButton, {
58
- label: `Open ${kind}`,
59
- tooltip: path,
60
- variant: "ghost",
61
- color: "neutral",
62
- onClick: onOpen,
63
- children: /* @__PURE__ */ jsx(FileIcon, {})
64
- }) : null, onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
65
- name: `${kind} draft`,
66
- onDelete
67
- }) : null] });
68
- }
69
- /**
70
- * Generic reviewed outbound message used after the public component has
71
- * selected richer channel-specific presentation where one exists.
72
- */
73
- function GenericWorkspaceCorrespondenceCard({ className, body, fields, kind, path, icon, saveState, state = "draft", onChange, onDelete, onOpen, onSend, ref, ...props }) {
74
- const titleId = React.useId();
75
- const fieldId = React.useId();
76
- const editing = onChange != null;
77
- const [busy, setBusy] = React.useState(false);
78
- const [errorMessage, setErrorMessage] = React.useState("");
79
- const draft = {
80
- fields,
81
- body
82
- };
83
- const ariaLabel = props["aria-label"];
84
- const ariaLabelledBy = props["aria-labelledby"] ?? (ariaLabel ? void 0 : titleId);
85
- const saveBlocked = saveState !== void 0;
86
- const saveErrorMessage = saveState?.status === "error" ? saveState.message : "";
87
- const send = async () => {
88
- if (!onSend || busy) return;
89
- setBusy(true);
90
- setErrorMessage("");
91
- try {
92
- await onSend();
93
- } catch (error) {
94
- setErrorMessage(error instanceof Error && error.message.trim() ? error.message : "The action could not be completed. Try again.");
95
- } finally {
96
- setBusy(false);
97
- }
98
- };
99
- return /* @__PURE__ */ jsxs(Card, {
100
- ...props,
101
- ref,
102
- role: props.role ?? "article",
103
- "aria-labelledby": ariaLabelledBy,
104
- "data-slot": "workspace-correspondence-card",
105
- "data-state": state,
106
- size: "sm",
107
- className: cx("connected-app-card", className),
108
- children: [
109
- /* @__PURE__ */ jsxs(CardHeader, { children: [/* @__PURE__ */ jsxs(CardTitle, {
110
- id: titleId,
111
- className: "connected-app-card__title",
112
- render: (props) => /* @__PURE__ */ jsx("h3", {
113
- ...props,
114
- children: props.children
115
- }),
116
- children: [/* @__PURE__ */ jsx("span", {
117
- className: "connected-app-card__icon",
118
- "aria-hidden": "true",
119
- children: icon ?? /* @__PURE__ */ jsx(FileIcon, {})
120
- }), displayKind(kind)]
121
- }), state === "sent" || onOpen || onDelete ? /* @__PURE__ */ jsxs(CardAction, {
122
- className: "sigvelo-cluster",
123
- children: [state === "sent" ? /* @__PURE__ */ jsxs("span", {
124
- className: "connected-app-card__status",
125
- "data-state": "sent",
126
- children: [/* @__PURE__ */ jsx(CheckIcon, { size: 14 }), "Sent"]
127
- }) : null, /* @__PURE__ */ jsx(CorrespondenceHeaderActions, {
128
- kind,
129
- path,
130
- onDelete,
131
- onOpen
132
- })]
133
- }) : null] }),
134
- /* @__PURE__ */ jsxs(CardContent, { children: [
135
- fields.length > 0 ? /* @__PURE__ */ jsx(DescriptionList.Root, {
136
- align: "start",
137
- variant: "divided",
138
- children: fields.map((field) => {
139
- const inputId = `${fieldId}-${field.name}`;
140
- const href = httpUrl(field.value);
141
- return /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsxs(DescriptionList.Term, { children: [href ? /* @__PURE__ */ jsx(FaviconMark, { href }) : null, editing ? /* @__PURE__ */ jsx("label", {
142
- htmlFor: inputId,
143
- children: field.label
144
- }) : field.label] }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: editing ? /* @__PURE__ */ jsx(Input, {
145
- id: inputId,
146
- name: field.name,
147
- type: href ? "url" : void 0,
148
- value: field.value,
149
- autoComplete: "off",
150
- onChange: (event) => onChange({
151
- ...draft,
152
- fields: fields.map((item) => item.name === field.name ? {
153
- ...item,
154
- value: event.currentTarget.value
155
- } : item)
156
- })
157
- }) : field.value })] }, field.name);
158
- })
159
- }) : null,
160
- editing ? /* @__PURE__ */ jsxs(Field.Root, { children: [/* @__PURE__ */ jsx(Field.Label, { children: "Message" }), /* @__PURE__ */ jsx(Field.Control, {
161
- render: /* @__PURE__ */ jsx(Textarea, {
162
- name: "body",
163
- rows: 4,
164
- resize: "vertical",
165
- autoComplete: "off"
166
- }),
167
- value: body,
168
- onChange: (event) => onChange({
169
- ...draft,
170
- body: event.currentTarget.value
171
- })
172
- })] }) : body ? /* @__PURE__ */ jsx("p", {
173
- className: "connected-app-card__body",
174
- children: body
175
- }) : null,
176
- saveErrorMessage ? /* @__PURE__ */ jsxs("div", {
177
- className: "connected-app-card__save-error",
178
- children: [/* @__PURE__ */ jsx(Field.Errors, { errors: [saveErrorMessage] }), saveState?.status === "error" && saveState.onRetry ? /* @__PURE__ */ jsx(Button, {
179
- type: "button",
180
- size: "sm",
181
- variant: "ghost",
182
- color: "neutral",
183
- onClick: saveState.onRetry,
184
- children: "Retry save"
185
- }) : null]
186
- }) : null,
187
- errorMessage ? /* @__PURE__ */ jsx(Field.Errors, { errors: [errorMessage] }) : null,
188
- /* @__PURE__ */ jsx("span", {
189
- className: "sigvelo-visually-hidden",
190
- role: "status",
191
- "aria-atomic": "true",
192
- children: saveErrorMessage || errorMessage || (saveState?.status === "saving" ? "Saving" : busy ? "Submitting" : "")
193
- })
194
- ] }),
195
- onSend ? /* @__PURE__ */ jsx(CardFooter, {
196
- className: "connected-app-card__footer",
197
- children: /* @__PURE__ */ jsx(Button, {
198
- type: "button",
199
- size: "sm",
200
- disabled: busy || saveBlocked,
201
- onClick: () => void send(),
202
- children: "Send"
203
- })
204
- }) : null
205
- ]
206
- });
42
+ /** The fields and body of a kind without a richer card, edited as written. */
43
+ function CorrespondenceFields({ body, fields, onChange }) {
44
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(FieldList, {
45
+ editing: onChange != null,
46
+ items: fields.map((field) => ({
47
+ name: field.name,
48
+ term: field.label,
49
+ value: field.value
50
+ })),
51
+ onFieldChange: (name, value) => onChange?.({
52
+ fields: fields.map((field) => field.name === name ? {
53
+ ...field,
54
+ value
55
+ } : field),
56
+ body
57
+ })
58
+ }), /* @__PURE__ */ jsx(MessageBody, {
59
+ editing: onChange != null,
60
+ name: "body",
61
+ value: body,
62
+ onChange: (value) => onChange?.({
63
+ fields,
64
+ body: value
65
+ })
66
+ })] });
207
67
  }
208
68
  /**
209
69
  * Reviewed workspace correspondence. The host passes one normalized file
@@ -211,88 +71,72 @@ function GenericWorkspaceCorrespondenceCard({ className, body, fields, kind, pat
211
71
  * snapshot, and falls back to the generic card for kinds without a richer
212
72
  * design-system surface.
213
73
  */
214
- function WorkspaceCorrespondenceCard({ body, fields, kind, path, icon, saveState, state = "draft", onChange, onDelete, onOpen, onSend, ref, ...props }) {
215
- const normalizedKind = kind.trim().toLowerCase();
74
+ function WorkspaceCorrespondenceCard({ body, fields, kind, icon, people, saveState, state = "draft", onChange, onDelete, onOpen, onSend, ...props }) {
216
75
  const settled = state === "sent";
217
76
  const change = settled ? void 0 : onChange;
218
- const send = settled ? void 0 : onSend;
219
- const headerActions = /* @__PURE__ */ jsx(CorrespondenceHeaderActions, {
220
- kind,
221
- path,
222
- onDelete,
223
- onOpen
224
- });
225
- if (normalizedKind === "email") {
226
- const draft = {
227
- from: fieldValue(fields, "from"),
228
- to: fieldValue(fields, "to"),
229
- subject: fieldValue(fields, "subject") ?? "",
230
- body
231
- };
232
- return /* @__PURE__ */ jsx(EmailMessageCard, {
233
- ...props,
234
- ...draft,
235
- ref,
77
+ const channel = kind.trim().toLowerCase();
78
+ const frame = {
79
+ ...props,
80
+ actions: onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
81
+ name: `${channel === "email" ? "email" : displayKind(kind)} draft`,
82
+ onDelete
83
+ }) : void 0,
84
+ state: settled ? "sent" : void 0,
85
+ saveState: settled ? void 0 : saveState,
86
+ onOpen,
87
+ onSend: settled ? void 0 : onSend
88
+ };
89
+ switch (channel) {
90
+ case "email": return /* @__PURE__ */ jsx(EmailDraftCard, {
91
+ ...frame,
92
+ draft: {
93
+ from: fieldValue(fields, "from"),
94
+ to: fieldValue(fields, "to"),
95
+ subject: fieldValue(fields, "subject") ?? "",
96
+ body
97
+ },
236
98
  icon,
237
- headerActions,
238
- state: settled ? "sent" : "pending",
239
- saveState: settled ? void 0 : saveState,
240
- onChange: change ? (next) => {
241
- change({
242
- fields: replaceFields(fields, {
243
- from: next.from,
244
- to: next.to,
245
- subject: next.subject
246
- }),
247
- body: next.body ?? ""
248
- });
249
- } : void 0,
250
- onSend: send
99
+ people,
100
+ onChange: change ? (next) => change({
101
+ fields: replaceFields(fields, {
102
+ from: next.from,
103
+ to: next.to,
104
+ subject: next.subject
105
+ }),
106
+ body: next.body ?? ""
107
+ }) : void 0
251
108
  });
252
- }
253
- if (normalizedKind === "slack") {
254
- const draft = {
255
- workspace: fieldValue(fields, "workspace"),
256
- to: fieldValue(fields, "to") ?? "",
257
- thread: fieldValue(fields, "thread"),
258
- message: body
259
- };
260
- return /* @__PURE__ */ jsx(SlackMessageCard, {
261
- ...props,
262
- ...draft,
263
- ref,
109
+ case "slack": return /* @__PURE__ */ jsx(SlackDraftCard, {
110
+ ...frame,
111
+ draft: {
112
+ workspace: fieldValue(fields, "workspace"),
113
+ to: fieldValue(fields, "to") ?? "",
114
+ thread: fieldValue(fields, "thread"),
115
+ message: body
116
+ },
264
117
  icon,
265
- headerActions,
266
- state: settled ? "sent" : "pending",
267
- saveState: settled ? void 0 : saveState,
268
- onChange: change ? (next) => {
269
- change({
270
- fields: replaceFields(fields, {
271
- workspace: next.workspace,
272
- to: next.to,
273
- thread: next.thread
274
- }),
275
- body: next.message
276
- });
277
- } : void 0,
278
- onSend: send
118
+ people,
119
+ onChange: change ? (next) => change({
120
+ fields: replaceFields(fields, {
121
+ workspace: next.workspace,
122
+ to: next.to,
123
+ thread: next.thread
124
+ }),
125
+ body: next.message
126
+ }) : void 0
127
+ });
128
+ default: return /* @__PURE__ */ jsx(ConnectedAppCardFrame, {
129
+ ...frame,
130
+ "data-slot": "workspace-correspondence-card",
131
+ icon: icon ?? /* @__PURE__ */ jsx(FileIcon, {}),
132
+ name: displayKind(kind),
133
+ children: /* @__PURE__ */ jsx(CorrespondenceFields, {
134
+ body,
135
+ fields,
136
+ onChange: change
137
+ })
279
138
  });
280
139
  }
281
- return /* @__PURE__ */ jsx(GenericWorkspaceCorrespondenceCard, {
282
- ...props,
283
- ref,
284
- body,
285
- fields,
286
- kind,
287
- path,
288
- icon,
289
- state,
290
- saveState: settled ? void 0 : saveState,
291
- onChange: change,
292
- onDelete,
293
- onOpen,
294
- onSend: send
295
- });
296
140
  }
297
141
  /**
298
142
  * Query-backed reviewed correspondence. The host supplies normalized reads
@@ -317,7 +161,10 @@ function WorkspaceCorrespondenceFile(props) {
317
161
  }
318
162
  function WorkspaceCorrespondenceFileSession({ fallback = null, source, ...props }) {
319
163
  const queryClient = useQueryClient();
320
- const persisted = useQuery(source.queryOptions).data ?? null;
164
+ const query = useQuery(source.queryOptions);
165
+ const peopleQueries = source.people ? [source.people] : [];
166
+ const [people] = useQueries({ queries: peopleQueries });
167
+ const persisted = query.data ?? null;
321
168
  const path = persisted?.path;
322
169
  const [draft, setDraft] = React.useState(null);
323
170
  const [sessionSent, setSessionSent] = React.useState(false);
@@ -371,15 +218,19 @@ function WorkspaceCorrespondenceFileSession({ fallback = null, source, ...props
371
218
  })
372
219
  });
373
220
  const canSave = source.onChange != null;
374
- const settled = persisted?.state === "sent" || persisted?.state === void 0 && sessionSent;
375
- const runDebouncedSave = React.useEffectEvent((next) => {
376
- runSave(next);
221
+ const shown = persisted ?? (sessionSent ? lastShownRef.current : null);
222
+ const state = shown?.state ?? (sessionSent ? "sent" : "draft");
223
+ const settled = state === "sent";
224
+ /** The visible edit no save has carried to the file yet. */
225
+ const unsavedDraft = React.useEffectEvent(() => !canSave || path === void 0 || settled || draft === null || draft === savedDraftRef.current || draft === attemptedDraftRef.current ? null : draft);
226
+ const saveUnsaved = React.useEffectEvent(() => {
227
+ const next = unsavedDraft();
228
+ if (next !== null) runSave(next);
377
229
  });
378
230
  React.useEffect(() => {
379
- if (!canSave || path === void 0 || settled || draft === null) return;
380
- if (draft === savedDraftRef.current || draft === attemptedDraftRef.current) return;
381
231
  if (savePending) return;
382
- const timer = setTimeout(() => runDebouncedSave(draft), SAVE_DEBOUNCE_MS);
232
+ if (unsavedDraft() === null) return;
233
+ const timer = setTimeout(saveUnsaved, SAVE_DEBOUNCE_MS);
383
234
  return () => clearTimeout(timer);
384
235
  }, [
385
236
  canSave,
@@ -388,6 +239,7 @@ function WorkspaceCorrespondenceFileSession({ fallback = null, source, ...props
388
239
  savePending,
389
240
  settled
390
241
  ]);
242
+ React.useEffect(() => () => saveUnsaved(), []);
391
243
  const send = React.useCallback(async () => {
392
244
  if (savePromiseRef.current !== null && !await savePromiseRef.current) throw new Error(SEND_BLOCKED_MESSAGE);
393
245
  const outstanding = draft;
@@ -406,10 +258,8 @@ function WorkspaceCorrespondenceFileSession({ fallback = null, source, ...props
406
258
  persisted,
407
259
  runSave
408
260
  ]);
409
- const shown = persisted ?? (sessionSent ? lastShownRef.current : null);
410
261
  if (!shown) return fallback;
411
262
  const visible = draft ?? shown;
412
- const state = shown.state ?? (sessionSent ? "sent" : "draft");
413
263
  const saveState = saveMutation.isPending ? { status: "saving" } : saveMutation.isError ? {
414
264
  status: "error",
415
265
  message: formatErrorMessage(saveMutation.error),
@@ -420,7 +270,7 @@ function WorkspaceCorrespondenceFileSession({ fallback = null, source, ...props
420
270
  body: visible.body,
421
271
  fields: visible.fields,
422
272
  kind: shown.kind,
423
- path: shown.path,
273
+ people: people?.data,
424
274
  state,
425
275
  saveState,
426
276
  onChange: source.onChange ? setDraft : void 0,
@@ -1,6 +1,6 @@
1
- import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-Buo6gKj2.js";
1
+ import { l as WorkspaceNavigationAdapter } from "../../WorkspaceLink-C8HH2fMT.js";
2
2
  import { r as WorkspaceMountManagerProps } from "../../WorkspaceMountManager-DM384Cn6.js";
3
- import { b as WorkspaceState } from "../../Workspace-iCkXvQRJ.js";
3
+ import { b as WorkspaceState } from "../../Workspace-42LA9Zrb.js";
4
4
  import * as React from "react";
5
5
  //#region src/components/agents-sdk/WorkspaceExplorer.d.ts
6
6
  export interface WorkspaceExplorerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
@@ -1,12 +1,12 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { C as FolderIcon } from "../../icons-Cn3vWZRs.js";
2
+ import { w as FolderIcon } from "../../icons-Yp99gmMC.js";
3
3
  import { n as mergeRefs } from "../../merge-refs-DAh6reu8.js";
4
- import { AppTopBar } from "../general-purpose/AppTopBar.js";
5
- import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
6
4
  import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink } from "../../WorkspaceLink-BeFAXpbI.js";
7
5
  import { WorkspaceNavigationRestorationBoundary, useRequiredWorkspaceNavigationRestoration } from "./WorkspaceNavigationRestoration.js";
6
+ import { AppTopBar } from "../general-purpose/AppTopBar.js";
7
+ import { WorkspaceMountManager } from "./WorkspaceMountManager.js";
8
8
  import { WorkspaceBrowser } from "./WorkspaceBrowser.js";
9
- import { t as WorkspaceFileView } from "../../WorkspaceFileView-5SHsjamf.js";
9
+ import { t as WorkspaceFileView } from "../../WorkspaceFileView-BWI_AJlV.js";
10
10
  import * as React from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region src/components/agents-sdk/WorkspaceExplorer.tsx
@@ -1,2 +1,2 @@
1
- import { _ as isWorkspaceTextPath, a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as isWorkspaceSkillPath, h as isWorkspaceMediaPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMarkdownPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as inferWorkspaceMimeType, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename, v as parseWorkspaceSkill } from "../../WorkspaceFile-DkIZKoK6.js";
1
+ import { _ as isWorkspaceTextPath, a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as isWorkspaceSkillPath, h as isWorkspaceMediaPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMarkdownPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as inferWorkspaceMimeType, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename, v as parseWorkspaceSkill } from "../../WorkspaceFile-nK2n0i4S.js";
2
2
  export { WorkspaceFileAsset, WorkspaceFileAssetRequest, WorkspaceFileAssetResolver, WorkspaceFileState, WorkspaceMediaInfo, WorkspaceMediaKind, WorkspaceMediaTrack, WorkspaceMediaTrackKind, WorkspaceSkillDocument, getWorkspaceBasename, inferWorkspaceLanguage, inferWorkspaceMedia, inferWorkspaceMimeType, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, isWorkspaceTextPath, parseWorkspaceSkill };
@@ -1,4 +1,4 @@
1
- import { i as WorkspaceFileState } from "../../WorkspaceFile-DkIZKoK6.js";
1
+ import { i as WorkspaceFileState } from "../../WorkspaceFile-nK2n0i4S.js";
2
2
  import * as React from "react";
3
3
  //#region src/components/agents-sdk/WorkspaceFileView.d.ts
4
4
  export interface WorkspaceFileViewProps {
@@ -1,2 +1,2 @@
1
- import { t as WorkspaceFileView } from "../../WorkspaceFileView-5SHsjamf.js";
1
+ import { t as WorkspaceFileView } from "../../WorkspaceFileView-BWI_AJlV.js";
2
2
  export { WorkspaceFileView };
@@ -1,4 +1,4 @@
1
- import { H as RefreshIcon } from "../../icons-Cn3vWZRs.js";
1
+ import { q as RefreshIcon } from "../../icons-Yp99gmMC.js";
2
2
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
3
3
  import { ResponsiveSidebarAppBar } from "../general-purpose/ResponsiveSidebarShell.js";
4
4
  import "react";
@@ -1,2 +1,3 @@
1
- import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../../WorkspaceLink-Buo6gKj2.js";
2
- export { ResolveWorkspaceLinkOptions, WorkspaceDestination, WorkspaceExternalDestination, WorkspaceFileLink, WorkspaceFileLinkProps, WorkspaceInvalidDestination, WorkspaceLinkBase, WorkspaceLinkResolution, WorkspaceNavigationAdapter, WorkspaceNavigationEntry, WorkspaceNavigationProvider, WorkspaceNavigationProviderProps, resolveWorkspaceLink };
1
+ import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-zK6z8Gn3.js";
2
+ import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../../WorkspaceLink-C8HH2fMT.js";
3
+ export { ResolveWorkspaceLinkOptions, WorkspaceDestination, WorkspaceExternalDestination, WorkspaceFileLink, WorkspaceFileLinkProps, WorkspaceInvalidDestination, WorkspaceLinkBase, WorkspaceLinkResolution, WorkspaceNavigationAdapter, WorkspaceNavigationEntry, WorkspaceNavigationProvider, WorkspaceNavigationProviderProps, isPlainPrimaryLinkActivation, resolveWorkspaceLink };
@@ -1,2 +1,3 @@
1
+ import { n as isPlainPrimaryLinkActivation } from "../../navigation-link-kqMa81v5.js";
1
2
  import { n as WorkspaceNavigationProvider, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../../WorkspaceLink-BeFAXpbI.js";
2
- export { WorkspaceFileLink, WorkspaceNavigationProvider, resolveWorkspaceLink };
3
+ export { WorkspaceFileLink, WorkspaceNavigationProvider, isPlainPrimaryLinkActivation, resolveWorkspaceLink };
@@ -1,5 +1,5 @@
1
- import { r as WorkspaceFileAssetResolver } from "../../WorkspaceFile-DkIZKoK6.js";
2
- import { y as WorkspaceSource } from "../../Workspace-iCkXvQRJ.js";
1
+ import { r as WorkspaceFileAssetResolver } from "../../WorkspaceFile-nK2n0i4S.js";
2
+ import { y as WorkspaceSource } from "../../Workspace-42LA9Zrb.js";
3
3
  import { QueryClient } from "@tanstack/react-query";
4
4
  //#region src/components/agents-sdk/WorkspaceLive.d.ts
5
5
  export type WorkspaceChange = {
@@ -13,6 +13,12 @@ export type WorkspaceChange = {
13
13
  export interface WorkspaceChangeSource {
14
14
  start?(): void | Promise<void>;
15
15
  subscribe(listener: (change: WorkspaceChange) => void): () => void;
16
+ /**
17
+ * Whether events are flowing right now. While it answers true, `revision`
18
+ * ticks are skipped because events already cover the writes they stand for.
19
+ * Omit it when the source cannot tell, and both refresh.
20
+ */
21
+ live?(): boolean;
16
22
  }
17
23
  export declare function invalidateWorkspaceDirectories(queryClient: QueryClient, sourceKey: string, directories: Iterable<string>, root: string): void;
18
24
  export interface UseWorkspaceLiveQueriesOptions {
@@ -32,10 +38,11 @@ export interface UseWorkspaceLiveQueriesOptions {
32
38
  resolveFileAsset?: WorkspaceFileAssetResolver;
33
39
  maxInlineAssetBytes?: number;
34
40
  /**
35
- * Disposable freshness tick for hosts without native observation — for
36
- * example a serialization of settled-turn state. Every change of a defined
37
- * value invalidates the source's concept queries. It never enters query
38
- * identity, so data, mutation state, and form drafts survive the refresh.
41
+ * Disposable freshness tick for when native observation is absent or not
42
+ * live — for example a serialization of settled-turn state. Every change of
43
+ * a defined value invalidates the source's concept queries, unless
44
+ * `changes.live()` answers true. It never enters query identity, so data,
45
+ * mutation state, and form drafts survive the refresh.
39
46
  */
40
47
  revision?: string;
41
48
  }
@@ -50,10 +50,12 @@ function useWorkspaceLiveQueries({ changes, maxInlineAssetBytes, resolveFileAsse
50
50
  revision
51
51
  };
52
52
  if (previous?.sourceKey === sourceKey && previous.root === root && previous.revision === revision) return;
53
+ if (changes?.live?.()) return;
53
54
  queryClient.invalidateQueries({ queryKey: workspaceDirectoryQueryPrefix(sourceKey, root) });
54
55
  invalidateWorkspaceConceptQueries(queryClient, sourceKey, root);
55
56
  refreshResources();
56
57
  }, [
58
+ changes,
57
59
  queryClient,
58
60
  revision,
59
61
  root,
@@ -1,2 +1,37 @@
1
- import { a as WorkspaceMessageResponseProps, i as WorkspaceMessageResponse, n as WorkspaceFileRenderer, r as WorkspaceFileRendererProvider, t as WorkspaceFileRenderInput } from "../../WorkspaceMessageResponse-D8FGgIQU.js";
2
- export { WorkspaceFileRenderInput, WorkspaceFileRenderer, WorkspaceFileRendererProvider, WorkspaceMessageResponse, WorkspaceMessageResponseProps };
1
+ import { O as MessageResponseProps } from "../../Message-BUedRDN1.js";
2
+ import * as React from "react";
3
+ //#region src/components/agents-sdk/WorkspaceMessageResponse.d.ts
4
+ export interface WorkspaceFileRenderInput {
5
+ label: string;
6
+ path: string;
7
+ /** Shared workspace link element; hosts pass it through to the preview unchanged. */
8
+ sourceLink: React.ReactElement;
9
+ }
10
+ /**
11
+ * Host callback for one standalone workspace file link in an assistant
12
+ * paragraph. Return a node to replace the link, or `null` to keep it.
13
+ */
14
+ export type WorkspaceFileRenderer = (file: WorkspaceFileRenderInput) => React.ReactNode;
15
+ /**
16
+ * Ambient workspace-file renderer for every `WorkspaceMessageResponse` below,
17
+ * and the only way to supply one. The value is read inside the promoted
18
+ * paragraph, not by the response component, so a host handing down a fresh
19
+ * callback every render re-renders only the paragraphs — the memoized Markdown
20
+ * pipeline is untouched and promoted cards keep their state.
21
+ * `EmployeeTranscript` provides it from its `renderWorkspaceFile` prop; hosts
22
+ * composing their own transcript provide it once at their conversation root.
23
+ */
24
+ export declare function WorkspaceFileRendererProvider({ children, renderWorkspaceFile }: {
25
+ children: React.ReactNode;
26
+ renderWorkspaceFile: WorkspaceFileRenderer | undefined;
27
+ }): React.JSX.Element;
28
+ export interface WorkspaceMessageResponseProps extends MessageResponseProps {
29
+ /**
30
+ * Whether standalone workspace file links may be promoted. `ThinkChat`
31
+ * passes `false` for user messages: user links remain ordinary navigation.
32
+ */
33
+ promoteWorkspaceFiles?: boolean;
34
+ }
35
+ /** Adds workspace-aware Markdown links when rendered inside a workspace provider. */
36
+ export declare const WorkspaceMessageResponse: React.MemoExoticComponent<({ components, rehypePlugins, promoteWorkspaceFiles, ...props }: WorkspaceMessageResponseProps) => React.JSX.Element>;
37
+ //#endregion
@@ -1,2 +1,2 @@
1
- import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-DnsdpaGU.js";
1
+ import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-BZ-_I18b.js";
2
2
  export { WorkspaceFileRendererProvider, WorkspaceMessageResponse };
@@ -1,7 +1,7 @@
1
1
  import { Button } from "../foundations/Button.js";
2
- import { EmptyState } from "../foundations/EmptyState.js";
3
2
  import { Card, CardFooter, CardHeader, CardTitle } from "../foundations/Card.js";
4
3
  import { Popover } from "../foundations/Popover.js";
4
+ import { EmptyState } from "../foundations/EmptyState.js";
5
5
  import "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region src/components/agents-sdk/WorkspaceMountManager.tsx
@@ -1,4 +1,4 @@
1
- import { n as WorkspaceDestination } from "../../WorkspaceLink-Buo6gKj2.js";
1
+ import { n as WorkspaceDestination } from "../../WorkspaceLink-C8HH2fMT.js";
2
2
  import * as React from "react";
3
3
  //#region src/components/agents-sdk/WorkspaceNavigationRestoration.d.ts
4
4
  export interface WorkspaceNavigationRestoration {
@@ -0,0 +1,30 @@
1
+ import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-BjrgGE1w.js";
2
+ import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-CxuqDi4m.js";
3
+ import { t as WorkspacePerson } from "../../workspace-person-BSgvRjZE.js";
4
+ import * as React from "react";
5
+ //#region src/components/agents-sdk/WorkspacePerson.d.ts
6
+ export interface WorkspacePersonSource {
7
+ /** The workspace's people, shared by the panel and every inline card. */
8
+ queryOptions: WorkspaceConceptQueryOptions<readonly WorkspacePerson[]>;
9
+ /** Opens a person's file. Without it the name is plain text. */
10
+ onOpen?: (path: string) => void;
11
+ }
12
+ export type WorkspacePersonFileProps = WorkspaceConceptFileProps<WorkspacePersonSource>;
13
+ export type WorkspacePeoplePanelProps = WorkspaceConceptPanelProps<WorkspacePersonSource>;
14
+ /** The People destination in the workbench navigation; the panel's heading and mark. */
15
+ export declare const peopleWorkbenchItem: {
16
+ readonly id: "people";
17
+ readonly label: "People";
18
+ readonly description: "Who they are to you and how to write to each.";
19
+ readonly icon: React.JSX.Element;
20
+ };
21
+ /** Compact inline card for one queried person file. */
22
+ export declare function WorkspacePersonFile({ fallback, path, source, ...props }: WorkspacePersonFileProps): string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null;
23
+ /**
24
+ * Workbench list of queried people, by name. Once anyone has a circle, the list
25
+ * splits into Family, Team, Friends, and Others, skipping empty sections. Same
26
+ * card as the inline placement.
27
+ */
28
+ export declare function WorkspacePeoplePanel({ source, ...props }: WorkspacePeoplePanelProps): React.JSX.Element;
29
+ //#endregion
30
+ export type { WorkspacePerson };