@optilogic/chat 1.0.0-beta.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/src/index.ts ADDED
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @optilogic/chat
3
+ *
4
+ * Chat UI components for displaying LLM/AI agent interactions.
5
+ */
6
+
7
+ // Agent Response - Main component for displaying AI agent responses
8
+ export {
9
+ // Main component
10
+ AgentResponse,
11
+ type AgentResponseProps,
12
+
13
+ // Sub-components (for advanced customization)
14
+ ActivityIndicators,
15
+ MetadataRow,
16
+ ThinkingSection,
17
+ ActionBar,
18
+ type ActivityIndicatorsProps,
19
+ type MetadataRowProps,
20
+ type ThinkingSectionProps,
21
+ type ActionBarProps,
22
+
23
+ // Hooks
24
+ useAgentResponseAccumulator,
25
+ useThinkingTimer,
26
+ type UseAgentResponseAccumulatorOptions,
27
+ type UseAgentResponseAccumulatorReturn,
28
+ type UseThinkingTimerOptions,
29
+
30
+ // Types
31
+ type AgentResponseState,
32
+ type AgentResponseStatus,
33
+ type FeedbackValue,
34
+ type ToolCall,
35
+ type KnowledgeItem,
36
+ type MemoryItem,
37
+ type AgentMessage,
38
+ type GenericWebSocketMessage,
39
+
40
+ // Constants
41
+ initialAgentResponseState,
42
+
43
+ // Utilities
44
+ formatTime,
45
+ formatTotalTime,
46
+ } from "./components/agent-response";