@promptlayer/mcp-server 1.9.0 → 1.11.0
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/README.md +13 -5
- package/build/client.d.ts +7 -0
- package/build/client.d.ts.map +1 -1
- package/build/client.js +10 -0
- package/build/client.js.map +1 -1
- package/build/handlers.d.ts.map +1 -1
- package/build/handlers.js +10 -0
- package/build/handlers.js.map +1 -1
- package/build/types.d.ts +507 -308
- package/build/types.d.ts.map +1 -1
- package/build/types.js +204 -69
- package/build/types.js.map +1 -1
- package/gcp/src/index.ts +13 -0
- package/package.json +1 -1
- package/src/client.ts +13 -0
- package/src/handlers.ts +24 -0
- package/src/types.ts +247 -69
package/build/types.d.ts
CHANGED
|
@@ -87,14 +87,17 @@ export declare const PublishPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
87
87
|
prompt_name: z.ZodString;
|
|
88
88
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
89
89
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
is_snippet: z.ZodOptional<z.ZodBoolean>;
|
|
90
91
|
}, "strip", z.ZodTypeAny, {
|
|
91
92
|
prompt_name: string;
|
|
92
93
|
tags?: string[] | undefined;
|
|
93
94
|
folder_id?: number | undefined;
|
|
95
|
+
is_snippet?: boolean | undefined;
|
|
94
96
|
}, {
|
|
95
97
|
prompt_name: string;
|
|
96
98
|
tags?: string[] | undefined;
|
|
97
99
|
folder_id?: number | undefined;
|
|
100
|
+
is_snippet?: boolean | undefined;
|
|
98
101
|
}>;
|
|
99
102
|
prompt_version: z.ZodObject<{
|
|
100
103
|
prompt_template: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -126,6 +129,7 @@ export declare const PublishPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
126
129
|
prompt_name: string;
|
|
127
130
|
tags?: string[] | undefined;
|
|
128
131
|
folder_id?: number | undefined;
|
|
132
|
+
is_snippet?: boolean | undefined;
|
|
129
133
|
};
|
|
130
134
|
prompt_version: {
|
|
131
135
|
prompt_template: Record<string, unknown>;
|
|
@@ -143,6 +147,7 @@ export declare const PublishPromptTemplateArgsSchema: z.ZodObject<{
|
|
|
143
147
|
prompt_name: string;
|
|
144
148
|
tags?: string[] | undefined;
|
|
145
149
|
folder_id?: number | undefined;
|
|
150
|
+
is_snippet?: boolean | undefined;
|
|
146
151
|
};
|
|
147
152
|
prompt_version: {
|
|
148
153
|
prompt_template: Record<string, unknown>;
|
|
@@ -375,160 +380,31 @@ export declare const CreateDatasetVersionFromFileArgsSchema: z.ZodObject<{
|
|
|
375
380
|
}>;
|
|
376
381
|
export declare const CreateDatasetVersionFromFilterParamsArgsSchema: z.ZodObject<{
|
|
377
382
|
dataset_group_id: z.ZodNumber;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
end_time: z.ZodOptional<z.ZodString>;
|
|
383
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
384
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
385
|
-
tags_and: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
386
|
-
tags_or: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
387
|
-
metadata_and: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
388
|
-
key: z.ZodString;
|
|
389
|
-
value: z.ZodString;
|
|
390
|
-
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
value: string;
|
|
392
|
-
key: string;
|
|
393
|
-
}, {
|
|
394
|
-
value: string;
|
|
395
|
-
key: string;
|
|
396
|
-
}>, "many">>;
|
|
397
|
-
metadata_or: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
398
|
-
key: z.ZodString;
|
|
399
|
-
value: z.ZodString;
|
|
400
|
-
}, "strip", z.ZodTypeAny, {
|
|
401
|
-
value: string;
|
|
402
|
-
key: string;
|
|
403
|
-
}, {
|
|
404
|
-
value: string;
|
|
405
|
-
key: string;
|
|
406
|
-
}>, "many">>;
|
|
407
|
-
scores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
|
-
name: z.ZodString;
|
|
409
|
-
operator: z.ZodEnum<[">", "<", ">=", "<=", "="]>;
|
|
410
|
-
value: z.ZodNumber;
|
|
411
|
-
}, "strip", z.ZodTypeAny, {
|
|
412
|
-
value: number;
|
|
413
|
-
name: string;
|
|
414
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
415
|
-
}, {
|
|
416
|
-
value: number;
|
|
417
|
-
name: string;
|
|
418
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
419
|
-
}>, "many">>;
|
|
420
|
-
prompt_templates_include: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
421
|
-
name: z.ZodString;
|
|
422
|
-
version_numbers: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
423
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
424
|
-
}, "strip", z.ZodTypeAny, {
|
|
425
|
-
name: string;
|
|
426
|
-
version_numbers?: number[] | undefined;
|
|
427
|
-
labels?: string[] | undefined;
|
|
428
|
-
}, {
|
|
429
|
-
name: string;
|
|
430
|
-
version_numbers?: number[] | undefined;
|
|
431
|
-
labels?: string[] | undefined;
|
|
432
|
-
}>, "many">>;
|
|
433
|
-
prompt_templates_exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
434
|
-
name: z.ZodString;
|
|
435
|
-
version_numbers: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
436
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
437
|
-
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
name: string;
|
|
439
|
-
version_numbers?: number[] | undefined;
|
|
440
|
-
labels?: string[] | undefined;
|
|
441
|
-
}, {
|
|
442
|
-
name: string;
|
|
443
|
-
version_numbers?: number[] | undefined;
|
|
444
|
-
labels?: string[] | undefined;
|
|
445
|
-
}>, "many">>;
|
|
446
|
-
starred: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
-
status: z.ZodOptional<z.ZodArray<z.ZodEnum<["SUCCESS", "WARNING", "ERROR"]>, "many">>;
|
|
448
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "price", "score", "latency", "prompt_name", "status"]>>;
|
|
383
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
384
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
385
|
+
q: z.ZodOptional<z.ZodString>;
|
|
386
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
449
387
|
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
450
|
-
|
|
388
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
451
389
|
api_key: z.ZodOptional<z.ZodString>;
|
|
452
390
|
}, "strip", z.ZodTypeAny, {
|
|
453
391
|
dataset_group_id: number;
|
|
454
|
-
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
455
392
|
api_key?: string | undefined;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
end_time?: string | undefined;
|
|
461
|
-
id?: number | undefined;
|
|
462
|
-
limit?: number | undefined;
|
|
463
|
-
tags_and?: string[] | undefined;
|
|
464
|
-
tags_or?: string[] | undefined;
|
|
465
|
-
metadata_and?: {
|
|
466
|
-
value: string;
|
|
467
|
-
key: string;
|
|
468
|
-
}[] | undefined;
|
|
469
|
-
metadata_or?: {
|
|
470
|
-
value: string;
|
|
471
|
-
key: string;
|
|
472
|
-
}[] | undefined;
|
|
473
|
-
scores?: {
|
|
474
|
-
value: number;
|
|
475
|
-
name: string;
|
|
476
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
477
|
-
}[] | undefined;
|
|
478
|
-
prompt_templates_include?: {
|
|
479
|
-
name: string;
|
|
480
|
-
version_numbers?: number[] | undefined;
|
|
481
|
-
labels?: string[] | undefined;
|
|
482
|
-
}[] | undefined;
|
|
483
|
-
prompt_templates_exclude?: {
|
|
484
|
-
name: string;
|
|
485
|
-
version_numbers?: number[] | undefined;
|
|
486
|
-
labels?: string[] | undefined;
|
|
487
|
-
}[] | undefined;
|
|
488
|
-
starred?: boolean | undefined;
|
|
489
|
-
sort_by?: "prompt_name" | "status" | "request_start_time" | "input_tokens" | "output_tokens" | "price" | "score" | "latency" | undefined;
|
|
393
|
+
request_log_ids?: number[] | undefined;
|
|
394
|
+
filter_group?: any;
|
|
395
|
+
q?: string | undefined;
|
|
396
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
490
397
|
sort_order?: "asc" | "desc" | undefined;
|
|
491
|
-
|
|
398
|
+
variables_to_parse?: string[] | undefined;
|
|
492
399
|
}, {
|
|
493
400
|
dataset_group_id: number;
|
|
494
|
-
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
495
401
|
api_key?: string | undefined;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
end_time?: string | undefined;
|
|
501
|
-
id?: number | undefined;
|
|
502
|
-
limit?: number | undefined;
|
|
503
|
-
tags_and?: string[] | undefined;
|
|
504
|
-
tags_or?: string[] | undefined;
|
|
505
|
-
metadata_and?: {
|
|
506
|
-
value: string;
|
|
507
|
-
key: string;
|
|
508
|
-
}[] | undefined;
|
|
509
|
-
metadata_or?: {
|
|
510
|
-
value: string;
|
|
511
|
-
key: string;
|
|
512
|
-
}[] | undefined;
|
|
513
|
-
scores?: {
|
|
514
|
-
value: number;
|
|
515
|
-
name: string;
|
|
516
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
517
|
-
}[] | undefined;
|
|
518
|
-
prompt_templates_include?: {
|
|
519
|
-
name: string;
|
|
520
|
-
version_numbers?: number[] | undefined;
|
|
521
|
-
labels?: string[] | undefined;
|
|
522
|
-
}[] | undefined;
|
|
523
|
-
prompt_templates_exclude?: {
|
|
524
|
-
name: string;
|
|
525
|
-
version_numbers?: number[] | undefined;
|
|
526
|
-
labels?: string[] | undefined;
|
|
527
|
-
}[] | undefined;
|
|
528
|
-
starred?: boolean | undefined;
|
|
529
|
-
sort_by?: "prompt_name" | "status" | "request_start_time" | "input_tokens" | "output_tokens" | "price" | "score" | "latency" | undefined;
|
|
402
|
+
request_log_ids?: number[] | undefined;
|
|
403
|
+
filter_group?: any;
|
|
404
|
+
q?: string | undefined;
|
|
405
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
530
406
|
sort_order?: "asc" | "desc" | undefined;
|
|
531
|
-
|
|
407
|
+
variables_to_parse?: string[] | undefined;
|
|
532
408
|
}>;
|
|
533
409
|
export declare const GetDatasetRowsArgsSchema: z.ZodObject<{
|
|
534
410
|
dataset_id: z.ZodNumber;
|
|
@@ -1134,33 +1010,232 @@ export declare const ResolveFolderIdArgsSchema: z.ZodObject<{
|
|
|
1134
1010
|
path: string;
|
|
1135
1011
|
api_key?: string | undefined;
|
|
1136
1012
|
}>;
|
|
1013
|
+
export declare const ListSkillCollectionsArgsSchema: z.ZodObject<{
|
|
1014
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
}, "strip", z.ZodTypeAny, {
|
|
1016
|
+
api_key?: string | undefined;
|
|
1017
|
+
}, {
|
|
1018
|
+
api_key?: string | undefined;
|
|
1019
|
+
}>;
|
|
1020
|
+
export declare const CreateSkillCollectionArgsSchema: z.ZodObject<{
|
|
1021
|
+
name: z.ZodString;
|
|
1022
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1024
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1026
|
+
path: z.ZodString;
|
|
1027
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
}, "strip", z.ZodTypeAny, {
|
|
1029
|
+
path: string;
|
|
1030
|
+
content?: string | undefined;
|
|
1031
|
+
}, {
|
|
1032
|
+
path: string;
|
|
1033
|
+
content?: string | undefined;
|
|
1034
|
+
}>, "many">>;
|
|
1035
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
name: string;
|
|
1039
|
+
provider?: string | undefined;
|
|
1040
|
+
api_key?: string | undefined;
|
|
1041
|
+
folder_id?: number | undefined;
|
|
1042
|
+
commit_message?: string | undefined;
|
|
1043
|
+
description?: string | undefined;
|
|
1044
|
+
files?: {
|
|
1045
|
+
path: string;
|
|
1046
|
+
content?: string | undefined;
|
|
1047
|
+
}[] | undefined;
|
|
1048
|
+
}, {
|
|
1049
|
+
name: string;
|
|
1050
|
+
provider?: string | undefined;
|
|
1051
|
+
api_key?: string | undefined;
|
|
1052
|
+
folder_id?: number | undefined;
|
|
1053
|
+
commit_message?: string | undefined;
|
|
1054
|
+
description?: string | undefined;
|
|
1055
|
+
files?: {
|
|
1056
|
+
path: string;
|
|
1057
|
+
content?: string | undefined;
|
|
1058
|
+
}[] | undefined;
|
|
1059
|
+
}>;
|
|
1060
|
+
export declare const GetSkillCollectionArgsSchema: z.ZodObject<{
|
|
1061
|
+
identifier: z.ZodString;
|
|
1062
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1064
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
}, "strip", z.ZodTypeAny, {
|
|
1066
|
+
identifier: string;
|
|
1067
|
+
version?: number | undefined;
|
|
1068
|
+
label?: string | undefined;
|
|
1069
|
+
api_key?: string | undefined;
|
|
1070
|
+
}, {
|
|
1071
|
+
identifier: string;
|
|
1072
|
+
version?: number | undefined;
|
|
1073
|
+
label?: string | undefined;
|
|
1074
|
+
api_key?: string | undefined;
|
|
1075
|
+
}>;
|
|
1076
|
+
export declare const UpdateSkillCollectionArgsSchema: z.ZodObject<{
|
|
1077
|
+
identifier: z.ZodString;
|
|
1078
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1080
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1081
|
+
}, "strip", z.ZodTypeAny, {
|
|
1082
|
+
identifier: string;
|
|
1083
|
+
api_key?: string | undefined;
|
|
1084
|
+
name?: string | undefined;
|
|
1085
|
+
description?: string | undefined;
|
|
1086
|
+
}, {
|
|
1087
|
+
identifier: string;
|
|
1088
|
+
api_key?: string | undefined;
|
|
1089
|
+
name?: string | undefined;
|
|
1090
|
+
description?: string | undefined;
|
|
1091
|
+
}>;
|
|
1092
|
+
export declare const SaveSkillCollectionVersionArgsSchema: z.ZodObject<{
|
|
1093
|
+
identifier: z.ZodString;
|
|
1094
|
+
file_updates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1095
|
+
path: z.ZodString;
|
|
1096
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
}, "strip", z.ZodTypeAny, {
|
|
1098
|
+
path: string;
|
|
1099
|
+
content?: string | undefined;
|
|
1100
|
+
}, {
|
|
1101
|
+
path: string;
|
|
1102
|
+
content?: string | undefined;
|
|
1103
|
+
}>, "many">>;
|
|
1104
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1105
|
+
old_path: z.ZodString;
|
|
1106
|
+
new_path: z.ZodString;
|
|
1107
|
+
}, "strip", z.ZodTypeAny, {
|
|
1108
|
+
old_path: string;
|
|
1109
|
+
new_path: string;
|
|
1110
|
+
}, {
|
|
1111
|
+
old_path: string;
|
|
1112
|
+
new_path: string;
|
|
1113
|
+
}>, "many">>;
|
|
1114
|
+
deletes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1115
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
release_label: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
}, "strip", z.ZodTypeAny, {
|
|
1119
|
+
identifier: string;
|
|
1120
|
+
api_key?: string | undefined;
|
|
1121
|
+
commit_message?: string | undefined;
|
|
1122
|
+
file_updates?: {
|
|
1123
|
+
path: string;
|
|
1124
|
+
content?: string | undefined;
|
|
1125
|
+
}[] | undefined;
|
|
1126
|
+
moves?: {
|
|
1127
|
+
old_path: string;
|
|
1128
|
+
new_path: string;
|
|
1129
|
+
}[] | undefined;
|
|
1130
|
+
deletes?: string[] | undefined;
|
|
1131
|
+
release_label?: string | undefined;
|
|
1132
|
+
}, {
|
|
1133
|
+
identifier: string;
|
|
1134
|
+
api_key?: string | undefined;
|
|
1135
|
+
commit_message?: string | undefined;
|
|
1136
|
+
file_updates?: {
|
|
1137
|
+
path: string;
|
|
1138
|
+
content?: string | undefined;
|
|
1139
|
+
}[] | undefined;
|
|
1140
|
+
moves?: {
|
|
1141
|
+
old_path: string;
|
|
1142
|
+
new_path: string;
|
|
1143
|
+
}[] | undefined;
|
|
1144
|
+
deletes?: string[] | undefined;
|
|
1145
|
+
release_label?: string | undefined;
|
|
1146
|
+
}>;
|
|
1147
|
+
export declare const PatchPromptTemplateVersionArgsSchema: z.ZodObject<{
|
|
1148
|
+
identifier: z.ZodString;
|
|
1149
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
1150
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
messages: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
1152
|
+
tools: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
1153
|
+
functions: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
1154
|
+
function_call: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1155
|
+
tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1156
|
+
content: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
1157
|
+
model_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1158
|
+
response_format: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1159
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
release_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1161
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
}, "strip", z.ZodTypeAny, {
|
|
1163
|
+
identifier: string;
|
|
1164
|
+
version?: number | undefined;
|
|
1165
|
+
label?: string | undefined;
|
|
1166
|
+
api_key?: string | undefined;
|
|
1167
|
+
commit_message?: string | undefined;
|
|
1168
|
+
release_labels?: string[] | undefined;
|
|
1169
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1170
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1171
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1172
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1173
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
1174
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
1175
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
1176
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
1177
|
+
}, {
|
|
1178
|
+
identifier: string;
|
|
1179
|
+
version?: number | undefined;
|
|
1180
|
+
label?: string | undefined;
|
|
1181
|
+
api_key?: string | undefined;
|
|
1182
|
+
commit_message?: string | undefined;
|
|
1183
|
+
release_labels?: string[] | undefined;
|
|
1184
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1185
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1186
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1187
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1188
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
1189
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
1190
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
1191
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
1192
|
+
}>;
|
|
1137
1193
|
export declare const SearchRequestLogsArgsSchema: z.ZodObject<{
|
|
1138
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1139
|
-
q: z.ZodOptional<z.ZodString>;
|
|
1140
1194
|
page: z.ZodOptional<z.ZodNumber>;
|
|
1141
1195
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
1142
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status"]>>;
|
|
1143
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1144
1196
|
include_prompt_name: z.ZodOptional<z.ZodBoolean>;
|
|
1145
1197
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1199
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1201
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1146
1202
|
}, "strip", z.ZodTypeAny, {
|
|
1147
1203
|
api_key?: string | undefined;
|
|
1148
1204
|
page?: number | undefined;
|
|
1149
1205
|
per_page?: number | undefined;
|
|
1150
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | undefined;
|
|
1151
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1152
|
-
q?: string | undefined;
|
|
1153
1206
|
filter_group?: any;
|
|
1207
|
+
q?: string | undefined;
|
|
1208
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1209
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1154
1210
|
include_prompt_name?: boolean | undefined;
|
|
1155
1211
|
}, {
|
|
1156
1212
|
api_key?: string | undefined;
|
|
1157
1213
|
page?: number | undefined;
|
|
1158
1214
|
per_page?: number | undefined;
|
|
1159
|
-
|
|
1215
|
+
filter_group?: any;
|
|
1216
|
+
q?: string | undefined;
|
|
1217
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1160
1218
|
sort_order?: "asc" | "desc" | undefined;
|
|
1219
|
+
include_prompt_name?: boolean | undefined;
|
|
1220
|
+
}>;
|
|
1221
|
+
export declare const GetRequestAnalyticsArgsSchema: z.ZodObject<{
|
|
1222
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1224
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1226
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1227
|
+
}, "strip", z.ZodTypeAny, {
|
|
1228
|
+
api_key?: string | undefined;
|
|
1229
|
+
filter_group?: any;
|
|
1161
1230
|
q?: string | undefined;
|
|
1231
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1232
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1233
|
+
}, {
|
|
1234
|
+
api_key?: string | undefined;
|
|
1162
1235
|
filter_group?: any;
|
|
1163
|
-
|
|
1236
|
+
q?: string | undefined;
|
|
1237
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1238
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1164
1239
|
}>;
|
|
1165
1240
|
export declare const GetRequestArgsSchema: z.ZodObject<{
|
|
1166
1241
|
request_id: z.ZodNumber;
|
|
@@ -1314,14 +1389,17 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1314
1389
|
prompt_name: z.ZodString;
|
|
1315
1390
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1316
1391
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1392
|
+
is_snippet: z.ZodOptional<z.ZodBoolean>;
|
|
1317
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1318
1394
|
prompt_name: string;
|
|
1319
1395
|
tags?: string[] | undefined;
|
|
1320
1396
|
folder_id?: number | undefined;
|
|
1397
|
+
is_snippet?: boolean | undefined;
|
|
1321
1398
|
}, {
|
|
1322
1399
|
prompt_name: string;
|
|
1323
1400
|
tags?: string[] | undefined;
|
|
1324
1401
|
folder_id?: number | undefined;
|
|
1402
|
+
is_snippet?: boolean | undefined;
|
|
1325
1403
|
}>;
|
|
1326
1404
|
prompt_version: z.ZodObject<{
|
|
1327
1405
|
prompt_template: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1353,6 +1431,7 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1353
1431
|
prompt_name: string;
|
|
1354
1432
|
tags?: string[] | undefined;
|
|
1355
1433
|
folder_id?: number | undefined;
|
|
1434
|
+
is_snippet?: boolean | undefined;
|
|
1356
1435
|
};
|
|
1357
1436
|
prompt_version: {
|
|
1358
1437
|
prompt_template: Record<string, unknown>;
|
|
@@ -1370,6 +1449,7 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1370
1449
|
prompt_name: string;
|
|
1371
1450
|
tags?: string[] | undefined;
|
|
1372
1451
|
folder_id?: number | undefined;
|
|
1452
|
+
is_snippet?: boolean | undefined;
|
|
1373
1453
|
};
|
|
1374
1454
|
prompt_version: {
|
|
1375
1455
|
prompt_template: Record<string, unknown>;
|
|
@@ -1494,31 +1574,31 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1494
1574
|
readonly name: "search-request-logs";
|
|
1495
1575
|
readonly description: string;
|
|
1496
1576
|
readonly inputSchema: z.ZodObject<{
|
|
1497
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1498
|
-
q: z.ZodOptional<z.ZodString>;
|
|
1499
1577
|
page: z.ZodOptional<z.ZodNumber>;
|
|
1500
1578
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
1501
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status"]>>;
|
|
1502
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1503
1579
|
include_prompt_name: z.ZodOptional<z.ZodBoolean>;
|
|
1504
1580
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1581
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1582
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1583
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1584
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1505
1585
|
}, "strip", z.ZodTypeAny, {
|
|
1506
1586
|
api_key?: string | undefined;
|
|
1507
1587
|
page?: number | undefined;
|
|
1508
1588
|
per_page?: number | undefined;
|
|
1509
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | undefined;
|
|
1510
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1511
|
-
q?: string | undefined;
|
|
1512
1589
|
filter_group?: any;
|
|
1590
|
+
q?: string | undefined;
|
|
1591
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1592
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1513
1593
|
include_prompt_name?: boolean | undefined;
|
|
1514
1594
|
}, {
|
|
1515
1595
|
api_key?: string | undefined;
|
|
1516
1596
|
page?: number | undefined;
|
|
1517
1597
|
per_page?: number | undefined;
|
|
1518
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | undefined;
|
|
1519
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1520
|
-
q?: string | undefined;
|
|
1521
1598
|
filter_group?: any;
|
|
1599
|
+
q?: string | undefined;
|
|
1600
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1601
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1522
1602
|
include_prompt_name?: boolean | undefined;
|
|
1523
1603
|
}>;
|
|
1524
1604
|
readonly annotations: {
|
|
@@ -1774,163 +1854,34 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1774
1854
|
};
|
|
1775
1855
|
readonly "create-dataset-version-from-filter-params": {
|
|
1776
1856
|
readonly name: "create-dataset-version-from-filter-params";
|
|
1777
|
-
readonly description:
|
|
1857
|
+
readonly description: string;
|
|
1778
1858
|
readonly inputSchema: z.ZodObject<{
|
|
1779
1859
|
dataset_group_id: z.ZodNumber;
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
end_time: z.ZodOptional<z.ZodString>;
|
|
1785
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
1786
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
1787
|
-
tags_and: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1788
|
-
tags_or: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1789
|
-
metadata_and: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1790
|
-
key: z.ZodString;
|
|
1791
|
-
value: z.ZodString;
|
|
1792
|
-
}, "strip", z.ZodTypeAny, {
|
|
1793
|
-
value: string;
|
|
1794
|
-
key: string;
|
|
1795
|
-
}, {
|
|
1796
|
-
value: string;
|
|
1797
|
-
key: string;
|
|
1798
|
-
}>, "many">>;
|
|
1799
|
-
metadata_or: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1800
|
-
key: z.ZodString;
|
|
1801
|
-
value: z.ZodString;
|
|
1802
|
-
}, "strip", z.ZodTypeAny, {
|
|
1803
|
-
value: string;
|
|
1804
|
-
key: string;
|
|
1805
|
-
}, {
|
|
1806
|
-
value: string;
|
|
1807
|
-
key: string;
|
|
1808
|
-
}>, "many">>;
|
|
1809
|
-
scores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1810
|
-
name: z.ZodString;
|
|
1811
|
-
operator: z.ZodEnum<[">", "<", ">=", "<=", "="]>;
|
|
1812
|
-
value: z.ZodNumber;
|
|
1813
|
-
}, "strip", z.ZodTypeAny, {
|
|
1814
|
-
value: number;
|
|
1815
|
-
name: string;
|
|
1816
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
1817
|
-
}, {
|
|
1818
|
-
value: number;
|
|
1819
|
-
name: string;
|
|
1820
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
1821
|
-
}>, "many">>;
|
|
1822
|
-
prompt_templates_include: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1823
|
-
name: z.ZodString;
|
|
1824
|
-
version_numbers: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1825
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1826
|
-
}, "strip", z.ZodTypeAny, {
|
|
1827
|
-
name: string;
|
|
1828
|
-
version_numbers?: number[] | undefined;
|
|
1829
|
-
labels?: string[] | undefined;
|
|
1830
|
-
}, {
|
|
1831
|
-
name: string;
|
|
1832
|
-
version_numbers?: number[] | undefined;
|
|
1833
|
-
labels?: string[] | undefined;
|
|
1834
|
-
}>, "many">>;
|
|
1835
|
-
prompt_templates_exclude: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1836
|
-
name: z.ZodString;
|
|
1837
|
-
version_numbers: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1838
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1839
|
-
}, "strip", z.ZodTypeAny, {
|
|
1840
|
-
name: string;
|
|
1841
|
-
version_numbers?: number[] | undefined;
|
|
1842
|
-
labels?: string[] | undefined;
|
|
1843
|
-
}, {
|
|
1844
|
-
name: string;
|
|
1845
|
-
version_numbers?: number[] | undefined;
|
|
1846
|
-
labels?: string[] | undefined;
|
|
1847
|
-
}>, "many">>;
|
|
1848
|
-
starred: z.ZodOptional<z.ZodBoolean>;
|
|
1849
|
-
status: z.ZodOptional<z.ZodArray<z.ZodEnum<["SUCCESS", "WARNING", "ERROR"]>, "many">>;
|
|
1850
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "price", "score", "latency", "prompt_name", "status"]>>;
|
|
1860
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1861
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1862
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1851
1864
|
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1852
|
-
|
|
1865
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1853
1866
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1854
1867
|
}, "strip", z.ZodTypeAny, {
|
|
1855
1868
|
dataset_group_id: number;
|
|
1856
|
-
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
1857
1869
|
api_key?: string | undefined;
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
end_time?: string | undefined;
|
|
1863
|
-
id?: number | undefined;
|
|
1864
|
-
limit?: number | undefined;
|
|
1865
|
-
tags_and?: string[] | undefined;
|
|
1866
|
-
tags_or?: string[] | undefined;
|
|
1867
|
-
metadata_and?: {
|
|
1868
|
-
value: string;
|
|
1869
|
-
key: string;
|
|
1870
|
-
}[] | undefined;
|
|
1871
|
-
metadata_or?: {
|
|
1872
|
-
value: string;
|
|
1873
|
-
key: string;
|
|
1874
|
-
}[] | undefined;
|
|
1875
|
-
scores?: {
|
|
1876
|
-
value: number;
|
|
1877
|
-
name: string;
|
|
1878
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
1879
|
-
}[] | undefined;
|
|
1880
|
-
prompt_templates_include?: {
|
|
1881
|
-
name: string;
|
|
1882
|
-
version_numbers?: number[] | undefined;
|
|
1883
|
-
labels?: string[] | undefined;
|
|
1884
|
-
}[] | undefined;
|
|
1885
|
-
prompt_templates_exclude?: {
|
|
1886
|
-
name: string;
|
|
1887
|
-
version_numbers?: number[] | undefined;
|
|
1888
|
-
labels?: string[] | undefined;
|
|
1889
|
-
}[] | undefined;
|
|
1890
|
-
starred?: boolean | undefined;
|
|
1891
|
-
sort_by?: "prompt_name" | "status" | "request_start_time" | "input_tokens" | "output_tokens" | "price" | "score" | "latency" | undefined;
|
|
1870
|
+
request_log_ids?: number[] | undefined;
|
|
1871
|
+
filter_group?: any;
|
|
1872
|
+
q?: string | undefined;
|
|
1873
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1892
1874
|
sort_order?: "asc" | "desc" | undefined;
|
|
1893
|
-
|
|
1875
|
+
variables_to_parse?: string[] | undefined;
|
|
1894
1876
|
}, {
|
|
1895
1877
|
dataset_group_id: number;
|
|
1896
|
-
status?: ("SUCCESS" | "WARNING" | "ERROR")[] | undefined;
|
|
1897
1878
|
api_key?: string | undefined;
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
end_time?: string | undefined;
|
|
1903
|
-
id?: number | undefined;
|
|
1904
|
-
limit?: number | undefined;
|
|
1905
|
-
tags_and?: string[] | undefined;
|
|
1906
|
-
tags_or?: string[] | undefined;
|
|
1907
|
-
metadata_and?: {
|
|
1908
|
-
value: string;
|
|
1909
|
-
key: string;
|
|
1910
|
-
}[] | undefined;
|
|
1911
|
-
metadata_or?: {
|
|
1912
|
-
value: string;
|
|
1913
|
-
key: string;
|
|
1914
|
-
}[] | undefined;
|
|
1915
|
-
scores?: {
|
|
1916
|
-
value: number;
|
|
1917
|
-
name: string;
|
|
1918
|
-
operator: ">" | "<" | ">=" | "<=" | "=";
|
|
1919
|
-
}[] | undefined;
|
|
1920
|
-
prompt_templates_include?: {
|
|
1921
|
-
name: string;
|
|
1922
|
-
version_numbers?: number[] | undefined;
|
|
1923
|
-
labels?: string[] | undefined;
|
|
1924
|
-
}[] | undefined;
|
|
1925
|
-
prompt_templates_exclude?: {
|
|
1926
|
-
name: string;
|
|
1927
|
-
version_numbers?: number[] | undefined;
|
|
1928
|
-
labels?: string[] | undefined;
|
|
1929
|
-
}[] | undefined;
|
|
1930
|
-
starred?: boolean | undefined;
|
|
1931
|
-
sort_by?: "prompt_name" | "status" | "request_start_time" | "input_tokens" | "output_tokens" | "price" | "score" | "latency" | undefined;
|
|
1879
|
+
request_log_ids?: number[] | undefined;
|
|
1880
|
+
filter_group?: any;
|
|
1881
|
+
q?: string | undefined;
|
|
1882
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1932
1883
|
sort_order?: "asc" | "desc" | undefined;
|
|
1933
|
-
|
|
1884
|
+
variables_to_parse?: string[] | undefined;
|
|
1934
1885
|
}>;
|
|
1935
1886
|
readonly annotations: {
|
|
1936
1887
|
readonly readOnlyHint: false;
|
|
@@ -2778,5 +2729,253 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2778
2729
|
readonly readOnlyHint: true;
|
|
2779
2730
|
};
|
|
2780
2731
|
};
|
|
2732
|
+
readonly "list-skill-collections": {
|
|
2733
|
+
readonly name: "list-skill-collections";
|
|
2734
|
+
readonly description: "List all skill collections in the workspace. Returns each collection's UUID, name, root_path, provider, description, and timestamps.";
|
|
2735
|
+
readonly inputSchema: z.ZodObject<{
|
|
2736
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2737
|
+
}, "strip", z.ZodTypeAny, {
|
|
2738
|
+
api_key?: string | undefined;
|
|
2739
|
+
}, {
|
|
2740
|
+
api_key?: string | undefined;
|
|
2741
|
+
}>;
|
|
2742
|
+
readonly annotations: {
|
|
2743
|
+
readonly readOnlyHint: true;
|
|
2744
|
+
};
|
|
2745
|
+
};
|
|
2746
|
+
readonly "create-skill-collection": {
|
|
2747
|
+
readonly name: "create-skill-collection";
|
|
2748
|
+
readonly description: string;
|
|
2749
|
+
readonly inputSchema: z.ZodObject<{
|
|
2750
|
+
name: z.ZodString;
|
|
2751
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2752
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2753
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2755
|
+
path: z.ZodString;
|
|
2756
|
+
content: z.ZodOptional<z.ZodString>;
|
|
2757
|
+
}, "strip", z.ZodTypeAny, {
|
|
2758
|
+
path: string;
|
|
2759
|
+
content?: string | undefined;
|
|
2760
|
+
}, {
|
|
2761
|
+
path: string;
|
|
2762
|
+
content?: string | undefined;
|
|
2763
|
+
}>, "many">>;
|
|
2764
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
}, "strip", z.ZodTypeAny, {
|
|
2767
|
+
name: string;
|
|
2768
|
+
provider?: string | undefined;
|
|
2769
|
+
api_key?: string | undefined;
|
|
2770
|
+
folder_id?: number | undefined;
|
|
2771
|
+
commit_message?: string | undefined;
|
|
2772
|
+
description?: string | undefined;
|
|
2773
|
+
files?: {
|
|
2774
|
+
path: string;
|
|
2775
|
+
content?: string | undefined;
|
|
2776
|
+
}[] | undefined;
|
|
2777
|
+
}, {
|
|
2778
|
+
name: string;
|
|
2779
|
+
provider?: string | undefined;
|
|
2780
|
+
api_key?: string | undefined;
|
|
2781
|
+
folder_id?: number | undefined;
|
|
2782
|
+
commit_message?: string | undefined;
|
|
2783
|
+
description?: string | undefined;
|
|
2784
|
+
files?: {
|
|
2785
|
+
path: string;
|
|
2786
|
+
content?: string | undefined;
|
|
2787
|
+
}[] | undefined;
|
|
2788
|
+
}>;
|
|
2789
|
+
readonly annotations: {
|
|
2790
|
+
readonly readOnlyHint: false;
|
|
2791
|
+
};
|
|
2792
|
+
};
|
|
2793
|
+
readonly "get-skill-collection": {
|
|
2794
|
+
readonly name: "get-skill-collection";
|
|
2795
|
+
readonly description: string;
|
|
2796
|
+
readonly inputSchema: z.ZodObject<{
|
|
2797
|
+
identifier: z.ZodString;
|
|
2798
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2800
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2801
|
+
}, "strip", z.ZodTypeAny, {
|
|
2802
|
+
identifier: string;
|
|
2803
|
+
version?: number | undefined;
|
|
2804
|
+
label?: string | undefined;
|
|
2805
|
+
api_key?: string | undefined;
|
|
2806
|
+
}, {
|
|
2807
|
+
identifier: string;
|
|
2808
|
+
version?: number | undefined;
|
|
2809
|
+
label?: string | undefined;
|
|
2810
|
+
api_key?: string | undefined;
|
|
2811
|
+
}>;
|
|
2812
|
+
readonly annotations: {
|
|
2813
|
+
readonly readOnlyHint: true;
|
|
2814
|
+
};
|
|
2815
|
+
};
|
|
2816
|
+
readonly "update-skill-collection": {
|
|
2817
|
+
readonly name: "update-skill-collection";
|
|
2818
|
+
readonly description: "Rename a skill collection or update its description. To save new file contents as a version, use save-skill-collection-version instead.";
|
|
2819
|
+
readonly inputSchema: z.ZodObject<{
|
|
2820
|
+
identifier: z.ZodString;
|
|
2821
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2822
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2823
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2824
|
+
}, "strip", z.ZodTypeAny, {
|
|
2825
|
+
identifier: string;
|
|
2826
|
+
api_key?: string | undefined;
|
|
2827
|
+
name?: string | undefined;
|
|
2828
|
+
description?: string | undefined;
|
|
2829
|
+
}, {
|
|
2830
|
+
identifier: string;
|
|
2831
|
+
api_key?: string | undefined;
|
|
2832
|
+
name?: string | undefined;
|
|
2833
|
+
description?: string | undefined;
|
|
2834
|
+
}>;
|
|
2835
|
+
readonly annotations: {
|
|
2836
|
+
readonly readOnlyHint: false;
|
|
2837
|
+
};
|
|
2838
|
+
};
|
|
2839
|
+
readonly "save-skill-collection-version": {
|
|
2840
|
+
readonly name: "save-skill-collection-version";
|
|
2841
|
+
readonly description: string;
|
|
2842
|
+
readonly inputSchema: z.ZodObject<{
|
|
2843
|
+
identifier: z.ZodString;
|
|
2844
|
+
file_updates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2845
|
+
path: z.ZodString;
|
|
2846
|
+
content: z.ZodOptional<z.ZodString>;
|
|
2847
|
+
}, "strip", z.ZodTypeAny, {
|
|
2848
|
+
path: string;
|
|
2849
|
+
content?: string | undefined;
|
|
2850
|
+
}, {
|
|
2851
|
+
path: string;
|
|
2852
|
+
content?: string | undefined;
|
|
2853
|
+
}>, "many">>;
|
|
2854
|
+
moves: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2855
|
+
old_path: z.ZodString;
|
|
2856
|
+
new_path: z.ZodString;
|
|
2857
|
+
}, "strip", z.ZodTypeAny, {
|
|
2858
|
+
old_path: string;
|
|
2859
|
+
new_path: string;
|
|
2860
|
+
}, {
|
|
2861
|
+
old_path: string;
|
|
2862
|
+
new_path: string;
|
|
2863
|
+
}>, "many">>;
|
|
2864
|
+
deletes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2865
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
2866
|
+
release_label: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
}, "strip", z.ZodTypeAny, {
|
|
2869
|
+
identifier: string;
|
|
2870
|
+
api_key?: string | undefined;
|
|
2871
|
+
commit_message?: string | undefined;
|
|
2872
|
+
file_updates?: {
|
|
2873
|
+
path: string;
|
|
2874
|
+
content?: string | undefined;
|
|
2875
|
+
}[] | undefined;
|
|
2876
|
+
moves?: {
|
|
2877
|
+
old_path: string;
|
|
2878
|
+
new_path: string;
|
|
2879
|
+
}[] | undefined;
|
|
2880
|
+
deletes?: string[] | undefined;
|
|
2881
|
+
release_label?: string | undefined;
|
|
2882
|
+
}, {
|
|
2883
|
+
identifier: string;
|
|
2884
|
+
api_key?: string | undefined;
|
|
2885
|
+
commit_message?: string | undefined;
|
|
2886
|
+
file_updates?: {
|
|
2887
|
+
path: string;
|
|
2888
|
+
content?: string | undefined;
|
|
2889
|
+
}[] | undefined;
|
|
2890
|
+
moves?: {
|
|
2891
|
+
old_path: string;
|
|
2892
|
+
new_path: string;
|
|
2893
|
+
}[] | undefined;
|
|
2894
|
+
deletes?: string[] | undefined;
|
|
2895
|
+
release_label?: string | undefined;
|
|
2896
|
+
}>;
|
|
2897
|
+
readonly annotations: {
|
|
2898
|
+
readonly readOnlyHint: false;
|
|
2899
|
+
};
|
|
2900
|
+
};
|
|
2901
|
+
readonly "get-request-analytics": {
|
|
2902
|
+
readonly name: "get-request-analytics";
|
|
2903
|
+
readonly description: string;
|
|
2904
|
+
readonly inputSchema: z.ZodObject<{
|
|
2905
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2906
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
2907
|
+
q: z.ZodOptional<z.ZodString>;
|
|
2908
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
2909
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2910
|
+
}, "strip", z.ZodTypeAny, {
|
|
2911
|
+
api_key?: string | undefined;
|
|
2912
|
+
filter_group?: any;
|
|
2913
|
+
q?: string | undefined;
|
|
2914
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
2915
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2916
|
+
}, {
|
|
2917
|
+
api_key?: string | undefined;
|
|
2918
|
+
filter_group?: any;
|
|
2919
|
+
q?: string | undefined;
|
|
2920
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
2921
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2922
|
+
}>;
|
|
2923
|
+
readonly annotations: {
|
|
2924
|
+
readonly readOnlyHint: true;
|
|
2925
|
+
};
|
|
2926
|
+
};
|
|
2927
|
+
readonly "patch-prompt-template-version": {
|
|
2928
|
+
readonly name: "patch-prompt-template-version";
|
|
2929
|
+
readonly description: string;
|
|
2930
|
+
readonly inputSchema: z.ZodObject<{
|
|
2931
|
+
identifier: z.ZodString;
|
|
2932
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2933
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2934
|
+
messages: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
2935
|
+
tools: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
2936
|
+
functions: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
2937
|
+
function_call: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
2938
|
+
tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
2939
|
+
content: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
2940
|
+
model_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2941
|
+
response_format: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
2942
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
2943
|
+
release_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2944
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2945
|
+
}, "strip", z.ZodTypeAny, {
|
|
2946
|
+
identifier: string;
|
|
2947
|
+
version?: number | undefined;
|
|
2948
|
+
label?: string | undefined;
|
|
2949
|
+
api_key?: string | undefined;
|
|
2950
|
+
commit_message?: string | undefined;
|
|
2951
|
+
release_labels?: string[] | undefined;
|
|
2952
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
2953
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
2954
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
2955
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
2956
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
2957
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
2958
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
2959
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
2960
|
+
}, {
|
|
2961
|
+
identifier: string;
|
|
2962
|
+
version?: number | undefined;
|
|
2963
|
+
label?: string | undefined;
|
|
2964
|
+
api_key?: string | undefined;
|
|
2965
|
+
commit_message?: string | undefined;
|
|
2966
|
+
release_labels?: string[] | undefined;
|
|
2967
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
2968
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
2969
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
2970
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
2971
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
2972
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
2973
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
2974
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
2975
|
+
}>;
|
|
2976
|
+
readonly annotations: {
|
|
2977
|
+
readonly readOnlyHint: false;
|
|
2978
|
+
};
|
|
2979
|
+
};
|
|
2781
2980
|
};
|
|
2782
2981
|
//# sourceMappingURL=types.d.ts.map
|