@mcp-b/react-components 0.34.1 → 0.36.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.
- package/dist/{AgentChat-CV-GuYA6.d.ts → AgentChat-CVO7xyLC.d.ts} +22 -3
- package/dist/{CodeBlock-CM5gfmdq.js → CodeBlock-Bk4nn7l-.js} +4 -3
- package/dist/{CodeBlock-DzGhYyNe.d.ts → CodeBlock-C380GD5t.d.ts} +2 -5
- package/dist/{Dialog-DeOSJ0Oy.d.ts → Dialog-B_FhRWaz.d.ts} +22 -37
- package/dist/{Menu-DVmjBIuM.d.ts → Menu-yb6QXWA3.d.ts} +64 -75
- package/dist/{PromptInput-DOyee1kM.d.ts → PromptInput-BRX7FhjH.d.ts} +7 -272
- package/dist/ResponsiveSidebarShell-DWjULskY.d.ts +68 -0
- package/dist/{Select-D96d09ww.d.ts → Select-RrceeEIe.d.ts} +17 -52
- package/dist/{ThinkChat-en0UbkVv.js → ThinkChat-ByR-QT_D.js} +19 -12
- package/dist/{ThinkChatActivity-CgqpROz_.d.ts → ThinkChatActivity-Dkmm2pIj.d.ts} +1 -1
- package/dist/{ToggleGroup-CSBWfPXo.d.ts → ToggleGroup-BrQZOQn_.d.ts} +4 -6
- package/dist/{WorkspaceFile-C8Riev9j.d.ts → WorkspaceFile-BLaFmMrt.d.ts} +18 -2
- package/dist/{WorkspaceFileView-BtzVKAed.js → WorkspaceFileView-DTHJLKW_.js} +11 -17
- package/dist/components/agents-sdk/AgentChat.d.ts +2 -2
- package/dist/components/agents-sdk/AgentChat.js +47 -26
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +47 -1
- package/dist/components/agents-sdk/BrowserReplay.d.ts +40 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +14 -15
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +17 -24
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +19 -17
- package/dist/components/agents-sdk/ModelSelector.d.ts +9 -9
- package/dist/components/agents-sdk/ModelSelector.js +504 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/SubagentRunDetails.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +18 -95
- package/dist/components/agents-sdk/ThinkChat.js +2 -12
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +2 -4
- package/dist/components/agents-sdk/ThinkChatActivity.js +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +3 -8
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +5 -3
- package/dist/components/agents-sdk/ThinkExecutionRun.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +2 -2
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +4 -4
- package/dist/components/agents-sdk/ThinkFullApp.js +12 -14
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkPendingApproval.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +5 -4
- package/dist/components/agents-sdk/ThinkRoutineForm.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +2 -3
- package/dist/components/agents-sdk/ThinkRoutineLibrary.js +11 -15
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -4
- package/dist/components/agents-sdk/ThinkThreadShell.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +140 -2
- package/dist/components/agents-sdk/Workspace.js +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +32 -5
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -5
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceFile.js +41 -4
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/ai-sdk/Activity.d.ts +5 -0
- package/dist/components/ai-sdk/Activity.js +33 -13
- package/dist/components/ai-sdk/Approval.d.ts +1 -2
- package/dist/components/ai-sdk/Approval.js +4 -7
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/Message.js +2 -6
- package/dist/components/ai-sdk/MessageScroller.d.ts +5 -0
- package/dist/components/ai-sdk/MessageScroller.js +18 -12
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +18 -10
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
- package/dist/components/ai-sdk/PromptInput.js +124 -127
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.d.ts +3 -4
- package/dist/components/ai-sdk/Reasoning.js +29 -13
- package/dist/components/ai-sdk/ToolInvocation.d.ts +3 -5
- package/dist/components/ai-sdk/ToolInvocation.js +2 -2
- package/dist/components/extension/ChatGptSignInScreen.js +2 -2
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- package/dist/components/foundations/Accordion.d.ts +1 -3
- package/dist/components/foundations/Accordion.js +1 -3
- package/dist/components/foundations/AlertDialog.d.ts +16 -36
- package/dist/components/foundations/Autocomplete.d.ts +12 -33
- package/dist/components/foundations/Autocomplete.js +2 -1
- package/dist/components/foundations/Combobox.d.ts +119 -2
- package/dist/components/foundations/Combobox.js +6 -23
- package/dist/components/foundations/ContextMenu.d.ts +50 -57
- package/dist/components/foundations/ContextMenu.js +4 -28
- package/dist/components/foundations/DescriptionList.d.ts +34 -2
- package/dist/components/foundations/DescriptionList.js +33 -2
- package/dist/components/foundations/Dialog.d.ts +1 -1
- package/dist/components/foundations/Dialog.js +2 -1
- package/dist/components/foundations/EmptyState.d.ts +5 -2
- package/dist/components/foundations/EmptyState.js +11 -7
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +3 -21
- package/dist/components/foundations/Menubar.d.ts +35 -64
- package/dist/components/foundations/Menubar.js +3 -22
- package/dist/components/foundations/Popover.d.ts +8 -21
- package/dist/components/foundations/Popover.js +3 -48
- package/dist/components/foundations/PreviewCard.d.ts +44 -29
- package/dist/components/foundations/PreviewCard.js +3 -6
- package/dist/components/foundations/RadioGroup.d.ts +4 -6
- package/dist/components/foundations/Select.d.ts +1 -1
- package/dist/components/foundations/Select.js +7 -21
- package/dist/components/foundations/Slider.d.ts +31 -44
- package/dist/components/foundations/Slider.js +26 -25
- package/dist/components/foundations/Stepper.d.ts +3 -3
- package/dist/components/foundations/Stepper.js +5 -6
- package/dist/components/foundations/ToggleGroup.d.ts +1 -1
- package/dist/components/foundations/Tooltip.d.ts +6 -8
- package/dist/components/foundations/Tooltip.js +4 -3
- package/dist/components/general-purpose/Commit.js +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.d.ts +2 -3
- package/dist/components/general-purpose/PricingBillingToggle.js +4 -22
- package/dist/components/general-purpose/PricingPage.d.ts +3 -4
- package/dist/components/general-purpose/ResizableSidePanel.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -67
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +7 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +18 -3
- package/dist/components/general-purpose/Terminal.js +3 -3
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +4 -4
- package/dist/components/nanites/AgentConnection.js +16 -11
- package/dist/components/nanites/AgentToolDetail.js +6 -7
- package/dist/{format-CmopcfqJ.js → format-DB2mX9DA.js} +16 -1
- package/dist/{mcp-server-U71zhxFF.js → mcp-server-SD_S-IpB.js} +18 -2
- package/dist/message-scroller-C8cplcQO.js +32 -0
- package/dist/{progress-ring-Dz_ztrW2.js → progress-ring-BEocM1e3.js} +1 -1
- package/dist/provider-logos-zjZycgV6.js +74 -0
- package/dist/styles/agent-chat.css +25 -0
- package/dist/styles/agent-connection.css +4 -31
- package/dist/styles/agent-tool-detail.css +0 -7
- package/dist/styles/alert-dialog.css +0 -2
- package/dist/styles/base-ui-motion.css +7 -5
- package/dist/styles/chatgpt-sign-in-screen.css +5 -3
- package/dist/styles/dialog.css +0 -2
- package/dist/styles/field.css +2 -2
- package/dist/styles/model-selector.css +30 -12
- package/dist/styles/popover.css +0 -1
- package/dist/styles/preview-card.css +0 -4
- package/dist/styles/pricing-page.css +1 -13
- package/dist/styles/prompt-input.css +12 -10
- package/dist/styles/recipes.css +22 -14
- package/dist/styles/slider.css +2 -2
- package/dist/styles/think-execution-workbench.css +9 -13
- package/dist/styles/think-routine-library.css +2 -30
- package/dist/styles/tooltip.css +0 -1
- package/dist/utils/structured-code.d.ts +1 -1
- package/package.json +17 -7
- package/dist/BrowserLiveView-tJTWkoyu.d.ts +0 -48
- package/dist/BrowserReplay-B0BQZr-N.d.ts +0 -41
- package/dist/Combobox-WrrDDaEv.d.ts +0 -154
- package/dist/ModelSelector-DzdEs2fX.js +0 -504
- package/dist/Workspace-EhvvlHOB.d.ts +0 -278
- package/dist/WorkspaceExplorer-DygQnEyi.d.ts +0 -32
- package/dist/components/foundations/DescriptionListParts.d.ts +0 -37
- package/dist/components/foundations/DescriptionListParts.js +0 -35
|
@@ -108,6 +108,21 @@ const MEDIA_BY_EXTENSION = {
|
|
|
108
108
|
mimeType: "video/x-m4v"
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
|
+
/**
|
|
112
|
+
* Source extensions whose registry answer is wrong for a workspace. `.ts` and
|
|
113
|
+
* `.mts` are MPEG-2 transport stream to both the IANA registry and a browser's
|
|
114
|
+
* own `File.type`, so a store that reports either verbatim describes every
|
|
115
|
+
* TypeScript file as a video. Those two are the registry's only collisions with
|
|
116
|
+
* a source extension — `.cts` and `.tsx` are simply absent from it, and `.svg`
|
|
117
|
+
* is a genuine image — so this table stays a short list of known-wrong names
|
|
118
|
+
* rather than an allowlist that would refuse real media it has not heard of.
|
|
119
|
+
*/
|
|
120
|
+
const SOURCE_MIME_BY_EXTENSION = {
|
|
121
|
+
ts: "text/typescript",
|
|
122
|
+
mts: "text/typescript",
|
|
123
|
+
cts: "text/typescript",
|
|
124
|
+
tsx: "text/tsx"
|
|
125
|
+
};
|
|
111
126
|
const SUPPORTED_IMAGE_MIME_TYPES = /* @__PURE__ */ new Set([
|
|
112
127
|
"image/png",
|
|
113
128
|
"image/jpeg",
|
|
@@ -147,6 +162,9 @@ function inferWorkspaceMediaFromMime(mimeType) {
|
|
|
147
162
|
function getWorkspaceBasename(path) {
|
|
148
163
|
return path.split("/").filter(Boolean).at(-1) ?? path;
|
|
149
164
|
}
|
|
165
|
+
function workspaceExtension(path) {
|
|
166
|
+
return getWorkspaceBasename(path).split(".").at(-1)?.toLowerCase() ?? "";
|
|
167
|
+
}
|
|
150
168
|
function isWorkspaceMarkdownPath(path) {
|
|
151
169
|
return getWorkspaceBasename(path).toLowerCase().endsWith(".md");
|
|
152
170
|
}
|
|
@@ -159,15 +177,35 @@ function isWorkspaceSkillPath(path) {
|
|
|
159
177
|
* that report generic values such as `application/octet-stream`.
|
|
160
178
|
*/
|
|
161
179
|
function inferWorkspaceMedia(path, mimeType) {
|
|
180
|
+
const extension = workspaceExtension(path);
|
|
181
|
+
if (SOURCE_MIME_BY_EXTENSION[extension]) return null;
|
|
162
182
|
const byMimeType = inferWorkspaceMediaFromMime(mimeType);
|
|
163
183
|
if (byMimeType) return byMimeType;
|
|
164
184
|
const normalizedMimeType = normalizeWorkspaceMimeType(mimeType);
|
|
165
185
|
if (normalizedMimeType && !GENERIC_MEDIA_MIME_TYPES.has(normalizedMimeType)) return null;
|
|
166
|
-
const extension = getWorkspaceBasename(path).split(".").at(-1)?.toLowerCase() ?? "";
|
|
167
186
|
const byExtension = MEDIA_BY_EXTENSION[extension];
|
|
168
187
|
if (byExtension) return byExtension;
|
|
169
188
|
return null;
|
|
170
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* The mime type this vocabulary fixes for a file name, or `null` where it has
|
|
192
|
+
* no opinion and the caller's own answer stands.
|
|
193
|
+
*
|
|
194
|
+
* A workspace that derives mime types from names needs this for the reason
|
|
195
|
+
* `inferWorkspaceMedia` distrusts them: the platform registries call `.ts`
|
|
196
|
+
* MPEG-2 transport stream, and every downstream media check believes it. Media
|
|
197
|
+
* extensions answer their canonical type here too, so a host has one call
|
|
198
|
+
* instead of a copy of the table this module already keeps.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* ```ts
|
|
202
|
+
* const mimeType = inferWorkspaceMimeType(name) ?? lookup(name) ?? "application/octet-stream";
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
function inferWorkspaceMimeType(path) {
|
|
206
|
+
const extension = workspaceExtension(path);
|
|
207
|
+
return SOURCE_MIME_BY_EXTENSION[extension] ?? MEDIA_BY_EXTENSION[extension]?.mimeType ?? null;
|
|
208
|
+
}
|
|
171
209
|
function isWorkspaceMediaPath(path, mimeType) {
|
|
172
210
|
return inferWorkspaceMedia(path, mimeType) !== null;
|
|
173
211
|
}
|
|
@@ -188,8 +226,7 @@ function parseWorkspaceSkill(content) {
|
|
|
188
226
|
}
|
|
189
227
|
/** Best-effort syntax-highlighting language from a file path; unknown extensions render as plain text. */
|
|
190
228
|
function inferWorkspaceLanguage(path) {
|
|
191
|
-
|
|
192
|
-
return LANGUAGE_BY_EXTENSION[extension] ?? "text";
|
|
229
|
+
return LANGUAGE_BY_EXTENSION[workspaceExtension(path)] ?? "text";
|
|
193
230
|
}
|
|
194
231
|
//#endregion
|
|
195
|
-
export { getWorkspaceBasename, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill };
|
|
232
|
+
export { getWorkspaceBasename, inferWorkspaceLanguage, inferWorkspaceMedia, inferWorkspaceMimeType, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WorkspaceFileView } from "../../WorkspaceFileView-
|
|
1
|
+
import { t as WorkspaceFileView } from "../../WorkspaceFileView-DTHJLKW_.js";
|
|
2
2
|
export { WorkspaceFileView };
|
|
@@ -37,6 +37,8 @@ declare function Activity({
|
|
|
37
37
|
className,
|
|
38
38
|
isStreaming,
|
|
39
39
|
defaultOpen,
|
|
40
|
+
open: controlledOpen,
|
|
41
|
+
onOpenChange,
|
|
40
42
|
stateKey,
|
|
41
43
|
ref,
|
|
42
44
|
...props
|
|
@@ -130,6 +132,9 @@ declare function ActivityItemGroup({
|
|
|
130
132
|
detail,
|
|
131
133
|
icon,
|
|
132
134
|
children,
|
|
135
|
+
defaultOpen,
|
|
136
|
+
open: controlledOpen,
|
|
137
|
+
onOpenChange,
|
|
133
138
|
stateKey,
|
|
134
139
|
ref,
|
|
135
140
|
...props
|
|
@@ -2,9 +2,27 @@ import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { m as ChevronRightIcon } from "../../icons-B1Qw05te.js";
|
|
3
3
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
4
4
|
import { useExpansionState } from "./ExpansionState.js";
|
|
5
|
-
import "react";
|
|
5
|
+
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Activity.tsx
|
|
8
|
+
function usePersistedActivityOpenProps({ defaultOpen = false, open: controlledOpen, onOpenChange, stateKey }) {
|
|
9
|
+
const [persistedOpen, setPersistedOpen] = useExpansionState(stateKey, defaultOpen);
|
|
10
|
+
const handleOpenChange = React.useCallback((nextOpen, eventDetails) => {
|
|
11
|
+
onOpenChange?.(nextOpen, eventDetails);
|
|
12
|
+
if (!eventDetails.isCanceled) setPersistedOpen(nextOpen);
|
|
13
|
+
}, [onOpenChange, setPersistedOpen]);
|
|
14
|
+
if (controlledOpen !== void 0) return {
|
|
15
|
+
open: controlledOpen,
|
|
16
|
+
onOpenChange
|
|
17
|
+
};
|
|
18
|
+
return stateKey === void 0 ? {
|
|
19
|
+
defaultOpen,
|
|
20
|
+
onOpenChange
|
|
21
|
+
} : {
|
|
22
|
+
open: persistedOpen,
|
|
23
|
+
onOpenChange: handleOpenChange
|
|
24
|
+
};
|
|
25
|
+
}
|
|
8
26
|
/**
|
|
9
27
|
* A collapsible activity line that aggregates agent activity (tool calls,
|
|
10
28
|
* file edits, searches) instead of rendering every call as its own block.
|
|
@@ -25,12 +43,13 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
25
43
|
* </Activity>
|
|
26
44
|
* ```
|
|
27
45
|
*/
|
|
28
|
-
function Activity({ className, isStreaming = false, defaultOpen = false, stateKey, ref, ...props }) {
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
open,
|
|
32
|
-
onOpenChange
|
|
33
|
-
|
|
46
|
+
function Activity({ className, isStreaming = false, defaultOpen = false, open: controlledOpen, onOpenChange, stateKey, ref, ...props }) {
|
|
47
|
+
const openProps = usePersistedActivityOpenProps({
|
|
48
|
+
defaultOpen,
|
|
49
|
+
open: controlledOpen,
|
|
50
|
+
onOpenChange,
|
|
51
|
+
stateKey
|
|
52
|
+
});
|
|
34
53
|
return /* @__PURE__ */ jsx(Collapsible.Root, {
|
|
35
54
|
ref,
|
|
36
55
|
className: cx("activity", className),
|
|
@@ -110,12 +129,13 @@ function ActivityContent({ className, children, ref, ...props }) {
|
|
|
110
129
|
* like a plain ActivityItem; expanding reveals chrome-free detail (shell
|
|
111
130
|
* output or a thought trace) flush inside the outer Activity log.
|
|
112
131
|
*/
|
|
113
|
-
function ActivityItemGroup({ className, action, detail, icon, children, stateKey, ref, ...props }) {
|
|
114
|
-
const
|
|
115
|
-
|
|
116
|
-
open,
|
|
117
|
-
onOpenChange
|
|
118
|
-
|
|
132
|
+
function ActivityItemGroup({ className, action, detail, icon, children, defaultOpen = false, open: controlledOpen, onOpenChange, stateKey, ref, ...props }) {
|
|
133
|
+
const openProps = usePersistedActivityOpenProps({
|
|
134
|
+
defaultOpen,
|
|
135
|
+
open: controlledOpen,
|
|
136
|
+
onOpenChange,
|
|
137
|
+
stateKey
|
|
138
|
+
});
|
|
119
139
|
return /* @__PURE__ */ jsxs(Collapsible.Root, {
|
|
120
140
|
ref,
|
|
121
141
|
className: cx("activity__group", className),
|
|
@@ -62,7 +62,6 @@ declare function ApprovalPreviewRow({
|
|
|
62
62
|
}: ApprovalPreviewRowProps & {
|
|
63
63
|
ref?: React.Ref<HTMLDivElement>;
|
|
64
64
|
}): React.JSX.Element;
|
|
65
|
-
declare function formatApprovalValue(value: unknown): string;
|
|
66
65
|
interface ApprovalInputPreviewProps {
|
|
67
66
|
input: unknown;
|
|
68
67
|
}
|
|
@@ -99,4 +98,4 @@ declare function ApprovalDecision({
|
|
|
99
98
|
ref?: React.Ref<HTMLDivElement>;
|
|
100
99
|
}): React.JSX.Element;
|
|
101
100
|
//#endregion
|
|
102
|
-
export { Approval, ApprovalCount, ApprovalCountProps, ApprovalDecision, ApprovalDecisionProps, ApprovalDecisionValue, ApprovalHeader, ApprovalHeaderProps, ApprovalInputPreview, ApprovalInputPreviewProps, ApprovalPreview, ApprovalPreviewProps, ApprovalPreviewRow, ApprovalPreviewRowProps, ApprovalProps, ApprovalQuestion, ApprovalQuestionProps
|
|
101
|
+
export { Approval, ApprovalCount, ApprovalCountProps, ApprovalDecision, ApprovalDecisionProps, ApprovalDecisionValue, ApprovalHeader, ApprovalHeaderProps, ApprovalInputPreview, ApprovalInputPreviewProps, ApprovalPreview, ApprovalPreviewProps, ApprovalPreviewRow, ApprovalPreviewRowProps, ApprovalProps, ApprovalQuestion, ApprovalQuestionProps };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { B as PencilIcon } from "../../icons-B1Qw05te.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { a as formatUnknownValue } from "../../format-DB2mX9DA.js";
|
|
4
5
|
import { Kbd } from "../foundations/Kbd.js";
|
|
5
6
|
import * as React from "react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -68,17 +69,13 @@ function ApprovalPreviewRow({ children, className, label, ref, ...props }) {
|
|
|
68
69
|
]
|
|
69
70
|
});
|
|
70
71
|
}
|
|
71
|
-
function formatApprovalValue(value) {
|
|
72
|
-
if (typeof value === "string") return value;
|
|
73
|
-
return JSON.stringify(value) ?? String(value);
|
|
74
|
-
}
|
|
75
72
|
/** Renders unknown upstream input without changing or normalizing its shape. */
|
|
76
73
|
function ApprovalInputPreview({ input }) {
|
|
77
74
|
const entries = input && typeof input === "object" && !Array.isArray(input) ? Object.entries(input) : void 0;
|
|
78
75
|
return /* @__PURE__ */ jsx(ApprovalPreview, { children: entries ? entries.map(([key, value]) => /* @__PURE__ */ jsx(ApprovalPreviewRow, {
|
|
79
76
|
label: key,
|
|
80
|
-
children:
|
|
81
|
-
}, key)) : /* @__PURE__ */ jsx(ApprovalPreviewRow, { children:
|
|
77
|
+
children: formatUnknownValue(value)
|
|
78
|
+
}, key)) : /* @__PURE__ */ jsx(ApprovalPreviewRow, { children: formatUnknownValue(input) }) });
|
|
82
79
|
}
|
|
83
80
|
function getErrorMessage(error) {
|
|
84
81
|
if (error instanceof Error && error.message.trim()) return error.message;
|
|
@@ -223,4 +220,4 @@ function ApprovalDecision({ className, onDecision, onSkip, subject = "this actio
|
|
|
223
220
|
});
|
|
224
221
|
}
|
|
225
222
|
//#endregion
|
|
226
|
-
export { Approval, ApprovalCount, ApprovalDecision, ApprovalHeader, ApprovalInputPreview, ApprovalPreview, ApprovalPreviewRow, ApprovalQuestion
|
|
223
|
+
export { Approval, ApprovalCount, ApprovalDecision, ApprovalHeader, ApprovalInputPreview, ApprovalPreview, ApprovalPreviewRow, ApprovalQuestion };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-
|
|
1
|
+
import { C as CodeBlockLanguageSelectorValueProps, D as CODE_BLOCK_LANGUAGES, E as CodeBlockTitleProps, O as CodeBlockLanguage, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../../CodeBlock-C380GD5t.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockActionsProps, CodeBlockContainer, CodeBlockContainerProps, CodeBlockContent, CodeBlockContentProps, CodeBlockCopyButton, CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockFilenameProps, CodeBlockHeader, CodeBlockHeaderProps, type CodeBlockLanguage, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorItemProps, CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, CodeBlockLanguageSelectorValueProps, CodeBlockProps, CodeBlockTitle, CodeBlockTitleProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-
|
|
1
|
+
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as CODE_BLOCK_LANGUAGES, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../../CodeBlock-Bk4nn7l-.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Popover } from "../foundations/Popover.js";
|
|
3
3
|
import { Separator } from "../foundations/Separator.js";
|
|
4
|
-
import { t as ProgressRing } from "../../progress-ring-
|
|
4
|
+
import { t as ProgressRing } from "../../progress-ring-BEocM1e3.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Context.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Q as TargetIcon, V as PlayIcon, et as TrashIcon, z as PauseIcon } from "../../icons-B1Qw05te.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { i as formatErrorMessage } from "../../format-
|
|
4
|
+
import { i as formatErrorMessage } from "../../format-DB2mX9DA.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Goal.tsx
|
|
@@ -3,13 +3,11 @@ import { C as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../ic
|
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
6
|
-
import { n as clamp } from "../../format-
|
|
6
|
+
import { n as clamp } from "../../format-DB2mX9DA.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { cjk } from "@streamdown/cjk";
|
|
10
10
|
import { code } from "@streamdown/code";
|
|
11
|
-
import { math } from "@streamdown/math";
|
|
12
|
-
import { mermaid } from "@streamdown/mermaid";
|
|
13
11
|
import { Streamdown } from "streamdown";
|
|
14
12
|
//#region src/components/ai-sdk/Message.tsx
|
|
15
13
|
/**
|
|
@@ -56,9 +54,7 @@ function MessageContent({ className, children, ref, ...props }) {
|
|
|
56
54
|
}
|
|
57
55
|
const streamdownPlugins = {
|
|
58
56
|
cjk,
|
|
59
|
-
code
|
|
60
|
-
math,
|
|
61
|
-
mermaid
|
|
57
|
+
code
|
|
62
58
|
};
|
|
63
59
|
const messageResponseComponents = { img: "img" };
|
|
64
60
|
const MessageResponse = React.memo(function MessageResponse({ className, components, ...props }) {
|
|
@@ -21,11 +21,16 @@ declare function MessageScroller({
|
|
|
21
21
|
...props
|
|
22
22
|
}: MessageScrollerProps): React.JSX.Element;
|
|
23
23
|
declare function MessageScrollerViewport({
|
|
24
|
+
"aria-label": ariaLabel,
|
|
24
25
|
className,
|
|
26
|
+
role,
|
|
27
|
+
tabIndex,
|
|
25
28
|
...props
|
|
26
29
|
}: MessageScrollerViewportProps): React.JSX.Element;
|
|
27
30
|
declare function MessageScrollerContent({
|
|
31
|
+
"aria-relevant": ariaRelevant,
|
|
28
32
|
className,
|
|
33
|
+
role,
|
|
29
34
|
...props
|
|
30
35
|
}: MessageScrollerContentProps): React.JSX.Element;
|
|
31
36
|
declare function MessageScrollerItem({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { n as ArrowDownIcon } from "../../icons-B1Qw05te.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
4
5
|
import "react";
|
|
5
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
|
|
@@ -14,39 +15,44 @@ function MessageScrollerProvider(props) {
|
|
|
14
15
|
*/
|
|
15
16
|
function MessageScroller({ className, ...props }) {
|
|
16
17
|
return /* @__PURE__ */ jsx(MessageScroller$1.Root, {
|
|
17
|
-
"data-slot":
|
|
18
|
-
className: cx(
|
|
18
|
+
"data-slot": messageScrollerContract.root.slot,
|
|
19
|
+
className: cx(messageScrollerContract.root.className, className),
|
|
19
20
|
...props
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
|
-
function MessageScrollerViewport({ className, ...props }) {
|
|
23
|
+
function MessageScrollerViewport({ "aria-label": ariaLabel = messageScrollerContract.viewport.ariaLabel, className, role = messageScrollerContract.viewport.role, tabIndex = messageScrollerContract.viewport.tabIndex, ...props }) {
|
|
23
24
|
return /* @__PURE__ */ jsx(MessageScroller$1.Viewport, {
|
|
24
|
-
"
|
|
25
|
+
"aria-label": ariaLabel,
|
|
26
|
+
"data-slot": messageScrollerContract.viewport.slot,
|
|
25
27
|
"data-recipe": "scroll-fade-y",
|
|
26
|
-
className: cx(
|
|
28
|
+
className: cx(messageScrollerContract.viewport.className, className),
|
|
29
|
+
role,
|
|
30
|
+
tabIndex,
|
|
27
31
|
...props
|
|
28
32
|
});
|
|
29
33
|
}
|
|
30
|
-
function MessageScrollerContent({ className, ...props }) {
|
|
34
|
+
function MessageScrollerContent({ "aria-relevant": ariaRelevant = messageScrollerContract.content.ariaRelevant, className, role = messageScrollerContract.content.role, ...props }) {
|
|
31
35
|
return /* @__PURE__ */ jsx(MessageScroller$1.Content, {
|
|
32
|
-
"
|
|
33
|
-
|
|
36
|
+
"aria-relevant": ariaRelevant,
|
|
37
|
+
"data-slot": messageScrollerContract.content.slot,
|
|
38
|
+
className: cx(messageScrollerContract.content.className, className),
|
|
39
|
+
role,
|
|
34
40
|
...props
|
|
35
41
|
});
|
|
36
42
|
}
|
|
37
43
|
function MessageScrollerItem({ className, scrollAnchor = false, ...props }) {
|
|
38
44
|
return /* @__PURE__ */ jsx(MessageScroller$1.Item, {
|
|
39
|
-
"data-slot":
|
|
45
|
+
"data-slot": messageScrollerContract.item.slot,
|
|
40
46
|
scrollAnchor,
|
|
41
|
-
className: cx(
|
|
47
|
+
className: cx(messageScrollerContract.item.className, className),
|
|
42
48
|
...props
|
|
43
49
|
});
|
|
44
50
|
}
|
|
45
51
|
function MessageScrollerButton({ className, children, color = "neutral", direction = "end", render, size = "sm", variant = "normal", ...props }) {
|
|
46
52
|
return /* @__PURE__ */ jsx(MessageScroller$1.Button, {
|
|
47
|
-
"data-slot":
|
|
53
|
+
"data-slot": messageScrollerContract.button.slot,
|
|
48
54
|
direction,
|
|
49
|
-
className: cx(
|
|
55
|
+
className: cx(messageScrollerContract.button.className, className),
|
|
50
56
|
render: render ?? /* @__PURE__ */ jsx(Button, {
|
|
51
57
|
color,
|
|
52
58
|
size,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { n as ArrowDownIcon } from "../../icons-B1Qw05te.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
+
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
4
5
|
import * as React from "react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { useVirtualizer } from "@tanstack/react-virtual";
|
|
@@ -37,6 +38,7 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
|
|
|
37
38
|
const warnedBadKey = React.useRef(false);
|
|
38
39
|
const [atEnd, setAtEnd] = React.useState(true);
|
|
39
40
|
const [scrollEdges, setScrollEdges] = React.useState();
|
|
41
|
+
const { "aria-live": contentAriaLive = "off", "aria-relevant": contentAriaRelevant = messageScrollerContract.content.ariaRelevant, className: contentClassName, role: contentRole = messageScrollerContract.content.role, style: contentStyle, ...resolvedContentProps } = contentProps ?? {};
|
|
40
42
|
React.useEffect(() => {
|
|
41
43
|
if (warnedBadKey.current) return;
|
|
42
44
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -72,28 +74,33 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
|
|
|
72
74
|
virtualizer.scrollToEnd();
|
|
73
75
|
}, []);
|
|
74
76
|
return /* @__PURE__ */ jsxs("div", {
|
|
75
|
-
|
|
77
|
+
"data-slot": messageScrollerContract.root.slot,
|
|
78
|
+
className: cx(messageScrollerContract.root.className, className),
|
|
76
79
|
...props,
|
|
77
80
|
children: [/* @__PURE__ */ jsx("div", {
|
|
78
81
|
ref: viewportRef,
|
|
79
|
-
"
|
|
82
|
+
"aria-label": messageScrollerContract.viewport.ariaLabel,
|
|
83
|
+
"data-slot": messageScrollerContract.viewport.slot,
|
|
80
84
|
"data-recipe": "scroll-fade-y",
|
|
81
85
|
"data-scrollable": scrollEdges,
|
|
82
|
-
className:
|
|
86
|
+
className: messageScrollerContract.viewport.className,
|
|
87
|
+
role: messageScrollerContract.viewport.role,
|
|
88
|
+
tabIndex: messageScrollerContract.viewport.tabIndex,
|
|
83
89
|
children: items.length === 0 ? emptyState : /* @__PURE__ */ jsx("div", {
|
|
84
|
-
|
|
85
|
-
"aria-live":
|
|
86
|
-
|
|
87
|
-
className: cx(
|
|
90
|
+
...resolvedContentProps,
|
|
91
|
+
"aria-live": contentAriaLive,
|
|
92
|
+
"aria-relevant": contentAriaRelevant,
|
|
93
|
+
className: cx(messageScrollerContract.content.virtualClassName, contentClassName),
|
|
94
|
+
role: contentRole,
|
|
88
95
|
style: {
|
|
89
|
-
...
|
|
96
|
+
...contentStyle,
|
|
90
97
|
height: virtualizer.getTotalSize()
|
|
91
98
|
},
|
|
92
99
|
children: virtualizer.getVirtualItems().map((virtualItem) => /* @__PURE__ */ jsx("div", {
|
|
93
100
|
ref: virtualizer.measureElement,
|
|
94
101
|
"data-index": virtualItem.index,
|
|
95
102
|
"data-item-key": virtualItem.key,
|
|
96
|
-
className:
|
|
103
|
+
className: messageScrollerContract.item.virtualClassName,
|
|
97
104
|
style: { transform: `translateY(${virtualItem.start}px)` },
|
|
98
105
|
children: renderItem(items[virtualItem.index], virtualItem.index)
|
|
99
106
|
}, virtualItem.key))
|
|
@@ -105,7 +112,8 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
|
|
|
105
112
|
size: "sm",
|
|
106
113
|
iconOnly: true,
|
|
107
114
|
...scrollButtonProps,
|
|
108
|
-
className: cx(
|
|
115
|
+
className: cx(messageScrollerContract.button.className, scrollButtonProps?.className),
|
|
116
|
+
"data-slot": messageScrollerContract.button.slot,
|
|
109
117
|
"data-direction": "end",
|
|
110
118
|
"data-active": !atEnd,
|
|
111
119
|
tabIndex: atEnd ? -1 : void 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { d as CheckIcon, i as ArrowRightIcon, v as DotIcon } from "../../icons-B1Qw05te.js";
|
|
3
3
|
import { Popover } from "../foundations/Popover.js";
|
|
4
|
-
import { t as ProgressRing } from "../../progress-ring-
|
|
4
|
+
import { t as ProgressRing } from "../../progress-ring-BEocM1e3.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Plan.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { AttachmentsContext, PermissionMode, PromptInput, PromptInputActionAddAttachments, PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuContentProps, PromptInputActionMenuItem, PromptInputActionMenuItemProps, PromptInputActionMenuProps, PromptInputActionMenuTrigger, PromptInputActionMenuTriggerProps, PromptInputAttachment, PromptInputAttachmentProps, PromptInputAttachments, PromptInputAttachmentsProps, PromptInputBody, PromptInputBodyProps, PromptInputButton, PromptInputButtonProps, PromptInputButtonTooltip,
|
|
1
|
+
import { $ as PromptInputReferences, A as PromptInputContextItem, B as PromptInputHoverCard, C as PromptInputButtonProps, Ct as usePromptInputAttachments, D as PromptInputCommandDefinition, E as PromptInputCommandComposerProps, F as PromptInputDictationProps, G as PromptInputHoverCardTriggerProps, H as PromptInputHoverCardContentProps, I as PromptInputFooter, J as PromptInputPermissionSelectorProps, K as PromptInputMessage, L as PromptInputFooterProps, M as PromptInputContextSelectorProps, N as PromptInputControllerProps, O as PromptInputCommandTrigger, P as PromptInputDictation, Q as PromptInputReference, R as PromptInputHeader, S as PromptInputButton, St as TooltipSide, T as PromptInputCommandComposer, Tt as useProviderAttachments, U as PromptInputHoverCardProps, V as PromptInputHoverCardContent, W as PromptInputHoverCardTrigger, X as PromptInputProvider, Y as PromptInputProps, Z as PromptInputProviderProps, _ as PromptInputAttachmentProps, _t as PromptInputTooltipConfig, a as PromptInputActionAddAttachmentsProps, at as PromptInputTabBodyProps, b as PromptInputBody, bt as PromptInputVoiceInput, c as PromptInputActionMenu, ct as PromptInputTabLabel, d as PromptInputActionMenuItem, dt as PromptInputTabsList, et as PromptInputReferencesProps, f as PromptInputActionMenuItemProps, ft as PromptInputTabsListProps, g as PromptInputAttachment, gt as PromptInputToolsProps, h as PromptInputActionMenuTriggerProps, ht as PromptInputTools, i as PromptInputActionAddAttachments, it as PromptInputTabBody, j as PromptInputContextSelector, k as PromptInputContextAction, l as PromptInputActionMenuContent, lt as PromptInputTabLabelProps, m as PromptInputActionMenuTrigger, mt as PromptInputTextareaProps, n as PermissionMode, nt as PromptInputSubmitProps, o as PromptInputActionAddScreenshot, ot as PromptInputTabItem, p as PromptInputActionMenuProps, pt as PromptInputTextarea, q as PromptInputPermissionSelector, r as PromptInput, rt as PromptInputTab, s as PromptInputActionAddScreenshotProps, st as PromptInputTabItemProps, t as AttachmentsContext, tt as PromptInputSubmit, u as PromptInputActionMenuContentProps, ut as PromptInputTabProps, v as PromptInputAttachments, vt as PromptInputTray, w as PromptInputButtonTooltip, wt as usePromptInputController, x as PromptInputBodyProps, xt as TextInputContext, y as PromptInputAttachmentsProps, yt as PromptInputTrayProps, z as PromptInputHeaderProps } from "../../PromptInput-BRX7FhjH.js";
|
|
2
|
+
export { AttachmentsContext, PermissionMode, PromptInput, PromptInputActionAddAttachments, PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuContentProps, PromptInputActionMenuItem, PromptInputActionMenuItemProps, PromptInputActionMenuProps, PromptInputActionMenuTrigger, PromptInputActionMenuTriggerProps, PromptInputAttachment, PromptInputAttachmentProps, PromptInputAttachments, PromptInputAttachmentsProps, PromptInputBody, PromptInputBodyProps, PromptInputButton, PromptInputButtonProps, PromptInputButtonTooltip, PromptInputCommandComposer, PromptInputCommandComposerProps, PromptInputCommandDefinition, PromptInputCommandTrigger, PromptInputContextAction, PromptInputContextItem, PromptInputContextSelector, PromptInputContextSelectorProps, PromptInputControllerProps, PromptInputDictation, PromptInputDictationProps, PromptInputFooter, PromptInputFooterProps, PromptInputHeader, PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, PromptInputHoverCardContentProps, PromptInputHoverCardProps, PromptInputHoverCardTrigger, PromptInputHoverCardTriggerProps, PromptInputMessage, PromptInputPermissionSelector, PromptInputPermissionSelectorProps, PromptInputProps, PromptInputProvider, PromptInputProviderProps, PromptInputReference, PromptInputReferences, PromptInputReferencesProps, PromptInputSubmit, PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, PromptInputTabBodyProps, PromptInputTabItem, PromptInputTabItemProps, PromptInputTabLabel, PromptInputTabLabelProps, PromptInputTabProps, PromptInputTabsList, PromptInputTabsListProps, PromptInputTextarea, PromptInputTextareaProps, PromptInputTools, PromptInputToolsProps, PromptInputTooltipConfig, PromptInputTray, PromptInputTrayProps, PromptInputVoiceInput, TextInputContext, TooltipSide, usePromptInputAttachments, usePromptInputController, useProviderAttachments };
|