@axiom-lattice/react-sdk 2.1.31 → 2.1.33
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 +25 -6
- package/dist/index.d.ts +25 -6
- package/dist/index.js +1219 -738
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1155 -672
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -4
package/dist/index.d.mts
CHANGED
|
@@ -817,11 +817,21 @@ interface LatticeChatShellConfig {
|
|
|
817
817
|
*/
|
|
818
818
|
globalSharedSandboxURL?: string;
|
|
819
819
|
/**
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
820
|
+
* Available middleware types that can be configured for agents
|
|
821
|
+
* Each middleware type defines its name, description, and default configuration
|
|
822
|
+
* If not provided, default middleware types will be used
|
|
823
|
+
*/
|
|
824
824
|
availableMiddlewareTypes?: MiddlewareTypeDefinition[];
|
|
825
|
+
/**
|
|
826
|
+
* Whether users can create new assistants
|
|
827
|
+
* Defaults to true
|
|
828
|
+
*/
|
|
829
|
+
enableAssistantCreation?: boolean;
|
|
830
|
+
/**
|
|
831
|
+
* Whether users can edit existing assistants
|
|
832
|
+
* Defaults to true
|
|
833
|
+
*/
|
|
834
|
+
enableAssistantEditing?: boolean;
|
|
825
835
|
}
|
|
826
836
|
/**
|
|
827
837
|
* Lattice Chat Shell context value interface
|
|
@@ -945,7 +955,16 @@ interface AgentConversationsProps {
|
|
|
945
955
|
}
|
|
946
956
|
declare const AgentConversations: React__default.FC<AgentConversationsProps>;
|
|
947
957
|
|
|
948
|
-
type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children"
|
|
958
|
+
type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children"> & {
|
|
959
|
+
/**
|
|
960
|
+
* Whether users can create new assistants (default: true)
|
|
961
|
+
*/
|
|
962
|
+
enableAssistantCreation?: boolean;
|
|
963
|
+
/**
|
|
964
|
+
* Whether users can edit existing assistants (default: true)
|
|
965
|
+
*/
|
|
966
|
+
enableAssistantEditing?: boolean;
|
|
967
|
+
};
|
|
949
968
|
/**
|
|
950
969
|
* Lattice Chat Shell component
|
|
951
970
|
* Provides a complete chat interface with conversation management
|
|
@@ -1045,7 +1064,7 @@ declare const SkillNode: React__default.FC<NodeProps<Node<SkillNodeData>>>;
|
|
|
1045
1064
|
interface CreateAssistantModalProps {
|
|
1046
1065
|
open: boolean;
|
|
1047
1066
|
onCancel: () => void;
|
|
1048
|
-
onSuccess?: () => void;
|
|
1067
|
+
onSuccess?: (assistant: Assistant) => void;
|
|
1049
1068
|
}
|
|
1050
1069
|
declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>;
|
|
1051
1070
|
|
package/dist/index.d.ts
CHANGED
|
@@ -817,11 +817,21 @@ interface LatticeChatShellConfig {
|
|
|
817
817
|
*/
|
|
818
818
|
globalSharedSandboxURL?: string;
|
|
819
819
|
/**
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
820
|
+
* Available middleware types that can be configured for agents
|
|
821
|
+
* Each middleware type defines its name, description, and default configuration
|
|
822
|
+
* If not provided, default middleware types will be used
|
|
823
|
+
*/
|
|
824
824
|
availableMiddlewareTypes?: MiddlewareTypeDefinition[];
|
|
825
|
+
/**
|
|
826
|
+
* Whether users can create new assistants
|
|
827
|
+
* Defaults to true
|
|
828
|
+
*/
|
|
829
|
+
enableAssistantCreation?: boolean;
|
|
830
|
+
/**
|
|
831
|
+
* Whether users can edit existing assistants
|
|
832
|
+
* Defaults to true
|
|
833
|
+
*/
|
|
834
|
+
enableAssistantEditing?: boolean;
|
|
825
835
|
}
|
|
826
836
|
/**
|
|
827
837
|
* Lattice Chat Shell context value interface
|
|
@@ -945,7 +955,16 @@ interface AgentConversationsProps {
|
|
|
945
955
|
}
|
|
946
956
|
declare const AgentConversations: React__default.FC<AgentConversationsProps>;
|
|
947
957
|
|
|
948
|
-
type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children"
|
|
958
|
+
type LatticeChatShellProps = Omit<LatticeChatShellContextProviderProps, "children"> & {
|
|
959
|
+
/**
|
|
960
|
+
* Whether users can create new assistants (default: true)
|
|
961
|
+
*/
|
|
962
|
+
enableAssistantCreation?: boolean;
|
|
963
|
+
/**
|
|
964
|
+
* Whether users can edit existing assistants (default: true)
|
|
965
|
+
*/
|
|
966
|
+
enableAssistantEditing?: boolean;
|
|
967
|
+
};
|
|
949
968
|
/**
|
|
950
969
|
* Lattice Chat Shell component
|
|
951
970
|
* Provides a complete chat interface with conversation management
|
|
@@ -1045,7 +1064,7 @@ declare const SkillNode: React__default.FC<NodeProps<Node<SkillNodeData>>>;
|
|
|
1045
1064
|
interface CreateAssistantModalProps {
|
|
1046
1065
|
open: boolean;
|
|
1047
1066
|
onCancel: () => void;
|
|
1048
|
-
onSuccess?: () => void;
|
|
1067
|
+
onSuccess?: (assistant: Assistant) => void;
|
|
1049
1068
|
}
|
|
1050
1069
|
declare const CreateAssistantModal: React__default.FC<CreateAssistantModalProps>;
|
|
1051
1070
|
|