@axiom-lattice/core 2.1.27 → 2.1.28

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
@@ -830,19 +830,19 @@ interface CreateMetricsToolParams$3 {
830
830
  serverDescriptions?: Record<string, string>;
831
831
  }
832
832
  declare const createQueryMetricsListTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$3) => langchain.DynamicStructuredTool<z.ZodObject<{
833
- serverKey: z.ZodString;
833
+ serverKey: z.ZodOptional<z.ZodString>;
834
834
  datasourceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
835
835
  }, "strip", z.ZodTypeAny, {
836
- serverKey: string;
836
+ serverKey?: string | undefined;
837
837
  datasourceIds?: string[] | undefined;
838
838
  }, {
839
- serverKey: string;
839
+ serverKey?: string | undefined;
840
840
  datasourceIds?: string[] | undefined;
841
841
  }>, {
842
- serverKey: string;
842
+ serverKey?: string;
843
843
  datasourceIds?: string[];
844
844
  }, {
845
- serverKey: string;
845
+ serverKey?: string | undefined;
846
846
  datasourceIds?: string[] | undefined;
847
847
  }, string>;
848
848
 
@@ -851,24 +851,24 @@ interface CreateMetricsToolParams$2 {
851
851
  serverDescriptions?: Record<string, string>;
852
852
  }
853
853
  declare const createQueryMetricDefinitionTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$2) => langchain.DynamicStructuredTool<z.ZodObject<{
854
- serverKey: z.ZodString;
854
+ serverKey: z.ZodOptional<z.ZodString>;
855
855
  metricName: z.ZodString;
856
856
  datasourceId: z.ZodOptional<z.ZodString>;
857
857
  }, "strip", z.ZodTypeAny, {
858
858
  metricName: string;
859
- serverKey: string;
859
+ serverKey?: string | undefined;
860
860
  datasourceId?: string | undefined;
861
861
  }, {
862
862
  metricName: string;
863
- serverKey: string;
863
+ serverKey?: string | undefined;
864
864
  datasourceId?: string | undefined;
865
865
  }>, {
866
- serverKey: string;
866
+ serverKey?: string;
867
867
  metricName: string;
868
868
  datasourceId?: string;
869
869
  }, {
870
870
  metricName: string;
871
- serverKey: string;
871
+ serverKey?: string | undefined;
872
872
  datasourceId?: string | undefined;
873
873
  }, string>;
874
874
 
@@ -877,8 +877,8 @@ interface CreateMetricsToolParams$1 {
877
877
  serverDescriptions?: Record<string, string>;
878
878
  }
879
879
  declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$1) => langchain.DynamicStructuredTool<z.ZodObject<{
880
- serverKey: z.ZodString;
881
- datasourceId: z.ZodString;
880
+ serverKey: z.ZodOptional<z.ZodString>;
881
+ datasourceId: z.ZodOptional<z.ZodString>;
882
882
  metrics: z.ZodArray<z.ZodString, "many">;
883
883
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
884
884
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -896,9 +896,9 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
896
896
  }>, "many">>;
897
897
  limit: z.ZodOptional<z.ZodNumber>;
898
898
  }, "strip", z.ZodTypeAny, {
899
- serverKey: string;
900
- datasourceId: string;
901
899
  metrics: string[];
900
+ serverKey?: string | undefined;
901
+ datasourceId?: string | undefined;
902
902
  groupBy?: string[] | undefined;
903
903
  filters?: {
904
904
  values: (string | number | boolean)[];
@@ -907,9 +907,9 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
907
907
  }[] | undefined;
908
908
  limit?: number | undefined;
909
909
  }, {
910
- serverKey: string;
911
- datasourceId: string;
912
910
  metrics: string[];
911
+ serverKey?: string | undefined;
912
+ datasourceId?: string | undefined;
913
913
  groupBy?: string[] | undefined;
914
914
  filters?: {
915
915
  values: (string | number | boolean)[];
@@ -918,8 +918,8 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
918
918
  }[] | undefined;
919
919
  limit?: number | undefined;
920
920
  }>, {
921
- serverKey: string;
922
- datasourceId: string;
921
+ serverKey?: string;
922
+ datasourceId?: string;
923
923
  metrics: string[];
924
924
  groupBy?: string[];
925
925
  filters?: Array<{
@@ -929,9 +929,9 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
929
929
  }>;
930
930
  limit?: number;
931
931
  }, {
932
- serverKey: string;
933
- datasourceId: string;
934
932
  metrics: string[];
933
+ serverKey?: string | undefined;
934
+ datasourceId?: string | undefined;
935
935
  groupBy?: string[] | undefined;
936
936
  filters?: {
937
937
  values: (string | number | boolean)[];
@@ -946,19 +946,19 @@ interface CreateTablesToolParams {
946
946
  serverDescriptions?: Record<string, string>;
947
947
  }
948
948
  declare const createQueryTablesListTool: ({ serverKeys, serverDescriptions }: CreateTablesToolParams) => langchain.DynamicStructuredTool<z.ZodObject<{
949
- serverKey: z.ZodString;
949
+ serverKey: z.ZodOptional<z.ZodString>;
950
950
  datasourceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
951
951
  }, "strip", z.ZodTypeAny, {
952
- serverKey: string;
952
+ serverKey?: string | undefined;
953
953
  datasourceIds?: string[] | undefined;
954
954
  }, {
955
- serverKey: string;
955
+ serverKey?: string | undefined;
956
956
  datasourceIds?: string[] | undefined;
957
957
  }>, {
958
- serverKey: string;
958
+ serverKey?: string;
959
959
  datasourceIds?: string[];
960
960
  }, {
961
- serverKey: string;
961
+ serverKey?: string | undefined;
962
962
  datasourceIds?: string[] | undefined;
963
963
  }, string>;
964
964
 
@@ -967,24 +967,24 @@ interface CreateTableToolParams {
967
967
  serverDescriptions?: Record<string, string>;
968
968
  }
969
969
  declare const createQueryTableDefinitionTool: ({ serverKeys, serverDescriptions }: CreateTableToolParams) => langchain.DynamicStructuredTool<z.ZodObject<{
970
- serverKey: z.ZodString;
970
+ serverKey: z.ZodOptional<z.ZodString>;
971
971
  tableName: z.ZodString;
972
972
  datasourceId: z.ZodOptional<z.ZodString>;
973
973
  }, "strip", z.ZodTypeAny, {
974
- serverKey: string;
975
974
  tableName: string;
975
+ serverKey?: string | undefined;
976
976
  datasourceId?: string | undefined;
977
977
  }, {
978
- serverKey: string;
979
978
  tableName: string;
979
+ serverKey?: string | undefined;
980
980
  datasourceId?: string | undefined;
981
981
  }>, {
982
- serverKey: string;
982
+ serverKey?: string;
983
983
  tableName: string;
984
984
  datasourceId?: string;
985
985
  }, {
986
- serverKey: string;
987
986
  tableName: string;
987
+ serverKey?: string | undefined;
988
988
  datasourceId?: string | undefined;
989
989
  }, string>;
990
990
 
@@ -993,34 +993,34 @@ interface CreateMetricsToolParams {
993
993
  serverDescriptions?: Record<string, string>;
994
994
  }
995
995
  declare const createExecuteSqlQueryTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams) => langchain.DynamicStructuredTool<z.ZodObject<{
996
- serverKey: z.ZodString;
997
- datasourceId: z.ZodString;
996
+ serverKey: z.ZodOptional<z.ZodString>;
997
+ datasourceId: z.ZodOptional<z.ZodString>;
998
998
  customSql: z.ZodString;
999
999
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1000
1000
  limit: z.ZodOptional<z.ZodNumber>;
1001
1001
  }, "strip", z.ZodTypeAny, {
1002
- serverKey: string;
1003
- datasourceId: string;
1004
1002
  customSql: string;
1005
1003
  params?: Record<string, string | number | boolean> | undefined;
1004
+ serverKey?: string | undefined;
1005
+ datasourceId?: string | undefined;
1006
1006
  limit?: number | undefined;
1007
1007
  }, {
1008
- serverKey: string;
1009
- datasourceId: string;
1010
1008
  customSql: string;
1011
1009
  params?: Record<string, string | number | boolean> | undefined;
1010
+ serverKey?: string | undefined;
1011
+ datasourceId?: string | undefined;
1012
1012
  limit?: number | undefined;
1013
1013
  }>, {
1014
- serverKey: string;
1015
- datasourceId: string;
1014
+ serverKey?: string;
1015
+ datasourceId?: string;
1016
1016
  customSql: string;
1017
1017
  params?: Record<string, string | number | boolean>;
1018
1018
  limit?: number;
1019
1019
  }, {
1020
- serverKey: string;
1021
- datasourceId: string;
1022
1020
  customSql: string;
1023
1021
  params?: Record<string, string | number | boolean> | undefined;
1022
+ serverKey?: string | undefined;
1023
+ datasourceId?: string | undefined;
1024
1024
  limit?: number | undefined;
1025
1025
  }, string>;
1026
1026
 
@@ -4320,6 +4320,7 @@ declare class AgentManager {
4320
4320
  thread_id: string;
4321
4321
  command?: any;
4322
4322
  "x-tenant-id"?: string;
4323
+ runConfig?: Record<string, unknown>;
4323
4324
  }, return_agent_state?: boolean): Promise<unknown>;
4324
4325
  }
4325
4326
 
package/dist/index.d.ts CHANGED
@@ -830,19 +830,19 @@ interface CreateMetricsToolParams$3 {
830
830
  serverDescriptions?: Record<string, string>;
831
831
  }
832
832
  declare const createQueryMetricsListTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$3) => langchain.DynamicStructuredTool<z.ZodObject<{
833
- serverKey: z.ZodString;
833
+ serverKey: z.ZodOptional<z.ZodString>;
834
834
  datasourceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
835
835
  }, "strip", z.ZodTypeAny, {
836
- serverKey: string;
836
+ serverKey?: string | undefined;
837
837
  datasourceIds?: string[] | undefined;
838
838
  }, {
839
- serverKey: string;
839
+ serverKey?: string | undefined;
840
840
  datasourceIds?: string[] | undefined;
841
841
  }>, {
842
- serverKey: string;
842
+ serverKey?: string;
843
843
  datasourceIds?: string[];
844
844
  }, {
845
- serverKey: string;
845
+ serverKey?: string | undefined;
846
846
  datasourceIds?: string[] | undefined;
847
847
  }, string>;
848
848
 
@@ -851,24 +851,24 @@ interface CreateMetricsToolParams$2 {
851
851
  serverDescriptions?: Record<string, string>;
852
852
  }
853
853
  declare const createQueryMetricDefinitionTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$2) => langchain.DynamicStructuredTool<z.ZodObject<{
854
- serverKey: z.ZodString;
854
+ serverKey: z.ZodOptional<z.ZodString>;
855
855
  metricName: z.ZodString;
856
856
  datasourceId: z.ZodOptional<z.ZodString>;
857
857
  }, "strip", z.ZodTypeAny, {
858
858
  metricName: string;
859
- serverKey: string;
859
+ serverKey?: string | undefined;
860
860
  datasourceId?: string | undefined;
861
861
  }, {
862
862
  metricName: string;
863
- serverKey: string;
863
+ serverKey?: string | undefined;
864
864
  datasourceId?: string | undefined;
865
865
  }>, {
866
- serverKey: string;
866
+ serverKey?: string;
867
867
  metricName: string;
868
868
  datasourceId?: string;
869
869
  }, {
870
870
  metricName: string;
871
- serverKey: string;
871
+ serverKey?: string | undefined;
872
872
  datasourceId?: string | undefined;
873
873
  }, string>;
874
874
 
@@ -877,8 +877,8 @@ interface CreateMetricsToolParams$1 {
877
877
  serverDescriptions?: Record<string, string>;
878
878
  }
879
879
  declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$1) => langchain.DynamicStructuredTool<z.ZodObject<{
880
- serverKey: z.ZodString;
881
- datasourceId: z.ZodString;
880
+ serverKey: z.ZodOptional<z.ZodString>;
881
+ datasourceId: z.ZodOptional<z.ZodString>;
882
882
  metrics: z.ZodArray<z.ZodString, "many">;
883
883
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
884
884
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -896,9 +896,9 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
896
896
  }>, "many">>;
897
897
  limit: z.ZodOptional<z.ZodNumber>;
898
898
  }, "strip", z.ZodTypeAny, {
899
- serverKey: string;
900
- datasourceId: string;
901
899
  metrics: string[];
900
+ serverKey?: string | undefined;
901
+ datasourceId?: string | undefined;
902
902
  groupBy?: string[] | undefined;
903
903
  filters?: {
904
904
  values: (string | number | boolean)[];
@@ -907,9 +907,9 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
907
907
  }[] | undefined;
908
908
  limit?: number | undefined;
909
909
  }, {
910
- serverKey: string;
911
- datasourceId: string;
912
910
  metrics: string[];
911
+ serverKey?: string | undefined;
912
+ datasourceId?: string | undefined;
913
913
  groupBy?: string[] | undefined;
914
914
  filters?: {
915
915
  values: (string | number | boolean)[];
@@ -918,8 +918,8 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
918
918
  }[] | undefined;
919
919
  limit?: number | undefined;
920
920
  }>, {
921
- serverKey: string;
922
- datasourceId: string;
921
+ serverKey?: string;
922
+ datasourceId?: string;
923
923
  metrics: string[];
924
924
  groupBy?: string[];
925
925
  filters?: Array<{
@@ -929,9 +929,9 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
929
929
  }>;
930
930
  limit?: number;
931
931
  }, {
932
- serverKey: string;
933
- datasourceId: string;
934
932
  metrics: string[];
933
+ serverKey?: string | undefined;
934
+ datasourceId?: string | undefined;
935
935
  groupBy?: string[] | undefined;
936
936
  filters?: {
937
937
  values: (string | number | boolean)[];
@@ -946,19 +946,19 @@ interface CreateTablesToolParams {
946
946
  serverDescriptions?: Record<string, string>;
947
947
  }
948
948
  declare const createQueryTablesListTool: ({ serverKeys, serverDescriptions }: CreateTablesToolParams) => langchain.DynamicStructuredTool<z.ZodObject<{
949
- serverKey: z.ZodString;
949
+ serverKey: z.ZodOptional<z.ZodString>;
950
950
  datasourceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
951
951
  }, "strip", z.ZodTypeAny, {
952
- serverKey: string;
952
+ serverKey?: string | undefined;
953
953
  datasourceIds?: string[] | undefined;
954
954
  }, {
955
- serverKey: string;
955
+ serverKey?: string | undefined;
956
956
  datasourceIds?: string[] | undefined;
957
957
  }>, {
958
- serverKey: string;
958
+ serverKey?: string;
959
959
  datasourceIds?: string[];
960
960
  }, {
961
- serverKey: string;
961
+ serverKey?: string | undefined;
962
962
  datasourceIds?: string[] | undefined;
963
963
  }, string>;
964
964
 
@@ -967,24 +967,24 @@ interface CreateTableToolParams {
967
967
  serverDescriptions?: Record<string, string>;
968
968
  }
969
969
  declare const createQueryTableDefinitionTool: ({ serverKeys, serverDescriptions }: CreateTableToolParams) => langchain.DynamicStructuredTool<z.ZodObject<{
970
- serverKey: z.ZodString;
970
+ serverKey: z.ZodOptional<z.ZodString>;
971
971
  tableName: z.ZodString;
972
972
  datasourceId: z.ZodOptional<z.ZodString>;
973
973
  }, "strip", z.ZodTypeAny, {
974
- serverKey: string;
975
974
  tableName: string;
975
+ serverKey?: string | undefined;
976
976
  datasourceId?: string | undefined;
977
977
  }, {
978
- serverKey: string;
979
978
  tableName: string;
979
+ serverKey?: string | undefined;
980
980
  datasourceId?: string | undefined;
981
981
  }>, {
982
- serverKey: string;
982
+ serverKey?: string;
983
983
  tableName: string;
984
984
  datasourceId?: string;
985
985
  }, {
986
- serverKey: string;
987
986
  tableName: string;
987
+ serverKey?: string | undefined;
988
988
  datasourceId?: string | undefined;
989
989
  }, string>;
990
990
 
@@ -993,34 +993,34 @@ interface CreateMetricsToolParams {
993
993
  serverDescriptions?: Record<string, string>;
994
994
  }
995
995
  declare const createExecuteSqlQueryTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams) => langchain.DynamicStructuredTool<z.ZodObject<{
996
- serverKey: z.ZodString;
997
- datasourceId: z.ZodString;
996
+ serverKey: z.ZodOptional<z.ZodString>;
997
+ datasourceId: z.ZodOptional<z.ZodString>;
998
998
  customSql: z.ZodString;
999
999
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1000
1000
  limit: z.ZodOptional<z.ZodNumber>;
1001
1001
  }, "strip", z.ZodTypeAny, {
1002
- serverKey: string;
1003
- datasourceId: string;
1004
1002
  customSql: string;
1005
1003
  params?: Record<string, string | number | boolean> | undefined;
1004
+ serverKey?: string | undefined;
1005
+ datasourceId?: string | undefined;
1006
1006
  limit?: number | undefined;
1007
1007
  }, {
1008
- serverKey: string;
1009
- datasourceId: string;
1010
1008
  customSql: string;
1011
1009
  params?: Record<string, string | number | boolean> | undefined;
1010
+ serverKey?: string | undefined;
1011
+ datasourceId?: string | undefined;
1012
1012
  limit?: number | undefined;
1013
1013
  }>, {
1014
- serverKey: string;
1015
- datasourceId: string;
1014
+ serverKey?: string;
1015
+ datasourceId?: string;
1016
1016
  customSql: string;
1017
1017
  params?: Record<string, string | number | boolean>;
1018
1018
  limit?: number;
1019
1019
  }, {
1020
- serverKey: string;
1021
- datasourceId: string;
1022
1020
  customSql: string;
1023
1021
  params?: Record<string, string | number | boolean> | undefined;
1022
+ serverKey?: string | undefined;
1023
+ datasourceId?: string | undefined;
1024
1024
  limit?: number | undefined;
1025
1025
  }, string>;
1026
1026
 
@@ -4320,6 +4320,7 @@ declare class AgentManager {
4320
4320
  thread_id: string;
4321
4321
  command?: any;
4322
4322
  "x-tenant-id"?: string;
4323
+ runConfig?: Record<string, unknown>;
4323
4324
  }, return_agent_state?: boolean): Promise<unknown>;
4324
4325
  }
4325
4326