@mcp-b/react-components 0.11.0 → 0.13.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 (253) hide show
  1. package/dist/{AgentChat-B9LD_WF1.d.ts → AgentChat-Br6tKEl8.d.ts} +38 -10
  2. package/dist/{BrowserLiveView-ZktFZiMD.d.ts → BrowserLiveView-BV5qgFgI.d.ts} +11 -10
  3. package/dist/{BrowserReplay-6G-mnwcn.d.ts → BrowserReplay-xWvRjRAC.d.ts} +2 -1
  4. package/dist/{Button-Ct5I6aTu.d.ts → Button-FX_hpqxm.d.ts} +8 -11
  5. package/dist/{CodeBlock-XNQOupQ3.js → CodeBlock-BUFXG8HW.js} +22 -12
  6. package/dist/{CodeBlock-CxQXv3C4.d.ts → CodeBlock-DUh9WOGo.d.ts} +13 -7
  7. package/dist/{Combobox-D9anamNr.d.ts → Combobox-B9Fcd6q-.d.ts} +4 -14
  8. package/dist/{FileTree-wMyZhhHO.js → FileTree-mpEIcfzA.js} +1 -1
  9. package/dist/{Menu-B5vDqZe_.d.ts → Menu-Bgu-ufb5.d.ts} +29 -65
  10. package/dist/{ModelSelector-DXtpcRmT.js → ModelSelector-DVgVBdvw.js} +23 -20
  11. package/dist/{PromptInput-D6-G24p7.d.ts → PromptInput-p5KmOmt1.d.ts} +313 -89
  12. package/dist/Select-Dl_vF_Bt.d.ts +213 -0
  13. package/dist/{Tabs-D9EAq09D.d.ts → Tabs-3Zc4tb9D.d.ts} +9 -6
  14. package/dist/ThinkChat-7DQ2CogF.js +222 -0
  15. package/dist/{ThinkChatActivity-B2UD95My.d.ts → ThinkChatActivity-Cuk28Js_.d.ts} +4 -4
  16. package/dist/ThinkChatContext-C3Eb1Xpi.d.ts +16 -0
  17. package/dist/{ThinkChatToolParts-DnUiZgCC.d.ts → ThinkChatToolParts-Cv4o7j6F.d.ts} +13 -5
  18. package/dist/{attachment-preview-ChtC3HiU.js → attachment-preview-DIs50Q0h.js} +3 -3
  19. package/dist/components/Accordion.d.ts +17 -6
  20. package/dist/components/Accordion.js +23 -36
  21. package/dist/components/Activity.d.ts +5 -5
  22. package/dist/components/Activity.js +9 -9
  23. package/dist/components/AgentChat.d.ts +1 -1
  24. package/dist/components/AgentChat.js +354 -132
  25. package/dist/components/AgentConnection.js +6 -22
  26. package/dist/components/AlertDialog.d.ts +40 -32
  27. package/dist/components/AlertDialog.js +46 -39
  28. package/dist/components/Artifact.d.ts +1 -1
  29. package/dist/components/Artifact.js +5 -5
  30. package/dist/components/Autocomplete.js +10 -2
  31. package/dist/components/Avatar.d.ts +2 -2
  32. package/dist/components/Avatar.js +3 -3
  33. package/dist/components/Badge.d.ts +11 -14
  34. package/dist/components/Badge.js +11 -33
  35. package/dist/components/BrowserLiveView.d.ts +1 -1
  36. package/dist/components/BrowserLiveView.js +39 -45
  37. package/dist/components/BrowserReplay.d.ts +1 -1
  38. package/dist/components/BrowserReplay.js +4 -4
  39. package/dist/components/BrowserRunPanel.js +91 -55
  40. package/dist/components/Button.d.ts +2 -2
  41. package/dist/components/Button.js +7 -30
  42. package/dist/components/ChainOfThought.d.ts +5 -5
  43. package/dist/components/ChainOfThought.js +8 -5
  44. package/dist/components/ChatGptSignInScreen.js +3 -3
  45. package/dist/components/Checkbox.d.ts +10 -2
  46. package/dist/components/Checkbox.js +13 -6
  47. package/dist/components/CheckboxGroup.d.ts +6 -6
  48. package/dist/components/CheckboxGroup.js +6 -6
  49. package/dist/components/CodeBlock.d.ts +1 -1
  50. package/dist/components/CodeBlock.js +1 -1
  51. package/dist/components/CodexModelSelector.d.ts +58 -0
  52. package/dist/components/CodexModelSelector.js +170 -0
  53. package/dist/components/Collapsible.d.ts +2 -4
  54. package/dist/components/Collapsible.js +9 -7
  55. package/dist/components/Combobox.d.ts +2 -2
  56. package/dist/components/Combobox.js +20 -22
  57. package/dist/components/Commit.d.ts +6 -6
  58. package/dist/components/Commit.js +14 -26
  59. package/dist/components/Context.js +5 -1
  60. package/dist/components/ContextMenu.d.ts +20 -72
  61. package/dist/components/ContextMenu.js +46 -56
  62. package/dist/components/Conversation.d.ts +3 -7
  63. package/dist/components/Conversation.js +3 -4
  64. package/dist/components/Dialog.d.ts +38 -30
  65. package/dist/components/Dialog.js +46 -34
  66. package/dist/components/EnvironmentVariables.d.ts +2 -7
  67. package/dist/components/EnvironmentVariables.js +13 -36
  68. package/dist/components/Field.d.ts +3 -3
  69. package/dist/components/Field.js +7 -8
  70. package/dist/components/Fieldset.d.ts +2 -2
  71. package/dist/components/Fieldset.js +2 -2
  72. package/dist/components/FileTree.js +1 -1
  73. package/dist/components/Label.d.ts +1 -1
  74. package/dist/components/Label.js +1 -1
  75. package/dist/components/Marker.js +1 -15
  76. package/dist/components/McpServerPicker.d.ts +31 -6
  77. package/dist/components/McpServerPicker.js +136 -72
  78. package/dist/components/Menu.d.ts +2 -2
  79. package/dist/components/Menu.js +41 -51
  80. package/dist/components/Menubar.d.ts +16 -52
  81. package/dist/components/Menubar.js +44 -56
  82. package/dist/components/Message.d.ts +4 -3
  83. package/dist/components/Message.js +16 -9
  84. package/dist/components/MessageScroller.d.ts +1 -1
  85. package/dist/components/MessageScroller.js +1 -1
  86. package/dist/components/Meter.js +5 -0
  87. package/dist/components/ModelSelector.d.ts +12 -9
  88. package/dist/components/ModelSelector.js +1 -1
  89. package/dist/components/NavigationMenu.d.ts +3 -14
  90. package/dist/components/NavigationMenu.js +22 -38
  91. package/dist/components/NumberField.js +6 -0
  92. package/dist/components/Popover.d.ts +21 -44
  93. package/dist/components/Popover.js +33 -23
  94. package/dist/components/PreviewCard.d.ts +20 -18
  95. package/dist/components/PreviewCard.js +30 -20
  96. package/dist/components/PricingPage.js +30 -29
  97. package/dist/components/Progress.d.ts +7 -3
  98. package/dist/components/Progress.js +9 -4
  99. package/dist/components/PromptInput.d.ts +2 -2
  100. package/dist/components/PromptInput.js +184 -148
  101. package/dist/components/Queue.d.ts +8 -19
  102. package/dist/components/Queue.js +6 -6
  103. package/dist/components/RadioGroup.d.ts +10 -9
  104. package/dist/components/RadioGroup.js +8 -9
  105. package/dist/components/Reasoning.d.ts +4 -4
  106. package/dist/components/Reasoning.js +12 -21
  107. package/dist/components/ScrollArea.d.ts +2 -9
  108. package/dist/components/ScrollArea.js +5 -23
  109. package/dist/components/Select.d.ts +2 -2
  110. package/dist/components/Select.js +100 -134
  111. package/dist/components/Slider.d.ts +10 -7
  112. package/dist/components/Slider.js +12 -11
  113. package/dist/components/Sources.d.ts +4 -4
  114. package/dist/components/Sources.js +8 -5
  115. package/dist/components/Stepper.js +2 -8
  116. package/dist/components/Switch.d.ts +6 -3
  117. package/dist/components/Switch.js +7 -4
  118. package/dist/components/Tabs.d.ts +2 -2
  119. package/dist/components/Tabs.js +9 -4
  120. package/dist/components/Task.d.ts +4 -4
  121. package/dist/components/Task.js +10 -6
  122. package/dist/components/Terminal.d.ts +2 -2
  123. package/dist/components/Terminal.js +5 -5
  124. package/dist/components/TestResults.d.ts +4 -4
  125. package/dist/components/TestResults.js +5 -5
  126. package/dist/components/ThinkChat.d.ts +37 -30
  127. package/dist/components/ThinkChat.js +1 -152
  128. package/dist/components/ThinkChatActivity.d.ts +2 -2
  129. package/dist/components/ThinkChatActivity.js +4 -11
  130. package/dist/components/ThinkChatContext.d.ts +2 -2
  131. package/dist/components/ThinkChatContext.js +9 -2
  132. package/dist/components/ThinkChatToolPanels.d.ts +1 -1
  133. package/dist/components/ThinkChatToolPanels.js +27 -15
  134. package/dist/components/ThinkChatToolParts.d.ts +1 -1
  135. package/dist/components/ThinkExecutionWorkbench.d.ts +10 -7
  136. package/dist/components/ThinkExecutionWorkbench.js +382 -359
  137. package/dist/components/ThinkFullApp.d.ts +16 -13
  138. package/dist/components/ThinkFullApp.js +35 -25
  139. package/dist/components/ThinkThreadPicker.d.ts +1 -31
  140. package/dist/components/ThinkThreadPicker.js +32 -171
  141. package/dist/components/ThinkThreadShell.d.ts +35 -0
  142. package/dist/components/ThinkThreadShell.js +146 -0
  143. package/dist/components/Toast.js +7 -0
  144. package/dist/components/ToggleGroup.d.ts +6 -2
  145. package/dist/components/ToggleGroup.js +6 -2
  146. package/dist/components/Toolbar.js +6 -0
  147. package/dist/components/Tooltip.d.ts +36 -27
  148. package/dist/components/Tooltip.js +45 -29
  149. package/dist/components/WebPreview.d.ts +1 -1
  150. package/dist/components/WebPreview.js +3 -3
  151. package/dist/components/WorkspaceExplorer.d.ts +6 -8
  152. package/dist/components/WorkspaceExplorer.js +9 -7
  153. package/dist/components/icons.d.ts +2 -2
  154. package/dist/components/icons.js +2 -2
  155. package/dist/{copy-button-C6JSKtFE.js → copy-button-DUMLYdsk.js} +7 -6
  156. package/dist/{copy-button-BKXqGiNm.d.ts → copy-button-DtPMgN7e.d.ts} +3 -2
  157. package/dist/icons-Ba9THQKz.js +64 -0
  158. package/dist/icons-CUCz_Sft.d.ts +210 -0
  159. package/dist/merge-refs-DF_7w2x_.js +18 -0
  160. package/dist/styles/accessibility.css +14 -0
  161. package/dist/styles/accordion.css +21 -61
  162. package/dist/styles/activity.css +23 -58
  163. package/dist/styles/agent-chat.css +49 -5
  164. package/dist/styles/agent-connection.css +8 -10
  165. package/dist/styles/alert-dialog.css +20 -26
  166. package/dist/styles/artifact.css +6 -6
  167. package/dist/styles/attachment-preview.css +1 -1
  168. package/dist/styles/autocomplete.css +5 -170
  169. package/dist/styles/avatar.css +8 -8
  170. package/dist/styles/badge.css +8 -10
  171. package/dist/styles/base-ui-motion.css +176 -0
  172. package/dist/styles/base.css +19 -25
  173. package/dist/styles/browser-live-view.css +7 -7
  174. package/dist/styles/browser-replay.css +5 -5
  175. package/dist/styles/browser-run-panel.css +59 -112
  176. package/dist/styles/button.css +48 -43
  177. package/dist/styles/card.css +3 -5
  178. package/dist/styles/chain-of-thought.css +14 -70
  179. package/dist/styles/chatgpt-sign-in-screen.css +3 -3
  180. package/dist/styles/checkbox-group.css +1 -1
  181. package/dist/styles/checkbox.css +3 -7
  182. package/dist/styles/code-block.css +10 -10
  183. package/dist/styles/codex-model-selector.css +186 -0
  184. package/dist/styles/collapsible.css +11 -27
  185. package/dist/styles/combobox.css +3 -149
  186. package/dist/styles/commit.css +19 -35
  187. package/dist/styles/context-menu.css +1 -77
  188. package/dist/styles/context.css +12 -12
  189. package/dist/styles/conversation.css +7 -7
  190. package/dist/styles/dialog.css +34 -55
  191. package/dist/styles/environment-variables.css +10 -10
  192. package/dist/styles/field.css +16 -58
  193. package/dist/styles/fieldset.css +2 -2
  194. package/dist/styles/file-tree.css +7 -9
  195. package/dist/styles/index.css +12 -2
  196. package/dist/styles/input.css +1 -51
  197. package/dist/styles/label.css +2 -2
  198. package/dist/styles/marker.css +2 -4
  199. package/dist/styles/mcp-server-picker.css +66 -19
  200. package/dist/styles/menu.css +6 -153
  201. package/dist/styles/menubar.css +6 -105
  202. package/dist/styles/message-scroller.css +1 -1
  203. package/dist/styles/message.css +87 -9
  204. package/dist/styles/meter.css +4 -20
  205. package/dist/styles/model-selector.css +32 -20
  206. package/dist/styles/navigation-menu.css +14 -54
  207. package/dist/styles/number-field.css +8 -23
  208. package/dist/styles/popover.css +13 -68
  209. package/dist/styles/preview-card.css +5 -46
  210. package/dist/styles/pricing-page.css +43 -43
  211. package/dist/styles/progress.css +7 -16
  212. package/dist/styles/prompt-input.css +100 -44
  213. package/dist/styles/queue.css +12 -28
  214. package/dist/styles/radio.css +4 -8
  215. package/dist/styles/reasoning.css +3 -62
  216. package/dist/styles/recipes.css +475 -0
  217. package/dist/styles/select.css +7 -103
  218. package/dist/styles/shell.css +3 -3
  219. package/dist/styles/slider.css +5 -7
  220. package/dist/styles/sources.css +9 -66
  221. package/dist/styles/stepper.css +16 -14
  222. package/dist/styles/streamdown.css +11 -57
  223. package/dist/styles/switch.css +4 -7
  224. package/dist/styles/tabs.css +7 -8
  225. package/dist/styles/task.css +13 -42
  226. package/dist/styles/terminal.css +7 -7
  227. package/dist/styles/test-results.css +21 -37
  228. package/dist/styles/think-execution-workbench.css +337 -0
  229. package/dist/styles/think-full-app.css +27 -410
  230. package/dist/styles/think-resize-handle.css +33 -0
  231. package/dist/styles/think-thread-picker.css +18 -247
  232. package/dist/styles/think-thread-shell.css +219 -0
  233. package/dist/styles/toast.css +14 -25
  234. package/dist/styles/toggle-group.css +16 -14
  235. package/dist/styles/toggle.css +14 -15
  236. package/dist/styles/toolbar.css +13 -25
  237. package/dist/styles/tooltip.css +6 -16
  238. package/dist/styles/web-preview.css +15 -15
  239. package/dist/styles/workspace-explorer.css +21 -14
  240. package/dist/summarize-tool-input-BUJsENSn.js +12 -0
  241. package/dist/utils/codex-model-catalog.d.ts +142 -0
  242. package/dist/utils/codex-model-catalog.js +112 -0
  243. package/dist/utils/structured-code.d.ts +1 -1
  244. package/package.json +8 -2
  245. package/dist/Select-CRsKCJ9x.d.ts +0 -200
  246. package/dist/ThinkChatContext-BLAAb8J5.d.ts +0 -28
  247. package/dist/components/McpServerConnections.d.ts +0 -41
  248. package/dist/components/McpServerConnections.js +0 -188
  249. package/dist/components/useStickToBottom.d.ts +0 -33
  250. package/dist/components/useStickToBottom.js +0 -107
  251. package/dist/icons-CbjtbIJK.d.ts +0 -51
  252. package/dist/icons-D2Q5n5C1.js +0 -291
  253. package/dist/styles/mcp-server-connections.css +0 -145
@@ -1,7 +1,9 @@
1
1
  import { t as cx } from "./class-names-9UtZwb0J.js";
2
- import { A as SearchIcon, o as ChevronDownIcon } from "./icons-D2Q5n5C1.js";
2
+ import { j as SearchIcon, o as ChevronDownIcon } from "./icons-Ba9THQKz.js";
3
+ import { Separator } from "./components/Separator.js";
3
4
  import { Button } from "./components/Button.js";
4
- import { Dialog, DialogBackdrop, DialogPopup, DialogPortal, DialogTitle, DialogTrigger } from "./components/Dialog.js";
5
+ import { Dialog } from "./components/Dialog.js";
6
+ import { Input } from "./components/Input.js";
5
7
  import * as React from "react";
6
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
9
  //#region src/components/_internal/provider-logos.tsx
@@ -213,13 +215,13 @@ function useModelSelectorContext() {
213
215
  * multiselect; use Combobox or a dedicated component for that.
214
216
  *
215
217
  * Sigvelo changes: composes the design-system Dialog and Button, filters item
216
- * children locally, and maps provider logos plus listbox styling to Sigvelo
218
+ * children locally, and maps provider logos plus button-list styling to Sigvelo
217
219
  * CSS tokens.
218
220
  *
219
- * The dialog owns focus while open, the list uses `role="listbox"`, and items
220
- * use `role="option"` with `aria-selected`. Styling consumes surface, border,
221
- * spacing, radius, focus, and typography tokens. Add provider/item affordances
222
- * here when they need to be shared.
221
+ * The dialog owns focus while open, and options are native buttons in grouped
222
+ * sections. Styling consumes surface, border, spacing, radius, focus, and
223
+ * typography tokens. Add provider/item affordances here when they need to be
224
+ * shared.
223
225
  *
224
226
  * @example
225
227
  * ```tsx
@@ -268,7 +270,7 @@ function ModelSelector({ open, defaultOpen = false, onOpenChange, children, clas
268
270
  ref,
269
271
  className: cx("model-selector", className),
270
272
  ...props,
271
- children: /* @__PURE__ */ jsx(Dialog, {
273
+ children: /* @__PURE__ */ jsx(Dialog.Root, {
272
274
  open: currentOpen,
273
275
  onOpenChange: handleOpenChange,
274
276
  children
@@ -338,7 +340,7 @@ function CloudflareModelSelector({ models, selectedModelId = null, onSelectModel
338
340
  });
339
341
  }
340
342
  function ModelSelectorTrigger({ className, children, ...props }) {
341
- return /* @__PURE__ */ jsx(DialogTrigger, { render: /* @__PURE__ */ jsxs(Button, {
343
+ return /* @__PURE__ */ jsx(Dialog.Trigger, { render: /* @__PURE__ */ jsxs(Button, {
342
344
  variant: "outline",
343
345
  color: "neutral",
344
346
  className: cx("model-selector__trigger", className),
@@ -351,13 +353,13 @@ function ModelSelectorTrigger({ className, children, ...props }) {
351
353
  }) });
352
354
  }
353
355
  function ModelSelectorContent({ children, title = "Model Selector", ...props }) {
354
- return /* @__PURE__ */ jsxs(DialogPortal, { children: [/* @__PURE__ */ jsx(DialogBackdrop, {}), /* @__PURE__ */ jsxs(DialogPopup, {
356
+ return /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(Dialog.Backdrop, {}), /* @__PURE__ */ jsx(Dialog.Viewport, { children: /* @__PURE__ */ jsxs(Dialog.Popup, {
355
357
  ...props,
356
- children: [/* @__PURE__ */ jsx(DialogTitle, {
358
+ children: [/* @__PURE__ */ jsx(Dialog.Title, {
357
359
  className: "model-selector__title",
358
360
  children: title
359
361
  }), children]
360
- })] });
362
+ }) })] });
361
363
  }
362
364
  function ModelSelectorDialog({ className, children, ref, ...props }) {
363
365
  return /* @__PURE__ */ jsx("div", {
@@ -375,7 +377,7 @@ function ModelSelectorInput({ className, placeholder = "Search models…", ref,
375
377
  className: "model-selector__search-icon",
376
378
  "aria-hidden": "true",
377
379
  children: /* @__PURE__ */ jsx(SearchIcon, {})
378
- }), /* @__PURE__ */ jsx("input", {
380
+ }), /* @__PURE__ */ jsx(Input, {
379
381
  ref,
380
382
  type: "search",
381
383
  value: query,
@@ -390,7 +392,6 @@ function ModelSelectorInput({ className, placeholder = "Search models…", ref,
390
392
  function ModelSelectorList({ className, children, ref, ...props }) {
391
393
  return /* @__PURE__ */ jsx("div", {
392
394
  ref,
393
- role: "listbox",
394
395
  className: cx("model-selector__list", className),
395
396
  ...props,
396
397
  children
@@ -398,6 +399,7 @@ function ModelSelectorList({ className, children, ref, ...props }) {
398
399
  }
399
400
  function ModelSelectorGroup({ className, label, children, ref, ...props }) {
400
401
  const { query } = useModelSelectorContext();
402
+ const labelId = React.useId();
401
403
  const childArray = React.Children.toArray(children).filter((child) => React.isValidElement(child));
402
404
  const q = query.trim().toLowerCase();
403
405
  const filtered = q ? childArray.filter((child) => {
@@ -409,10 +411,11 @@ function ModelSelectorGroup({ className, label, children, ref, ...props }) {
409
411
  return /* @__PURE__ */ jsxs("div", {
410
412
  ref,
411
413
  role: "group",
412
- "aria-label": label,
414
+ "aria-labelledby": labelId,
413
415
  className: cx("model-selector__group", className),
414
416
  ...props,
415
417
  children: [/* @__PURE__ */ jsx("div", {
418
+ id: labelId,
416
419
  className: "model-selector__group-label",
417
420
  children: label
418
421
  }), filtered]
@@ -425,11 +428,11 @@ function ModelSelectorItem({ className, value, keywords, selected, onSelect, chi
425
428
  onSelectItem();
426
429
  onClick?.(e);
427
430
  };
428
- return /* @__PURE__ */ jsx("button", {
431
+ return /* @__PURE__ */ jsx(Button, {
429
432
  ref,
430
- type: "button",
431
- role: "option",
432
- "aria-selected": selected,
433
+ variant: "ghost",
434
+ color: "neutral",
435
+ "aria-current": selected ? "true" : void 0,
433
436
  "data-selected": selected ? "" : void 0,
434
437
  className: cx("model-selector__item", className),
435
438
  onClick: handleClick,
@@ -446,7 +449,7 @@ function ModelSelectorEmpty({ className, children = "No models found", ref, ...p
446
449
  });
447
450
  }
448
451
  function ModelSelectorSeparator({ className, ref, ...props }) {
449
- return /* @__PURE__ */ jsx("hr", {
452
+ return /* @__PURE__ */ jsx(Separator, {
450
453
  ref,
451
454
  className: cx("model-selector__separator", className),
452
455
  ...props
@@ -1,19 +1,15 @@
1
- import { A as SelectTriggerProps, M as SelectValueProps, S as SelectProps, f as SelectOption, j as SelectValue, r as SelectContentProps, s as SelectItemProps, t as Select } from "./Select-CRsKCJ9x.js";
2
- import { c as ComboboxGroup, d as ComboboxLabel, f as ComboboxList, g as ComboboxTrigger, h as ComboboxSeparator, l as ComboboxInput, m as ComboboxPositioner, p as ComboboxPopup, s as ComboboxEmpty, t as Combobox, u as ComboboxItem } from "./Combobox-D9anamNr.js";
3
- import { h as MenuItemProps, l as MenuContentProps, w as MenuProps } from "./Menu-B5vDqZe_.js";
4
- import { c as TabsList, n as TabPanel, t as Tab } from "./Tabs-D9EAq09D.js";
5
- import { r as ButtonProps } from "./Button-Ct5I6aTu.js";
1
+ import { _ as SelectTriggerProps, a as SelectIconProps, c as SelectItemTextProps, f as SelectPositionerProps, g as SelectSeparatorProps, h as SelectScrollUpArrowProps, i as SelectGroupProps, l as SelectListProps, m as SelectScrollDownArrowProps, n as SelectBackdropProps, o as SelectItemIndicatorProps, p as SelectProps, r as SelectGroupLabelProps, s as SelectItemProps, t as Select, u as SelectPopupProps, v as SelectValueProps } from "./Select-Dl_vF_Bt.js";
2
+ import { i as TabsListProps, n as TabProps, r as Tabs, t as TabPanelProps } from "./Tabs-3Zc4tb9D.js";
3
+ import { t as Combobox } from "./Combobox-B9Fcd6q-.js";
4
+ import { d as MenuProps, s as MenuItemProps, t as Menu } from "./Menu-Bgu-ufb5.js";
5
+ import { r as ButtonProps } from "./Button-FX_hpqxm.js";
6
6
  import * as React from "react";
7
7
  import { ChatAddToolApproveResponseFunction, ChatStatus, DynamicToolUIPart, FileUIPart, ToolUIPart, UIMessage } from "ai";
8
- import { PendingApproval } from "@cloudflare/think";
8
+ import { PendingApproval, Think } from "@cloudflare/think";
9
+ import { AgentStub } from "agents/client";
10
+ import { UseVoiceInputReturn } from "@cloudflare/voice/react";
9
11
 
10
12
  //#region src/components/PromptInput.d.ts
11
- interface PromptInputReferencedSource {
12
- id?: string;
13
- title?: string;
14
- url?: string;
15
- [key: string]: unknown;
16
- }
17
13
  /** The payload produced when the prompt input is submitted. */
18
14
  interface PromptInputMessage {
19
15
  text: string;
@@ -39,18 +35,9 @@ interface PromptInputControllerProps {
39
35
  attachments: AttachmentsContext;
40
36
  __registerFileInput: (ref: React.RefObject<HTMLInputElement | null>, open: () => void) => void;
41
37
  }
42
- interface ReferencedSourcesContext {
43
- sources: Array<PromptInputReferencedSource & {
44
- id: string;
45
- }>;
46
- add: (sources: PromptInputReferencedSource[] | PromptInputReferencedSource) => void;
47
- remove: (id: string) => void;
48
- clear: () => void;
49
- }
50
38
  declare function usePromptInputController(): PromptInputControllerProps;
51
39
  declare function useProviderAttachments(): AttachmentsContext;
52
40
  declare function usePromptInputAttachments(): AttachmentsContext;
53
- declare function usePromptInputReferencedSources(): ReferencedSourcesContext;
54
41
  interface PromptInputProviderProps extends React.PropsWithChildren {
55
42
  initialInput?: string;
56
43
  }
@@ -86,8 +73,8 @@ interface PromptInputProps extends Omit<React.FormHTMLAttributes<HTMLFormElement
86
73
  *
87
74
  * Use for assistant/chat submit forms. Do not use it as a generic textarea or
88
75
  * non-chat form. Sigvelo changes: uses shared Menu, Select, Combobox, Tabs,
89
- * Button, and Tooltip components; maps styles to CSS tokens; adds local
90
- * attachment and referenced-source helpers.
76
+ * Button, and Tooltip components; maps styles to CSS tokens; and adds local
77
+ * attachment helpers.
91
78
  *
92
79
  * The form handles Enter-to-submit while multiline editing remains in the
93
80
  * textarea. Attachment controls need accessible labels through their buttons
@@ -121,7 +108,6 @@ declare function PromptInput({
121
108
  onError,
122
109
  onSubmit,
123
110
  children,
124
- id,
125
111
  ref,
126
112
  ...props
127
113
  }: PromptInputProps & {
@@ -246,6 +232,23 @@ declare function PromptInputButton({
246
232
  }: PromptInputButtonProps & {
247
233
  ref?: React.Ref<HTMLButtonElement>;
248
234
  }): React.JSX.Element;
235
+ interface PromptInputDictationProps extends Omit<PromptInputButtonProps, "children" | "onClick" | "tooltip"> {
236
+ /** The whole upstream `useVoiceInput` result; authentication and transport stay in the host. */
237
+ voice: UseVoiceInputReturn;
238
+ }
239
+ /**
240
+ * Voice-dictation control for PromptInput. Final upstream transcripts are
241
+ * appended to the composer while interim text remains ephemeral.
242
+ */
243
+ declare function PromptInputDictation({
244
+ voice,
245
+ className,
246
+ disabled,
247
+ ref,
248
+ ...props
249
+ }: PromptInputDictationProps & {
250
+ ref?: React.Ref<HTMLButtonElement>;
251
+ }): React.JSX.Element;
249
252
  type PromptInputActionMenuProps = MenuProps;
250
253
  declare function PromptInputActionMenu(props: PromptInputActionMenuProps): React.JSX.Element;
251
254
  type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
@@ -254,10 +257,23 @@ declare function PromptInputActionMenuTrigger({
254
257
  children,
255
258
  ...props
256
259
  }: PromptInputActionMenuTriggerProps): React.JSX.Element;
257
- type PromptInputActionMenuContentProps = MenuContentProps;
260
+ type PromptInputActionMenuContentProps = React.ComponentProps<typeof Menu.Popup> & Pick<React.ComponentProps<typeof Menu.Positioner>, "anchor" | "positionMethod" | "side" | "sideOffset" | "align" | "alignOffset" | "collisionBoundary" | "collisionPadding" | "sticky" | "arrowPadding" | "disableAnchorTracking" | "collisionAvoidance">;
258
261
  declare function PromptInputActionMenuContent({
262
+ anchor,
263
+ positionMethod,
264
+ side,
265
+ sideOffset,
266
+ align,
267
+ alignOffset,
268
+ collisionBoundary,
269
+ collisionPadding,
270
+ sticky,
271
+ arrowPadding,
272
+ disableAnchorTracking,
273
+ collisionAvoidance,
259
274
  className,
260
275
  children,
276
+ tabIndex,
261
277
  ...props
262
278
  }: PromptInputActionMenuContentProps): React.JSX.Element;
263
279
  type PromptInputActionMenuItemProps = MenuItemProps;
@@ -324,27 +340,6 @@ declare function PromptInputSubmit({
324
340
  }: PromptInputSubmitProps & {
325
341
  ref?: React.Ref<HTMLButtonElement>;
326
342
  }): React.JSX.Element;
327
- /**
328
- * Resolve Think execution approvals that do not use the AI SDK
329
- * `approval-requested` part: paused codemode executions and durable-pause
330
- * approvals from `pendingApprovals()`. Wire to the Think agent's
331
- * client-callable RPCs:
332
- *
333
- * ```tsx
334
- * executionApprovals={{
335
- * approve: (id) => agent.stub.approveExecution(id),
336
- * reject: (id, reason) => agent.stub.rejectExecution(id, reason),
337
- * }}
338
- * ```
339
- *
340
- * On approve, upstream resumes or runs the parked execution and auto-continues
341
- * the chat. Both RPCs are idempotent, so a stale click resolves to "already
342
- * handled".
343
- */
344
- interface ExecutionApprovals {
345
- approve: (executionId: string) => unknown;
346
- reject: (executionId: string, reason?: string) => unknown;
347
- }
348
343
  /** The id a response must carry: the approval id, or the paused run's executionId. */
349
344
  declare function getApprovalRequestId(part: ToolUIPart | DynamicToolUIPart): string | undefined;
350
345
  /** Component-local identity: paused executions can ask for multiple approvals. */
@@ -371,8 +366,10 @@ interface PromptInputApprovalProps extends Omit<React.HTMLAttributes<HTMLDivElem
371
366
  approval?: PendingApproval;
372
367
  /** Pass `addToolApprovalResponse` from `useAgentChat`/`useChat` directly. */
373
368
  onRespond?: ChatAddToolApproveResponseFunction;
374
- /** Resolves Think execution approvals instead of `onRespond`. See {@link ExecutionApprovals}. */
375
- executionApprovals?: ExecutionApprovals;
369
+ /** Whole upstream Think stub used to resolve execution approvals instead of `onRespond`. */
370
+ thinkStub?: AgentStub<Think>;
371
+ /** Called after a Think approve/reject RPC settles, including when it rejects. */
372
+ onExecutionSettled?: () => void | Promise<void>;
376
373
  /**
377
374
  * Renders a Skip action that dismisses the confirmation without responding —
378
375
  * the approval stays pending upstream.
@@ -394,7 +391,8 @@ declare function PromptInputApproval({
394
391
  part,
395
392
  approval: durableApproval,
396
393
  onRespond,
397
- executionApprovals,
394
+ thinkStub,
395
+ onExecutionSettled,
398
396
  onSkip,
399
397
  question,
400
398
  count,
@@ -404,16 +402,121 @@ declare function PromptInputApproval({
404
402
  }: PromptInputApprovalProps & {
405
403
  ref?: React.Ref<HTMLDivElement>;
406
404
  }): React.JSX.Element | null;
407
- type PromptInputSelectProps = SelectProps;
408
- declare const PromptInputSelect: typeof Select;
409
- type PromptInputSelectTriggerProps = SelectTriggerProps;
410
- declare function PromptInputSelectTrigger(props: PromptInputSelectTriggerProps): React.JSX.Element;
411
- type PromptInputSelectContentProps = SelectContentProps;
412
- declare function PromptInputSelectContent(props: PromptInputSelectContentProps): React.JSX.Element;
413
- type PromptInputSelectItemProps = SelectItemProps;
414
- declare const PromptInputSelectItem: typeof SelectOption;
415
- type PromptInputSelectValueProps = SelectValueProps;
416
- declare const PromptInputSelectValue: typeof SelectValue;
405
+ type PromptInputSelectProps = React.ComponentProps<typeof Select.Root>;
406
+ declare const PromptInputSelect: {
407
+ Root: <Value>(props: SelectProps<Value>) => React.JSX.Element;
408
+ Label: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
409
+ Trigger: ({
410
+ size,
411
+ className,
412
+ ref,
413
+ ...props
414
+ }: SelectTriggerProps & {
415
+ ref?: React.Ref<HTMLButtonElement>;
416
+ }) => React.JSX.Element;
417
+ Value: ({
418
+ placeholder,
419
+ children,
420
+ ref,
421
+ ...props
422
+ }: SelectValueProps & {
423
+ ref?: React.Ref<HTMLSpanElement>;
424
+ }) => React.JSX.Element;
425
+ Icon: ({
426
+ className,
427
+ children,
428
+ ref,
429
+ ...props
430
+ }: SelectIconProps) => React.JSX.Element;
431
+ Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
432
+ Backdrop: ({
433
+ className,
434
+ ref,
435
+ ...props
436
+ }: SelectBackdropProps) => React.JSX.Element;
437
+ Positioner: ({
438
+ className,
439
+ ref,
440
+ ...props
441
+ }: SelectPositionerProps & {
442
+ className?: string;
443
+ } & {
444
+ ref?: React.Ref<HTMLDivElement>;
445
+ }) => React.JSX.Element;
446
+ Popup: ({
447
+ className,
448
+ ref,
449
+ ...props
450
+ }: SelectPopupProps & {
451
+ ref?: React.Ref<HTMLDivElement>;
452
+ }) => React.JSX.Element;
453
+ Arrow: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SelectArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
454
+ List: ({
455
+ className,
456
+ ref,
457
+ ...props
458
+ }: SelectListProps & {
459
+ ref?: React.Ref<HTMLDivElement>;
460
+ }) => React.JSX.Element;
461
+ Item: ({
462
+ className,
463
+ value,
464
+ ref,
465
+ ...props
466
+ }: SelectItemProps & {
467
+ ref?: React.Ref<HTMLDivElement>;
468
+ }) => React.JSX.Element;
469
+ ItemText: ({
470
+ className,
471
+ ref,
472
+ ...props
473
+ }: SelectItemTextProps) => React.JSX.Element;
474
+ ItemIndicator: ({
475
+ className,
476
+ children,
477
+ ref,
478
+ ...props
479
+ }: SelectItemIndicatorProps) => React.JSX.Element;
480
+ Separator: ({
481
+ className,
482
+ ref,
483
+ ...props
484
+ }: SelectSeparatorProps & {
485
+ ref?: React.Ref<HTMLDivElement>;
486
+ }) => React.JSX.Element;
487
+ Group: ({
488
+ label,
489
+ className,
490
+ children,
491
+ ref,
492
+ ...props
493
+ }: SelectGroupProps & {
494
+ ref?: React.Ref<HTMLDivElement>;
495
+ }) => React.JSX.Element;
496
+ GroupLabel: ({
497
+ className,
498
+ ref,
499
+ ...props
500
+ }: SelectGroupLabelProps & {
501
+ ref?: React.Ref<HTMLDivElement>;
502
+ }) => React.JSX.Element;
503
+ ScrollUpArrow: ({
504
+ className,
505
+ children,
506
+ ref,
507
+ ...props
508
+ }: SelectScrollUpArrowProps & {
509
+ ref?: React.Ref<HTMLDivElement>;
510
+ }) => React.JSX.Element;
511
+ ScrollDownArrow: ({
512
+ className,
513
+ children,
514
+ ref,
515
+ ...props
516
+ }: SelectScrollDownArrowProps & {
517
+ ref?: React.Ref<HTMLDivElement>;
518
+ }) => React.JSX.Element;
519
+ };
417
520
  interface PromptInputHoverCardProps extends React.HTMLAttributes<HTMLDivElement> {
418
521
  openDelay?: number;
419
522
  closeDelay?: number;
@@ -444,12 +547,31 @@ declare function PromptInputHoverCardContent({
444
547
  }: PromptInputHoverCardContentProps & {
445
548
  ref?: React.Ref<HTMLDivElement>;
446
549
  }): React.JSX.Element | null;
447
- type PromptInputTabsListProps = React.ComponentPropsWithoutRef<typeof TabsList>;
448
- declare const PromptInputTabsList: typeof TabsList;
449
- type PromptInputTabProps = React.ComponentPropsWithoutRef<typeof Tab>;
450
- declare const PromptInputTab: typeof Tab;
451
- type PromptInputTabBodyProps = React.ComponentPropsWithoutRef<typeof TabPanel>;
452
- declare const PromptInputTabBody: typeof TabPanel;
550
+ type PromptInputTabsListProps = React.ComponentPropsWithoutRef<typeof Tabs.List>;
551
+ declare const PromptInputTabsList: ({
552
+ className,
553
+ variant,
554
+ ref,
555
+ ...props
556
+ }: TabsListProps & {
557
+ ref?: React.Ref<HTMLDivElement>;
558
+ }) => React.JSX.Element;
559
+ type PromptInputTabProps = React.ComponentPropsWithoutRef<typeof Tabs.Tab>;
560
+ declare const PromptInputTab: ({
561
+ className,
562
+ ref,
563
+ ...props
564
+ }: TabProps & {
565
+ ref?: React.Ref<HTMLButtonElement>;
566
+ }) => React.JSX.Element;
567
+ type PromptInputTabBodyProps = React.ComponentPropsWithoutRef<typeof Tabs.Panel>;
568
+ declare const PromptInputTabBody: ({
569
+ className,
570
+ ref,
571
+ ...props
572
+ }: TabPanelProps & {
573
+ ref?: React.Ref<HTMLDivElement>;
574
+ }) => React.JSX.Element;
453
575
  interface PromptInputTabLabelProps extends React.HTMLAttributes<HTMLHeadingElement> {}
454
576
  declare function PromptInputTabLabel({
455
577
  className,
@@ -466,11 +588,27 @@ declare function PromptInputTabItem({
466
588
  }: PromptInputTabItemProps & {
467
589
  ref?: React.Ref<HTMLDivElement>;
468
590
  }): React.JSX.Element;
469
- type PromptInputCommandProps = React.ComponentPropsWithoutRef<typeof Combobox>;
470
- declare const PromptInputCommand: typeof import("@base-ui/react").ComboboxRoot & {
591
+ type PromptInputCommandProps = React.ComponentPropsWithoutRef<typeof Combobox.Root>;
592
+ declare const PromptInputCommand: {
471
593
  Root: typeof import("@base-ui/react").ComboboxRoot;
472
- Input: typeof ComboboxInput;
473
- Trigger: typeof ComboboxTrigger;
594
+ Input: ({
595
+ className,
596
+ ref,
597
+ ...props
598
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxInput>, "className"> & {
599
+ className?: string;
600
+ } & {
601
+ ref?: React.Ref<HTMLInputElement>;
602
+ }) => React.JSX.Element;
603
+ Trigger: ({
604
+ className,
605
+ ref,
606
+ ...props
607
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxTrigger>, "className"> & {
608
+ className?: string;
609
+ } & {
610
+ ref?: React.Ref<HTMLButtonElement>;
611
+ }) => React.JSX.Element;
474
612
  Clear: ({
475
613
  className,
476
614
  ref,
@@ -481,11 +619,43 @@ declare const PromptInputCommand: typeof import("@base-ui/react").ComboboxRoot &
481
619
  ref?: React.Ref<HTMLButtonElement>;
482
620
  }) => React.JSX.Element;
483
621
  Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompletePortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
484
- Positioner: typeof ComboboxPositioner;
485
- Popup: typeof ComboboxPopup;
486
- Content: typeof ComboboxPopup;
487
- List: typeof ComboboxList;
488
- Item: typeof ComboboxItem;
622
+ Positioner: ({
623
+ className,
624
+ ref,
625
+ ...props
626
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxPositioner>, "className"> & {
627
+ className?: string;
628
+ } & {
629
+ ref?: React.Ref<HTMLDivElement>;
630
+ }) => React.JSX.Element;
631
+ Popup: ({
632
+ className,
633
+ tabIndex,
634
+ ref,
635
+ ...props
636
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxPopup>, "className"> & {
637
+ className?: string;
638
+ } & {
639
+ ref?: React.Ref<HTMLDivElement>;
640
+ }) => React.JSX.Element;
641
+ List: ({
642
+ className,
643
+ ref,
644
+ ...props
645
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxList>, "className"> & {
646
+ className?: string;
647
+ } & {
648
+ ref?: React.Ref<HTMLDivElement>;
649
+ }) => React.JSX.Element;
650
+ Item: ({
651
+ className,
652
+ ref,
653
+ ...props
654
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxItem>, "className"> & {
655
+ className?: string;
656
+ } & {
657
+ ref?: React.Ref<HTMLDivElement>;
658
+ }) => React.JSX.Element;
489
659
  ItemIndicator: ({
490
660
  className,
491
661
  ref,
@@ -495,19 +665,49 @@ declare const PromptInputCommand: typeof import("@base-ui/react").ComboboxRoot &
495
665
  } & {
496
666
  ref?: React.Ref<HTMLSpanElement>;
497
667
  }) => React.JSX.Element;
498
- Empty: typeof ComboboxEmpty;
499
- Group: typeof ComboboxGroup;
500
- GroupLabel: typeof ComboboxLabel;
501
- Label: typeof ComboboxLabel;
668
+ Empty: ({
669
+ className,
670
+ ref,
671
+ ...props
672
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxEmpty>, "className"> & {
673
+ className?: string;
674
+ } & {
675
+ ref?: React.Ref<HTMLDivElement>;
676
+ }) => React.JSX.Element;
677
+ Group: ({
678
+ className,
679
+ ref,
680
+ ...props
681
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroup>, "className"> & {
682
+ className?: string;
683
+ } & {
684
+ ref?: React.Ref<HTMLDivElement>;
685
+ }) => React.JSX.Element;
686
+ GroupLabel: ({
687
+ className,
688
+ ref,
689
+ ...props
690
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroupLabel>, "className"> & {
691
+ className?: string;
692
+ } & {
693
+ ref?: React.Ref<HTMLDivElement>;
694
+ }) => React.JSX.Element;
502
695
  Value: typeof import("@base-ui/react").ComboboxValue;
503
696
  Chips: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
504
697
  Chip: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ComboboxChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
505
- ChipsInput: typeof ComboboxInput;
506
698
  Collection: typeof import("@base-ui/react").ComboboxCollection;
507
699
  Separator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
508
700
  };
509
- type PromptInputCommandInputProps = React.ComponentPropsWithoutRef<typeof ComboboxInput>;
510
- declare const PromptInputCommandInput: typeof ComboboxInput;
701
+ type PromptInputCommandInputProps = React.ComponentPropsWithoutRef<typeof Combobox.Input>;
702
+ declare const PromptInputCommandInput: ({
703
+ className,
704
+ ref,
705
+ ...props
706
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxInput>, "className"> & {
707
+ className?: string;
708
+ } & {
709
+ ref?: React.Ref<HTMLInputElement>;
710
+ }) => React.JSX.Element;
511
711
  interface PromptInputCommandListProps extends React.HTMLAttributes<HTMLDivElement> {}
512
712
  declare function PromptInputCommandList({
513
713
  className,
@@ -516,13 +716,37 @@ declare function PromptInputCommandList({
516
716
  }: PromptInputCommandListProps & {
517
717
  ref?: React.Ref<HTMLDivElement>;
518
718
  }): React.JSX.Element;
519
- type PromptInputCommandEmptyProps = React.ComponentPropsWithoutRef<typeof ComboboxEmpty>;
520
- declare const PromptInputCommandEmpty: typeof ComboboxEmpty;
521
- type PromptInputCommandGroupProps = React.ComponentPropsWithoutRef<typeof ComboboxGroup>;
522
- declare const PromptInputCommandGroup: typeof ComboboxGroup;
523
- type PromptInputCommandItemProps = React.ComponentPropsWithoutRef<typeof ComboboxItem>;
524
- declare const PromptInputCommandItem: typeof ComboboxItem;
525
- type PromptInputCommandSeparatorProps = React.ComponentPropsWithoutRef<typeof ComboboxSeparator>;
719
+ type PromptInputCommandEmptyProps = React.ComponentPropsWithoutRef<typeof Combobox.Empty>;
720
+ declare const PromptInputCommandEmpty: ({
721
+ className,
722
+ ref,
723
+ ...props
724
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxEmpty>, "className"> & {
725
+ className?: string;
726
+ } & {
727
+ ref?: React.Ref<HTMLDivElement>;
728
+ }) => React.JSX.Element;
729
+ type PromptInputCommandGroupProps = React.ComponentPropsWithoutRef<typeof Combobox.Group>;
730
+ declare const PromptInputCommandGroup: ({
731
+ className,
732
+ ref,
733
+ ...props
734
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxGroup>, "className"> & {
735
+ className?: string;
736
+ } & {
737
+ ref?: React.Ref<HTMLDivElement>;
738
+ }) => React.JSX.Element;
739
+ type PromptInputCommandItemProps = React.ComponentPropsWithoutRef<typeof Combobox.Item>;
740
+ declare const PromptInputCommandItem: ({
741
+ className,
742
+ ref,
743
+ ...props
744
+ }: Omit<React.ComponentPropsWithRef<typeof import("@base-ui/react").ComboboxItem>, "className"> & {
745
+ className?: string;
746
+ } & {
747
+ ref?: React.Ref<HTMLDivElement>;
748
+ }) => React.JSX.Element;
749
+ type PromptInputCommandSeparatorProps = React.ComponentPropsWithoutRef<typeof Combobox.Separator>;
526
750
  declare const PromptInputCommandSeparator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
527
751
  //#endregion
528
- export { PromptInputHoverCardTriggerProps as $, PromptInputCommandEmpty as A, PromptInputTextareaProps as At, PromptInputCommandProps as B, usePromptInputAttachments as Bt, PromptInputAttachmentsProps as C, PromptInputTabItemProps as Ct, PromptInputButtonProps as D, PromptInputTabsList as Dt, PromptInputButton as E, PromptInputTabProps as Et, PromptInputCommandInputProps as F, TextInputContext as Ft, PromptInputFooterProps as G, PromptInputCommandSeparatorProps as H, usePromptInputReferencedSources as Ht, PromptInputCommandItem as I, TooltipSide as It, PromptInputHoverCard as J, PromptInputHeader as K, PromptInputCommandItemProps as L, getApprovalRequestId as Lt, PromptInputCommandGroup as M, PromptInputToolsProps as Mt, PromptInputCommandGroupProps as N, PromptInputTooltipConfig as Nt, PromptInputButtonTooltip as O, PromptInputTabsListProps as Ot, PromptInputCommandInput as P, ReferencedSourcesContext as Pt, PromptInputHoverCardTrigger as Q, PromptInputCommandList as R, getApprovalStateKey as Rt, PromptInputAttachments as S, PromptInputTabItem as St, PromptInputBodyProps as T, PromptInputTabLabelProps as Tt, PromptInputControllerProps as U, useProviderAttachments as Ut, PromptInputCommandSeparator as V, usePromptInputController as Vt, PromptInputFooter as W, PromptInputHoverCardContentProps as X, PromptInputHoverCardContent as Y, PromptInputHoverCardProps as Z, PromptInputActionMenuTriggerProps as _, PromptInputSubmit as _t, PromptInput as a, PromptInputProviderProps as at, PromptInputAttachment as b, PromptInputTabBody as bt, PromptInputActionAddScreenshot as c, PromptInputSelectContent as ct, PromptInputActionMenuContent as d, PromptInputSelectItemProps as dt, PromptInputMessage as et, PromptInputActionMenuContentProps as f, PromptInputSelectProps as ft, PromptInputActionMenuTrigger as g, PromptInputSelectValueProps as gt, PromptInputActionMenuProps as h, PromptInputSelectValue as ht, PermissionMode as i, PromptInputProvider as it, PromptInputCommandEmptyProps as j, PromptInputTools as jt, PromptInputCommand as k, PromptInputTextarea as kt, PromptInputActionAddScreenshotProps as l, PromptInputSelectContentProps as lt, PromptInputActionMenuItemProps as m, PromptInputSelectTriggerProps as mt, ExecutionApprovals as n, PromptInputPermissionSelectorProps as nt, PromptInputActionAddAttachments as o, PromptInputReferencedSource as ot, PromptInputActionMenuItem as p, PromptInputSelectTrigger as pt, PromptInputHeaderProps as q, PendingToolApproval as r, PromptInputProps as rt, PromptInputActionAddAttachmentsProps as s, PromptInputSelect as st, AttachmentsContext as t, PromptInputPermissionSelector as tt, PromptInputActionMenu as u, PromptInputSelectItem as ut, PromptInputApproval as v, PromptInputSubmitProps as vt, PromptInputBody as w, PromptInputTabLabel as wt, PromptInputAttachmentProps as x, PromptInputTabBodyProps as xt, PromptInputApprovalProps as y, PromptInputTab as yt, PromptInputCommandListProps as z, getPendingToolApprovals as zt };
752
+ export { PromptInputHoverCardTrigger as $, PromptInputCommandEmptyProps as A, getPendingToolApprovals as At, PromptInputCommandSeparator as B, PromptInputBody as C, PromptInputTools as Ct, PromptInputButtonTooltip as D, TooltipSide as Dt, PromptInputButtonProps as E, TextInputContext as Et, PromptInputCommandItem as F, PromptInputFooter as G, PromptInputControllerProps as H, PromptInputCommandItemProps as I, PromptInputHeaderProps as J, PromptInputFooterProps as K, PromptInputCommandList as L, PromptInputCommandGroupProps as M, usePromptInputController as Mt, PromptInputCommandInput as N, useProviderAttachments as Nt, PromptInputCommand as O, getApprovalRequestId as Ot, PromptInputCommandInputProps as P, PromptInputHoverCardProps as Q, PromptInputCommandListProps as R, PromptInputAttachmentsProps as S, PromptInputTextareaProps as St, PromptInputButton as T, PromptInputTooltipConfig as Tt, PromptInputDictation as U, PromptInputCommandSeparatorProps as V, PromptInputDictationProps as W, PromptInputHoverCardContent as X, PromptInputHoverCard as Y, PromptInputHoverCardContentProps as Z, PromptInputApproval as _, PromptInputTabLabelProps as _t, PromptInputActionAddAttachments as a, PromptInputProvider as at, PromptInputAttachmentProps as b, PromptInputTabsListProps as bt, PromptInputActionAddScreenshotProps as c, PromptInputSelectProps as ct, PromptInputActionMenuContentProps as d, PromptInputTab as dt, PromptInputHoverCardTriggerProps as et, PromptInputActionMenuItem as f, PromptInputTabBody as ft, PromptInputActionMenuTriggerProps as g, PromptInputTabLabel as gt, PromptInputActionMenuTrigger as h, PromptInputTabItemProps as ht, PromptInput as i, PromptInputProps as it, PromptInputCommandGroup as j, usePromptInputAttachments as jt, PromptInputCommandEmpty as k, getApprovalStateKey as kt, PromptInputActionMenu as l, PromptInputSubmit as lt, PromptInputActionMenuProps as m, PromptInputTabItem as mt, PendingToolApproval as n, PromptInputPermissionSelector as nt, PromptInputActionAddAttachmentsProps as o, PromptInputProviderProps as ot, PromptInputActionMenuItemProps as p, PromptInputTabBodyProps as pt, PromptInputHeader as q, PermissionMode as r, PromptInputPermissionSelectorProps as rt, PromptInputActionAddScreenshot as s, PromptInputSelect as st, AttachmentsContext as t, PromptInputMessage as tt, PromptInputActionMenuContent as u, PromptInputSubmitProps as ut, PromptInputApprovalProps as v, PromptInputTabProps as vt, PromptInputBodyProps as w, PromptInputToolsProps as wt, PromptInputAttachments as x, PromptInputTextarea as xt, PromptInputAttachment as y, PromptInputTabsList as yt, PromptInputCommandProps as z };