@onlyflows/servicenow-mcp 2.3.0-rc.3 → 2.4.0-rc.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/CHANGELOG.md +138 -0
- package/README.md +206 -22
- package/dist/atf-result-cache.d.ts +2 -2
- package/dist/call-metrics.d.ts +11 -1
- package/dist/call-metrics.d.ts.map +1 -1
- package/dist/call-metrics.js +2 -0
- package/dist/call-metrics.js.map +1 -1
- package/dist/client.d.ts +10 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +31 -3
- package/dist/client.js.map +1 -1
- package/dist/execution-context.d.ts +3 -3
- package/dist/execution-context.d.ts.map +1 -1
- package/dist/execution-context.js +7 -2
- package/dist/execution-context.js.map +1 -1
- package/dist/field-policy.d.ts +8 -0
- package/dist/field-policy.d.ts.map +1 -1
- package/dist/field-policy.js +239 -46
- package/dist/field-policy.js.map +1 -1
- package/dist/hidden-values.d.ts +368 -21
- package/dist/hidden-values.d.ts.map +1 -1
- package/dist/hidden-values.js +1050 -101
- package/dist/hidden-values.js.map +1 -1
- package/dist/http-observability.js +3 -1
- package/dist/http-observability.js.map +1 -1
- package/dist/inert-text.d.ts +27 -0
- package/dist/inert-text.d.ts.map +1 -0
- package/dist/inert-text.js +57 -0
- package/dist/inert-text.js.map +1 -0
- package/dist/policy-card.d.ts +1 -1
- package/dist/policy-card.d.ts.map +1 -1
- package/dist/policy-card.js +3 -1
- package/dist/policy-card.js.map +1 -1
- package/dist/setup-prompts.js +1 -0
- package/dist/setup-prompts.js.map +1 -1
- package/dist/setup.js +6 -0
- package/dist/setup.js.map +1 -1
- package/dist/tool-error.d.ts +39 -3
- package/dist/tool-error.d.ts.map +1 -1
- package/dist/tool-error.js +101 -2
- package/dist/tool-error.js.map +1 -1
- package/dist/tool-table-access.d.ts.map +1 -1
- package/dist/tool-table-access.js +5 -0
- package/dist/tool-table-access.js.map +1 -1
- package/dist/tools/aggregate.d.ts +8 -0
- package/dist/tools/aggregate.d.ts.map +1 -1
- package/dist/tools/aggregate.js +70 -11
- package/dist/tools/aggregate.js.map +1 -1
- package/dist/tools/atf-contracts.d.ts +9 -9
- package/dist/tools/catalog.d.ts +2 -2
- package/dist/tools/catalog.d.ts.map +1 -1
- package/dist/tools/catalog.js +9 -0
- package/dist/tools/catalog.js.map +1 -1
- package/dist/tools/envelope-text-fit.d.ts +20 -0
- package/dist/tools/envelope-text-fit.d.ts.map +1 -0
- package/dist/tools/envelope-text-fit.js +33 -0
- package/dist/tools/envelope-text-fit.js.map +1 -0
- package/dist/tools/flow-view-mermaid.d.ts.map +1 -1
- package/dist/tools/flow-view-mermaid.js +6 -13
- package/dist/tools/flow-view-mermaid.js.map +1 -1
- package/dist/tools/flow-view-module.js +1 -1
- package/dist/tools/get-module.js +1 -1
- package/dist/tools/history-contracts.d.ts +198 -0
- package/dist/tools/history-contracts.d.ts.map +1 -0
- package/dist/tools/history-contracts.js +317 -0
- package/dist/tools/history-contracts.js.map +1 -0
- package/dist/tools/history-module.d.ts +158 -0
- package/dist/tools/history-module.d.ts.map +1 -0
- package/dist/tools/history-module.js +937 -0
- package/dist/tools/history-module.js.map +1 -0
- package/dist/tools/history-renderers.d.ts +32 -0
- package/dist/tools/history-renderers.d.ts.map +1 -0
- package/dist/tools/history-renderers.js +154 -0
- package/dist/tools/history-renderers.js.map +1 -0
- package/dist/tools/index.d.ts +3 -3
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +31 -14
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/platform-view-contracts.d.ts +4 -4
- package/dist/tools/platform-view-contracts.d.ts.map +1 -1
- package/dist/tools/platform-view-contracts.js +3 -0
- package/dist/tools/platform-view-contracts.js.map +1 -1
- package/dist/tools/platform-view-evaluate.d.ts +7 -2
- package/dist/tools/platform-view-evaluate.d.ts.map +1 -1
- package/dist/tools/platform-view-evaluate.js +44 -130
- package/dist/tools/platform-view-evaluate.js.map +1 -1
- package/dist/tools/platform-view-module.d.ts +12 -3
- package/dist/tools/platform-view-module.d.ts.map +1 -1
- package/dist/tools/platform-view-module.js +61 -16
- package/dist/tools/platform-view-module.js.map +1 -1
- package/dist/tools/platform-view-payload.d.ts +101 -0
- package/dist/tools/platform-view-payload.d.ts.map +1 -0
- package/dist/tools/platform-view-payload.js +302 -0
- package/dist/tools/platform-view-payload.js.map +1 -0
- package/dist/tools/platform-view-update-sets.d.ts +129 -0
- package/dist/tools/platform-view-update-sets.d.ts.map +1 -0
- package/dist/tools/platform-view-update-sets.js +1060 -0
- package/dist/tools/platform-view-update-sets.js.map +1 -0
- package/dist/tools/query-module.js +1 -1
- package/dist/tools/relationships-map.d.ts +59 -0
- package/dist/tools/relationships-map.d.ts.map +1 -0
- package/dist/tools/relationships-map.js +162 -0
- package/dist/tools/relationships-map.js.map +1 -0
- package/dist/tools/relationships-renderer.d.ts +22 -0
- package/dist/tools/relationships-renderer.d.ts.map +1 -0
- package/dist/tools/relationships-renderer.js +90 -0
- package/dist/tools/relationships-renderer.js.map +1 -0
- package/dist/tools/relationships.d.ts +37 -2
- package/dist/tools/relationships.d.ts.map +1 -1
- package/dist/tools/relationships.js +602 -183
- package/dist/tools/relationships.js.map +1 -1
- package/dist/tools/result-envelope.d.ts +314 -15
- package/dist/tools/result-envelope.d.ts.map +1 -1
- package/dist/tools/result-envelope.js +120 -19
- package/dist/tools/result-envelope.js.map +1 -1
- package/dist/tools/syslog.d.ts +1 -1
- package/dist/tools/table-hierarchy.d.ts +17 -0
- package/dist/tools/table-hierarchy.d.ts.map +1 -1
- package/dist/tools/table-hierarchy.js +41 -0
- package/dist/tools/table-hierarchy.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/CLIENT-SETUP.md +2 -2
- package/docs/CROSS-CLIENT-RELEASE-MATRIX.md +2 -2
- package/docs/PRODUCTION-SECURITY.md +145 -2
- package/docs/RELEASE-VALIDATION.md +2 -2
- package/docs/TESTING-OAUTH.md +1 -1
- package/package.json +2 -2
- package/server.json +2 -2
|
@@ -29,6 +29,7 @@ export declare const resultMetadataSchema: z.ZodObject<{
|
|
|
29
29
|
total_ms: z.ZodNumber;
|
|
30
30
|
upstream_ms: z.ZodNumber;
|
|
31
31
|
watermark_ms: z.ZodNumber;
|
|
32
|
+
field_types_ms: z.ZodNumber;
|
|
32
33
|
}, z.core.$strict>>;
|
|
33
34
|
kind: z.ZodEnum<{
|
|
34
35
|
operation: "operation";
|
|
@@ -74,6 +75,7 @@ export declare function withStructuredResultEnvelope<TSchema extends z.ZodType>(
|
|
|
74
75
|
total_ms: z.ZodNumber;
|
|
75
76
|
upstream_ms: z.ZodNumber;
|
|
76
77
|
watermark_ms: z.ZodNumber;
|
|
78
|
+
field_types_ms: z.ZodNumber;
|
|
77
79
|
}, z.core.$strict>>;
|
|
78
80
|
kind: z.ZodEnum<{
|
|
79
81
|
operation: "operation";
|
|
@@ -186,6 +188,11 @@ declare const productionDataSchemas: Readonly<{
|
|
|
186
188
|
}, z.core.$strict>;
|
|
187
189
|
sn_aggregate: z.ZodObject<{
|
|
188
190
|
result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
|
|
191
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
+
next_offset: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
total_groups: z.ZodOptional<z.ZodNumber>;
|
|
194
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
196
|
}, z.core.$strict>;
|
|
190
197
|
sn_schema: z.ZodObject<{
|
|
191
198
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
@@ -205,6 +212,9 @@ declare const productionDataSchemas: Readonly<{
|
|
|
205
212
|
root: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
206
213
|
relationships: z.ZodArray<z.ZodUnknown>;
|
|
207
214
|
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
215
|
+
nodes: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
216
|
+
edges: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
217
|
+
diagram: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
208
218
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
209
219
|
}, z.core.$strict>;
|
|
210
220
|
sn_syslog: z.ZodObject<{
|
|
@@ -259,8 +269,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
259
269
|
error: "error";
|
|
260
270
|
success: "success";
|
|
261
271
|
pending: "pending";
|
|
262
|
-
running: "running";
|
|
263
272
|
failure: "failure";
|
|
273
|
+
running: "running";
|
|
264
274
|
skipped: "skipped";
|
|
265
275
|
canceled: "canceled";
|
|
266
276
|
success_with_warnings: "success_with_warnings";
|
|
@@ -278,8 +288,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
278
288
|
error: "error";
|
|
279
289
|
success: "success";
|
|
280
290
|
pending: "pending";
|
|
281
|
-
running: "running";
|
|
282
291
|
failure: "failure";
|
|
292
|
+
running: "running";
|
|
283
293
|
skipped: "skipped";
|
|
284
294
|
canceled: "canceled";
|
|
285
295
|
success_with_warnings: "success_with_warnings";
|
|
@@ -322,8 +332,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
322
332
|
sn_atf_results: z.ZodObject<{
|
|
323
333
|
action: z.ZodEnum<{
|
|
324
334
|
get: "get";
|
|
325
|
-
step: "step";
|
|
326
335
|
history: "history";
|
|
336
|
+
step: "step";
|
|
327
337
|
compare: "compare";
|
|
328
338
|
}>;
|
|
329
339
|
step_detail: z.ZodOptional<z.ZodObject<{
|
|
@@ -364,8 +374,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
364
374
|
error: "error";
|
|
365
375
|
success: "success";
|
|
366
376
|
pending: "pending";
|
|
367
|
-
running: "running";
|
|
368
377
|
failure: "failure";
|
|
378
|
+
running: "running";
|
|
369
379
|
skipped: "skipped";
|
|
370
380
|
canceled: "canceled";
|
|
371
381
|
success_with_warnings: "success_with_warnings";
|
|
@@ -383,8 +393,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
383
393
|
error: "error";
|
|
384
394
|
success: "success";
|
|
385
395
|
pending: "pending";
|
|
386
|
-
running: "running";
|
|
387
396
|
failure: "failure";
|
|
397
|
+
running: "running";
|
|
388
398
|
skipped: "skipped";
|
|
389
399
|
canceled: "canceled";
|
|
390
400
|
success_with_warnings: "success_with_warnings";
|
|
@@ -433,8 +443,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
433
443
|
error: "error";
|
|
434
444
|
success: "success";
|
|
435
445
|
pending: "pending";
|
|
436
|
-
running: "running";
|
|
437
446
|
failure: "failure";
|
|
447
|
+
running: "running";
|
|
438
448
|
skipped: "skipped";
|
|
439
449
|
canceled: "canceled";
|
|
440
450
|
success_with_warnings: "success_with_warnings";
|
|
@@ -452,8 +462,8 @@ declare const productionDataSchemas: Readonly<{
|
|
|
452
462
|
error: "error";
|
|
453
463
|
success: "success";
|
|
454
464
|
pending: "pending";
|
|
455
|
-
running: "running";
|
|
456
465
|
failure: "failure";
|
|
466
|
+
running: "running";
|
|
457
467
|
skipped: "skipped";
|
|
458
468
|
canceled: "canceled";
|
|
459
469
|
success_with_warnings: "success_with_warnings";
|
|
@@ -882,6 +892,84 @@ declare const productionDataSchemas: Readonly<{
|
|
|
882
892
|
sn_nl: z.ZodObject<{
|
|
883
893
|
request: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
884
894
|
}, z.core.$strict>;
|
|
895
|
+
sn_history: z.ZodObject<{
|
|
896
|
+
status: z.ZodEnum<{
|
|
897
|
+
invalid_cursor: "invalid_cursor";
|
|
898
|
+
ok: "ok";
|
|
899
|
+
wrong_class: "wrong_class";
|
|
900
|
+
}>;
|
|
901
|
+
record: z.ZodObject<{
|
|
902
|
+
table: z.ZodString;
|
|
903
|
+
sys_id: z.ZodString;
|
|
904
|
+
}, z.core.$strict>;
|
|
905
|
+
audit_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
906
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
907
|
+
time: z.ZodString;
|
|
908
|
+
source: z.ZodEnum<{
|
|
909
|
+
flows: "flows";
|
|
910
|
+
audit: "audit";
|
|
911
|
+
journal: "journal";
|
|
912
|
+
}>;
|
|
913
|
+
field: z.ZodOptional<z.ZodString>;
|
|
914
|
+
old: z.ZodOptional<z.ZodString>;
|
|
915
|
+
new: z.ZodOptional<z.ZodString>;
|
|
916
|
+
value_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
917
|
+
value_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
918
|
+
user: z.ZodOptional<z.ZodString>;
|
|
919
|
+
flow: z.ZodOptional<z.ZodObject<{
|
|
920
|
+
name: z.ZodOptional<z.ZodString>;
|
|
921
|
+
state: z.ZodOptional<z.ZodString>;
|
|
922
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
923
|
+
}, z.core.$strict>>;
|
|
924
|
+
}, z.core.$strict>>>;
|
|
925
|
+
sources: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
926
|
+
flows: "flows";
|
|
927
|
+
audit: "audit";
|
|
928
|
+
journal: "journal";
|
|
929
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
930
|
+
status: z.ZodString;
|
|
931
|
+
returned: z.ZodNumber;
|
|
932
|
+
has_more: z.ZodBoolean;
|
|
933
|
+
}, z.core.$strict>>>;
|
|
934
|
+
omitted: z.ZodOptional<z.ZodObject<{
|
|
935
|
+
unreadable: z.ZodNumber;
|
|
936
|
+
mismatch: z.ZodNumber;
|
|
937
|
+
}, z.core.$strict>>;
|
|
938
|
+
not_recorded: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
939
|
+
next_cursor: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
940
|
+
flows: "flows";
|
|
941
|
+
audit: "audit";
|
|
942
|
+
journal: "journal";
|
|
943
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
944
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
945
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
946
|
+
}, z.core.$strict>;
|
|
947
|
+
sn_platform_view: z.ZodObject<{
|
|
948
|
+
view: z.ZodEnum<{
|
|
949
|
+
evaluate: "evaluate";
|
|
950
|
+
update_set: "update_set";
|
|
951
|
+
update_sets: "update_sets";
|
|
952
|
+
changes: "changes";
|
|
953
|
+
batch: "batch";
|
|
954
|
+
remote_update_sets: "remote_update_sets";
|
|
955
|
+
upgrade_skipped: "upgrade_skipped";
|
|
956
|
+
scan_findings: "scan_findings";
|
|
957
|
+
}>;
|
|
958
|
+
status: z.ZodEnum<{
|
|
959
|
+
unavailable: "unavailable";
|
|
960
|
+
ok: "ok";
|
|
961
|
+
denied: "denied";
|
|
962
|
+
}>;
|
|
963
|
+
results: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
964
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
965
|
+
record_count: z.ZodOptional<z.ZodNumber>;
|
|
966
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
967
|
+
next_offset: z.ZodOptional<z.ZodNumber>;
|
|
968
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
969
|
+
dropped_records: z.ZodOptional<z.ZodNumber>;
|
|
970
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
971
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
972
|
+
}, z.core.$strict>;
|
|
885
973
|
sn_profile: z.ZodObject<{
|
|
886
974
|
name: z.ZodString;
|
|
887
975
|
instance: z.ZodString;
|
|
@@ -918,6 +1006,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
918
1006
|
total_ms: z.ZodNumber;
|
|
919
1007
|
upstream_ms: z.ZodNumber;
|
|
920
1008
|
watermark_ms: z.ZodNumber;
|
|
1009
|
+
field_types_ms: z.ZodNumber;
|
|
921
1010
|
}, z.core.$strict>>;
|
|
922
1011
|
kind: z.ZodEnum<{
|
|
923
1012
|
operation: "operation";
|
|
@@ -971,6 +1060,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
971
1060
|
total_ms: z.ZodNumber;
|
|
972
1061
|
upstream_ms: z.ZodNumber;
|
|
973
1062
|
watermark_ms: z.ZodNumber;
|
|
1063
|
+
field_types_ms: z.ZodNumber;
|
|
974
1064
|
}, z.core.$strict>>;
|
|
975
1065
|
kind: z.ZodEnum<{
|
|
976
1066
|
operation: "operation";
|
|
@@ -1026,6 +1116,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1026
1116
|
total_ms: z.ZodNumber;
|
|
1027
1117
|
upstream_ms: z.ZodNumber;
|
|
1028
1118
|
watermark_ms: z.ZodNumber;
|
|
1119
|
+
field_types_ms: z.ZodNumber;
|
|
1029
1120
|
}, z.core.$strict>>;
|
|
1030
1121
|
kind: z.ZodEnum<{
|
|
1031
1122
|
operation: "operation";
|
|
@@ -1079,6 +1170,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1079
1170
|
total_ms: z.ZodNumber;
|
|
1080
1171
|
upstream_ms: z.ZodNumber;
|
|
1081
1172
|
watermark_ms: z.ZodNumber;
|
|
1173
|
+
field_types_ms: z.ZodNumber;
|
|
1082
1174
|
}, z.core.$strict>>;
|
|
1083
1175
|
kind: z.ZodEnum<{
|
|
1084
1176
|
operation: "operation";
|
|
@@ -1136,6 +1228,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1136
1228
|
total_ms: z.ZodNumber;
|
|
1137
1229
|
upstream_ms: z.ZodNumber;
|
|
1138
1230
|
watermark_ms: z.ZodNumber;
|
|
1231
|
+
field_types_ms: z.ZodNumber;
|
|
1139
1232
|
}, z.core.$strict>>;
|
|
1140
1233
|
kind: z.ZodEnum<{
|
|
1141
1234
|
operation: "operation";
|
|
@@ -1193,6 +1286,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1193
1286
|
total_ms: z.ZodNumber;
|
|
1194
1287
|
upstream_ms: z.ZodNumber;
|
|
1195
1288
|
watermark_ms: z.ZodNumber;
|
|
1289
|
+
field_types_ms: z.ZodNumber;
|
|
1196
1290
|
}, z.core.$strict>>;
|
|
1197
1291
|
kind: z.ZodEnum<{
|
|
1198
1292
|
operation: "operation";
|
|
@@ -1247,6 +1341,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1247
1341
|
total_ms: z.ZodNumber;
|
|
1248
1342
|
upstream_ms: z.ZodNumber;
|
|
1249
1343
|
watermark_ms: z.ZodNumber;
|
|
1344
|
+
field_types_ms: z.ZodNumber;
|
|
1250
1345
|
}, z.core.$strict>>;
|
|
1251
1346
|
kind: z.ZodEnum<{
|
|
1252
1347
|
operation: "operation";
|
|
@@ -1314,6 +1409,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1314
1409
|
total_ms: z.ZodNumber;
|
|
1315
1410
|
upstream_ms: z.ZodNumber;
|
|
1316
1411
|
watermark_ms: z.ZodNumber;
|
|
1412
|
+
field_types_ms: z.ZodNumber;
|
|
1317
1413
|
}, z.core.$strict>>;
|
|
1318
1414
|
kind: z.ZodEnum<{
|
|
1319
1415
|
operation: "operation";
|
|
@@ -1354,6 +1450,11 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1354
1450
|
sn_aggregate: z.ZodObject<Omit<{
|
|
1355
1451
|
data: z.ZodObject<{
|
|
1356
1452
|
result: z.ZodUnion<readonly [z.ZodNull, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>;
|
|
1453
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
1454
|
+
next_offset: z.ZodOptional<z.ZodNumber>;
|
|
1455
|
+
total_groups: z.ZodOptional<z.ZodNumber>;
|
|
1456
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1457
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1357
1458
|
}, z.core.$strict>;
|
|
1358
1459
|
metadata: z.ZodObject<{
|
|
1359
1460
|
cache: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1366,6 +1467,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1366
1467
|
total_ms: z.ZodNumber;
|
|
1367
1468
|
upstream_ms: z.ZodNumber;
|
|
1368
1469
|
watermark_ms: z.ZodNumber;
|
|
1470
|
+
field_types_ms: z.ZodNumber;
|
|
1369
1471
|
}, z.core.$strict>>;
|
|
1370
1472
|
kind: z.ZodEnum<{
|
|
1371
1473
|
operation: "operation";
|
|
@@ -1418,6 +1520,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1418
1520
|
total_ms: z.ZodNumber;
|
|
1419
1521
|
upstream_ms: z.ZodNumber;
|
|
1420
1522
|
watermark_ms: z.ZodNumber;
|
|
1523
|
+
field_types_ms: z.ZodNumber;
|
|
1421
1524
|
}, z.core.$strict>>;
|
|
1422
1525
|
kind: z.ZodEnum<{
|
|
1423
1526
|
operation: "operation";
|
|
@@ -1470,6 +1573,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1470
1573
|
total_ms: z.ZodNumber;
|
|
1471
1574
|
upstream_ms: z.ZodNumber;
|
|
1472
1575
|
watermark_ms: z.ZodNumber;
|
|
1576
|
+
field_types_ms: z.ZodNumber;
|
|
1473
1577
|
}, z.core.$strict>>;
|
|
1474
1578
|
kind: z.ZodEnum<{
|
|
1475
1579
|
operation: "operation";
|
|
@@ -1527,6 +1631,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1527
1631
|
total_ms: z.ZodNumber;
|
|
1528
1632
|
upstream_ms: z.ZodNumber;
|
|
1529
1633
|
watermark_ms: z.ZodNumber;
|
|
1634
|
+
field_types_ms: z.ZodNumber;
|
|
1530
1635
|
}, z.core.$strict>>;
|
|
1531
1636
|
kind: z.ZodEnum<{
|
|
1532
1637
|
operation: "operation";
|
|
@@ -1569,6 +1674,9 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1569
1674
|
root: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1570
1675
|
relationships: z.ZodArray<z.ZodUnknown>;
|
|
1571
1676
|
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1677
|
+
nodes: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
1678
|
+
edges: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
1679
|
+
diagram: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1572
1680
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1573
1681
|
}, z.core.$strict>;
|
|
1574
1682
|
metadata: z.ZodObject<{
|
|
@@ -1582,6 +1690,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1582
1690
|
total_ms: z.ZodNumber;
|
|
1583
1691
|
upstream_ms: z.ZodNumber;
|
|
1584
1692
|
watermark_ms: z.ZodNumber;
|
|
1693
|
+
field_types_ms: z.ZodNumber;
|
|
1585
1694
|
}, z.core.$strict>>;
|
|
1586
1695
|
kind: z.ZodEnum<{
|
|
1587
1696
|
operation: "operation";
|
|
@@ -1642,6 +1751,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1642
1751
|
total_ms: z.ZodNumber;
|
|
1643
1752
|
upstream_ms: z.ZodNumber;
|
|
1644
1753
|
watermark_ms: z.ZodNumber;
|
|
1754
|
+
field_types_ms: z.ZodNumber;
|
|
1645
1755
|
}, z.core.$strict>>;
|
|
1646
1756
|
kind: z.ZodEnum<{
|
|
1647
1757
|
operation: "operation";
|
|
@@ -1695,6 +1805,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1695
1805
|
total_ms: z.ZodNumber;
|
|
1696
1806
|
upstream_ms: z.ZodNumber;
|
|
1697
1807
|
watermark_ms: z.ZodNumber;
|
|
1808
|
+
field_types_ms: z.ZodNumber;
|
|
1698
1809
|
}, z.core.$strict>>;
|
|
1699
1810
|
kind: z.ZodEnum<{
|
|
1700
1811
|
operation: "operation";
|
|
@@ -1748,6 +1859,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1748
1859
|
total_ms: z.ZodNumber;
|
|
1749
1860
|
upstream_ms: z.ZodNumber;
|
|
1750
1861
|
watermark_ms: z.ZodNumber;
|
|
1862
|
+
field_types_ms: z.ZodNumber;
|
|
1751
1863
|
}, z.core.$strict>>;
|
|
1752
1864
|
kind: z.ZodEnum<{
|
|
1753
1865
|
operation: "operation";
|
|
@@ -1807,6 +1919,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1807
1919
|
total_ms: z.ZodNumber;
|
|
1808
1920
|
upstream_ms: z.ZodNumber;
|
|
1809
1921
|
watermark_ms: z.ZodNumber;
|
|
1922
|
+
field_types_ms: z.ZodNumber;
|
|
1810
1923
|
}, z.core.$strict>>;
|
|
1811
1924
|
kind: z.ZodEnum<{
|
|
1812
1925
|
operation: "operation";
|
|
@@ -1868,8 +1981,8 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1868
1981
|
error: "error";
|
|
1869
1982
|
success: "success";
|
|
1870
1983
|
pending: "pending";
|
|
1871
|
-
running: "running";
|
|
1872
1984
|
failure: "failure";
|
|
1985
|
+
running: "running";
|
|
1873
1986
|
skipped: "skipped";
|
|
1874
1987
|
canceled: "canceled";
|
|
1875
1988
|
success_with_warnings: "success_with_warnings";
|
|
@@ -1887,8 +2000,8 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1887
2000
|
error: "error";
|
|
1888
2001
|
success: "success";
|
|
1889
2002
|
pending: "pending";
|
|
1890
|
-
running: "running";
|
|
1891
2003
|
failure: "failure";
|
|
2004
|
+
running: "running";
|
|
1892
2005
|
skipped: "skipped";
|
|
1893
2006
|
canceled: "canceled";
|
|
1894
2007
|
success_with_warnings: "success_with_warnings";
|
|
@@ -1939,6 +2052,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1939
2052
|
total_ms: z.ZodNumber;
|
|
1940
2053
|
upstream_ms: z.ZodNumber;
|
|
1941
2054
|
watermark_ms: z.ZodNumber;
|
|
2055
|
+
field_types_ms: z.ZodNumber;
|
|
1942
2056
|
}, z.core.$strict>>;
|
|
1943
2057
|
kind: z.ZodEnum<{
|
|
1944
2058
|
operation: "operation";
|
|
@@ -1980,8 +2094,8 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
1980
2094
|
data: z.ZodObject<{
|
|
1981
2095
|
action: z.ZodEnum<{
|
|
1982
2096
|
get: "get";
|
|
1983
|
-
step: "step";
|
|
1984
2097
|
history: "history";
|
|
2098
|
+
step: "step";
|
|
1985
2099
|
compare: "compare";
|
|
1986
2100
|
}>;
|
|
1987
2101
|
step_detail: z.ZodOptional<z.ZodObject<{
|
|
@@ -2022,8 +2136,8 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2022
2136
|
error: "error";
|
|
2023
2137
|
success: "success";
|
|
2024
2138
|
pending: "pending";
|
|
2025
|
-
running: "running";
|
|
2026
2139
|
failure: "failure";
|
|
2140
|
+
running: "running";
|
|
2027
2141
|
skipped: "skipped";
|
|
2028
2142
|
canceled: "canceled";
|
|
2029
2143
|
success_with_warnings: "success_with_warnings";
|
|
@@ -2041,8 +2155,8 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2041
2155
|
error: "error";
|
|
2042
2156
|
success: "success";
|
|
2043
2157
|
pending: "pending";
|
|
2044
|
-
running: "running";
|
|
2045
2158
|
failure: "failure";
|
|
2159
|
+
running: "running";
|
|
2046
2160
|
skipped: "skipped";
|
|
2047
2161
|
canceled: "canceled";
|
|
2048
2162
|
success_with_warnings: "success_with_warnings";
|
|
@@ -2091,8 +2205,8 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2091
2205
|
error: "error";
|
|
2092
2206
|
success: "success";
|
|
2093
2207
|
pending: "pending";
|
|
2094
|
-
running: "running";
|
|
2095
2208
|
failure: "failure";
|
|
2209
|
+
running: "running";
|
|
2096
2210
|
skipped: "skipped";
|
|
2097
2211
|
canceled: "canceled";
|
|
2098
2212
|
success_with_warnings: "success_with_warnings";
|
|
@@ -2110,8 +2224,8 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2110
2224
|
error: "error";
|
|
2111
2225
|
success: "success";
|
|
2112
2226
|
pending: "pending";
|
|
2113
|
-
running: "running";
|
|
2114
2227
|
failure: "failure";
|
|
2228
|
+
running: "running";
|
|
2115
2229
|
skipped: "skipped";
|
|
2116
2230
|
canceled: "canceled";
|
|
2117
2231
|
success_with_warnings: "success_with_warnings";
|
|
@@ -2143,6 +2257,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2143
2257
|
total_ms: z.ZodNumber;
|
|
2144
2258
|
upstream_ms: z.ZodNumber;
|
|
2145
2259
|
watermark_ms: z.ZodNumber;
|
|
2260
|
+
field_types_ms: z.ZodNumber;
|
|
2146
2261
|
}, z.core.$strict>>;
|
|
2147
2262
|
kind: z.ZodEnum<{
|
|
2148
2263
|
operation: "operation";
|
|
@@ -2208,6 +2323,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2208
2323
|
total_ms: z.ZodNumber;
|
|
2209
2324
|
upstream_ms: z.ZodNumber;
|
|
2210
2325
|
watermark_ms: z.ZodNumber;
|
|
2326
|
+
field_types_ms: z.ZodNumber;
|
|
2211
2327
|
}, z.core.$strict>>;
|
|
2212
2328
|
kind: z.ZodEnum<{
|
|
2213
2329
|
operation: "operation";
|
|
@@ -2286,6 +2402,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2286
2402
|
total_ms: z.ZodNumber;
|
|
2287
2403
|
upstream_ms: z.ZodNumber;
|
|
2288
2404
|
watermark_ms: z.ZodNumber;
|
|
2405
|
+
field_types_ms: z.ZodNumber;
|
|
2289
2406
|
}, z.core.$strict>>;
|
|
2290
2407
|
kind: z.ZodEnum<{
|
|
2291
2408
|
operation: "operation";
|
|
@@ -2695,6 +2812,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2695
2812
|
total_ms: z.ZodNumber;
|
|
2696
2813
|
upstream_ms: z.ZodNumber;
|
|
2697
2814
|
watermark_ms: z.ZodNumber;
|
|
2815
|
+
field_types_ms: z.ZodNumber;
|
|
2698
2816
|
}, z.core.$strict>>;
|
|
2699
2817
|
kind: z.ZodEnum<{
|
|
2700
2818
|
operation: "operation";
|
|
@@ -2747,6 +2865,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2747
2865
|
total_ms: z.ZodNumber;
|
|
2748
2866
|
upstream_ms: z.ZodNumber;
|
|
2749
2867
|
watermark_ms: z.ZodNumber;
|
|
2868
|
+
field_types_ms: z.ZodNumber;
|
|
2750
2869
|
}, z.core.$strict>>;
|
|
2751
2870
|
kind: z.ZodEnum<{
|
|
2752
2871
|
operation: "operation";
|
|
@@ -2807,6 +2926,185 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2807
2926
|
total_ms: z.ZodNumber;
|
|
2808
2927
|
upstream_ms: z.ZodNumber;
|
|
2809
2928
|
watermark_ms: z.ZodNumber;
|
|
2929
|
+
field_types_ms: z.ZodNumber;
|
|
2930
|
+
}, z.core.$strict>>;
|
|
2931
|
+
kind: z.ZodEnum<{
|
|
2932
|
+
operation: "operation";
|
|
2933
|
+
collection: "collection";
|
|
2934
|
+
single: "single";
|
|
2935
|
+
}>;
|
|
2936
|
+
record_count: z.ZodNumber;
|
|
2937
|
+
limits: z.ZodObject<{
|
|
2938
|
+
max_records: z.ZodNumber;
|
|
2939
|
+
max_bytes: z.ZodNumber;
|
|
2940
|
+
}, z.core.$strict>;
|
|
2941
|
+
pagination: z.ZodUnion<readonly [z.ZodObject<{
|
|
2942
|
+
mode: z.ZodLiteral<"none">;
|
|
2943
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2944
|
+
mode: z.ZodLiteral<"offset">;
|
|
2945
|
+
limit: z.ZodNumber;
|
|
2946
|
+
offset: z.ZodNumber;
|
|
2947
|
+
returned: z.ZodNumber;
|
|
2948
|
+
has_more: z.ZodBoolean;
|
|
2949
|
+
next_offset: z.ZodOptional<z.ZodNumber>;
|
|
2950
|
+
recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
|
|
2951
|
+
order_by: z.ZodArray<z.ZodString>;
|
|
2952
|
+
}, z.core.$strict>]>;
|
|
2953
|
+
truncation: z.ZodObject<{
|
|
2954
|
+
truncated: z.ZodBoolean;
|
|
2955
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
2956
|
+
record_limit: "record_limit";
|
|
2957
|
+
byte_limit: "byte_limit";
|
|
2958
|
+
}>>;
|
|
2959
|
+
dropped_records: z.ZodOptional<z.ZodNumber>;
|
|
2960
|
+
}, z.core.$strict>;
|
|
2961
|
+
}, z.core.$strict>;
|
|
2962
|
+
}, "profile"> & {
|
|
2963
|
+
profile: typeof import("./tool-module.js").profileNameSchema;
|
|
2964
|
+
} & {
|
|
2965
|
+
[key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
|
|
2966
|
+
}, z.core.$strict>;
|
|
2967
|
+
sn_history: z.ZodObject<Omit<{
|
|
2968
|
+
data: z.ZodObject<{
|
|
2969
|
+
status: z.ZodEnum<{
|
|
2970
|
+
invalid_cursor: "invalid_cursor";
|
|
2971
|
+
ok: "ok";
|
|
2972
|
+
wrong_class: "wrong_class";
|
|
2973
|
+
}>;
|
|
2974
|
+
record: z.ZodObject<{
|
|
2975
|
+
table: z.ZodString;
|
|
2976
|
+
sys_id: z.ZodString;
|
|
2977
|
+
}, z.core.$strict>;
|
|
2978
|
+
audit_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2979
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2980
|
+
time: z.ZodString;
|
|
2981
|
+
source: z.ZodEnum<{
|
|
2982
|
+
flows: "flows";
|
|
2983
|
+
audit: "audit";
|
|
2984
|
+
journal: "journal";
|
|
2985
|
+
}>;
|
|
2986
|
+
field: z.ZodOptional<z.ZodString>;
|
|
2987
|
+
old: z.ZodOptional<z.ZodString>;
|
|
2988
|
+
new: z.ZodOptional<z.ZodString>;
|
|
2989
|
+
value_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2990
|
+
value_truncated: z.ZodOptional<z.ZodBoolean>;
|
|
2991
|
+
user: z.ZodOptional<z.ZodString>;
|
|
2992
|
+
flow: z.ZodOptional<z.ZodObject<{
|
|
2993
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2994
|
+
state: z.ZodOptional<z.ZodString>;
|
|
2995
|
+
test: z.ZodOptional<z.ZodBoolean>;
|
|
2996
|
+
}, z.core.$strict>>;
|
|
2997
|
+
}, z.core.$strict>>>;
|
|
2998
|
+
sources: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
2999
|
+
flows: "flows";
|
|
3000
|
+
audit: "audit";
|
|
3001
|
+
journal: "journal";
|
|
3002
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
3003
|
+
status: z.ZodString;
|
|
3004
|
+
returned: z.ZodNumber;
|
|
3005
|
+
has_more: z.ZodBoolean;
|
|
3006
|
+
}, z.core.$strict>>>;
|
|
3007
|
+
omitted: z.ZodOptional<z.ZodObject<{
|
|
3008
|
+
unreadable: z.ZodNumber;
|
|
3009
|
+
mismatch: z.ZodNumber;
|
|
3010
|
+
}, z.core.$strict>>;
|
|
3011
|
+
not_recorded: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3012
|
+
next_cursor: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
3013
|
+
flows: "flows";
|
|
3014
|
+
audit: "audit";
|
|
3015
|
+
journal: "journal";
|
|
3016
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
3017
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
3018
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3019
|
+
}, z.core.$strict>;
|
|
3020
|
+
metadata: z.ZodObject<{
|
|
3021
|
+
cache: z.ZodOptional<z.ZodEnum<{
|
|
3022
|
+
hit: "hit";
|
|
3023
|
+
miss: "miss";
|
|
3024
|
+
bypass: "bypass";
|
|
3025
|
+
mixed: "mixed";
|
|
3026
|
+
}>>;
|
|
3027
|
+
timing: z.ZodOptional<z.ZodObject<{
|
|
3028
|
+
total_ms: z.ZodNumber;
|
|
3029
|
+
upstream_ms: z.ZodNumber;
|
|
3030
|
+
watermark_ms: z.ZodNumber;
|
|
3031
|
+
field_types_ms: z.ZodNumber;
|
|
3032
|
+
}, z.core.$strict>>;
|
|
3033
|
+
kind: z.ZodEnum<{
|
|
3034
|
+
operation: "operation";
|
|
3035
|
+
collection: "collection";
|
|
3036
|
+
single: "single";
|
|
3037
|
+
}>;
|
|
3038
|
+
record_count: z.ZodNumber;
|
|
3039
|
+
limits: z.ZodObject<{
|
|
3040
|
+
max_records: z.ZodNumber;
|
|
3041
|
+
max_bytes: z.ZodNumber;
|
|
3042
|
+
}, z.core.$strict>;
|
|
3043
|
+
pagination: z.ZodUnion<readonly [z.ZodObject<{
|
|
3044
|
+
mode: z.ZodLiteral<"none">;
|
|
3045
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3046
|
+
mode: z.ZodLiteral<"offset">;
|
|
3047
|
+
limit: z.ZodNumber;
|
|
3048
|
+
offset: z.ZodNumber;
|
|
3049
|
+
returned: z.ZodNumber;
|
|
3050
|
+
has_more: z.ZodBoolean;
|
|
3051
|
+
next_offset: z.ZodOptional<z.ZodNumber>;
|
|
3052
|
+
recovery: z.ZodOptional<z.ZodLiteral<"adjust_request_and_retry_same_offset">>;
|
|
3053
|
+
order_by: z.ZodArray<z.ZodString>;
|
|
3054
|
+
}, z.core.$strict>]>;
|
|
3055
|
+
truncation: z.ZodObject<{
|
|
3056
|
+
truncated: z.ZodBoolean;
|
|
3057
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
3058
|
+
record_limit: "record_limit";
|
|
3059
|
+
byte_limit: "byte_limit";
|
|
3060
|
+
}>>;
|
|
3061
|
+
dropped_records: z.ZodOptional<z.ZodNumber>;
|
|
3062
|
+
}, z.core.$strict>;
|
|
3063
|
+
}, z.core.$strict>;
|
|
3064
|
+
}, "profile"> & {
|
|
3065
|
+
profile: typeof import("./tool-module.js").profileNameSchema;
|
|
3066
|
+
} & {
|
|
3067
|
+
[key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
|
|
3068
|
+
}, z.core.$strict>;
|
|
3069
|
+
sn_platform_view: z.ZodObject<Omit<{
|
|
3070
|
+
data: z.ZodObject<{
|
|
3071
|
+
view: z.ZodEnum<{
|
|
3072
|
+
evaluate: "evaluate";
|
|
3073
|
+
update_set: "update_set";
|
|
3074
|
+
update_sets: "update_sets";
|
|
3075
|
+
changes: "changes";
|
|
3076
|
+
batch: "batch";
|
|
3077
|
+
remote_update_sets: "remote_update_sets";
|
|
3078
|
+
upgrade_skipped: "upgrade_skipped";
|
|
3079
|
+
scan_findings: "scan_findings";
|
|
3080
|
+
}>;
|
|
3081
|
+
status: z.ZodEnum<{
|
|
3082
|
+
unavailable: "unavailable";
|
|
3083
|
+
ok: "ok";
|
|
3084
|
+
denied: "denied";
|
|
3085
|
+
}>;
|
|
3086
|
+
results: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3087
|
+
summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3088
|
+
record_count: z.ZodOptional<z.ZodNumber>;
|
|
3089
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
3090
|
+
next_offset: z.ZodOptional<z.ZodNumber>;
|
|
3091
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
3092
|
+
dropped_records: z.ZodOptional<z.ZodNumber>;
|
|
3093
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3095
|
+
}, z.core.$strict>;
|
|
3096
|
+
metadata: z.ZodObject<{
|
|
3097
|
+
cache: z.ZodOptional<z.ZodEnum<{
|
|
3098
|
+
hit: "hit";
|
|
3099
|
+
miss: "miss";
|
|
3100
|
+
bypass: "bypass";
|
|
3101
|
+
mixed: "mixed";
|
|
3102
|
+
}>>;
|
|
3103
|
+
timing: z.ZodOptional<z.ZodObject<{
|
|
3104
|
+
total_ms: z.ZodNumber;
|
|
3105
|
+
upstream_ms: z.ZodNumber;
|
|
3106
|
+
watermark_ms: z.ZodNumber;
|
|
3107
|
+
field_types_ms: z.ZodNumber;
|
|
2810
3108
|
}, z.core.$strict>>;
|
|
2811
3109
|
kind: z.ZodEnum<{
|
|
2812
3110
|
operation: "operation";
|
|
@@ -2845,6 +3143,7 @@ export declare const productionToolOutputSchemas: Readonly<{
|
|
|
2845
3143
|
[key: string]: z.ZodType<any, any, z.core.$ZodTypeInternals<any, any>>;
|
|
2846
3144
|
}, z.core.$strict>;
|
|
2847
3145
|
}>;
|
|
3146
|
+
export declare function isCallerSizedTool(name: string): boolean;
|
|
2848
3147
|
export declare function isProductionToolName(name: string): name is ProductionToolName;
|
|
2849
3148
|
/** Read-only copy of a finalized envelope handed to a tool text renderer. */
|
|
2850
3149
|
export interface RenderableEnvelope {
|
|
@@ -2895,7 +3194,7 @@ export declare function withoutCallMetadata(result: CallToolResult): CallToolRes
|
|
|
2895
3194
|
* are added after. A successful response therefore carries them always, on the
|
|
2896
3195
|
* calls where the timing matters most (a truncated one is often fitted to
|
|
2897
3196
|
* within a few bytes of the limit), and may exceed the limit by their size,
|
|
2898
|
-
* under
|
|
3197
|
+
* under 128 bytes. A result that is not an envelope comes back untouched.
|
|
2899
3198
|
*/
|
|
2900
3199
|
export declare function withCallMetadata(handlerResult: CallToolResult, snapshot: CallMetricsSnapshot): CallToolResult;
|
|
2901
3200
|
export declare function envelopeCompatibilityResult(name: ProductionToolName, args: Readonly<Record<string, unknown>>, result: CallToolResult): CallToolResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result-envelope.d.ts","sourceRoot":"","sources":["../../src/tools/result-envelope.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"result-envelope.d.ts","sourceRoot":"","sources":["../../src/tools/result-envelope.ts"],"names":[],"mappings":"AAIA,6EAA6E;AAE7E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAe,mBAAmB,EAAc,MAAM,oBAAoB,CAAC;AAkBvF,eAAO,MAAM,2BAA2B,OAAQ,CAAC;AACjD,eAAO,MAAM,yBAAyB,SAA6B,CAAC;AACpE,eAAO,MAAM,4BAA4B,QAAmB,CAAC;AA+C7D,kFAAkF;AAClF,eAAO,MAAM,sBAAsB;;;;;;;;;;;oBAGjC,CAAC;AA4BH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwBtB,CAAC;AAEZ,wBAAgB,4BAA4B,CAAC,OAAO,SAAS,CAAC,CAAC,OAAO,EACpE,UAAU,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAUpB;AAwBD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,UAAU,CAAC;AAyJzC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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