@the-open-engine/zeroshot 6.5.0 → 6.7.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.
@@ -0,0 +1,1174 @@
1
+ {
2
+ "$defs": {
3
+ "ArtifactLineage": {
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "attempt": {
7
+ "maximum": 9007199254740991,
8
+ "minimum": 1,
9
+ "type": "integer"
10
+ },
11
+ "generation": {
12
+ "maximum": 9007199254740991,
13
+ "minimum": 0,
14
+ "type": "integer"
15
+ },
16
+ "runId": {
17
+ "type": "string"
18
+ }
19
+ },
20
+ "required": [
21
+ "generation",
22
+ "runId",
23
+ "attempt"
24
+ ],
25
+ "type": "object"
26
+ },
27
+ "ArtifactProducer": {
28
+ "additionalProperties": false,
29
+ "properties": {
30
+ "node": {
31
+ "maxLength": 128,
32
+ "minLength": 1,
33
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
34
+ "type": "string"
35
+ },
36
+ "worker": {
37
+ "maxLength": 256,
38
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$",
39
+ "type": "string"
40
+ }
41
+ },
42
+ "required": [
43
+ "node",
44
+ "worker"
45
+ ],
46
+ "type": "object"
47
+ },
48
+ "ArtifactRef": {
49
+ "additionalProperties": false,
50
+ "properties": {
51
+ "artifactId": {
52
+ "maxLength": 256,
53
+ "minLength": 1,
54
+ "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f]+$",
55
+ "type": "string"
56
+ },
57
+ "byteLength": {
58
+ "maximum": 9007199254740991,
59
+ "minimum": 0,
60
+ "type": "integer"
61
+ },
62
+ "lineage": {
63
+ "$ref": "#/$defs/ArtifactLineage"
64
+ },
65
+ "mediaType": {
66
+ "maxLength": 256,
67
+ "minLength": 1,
68
+ "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f]+$",
69
+ "type": "string"
70
+ },
71
+ "producer": {
72
+ "$ref": "#/$defs/ArtifactProducer"
73
+ },
74
+ "redaction": {
75
+ "$ref": "#/$defs/RedactionClass"
76
+ },
77
+ "sha256": {
78
+ "pattern": "^[0-9a-f]{64}$",
79
+ "type": "string"
80
+ },
81
+ "typeId": {
82
+ "maxLength": 256,
83
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$",
84
+ "type": "string"
85
+ }
86
+ },
87
+ "required": [
88
+ "artifactId",
89
+ "sha256",
90
+ "byteLength",
91
+ "mediaType",
92
+ "typeId",
93
+ "producer",
94
+ "lineage",
95
+ "redaction"
96
+ ],
97
+ "type": "object"
98
+ },
99
+ "ArtifactResultProfile": {
100
+ "additionalProperties": false,
101
+ "properties": {
102
+ "allowedMediaTypes": {
103
+ "items": {
104
+ "maxLength": 256,
105
+ "minLength": 1,
106
+ "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f]+$",
107
+ "type": "string"
108
+ },
109
+ "minItems": 1,
110
+ "type": "array",
111
+ "uniqueItems": true
112
+ },
113
+ "allowedTypeIds": {
114
+ "items": {
115
+ "maxLength": 256,
116
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$",
117
+ "type": "string"
118
+ },
119
+ "minItems": 1,
120
+ "type": "array",
121
+ "uniqueItems": true
122
+ },
123
+ "minimumRedaction": {
124
+ "$ref": "#/$defs/RedactionClass"
125
+ }
126
+ },
127
+ "required": [
128
+ "allowedTypeIds",
129
+ "allowedMediaTypes",
130
+ "minimumRedaction"
131
+ ],
132
+ "type": "object"
133
+ },
134
+ "AutonomyPolicy": {
135
+ "enum": [
136
+ "strict"
137
+ ],
138
+ "type": "string"
139
+ },
140
+ "CapabilityPolicy": {
141
+ "additionalProperties": false,
142
+ "properties": {
143
+ "autonomy": {
144
+ "$ref": "#/$defs/AutonomyPolicy"
145
+ },
146
+ "permissionPolicy": {
147
+ "maxLength": 256,
148
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$",
149
+ "type": "string"
150
+ }
151
+ },
152
+ "required": [
153
+ "autonomy",
154
+ "permissionPolicy"
155
+ ],
156
+ "type": "object"
157
+ },
158
+ "CredentialHandle": {
159
+ "description": "Opaque registry identity. The handle can select secret material but can never contain it.",
160
+ "maxLength": 256,
161
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$",
162
+ "type": "string"
163
+ },
164
+ "GraphProfile": {
165
+ "enum": [
166
+ "openengine.graph.full/v1",
167
+ "openengine.graph.single-worker/v1"
168
+ ],
169
+ "type": "string"
170
+ },
171
+ "LegacyShipRequest": {
172
+ "additionalProperties": false,
173
+ "oneOf": [
174
+ {
175
+ "properties": {
176
+ "artifacts": {
177
+ "maxItems": 0
178
+ },
179
+ "issue": {
180
+ "minLength": 1,
181
+ "pattern": "\\S",
182
+ "type": "string"
183
+ },
184
+ "prompt": {
185
+ "type": "null"
186
+ },
187
+ "source": {
188
+ "const": "issue"
189
+ }
190
+ },
191
+ "required": [
192
+ "issue"
193
+ ]
194
+ },
195
+ {
196
+ "properties": {
197
+ "artifacts": {
198
+ "maxItems": 0
199
+ },
200
+ "issue": {
201
+ "type": "null"
202
+ },
203
+ "prompt": {
204
+ "minLength": 1,
205
+ "pattern": "\\S",
206
+ "type": "string"
207
+ },
208
+ "source": {
209
+ "const": "prompt"
210
+ }
211
+ },
212
+ "required": [
213
+ "prompt"
214
+ ]
215
+ },
216
+ {
217
+ "properties": {
218
+ "artifacts": {
219
+ "minItems": 1
220
+ },
221
+ "issue": {
222
+ "type": "null"
223
+ },
224
+ "prompt": {
225
+ "type": "null"
226
+ },
227
+ "source": {
228
+ "const": "artifact"
229
+ }
230
+ }
231
+ }
232
+ ],
233
+ "properties": {
234
+ "artifacts": {
235
+ "items": {
236
+ "$ref": "#/$defs/ArtifactRef"
237
+ },
238
+ "type": "array"
239
+ },
240
+ "isolationProfile": {
241
+ "$ref": "#/$defs/CredentialHandle"
242
+ },
243
+ "issue": {
244
+ "type": [
245
+ "string",
246
+ "null"
247
+ ]
248
+ },
249
+ "prompt": {
250
+ "type": [
251
+ "string",
252
+ "null"
253
+ ]
254
+ },
255
+ "providerProfile": {
256
+ "$ref": "#/$defs/CredentialHandle"
257
+ },
258
+ "source": {
259
+ "enum": [
260
+ "issue",
261
+ "prompt",
262
+ "artifact"
263
+ ]
264
+ }
265
+ },
266
+ "required": [
267
+ "source",
268
+ "artifacts",
269
+ "isolationProfile",
270
+ "providerProfile"
271
+ ],
272
+ "title": "LegacyShipRequest",
273
+ "type": "object"
274
+ },
275
+ "LegacyShipResult": {
276
+ "additionalProperties": false,
277
+ "properties": {
278
+ "artifacts": {
279
+ "items": {
280
+ "$ref": "#/$defs/ArtifactRef"
281
+ },
282
+ "type": "array"
283
+ },
284
+ "status": {
285
+ "$ref": "#/$defs/LegacyShipStatus"
286
+ },
287
+ "summary": {
288
+ "type": "string"
289
+ }
290
+ },
291
+ "required": [
292
+ "summary",
293
+ "status",
294
+ "artifacts"
295
+ ],
296
+ "title": "LegacyShipResult",
297
+ "type": "object"
298
+ },
299
+ "LegacyShipStatus": {
300
+ "enum": [
301
+ "succeeded",
302
+ "failed"
303
+ ],
304
+ "type": "string"
305
+ },
306
+ "PayloadType": {
307
+ "oneOf": [
308
+ {
309
+ "additionalProperties": false,
310
+ "properties": {
311
+ "kind": {
312
+ "const": "null",
313
+ "type": "string"
314
+ }
315
+ },
316
+ "required": [
317
+ "kind"
318
+ ],
319
+ "type": "object"
320
+ },
321
+ {
322
+ "additionalProperties": false,
323
+ "properties": {
324
+ "kind": {
325
+ "const": "boolean",
326
+ "type": "string"
327
+ }
328
+ },
329
+ "required": [
330
+ "kind"
331
+ ],
332
+ "type": "object"
333
+ },
334
+ {
335
+ "additionalProperties": false,
336
+ "properties": {
337
+ "kind": {
338
+ "const": "integer",
339
+ "type": "string"
340
+ }
341
+ },
342
+ "required": [
343
+ "kind"
344
+ ],
345
+ "type": "object"
346
+ },
347
+ {
348
+ "additionalProperties": false,
349
+ "properties": {
350
+ "kind": {
351
+ "const": "number",
352
+ "type": "string"
353
+ }
354
+ },
355
+ "required": [
356
+ "kind"
357
+ ],
358
+ "type": "object"
359
+ },
360
+ {
361
+ "additionalProperties": false,
362
+ "properties": {
363
+ "kind": {
364
+ "const": "string",
365
+ "type": "string"
366
+ }
367
+ },
368
+ "required": [
369
+ "kind"
370
+ ],
371
+ "type": "object"
372
+ },
373
+ {
374
+ "additionalProperties": false,
375
+ "properties": {
376
+ "fields": {
377
+ "additionalProperties": {
378
+ "$ref": "#/$defs/RecordField"
379
+ },
380
+ "propertyNames": {
381
+ "maxLength": 128,
382
+ "minLength": 1,
383
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
384
+ "type": "string"
385
+ },
386
+ "type": "object"
387
+ },
388
+ "kind": {
389
+ "const": "record",
390
+ "type": "string"
391
+ }
392
+ },
393
+ "required": [
394
+ "kind",
395
+ "fields"
396
+ ],
397
+ "type": "object"
398
+ },
399
+ {
400
+ "additionalProperties": false,
401
+ "properties": {
402
+ "items": {
403
+ "$ref": "#/$defs/PayloadType"
404
+ },
405
+ "kind": {
406
+ "const": "array",
407
+ "type": "string"
408
+ }
409
+ },
410
+ "required": [
411
+ "kind",
412
+ "items"
413
+ ],
414
+ "type": "object"
415
+ },
416
+ {
417
+ "additionalProperties": false,
418
+ "properties": {
419
+ "kind": {
420
+ "const": "enum",
421
+ "type": "string"
422
+ },
423
+ "values": {
424
+ "items": {
425
+ "maxLength": 128,
426
+ "minLength": 1,
427
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
428
+ "type": "string"
429
+ },
430
+ "maxItems": 4096,
431
+ "minItems": 1,
432
+ "type": "array",
433
+ "uniqueItems": true
434
+ }
435
+ },
436
+ "required": [
437
+ "kind",
438
+ "values"
439
+ ],
440
+ "type": "object"
441
+ }
442
+ ]
443
+ },
444
+ "RecordField": {
445
+ "additionalProperties": false,
446
+ "properties": {
447
+ "required": {
448
+ "type": "boolean"
449
+ },
450
+ "type": {
451
+ "$ref": "#/$defs/PayloadType"
452
+ }
453
+ },
454
+ "required": [
455
+ "type",
456
+ "required"
457
+ ],
458
+ "type": "object"
459
+ },
460
+ "RedactionClass": {
461
+ "enum": [
462
+ "public",
463
+ "internal",
464
+ "confidential",
465
+ "restricted"
466
+ ],
467
+ "type": "string"
468
+ },
469
+ "VerifierContract": {
470
+ "additionalProperties": false,
471
+ "properties": {
472
+ "diagnostic": {
473
+ "$ref": "#/$defs/PayloadType"
474
+ },
475
+ "signals": {
476
+ "additionalProperties": {
477
+ "items": {
478
+ "maxLength": 128,
479
+ "minLength": 1,
480
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
481
+ "type": "string"
482
+ },
483
+ "maxItems": 4096,
484
+ "minItems": 1,
485
+ "type": "array",
486
+ "uniqueItems": true
487
+ },
488
+ "propertyNames": {
489
+ "maxLength": 128,
490
+ "minLength": 1,
491
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
492
+ "type": "string"
493
+ },
494
+ "type": "object"
495
+ }
496
+ },
497
+ "required": [
498
+ "signals",
499
+ "diagnostic"
500
+ ],
501
+ "type": "object"
502
+ },
503
+ "WorkerContract": {
504
+ "additionalProperties": false,
505
+ "properties": {
506
+ "errors": {
507
+ "items": {
508
+ "enum": [
509
+ "timeout",
510
+ "crash",
511
+ "malformed",
512
+ "refusal"
513
+ ]
514
+ },
515
+ "maxItems": 4,
516
+ "minItems": 4,
517
+ "type": "array",
518
+ "uniqueItems": true
519
+ },
520
+ "input": {
521
+ "$ref": "#/$defs/PayloadType"
522
+ },
523
+ "output": {
524
+ "$ref": "#/$defs/PayloadType"
525
+ },
526
+ "verifier": {
527
+ "anyOf": [
528
+ {
529
+ "$ref": "#/$defs/VerifierContract"
530
+ },
531
+ {
532
+ "type": "null"
533
+ }
534
+ ]
535
+ }
536
+ },
537
+ "required": [
538
+ "input",
539
+ "output",
540
+ "errors"
541
+ ],
542
+ "type": "object"
543
+ },
544
+ "WorkerDescriptorWire": {
545
+ "additionalProperties": false,
546
+ "properties": {
547
+ "artifactProfile": {
548
+ "$ref": "#/$defs/ArtifactResultProfile"
549
+ },
550
+ "binding": {
551
+ "$ref": "#/$defs/WorkerProtocolBinding"
552
+ },
553
+ "capabilityPolicy": {
554
+ "$ref": "#/$defs/CapabilityPolicy"
555
+ },
556
+ "contract": {
557
+ "$ref": "#/$defs/WorkerContract"
558
+ },
559
+ "credentialRequirements": {
560
+ "items": {
561
+ "$ref": "#/$defs/CredentialHandle"
562
+ },
563
+ "type": "array",
564
+ "uniqueItems": true
565
+ },
566
+ "graphProfiles": {
567
+ "items": {
568
+ "$ref": "#/$defs/GraphProfile"
569
+ },
570
+ "minItems": 1,
571
+ "type": "array",
572
+ "uniqueItems": true
573
+ },
574
+ "worker": {
575
+ "maxLength": 256,
576
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*@[1-9][0-9]*$",
577
+ "type": "string"
578
+ }
579
+ },
580
+ "required": [
581
+ "worker",
582
+ "graphProfiles",
583
+ "binding",
584
+ "contract",
585
+ "capabilityPolicy",
586
+ "artifactProfile",
587
+ "credentialRequirements"
588
+ ],
589
+ "type": "object"
590
+ },
591
+ "WorkerErrorCode": {
592
+ "enum": [
593
+ "timeout",
594
+ "crash",
595
+ "malformed",
596
+ "refusal"
597
+ ],
598
+ "type": "string"
599
+ },
600
+ "WorkerFailureReason": {
601
+ "enum": [
602
+ "declared_failure",
603
+ "policy_denied",
604
+ "interactive_input_required",
605
+ "authentication_required",
606
+ "malformed_result"
607
+ ],
608
+ "type": "string"
609
+ },
610
+ "WorkerOutcome": {
611
+ "allOf": [
612
+ {
613
+ "$ref": "#/$defs/WorkerOutcomeWire"
614
+ },
615
+ {
616
+ "if": {
617
+ "properties": {
618
+ "status": {
619
+ "const": "error"
620
+ }
621
+ },
622
+ "required": [
623
+ "status"
624
+ ]
625
+ },
626
+ "then": {
627
+ "oneOf": [
628
+ {
629
+ "properties": {
630
+ "reason": {
631
+ "const": "declared_failure"
632
+ }
633
+ },
634
+ "required": [
635
+ "reason"
636
+ ]
637
+ },
638
+ {
639
+ "properties": {
640
+ "code": {
641
+ "const": "refusal"
642
+ },
643
+ "reason": {
644
+ "enum": [
645
+ "policy_denied",
646
+ "interactive_input_required",
647
+ "authentication_required"
648
+ ]
649
+ }
650
+ },
651
+ "required": [
652
+ "code",
653
+ "reason"
654
+ ]
655
+ },
656
+ {
657
+ "properties": {
658
+ "code": {
659
+ "const": "malformed"
660
+ },
661
+ "reason": {
662
+ "const": "malformed_result"
663
+ }
664
+ },
665
+ "required": [
666
+ "code",
667
+ "reason"
668
+ ]
669
+ }
670
+ ]
671
+ }
672
+ }
673
+ ],
674
+ "title": "WorkerOutcome"
675
+ },
676
+ "WorkerOutcomeWire": {
677
+ "oneOf": [
678
+ {
679
+ "additionalProperties": false,
680
+ "properties": {
681
+ "artifacts": {
682
+ "items": {
683
+ "$ref": "#/$defs/ArtifactRef"
684
+ },
685
+ "type": "array"
686
+ },
687
+ "output": true,
688
+ "status": {
689
+ "const": "verified",
690
+ "type": "string"
691
+ }
692
+ },
693
+ "required": [
694
+ "status",
695
+ "output",
696
+ "artifacts"
697
+ ],
698
+ "type": "object"
699
+ },
700
+ {
701
+ "additionalProperties": false,
702
+ "properties": {
703
+ "artifacts": {
704
+ "items": {
705
+ "$ref": "#/$defs/ArtifactRef"
706
+ },
707
+ "type": "array"
708
+ },
709
+ "diagnostic": true,
710
+ "output": true,
711
+ "signals": {
712
+ "additionalProperties": {
713
+ "maxLength": 128,
714
+ "minLength": 1,
715
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
716
+ "type": "string"
717
+ },
718
+ "propertyNames": {
719
+ "maxLength": 128,
720
+ "minLength": 1,
721
+ "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
722
+ "type": "string"
723
+ },
724
+ "type": "object"
725
+ },
726
+ "status": {
727
+ "const": "verifier",
728
+ "type": "string"
729
+ }
730
+ },
731
+ "required": [
732
+ "status",
733
+ "output",
734
+ "signals",
735
+ "diagnostic",
736
+ "artifacts"
737
+ ],
738
+ "type": "object"
739
+ },
740
+ {
741
+ "additionalProperties": false,
742
+ "properties": {
743
+ "code": {
744
+ "$ref": "#/$defs/WorkerErrorCode"
745
+ },
746
+ "reason": {
747
+ "$ref": "#/$defs/WorkerFailureReason"
748
+ },
749
+ "status": {
750
+ "const": "error",
751
+ "type": "string"
752
+ }
753
+ },
754
+ "required": [
755
+ "status",
756
+ "code",
757
+ "reason"
758
+ ],
759
+ "type": "object"
760
+ }
761
+ ]
762
+ },
763
+ "WorkerProtocolBinding": {
764
+ "oneOf": [
765
+ {
766
+ "additionalProperties": false,
767
+ "properties": {
768
+ "profile": {
769
+ "const": "openengine.worker.acp/v1"
770
+ },
771
+ "protocol": {
772
+ "const": "acp"
773
+ },
774
+ "version": {
775
+ "const": "1"
776
+ }
777
+ },
778
+ "required": [
779
+ "protocol",
780
+ "version",
781
+ "profile"
782
+ ],
783
+ "type": "object"
784
+ },
785
+ {
786
+ "additionalProperties": false,
787
+ "properties": {
788
+ "profile": {
789
+ "const": "openengine.worker.a2a/1.0"
790
+ },
791
+ "protocol": {
792
+ "const": "a2a"
793
+ },
794
+ "version": {
795
+ "const": "1.0"
796
+ }
797
+ },
798
+ "required": [
799
+ "protocol",
800
+ "version",
801
+ "profile"
802
+ ],
803
+ "type": "object"
804
+ },
805
+ {
806
+ "additionalProperties": false,
807
+ "properties": {
808
+ "profile": {
809
+ "const": "legacy.zeroshot.ship/v1"
810
+ },
811
+ "protocol": {
812
+ "const": "legacy_zeroshot"
813
+ },
814
+ "version": {
815
+ "const": "1"
816
+ }
817
+ },
818
+ "required": [
819
+ "protocol",
820
+ "version",
821
+ "profile"
822
+ ],
823
+ "type": "object"
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
829
+ "allOf": [
830
+ {
831
+ "$ref": "#/$defs/WorkerDescriptorWire"
832
+ },
833
+ {
834
+ "oneOf": [
835
+ {
836
+ "properties": {
837
+ "binding": {
838
+ "const": {
839
+ "profile": "legacy.zeroshot.ship/v1",
840
+ "protocol": "legacy_zeroshot",
841
+ "version": "1"
842
+ }
843
+ },
844
+ "contract": {
845
+ "properties": {
846
+ "errors": {
847
+ "const": [
848
+ "timeout",
849
+ "crash",
850
+ "malformed",
851
+ "refusal"
852
+ ]
853
+ },
854
+ "input": {
855
+ "const": {
856
+ "fields": {
857
+ "artifacts": {
858
+ "required": true,
859
+ "type": {
860
+ "items": {
861
+ "fields": {
862
+ "artifactId": {
863
+ "required": true,
864
+ "type": {
865
+ "kind": "string"
866
+ }
867
+ },
868
+ "byteLength": {
869
+ "required": true,
870
+ "type": {
871
+ "kind": "integer"
872
+ }
873
+ },
874
+ "lineage": {
875
+ "required": true,
876
+ "type": {
877
+ "fields": {
878
+ "attempt": {
879
+ "required": true,
880
+ "type": {
881
+ "kind": "integer"
882
+ }
883
+ },
884
+ "generation": {
885
+ "required": true,
886
+ "type": {
887
+ "kind": "integer"
888
+ }
889
+ },
890
+ "runId": {
891
+ "required": true,
892
+ "type": {
893
+ "kind": "string"
894
+ }
895
+ }
896
+ },
897
+ "kind": "record"
898
+ }
899
+ },
900
+ "mediaType": {
901
+ "required": true,
902
+ "type": {
903
+ "kind": "string"
904
+ }
905
+ },
906
+ "producer": {
907
+ "required": true,
908
+ "type": {
909
+ "fields": {
910
+ "node": {
911
+ "required": true,
912
+ "type": {
913
+ "kind": "string"
914
+ }
915
+ },
916
+ "worker": {
917
+ "required": true,
918
+ "type": {
919
+ "kind": "string"
920
+ }
921
+ }
922
+ },
923
+ "kind": "record"
924
+ }
925
+ },
926
+ "redaction": {
927
+ "required": true,
928
+ "type": {
929
+ "kind": "enum",
930
+ "values": [
931
+ "confidential",
932
+ "internal",
933
+ "public",
934
+ "restricted"
935
+ ]
936
+ }
937
+ },
938
+ "sha256": {
939
+ "required": true,
940
+ "type": {
941
+ "kind": "string"
942
+ }
943
+ },
944
+ "typeId": {
945
+ "required": true,
946
+ "type": {
947
+ "kind": "string"
948
+ }
949
+ }
950
+ },
951
+ "kind": "record"
952
+ },
953
+ "kind": "array"
954
+ }
955
+ },
956
+ "isolationProfile": {
957
+ "required": true,
958
+ "type": {
959
+ "kind": "string"
960
+ }
961
+ },
962
+ "issue": {
963
+ "required": false,
964
+ "type": {
965
+ "kind": "string"
966
+ }
967
+ },
968
+ "prompt": {
969
+ "required": false,
970
+ "type": {
971
+ "kind": "string"
972
+ }
973
+ },
974
+ "providerProfile": {
975
+ "required": true,
976
+ "type": {
977
+ "kind": "string"
978
+ }
979
+ },
980
+ "source": {
981
+ "required": true,
982
+ "type": {
983
+ "kind": "enum",
984
+ "values": [
985
+ "artifact",
986
+ "issue",
987
+ "prompt"
988
+ ]
989
+ }
990
+ }
991
+ },
992
+ "kind": "record"
993
+ }
994
+ },
995
+ "output": {
996
+ "const": {
997
+ "fields": {
998
+ "artifacts": {
999
+ "required": true,
1000
+ "type": {
1001
+ "items": {
1002
+ "fields": {
1003
+ "artifactId": {
1004
+ "required": true,
1005
+ "type": {
1006
+ "kind": "string"
1007
+ }
1008
+ },
1009
+ "byteLength": {
1010
+ "required": true,
1011
+ "type": {
1012
+ "kind": "integer"
1013
+ }
1014
+ },
1015
+ "lineage": {
1016
+ "required": true,
1017
+ "type": {
1018
+ "fields": {
1019
+ "attempt": {
1020
+ "required": true,
1021
+ "type": {
1022
+ "kind": "integer"
1023
+ }
1024
+ },
1025
+ "generation": {
1026
+ "required": true,
1027
+ "type": {
1028
+ "kind": "integer"
1029
+ }
1030
+ },
1031
+ "runId": {
1032
+ "required": true,
1033
+ "type": {
1034
+ "kind": "string"
1035
+ }
1036
+ }
1037
+ },
1038
+ "kind": "record"
1039
+ }
1040
+ },
1041
+ "mediaType": {
1042
+ "required": true,
1043
+ "type": {
1044
+ "kind": "string"
1045
+ }
1046
+ },
1047
+ "producer": {
1048
+ "required": true,
1049
+ "type": {
1050
+ "fields": {
1051
+ "node": {
1052
+ "required": true,
1053
+ "type": {
1054
+ "kind": "string"
1055
+ }
1056
+ },
1057
+ "worker": {
1058
+ "required": true,
1059
+ "type": {
1060
+ "kind": "string"
1061
+ }
1062
+ }
1063
+ },
1064
+ "kind": "record"
1065
+ }
1066
+ },
1067
+ "redaction": {
1068
+ "required": true,
1069
+ "type": {
1070
+ "kind": "enum",
1071
+ "values": [
1072
+ "confidential",
1073
+ "internal",
1074
+ "public",
1075
+ "restricted"
1076
+ ]
1077
+ }
1078
+ },
1079
+ "sha256": {
1080
+ "required": true,
1081
+ "type": {
1082
+ "kind": "string"
1083
+ }
1084
+ },
1085
+ "typeId": {
1086
+ "required": true,
1087
+ "type": {
1088
+ "kind": "string"
1089
+ }
1090
+ }
1091
+ },
1092
+ "kind": "record"
1093
+ },
1094
+ "kind": "array"
1095
+ }
1096
+ },
1097
+ "status": {
1098
+ "required": true,
1099
+ "type": {
1100
+ "kind": "enum",
1101
+ "values": [
1102
+ "failed",
1103
+ "succeeded"
1104
+ ]
1105
+ }
1106
+ },
1107
+ "summary": {
1108
+ "required": true,
1109
+ "type": {
1110
+ "kind": "string"
1111
+ }
1112
+ }
1113
+ },
1114
+ "kind": "record"
1115
+ }
1116
+ },
1117
+ "verifier": {
1118
+ "type": "null"
1119
+ }
1120
+ },
1121
+ "required": [
1122
+ "input",
1123
+ "output",
1124
+ "verifier",
1125
+ "errors"
1126
+ ]
1127
+ },
1128
+ "graphProfiles": {
1129
+ "const": [
1130
+ "openengine.graph.single-worker/v1"
1131
+ ]
1132
+ },
1133
+ "worker": {
1134
+ "const": "legacy.zeroshot.ship@1"
1135
+ }
1136
+ },
1137
+ "required": [
1138
+ "worker",
1139
+ "graphProfiles",
1140
+ "binding",
1141
+ "contract"
1142
+ ]
1143
+ },
1144
+ {
1145
+ "properties": {
1146
+ "binding": {
1147
+ "properties": {
1148
+ "protocol": {
1149
+ "enum": [
1150
+ "acp",
1151
+ "a2a"
1152
+ ]
1153
+ }
1154
+ },
1155
+ "required": [
1156
+ "protocol"
1157
+ ]
1158
+ },
1159
+ "worker": {
1160
+ "not": {
1161
+ "const": "legacy.zeroshot.ship@1"
1162
+ }
1163
+ }
1164
+ },
1165
+ "required": [
1166
+ "worker",
1167
+ "binding"
1168
+ ]
1169
+ }
1170
+ ]
1171
+ }
1172
+ ],
1173
+ "title": "WorkerDescriptor"
1174
+ }