@axiom-lattice/react-sdk 2.1.43 → 2.1.45

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.mts CHANGED
@@ -21,7 +21,7 @@ import { NodeProps, Node } from '@xyflow/react';
21
21
  interface ClientConfig {
22
22
  baseURL: string;
23
23
  apiKey: string;
24
- assistantId: string;
24
+ assistantId?: string;
25
25
  transport: "sse" | "ws";
26
26
  timeout?: number;
27
27
  headers?: Record<string, string>;
@@ -38,6 +38,11 @@ interface AxiomLatticeProviderProps {
38
38
  * Children components
39
39
  */
40
40
  children: ReactNode;
41
+ /**
42
+ * Callback function called when a 401 Unauthorized error occurs
43
+ * If not provided, a global event 'lattice:unauthorized' will be dispatched
44
+ */
45
+ onUnauthorized?: () => void;
41
46
  }
42
47
  /**
43
48
  * Thread interface
@@ -229,6 +234,59 @@ interface StreamEventHandlerOptions {
229
234
  */
230
235
  onComplete?: (response: ChatResponse) => void;
231
236
  }
237
+ /**
238
+ * Options for useApi hook
239
+ */
240
+ interface UseApiOptions {
241
+ /**
242
+ * Callback function called when a 401 Unauthorized error occurs
243
+ * If not provided, the global onUnauthorized handler from AxiomLatticeProvider will be used
244
+ */
245
+ onUnauthorized?: () => void;
246
+ }
247
+ /**
248
+ * Return type for useApi hook
249
+ */
250
+ interface UseApiReturn {
251
+ /**
252
+ * Make a GET request
253
+ * @param url - The URL to request
254
+ * @param options - Additional request options
255
+ * @returns Promise with the response data
256
+ */
257
+ get: <T>(url: string, options?: RequestInit) => Promise<T>;
258
+ /**
259
+ * Make a POST request
260
+ * @param url - The URL to request
261
+ * @param body - The request body
262
+ * @param options - Additional request options
263
+ * @returns Promise with the response data
264
+ */
265
+ post: <T>(url: string, body?: any, options?: RequestInit) => Promise<T>;
266
+ /**
267
+ * Make a PUT request
268
+ * @param url - The URL to request
269
+ * @param body - The request body
270
+ * @param options - Additional request options
271
+ * @returns Promise with the response data
272
+ */
273
+ put: <T>(url: string, body?: any, options?: RequestInit) => Promise<T>;
274
+ /**
275
+ * Make a DELETE request
276
+ * @param url - The URL to request
277
+ * @param options - Additional request options
278
+ * @returns Promise with the response data
279
+ */
280
+ del: <T>(url: string, options?: RequestInit) => Promise<T>;
281
+ /**
282
+ * Whether a request is currently in progress
283
+ */
284
+ isLoading: boolean;
285
+ /**
286
+ * Error from the last request, if any
287
+ */
288
+ error: Error | null;
289
+ }
232
290
 
233
291
  /**
234
292
  * Hook for managing chat interactions with an agent
@@ -241,10 +299,11 @@ interface StreamEventHandlerOptions {
241
299
  * - Optionally returning agent state when streaming completes
242
300
  *
243
301
  * @param threadId - Thread ID to use for chat
302
+ * @param assistantId - Assistant ID to chat with
244
303
  * @param options - Chat options
245
304
  * @returns Chat state and operations
246
305
  */
247
- declare function useChat<T extends UseChatOptions>(threadId: string | null, options?: T): (T["enableReturnStateWhenStreamCompleted"] extends true ? ChatStateWithAgent : ChatState) & {
306
+ declare function useChat<T extends UseChatOptions>(threadId: string | null, assistantId: string, options?: T): (T["enableReturnStateWhenStreamCompleted"] extends true ? ChatStateWithAgent : ChatState) & {
248
307
  sendMessage: (data: {
249
308
  input?: {
250
309
  message: string;
@@ -332,35 +391,52 @@ declare function useAgentChat<T extends UseChatOptions>(options?: T): ChatStateW
332
391
  /**
333
392
  * Hook for monitoring agent state
334
393
  * @param threadId - Thread ID to monitor
394
+ * @param assistantId - Assistant ID to monitor (required for factory pattern)
335
395
  * @param options - Agent state options
336
396
  * @returns Agent state and control functions
337
397
  */
338
- declare function useAgentState(threadId: string | null, options?: UseAgentStateOptions): UseAgentStateReturn;
398
+ declare function useAgentState(threadId: string | null, assistantId: string, options?: UseAgentStateOptions): UseAgentStateReturn;
339
399
 
340
400
  /**
341
401
  * Hook for fetching agent graph visualization
402
+ * @param assistantId - Assistant ID to fetch graph for
342
403
  * @returns Graph state and operations
343
404
  */
344
- declare function useAgentGraph(): {
405
+ declare function useAgentGraph(assistantId: string): {
345
406
  graphImage: string | null;
346
407
  isLoading: boolean;
347
408
  error: Error | null;
348
409
  fetchGraph: () => Promise<void>;
349
410
  };
350
411
 
412
+ /**
413
+ * Hook for making API requests with automatic header handling and 401 error handling
414
+ * @param options - Hook options
415
+ * @returns Object with request methods and state
416
+ */
417
+ declare function useApi(options?: UseApiOptions): UseApiReturn;
418
+
351
419
  /**
352
420
  * Provider component for the Axiom Lattice client
353
421
  * @param props - Provider props
354
422
  * @returns Provider component
355
423
  */
356
- declare function AxiomLatticeProvider({ config, children, }: AxiomLatticeProviderProps): react_jsx_runtime.JSX.Element;
424
+ declare function AxiomLatticeProvider({ config, onUnauthorized, children, }: AxiomLatticeProviderProps): react_jsx_runtime.JSX.Element;
357
425
  interface UseAxiomLatticeOptions {
358
- assistantId?: string;
426
+ assistantId?: string | null;
359
427
  }
428
+ /**
429
+ * Hook to get a client for a specific assistant
430
+ * @param assistantId - The assistant ID
431
+ * @returns Client instance for the assistant
432
+ * @throws Error if used outside of AxiomLatticeProvider
433
+ */
434
+ declare function useClient(assistantId: string): Client;
360
435
  /**
361
436
  * Hook to access the Axiom Lattice client
362
437
  * @returns The Axiom Lattice client
363
438
  * @throws Error if used outside of AxiomLatticeProvider
439
+ * @deprecated Use useClient(assistantId) instead
364
440
  */
365
441
  declare function useAxiomLattice({ assistantId, }?: UseAxiomLatticeOptions): Client;
366
442
 
@@ -641,16 +717,28 @@ declare const ChatUIContext: React$1.Context<{
641
717
  component_key: string;
642
718
  data: any;
643
719
  message?: string;
720
+ context?: {
721
+ thread_id?: string;
722
+ assistant_id?: string;
723
+ };
644
724
  } | null;
645
725
  setSideAppSelectedCard: (card: {
646
726
  component_key: string;
647
727
  data: any;
648
728
  message?: string;
729
+ context?: {
730
+ thread_id?: string;
731
+ assistant_id?: string;
732
+ };
649
733
  } | null) => void;
650
734
  openSideApp: (card: {
651
735
  component_key: string;
652
736
  data: any;
653
737
  message?: string;
738
+ context?: {
739
+ thread_id?: string;
740
+ assistant_id?: string;
741
+ };
654
742
  }) => void;
655
743
  closeSideApp: () => void;
656
744
  menuCollapsed: boolean;
@@ -668,16 +756,28 @@ declare const useChatUIContext: () => {
668
756
  component_key: string;
669
757
  data: any;
670
758
  message?: string;
759
+ context?: {
760
+ thread_id?: string;
761
+ assistant_id?: string;
762
+ };
671
763
  } | null;
672
764
  setSideAppSelectedCard: (card: {
673
765
  component_key: string;
674
766
  data: any;
675
767
  message?: string;
768
+ context?: {
769
+ thread_id?: string;
770
+ assistant_id?: string;
771
+ };
676
772
  } | null) => void;
677
773
  openSideApp: (card: {
678
774
  component_key: string;
679
775
  data: any;
680
776
  message?: string;
777
+ context?: {
778
+ thread_id?: string;
779
+ assistant_id?: string;
780
+ };
681
781
  }) => void;
682
782
  closeSideApp: () => void;
683
783
  menuCollapsed: boolean;
@@ -1287,10 +1387,7 @@ interface AgentConversationsProps {
1287
1387
  }
1288
1388
  declare const AgentConversations: React__default.FC<AgentConversationsProps>;
1289
1389
 
1290
- interface MetricsConfigDrawerContentProps {
1291
- tenantId?: string;
1292
- }
1293
- declare const MetricsConfigDrawerContent: React__default.FC<MetricsConfigDrawerContentProps>;
1390
+ declare const MetricsConfigDrawerContent: React__default.FC;
1294
1391
 
1295
1392
  type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children"> & {
1296
1393
  /**
@@ -1831,4 +1928,4 @@ declare const useAxiomTheme: () => {
1831
1928
  };
1832
1929
  };
1833
1930
 
1834
- export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAuth, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext, useTenants, useUsers };
1931
+ export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useLatticeChatShellContext, useTenants, useUsers };
package/dist/index.d.ts CHANGED
@@ -21,7 +21,7 @@ import { NodeProps, Node } from '@xyflow/react';
21
21
  interface ClientConfig {
22
22
  baseURL: string;
23
23
  apiKey: string;
24
- assistantId: string;
24
+ assistantId?: string;
25
25
  transport: "sse" | "ws";
26
26
  timeout?: number;
27
27
  headers?: Record<string, string>;
@@ -38,6 +38,11 @@ interface AxiomLatticeProviderProps {
38
38
  * Children components
39
39
  */
40
40
  children: ReactNode;
41
+ /**
42
+ * Callback function called when a 401 Unauthorized error occurs
43
+ * If not provided, a global event 'lattice:unauthorized' will be dispatched
44
+ */
45
+ onUnauthorized?: () => void;
41
46
  }
42
47
  /**
43
48
  * Thread interface
@@ -229,6 +234,59 @@ interface StreamEventHandlerOptions {
229
234
  */
230
235
  onComplete?: (response: ChatResponse) => void;
231
236
  }
237
+ /**
238
+ * Options for useApi hook
239
+ */
240
+ interface UseApiOptions {
241
+ /**
242
+ * Callback function called when a 401 Unauthorized error occurs
243
+ * If not provided, the global onUnauthorized handler from AxiomLatticeProvider will be used
244
+ */
245
+ onUnauthorized?: () => void;
246
+ }
247
+ /**
248
+ * Return type for useApi hook
249
+ */
250
+ interface UseApiReturn {
251
+ /**
252
+ * Make a GET request
253
+ * @param url - The URL to request
254
+ * @param options - Additional request options
255
+ * @returns Promise with the response data
256
+ */
257
+ get: <T>(url: string, options?: RequestInit) => Promise<T>;
258
+ /**
259
+ * Make a POST request
260
+ * @param url - The URL to request
261
+ * @param body - The request body
262
+ * @param options - Additional request options
263
+ * @returns Promise with the response data
264
+ */
265
+ post: <T>(url: string, body?: any, options?: RequestInit) => Promise<T>;
266
+ /**
267
+ * Make a PUT request
268
+ * @param url - The URL to request
269
+ * @param body - The request body
270
+ * @param options - Additional request options
271
+ * @returns Promise with the response data
272
+ */
273
+ put: <T>(url: string, body?: any, options?: RequestInit) => Promise<T>;
274
+ /**
275
+ * Make a DELETE request
276
+ * @param url - The URL to request
277
+ * @param options - Additional request options
278
+ * @returns Promise with the response data
279
+ */
280
+ del: <T>(url: string, options?: RequestInit) => Promise<T>;
281
+ /**
282
+ * Whether a request is currently in progress
283
+ */
284
+ isLoading: boolean;
285
+ /**
286
+ * Error from the last request, if any
287
+ */
288
+ error: Error | null;
289
+ }
232
290
 
233
291
  /**
234
292
  * Hook for managing chat interactions with an agent
@@ -241,10 +299,11 @@ interface StreamEventHandlerOptions {
241
299
  * - Optionally returning agent state when streaming completes
242
300
  *
243
301
  * @param threadId - Thread ID to use for chat
302
+ * @param assistantId - Assistant ID to chat with
244
303
  * @param options - Chat options
245
304
  * @returns Chat state and operations
246
305
  */
247
- declare function useChat<T extends UseChatOptions>(threadId: string | null, options?: T): (T["enableReturnStateWhenStreamCompleted"] extends true ? ChatStateWithAgent : ChatState) & {
306
+ declare function useChat<T extends UseChatOptions>(threadId: string | null, assistantId: string, options?: T): (T["enableReturnStateWhenStreamCompleted"] extends true ? ChatStateWithAgent : ChatState) & {
248
307
  sendMessage: (data: {
249
308
  input?: {
250
309
  message: string;
@@ -332,35 +391,52 @@ declare function useAgentChat<T extends UseChatOptions>(options?: T): ChatStateW
332
391
  /**
333
392
  * Hook for monitoring agent state
334
393
  * @param threadId - Thread ID to monitor
394
+ * @param assistantId - Assistant ID to monitor (required for factory pattern)
335
395
  * @param options - Agent state options
336
396
  * @returns Agent state and control functions
337
397
  */
338
- declare function useAgentState(threadId: string | null, options?: UseAgentStateOptions): UseAgentStateReturn;
398
+ declare function useAgentState(threadId: string | null, assistantId: string, options?: UseAgentStateOptions): UseAgentStateReturn;
339
399
 
340
400
  /**
341
401
  * Hook for fetching agent graph visualization
402
+ * @param assistantId - Assistant ID to fetch graph for
342
403
  * @returns Graph state and operations
343
404
  */
344
- declare function useAgentGraph(): {
405
+ declare function useAgentGraph(assistantId: string): {
345
406
  graphImage: string | null;
346
407
  isLoading: boolean;
347
408
  error: Error | null;
348
409
  fetchGraph: () => Promise<void>;
349
410
  };
350
411
 
412
+ /**
413
+ * Hook for making API requests with automatic header handling and 401 error handling
414
+ * @param options - Hook options
415
+ * @returns Object with request methods and state
416
+ */
417
+ declare function useApi(options?: UseApiOptions): UseApiReturn;
418
+
351
419
  /**
352
420
  * Provider component for the Axiom Lattice client
353
421
  * @param props - Provider props
354
422
  * @returns Provider component
355
423
  */
356
- declare function AxiomLatticeProvider({ config, children, }: AxiomLatticeProviderProps): react_jsx_runtime.JSX.Element;
424
+ declare function AxiomLatticeProvider({ config, onUnauthorized, children, }: AxiomLatticeProviderProps): react_jsx_runtime.JSX.Element;
357
425
  interface UseAxiomLatticeOptions {
358
- assistantId?: string;
426
+ assistantId?: string | null;
359
427
  }
428
+ /**
429
+ * Hook to get a client for a specific assistant
430
+ * @param assistantId - The assistant ID
431
+ * @returns Client instance for the assistant
432
+ * @throws Error if used outside of AxiomLatticeProvider
433
+ */
434
+ declare function useClient(assistantId: string): Client;
360
435
  /**
361
436
  * Hook to access the Axiom Lattice client
362
437
  * @returns The Axiom Lattice client
363
438
  * @throws Error if used outside of AxiomLatticeProvider
439
+ * @deprecated Use useClient(assistantId) instead
364
440
  */
365
441
  declare function useAxiomLattice({ assistantId, }?: UseAxiomLatticeOptions): Client;
366
442
 
@@ -641,16 +717,28 @@ declare const ChatUIContext: React$1.Context<{
641
717
  component_key: string;
642
718
  data: any;
643
719
  message?: string;
720
+ context?: {
721
+ thread_id?: string;
722
+ assistant_id?: string;
723
+ };
644
724
  } | null;
645
725
  setSideAppSelectedCard: (card: {
646
726
  component_key: string;
647
727
  data: any;
648
728
  message?: string;
729
+ context?: {
730
+ thread_id?: string;
731
+ assistant_id?: string;
732
+ };
649
733
  } | null) => void;
650
734
  openSideApp: (card: {
651
735
  component_key: string;
652
736
  data: any;
653
737
  message?: string;
738
+ context?: {
739
+ thread_id?: string;
740
+ assistant_id?: string;
741
+ };
654
742
  }) => void;
655
743
  closeSideApp: () => void;
656
744
  menuCollapsed: boolean;
@@ -668,16 +756,28 @@ declare const useChatUIContext: () => {
668
756
  component_key: string;
669
757
  data: any;
670
758
  message?: string;
759
+ context?: {
760
+ thread_id?: string;
761
+ assistant_id?: string;
762
+ };
671
763
  } | null;
672
764
  setSideAppSelectedCard: (card: {
673
765
  component_key: string;
674
766
  data: any;
675
767
  message?: string;
768
+ context?: {
769
+ thread_id?: string;
770
+ assistant_id?: string;
771
+ };
676
772
  } | null) => void;
677
773
  openSideApp: (card: {
678
774
  component_key: string;
679
775
  data: any;
680
776
  message?: string;
777
+ context?: {
778
+ thread_id?: string;
779
+ assistant_id?: string;
780
+ };
681
781
  }) => void;
682
782
  closeSideApp: () => void;
683
783
  menuCollapsed: boolean;
@@ -1287,10 +1387,7 @@ interface AgentConversationsProps {
1287
1387
  }
1288
1388
  declare const AgentConversations: React__default.FC<AgentConversationsProps>;
1289
1389
 
1290
- interface MetricsConfigDrawerContentProps {
1291
- tenantId?: string;
1292
- }
1293
- declare const MetricsConfigDrawerContent: React__default.FC<MetricsConfigDrawerContentProps>;
1390
+ declare const MetricsConfigDrawerContent: React__default.FC;
1294
1391
 
1295
1392
  type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children"> & {
1296
1393
  /**
@@ -1831,4 +1928,4 @@ declare const useAxiomTheme: () => {
1831
1928
  };
1832
1929
  };
1833
1930
 
1834
- export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAuth, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext, useTenants, useUsers };
1931
+ export { type AgentChatProps, AgentConversations, type AgentConversationsProps, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, type AuthContextValue, AuthProvider, AxiomLatticeProvider, type AxiomLatticeProviderProps, type ChatResponse, type ChatState, type ChatStateWithAgent, ChatUIContext, ChatUIContextProvider, Chating, type ChatingProps, type ClientConfig, ColumnLayout, type ColumnLayoutProps, ConversationContext, ConversationContextProvider, type ConversationContextProviderProps, type ConversationContextValue, type ConversationThread, CreateAssistantModal, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, LoginForm, type LoginFormProps, LoginPage, MDResponse, MDViewFormItem, MetricsConfigDrawerContent, type MiddlewareConfigDefinition, type MiddlewareConfigSchema, type MiddlewareConfigSchemaProperty, type MiddlewareToolDefinition, type MiddlewareTypeDefinition, ProtectedRoute, type ProtectedRouteProps, type QuickPromptCategory, type QuickPromptItem, RegisterForm, type RegisterFormProps, type ResourceFolderConfig, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, type SideMenuItemConfig, type SideMenuItemType, SkillCategoryPrompts, type SkillCategoryPromptsProps, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, TenantSelector, type TenantSelectorProps, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseApiOptions, type UseApiReturn, type UseAxiomLatticeOptions, type UseChatOptions, type UseTenantsOptions, type UseTenantsReturn, type UseUsersOptions, type UseUsersReturn, UserProfile, type UserProfileProps, type UserTenantInfo, animation, axiomAntdTheme, axiomAntdThemeDark, axiomTokens, colors, generateLabelFromMessage, getAxiomAntdTheme, getElement, radius, regsiterElement, shadows, spacing, typography, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useApi, useAssistantContext, useAuth, useAxiomLattice, useAxiomTheme, useChat, useChatUIContext, useClient, useConversationContext, useLatticeChatShellContext, useTenants, useUsers };