@chatwidgetai/chat-widget 0.2.7 → 0.2.9
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/ai-chat-widget.umd.js +3106 -3146
- package/dist/ai-chat-widget.umd.js.map +1 -1
- package/dist/api/client.d.ts +6 -1
- package/dist/api/client.d.ts.map +1 -1
- package/dist/components/ChatWidget.d.ts.map +1 -1
- package/dist/components/ChatWindow.d.ts +2 -1
- package/dist/components/ChatWindow.d.ts.map +1 -1
- package/dist/hooks/useChat.d.ts.map +1 -1
- package/dist/index.esm.js +3108 -3148
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3106 -3146
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/actions/google-calendar-appointment/handler.d.ts +0 -2
- package/dist/actions/google-calendar-appointment/handler.d.ts.map +0 -1
- package/dist/actions/google-calendar-appointment/index.d.ts +0 -2
- package/dist/actions/google-calendar-appointment/index.d.ts.map +0 -1
- package/dist/actions/index.d.ts +0 -3
- package/dist/actions/index.d.ts.map +0 -1
- package/dist/actions/registry.d.ts +0 -24
- package/dist/actions/registry.d.ts.map +0 -1
- package/dist/components/FeedbackButtons.d.ts +0 -13
- package/dist/components/FeedbackButtons.d.ts.map +0 -1
- package/dist/components/FollowUpSuggestions.d.ts +0 -17
- package/dist/components/FollowUpSuggestions.d.ts.map +0 -1
- package/dist/components/Message.d.ts +0 -16
- package/dist/components/Message.d.ts.map +0 -1
- package/dist/components/MessageInput.d.ts +0 -14
- package/dist/components/MessageInput.d.ts.map +0 -1
- package/dist/components/MessageList.d.ts +0 -28
- package/dist/components/MessageList.d.ts.map +0 -1
- package/dist/components/Skeleton.d.ts +0 -11
- package/dist/components/Skeleton.d.ts.map +0 -1
- package/dist/components/Sources.d.ts +0 -12
- package/dist/components/Sources.d.ts.map +0 -1
- package/dist/components/SuggestedQuestions.d.ts +0 -17
- package/dist/components/SuggestedQuestions.d.ts.map +0 -1
- package/dist/components/ToolMessageGroup.d.ts +0 -11
- package/dist/components/ToolMessageGroup.d.ts.map +0 -1
- package/dist/components/TypingIndicator.d.ts +0 -7
- package/dist/components/TypingIndicator.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/actions/google-calendar-appointment/handler.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/google-calendar-appointment/index.tsx"],"names":[],"mappings":"AAEA,OAAO,WAAW,CAAC"}
|
package/dist/actions/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,+BAA+B,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from "react";
|
|
2
|
-
import { ConversationMessage, JsonValue } from "../types";
|
|
3
|
-
export type ActionInput = Record<string, JsonValue>;
|
|
4
|
-
export type ActionState = Record<string, JsonValue>;
|
|
5
|
-
export type ActionContext = {
|
|
6
|
-
widgetId: string;
|
|
7
|
-
conversationId: string;
|
|
8
|
-
toolCallId: string;
|
|
9
|
-
actionId: string;
|
|
10
|
-
implementation: string;
|
|
11
|
-
};
|
|
12
|
-
export type FrontendActionHandler = (input: ActionInput, state: ActionState, context: ActionContext) => Promise<ActionState>;
|
|
13
|
-
export type ActionRenderer = (message: ConversationMessage) => ReactElement | null;
|
|
14
|
-
export type ActionResumeCallback = (state: ActionState) => Promise<void>;
|
|
15
|
-
export declare const frontendActionHandlers: Record<string, FrontendActionHandler>;
|
|
16
|
-
export declare const actionRenderers: Record<string, ActionRenderer>;
|
|
17
|
-
export declare function getFrontendActionHandler(implementation: string): FrontendActionHandler | undefined;
|
|
18
|
-
export declare function getActionRenderer(implementation: string): ActionRenderer | undefined;
|
|
19
|
-
export declare function getActionPrompt(implementation: string): string;
|
|
20
|
-
export declare function waitForActionState(toolCallId: string): Promise<ActionState>;
|
|
21
|
-
export declare function resolveActionState(toolCallId: string, state: ActionState): void;
|
|
22
|
-
export declare function registerActionResumeCallback(toolCallId: string, callback: ActionResumeCallback): void;
|
|
23
|
-
export declare function unregisterActionResumeCallback(toolCallId: string): void;
|
|
24
|
-
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/actions/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAEpD,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAClC,KAAK,EAAE,WAAW,EAClB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,aAAa,KACnB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,mBAAmB,KAAK,YAAY,GAAG,IAAI,CAAC;AAEnF,MAAM,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAKzE,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAM,CAAC;AAChF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAM,CAAC;AAElE,wBAAgB,wBAAwB,CAAC,cAAc,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAElG;AAED,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAEpF;AAED,wBAAgB,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAK9D;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAI3E;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI,CAe/E;AAED,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAoB,GAAG,IAAI,CAErG;AAED,wBAAgB,8BAA8B,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAEvE"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FeedbackButtons Component
|
|
3
|
-
* Thumbs up/down buttons for message feedback with instant morph animation
|
|
4
|
-
* Uses SVG icons instead of emojis for cleaner UI
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
export interface FeedbackButtonsProps {
|
|
8
|
-
messageId: string;
|
|
9
|
-
currentFeedback?: 'positive' | 'negative';
|
|
10
|
-
onFeedback: (messageId: string, feedback: 'positive' | 'negative') => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const FeedbackButtons: React.FC<FeedbackButtonsProps>;
|
|
13
|
-
//# sourceMappingURL=FeedbackButtons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeedbackButtons.d.ts","sourceRoot":"","sources":["../../src/components/FeedbackButtons.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAqBxC,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAC1C,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAC;CAC5E;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuD1D,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FollowUpSuggestions Component
|
|
3
|
-
* Displays clickable follow-up suggestions after assistant messages
|
|
4
|
-
* Supports both questions (sent as messages) and actions (trigger tool calls)
|
|
5
|
-
*
|
|
6
|
-
* Styling: Questions are outlined, Actions are filled with accent color + lightning icon
|
|
7
|
-
*/
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { FollowUpSuggestion } from '../types';
|
|
10
|
-
export interface FollowUpSuggestionsProps {
|
|
11
|
-
suggestions: FollowUpSuggestion[];
|
|
12
|
-
onQuestionClick: (text: string, actionId?: string) => void;
|
|
13
|
-
onActionClick: (suggestion: FollowUpSuggestion) => void;
|
|
14
|
-
accentColor?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare const FollowUpSuggestions: React.FC<FollowUpSuggestionsProps>;
|
|
17
|
-
//# sourceMappingURL=FollowUpSuggestions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FollowUpSuggestions.d.ts","sourceRoot":"","sources":["../../src/components/FollowUpSuggestions.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAI9C,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAClC,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,aAAa,EAAE,CAAC,UAAU,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAeD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAgDlE,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Message Component
|
|
3
|
-
* Displays a single chat message with optional sources and feedback
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { ConversationMessage, SourceDisplayMode } from '../types';
|
|
7
|
-
export interface MessageProps {
|
|
8
|
-
message: ConversationMessage;
|
|
9
|
-
showTimestamp?: boolean;
|
|
10
|
-
enableFeedback?: boolean;
|
|
11
|
-
showSources?: boolean;
|
|
12
|
-
sourceDisplayMode?: SourceDisplayMode;
|
|
13
|
-
onFeedback?: (messageId: string, feedback: 'positive' | 'negative') => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const Message: React.FC<MessageProps>;
|
|
16
|
-
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../src/components/Message.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAoB,MAAM,UAAU,CAAC;AAMpF,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAC;CAC7E;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAsG1C,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MessageInput Component
|
|
3
|
-
* Text input for sending messages with optional file upload
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
export interface MessageInputProps {
|
|
7
|
-
onSend: (message: string, files?: File[]) => void;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
enableFileUpload?: boolean;
|
|
11
|
-
separateFromChat?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const MessageInput: React.FC<MessageInputProps>;
|
|
14
|
-
//# sourceMappingURL=MessageInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../src/components/MessageInput.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA0C,MAAM,OAAO,CAAC;AA2B/D,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgJpD,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MessageList Component
|
|
3
|
-
* Displays the list of chat messages with auto-scroll
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { ConversationMessage, SourceDisplayMode, FollowUpSuggestion } from '../types';
|
|
7
|
-
export interface MessageListProps {
|
|
8
|
-
messages: ConversationMessage[];
|
|
9
|
-
isTyping?: boolean;
|
|
10
|
-
showTypingIndicator?: boolean;
|
|
11
|
-
showTimestamps?: boolean;
|
|
12
|
-
enableFeedback?: boolean;
|
|
13
|
-
showSources?: boolean;
|
|
14
|
-
sourceDisplayMode?: SourceDisplayMode;
|
|
15
|
-
welcomeTitle?: string;
|
|
16
|
-
welcomeMessage?: string;
|
|
17
|
-
suggestedQuestions?: (string | {
|
|
18
|
-
text: string;
|
|
19
|
-
actionId?: string;
|
|
20
|
-
})[];
|
|
21
|
-
accentColor?: string;
|
|
22
|
-
onSuggestedQuestionClick?: (question: string, actionId?: string) => void;
|
|
23
|
-
onActionClick?: (suggestion: FollowUpSuggestion) => void;
|
|
24
|
-
onFeedback?: (messageId: string, feedback: 'positive' | 'negative') => void;
|
|
25
|
-
onScrollStateChange?: (showButton: boolean, scrollToBottom: () => void) => void;
|
|
26
|
-
}
|
|
27
|
-
export declare const MessageList: React.FC<MessageListProps>;
|
|
28
|
-
//# sourceMappingURL=MessageList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../src/components/MessageList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAWtF,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,CAAC,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACtE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wBAAwB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzE,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACzD,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAC;IAC5E,mBAAmB,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACjF;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2MlD,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface SkeletonProps {
|
|
3
|
-
height?: string | number;
|
|
4
|
-
width?: string | number;
|
|
5
|
-
borderRadius?: string | number;
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
}
|
|
9
|
-
export declare const Skeleton: React.FC<SkeletonProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../src/components/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkB5C,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sources Component
|
|
3
|
-
* Displays source citations for assistant messages with collapsible dropdown
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { KbDocument, SourceDisplayMode } from '../types';
|
|
7
|
-
export interface SourcesProps {
|
|
8
|
-
sources: KbDocument[];
|
|
9
|
-
displayMode?: SourceDisplayMode;
|
|
10
|
-
}
|
|
11
|
-
export declare const Sources: React.FC<SourcesProps>;
|
|
12
|
-
//# sourceMappingURL=Sources.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sources.d.ts","sourceRoot":"","sources":["../../src/components/Sources.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEzD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2D1C,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SuggestedQuestions Component
|
|
3
|
-
* Displays clickable suggested questions as horizontal pill buttons
|
|
4
|
-
* Modern minimal design with action type highlighting
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
type SuggestedQuestion = string | {
|
|
8
|
-
text: string;
|
|
9
|
-
actionId?: string;
|
|
10
|
-
};
|
|
11
|
-
export interface SuggestedQuestionsProps {
|
|
12
|
-
questions: SuggestedQuestion[];
|
|
13
|
-
onQuestionClick: (question: string, actionId?: string) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const SuggestedQuestions: React.FC<SuggestedQuestionsProps>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=SuggestedQuestions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestedQuestions.d.ts","sourceRoot":"","sources":["../../src/components/SuggestedQuestions.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,iBAAiB,GAAG,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChE;AAuBD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA4ChE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ToolMessageGroup Component
|
|
3
|
-
* Groups consecutive tool messages together with a single gear icon
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { ConversationMessage } from '../types';
|
|
7
|
-
export interface ToolMessageGroupProps {
|
|
8
|
-
messages: ConversationMessage[];
|
|
9
|
-
}
|
|
10
|
-
export declare const ToolMessageGroup: React.FC<ToolMessageGroupProps>;
|
|
11
|
-
//# sourceMappingURL=ToolMessageGroup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ToolMessageGroup.d.ts","sourceRoot":"","sources":["../../src/components/ToolMessageGroup.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAI/C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,mBAAmB,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA+C5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TypingIndicator.d.ts","sourceRoot":"","sources":["../../src/components/TypingIndicator.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAMnC,CAAC"}
|