@axiom-lattice/react-sdk 2.1.25 → 2.1.27

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
@@ -737,6 +737,18 @@ interface LatticeChatShellConfig {
737
737
  * Additional headers to include in requests (optional)
738
738
  */
739
739
  headers?: Record<string, string>;
740
+ /**
741
+ * Whether users can create new threads from the UI
742
+ * Defaults to true
743
+ */
744
+ enableThreadCreation?: boolean;
745
+ /**
746
+ * Whether users can view the thread list in the sidebar
747
+ * Defaults to true
748
+ */
749
+ enableThreadList?: boolean;
750
+ assistantId?: string;
751
+ showSideMenu?: boolean;
740
752
  }
741
753
  /**
742
754
  * Lattice Chat Shell context value interface
@@ -846,7 +858,19 @@ interface FileExplorerProps {
846
858
  }
847
859
  declare const FileExplorer: React__default.FC<ElementProps>;
848
860
 
849
- declare const AgentConversations: React__default.FC;
861
+ interface AgentConversationsProps {
862
+ /**
863
+ * Whether users can create new threads from the UI
864
+ * Defaults to true
865
+ */
866
+ enableThreadCreation?: boolean;
867
+ /**
868
+ * Whether the thread list should be rendered
869
+ * Defaults to true
870
+ */
871
+ enableThreadList?: boolean;
872
+ }
873
+ declare const AgentConversations: React__default.FC<AgentConversationsProps>;
850
874
 
851
875
  type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children">;
852
876
  /**
@@ -941,4 +965,4 @@ interface SkillNodeData extends Record<string, unknown> {
941
965
  */
942
966
  declare const SkillNode: React__default.FC<NodeProps<Node<SkillNodeData>>>;
943
967
 
944
- export { type AgentChatProps, AgentConversations, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, 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, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, MDResponse, MDViewFormItem, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, getElement, regsiterElement, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAxiomLattice, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext };
968
+ 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, 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, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, MDResponse, MDViewFormItem, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, getElement, regsiterElement, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAxiomLattice, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext };
package/dist/index.d.ts CHANGED
@@ -737,6 +737,18 @@ interface LatticeChatShellConfig {
737
737
  * Additional headers to include in requests (optional)
738
738
  */
739
739
  headers?: Record<string, string>;
740
+ /**
741
+ * Whether users can create new threads from the UI
742
+ * Defaults to true
743
+ */
744
+ enableThreadCreation?: boolean;
745
+ /**
746
+ * Whether users can view the thread list in the sidebar
747
+ * Defaults to true
748
+ */
749
+ enableThreadList?: boolean;
750
+ assistantId?: string;
751
+ showSideMenu?: boolean;
740
752
  }
741
753
  /**
742
754
  * Lattice Chat Shell context value interface
@@ -846,7 +858,19 @@ interface FileExplorerProps {
846
858
  }
847
859
  declare const FileExplorer: React__default.FC<ElementProps>;
848
860
 
849
- declare const AgentConversations: React__default.FC;
861
+ interface AgentConversationsProps {
862
+ /**
863
+ * Whether users can create new threads from the UI
864
+ * Defaults to true
865
+ */
866
+ enableThreadCreation?: boolean;
867
+ /**
868
+ * Whether the thread list should be rendered
869
+ * Defaults to true
870
+ */
871
+ enableThreadList?: boolean;
872
+ }
873
+ declare const AgentConversations: React__default.FC<AgentConversationsProps>;
850
874
 
851
875
  type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children">;
852
876
  /**
@@ -941,4 +965,4 @@ interface SkillNodeData extends Record<string, unknown> {
941
965
  */
942
966
  declare const SkillNode: React__default.FC<NodeProps<Node<SkillNodeData>>>;
943
967
 
944
- export { type AgentChatProps, AgentConversations, type AgentState, AgentThreadProvider, type AgentThreadProviderProps, AssistantContext, AssistantContextProvider, type AssistantContextProviderProps, type AssistantContextValue, AssistantFlow, type AssistantFlowProps, AssistantNode, type AssistantNodeData, type AssistantState, type AttachFile, 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, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, MDResponse, MDViewFormItem, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, getElement, regsiterElement, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAxiomLattice, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext };
968
+ 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, 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, type ElementMeta, type ElementProps, type ExplorerFile, FileExplorer, type FileExplorerProps, LatticeChat, LatticeChatShell, type LatticeChatShellConfig, LatticeChatShellContext, LatticeChatShellContextProvider, type LatticeChatShellContextProviderProps, type LatticeChatShellContextValue, type LatticeChatShellProps, MDResponse, MDViewFormItem, ScheduleButton, type ScheduleButtonProps, SideAppViewBrowser, SkillFlow, type SkillFlowProps, SkillNode, type SkillNodeData, type StreamEventHandlerOptions, type ThreadState, type ToolCallData, type UIMessage, type UseAgentStateOptions, type UseAgentStateReturn, type UseAxiomLatticeOptions, type UseChatOptions, getElement, regsiterElement, useAgentChat, useAgentGraph, useAgentState, useAgentThreadContext, useAssistantContext, useAxiomLattice, useChat, useChatUIContext, useConversationContext, useLatticeChatShellContext };