@mcp-b/react-components 0.29.0 → 0.30.1

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 (401) hide show
  1. package/dist/{AgentActivity-D3OvrC02.d.ts → AgentActivity-SP1WfLDW.d.ts} +2 -2
  2. package/dist/{AgentChat-Dy3cKCd-.d.ts → AgentChat-CV-GuYA6.d.ts} +21 -11
  3. package/dist/{AgentChatStartScreen-DXZ0hAX0.d.ts → AgentChatStartScreen-CO49yepa.d.ts} +2 -2
  4. package/dist/{AgentMessageParts-CyD2UB3V.d.ts → AgentMessageParts-C7L-Mv9U.d.ts} +2 -2
  5. package/dist/{AgentToolRunsContext-BVe4stgw.d.ts → AgentToolRunsContext-Cgve-Upx.d.ts} +1 -1
  6. package/dist/{BrowserLiveView-BV5qgFgI.d.ts → BrowserLiveView-tJTWkoyu.d.ts} +1 -1
  7. package/dist/{BrowserReplay-xWvRjRAC.d.ts → BrowserReplay-B0BQZr-N.d.ts} +1 -1
  8. package/dist/{Button-SBIz6Lqi.d.ts → Button-CZt3yywF.d.ts} +1 -1
  9. package/dist/{CodeBlock-BUfEhDia.js → CodeBlock-B5I7wje1.js} +4 -69
  10. package/dist/{CodeBlock-yMpGqScn.d.ts → CodeBlock-DzGhYyNe.d.ts} +5 -11
  11. package/dist/{Combobox-DI6xcQjc.d.ts → Combobox-WrrDDaEv.d.ts} +1 -1
  12. package/dist/{Dialog-BD8NBKaE.d.ts → Dialog-DeOSJ0Oy.d.ts} +1 -1
  13. package/dist/{FileTree-XOLP3Yvo.js → FileTree-DbQMpvxV.js} +64 -71
  14. package/dist/{IconButton-CFKhu6OR.d.ts → IconButton-BAUFhUk8.d.ts} +2 -2
  15. package/dist/{Menu-L6MZm-7N.d.ts → Menu-DVmjBIuM.d.ts} +1 -1
  16. package/dist/MenuDisclosureGroup-BUOZ42me.js +32 -0
  17. package/dist/{ModelSelector-CRdvHT_b.js → ModelSelector-DZcpUBgn.js} +32 -30
  18. package/dist/{PromptInput-B75Np5VB.d.ts → PromptInput-DOyee1kM.d.ts} +28 -90
  19. package/dist/{Select-B_13gg_J.d.ts → Select-D96d09ww.d.ts} +1 -1
  20. package/dist/{SessionCompaction-DMa1vv6Y.d.ts → SessionCompaction-CmTJFpzj.d.ts} +32 -2
  21. package/dist/{Tabs-C49J5m0Q.d.ts → Tabs-Ptrbaynh.d.ts} +1 -1
  22. package/dist/{ThinkChat-Bp-nAnoW.js → ThinkChat-yid8e_Jb.js} +46 -17
  23. package/dist/{ThinkChatActivity-Dq0lOAgw.d.ts → ThinkChatActivity-CgqpROz_.d.ts} +5 -5
  24. package/dist/{ThinkChatActivitySummary-F062wneC.d.ts → ThinkChatActivitySummary-teRjrPxW.d.ts} +3 -3
  25. package/dist/{ThinkChatContext-B-Nk84Wi.d.ts → ThinkChatContext-COIgzkYp.d.ts} +1 -1
  26. package/dist/{ThinkChatToolParts-BfroXQ4F.d.ts → ThinkChatToolParts-D4qcnnxt.d.ts} +3 -13
  27. package/dist/{ThinkExecutionRun-ChhWhOoU.d.ts → ThinkExecutionRun-lYYgyeE1.d.ts} +1 -1
  28. package/dist/{ThinkRecoveryNotice-D6gYcBbr.d.ts → ThinkRecoveryNotice-DGWr94rk.d.ts} +2 -2
  29. package/dist/{Toggle-JKZ43D5S.d.ts → Toggle-DLrIf5YH.d.ts} +1 -1
  30. package/dist/{ToggleGroup-BW1jrhAF.d.ts → ToggleGroup-CSBWfPXo.d.ts} +12 -12
  31. package/dist/{Workspace-Bn6In4wi.d.ts → Workspace-EhvvlHOB.d.ts} +2 -2
  32. package/dist/{WorkspaceExplorer-D0aiscG6.d.ts → WorkspaceExplorer-DygQnEyi.d.ts} +3 -3
  33. package/dist/{WorkspaceFile-DMtRMwVv.d.ts → WorkspaceFile-C8Riev9j.d.ts} +2 -2
  34. package/dist/{WorkspaceFileView-CKEmUyeT.js → WorkspaceFileView-BeUpr6TU.js} +73 -96
  35. package/dist/{WorkspaceLink-O-EBKUJ8.d.ts → WorkspaceLink-DQogVe8E.d.ts} +1 -1
  36. package/dist/{WorkspaceLink-BYYeTQLf.js → WorkspaceLink-DZeLe_jN.js} +3 -4
  37. package/dist/WorkspaceMessageResponse-BWbkIELl.js +100 -0
  38. package/dist/{attachment-preview-DIs50Q0h.js → attachment-preview-1CXJvrmb.js} +1 -1
  39. package/dist/components/{AgentActivity.d.ts → agents-sdk/AgentActivity.d.ts} +1 -1
  40. package/dist/components/{AgentActivity.js → agents-sdk/AgentActivity.js} +3 -3
  41. package/dist/components/{AgentActivityPreview.d.ts → agents-sdk/AgentActivityPreview.d.ts} +3 -3
  42. package/dist/components/{AgentActivityPreview.js → agents-sdk/AgentActivityPreview.js} +12 -10
  43. package/dist/components/{AgentChat.d.ts → agents-sdk/AgentChat.d.ts} +1 -1
  44. package/dist/components/{AgentChat.js → agents-sdk/AgentChat.js} +57 -32
  45. package/dist/components/{AgentToolRunsContext.d.ts → agents-sdk/AgentToolRunsContext.d.ts} +1 -1
  46. package/dist/components/{AgentToolRunsContext.js → agents-sdk/AgentToolRunsContext.js} +1 -1
  47. package/dist/components/agents-sdk/BrowserLiveView.d.ts +2 -0
  48. package/dist/components/{BrowserLiveView.js → agents-sdk/BrowserLiveView.js} +7 -7
  49. package/dist/components/agents-sdk/BrowserReplay.d.ts +2 -0
  50. package/dist/components/{BrowserReplay.js → agents-sdk/BrowserReplay.js} +7 -7
  51. package/dist/components/{BrowserRunPanel.d.ts → agents-sdk/BrowserRunPanel.d.ts} +1 -1
  52. package/dist/components/{BrowserRunPanel.js → agents-sdk/BrowserRunPanel.js} +6 -6
  53. package/dist/components/{McpConnectionRequest.d.ts → agents-sdk/McpConnectionRequest.d.ts} +3 -15
  54. package/dist/components/{McpConnectionRequest.js → agents-sdk/McpConnectionRequest.js} +46 -18
  55. package/dist/components/agents-sdk/McpConnectorForm.d.ts +39 -0
  56. package/dist/components/agents-sdk/McpConnectorForm.js +151 -0
  57. package/dist/components/{McpPluginCatalog.d.ts → agents-sdk/McpPluginCatalog.d.ts} +3 -3
  58. package/dist/components/{McpPluginCatalog.js → agents-sdk/McpPluginCatalog.js} +23 -47
  59. package/dist/components/{McpServerPicker.d.ts → agents-sdk/McpServerPicker.d.ts} +14 -6
  60. package/dist/components/{McpServerPicker.js → agents-sdk/McpServerPicker.js} +35 -45
  61. package/dist/components/{ModelSelector.d.ts → agents-sdk/ModelSelector.d.ts} +4 -4
  62. package/dist/components/{ModelSelector.js → agents-sdk/ModelSelector.js} +1 -1
  63. package/dist/components/agents-sdk/PromptInputApproval.d.ts +44 -0
  64. package/dist/components/agents-sdk/PromptInputApproval.js +61 -0
  65. package/dist/components/agents-sdk/PromptInputCommands.d.ts +11 -0
  66. package/dist/components/agents-sdk/PromptInputCommands.js +33 -0
  67. package/dist/components/agents-sdk/SessionCompaction.d.ts +2 -0
  68. package/dist/components/{SessionCompaction.js → agents-sdk/SessionCompaction.js} +32 -11
  69. package/dist/components/{SubagentRunDetails.d.ts → agents-sdk/SubagentRunDetails.d.ts} +1 -1
  70. package/dist/components/{SubagentRunDetails.js → agents-sdk/SubagentRunDetails.js} +4 -4
  71. package/dist/components/{SubagentRunIndicator.d.ts → agents-sdk/SubagentRunIndicator.d.ts} +1 -1
  72. package/dist/components/{SubagentRunIndicator.js → agents-sdk/SubagentRunIndicator.js} +3 -3
  73. package/dist/components/{SubagentRunList.d.ts → agents-sdk/SubagentRunList.d.ts} +1 -1
  74. package/dist/components/{SubagentRunList.js → agents-sdk/SubagentRunList.js} +2 -2
  75. package/dist/components/{SubagentRunSelector.d.ts → agents-sdk/SubagentRunSelector.d.ts} +1 -1
  76. package/dist/components/{SubagentRunSelector.js → agents-sdk/SubagentRunSelector.js} +7 -7
  77. package/dist/components/{ThinkChat.d.ts → agents-sdk/ThinkChat.d.ts} +16 -16
  78. package/dist/components/{ThinkChat.js → agents-sdk/ThinkChat.js} +3 -3
  79. package/dist/components/{ThinkChatActivity.d.ts → agents-sdk/ThinkChatActivity.d.ts} +3 -3
  80. package/dist/components/{ThinkChatActivity.js → agents-sdk/ThinkChatActivity.js} +6 -6
  81. package/dist/components/{ThinkChatActivitySummary.d.ts → agents-sdk/ThinkChatActivitySummary.d.ts} +1 -1
  82. package/dist/components/{ThinkChatActivitySummary.js → agents-sdk/ThinkChatActivitySummary.js} +5 -4
  83. package/dist/components/{ThinkChatContext.d.ts → agents-sdk/ThinkChatContext.d.ts} +1 -1
  84. package/dist/components/{ThinkChatContext.js → agents-sdk/ThinkChatContext.js} +1 -1
  85. package/dist/components/{ThinkChatToolPanels.d.ts → agents-sdk/ThinkChatToolPanels.d.ts} +2 -2
  86. package/dist/components/{ThinkChatToolPanels.js → agents-sdk/ThinkChatToolPanels.js} +5 -5
  87. package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +2 -0
  88. package/dist/components/{ThinkChatToolParts.js → agents-sdk/ThinkChatToolParts.js} +3 -33
  89. package/dist/components/{ThinkExecutionDetail.d.ts → agents-sdk/ThinkExecutionDetail.d.ts} +2 -2
  90. package/dist/components/{ThinkExecutionDetail.js → agents-sdk/ThinkExecutionDetail.js} +5 -8
  91. package/dist/components/{ThinkExecutionRun.d.ts → agents-sdk/ThinkExecutionRun.d.ts} +1 -1
  92. package/dist/components/{ThinkExecutionRun.js → agents-sdk/ThinkExecutionRun.js} +2 -2
  93. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +35 -0
  94. package/dist/components/agents-sdk/ThinkExecutionStatus.js +59 -0
  95. package/dist/components/{ThinkExecutionWorkbench.d.ts → agents-sdk/ThinkExecutionWorkbench.d.ts} +2 -2
  96. package/dist/components/{ThinkExecutionWorkbench.js → agents-sdk/ThinkExecutionWorkbench.js} +15 -32
  97. package/dist/components/{ThinkFullApp.d.ts → agents-sdk/ThinkFullApp.d.ts} +21 -9
  98. package/dist/components/{ThinkFullApp.js → agents-sdk/ThinkFullApp.js} +46 -29
  99. package/dist/components/{ThinkFullAppViewSwitch.d.ts → agents-sdk/ThinkFullAppViewSwitch.d.ts} +2 -2
  100. package/dist/components/{ThinkFullAppViewSwitch.js → agents-sdk/ThinkFullAppViewSwitch.js} +4 -4
  101. package/dist/components/{ThinkPendingApproval.d.ts → agents-sdk/ThinkPendingApproval.d.ts} +1 -1
  102. package/dist/components/{ThinkPendingApproval.js → agents-sdk/ThinkPendingApproval.js} +3 -3
  103. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +2 -0
  104. package/dist/components/{ThinkRecoveryNotice.js → agents-sdk/ThinkRecoveryNotice.js} +3 -3
  105. package/dist/components/{ThinkRoutine.d.ts → agents-sdk/ThinkRoutine.d.ts} +2 -2
  106. package/dist/components/{ThinkRoutine.js → agents-sdk/ThinkRoutine.js} +1 -1
  107. package/dist/components/{ThinkRoutineBrowser.d.ts → agents-sdk/ThinkRoutineBrowser.d.ts} +1 -1
  108. package/dist/components/{ThinkRoutineBrowser.js → agents-sdk/ThinkRoutineBrowser.js} +9 -9
  109. package/dist/components/{ThinkRoutineDetail.d.ts → agents-sdk/ThinkRoutineDetail.d.ts} +1 -1
  110. package/dist/components/{ThinkRoutineDetail.js → agents-sdk/ThinkRoutineDetail.js} +4 -4
  111. package/dist/components/{ThinkRoutineForm.d.ts → agents-sdk/ThinkRoutineForm.d.ts} +1 -1
  112. package/dist/components/{ThinkRoutineForm.js → agents-sdk/ThinkRoutineForm.js} +9 -9
  113. package/dist/components/{ThinkRoutineLibrary.d.ts → agents-sdk/ThinkRoutineLibrary.d.ts} +5 -2
  114. package/dist/components/{ThinkRoutineLibrary.js → agents-sdk/ThinkRoutineLibrary.js} +47 -44
  115. package/dist/components/{ThinkRoutineRuns.d.ts → agents-sdk/ThinkRoutineRuns.d.ts} +2 -2
  116. package/dist/components/agents-sdk/ThinkRoutineRuns.js +59 -0
  117. package/dist/components/{ThinkThreadPicker.d.ts → agents-sdk/ThinkThreadPicker.d.ts} +1 -1
  118. package/dist/components/{ThinkThreadPicker.js → agents-sdk/ThinkThreadPicker.js} +12 -14
  119. package/dist/components/{ThinkThreadShell.d.ts → agents-sdk/ThinkThreadShell.d.ts} +2 -2
  120. package/dist/components/{ThinkThreadShell.js → agents-sdk/ThinkThreadShell.js} +3 -3
  121. package/dist/components/{Workspace.d.ts → agents-sdk/Workspace.d.ts} +1 -1
  122. package/dist/components/{Workspace.js → agents-sdk/Workspace.js} +5 -7
  123. package/dist/components/{WorkspaceBrowser.d.ts → agents-sdk/WorkspaceBrowser.d.ts} +2 -2
  124. package/dist/components/{WorkspaceBrowser.js → agents-sdk/WorkspaceBrowser.js} +3 -3
  125. package/dist/components/{WorkspaceExplorer.d.ts → agents-sdk/WorkspaceExplorer.d.ts} +4 -4
  126. package/dist/components/{WorkspaceExplorer.js → agents-sdk/WorkspaceExplorer.js} +5 -7
  127. package/dist/components/{WorkspaceFile.d.ts → agents-sdk/WorkspaceFile.d.ts} +1 -1
  128. package/dist/components/{WorkspaceFile.js → agents-sdk/WorkspaceFile.js} +1 -1
  129. package/dist/components/{WorkspaceFileView.d.ts → agents-sdk/WorkspaceFileView.d.ts} +2 -2
  130. package/dist/components/agents-sdk/WorkspaceFileView.js +2 -0
  131. package/dist/components/{WorkspaceHeader.d.ts → agents-sdk/WorkspaceHeader.d.ts} +1 -1
  132. package/dist/components/{WorkspaceHeader.js → agents-sdk/WorkspaceHeader.js} +3 -3
  133. package/dist/components/{WorkspaceLink.d.ts → agents-sdk/WorkspaceLink.d.ts} +1 -1
  134. package/dist/components/{WorkspaceLink.js → agents-sdk/WorkspaceLink.js} +1 -1
  135. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +12 -0
  136. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +2 -0
  137. package/dist/components/{WorkspaceMountManager.d.ts → agents-sdk/WorkspaceMountManager.d.ts} +1 -1
  138. package/dist/components/{WorkspaceMountManager.js → agents-sdk/WorkspaceMountManager.js} +9 -9
  139. package/dist/components/{Activity.d.ts → ai-sdk/Activity.d.ts} +4 -4
  140. package/dist/components/{Activity.js → ai-sdk/Activity.js} +6 -6
  141. package/dist/components/{AgentAttention.d.ts → ai-sdk/AgentAttention.d.ts} +2 -2
  142. package/dist/components/{AgentAttention.js → ai-sdk/AgentAttention.js} +3 -3
  143. package/dist/components/{AgentChatMessageEditor.d.ts → ai-sdk/AgentChatMessageEditor.d.ts} +1 -1
  144. package/dist/components/{AgentChatMessageEditor.js → ai-sdk/AgentChatMessageEditor.js} +5 -5
  145. package/dist/components/{AgentChatStartScreen.d.ts → ai-sdk/AgentChatStartScreen.d.ts} +1 -1
  146. package/dist/components/{AgentChatStartScreen.js → ai-sdk/AgentChatStartScreen.js} +5 -5
  147. package/dist/components/{AgentChatTurnError.d.ts → ai-sdk/AgentChatTurnError.d.ts} +1 -1
  148. package/dist/components/{AgentChatTurnError.js → ai-sdk/AgentChatTurnError.js} +2 -2
  149. package/dist/components/{AgentMessageParts.d.ts → ai-sdk/AgentMessageParts.d.ts} +1 -1
  150. package/dist/components/{AgentMessageParts.js → ai-sdk/AgentMessageParts.js} +4 -28
  151. package/dist/components/{Approval.d.ts → ai-sdk/Approval.d.ts} +1 -1
  152. package/dist/components/{Approval.js → ai-sdk/Approval.js} +5 -5
  153. package/dist/components/{Artifact.d.ts → ai-sdk/Artifact.d.ts} +2 -2
  154. package/dist/components/{Artifact.js → ai-sdk/Artifact.js} +4 -4
  155. package/dist/components/{ChainOfThought.d.ts → ai-sdk/ChainOfThought.d.ts} +3 -3
  156. package/dist/components/{ChainOfThought.js → ai-sdk/ChainOfThought.js} +4 -4
  157. package/dist/components/{Checkpoint.d.ts → ai-sdk/Checkpoint.d.ts} +2 -2
  158. package/dist/components/{Checkpoint.js → ai-sdk/Checkpoint.js} +4 -4
  159. package/dist/components/ai-sdk/CodeBlock.d.ts +2 -0
  160. package/dist/components/{CodeBlock.js → ai-sdk/CodeBlock.js} +2 -2
  161. package/dist/components/{Context.d.ts → ai-sdk/Context.d.ts} +2 -2
  162. package/dist/components/{Context.js → ai-sdk/Context.js} +5 -5
  163. package/dist/components/{Conversation.d.ts → ai-sdk/Conversation.d.ts} +2 -2
  164. package/dist/components/{Conversation.js → ai-sdk/Conversation.js} +5 -5
  165. package/dist/components/{ExpansionState.d.ts → ai-sdk/ExpansionState.d.ts} +1 -1
  166. package/dist/components/{ExpansionState.js → ai-sdk/ExpansionState.js} +1 -1
  167. package/dist/components/{Goal.d.ts → ai-sdk/Goal.d.ts} +1 -1
  168. package/dist/components/{Goal.js → ai-sdk/Goal.js} +6 -5
  169. package/dist/components/{InlineCitation.d.ts → ai-sdk/InlineCitation.d.ts} +1 -1
  170. package/dist/components/{InlineCitation.js → ai-sdk/InlineCitation.js} +4 -4
  171. package/dist/components/{MediaPreviewCard.d.ts → ai-sdk/MediaPreviewCard.d.ts} +2 -2
  172. package/dist/components/{MediaPreviewCard.js → ai-sdk/MediaPreviewCard.js} +5 -5
  173. package/dist/components/{Message.d.ts → ai-sdk/Message.d.ts} +2 -3
  174. package/dist/{Message-BF6SiKKL.js → components/ai-sdk/Message.js} +14 -99
  175. package/dist/components/{MessageScroller.d.ts → ai-sdk/MessageScroller.d.ts} +2 -2
  176. package/dist/components/{MessageScroller.js → ai-sdk/MessageScroller.js} +4 -4
  177. package/dist/components/{MessageScrollerVirtual.d.ts → ai-sdk/MessageScrollerVirtual.d.ts} +7 -8
  178. package/dist/components/{MessageScrollerVirtual.js → ai-sdk/MessageScrollerVirtual.js} +10 -10
  179. package/dist/components/{Plan.d.ts → ai-sdk/Plan.d.ts} +5 -6
  180. package/dist/components/{Plan.js → ai-sdk/Plan.js} +6 -6
  181. package/dist/components/ai-sdk/PromptInput.d.ts +2 -0
  182. package/dist/components/{PromptInput.js → ai-sdk/PromptInput.js} +32 -130
  183. package/dist/components/{Queue.d.ts → ai-sdk/Queue.d.ts} +4 -4
  184. package/dist/components/{Queue.js → ai-sdk/Queue.js} +7 -7
  185. package/dist/components/{Reasoning.d.ts → ai-sdk/Reasoning.d.ts} +2 -2
  186. package/dist/components/{Reasoning.js → ai-sdk/Reasoning.js} +5 -5
  187. package/dist/components/{Sources.d.ts → ai-sdk/Sources.d.ts} +2 -2
  188. package/dist/components/{Sources.js → ai-sdk/Sources.js} +4 -4
  189. package/dist/components/{Task.d.ts → ai-sdk/Task.d.ts} +2 -2
  190. package/dist/components/{Task.js → ai-sdk/Task.js} +4 -4
  191. package/dist/components/{ToolApproval.d.ts → ai-sdk/ToolApproval.d.ts} +1 -1
  192. package/dist/components/{ToolApproval.js → ai-sdk/ToolApproval.js} +1 -1
  193. package/dist/components/{ToolInvocation.d.ts → ai-sdk/ToolInvocation.d.ts} +1 -1
  194. package/dist/components/{ToolInvocation.js → ai-sdk/ToolInvocation.js} +7 -9
  195. package/dist/components/ai-sdk/ToolPart.d.ts +11 -0
  196. package/dist/components/ai-sdk/ToolPart.js +15 -0
  197. package/dist/components/{ChatGptSignInScreen.d.ts → extension/ChatGptSignInScreen.d.ts} +1 -1
  198. package/dist/components/{ChatGptSignInScreen.js → extension/ChatGptSignInScreen.js} +5 -5
  199. package/dist/components/{CodexModelSelector.d.ts → extension/CodexModelSelector.d.ts} +3 -3
  200. package/dist/components/{CodexModelSelector.js → extension/CodexModelSelector.js} +6 -6
  201. package/dist/components/{ConversationTabPicker.d.ts → extension/ConversationTabPicker.d.ts} +1 -1
  202. package/dist/components/{ConversationTabPicker.js → extension/ConversationTabPicker.js} +7 -6
  203. package/dist/components/{Accordion.d.ts → foundations/Accordion.d.ts} +1 -1
  204. package/dist/components/{Accordion.js → foundations/Accordion.js} +3 -3
  205. package/dist/components/{AlertDialog.d.ts → foundations/AlertDialog.d.ts} +2 -2
  206. package/dist/components/{AlertDialog.js → foundations/AlertDialog.js} +2 -2
  207. package/dist/components/{AppIcon.d.ts → foundations/AppIcon.d.ts} +1 -1
  208. package/dist/components/{AppIcon.js → foundations/AppIcon.js} +2 -2
  209. package/dist/components/{Autocomplete.d.ts → foundations/Autocomplete.d.ts} +1 -1
  210. package/dist/components/{Autocomplete.js → foundations/Autocomplete.js} +2 -2
  211. package/dist/components/{Avatar.d.ts → foundations/Avatar.d.ts} +1 -1
  212. package/dist/components/{Avatar.js → foundations/Avatar.js} +2 -2
  213. package/dist/components/{Badge.d.ts → foundations/Badge.d.ts} +1 -1
  214. package/dist/components/{Badge.js → foundations/Badge.js} +1 -1
  215. package/dist/components/{Button.d.ts → foundations/Button.d.ts} +1 -1
  216. package/dist/components/{Button.js → foundations/Button.js} +2 -2
  217. package/dist/components/{Card.d.ts → foundations/Card.d.ts} +1 -1
  218. package/dist/components/{Card.js → foundations/Card.js} +2 -2
  219. package/dist/components/{Checkbox.d.ts → foundations/Checkbox.d.ts} +7 -3
  220. package/dist/components/{Checkbox.js → foundations/Checkbox.js} +9 -5
  221. package/dist/components/{CheckboxGroup.d.ts → foundations/CheckboxGroup.d.ts} +1 -1
  222. package/dist/components/{CheckboxGroup.js → foundations/CheckboxGroup.js} +2 -2
  223. package/dist/{Collapsible-N64ASIQr.d.ts → components/foundations/Collapsible.d.ts} +7 -7
  224. package/dist/components/{Collapsible.js → foundations/Collapsible.js} +3 -3
  225. package/dist/components/foundations/Combobox.d.ts +2 -0
  226. package/dist/components/{Combobox.js → foundations/Combobox.js} +2 -2
  227. package/dist/components/{ContextMenu.d.ts → foundations/ContextMenu.d.ts} +1 -1
  228. package/dist/components/{ContextMenu.js → foundations/ContextMenu.js} +3 -3
  229. package/dist/components/{DescriptionList.d.ts → foundations/DescriptionList.d.ts} +1 -1
  230. package/dist/components/{DescriptionList.js → foundations/DescriptionList.js} +1 -1
  231. package/dist/components/{DescriptionListParts.d.ts → foundations/DescriptionListParts.d.ts} +1 -1
  232. package/dist/components/{DescriptionListParts.js → foundations/DescriptionListParts.js} +2 -2
  233. package/dist/components/{Dialog.d.ts → foundations/Dialog.d.ts} +1 -1
  234. package/dist/components/{Dialog.js → foundations/Dialog.js} +2 -2
  235. package/dist/components/{EmptyState.d.ts → foundations/EmptyState.d.ts} +1 -1
  236. package/dist/components/{EmptyState.js → foundations/EmptyState.js} +2 -2
  237. package/dist/components/{Field.d.ts → foundations/Field.d.ts} +1 -1
  238. package/dist/components/{Field.js → foundations/Field.js} +2 -2
  239. package/dist/components/{Fieldset.d.ts → foundations/Fieldset.d.ts} +1 -1
  240. package/dist/components/{Fieldset.js → foundations/Fieldset.js} +2 -2
  241. package/dist/components/{Form.d.ts → foundations/Form.d.ts} +1 -1
  242. package/dist/components/{Form.js → foundations/Form.js} +2 -2
  243. package/dist/components/{FormattedDate.d.ts → foundations/FormattedDate.d.ts} +1 -1
  244. package/dist/components/{FormattedDate.js → foundations/FormattedDate.js} +1 -1
  245. package/dist/components/foundations/IconButton.d.ts +2 -0
  246. package/dist/components/{IconButton.js → foundations/IconButton.js} +1 -1
  247. package/dist/components/{Input.d.ts → foundations/Input.d.ts} +1 -1
  248. package/dist/components/{Input.js → foundations/Input.js} +2 -2
  249. package/dist/components/{Kbd.d.ts → foundations/Kbd.d.ts} +1 -1
  250. package/dist/components/{Kbd.js → foundations/Kbd.js} +2 -2
  251. package/dist/components/{Label.d.ts → foundations/Label.d.ts} +1 -1
  252. package/dist/components/{Label.js → foundations/Label.js} +2 -2
  253. package/dist/components/{LinkButton.d.ts → foundations/LinkButton.d.ts} +2 -2
  254. package/dist/components/{LinkButton.js → foundations/LinkButton.js} +1 -1
  255. package/dist/components/{Marker.d.ts → foundations/Marker.d.ts} +1 -1
  256. package/dist/components/{Marker.js → foundations/Marker.js} +2 -2
  257. package/dist/components/{Menu.d.ts → foundations/Menu.d.ts} +1 -1
  258. package/dist/components/{Menu.js → foundations/Menu.js} +2 -2
  259. package/dist/components/{Menubar.d.ts → foundations/Menubar.d.ts} +1 -1
  260. package/dist/components/{Menubar.js → foundations/Menubar.js} +3 -3
  261. package/dist/components/{Meter.d.ts → foundations/Meter.d.ts} +1 -1
  262. package/dist/components/{Meter.js → foundations/Meter.js} +2 -2
  263. package/dist/components/{NavigationMenu.d.ts → foundations/NavigationMenu.d.ts} +1 -1
  264. package/dist/components/{NavigationMenu.js → foundations/NavigationMenu.js} +2 -2
  265. package/dist/components/{NumberField.d.ts → foundations/NumberField.d.ts} +1 -1
  266. package/dist/components/{NumberField.js → foundations/NumberField.js} +2 -2
  267. package/dist/components/{Popover.d.ts → foundations/Popover.d.ts} +1 -1
  268. package/dist/components/{Popover.js → foundations/Popover.js} +3 -3
  269. package/dist/components/{PreviewCard.d.ts → foundations/PreviewCard.d.ts} +1 -1
  270. package/dist/components/{PreviewCard.js → foundations/PreviewCard.js} +2 -2
  271. package/dist/components/{Progress.d.ts → foundations/Progress.d.ts} +1 -1
  272. package/dist/components/{Progress.js → foundations/Progress.js} +2 -2
  273. package/dist/components/{RadioGroup.d.ts → foundations/RadioGroup.d.ts} +1 -1
  274. package/dist/components/{RadioGroup.js → foundations/RadioGroup.js} +2 -2
  275. package/dist/components/{ScrollArea.d.ts → foundations/ScrollArea.d.ts} +1 -1
  276. package/dist/components/{ScrollArea.js → foundations/ScrollArea.js} +2 -2
  277. package/dist/components/{SearchField.d.ts → foundations/SearchField.d.ts} +1 -1
  278. package/dist/components/{SearchField.js → foundations/SearchField.js} +3 -3
  279. package/dist/components/{Select.d.ts → foundations/Select.d.ts} +1 -1
  280. package/dist/components/{Select.js → foundations/Select.js} +3 -3
  281. package/dist/components/{Separator.d.ts → foundations/Separator.d.ts} +1 -1
  282. package/dist/components/{Separator.js → foundations/Separator.js} +2 -2
  283. package/dist/components/{Slider.d.ts → foundations/Slider.d.ts} +1 -1
  284. package/dist/components/{Slider.js → foundations/Slider.js} +2 -2
  285. package/dist/components/{StatusPill.d.ts → foundations/StatusPill.d.ts} +1 -1
  286. package/dist/components/{StatusPill.js → foundations/StatusPill.js} +2 -2
  287. package/dist/components/{Stepper.d.ts → foundations/Stepper.d.ts} +2 -2
  288. package/dist/components/{Stepper.js → foundations/Stepper.js} +3 -3
  289. package/dist/components/{Switch.d.ts → foundations/Switch.d.ts} +7 -7
  290. package/dist/components/{Switch.js → foundations/Switch.js} +8 -8
  291. package/dist/components/{Tabs.d.ts → foundations/Tabs.d.ts} +1 -1
  292. package/dist/components/{Tabs.js → foundations/Tabs.js} +2 -2
  293. package/dist/components/{Textarea.d.ts → foundations/Textarea.d.ts} +1 -1
  294. package/dist/components/{Textarea.js → foundations/Textarea.js} +2 -2
  295. package/dist/components/{ThemeProvider.d.ts → foundations/ThemeProvider.d.ts} +2 -2
  296. package/dist/components/{ThemeProvider.js → foundations/ThemeProvider.js} +2 -2
  297. package/dist/components/{Toast.d.ts → foundations/Toast.d.ts} +1 -1
  298. package/dist/components/{Toast.js → foundations/Toast.js} +3 -3
  299. package/dist/components/{Toggle.d.ts → foundations/Toggle.d.ts} +1 -1
  300. package/dist/components/{Toggle.js → foundations/Toggle.js} +2 -2
  301. package/dist/components/foundations/ToggleGroup.d.ts +2 -0
  302. package/dist/components/{ToggleGroup.js → foundations/ToggleGroup.js} +13 -13
  303. package/dist/components/{Toolbar.d.ts → foundations/Toolbar.d.ts} +1 -1
  304. package/dist/components/{Toolbar.js → foundations/Toolbar.js} +2 -2
  305. package/dist/components/{Tooltip.d.ts → foundations/Tooltip.d.ts} +1 -1
  306. package/dist/components/{Tooltip.js → foundations/Tooltip.js} +2 -2
  307. package/dist/components/{TransitionSurface.d.ts → foundations/TransitionSurface.d.ts} +1 -1
  308. package/dist/components/{TransitionSurface.js → foundations/TransitionSurface.js} +2 -2
  309. package/dist/components/{icons.d.ts → foundations/icons.d.ts} +1 -1
  310. package/dist/components/{icons.js → foundations/icons.js} +1 -1
  311. package/dist/components/{ActionGuide.d.ts → general-purpose/ActionGuide.d.ts} +2 -2
  312. package/dist/components/{ActionGuide.js → general-purpose/ActionGuide.js} +3 -3
  313. package/dist/components/general-purpose/AppFrame.d.ts +24 -0
  314. package/dist/components/general-purpose/AppFrame.js +25 -0
  315. package/dist/components/{AppTopBar.d.ts → general-purpose/AppTopBar.d.ts} +2 -2
  316. package/dist/components/{AppTopBar.js → general-purpose/AppTopBar.js} +5 -5
  317. package/dist/components/{Commit.d.ts → general-purpose/Commit.d.ts} +5 -12
  318. package/dist/components/{Commit.js → general-purpose/Commit.js} +11 -13
  319. package/dist/components/{EnvironmentVariables.d.ts → general-purpose/EnvironmentVariables.d.ts} +2 -4
  320. package/dist/components/{EnvironmentVariables.js → general-purpose/EnvironmentVariables.js} +9 -10
  321. package/dist/components/{FileTree.d.ts → general-purpose/FileTree.d.ts} +10 -1
  322. package/dist/components/{FileTree.js → general-purpose/FileTree.js} +1 -1
  323. package/dist/components/{Pricing.d.ts → general-purpose/Pricing.d.ts} +1 -1
  324. package/dist/components/{Pricing.js → general-purpose/Pricing.js} +1 -1
  325. package/dist/components/{PricingBillingToggle.d.ts → general-purpose/PricingBillingToggle.d.ts} +1 -1
  326. package/dist/components/{PricingBillingToggle.js → general-purpose/PricingBillingToggle.js} +7 -7
  327. package/dist/components/{PricingConfirmationDialog.d.ts → general-purpose/PricingConfirmationDialog.d.ts} +1 -1
  328. package/dist/components/{PricingConfirmationDialog.js → general-purpose/PricingConfirmationDialog.js} +3 -3
  329. package/dist/components/{PricingFAQ.d.ts → general-purpose/PricingFAQ.d.ts} +1 -1
  330. package/dist/components/{PricingFAQ.js → general-purpose/PricingFAQ.js} +3 -3
  331. package/dist/components/{PricingPage.d.ts → general-purpose/PricingPage.d.ts} +1 -1
  332. package/dist/components/{PricingPage.js → general-purpose/PricingPage.js} +2 -2
  333. package/dist/components/{PricingPlanCard.d.ts → general-purpose/PricingPlanCard.d.ts} +1 -1
  334. package/dist/components/{PricingPlanCard.js → general-purpose/PricingPlanCard.js} +8 -8
  335. package/dist/components/{PricingUsageCalculator.d.ts → general-purpose/PricingUsageCalculator.d.ts} +1 -1
  336. package/dist/components/{PricingUsageCalculator.js → general-purpose/PricingUsageCalculator.js} +6 -6
  337. package/dist/components/{ResizableSidePanel.d.ts → general-purpose/ResizableSidePanel.d.ts} +8 -2
  338. package/dist/components/{ResizableSidePanel.js → general-purpose/ResizableSidePanel.js} +14 -6
  339. package/dist/{ResponsiveSidebarShell-CsAh4NyL.d.ts → components/general-purpose/ResponsiveSidebarShell.d.ts} +2 -2
  340. package/dist/components/{ResponsiveSidebarShell.js → general-purpose/ResponsiveSidebarShell.js} +6 -6
  341. package/dist/components/{SettingsFormDialog.d.ts → general-purpose/SettingsFormDialog.d.ts} +1 -1
  342. package/dist/components/{SettingsFormDialog.js → general-purpose/SettingsFormDialog.js} +8 -7
  343. package/dist/components/{SetupChecklist.d.ts → general-purpose/SetupChecklist.d.ts} +4 -1
  344. package/dist/components/{SetupChecklist.js → general-purpose/SetupChecklist.js} +23 -17
  345. package/dist/components/{Shell.d.ts → general-purpose/Shell.d.ts} +1 -1
  346. package/dist/components/{Shell.js → general-purpose/Shell.js} +2 -2
  347. package/dist/components/{Terminal.d.ts → general-purpose/Terminal.d.ts} +3 -3
  348. package/dist/components/{Terminal.js → general-purpose/Terminal.js} +7 -7
  349. package/dist/components/{TestResults.d.ts → general-purpose/TestResults.d.ts} +2 -2
  350. package/dist/components/{TestResults.js → general-purpose/TestResults.js} +6 -6
  351. package/dist/components/{ThemeModeControl.d.ts → general-purpose/ThemeModeControl.d.ts} +1 -1
  352. package/dist/components/{ThemeModeControl.js → general-purpose/ThemeModeControl.js} +4 -4
  353. package/dist/components/{WebPreview.d.ts → general-purpose/WebPreview.d.ts} +4 -4
  354. package/dist/components/{WebPreview.js → general-purpose/WebPreview.js} +12 -12
  355. package/dist/components/{AgentConnection.d.ts → nanites/AgentConnection.d.ts} +2 -36
  356. package/dist/components/{AgentConnection.js → nanites/AgentConnection.js} +7 -149
  357. package/dist/components/{AgentToolDetail.d.ts → nanites/AgentToolDetail.d.ts} +4 -4
  358. package/dist/components/{AgentToolDetail.js → nanites/AgentToolDetail.js} +8 -8
  359. package/dist/components/{GithubMotionMark.d.ts → nanites/GithubMotionMark.d.ts} +1 -1
  360. package/dist/components/{GithubMotionMark.js → nanites/GithubMotionMark.js} +2 -2
  361. package/dist/components/{NaniteScene.d.ts → nanites/NaniteScene.d.ts} +1 -1
  362. package/dist/components/{NaniteScene.js → nanites/NaniteScene.js} +2 -2
  363. package/dist/{copy-button-7ttJAorN.js → copy-button-4YvddK4e.js} +1 -1
  364. package/dist/{copy-button-EBv_B9F6.d.ts → copy-button-C0JyjClr.d.ts} +1 -1
  365. package/dist/{format-S6uWyoSb.js → format-CmopcfqJ.js} +4 -1
  366. package/dist/mcp-server-U71zhxFF.js +26 -0
  367. package/dist/{navigation-link-Cob7KBlM.js → navigation-link-kqMa81v5.js} +5 -1
  368. package/dist/{progress-ring-BjqTZqBk.js → progress-ring-Dz_ztrW2.js} +1 -1
  369. package/dist/styles/activity-header.css +5 -1
  370. package/dist/styles/agent-activity-preview-overlay.css +43 -5
  371. package/dist/styles/app-frame.css +15 -0
  372. package/dist/styles/file-tree.css +17 -2
  373. package/dist/styles/index.css +3 -1
  374. package/dist/styles/mcp-server-picker.css +1 -3
  375. package/dist/styles/menu-disclosure-group.css +13 -0
  376. package/dist/styles/message-scroller.css +2 -3
  377. package/dist/styles/sources.css +8 -0
  378. package/dist/styles/think-execution-status.css +57 -0
  379. package/dist/styles/think-execution-workbench.css +1 -50
  380. package/dist/styles/think-full-app.css +1 -1
  381. package/dist/styles/think-routine-library.css +0 -27
  382. package/dist/styles/workspace-explorer.css +0 -9
  383. package/dist/utils/structured-code.d.ts +1 -1
  384. package/package.json +2 -2
  385. package/dist/components/BrowserLiveView.d.ts +0 -2
  386. package/dist/components/BrowserReplay.d.ts +0 -2
  387. package/dist/components/CodeBlock.d.ts +0 -2
  388. package/dist/components/Collapsible.d.ts +0 -2
  389. package/dist/components/Combobox.d.ts +0 -2
  390. package/dist/components/IconButton.d.ts +0 -2
  391. package/dist/components/Message.js +0 -2
  392. package/dist/components/PromptInput.d.ts +0 -2
  393. package/dist/components/ResponsiveSidebarShell.d.ts +0 -2
  394. package/dist/components/SessionCompaction.d.ts +0 -2
  395. package/dist/components/ThinkChatToolParts.d.ts +0 -2
  396. package/dist/components/ThinkExecutionStatus.d.ts +0 -22
  397. package/dist/components/ThinkExecutionStatus.js +0 -36
  398. package/dist/components/ThinkRecoveryNotice.d.ts +0 -2
  399. package/dist/components/ThinkRoutineRuns.js +0 -76
  400. package/dist/components/ToggleGroup.d.ts +0 -2
  401. package/dist/components/WorkspaceFileView.js +0 -2
@@ -0,0 +1,26 @@
1
+ import { getMcpServerIconSrc, getMcpServerRuntimeState } from "./utils/mcp-server-catalog.js";
2
+ import { AppIcon } from "./components/foundations/AppIcon.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region src/components/_internal/mcp-server.tsx
5
+ function getMcpServerConnectionKind(server) {
6
+ if (!server) return "available";
7
+ const state = getMcpServerRuntimeState(server);
8
+ if (state === "ready") return "connected";
9
+ if (state === "connecting" || state === "discovering" || state === "connected" && !server.error) return "connecting";
10
+ return "reconnect";
11
+ }
12
+ function McpServerIcon({ server, size = "lg", variant }) {
13
+ const src = getMcpServerIconSrc(server);
14
+ return /* @__PURE__ */ jsxs(AppIcon.Root, {
15
+ size,
16
+ variant,
17
+ "aria-hidden": "true",
18
+ children: [src ? /* @__PURE__ */ jsx(AppIcon.Image, {
19
+ alt: "",
20
+ fit: "contain",
21
+ src
22
+ }, src) : null, /* @__PURE__ */ jsx(AppIcon.Fallback, { children: server.name.slice(0, 1) })]
23
+ });
24
+ }
25
+ //#endregion
26
+ export { getMcpServerConnectionKind as n, McpServerIcon as t };
@@ -1,5 +1,9 @@
1
1
  import { useRender } from "@base-ui/react/use-render";
2
2
  //#region src/components/_internal/navigation-link.tsx
3
+ function isPlainPrimaryLinkActivation(event) {
4
+ const target = event.currentTarget.target.toLowerCase();
5
+ return event.button === 0 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey && !event.currentTarget.hasAttribute("download") && (target === "" || target === "_self");
6
+ }
3
7
  /**
4
8
  * Merges design-system anchor props into an application-owned router Link.
5
9
  *
@@ -16,4 +20,4 @@ function NavigationLink({ render, ref, ...props }) {
16
20
  });
17
21
  }
18
22
  //#endregion
19
- export { NavigationLink as t };
23
+ export { isPlainPrimaryLinkActivation as n, NavigationLink as t };
@@ -1,4 +1,4 @@
1
- import { n as clamp } from "./format-S6uWyoSb.js";
1
+ import { n as clamp } from "./format-CmopcfqJ.js";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  //#region src/components/_internal/progress-ring.tsx
4
4
  /**
@@ -48,7 +48,11 @@
48
48
  color: var(--sigvelo-color-text-muted);
49
49
  font-weight: var(--sigvelo-font-weight-normal);
50
50
  white-space: nowrap;
51
- mask-image: linear-gradient(to right, #000 calc(100% - 1rem), transparent 100%);
51
+ mask-image: linear-gradient(
52
+ to right,
53
+ #000 calc(100% - var(--sigvelo-spacing-4)),
54
+ transparent 100%
55
+ );
52
56
  }
53
57
 
54
58
  .activity__item-icon {
@@ -80,17 +80,55 @@
80
80
  box-sizing: border-box;
81
81
  }
82
82
 
83
+ .agent-activity-preview {
84
+ width: min(448px, 100%);
85
+ }
86
+
87
+ .agent-activity-preview__dismiss {
88
+ display: grid;
89
+ width: 32px;
90
+ min-width: 32px;
91
+ height: 32px;
92
+ min-height: 32px;
93
+ place-items: center;
94
+ padding: 0;
95
+ border: 0;
96
+ font: inherit;
97
+ appearance: none;
98
+ cursor: pointer;
99
+ }
100
+
101
+ .agent-activity-preview__dismiss > svg {
102
+ width: 14px;
103
+ height: 14px;
104
+ }
105
+
106
+ .agent-activity-preview__dismiss:focus-visible {
107
+ outline: none;
108
+ box-shadow:
109
+ 0 0 0 2px Canvas,
110
+ 0 0 0 4px Highlight;
111
+ }
112
+
113
+ .agent-activity-preview__list {
114
+ max-height: min(288px, 60dvh);
115
+ }
116
+
117
+ .agent-activity-preview__trailing {
118
+ min-width: 16px;
119
+ }
120
+
83
121
  .activity__favicon {
84
122
  display: block;
85
- width: 1rem;
86
- height: 1rem;
87
- border-radius: var(--sigvelo-radius-xs);
88
- background-color: var(--sigvelo-color-surface);
123
+ width: 16px;
124
+ height: 16px;
125
+ border-radius: 3px;
126
+ background-color: Canvas;
89
127
  object-fit: contain;
90
128
  }
91
129
 
92
130
  .sigvelo-icon--spinner {
93
- animation: agent-activity-preview-spin var(--sigvelo-motion-duration-spin) linear infinite;
131
+ animation: agent-activity-preview-spin 900ms linear infinite;
94
132
  transform-origin: center;
95
133
  }
96
134
 
@@ -0,0 +1,15 @@
1
+ .app-frame {
2
+ block-size: 100%;
3
+ min-block-size: 0;
4
+ display: grid;
5
+ grid-template-rows: auto minmax(0, 1fr);
6
+ overflow: hidden;
7
+ color: var(--sigvelo-color-text);
8
+ background: var(--sigvelo-color-canvas);
9
+ container-type: inline-size;
10
+ }
11
+
12
+ .app-frame__body {
13
+ min-block-size: 0;
14
+ overflow: hidden;
15
+ }
@@ -29,6 +29,19 @@
29
29
  flex-direction: column;
30
30
  }
31
31
 
32
+ .file-tree__row {
33
+ display: flex;
34
+ align-items: center;
35
+ min-inline-size: 0;
36
+ inline-size: 100%;
37
+ }
38
+
39
+ .file-tree__row > .file-tree__node {
40
+ flex: 1 1 auto;
41
+ min-inline-size: 0;
42
+ inline-size: auto;
43
+ }
44
+
32
45
  .file-tree__group {
33
46
  display: flex;
34
47
  flex-direction: column;
@@ -68,6 +81,7 @@
68
81
  font-family: inherit;
69
82
  font-size: var(--sigvelo-text-compact);
70
83
  text-align: start;
84
+ text-decoration: none;
71
85
  cursor: pointer;
72
86
  border-radius: var(--sigvelo-radius-sm);
73
87
  transition: background-color var(--sigvelo-motion-duration-interaction)
@@ -143,12 +157,13 @@
143
157
  align-items: center;
144
158
  gap: var(--sigvelo-spacing-0-5);
145
159
  flex-shrink: 0;
160
+ margin-inline-end: var(--sigvelo-spacing-2);
146
161
  opacity: 0;
147
162
  transition: opacity var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
148
163
  }
149
164
 
150
- .file-tree__node:hover .file-tree__actions,
151
- .file-tree__actions:focus-within {
165
+ .file-tree__row:hover .file-tree__actions,
166
+ .file-tree__row:focus-within .file-tree__actions {
152
167
  opacity: 1;
153
168
  }
154
169
 
@@ -26,6 +26,7 @@
26
26
  @import "./autocomplete.css" layer(components);
27
27
  @import "./avatar.css" layer(components);
28
28
  @import "./app-icon.css" layer(components);
29
+ @import "./app-frame.css" layer(components);
29
30
  @import "./badge.css" layer(components);
30
31
  @import "./button.css" layer(components);
31
32
  @import "./action-guide.css" layer(components);
@@ -45,8 +46,10 @@
45
46
  @import "./kbd.css" layer(components);
46
47
  @import "./label.css" layer(components);
47
48
  @import "./marker.css" layer(components);
49
+ @import "./mcp-server-picker.css" layer(components);
48
50
  @import "./media-preview-card.css" layer(components);
49
51
  @import "./menu.css" layer(components);
52
+ @import "./menu-disclosure-group.css" layer(components);
50
53
  @import "./menubar.css" layer(components);
51
54
  @import "./message-scroller.css" layer(components);
52
55
  @import "./meter.css" layer(components);
@@ -55,7 +58,6 @@
55
58
  @import "./number-field.css" layer(components);
56
59
  @import "./popover.css" layer(components);
57
60
  @import "./mcp-plugin-catalog.css" layer(components);
58
- @import "./mcp-server-picker.css" layer(components);
59
61
  @import "./mcp-connection-request.css" layer(components);
60
62
  @import "./preview-card.css" layer(components);
61
63
  @import "./progress.css" layer(components);
@@ -2,9 +2,7 @@
2
2
  margin-block-start: var(--sigvelo-spacing-0-5);
3
3
  }
4
4
 
5
- .mcp-server-picker__group-label {
6
- padding-block: var(--sigvelo-spacing-1-5) var(--sigvelo-spacing-0-5);
7
- padding-inline: var(--sigvelo-spacing-2);
5
+ .mcp-server-picker__group-trigger {
8
6
  color: var(--sigvelo-color-text);
9
7
  font-size: var(--sigvelo-text-xs);
10
8
  font-weight: var(--sigvelo-font-weight-normal);
@@ -0,0 +1,13 @@
1
+ .menu-disclosure-group__trigger > svg {
2
+ flex: 0 0 auto;
3
+ transition: rotate var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
4
+ }
5
+
6
+ .menu-disclosure-group__trigger[aria-expanded="true"] > svg {
7
+ rotate: 180deg;
8
+ }
9
+
10
+ .menu-disclosure-group__items {
11
+ display: flex;
12
+ flex-direction: column;
13
+ }
@@ -48,9 +48,8 @@
48
48
  contain-intrinsic-size: auto 15rem;
49
49
  }
50
50
 
51
- /* Virtualized variant: rows are windowed and absolutely positioned by
52
- TanStack Virtual, so no gap/content-visibility here — the window itself
53
- bounds DOM cost, and translateY replaces flow layout. */
51
+ /* Rows are windowed and absolutely positioned by TanStack Virtual, so the
52
+ window itself bounds DOM cost and translateY replaces flow layout. */
54
53
  .message-scroller__virtual-content {
55
54
  position: relative;
56
55
  box-sizing: content-box;
@@ -1,3 +1,11 @@
1
+ .sources {
2
+ display: flex;
3
+ flex-direction: column;
4
+ inline-size: 100%;
5
+ font-family: inherit;
6
+ color: var(--sigvelo-color-text);
7
+ }
8
+
1
9
  .sources__trigger-label {
2
10
  display: inline-flex;
3
11
  align-items: center;
@@ -1,7 +1,18 @@
1
1
  .think-execution-status {
2
+ flex: 0 0 auto;
3
+ inline-size: var(--sigvelo-spacing-6);
4
+ block-size: var(--sigvelo-spacing-6);
5
+ display: inline-flex;
6
+ align-items: center;
7
+ justify-content: center;
2
8
  color: var(--sigvelo-color-text-muted);
3
9
  }
4
10
 
11
+ .think-execution-status svg {
12
+ inline-size: var(--sigvelo-control-icon-size-md);
13
+ block-size: var(--sigvelo-control-icon-size-md);
14
+ }
15
+
5
16
  .think-execution-status[data-tone="success"] {
6
17
  color: var(--sigvelo-color-success-text);
7
18
  }
@@ -22,3 +33,49 @@
22
33
  the ones that resolve to the primary tone, and the primary tone renders
23
34
  SpinnerIcon, which already spins itself and already stops under reduced
24
35
  motion. The list was a copy of that mapping that could drift away from it. */
36
+
37
+ .think-execution-run-summary {
38
+ min-inline-size: 0;
39
+ inline-size: 100%;
40
+ display: grid;
41
+ grid-template-columns: auto minmax(0, 1fr);
42
+ align-items: center;
43
+ gap: var(--sigvelo-spacing-2);
44
+ text-align: start;
45
+ }
46
+
47
+ .think-execution-run-summary__copy {
48
+ min-inline-size: 0;
49
+ display: grid;
50
+ row-gap: var(--sigvelo-spacing-1);
51
+ }
52
+
53
+ .think-execution-run-summary__heading {
54
+ min-inline-size: 0;
55
+ display: flex;
56
+ align-items: baseline;
57
+ gap: var(--sigvelo-spacing-2);
58
+ }
59
+
60
+ .think-execution-run-summary__title {
61
+ min-inline-size: 0;
62
+ font-size: var(--sigvelo-text-compact);
63
+ font-weight: var(--sigvelo-font-weight-semibold);
64
+ }
65
+
66
+ .think-execution-run-summary__copy code {
67
+ min-inline-size: 0;
68
+ overflow: hidden;
69
+ color: var(--sigvelo-color-text-muted);
70
+ overflow-wrap: anywhere;
71
+ font-family: var(--sigvelo-font-mono);
72
+ font-size: var(--sigvelo-text-xs);
73
+ text-overflow: ellipsis;
74
+ white-space: nowrap;
75
+ }
76
+
77
+ .think-execution-run-summary__progress {
78
+ color: var(--sigvelo-color-text-muted);
79
+ font-size: var(--sigvelo-text-xs);
80
+ line-height: var(--sigvelo-leading-tight);
81
+ }
@@ -118,36 +118,13 @@
118
118
  .think-execution-workbench__run {
119
119
  min-inline-size: 0;
120
120
  min-block-size: calc(var(--sigvelo-control-height-xl) + var(--sigvelo-spacing-3));
121
- display: grid;
122
- grid-template-columns: auto minmax(0, 1fr);
123
- align-items: center;
124
- gap: var(--sigvelo-spacing-2);
121
+ display: flex;
125
122
  padding-block: var(--sigvelo-spacing-1-5);
126
123
  padding-inline: var(--sigvelo-spacing-1);
127
124
  border-radius: inherit;
128
125
  text-align: start;
129
126
  }
130
127
 
131
- .think-execution-workbench__run-copy {
132
- min-inline-size: 0;
133
- display: grid;
134
- row-gap: var(--sigvelo-spacing-1);
135
- }
136
-
137
- .think-execution-workbench__run-heading {
138
- min-inline-size: 0;
139
- display: flex;
140
- align-items: baseline;
141
- gap: var(--sigvelo-spacing-2);
142
- }
143
-
144
- .think-execution-workbench__run-title {
145
- min-inline-size: 0;
146
- font-size: var(--sigvelo-text-compact);
147
- font-weight: var(--sigvelo-font-weight-semibold);
148
- }
149
-
150
- .think-execution-workbench__run-copy code,
151
128
  .think-execution-workbench__detail-header code {
152
129
  min-inline-size: 0;
153
130
  overflow: hidden;
@@ -157,32 +134,6 @@
157
134
  font-size: var(--sigvelo-text-xs);
158
135
  }
159
136
 
160
- .think-execution-workbench__run-copy code {
161
- text-overflow: ellipsis;
162
- white-space: nowrap;
163
- }
164
-
165
- .think-execution-workbench__run-summary {
166
- color: var(--sigvelo-color-text-muted);
167
- font-size: var(--sigvelo-text-xs);
168
- line-height: var(--sigvelo-leading-tight);
169
- }
170
-
171
- .think-execution-workbench__icon {
172
- flex: 0 0 auto;
173
- inline-size: var(--sigvelo-spacing-6);
174
- block-size: var(--sigvelo-spacing-6);
175
- display: inline-flex;
176
- align-items: center;
177
- justify-content: center;
178
- color: var(--sigvelo-color-text-muted);
179
- }
180
-
181
- .think-execution-workbench__icon svg {
182
- inline-size: var(--sigvelo-control-icon-size-md);
183
- block-size: var(--sigvelo-control-icon-size-md);
184
- }
185
-
186
137
  .think-execution-workbench__run-actions {
187
138
  inline-size: var(--sigvelo-control-height-sm);
188
139
  min-block-size: var(--sigvelo-control-height-sm);
@@ -11,7 +11,7 @@
11
11
  position: relative;
12
12
  container: think-full-app / inline-size;
13
13
  block-size: 100%;
14
- min-block-size: 32rem;
14
+ min-block-size: 0;
15
15
  min-inline-size: 0;
16
16
  display: grid;
17
17
  grid-template-rows: minmax(0, 1fr);
@@ -347,33 +347,6 @@
347
347
  text-align: start;
348
348
  }
349
349
 
350
- .think-routine-library__run-marker {
351
- inline-size: var(--sigvelo-control-icon-size-md);
352
- block-size: var(--sigvelo-control-icon-size-md);
353
- flex: 0 0 auto;
354
- }
355
-
356
- .think-routine-library__run-marker svg {
357
- display: block;
358
- inline-size: var(--sigvelo-control-icon-size-md);
359
- block-size: var(--sigvelo-control-icon-size-md);
360
- }
361
-
362
- .think-routine-library__run > span {
363
- min-inline-size: 0;
364
- flex: 1;
365
- }
366
-
367
- .think-routine-library__run-list strong {
368
- display: block;
369
- overflow: hidden;
370
- text-overflow: ellipsis;
371
- }
372
-
373
- .think-routine-library__run-kind {
374
- text-transform: capitalize;
375
- }
376
-
377
350
  /* One rule, not two — this selector was declared twice in this file. */
378
351
  .think-routine-library__empty-runs {
379
352
  --sigvelo-recipe-empty-state-padding-block: var(--sigvelo-spacing-4);
@@ -125,15 +125,6 @@
125
125
  position: relative;
126
126
  }
127
127
 
128
- .workspace-explorer__file-close {
129
- position: absolute;
130
- z-index: 2;
131
- inset-block-start: calc(var(--sigvelo-density-compact-control-height) + var(--sigvelo-spacing-2));
132
- inset-inline-end: var(--sigvelo-spacing-2);
133
- background-color: var(--sigvelo-color-surface-raised);
134
- box-shadow: var(--sigvelo-elevation-floating);
135
- }
136
-
137
128
  .workspace-explorer__filter {
138
129
  --sigvelo-recipe-control-height: var(--sigvelo-density-compact-control-height);
139
130
  --sigvelo-recipe-control-font-size: var(--sigvelo-density-compact-control-font-size);
@@ -1,4 +1,4 @@
1
- import { A as CodeBlockLanguage } from "../CodeBlock-yMpGqScn.js";
1
+ import { O as CodeBlockLanguage } from "../CodeBlock-DzGhYyNe.js";
2
2
 
3
3
  //#region src/utils/structured-code.d.ts
4
4
  interface StructuredCodeDisplay {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-b/react-components",
3
- "version": "0.29.0",
3
+ "version": "0.30.1",
4
4
  "description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
5
5
  "homepage": "https://design-system.sigvelo.com",
6
6
  "bugs": {
@@ -58,7 +58,7 @@
58
58
  "streamdown": "^2.5.0",
59
59
  "unist-util-visit": "^5.1.0",
60
60
  "yet-another-react-lightbox": "^3.32.1",
61
- "@mcp-b/design-tokens": "0.29.0"
61
+ "@mcp-b/design-tokens": "0.30.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@ai-sdk/react": "^3.0.230",
@@ -1,2 +0,0 @@
1
- import { n as BrowserLiveViewProps, t as BrowserLiveView } from "../BrowserLiveView-BV5qgFgI.js";
2
- export { BrowserLiveView, BrowserLiveViewProps };
@@ -1,2 +0,0 @@
1
- import { n as BrowserReplayProps, t as BrowserReplay } from "../BrowserReplay-xWvRjRAC.js";
2
- export { BrowserReplay, BrowserReplayProps };
@@ -1,2 +0,0 @@
1
- import { A as CodeBlockLanguage, C as CodeBlockLanguageSelectorValueProps, D as TokenizedCode, E as CodeBlockTitleProps, O as highlightCode, 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, k as CODE_BLOCK_LANGUAGES, 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-yMpGqScn.js";
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, TokenizedCode, highlightCode };
@@ -1,2 +0,0 @@
1
- import { i as CollapsibleTriggerProps, n as CollapsiblePanelProps, r as CollapsibleRootProps, t as Collapsible } from "../Collapsible-N64ASIQr.js";
2
- export { Collapsible, CollapsiblePanelProps, CollapsibleRootProps, CollapsibleTriggerProps };
@@ -1,2 +0,0 @@
1
- import { n as useComboboxAnchor, t as Combobox } from "../Combobox-DI6xcQjc.js";
2
- export { Combobox, useComboboxAnchor };
@@ -1,2 +0,0 @@
1
- import { n as IconButtonProps, t as IconButton } from "../IconButton-CFKhu6OR.js";
2
- export { IconButton, IconButtonProps };
@@ -1,2 +0,0 @@
1
- import { a as MessageBranch, c as MessageBranchPage, d as MessageContent, f as MessageResponse, i as MessageAttachment, l as MessageBranchPrevious, n as MessageAction, o as MessageBranchContent, p as MessageToolbar, r as MessageActions, s as MessageBranchNext, t as Message, u as MessageBranchSelector } from "../Message-BF6SiKKL.js";
2
- export { Message, MessageAction, MessageActions, MessageAttachment, MessageBranch, MessageBranchContent, MessageBranchNext, MessageBranchPage, MessageBranchPrevious, MessageBranchSelector, MessageContent, MessageResponse, MessageToolbar };
@@ -1,2 +0,0 @@
1
- import { $ as PromptInputDictationProps, A as PromptInputCommandDefinition, At as PromptInputTabProps, B as PromptInputCommandItemProps, Bt as TextInputContext, C as PromptInputBodyProps, Ct as PromptInputTab, D as PromptInputCommand, Dt as PromptInputTabItemProps, E as PromptInputButtonTooltip, Et as PromptInputTabItem, F as PromptInputCommandGroupLabelProps, Ft as PromptInputTools, G as PromptInputCommandSeparatorProps, Gt as mcpPromptInputCommands, H as PromptInputCommandListProps, Ht as getApprovalRequestId, I as PromptInputCommandGroupProps, It as PromptInputToolsProps, J as PromptInputContextItem, Jt as usePromptInputController, K as PromptInputCommandTrigger, Kt as skillPromptInputCommands, L as PromptInputCommandInput, Lt as PromptInputTooltipConfig, M as PromptInputCommandEmptyProps, Mt as PromptInputTabsListProps, N as PromptInputCommandGroup, Nt as PromptInputTextarea, O as PromptInputCommandComposer, Ot as PromptInputTabLabel, P as PromptInputCommandGroupLabel, Pt as PromptInputTextareaProps, Q as PromptInputDictation, R as PromptInputCommandInputProps, Rt as PromptInputTray, S as PromptInputBody, St as PromptInputSubmitProps, T as PromptInputButtonProps, Tt as PromptInputTabBodyProps, U as PromptInputCommandProps, Ut as getApprovalStateKey, V as PromptInputCommandList, Vt as TooltipSide, W as PromptInputCommandSeparator, Wt as getPendingToolApprovals, X as PromptInputContextSelectorProps, Y as PromptInputContextSelector, Yt as useProviderAttachments, Z as PromptInputControllerProps, _ as PromptInputApprovalProps, _t as PromptInputReferences, a as PromptInputActionAddAttachmentsProps, at as PromptInputHoverCardContent, b as PromptInputAttachments, bt as PromptInputSelectProps, c as PromptInputActionMenu, ct as PromptInputHoverCardTrigger, d as PromptInputActionMenuItem, dt as PromptInputPermissionSelector, et as PromptInputFooter, f as PromptInputActionMenuItemProps, ft as PromptInputPermissionSelectorProps, g as PromptInputApproval, gt as PromptInputReference, h as PromptInputActionMenuTriggerProps, ht as PromptInputProviderProps, i as PromptInputActionAddAttachments, it as PromptInputHoverCard, j as PromptInputCommandEmpty, jt as PromptInputTabsList, k as PromptInputCommandComposerProps, kt as PromptInputTabLabelProps, l as PromptInputActionMenuContent, lt as PromptInputHoverCardTriggerProps, m as PromptInputActionMenuTrigger, mt as PromptInputProvider, n as PermissionMode, nt as PromptInputHeader, o as PromptInputActionAddScreenshot, ot as PromptInputHoverCardContentProps, p as PromptInputActionMenuProps, pt as PromptInputProps, q as PromptInputContextAction, qt as usePromptInputAttachments, r as PromptInput, rt as PromptInputHeaderProps, s as PromptInputActionAddScreenshotProps, st as PromptInputHoverCardProps, t as AttachmentsContext, tt as PromptInputFooterProps, u as PromptInputActionMenuContentProps, ut as PromptInputMessage, v as PromptInputAttachment, vt as PromptInputReferencesProps, w as PromptInputButton, wt as PromptInputTabBody, x as PromptInputAttachmentsProps, xt as PromptInputSubmit, y as PromptInputAttachmentProps, yt as PromptInputSelect, z as PromptInputCommandItem, zt as PromptInputTrayProps } from "../PromptInput-B75Np5VB.js";
2
- export { AttachmentsContext, PermissionMode, PromptInput, PromptInputActionAddAttachments, PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuContentProps, PromptInputActionMenuItem, PromptInputActionMenuItemProps, PromptInputActionMenuProps, PromptInputActionMenuTrigger, PromptInputActionMenuTriggerProps, PromptInputApproval, PromptInputApprovalProps, PromptInputAttachment, PromptInputAttachmentProps, PromptInputAttachments, PromptInputAttachmentsProps, PromptInputBody, PromptInputBodyProps, PromptInputButton, PromptInputButtonProps, PromptInputButtonTooltip, PromptInputCommand, PromptInputCommandComposer, PromptInputCommandComposerProps, PromptInputCommandDefinition, PromptInputCommandEmpty, PromptInputCommandEmptyProps, PromptInputCommandGroup, PromptInputCommandGroupLabel, PromptInputCommandGroupLabelProps, PromptInputCommandGroupProps, PromptInputCommandInput, PromptInputCommandInputProps, PromptInputCommandItem, PromptInputCommandItemProps, PromptInputCommandList, PromptInputCommandListProps, PromptInputCommandProps, PromptInputCommandSeparator, PromptInputCommandSeparatorProps, PromptInputCommandTrigger, PromptInputContextAction, PromptInputContextItem, PromptInputContextSelector, PromptInputContextSelectorProps, PromptInputControllerProps, PromptInputDictation, PromptInputDictationProps, PromptInputFooter, PromptInputFooterProps, PromptInputHeader, PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, PromptInputHoverCardContentProps, PromptInputHoverCardProps, PromptInputHoverCardTrigger, PromptInputHoverCardTriggerProps, PromptInputMessage, PromptInputPermissionSelector, PromptInputPermissionSelectorProps, PromptInputProps, PromptInputProvider, PromptInputProviderProps, PromptInputReference, PromptInputReferences, PromptInputReferencesProps, PromptInputSelect, PromptInputSelectProps, PromptInputSubmit, PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, PromptInputTabBodyProps, PromptInputTabItem, PromptInputTabItemProps, PromptInputTabLabel, PromptInputTabLabelProps, PromptInputTabProps, PromptInputTabsList, PromptInputTabsListProps, PromptInputTextarea, PromptInputTextareaProps, PromptInputTools, PromptInputToolsProps, PromptInputTooltipConfig, PromptInputTray, PromptInputTrayProps, TextInputContext, TooltipSide, getApprovalRequestId, getApprovalStateKey, getPendingToolApprovals, mcpPromptInputCommands, skillPromptInputCommands, usePromptInputAttachments, usePromptInputController, useProviderAttachments };
@@ -1,2 +0,0 @@
1
- import { i as ResponsiveSidebarShellTopBarControls, n as ResponsiveSidebarShellControls, r as ResponsiveSidebarShellProps, t as ResponsiveSidebarShell } from "../ResponsiveSidebarShell-CsAh4NyL.js";
2
- export { ResponsiveSidebarShell, ResponsiveSidebarShellControls, ResponsiveSidebarShellProps, ResponsiveSidebarShellTopBarControls };
@@ -1,2 +0,0 @@
1
- import { a as UseSessionCompactionResult, c as useSessionCompaction, i as UseSessionCompactionOptions, n as SessionStatusFrame, o as parseSessionErrorFrame, r as SessionStatusPhase, s as parseSessionStatusFrame, t as SessionFrameSource } from "../SessionCompaction-DMa1vv6Y.js";
2
- export { SessionFrameSource, SessionStatusFrame, SessionStatusPhase, UseSessionCompactionOptions, UseSessionCompactionResult, parseSessionErrorFrame, parseSessionStatusFrame, useSessionCompaction };
@@ -1,2 +0,0 @@
1
- import { C as isToolPartFailed, S as isThinkChatActivityPart, T as isWorkspaceToolPart, _ as isPartFailed, a as SessionContextToolPart, b as isSessionContextToolPart, c as ThinkBashToolPart, d as WorkspaceToolPart, f as displayUrl, g as isFetchToolPart, h as isExecuteToolPart, i as SessionContextToolName, l as ThinkChatPart, m as isBrowserToolPart, n as ExecuteToolPart, o as SkillToolPart, p as getToolDisplayName, r as FetchToolPart, s as ThinkBashToolOutput, t as BrowserToolPart, u as ThinkWorkspaceToolName, v as isPartWorking, w as isToolPartWorking, x as isSkillToolPart, y as isSessionContextToolFailure } from "../ThinkChatToolParts-BfroXQ4F.js";
2
- export { BrowserToolPart, ExecuteToolPart, FetchToolPart, SessionContextToolName, SessionContextToolPart, SkillToolPart, ThinkBashToolOutput, ThinkBashToolPart, ThinkChatPart, ThinkWorkspaceToolName, WorkspaceToolPart, displayUrl, getToolDisplayName, isBrowserToolPart, isExecuteToolPart, isFetchToolPart, isPartFailed, isPartWorking, isSessionContextToolFailure, isSessionContextToolPart, isSkillToolPart, isThinkChatActivityPart, isToolPartFailed, isToolPartWorking, isWorkspaceToolPart };
@@ -1,22 +0,0 @@
1
- import { t as ThinkExecutionRun } from "../ThinkExecutionRun-ChhWhOoU.js";
2
- import * as React from "react";
3
-
4
- //#region src/components/ThinkExecutionStatus.d.ts
5
- interface ThinkExecutionStatusProps extends React.HTMLAttributes<HTMLSpanElement> {
6
- /** Whole upstream Think submission or Agents workflow record. */
7
- run: ThinkExecutionRun;
8
- /** Accessible status label; derived from the run when omitted. */
9
- label?: string;
10
- }
11
- /** Shared status icon for whole upstream Think submission and Agents workflow records. */
12
- declare function ThinkExecutionStatus({
13
- className,
14
- label,
15
- run,
16
- ref,
17
- ...props
18
- }: ThinkExecutionStatusProps & {
19
- ref?: React.Ref<HTMLSpanElement>;
20
- }): React.JSX.Element;
21
- //#endregion
22
- export { ThinkExecutionStatus, ThinkExecutionStatusProps };
@@ -1,36 +0,0 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { J as SpinnerIcon, O as InfoIcon, d as CheckIcon, rt as XIcon, z as PauseIcon } from "../icons-B4mGvCvc.js";
3
- import { Tooltip } from "./Tooltip.js";
4
- import { formatThinkExecutionStatus, getThinkExecutionRunStatus, getThinkExecutionRunStatusTone } from "./ThinkExecutionRun.js";
5
- import "react";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
- //#region src/components/ThinkExecutionStatus.tsx
8
- function statusIcon(tone) {
9
- if (tone === "success") return /* @__PURE__ */ jsx(CheckIcon, {});
10
- if (tone === "danger") return /* @__PURE__ */ jsx(XIcon, {});
11
- if (tone === "warning") return /* @__PURE__ */ jsx(PauseIcon, {});
12
- if (tone === "primary") return /* @__PURE__ */ jsx(SpinnerIcon, {});
13
- return /* @__PURE__ */ jsx(InfoIcon, {});
14
- }
15
- /** Shared status icon for whole upstream Think submission and Agents workflow records. */
16
- function ThinkExecutionStatus({ className, label, run, ref, ...props }) {
17
- const status = getThinkExecutionRunStatus(run);
18
- const tone = getThinkExecutionRunStatusTone(run);
19
- const accessibleLabel = label ?? `Status: ${formatThinkExecutionStatus(status)}`;
20
- return /* @__PURE__ */ jsxs(Tooltip.Root, { children: [/* @__PURE__ */ jsx(Tooltip.Trigger, { render: /* @__PURE__ */ jsx("span", {
21
- ref,
22
- "aria-label": accessibleLabel,
23
- className: cx("think-execution-status", className),
24
- "data-status": status,
25
- "data-tone": tone,
26
- role: "img",
27
- ...props,
28
- children: statusIcon(tone)
29
- }) }), /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, {
30
- side: "top",
31
- sideOffset: 6,
32
- children: /* @__PURE__ */ jsx(Tooltip.Popup, { children: accessibleLabel })
33
- }) })] });
34
- }
35
- //#endregion
36
- export { ThinkExecutionStatus };
@@ -1,2 +0,0 @@
1
- import { n as ThinkRecoveryNoticeProps, t as ThinkRecoveryNotice } from "../ThinkRecoveryNotice-D6gYcBbr.js";
2
- export { ThinkRecoveryNotice, ThinkRecoveryNoticeProps };