@deepagents/react-genai 7.1.1 → 7.1.3
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/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1658 -1771
- package/dist/index.js.map +1 -1
- package/dist/lib/chat/agent-context.d.ts +6 -6
- package/dist/lib/chat/agent-context.d.ts.map +1 -1
- package/dist/lib/chat/chat-manager.d.ts +12 -25
- package/dist/lib/chat/chat-manager.d.ts.map +1 -1
- package/dist/lib/chat/chat.d.ts +21 -8
- package/dist/lib/chat/chat.d.ts.map +1 -1
- package/dist/lib/chat/citations.d.ts +1 -1
- package/dist/lib/chat/client-tool-output.d.ts +4 -4
- package/dist/lib/chat/client-tool-output.d.ts.map +1 -1
- package/dist/lib/chat/markdown-paragraph.d.ts +1 -1
- package/dist/lib/chat/message-parts.d.ts +2 -2
- package/dist/lib/chat/message-parts.d.ts.map +1 -1
- package/dist/lib/chat/read-only-transport.d.ts +1 -1
- package/dist/lib/chat/tool-abort.d.ts +1 -1
- package/dist/lib/chat/tools-schema.d.ts +1 -1
- package/dist/lib/chat/trajectory/IndexProgressSegment.d.ts +2 -2
- package/dist/lib/chat/trajectory/IndexProgressSegment.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/compact-disclosure.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/messages-context.d.ts +4 -4
- package/dist/lib/chat/trajectory/nested-trajectory.d.ts +1 -1
- package/dist/lib/chat/trajectory/nested-trajectory.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/segments/index.d.ts +6 -6
- package/dist/lib/chat/trajectory/segments/index.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/tool-label.d.ts +3 -3
- package/dist/lib/chat/trajectory/tool-label.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/collapsible-disclosure.d.ts +1 -1
- package/dist/lib/chat/trajectory/trajectories/collapsible-disclosure.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/compact-messages.d.ts +5 -5
- package/dist/lib/chat/trajectory/trajectories/compact-messages.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/message-actions.d.ts +1 -1
- package/dist/lib/chat/trajectory/trajectories/message-actions.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/messages-shell.d.ts +2 -2
- package/dist/lib/chat/trajectory/trajectories/messages-shell.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/messages.d.ts +2 -2
- package/dist/lib/chat/trajectory/trajectories/messages.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/thinking-hint.d.ts +1 -1
- package/dist/lib/chat/trajectory/trajectories/timeline-item.d.ts +1 -1
- package/dist/lib/chat/trajectory/trajectories/timeline-item.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/timeline.d.ts +3 -3
- package/dist/lib/chat/trajectory/trajectories/timeline.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/timelined-messages.d.ts +2 -2
- package/dist/lib/chat/trajectory/trajectories/timelined-messages.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectories/user-message.d.ts +2 -2
- package/dist/lib/chat/trajectory/trajectories/user-message.d.ts.map +1 -1
- package/dist/lib/chat/trajectory/trajectory-segments.d.ts +1 -1
- package/dist/lib/chat/zukhruf-chat-transport.d.ts +3 -3
- package/dist/lib/components/ChatAction.d.ts +1 -1
- package/dist/lib/components/ChatAction.d.ts.map +1 -1
- package/dist/lib/components/ChatComposer.d.ts +4 -4
- package/dist/lib/components/ChatComposer.d.ts.map +1 -1
- package/dist/lib/components/ChatTextarea.d.ts +1 -1
- package/dist/lib/components/ChatTextarea.d.ts.map +1 -1
- package/dist/lib/components/CitationPill.d.ts +1 -1
- package/dist/lib/components/InteractiveResponse.d.ts +2 -2
- package/dist/lib/components/PendingToolInput.d.ts +3 -3
- package/dist/lib/components/PendingToolInput.d.ts.map +1 -1
- package/dist/lib/components/SubmitButton.d.ts +1 -1
- package/dist/lib/components/SubmitButton.d.ts.map +1 -1
- package/dist/lib/components/Tip/TipLine.d.ts.map +1 -1
- package/dist/lib/components/Tip/TipProvider.d.ts +1 -2
- package/dist/lib/components/queue.d.ts +1 -1
- package/dist/lib/components/queue.d.ts.map +1 -1
- package/dist/lib/components/text-shimmer.d.ts +1 -1
- package/dist/lib/components/text-shimmer.d.ts.map +1 -1
- package/dist/lib/components/tool-debug.d.ts +1 -1
- package/dist/lib/components/tool-error.d.ts +2 -2
- package/dist/lib/components/tool-error.d.ts.map +1 -1
- package/dist/lib/copy/assistant-snapshot.d.ts +2 -2
- package/dist/lib/copy/assistant-snapshot.d.ts.map +1 -1
- package/dist/lib/copy/snapshot-context.d.ts +1 -1
- package/dist/lib/copy/snapshot-render.d.ts +2 -2
- package/dist/lib/copy/use-copy-element-as-image.d.ts +2 -2
- package/dist/lib/dynamic-ui/error-boundary.d.ts.map +1 -1
- package/dist/lib/dynamic-ui/safe-scope.d.ts.map +1 -1
- package/dist/lib/elements/ChainOfThought.d.ts +9 -9
- package/dist/lib/elements/ChainOfThought.d.ts.map +1 -1
- package/dist/lib/elements/CodeBlock.d.ts +2 -2
- package/dist/lib/elements/CodeBlock.d.ts.map +1 -1
- package/dist/lib/elements/Conversation.d.ts +2 -2
- package/dist/lib/elements/Conversation.d.ts.map +1 -1
- package/dist/lib/elements/Message.d.ts +5 -5
- package/dist/lib/elements/Message.d.ts.map +1 -1
- package/dist/lib/elements/PromptInput.d.ts +3 -3
- package/dist/lib/elements/PromptInput.d.ts.map +1 -1
- package/dist/lib/elements/Response.d.ts +1 -1
- package/dist/lib/elements/Response.d.ts.map +1 -1
- package/dist/lib/elements/Task.d.ts +2 -2
- package/dist/lib/elements/Task.d.ts.map +1 -1
- package/dist/lib/elements/Tool.d.ts +3 -3
- package/dist/lib/elements/Tool.d.ts.map +1 -1
- package/dist/lib/elements/ToolDebug.d.ts +1 -1
- package/dist/lib/elements/interactive-element.d.ts +2 -2
- package/dist/lib/elements/table-panel-extension.d.ts +3 -3
- package/dist/lib/elements/table-panel-extension.d.ts.map +1 -1
- package/dist/lib/hooks/use-auto-resize-textarea.d.ts +1 -1
- package/dist/lib/renderers/render-part.d.ts +1 -1
- package/dist/lib/renderers/render-part.d.ts.map +1 -1
- package/dist/lib/tools/helpers.d.ts +3 -3
- package/dist/lib/tools/registry.d.ts +4 -4
- package/dist/lib/ui/ArrowUpIcon.d.ts +2 -2
- package/dist/lib/ui/ArrowUpIcon.d.ts.map +1 -1
- package/dist/lib/ui/TablePanel.d.ts.map +1 -1
- package/dist/lib/ui/UnicodeSpinner.d.ts.map +1 -1
- package/package.json +11 -8
- package/dist/lib/ui/TheButton.d.ts +0 -106
- package/dist/lib/ui/TheButton.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { ComposerAttachFilesProps, ComposerAttachmentsProps, ComposerContentProps, ComposerEditorProps, ComposerRootProps, ComposerToolbarProps } from '@deepagents/react-input/browser';
|
|
3
3
|
declare function ChatComposerProvider({ className, ...props }: ComposerRootProps): import("react").JSX.Element;
|
|
4
4
|
declare function ChatComposerRoot({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
5
5
|
declare function ChatComposerContent({ className, ...props }: ComposerContentProps): import("react").JSX.Element;
|
|
@@ -11,11 +11,11 @@ declare function ChatComposerCommandButton(): import("react").JSX.Element;
|
|
|
11
11
|
export declare const ChatComposer: {
|
|
12
12
|
Provider: typeof ChatComposerProvider;
|
|
13
13
|
Root: typeof ChatComposerRoot;
|
|
14
|
-
Popup: ({ className, ...props }: import(
|
|
14
|
+
Popup: ({ className, ...props }: import('@deepagents/react-input/browser').ComposerPopupProps) => import("react").JSX.Element | null;
|
|
15
15
|
Content: typeof ChatComposerContent;
|
|
16
16
|
Attachments: typeof ChatComposerAttachments;
|
|
17
17
|
Editor: typeof ChatComposerEditor;
|
|
18
|
-
Error: ({ className, ...props }: import(
|
|
18
|
+
Error: ({ className, ...props }: import('@deepagents/react-input/browser').ComposerErrorProps) => import("react").JSX.Element | null;
|
|
19
19
|
Toolbar: typeof ChatComposerToolbar;
|
|
20
20
|
CommandButton: typeof ChatComposerCommandButton;
|
|
21
21
|
AttachFiles: typeof ChatComposerAttachFiles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/ChatComposer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/ChatComposer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAE1B,MAAM,iCAAiC,CAAC;AAKzC,iBAAS,oBAAoB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAYvE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,+BAUvE;AAED,iBAAS,mBAAmB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAOzE;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAUvE;AAED,iBAAS,uBAAuB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,wBAAwB,+BAI1B;AAED,iBAAS,mBAAmB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BAIzE;AAED,iBAAS,uBAAuB,CAAC,KAAK,EAAE,wBAAwB,+BAQ/D;AAED,iBAAS,yBAAyB,gCAejC;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;CAWxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatTextarea.d.ts","sourceRoot":"","sources":["../../../src/lib/components/ChatTextarea.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatTextarea.d.ts","sourceRoot":"","sources":["../../../src/lib/components/ChatTextarea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEzD,KAAK,iBAAiB,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,GAAG;IACrE,GAAG,CAAC,EAAE,GAAG,CAAC,mBAAmB,CAAC,CAAC;CAChC,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAgB3E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ResponseProps } from '../elements/Response.tsx';
|
|
2
|
+
import { GenAIInteractiveElement } from '../elements/interactive-element.ts';
|
|
3
3
|
export type { GenAIInteractiveElement };
|
|
4
4
|
type InteractiveResponseProps = Omit<ResponseProps, 'components' | 'allowedTags'> & {
|
|
5
5
|
elements?: GenAIInteractiveElement[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { ToolUIPart } from 'ai';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
import { ComponentTool } from '../tools/registry.ts';
|
|
4
4
|
export type ActivePendingTool = {
|
|
5
5
|
part: ToolUIPart;
|
|
6
6
|
entry: ComponentTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PendingToolInput.d.ts","sourceRoot":"","sources":["../../../src/lib/components/PendingToolInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"PendingToolInput.d.ts","sourceRoot":"","sources":["../../../src/lib/components/PendingToolInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAGrC,OAAO,EAAY,KAAK,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AAEF,wBAAgB,yBAAyB,IAAI,iBAAiB,GAAG,IAAI,CA6BpE;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAS,GACV,EAAE,iBAAiB,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,+BAc3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubmitButton.d.ts","sourceRoot":"","sources":["../../../src/lib/components/SubmitButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SubmitButton.d.ts","sourceRoot":"","sources":["../../../src/lib/components/SubmitButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,eAAe,EAGrB,MAAM,cAAc,CAAC;AAKtB,KAAK,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAAC;AAE3C,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAAG;IACrE,OAAO,EAAE,mBAAmB,CAAC;CAC9B,CAAC;AAKF,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,iBAAiB,+BAsCnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TipLine.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Tip/TipLine.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TipLine.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Tip/TipLine.tsx"],"names":[],"mappings":"AASA,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAsC5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../src/lib/components/queue.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../src/lib/components/queue.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,iBAAS,gBAAgB,CAAC,EACxB,QAAQ,EACR,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAWA;AAED,iBAAS,gBAAgB,CAAC,EACxB,QAAQ,EACR,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAMA;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAM9D;AAED,iBAAS,gBAAgB,CAAC,EACxB,QAAQ,EACR,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAUA;AAED,iBAAS,kBAAkB,CAAC,EAC1B,OAAO,EACP,SAAS,GACV,EAAE;IACD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAcA;AAED,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-shimmer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/text-shimmer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text-shimmer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/text-shimmer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,EAAE,EAAE,SAAe,EACnB,SAAS,EACT,QAAQ,EACR,OAAc,GACf,EAAE,gBAAgB,+BAalB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-error.d.ts","sourceRoot":"","sources":["../../../src/lib/components/tool-error.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-error.d.ts","sourceRoot":"","sources":["../../../src/lib/components/tool-error.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,IAAI,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAIpC,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,QAAQ,CAAC;CACjB;AAED,wBAAgB,SAAS,CAAC,EACxB,KAA+B,EAC/B,MAAM,EACN,WAA4B,EAC5B,IAAI,EACJ,KAAK,GACN,EAAE,cAAc,+BA2DhB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { UIMessage } from 'ai';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
export declare function extractAssistantRawText(message: UIMessage): string;
|
|
4
4
|
export declare function useIsAssistantSnapshotRender(): boolean;
|
|
5
5
|
export declare function AssistantSnapshot({ message, renderContent, className, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistant-snapshot.d.ts","sourceRoot":"","sources":["../../../src/lib/copy/assistant-snapshot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assistant-snapshot.d.ts","sourceRoot":"","sources":["../../../src/lib/copy/assistant-snapshot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,IAAI,CAAC;AAGlD,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAOf,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,SAAS,GAAG,MAAM,CAKlE;AAED,wBAAgB,4BAA4B,YAE3C;AAED,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,aAAa,EACb,SAAS,GACV,EAAE;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,aAAa,EAAE,MAAM,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BA6DA"}
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* which stays exported from `assistant-snapshot.tsx` for its existing consumers
|
|
6
6
|
* — can share it without importing each other.
|
|
7
7
|
*/
|
|
8
|
-
export declare const SnapshotRenderContext: import(
|
|
8
|
+
export declare const SnapshotRenderContext: import('react').Context<boolean>;
|
|
9
9
|
//# sourceMappingURL=snapshot-context.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
2
|
export declare function waitForNextPaint(): Promise<void>;
|
|
3
3
|
/**
|
|
4
4
|
* Renders `children` off-screen at a fixed width so a capture (image, PDF) does
|
|
@@ -16,5 +16,5 @@ export declare function SnapshotRenderPortal({ contentRef, children, width, padd
|
|
|
16
16
|
width?: number;
|
|
17
17
|
padding?: number;
|
|
18
18
|
className?: string;
|
|
19
|
-
}): import(
|
|
19
|
+
}): import('react').ReactPortal | null;
|
|
20
20
|
//# sourceMappingURL=snapshot-render.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { CopyExclusionMode } from './copy-image.ts';
|
|
3
3
|
type CopySuccessMode = 'image' | 'text';
|
|
4
4
|
export type CopyImageFeedback = {
|
|
5
5
|
kind: 'success';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-ui/error-boundary.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-ui/error-boundary.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED,qBAAa,sBAAuB,SAAQ,KAAK,CAAC,SAAS,CACzD,kBAAkB,EAClB,kBAAkB,CACnB;gBACa,KAAK,EAAE,kBAAkB;IAKrC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,kBAAkB;IAIjE,WAAW,aAIT;IAEO,MAAM;CAahB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,IAAI,EACJ,OAAO,GACR,EAAE;IACD,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,qBAqCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"safe-scope.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-ui/safe-scope.ts"],"names":[],"mappings":"AAoBA,wBAAgB,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"safe-scope.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-ui/safe-scope.ts"],"names":[],"mappings":"AAoBA,wBAAgB,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmCzD;AAED,wBAAgB,YAAY,IAAI,MAAM,EAAE,CAEvC;AAED,wBAAgB,cAAc,IAAI,OAAO,EAAE,CAE1C"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Badge, CollapsibleContent, CollapsibleTrigger } from '@zukhruf/shadcn';
|
|
2
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
export type ChainOfThoughtProps = ComponentProps<'div'> & {
|
|
4
4
|
open?: boolean;
|
|
5
5
|
defaultOpen?: boolean;
|
|
6
6
|
onOpenChange?: (open: boolean) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const ChainOfThought: import(
|
|
8
|
+
export declare const ChainOfThought: import('react').MemoExoticComponent<({ className, open, defaultOpen, onOpenChange, children, ...props }: ChainOfThoughtProps) => import("react").JSX.Element>;
|
|
9
9
|
export type ChainOfThoughtHeaderProps = ComponentProps<typeof CollapsibleTrigger>;
|
|
10
|
-
export declare const ChainOfThoughtHeader: import(
|
|
10
|
+
export declare const ChainOfThoughtHeader: import('react').MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtHeaderProps) => import("react").JSX.Element>;
|
|
11
11
|
export type ChainOfThoughtStepProps = ComponentProps<'div'> & {
|
|
12
12
|
icon?: ReactNode;
|
|
13
13
|
label: ReactNode;
|
|
14
14
|
description?: string;
|
|
15
15
|
status?: 'complete' | 'active' | 'pending';
|
|
16
16
|
};
|
|
17
|
-
export declare const ChainOfThoughtStep: import(
|
|
17
|
+
export declare const ChainOfThoughtStep: import('react').MemoExoticComponent<({ className, icon, label, description, status, children, ...props }: ChainOfThoughtStepProps) => import("react").JSX.Element>;
|
|
18
18
|
export type ChainOfThoughtSearchResultsProps = ComponentProps<'div'>;
|
|
19
|
-
export declare const ChainOfThoughtSearchResults: import(
|
|
19
|
+
export declare const ChainOfThoughtSearchResults: import('react').MemoExoticComponent<({ className, ...props }: ChainOfThoughtSearchResultsProps) => import("react").JSX.Element>;
|
|
20
20
|
export type ChainOfThoughtSearchResultProps = ComponentProps<typeof Badge>;
|
|
21
|
-
export declare const ChainOfThoughtSearchResult: import(
|
|
21
|
+
export declare const ChainOfThoughtSearchResult: import('react').MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtSearchResultProps) => import("react").JSX.Element>;
|
|
22
22
|
export type ChainOfThoughtContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
23
|
-
export declare const ChainOfThoughtContent: import(
|
|
23
|
+
export declare const ChainOfThoughtContent: import('react').MemoExoticComponent<({ className, children, ...props }: ChainOfThoughtContentProps) => import("react").JSX.Element>;
|
|
24
24
|
export type ChainOfThoughtImageProps = ComponentProps<'div'> & {
|
|
25
25
|
caption?: string;
|
|
26
26
|
};
|
|
27
|
-
export declare const ChainOfThoughtImage: import(
|
|
27
|
+
export declare const ChainOfThoughtImage: import('react').MemoExoticComponent<({ className, children, caption, ...props }: ChainOfThoughtImageProps) => import("react").JSX.Element>;
|
|
28
28
|
//# sourceMappingURL=ChainOfThought.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainOfThought.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/ChainOfThought.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChainOfThought.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/ChainOfThought.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAsBvD,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACxD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,cAAc,2GAQtB,mBAAmB,iCAkBvB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,cAAc,CACpD,OAAO,kBAAkB,CAC1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,0EACK,yBAAyB,iCA0B9D,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC5D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,4GAS1B,uBAAuB,iCA+B3B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAErE,eAAO,MAAM,2BAA2B,gEACZ,gCAAgC,iCAG3D,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;AAE3E,eAAO,MAAM,0BAA0B,0EACD,+BAA+B,iCASpE,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,cAAc,CACrD,OAAO,kBAAkB,CAC1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,0EACI,0BAA0B,iCAkB/D,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mFACe,wBAAwB,iCAQtE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Button } from '@zukhruf/shadcn';
|
|
2
|
+
import { ComponentProps, HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
export type CodeBlockProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
code: string;
|
|
5
5
|
language: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/CodeBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/CodeBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGzC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvE,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,0EAQvB,cAAc,gCAkEhB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACrE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,6DAOjC,wBAAwB,gCA+B1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Button } from '@zukhruf/shadcn';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
2
3
|
import { StickToBottom } from 'use-stick-to-bottom';
|
|
3
|
-
import { Button } from '@deepagents/react-shadcn';
|
|
4
4
|
export type ConversationProps = ComponentProps<typeof StickToBottom>;
|
|
5
5
|
export declare const Conversation: ({ className, ...props }: ConversationProps) => import("react").JSX.Element;
|
|
6
6
|
export type ConversationContentProps = ComponentProps<typeof StickToBottom.Content>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Conversation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Conversation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGzC,OAAO,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,aAAa,EAA2B,MAAM,qBAAqB,CAAC;AAE7E,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAErE,eAAO,MAAM,YAAY,GAAI,yBAAyB,iBAAiB,gCAQtE,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CACnD,OAAO,aAAa,CAAC,OAAO,CAC7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,yBAGjC,wBAAwB,gCAE1B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,6DAOpC,2BAA2B,gCAoB7B,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAE1E,eAAO,MAAM,wBAAwB,GAAI,yBAGtC,6BAA6B,wCAwB/B,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { Avatar } from '@zukhruf/shadcn';
|
|
2
|
+
import { UIMessage } from 'ai';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ComponentProps, HTMLAttributes } from 'react';
|
|
5
5
|
export type MessageProps = HTMLAttributes<HTMLDivElement> & {
|
|
6
6
|
from: UIMessage['role'];
|
|
7
7
|
};
|
|
8
8
|
export declare const Message: ({ className, from, ...props }: MessageProps) => import("react").JSX.Element;
|
|
9
9
|
declare const messageContentVariants: (props?: ({
|
|
10
10
|
variant?: "flat" | "contained" | null | undefined;
|
|
11
|
-
} & import(
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
12
|
export type MessageContentProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof messageContentVariants>;
|
|
13
13
|
export declare const MessageContent: ({ children, className, variant, ...props }: MessageContentProps) => import("react").JSX.Element;
|
|
14
14
|
export type MessageAvatarProps = ComponentProps<typeof Avatar> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA+B,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC1D,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,+BAA+B,YAAY,gCASlE,CAAC;AAEF,QAAA,MAAM,sBAAsB;;8EAoB3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAC9D,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE9C,eAAO,MAAM,cAAc,GAAI,4CAK5B,mBAAmB,gCAOrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,oCAK3B,kBAAkB,gCAKpB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, DropdownMenu, DropdownMenuContent, DropdownMenuItem, HoverCard, HoverCardContent, HoverCardTrigger, InputGroupAddon, InputGroupButton, InputGroupTextarea, Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@zukhruf/shadcn';
|
|
2
|
+
import { ChatStatus, FileUIPart } from 'ai';
|
|
3
|
+
import { ComponentProps, FormEvent, HTMLAttributes, PropsWithChildren, ReactNode, RefObject } from 'react';
|
|
4
4
|
export type AttachmentsContext = {
|
|
5
5
|
files: (FileUIPart & {
|
|
6
6
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromptInput.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/PromptInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PromptInput.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/PromptInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAEhB,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAEhB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,EACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAajD,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,SAAS,EAGd,KAAK,cAAc,EAEnB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,SAAS,EASf,MAAM,OAAO,CAAC;AAMf,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,CAAC,UAAU,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACvC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,QAAQ,KAAK,IAAI,CAAC;IACxC,MAAM,E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uBAAuB,gCAEzB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAErE,eAAO,MAAM,kBAAkB,GAAI,yBAGhC,uBAAuB,gCAQzB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAErE,eAAO,MAAM,kBAAkB,GAAI,yBAGhC,uBAAuB,gCAAqD,CAAC;AAEhF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE/E,eAAO,MAAM,uBAAuB,GAAI,yBAGrC,4BAA4B,gCAE9B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE7E,eAAO,MAAM,sBAAsB,GAAI,yBAGpC,2BAA2B,gCAE7B,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE/E,eAAO,MAAM,uBAAuB,GAAI,yBAGrC,4BAA4B,gCAE9B,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE/E,eAAO,MAAM,uBAAuB,GAAI,yBAGrC,4BAA4B,gCAE9B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE7E,eAAO,MAAM,sBAAsB,GAAI,yBAGpC,2BAA2B,gCAE7B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAC3D,OAAO,gBAAgB,CACxB,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,yBAGzC,gCAAgC,gCAElC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { TablePanelStreamdownProps } from './table-panel-extension.tsx';
|
|
1
2
|
import * as React from 'react';
|
|
2
|
-
import { type TablePanelStreamdownProps } from './table-panel-extension.tsx';
|
|
3
3
|
export type ResponseProps = TablePanelStreamdownProps;
|
|
4
4
|
export declare const Response: React.MemoExoticComponent<({ className, ...props }: ResponseProps) => React.JSX.Element>;
|
|
5
5
|
//# sourceMappingURL=Response.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Response.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Response.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,aAAa,GAAG,yBAAyB,CAAC;AA+BtD,eAAO,MAAM,QAAQ,sDAAkC,aAAa,uBAUlE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@zukhruf/shadcn';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
3
|
export type TaskItemFileProps = ComponentProps<'div'>;
|
|
4
4
|
export declare const TaskItemFile: ({ children, className, ...props }: TaskItemFileProps) => import("react").JSX.Element;
|
|
5
5
|
export type TaskItemProps = ComponentProps<'div'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Task.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Task.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,GAAI,mCAI1B,iBAAiB,gCAUnB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ,GAAI,mCAAmC,aAAa,gCAIxE,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,eAAO,MAAM,IAAI,GAAI,sCAIlB,SAAS,gCASX,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAAG;IACzE,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,0CAKzB,gBAAgB,gCAUlB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEzE,eAAO,MAAM,WAAW,GAAI,mCAIzB,gBAAgB,gCAYlB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { Collapsible, CollapsibleContent } from '@zukhruf/shadcn';
|
|
2
|
+
import { DynamicToolUIPart, ToolUIPart } from 'ai';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
4
|
export type ToolProps = ComponentProps<typeof Collapsible>;
|
|
5
5
|
export declare const Tool: ({ className, ...props }: ToolProps) => import("react").JSX.Element;
|
|
6
6
|
export type ToolHeaderProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tool.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Tool.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Tool.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/Tool.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EACX,kBAAkB,EAEnB,MAAM,iBAAiB,CAAC;AACzB,O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export type ToolTip = {
|
|
4
4
|
text: string;
|
|
5
5
|
cooldown: 'frequent' | 'moderate' | 'rare';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { type ComponentProps } from 'react';
|
|
1
|
+
import { Table } from 'mdast';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
4
3
|
import { Streamdown } from 'streamdown';
|
|
4
|
+
import * as React from 'react';
|
|
5
5
|
export type TablePanelStreamdownProps = Omit<ComponentProps<typeof Streamdown>, 'parseMarkdownIntoBlocksFn'> & {
|
|
6
6
|
tableActions?: React.ReactNode;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-panel-extension.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/table-panel-extension.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-panel-extension.d.ts","sourceRoot":"","sources":["../../../src/lib/elements/table-panel-extension.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,KAAK,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,cAAc,EAAW,MAAM,OAAO,CAAC;AAIrD,OAAO,EAKL,UAAU,EAMX,MAAM,YAAY,CAAC;AAOpB,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,cAAc,CAAC,OAAO,UAAU,CAAC,EACjC,2BAA2B,CAC5B,GAAG;IACF,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC,CAAC;AAeF,UAAU,cAAc;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACtC,CAAC;IACF,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC;IACrB,UAAU,eAAe;QACvB,UAAU,EAAE,cAAc,CAAC;KAC5B;IAED,UAAU,cAAc;QACtB,UAAU,EAAE,cAAc,CAAC;KAC5B;CACF;AAwRD,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,yBAAyB,qBA0D3B"}
|
|
@@ -4,7 +4,7 @@ interface UseAutoResizeTextareaProps {
|
|
|
4
4
|
value?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare function useAutoResizeTextarea({ minHeight, maxHeight, value, }: UseAutoResizeTextareaProps): {
|
|
7
|
-
textareaRef: import(
|
|
7
|
+
textareaRef: import('react').RefObject<HTMLTextAreaElement | null>;
|
|
8
8
|
adjustHeight: (reset?: boolean) => void;
|
|
9
9
|
};
|
|
10
10
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-part.d.ts","sourceRoot":"","sources":["../../../src/lib/renderers/render-part.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"render-part.d.ts","sourceRoot":"","sources":["../../../src/lib/renderers/render-part.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,IAAI,CAAC;AAwDrC,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,+BAiCxD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ToolUIPart, UIMessage } from 'ai';
|
|
2
|
+
import { ComponentRegistry } from './registry.ts';
|
|
3
3
|
/**
|
|
4
4
|
* A subagent call is identified by the `toolMetadata` the backend attaches to
|
|
5
5
|
* the tool definition, never by tool name — so every tool built by the subagent
|
|
@@ -9,7 +9,7 @@ export declare function isSubagentPart(part: UIMessage['parts'][number]): boolea
|
|
|
9
9
|
export declare function subagentDisplayName(part: ToolUIPart): string;
|
|
10
10
|
export declare function resolveToolEntry(part: Pick<UIMessage['parts'][number], 'type'>, registry: ComponentRegistry | undefined): {
|
|
11
11
|
toolKey: string;
|
|
12
|
-
toolEntry: import(
|
|
12
|
+
toolEntry: import('./registry.ts').StaticTool | import('./registry.ts').ComponentTool<import('zod').ZodType<unknown, unknown, import('zod/v4/core').$ZodTypeInternals<unknown, unknown>>> | undefined;
|
|
13
13
|
};
|
|
14
14
|
export declare function isActiveClientInputTool(toolEntry: ComponentRegistry[string] | undefined, state: ToolUIPart['state'] | undefined): boolean;
|
|
15
15
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { ToolUIPart } from 'ai';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
import { ZodTypeAny } from 'zod';
|
|
4
|
+
import { ToolTip } from '../elements/interactive-element.ts';
|
|
5
5
|
export type ToolLabel = {
|
|
6
6
|
name: string;
|
|
7
7
|
icon?: ComponentType<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
2
|
export interface ArrowUpIconHandle {
|
|
3
3
|
startAnimation: () => void;
|
|
4
4
|
stopAnimation: () => void;
|
|
@@ -6,6 +6,6 @@ export interface ArrowUpIconHandle {
|
|
|
6
6
|
interface ArrowUpIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
7
|
size?: number;
|
|
8
8
|
}
|
|
9
|
-
declare const ArrowUpIcon: import(
|
|
9
|
+
declare const ArrowUpIcon: import('react').ForwardRefExoticComponent<ArrowUpIconProps & import('react').RefAttributes<ArrowUpIconHandle>>;
|
|
10
10
|
export { ArrowUpIcon };
|
|
11
11
|
//# sourceMappingURL=ArrowUpIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowUpIcon.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/ArrowUpIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArrowUpIcon.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/ArrowUpIcon.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAuBD,QAAA,MAAM,WAAW,gHAoEhB,CAAC;AAIF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TablePanel.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/TablePanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TablePanel.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/TablePanel.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAW7B;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ7B;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAW5E;AAED,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAW7B;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ7B;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ7B;AAED,eAAO,MAAM,UAAU;;;;;;;CAOrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnicodeSpinner.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/UnicodeSpinner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UnicodeSpinner.d.ts","sourceRoot":"","sources":["../../../src/lib/ui/UnicodeSpinner.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;CAkCJ,CAAC;AAEX,KAAK,cAAc,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG;IAClD,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,+BAwBA;AAED,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,YAAY,EAAE,cAAc,EAAE,CAAC"}
|