@sourcey/catalog-verifier 1.1.34 → 1.1.36
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/SOURCEY-CLOSURE.json +53 -53
- package/dist/contracts/agent-readiness/src/binding.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/binding.js +4 -2
- package/dist/contracts/agent-readiness/src/binding.js.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts +19 -0
- package/dist/contracts/agent-readiness/src/declaration-acquisition.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration-acquisition.js +8 -1
- package/dist/contracts/agent-readiness/src/declaration-acquisition.js.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration.d.ts +68 -0
- package/dist/contracts/agent-readiness/src/declaration.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/declaration.js +19 -3
- package/dist/contracts/agent-readiness/src/declaration.js.map +1 -1
- package/dist/contracts/agent-readiness/src/offer-relations.d.ts +17 -0
- package/dist/contracts/agent-readiness/src/offer-relations.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/operation.d.ts +40 -0
- package/dist/contracts/agent-readiness/src/operation.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/operation.js +85 -16
- package/dist/contracts/agent-readiness/src/operation.js.map +1 -1
- package/dist/contracts/agent-readiness/src/release-index.d.ts +56 -4
- package/dist/contracts/agent-readiness/src/release-index.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/revision.d.ts +95 -9
- package/dist/contracts/agent-readiness/src/revision.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/run.d.ts +131 -2
- package/dist/contracts/agent-readiness/src/run.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/run.js +45 -4
- package/dist/contracts/agent-readiness/src/run.js.map +1 -1
- package/dist/contracts/agent-readiness/src/shared.d.ts +13 -1
- package/dist/contracts/agent-readiness/src/shared.d.ts.map +1 -1
- package/dist/contracts/agent-readiness/src/shared.js +16 -5
- package/dist/contracts/agent-readiness/src/shared.js.map +1 -1
- package/dist/contracts/api/src/endpoints.d.ts +110 -15
- package/dist/contracts/api/src/endpoints.d.ts.map +1 -1
- package/dist/contracts/api/src/read.d.ts +35 -7
- package/dist/contracts/api/src/read.d.ts.map +1 -1
- package/dist/contracts/api/src/read.js +1 -1
- package/dist/contracts/api/src/routes.d.ts +0 -3
- package/dist/contracts/api/src/routes.d.ts.map +1 -1
- package/dist/contracts/api/src/submissions.d.ts +19 -0
- package/dist/contracts/api/src/submissions.d.ts.map +1 -1
- package/dist/contracts/datasets/src/index.d.ts +0 -1
- package/dist/contracts/datasets/src/index.d.ts.map +1 -1
- package/dist/modules/agent-readiness-engine/src/path.d.ts +3 -1
- package/dist/modules/agent-readiness-engine/src/path.d.ts.map +1 -1
- package/dist/modules/agent-readiness-engine/src/path.js +34 -21
- package/dist/modules/agent-readiness-engine/src/path.js.map +1 -1
- package/dist/modules/agent-readiness-engine/src/profile.d.ts +5 -5
- package/dist/modules/agent-readiness-engine/src/profile.d.ts.map +1 -1
- package/dist/modules/agent-readiness-engine/src/profile.js +6 -4
- package/dist/modules/agent-readiness-engine/src/profile.js.map +1 -1
- package/dist/modules/agent-readiness-engine/src/records.d.ts +10 -7
- package/dist/modules/agent-readiness-engine/src/records.d.ts.map +1 -1
- package/dist/modules/agent-readiness-engine/src/records.js +17 -9
- package/dist/modules/agent-readiness-engine/src/records.js.map +1 -1
- package/package.json +1 -1
|
@@ -87,7 +87,6 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
87
87
|
run_digest: z.ZodString;
|
|
88
88
|
label: z.ZodEnum<{
|
|
89
89
|
probed: "probed";
|
|
90
|
-
sourcey_run: "sourcey_run";
|
|
91
90
|
vendor_run_verified: "vendor_run_verified";
|
|
92
91
|
}>;
|
|
93
92
|
finished_at: z.ZodISODateTime;
|
|
@@ -237,7 +236,6 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
237
236
|
job_id: z.ZodString;
|
|
238
237
|
label: z.ZodEnum<{
|
|
239
238
|
probed: "probed";
|
|
240
|
-
sourcey_run: "sourcey_run";
|
|
241
239
|
vendor_run_verified: "vendor_run_verified";
|
|
242
240
|
}>;
|
|
243
241
|
engine: z.ZodObject<{
|
|
@@ -366,6 +364,15 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
366
364
|
read: "read";
|
|
367
365
|
unanswered: "unanswered";
|
|
368
366
|
}>;
|
|
367
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
368
|
+
url: z.ZodURL;
|
|
369
|
+
attempt_digest: z.ZodString;
|
|
370
|
+
fetched: z.ZodEnum<{
|
|
371
|
+
absent: "absent";
|
|
372
|
+
read: "read";
|
|
373
|
+
unanswered: "unanswered";
|
|
374
|
+
}>;
|
|
375
|
+
}, z.core.$strict>>>;
|
|
369
376
|
covers: z.ZodBoolean;
|
|
370
377
|
security: z.ZodArray<z.ZodEnum<{
|
|
371
378
|
key: "key";
|
|
@@ -398,6 +405,36 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
398
405
|
}>;
|
|
399
406
|
found: z.ZodBoolean;
|
|
400
407
|
}, z.core.$strict>>;
|
|
408
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
409
|
+
operation_id: z.ZodString;
|
|
410
|
+
spec: z.ZodObject<{
|
|
411
|
+
url: z.ZodURL;
|
|
412
|
+
attempt_digest: z.ZodString;
|
|
413
|
+
fetched: z.ZodEnum<{
|
|
414
|
+
absent: "absent";
|
|
415
|
+
read: "read";
|
|
416
|
+
unanswered: "unanswered";
|
|
417
|
+
}>;
|
|
418
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
419
|
+
url: z.ZodURL;
|
|
420
|
+
attempt_digest: z.ZodString;
|
|
421
|
+
fetched: z.ZodEnum<{
|
|
422
|
+
absent: "absent";
|
|
423
|
+
read: "read";
|
|
424
|
+
unanswered: "unanswered";
|
|
425
|
+
}>;
|
|
426
|
+
}, z.core.$strict>>>;
|
|
427
|
+
covers: z.ZodBoolean;
|
|
428
|
+
security: z.ZodArray<z.ZodEnum<{
|
|
429
|
+
key: "key";
|
|
430
|
+
none: "none";
|
|
431
|
+
oauth: "oauth";
|
|
432
|
+
}>>;
|
|
433
|
+
typed_errors: z.ZodBoolean;
|
|
434
|
+
payment: z.ZodBoolean;
|
|
435
|
+
key_operations: z.ZodBoolean;
|
|
436
|
+
}, z.core.$strict>;
|
|
437
|
+
}, z.core.$strict>>>;
|
|
401
438
|
assertions: z.ZodArray<z.ZodObject<{
|
|
402
439
|
assertion: z.ZodString;
|
|
403
440
|
holds: z.ZodBoolean;
|
|
@@ -646,7 +683,6 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
646
683
|
interface_id: z.ZodNullable<z.ZodString>;
|
|
647
684
|
label: z.ZodEnum<{
|
|
648
685
|
probed: "probed";
|
|
649
|
-
sourcey_run: "sourcey_run";
|
|
650
686
|
vendor_run_verified: "vendor_run_verified";
|
|
651
687
|
}>;
|
|
652
688
|
label_run_at: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -1043,7 +1079,6 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
1043
1079
|
interface_id: z.ZodNullable<z.ZodString>;
|
|
1044
1080
|
label: z.ZodEnum<{
|
|
1045
1081
|
probed: "probed";
|
|
1046
|
-
sourcey_run: "sourcey_run";
|
|
1047
1082
|
vendor_run_verified: "vendor_run_verified";
|
|
1048
1083
|
}>;
|
|
1049
1084
|
label_run_at: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -1342,6 +1377,22 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
1342
1377
|
}, z.core.$strict>;
|
|
1343
1378
|
}, z.core.$strict>>;
|
|
1344
1379
|
}, z.core.$strict>], "kind">>;
|
|
1380
|
+
account_operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1381
|
+
operation_id: z.ZodString;
|
|
1382
|
+
interface_id: z.ZodString;
|
|
1383
|
+
role: z.ZodEnum<{
|
|
1384
|
+
registration: "registration";
|
|
1385
|
+
top_up: "top_up";
|
|
1386
|
+
}>;
|
|
1387
|
+
endpoint_id: z.ZodString;
|
|
1388
|
+
method: z.ZodEnum<{
|
|
1389
|
+
PATCH: "PATCH";
|
|
1390
|
+
POST: "POST";
|
|
1391
|
+
PUT: "PUT";
|
|
1392
|
+
}>;
|
|
1393
|
+
url: z.ZodURL;
|
|
1394
|
+
spec_url: z.ZodURL;
|
|
1395
|
+
}, z.core.$strict>>>;
|
|
1345
1396
|
job_bindings: z.ZodArray<z.ZodObject<{
|
|
1346
1397
|
binding_id: z.ZodString;
|
|
1347
1398
|
interface_id: z.ZodString;
|
|
@@ -1767,6 +1818,7 @@ export declare const agentReadinessDeltaObjectSchema: z.ZodObject<{
|
|
|
1767
1818
|
field_paths: z.ZodArray<z.ZodString>;
|
|
1768
1819
|
target: z.ZodObject<{
|
|
1769
1820
|
node_kind: z.ZodEnum<{
|
|
1821
|
+
account_operation: "account_operation";
|
|
1770
1822
|
declaration: "declaration";
|
|
1771
1823
|
endpoint: "endpoint";
|
|
1772
1824
|
interface: "interface";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-index.d.ts","sourceRoot":"","sources":["../../../../contracts/agent-readiness/src/release-index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;kBAmB3B,CAAC;AAEZ,eAAO,MAAM,0BAA0B;;;;;;;;;kBAe5B,CAAC;AAEZ,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"release-index.d.ts","sourceRoot":"","sources":["../../../../contracts/agent-readiness/src/release-index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MA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GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -65,7 +65,6 @@ export declare const agentReadinessProfileInputSchema: z.ZodObject<{
|
|
|
65
65
|
run_digest: z.ZodString;
|
|
66
66
|
label: z.ZodEnum<{
|
|
67
67
|
probed: "probed";
|
|
68
|
-
sourcey_run: "sourcey_run";
|
|
69
68
|
vendor_run_verified: "vendor_run_verified";
|
|
70
69
|
}>;
|
|
71
70
|
finished_at: z.ZodISODateTime;
|
|
@@ -215,7 +214,6 @@ export declare const agentReadinessProfileInputSchema: z.ZodObject<{
|
|
|
215
214
|
job_id: z.ZodString;
|
|
216
215
|
label: z.ZodEnum<{
|
|
217
216
|
probed: "probed";
|
|
218
|
-
sourcey_run: "sourcey_run";
|
|
219
217
|
vendor_run_verified: "vendor_run_verified";
|
|
220
218
|
}>;
|
|
221
219
|
engine: z.ZodObject<{
|
|
@@ -344,6 +342,15 @@ export declare const agentReadinessProfileInputSchema: z.ZodObject<{
|
|
|
344
342
|
read: "read";
|
|
345
343
|
unanswered: "unanswered";
|
|
346
344
|
}>;
|
|
345
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
|
+
url: z.ZodURL;
|
|
347
|
+
attempt_digest: z.ZodString;
|
|
348
|
+
fetched: z.ZodEnum<{
|
|
349
|
+
absent: "absent";
|
|
350
|
+
read: "read";
|
|
351
|
+
unanswered: "unanswered";
|
|
352
|
+
}>;
|
|
353
|
+
}, z.core.$strict>>>;
|
|
347
354
|
covers: z.ZodBoolean;
|
|
348
355
|
security: z.ZodArray<z.ZodEnum<{
|
|
349
356
|
key: "key";
|
|
@@ -376,6 +383,36 @@ export declare const agentReadinessProfileInputSchema: z.ZodObject<{
|
|
|
376
383
|
}>;
|
|
377
384
|
found: z.ZodBoolean;
|
|
378
385
|
}, z.core.$strict>>;
|
|
386
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
|
+
operation_id: z.ZodString;
|
|
388
|
+
spec: z.ZodObject<{
|
|
389
|
+
url: z.ZodURL;
|
|
390
|
+
attempt_digest: z.ZodString;
|
|
391
|
+
fetched: z.ZodEnum<{
|
|
392
|
+
absent: "absent";
|
|
393
|
+
read: "read";
|
|
394
|
+
unanswered: "unanswered";
|
|
395
|
+
}>;
|
|
396
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
397
|
+
url: z.ZodURL;
|
|
398
|
+
attempt_digest: z.ZodString;
|
|
399
|
+
fetched: z.ZodEnum<{
|
|
400
|
+
absent: "absent";
|
|
401
|
+
read: "read";
|
|
402
|
+
unanswered: "unanswered";
|
|
403
|
+
}>;
|
|
404
|
+
}, z.core.$strict>>>;
|
|
405
|
+
covers: z.ZodBoolean;
|
|
406
|
+
security: z.ZodArray<z.ZodEnum<{
|
|
407
|
+
key: "key";
|
|
408
|
+
none: "none";
|
|
409
|
+
oauth: "oauth";
|
|
410
|
+
}>>;
|
|
411
|
+
typed_errors: z.ZodBoolean;
|
|
412
|
+
payment: z.ZodBoolean;
|
|
413
|
+
key_operations: z.ZodBoolean;
|
|
414
|
+
}, z.core.$strict>;
|
|
415
|
+
}, z.core.$strict>>>;
|
|
379
416
|
assertions: z.ZodArray<z.ZodObject<{
|
|
380
417
|
assertion: z.ZodString;
|
|
381
418
|
holds: z.ZodBoolean;
|
|
@@ -473,7 +510,6 @@ export declare const agentReadinessProfileReleaseInputSchema: z.ZodObject<{
|
|
|
473
510
|
run_digest: z.ZodString;
|
|
474
511
|
label: z.ZodEnum<{
|
|
475
512
|
probed: "probed";
|
|
476
|
-
sourcey_run: "sourcey_run";
|
|
477
513
|
vendor_run_verified: "vendor_run_verified";
|
|
478
514
|
}>;
|
|
479
515
|
finished_at: z.ZodISODateTime;
|
|
@@ -623,7 +659,6 @@ export declare const agentReadinessProfileReleaseInputSchema: z.ZodObject<{
|
|
|
623
659
|
job_id: z.ZodString;
|
|
624
660
|
label: z.ZodEnum<{
|
|
625
661
|
probed: "probed";
|
|
626
|
-
sourcey_run: "sourcey_run";
|
|
627
662
|
vendor_run_verified: "vendor_run_verified";
|
|
628
663
|
}>;
|
|
629
664
|
engine: z.ZodObject<{
|
|
@@ -752,6 +787,15 @@ export declare const agentReadinessProfileReleaseInputSchema: z.ZodObject<{
|
|
|
752
787
|
read: "read";
|
|
753
788
|
unanswered: "unanswered";
|
|
754
789
|
}>;
|
|
790
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
791
|
+
url: z.ZodURL;
|
|
792
|
+
attempt_digest: z.ZodString;
|
|
793
|
+
fetched: z.ZodEnum<{
|
|
794
|
+
absent: "absent";
|
|
795
|
+
read: "read";
|
|
796
|
+
unanswered: "unanswered";
|
|
797
|
+
}>;
|
|
798
|
+
}, z.core.$strict>>>;
|
|
755
799
|
covers: z.ZodBoolean;
|
|
756
800
|
security: z.ZodArray<z.ZodEnum<{
|
|
757
801
|
key: "key";
|
|
@@ -784,6 +828,36 @@ export declare const agentReadinessProfileReleaseInputSchema: z.ZodObject<{
|
|
|
784
828
|
}>;
|
|
785
829
|
found: z.ZodBoolean;
|
|
786
830
|
}, z.core.$strict>>;
|
|
831
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
832
|
+
operation_id: z.ZodString;
|
|
833
|
+
spec: z.ZodObject<{
|
|
834
|
+
url: z.ZodURL;
|
|
835
|
+
attempt_digest: z.ZodString;
|
|
836
|
+
fetched: z.ZodEnum<{
|
|
837
|
+
absent: "absent";
|
|
838
|
+
read: "read";
|
|
839
|
+
unanswered: "unanswered";
|
|
840
|
+
}>;
|
|
841
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
842
|
+
url: z.ZodURL;
|
|
843
|
+
attempt_digest: z.ZodString;
|
|
844
|
+
fetched: z.ZodEnum<{
|
|
845
|
+
absent: "absent";
|
|
846
|
+
read: "read";
|
|
847
|
+
unanswered: "unanswered";
|
|
848
|
+
}>;
|
|
849
|
+
}, z.core.$strict>>>;
|
|
850
|
+
covers: z.ZodBoolean;
|
|
851
|
+
security: z.ZodArray<z.ZodEnum<{
|
|
852
|
+
key: "key";
|
|
853
|
+
none: "none";
|
|
854
|
+
oauth: "oauth";
|
|
855
|
+
}>>;
|
|
856
|
+
typed_errors: z.ZodBoolean;
|
|
857
|
+
payment: z.ZodBoolean;
|
|
858
|
+
key_operations: z.ZodBoolean;
|
|
859
|
+
}, z.core.$strict>;
|
|
860
|
+
}, z.core.$strict>>>;
|
|
787
861
|
assertions: z.ZodArray<z.ZodObject<{
|
|
788
862
|
assertion: z.ZodString;
|
|
789
863
|
holds: z.ZodBoolean;
|
|
@@ -908,6 +982,22 @@ export declare const agentReadinessProfileReleaseInputSchema: z.ZodObject<{
|
|
|
908
982
|
}, z.core.$strict>;
|
|
909
983
|
}, z.core.$strict>>;
|
|
910
984
|
}, z.core.$strict>], "kind">>;
|
|
985
|
+
account_operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
986
|
+
operation_id: z.ZodString;
|
|
987
|
+
interface_id: z.ZodString;
|
|
988
|
+
role: z.ZodEnum<{
|
|
989
|
+
registration: "registration";
|
|
990
|
+
top_up: "top_up";
|
|
991
|
+
}>;
|
|
992
|
+
endpoint_id: z.ZodString;
|
|
993
|
+
method: z.ZodEnum<{
|
|
994
|
+
PATCH: "PATCH";
|
|
995
|
+
POST: "POST";
|
|
996
|
+
PUT: "PUT";
|
|
997
|
+
}>;
|
|
998
|
+
url: z.ZodURL;
|
|
999
|
+
spec_url: z.ZodURL;
|
|
1000
|
+
}, z.core.$strict>>>;
|
|
911
1001
|
job_bindings: z.ZodArray<z.ZodObject<{
|
|
912
1002
|
binding_id: z.ZodString;
|
|
913
1003
|
interface_id: z.ZodString;
|
|
@@ -1333,6 +1423,7 @@ export declare const agentReadinessProfileReleaseInputSchema: z.ZodObject<{
|
|
|
1333
1423
|
field_paths: z.ZodArray<z.ZodString>;
|
|
1334
1424
|
target: z.ZodObject<{
|
|
1335
1425
|
node_kind: z.ZodEnum<{
|
|
1426
|
+
account_operation: "account_operation";
|
|
1336
1427
|
declaration: "declaration";
|
|
1337
1428
|
endpoint: "endpoint";
|
|
1338
1429
|
interface: "interface";
|
|
@@ -1427,7 +1518,6 @@ export declare const agentReadinessRevisionCoreSchema: z.ZodObject<{
|
|
|
1427
1518
|
run_digest: z.ZodString;
|
|
1428
1519
|
label: z.ZodEnum<{
|
|
1429
1520
|
probed: "probed";
|
|
1430
|
-
sourcey_run: "sourcey_run";
|
|
1431
1521
|
vendor_run_verified: "vendor_run_verified";
|
|
1432
1522
|
}>;
|
|
1433
1523
|
finished_at: z.ZodISODateTime;
|
|
@@ -1629,7 +1719,6 @@ export declare const agentReadinessRevisionSchema: z.ZodObject<{
|
|
|
1629
1719
|
run_digest: z.ZodString;
|
|
1630
1720
|
label: z.ZodEnum<{
|
|
1631
1721
|
probed: "probed";
|
|
1632
|
-
sourcey_run: "sourcey_run";
|
|
1633
1722
|
vendor_run_verified: "vendor_run_verified";
|
|
1634
1723
|
}>;
|
|
1635
1724
|
finished_at: z.ZodISODateTime;
|
|
@@ -2016,7 +2105,6 @@ export declare const agentReadinessProjectionCoreSchema: z.ZodObject<{
|
|
|
2016
2105
|
interface_id: z.ZodNullable<z.ZodString>;
|
|
2017
2106
|
label: z.ZodEnum<{
|
|
2018
2107
|
probed: "probed";
|
|
2019
|
-
sourcey_run: "sourcey_run";
|
|
2020
2108
|
vendor_run_verified: "vendor_run_verified";
|
|
2021
2109
|
}>;
|
|
2022
2110
|
label_run_at: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -2412,7 +2500,6 @@ export declare const agentReadinessProjectionSchema: z.ZodObject<{
|
|
|
2412
2500
|
interface_id: z.ZodNullable<z.ZodString>;
|
|
2413
2501
|
label: z.ZodEnum<{
|
|
2414
2502
|
probed: "probed";
|
|
2415
|
-
sourcey_run: "sourcey_run";
|
|
2416
2503
|
vendor_run_verified: "vendor_run_verified";
|
|
2417
2504
|
}>;
|
|
2418
2505
|
label_run_at: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -2610,7 +2697,6 @@ export declare const agentReadinessProfileSummarySchema: z.ZodObject<{
|
|
|
2610
2697
|
interface_id: z.ZodNullable<z.ZodString>;
|
|
2611
2698
|
label: z.ZodEnum<{
|
|
2612
2699
|
probed: "probed";
|
|
2613
|
-
sourcey_run: "sourcey_run";
|
|
2614
2700
|
vendor_run_verified: "vendor_run_verified";
|
|
2615
2701
|
}>;
|
|
2616
2702
|
label_run_at: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revision.d.ts","sourceRoot":"","sources":["../../../../contracts/agent-readiness/src/revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8CxB,uEAAuE;AACvE,eAAO,MAAM,8BAA8B,EAAG,2CAAoD,CAAC;AAcnG,eAAO,MAAM,kCAAkC;;;;kBAMpC,CAAC;AA+JZ,2FAA2F;AAC3F,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"revision.d.ts","sourceRoot":"","sources":["../../../../contracts/agent-readiness/src/revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8CxB,uEAAuE;AACvE,eAAO,MAAM,8BAA8B,EAAG,2CAAoD,CAAC;AAcnG,eAAO,MAAM,kCAAkC;;;;kBAMpC,CAAC;AA+JZ,2FAA2F;AAC3F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE;IAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;CAAE,GAC1C,MAAM,CAIR;AAED,6FAA6F;AAC7F,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE;IACN,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC,EACD,WAAW,EAAE,MAAM,GAClB,6BAA6B,CAU/B;AAED,6EAA6E;AAC7E,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,wBAAwB,GAChC,4BAA4B,CAsB9B;AAED,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,uCAAuC,CAC/C,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC"}
|
|
@@ -100,6 +100,15 @@ export declare const agentReadinessSpecReadingSchema: z.ZodObject<{
|
|
|
100
100
|
read: "read";
|
|
101
101
|
unanswered: "unanswered";
|
|
102
102
|
}>;
|
|
103
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
+
url: z.ZodURL;
|
|
105
|
+
attempt_digest: z.ZodString;
|
|
106
|
+
fetched: z.ZodEnum<{
|
|
107
|
+
absent: "absent";
|
|
108
|
+
read: "read";
|
|
109
|
+
unanswered: "unanswered";
|
|
110
|
+
}>;
|
|
111
|
+
}, z.core.$strict>>>;
|
|
103
112
|
covers: z.ZodBoolean;
|
|
104
113
|
security: z.ZodArray<z.ZodEnum<{
|
|
105
114
|
key: "key";
|
|
@@ -169,6 +178,15 @@ export declare const agentReadinessOperationProbeSchema: z.ZodObject<{
|
|
|
169
178
|
read: "read";
|
|
170
179
|
unanswered: "unanswered";
|
|
171
180
|
}>;
|
|
181
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
182
|
+
url: z.ZodURL;
|
|
183
|
+
attempt_digest: z.ZodString;
|
|
184
|
+
fetched: z.ZodEnum<{
|
|
185
|
+
absent: "absent";
|
|
186
|
+
read: "read";
|
|
187
|
+
unanswered: "unanswered";
|
|
188
|
+
}>;
|
|
189
|
+
}, z.core.$strict>>>;
|
|
172
190
|
covers: z.ZodBoolean;
|
|
173
191
|
security: z.ZodArray<z.ZodEnum<{
|
|
174
192
|
key: "key";
|
|
@@ -217,6 +235,41 @@ export declare const agentReadinessPageProbeSchema: z.ZodObject<{
|
|
|
217
235
|
found: z.ZodBoolean;
|
|
218
236
|
}, z.core.$strict>;
|
|
219
237
|
export type AgentReadinessPageProbe = z.infer<typeof agentReadinessPageProbeSchema>;
|
|
238
|
+
/**
|
|
239
|
+
* What the probe read for one account operation: the vendor's spec alone,
|
|
240
|
+
* since nothing is sent to a sign-up or a top-up (north star §5.6).
|
|
241
|
+
*/
|
|
242
|
+
export declare const agentReadinessAccountReadingSchema: z.ZodObject<{
|
|
243
|
+
operation_id: z.ZodString;
|
|
244
|
+
spec: z.ZodObject<{
|
|
245
|
+
url: z.ZodURL;
|
|
246
|
+
attempt_digest: z.ZodString;
|
|
247
|
+
fetched: z.ZodEnum<{
|
|
248
|
+
absent: "absent";
|
|
249
|
+
read: "read";
|
|
250
|
+
unanswered: "unanswered";
|
|
251
|
+
}>;
|
|
252
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
253
|
+
url: z.ZodURL;
|
|
254
|
+
attempt_digest: z.ZodString;
|
|
255
|
+
fetched: z.ZodEnum<{
|
|
256
|
+
absent: "absent";
|
|
257
|
+
read: "read";
|
|
258
|
+
unanswered: "unanswered";
|
|
259
|
+
}>;
|
|
260
|
+
}, z.core.$strict>>>;
|
|
261
|
+
covers: z.ZodBoolean;
|
|
262
|
+
security: z.ZodArray<z.ZodEnum<{
|
|
263
|
+
key: "key";
|
|
264
|
+
none: "none";
|
|
265
|
+
oauth: "oauth";
|
|
266
|
+
}>>;
|
|
267
|
+
typed_errors: z.ZodBoolean;
|
|
268
|
+
payment: z.ZodBoolean;
|
|
269
|
+
key_operations: z.ZodBoolean;
|
|
270
|
+
}, z.core.$strict>;
|
|
271
|
+
}, z.core.$strict>;
|
|
272
|
+
export type AgentReadinessAccountReading = z.infer<typeof agentReadinessAccountReadingSchema>;
|
|
220
273
|
/** A runner-side failure: never a fact about the service, always residue to retry. */
|
|
221
274
|
export declare const agentReadinessRunResidueSchema: z.ZodObject<{
|
|
222
275
|
step: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -236,7 +289,6 @@ export declare const agentReadinessRunRecordCoreSchema: z.ZodObject<{
|
|
|
236
289
|
job_id: z.ZodString;
|
|
237
290
|
label: z.ZodEnum<{
|
|
238
291
|
probed: "probed";
|
|
239
|
-
sourcey_run: "sourcey_run";
|
|
240
292
|
vendor_run_verified: "vendor_run_verified";
|
|
241
293
|
}>;
|
|
242
294
|
engine: z.ZodObject<{
|
|
@@ -365,6 +417,15 @@ export declare const agentReadinessRunRecordCoreSchema: z.ZodObject<{
|
|
|
365
417
|
read: "read";
|
|
366
418
|
unanswered: "unanswered";
|
|
367
419
|
}>;
|
|
420
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
421
|
+
url: z.ZodURL;
|
|
422
|
+
attempt_digest: z.ZodString;
|
|
423
|
+
fetched: z.ZodEnum<{
|
|
424
|
+
absent: "absent";
|
|
425
|
+
read: "read";
|
|
426
|
+
unanswered: "unanswered";
|
|
427
|
+
}>;
|
|
428
|
+
}, z.core.$strict>>>;
|
|
368
429
|
covers: z.ZodBoolean;
|
|
369
430
|
security: z.ZodArray<z.ZodEnum<{
|
|
370
431
|
key: "key";
|
|
@@ -397,6 +458,36 @@ export declare const agentReadinessRunRecordCoreSchema: z.ZodObject<{
|
|
|
397
458
|
}>;
|
|
398
459
|
found: z.ZodBoolean;
|
|
399
460
|
}, z.core.$strict>>;
|
|
461
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
462
|
+
operation_id: z.ZodString;
|
|
463
|
+
spec: z.ZodObject<{
|
|
464
|
+
url: z.ZodURL;
|
|
465
|
+
attempt_digest: z.ZodString;
|
|
466
|
+
fetched: z.ZodEnum<{
|
|
467
|
+
absent: "absent";
|
|
468
|
+
read: "read";
|
|
469
|
+
unanswered: "unanswered";
|
|
470
|
+
}>;
|
|
471
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
|
+
url: z.ZodURL;
|
|
473
|
+
attempt_digest: z.ZodString;
|
|
474
|
+
fetched: z.ZodEnum<{
|
|
475
|
+
absent: "absent";
|
|
476
|
+
read: "read";
|
|
477
|
+
unanswered: "unanswered";
|
|
478
|
+
}>;
|
|
479
|
+
}, z.core.$strict>>>;
|
|
480
|
+
covers: z.ZodBoolean;
|
|
481
|
+
security: z.ZodArray<z.ZodEnum<{
|
|
482
|
+
key: "key";
|
|
483
|
+
none: "none";
|
|
484
|
+
oauth: "oauth";
|
|
485
|
+
}>>;
|
|
486
|
+
typed_errors: z.ZodBoolean;
|
|
487
|
+
payment: z.ZodBoolean;
|
|
488
|
+
key_operations: z.ZodBoolean;
|
|
489
|
+
}, z.core.$strict>;
|
|
490
|
+
}, z.core.$strict>>>;
|
|
400
491
|
assertions: z.ZodArray<z.ZodObject<{
|
|
401
492
|
assertion: z.ZodString;
|
|
402
493
|
holds: z.ZodBoolean;
|
|
@@ -424,7 +515,6 @@ export declare const agentReadinessRunRecordSchema: z.ZodObject<{
|
|
|
424
515
|
job_id: z.ZodString;
|
|
425
516
|
label: z.ZodEnum<{
|
|
426
517
|
probed: "probed";
|
|
427
|
-
sourcey_run: "sourcey_run";
|
|
428
518
|
vendor_run_verified: "vendor_run_verified";
|
|
429
519
|
}>;
|
|
430
520
|
engine: z.ZodObject<{
|
|
@@ -553,6 +643,15 @@ export declare const agentReadinessRunRecordSchema: z.ZodObject<{
|
|
|
553
643
|
read: "read";
|
|
554
644
|
unanswered: "unanswered";
|
|
555
645
|
}>;
|
|
646
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
|
+
url: z.ZodURL;
|
|
648
|
+
attempt_digest: z.ZodString;
|
|
649
|
+
fetched: z.ZodEnum<{
|
|
650
|
+
absent: "absent";
|
|
651
|
+
read: "read";
|
|
652
|
+
unanswered: "unanswered";
|
|
653
|
+
}>;
|
|
654
|
+
}, z.core.$strict>>>;
|
|
556
655
|
covers: z.ZodBoolean;
|
|
557
656
|
security: z.ZodArray<z.ZodEnum<{
|
|
558
657
|
key: "key";
|
|
@@ -585,6 +684,36 @@ export declare const agentReadinessRunRecordSchema: z.ZodObject<{
|
|
|
585
684
|
}>;
|
|
586
685
|
found: z.ZodBoolean;
|
|
587
686
|
}, z.core.$strict>>;
|
|
687
|
+
accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
688
|
+
operation_id: z.ZodString;
|
|
689
|
+
spec: z.ZodObject<{
|
|
690
|
+
url: z.ZodURL;
|
|
691
|
+
attempt_digest: z.ZodString;
|
|
692
|
+
fetched: z.ZodEnum<{
|
|
693
|
+
absent: "absent";
|
|
694
|
+
read: "read";
|
|
695
|
+
unanswered: "unanswered";
|
|
696
|
+
}>;
|
|
697
|
+
references: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
698
|
+
url: z.ZodURL;
|
|
699
|
+
attempt_digest: z.ZodString;
|
|
700
|
+
fetched: z.ZodEnum<{
|
|
701
|
+
absent: "absent";
|
|
702
|
+
read: "read";
|
|
703
|
+
unanswered: "unanswered";
|
|
704
|
+
}>;
|
|
705
|
+
}, z.core.$strict>>>;
|
|
706
|
+
covers: z.ZodBoolean;
|
|
707
|
+
security: z.ZodArray<z.ZodEnum<{
|
|
708
|
+
key: "key";
|
|
709
|
+
none: "none";
|
|
710
|
+
oauth: "oauth";
|
|
711
|
+
}>>;
|
|
712
|
+
typed_errors: z.ZodBoolean;
|
|
713
|
+
payment: z.ZodBoolean;
|
|
714
|
+
key_operations: z.ZodBoolean;
|
|
715
|
+
}, z.core.$strict>;
|
|
716
|
+
}, z.core.$strict>>>;
|
|
588
717
|
assertions: z.ZodArray<z.ZodObject<{
|
|
589
718
|
assertion: z.ZodString;
|
|
590
719
|
holds: z.ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../contracts/agent-readiness/src/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../contracts/agent-readiness/src/run.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoCxB;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,MAAM,CAAC;AAEnD,wEAAwE;AACxE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;kBAgCnC,CAAC;AAEZ;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,YACzC,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,YAAY,CACJ,CAA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HODS, verifyExchangeRecord, } from "provenry/exchange/records";
|
|
2
2
|
import { compareInstants } from "provenry/primitives";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
import { AGENT_READINESS_MAXIMUM_PAGES, AGENT_READINESS_PAGE_ROLES, AGENT_READINESS_PERSON_STEPS, agentReadinessDigestSchema, agentReadinessEntityIdSchema, agentReadinessEvidenceLabelSchema, agentReadinessHostnameSchema, agentReadinessHumanStepTimingSchema, agentReadinessInstantSchema, agentReadinessJobOutcomeSchema, agentReadinessPersonStepKey, agentReadinessScopeKeySchema, agentReadinessStepOutcomeSchema, agentReadinessStepSchema, } from "./shared.js";
|
|
4
|
+
import { AGENT_READINESS_MAXIMUM_ACCOUNT_OPERATIONS, AGENT_READINESS_MAXIMUM_PAGES, AGENT_READINESS_MAXIMUM_REFERENCED_DOCUMENTS, AGENT_READINESS_PAGE_ROLES, AGENT_READINESS_PERSON_STEPS, agentReadinessDigestSchema, agentReadinessEntityIdSchema, agentReadinessEvidenceLabelSchema, agentReadinessHostnameSchema, agentReadinessHumanStepTimingSchema, agentReadinessInstantSchema, agentReadinessJobOutcomeSchema, agentReadinessPersonStepKey, agentReadinessScopeKeySchema, agentReadinessStepOutcomeSchema, agentReadinessStepSchema, } from "./shared.js";
|
|
5
5
|
/**
|
|
6
6
|
* One assessment run as evidence: what was discovered, every exchange made (by
|
|
7
7
|
* its sealed exchange record and retained outcome), and what was read from the
|
|
@@ -166,13 +166,34 @@ export const agentReadinessSpecReadingSchema = z
|
|
|
166
166
|
attempt_digest: agentReadinessDigestSchema,
|
|
167
167
|
/** Read; absent (an error status, or not an OpenAPI 3 document); or unanswered (residue). */
|
|
168
168
|
fetched: z.enum(["read", "absent", "unanswered"]),
|
|
169
|
+
/**
|
|
170
|
+
* The documents on the spec's host its references reached for this
|
|
171
|
+
* reading, in the order they were read (north star §5.6): read, absent (an
|
|
172
|
+
* error status, or not JSON or YAML) or unanswered (residue). Named only
|
|
173
|
+
* when the reading reached one, so every earlier run's record reads as it
|
|
174
|
+
* was written.
|
|
175
|
+
*/
|
|
176
|
+
references: z
|
|
177
|
+
.array(z
|
|
178
|
+
.object({
|
|
179
|
+
url: z.url({ protocol: /^https$/u }),
|
|
180
|
+
attempt_digest: agentReadinessDigestSchema,
|
|
181
|
+
fetched: z.enum(["read", "absent", "unanswered"]),
|
|
182
|
+
})
|
|
183
|
+
.strict())
|
|
184
|
+
.min(1)
|
|
185
|
+
.max(AGENT_READINESS_MAXIMUM_REFERENCED_DOCUMENTS)
|
|
186
|
+
.optional(),
|
|
169
187
|
/** The document is OpenAPI 3 and has the job's method under a matching path template. */
|
|
170
188
|
covers: z.boolean(),
|
|
171
189
|
/** The kinds of security the operation accepts; empty when it does not cover the job. */
|
|
172
190
|
security: z.array(agentReadinessSpecSecuritySchema).max(3),
|
|
173
191
|
/** The operation declares a 4xx response with a JSON or XML schema. */
|
|
174
192
|
typed_errors: z.boolean(),
|
|
175
|
-
/**
|
|
193
|
+
/**
|
|
194
|
+
* The operation declares a machine payment: `x-payment-info`, or a 402
|
|
195
|
+
* response with a `WWW-Authenticate` challenge (MPP).
|
|
196
|
+
*/
|
|
176
197
|
payment: z.boolean(),
|
|
177
198
|
/** The document covers the key operations the listing names. */
|
|
178
199
|
key_operations: z.boolean(),
|
|
@@ -318,6 +339,16 @@ export const agentReadinessPageProbeSchema = z
|
|
|
318
339
|
.refine((page) => !(page.found && page.answer === "unanswered"), {
|
|
319
340
|
message: "An unanswered page is not found.",
|
|
320
341
|
});
|
|
342
|
+
/**
|
|
343
|
+
* What the probe read for one account operation: the vendor's spec alone,
|
|
344
|
+
* since nothing is sent to a sign-up or a top-up (north star §5.6).
|
|
345
|
+
*/
|
|
346
|
+
export const agentReadinessAccountReadingSchema = z
|
|
347
|
+
.object({
|
|
348
|
+
operation_id: agentReadinessScopeKeySchema,
|
|
349
|
+
spec: agentReadinessSpecReadingSchema,
|
|
350
|
+
})
|
|
351
|
+
.strict();
|
|
321
352
|
/** A runner-side failure: never a fact about the service, always residue to retry. */
|
|
322
353
|
export const agentReadinessRunResidueSchema = z
|
|
323
354
|
.object({ step: z.union([agentReadinessStepSchema, z.literal("job")]), reason: reasonSchema })
|
|
@@ -369,6 +400,16 @@ export const agentReadinessRunRecordCoreSchema = z
|
|
|
369
400
|
probes: z.array(agentReadinessOperationProbeSchema).max(4),
|
|
370
401
|
/** A probe run's requests for the pages its listing names; empty for a verified run. */
|
|
371
402
|
pages: z.array(agentReadinessPageProbeSchema).max(AGENT_READINESS_MAXIMUM_PAGES),
|
|
403
|
+
/**
|
|
404
|
+
* A probe run's reading of each account operation its listing declares,
|
|
405
|
+
* from the vendor's spec alone. Named only when the listing declares one,
|
|
406
|
+
* so every earlier run's record reads as it was written.
|
|
407
|
+
*/
|
|
408
|
+
accounts: z
|
|
409
|
+
.array(agentReadinessAccountReadingSchema)
|
|
410
|
+
.min(1)
|
|
411
|
+
.max(AGENT_READINESS_MAXIMUM_ACCOUNT_OPERATIONS)
|
|
412
|
+
.optional(),
|
|
372
413
|
/** Empty when the job's calls did not all complete. */
|
|
373
414
|
assertions: z.array(agentReadinessAssertionResultSchema).max(8),
|
|
374
415
|
residue: z.array(agentReadinessRunResidueSchema).max(16),
|
|
@@ -420,11 +461,11 @@ export const agentReadinessRunRecordCoreSchema = z
|
|
|
420
461
|
message: "A probe run holds no credential and checks no assertion.",
|
|
421
462
|
});
|
|
422
463
|
}
|
|
423
|
-
if (!probe && (run.probes.length > 0 || run.pages.length > 0)) {
|
|
464
|
+
if (!probe && (run.probes.length > 0 || run.pages.length > 0 || run.accounts)) {
|
|
424
465
|
context.addIssue({
|
|
425
466
|
code: "custom",
|
|
426
467
|
path: ["probes"],
|
|
427
|
-
message: "Only a probe run reads job operations and
|
|
468
|
+
message: "Only a probe run reads job operations, pages and account operations.",
|
|
428
469
|
});
|
|
429
470
|
}
|
|
430
471
|
const pages = run.pages.map(({ page_id, role }) => `${page_id} ${role}`);
|