@mcp-b/react-components 0.59.2 → 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-Bs_Z03eC.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-BSZsUbrL.js → ExecutionResult-DmC21cll.js} +4 -4
  11. package/dist/{FileTree-DyLBn7O_.js → FileTree-H31EVRv_.js} +1 -1
  12. package/dist/{IconButton-43ggXEuf.d.ts → IconButton-FWsa9562.d.ts} +1 -1
  13. package/dist/{ManagerOffice-BxBKEb_j.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-CKQ-mKYt.js → SetupChecklist-Wo4akaSG.js} +1 -1
  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-CsWwQA1U.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-CReSIBpd.d.ts → codex-model-catalog-CFEGgUAj.d.ts} +68 -20
  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 +1 -1
  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 +2 -2
  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 +1 -1
  58. package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -2
  59. package/dist/components/agents-sdk/EmployeeChat.js +13 -9
  60. package/dist/components/agents-sdk/EmployeeChrome.d.ts +2 -2
  61. package/dist/components/agents-sdk/EmployeeChrome.js +42 -30
  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 +3 -3
  66. package/dist/components/agents-sdk/ExecutionBoard.d.ts +1 -1
  67. package/dist/components/agents-sdk/ExecutionBoard.js +6 -32
  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 +3 -3
  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/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 +143 -188
  93. package/dist/components/agents-sdk/SubagentRunSelector.d.ts +1 -1
  94. package/dist/components/agents-sdk/ThinkChat.d.ts +4 -7
  95. package/dist/components/agents-sdk/ThinkChat.js +5 -8
  96. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  97. package/dist/components/agents-sdk/ThinkChatActivity.js +27 -26
  98. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  99. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +28 -28
  100. package/dist/components/agents-sdk/ThinkChatToolPanels.js +12 -27
  101. package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
  102. package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
  103. package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
  104. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
  105. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  106. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +3 -16
  107. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -3
  108. package/dist/components/agents-sdk/ThinkSchedule.d.ts +2 -0
  109. package/dist/components/agents-sdk/ThinkSchedule.js +9 -0
  110. package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +42 -0
  111. package/dist/components/agents-sdk/{ThinkRoutineActions.js → ThinkScheduleActions.js} +35 -35
  112. package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +24 -0
  113. package/dist/components/agents-sdk/{ThinkRoutineBrowser.js → ThinkScheduleBrowser.js} +46 -44
  114. package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +19 -0
  115. package/dist/components/agents-sdk/ThinkScheduleDetail.js +139 -0
  116. package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +58 -0
  117. package/dist/components/agents-sdk/ThinkScheduleForm.js +686 -0
  118. package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
  119. package/dist/components/agents-sdk/WorkbenchBack.d.ts +1 -1
  120. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  121. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  122. package/dist/components/agents-sdk/Workspace.js +1 -1
  123. package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +2 -0
  124. package/dist/components/agents-sdk/WorkspaceAutomation.js +791 -0
  125. package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +2 -0
  126. package/dist/components/agents-sdk/{WorkspaceExecutionTable.js → WorkspaceAutomationTable.js} +45 -65
  127. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
  128. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  129. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +2 -2
  130. package/dist/components/agents-sdk/WorkspaceConcept.js +1 -1
  131. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +28 -8
  132. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +104 -254
  133. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -2
  134. package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
  135. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  136. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
  137. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  138. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  139. package/dist/components/agents-sdk/WorkspaceLink.d.ts +3 -2
  140. package/dist/components/agents-sdk/WorkspaceLink.js +2 -1
  141. package/dist/components/agents-sdk/WorkspaceLive.d.ts +13 -6
  142. package/dist/components/agents-sdk/WorkspaceLive.js +2 -0
  143. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +37 -2
  144. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  145. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +1 -1
  146. package/dist/components/agents-sdk/WorkspacePerson.d.ts +30 -0
  147. package/dist/components/agents-sdk/WorkspacePerson.js +100 -0
  148. package/dist/components/agents-sdk/WorkspaceProject.d.ts +24 -60
  149. package/dist/components/agents-sdk/WorkspaceProject.js +82 -184
  150. package/dist/components/ai-sdk/Activity.js +1 -1
  151. package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
  152. package/dist/components/ai-sdk/AgentChatMessageEditor.js +1 -1
  153. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +2 -2
  154. package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
  155. package/dist/components/ai-sdk/Approval.js +2 -2
  156. package/dist/components/ai-sdk/Artifact.d.ts +1 -1
  157. package/dist/components/ai-sdk/Artifact.js +2 -2
  158. package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
  159. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  160. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  161. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  162. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  163. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  164. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +51 -63
  165. package/dist/components/ai-sdk/ConnectedAppCards.js +42 -365
  166. package/dist/components/ai-sdk/Context.js +2 -2
  167. package/dist/components/ai-sdk/Conversation.d.ts +1 -1
  168. package/dist/components/ai-sdk/Conversation.js +3 -3
  169. package/dist/components/ai-sdk/Goal.js +2 -2
  170. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
  171. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  172. package/dist/components/ai-sdk/Message.d.ts +1 -1
  173. package/dist/components/ai-sdk/Message.js +13 -5
  174. package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
  175. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  176. package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
  177. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  178. package/dist/components/ai-sdk/Plan.js +1 -1
  179. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  180. package/dist/components/ai-sdk/PromptInput.js +4 -4
  181. package/dist/components/ai-sdk/Queue.d.ts +1 -1
  182. package/dist/components/ai-sdk/Queue.js +2 -2
  183. package/dist/components/ai-sdk/Reasoning.js +1 -1
  184. package/dist/components/ai-sdk/Sources.js +1 -1
  185. package/dist/components/ai-sdk/Task.js +1 -1
  186. package/dist/components/ai-sdk/ToolInvocation.js +1 -1
  187. package/dist/components/extension/ChatGptSignInScreen.d.ts +17 -4
  188. package/dist/components/extension/ChatGptSignInScreen.js +32 -32
  189. package/dist/components/extension/CodexModelSelector.d.ts +1 -1
  190. package/dist/components/extension/CodexModelSelector.js +1 -1
  191. package/dist/components/extension/ConversationTabPicker.js +1 -1
  192. package/dist/components/extension/FirstRunSetup.d.ts +117 -0
  193. package/dist/components/extension/FirstRunSetup.js +1175 -0
  194. package/dist/components/foundations/AlertDialog.d.ts +1 -1
  195. package/dist/components/foundations/AppIcon.d.ts +5 -2
  196. package/dist/components/foundations/Button.d.ts +1 -1
  197. package/dist/components/foundations/Button.js +2 -2
  198. package/dist/components/foundations/Card.d.ts +1 -1
  199. package/dist/components/foundations/Card.js +2 -2
  200. package/dist/components/foundations/Checkbox.js +1 -1
  201. package/dist/components/foundations/Collapsible.js +1 -1
  202. package/dist/components/foundations/ContextMenu.js +1 -1
  203. package/dist/components/foundations/DescriptionList.d.ts +3 -1
  204. package/dist/components/foundations/DescriptionList.js +2 -1
  205. package/dist/components/foundations/IconButton.d.ts +1 -1
  206. package/dist/components/foundations/LinkButton.d.ts +1 -1
  207. package/dist/components/foundations/Menubar.js +1 -1
  208. package/dist/components/foundations/Popover.js +1 -1
  209. package/dist/components/foundations/SearchField.js +1 -1
  210. package/dist/components/foundations/Select.js +1 -1
  211. package/dist/components/foundations/Stepper.js +1 -1
  212. package/dist/components/foundations/Toast.js +1 -1
  213. package/dist/components/foundations/Toggle.d.ts +2 -4
  214. package/dist/components/foundations/Toggle.js +3 -7
  215. package/dist/components/foundations/ToggleGroup.d.ts +2 -4
  216. package/dist/components/foundations/ToggleGroup.js +4 -16
  217. package/dist/components/foundations/icons.d.ts +2 -2
  218. package/dist/components/foundations/icons.js +2 -2
  219. package/dist/components/general-purpose/ActionGuide.d.ts +1 -1
  220. package/dist/components/general-purpose/Commit.d.ts +1 -1
  221. package/dist/components/general-purpose/Commit.js +3 -3
  222. package/dist/components/general-purpose/EnvironmentVariables.d.ts +1 -1
  223. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  224. package/dist/components/general-purpose/FileTree.js +1 -1
  225. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  226. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  227. package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
  228. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
  229. package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
  230. package/dist/components/general-purpose/SettingsFormDialog.js +1 -1
  231. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  232. package/dist/components/general-purpose/Terminal.d.ts +2 -2
  233. package/dist/components/general-purpose/Terminal.js +2 -2
  234. package/dist/components/general-purpose/TestResults.js +1 -1
  235. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  236. package/dist/components/general-purpose/WebPreview.d.ts +1 -1
  237. package/dist/components/general-purpose/WebPreview.js +1 -1
  238. package/dist/components/nanites/AgentConnection.js +3 -3
  239. package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
  240. package/dist/components/nanites/AgentToolDetail.js +3 -3
  241. package/dist/connected-app-drafts-B9i69bkj.js +283 -0
  242. package/dist/{copy-button-BIfY5M-D.d.ts → copy-button-B09hHWd1.d.ts} +1 -1
  243. package/dist/{copy-button-M4sAp9xS.js → copy-button-z20VEXRF.js} +1 -1
  244. package/dist/{execution-result-DWVmm-bL.js → execution-result-DAuW4VWv.js} +30 -2
  245. package/dist/{icons-Dj6id76o.d.ts → icons-CReP3qYl.d.ts} +7 -1
  246. package/dist/{icons-DvlrWt54.js → icons-Yp99gmMC.js} +8 -2
  247. package/dist/{mcp-server-catalog-kaMWaSAL.d.ts → mcp-server-catalog-Di4N46H9.d.ts} +9 -3
  248. package/dist/navigation-link-zK6z8Gn3.d.ts +18 -0
  249. package/dist/scheduled-table-source-NZR1vFc_.js +38 -0
  250. package/dist/styles/accessibility.css +22 -9
  251. package/dist/styles/accordion.css +2 -2
  252. package/dist/styles/activity-header.css +14 -11
  253. package/dist/styles/activity.css +6 -13
  254. package/dist/styles/agent-attention.css +0 -23
  255. package/dist/styles/agent-chat.css +8 -3
  256. package/dist/styles/agent-connection.css +2 -2
  257. package/dist/styles/app-icon.css +7 -0
  258. package/dist/styles/app-top-bar.css +3 -11
  259. package/dist/styles/approval.css +2 -2
  260. package/dist/styles/base.css +3 -1
  261. package/dist/styles/browser-live-screen.css +3 -1
  262. package/dist/styles/browser-run-panel.css +2 -2
  263. package/dist/styles/button.css +13 -44
  264. package/dist/styles/card.css +42 -5
  265. package/dist/styles/chain-of-thought.css +2 -8
  266. package/dist/styles/chatgpt-sign-in-screen.css +91 -83
  267. package/dist/styles/checkbox-group.css +2 -1
  268. package/dist/styles/checkbox.css +4 -6
  269. package/dist/styles/code-block.css +2 -1
  270. package/dist/styles/codex-model-selector.css +2 -2
  271. package/dist/styles/collapsible.css +2 -2
  272. package/dist/styles/color-contrast.test.ts +1 -0
  273. package/dist/styles/combobox.css +5 -9
  274. package/dist/styles/commit.css +2 -7
  275. package/dist/styles/composer-link.css +0 -10
  276. package/dist/styles/connected-app-card.css +32 -32
  277. package/dist/styles/context-menu.css +2 -2
  278. package/dist/styles/description-list.css +14 -0
  279. package/dist/styles/execution-board.css +1 -1
  280. package/dist/styles/execution-result.css +161 -0
  281. package/dist/styles/file-tree.css +5 -9
  282. package/dist/styles/first-run-setup.css +751 -0
  283. package/dist/styles/index.css +5 -2
  284. package/dist/styles/inline-citation.css +2 -10
  285. package/dist/styles/manager-office.css +16 -43
  286. package/dist/styles/marker.css +2 -2
  287. package/dist/styles/media-preview-card.css +2 -7
  288. package/dist/styles/message-scroller.css +3 -2
  289. package/dist/styles/model-selector.css +19 -15
  290. package/dist/styles/navigation-menu.css +4 -4
  291. package/dist/styles/number-field.css +2 -3
  292. package/dist/styles/preview-card.css +2 -2
  293. package/dist/styles/prompt-input.css +5 -15
  294. package/dist/styles/queue.css +2 -7
  295. package/dist/styles/radio.css +4 -6
  296. package/dist/styles/recipes.css +25 -52
  297. package/dist/styles/resizable-side-panel.css +3 -2
  298. package/dist/styles/responsive-sidebar-shell.css +1 -6
  299. package/dist/styles/scroll-area.css +3 -2
  300. package/dist/styles/scrollbars.css +2 -0
  301. package/dist/styles/search-field.css +1 -2
  302. package/dist/styles/slider.css +4 -5
  303. package/dist/styles/sources.css +2 -7
  304. package/dist/styles/stepper.css +4 -4
  305. package/dist/styles/streamdown.css +8 -1
  306. package/dist/styles/subagent-run.css +123 -12
  307. package/dist/styles/switch.css +4 -7
  308. package/dist/styles/tabs.css +5 -4
  309. package/dist/styles/task.css +2 -7
  310. package/dist/styles/test-results.css +2 -7
  311. package/dist/styles/theme-mode-control.css +0 -6
  312. package/dist/styles/think-chat-activity.css +0 -8
  313. package/dist/styles/think-execution-status.css +1 -1
  314. package/dist/styles/think-execution-workbench.css +3 -3
  315. package/dist/styles/think-full-app.css +3 -2
  316. package/dist/styles/{think-routine.css → think-schedule.css} +64 -80
  317. package/dist/styles/toggle-group.css +9 -6
  318. package/dist/styles/toggle.css +23 -15
  319. package/dist/styles/toolbar.css +0 -6
  320. package/dist/styles/workspace-automation.css +233 -0
  321. package/dist/styles/workspace-concepts.css +18 -412
  322. package/dist/styles/workspace-entity-card.css +146 -0
  323. package/dist/styles/workspace-explorer.css +4 -3
  324. package/dist/utils/codex-model-catalog.d.ts +1 -1
  325. package/dist/utils/codex-model-catalog.js +51 -19
  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-DVn0d-fN.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-CMY1kPkq.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 +28 -28
  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
@@ -0,0 +1,100 @@
1
+ import { ot as UsersIcon } from "../../icons-Yp99gmMC.js";
2
+ import { r as OutboundLink } from "../../workspace-assets-Dq5toMQc.js";
3
+ import { t as WorkspaceEntityCard } from "../../workspace-entity-card-B1aV-jBj.js";
4
+ import { n as peopleListItems, t as PersonAvatar } from "../../workspace-person-BVkYb3dv.js";
5
+ import { n as useConceptEntry, t as WorkspaceConceptPanel } from "../../workspace-concept-panel-CxZfmFkP.js";
6
+ import * as React from "react";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ //#region src/components/agents-sdk/WorkspacePerson.tsx
9
+ /** The People destination in the workbench navigation; the panel's heading and mark. */
10
+ const peopleWorkbenchItem = {
11
+ id: "people",
12
+ label: "People",
13
+ description: "Who they are to you and how to write to each.",
14
+ icon: /* @__PURE__ */ jsx(UsersIcon, {})
15
+ };
16
+ const FORMALITY_LABEL = {
17
+ formal: "Formal",
18
+ casual: "Casual"
19
+ };
20
+ /**
21
+ * Handles are agent-written, so one becomes a link only when its label shows
22
+ * the whole destination: a web page, one bare address, or one E.164 number.
23
+ */
24
+ function personHandle(uri) {
25
+ let url;
26
+ try {
27
+ url = new URL(uri.trim());
28
+ } catch {
29
+ return null;
30
+ }
31
+ if (url.protocol === "https:" || url.protocol === "http:") {
32
+ const label = `${url.host.replace(/^www\./u, "")}${url.pathname.replace(/\/$/u, "")}`;
33
+ return {
34
+ href: url.href,
35
+ label
36
+ };
37
+ }
38
+ if (url.search || url.hash) return null;
39
+ if (url.protocol === "mailto:" && /^[^\s@,;%]+@[^\s@,;%]+$/u.test(url.pathname)) return {
40
+ href: url.href,
41
+ label: url.pathname
42
+ };
43
+ const number = url.protocol === "tel:" ? url.pathname.replace(/[\s().-]/gu, "") : "";
44
+ if (!/^\+[1-9]\d{6,14}$/u.test(number)) return null;
45
+ const nanp = /^\+1(\d{3})(\d{3})(\d{4})$/u.exec(number);
46
+ return {
47
+ href: `tel:${number}`,
48
+ label: nanp ? `(${nanp[1]}) ${nanp[2]}-${nanp[3]}` : number
49
+ };
50
+ }
51
+ function PersonCard({ person, source, ...props }) {
52
+ const handle = person.handles?.map(personHandle).find(Boolean);
53
+ return /* @__PURE__ */ jsx(WorkspaceEntityCard, {
54
+ ...props,
55
+ "data-slot": "workspace-person-card",
56
+ icon: /* @__PURE__ */ jsx(PersonAvatar, { name: person.name }),
57
+ name: person.name,
58
+ onOpen: source.onOpen ? () => source.onOpen?.(person.path) : void 0,
59
+ meta: /* @__PURE__ */ jsxs(Fragment, { children: [
60
+ "Your ",
61
+ person.relationship.replace(/^(?:your|my)\s+/iu, ""),
62
+ person.formality ? ` · ${FORMALITY_LABEL[person.formality]}` : null,
63
+ handle ? " · " : null,
64
+ handle ? /* @__PURE__ */ jsx(OutboundLink, {
65
+ href: handle.href,
66
+ children: handle.label
67
+ }) : null
68
+ ] })
69
+ });
70
+ }
71
+ /** Compact inline card for one queried person file. */
72
+ function WorkspacePersonFile({ fallback = null, path, source, ...props }) {
73
+ const person = useConceptEntry(source, path);
74
+ return person ? /* @__PURE__ */ jsx(PersonCard, {
75
+ ...props,
76
+ person,
77
+ source
78
+ }) : fallback;
79
+ }
80
+ /**
81
+ * Workbench list of queried people, by name. Once anyone has a circle, the list
82
+ * splits into Family, Team, Friends, and Others, skipping empty sections. Same
83
+ * card as the inline placement.
84
+ */
85
+ function WorkspacePeoplePanel({ source, ...props }) {
86
+ const groupId = React.useId();
87
+ return /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
88
+ "data-slot": "workspace-people-panel",
89
+ ...props,
90
+ item: peopleWorkbenchItem,
91
+ queryOptions: source.queryOptions,
92
+ children: (people = []) => peopleListItems(people, groupId, (person) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(PersonCard, {
93
+ flat: true,
94
+ person,
95
+ source
96
+ }) }, person.path))
97
+ });
98
+ }
99
+ //#endregion
100
+ export { WorkspacePeoplePanel, WorkspacePersonFile, peopleWorkbenchItem };
@@ -1,9 +1,10 @@
1
- import { f as CardProps } from "../../Card-BPkXIkBz.js";
2
- import { r as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-ByaG-kBq.js";
1
+ import { t as WorkspaceConceptQueryOptions } from "../../WorkspaceConcept-BjrgGE1w.js";
2
+ import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "../../workspace-concept-panel-CxuqDi4m.js";
3
3
  import * as React from "react";
4
4
  //#region src/components/agents-sdk/WorkspaceProject.d.ts
5
- export type WorkspaceProjectThreadOrigin = "user" | "routine" | "messenger";
6
- export interface WorkspaceProjectFile {
5
+ export type WorkspaceProjectThreadOrigin = "user" | "schedule" | "messenger";
6
+ /** A file in the project's folder. */
7
+ export interface WorkspaceProjectLink {
7
8
  path: string;
8
9
  label: string;
9
10
  }
@@ -37,70 +38,33 @@ export interface WorkspaceProject {
37
38
  description?: string;
38
39
  /** Brand mark. Defaults to `FolderIcon`. */
39
40
  icon?: React.ReactNode;
40
- files?: readonly WorkspaceProjectFile[];
41
+ /** Files in the project's folder. The card lists those the working set does not, minus PROJECT.md. */
42
+ files?: readonly WorkspaceProjectLink[];
41
43
  /** Explicit groups authored under `## Working set` in PROJECT.md. */
42
44
  sections?: readonly WorkspaceProjectSection[];
43
45
  threads?: readonly WorkspaceProjectThread[];
44
46
  }
45
- type WorkspaceProjectOpenable = {
46
- onOpen?: () => void;
47
- };
48
- export type WorkspaceProjectFileView = WorkspaceProjectFile & WorkspaceProjectOpenable;
49
- export type WorkspaceProjectSectionItemView = (Extract<WorkspaceProjectSectionItem, {
50
- kind: "file";
51
- }> & WorkspaceProjectOpenable) | Exclude<WorkspaceProjectSectionItem, {
52
- kind: "file";
53
- }>;
54
- export interface WorkspaceProjectSectionView {
55
- label: string;
56
- items: readonly WorkspaceProjectSectionItemView[];
57
- }
58
- export type WorkspaceProjectThreadView = WorkspaceProjectThread & WorkspaceProjectOpenable;
59
- /** Data-only project projection hydrated with card actions outside Query. */
60
- export interface WorkspaceProjectView extends Omit<WorkspaceProject, "files" | "sections" | "threads"> {
61
- files?: readonly WorkspaceProjectFileView[];
62
- sections?: readonly WorkspaceProjectSectionView[];
63
- threads?: readonly WorkspaceProjectThreadView[];
64
- onOpen?: () => void;
65
- onDelete?: () => void | Promise<void>;
66
- }
67
47
  export interface WorkspaceProjectSource {
48
+ /** The workspace's projects, shared by the panel, inline cards, and composer context. */
68
49
  queryOptions: WorkspaceConceptQueryOptions<readonly WorkspaceProject[]>;
69
- onOpenFile?: (path: string) => void;
50
+ /** Opens a workspace file: PROJECT.md from the name, or a file in the folder. */
51
+ onOpen?: (path: string) => void;
52
+ /** Opens one of the project's threads. */
70
53
  onOpenThread?: (id: string) => void;
71
54
  /** Deletes PROJECT.md. The host decides whether the folder goes with it. */
72
55
  onDelete?: (path: string) => void | Promise<void>;
73
56
  }
74
- export interface WorkspaceProjectCardProps extends Omit<CardProps, "children" | "hover" | "size" | "title"> {
75
- project: WorkspaceProjectView;
76
- }
77
- export interface WorkspaceProjectFileCardProps extends Omit<WorkspaceProjectCardProps, "project"> {
78
- path: string;
79
- source: WorkspaceProjectSource;
80
- fallback?: React.ReactNode;
81
- }
82
- export interface WorkspaceProjectsPanelProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
83
- /** Shared workspace query and host actions, also used by inline project cards. */
84
- source: WorkspaceProjectSource;
85
- }
86
- export declare function WorkspaceProjectCard({ className, project, ref, ...props }: WorkspaceProjectCardProps & {
87
- ref?: React.Ref<HTMLDivElement>;
88
- }): React.JSX.Element;
89
- /**
90
- * Compact inline card for one queried PROJECT.md. Identity plus contents — no status.
91
- */
92
- export declare function WorkspaceProjectFileCard({ fallback, path, source, ...props }: WorkspaceProjectFileCardProps & {
93
- ref?: React.Ref<HTMLDivElement>;
94
- }): 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;
95
- /** Design-system-owned project query shared by panels, cards, and composer context. */
96
- export declare function useWorkspaceProjects(source: WorkspaceProjectSource): readonly WorkspaceProject[];
97
- /**
98
- * Workbench list of queried projects. Same card as the inline placement. A
99
- * query failure with nothing loaded renders as a quiet inline error, never as
100
- * an empty library.
101
- */
102
- export declare function WorkspaceProjectsPanel({ className, source, ref, ...props }: WorkspaceProjectsPanelProps & {
103
- /** Ref forwarded to the component's rendered root element. */
104
- ref?: React.Ref<HTMLElement>;
105
- }): React.JSX.Element;
57
+ export type WorkspaceProjectFileProps = WorkspaceConceptFileProps<WorkspaceProjectSource>;
58
+ export type WorkspaceProjectsPanelProps = WorkspaceConceptPanelProps<WorkspaceProjectSource>;
59
+ /** The Projects destination in the workbench navigation; the panel's heading and mark. */
60
+ export declare const projectsWorkbenchItem: {
61
+ readonly id: "projects";
62
+ readonly label: "Projects";
63
+ readonly description: "Browse project files and choose what to work on.";
64
+ readonly icon: React.JSX.Element;
65
+ };
66
+ /** Compact inline card for one queried PROJECT.md. Identity plus contents — no status. */
67
+ export declare function WorkspaceProjectFile({ fallback, path, source, ...props }: WorkspaceProjectFileProps): 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;
68
+ /** Workbench list of queried projects. Same card as the inline placement. */
69
+ export declare function WorkspaceProjectsPanel({ source, ...props }: WorkspaceProjectsPanelProps): React.JSX.Element;
106
70
  //#endregion
@@ -1,227 +1,125 @@
1
- import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { Button } from "../foundations/Button.js";
3
- import { C as FolderIcon, D as LinkIcon, K as SpinnerIcon, S as FileIcon, et as UserIcon, j as MessageSquareIcon, u as CalendarIcon } from "../../icons-DvlrWt54.js";
4
- import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
5
- import { IconButton } from "../foundations/IconButton.js";
6
- import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle } from "../foundations/Card.js";
1
+ import { P as MessageSquareIcon, at as UserIcon, u as CalendarIcon, w as FolderIcon } from "../../icons-Yp99gmMC.js";
7
2
  import { DescriptionList } from "../foundations/DescriptionList.js";
8
- import { EmptyState } from "../foundations/EmptyState.js";
9
- import { LinkButton } from "../foundations/LinkButton.js";
10
- import { i as WorkspaceComposerLink, t as FaviconMark } from "../../workspace-assets-DVn0d-fN.js";
11
- import { t as WorkspaceDeleteControl } from "../../workspace-delete-CMY1kPkq.js";
12
- import { t as WorkspaceConceptPanel } from "../../WorkspaceConceptPanel-D21iRsWm.js";
13
- import * as React from "react";
3
+ import { i as WorkspaceComposerLink, r as OutboundLink } from "../../workspace-assets-Dq5toMQc.js";
4
+ import { t as WorkspaceEntityCard } from "../../workspace-entity-card-B1aV-jBj.js";
5
+ import { n as useConceptEntry, t as WorkspaceConceptPanel } from "../../workspace-concept-panel-CxZfmFkP.js";
6
+ import { t as WorkspaceDeleteControl } from "../../workspace-delete-CoB0l6ZU.js";
7
+ import "react";
14
8
  import { jsx, jsxs } from "react/jsx-runtime";
15
- import { useQuery } from "@tanstack/react-query";
16
9
  //#region src/components/agents-sdk/WorkspaceProject.tsx
10
+ /** The Projects destination in the workbench navigation; the panel's heading and mark. */
11
+ const projectsWorkbenchItem = {
12
+ id: "projects",
13
+ label: "Projects",
14
+ description: "Browse project files and choose what to work on.",
15
+ icon: /* @__PURE__ */ jsx(FolderIcon, {})
16
+ };
17
17
  const ORIGIN_LABEL = {
18
18
  user: "From you",
19
- routine: "Schedule",
19
+ schedule: "Schedule",
20
20
  messenger: "Messenger"
21
21
  };
22
22
  const ORIGIN_ICON = {
23
23
  user: /* @__PURE__ */ jsx(UserIcon, {}),
24
- routine: /* @__PURE__ */ jsx(CalendarIcon, {}),
24
+ schedule: /* @__PURE__ */ jsx(CalendarIcon, {}),
25
25
  messenger: /* @__PURE__ */ jsx(MessageSquareIcon, {})
26
26
  };
27
27
  const ORIGIN_ORDER = [
28
28
  "user",
29
- "routine",
29
+ "schedule",
30
30
  "messenger"
31
31
  ];
32
- function LinkList({ items }) {
33
- if (items.length === 1) {
34
- const item = items[0];
35
- return /* @__PURE__ */ jsx(WorkspaceComposerLink, {
36
- kind: "tab",
37
- value: item.key,
38
- label: item.label,
39
- icon: item.icon,
40
- hint: item.hint,
41
- onOpen: item.onOpen
42
- });
43
- }
44
- return /* @__PURE__ */ jsx("ul", {
45
- className: "sigvelo-stack-list",
46
- children: items.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
47
- kind: "tab",
48
- value: item.key,
49
- label: item.label,
50
- icon: item.icon,
51
- hint: item.hint,
52
- onOpen: item.onOpen
53
- }) }, item.key))
54
- });
32
+ /** One labeled run of links. Each child is an `<li>` with its own key. */
33
+ function LinkFact({ children, term }) {
34
+ return /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: term }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx("ul", {
35
+ className: "workspace-entity-card__links",
36
+ children
37
+ }) })] });
55
38
  }
56
- function ProjectDetails({ project }) {
57
- const referencedFiles = new Set((project.sections ?? []).flatMap(({ items }) => items.flatMap((item) => item.kind === "file" ? [item.path] : [])));
58
- const files = (project.files ?? []).filter((file) => !file.path.endsWith("/PROJECT.md") && !referencedFiles.has(file.path));
39
+ /** The working set, the folder's other files, and threads by origin; nothing when all are empty. */
40
+ function projectFacts(project, source) {
59
41
  const sections = (project.sections ?? []).filter(({ items }) => items.length > 0);
42
+ const referenced = new Set(sections.flatMap(({ items }) => items.flatMap((item) => item.kind === "file" ? [item.path] : [])));
43
+ const files = (project.files ?? []).filter((file) => file.path !== project.path && !referenced.has(file.path));
60
44
  const threads = project.threads ?? [];
61
- if (files.length === 0 && sections.length === 0 && threads.length === 0) return null;
45
+ if (files.length === 0 && sections.length === 0 && threads.length === 0) return void 0;
46
+ const openFile = (path) => source.onOpen ? () => source.onOpen?.(path) : void 0;
62
47
  return /* @__PURE__ */ jsxs(DescriptionList.Root, {
63
48
  align: "start",
64
- variant: "divided",
49
+ density: "compact",
65
50
  children: [
66
- sections.map((section) => /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: section.label }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx("div", {
67
- className: "sigvelo-cluster",
68
- children: section.items.map((item) => item.kind === "file" ? /* @__PURE__ */ jsx(WorkspaceComposerLink, {
51
+ sections.map((section) => /* @__PURE__ */ jsx(LinkFact, {
52
+ term: section.label,
53
+ children: section.items.map((item) => item.kind === "file" ? /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
69
54
  value: item.path,
70
55
  label: item.label,
71
- hint: item.path,
72
- onOpen: item.onOpen
73
- }, `${item.kind}:${item.path}`) : item.kind === "link" ? /* @__PURE__ */ jsxs(LinkButton, {
56
+ onOpen: openFile(item.path)
57
+ }) }, `file:${item.path}`) : item.kind === "link" ? /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(OutboundLink, {
74
58
  href: item.href,
75
- target: "_blank",
76
- rel: "noreferrer",
77
- variant: "link",
78
- color: "neutral",
79
- size: "sm",
80
- children: [/* @__PURE__ */ jsx(FaviconMark, {
81
- href: item.href,
82
- fallback: /* @__PURE__ */ jsx(LinkIcon, {})
83
- }), item.label]
84
- }, `${item.kind}:${item.href}`) : /* @__PURE__ */ jsx("span", { children: item.label }, `${item.kind}:${item.label}`))
85
- }) })] }, section.label)),
86
- files.length > 0 ? /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: "Contents" }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx("div", {
87
- className: "sigvelo-cluster",
88
- children: files.map((file) => /* @__PURE__ */ jsx(WorkspaceComposerLink, {
59
+ children: item.label
60
+ }) }, `link:${item.href}`) : /* @__PURE__ */ jsx("li", { children: item.label }, `text:${item.label}`))
61
+ }, section.label)),
62
+ files.length > 0 ? /* @__PURE__ */ jsx(LinkFact, {
63
+ term: "Contents",
64
+ children: files.map((file) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
89
65
  value: file.path,
90
66
  label: file.label,
91
- hint: file.path,
92
- onOpen: file.onOpen
93
- }, file.path))
94
- }) })] }) : null,
67
+ onOpen: openFile(file.path)
68
+ }) }, file.path))
69
+ }) : null,
95
70
  ORIGIN_ORDER.map((origin) => {
96
71
  const grouped = threads.filter((thread) => thread.origin === origin);
97
- if (grouped.length === 0) return null;
98
- return /* @__PURE__ */ jsxs(DescriptionList.Item, { children: [/* @__PURE__ */ jsx(DescriptionList.Term, { children: ORIGIN_LABEL[origin] }), /* @__PURE__ */ jsx(DescriptionList.Details, { children: /* @__PURE__ */ jsx(LinkList, { items: grouped.map((thread) => ({
99
- key: thread.id,
100
- label: thread.title,
101
- icon: thread.icon ?? ORIGIN_ICON[origin],
102
- onOpen: thread.onOpen
103
- })) }) })] }, origin);
72
+ return grouped.length > 0 ? /* @__PURE__ */ jsx(LinkFact, {
73
+ term: ORIGIN_LABEL[origin],
74
+ children: grouped.map((thread) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceComposerLink, {
75
+ kind: "tab",
76
+ value: thread.id,
77
+ label: thread.title,
78
+ icon: thread.icon ?? ORIGIN_ICON[origin],
79
+ onOpen: source.onOpenThread ? () => source.onOpenThread?.(thread.id) : void 0
80
+ }) }, thread.id))
81
+ }, origin) : null;
104
82
  })
105
83
  ]
106
84
  });
107
85
  }
108
- function WorkspaceProjectCard({ className, project, ref, ...props }) {
109
- const titleId = React.useId();
110
- const ariaLabel = props["aria-label"];
111
- const ariaLabelledBy = props["aria-labelledby"] ?? (ariaLabel ? void 0 : titleId);
112
- return /* @__PURE__ */ jsxs(Card, {
86
+ function ProjectCard({ project, source, ...props }) {
87
+ return /* @__PURE__ */ jsx(WorkspaceEntityCard, {
113
88
  ...props,
114
- ref,
115
- role: props.role ?? "article",
116
- "aria-labelledby": ariaLabelledBy,
117
89
  "data-slot": "workspace-project-card",
118
- size: "sm",
119
- className: cx("connected-app-card", className),
120
- children: [/* @__PURE__ */ jsxs(CardHeader, { children: [
121
- /* @__PURE__ */ jsxs(CardTitle, {
122
- id: titleId,
123
- className: "connected-app-card__title",
124
- render: (props) => /* @__PURE__ */ jsx("h3", {
125
- ...props,
126
- children: props.children
127
- }),
128
- children: [/* @__PURE__ */ jsx("span", {
129
- className: "connected-app-card__icon",
130
- "aria-hidden": "true",
131
- children: project.icon ?? /* @__PURE__ */ jsx(FolderIcon, {})
132
- }), project.name]
133
- }),
134
- project.description ? /* @__PURE__ */ jsx(CardDescription, { children: project.description }) : null,
135
- project.onOpen || project.onDelete ? /* @__PURE__ */ jsxs(CardAction, {
136
- className: "sigvelo-cluster",
137
- children: [project.onOpen ? /* @__PURE__ */ jsx(IconButton, {
138
- label: `Open ${project.name}`,
139
- tooltip: project.path,
140
- variant: "ghost",
141
- color: "neutral",
142
- onClick: project.onOpen,
143
- children: /* @__PURE__ */ jsx(FileIcon, {})
144
- }) : null, project.onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
145
- name: project.name,
146
- onDelete: project.onDelete
147
- }) : null]
148
- }) : null
149
- ] }), /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx(ProjectDetails, { project }) })]
90
+ icon: project.icon ?? /* @__PURE__ */ jsx(FolderIcon, {}),
91
+ name: project.name,
92
+ onOpen: source.onOpen ? () => source.onOpen?.(project.path) : void 0,
93
+ meta: project.description,
94
+ actions: source.onDelete ? /* @__PURE__ */ jsx(WorkspaceDeleteControl, {
95
+ name: project.name,
96
+ onDelete: () => source.onDelete?.(project.path)
97
+ }) : void 0,
98
+ detail: projectFacts(project, source)
150
99
  });
151
100
  }
152
- /**
153
- * Compact inline card for one queried PROJECT.md. Identity plus contents — no status.
154
- */
155
- function WorkspaceProjectFileCard({ fallback = null, path, source, ...props }) {
156
- const project = useWorkspaceProjects(source).find((candidate) => candidate.path === path);
157
- return project ? /* @__PURE__ */ jsx(WorkspaceProjectCard, {
101
+ /** Compact inline card for one queried PROJECT.md. Identity plus contents — no status. */
102
+ function WorkspaceProjectFile({ fallback = null, path, source, ...props }) {
103
+ const project = useConceptEntry(source, path);
104
+ return project ? /* @__PURE__ */ jsx(ProjectCard, {
158
105
  ...props,
159
- project: projectWithSource(project, source)
160
- }, JSON.stringify(source.queryOptions.queryKey)) : fallback;
161
- }
162
- /** Design-system-owned project query shared by panels, cards, and composer context. */
163
- function useWorkspaceProjects(source) {
164
- return useQuery(source.queryOptions).data ?? [];
106
+ project,
107
+ source
108
+ }) : fallback;
165
109
  }
166
- /**
167
- * Workbench list of queried projects. Same card as the inline placement. A
168
- * query failure with nothing loaded renders as a quiet inline error, never as
169
- * an empty library.
170
- */
171
- function WorkspaceProjectsPanel({ className, source, ref, ...props }) {
172
- const query = useQuery(source.queryOptions);
173
- const projects = query.data ?? [];
110
+ /** Workbench list of queried projects. Same card as the inline placement. */
111
+ function WorkspaceProjectsPanel({ source, ...props }) {
174
112
  return /* @__PURE__ */ jsx(WorkspaceConceptPanel, {
175
- heading: "Projects",
176
- ref,
177
113
  "data-slot": "workspace-projects-panel",
178
- className: cx("workspace-concept-panel", className),
179
114
  ...props,
180
- "aria-label": props["aria-label"] ?? "Projects",
181
- children: projects.length > 0 ? /* @__PURE__ */ jsx("ul", {
182
- className: "sigvelo-stack-list sigvelo-stack",
183
- children: projects.map((project) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(WorkspaceProjectCard, { project: projectWithSource(project, source) }) }, project.path))
184
- }) : query.error ? /* @__PURE__ */ jsx(EmptyState, {
185
- icon: /* @__PURE__ */ jsx(FolderIcon, {}),
186
- title: "Projects unavailable",
187
- description: formatErrorMessage(query.error),
188
- children: /* @__PURE__ */ jsx(Button, {
189
- size: "sm",
190
- variant: "outline",
191
- color: "neutral",
192
- onClick: () => void query.refetch(),
193
- children: "Retry"
194
- })
195
- }) : query.isPending ? /* @__PURE__ */ jsx(EmptyState, {
196
- icon: /* @__PURE__ */ jsx(SpinnerIcon, {}),
197
- title: "Loading projects"
198
- }) : /* @__PURE__ */ jsx(EmptyState, {
199
- icon: /* @__PURE__ */ jsx(FolderIcon, {}),
200
- title: "No projects"
201
- })
202
- }, JSON.stringify(source.queryOptions.queryKey));
203
- }
204
- function projectWithSource(project, source) {
205
- return {
206
- ...project,
207
- files: project.files?.map((file) => ({
208
- ...file,
209
- onOpen: source.onOpenFile ? () => source.onOpenFile?.(file.path) : void 0
210
- })),
211
- sections: project.sections?.map((section) => ({
212
- ...section,
213
- items: section.items.map((item) => item.kind === "file" ? {
214
- ...item,
215
- onOpen: source.onOpenFile ? () => source.onOpenFile?.(item.path) : void 0
216
- } : item)
217
- })),
218
- threads: project.threads?.map((thread) => ({
219
- ...thread,
220
- onOpen: source.onOpenThread ? () => source.onOpenThread?.(thread.id) : void 0
221
- })),
222
- onOpen: source.onOpenFile ? () => source.onOpenFile?.(project.path) : void 0,
223
- onDelete: source.onDelete ? () => source.onDelete?.(project.path) : void 0
224
- };
115
+ item: projectsWorkbenchItem,
116
+ queryOptions: source.queryOptions,
117
+ children: (projects = []) => projects.map((project) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(ProjectCard, {
118
+ flat: true,
119
+ project,
120
+ source
121
+ }) }, project.path))
122
+ });
225
123
  }
226
124
  //#endregion
227
- export { WorkspaceProjectCard, WorkspaceProjectFileCard, WorkspaceProjectsPanel, useWorkspaceProjects };
125
+ export { WorkspaceProjectFile, WorkspaceProjectsPanel, projectsWorkbenchItem };
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { p as ChevronRightIcon } from "../../icons-DvlrWt54.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
4
3
  import { ScrollArea } from "../foundations/ScrollArea.js";
5
4
  import { useExpansionState } from "./ExpansionState.js";
5
+ import { p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/ai-sdk/Activity.tsx
@@ -1,4 +1,4 @@
1
- import { r as ButtonProps } from "../../Button-ClRxb8tM.js";
1
+ import { r as ButtonProps } from "../../Button-DIn-0P-0.js";
2
2
  import * as React from "react";
3
3
  //#region src/components/ai-sdk/AgentAttention.d.ts
4
4
  export type AgentAttentionTone = "neutral" | "attention";
@@ -77,7 +77,7 @@ function AgentChatMessageEditor({ message, originalText, onCancel, onSubmit, onS
77
77
  className: "message__edit-actions",
78
78
  children: [/* @__PURE__ */ jsx(Button, {
79
79
  type: "button",
80
- variant: "outline",
80
+ variant: "surface",
81
81
  color: "neutral",
82
82
  size: "sm",
83
83
  disabled: isSubmitting,
@@ -1,5 +1,5 @@
1
- import { r as ButtonProps } from "../../Button-ClRxb8tM.js";
2
- import { vt as PromptInputTray } from "../../PromptInput-C3adKglc.js";
1
+ import { r as ButtonProps } from "../../Button-DIn-0P-0.js";
2
+ import { vt as PromptInputTray } from "../../PromptInput-Dbe6WgWA.js";
3
3
  import * as React from "react";
4
4
  import { useRender } from "@base-ui/react/use-render";
5
5
  //#region src/components/ai-sdk/AgentChatStartScreen.d.ts
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { lt as XIcon } from "../../icons-Yp99gmMC.js";
2
3
  import { Button } from "../foundations/Button.js";
3
- import { rt as XIcon } from "../../icons-DvlrWt54.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
5
  import { PromptInputTray, usePromptInputController } from "./PromptInput.js";
6
6
  import "react";
@@ -1,8 +1,8 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { V as PencilIcon } from "../../icons-Yp99gmMC.js";
2
3
  import { Button } from "../foundations/Button.js";
3
- import { R as PencilIcon } from "../../icons-DvlrWt54.js";
4
- import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
5
4
  import { Kbd } from "../foundations/Kbd.js";
5
+ import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/ai-sdk/Approval.tsx
@@ -1,4 +1,4 @@
1
- import { n as IconButtonProps } from "../../IconButton-43ggXEuf.js";
1
+ import { n as IconButtonProps } from "../../IconButton-FWsa9562.js";
2
2
  import * as React from "react";
3
3
  //#region src/components/ai-sdk/Artifact.d.ts
4
4
  export interface ArtifactProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { Z as SpinnerIcon, lt as XIcon, st as WarningIcon } from "../../icons-Yp99gmMC.js";
2
3
  import { Button, buttonVariants } from "../foundations/Button.js";
3
- import { K as SpinnerIcon, rt as XIcon, tt as WarningIcon } from "../../icons-DvlrWt54.js";
4
4
  import { IconButton } from "../foundations/IconButton.js";
5
5
  import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
6
6
  import * as React from "react";
@@ -174,7 +174,7 @@ function ArtifactPreviewError({ message, onRetry, overlay = false }) {
174
174
  /* @__PURE__ */ jsx("span", { children: message }),
175
175
  /* @__PURE__ */ jsx(Button, {
176
176
  type: "button",
177
- variant: "outline",
177
+ variant: "surface",
178
178
  color: "neutral",
179
179
  size: "sm",
180
180
  onClick: onRetry,
@@ -1,5 +1,5 @@
1
1
  import { Collapsible } from "../foundations/Collapsible.js";
2
- import { E as IconProps } from "../../icons-Dj6id76o.js";
2
+ import { D as IconProps } from "../../icons-CReP3qYl.js";
3
3
  import * as React from "react";
4
4
  //#region src/components/ai-sdk/ChainOfThought.d.ts
5
5
  export interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
@@ -1,6 +1,6 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-DvlrWt54.js";
3
2
  import { Collapsible } from "../foundations/Collapsible.js";
3
+ import { Z as SpinnerIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-Yp99gmMC.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/ai-sdk/ChainOfThought.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { s as BookmarkIcon } from "../../icons-DvlrWt54.js";
2
+ import { s as BookmarkIcon } from "../../icons-Yp99gmMC.js";
3
3
  import { Marker, MarkerIcon } from "../foundations/Marker.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-DYp5V_4O.js";
1
+ import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-BTkag9ms.js";
2
2
  export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockActionsProps, CodeBlockContainer, CodeBlockContainerProps, CodeBlockContent, CodeBlockContentProps, CodeBlockCopyButton, CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockFilenameProps, CodeBlockHeader, CodeBlockHeaderProps, type CodeBlockLanguage, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorItemProps, CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, CodeBlockLanguageSelectorValueProps, CodeBlockProps, CodeBlockTitle, CodeBlockTitleProps };