@mcp-b/react-components 0.28.0 → 0.30.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 (398) hide show
  1. package/dist/{AgentActivity-D3OvrC02.d.ts → AgentActivity-SP1WfLDW.d.ts} +2 -2
  2. package/dist/{AgentChat-CHEz8ts_.d.ts → AgentChat-CV-GuYA6.d.ts} +29 -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-CM5gfmdq.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-4WP4Uc_m.js} +65 -72
  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/{ModelSelector-CRdvHT_b.js → ModelSelector-DzdEs2fX.js} +33 -31
  17. package/dist/{PromptInput-B75Np5VB.d.ts → PromptInput-DOyee1kM.d.ts} +28 -90
  18. package/dist/{Select-B_13gg_J.d.ts → Select-D96d09ww.d.ts} +1 -1
  19. package/dist/{SessionCompaction-DMa1vv6Y.d.ts → SessionCompaction-CmTJFpzj.d.ts} +32 -2
  20. package/dist/{Tabs-C49J5m0Q.d.ts → Tabs-Ptrbaynh.d.ts} +1 -1
  21. package/dist/{ThinkChat-Bp-nAnoW.js → ThinkChat-Dsm1xF3a.js} +47 -18
  22. package/dist/{ThinkChatActivity-C2uaL3el.d.ts → ThinkChatActivity-CgqpROz_.d.ts} +5 -5
  23. package/dist/{ThinkChatActivitySummary-F062wneC.d.ts → ThinkChatActivitySummary-teRjrPxW.d.ts} +3 -3
  24. package/dist/{ThinkChatContext-B-Nk84Wi.d.ts → ThinkChatContext-COIgzkYp.d.ts} +1 -1
  25. package/dist/{ThinkChatToolParts-BfroXQ4F.d.ts → ThinkChatToolParts-D4qcnnxt.d.ts} +3 -13
  26. package/dist/{ThinkExecutionRun-ChhWhOoU.d.ts → ThinkExecutionRun-lYYgyeE1.d.ts} +1 -1
  27. package/dist/{ThinkRecoveryNotice-D6gYcBbr.d.ts → ThinkRecoveryNotice-DGWr94rk.d.ts} +2 -2
  28. package/dist/{Toggle-JKZ43D5S.d.ts → Toggle-DLrIf5YH.d.ts} +1 -1
  29. package/dist/{ToggleGroup-BW1jrhAF.d.ts → ToggleGroup-CSBWfPXo.d.ts} +12 -12
  30. package/dist/{Workspace-Bn6In4wi.d.ts → Workspace-EhvvlHOB.d.ts} +2 -2
  31. package/dist/{WorkspaceExplorer-D0aiscG6.d.ts → WorkspaceExplorer-DygQnEyi.d.ts} +3 -3
  32. package/dist/{WorkspaceFile-DMtRMwVv.d.ts → WorkspaceFile-C8Riev9j.d.ts} +2 -2
  33. package/dist/{WorkspaceFileView-CKEmUyeT.js → WorkspaceFileView-hd1-cpuz.js} +12 -12
  34. package/dist/{WorkspaceLink-O-EBKUJ8.d.ts → WorkspaceLink-DQogVe8E.d.ts} +1 -1
  35. package/dist/{WorkspaceLink-BYYeTQLf.js → WorkspaceLink-DZeLe_jN.js} +3 -4
  36. package/dist/WorkspaceMessageResponse-BWbkIELl.js +100 -0
  37. package/dist/{attachment-preview-DIs50Q0h.js → attachment-preview-1CXJvrmb.js} +1 -1
  38. package/dist/components/{AgentActivity.d.ts → agents-sdk/AgentActivity.d.ts} +1 -1
  39. package/dist/components/{AgentActivity.js → agents-sdk/AgentActivity.js} +3 -3
  40. package/dist/components/{AgentActivityPreview.d.ts → agents-sdk/AgentActivityPreview.d.ts} +3 -3
  41. package/dist/components/{AgentActivityPreview.js → agents-sdk/AgentActivityPreview.js} +12 -10
  42. package/dist/components/{AgentChat.d.ts → agents-sdk/AgentChat.d.ts} +1 -1
  43. package/dist/components/{AgentChat.js → agents-sdk/AgentChat.js} +79 -41
  44. package/dist/components/{AgentToolRunsContext.d.ts → agents-sdk/AgentToolRunsContext.d.ts} +1 -1
  45. package/dist/components/{AgentToolRunsContext.js → agents-sdk/AgentToolRunsContext.js} +1 -1
  46. package/dist/components/agents-sdk/BrowserLiveView.d.ts +2 -0
  47. package/dist/components/{BrowserLiveView.js → agents-sdk/BrowserLiveView.js} +7 -7
  48. package/dist/components/agents-sdk/BrowserReplay.d.ts +2 -0
  49. package/dist/components/{BrowserReplay.js → agents-sdk/BrowserReplay.js} +7 -7
  50. package/dist/components/{BrowserRunPanel.d.ts → agents-sdk/BrowserRunPanel.d.ts} +1 -1
  51. package/dist/components/{BrowserRunPanel.js → agents-sdk/BrowserRunPanel.js} +6 -6
  52. package/dist/components/{McpConnectionRequest.d.ts → agents-sdk/McpConnectionRequest.d.ts} +3 -15
  53. package/dist/components/{McpConnectionRequest.js → agents-sdk/McpConnectionRequest.js} +46 -18
  54. package/dist/components/agents-sdk/McpConnectorForm.d.ts +39 -0
  55. package/dist/components/agents-sdk/McpConnectorForm.js +151 -0
  56. package/dist/components/{McpPluginCatalog.d.ts → agents-sdk/McpPluginCatalog.d.ts} +3 -3
  57. package/dist/components/{McpPluginCatalog.js → agents-sdk/McpPluginCatalog.js} +23 -47
  58. package/dist/components/{McpServerPicker.d.ts → agents-sdk/McpServerPicker.d.ts} +5 -5
  59. package/dist/components/{McpServerPicker.js → agents-sdk/McpServerPicker.js} +30 -40
  60. package/dist/components/{ModelSelector.d.ts → agents-sdk/ModelSelector.d.ts} +4 -4
  61. package/dist/components/{ModelSelector.js → agents-sdk/ModelSelector.js} +1 -1
  62. package/dist/components/agents-sdk/PromptInputApproval.d.ts +44 -0
  63. package/dist/components/agents-sdk/PromptInputApproval.js +61 -0
  64. package/dist/components/agents-sdk/PromptInputCommands.d.ts +11 -0
  65. package/dist/components/agents-sdk/PromptInputCommands.js +33 -0
  66. package/dist/components/agents-sdk/SessionCompaction.d.ts +2 -0
  67. package/dist/components/{SessionCompaction.js → agents-sdk/SessionCompaction.js} +32 -11
  68. package/dist/components/{SubagentRunDetails.d.ts → agents-sdk/SubagentRunDetails.d.ts} +1 -1
  69. package/dist/components/{SubagentRunDetails.js → agents-sdk/SubagentRunDetails.js} +4 -4
  70. package/dist/components/{SubagentRunIndicator.d.ts → agents-sdk/SubagentRunIndicator.d.ts} +1 -1
  71. package/dist/components/{SubagentRunIndicator.js → agents-sdk/SubagentRunIndicator.js} +3 -3
  72. package/dist/components/{SubagentRunList.d.ts → agents-sdk/SubagentRunList.d.ts} +1 -1
  73. package/dist/components/{SubagentRunList.js → agents-sdk/SubagentRunList.js} +2 -2
  74. package/dist/components/{SubagentRunSelector.d.ts → agents-sdk/SubagentRunSelector.d.ts} +1 -1
  75. package/dist/components/{SubagentRunSelector.js → agents-sdk/SubagentRunSelector.js} +7 -7
  76. package/dist/components/{ThinkChat.d.ts → agents-sdk/ThinkChat.d.ts} +18 -16
  77. package/dist/components/{ThinkChat.js → agents-sdk/ThinkChat.js} +3 -3
  78. package/dist/components/{ThinkChatActivity.d.ts → agents-sdk/ThinkChatActivity.d.ts} +3 -3
  79. package/dist/components/{ThinkChatActivity.js → agents-sdk/ThinkChatActivity.js} +6 -6
  80. package/dist/components/{ThinkChatActivitySummary.d.ts → agents-sdk/ThinkChatActivitySummary.d.ts} +1 -1
  81. package/dist/components/{ThinkChatActivitySummary.js → agents-sdk/ThinkChatActivitySummary.js} +5 -4
  82. package/dist/components/{ThinkChatContext.d.ts → agents-sdk/ThinkChatContext.d.ts} +1 -1
  83. package/dist/components/{ThinkChatContext.js → agents-sdk/ThinkChatContext.js} +1 -1
  84. package/dist/components/{ThinkChatToolPanels.d.ts → agents-sdk/ThinkChatToolPanels.d.ts} +2 -2
  85. package/dist/components/{ThinkChatToolPanels.js → agents-sdk/ThinkChatToolPanels.js} +5 -5
  86. package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +2 -0
  87. package/dist/components/{ThinkChatToolParts.js → agents-sdk/ThinkChatToolParts.js} +3 -33
  88. package/dist/components/{ThinkExecutionDetail.d.ts → agents-sdk/ThinkExecutionDetail.d.ts} +2 -2
  89. package/dist/components/{ThinkExecutionDetail.js → agents-sdk/ThinkExecutionDetail.js} +5 -8
  90. package/dist/components/{ThinkExecutionRun.d.ts → agents-sdk/ThinkExecutionRun.d.ts} +1 -1
  91. package/dist/components/{ThinkExecutionRun.js → agents-sdk/ThinkExecutionRun.js} +2 -2
  92. package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +35 -0
  93. package/dist/components/agents-sdk/ThinkExecutionStatus.js +59 -0
  94. package/dist/components/{ThinkExecutionWorkbench.d.ts → agents-sdk/ThinkExecutionWorkbench.d.ts} +2 -2
  95. package/dist/components/{ThinkExecutionWorkbench.js → agents-sdk/ThinkExecutionWorkbench.js} +15 -32
  96. package/dist/components/{ThinkFullApp.d.ts → agents-sdk/ThinkFullApp.d.ts} +9 -9
  97. package/dist/components/{ThinkFullApp.js → agents-sdk/ThinkFullApp.js} +18 -20
  98. package/dist/components/{ThinkFullAppViewSwitch.d.ts → agents-sdk/ThinkFullAppViewSwitch.d.ts} +2 -2
  99. package/dist/components/{ThinkFullAppViewSwitch.js → agents-sdk/ThinkFullAppViewSwitch.js} +4 -4
  100. package/dist/components/{ThinkPendingApproval.d.ts → agents-sdk/ThinkPendingApproval.d.ts} +1 -1
  101. package/dist/components/{ThinkPendingApproval.js → agents-sdk/ThinkPendingApproval.js} +3 -3
  102. package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +2 -0
  103. package/dist/components/{ThinkRecoveryNotice.js → agents-sdk/ThinkRecoveryNotice.js} +3 -3
  104. package/dist/components/{ThinkRoutine.d.ts → agents-sdk/ThinkRoutine.d.ts} +2 -2
  105. package/dist/components/{ThinkRoutine.js → agents-sdk/ThinkRoutine.js} +1 -1
  106. package/dist/components/{ThinkRoutineBrowser.d.ts → agents-sdk/ThinkRoutineBrowser.d.ts} +1 -1
  107. package/dist/components/{ThinkRoutineBrowser.js → agents-sdk/ThinkRoutineBrowser.js} +9 -9
  108. package/dist/components/{ThinkRoutineDetail.d.ts → agents-sdk/ThinkRoutineDetail.d.ts} +1 -1
  109. package/dist/components/{ThinkRoutineDetail.js → agents-sdk/ThinkRoutineDetail.js} +4 -4
  110. package/dist/components/{ThinkRoutineForm.d.ts → agents-sdk/ThinkRoutineForm.d.ts} +1 -1
  111. package/dist/components/{ThinkRoutineForm.js → agents-sdk/ThinkRoutineForm.js} +9 -9
  112. package/dist/components/{ThinkRoutineLibrary.d.ts → agents-sdk/ThinkRoutineLibrary.d.ts} +2 -2
  113. package/dist/components/{ThinkRoutineLibrary.js → agents-sdk/ThinkRoutineLibrary.js} +12 -14
  114. package/dist/components/{ThinkRoutineRuns.d.ts → agents-sdk/ThinkRoutineRuns.d.ts} +2 -2
  115. package/dist/components/agents-sdk/ThinkRoutineRuns.js +59 -0
  116. package/dist/components/{ThinkThreadPicker.d.ts → agents-sdk/ThinkThreadPicker.d.ts} +1 -1
  117. package/dist/components/{ThinkThreadPicker.js → agents-sdk/ThinkThreadPicker.js} +12 -14
  118. package/dist/components/{ThinkThreadShell.d.ts → agents-sdk/ThinkThreadShell.d.ts} +2 -2
  119. package/dist/components/{ThinkThreadShell.js → agents-sdk/ThinkThreadShell.js} +3 -3
  120. package/dist/components/{Workspace.d.ts → agents-sdk/Workspace.d.ts} +1 -1
  121. package/dist/components/{Workspace.js → agents-sdk/Workspace.js} +5 -7
  122. package/dist/components/{WorkspaceBrowser.d.ts → agents-sdk/WorkspaceBrowser.d.ts} +2 -2
  123. package/dist/components/{WorkspaceBrowser.js → agents-sdk/WorkspaceBrowser.js} +3 -3
  124. package/dist/components/{WorkspaceExplorer.d.ts → agents-sdk/WorkspaceExplorer.d.ts} +4 -4
  125. package/dist/components/{WorkspaceExplorer.js → agents-sdk/WorkspaceExplorer.js} +5 -5
  126. package/dist/components/{WorkspaceFile.d.ts → agents-sdk/WorkspaceFile.d.ts} +1 -1
  127. package/dist/components/{WorkspaceFile.js → agents-sdk/WorkspaceFile.js} +1 -1
  128. package/dist/components/{WorkspaceFileView.d.ts → agents-sdk/WorkspaceFileView.d.ts} +2 -2
  129. package/dist/components/agents-sdk/WorkspaceFileView.js +2 -0
  130. package/dist/components/{WorkspaceHeader.d.ts → agents-sdk/WorkspaceHeader.d.ts} +1 -1
  131. package/dist/components/{WorkspaceHeader.js → agents-sdk/WorkspaceHeader.js} +3 -3
  132. package/dist/components/{WorkspaceLink.d.ts → agents-sdk/WorkspaceLink.d.ts} +1 -1
  133. package/dist/components/{WorkspaceLink.js → agents-sdk/WorkspaceLink.js} +1 -1
  134. package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +12 -0
  135. package/dist/components/agents-sdk/WorkspaceMessageResponse.js +2 -0
  136. package/dist/components/{WorkspaceMountManager.d.ts → agents-sdk/WorkspaceMountManager.d.ts} +1 -1
  137. package/dist/components/{WorkspaceMountManager.js → agents-sdk/WorkspaceMountManager.js} +8 -8
  138. package/dist/components/{Activity.d.ts → ai-sdk/Activity.d.ts} +4 -4
  139. package/dist/components/{Activity.js → ai-sdk/Activity.js} +6 -6
  140. package/dist/components/{AgentAttention.d.ts → ai-sdk/AgentAttention.d.ts} +2 -2
  141. package/dist/components/{AgentAttention.js → ai-sdk/AgentAttention.js} +3 -3
  142. package/dist/components/{AgentChatMessageEditor.d.ts → ai-sdk/AgentChatMessageEditor.d.ts} +1 -1
  143. package/dist/components/{AgentChatMessageEditor.js → ai-sdk/AgentChatMessageEditor.js} +5 -5
  144. package/dist/components/{AgentChatStartScreen.d.ts → ai-sdk/AgentChatStartScreen.d.ts} +1 -1
  145. package/dist/components/{AgentChatStartScreen.js → ai-sdk/AgentChatStartScreen.js} +5 -5
  146. package/dist/components/{AgentChatTurnError.d.ts → ai-sdk/AgentChatTurnError.d.ts} +1 -1
  147. package/dist/components/{AgentChatTurnError.js → ai-sdk/AgentChatTurnError.js} +2 -2
  148. package/dist/components/{AgentMessageParts.d.ts → ai-sdk/AgentMessageParts.d.ts} +1 -1
  149. package/dist/components/{AgentMessageParts.js → ai-sdk/AgentMessageParts.js} +4 -28
  150. package/dist/components/{Approval.d.ts → ai-sdk/Approval.d.ts} +1 -1
  151. package/dist/components/{Approval.js → ai-sdk/Approval.js} +5 -5
  152. package/dist/components/{Artifact.d.ts → ai-sdk/Artifact.d.ts} +2 -2
  153. package/dist/components/{Artifact.js → ai-sdk/Artifact.js} +4 -4
  154. package/dist/components/{ChainOfThought.d.ts → ai-sdk/ChainOfThought.d.ts} +3 -3
  155. package/dist/components/{ChainOfThought.js → ai-sdk/ChainOfThought.js} +4 -4
  156. package/dist/components/{Checkpoint.d.ts → ai-sdk/Checkpoint.d.ts} +2 -2
  157. package/dist/components/{Checkpoint.js → ai-sdk/Checkpoint.js} +4 -4
  158. package/dist/components/ai-sdk/CodeBlock.d.ts +2 -0
  159. package/dist/components/{CodeBlock.js → ai-sdk/CodeBlock.js} +2 -2
  160. package/dist/components/{Context.d.ts → ai-sdk/Context.d.ts} +2 -2
  161. package/dist/components/{Context.js → ai-sdk/Context.js} +5 -5
  162. package/dist/components/{Conversation.d.ts → ai-sdk/Conversation.d.ts} +2 -2
  163. package/dist/components/{Conversation.js → ai-sdk/Conversation.js} +5 -5
  164. package/dist/components/{ExpansionState.d.ts → ai-sdk/ExpansionState.d.ts} +1 -1
  165. package/dist/components/{ExpansionState.js → ai-sdk/ExpansionState.js} +1 -1
  166. package/dist/components/{Goal.d.ts → ai-sdk/Goal.d.ts} +1 -1
  167. package/dist/components/{Goal.js → ai-sdk/Goal.js} +6 -5
  168. package/dist/components/{InlineCitation.d.ts → ai-sdk/InlineCitation.d.ts} +1 -1
  169. package/dist/components/{InlineCitation.js → ai-sdk/InlineCitation.js} +4 -4
  170. package/dist/components/{MediaPreviewCard.d.ts → ai-sdk/MediaPreviewCard.d.ts} +2 -2
  171. package/dist/components/{MediaPreviewCard.js → ai-sdk/MediaPreviewCard.js} +5 -5
  172. package/dist/components/{Message.d.ts → ai-sdk/Message.d.ts} +2 -3
  173. package/dist/{Message-BF6SiKKL.js → components/ai-sdk/Message.js} +14 -99
  174. package/dist/components/{MessageScroller.d.ts → ai-sdk/MessageScroller.d.ts} +2 -2
  175. package/dist/components/{MessageScroller.js → ai-sdk/MessageScroller.js} +4 -4
  176. package/dist/components/{MessageScrollerVirtual.d.ts → ai-sdk/MessageScrollerVirtual.d.ts} +7 -8
  177. package/dist/components/{MessageScrollerVirtual.js → ai-sdk/MessageScrollerVirtual.js} +10 -10
  178. package/dist/components/{Plan.d.ts → ai-sdk/Plan.d.ts} +5 -6
  179. package/dist/components/{Plan.js → ai-sdk/Plan.js} +6 -6
  180. package/dist/components/ai-sdk/PromptInput.d.ts +2 -0
  181. package/dist/components/{PromptInput.js → ai-sdk/PromptInput.js} +32 -130
  182. package/dist/components/{Queue.d.ts → ai-sdk/Queue.d.ts} +4 -4
  183. package/dist/components/{Queue.js → ai-sdk/Queue.js} +7 -7
  184. package/dist/components/{Reasoning.d.ts → ai-sdk/Reasoning.d.ts} +2 -2
  185. package/dist/components/{Reasoning.js → ai-sdk/Reasoning.js} +5 -5
  186. package/dist/components/{Sources.d.ts → ai-sdk/Sources.d.ts} +2 -2
  187. package/dist/components/{Sources.js → ai-sdk/Sources.js} +4 -4
  188. package/dist/components/{Task.d.ts → ai-sdk/Task.d.ts} +2 -2
  189. package/dist/components/{Task.js → ai-sdk/Task.js} +4 -4
  190. package/dist/components/{ToolApproval.d.ts → ai-sdk/ToolApproval.d.ts} +1 -1
  191. package/dist/components/{ToolApproval.js → ai-sdk/ToolApproval.js} +1 -1
  192. package/dist/components/{ToolInvocation.d.ts → ai-sdk/ToolInvocation.d.ts} +1 -1
  193. package/dist/components/{ToolInvocation.js → ai-sdk/ToolInvocation.js} +7 -9
  194. package/dist/components/ai-sdk/ToolPart.d.ts +11 -0
  195. package/dist/components/ai-sdk/ToolPart.js +15 -0
  196. package/dist/components/{ChatGptSignInScreen.d.ts → extension/ChatGptSignInScreen.d.ts} +1 -1
  197. package/dist/components/{ChatGptSignInScreen.js → extension/ChatGptSignInScreen.js} +5 -5
  198. package/dist/components/{CodexModelSelector.d.ts → extension/CodexModelSelector.d.ts} +3 -3
  199. package/dist/components/{CodexModelSelector.js → extension/CodexModelSelector.js} +6 -6
  200. package/dist/components/{ConversationTabPicker.d.ts → extension/ConversationTabPicker.d.ts} +1 -1
  201. package/dist/components/{ConversationTabPicker.js → extension/ConversationTabPicker.js} +7 -6
  202. package/dist/components/{Accordion.d.ts → foundations/Accordion.d.ts} +1 -1
  203. package/dist/components/{Accordion.js → foundations/Accordion.js} +3 -3
  204. package/dist/components/{AlertDialog.d.ts → foundations/AlertDialog.d.ts} +2 -2
  205. package/dist/components/{AlertDialog.js → foundations/AlertDialog.js} +2 -2
  206. package/dist/components/{AppIcon.d.ts → foundations/AppIcon.d.ts} +1 -1
  207. package/dist/components/{AppIcon.js → foundations/AppIcon.js} +2 -2
  208. package/dist/components/{Autocomplete.d.ts → foundations/Autocomplete.d.ts} +1 -1
  209. package/dist/components/{Autocomplete.js → foundations/Autocomplete.js} +2 -2
  210. package/dist/components/{Avatar.d.ts → foundations/Avatar.d.ts} +1 -1
  211. package/dist/components/{Avatar.js → foundations/Avatar.js} +2 -2
  212. package/dist/components/{Badge.d.ts → foundations/Badge.d.ts} +1 -1
  213. package/dist/components/{Badge.js → foundations/Badge.js} +1 -1
  214. package/dist/components/{Button.d.ts → foundations/Button.d.ts} +1 -1
  215. package/dist/components/{Button.js → foundations/Button.js} +2 -2
  216. package/dist/components/{Card.d.ts → foundations/Card.d.ts} +1 -1
  217. package/dist/components/{Card.js → foundations/Card.js} +2 -2
  218. package/dist/components/{Checkbox.d.ts → foundations/Checkbox.d.ts} +7 -3
  219. package/dist/components/{Checkbox.js → foundations/Checkbox.js} +9 -5
  220. package/dist/components/{CheckboxGroup.d.ts → foundations/CheckboxGroup.d.ts} +1 -1
  221. package/dist/components/{CheckboxGroup.js → foundations/CheckboxGroup.js} +2 -2
  222. package/dist/{Collapsible-N64ASIQr.d.ts → components/foundations/Collapsible.d.ts} +7 -7
  223. package/dist/components/{Collapsible.js → foundations/Collapsible.js} +2 -2
  224. package/dist/components/foundations/Combobox.d.ts +2 -0
  225. package/dist/components/{Combobox.js → foundations/Combobox.js} +2 -2
  226. package/dist/components/{ContextMenu.d.ts → foundations/ContextMenu.d.ts} +1 -1
  227. package/dist/components/{ContextMenu.js → foundations/ContextMenu.js} +3 -3
  228. package/dist/components/{DescriptionList.d.ts → foundations/DescriptionList.d.ts} +1 -1
  229. package/dist/components/{DescriptionList.js → foundations/DescriptionList.js} +1 -1
  230. package/dist/components/{DescriptionListParts.d.ts → foundations/DescriptionListParts.d.ts} +1 -1
  231. package/dist/components/{DescriptionListParts.js → foundations/DescriptionListParts.js} +2 -2
  232. package/dist/components/{Dialog.d.ts → foundations/Dialog.d.ts} +1 -1
  233. package/dist/components/{Dialog.js → foundations/Dialog.js} +2 -2
  234. package/dist/components/{EmptyState.d.ts → foundations/EmptyState.d.ts} +1 -1
  235. package/dist/components/{EmptyState.js → foundations/EmptyState.js} +2 -2
  236. package/dist/components/{Field.d.ts → foundations/Field.d.ts} +1 -1
  237. package/dist/components/{Field.js → foundations/Field.js} +2 -2
  238. package/dist/components/{Fieldset.d.ts → foundations/Fieldset.d.ts} +1 -1
  239. package/dist/components/{Fieldset.js → foundations/Fieldset.js} +2 -2
  240. package/dist/components/{Form.d.ts → foundations/Form.d.ts} +1 -1
  241. package/dist/components/{Form.js → foundations/Form.js} +2 -2
  242. package/dist/components/{FormattedDate.d.ts → foundations/FormattedDate.d.ts} +1 -1
  243. package/dist/components/{FormattedDate.js → foundations/FormattedDate.js} +1 -1
  244. package/dist/components/foundations/IconButton.d.ts +2 -0
  245. package/dist/components/{IconButton.js → foundations/IconButton.js} +1 -1
  246. package/dist/components/{Input.d.ts → foundations/Input.d.ts} +1 -1
  247. package/dist/components/{Input.js → foundations/Input.js} +2 -2
  248. package/dist/components/{Kbd.d.ts → foundations/Kbd.d.ts} +1 -1
  249. package/dist/components/{Kbd.js → foundations/Kbd.js} +2 -2
  250. package/dist/components/{Label.d.ts → foundations/Label.d.ts} +1 -1
  251. package/dist/components/{Label.js → foundations/Label.js} +2 -2
  252. package/dist/components/{LinkButton.d.ts → foundations/LinkButton.d.ts} +2 -2
  253. package/dist/components/{LinkButton.js → foundations/LinkButton.js} +1 -1
  254. package/dist/components/{Marker.d.ts → foundations/Marker.d.ts} +1 -1
  255. package/dist/components/{Marker.js → foundations/Marker.js} +2 -2
  256. package/dist/components/{Menu.d.ts → foundations/Menu.d.ts} +1 -1
  257. package/dist/components/{Menu.js → foundations/Menu.js} +2 -2
  258. package/dist/components/{Menubar.d.ts → foundations/Menubar.d.ts} +1 -1
  259. package/dist/components/{Menubar.js → foundations/Menubar.js} +3 -3
  260. package/dist/components/{Meter.d.ts → foundations/Meter.d.ts} +1 -1
  261. package/dist/components/{Meter.js → foundations/Meter.js} +2 -2
  262. package/dist/components/{NavigationMenu.d.ts → foundations/NavigationMenu.d.ts} +1 -1
  263. package/dist/components/{NavigationMenu.js → foundations/NavigationMenu.js} +2 -2
  264. package/dist/components/{NumberField.d.ts → foundations/NumberField.d.ts} +1 -1
  265. package/dist/components/{NumberField.js → foundations/NumberField.js} +2 -2
  266. package/dist/components/{Popover.d.ts → foundations/Popover.d.ts} +1 -1
  267. package/dist/components/{Popover.js → foundations/Popover.js} +3 -3
  268. package/dist/components/{PreviewCard.d.ts → foundations/PreviewCard.d.ts} +1 -1
  269. package/dist/components/{PreviewCard.js → foundations/PreviewCard.js} +2 -2
  270. package/dist/components/{Progress.d.ts → foundations/Progress.d.ts} +1 -1
  271. package/dist/components/{Progress.js → foundations/Progress.js} +2 -2
  272. package/dist/components/{RadioGroup.d.ts → foundations/RadioGroup.d.ts} +1 -1
  273. package/dist/components/{RadioGroup.js → foundations/RadioGroup.js} +2 -2
  274. package/dist/components/{ScrollArea.d.ts → foundations/ScrollArea.d.ts} +1 -1
  275. package/dist/components/{ScrollArea.js → foundations/ScrollArea.js} +2 -2
  276. package/dist/components/{SearchField.d.ts → foundations/SearchField.d.ts} +1 -1
  277. package/dist/components/{SearchField.js → foundations/SearchField.js} +3 -3
  278. package/dist/components/{Select.d.ts → foundations/Select.d.ts} +1 -1
  279. package/dist/components/{Select.js → foundations/Select.js} +3 -3
  280. package/dist/components/{Separator.d.ts → foundations/Separator.d.ts} +1 -1
  281. package/dist/components/{Separator.js → foundations/Separator.js} +2 -2
  282. package/dist/components/{Slider.d.ts → foundations/Slider.d.ts} +1 -1
  283. package/dist/components/{Slider.js → foundations/Slider.js} +2 -2
  284. package/dist/components/{StatusPill.d.ts → foundations/StatusPill.d.ts} +1 -1
  285. package/dist/components/{StatusPill.js → foundations/StatusPill.js} +2 -2
  286. package/dist/components/{Stepper.d.ts → foundations/Stepper.d.ts} +2 -2
  287. package/dist/components/{Stepper.js → foundations/Stepper.js} +3 -3
  288. package/dist/components/{Switch.d.ts → foundations/Switch.d.ts} +7 -7
  289. package/dist/components/{Switch.js → foundations/Switch.js} +8 -8
  290. package/dist/components/{Tabs.d.ts → foundations/Tabs.d.ts} +1 -1
  291. package/dist/components/{Tabs.js → foundations/Tabs.js} +2 -2
  292. package/dist/components/{Textarea.d.ts → foundations/Textarea.d.ts} +1 -1
  293. package/dist/components/{Textarea.js → foundations/Textarea.js} +2 -2
  294. package/dist/components/{ThemeProvider.d.ts → foundations/ThemeProvider.d.ts} +2 -2
  295. package/dist/components/{ThemeProvider.js → foundations/ThemeProvider.js} +2 -2
  296. package/dist/components/{Toast.d.ts → foundations/Toast.d.ts} +1 -1
  297. package/dist/components/{Toast.js → foundations/Toast.js} +3 -3
  298. package/dist/components/{Toggle.d.ts → foundations/Toggle.d.ts} +1 -1
  299. package/dist/components/{Toggle.js → foundations/Toggle.js} +2 -2
  300. package/dist/components/foundations/ToggleGroup.d.ts +2 -0
  301. package/dist/components/{ToggleGroup.js → foundations/ToggleGroup.js} +13 -13
  302. package/dist/components/{Toolbar.d.ts → foundations/Toolbar.d.ts} +1 -1
  303. package/dist/components/{Toolbar.js → foundations/Toolbar.js} +2 -2
  304. package/dist/components/{Tooltip.d.ts → foundations/Tooltip.d.ts} +1 -1
  305. package/dist/components/{Tooltip.js → foundations/Tooltip.js} +2 -2
  306. package/dist/components/{TransitionSurface.d.ts → foundations/TransitionSurface.d.ts} +1 -1
  307. package/dist/components/{TransitionSurface.js → foundations/TransitionSurface.js} +2 -2
  308. package/dist/components/{icons.d.ts → foundations/icons.d.ts} +1 -1
  309. package/dist/components/{icons.js → foundations/icons.js} +1 -1
  310. package/dist/components/{ActionGuide.d.ts → general-purpose/ActionGuide.d.ts} +2 -2
  311. package/dist/components/{ActionGuide.js → general-purpose/ActionGuide.js} +3 -3
  312. package/dist/components/general-purpose/AppFrame.d.ts +24 -0
  313. package/dist/components/general-purpose/AppFrame.js +25 -0
  314. package/dist/components/{AppTopBar.d.ts → general-purpose/AppTopBar.d.ts} +2 -2
  315. package/dist/components/{AppTopBar.js → general-purpose/AppTopBar.js} +5 -5
  316. package/dist/components/{Commit.d.ts → general-purpose/Commit.d.ts} +5 -12
  317. package/dist/components/{Commit.js → general-purpose/Commit.js} +11 -13
  318. package/dist/components/{EnvironmentVariables.d.ts → general-purpose/EnvironmentVariables.d.ts} +2 -4
  319. package/dist/components/{EnvironmentVariables.js → general-purpose/EnvironmentVariables.js} +9 -10
  320. package/dist/components/{FileTree.d.ts → general-purpose/FileTree.d.ts} +10 -1
  321. package/dist/components/{FileTree.js → general-purpose/FileTree.js} +1 -1
  322. package/dist/components/{Pricing.d.ts → general-purpose/Pricing.d.ts} +1 -1
  323. package/dist/components/{Pricing.js → general-purpose/Pricing.js} +1 -1
  324. package/dist/components/{PricingBillingToggle.d.ts → general-purpose/PricingBillingToggle.d.ts} +1 -1
  325. package/dist/components/{PricingBillingToggle.js → general-purpose/PricingBillingToggle.js} +7 -7
  326. package/dist/components/{PricingConfirmationDialog.d.ts → general-purpose/PricingConfirmationDialog.d.ts} +1 -1
  327. package/dist/components/{PricingConfirmationDialog.js → general-purpose/PricingConfirmationDialog.js} +3 -3
  328. package/dist/components/{PricingFAQ.d.ts → general-purpose/PricingFAQ.d.ts} +1 -1
  329. package/dist/components/{PricingFAQ.js → general-purpose/PricingFAQ.js} +3 -3
  330. package/dist/components/{PricingPage.d.ts → general-purpose/PricingPage.d.ts} +1 -1
  331. package/dist/components/{PricingPage.js → general-purpose/PricingPage.js} +2 -2
  332. package/dist/components/{PricingPlanCard.d.ts → general-purpose/PricingPlanCard.d.ts} +1 -1
  333. package/dist/components/{PricingPlanCard.js → general-purpose/PricingPlanCard.js} +8 -8
  334. package/dist/components/{PricingUsageCalculator.d.ts → general-purpose/PricingUsageCalculator.d.ts} +1 -1
  335. package/dist/components/{PricingUsageCalculator.js → general-purpose/PricingUsageCalculator.js} +6 -6
  336. package/dist/components/{ResizableSidePanel.d.ts → general-purpose/ResizableSidePanel.d.ts} +2 -2
  337. package/dist/components/{ResizableSidePanel.js → general-purpose/ResizableSidePanel.js} +4 -4
  338. package/dist/{ResponsiveSidebarShell-CsAh4NyL.d.ts → components/general-purpose/ResponsiveSidebarShell.d.ts} +2 -2
  339. package/dist/components/{ResponsiveSidebarShell.js → general-purpose/ResponsiveSidebarShell.js} +6 -6
  340. package/dist/components/{SettingsFormDialog.d.ts → general-purpose/SettingsFormDialog.d.ts} +1 -1
  341. package/dist/components/{SettingsFormDialog.js → general-purpose/SettingsFormDialog.js} +8 -7
  342. package/dist/components/{SetupChecklist.d.ts → general-purpose/SetupChecklist.d.ts} +1 -1
  343. package/dist/components/{SetupChecklist.js → general-purpose/SetupChecklist.js} +4 -4
  344. package/dist/components/{Shell.d.ts → general-purpose/Shell.d.ts} +1 -1
  345. package/dist/components/{Shell.js → general-purpose/Shell.js} +2 -2
  346. package/dist/components/{Terminal.d.ts → general-purpose/Terminal.d.ts} +3 -3
  347. package/dist/components/{Terminal.js → general-purpose/Terminal.js} +7 -7
  348. package/dist/components/{TestResults.d.ts → general-purpose/TestResults.d.ts} +2 -2
  349. package/dist/components/{TestResults.js → general-purpose/TestResults.js} +6 -6
  350. package/dist/components/{ThemeModeControl.d.ts → general-purpose/ThemeModeControl.d.ts} +1 -1
  351. package/dist/components/{ThemeModeControl.js → general-purpose/ThemeModeControl.js} +4 -4
  352. package/dist/components/{WebPreview.d.ts → general-purpose/WebPreview.d.ts} +4 -4
  353. package/dist/components/{WebPreview.js → general-purpose/WebPreview.js} +12 -12
  354. package/dist/components/{AgentConnection.d.ts → nanites/AgentConnection.d.ts} +2 -36
  355. package/dist/components/{AgentConnection.js → nanites/AgentConnection.js} +7 -149
  356. package/dist/components/{AgentToolDetail.d.ts → nanites/AgentToolDetail.d.ts} +4 -4
  357. package/dist/components/{AgentToolDetail.js → nanites/AgentToolDetail.js} +8 -8
  358. package/dist/components/{GithubMotionMark.d.ts → nanites/GithubMotionMark.d.ts} +1 -1
  359. package/dist/components/{GithubMotionMark.js → nanites/GithubMotionMark.js} +2 -2
  360. package/dist/components/{NaniteScene.d.ts → nanites/NaniteScene.d.ts} +1 -1
  361. package/dist/components/{NaniteScene.js → nanites/NaniteScene.js} +2 -2
  362. package/dist/{copy-button-EBv_B9F6.d.ts → copy-button-C0JyjClr.d.ts} +1 -1
  363. package/dist/{copy-button-7ttJAorN.js → copy-button-CsNSSKYG.js} +2 -2
  364. package/dist/{format-S6uWyoSb.js → format-CmopcfqJ.js} +4 -1
  365. package/dist/mcp-server-U71zhxFF.js +26 -0
  366. package/dist/{navigation-link-Cob7KBlM.js → navigation-link-kqMa81v5.js} +5 -1
  367. package/dist/{progress-ring-BjqTZqBk.js → progress-ring-Dz_ztrW2.js} +1 -1
  368. package/dist/styles/activity-header.css +5 -1
  369. package/dist/styles/agent-activity-preview-overlay.css +43 -5
  370. package/dist/styles/app-frame.css +15 -0
  371. package/dist/styles/file-tree.css +16 -2
  372. package/dist/styles/index.css +2 -1
  373. package/dist/styles/message-scroller.css +2 -3
  374. package/dist/styles/sources.css +8 -0
  375. package/dist/styles/think-execution-status.css +57 -0
  376. package/dist/styles/think-execution-workbench.css +1 -50
  377. package/dist/styles/think-routine-library.css +0 -27
  378. package/dist/utils/codex-model-catalog.d.ts +4 -4
  379. package/dist/utils/structured-code.d.ts +1 -1
  380. package/package.json +2 -2
  381. package/dist/components/BrowserLiveView.d.ts +0 -2
  382. package/dist/components/BrowserReplay.d.ts +0 -2
  383. package/dist/components/CodeBlock.d.ts +0 -2
  384. package/dist/components/Collapsible.d.ts +0 -2
  385. package/dist/components/Combobox.d.ts +0 -2
  386. package/dist/components/IconButton.d.ts +0 -2
  387. package/dist/components/Message.js +0 -2
  388. package/dist/components/PromptInput.d.ts +0 -2
  389. package/dist/components/ResponsiveSidebarShell.d.ts +0 -2
  390. package/dist/components/SessionCompaction.d.ts +0 -2
  391. package/dist/components/ThinkChatToolParts.d.ts +0 -2
  392. package/dist/components/ThinkExecutionStatus.d.ts +0 -22
  393. package/dist/components/ThinkExecutionStatus.js +0 -36
  394. package/dist/components/ThinkRecoveryNotice.d.ts +0 -2
  395. package/dist/components/ThinkRoutineRuns.js +0 -76
  396. package/dist/components/ToggleGroup.d.ts +0 -2
  397. package/dist/components/WorkspaceFileView.js +0 -2
  398. package/dist/{icons-B4mGvCvc.js → icons-B1Qw05te.js} +1 -1
@@ -1,9 +1,9 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { rt as XIcon } from "../icons-B4mGvCvc.js";
3
- import { IconButton } from "./IconButton.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { rt as XIcon } from "../../icons-B1Qw05te.js";
3
+ import { IconButton } from "../foundations/IconButton.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
- //#region src/components/Artifact.tsx
6
+ //#region src/components/ai-sdk/Artifact.tsx
7
7
  /**
8
8
  * A container for generated content (code, documents, outputs) with a header
9
9
  * containing a title, description, and action buttons.
@@ -1,8 +1,8 @@
1
- import { t as Collapsible } from "../Collapsible-N64ASIQr.js";
2
- import { O as IconProps } from "../icons-BGZ916hb.js";
1
+ import { Collapsible } from "../foundations/Collapsible.js";
2
+ import { O as IconProps } from "../../icons-BGZ916hb.js";
3
3
  import * as React from "react";
4
4
 
5
- //#region src/components/ChainOfThought.d.ts
5
+ //#region src/components/ai-sdk/ChainOfThought.d.ts
6
6
  interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
7
7
  /**
8
8
  * A collapsible display of an AI's step-by-step reasoning trace. Compose
@@ -1,9 +1,9 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { Collapsible } from "./Collapsible.js";
3
- import { J as SpinnerIcon, d as CheckIcon, m as ChevronRightIcon, v as DotIcon } from "../icons-B4mGvCvc.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { J as SpinnerIcon, d as CheckIcon, m as ChevronRightIcon, v as DotIcon } from "../../icons-B1Qw05te.js";
3
+ import { Collapsible } from "../foundations/Collapsible.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- //#region src/components/ChainOfThought.tsx
6
+ //#region src/components/ai-sdk/ChainOfThought.tsx
7
7
  /**
8
8
  * A collapsible display of an AI's step-by-step reasoning trace. Compose
9
9
  * ChainOfThoughtHeader with ChainOfThoughtContent, then nest
@@ -1,7 +1,7 @@
1
- import { MarkerProps } from "./Marker.js";
1
+ import { MarkerProps } from "../foundations/Marker.js";
2
2
  import * as React from "react";
3
3
 
4
- //#region src/components/Checkpoint.d.ts
4
+ //#region src/components/ai-sdk/Checkpoint.d.ts
5
5
  interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
6
6
  /** Checkpoint icon, metadata, and optional application-owned actions. */
7
7
  children?: React.ReactNode;
@@ -1,9 +1,9 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { s as BookmarkIcon } from "../icons-B4mGvCvc.js";
3
- import { Marker, MarkerIcon } from "./Marker.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { s as BookmarkIcon } from "../../icons-B1Qw05te.js";
3
+ import { Marker, MarkerIcon } from "../foundations/Marker.js";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
- //#region src/components/Checkpoint.tsx
6
+ //#region src/components/ai-sdk/Checkpoint.tsx
7
7
  /**
8
8
  * Presentation-only durable-boundary marker.
9
9
  *
@@ -0,0 +1,2 @@
1
+ import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-DzGhYyNe.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 };
@@ -1,2 +1,2 @@
1
- import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, h as CODE_BLOCK_LANGUAGES, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as highlightCode, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../CodeBlock-BUfEhDia.js";
2
- export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle, highlightCode };
1
+ import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-CM5gfmdq.js";
2
+ export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle };
@@ -1,8 +1,8 @@
1
- import { PopoverPositionerProps, PopoverProps } from "./Popover.js";
1
+ import { PopoverPositionerProps, PopoverProps } from "../foundations/Popover.js";
2
2
  import * as React from "react";
3
3
  import { LanguageModelUsage, UIMessage } from "ai";
4
4
 
5
- //#region src/components/Context.d.ts
5
+ //#region src/components/ai-sdk/Context.d.ts
6
6
  interface ContextProps extends React.HTMLAttributes<HTMLDivElement> {
7
7
  /** Tokens currently used. */
8
8
  usedTokens: number;
@@ -1,10 +1,10 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { Popover } from "./Popover.js";
3
- import { Separator } from "./Separator.js";
4
- import { t as ProgressRing } from "../progress-ring-BjqTZqBk.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { Popover } from "../foundations/Popover.js";
3
+ import { Separator } from "../foundations/Separator.js";
4
+ import { t as ProgressRing } from "../../progress-ring-Dz_ztrW2.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
- //#region src/components/Context.tsx
7
+ //#region src/components/ai-sdk/Context.tsx
8
8
  const ContextContext = React.createContext(null);
9
9
  function useContextContext() {
10
10
  const ctx = React.useContext(ContextContext);
@@ -1,9 +1,9 @@
1
- import { n as IconButtonProps } from "../IconButton-CFKhu6OR.js";
1
+ import { n as IconButtonProps } from "../../IconButton-BAUFhUk8.js";
2
2
  import { MessageScrollerButtonProps, MessageScrollerItemProps } from "./MessageScroller.js";
3
3
  import * as React from "react";
4
4
  import { UIMessage } from "ai";
5
5
 
6
- //#region src/components/Conversation.d.ts
6
+ //#region src/components/ai-sdk/Conversation.d.ts
7
7
  /** Whole AI SDK message accepted by transcript export helpers. */
8
8
  type ConversationMessage = UIMessage;
9
9
  interface ConversationProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
@@ -1,12 +1,12 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { n as ArrowDownIcon, y as DownloadIcon } from "../icons-B4mGvCvc.js";
3
- import { IconButton } from "./IconButton.js";
4
- import { t as assignRef } from "../merge-refs-DF_7w2x_.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { n as ArrowDownIcon, y as DownloadIcon } from "../../icons-B1Qw05te.js";
3
+ import { IconButton } from "../foundations/IconButton.js";
4
+ import { t as assignRef } from "../../merge-refs-DF_7w2x_.js";
5
5
  import { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport } from "./MessageScroller.js";
6
6
  import * as React from "react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  import { isReasoningUIPart, isTextUIPart } from "ai";
9
- //#region src/components/Conversation.tsx
9
+ //#region src/components/ai-sdk/Conversation.tsx
10
10
  /**
11
11
  * Compatibility wrapper around {@link MessageScroller} for existing
12
12
  * conversation imports. Prefer MessageScroller directly for new chat
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
 
3
- //#region src/components/ExpansionState.d.ts
3
+ //#region src/components/ai-sdk/ExpansionState.d.ts
4
4
  /**
5
5
  * Disclosure open states keyed by stable transcript ids, held outside the
6
6
  * rows so a virtualized transcript can unmount a row and restore its
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region src/components/ExpansionState.tsx
3
+ //#region src/components/ai-sdk/ExpansionState.tsx
4
4
  /** Plain Map-backed store. Create one per conversation/thread. */
5
5
  function createExpansionStore() {
6
6
  const state = /* @__PURE__ */ new Map();
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
 
3
- //#region src/components/Goal.d.ts
3
+ //#region src/components/ai-sdk/Goal.d.ts
4
4
  /**
5
5
  * Lifecycle of a persisted conversation goal. Mirrors the host's goal state;
6
6
  * this is not a Think or AI SDK execution status.
@@ -1,9 +1,10 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { Q as TargetIcon, V as PlayIcon, et as TrashIcon, z as PauseIcon } from "../icons-B4mGvCvc.js";
3
- import { IconButton } from "./IconButton.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { Q as TargetIcon, V as PlayIcon, et as TrashIcon, z as PauseIcon } from "../../icons-B1Qw05te.js";
3
+ import { IconButton } from "../foundations/IconButton.js";
4
+ import { i as formatErrorMessage } from "../../format-CmopcfqJ.js";
4
5
  import * as React from "react";
5
6
  import { jsx, jsxs } from "react/jsx-runtime";
6
- //#region src/components/Goal.tsx
7
+ //#region src/components/ai-sdk/Goal.tsx
7
8
  const GoalStatusContext = React.createContext("pursuing");
8
9
  const STATUS_LABELS = {
9
10
  pursuing: "Pursuing goal",
@@ -108,7 +109,7 @@ function GoalBanner({ objective, meta, progressSummary, status = "pursuing", onP
108
109
  await callback();
109
110
  setAction(null);
110
111
  } catch (cause) {
111
- setAction({ error: cause instanceof Error ? cause.message : String(cause) });
112
+ setAction({ error: formatErrorMessage(cause) });
112
113
  }
113
114
  }
114
115
  return /* @__PURE__ */ jsxs(Goal, {
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { SourceDocumentUIPart, SourceUrlUIPart } from "ai";
3
3
 
4
- //#region src/components/InlineCitation.d.ts
4
+ //#region src/components/ai-sdk/InlineCitation.d.ts
5
5
  interface InlineCitationProps extends React.ComponentPropsWithoutRef<"span"> {
6
6
  /** Claim text and citations placed beside it by the consuming application. */
7
7
  children?: React.ReactNode;
@@ -1,9 +1,9 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { Popover } from "./Popover.js";
3
- import { PreviewCard } from "./PreviewCard.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { Popover } from "../foundations/Popover.js";
3
+ import { PreviewCard } from "../foundations/PreviewCard.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- //#region src/components/InlineCitation.tsx
6
+ //#region src/components/ai-sdk/InlineCitation.tsx
7
7
  /**
8
8
  * Keeps claim text and an app-placed citation in one inline presentation group.
9
9
  *
@@ -1,7 +1,7 @@
1
- import { CardProps } from "./Card.js";
1
+ import { CardProps } from "../foundations/Card.js";
2
2
  import * as React from "react";
3
3
 
4
- //#region src/components/MediaPreviewCard.d.ts
4
+ //#region src/components/ai-sdk/MediaPreviewCard.d.ts
5
5
  interface MediaPreviewCardProps extends Omit<CardProps, "hover"> {}
6
6
  /**
7
7
  * A media-led card that plays its decorative preview only while a mouse is
@@ -1,7 +1,7 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { V as PlayIcon } from "../icons-B4mGvCvc.js";
3
- import { n as mergeRefs } from "../merge-refs-DF_7w2x_.js";
4
- import { Card } from "./Card.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { V as PlayIcon } from "../../icons-B1Qw05te.js";
3
+ import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
4
+ import { Card } from "../foundations/Card.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region src/components/_internal/motion-preferences.ts
@@ -16,7 +16,7 @@ function motionIsReduced() {
16
16
  return window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? false;
17
17
  }
18
18
  //#endregion
19
- //#region src/components/MediaPreviewCard.tsx
19
+ //#region src/components/ai-sdk/MediaPreviewCard.tsx
20
20
  const MediaPreviewCardContext = React.createContext(null);
21
21
  function useMediaPreviewCardContext() {
22
22
  const context = React.useContext(MediaPreviewCardContext);
@@ -1,9 +1,9 @@
1
- import { n as IconButtonProps } from "../IconButton-CFKhu6OR.js";
1
+ import { n as IconButtonProps } from "../../IconButton-BAUFhUk8.js";
2
2
  import * as React from "react";
3
3
  import { FileUIPart, UIMessage } from "ai";
4
4
  import { StreamdownProps } from "streamdown";
5
5
 
6
- //#region src/components/Message.d.ts
6
+ //#region src/components/ai-sdk/Message.d.ts
7
7
  type MessageRole = UIMessage["role"];
8
8
  interface MessageProps extends React.HTMLAttributes<HTMLDivElement> {
9
9
  /**
@@ -59,7 +59,6 @@ type MessageResponseProps = StreamdownProps;
59
59
  declare const MessageResponse: React.MemoExoticComponent<({
60
60
  className,
61
61
  components,
62
- rehypePlugins,
63
62
  ...props
64
63
  }: MessageResponseProps) => React.JSX.Element>;
65
64
  interface MessageAttachmentProps extends Omit<React.HTMLAttributes<HTMLElement>, "color" | "part"> {
@@ -1,93 +1,17 @@
1
- import { t as cx } from "./class-names-BiMDVpUo.js";
2
- import { Button } from "./components/Button.js";
3
- import { C as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "./icons-B4mGvCvc.js";
4
- import { IconButton } from "./components/IconButton.js";
5
- import { c as useWorkspaceNavigationContext, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "./WorkspaceLink-BYYeTQLf.js";
6
- import { t as AttachmentPreview } from "./attachment-preview-DIs50Q0h.js";
7
- import { n as clamp } from "./format-S6uWyoSb.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { C as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-B1Qw05te.js";
3
+ import { Button } from "../foundations/Button.js";
4
+ import { IconButton } from "../foundations/IconButton.js";
5
+ import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
6
+ import { n as clamp } from "../../format-CmopcfqJ.js";
8
7
  import * as React from "react";
9
8
  import { jsx, jsxs } from "react/jsx-runtime";
10
9
  import { cjk } from "@streamdown/cjk";
11
10
  import { code } from "@streamdown/code";
12
11
  import { math } from "@streamdown/math";
13
12
  import { mermaid } from "@streamdown/mermaid";
14
- import { Streamdown, defaultRehypePlugins } from "streamdown";
15
- import { visit } from "unist-util-visit";
16
- //#region src/components/_internal/workspace-markdown.ts
17
- const WORKSPACE_HARDEN_ORIGIN = "https://workspace.invalid/";
18
- const workspaceOriginalUrl = Symbol("workspace-original-url");
19
- function captureWorkspaceUrls() {
20
- return (tree) => {
21
- visit(tree, "element", (node) => {
22
- const property = node.tagName === "a" ? "href" : node.tagName === "img" ? "src" : null;
23
- const value = property ? node.properties[property] : null;
24
- if (typeof value === "string") node[workspaceOriginalUrl] = value;
25
- });
26
- };
27
- }
28
- function isWorkspaceRelativeUrl(value) {
29
- if (value.startsWith("//")) return false;
30
- try {
31
- new URL(value);
32
- return false;
33
- } catch {
34
- return true;
35
- }
36
- }
37
- function restoreWorkspaceUrls({ root, base }) {
38
- return (tree) => {
39
- visit(tree, "element", (node) => {
40
- const workspaceNode = node;
41
- const originalUrl = workspaceNode[workspaceOriginalUrl];
42
- delete workspaceNode[workspaceOriginalUrl];
43
- if (originalUrl === void 0) return;
44
- if (node.tagName === "img") {
45
- if (isWorkspaceRelativeUrl(originalUrl)) {
46
- const alt = typeof node.properties.alt === "string" ? node.properties.alt : "";
47
- node.tagName = "a";
48
- node.properties = { href: originalUrl };
49
- node.children = [{
50
- type: "text",
51
- value: alt || "Open linked image"
52
- }];
53
- } else if (originalUrl.startsWith("//")) node.properties.src = originalUrl;
54
- return;
55
- }
56
- if (node.tagName !== "a") return;
57
- node.properties.href = originalUrl;
58
- if (resolveWorkspaceLink({
59
- href: originalUrl,
60
- root,
61
- base
62
- }).kind === "file") {
63
- delete node.properties.target;
64
- delete node.properties.rel;
65
- }
66
- });
67
- };
68
- }
69
- function configureWorkspaceHarden(plugin) {
70
- if (!Array.isArray(plugin) || typeof plugin[0] !== "function") throw new Error("Streamdown's harden plugin no longer exposes configurable options.");
71
- const options = plugin[1];
72
- if (options !== void 0 && (typeof options !== "object" || options === null || Array.isArray(options))) throw new Error("Streamdown's harden plugin options have an unsupported shape.");
73
- return [plugin[0], {
74
- ...options,
75
- defaultOrigin: WORKSPACE_HARDEN_ORIGIN
76
- }];
77
- }
78
- const workspaceHardenPlugin = configureWorkspaceHarden(defaultRehypePlugins.harden);
79
- /** Preserve validated filesystem links through Streamdown's URL hardening pass. */
80
- function createWorkspaceRehypePlugins(root, base) {
81
- const plugins = [];
82
- for (const [name, plugin] of Object.entries(defaultRehypePlugins)) if (name === "harden") plugins.push(captureWorkspaceUrls, workspaceHardenPlugin, [restoreWorkspaceUrls, {
83
- root,
84
- base
85
- }]);
86
- else plugins.push(plugin);
87
- return plugins;
88
- }
89
- //#endregion
90
- //#region src/components/Message.tsx
13
+ import { Streamdown } from "streamdown";
14
+ //#region src/components/ai-sdk/Message.tsx
91
15
  /**
92
16
  * A chat message row. Aligns and styles itself based on {@link from}.
93
17
  * Adapted from Vercel AI Elements and restyled with Sigvelo CSS tokens.
@@ -137,23 +61,14 @@ const streamdownPlugins = {
137
61
  mermaid
138
62
  };
139
63
  const messageResponseComponents = { img: "img" };
140
- const workspaceMessageResponseComponents = {
141
- ...messageResponseComponents,
142
- a: WorkspaceFileLink
143
- };
144
- const MessageResponse = React.memo(function MessageResponse({ className, components, rehypePlugins, ...props }) {
145
- const workspace = useWorkspaceNavigationContext();
146
- const defaultComponents = workspace ? workspaceMessageResponseComponents : messageResponseComponents;
147
- const mergedComponents = components ? {
148
- ...defaultComponents,
149
- ...components
150
- } : defaultComponents;
151
- const resolvedRehypePlugins = React.useMemo(() => rehypePlugins ?? (workspace ? createWorkspaceRehypePlugins(workspace.root, workspace.base) : void 0), [rehypePlugins, workspace]);
64
+ const MessageResponse = React.memo(function MessageResponse({ className, components, ...props }) {
152
65
  return /* @__PURE__ */ jsx(Streamdown, {
153
66
  className: cx("message__response", className),
154
- components: mergedComponents,
67
+ components: components ? {
68
+ ...messageResponseComponents,
69
+ ...components
70
+ } : messageResponseComponents,
155
71
  plugins: streamdownPlugins,
156
- rehypePlugins: resolvedRehypePlugins,
157
72
  ...props
158
73
  });
159
74
  });
@@ -359,4 +274,4 @@ function MessageBranchPage({ className, format, ref, ...props }) {
359
274
  });
360
275
  }
361
276
  //#endregion
362
- export { MessageBranch as a, MessageBranchPage as c, MessageContent as d, MessageResponse as f, MessageAttachment as i, MessageBranchPrevious as l, createWorkspaceRehypePlugins as m, MessageAction as n, MessageBranchContent as o, MessageToolbar as p, MessageActions as r, MessageBranchNext as s, Message as t, MessageBranchSelector as u };
277
+ export { Message, MessageAction, MessageActions, MessageAttachment, MessageBranch, MessageBranchContent, MessageBranchNext, MessageBranchPage, MessageBranchPrevious, MessageBranchSelector, MessageContent, MessageResponse, MessageToolbar };
@@ -1,8 +1,8 @@
1
- import { r as ButtonProps } from "../Button-SBIz6Lqi.js";
1
+ import { r as ButtonProps } from "../../Button-CZt3yywF.js";
2
2
  import * as React from "react";
3
3
  import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
4
4
 
5
- //#region src/components/MessageScroller.d.ts
5
+ //#region src/components/ai-sdk/MessageScroller.d.ts
6
6
  type MessageScrollerProviderProps = React.ComponentProps<typeof MessageScroller$1.Provider>;
7
7
  interface MessageScrollerProps extends React.ComponentProps<typeof MessageScroller$1.Root> {
8
8
  /** Extra class names merged onto the scroll container. */
@@ -1,10 +1,10 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { Button } from "./Button.js";
3
- import { n as ArrowDownIcon } from "../icons-B4mGvCvc.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { n as ArrowDownIcon } from "../../icons-B1Qw05te.js";
3
+ import { Button } from "../foundations/Button.js";
4
4
  import "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
7
- //#region src/components/MessageScroller.tsx
7
+ //#region src/components/ai-sdk/MessageScroller.tsx
8
8
  function MessageScrollerProvider(props) {
9
9
  return /* @__PURE__ */ jsx(MessageScroller$1.Provider, { ...props });
10
10
  }
@@ -1,7 +1,7 @@
1
- import { r as ButtonProps } from "../Button-SBIz6Lqi.js";
1
+ import { r as ButtonProps } from "../../Button-CZt3yywF.js";
2
2
  import * as React from "react";
3
3
 
4
- //#region src/components/MessageScrollerVirtual.d.ts
4
+ //#region src/components/ai-sdk/MessageScrollerVirtual.d.ts
5
5
  interface VirtualMessageScrollerProps<Item> extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
6
6
  items: readonly Item[];
7
7
  /**
@@ -38,12 +38,11 @@ interface VirtualMessageScrollerProps<Item> extends Omit<React.HTMLAttributes<HT
38
38
  * growth and appends keep the viewport pinned while reading history doesn't
39
39
  * get yanked to the bottom (TanStack Virtual `anchorTo: 'end'`).
40
40
  *
41
- * Trade-offs versus the plain `MessageScroller`: rows unmount when scrolled
42
- * away, so browser find-in-page only searches the rendered window, and any
43
- * disclosure state living inside a row is lost unless it is persisted — wrap
44
- * the transcript in `ExpansionStateProvider` (AgentChat does) and give
45
- * disclosures a `stateKey`. The "anchor user message to top" behavior of the
46
- * plain scroller is not implemented; new turns pin to the bottom instead.
41
+ * Windowing means rows unmount when scrolled away, so browser find-in-page
42
+ * only searches the rendered window, and any disclosure state living inside a
43
+ * row is lost unless it is persisted — wrap the transcript in
44
+ * `ExpansionStateProvider` (AgentChat does) and give disclosures a `stateKey`.
45
+ * New turns pin to the bottom.
47
46
  *
48
47
  * Host-side contract (what the consuming app must do — the scroller cannot
49
48
  * compensate for any of these):
@@ -1,22 +1,21 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { Button } from "./Button.js";
3
- import { n as ArrowDownIcon } from "../icons-B4mGvCvc.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { n as ArrowDownIcon } from "../../icons-B1Qw05te.js";
3
+ import { Button } from "../foundations/Button.js";
4
4
  import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { useVirtualizer } from "@tanstack/react-virtual";
7
- //#region src/components/MessageScrollerVirtual.tsx
7
+ //#region src/components/ai-sdk/MessageScrollerVirtual.tsx
8
8
  /**
9
9
  * Windowed chat transcript for unbounded threads (hours-long agent runs):
10
10
  * only the visible slice of rows exists in the DOM, end-anchored so streaming
11
11
  * growth and appends keep the viewport pinned while reading history doesn't
12
12
  * get yanked to the bottom (TanStack Virtual `anchorTo: 'end'`).
13
13
  *
14
- * Trade-offs versus the plain `MessageScroller`: rows unmount when scrolled
15
- * away, so browser find-in-page only searches the rendered window, and any
16
- * disclosure state living inside a row is lost unless it is persisted — wrap
17
- * the transcript in `ExpansionStateProvider` (AgentChat does) and give
18
- * disclosures a `stateKey`. The "anchor user message to top" behavior of the
19
- * plain scroller is not implemented; new turns pin to the bottom instead.
14
+ * Windowing means rows unmount when scrolled away, so browser find-in-page
15
+ * only searches the rendered window, and any disclosure state living inside a
16
+ * row is lost unless it is persisted — wrap the transcript in
17
+ * `ExpansionStateProvider` (AgentChat does) and give disclosures a `stateKey`.
18
+ * New turns pin to the bottom.
20
19
  *
21
20
  * Host-side contract (what the consuming app must do — the scroller cannot
22
21
  * compensate for any of these):
@@ -78,6 +77,7 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
78
77
  children: [/* @__PURE__ */ jsx("div", {
79
78
  ref: viewportRef,
80
79
  "data-slot": "message-scroller-viewport",
80
+ "data-recipe": "scroll-fade-y",
81
81
  "data-scrollable": scrollEdges,
82
82
  className: "message-scroller__viewport",
83
83
  children: items.length === 0 ? emptyState : /* @__PURE__ */ jsx("div", {
@@ -1,10 +1,9 @@
1
- import { ChainOfThoughtStepStatus } from "./ChainOfThought.js";
2
- import { PopoverPositionerProps, PopoverProps } from "./Popover.js";
1
+ import { PopoverPositionerProps, PopoverProps } from "../foundations/Popover.js";
3
2
  import * as React from "react";
4
3
 
5
- //#region src/components/Plan.d.ts
6
- /** Presentation state shared with the existing reasoning-step primitive. */
7
- type PlanStepStatus = ChainOfThoughtStepStatus;
4
+ //#region src/components/ai-sdk/Plan.d.ts
5
+ /** Presentation state for an application-owned plan step. */
6
+ type PlanStepStatus = "pending" | "active" | "complete";
8
7
  interface PlanProps extends React.HTMLAttributes<HTMLDivElement> {
9
8
  /** Plan header and ordered steps composed from application-owned plan data. */
10
9
  children?: React.ReactNode;
@@ -171,7 +170,7 @@ interface PlanSummaryListProps {
171
170
  /** The pill usually sits above a composer, so default "top". */
172
171
  side?: PlanSummaryContentProps["side"];
173
172
  }
174
- /** Data-only convenience renderer for the complete plan summary anatomy. */
173
+ /** Data-only convenience renderer for hosts that already own normalized plan rows. */
175
174
  declare function PlanSummaryList({
176
175
  steps,
177
176
  side
@@ -1,10 +1,10 @@
1
- import { t as cx } from "../class-names-BiMDVpUo.js";
2
- import { d as CheckIcon, i as ArrowRightIcon, v as DotIcon } from "../icons-B4mGvCvc.js";
3
- import { Popover } from "./Popover.js";
4
- import { t as ProgressRing } from "../progress-ring-BjqTZqBk.js";
1
+ import { t as cx } from "../../class-names-BiMDVpUo.js";
2
+ import { d as CheckIcon, i as ArrowRightIcon, v as DotIcon } from "../../icons-B1Qw05te.js";
3
+ import { Popover } from "../foundations/Popover.js";
4
+ import { t as ProgressRing } from "../../progress-ring-Dz_ztrW2.js";
5
5
  import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
- //#region src/components/Plan.tsx
7
+ //#region src/components/ai-sdk/Plan.tsx
8
8
  const PlanStepContext = React.createContext("pending");
9
9
  /**
10
10
  * Presentation-only container for an application-owned plan.
@@ -189,7 +189,7 @@ function PlanSummaryContent({ className, side = "top", children, ...props }) {
189
189
  })
190
190
  }) });
191
191
  }
192
- /** Data-only convenience renderer for the complete plan summary anatomy. */
192
+ /** Data-only convenience renderer for hosts that already own normalized plan rows. */
193
193
  function PlanSummaryList({ steps, side }) {
194
194
  if (steps.length === 0) return null;
195
195
  const completed = steps.filter((item) => item.status === "complete").length;
@@ -0,0 +1,2 @@
1
+ import { $ as PromptInputFooterProps, A as PromptInputCommandEmptyProps, At as PromptInputTabsListProps, B as PromptInputCommandListProps, Bt as TooltipSide, C as PromptInputButtonProps, Ct as PromptInputTabBodyProps, D as PromptInputCommandComposerProps, Dt as PromptInputTabLabelProps, E as PromptInputCommandComposer, Et as PromptInputTabLabel, F as PromptInputCommandInput, Ft as PromptInputTooltipConfig, G as PromptInputContextAction, H as PromptInputCommandSeparator, Ht as usePromptInputController, I as PromptInputCommandInputProps, It as PromptInputTray, J as PromptInputContextSelectorProps, K as PromptInputContextItem, L as PromptInputCommandItem, Lt as PromptInputTrayProps, M as PromptInputCommandGroupLabel, Mt as PromptInputTextareaProps, N as PromptInputCommandGroupLabelProps, Nt as PromptInputTools, O as PromptInputCommandDefinition, Ot as PromptInputTabProps, P as PromptInputCommandGroupProps, Pt as PromptInputToolsProps, Q as PromptInputFooter, R as PromptInputCommandItemProps, Rt as PromptInputVoiceInput, S as PromptInputButton, St as PromptInputTabBody, T as PromptInputCommand, Tt as PromptInputTabItemProps, U as PromptInputCommandSeparatorProps, Ut as useProviderAttachments, V as PromptInputCommandProps, Vt as usePromptInputAttachments, W as PromptInputCommandTrigger, X as PromptInputDictation, Y as PromptInputControllerProps, Z as PromptInputDictationProps, _ as PromptInputAttachmentProps, _t as PromptInputSelect, a as PromptInputActionAddAttachmentsProps, at as PromptInputHoverCardProps, b as PromptInputBody, bt as PromptInputSubmitProps, c as PromptInputActionMenu, ct as PromptInputMessage, d as PromptInputActionMenuItem, dt as PromptInputProps, et as PromptInputHeader, f as PromptInputActionMenuItemProps, ft as PromptInputProvider, g as PromptInputAttachment, gt as PromptInputReferencesProps, h as PromptInputActionMenuTriggerProps, ht as PromptInputReferences, i as PromptInputActionAddAttachments, it as PromptInputHoverCardContentProps, j as PromptInputCommandGroup, jt as PromptInputTextarea, k as PromptInputCommandEmpty, kt as PromptInputTabsList, l as PromptInputActionMenuContent, lt as PromptInputPermissionSelector, m as PromptInputActionMenuTrigger, mt as PromptInputReference, n as PermissionMode, nt as PromptInputHoverCard, o as PromptInputActionAddScreenshot, ot as PromptInputHoverCardTrigger, p as PromptInputActionMenuProps, pt as PromptInputProviderProps, q as PromptInputContextSelector, r as PromptInput, rt as PromptInputHoverCardContent, s as PromptInputActionAddScreenshotProps, st as PromptInputHoverCardTriggerProps, t as AttachmentsContext, tt as PromptInputHeaderProps, u as PromptInputActionMenuContentProps, ut as PromptInputPermissionSelectorProps, v as PromptInputAttachments, vt as PromptInputSelectProps, w as PromptInputButtonTooltip, wt as PromptInputTabItem, x as PromptInputBodyProps, xt as PromptInputTab, y as PromptInputAttachmentsProps, yt as PromptInputSubmit, z as PromptInputCommandList, zt as TextInputContext } from "../../PromptInput-DOyee1kM.js";
2
+ export { AttachmentsContext, PermissionMode, PromptInput, PromptInputActionAddAttachments, PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuContentProps, PromptInputActionMenuItem, PromptInputActionMenuItemProps, PromptInputActionMenuProps, PromptInputActionMenuTrigger, PromptInputActionMenuTriggerProps, 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, PromptInputVoiceInput, TextInputContext, TooltipSide, usePromptInputAttachments, usePromptInputController, useProviderAttachments };