@hef2024/llmasaservice-ui 0.19.1 → 0.20.1
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/AICHATPANEL-PORT-INVENTORY.md +831 -0
- package/DEBUG-ERROR-HANDLING.md +131 -0
- package/FIX-APPLIED.md +235 -0
- package/IMPLEMENTATION-COMPLETE.md +247 -0
- package/README.md +1 -0
- package/dist/index.css +635 -1
- package/dist/index.d.mts +37 -1
- package/dist/index.d.ts +37 -1
- package/dist/index.js +1241 -454
- package/dist/index.mjs +1083 -296
- package/docs/CHANGELOG-ERROR-HANDLING.md +248 -0
- package/docs/CONVERSATION-HISTORY.md +1 -0
- package/docs/ERROR-HANDLING-413.md +254 -0
- package/docs/ERROR-HANDLING-SUMMARY.md +132 -0
- package/package.json +2 -2
- package/src/AIAgentPanel.tsx +97 -1
- package/src/AIChatPanel.css +656 -1
- package/src/AIChatPanel.tsx +914 -69
- package/src/AgentPanel.tsx +3 -1
- package/src/ChatPanel.css +111 -0
- package/src/ChatPanel.tsx +169 -33
- package/src/components/ui/Button.tsx +1 -0
- package/src/components/ui/Dialog.tsx +1 -0
- package/src/components/ui/Input.tsx +1 -0
- package/src/components/ui/Select.tsx +1 -0
- package/src/components/ui/ToolInfoModal.tsx +66 -0
- package/src/components/ui/Tooltip.tsx +1 -0
- package/src/components/ui/index.ts +1 -0
- package/src/hooks/useAgentRegistry.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -232,6 +232,24 @@ interface AIAgentPanelProps {
|
|
|
232
232
|
followOnPrompt?: string;
|
|
233
233
|
historyListLimit?: number;
|
|
234
234
|
showConversationHistory?: boolean;
|
|
235
|
+
cssUrl?: string;
|
|
236
|
+
markdownClass?: string;
|
|
237
|
+
width?: string;
|
|
238
|
+
height?: string;
|
|
239
|
+
scrollToEnd?: boolean;
|
|
240
|
+
prismStyle?: any;
|
|
241
|
+
showSaveButton?: boolean;
|
|
242
|
+
showEmailButton?: boolean;
|
|
243
|
+
messages?: {
|
|
244
|
+
role: "user" | "assistant";
|
|
245
|
+
content: string;
|
|
246
|
+
}[];
|
|
247
|
+
showCallToAction?: boolean;
|
|
248
|
+
callToActionButtonText?: string;
|
|
249
|
+
callToActionEmailAddress?: string;
|
|
250
|
+
callToActionEmailSubject?: string;
|
|
251
|
+
customerEmailCaptureMode?: "HIDE" | "OPTIONAL" | "REQUIRED";
|
|
252
|
+
customerEmailCapturePlaceholder?: string;
|
|
235
253
|
}
|
|
236
254
|
declare const AIAgentPanel: React__default.ForwardRefExoticComponent<AIAgentPanelProps & React__default.RefAttributes<AIAgentPanelHandle>>;
|
|
237
255
|
|
|
@@ -308,6 +326,24 @@ interface AIChatPanelProps {
|
|
|
308
326
|
maxContextTokens?: number;
|
|
309
327
|
enableContextDetailView?: boolean;
|
|
310
328
|
onConversationCreated?: (conversationId: string) => void;
|
|
329
|
+
cssUrl?: string;
|
|
330
|
+
markdownClass?: string;
|
|
331
|
+
width?: string;
|
|
332
|
+
height?: string;
|
|
333
|
+
scrollToEnd?: boolean;
|
|
334
|
+
prismStyle?: any;
|
|
335
|
+
showSaveButton?: boolean;
|
|
336
|
+
showEmailButton?: boolean;
|
|
337
|
+
messages?: {
|
|
338
|
+
role: "user" | "assistant";
|
|
339
|
+
content: string;
|
|
340
|
+
}[];
|
|
341
|
+
showCallToAction?: boolean;
|
|
342
|
+
callToActionButtonText?: string;
|
|
343
|
+
callToActionEmailAddress?: string;
|
|
344
|
+
callToActionEmailSubject?: string;
|
|
345
|
+
customerEmailCaptureMode?: "HIDE" | "OPTIONAL" | "REQUIRED";
|
|
346
|
+
customerEmailCapturePlaceholder?: string;
|
|
311
347
|
}
|
|
312
348
|
/**
|
|
313
349
|
* Context section for the context viewer
|
|
@@ -390,7 +426,7 @@ declare function useAgentRegistry(agentIds: string[], options?: UseAgentRegistry
|
|
|
390
426
|
id: string;
|
|
391
427
|
name: string;
|
|
392
428
|
description: string;
|
|
393
|
-
status: "
|
|
429
|
+
status: "error" | "idle" | "loading" | "ready";
|
|
394
430
|
isReady: boolean;
|
|
395
431
|
avatarUrl: string | undefined;
|
|
396
432
|
localName: string | undefined;
|