@datalayer/agent-runtimes 0.0.8 → 0.0.10

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 (275) hide show
  1. package/README.md +2 -1
  2. package/lib/{examples/components → components}/AgentConfiguration.d.ts +27 -12
  3. package/lib/{examples/components → components}/AgentConfiguration.js +170 -22
  4. package/lib/{examples/components → components}/FooterMetrics.d.ts +1 -2
  5. package/lib/{examples/components → components}/Header.d.ts +1 -6
  6. package/lib/{examples/components → components}/Header.js +5 -39
  7. package/lib/{examples/components → components}/HeaderControls.d.ts +1 -2
  8. package/lib/{examples/components → components}/HeaderControls.js +1 -1
  9. package/lib/{examples/components → components}/LexicalEditor.d.ts +2 -3
  10. package/lib/{examples/components → components}/LexicalEditor.js +2 -2
  11. package/lib/components/MainContent.d.ts +34 -0
  12. package/lib/{examples/components → components}/MainContent.js +18 -9
  13. package/lib/components/McpServerManager.d.ts +30 -0
  14. package/lib/components/McpServerManager.js +331 -0
  15. package/lib/{examples/components → components}/MockFileBrowser.d.ts +1 -2
  16. package/lib/{examples/components → components}/SessionTabs.d.ts +2 -3
  17. package/lib/{examples/components → components}/TimeTravel.d.ts +1 -2
  18. package/lib/components/chat/components/AgentDetails.d.ts +3 -1
  19. package/lib/components/chat/components/AgentDetails.js +323 -31
  20. package/lib/components/chat/components/Chat.d.ts +37 -3
  21. package/lib/components/chat/components/Chat.js +29 -10
  22. package/lib/components/chat/components/ChatFloating.d.ts +27 -2
  23. package/lib/components/chat/components/ChatFloating.js +17 -10
  24. package/lib/components/chat/components/ChatPopupStandalone.js +1 -1
  25. package/lib/components/chat/components/ChatSidebar.d.ts +1 -1
  26. package/lib/components/chat/components/ChatStandalone.d.ts +1 -1
  27. package/lib/components/chat/components/ChatStandalone.js +1 -1
  28. package/lib/components/chat/components/ContextDistribution.d.ts +70 -6
  29. package/lib/components/chat/components/ContextDistribution.js +11 -4
  30. package/lib/components/chat/components/ContextInspector.d.ts +81 -0
  31. package/lib/components/chat/components/ContextInspector.js +261 -0
  32. package/lib/components/chat/components/ContextPanel.d.ts +112 -0
  33. package/lib/components/chat/components/ContextPanel.js +373 -0
  34. package/lib/components/chat/components/base/ChatBase.d.ts +74 -19
  35. package/lib/components/chat/components/base/ChatBase.js +296 -37
  36. package/lib/components/chat/components/index.d.ts +3 -1
  37. package/lib/components/chat/components/index.js +2 -0
  38. package/lib/components/chat/extensions/ExtensionRegistry.d.ts +1 -1
  39. package/lib/components/chat/extensions/index.d.ts +1 -0
  40. package/lib/components/chat/index.d.ts +3 -3
  41. package/lib/components/chat/protocols/AGUIAdapter.js +24 -4
  42. package/lib/components/chat/protocols/VercelAIAdapter.js +35 -1
  43. package/lib/components/chat/store/chatStore.d.ts +2 -3
  44. package/lib/components/chat/store/conversationStore.d.ts +83 -0
  45. package/lib/components/chat/store/conversationStore.js +174 -0
  46. package/lib/components/chat/store/index.d.ts +2 -1
  47. package/lib/components/chat/store/index.js +1 -0
  48. package/lib/components/chat/types/inference.d.ts +17 -0
  49. package/lib/components/chat/types/protocol.d.ts +10 -0
  50. package/lib/components/index.d.ts +23 -0
  51. package/lib/components/index.js +11 -0
  52. package/lib/config/agents.d.ts +33 -0
  53. package/lib/config/agents.js +424 -0
  54. package/lib/config/index.d.ts +4 -0
  55. package/lib/config/index.js +8 -0
  56. package/lib/config/mcpServers.d.ts +18 -0
  57. package/lib/config/mcpServers.js +129 -0
  58. package/lib/config/skills.d.ts +25 -0
  59. package/lib/config/skills.js +54 -0
  60. package/lib/{lib → config}/utils.d.ts +1 -1
  61. package/lib/{lib → config}/utils.js +2 -2
  62. package/lib/examples/AgentRuntimeLexical2Example.d.ts +1 -0
  63. package/lib/examples/AgentRuntimeLexical2Example.js +3 -2
  64. package/lib/examples/AgentRuntimeLexicalExample.d.ts +1 -0
  65. package/lib/examples/AgentRuntimeLexicalExample.js +5 -3
  66. package/lib/examples/AgentRuntimeLexicalSidebarExample.d.ts +1 -0
  67. package/lib/examples/AgentRuntimeLexicalSidebarExample.js +3 -3
  68. package/lib/examples/AgentRuntimeNotebookExample.js +1 -1
  69. package/lib/examples/AgentSpaceFormExample.d.ts +2 -2
  70. package/lib/examples/AgentSpaceFormExample.js +167 -29
  71. package/lib/examples/CopilotKitLexicalExample.d.ts +1 -0
  72. package/lib/examples/CopilotKitLexicalExample.js +3 -2
  73. package/lib/examples/index.d.ts +1 -0
  74. package/lib/examples/stores/notebooks/NotebookExample2.ipynb.json +43 -43
  75. package/lib/hooks/useAGUI.d.ts +1 -1
  76. package/lib/hooks/useAGUI.js +1 -1
  77. package/lib/identity/types.d.ts +1 -1
  78. package/lib/index.d.ts +2 -0
  79. package/lib/index.js +1 -0
  80. package/lib/runtime/index.d.ts +3 -0
  81. package/lib/runtime/runtimeStore.d.ts +3 -4
  82. package/lib/runtime/useAgentConnection.d.ts +2 -3
  83. package/lib/runtime/useAgentRuntime.d.ts +2 -3
  84. package/lib/stories/Cell.stories.js +1 -1
  85. package/lib/tools/adapters/agent-runtimes/notebookHooks.js +1 -0
  86. package/lib/tools/adapters/copilotkit/notebookHooks.js +1 -0
  87. package/lib/types.d.ts +150 -0
  88. package/package.json +4 -5
  89. package/scripts/apply-patches.sh +32 -0
  90. package/scripts/codegen/generate_agents.py +452 -0
  91. package/scripts/codegen/generate_mcp_servers.py +424 -0
  92. package/scripts/codegen/generate_skills.py +321 -0
  93. package/scripts/download-ai-elements.py +35 -20
  94. package/scripts/sync-jupyter.sh +6 -0
  95. package/lib/components/ui/accordion.d.ts +0 -7
  96. package/lib/components/ui/accordion.js +0 -22
  97. package/lib/components/ui/alert-dialog.d.ts +0 -14
  98. package/lib/components/ui/alert-dialog.js +0 -43
  99. package/lib/components/ui/alert.d.ts +0 -9
  100. package/lib/components/ui/alert.js +0 -24
  101. package/lib/components/ui/aspect-ratio.d.ts +0 -3
  102. package/lib/components/ui/aspect-ratio.js +0 -11
  103. package/lib/components/ui/avatar.d.ts +0 -6
  104. package/lib/components/ui/avatar.js +0 -18
  105. package/lib/components/ui/badge.d.ts +0 -9
  106. package/lib/components/ui/badge.js +0 -22
  107. package/lib/components/ui/breadcrumb.d.ts +0 -11
  108. package/lib/components/ui/breadcrumb.js +0 -27
  109. package/lib/components/ui/button-group.d.ts +0 -11
  110. package/lib/components/ui/button-group.js +0 -31
  111. package/lib/components/ui/button.d.ts +0 -13
  112. package/lib/components/ui/button.js +0 -39
  113. package/lib/components/ui/calendar.d.ts +0 -8
  114. package/lib/components/ui/calendar.js +0 -80
  115. package/lib/components/ui/card.d.ts +0 -9
  116. package/lib/components/ui/card.js +0 -24
  117. package/lib/components/ui/carousel.d.ts +0 -19
  118. package/lib/components/ui/carousel.js +0 -95
  119. package/lib/components/ui/chart.d.ts +0 -53
  120. package/lib/components/ui/chart.js +0 -136
  121. package/lib/components/ui/checkbox.d.ts +0 -4
  122. package/lib/components/ui/checkbox.js +0 -13
  123. package/lib/components/ui/collapsible.d.ts +0 -5
  124. package/lib/components/ui/collapsible.js +0 -17
  125. package/lib/components/ui/command.d.ts +0 -18
  126. package/lib/components/ui/command.js +0 -38
  127. package/lib/components/ui/context-menu.d.ts +0 -25
  128. package/lib/components/ui/context-menu.js +0 -55
  129. package/lib/components/ui/dialog.d.ts +0 -15
  130. package/lib/components/ui/dialog.js +0 -40
  131. package/lib/components/ui/drawer.d.ts +0 -13
  132. package/lib/components/ui/drawer.js +0 -39
  133. package/lib/components/ui/dropdown-menu.d.ts +0 -25
  134. package/lib/components/ui/dropdown-menu.js +0 -55
  135. package/lib/components/ui/empty.d.ts +0 -11
  136. package/lib/components/ui/empty.js +0 -37
  137. package/lib/components/ui/field.d.ts +0 -24
  138. package/lib/components/ui/field.js +0 -80
  139. package/lib/components/ui/form.d.ts +0 -24
  140. package/lib/components/ui/form.js +0 -63
  141. package/lib/components/ui/hover-card.d.ts +0 -6
  142. package/lib/components/ui/hover-card.js +0 -18
  143. package/lib/components/ui/input-group.d.ts +0 -19
  144. package/lib/components/ui/input-group.js +0 -69
  145. package/lib/components/ui/input-otp.d.ts +0 -11
  146. package/lib/components/ui/input-otp.js +0 -25
  147. package/lib/components/ui/input.d.ts +0 -3
  148. package/lib/components/ui/input.js +0 -6
  149. package/lib/components/ui/item.d.ts +0 -23
  150. package/lib/components/ui/item.js +0 -66
  151. package/lib/components/ui/kbd.d.ts +0 -3
  152. package/lib/components/ui/kbd.js +0 -13
  153. package/lib/components/ui/label.d.ts +0 -4
  154. package/lib/components/ui/label.js +0 -12
  155. package/lib/components/ui/menubar.d.ts +0 -26
  156. package/lib/components/ui/menubar.js +0 -58
  157. package/lib/components/ui/navigation-menu.d.ts +0 -14
  158. package/lib/components/ui/navigation-menu.js +0 -31
  159. package/lib/components/ui/pagination.d.ts +0 -13
  160. package/lib/components/ui/pagination.js +0 -29
  161. package/lib/components/ui/popover.d.ts +0 -7
  162. package/lib/components/ui/popover.js +0 -21
  163. package/lib/components/ui/progress.d.ts +0 -4
  164. package/lib/components/ui/progress.js +0 -12
  165. package/lib/components/ui/radio-group.d.ts +0 -5
  166. package/lib/components/ui/radio-group.js +0 -16
  167. package/lib/components/ui/resizable.d.ts +0 -8
  168. package/lib/components/ui/resizable.js +0 -19
  169. package/lib/components/ui/scroll-area.d.ts +0 -5
  170. package/lib/components/ui/scroll-area.js +0 -17
  171. package/lib/components/ui/select.d.ts +0 -15
  172. package/lib/components/ui/select.js +0 -42
  173. package/lib/components/ui/separator.d.ts +0 -4
  174. package/lib/components/ui/separator.js +0 -12
  175. package/lib/components/ui/sheet.d.ts +0 -13
  176. package/lib/components/ui/sheet.js +0 -44
  177. package/lib/components/ui/sidebar.d.ts +0 -69
  178. package/lib/components/ui/sidebar.js +0 -216
  179. package/lib/components/ui/skeleton.d.ts +0 -2
  180. package/lib/components/ui/skeleton.js +0 -10
  181. package/lib/components/ui/slider.d.ts +0 -4
  182. package/lib/components/ui/slider.js +0 -18
  183. package/lib/components/ui/sonner.d.ts +0 -3
  184. package/lib/components/ui/sonner.js +0 -25
  185. package/lib/components/ui/spinner.d.ts +0 -2
  186. package/lib/components/ui/spinner.js +0 -11
  187. package/lib/components/ui/switch.d.ts +0 -4
  188. package/lib/components/ui/switch.js +0 -12
  189. package/lib/components/ui/table.d.ts +0 -10
  190. package/lib/components/ui/table.js +0 -32
  191. package/lib/components/ui/tabs.d.ts +0 -7
  192. package/lib/components/ui/tabs.js +0 -21
  193. package/lib/components/ui/textarea.d.ts +0 -3
  194. package/lib/components/ui/textarea.js +0 -6
  195. package/lib/components/ui/toast.d.ts +0 -15
  196. package/lib/components/ui/toast.js +0 -38
  197. package/lib/components/ui/toaster.d.ts +0 -1
  198. package/lib/components/ui/toaster.js +0 -14
  199. package/lib/components/ui/toggle-group.d.ts +0 -9
  200. package/lib/components/ui/toggle-group.js +0 -26
  201. package/lib/components/ui/toggle.d.ts +0 -9
  202. package/lib/components/ui/toggle.js +0 -30
  203. package/lib/components/ui/tooltip.d.ts +0 -7
  204. package/lib/components/ui/tooltip.js +0 -21
  205. package/lib/components/vercel-ai-elements/artifact.d.ts +0 -23
  206. package/lib/components/vercel-ai-elements/artifact.js +0 -24
  207. package/lib/components/vercel-ai-elements/code-block.d.ts +0 -17
  208. package/lib/components/vercel-ai-elements/code-block.js +0 -94
  209. package/lib/components/vercel-ai-elements/conversation.d.ts +0 -15
  210. package/lib/components/vercel-ai-elements/conversation.js +0 -21
  211. package/lib/components/vercel-ai-elements/loader.d.ts +0 -5
  212. package/lib/components/vercel-ai-elements/loader.js +0 -8
  213. package/lib/components/vercel-ai-elements/message.d.ts +0 -46
  214. package/lib/components/vercel-ai-elements/message.js +0 -109
  215. package/lib/components/vercel-ai-elements/model-selector.d.ts +0 -35
  216. package/lib/components/vercel-ai-elements/model-selector.js +0 -22
  217. package/lib/components/vercel-ai-elements/prompt-input.d.ts +0 -195
  218. package/lib/components/vercel-ai-elements/prompt-input.js +0 -589
  219. package/lib/components/vercel-ai-elements/reasoning.d.ts +0 -26
  220. package/lib/components/vercel-ai-elements/reasoning.js +0 -80
  221. package/lib/components/vercel-ai-elements/shimmer.d.ts +0 -9
  222. package/lib/components/vercel-ai-elements/shimmer.js +0 -22
  223. package/lib/components/vercel-ai-elements/sources.d.ts +0 -12
  224. package/lib/components/vercel-ai-elements/sources.js +0 -13
  225. package/lib/components/vercel-ai-elements/suggestion.d.ts +0 -10
  226. package/lib/components/vercel-ai-elements/suggestion.js +0 -16
  227. package/lib/components/vercel-ai-elements/tool.d.ts +0 -23
  228. package/lib/components/vercel-ai-elements/tool.js +0 -52
  229. package/lib/examples/components/MainContent.d.ts +0 -19
  230. package/lib/examples/components/index.d.ts +0 -10
  231. package/lib/examples/components/index.js +0 -13
  232. package/lib/examples/vercel-ai-elements/VercelAiElementsShowcase.d.ts +0 -12
  233. package/lib/examples/vercel-ai-elements/VercelAiElementsShowcase.js +0 -69
  234. package/lib/examples/vercel-ai-elements/components/ArtifactShowcase.d.ts +0 -1
  235. package/lib/examples/vercel-ai-elements/components/ArtifactShowcase.js +0 -85
  236. package/lib/examples/vercel-ai-elements/components/CodeBlockShowcase.d.ts +0 -1
  237. package/lib/examples/vercel-ai-elements/components/CodeBlockShowcase.js +0 -62
  238. package/lib/examples/vercel-ai-elements/components/ConversationShowcase.d.ts +0 -1
  239. package/lib/examples/vercel-ai-elements/components/ConversationShowcase.js +0 -51
  240. package/lib/examples/vercel-ai-elements/components/LoaderShowcase.d.ts +0 -1
  241. package/lib/examples/vercel-ai-elements/components/LoaderShowcase.js +0 -9
  242. package/lib/examples/vercel-ai-elements/components/MessageShowcase.d.ts +0 -1
  243. package/lib/examples/vercel-ai-elements/components/MessageShowcase.js +0 -56
  244. package/lib/examples/vercel-ai-elements/components/ModelSelectorShowcase.d.ts +0 -1
  245. package/lib/examples/vercel-ai-elements/components/ModelSelectorShowcase.js +0 -50
  246. package/lib/examples/vercel-ai-elements/components/PromptInputShowcase.d.ts +0 -1
  247. package/lib/examples/vercel-ai-elements/components/PromptInputShowcase.js +0 -16
  248. package/lib/examples/vercel-ai-elements/components/ReasoningShowcase.d.ts +0 -1
  249. package/lib/examples/vercel-ai-elements/components/ReasoningShowcase.js +0 -72
  250. package/lib/examples/vercel-ai-elements/components/ShimmerShowcase.d.ts +0 -1
  251. package/lib/examples/vercel-ai-elements/components/ShimmerShowcase.js +0 -9
  252. package/lib/examples/vercel-ai-elements/components/SourcesShowcase.d.ts +0 -1
  253. package/lib/examples/vercel-ai-elements/components/SourcesShowcase.js +0 -43
  254. package/lib/examples/vercel-ai-elements/components/SuggestionShowcase.d.ts +0 -1
  255. package/lib/examples/vercel-ai-elements/components/SuggestionShowcase.js +0 -31
  256. package/lib/examples/vercel-ai-elements/components/ToolShowcase.d.ts +0 -1
  257. package/lib/examples/vercel-ai-elements/components/ToolShowcase.js +0 -54
  258. package/lib/examples/vercel-ai-elements/index.d.ts +0 -13
  259. package/lib/examples/vercel-ai-elements/index.js +0 -17
  260. package/lib/examples/vercel-ai-elements/main.d.ts +0 -1
  261. package/lib/examples/vercel-ai-elements/main.js +0 -9
  262. package/lib/examples/vercel-ai-elements/showcase.css +0 -128
  263. package/lib/hooks/useToast.d.ts +0 -44
  264. package/lib/hooks/useToast.js +0 -128
  265. package/patches/@datalayer+jupyter-lexical+1.0.8.patch +0 -11628
  266. package/patches/@datalayer+jupyter-react+2.0.2.patch +0 -5338
  267. package/style/showcase-vercel-ai.css +0 -137
  268. /package/lib/{examples/components → components}/FooterMetrics.js +0 -0
  269. /package/lib/{examples/components → components}/MockFileBrowser.js +0 -0
  270. /package/lib/{examples/components → components}/SessionTabs.js +0 -0
  271. /package/lib/{examples/components → components}/TimeTravel.js +0 -0
  272. /package/lib/{models → types}/AIAgent.d.ts +0 -0
  273. /package/lib/{models → types}/AIAgent.js +0 -0
  274. /package/lib/{models → types}/index.d.ts +0 -0
  275. /package/lib/{models → types}/index.js +0 -0
@@ -1,109 +0,0 @@
1
- /*
2
- * Copyright (c) 2025-2026 Datalayer, Inc.
3
- * Distributed under the terms of the Modified BSD License.
4
- */
5
- 'use client';
6
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
7
- import { Button } from '@/components/ui/button';
8
- import { ButtonGroup, ButtonGroupText } from '@/components/ui/button-group';
9
- import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from '@/components/ui/tooltip';
10
- import { cn } from '@/lib/utils';
11
- import { ChevronLeftIcon, ChevronRightIcon, PaperclipIcon, XIcon, } from 'lucide-react';
12
- import { createContext, memo, useContext, useEffect, useState } from 'react';
13
- import { Streamdown } from 'streamdown';
14
- export const Message = ({ className, from, ...props }) => (_jsx("div", { className: cn('group flex w-full max-w-[95%] flex-col gap-2', from === 'user' ? 'is-user ml-auto justify-end' : 'is-assistant', className), ...props }));
15
- export const MessageContent = ({ children, className, ...props }) => (_jsx("div", { className: cn('is-user:dark flex w-fit max-w-full min-w-0 flex-col gap-2 overflow-hidden text-sm', 'group-[.is-user]:ml-auto group-[.is-user]:rounded-lg group-[.is-user]:bg-secondary group-[.is-user]:px-4 group-[.is-user]:py-3 group-[.is-user]:text-foreground', 'group-[.is-assistant]:text-foreground', className), ...props, children: children }));
16
- export const MessageActions = ({ className, children, ...props }) => (_jsx("div", { className: cn('flex items-center gap-1', className), ...props, children: children }));
17
- export const MessageAction = ({ tooltip, children, label, variant = 'ghost', size = 'icon-sm', ...props }) => {
18
- const button = (_jsxs(Button, { size: size, type: "button", variant: variant, ...props, children: [children, _jsx("span", { className: "sr-only", children: label || tooltip })] }));
19
- if (tooltip) {
20
- return (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: button }), _jsx(TooltipContent, { children: _jsx("p", { children: tooltip }) })] }) }));
21
- }
22
- return button;
23
- };
24
- const MessageBranchContext = createContext(null);
25
- const useMessageBranch = () => {
26
- const context = useContext(MessageBranchContext);
27
- if (!context) {
28
- throw new Error('MessageBranch components must be used within MessageBranch');
29
- }
30
- return context;
31
- };
32
- export const MessageBranch = ({ defaultBranch = 0, onBranchChange, className, ...props }) => {
33
- const [currentBranch, setCurrentBranch] = useState(defaultBranch);
34
- const [branches, setBranches] = useState([]);
35
- const handleBranchChange = (newBranch) => {
36
- setCurrentBranch(newBranch);
37
- onBranchChange?.(newBranch);
38
- };
39
- const goToPrevious = () => {
40
- const newBranch = currentBranch > 0 ? currentBranch - 1 : branches.length - 1;
41
- handleBranchChange(newBranch);
42
- };
43
- const goToNext = () => {
44
- const newBranch = currentBranch < branches.length - 1 ? currentBranch + 1 : 0;
45
- handleBranchChange(newBranch);
46
- };
47
- const contextValue = {
48
- currentBranch,
49
- totalBranches: branches.length,
50
- goToPrevious,
51
- goToNext,
52
- branches,
53
- setBranches,
54
- };
55
- return (_jsx(MessageBranchContext.Provider, { value: contextValue, children: _jsx("div", { className: cn('grid w-full gap-2 [&>div]:pb-0', className), ...props }) }));
56
- };
57
- export const MessageBranchContent = ({ children, ...props }) => {
58
- const { currentBranch, setBranches, branches } = useMessageBranch();
59
- const childrenArray = Array.isArray(children) ? children : [children];
60
- // Use useEffect to update branches when they change
61
- useEffect(() => {
62
- if (branches.length !== childrenArray.length) {
63
- setBranches(childrenArray);
64
- }
65
- }, [childrenArray, branches, setBranches]);
66
- return childrenArray.map((branch, index) => (_jsx("div", { className: cn('grid gap-2 overflow-hidden [&>div]:pb-0', index === currentBranch ? 'block' : 'hidden'), ...props, children: branch }, branch.key)));
67
- };
68
- export const MessageBranchSelector = ({ className, from, ...props }) => {
69
- const { totalBranches } = useMessageBranch();
70
- // Don't render if there's only one branch
71
- if (totalBranches <= 1) {
72
- return null;
73
- }
74
- return (_jsx(ButtonGroup, { className: "[&>*:not(:first-child)]:rounded-l-md [&>*:not(:last-child)]:rounded-r-md", orientation: "horizontal", ...props }));
75
- };
76
- export const MessageBranchPrevious = ({ children, ...props }) => {
77
- const { goToPrevious, totalBranches } = useMessageBranch();
78
- return (_jsx(Button, { "aria-label": "Previous branch", disabled: totalBranches <= 1, onClick: goToPrevious, size: "icon-sm", type: "button", variant: "ghost", ...props, children: children ?? _jsx(ChevronLeftIcon, { size: 14 }) }));
79
- };
80
- export const MessageBranchNext = ({ children, className, ...props }) => {
81
- const { goToNext, totalBranches } = useMessageBranch();
82
- return (_jsx(Button, { "aria-label": "Next branch", disabled: totalBranches <= 1, onClick: goToNext, size: "icon-sm", type: "button", variant: "ghost", ...props, children: children ?? _jsx(ChevronRightIcon, { size: 14 }) }));
83
- };
84
- export const MessageBranchPage = ({ className, ...props }) => {
85
- const { currentBranch, totalBranches } = useMessageBranch();
86
- return (_jsxs(ButtonGroupText, { className: cn('border-none bg-transparent text-muted-foreground shadow-none', className), ...props, children: [currentBranch + 1, " of ", totalBranches] }));
87
- };
88
- export const MessageResponse = memo(({ className, ...props }) => (_jsx(Streamdown, { className: cn('size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0', className), ...props })), (prevProps, nextProps) => prevProps.children === nextProps.children);
89
- MessageResponse.displayName = 'MessageResponse';
90
- export function MessageAttachment({ data, className, onRemove, ...props }) {
91
- const filename = data.filename || '';
92
- const mediaType = data.mediaType?.startsWith('image/') && data.url ? 'image' : 'file';
93
- const isImage = mediaType === 'image';
94
- const attachmentLabel = filename || (isImage ? 'Image' : 'Attachment');
95
- return (_jsx("div", { className: cn('group relative size-24 overflow-hidden rounded-lg', className), ...props, children: isImage ? (_jsxs(_Fragment, { children: [_jsx("img", { alt: filename || 'attachment', className: "size-full object-cover", height: 100, src: data.url, width: 100 }), onRemove && (_jsxs(Button, { "aria-label": "Remove attachment", className: "absolute top-2 right-2 size-6 rounded-full bg-background/80 p-0 opacity-0 backdrop-blur-sm transition-opacity hover:bg-background group-hover:opacity-100 [&>svg]:size-3", onClick: e => {
96
- e.stopPropagation();
97
- onRemove();
98
- }, type: "button", variant: "ghost", children: [_jsx(XIcon, {}), _jsx("span", { className: "sr-only", children: "Remove" })] }))] })) : (_jsxs(_Fragment, { children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("div", { className: "flex size-full shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground", children: _jsx(PaperclipIcon, { className: "size-4" }) }) }), _jsx(TooltipContent, { children: _jsx("p", { children: attachmentLabel }) })] }), onRemove && (_jsxs(Button, { "aria-label": "Remove attachment", className: "size-6 shrink-0 rounded-full p-0 opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 [&>svg]:size-3", onClick: e => {
99
- e.stopPropagation();
100
- onRemove();
101
- }, type: "button", variant: "ghost", children: [_jsx(XIcon, {}), _jsx("span", { className: "sr-only", children: "Remove" })] }))] })) }));
102
- }
103
- export function MessageAttachments({ children, className, ...props }) {
104
- if (!children) {
105
- return null;
106
- }
107
- return (_jsx("div", { className: cn('ml-auto flex w-fit flex-wrap items-start gap-2', className), ...props, children: children }));
108
- }
109
- export const MessageToolbar = ({ className, children, ...props }) => (_jsx("div", { className: cn('mt-4 flex w-full items-center justify-between gap-4', className), ...props, children: children }));
@@ -1,35 +0,0 @@
1
- import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from '@/components/ui/command';
2
- import { Dialog, DialogContent, DialogTrigger } from '@/components/ui/dialog';
3
- import type { ComponentProps, ReactNode } from 'react';
4
- export type ModelSelectorProps = ComponentProps<typeof Dialog>;
5
- export declare const ModelSelector: (props: ModelSelectorProps) => import("react/jsx-runtime").JSX.Element;
6
- export type ModelSelectorTriggerProps = ComponentProps<typeof DialogTrigger>;
7
- export declare const ModelSelectorTrigger: (props: ModelSelectorTriggerProps) => import("react/jsx-runtime").JSX.Element;
8
- export type ModelSelectorContentProps = ComponentProps<typeof DialogContent> & {
9
- title?: ReactNode;
10
- };
11
- export declare const ModelSelectorContent: ({ className, children, title, ...props }: ModelSelectorContentProps) => import("react/jsx-runtime").JSX.Element;
12
- export type ModelSelectorDialogProps = ComponentProps<typeof CommandDialog>;
13
- export declare const ModelSelectorDialog: (props: ModelSelectorDialogProps) => import("react/jsx-runtime").JSX.Element;
14
- export type ModelSelectorInputProps = ComponentProps<typeof CommandInput>;
15
- export declare const ModelSelectorInput: ({ className, ...props }: ModelSelectorInputProps) => import("react/jsx-runtime").JSX.Element;
16
- export type ModelSelectorListProps = ComponentProps<typeof CommandList>;
17
- export declare const ModelSelectorList: (props: ModelSelectorListProps) => import("react/jsx-runtime").JSX.Element;
18
- export type ModelSelectorEmptyProps = ComponentProps<typeof CommandEmpty>;
19
- export declare const ModelSelectorEmpty: (props: ModelSelectorEmptyProps) => import("react/jsx-runtime").JSX.Element;
20
- export type ModelSelectorGroupProps = ComponentProps<typeof CommandGroup>;
21
- export declare const ModelSelectorGroup: (props: ModelSelectorGroupProps) => import("react/jsx-runtime").JSX.Element;
22
- export type ModelSelectorItemProps = ComponentProps<typeof CommandItem>;
23
- export declare const ModelSelectorItem: (props: ModelSelectorItemProps) => import("react/jsx-runtime").JSX.Element;
24
- export type ModelSelectorShortcutProps = ComponentProps<typeof CommandShortcut>;
25
- export declare const ModelSelectorShortcut: (props: ModelSelectorShortcutProps) => import("react/jsx-runtime").JSX.Element;
26
- export type ModelSelectorSeparatorProps = ComponentProps<typeof CommandSeparator>;
27
- export declare const ModelSelectorSeparator: (props: ModelSelectorSeparatorProps) => import("react/jsx-runtime").JSX.Element;
28
- export type ModelSelectorLogoProps = Omit<ComponentProps<'img'>, 'src' | 'alt'> & {
29
- provider: 'moonshotai-cn' | 'lucidquery' | 'moonshotai' | 'zai-coding-plan' | 'alibaba' | 'xai' | 'vultr' | 'nvidia' | 'upstage' | 'groq' | 'github-copilot' | 'mistral' | 'vercel' | 'nebius' | 'deepseek' | 'alibaba-cn' | 'google-vertex-anthropic' | 'venice' | 'chutes' | 'cortecs' | 'github-models' | 'togetherai' | 'azure' | 'baseten' | 'huggingface' | 'opencode' | 'fastrouter' | 'google' | 'google-vertex' | 'cloudflare-workers-ai' | 'inception' | 'wandb' | 'openai' | 'zhipuai-coding-plan' | 'perplexity' | 'openrouter' | 'zenmux' | 'v0' | 'iflowcn' | 'synthetic' | 'deepinfra' | 'zhipuai' | 'submodel' | 'zai' | 'inference' | 'requesty' | 'morph' | 'lmstudio' | 'anthropic' | 'aihubmix' | 'fireworks-ai' | 'modelscope' | 'llama' | 'scaleway' | 'amazon-bedrock' | 'cerebras' | (string & {});
30
- };
31
- export declare const ModelSelectorLogo: ({ provider, className, ...props }: ModelSelectorLogoProps) => import("react/jsx-runtime").JSX.Element;
32
- export type ModelSelectorLogoGroupProps = ComponentProps<'div'>;
33
- export declare const ModelSelectorLogoGroup: ({ className, ...props }: ModelSelectorLogoGroupProps) => import("react/jsx-runtime").JSX.Element;
34
- export type ModelSelectorNameProps = ComponentProps<'span'>;
35
- export declare const ModelSelectorName: ({ className, ...props }: ModelSelectorNameProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /*
3
- * Copyright (c) 2025-2026 Datalayer, Inc.
4
- * Distributed under the terms of the Modified BSD License.
5
- */
6
- import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from '@/components/ui/command';
7
- import { Dialog, DialogContent, DialogTitle, DialogTrigger, } from '@/components/ui/dialog';
8
- import { cn } from '@/lib/utils';
9
- export const ModelSelector = (props) => (_jsx(Dialog, { ...props }));
10
- export const ModelSelectorTrigger = (props) => (_jsx(DialogTrigger, { ...props }));
11
- export const ModelSelectorContent = ({ className, children, title = 'Model Selector', ...props }) => (_jsxs(DialogContent, { className: cn('p-0', className), ...props, children: [_jsx(DialogTitle, { className: "sr-only", children: title }), _jsx(Command, { className: "**:data-[slot=command-input-wrapper]:h-auto", children: children })] }));
12
- export const ModelSelectorDialog = (props) => (_jsx(CommandDialog, { ...props }));
13
- export const ModelSelectorInput = ({ className, ...props }) => (_jsx(CommandInput, { className: cn('h-auto py-3.5', className), ...props }));
14
- export const ModelSelectorList = (props) => (_jsx(CommandList, { ...props }));
15
- export const ModelSelectorEmpty = (props) => (_jsx(CommandEmpty, { ...props }));
16
- export const ModelSelectorGroup = (props) => (_jsx(CommandGroup, { ...props }));
17
- export const ModelSelectorItem = (props) => (_jsx(CommandItem, { ...props }));
18
- export const ModelSelectorShortcut = (props) => (_jsx(CommandShortcut, { ...props }));
19
- export const ModelSelectorSeparator = (props) => (_jsx(CommandSeparator, { ...props }));
20
- export const ModelSelectorLogo = ({ provider, className, ...props }) => (_jsx("img", { ...props, alt: `${provider} logo`, className: cn('size-3 dark:invert', className), height: 12, src: `https://models.dev/logos/${provider}.svg`, width: 12 }));
21
- export const ModelSelectorLogoGroup = ({ className, ...props }) => (_jsx("div", { className: cn('-space-x-1 flex shrink-0 items-center [&>img]:rounded-full [&>img]:bg-background [&>img]:p-px [&>img]:ring-1 dark:[&>img]:bg-foreground', className), ...props }));
22
- export const ModelSelectorName = ({ className, ...props }) => (_jsx("span", { className: cn('flex-1 truncate text-left', className), ...props }));
@@ -1,195 +0,0 @@
1
- import * as React from 'react';
2
- import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from '@/components/ui/command';
3
- import { DropdownMenu, DropdownMenuContent, DropdownMenuItem } from '@/components/ui/dropdown-menu';
4
- import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/components/ui/hover-card';
5
- import { InputGroupAddon, InputGroupButton, InputGroupTextarea } from '@/components/ui/input-group';
6
- import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
7
- import type { ChatStatus, FileUIPart } from 'ai';
8
- import { type ComponentProps, type FormEvent, type HTMLAttributes, type PropsWithChildren, type ReactNode, type RefObject } from 'react';
9
- export type AttachmentsContext = {
10
- files: (FileUIPart & {
11
- id: string;
12
- })[];
13
- add: (files: File[] | FileList) => void;
14
- remove: (id: string) => void;
15
- clear: () => void;
16
- openFileDialog: () => void;
17
- fileInputRef: RefObject<HTMLInputElement | null>;
18
- };
19
- export type TextInputContext = {
20
- value: string;
21
- setInput: (v: string) => void;
22
- clear: () => void;
23
- };
24
- export type PromptInputControllerProps = {
25
- textInput: TextInputContext;
26
- attachments: AttachmentsContext;
27
- /** INTERNAL: Allows PromptInput to register its file textInput + "open" callback */
28
- __registerFileInput: (ref: RefObject<HTMLInputElement | null>, open: () => void) => void;
29
- };
30
- export declare const usePromptInputController: () => PromptInputControllerProps;
31
- export declare const useProviderAttachments: () => AttachmentsContext;
32
- export type PromptInputProviderProps = PropsWithChildren<{
33
- initialInput?: string;
34
- }>;
35
- /**
36
- * Optional global provider that lifts PromptInput state outside of PromptInput.
37
- * If you don't use it, PromptInput stays fully self-managed.
38
- */
39
- export declare function PromptInputProvider({ initialInput: initialTextInput, children, }: PromptInputProviderProps): import("react/jsx-runtime").JSX.Element;
40
- export declare const usePromptInputAttachments: () => AttachmentsContext;
41
- export type PromptInputAttachmentProps = HTMLAttributes<HTMLDivElement> & {
42
- data: FileUIPart & {
43
- id: string;
44
- };
45
- className?: string;
46
- };
47
- export declare function PromptInputAttachment({ data, className, ...props }: PromptInputAttachmentProps): import("react/jsx-runtime").JSX.Element;
48
- export type PromptInputAttachmentsProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
49
- children: (attachment: FileUIPart & {
50
- id: string;
51
- }) => ReactNode;
52
- };
53
- export declare function PromptInputAttachments({ children, className, ...props }: PromptInputAttachmentsProps): import("react/jsx-runtime").JSX.Element | null;
54
- export type PromptInputActionAddAttachmentsProps = ComponentProps<typeof InputGroupButton> & {
55
- label?: string;
56
- };
57
- export declare const PromptInputActionAddAttachments: ({ label, children, ...props }: PromptInputActionAddAttachmentsProps) => import("react/jsx-runtime").JSX.Element;
58
- export type PromptInputMessage = {
59
- text: string;
60
- files: FileUIPart[];
61
- };
62
- export type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, 'onSubmit' | 'onError'> & {
63
- accept?: string;
64
- multiple?: boolean;
65
- globalDrop?: boolean;
66
- syncHiddenInput?: boolean;
67
- maxFiles?: number;
68
- maxFileSize?: number;
69
- onError?: (err: {
70
- code: 'max_files' | 'max_file_size' | 'accept';
71
- message: string;
72
- }) => void;
73
- onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
74
- };
75
- export declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, onError, onSubmit, children, ...props }: PromptInputProps) => import("react/jsx-runtime").JSX.Element;
76
- export type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
77
- export declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => import("react/jsx-runtime").JSX.Element;
78
- export type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
79
- export declare const PromptInputTextarea: ({ onChange, className, placeholder, ...props }: PromptInputTextareaProps) => import("react/jsx-runtime").JSX.Element;
80
- export type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, 'align'>;
81
- export declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => import("react/jsx-runtime").JSX.Element;
82
- export type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, 'align'>;
83
- export declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => import("react/jsx-runtime").JSX.Element;
84
- export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
85
- export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react/jsx-runtime").JSX.Element;
86
- export type PromptInputButtonProps = ComponentProps<typeof InputGroupButton>;
87
- export declare const PromptInputButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & import("class-variance-authority").VariantProps<(props?: ({
88
- variant?: "link" | "default" | "outline" | "secondary" | "destructive" | "ghost" | null | undefined;
89
- size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
90
- } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
91
- asChild?: boolean;
92
- }, "ref"> & React.RefAttributes<HTMLButtonElement>, "size"> & import("class-variance-authority").VariantProps<(props?: ({
93
- size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
94
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
95
- export type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
96
- export declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => import("react/jsx-runtime").JSX.Element;
97
- export type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
98
- export declare const PromptInputActionMenuTrigger: ({ className, children, ...props }: PromptInputActionMenuTriggerProps) => import("react/jsx-runtime").JSX.Element;
99
- export type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
100
- export declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => import("react/jsx-runtime").JSX.Element;
101
- export type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
102
- export declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => import("react/jsx-runtime").JSX.Element;
103
- export type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
104
- status?: ChatStatus;
105
- };
106
- export declare const PromptInputSubmit: ({ className, variant, size, status, children, ...props }: PromptInputSubmitProps) => import("react/jsx-runtime").JSX.Element;
107
- interface SpeechRecognition extends EventTarget {
108
- continuous: boolean;
109
- interimResults: boolean;
110
- lang: string;
111
- start(): void;
112
- stop(): void;
113
- onstart: ((this: SpeechRecognition, ev: Event) => any) | null;
114
- onend: ((this: SpeechRecognition, ev: Event) => any) | null;
115
- onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => any) | null;
116
- onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => any) | null;
117
- }
118
- interface SpeechRecognitionEvent extends Event {
119
- results: SpeechRecognitionResultList;
120
- resultIndex: number;
121
- }
122
- type SpeechRecognitionResultList = {
123
- readonly length: number;
124
- item(index: number): SpeechRecognitionResult;
125
- [index: number]: SpeechRecognitionResult;
126
- };
127
- type SpeechRecognitionResult = {
128
- readonly length: number;
129
- item(index: number): SpeechRecognitionAlternative;
130
- [index: number]: SpeechRecognitionAlternative;
131
- isFinal: boolean;
132
- };
133
- type SpeechRecognitionAlternative = {
134
- transcript: string;
135
- confidence: number;
136
- };
137
- interface SpeechRecognitionErrorEvent extends Event {
138
- error: string;
139
- }
140
- declare global {
141
- interface Window {
142
- SpeechRecognition: {
143
- new (): SpeechRecognition;
144
- };
145
- webkitSpeechRecognition: {
146
- new (): SpeechRecognition;
147
- };
148
- }
149
- }
150
- export type PromptInputSpeechButtonProps = ComponentProps<typeof PromptInputButton> & {
151
- textareaRef?: RefObject<HTMLTextAreaElement | null>;
152
- onTranscriptionChange?: (text: string) => void;
153
- };
154
- export declare const PromptInputSpeechButton: ({ className, textareaRef, onTranscriptionChange, ...props }: PromptInputSpeechButtonProps) => import("react/jsx-runtime").JSX.Element;
155
- export type PromptInputSelectProps = ComponentProps<typeof Select>;
156
- export declare const PromptInputSelect: (props: PromptInputSelectProps) => import("react/jsx-runtime").JSX.Element;
157
- export type PromptInputSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
158
- export declare const PromptInputSelectTrigger: ({ className, ...props }: PromptInputSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
159
- export type PromptInputSelectContentProps = ComponentProps<typeof SelectContent>;
160
- export declare const PromptInputSelectContent: ({ className, ...props }: PromptInputSelectContentProps) => import("react/jsx-runtime").JSX.Element;
161
- export type PromptInputSelectItemProps = ComponentProps<typeof SelectItem>;
162
- export declare const PromptInputSelectItem: ({ className, ...props }: PromptInputSelectItemProps) => import("react/jsx-runtime").JSX.Element;
163
- export type PromptInputSelectValueProps = ComponentProps<typeof SelectValue>;
164
- export declare const PromptInputSelectValue: ({ className, ...props }: PromptInputSelectValueProps) => import("react/jsx-runtime").JSX.Element;
165
- export type PromptInputHoverCardProps = ComponentProps<typeof HoverCard>;
166
- export declare const PromptInputHoverCard: ({ openDelay, closeDelay, ...props }: PromptInputHoverCardProps) => import("react/jsx-runtime").JSX.Element;
167
- export type PromptInputHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
168
- export declare const PromptInputHoverCardTrigger: (props: PromptInputHoverCardTriggerProps) => import("react/jsx-runtime").JSX.Element;
169
- export type PromptInputHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
170
- export declare const PromptInputHoverCardContent: ({ align, ...props }: PromptInputHoverCardContentProps) => import("react/jsx-runtime").JSX.Element;
171
- export type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
172
- export declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => import("react/jsx-runtime").JSX.Element;
173
- export type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
174
- export declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => import("react/jsx-runtime").JSX.Element;
175
- export type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
176
- export declare const PromptInputTabLabel: ({ className, ...props }: PromptInputTabLabelProps) => import("react/jsx-runtime").JSX.Element;
177
- export type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
178
- export declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => import("react/jsx-runtime").JSX.Element;
179
- export type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
180
- export declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => import("react/jsx-runtime").JSX.Element;
181
- export type PromptInputCommandProps = ComponentProps<typeof Command>;
182
- export declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => import("react/jsx-runtime").JSX.Element;
183
- export type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
184
- export declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => import("react/jsx-runtime").JSX.Element;
185
- export type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
186
- export declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => import("react/jsx-runtime").JSX.Element;
187
- export type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
188
- export declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => import("react/jsx-runtime").JSX.Element;
189
- export type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
190
- export declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => import("react/jsx-runtime").JSX.Element;
191
- export type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
192
- export declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => import("react/jsx-runtime").JSX.Element;
193
- export type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
194
- export declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => import("react/jsx-runtime").JSX.Element;
195
- export {};