@axiom-lattice/core 2.1.27 → 2.1.29
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 +53 -52
- package/dist/index.d.ts +53 -52
- package/dist/index.js +224 -188
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +224 -188
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -396,7 +396,7 @@ declare const createListTablesSqlTool: ({ databaseKeys, databaseDescriptions }:
|
|
|
396
396
|
databaseKey: string;
|
|
397
397
|
}, {
|
|
398
398
|
databaseKey: string;
|
|
399
|
-
}, string>;
|
|
399
|
+
}, string, "list_tables_sql">;
|
|
400
400
|
|
|
401
401
|
interface CreateSqlToolParams$2 {
|
|
402
402
|
databaseKeys: string[];
|
|
@@ -417,7 +417,7 @@ declare const createInfoSqlTool: ({ databaseKeys, databaseDescriptions }: Create
|
|
|
417
417
|
}, {
|
|
418
418
|
databaseKey: string;
|
|
419
419
|
tables: string;
|
|
420
|
-
}, string>;
|
|
420
|
+
}, string, "info_sql">;
|
|
421
421
|
|
|
422
422
|
interface CreateSqlToolParams$1 {
|
|
423
423
|
databaseKeys: string[];
|
|
@@ -438,7 +438,7 @@ declare const createQueryCheckerSqlTool: ({ databaseKeys, databaseDescriptions }
|
|
|
438
438
|
}, {
|
|
439
439
|
query: string;
|
|
440
440
|
databaseKey: string;
|
|
441
|
-
}, string>;
|
|
441
|
+
}, string, "query_checker_sql">;
|
|
442
442
|
|
|
443
443
|
interface CreateSqlToolParams {
|
|
444
444
|
databaseKeys: string[];
|
|
@@ -459,7 +459,7 @@ declare const createQuerySqlTool: ({ databaseKeys, databaseDescriptions }: Creat
|
|
|
459
459
|
}, {
|
|
460
460
|
query: string;
|
|
461
461
|
databaseKey: string;
|
|
462
|
-
}, string>;
|
|
462
|
+
}, string, "query_sql">;
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
465
|
* SemanticMetricsClient
|
|
@@ -817,68 +817,68 @@ interface CreateMetricsToolParams$5 {
|
|
|
817
817
|
serverKeys: string[];
|
|
818
818
|
serverDescriptions?: Record<string, string>;
|
|
819
819
|
}
|
|
820
|
-
declare const createListMetricsServersTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$5) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string>;
|
|
820
|
+
declare const createListMetricsServersTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$5) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string, "list_metrics_servers">;
|
|
821
821
|
|
|
822
822
|
interface CreateMetricsToolParams$4 {
|
|
823
823
|
serverKeys: string[];
|
|
824
824
|
serverDescriptions?: Record<string, string>;
|
|
825
825
|
}
|
|
826
|
-
declare const createListMetricsDataSourcesTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$4) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string>;
|
|
826
|
+
declare const createListMetricsDataSourcesTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$4) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string, "list_metrics_datasources">;
|
|
827
827
|
|
|
828
828
|
interface CreateMetricsToolParams$3 {
|
|
829
829
|
serverKeys: string[];
|
|
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
|
|
836
|
+
serverKey?: string | undefined;
|
|
837
837
|
datasourceIds?: string[] | undefined;
|
|
838
838
|
}, {
|
|
839
|
-
serverKey
|
|
839
|
+
serverKey?: string | undefined;
|
|
840
840
|
datasourceIds?: string[] | undefined;
|
|
841
841
|
}>, {
|
|
842
|
-
serverKey
|
|
842
|
+
serverKey?: string;
|
|
843
843
|
datasourceIds?: string[];
|
|
844
844
|
}, {
|
|
845
|
-
serverKey
|
|
845
|
+
serverKey?: string | undefined;
|
|
846
846
|
datasourceIds?: string[] | undefined;
|
|
847
|
-
}, string>;
|
|
847
|
+
}, string, "query_metrics_list">;
|
|
848
848
|
|
|
849
849
|
interface CreateMetricsToolParams$2 {
|
|
850
850
|
serverKeys: string[];
|
|
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
|
|
859
|
+
serverKey?: string | undefined;
|
|
860
860
|
datasourceId?: string | undefined;
|
|
861
861
|
}, {
|
|
862
862
|
metricName: string;
|
|
863
|
-
serverKey
|
|
863
|
+
serverKey?: string | undefined;
|
|
864
864
|
datasourceId?: string | undefined;
|
|
865
865
|
}>, {
|
|
866
|
-
serverKey
|
|
866
|
+
serverKey?: string;
|
|
867
867
|
metricName: string;
|
|
868
868
|
datasourceId?: string;
|
|
869
869
|
}, {
|
|
870
870
|
metricName: string;
|
|
871
|
-
serverKey
|
|
871
|
+
serverKey?: string | undefined;
|
|
872
872
|
datasourceId?: string | undefined;
|
|
873
|
-
}, string>;
|
|
873
|
+
}, string, "query_metric_definition">;
|
|
874
874
|
|
|
875
875
|
interface CreateMetricsToolParams$1 {
|
|
876
876
|
serverKeys: string[];
|
|
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
|
|
922
|
-
datasourceId
|
|
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)[];
|
|
@@ -939,90 +939,90 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
|
|
|
939
939
|
operator: string;
|
|
940
940
|
}[] | undefined;
|
|
941
941
|
limit?: number | undefined;
|
|
942
|
-
}, string>;
|
|
942
|
+
}, string, "query_semantic_metric_data">;
|
|
943
943
|
|
|
944
944
|
interface CreateTablesToolParams {
|
|
945
945
|
serverKeys: string[];
|
|
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
|
|
952
|
+
serverKey?: string | undefined;
|
|
953
953
|
datasourceIds?: string[] | undefined;
|
|
954
954
|
}, {
|
|
955
|
-
serverKey
|
|
955
|
+
serverKey?: string | undefined;
|
|
956
956
|
datasourceIds?: string[] | undefined;
|
|
957
957
|
}>, {
|
|
958
|
-
serverKey
|
|
958
|
+
serverKey?: string;
|
|
959
959
|
datasourceIds?: string[];
|
|
960
960
|
}, {
|
|
961
|
-
serverKey
|
|
961
|
+
serverKey?: string | undefined;
|
|
962
962
|
datasourceIds?: string[] | undefined;
|
|
963
|
-
}, string>;
|
|
963
|
+
}, string, "query_tables_list">;
|
|
964
964
|
|
|
965
965
|
interface CreateTableToolParams {
|
|
966
966
|
serverKeys: string[];
|
|
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
|
|
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
|
-
}, string>;
|
|
989
|
+
}, string, "query_table_definition">;
|
|
990
990
|
|
|
991
991
|
interface CreateMetricsToolParams {
|
|
992
992
|
serverKeys: string[];
|
|
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
|
|
1015
|
-
datasourceId
|
|
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
|
-
}, string>;
|
|
1025
|
+
}, string, "execute_sql_query">;
|
|
1026
1026
|
|
|
1027
1027
|
interface SandboxManagerProtocol {
|
|
1028
1028
|
getBaseURL(): string;
|
|
@@ -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
|
@@ -396,7 +396,7 @@ declare const createListTablesSqlTool: ({ databaseKeys, databaseDescriptions }:
|
|
|
396
396
|
databaseKey: string;
|
|
397
397
|
}, {
|
|
398
398
|
databaseKey: string;
|
|
399
|
-
}, string>;
|
|
399
|
+
}, string, "list_tables_sql">;
|
|
400
400
|
|
|
401
401
|
interface CreateSqlToolParams$2 {
|
|
402
402
|
databaseKeys: string[];
|
|
@@ -417,7 +417,7 @@ declare const createInfoSqlTool: ({ databaseKeys, databaseDescriptions }: Create
|
|
|
417
417
|
}, {
|
|
418
418
|
databaseKey: string;
|
|
419
419
|
tables: string;
|
|
420
|
-
}, string>;
|
|
420
|
+
}, string, "info_sql">;
|
|
421
421
|
|
|
422
422
|
interface CreateSqlToolParams$1 {
|
|
423
423
|
databaseKeys: string[];
|
|
@@ -438,7 +438,7 @@ declare const createQueryCheckerSqlTool: ({ databaseKeys, databaseDescriptions }
|
|
|
438
438
|
}, {
|
|
439
439
|
query: string;
|
|
440
440
|
databaseKey: string;
|
|
441
|
-
}, string>;
|
|
441
|
+
}, string, "query_checker_sql">;
|
|
442
442
|
|
|
443
443
|
interface CreateSqlToolParams {
|
|
444
444
|
databaseKeys: string[];
|
|
@@ -459,7 +459,7 @@ declare const createQuerySqlTool: ({ databaseKeys, databaseDescriptions }: Creat
|
|
|
459
459
|
}, {
|
|
460
460
|
query: string;
|
|
461
461
|
databaseKey: string;
|
|
462
|
-
}, string>;
|
|
462
|
+
}, string, "query_sql">;
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
465
|
* SemanticMetricsClient
|
|
@@ -817,68 +817,68 @@ interface CreateMetricsToolParams$5 {
|
|
|
817
817
|
serverKeys: string[];
|
|
818
818
|
serverDescriptions?: Record<string, string>;
|
|
819
819
|
}
|
|
820
|
-
declare const createListMetricsServersTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$5) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string>;
|
|
820
|
+
declare const createListMetricsServersTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$5) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string, "list_metrics_servers">;
|
|
821
821
|
|
|
822
822
|
interface CreateMetricsToolParams$4 {
|
|
823
823
|
serverKeys: string[];
|
|
824
824
|
serverDescriptions?: Record<string, string>;
|
|
825
825
|
}
|
|
826
|
-
declare const createListMetricsDataSourcesTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$4) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string>;
|
|
826
|
+
declare const createListMetricsDataSourcesTool: ({ serverKeys, serverDescriptions }: CreateMetricsToolParams$4) => langchain.DynamicStructuredTool<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, {}, {}, string, "list_metrics_datasources">;
|
|
827
827
|
|
|
828
828
|
interface CreateMetricsToolParams$3 {
|
|
829
829
|
serverKeys: string[];
|
|
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
|
|
836
|
+
serverKey?: string | undefined;
|
|
837
837
|
datasourceIds?: string[] | undefined;
|
|
838
838
|
}, {
|
|
839
|
-
serverKey
|
|
839
|
+
serverKey?: string | undefined;
|
|
840
840
|
datasourceIds?: string[] | undefined;
|
|
841
841
|
}>, {
|
|
842
|
-
serverKey
|
|
842
|
+
serverKey?: string;
|
|
843
843
|
datasourceIds?: string[];
|
|
844
844
|
}, {
|
|
845
|
-
serverKey
|
|
845
|
+
serverKey?: string | undefined;
|
|
846
846
|
datasourceIds?: string[] | undefined;
|
|
847
|
-
}, string>;
|
|
847
|
+
}, string, "query_metrics_list">;
|
|
848
848
|
|
|
849
849
|
interface CreateMetricsToolParams$2 {
|
|
850
850
|
serverKeys: string[];
|
|
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
|
|
859
|
+
serverKey?: string | undefined;
|
|
860
860
|
datasourceId?: string | undefined;
|
|
861
861
|
}, {
|
|
862
862
|
metricName: string;
|
|
863
|
-
serverKey
|
|
863
|
+
serverKey?: string | undefined;
|
|
864
864
|
datasourceId?: string | undefined;
|
|
865
865
|
}>, {
|
|
866
|
-
serverKey
|
|
866
|
+
serverKey?: string;
|
|
867
867
|
metricName: string;
|
|
868
868
|
datasourceId?: string;
|
|
869
869
|
}, {
|
|
870
870
|
metricName: string;
|
|
871
|
-
serverKey
|
|
871
|
+
serverKey?: string | undefined;
|
|
872
872
|
datasourceId?: string | undefined;
|
|
873
|
-
}, string>;
|
|
873
|
+
}, string, "query_metric_definition">;
|
|
874
874
|
|
|
875
875
|
interface CreateMetricsToolParams$1 {
|
|
876
876
|
serverKeys: string[];
|
|
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
|
|
922
|
-
datasourceId
|
|
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)[];
|
|
@@ -939,90 +939,90 @@ declare const createQuerySemanticMetricDataTool: ({ serverKeys, serverDescriptio
|
|
|
939
939
|
operator: string;
|
|
940
940
|
}[] | undefined;
|
|
941
941
|
limit?: number | undefined;
|
|
942
|
-
}, string>;
|
|
942
|
+
}, string, "query_semantic_metric_data">;
|
|
943
943
|
|
|
944
944
|
interface CreateTablesToolParams {
|
|
945
945
|
serverKeys: string[];
|
|
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
|
|
952
|
+
serverKey?: string | undefined;
|
|
953
953
|
datasourceIds?: string[] | undefined;
|
|
954
954
|
}, {
|
|
955
|
-
serverKey
|
|
955
|
+
serverKey?: string | undefined;
|
|
956
956
|
datasourceIds?: string[] | undefined;
|
|
957
957
|
}>, {
|
|
958
|
-
serverKey
|
|
958
|
+
serverKey?: string;
|
|
959
959
|
datasourceIds?: string[];
|
|
960
960
|
}, {
|
|
961
|
-
serverKey
|
|
961
|
+
serverKey?: string | undefined;
|
|
962
962
|
datasourceIds?: string[] | undefined;
|
|
963
|
-
}, string>;
|
|
963
|
+
}, string, "query_tables_list">;
|
|
964
964
|
|
|
965
965
|
interface CreateTableToolParams {
|
|
966
966
|
serverKeys: string[];
|
|
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
|
|
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
|
-
}, string>;
|
|
989
|
+
}, string, "query_table_definition">;
|
|
990
990
|
|
|
991
991
|
interface CreateMetricsToolParams {
|
|
992
992
|
serverKeys: string[];
|
|
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
|
|
1015
|
-
datasourceId
|
|
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
|
-
}, string>;
|
|
1025
|
+
}, string, "execute_sql_query">;
|
|
1026
1026
|
|
|
1027
1027
|
interface SandboxManagerProtocol {
|
|
1028
1028
|
getBaseURL(): string;
|
|
@@ -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
|
|