@objectstack/service-ai 7.2.0 → 7.2.1
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.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +165 -3
- package/dist/index.d.ts +165 -3
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/package.json +7 -6
package/dist/index.d.cts
CHANGED
|
@@ -861,10 +861,22 @@ declare const createObjectTool: {
|
|
|
861
861
|
requiresConfirmation: boolean;
|
|
862
862
|
active: boolean;
|
|
863
863
|
builtIn: boolean;
|
|
864
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
865
|
+
_lockReason?: string | undefined;
|
|
866
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
867
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
868
|
+
_packageId?: string | undefined;
|
|
869
|
+
_packageVersion?: string | undefined;
|
|
870
|
+
_lockDocsUrl?: string | undefined;
|
|
864
871
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
865
872
|
outputSchema?: Record<string, unknown> | undefined;
|
|
866
873
|
objectName?: string | undefined;
|
|
867
874
|
permissions?: string[] | undefined;
|
|
875
|
+
protection?: {
|
|
876
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
877
|
+
reason: string;
|
|
878
|
+
docsUrl?: string | undefined;
|
|
879
|
+
} | undefined;
|
|
868
880
|
};
|
|
869
881
|
|
|
870
882
|
/**
|
|
@@ -882,10 +894,22 @@ declare const addFieldTool: {
|
|
|
882
894
|
requiresConfirmation: boolean;
|
|
883
895
|
active: boolean;
|
|
884
896
|
builtIn: boolean;
|
|
897
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
898
|
+
_lockReason?: string | undefined;
|
|
899
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
900
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
901
|
+
_packageId?: string | undefined;
|
|
902
|
+
_packageVersion?: string | undefined;
|
|
903
|
+
_lockDocsUrl?: string | undefined;
|
|
885
904
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
886
905
|
outputSchema?: Record<string, unknown> | undefined;
|
|
887
906
|
objectName?: string | undefined;
|
|
888
907
|
permissions?: string[] | undefined;
|
|
908
|
+
protection?: {
|
|
909
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
910
|
+
reason: string;
|
|
911
|
+
docsUrl?: string | undefined;
|
|
912
|
+
} | undefined;
|
|
889
913
|
};
|
|
890
914
|
|
|
891
915
|
/**
|
|
@@ -902,10 +926,22 @@ declare const modifyFieldTool: {
|
|
|
902
926
|
requiresConfirmation: boolean;
|
|
903
927
|
active: boolean;
|
|
904
928
|
builtIn: boolean;
|
|
929
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
930
|
+
_lockReason?: string | undefined;
|
|
931
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
932
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
933
|
+
_packageId?: string | undefined;
|
|
934
|
+
_packageVersion?: string | undefined;
|
|
935
|
+
_lockDocsUrl?: string | undefined;
|
|
905
936
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
906
937
|
outputSchema?: Record<string, unknown> | undefined;
|
|
907
938
|
objectName?: string | undefined;
|
|
908
939
|
permissions?: string[] | undefined;
|
|
940
|
+
protection?: {
|
|
941
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
942
|
+
reason: string;
|
|
943
|
+
docsUrl?: string | undefined;
|
|
944
|
+
} | undefined;
|
|
909
945
|
};
|
|
910
946
|
|
|
911
947
|
/**
|
|
@@ -922,10 +958,22 @@ declare const deleteFieldTool: {
|
|
|
922
958
|
requiresConfirmation: boolean;
|
|
923
959
|
active: boolean;
|
|
924
960
|
builtIn: boolean;
|
|
961
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
962
|
+
_lockReason?: string | undefined;
|
|
963
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
964
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
965
|
+
_packageId?: string | undefined;
|
|
966
|
+
_packageVersion?: string | undefined;
|
|
967
|
+
_lockDocsUrl?: string | undefined;
|
|
925
968
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
926
969
|
outputSchema?: Record<string, unknown> | undefined;
|
|
927
970
|
objectName?: string | undefined;
|
|
928
971
|
permissions?: string[] | undefined;
|
|
972
|
+
protection?: {
|
|
973
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
974
|
+
reason: string;
|
|
975
|
+
docsUrl?: string | undefined;
|
|
976
|
+
} | undefined;
|
|
929
977
|
};
|
|
930
978
|
|
|
931
979
|
/**
|
|
@@ -943,10 +991,22 @@ declare const listObjectsTool: {
|
|
|
943
991
|
requiresConfirmation: boolean;
|
|
944
992
|
active: boolean;
|
|
945
993
|
builtIn: boolean;
|
|
994
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
995
|
+
_lockReason?: string | undefined;
|
|
996
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
997
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
998
|
+
_packageId?: string | undefined;
|
|
999
|
+
_packageVersion?: string | undefined;
|
|
1000
|
+
_lockDocsUrl?: string | undefined;
|
|
946
1001
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
947
1002
|
outputSchema?: Record<string, unknown> | undefined;
|
|
948
1003
|
objectName?: string | undefined;
|
|
949
1004
|
permissions?: string[] | undefined;
|
|
1005
|
+
protection?: {
|
|
1006
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
1007
|
+
reason: string;
|
|
1008
|
+
docsUrl?: string | undefined;
|
|
1009
|
+
} | undefined;
|
|
950
1010
|
};
|
|
951
1011
|
|
|
952
1012
|
/**
|
|
@@ -964,10 +1024,22 @@ declare const describeObjectTool: {
|
|
|
964
1024
|
requiresConfirmation: boolean;
|
|
965
1025
|
active: boolean;
|
|
966
1026
|
builtIn: boolean;
|
|
1027
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
1028
|
+
_lockReason?: string | undefined;
|
|
1029
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
1030
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
1031
|
+
_packageId?: string | undefined;
|
|
1032
|
+
_packageVersion?: string | undefined;
|
|
1033
|
+
_lockDocsUrl?: string | undefined;
|
|
967
1034
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
968
1035
|
outputSchema?: Record<string, unknown> | undefined;
|
|
969
1036
|
objectName?: string | undefined;
|
|
970
1037
|
permissions?: string[] | undefined;
|
|
1038
|
+
protection?: {
|
|
1039
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
1040
|
+
reason: string;
|
|
1041
|
+
docsUrl?: string | undefined;
|
|
1042
|
+
} | undefined;
|
|
971
1043
|
};
|
|
972
1044
|
|
|
973
1045
|
/** All built-in metadata management tool definitions (Tool metadata). */
|
|
@@ -1068,10 +1140,22 @@ declare const listPackagesTool: {
|
|
|
1068
1140
|
requiresConfirmation: boolean;
|
|
1069
1141
|
active: boolean;
|
|
1070
1142
|
builtIn: boolean;
|
|
1143
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
1144
|
+
_lockReason?: string | undefined;
|
|
1145
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
1146
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
1147
|
+
_packageId?: string | undefined;
|
|
1148
|
+
_packageVersion?: string | undefined;
|
|
1149
|
+
_lockDocsUrl?: string | undefined;
|
|
1071
1150
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
1072
1151
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1073
1152
|
objectName?: string | undefined;
|
|
1074
1153
|
permissions?: string[] | undefined;
|
|
1154
|
+
protection?: {
|
|
1155
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
1156
|
+
reason: string;
|
|
1157
|
+
docsUrl?: string | undefined;
|
|
1158
|
+
} | undefined;
|
|
1075
1159
|
};
|
|
1076
1160
|
|
|
1077
1161
|
/**
|
|
@@ -1087,10 +1171,22 @@ declare const getPackageTool: {
|
|
|
1087
1171
|
requiresConfirmation: boolean;
|
|
1088
1172
|
active: boolean;
|
|
1089
1173
|
builtIn: boolean;
|
|
1174
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
1175
|
+
_lockReason?: string | undefined;
|
|
1176
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
1177
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
1178
|
+
_packageId?: string | undefined;
|
|
1179
|
+
_packageVersion?: string | undefined;
|
|
1180
|
+
_lockDocsUrl?: string | undefined;
|
|
1090
1181
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
1091
1182
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1092
1183
|
objectName?: string | undefined;
|
|
1093
1184
|
permissions?: string[] | undefined;
|
|
1185
|
+
protection?: {
|
|
1186
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
1187
|
+
reason: string;
|
|
1188
|
+
docsUrl?: string | undefined;
|
|
1189
|
+
} | undefined;
|
|
1094
1190
|
};
|
|
1095
1191
|
|
|
1096
1192
|
/**
|
|
@@ -1107,10 +1203,22 @@ declare const createPackageTool: {
|
|
|
1107
1203
|
requiresConfirmation: boolean;
|
|
1108
1204
|
active: boolean;
|
|
1109
1205
|
builtIn: boolean;
|
|
1206
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
1207
|
+
_lockReason?: string | undefined;
|
|
1208
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
1209
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
1210
|
+
_packageId?: string | undefined;
|
|
1211
|
+
_packageVersion?: string | undefined;
|
|
1212
|
+
_lockDocsUrl?: string | undefined;
|
|
1110
1213
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
1111
1214
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1112
1215
|
objectName?: string | undefined;
|
|
1113
1216
|
permissions?: string[] | undefined;
|
|
1217
|
+
protection?: {
|
|
1218
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
1219
|
+
reason: string;
|
|
1220
|
+
docsUrl?: string | undefined;
|
|
1221
|
+
} | undefined;
|
|
1114
1222
|
};
|
|
1115
1223
|
|
|
1116
1224
|
/**
|
|
@@ -1126,10 +1234,22 @@ declare const getActivePackageTool: {
|
|
|
1126
1234
|
requiresConfirmation: boolean;
|
|
1127
1235
|
active: boolean;
|
|
1128
1236
|
builtIn: boolean;
|
|
1237
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
1238
|
+
_lockReason?: string | undefined;
|
|
1239
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
1240
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
1241
|
+
_packageId?: string | undefined;
|
|
1242
|
+
_packageVersion?: string | undefined;
|
|
1243
|
+
_lockDocsUrl?: string | undefined;
|
|
1129
1244
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
1130
1245
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1131
1246
|
objectName?: string | undefined;
|
|
1132
1247
|
permissions?: string[] | undefined;
|
|
1248
|
+
protection?: {
|
|
1249
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
1250
|
+
reason: string;
|
|
1251
|
+
docsUrl?: string | undefined;
|
|
1252
|
+
} | undefined;
|
|
1133
1253
|
};
|
|
1134
1254
|
|
|
1135
1255
|
/**
|
|
@@ -1146,10 +1266,22 @@ declare const setActivePackageTool: {
|
|
|
1146
1266
|
requiresConfirmation: boolean;
|
|
1147
1267
|
active: boolean;
|
|
1148
1268
|
builtIn: boolean;
|
|
1269
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
1270
|
+
_lockReason?: string | undefined;
|
|
1271
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
1272
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
1273
|
+
_packageId?: string | undefined;
|
|
1274
|
+
_packageVersion?: string | undefined;
|
|
1275
|
+
_lockDocsUrl?: string | undefined;
|
|
1149
1276
|
category?: "action" | "flow" | "vector_search" | "data" | "utility" | "analytics" | "integration" | undefined;
|
|
1150
1277
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1151
1278
|
objectName?: string | undefined;
|
|
1152
1279
|
permissions?: string[] | undefined;
|
|
1280
|
+
protection?: {
|
|
1281
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
1282
|
+
reason: string;
|
|
1283
|
+
docsUrl?: string | undefined;
|
|
1284
|
+
} | undefined;
|
|
1153
1285
|
};
|
|
1154
1286
|
|
|
1155
1287
|
/** All built-in package management tool definitions (Tool metadata). */
|
|
@@ -1964,6 +2096,7 @@ declare const AiConversationObject: Omit<{
|
|
|
1964
2096
|
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
1965
2097
|
_packageId?: string | undefined;
|
|
1966
2098
|
_packageVersion?: string | undefined;
|
|
2099
|
+
_lockDocsUrl?: string | undefined;
|
|
1967
2100
|
label?: string | undefined;
|
|
1968
2101
|
pluralLabel?: string | undefined;
|
|
1969
2102
|
description?: string | undefined;
|
|
@@ -2353,7 +2486,7 @@ declare const AiConversationObject: Omit<{
|
|
|
2353
2486
|
apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "history" | "bulk" | "aggregate")[] | undefined;
|
|
2354
2487
|
} | undefined;
|
|
2355
2488
|
recordTypes?: string[] | undefined;
|
|
2356
|
-
sharingModel?: "
|
|
2489
|
+
sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
|
|
2357
2490
|
publicSharing?: {
|
|
2358
2491
|
enabled: boolean;
|
|
2359
2492
|
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
@@ -2456,6 +2589,11 @@ declare const AiConversationObject: Omit<{
|
|
|
2456
2589
|
role?: string | undefined;
|
|
2457
2590
|
} | undefined;
|
|
2458
2591
|
}[] | undefined;
|
|
2592
|
+
protection?: {
|
|
2593
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
2594
|
+
reason: string;
|
|
2595
|
+
docsUrl?: string | undefined;
|
|
2596
|
+
} | undefined;
|
|
2459
2597
|
}, "fields"> & Pick<{
|
|
2460
2598
|
readonly name: "ai_conversations";
|
|
2461
2599
|
readonly label: "AI Conversation";
|
|
@@ -3925,6 +4063,7 @@ declare const AiMessageObject: Omit<{
|
|
|
3925
4063
|
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
3926
4064
|
_packageId?: string | undefined;
|
|
3927
4065
|
_packageVersion?: string | undefined;
|
|
4066
|
+
_lockDocsUrl?: string | undefined;
|
|
3928
4067
|
label?: string | undefined;
|
|
3929
4068
|
pluralLabel?: string | undefined;
|
|
3930
4069
|
description?: string | undefined;
|
|
@@ -4314,7 +4453,7 @@ declare const AiMessageObject: Omit<{
|
|
|
4314
4453
|
apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "history" | "bulk" | "aggregate")[] | undefined;
|
|
4315
4454
|
} | undefined;
|
|
4316
4455
|
recordTypes?: string[] | undefined;
|
|
4317
|
-
sharingModel?: "
|
|
4456
|
+
sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
|
|
4318
4457
|
publicSharing?: {
|
|
4319
4458
|
enabled: boolean;
|
|
4320
4459
|
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
@@ -4417,6 +4556,11 @@ declare const AiMessageObject: Omit<{
|
|
|
4417
4556
|
role?: string | undefined;
|
|
4418
4557
|
} | undefined;
|
|
4419
4558
|
}[] | undefined;
|
|
4559
|
+
protection?: {
|
|
4560
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
4561
|
+
reason: string;
|
|
4562
|
+
docsUrl?: string | undefined;
|
|
4563
|
+
} | undefined;
|
|
4420
4564
|
}, "fields"> & Pick<{
|
|
4421
4565
|
readonly name: "ai_messages";
|
|
4422
4566
|
readonly label: "AI Message";
|
|
@@ -6758,6 +6902,7 @@ declare const AiTraceObject: Omit<{
|
|
|
6758
6902
|
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
6759
6903
|
_packageId?: string | undefined;
|
|
6760
6904
|
_packageVersion?: string | undefined;
|
|
6905
|
+
_lockDocsUrl?: string | undefined;
|
|
6761
6906
|
label?: string | undefined;
|
|
6762
6907
|
pluralLabel?: string | undefined;
|
|
6763
6908
|
description?: string | undefined;
|
|
@@ -7147,7 +7292,7 @@ declare const AiTraceObject: Omit<{
|
|
|
7147
7292
|
apiMethods?: ("restore" | "export" | "import" | "delete" | "purge" | "upsert" | "search" | "create" | "list" | "get" | "update" | "history" | "bulk" | "aggregate")[] | undefined;
|
|
7148
7293
|
} | undefined;
|
|
7149
7294
|
recordTypes?: string[] | undefined;
|
|
7150
|
-
sharingModel?: "
|
|
7295
|
+
sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
|
|
7151
7296
|
publicSharing?: {
|
|
7152
7297
|
enabled: boolean;
|
|
7153
7298
|
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
@@ -7250,6 +7395,11 @@ declare const AiTraceObject: Omit<{
|
|
|
7250
7395
|
role?: string | undefined;
|
|
7251
7396
|
} | undefined;
|
|
7252
7397
|
}[] | undefined;
|
|
7398
|
+
protection?: {
|
|
7399
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
7400
|
+
reason: string;
|
|
7401
|
+
docsUrl?: string | undefined;
|
|
7402
|
+
} | undefined;
|
|
7253
7403
|
}, "fields"> & Pick<{
|
|
7254
7404
|
readonly name: "ai_traces";
|
|
7255
7405
|
readonly label: "AI Trace";
|
|
@@ -10447,6 +10597,13 @@ declare const AiTraceObject: Omit<{
|
|
|
10447
10597
|
* automatically in Studio when AIService is loaded.
|
|
10448
10598
|
*/
|
|
10449
10599
|
declare const AiTraceView: {
|
|
10600
|
+
_lock?: "none" | "full" | "no-overlay" | "no-delete" | undefined;
|
|
10601
|
+
_lockReason?: string | undefined;
|
|
10602
|
+
_lockSource?: "artifact" | "package" | "env-forced" | undefined;
|
|
10603
|
+
_provenance?: "package" | "env-forced" | "org" | undefined;
|
|
10604
|
+
_packageId?: string | undefined;
|
|
10605
|
+
_packageVersion?: string | undefined;
|
|
10606
|
+
_lockDocsUrl?: string | undefined;
|
|
10450
10607
|
list?: {
|
|
10451
10608
|
type: "map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "grid";
|
|
10452
10609
|
columns: string[] | {
|
|
@@ -11147,6 +11304,11 @@ declare const AiTraceView: {
|
|
|
11147
11304
|
role?: string | undefined;
|
|
11148
11305
|
} | undefined;
|
|
11149
11306
|
}> | undefined;
|
|
11307
|
+
protection?: {
|
|
11308
|
+
lock: "none" | "full" | "no-overlay" | "no-delete";
|
|
11309
|
+
reason: string;
|
|
11310
|
+
docsUrl?: string | undefined;
|
|
11311
|
+
} | undefined;
|
|
11150
11312
|
};
|
|
11151
11313
|
|
|
11152
11314
|
/**
|