@axiom-lattice/react-sdk 2.1.25 → 2.1.26
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 +24 -2
- package/dist/index.d.ts +24 -2
- package/dist/index.js +2664 -2300
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2548 -2184
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -737,6 +737,16 @@ 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;
|
|
740
750
|
}
|
|
741
751
|
/**
|
|
742
752
|
* Lattice Chat Shell context value interface
|
|
@@ -846,7 +856,19 @@ interface FileExplorerProps {
|
|
|
846
856
|
}
|
|
847
857
|
declare const FileExplorer: React__default.FC<ElementProps>;
|
|
848
858
|
|
|
849
|
-
|
|
859
|
+
interface AgentConversationsProps {
|
|
860
|
+
/**
|
|
861
|
+
* Whether users can create new threads from the UI
|
|
862
|
+
* Defaults to true
|
|
863
|
+
*/
|
|
864
|
+
enableThreadCreation?: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* Whether the thread list should be rendered
|
|
867
|
+
* Defaults to true
|
|
868
|
+
*/
|
|
869
|
+
enableThreadList?: boolean;
|
|
870
|
+
}
|
|
871
|
+
declare const AgentConversations: React__default.FC<AgentConversationsProps>;
|
|
850
872
|
|
|
851
873
|
type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children">;
|
|
852
874
|
/**
|
|
@@ -941,4 +963,4 @@ interface SkillNodeData extends Record<string, unknown> {
|
|
|
941
963
|
*/
|
|
942
964
|
declare const SkillNode: React__default.FC<NodeProps<Node<SkillNodeData>>>;
|
|
943
965
|
|
|
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 };
|
|
966
|
+
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,16 @@ 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;
|
|
740
750
|
}
|
|
741
751
|
/**
|
|
742
752
|
* Lattice Chat Shell context value interface
|
|
@@ -846,7 +856,19 @@ interface FileExplorerProps {
|
|
|
846
856
|
}
|
|
847
857
|
declare const FileExplorer: React__default.FC<ElementProps>;
|
|
848
858
|
|
|
849
|
-
|
|
859
|
+
interface AgentConversationsProps {
|
|
860
|
+
/**
|
|
861
|
+
* Whether users can create new threads from the UI
|
|
862
|
+
* Defaults to true
|
|
863
|
+
*/
|
|
864
|
+
enableThreadCreation?: boolean;
|
|
865
|
+
/**
|
|
866
|
+
* Whether the thread list should be rendered
|
|
867
|
+
* Defaults to true
|
|
868
|
+
*/
|
|
869
|
+
enableThreadList?: boolean;
|
|
870
|
+
}
|
|
871
|
+
declare const AgentConversations: React__default.FC<AgentConversationsProps>;
|
|
850
872
|
|
|
851
873
|
type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children">;
|
|
852
874
|
/**
|
|
@@ -941,4 +963,4 @@ interface SkillNodeData extends Record<string, unknown> {
|
|
|
941
963
|
*/
|
|
942
964
|
declare const SkillNode: React__default.FC<NodeProps<Node<SkillNodeData>>>;
|
|
943
965
|
|
|
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 };
|
|
966
|
+
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 };
|