@mcp-b/react-components 0.56.1 → 0.57.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 (378) hide show
  1. package/dist/{AgentActivity-Cc_oDYum.d.ts → AgentActivity-DSObWhDU.d.ts} +3 -9
  2. package/dist/{AgentChatQueue-MrHhV901.d.ts → AgentChatQueue-CGR4hd7D.d.ts} +2 -9
  3. package/dist/{AgentMessageParts-C7L-Mv9U.d.ts → AgentMessageParts-BtWwiE4f.d.ts} +1 -6
  4. package/dist/{AgentToolRunsContext-DT50htHj.d.ts → AgentToolRunsContext-DniwGn96.d.ts} +1 -5
  5. package/dist/{AppTopBar-CVkLRdk7.d.ts → AppTopBar-DwzydmXu.d.ts} +8 -43
  6. package/dist/{Avatar-o2NO1fCG.d.ts → Avatar-t1YRzdwB.d.ts} +7 -30
  7. package/dist/{Button-DjONW5UW.d.ts → Button-ClRxb8tM.d.ts} +4 -17
  8. package/dist/{CodeBlock-DJ99TQWy.d.ts → CodeBlock-CPotpyyM.d.ts} +16 -72
  9. package/dist/{CodeBlock-Bl-q7wMc.js → CodeBlock-Dw1z6jc8.js} +1 -1
  10. package/dist/{Correspondent-7K6uNLUm.d.ts → Correspondent-ANkZHGEa.d.ts} +1 -5
  11. package/dist/{Dialog-88GF7_Th.d.ts → Dialog-D5AVE3IN.d.ts} +9 -49
  12. package/dist/{EmployeeChrome-B7Gt2Hpk.d.ts → EmployeeChrome-CN99SVfF.d.ts} +15 -59
  13. package/dist/{FileTree-DruTQ-oa.js → FileTree-D61EeWRU.js} +1 -2
  14. package/dist/{Form-CM7GNTwR.d.ts → Form-DIpgCZ2V.d.ts} +3 -7
  15. package/dist/{IconButton-CAlFVb2L.d.ts → IconButton-43ggXEuf.d.ts} +4 -14
  16. package/dist/{ManagerOffice-CMJ7laGe.js → ManagerOffice-D4L_xO4i.js} +5 -5
  17. package/dist/McpConnectorForm-BPWCo9bU.d.ts +35 -0
  18. package/dist/{McpPluginCatalog-DNeHDrts.d.ts → McpPluginCatalog-uSh0gGeY.d.ts} +5 -32
  19. package/dist/{Menu-CgfUZhZd.d.ts → Menu-FA4P6KrA.d.ts} +18 -87
  20. package/dist/{Message-COsMPZSC.d.ts → Message-CwCqa90H.d.ts} +20 -116
  21. package/dist/{MessageScrollerVirtual-D4afYwVB.d.ts → MessageScrollerVirtual-DVQeEkNy.d.ts} +2 -16
  22. package/dist/{Popover-CgHG5DtS.d.ts → Popover-BtAR4Tn8.d.ts} +12 -54
  23. package/dist/{PromptInput-DGPrCTPl.d.ts → PromptInput-C3adKglc.d.ts} +35 -243
  24. package/dist/{PromptInputApproval-D2hpn54U.d.ts → PromptInputApproval-C6KvCOMZ.d.ts} +2 -17
  25. package/dist/{ResponsiveSidebarShell-BUBQa_IV.d.ts → ResponsiveSidebarShell-DoZlSP30.d.ts} +4 -20
  26. package/dist/{Select-RrceeEIe.d.ts → Select-CEzSA672.d.ts} +16 -86
  27. package/dist/{Separator-CzhtLYE1.d.ts → Separator-CYWGW1tr.d.ts} +1 -8
  28. package/dist/{SetupChecklist-BiWQkKEq.js → SetupChecklist-DWyifWWg.js} +2 -2
  29. package/dist/{Tabs-Ptrbaynh.d.ts → Tabs-BYs-RgJ7.d.ts} +5 -33
  30. package/dist/{ThinkChatActivity-B6dh3n0-.d.ts → ThinkChatActivity-BkGjTY4r.d.ts} +6 -18
  31. package/dist/{ThinkChatActivitySummary-BtBQgMg6.d.ts → ThinkChatActivitySummary-DZVy3uQV.d.ts} +2 -3
  32. package/dist/{ThinkChatContext-COIgzkYp.d.ts → ThinkChatContext-DQ6M2VlJ.d.ts} +0 -1
  33. package/dist/{ThinkChatToolParts-D4qcnnxt.d.ts → ThinkChatToolParts-BucHi63O.d.ts} +1 -2
  34. package/dist/{ThinkExecutionRun-k8bpyXqt.d.ts → ThinkExecutionRun-CPeYVneQ.d.ts} +0 -1
  35. package/dist/{ThinkRoutine-Cb1DdaHa.d.ts → ThinkRoutine-DGlKJbIy.d.ts} +1 -2
  36. package/dist/{ThinkThreadPicker-DX0lL-P7.d.ts → ThinkThreadPicker-BmIZmpae.d.ts} +4 -19
  37. package/dist/{Toolbar-CGY004u0.d.ts → Toolbar-Dcn4IszI.d.ts} +8 -34
  38. package/dist/{Workspace-mzMZSdts.d.ts → Workspace-Cr-aGDfx.d.ts} +3 -19
  39. package/dist/{WorkspaceFile-19WP0EU1.d.ts → WorkspaceFile-DiwiJEwO.d.ts} +3 -3
  40. package/dist/{WorkspaceFileView-DXgTljKV.js → WorkspaceFileView-DCvGBsI1.js} +7 -6
  41. package/dist/{WorkspaceLink-BYZG-V_I.js → WorkspaceLink-BeFAXpbI.js} +14 -13
  42. package/dist/{WorkspaceLink-Bh9-Jo1r.d.ts → WorkspaceLink-Buo6gKj2.d.ts} +3 -23
  43. package/dist/{WorkspaceMessageResponse-BApg8KZv.d.ts → WorkspaceMessageResponse-D8FGgIQU.d.ts} +3 -12
  44. package/dist/{WorkspaceMessageResponse-CUJk9_P5.js → WorkspaceMessageResponse-DnsdpaGU.js} +1 -1
  45. package/dist/{WorkspaceMountManager-CkLI1B-G.d.ts → WorkspaceMountManager-DM384Cn6.d.ts} +1 -11
  46. package/dist/{codex-model-catalog-BBN_gWcc.d.ts → codex-model-catalog-CBWDdQl7.d.ts} +4 -2
  47. package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
  48. package/dist/components/agents-sdk/AgentActivity.js +1 -1
  49. package/dist/components/agents-sdk/AgentChat.d.ts +41 -89
  50. package/dist/components/agents-sdk/AgentChat.js +11 -10
  51. package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
  52. package/dist/components/agents-sdk/AgentEvent.d.ts +5 -13
  53. package/dist/components/agents-sdk/AgentEvent.js +3 -3
  54. package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +1 -1
  55. package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +12 -24
  56. package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
  57. package/dist/components/agents-sdk/BrowserLiveView.d.ts +9 -8
  58. package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
  59. package/dist/components/agents-sdk/BrowserReplay.d.ts +5 -12
  60. package/dist/components/agents-sdk/BrowserReplay.js +2 -2
  61. package/dist/components/agents-sdk/BrowserRunPanel.d.ts +4 -6
  62. package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
  63. package/dist/components/agents-sdk/DiscordConnectionDialog.d.ts +3 -11
  64. package/dist/components/agents-sdk/EmployeeApp.d.ts +9 -30
  65. package/dist/components/agents-sdk/EmployeeApp.js +2 -2
  66. package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -39
  67. package/dist/components/agents-sdk/EmployeeChat.js +5 -5
  68. package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
  69. package/dist/components/agents-sdk/EmployeeChrome.js +16 -15
  70. package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
  71. package/dist/components/agents-sdk/EmployeeSchedules.js +5 -4
  72. package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
  73. package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
  74. package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
  75. package/dist/components/agents-sdk/ManagerAccountActions.js +4 -4
  76. package/dist/components/agents-sdk/ManagerOffice.d.ts +41 -98
  77. package/dist/components/agents-sdk/ManagerOffice.js +1 -1
  78. package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +18 -29
  79. package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
  80. package/dist/components/agents-sdk/McpConnectionRequest.d.ts +13 -10
  81. package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
  82. package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
  83. package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
  84. package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
  85. package/dist/components/agents-sdk/McpPluginCatalog.js +4 -4
  86. package/dist/components/agents-sdk/McpServerIcon.d.ts +4 -10
  87. package/dist/components/agents-sdk/McpServerPicker.d.ts +16 -52
  88. package/dist/components/agents-sdk/McpServerPicker.js +3 -3
  89. package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +11 -11
  90. package/dist/components/agents-sdk/ModelEndpointDialog.js +25 -2
  91. package/dist/components/agents-sdk/ModelSelector.d.ts +46 -134
  92. package/dist/components/agents-sdk/ModelSelector.js +5 -5
  93. package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -1
  94. package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
  95. package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -7
  96. package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
  97. package/dist/components/agents-sdk/SlackConnectionDialog.d.ts +3 -10
  98. package/dist/components/agents-sdk/SubagentRunDetails.d.ts +12 -37
  99. package/dist/components/agents-sdk/SubagentRunDetails.js +1 -1
  100. package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +9 -17
  101. package/dist/components/agents-sdk/SubagentRunIndicator.js +2 -2
  102. package/dist/components/agents-sdk/SubagentRunList.d.ts +4 -13
  103. package/dist/components/agents-sdk/SubagentRunPanel.d.ts +7 -19
  104. package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
  105. package/dist/components/agents-sdk/SubagentRunSelector.d.ts +6 -16
  106. package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
  107. package/dist/components/agents-sdk/ThinkChat.d.ts +21 -41
  108. package/dist/components/agents-sdk/ThinkChat.js +3 -2
  109. package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
  110. package/dist/components/agents-sdk/ThinkChatActivity.js +3 -3
  111. package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
  112. package/dist/components/agents-sdk/ThinkChatActivitySummary.js +4 -3
  113. package/dist/components/agents-sdk/ThinkChatContext.d.ts +1 -1
  114. package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +9 -23
  115. package/dist/components/agents-sdk/ThinkChatToolPanels.js +11 -8
  116. package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +1 -1
  117. package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +4 -12
  118. package/dist/components/agents-sdk/ThinkExecutionDetail.js +3 -3
  119. package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
  120. package/dist/components/agents-sdk/ThinkExecutionRun.js +3 -2
  121. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +8 -20
  122. package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
  123. package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +20 -57
  124. package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +6 -5
  125. package/dist/components/agents-sdk/ThinkFullApp.d.ts +10 -30
  126. package/dist/components/agents-sdk/ThinkPendingApproval.d.ts +6 -28
  127. package/dist/components/agents-sdk/ThinkPendingApproval.js +1 -1
  128. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +4 -8
  129. package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
  130. package/dist/components/agents-sdk/ThinkRoutine.d.ts +1 -1
  131. package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +8 -17
  132. package/dist/components/agents-sdk/ThinkRoutineActions.js +3 -3
  133. package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +5 -17
  134. package/dist/components/agents-sdk/ThinkRoutineBrowser.js +3 -3
  135. package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +4 -15
  136. package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
  137. package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +8 -16
  138. package/dist/components/agents-sdk/ThinkRoutineForm.js +4 -4
  139. package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +4 -14
  140. package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
  141. package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
  142. package/dist/components/agents-sdk/ThinkThreadPicker.js +4 -4
  143. package/dist/components/agents-sdk/WorkbenchBack.d.ts +3 -10
  144. package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
  145. package/dist/components/agents-sdk/Workspace.d.ts +1 -1
  146. package/dist/components/agents-sdk/Workspace.js +3 -3
  147. package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +4 -15
  148. package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
  149. package/dist/components/agents-sdk/WorkspaceConcept.d.ts +10 -18
  150. package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +12 -27
  151. package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
  152. package/dist/components/agents-sdk/WorkspaceExecution.d.ts +18 -32
  153. package/dist/components/agents-sdk/WorkspaceExecution.js +7 -7
  154. package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +8 -11
  155. package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
  156. package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
  157. package/dist/components/agents-sdk/WorkspaceFileView.d.ts +4 -16
  158. package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
  159. package/dist/components/agents-sdk/WorkspaceHeader.d.ts +3 -14
  160. package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
  161. package/dist/components/agents-sdk/WorkspaceLink.d.ts +1 -1
  162. package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
  163. package/dist/components/agents-sdk/WorkspaceLive.d.ts +8 -19
  164. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
  165. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
  166. package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +1 -1
  167. package/dist/components/agents-sdk/WorkspaceMountManager.js +3 -2
  168. package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +8 -16
  169. package/dist/components/agents-sdk/WorkspaceProject.d.ts +22 -38
  170. package/dist/components/agents-sdk/WorkspaceProject.js +5 -5
  171. package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +8 -19
  172. package/dist/components/agents-sdk/WorkspaceUserScript.js +6 -5
  173. package/dist/components/ai-sdk/Activity.d.ts +21 -90
  174. package/dist/components/ai-sdk/Activity.js +1 -1
  175. package/dist/components/ai-sdk/AgentAttention.d.ts +15 -44
  176. package/dist/components/ai-sdk/AgentChatMessageEditor.d.ts +3 -11
  177. package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +15 -54
  178. package/dist/components/ai-sdk/AgentChatStartScreen.js +12 -11
  179. package/dist/components/ai-sdk/AgentChatTurnError.d.ts +3 -8
  180. package/dist/components/ai-sdk/AgentMessageParts.d.ts +1 -1
  181. package/dist/components/ai-sdk/AgentMessageParts.js +4 -2
  182. package/dist/components/ai-sdk/Approval.d.ts +20 -56
  183. package/dist/components/ai-sdk/Approval.js +2 -2
  184. package/dist/components/ai-sdk/Artifact.d.ts +23 -73
  185. package/dist/components/ai-sdk/Artifact.js +1 -1
  186. package/dist/components/ai-sdk/ChainOfThought.d.ts +19 -62
  187. package/dist/components/ai-sdk/ChainOfThought.js +1 -1
  188. package/dist/components/ai-sdk/Checkpoint.d.ts +13 -40
  189. package/dist/components/ai-sdk/Checkpoint.js +1 -1
  190. package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
  191. package/dist/components/ai-sdk/CodeBlock.js +1 -1
  192. package/dist/components/ai-sdk/ComposerLink.d.ts +6 -17
  193. package/dist/components/ai-sdk/ComposerLink.js +1 -1
  194. package/dist/components/ai-sdk/ConnectedAppCards.d.ts +20 -60
  195. package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
  196. package/dist/components/ai-sdk/Context.d.ts +27 -65
  197. package/dist/components/ai-sdk/Context.js +2 -2
  198. package/dist/components/ai-sdk/Conversation.d.ts +16 -50
  199. package/dist/components/ai-sdk/Conversation.js +1 -1
  200. package/dist/components/ai-sdk/Correspondent.d.ts +1 -1
  201. package/dist/components/ai-sdk/ExpansionState.d.ts +6 -11
  202. package/dist/components/ai-sdk/Goal.d.ts +20 -61
  203. package/dist/components/ai-sdk/Goal.js +2 -2
  204. package/dist/components/ai-sdk/InlineCitation.d.ts +11 -30
  205. package/dist/components/ai-sdk/InlineCitation.js +8 -7
  206. package/dist/components/ai-sdk/MediaPreviewCard.d.ts +15 -53
  207. package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
  208. package/dist/components/ai-sdk/Message.d.ts +1 -1
  209. package/dist/components/ai-sdk/Message.js +3 -3
  210. package/dist/components/ai-sdk/MessageScroller.d.ts +14 -42
  211. package/dist/components/ai-sdk/MessageScroller.js +1 -1
  212. package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
  213. package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
  214. package/dist/components/ai-sdk/Plan.d.ts +32 -95
  215. package/dist/components/ai-sdk/Plan.js +4 -3
  216. package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
  217. package/dist/components/ai-sdk/PromptInput.js +7 -7
  218. package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +5 -19
  219. package/dist/components/ai-sdk/PromptInputComposerEditor.js +1 -1
  220. package/dist/components/ai-sdk/Queue.d.ts +39 -130
  221. package/dist/components/ai-sdk/Queue.js +1 -1
  222. package/dist/components/ai-sdk/Reasoning.d.ts +10 -32
  223. package/dist/components/ai-sdk/Reasoning.js +1 -1
  224. package/dist/components/ai-sdk/Sources.d.ts +11 -35
  225. package/dist/components/ai-sdk/Sources.js +1 -1
  226. package/dist/components/ai-sdk/Task.d.ts +13 -41
  227. package/dist/components/ai-sdk/Task.js +1 -1
  228. package/dist/components/ai-sdk/ToolApproval.d.ts +3 -14
  229. package/dist/components/ai-sdk/ToolInvocation.d.ts +3 -9
  230. package/dist/components/ai-sdk/ToolInvocation.js +2 -4
  231. package/dist/components/ai-sdk/ToolPart.d.ts +5 -7
  232. package/dist/components/extension/ChatGptSignInScreen.d.ts +6 -20
  233. package/dist/components/extension/ChatGptSignInScreen.js +1 -1
  234. package/dist/components/extension/CodexModelSelector.d.ts +5 -22
  235. package/dist/components/extension/CodexModelSelector.js +3 -3
  236. package/dist/components/extension/ConversationTabPicker.d.ts +5 -10
  237. package/dist/components/extension/ConversationTabPicker.js +2 -2
  238. package/dist/components/foundations/Accordion.d.ts +12 -34
  239. package/dist/components/foundations/AlertDialog.d.ts +24 -72
  240. package/dist/components/foundations/AlertDialog.js +6 -3
  241. package/dist/components/foundations/AppIcon.d.ts +15 -37
  242. package/dist/components/foundations/Autocomplete.d.ts +13 -59
  243. package/dist/components/foundations/Avatar.d.ts +1 -1
  244. package/dist/components/foundations/Avatar.js +4 -2
  245. package/dist/components/foundations/Button.d.ts +1 -1
  246. package/dist/components/foundations/Card.d.ts +15 -54
  247. package/dist/components/foundations/Checkbox.d.ts +5 -15
  248. package/dist/components/foundations/Checkbox.js +1 -1
  249. package/dist/components/foundations/CheckboxGroup.d.ts +14 -44
  250. package/dist/components/foundations/CheckboxGroup.js +14 -7
  251. package/dist/components/foundations/Collapsible.d.ts +10 -26
  252. package/dist/components/foundations/Collapsible.js +1 -1
  253. package/dist/components/foundations/Combobox.d.ts +13 -59
  254. package/dist/components/foundations/ContextMenu.d.ts +31 -93
  255. package/dist/components/foundations/ContextMenu.js +3 -2
  256. package/dist/components/foundations/DescriptionList.d.ts +6 -26
  257. package/dist/components/foundations/Dialog.d.ts +1 -1
  258. package/dist/components/foundations/Dialog.js +4 -2
  259. package/dist/components/foundations/EmptyState.d.ts +5 -14
  260. package/dist/components/foundations/Field.d.ts +29 -84
  261. package/dist/components/foundations/Fieldset.d.ts +10 -24
  262. package/dist/components/foundations/Fieldset.js +2 -1
  263. package/dist/components/foundations/Form.d.ts +1 -1
  264. package/dist/components/foundations/Form.js +2 -1
  265. package/dist/components/foundations/FormattedDate.d.ts +3 -7
  266. package/dist/components/foundations/IconButton.d.ts +1 -1
  267. package/dist/components/foundations/Input.d.ts +3 -9
  268. package/dist/components/foundations/Input.js +2 -1
  269. package/dist/components/foundations/Kbd.d.ts +3 -10
  270. package/dist/components/foundations/Label.d.ts +5 -12
  271. package/dist/components/foundations/Label.js +2 -1
  272. package/dist/components/foundations/LinkButton.d.ts +10 -17
  273. package/dist/components/foundations/Marker.d.ts +10 -29
  274. package/dist/components/foundations/Menu.d.ts +1 -1
  275. package/dist/components/foundations/Menu.js +2 -1
  276. package/dist/components/foundations/Menubar.d.ts +35 -101
  277. package/dist/components/foundations/Menubar.js +5 -3
  278. package/dist/components/foundations/Meter.d.ts +14 -35
  279. package/dist/components/foundations/NavigationMenu.d.ts +25 -71
  280. package/dist/components/foundations/NumberField.d.ts +16 -41
  281. package/dist/components/foundations/Popover.d.ts +1 -1
  282. package/dist/components/foundations/Popover.js +2 -1
  283. package/dist/components/foundations/PreviewCard.d.ts +16 -42
  284. package/dist/components/foundations/Progress.d.ts +9 -24
  285. package/dist/components/foundations/RadioGroup.d.ts +9 -24
  286. package/dist/components/foundations/RadioGroup.js +2 -1
  287. package/dist/components/foundations/ScrollArea.d.ts +16 -42
  288. package/dist/components/foundations/SearchField.d.ts +10 -23
  289. package/dist/components/foundations/SearchField.js +1 -1
  290. package/dist/components/foundations/Select.d.ts +1 -1
  291. package/dist/components/foundations/Select.js +1 -1
  292. package/dist/components/foundations/Separator.d.ts +1 -1
  293. package/dist/components/foundations/Slider.d.ts +16 -46
  294. package/dist/components/foundations/Stepper.d.ts +31 -91
  295. package/dist/components/foundations/Stepper.js +1 -1
  296. package/dist/components/foundations/Switch.d.ts +6 -17
  297. package/dist/components/foundations/Tabs.d.ts +1 -1
  298. package/dist/components/foundations/Textarea.d.ts +5 -11
  299. package/dist/components/foundations/ThemeProvider.d.ts +5 -13
  300. package/dist/components/foundations/Toast.d.ts +19 -51
  301. package/dist/components/foundations/Toast.js +1 -1
  302. package/dist/components/foundations/Toggle.d.ts +7 -18
  303. package/dist/components/foundations/Toggle.js +5 -4
  304. package/dist/components/foundations/ToggleGroup.d.ts +12 -27
  305. package/dist/components/foundations/ToggleGroup.js +1 -1
  306. package/dist/components/foundations/Toolbar.d.ts +1 -1
  307. package/dist/components/foundations/Tooltip.d.ts +16 -43
  308. package/dist/components/foundations/TransitionSurface.d.ts +6 -12
  309. package/dist/components/foundations/icons.d.ts +1 -1
  310. package/dist/components/foundations/icons.js +1 -1
  311. package/dist/components/general-purpose/AccountSignInDialog.d.ts +3 -10
  312. package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
  313. package/dist/components/general-purpose/ActionGuide.d.ts +14 -47
  314. package/dist/components/general-purpose/AppFrame.d.ts +4 -14
  315. package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
  316. package/dist/components/general-purpose/BrandLoading.d.ts +3 -7
  317. package/dist/components/general-purpose/Commit.d.ts +48 -156
  318. package/dist/components/general-purpose/Commit.js +4 -3
  319. package/dist/components/general-purpose/EnvironmentVariables.d.ts +27 -93
  320. package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
  321. package/dist/components/general-purpose/FileTree.d.ts +15 -62
  322. package/dist/components/general-purpose/FileTree.js +1 -1
  323. package/dist/components/general-purpose/NotificationPrompt.d.ts +2 -7
  324. package/dist/components/general-purpose/Pricing.d.ts +10 -11
  325. package/dist/components/general-purpose/PricingBillingToggle.d.ts +3 -11
  326. package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
  327. package/dist/components/general-purpose/PricingConfirmationDialog.d.ts +3 -13
  328. package/dist/components/general-purpose/PricingFAQ.d.ts +3 -9
  329. package/dist/components/general-purpose/PricingPage.d.ts +3 -30
  330. package/dist/components/general-purpose/PricingPage.js +2 -1
  331. package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -12
  332. package/dist/components/general-purpose/PricingPlanCard.js +2 -2
  333. package/dist/components/general-purpose/PricingUsageCalculator.d.ts +3 -11
  334. package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
  335. package/dist/components/general-purpose/ResizableSidePanel.d.ts +10 -33
  336. package/dist/components/general-purpose/ResizableSidePanel.js +1 -1
  337. package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
  338. package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
  339. package/dist/components/general-purpose/SettingsFormDialog.d.ts +5 -13
  340. package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
  341. package/dist/components/general-purpose/SetupChecklist.d.ts +6 -18
  342. package/dist/components/general-purpose/SetupChecklist.js +1 -1
  343. package/dist/components/general-purpose/StatusScreen.d.ts +5 -13
  344. package/dist/components/general-purpose/Terminal.d.ts +22 -67
  345. package/dist/components/general-purpose/Terminal.js +2 -2
  346. package/dist/components/general-purpose/TestResults.d.ts +39 -137
  347. package/dist/components/general-purpose/TestResults.js +7 -6
  348. package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -10
  349. package/dist/components/general-purpose/ThemeModeControl.js +2 -2
  350. package/dist/components/general-purpose/WebPreview.d.ts +23 -76
  351. package/dist/components/general-purpose/WebPreview.js +2 -2
  352. package/dist/components/nanites/AgentConnection.d.ts +11 -35
  353. package/dist/components/nanites/AgentConnection.js +2 -2
  354. package/dist/components/nanites/AgentToolDetail.d.ts +8 -27
  355. package/dist/components/nanites/AgentToolDetail.js +10 -9
  356. package/dist/components/nanites/GithubMotionMark.d.ts +2 -6
  357. package/dist/components/nanites/GithubMotionMark.js +2 -1
  358. package/dist/components/nanites/NaniteScene.d.ts +16 -19
  359. package/dist/components/nanites/NaniteScene.js +9 -8
  360. package/dist/{copy-button-CJYYgCIU.d.ts → copy-button-BIfY5M-D.d.ts} +1 -2
  361. package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
  362. package/dist/{format-COCyV98Z.js → format-CWaZEp5o.js} +1 -1
  363. package/dist/icons-CUuD7iEh.d.ts +73 -0
  364. package/dist/{mcp-server-catalog-D9p4gGeJ.d.ts → mcp-server-catalog-DgA9BnL0.d.ts} +0 -1
  365. package/dist/{progress-ring-Cgii90dC.js → progress-ring-L2bbF0ji.js} +1 -1
  366. package/dist/styles/app-top-bar.css +2 -2
  367. package/dist/styles/recipes.css +19 -19
  368. package/dist/utils/codex-model-catalog.d.ts +1 -1
  369. package/dist/utils/composer-link.d.ts +24 -25
  370. package/dist/utils/favicon.d.ts +3 -4
  371. package/dist/utils/mcp-server-catalog.d.ts +1 -1
  372. package/dist/utils/structured-code.d.ts +4 -6
  373. package/dist/utils/theme.d.ts +11 -12
  374. package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-wW_lQLYK.js} +2 -2
  375. package/package.json +37 -37
  376. package/dist/McpConnectorForm--HB0MEGC.d.ts +0 -39
  377. package/dist/icons-CCZGYUwU.d.ts +0 -299
  378. package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
@@ -1,69 +1,50 @@
1
- import { J as PromptInputMessage } from "../../PromptInput-DGPrCTPl.js";
2
- import { i as AgentMessageRenderPartContext } from "../../AgentMessageParts-C7L-Mv9U.js";
1
+ import { J as PromptInputMessage } from "../../PromptInput-C3adKglc.js";
2
+ import { i as AgentMessageRenderPartContext } from "../../AgentMessageParts-BtWwiE4f.js";
3
3
  import { AgentChatMessageContentProps, AgentChatRootProps } from "./AgentChat.js";
4
- import { o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, t as ThinkChatActivity } from "../../ThinkChatActivity-B6dh3n0-.js";
5
- import { i as ThinkChatValue } from "../../ThinkChatContext-COIgzkYp.js";
6
- import { n as WorkspaceFileRenderer } from "../../WorkspaceMessageResponse-BApg8KZv.js";
4
+ import { o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, t as ThinkChatActivity } from "../../ThinkChatActivity-BkGjTY4r.js";
5
+ import { i as ThinkChatValue } from "../../ThinkChatContext-DQ6M2VlJ.js";
6
+ import { n as WorkspaceFileRenderer } from "../../WorkspaceMessageResponse-D8FGgIQU.js";
7
7
  import * as React from "react";
8
8
  import { ChatStatus, UIMessage } from "ai";
9
9
  import { DataTag, UndefinedInitialDataOptions } from "@tanstack/react-query";
10
10
  import { PendingApproval, Think } from "@cloudflare/think";
11
11
  import { AgentStub } from "agents/client";
12
-
13
12
  //#region src/components/agents-sdk/ThinkChat.d.ts
14
- type ThinkPendingExecutionApprovalsQueryKey = readonly ["think", sourceKey: string, "pending-approvals"];
15
- type ThinkPendingExecutionApprovalsQueryOptions = UndefinedInitialDataOptions<readonly PendingApproval[], Error, readonly PendingApproval[], ThinkPendingExecutionApprovalsQueryKey> & {
13
+ export type ThinkPendingExecutionApprovalsQueryKey = readonly ["think", sourceKey: string, "pending-approvals"];
14
+ export type ThinkPendingExecutionApprovalsQueryOptions = UndefinedInitialDataOptions<readonly PendingApproval[], Error, readonly PendingApproval[], ThinkPendingExecutionApprovalsQueryKey> & {
16
15
  queryKey: DataTag<ThinkPendingExecutionApprovalsQueryKey, readonly PendingApproval[], Error>;
17
16
  };
18
17
  /** Shared pending-approval options for components and TanStack Router loaders. */
19
- declare function thinkPendingExecutionApprovalsQueryOptions(stub: AgentStub<Think>, sourceKey: string): ThinkPendingExecutionApprovalsQueryOptions;
20
- declare function useThinkPendingExecutionApprovals(stub: AgentStub<Think>, sourceKey: string, refreshSignal?: unknown, enabled?: boolean): {
18
+ export declare function thinkPendingExecutionApprovalsQueryOptions(stub: AgentStub<Think>, sourceKey: string): ThinkPendingExecutionApprovalsQueryOptions;
19
+ export declare function useThinkPendingExecutionApprovals(stub: AgentStub<Think>, sourceKey: string, refreshSignal?: unknown, enabled?: boolean): {
21
20
  pendingApprovals: readonly PendingApproval[];
22
21
  refreshPendingApprovals: () => Promise<void>;
23
22
  };
24
23
  /** The chat status shared by transcript, composer, and an external queue owner. */
25
- declare function getThinkChatStatus<State = unknown, MessageT extends UIMessage = UIMessage>(chat: ThinkChatValue<State, MessageT>): ChatStatus;
26
- interface ThinkChatRootProps<State = unknown, MessageT extends UIMessage = UIMessage> extends Omit<AgentChatRootProps<MessageT>, "messages" | "status" | "onSubmit" | "onStop" | "onRegenerate" | "onApprovalResponse"> {
24
+ export declare function getThinkChatStatus<State = unknown, MessageT extends UIMessage = UIMessage>(chat: ThinkChatValue<State, MessageT>): ChatStatus;
25
+ export interface ThinkChatRootProps<State = unknown, MessageT extends UIMessage = UIMessage> extends Omit<AgentChatRootProps<MessageT>, "messages" | "status" | "onSubmit" | "onStop" | "onRegenerate" | "onApprovalResponse"> {
27
26
  /** Whole upstream hook value. Connections and subscriptions remain application-owned. */
28
27
  chat: ThinkChatValue<State, MessageT>;
29
28
  }
30
29
  /** A single live adapter. It renders only explicit children and never opens another connection. */
31
- declare function ThinkChatRoot<State = unknown, MessageT extends UIMessage = UIMessage>({
32
- chat,
33
- children,
34
- ...props
35
- }: ThinkChatRootProps<State, MessageT>): React.JSX.Element;
30
+ export declare function ThinkChatRoot<State = unknown, MessageT extends UIMessage = UIMessage>({ chat, children, ...props }: ThinkChatRootProps<State, MessageT>): React.JSX.Element;
36
31
  /** Normalize composer references for the upstream transport, also usable before a conversation exists. */
37
- declare function normalizeThinkPrompt({
38
- text,
39
- references
40
- }: PromptInputMessage): string;
41
- interface ThinkChatMessageContentProps<MessageT extends UIMessage = UIMessage> extends AgentChatMessageContentProps<MessageT>, ThinkChatActivityRendererOptions<MessageT> {
32
+ export declare function normalizeThinkPrompt({ text, references }: PromptInputMessage): string;
33
+ export interface ThinkChatMessageContentProps<MessageT extends UIMessage = UIMessage> extends AgentChatMessageContentProps<MessageT>, ThinkChatActivityRendererOptions<MessageT> {
42
34
  renderWorkspaceFile?: WorkspaceFileRenderer;
43
35
  }
44
36
  /** Think activity/workspace rendering, independent of transcript layout and message actions. */
45
- declare function ThinkChatMessageContent<MessageT extends UIMessage = UIMessage>({
46
- message,
47
- renderPart,
48
- excludeTools,
49
- renderAgentToolRunLink,
50
- toolRenderers,
51
- renderWorkspaceFile
52
- }: ThinkChatMessageContentProps<MessageT>): React.JSX.Element;
53
- interface ThinkChatApprovalsProps {
37
+ export declare function ThinkChatMessageContent<MessageT extends UIMessage = UIMessage>({ message, renderPart, excludeTools, renderAgentToolRunLink, toolRenderers, renderWorkspaceFile }: ThinkChatMessageContentProps<MessageT>): React.JSX.Element;
38
+ export interface ThinkChatApprovalsProps {
54
39
  stub: AgentStub<Think>;
55
40
  sourceKey: string;
56
41
  /** Chat parts that share the pending approvals discovered for this source. */
57
42
  children: React.ReactNode;
58
43
  }
59
44
  /** Explicit durable discovery; policy and the decision to render a card remain with the caller. */
60
- declare function ThinkChatApprovals({
61
- stub,
62
- sourceKey,
63
- children
64
- }: ThinkChatApprovalsProps): React.JSX.Element;
65
- declare function ThinkChatRecoveryNotice(): React.JSX.Element;
66
- declare function useThinkChat<State = unknown, MessageT extends UIMessage = UIMessage>(): Omit<import("@ai-sdk/react").UseChatHelpers<MessageT>, "addToolOutput"> & {
45
+ export declare function ThinkChatApprovals({ stub, sourceKey, children }: ThinkChatApprovalsProps): React.JSX.Element;
46
+ export declare function ThinkChatRecoveryNotice(): React.JSX.Element;
47
+ export declare function useThinkChat<State = unknown, MessageT extends UIMessage = UIMessage>(): Omit<import("@ai-sdk/react").UseChatHelpers<MessageT>, "addToolOutput"> & {
67
48
  clearHistory: () => void;
68
49
  addToolOutput: (opts: {
69
50
  toolCallId: string;
@@ -82,7 +63,7 @@ declare function useThinkChat<State = unknown, MessageT extends UIMessage = UIMe
82
63
  wasClean: boolean;
83
64
  }) | null;
84
65
  };
85
- declare const ThinkChat: {
66
+ export declare const ThinkChat: {
86
67
  Root: typeof ThinkChatRoot;
87
68
  MessageContent: typeof ThinkChatMessageContent;
88
69
  Approvals: typeof ThinkChatApprovals;
@@ -91,5 +72,4 @@ declare const ThinkChat: {
91
72
  renderActivityPart: (context: AgentMessageRenderPartContext<UIMessage<unknown, import("ai").UIDataTypes, import("ai").UITools>>) => React.ReactNode | undefined;
92
73
  createActivityRenderer: typeof createThinkChatActivityRenderer;
93
74
  };
94
- //#endregion
95
- export { ThinkChat, ThinkChatApprovals, ThinkChatApprovalsProps, ThinkChatMessageContent, ThinkChatMessageContentProps, ThinkChatRecoveryNotice, ThinkChatRoot, ThinkChatRootProps, ThinkPendingExecutionApprovalsQueryKey, ThinkPendingExecutionApprovalsQueryOptions, getThinkChatStatus, normalizeThinkPrompt, thinkPendingExecutionApprovalsQueryOptions, useThinkChat, useThinkPendingExecutionApprovals };
75
+ //#endregion
@@ -3,7 +3,7 @@ import { AgentChat, useAgentChatControls } from "./AgentChat.js";
3
3
  import { ThinkChatContext, ThinkChatLiveContext, useThinkChatContext } from "./ThinkChatContext.js";
4
4
  import { ThinkChatActivity, createThinkChatActivityRenderer, renderThinkChatActivityPart } from "./ThinkChatActivity.js";
5
5
  import { ThinkRecoveryNotice } from "./ThinkRecoveryNotice.js";
6
- import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-CUJk9_P5.js";
6
+ import { n as WorkspaceMessageResponse, t as WorkspaceFileRendererProvider } from "../../WorkspaceMessageResponse-DnsdpaGU.js";
7
7
  import * as React from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  import { isTextUIPart } from "ai";
@@ -34,8 +34,9 @@ function thinkPendingExecutionApprovalsQueryOptions(stub, sourceKey) {
34
34
  }
35
35
  function useThinkPendingExecutionApprovals(stub, sourceKey, refreshSignal, enabled = true) {
36
36
  const queryClient = useQueryClient();
37
+ const options = thinkPendingExecutionApprovalsQueryOptions(stub, sourceKey);
37
38
  const approvalsQuery = useQuery({
38
- ...thinkPendingExecutionApprovalsQueryOptions(stub, sourceKey),
39
+ ...options,
39
40
  enabled
40
41
  });
41
42
  const refreshState = React.useRef({
@@ -1,2 +1,2 @@
1
- import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../../ThinkChatActivity-B6dh3n0-.js";
1
+ import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../../ThinkChatActivity-BkGjTY4r.js";
2
2
  export { ThinkChatActivity, ThinkChatActivityProps, ThinkChatActivityRendererOptions, ThinkChatToolRenderer, ThinkChatToolRenderers, createThinkChatActivityRenderer, renderThinkChatActivityPart };
@@ -1,11 +1,11 @@
1
- import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
2
1
  import { useExpansionState } from "../ai-sdk/ExpansionState.js";
3
2
  import { Activity, ActivityContent, ActivityItem, ActivityItemGroup, ActivityText, ActivityTrigger } from "../ai-sdk/Activity.js";
4
3
  import { Button } from "../foundations/Button.js";
5
4
  import { MessageResponse } from "../ai-sdk/Message.js";
6
- import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
7
- import { getSubagentRunName } from "./SubagentRunIndicator.js";
8
5
  import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
6
+ import { getSubagentRunName } from "./SubagentRunIndicator.js";
7
+ import { useOptionalAgentToolRuns } from "./AgentToolRunsContext.js";
8
+ import { AgentActivityFavicon, AgentActivityIcon } from "./AgentActivity.js";
9
9
  import { useOptionalThinkChatLive } from "./ThinkChatContext.js";
10
10
  import { isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartWorking, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart } from "./ThinkChatToolParts.js";
11
11
  import { ThinkChatBrowserPanel, ThinkChatExecutePanel, ThinkChatFetchPanel, ThinkChatSessionContextPanel, ThinkChatSkillPanel, ThinkChatWorkspacePanel } from "./ThinkChatToolPanels.js";
@@ -1,2 +1,2 @@
1
- import { a as ThinkChatToolLifecycleSnapshot, c as deriveThinkChatActivityHeader, d as summarizeActivitySteps, i as ThinkChatToolDescribers, l as deriveThinkChatToolLifecycleHeader, n as ThinkChatActivityHeader, o as activityPartIconKind, r as ThinkChatToolDescriber, s as activityPartUrl, t as ThinkChatActivityDescription, u as describeThinkChatActivityPart } from "../../ThinkChatActivitySummary-BtBQgMg6.js";
1
+ import { a as ThinkChatToolLifecycleSnapshot, c as deriveThinkChatActivityHeader, d as summarizeActivitySteps, i as ThinkChatToolDescribers, l as deriveThinkChatToolLifecycleHeader, n as ThinkChatActivityHeader, o as activityPartIconKind, r as ThinkChatToolDescriber, s as activityPartUrl, t as ThinkChatActivityDescription, u as describeThinkChatActivityPart } from "../../ThinkChatActivitySummary-DZVy3uQV.js";
2
2
  export { ThinkChatActivityDescription, ThinkChatActivityHeader, ThinkChatToolDescriber, ThinkChatToolDescribers, ThinkChatToolLifecycleSnapshot, activityPartIconKind, activityPartUrl, deriveThinkChatActivityHeader, deriveThinkChatToolLifecycleHeader, describeThinkChatActivityPart, summarizeActivitySteps };
@@ -1,4 +1,4 @@
1
- import { t as capitalize } from "../../format-COCyV98Z.js";
1
+ import { t as capitalize } from "../../format-CWaZEp5o.js";
2
2
  import { getToolDisplayName } from "../ai-sdk/ToolPart.js";
3
3
  import { t as summarizeToolInput } from "../../summarize-tool-input-CqTcGRYy.js";
4
4
  import { displayUrl, isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartFailed, isPartWorking, isSessionContextToolFailure, isSessionContextToolPart, isSkillToolPart, isWorkspaceToolPart } from "./ThinkChatToolParts.js";
@@ -13,7 +13,7 @@ function described(action, detail) {
13
13
  const ACTIVITY_HEADER_LABEL_MAX_LENGTH = 240;
14
14
  function bounded(text) {
15
15
  if (text.length <= ACTIVITY_HEADER_LABEL_MAX_LENGTH) return text;
16
- return `${text.slice(0, ACTIVITY_HEADER_LABEL_MAX_LENGTH - 1).trimEnd()}…`;
16
+ return `${text.slice(0, 239).trimEnd()}…`;
17
17
  }
18
18
  function boundedActivityHeader(header) {
19
19
  return {
@@ -344,7 +344,8 @@ function summarizeActivitySteps(parts) {
344
344
  for (const segment of genericSegments) if (!includedSegments.has(segment)) segments.push(segment);
345
345
  if (segments.length === 0) return "Worked";
346
346
  const top = segments.slice(0, 3);
347
- return capitalize(top.length === 1 ? top[0] : `${top.slice(0, -1).join(", ")} and ${top.at(-1)}`);
347
+ const joined = top.length === 1 ? top[0] : `${top.slice(0, -1).join(", ")} and ${top.at(-1)}`;
348
+ return capitalize(joined);
348
349
  }
349
350
  /** Derive the serializable collapsed header from persisted AI SDK message parts. */
350
351
  function deriveThinkChatActivityHeader(parts, options = {}) {
@@ -1,2 +1,2 @@
1
- import { a as useOptionalThinkChatContext, i as ThinkChatValue, n as ThinkChatLiveContext, o as useOptionalThinkChatLive, r as ThinkChatLiveValue, s as useThinkChatContext, t as ThinkChatContext } from "../../ThinkChatContext-COIgzkYp.js";
1
+ import { a as useOptionalThinkChatContext, i as ThinkChatValue, n as ThinkChatLiveContext, o as useOptionalThinkChatLive, r as ThinkChatLiveValue, s as useThinkChatContext, t as ThinkChatContext } from "../../ThinkChatContext-DQ6M2VlJ.js";
2
2
  export { ThinkChatContext, ThinkChatLiveContext, ThinkChatLiveValue, ThinkChatValue, useOptionalThinkChatContext, useOptionalThinkChatLive, useThinkChatContext };
@@ -1,49 +1,35 @@
1
- import { a as SessionContextToolPart, d as WorkspaceToolPart, n as ExecuteToolPart, o as SkillToolPart, r as FetchToolPart, t as BrowserToolPart } from "../../ThinkChatToolParts-D4qcnnxt.js";
1
+ import { a as SessionContextToolPart, d as WorkspaceToolPart, n as ExecuteToolPart, o as SkillToolPart, r as FetchToolPart, t as BrowserToolPart } from "../../ThinkChatToolParts-BucHi63O.js";
2
2
  import * as React from "react";
3
-
4
3
  //#region src/components/agents-sdk/ThinkChatToolPanels.d.ts
5
4
  /** Default panels for the Think workspace tools, Claude Code-style: read/write
6
5
  show the file with line numbers, edit shows a mini diff, list/find/grep
7
6
  show their result lists, bash gets the shell panel. Everything is typed by
8
7
  the upstream tool contract. */
9
- declare function ThinkChatWorkspacePanel({
10
- part
11
- }: {
8
+ export declare function ThinkChatWorkspacePanel({ part }: {
12
9
  part: WorkspaceToolPart;
13
10
  }): React.JSX.Element | null;
14
11
  /** Skill panels show what the model actually received: the activated skill's
15
12
  body, the resource text, or the script result. */
16
- declare function ThinkChatSkillPanel({
17
- part
18
- }: {
13
+ export declare function ThinkChatSkillPanel({ part }: {
19
14
  part: SkillToolPart;
20
15
  }): React.JSX.Element;
21
16
  /** Session panels expose the durable context/search operation recorded in the
22
17
  UIMessage. The session itself remains server-owned; this is transcript
23
18
  rendering, not a client-side mirror of context state. */
24
- declare function ThinkChatSessionContextPanel({
25
- part
26
- }: {
19
+ export declare function ThinkChatSessionContextPanel({ part }: {
27
20
  part: SessionContextToolPart;
28
21
  }): React.JSX.Element;
29
- declare function ThinkChatFetchPanel({
30
- part
31
- }: {
22
+ export declare function ThinkChatFetchPanel({ part }: {
32
23
  part: FetchToolPart;
33
24
  }): React.JSX.Element;
34
- interface ThinkChatExecutePanelProps {
25
+ export interface ThinkChatExecutePanelProps {
35
26
  /** Whole upstream Think execute-tool part, including its current output lifecycle. */
36
27
  part: ExecuteToolPart;
37
28
  }
38
29
  /** The codemode execute tool as an activity panel: highlighted TypeScript
39
30
  plus logs, result, and the paused pending-approval list. */
40
- declare function ThinkChatExecutePanel({
41
- part
42
- }: ThinkChatExecutePanelProps): React.JSX.Element;
43
- declare function ThinkChatBrowserPanel({
44
- part
45
- }: {
31
+ export declare function ThinkChatExecutePanel({ part }: ThinkChatExecutePanelProps): React.JSX.Element;
32
+ export declare function ThinkChatBrowserPanel({ part }: {
46
33
  part: BrowserToolPart;
47
34
  }): React.JSX.Element;
48
- //#endregion
49
- export { ThinkChatBrowserPanel, ThinkChatExecutePanel, ThinkChatExecutePanelProps, ThinkChatFetchPanel, ThinkChatSessionContextPanel, ThinkChatSkillPanel, ThinkChatWorkspacePanel };
35
+ //#endregion
@@ -1,8 +1,8 @@
1
1
  import { ActivityOutput, ActivityPanel } from "../ai-sdk/Activity.js";
2
- import { o as formatUnknownValue } from "../../format-COCyV98Z.js";
3
2
  import { Tabs } from "../foundations/Tabs.js";
3
+ import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
4
+ import { i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "../../CodeBlock-Dw1z6jc8.js";
4
5
  import { BrowserLiveView } from "./BrowserLiveView.js";
5
- import { i as CodeBlockContent, r as CodeBlockContainer, t as CodeBlock } from "../../CodeBlock-Bl-q7wMc.js";
6
6
  import { inferWorkspaceLanguage } from "./WorkspaceFile.js";
7
7
  import { displayUrl, isSessionContextToolFailure } from "./ThinkChatToolParts.js";
8
8
  import * as React from "react";
@@ -328,8 +328,7 @@ function formatToolCall(call) {
328
328
  }
329
329
  function formatAuditValue(value) {
330
330
  const formatted = formatUnknownValue(value);
331
- const maxLength = 240;
332
- return formatted.length > maxLength ? `${formatted.slice(0, maxLength - 1)}…` : formatted;
331
+ return formatted.length > 240 ? `${formatted.slice(0, 239)}…` : formatted;
333
332
  }
334
333
  function isHumanWait(action) {
335
334
  return action.connector === "human" && action.method === "waitFor";
@@ -445,10 +444,13 @@ function ThinkChatBrowserPanel({ part }) {
445
444
  });
446
445
  }
447
446
  const output = part.state === "output-available" ? part.output : void 0;
447
+ const label = displayUrl(part.input?.url) || "page";
448
+ const text = output === void 0 ? void 0 : typeof output === "string" ? output : Array.isArray(output) ? output.map((item) => typeof item === "string" ? item : JSON.stringify(item)).join("\n") : JSON.stringify(output, null, 2);
449
+ const status = part.type === "tool-browser_links" && Array.isArray(output) ? `${output.length} links` : void 0;
448
450
  return /* @__PURE__ */ jsx(ActivityPanel, {
449
- label: displayUrl(part.input?.url) || "page",
450
- text: output === void 0 ? void 0 : typeof output === "string" ? output : Array.isArray(output) ? output.map((item) => typeof item === "string" ? item : JSON.stringify(item)).join("\n") : JSON.stringify(output, null, 2),
451
- status: part.type === "tool-browser_links" && Array.isArray(output) ? `${output.length} links` : void 0
451
+ label,
452
+ text,
453
+ status
452
454
  });
453
455
  }
454
456
  function ThinkChatShellPanel({ part }) {
@@ -456,9 +458,10 @@ function ThinkChatShellPanel({ part }) {
456
458
  const errorText = part.state === "output-error" ? part.errorText : "";
457
459
  const deniedReason = part.state === "output-denied" ? part.approval.reason ?? "denied" : "";
458
460
  const failed = Boolean(errorText) || Boolean(deniedReason) || output !== void 0 && (output.exitCode !== 0 || Boolean(output.errors?.length));
461
+ const text = formatBashPanelText(part.input, output, errorText || deniedReason);
459
462
  return /* @__PURE__ */ jsx(ActivityPanel, {
460
463
  label: "Shell",
461
- text: formatBashPanelText(part.input, output, errorText || deniedReason),
464
+ text,
462
465
  status: output !== void 0 || errorText || deniedReason ? getBashStatusText(output, errorText, deniedReason) : void 0,
463
466
  error: failed
464
467
  });
@@ -1,2 +1,2 @@
1
- import { S as isWorkspaceToolPart, _ as isPartWorking, a as SessionContextToolPart, b as isSkillToolPart, c as ThinkBashToolPart, d as WorkspaceToolPart, f as displayUrl, g as isPartFailed, h as isFetchToolPart, i as SessionContextToolName, l as ThinkChatPart, m as isExecuteToolPart, n as ExecuteToolPart, o as SkillToolPart, p as isBrowserToolPart, r as FetchToolPart, s as ThinkBashToolOutput, t as BrowserToolPart, u as ThinkWorkspaceToolName, v as isSessionContextToolFailure, x as isThinkChatActivityPart, y as isSessionContextToolPart } from "../../ThinkChatToolParts-D4qcnnxt.js";
1
+ import { S as isWorkspaceToolPart, _ as isPartWorking, a as SessionContextToolPart, b as isSkillToolPart, c as ThinkBashToolPart, d as WorkspaceToolPart, f as displayUrl, g as isPartFailed, h as isFetchToolPart, i as SessionContextToolName, l as ThinkChatPart, m as isExecuteToolPart, n as ExecuteToolPart, o as SkillToolPart, p as isBrowserToolPart, r as FetchToolPart, s as ThinkBashToolOutput, t as BrowserToolPart, u as ThinkWorkspaceToolName, v as isSessionContextToolFailure, x as isThinkChatActivityPart, y as isSessionContextToolPart } from "../../ThinkChatToolParts-BucHi63O.js";
2
2
  export { BrowserToolPart, ExecuteToolPart, FetchToolPart, SessionContextToolName, SessionContextToolPart, SkillToolPart, ThinkBashToolOutput, ThinkBashToolPart, ThinkChatPart, ThinkWorkspaceToolName, WorkspaceToolPart, displayUrl, isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartFailed, isPartWorking, isSessionContextToolFailure, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isWorkspaceToolPart };
@@ -1,20 +1,12 @@
1
- import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-k8bpyXqt.js";
1
+ import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-CPeYVneQ.js";
2
2
  import * as React from "react";
3
-
4
3
  //#region src/components/agents-sdk/ThinkExecutionDetail.d.ts
5
- interface ThinkExecutionDetailProps extends React.HTMLAttributes<HTMLElement> {
4
+ export interface ThinkExecutionDetailProps extends React.HTMLAttributes<HTMLElement> {
6
5
  run: ThinkExecutionRun | null;
7
6
  emptyState?: React.ReactNode;
8
7
  }
9
8
  /** Native Think submission or Agents Workflow detail, reusable outside the execution workbench. */
10
- declare function ThinkExecutionDetail({
11
- className,
12
- emptyState,
13
- ref,
14
- run,
15
- ...props
16
- }: ThinkExecutionDetailProps & {
9
+ export declare function ThinkExecutionDetail({ className, emptyState, ref, run, ...props }: ThinkExecutionDetailProps & {
17
10
  ref?: React.Ref<HTMLElement>;
18
11
  }): React.JSX.Element;
19
- //#endregion
20
- export { ThinkExecutionDetail, ThinkExecutionDetailProps };
12
+ //#endregion
@@ -1,9 +1,9 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { S as FileIcon, T as InfoIcon } from "../../icons-cuEtsgj9.js";
2
+ import { S as FileIcon, T as InfoIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Activity, ActivityContent, ActivityItemGroup, ActivityOutput, ActivityTrigger } from "../ai-sdk/Activity.js";
4
- import { o as formatUnknownValue } from "../../format-COCyV98Z.js";
5
- import { EmptyState } from "../foundations/EmptyState.js";
4
+ import { o as formatUnknownValue } from "../../format-CWaZEp5o.js";
6
5
  import { DescriptionList } from "../foundations/DescriptionList.js";
6
+ import { EmptyState } from "../foundations/EmptyState.js";
7
7
  import { formatThinkExecutionTimestamp, getThinkExecutionRunError, getThinkExecutionRunId, getThinkExecutionRunKindLabel, getThinkExecutionRunProgressedAt, getThinkExecutionRunProgressedLabel, getThinkExecutionRunTitle, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
8
8
  import { ThinkExecutionStatus } from "./ThinkExecutionStatus.js";
9
9
  import "react";
@@ -1,2 +1,2 @@
1
- import { _ as isThinkSubmissionRun, a as formatThinkExecutionStatus, c as getThinkExecutionRunError, d as getThinkExecutionRunProgressedAt, f as getThinkExecutionRunProgressedLabel, g as getThinkExecutionRunTitle, h as getThinkExecutionRunSubtitle, i as formatThinkExecutionShortTimestamp, l as getThinkExecutionRunId, m as getThinkExecutionRunStatusTone, n as ThinkExecutionStatusTone, o as formatThinkExecutionTimestamp, p as getThinkExecutionRunStatus, r as formatThinkExecutionRunProgress, s as getThinkExecutionRunAccessibleName, t as ThinkExecutionRun, u as getThinkExecutionRunKindLabel } from "../../ThinkExecutionRun-k8bpyXqt.js";
1
+ import { _ as isThinkSubmissionRun, a as formatThinkExecutionStatus, c as getThinkExecutionRunError, d as getThinkExecutionRunProgressedAt, f as getThinkExecutionRunProgressedLabel, g as getThinkExecutionRunTitle, h as getThinkExecutionRunSubtitle, i as formatThinkExecutionShortTimestamp, l as getThinkExecutionRunId, m as getThinkExecutionRunStatusTone, n as ThinkExecutionStatusTone, o as formatThinkExecutionTimestamp, p as getThinkExecutionRunStatus, r as formatThinkExecutionRunProgress, s as getThinkExecutionRunAccessibleName, t as ThinkExecutionRun, u as getThinkExecutionRunKindLabel } from "../../ThinkExecutionRun-CPeYVneQ.js";
2
2
  export { ThinkExecutionRun, ThinkExecutionStatusTone, formatThinkExecutionRunProgress, formatThinkExecutionShortTimestamp, formatThinkExecutionStatus, formatThinkExecutionTimestamp, getThinkExecutionRunAccessibleName, getThinkExecutionRunError, getThinkExecutionRunId, getThinkExecutionRunKindLabel, getThinkExecutionRunProgressedAt, getThinkExecutionRunProgressedLabel, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunSubtitle, getThinkExecutionRunTitle, isThinkSubmissionRun };
@@ -1,4 +1,4 @@
1
- import { t as capitalize } from "../../format-COCyV98Z.js";
1
+ import { t as capitalize } from "../../format-CWaZEp5o.js";
2
2
  //#region src/components/agents-sdk/ThinkExecutionRun.ts
3
3
  /** Narrows the direct upstream execution union without wrapping either record. */
4
4
  function isThinkSubmissionRun(run) {
@@ -39,7 +39,8 @@ function getThinkExecutionRunStatusTone(run) {
39
39
  return "neutral";
40
40
  }
41
41
  function formatThinkExecutionStatus(status) {
42
- return capitalize(status.replaceAll(/([a-z])([A-Z])/g, "$1 $2"));
42
+ const words = status.replaceAll(/([a-z])([A-Z])/g, "$1 $2");
43
+ return capitalize(words);
43
44
  }
44
45
  function formatThinkExecutionTimestamp(value, fallback = "Not recorded") {
45
46
  if (value == null) return fallback;
@@ -1,35 +1,23 @@
1
- import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-k8bpyXqt.js";
1
+ import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-CPeYVneQ.js";
2
2
  import * as React from "react";
3
-
4
3
  //#region src/components/agents-sdk/ThinkExecutionStatus.d.ts
5
- interface ThinkExecutionStatusProps extends React.HTMLAttributes<HTMLSpanElement> {
4
+ export interface ThinkExecutionStatusProps extends React.HTMLAttributes<HTMLSpanElement> {
6
5
  /** Whole upstream Think submission or Agents workflow record. */
7
6
  run: ThinkExecutionRun;
8
7
  /** Accessible status label; derived from the run when omitted. */
9
8
  label?: string;
10
9
  }
11
- interface ThinkExecutionRunSummaryProps extends React.HTMLAttributes<HTMLSpanElement> {
10
+ export interface ThinkExecutionRunSummaryProps extends React.HTMLAttributes<HTMLSpanElement> {
12
11
  /** Whole upstream Think submission or Agents workflow record. */
13
12
  run: ThinkExecutionRun;
14
13
  }
15
14
  /** Shared status icon for whole upstream Think submission and Agents workflow records. */
16
- declare function ThinkExecutionStatus({
17
- className,
18
- label,
19
- run,
20
- ref,
21
- ...props
22
- }: ThinkExecutionStatusProps & {
23
- /** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLSpanElement>;
15
+ export declare function ThinkExecutionStatus({ className, label, run, ref, ...props }: ThinkExecutionStatusProps & {
16
+ /** Ref forwarded to the component's rendered root element. */
17
+ ref?: React.Ref<HTMLSpanElement>;
24
18
  }): React.JSX.Element;
25
19
  /** Shared identity, status, and progress summary for a whole Think execution record. */
26
- declare function ThinkExecutionRunSummary({
27
- className,
28
- run,
29
- ref,
30
- ...props
31
- }: ThinkExecutionRunSummaryProps & {
20
+ export declare function ThinkExecutionRunSummary({ className, run, ref, ...props }: ThinkExecutionRunSummaryProps & {
32
21
  ref?: React.Ref<HTMLSpanElement>;
33
22
  }): React.JSX.Element;
34
- //#endregion
35
- export { ThinkExecutionRunSummary, ThinkExecutionRunSummaryProps, ThinkExecutionStatus, ThinkExecutionStatusProps };
23
+ //#endregion
@@ -1,5 +1,5 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { K as SpinnerIcon, L as PauseIcon, T as InfoIcon, d as CheckIcon, nt as XIcon } from "../../icons-cuEtsgj9.js";
2
+ import { K as SpinnerIcon, L as PauseIcon, T as InfoIcon, d as CheckIcon, nt as XIcon } from "../../icons-CeGfXO21.js";
3
3
  import { Tooltip } from "../foundations/Tooltip.js";
4
4
  import { formatThinkExecutionRunProgress, formatThinkExecutionStatus, getThinkExecutionRunKindLabel, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, getThinkExecutionRunTitle } from "./ThinkExecutionRun.js";
5
5
  import "react";
@@ -1,12 +1,11 @@
1
- import { t as AppTopBar } from "../../AppTopBar-CVkLRdk7.js";
2
- import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-k8bpyXqt.js";
1
+ import { t as AppTopBar } from "../../AppTopBar-DwzydmXu.js";
2
+ import { t as ThinkExecutionRun } from "../../ThinkExecutionRun-CPeYVneQ.js";
3
3
  import * as React from "react";
4
4
  import { useRender } from "@base-ui/react/use-render";
5
5
  import { DataTag, UnusedSkipTokenOptions } from "@tanstack/react-query";
6
6
  import { Think, ThinkSubmissionInspection } from "@cloudflare/think";
7
7
  import { AgentStub } from "agents/client";
8
8
  import { WorkflowPage } from "agents/workflows";
9
-
10
9
  //#region src/components/_internal/navigation-link.d.ts
11
10
  interface NavigationLinkProps extends Omit<useRender.ComponentProps<"a">, "render"> {
12
11
  /** App-authored TanStack Router Link with its destination already type-checked. */
@@ -19,14 +18,10 @@ interface NavigationLinkProps extends Omit<useRender.ComponentProps<"a">, "rende
19
18
  * registered route tree infer `to`, `params`, and `search` without routing
20
19
  * generics leaking through every design-system component.
21
20
  */
22
- declare function NavigationLink({
23
- render,
24
- ref,
25
- ...props
26
- }: NavigationLinkProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
21
+ declare function NavigationLink({ render, ref, ...props }: NavigationLinkProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
27
22
  //#endregion
28
23
  //#region src/components/agents-sdk/ThinkExecutionWorkbench.d.ts
29
- interface ThinkExecutionWorkbenchRootProps extends useRender.ComponentProps<"div"> {
24
+ export interface ThinkExecutionWorkbenchRootProps extends useRender.ComponentProps<"div"> {
30
25
  /** Whole Agents SDK client stub; native submission/workflow methods remain unchanged. */
31
26
  source: AgentStub<Think>;
32
27
  /** Stable, non-secret remote agent identity; change with the backing source. */
@@ -34,83 +29,52 @@ interface ThinkExecutionWorkbenchRootProps extends useRender.ComponentProps<"div
34
29
  /** Maximum submissions and workflows requested per page. */
35
30
  pageSize?: number;
36
31
  }
37
- interface ThinkExecutionRunsData {
32
+ export interface ThinkExecutionRunsData {
38
33
  submissions: readonly ThinkSubmissionInspection[];
39
34
  workflows: WorkflowPage;
40
35
  }
41
- type ThinkExecutionRunsQueryKey = readonly ["think", sourceKey: string, "execution-runs", {
36
+ export type ThinkExecutionRunsQueryKey = readonly ["think", sourceKey: string, "execution-runs", {
42
37
  readonly limit: number;
43
38
  }];
44
- type ThinkExecutionRunsQueryOptions = UnusedSkipTokenOptions<ThinkExecutionRunsData, Error, ThinkExecutionRunsData, ThinkExecutionRunsQueryKey> & {
39
+ export type ThinkExecutionRunsQueryOptions = UnusedSkipTokenOptions<ThinkExecutionRunsData, Error, ThinkExecutionRunsData, ThinkExecutionRunsQueryKey> & {
45
40
  queryKey: DataTag<ThinkExecutionRunsQueryKey, ThinkExecutionRunsData, Error>;
46
41
  };
47
42
  /**
48
43
  * Shared list options for component reads and TanStack Router loaders.
49
44
  */
50
- declare function thinkExecutionRunsQueryOptions(source: AgentStub<Think>, sourceKey: string, pageSize?: number): ThinkExecutionRunsQueryOptions;
45
+ export declare function thinkExecutionRunsQueryOptions(source: AgentStub<Think>, sourceKey: string, pageSize?: number): ThinkExecutionRunsQueryOptions;
51
46
  /**
52
47
  * Unified execution history for native Think submissions and Agents workflows.
53
48
  * The workbench reads and acts through the whole upstream agent stub; it does
54
49
  * not normalize execution records or own workflow authoring. Its first
55
50
  * uncached list read suspends to the consuming route's Suspense boundary.
56
51
  */
57
- declare function ThinkExecutionWorkbenchRoot({
58
- pageSize,
59
- render,
60
- ref,
61
- source,
62
- sourceKey,
63
- ...props
64
- }: ThinkExecutionWorkbenchRootProps): React.JSX.Element;
52
+ declare function ThinkExecutionWorkbenchRoot({ pageSize, render, ref, source, sourceKey, ...props }: ThinkExecutionWorkbenchRootProps): React.JSX.Element;
65
53
  /** Caller-authored toolbar; no title, navigation, or action is injected. */
66
- declare function ThinkExecutionWorkbenchHeader({
67
- className,
68
- "aria-label": label,
69
- ...props
70
- }: Omit<React.ComponentProps<typeof AppTopBar.Root>, "aria-label"> & {
54
+ declare function ThinkExecutionWorkbenchHeader({ className, "aria-label": label, ...props }: Omit<React.ComponentProps<typeof AppTopBar.Root>, "aria-label"> & {
71
55
  "aria-label"?: string;
72
56
  }): React.JSX.Element;
73
- declare function ThinkExecutionWorkbenchContent({
74
- render,
75
- ref,
76
- ...props
77
- }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
57
+ declare function ThinkExecutionWorkbenchContent({ render, ref, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
78
58
  /** Refresh control retaining the complete AppTopBar button render/ref/event contract. */
79
- declare function ThinkExecutionWorkbenchRefresh({
80
- label,
81
- ...props
82
- }: Omit<React.ComponentProps<typeof AppTopBar.Button>, "label"> & {
59
+ declare function ThinkExecutionWorkbenchRefresh({ label, ...props }: Omit<React.ComponentProps<typeof AppTopBar.Button>, "label"> & {
83
60
  label?: string;
84
61
  }): React.JSX.Element;
85
- declare function ThinkExecutionWorkbenchError({
86
- className,
87
- ...props
88
- }: React.ComponentPropsWithRef<"div">): React.JSX.Element | null;
62
+ declare function ThinkExecutionWorkbenchError({ className, ...props }: React.ComponentPropsWithRef<"div">): React.JSX.Element | null;
89
63
  /** Controls for one whole native run; mount in a list row or a selected-run toolbar. */
90
- declare function ThinkExecutionWorkbenchRunActions({
91
- run
92
- }: {
64
+ declare function ThinkExecutionWorkbenchRunActions({ run }: {
93
65
  run: ThinkExecutionRun;
94
66
  }): React.JSX.Element;
95
- interface ThinkExecutionWorkbenchListProps extends Omit<React.ComponentPropsWithRef<"section">, "children"> {
67
+ export interface ThinkExecutionWorkbenchListProps extends Omit<React.ComponentPropsWithRef<"section">, "children"> {
96
68
  /** Explicit row content; native execution identity and order come from the query. */
97
69
  children: (run: ThinkExecutionRun) => React.ReactNode;
98
70
  }
99
- declare function ThinkExecutionWorkbenchList({
100
- children,
101
- className,
102
- ...props
103
- }: ThinkExecutionWorkbenchListProps): React.JSX.Element;
104
- interface ThinkExecutionWorkbenchRunLinkProps extends Omit<React.ComponentProps<typeof NavigationLink>, "children"> {
71
+ declare function ThinkExecutionWorkbenchList({ children, className, ...props }: ThinkExecutionWorkbenchListProps): React.JSX.Element;
72
+ export interface ThinkExecutionWorkbenchRunLinkProps extends Omit<React.ComponentProps<typeof NavigationLink>, "children"> {
105
73
  run: ThinkExecutionRun;
106
74
  }
107
- declare function ThinkExecutionWorkbenchRunLink({
108
- run,
109
- className,
110
- ...props
111
- }: ThinkExecutionWorkbenchRunLinkProps): React.JSX.Element;
75
+ declare function ThinkExecutionWorkbenchRunLink({ run, className, ...props }: ThinkExecutionWorkbenchRunLinkProps): React.JSX.Element;
112
76
  /** Native execution runtime with independently placed controls, rows, and route content. */
113
- declare const ThinkExecutionWorkbench: {
77
+ export declare const ThinkExecutionWorkbench: {
114
78
  Root: typeof ThinkExecutionWorkbenchRoot;
115
79
  Header: typeof ThinkExecutionWorkbenchHeader;
116
80
  Content: typeof ThinkExecutionWorkbenchContent;
@@ -120,5 +84,4 @@ declare const ThinkExecutionWorkbench: {
120
84
  RunLink: typeof ThinkExecutionWorkbenchRunLink;
121
85
  RunActions: typeof ThinkExecutionWorkbenchRunActions;
122
86
  };
123
- //#endregion
124
- export { ThinkExecutionRunsData, ThinkExecutionRunsQueryKey, ThinkExecutionRunsQueryOptions, ThinkExecutionWorkbench, ThinkExecutionWorkbenchListProps, ThinkExecutionWorkbenchRootProps, ThinkExecutionWorkbenchRunLinkProps, thinkExecutionRunsQueryOptions };
87
+ //#endregion
@@ -1,12 +1,12 @@
1
1
  import { t as cx } from "../../class-names-BiMDVpUo.js";
2
- import { H as RefreshIcon, et as WarningIcon, y as EllipsisIcon } from "../../icons-cuEtsgj9.js";
2
+ import { H as RefreshIcon, et as WarningIcon, y as EllipsisIcon } from "../../icons-CeGfXO21.js";
3
3
  import { buttonVariants } from "../foundations/Button.js";
4
- import { IconButton } from "../foundations/IconButton.js";
5
- import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
6
4
  import { Menu } from "../foundations/Menu.js";
5
+ import { IconButton } from "../foundations/IconButton.js";
6
+ import { a as formatErrorMessage } from "../../format-CWaZEp5o.js";
7
+ import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
7
8
  import { EmptyState } from "../foundations/EmptyState.js";
8
9
  import { AppTopBar } from "../general-purpose/AppTopBar.js";
9
- import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
10
10
  import { getThinkExecutionRunAccessibleName, getThinkExecutionRunId, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone, isThinkSubmissionRun } from "./ThinkExecutionRun.js";
11
11
  import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
12
12
  import * as React from "react";
@@ -123,7 +123,8 @@ function thinkExecutionRunsQueryOptions(source, sourceKey, pageSize = executionP
123
123
  * uncached list read suspends to the consuming route's Suspense boundary.
124
124
  */
125
125
  function ThinkExecutionWorkbenchRoot({ pageSize = executionPanelPageSize, render, ref, source, sourceKey, ...props }) {
126
- const runsQuery = useSuspenseQuery(thinkExecutionRunsQueryOptions(source, sourceKey, pageSize));
126
+ const runsOptions = thinkExecutionRunsQueryOptions(source, sourceKey, pageSize);
127
+ const runsQuery = useSuspenseQuery(runsOptions);
127
128
  const actionMutation = useMutation({
128
129
  mutationFn: ({ action }) => action(),
129
130
  onSuccess: (_result, action, _onMutateResult, context) => context.client.invalidateQueries({ queryKey: action.runsQueryKey })