@osstack/protocol 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attention.d.ts +863 -0
- package/dist/attention.d.ts.map +1 -0
- package/dist/attention.js +112 -0
- package/dist/attention.js.map +1 -0
- package/dist/autonomy.d.ts +14 -14
- package/dist/delivery-contract.d.ts +734 -0
- package/dist/delivery-contract.d.ts.map +1 -0
- package/dist/delivery-contract.js +111 -0
- package/dist/delivery-contract.js.map +1 -0
- package/dist/envelope.d.ts +42 -42
- package/dist/event.d.ts +4 -4
- package/dist/follow-up-delivery.d.ts +1831 -0
- package/dist/follow-up-delivery.d.ts.map +1 -0
- package/dist/follow-up-delivery.js +174 -0
- package/dist/follow-up-delivery.js.map +1 -0
- package/dist/follow-up.d.ts +1100 -0
- package/dist/follow-up.d.ts.map +1 -0
- package/dist/follow-up.js +28 -0
- package/dist/follow-up.js.map +1 -0
- package/dist/generate.d.ts.map +1 -1
- package/dist/generate.js +18 -0
- package/dist/generate.js.map +1 -1
- package/dist/graph-checkpoint.d.ts +6 -6
- package/dist/graph-worker.d.ts +26 -26
- package/dist/graph.d.ts +886 -592
- package/dist/graph.d.ts.map +1 -1
- package/dist/graph.js +4 -0
- package/dist/graph.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/policy.d.ts +10 -10
- package/dist/run.d.ts +4 -4
- package/dist/session-continuation-grant.d.ts +36 -36
- package/dist/session-continuation.d.ts +26 -26
- package/dist/task.d.ts +2 -2
- package/package.json +10 -9
- package/schemas/attention-inbox.schema.json +271 -0
- package/schemas/attention-status.schema.json +434 -0
- package/schemas/delivery-contract-v2.schema.json +238 -0
- package/schemas/delivery-verification-receipt-v2.schema.json +223 -0
- package/schemas/follow-up-create-params.schema.json +78 -0
- package/schemas/follow-up-draft-params.schema.json +39 -0
- package/schemas/follow-up-list-params.schema.json +42 -0
- package/schemas/follow-up-list-result.schema.json +241 -0
- package/schemas/follow-up-mutation-result.schema.json +361 -0
- package/schemas/follow-up-obligation.schema.json +343 -0
- package/schemas/follow-up-resolve-params.schema.json +53 -0
- package/schemas/frozen-delivery-contract-v2.schema.json +258 -0
- package/schemas/graph.schema.json +30 -0
- package/LICENSE +0 -21
package/dist/graph.d.ts
CHANGED
|
@@ -440,17 +440,17 @@ export declare const GraphResult: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [
|
|
|
440
440
|
schemaVersion: z.ZodLiteral<1>;
|
|
441
441
|
kind: z.ZodLiteral<"review">;
|
|
442
442
|
}, "strict", z.ZodTypeAny, {
|
|
443
|
+
verdict: "changes_requested" | "accept";
|
|
443
444
|
kind: "review";
|
|
444
445
|
schemaVersion: 1;
|
|
445
446
|
candidateRevision: string;
|
|
446
|
-
verdict: "accept" | "changes_requested";
|
|
447
447
|
evidenceRefs: string[];
|
|
448
448
|
evidenceDigest: string;
|
|
449
449
|
}, {
|
|
450
|
+
verdict: "changes_requested" | "accept";
|
|
450
451
|
kind: "review";
|
|
451
452
|
schemaVersion: 1;
|
|
452
453
|
candidateRevision: string;
|
|
453
|
-
verdict: "accept" | "changes_requested";
|
|
454
454
|
evidenceRefs: string[];
|
|
455
455
|
evidenceDigest: string;
|
|
456
456
|
}>, z.ZodObject<{
|
|
@@ -525,10 +525,10 @@ export declare const GraphResult: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [
|
|
|
525
525
|
artifactRefs: string[];
|
|
526
526
|
artifactDigest: string;
|
|
527
527
|
} | {
|
|
528
|
+
verdict: "changes_requested" | "accept";
|
|
528
529
|
kind: "review";
|
|
529
530
|
schemaVersion: 1;
|
|
530
531
|
candidateRevision: string;
|
|
531
|
-
verdict: "accept" | "changes_requested";
|
|
532
532
|
evidenceRefs: string[];
|
|
533
533
|
evidenceDigest: string;
|
|
534
534
|
} | {
|
|
@@ -697,13 +697,18 @@ export declare const StartGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
697
697
|
requestedAt?: string | undefined;
|
|
698
698
|
}>>;
|
|
699
699
|
}, "strict", z.ZodTypeAny, {
|
|
700
|
-
kind: "start";
|
|
701
700
|
scope: {
|
|
702
701
|
schemaVersion: 1;
|
|
703
702
|
tenantId: string;
|
|
704
703
|
principalId: string;
|
|
705
704
|
workspaceId: string;
|
|
706
705
|
};
|
|
706
|
+
source: {
|
|
707
|
+
product: "osstack" | "osbot" | "ostag";
|
|
708
|
+
requestId: string;
|
|
709
|
+
parentRunId?: string | undefined;
|
|
710
|
+
};
|
|
711
|
+
kind: "start";
|
|
707
712
|
schemaVersion: 1;
|
|
708
713
|
spec: {
|
|
709
714
|
input: {
|
|
@@ -726,11 +731,6 @@ export declare const StartGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
726
731
|
publication: "artifact_only";
|
|
727
732
|
};
|
|
728
733
|
inputArtifactRef: string;
|
|
729
|
-
source: {
|
|
730
|
-
product: "osstack" | "osbot" | "ostag";
|
|
731
|
-
requestId: string;
|
|
732
|
-
parentRunId?: string | undefined;
|
|
733
|
-
};
|
|
734
734
|
idempotencyKey: string;
|
|
735
735
|
metadata?: {
|
|
736
736
|
trace?: {
|
|
@@ -740,13 +740,18 @@ export declare const StartGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
740
740
|
requestedAt?: string | undefined;
|
|
741
741
|
} | undefined;
|
|
742
742
|
}, {
|
|
743
|
-
kind: "start";
|
|
744
743
|
scope: {
|
|
745
744
|
schemaVersion: 1;
|
|
746
745
|
tenantId: string;
|
|
747
746
|
principalId: string;
|
|
748
747
|
workspaceId: string;
|
|
749
748
|
};
|
|
749
|
+
source: {
|
|
750
|
+
product: "osstack" | "osbot" | "ostag";
|
|
751
|
+
requestId: string;
|
|
752
|
+
parentRunId?: string | undefined;
|
|
753
|
+
};
|
|
754
|
+
kind: "start";
|
|
750
755
|
schemaVersion: 1;
|
|
751
756
|
spec: {
|
|
752
757
|
input: {
|
|
@@ -769,11 +774,6 @@ export declare const StartGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
769
774
|
publication: "artifact_only";
|
|
770
775
|
};
|
|
771
776
|
inputArtifactRef: string;
|
|
772
|
-
source: {
|
|
773
|
-
product: "osstack" | "osbot" | "ostag";
|
|
774
|
-
requestId: string;
|
|
775
|
-
parentRunId?: string | undefined;
|
|
776
|
-
};
|
|
777
777
|
idempotencyKey: string;
|
|
778
778
|
metadata?: {
|
|
779
779
|
trace?: {
|
|
@@ -783,13 +783,18 @@ export declare const StartGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
783
783
|
requestedAt?: string | undefined;
|
|
784
784
|
} | undefined;
|
|
785
785
|
}>, {
|
|
786
|
-
kind: "start";
|
|
787
786
|
scope: {
|
|
788
787
|
schemaVersion: 1;
|
|
789
788
|
tenantId: string;
|
|
790
789
|
principalId: string;
|
|
791
790
|
workspaceId: string;
|
|
792
791
|
};
|
|
792
|
+
source: {
|
|
793
|
+
product: "osstack" | "osbot" | "ostag";
|
|
794
|
+
requestId: string;
|
|
795
|
+
parentRunId?: string | undefined;
|
|
796
|
+
};
|
|
797
|
+
kind: "start";
|
|
793
798
|
schemaVersion: 1;
|
|
794
799
|
spec: {
|
|
795
800
|
input: {
|
|
@@ -812,11 +817,6 @@ export declare const StartGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
812
817
|
publication: "artifact_only";
|
|
813
818
|
};
|
|
814
819
|
inputArtifactRef: string;
|
|
815
|
-
source: {
|
|
816
|
-
product: "osstack" | "osbot" | "ostag";
|
|
817
|
-
requestId: string;
|
|
818
|
-
parentRunId?: string | undefined;
|
|
819
|
-
};
|
|
820
820
|
idempotencyKey: string;
|
|
821
821
|
metadata?: {
|
|
822
822
|
trace?: {
|
|
@@ -846,13 +846,13 @@ export declare const ResumeGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
846
846
|
outcome: z.ZodEnum<["applied", "not_applied", "unknown"]>;
|
|
847
847
|
evidenceRefs: z.ZodArray<z.ZodString, "many">;
|
|
848
848
|
}, "strict", z.ZodTypeAny, {
|
|
849
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
849
850
|
kind: "reconciliation";
|
|
850
851
|
evidenceRefs: string[];
|
|
851
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
852
852
|
}, {
|
|
853
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
853
854
|
kind: "reconciliation";
|
|
854
855
|
evidenceRefs: string[];
|
|
855
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
856
856
|
}>]>;
|
|
857
857
|
schemaVersion: z.ZodLiteral<1>;
|
|
858
858
|
scope: z.ZodObject<{
|
|
@@ -898,20 +898,20 @@ export declare const ResumeGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
898
898
|
requestedAt?: string | undefined;
|
|
899
899
|
}>>;
|
|
900
900
|
}, "strict", z.ZodTypeAny, {
|
|
901
|
-
kind: "resume";
|
|
902
901
|
scope: {
|
|
903
902
|
schemaVersion: 1;
|
|
904
903
|
tenantId: string;
|
|
905
904
|
principalId: string;
|
|
906
905
|
workspaceId: string;
|
|
907
906
|
};
|
|
907
|
+
kind: "resume";
|
|
908
908
|
input: {
|
|
909
909
|
value: GraphJsonValue;
|
|
910
910
|
kind: "data";
|
|
911
911
|
} | {
|
|
912
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
912
913
|
kind: "reconciliation";
|
|
913
914
|
evidenceRefs: string[];
|
|
914
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
915
915
|
};
|
|
916
916
|
schemaVersion: 1;
|
|
917
917
|
idempotencyKey: string;
|
|
@@ -926,20 +926,20 @@ export declare const ResumeGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
926
926
|
requestedAt?: string | undefined;
|
|
927
927
|
} | undefined;
|
|
928
928
|
}, {
|
|
929
|
-
kind: "resume";
|
|
930
929
|
scope: {
|
|
931
930
|
schemaVersion: 1;
|
|
932
931
|
tenantId: string;
|
|
933
932
|
principalId: string;
|
|
934
933
|
workspaceId: string;
|
|
935
934
|
};
|
|
935
|
+
kind: "resume";
|
|
936
936
|
input: {
|
|
937
937
|
value: GraphJsonValue;
|
|
938
938
|
kind: "data";
|
|
939
939
|
} | {
|
|
940
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
940
941
|
kind: "reconciliation";
|
|
941
942
|
evidenceRefs: string[];
|
|
942
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
943
943
|
};
|
|
944
944
|
schemaVersion: 1;
|
|
945
945
|
idempotencyKey: string;
|
|
@@ -954,20 +954,20 @@ export declare const ResumeGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
954
954
|
requestedAt?: string | undefined;
|
|
955
955
|
} | undefined;
|
|
956
956
|
}>, {
|
|
957
|
-
kind: "resume";
|
|
958
957
|
scope: {
|
|
959
958
|
schemaVersion: 1;
|
|
960
959
|
tenantId: string;
|
|
961
960
|
principalId: string;
|
|
962
961
|
workspaceId: string;
|
|
963
962
|
};
|
|
963
|
+
kind: "resume";
|
|
964
964
|
input: {
|
|
965
965
|
value: GraphJsonValue;
|
|
966
966
|
kind: "data";
|
|
967
967
|
} | {
|
|
968
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
968
969
|
kind: "reconciliation";
|
|
969
970
|
evidenceRefs: string[];
|
|
970
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
971
971
|
};
|
|
972
972
|
schemaVersion: 1;
|
|
973
973
|
idempotencyKey: string;
|
|
@@ -1031,13 +1031,13 @@ export declare const CancelGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
1031
1031
|
requestedAt?: string | undefined;
|
|
1032
1032
|
}>>;
|
|
1033
1033
|
}, "strict", z.ZodTypeAny, {
|
|
1034
|
-
kind: "cancel";
|
|
1035
1034
|
scope: {
|
|
1036
1035
|
schemaVersion: 1;
|
|
1037
1036
|
tenantId: string;
|
|
1038
1037
|
principalId: string;
|
|
1039
1038
|
workspaceId: string;
|
|
1040
1039
|
};
|
|
1040
|
+
kind: "cancel";
|
|
1041
1041
|
schemaVersion: 1;
|
|
1042
1042
|
idempotencyKey: string;
|
|
1043
1043
|
graphRunId: string;
|
|
@@ -1050,13 +1050,13 @@ export declare const CancelGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
1050
1050
|
requestedAt?: string | undefined;
|
|
1051
1051
|
} | undefined;
|
|
1052
1052
|
}, {
|
|
1053
|
-
kind: "cancel";
|
|
1054
1053
|
scope: {
|
|
1055
1054
|
schemaVersion: 1;
|
|
1056
1055
|
tenantId: string;
|
|
1057
1056
|
principalId: string;
|
|
1058
1057
|
workspaceId: string;
|
|
1059
1058
|
};
|
|
1059
|
+
kind: "cancel";
|
|
1060
1060
|
schemaVersion: 1;
|
|
1061
1061
|
idempotencyKey: string;
|
|
1062
1062
|
graphRunId: string;
|
|
@@ -1069,13 +1069,13 @@ export declare const CancelGraphRequest: z.ZodEffects<z.ZodObject<{
|
|
|
1069
1069
|
requestedAt?: string | undefined;
|
|
1070
1070
|
} | undefined;
|
|
1071
1071
|
}>, {
|
|
1072
|
-
kind: "cancel";
|
|
1073
1072
|
scope: {
|
|
1074
1073
|
schemaVersion: 1;
|
|
1075
1074
|
tenantId: string;
|
|
1076
1075
|
principalId: string;
|
|
1077
1076
|
workspaceId: string;
|
|
1078
1077
|
};
|
|
1078
|
+
kind: "cancel";
|
|
1079
1079
|
schemaVersion: 1;
|
|
1080
1080
|
idempotencyKey: string;
|
|
1081
1081
|
graphRunId: string;
|
|
@@ -1233,13 +1233,18 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1233
1233
|
requestedAt?: string | undefined;
|
|
1234
1234
|
}>>;
|
|
1235
1235
|
}, "strict", z.ZodTypeAny, {
|
|
1236
|
-
kind: "start";
|
|
1237
1236
|
scope: {
|
|
1238
1237
|
schemaVersion: 1;
|
|
1239
1238
|
tenantId: string;
|
|
1240
1239
|
principalId: string;
|
|
1241
1240
|
workspaceId: string;
|
|
1242
1241
|
};
|
|
1242
|
+
source: {
|
|
1243
|
+
product: "osstack" | "osbot" | "ostag";
|
|
1244
|
+
requestId: string;
|
|
1245
|
+
parentRunId?: string | undefined;
|
|
1246
|
+
};
|
|
1247
|
+
kind: "start";
|
|
1243
1248
|
schemaVersion: 1;
|
|
1244
1249
|
spec: {
|
|
1245
1250
|
input: {
|
|
@@ -1262,11 +1267,6 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1262
1267
|
publication: "artifact_only";
|
|
1263
1268
|
};
|
|
1264
1269
|
inputArtifactRef: string;
|
|
1265
|
-
source: {
|
|
1266
|
-
product: "osstack" | "osbot" | "ostag";
|
|
1267
|
-
requestId: string;
|
|
1268
|
-
parentRunId?: string | undefined;
|
|
1269
|
-
};
|
|
1270
1270
|
idempotencyKey: string;
|
|
1271
1271
|
metadata?: {
|
|
1272
1272
|
trace?: {
|
|
@@ -1276,13 +1276,18 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1276
1276
|
requestedAt?: string | undefined;
|
|
1277
1277
|
} | undefined;
|
|
1278
1278
|
}, {
|
|
1279
|
-
kind: "start";
|
|
1280
1279
|
scope: {
|
|
1281
1280
|
schemaVersion: 1;
|
|
1282
1281
|
tenantId: string;
|
|
1283
1282
|
principalId: string;
|
|
1284
1283
|
workspaceId: string;
|
|
1285
1284
|
};
|
|
1285
|
+
source: {
|
|
1286
|
+
product: "osstack" | "osbot" | "ostag";
|
|
1287
|
+
requestId: string;
|
|
1288
|
+
parentRunId?: string | undefined;
|
|
1289
|
+
};
|
|
1290
|
+
kind: "start";
|
|
1286
1291
|
schemaVersion: 1;
|
|
1287
1292
|
spec: {
|
|
1288
1293
|
input: {
|
|
@@ -1305,11 +1310,6 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1305
1310
|
publication: "artifact_only";
|
|
1306
1311
|
};
|
|
1307
1312
|
inputArtifactRef: string;
|
|
1308
|
-
source: {
|
|
1309
|
-
product: "osstack" | "osbot" | "ostag";
|
|
1310
|
-
requestId: string;
|
|
1311
|
-
parentRunId?: string | undefined;
|
|
1312
|
-
};
|
|
1313
1313
|
idempotencyKey: string;
|
|
1314
1314
|
metadata?: {
|
|
1315
1315
|
trace?: {
|
|
@@ -1337,13 +1337,13 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1337
1337
|
outcome: z.ZodEnum<["applied", "not_applied", "unknown"]>;
|
|
1338
1338
|
evidenceRefs: z.ZodArray<z.ZodString, "many">;
|
|
1339
1339
|
}, "strict", z.ZodTypeAny, {
|
|
1340
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
1340
1341
|
kind: "reconciliation";
|
|
1341
1342
|
evidenceRefs: string[];
|
|
1342
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
1343
1343
|
}, {
|
|
1344
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
1344
1345
|
kind: "reconciliation";
|
|
1345
1346
|
evidenceRefs: string[];
|
|
1346
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
1347
1347
|
}>]>;
|
|
1348
1348
|
schemaVersion: z.ZodLiteral<1>;
|
|
1349
1349
|
scope: z.ZodObject<{
|
|
@@ -1389,20 +1389,20 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1389
1389
|
requestedAt?: string | undefined;
|
|
1390
1390
|
}>>;
|
|
1391
1391
|
}, "strict", z.ZodTypeAny, {
|
|
1392
|
-
kind: "resume";
|
|
1393
1392
|
scope: {
|
|
1394
1393
|
schemaVersion: 1;
|
|
1395
1394
|
tenantId: string;
|
|
1396
1395
|
principalId: string;
|
|
1397
1396
|
workspaceId: string;
|
|
1398
1397
|
};
|
|
1398
|
+
kind: "resume";
|
|
1399
1399
|
input: {
|
|
1400
1400
|
value: GraphJsonValue;
|
|
1401
1401
|
kind: "data";
|
|
1402
1402
|
} | {
|
|
1403
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
1403
1404
|
kind: "reconciliation";
|
|
1404
1405
|
evidenceRefs: string[];
|
|
1405
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
1406
1406
|
};
|
|
1407
1407
|
schemaVersion: 1;
|
|
1408
1408
|
idempotencyKey: string;
|
|
@@ -1417,20 +1417,20 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1417
1417
|
requestedAt?: string | undefined;
|
|
1418
1418
|
} | undefined;
|
|
1419
1419
|
}, {
|
|
1420
|
-
kind: "resume";
|
|
1421
1420
|
scope: {
|
|
1422
1421
|
schemaVersion: 1;
|
|
1423
1422
|
tenantId: string;
|
|
1424
1423
|
principalId: string;
|
|
1425
1424
|
workspaceId: string;
|
|
1426
1425
|
};
|
|
1426
|
+
kind: "resume";
|
|
1427
1427
|
input: {
|
|
1428
1428
|
value: GraphJsonValue;
|
|
1429
1429
|
kind: "data";
|
|
1430
1430
|
} | {
|
|
1431
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
1431
1432
|
kind: "reconciliation";
|
|
1432
1433
|
evidenceRefs: string[];
|
|
1433
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
1434
1434
|
};
|
|
1435
1435
|
schemaVersion: 1;
|
|
1436
1436
|
idempotencyKey: string;
|
|
@@ -1492,13 +1492,13 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1492
1492
|
requestedAt?: string | undefined;
|
|
1493
1493
|
}>>;
|
|
1494
1494
|
}, "strict", z.ZodTypeAny, {
|
|
1495
|
-
kind: "cancel";
|
|
1496
1495
|
scope: {
|
|
1497
1496
|
schemaVersion: 1;
|
|
1498
1497
|
tenantId: string;
|
|
1499
1498
|
principalId: string;
|
|
1500
1499
|
workspaceId: string;
|
|
1501
1500
|
};
|
|
1501
|
+
kind: "cancel";
|
|
1502
1502
|
schemaVersion: 1;
|
|
1503
1503
|
idempotencyKey: string;
|
|
1504
1504
|
graphRunId: string;
|
|
@@ -1511,13 +1511,13 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1511
1511
|
requestedAt?: string | undefined;
|
|
1512
1512
|
} | undefined;
|
|
1513
1513
|
}, {
|
|
1514
|
-
kind: "cancel";
|
|
1515
1514
|
scope: {
|
|
1516
1515
|
schemaVersion: 1;
|
|
1517
1516
|
tenantId: string;
|
|
1518
1517
|
principalId: string;
|
|
1519
1518
|
workspaceId: string;
|
|
1520
1519
|
};
|
|
1520
|
+
kind: "cancel";
|
|
1521
1521
|
schemaVersion: 1;
|
|
1522
1522
|
idempotencyKey: string;
|
|
1523
1523
|
graphRunId: string;
|
|
@@ -1530,13 +1530,18 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1530
1530
|
requestedAt?: string | undefined;
|
|
1531
1531
|
} | undefined;
|
|
1532
1532
|
}>]>, {
|
|
1533
|
-
kind: "start";
|
|
1534
1533
|
scope: {
|
|
1535
1534
|
schemaVersion: 1;
|
|
1536
1535
|
tenantId: string;
|
|
1537
1536
|
principalId: string;
|
|
1538
1537
|
workspaceId: string;
|
|
1539
1538
|
};
|
|
1539
|
+
source: {
|
|
1540
|
+
product: "osstack" | "osbot" | "ostag";
|
|
1541
|
+
requestId: string;
|
|
1542
|
+
parentRunId?: string | undefined;
|
|
1543
|
+
};
|
|
1544
|
+
kind: "start";
|
|
1540
1545
|
schemaVersion: 1;
|
|
1541
1546
|
spec: {
|
|
1542
1547
|
input: {
|
|
@@ -1559,11 +1564,6 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1559
1564
|
publication: "artifact_only";
|
|
1560
1565
|
};
|
|
1561
1566
|
inputArtifactRef: string;
|
|
1562
|
-
source: {
|
|
1563
|
-
product: "osstack" | "osbot" | "ostag";
|
|
1564
|
-
requestId: string;
|
|
1565
|
-
parentRunId?: string | undefined;
|
|
1566
|
-
};
|
|
1567
1567
|
idempotencyKey: string;
|
|
1568
1568
|
metadata?: {
|
|
1569
1569
|
trace?: {
|
|
@@ -1573,20 +1573,20 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1573
1573
|
requestedAt?: string | undefined;
|
|
1574
1574
|
} | undefined;
|
|
1575
1575
|
} | {
|
|
1576
|
-
kind: "resume";
|
|
1577
1576
|
scope: {
|
|
1578
1577
|
schemaVersion: 1;
|
|
1579
1578
|
tenantId: string;
|
|
1580
1579
|
principalId: string;
|
|
1581
1580
|
workspaceId: string;
|
|
1582
1581
|
};
|
|
1582
|
+
kind: "resume";
|
|
1583
1583
|
input: {
|
|
1584
1584
|
value: GraphJsonValue;
|
|
1585
1585
|
kind: "data";
|
|
1586
1586
|
} | {
|
|
1587
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
1587
1588
|
kind: "reconciliation";
|
|
1588
1589
|
evidenceRefs: string[];
|
|
1589
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
1590
1590
|
};
|
|
1591
1591
|
schemaVersion: 1;
|
|
1592
1592
|
idempotencyKey: string;
|
|
@@ -1601,13 +1601,13 @@ export declare const GraphRequest: z.ZodEffects<z.ZodDiscriminatedUnion<"kind",
|
|
|
1601
1601
|
requestedAt?: string | undefined;
|
|
1602
1602
|
} | undefined;
|
|
1603
1603
|
} | {
|
|
1604
|
-
kind: "cancel";
|
|
1605
1604
|
scope: {
|
|
1606
1605
|
schemaVersion: 1;
|
|
1607
1606
|
tenantId: string;
|
|
1608
1607
|
principalId: string;
|
|
1609
1608
|
workspaceId: string;
|
|
1610
1609
|
};
|
|
1610
|
+
kind: "cancel";
|
|
1611
1611
|
schemaVersion: 1;
|
|
1612
1612
|
idempotencyKey: string;
|
|
1613
1613
|
graphRunId: string;
|
|
@@ -1869,13 +1869,13 @@ export declare const WorkerActionRequest: z.ZodEffects<z.ZodObject<{
|
|
|
1869
1869
|
kind: "workspace_release";
|
|
1870
1870
|
workspaceLeaseRef: string;
|
|
1871
1871
|
};
|
|
1872
|
-
kind: "worker_action";
|
|
1873
1872
|
scope: {
|
|
1874
1873
|
schemaVersion: 1;
|
|
1875
1874
|
tenantId: string;
|
|
1876
1875
|
principalId: string;
|
|
1877
1876
|
workspaceId: string;
|
|
1878
1877
|
};
|
|
1878
|
+
kind: "worker_action";
|
|
1879
1879
|
schemaVersion: 1;
|
|
1880
1880
|
nodeId: string;
|
|
1881
1881
|
epoch: number;
|
|
@@ -1924,13 +1924,13 @@ export declare const WorkerActionRequest: z.ZodEffects<z.ZodObject<{
|
|
|
1924
1924
|
kind: "workspace_release";
|
|
1925
1925
|
workspaceLeaseRef: string;
|
|
1926
1926
|
};
|
|
1927
|
-
kind: "worker_action";
|
|
1928
1927
|
scope: {
|
|
1929
1928
|
schemaVersion: 1;
|
|
1930
1929
|
tenantId: string;
|
|
1931
1930
|
principalId: string;
|
|
1932
1931
|
workspaceId: string;
|
|
1933
1932
|
};
|
|
1933
|
+
kind: "worker_action";
|
|
1934
1934
|
schemaVersion: 1;
|
|
1935
1935
|
nodeId: string;
|
|
1936
1936
|
epoch: number;
|
|
@@ -1979,13 +1979,13 @@ export declare const WorkerActionRequest: z.ZodEffects<z.ZodObject<{
|
|
|
1979
1979
|
kind: "workspace_release";
|
|
1980
1980
|
workspaceLeaseRef: string;
|
|
1981
1981
|
};
|
|
1982
|
-
kind: "worker_action";
|
|
1983
1982
|
scope: {
|
|
1984
1983
|
schemaVersion: 1;
|
|
1985
1984
|
tenantId: string;
|
|
1986
1985
|
principalId: string;
|
|
1987
1986
|
workspaceId: string;
|
|
1988
1987
|
};
|
|
1988
|
+
kind: "worker_action";
|
|
1989
1989
|
schemaVersion: 1;
|
|
1990
1990
|
nodeId: string;
|
|
1991
1991
|
epoch: number;
|
|
@@ -2104,17 +2104,17 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2104
2104
|
schemaVersion: z.ZodLiteral<1>;
|
|
2105
2105
|
kind: z.ZodLiteral<"review">;
|
|
2106
2106
|
}, "strict", z.ZodTypeAny, {
|
|
2107
|
+
verdict: "changes_requested" | "accept";
|
|
2107
2108
|
kind: "review";
|
|
2108
2109
|
schemaVersion: 1;
|
|
2109
2110
|
candidateRevision: string;
|
|
2110
|
-
verdict: "accept" | "changes_requested";
|
|
2111
2111
|
evidenceRefs: string[];
|
|
2112
2112
|
evidenceDigest: string;
|
|
2113
2113
|
}, {
|
|
2114
|
+
verdict: "changes_requested" | "accept";
|
|
2114
2115
|
kind: "review";
|
|
2115
2116
|
schemaVersion: 1;
|
|
2116
2117
|
candidateRevision: string;
|
|
2117
|
-
verdict: "accept" | "changes_requested";
|
|
2118
2118
|
evidenceRefs: string[];
|
|
2119
2119
|
evidenceDigest: string;
|
|
2120
2120
|
}>, z.ZodObject<{
|
|
@@ -2179,6 +2179,7 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2179
2179
|
receiptRef: string;
|
|
2180
2180
|
}>]>;
|
|
2181
2181
|
}, "strict", z.ZodTypeAny, {
|
|
2182
|
+
state: "confirmed";
|
|
2182
2183
|
result: {
|
|
2183
2184
|
kind: "implementation_complete";
|
|
2184
2185
|
schemaVersion: 1;
|
|
@@ -2191,10 +2192,10 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2191
2192
|
artifactRefs: string[];
|
|
2192
2193
|
artifactDigest: string;
|
|
2193
2194
|
} | {
|
|
2195
|
+
verdict: "changes_requested" | "accept";
|
|
2194
2196
|
kind: "review";
|
|
2195
2197
|
schemaVersion: 1;
|
|
2196
2198
|
candidateRevision: string;
|
|
2197
|
-
verdict: "accept" | "changes_requested";
|
|
2198
2199
|
evidenceRefs: string[];
|
|
2199
2200
|
evidenceDigest: string;
|
|
2200
2201
|
} | {
|
|
@@ -2218,8 +2219,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2218
2219
|
workspaceLeaseRef: string;
|
|
2219
2220
|
receiptRef: string;
|
|
2220
2221
|
};
|
|
2221
|
-
state: "confirmed";
|
|
2222
2222
|
}, {
|
|
2223
|
+
state: "confirmed";
|
|
2223
2224
|
result: {
|
|
2224
2225
|
kind: "implementation_complete";
|
|
2225
2226
|
schemaVersion: 1;
|
|
@@ -2232,10 +2233,10 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2232
2233
|
artifactRefs: string[];
|
|
2233
2234
|
artifactDigest: string;
|
|
2234
2235
|
} | {
|
|
2236
|
+
verdict: "changes_requested" | "accept";
|
|
2235
2237
|
kind: "review";
|
|
2236
2238
|
schemaVersion: 1;
|
|
2237
2239
|
candidateRevision: string;
|
|
2238
|
-
verdict: "accept" | "changes_requested";
|
|
2239
2240
|
evidenceRefs: string[];
|
|
2240
2241
|
evidenceDigest: string;
|
|
2241
2242
|
} | {
|
|
@@ -2259,7 +2260,6 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2259
2260
|
workspaceLeaseRef: string;
|
|
2260
2261
|
receiptRef: string;
|
|
2261
2262
|
};
|
|
2262
|
-
state: "confirmed";
|
|
2263
2263
|
}>, z.ZodObject<{
|
|
2264
2264
|
state: z.ZodLiteral<"intent">;
|
|
2265
2265
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2333,6 +2333,7 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2333
2333
|
actionId?: string | undefined;
|
|
2334
2334
|
}>]>;
|
|
2335
2335
|
}, "strict", z.ZodTypeAny, {
|
|
2336
|
+
state: "failed";
|
|
2336
2337
|
error: {
|
|
2337
2338
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2338
2339
|
message: string;
|
|
@@ -2352,8 +2353,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2352
2353
|
epoch?: number | undefined;
|
|
2353
2354
|
actionId?: string | undefined;
|
|
2354
2355
|
};
|
|
2355
|
-
state: "failed";
|
|
2356
2356
|
}, {
|
|
2357
|
+
state: "failed";
|
|
2357
2358
|
error: {
|
|
2358
2359
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2359
2360
|
message: string;
|
|
@@ -2373,7 +2374,6 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2373
2374
|
epoch?: number | undefined;
|
|
2374
2375
|
actionId?: string | undefined;
|
|
2375
2376
|
};
|
|
2376
|
-
state: "failed";
|
|
2377
2377
|
}>, z.ZodObject<{
|
|
2378
2378
|
state: z.ZodLiteral<"unknown">;
|
|
2379
2379
|
error: z.ZodUnion<[z.ZodObject<{
|
|
@@ -2460,6 +2460,7 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2460
2460
|
}>]>;
|
|
2461
2461
|
reconciliationRef: z.ZodString;
|
|
2462
2462
|
}, "strict", z.ZodTypeAny, {
|
|
2463
|
+
state: "unknown";
|
|
2463
2464
|
error: {
|
|
2464
2465
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2465
2466
|
message: string;
|
|
@@ -2488,9 +2489,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2488
2489
|
epoch?: number | undefined;
|
|
2489
2490
|
actionId?: string | undefined;
|
|
2490
2491
|
};
|
|
2491
|
-
state: "unknown";
|
|
2492
2492
|
reconciliationRef: string;
|
|
2493
2493
|
}, {
|
|
2494
|
+
state: "unknown";
|
|
2494
2495
|
error: {
|
|
2495
2496
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2496
2497
|
message: string;
|
|
@@ -2519,7 +2520,6 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2519
2520
|
epoch?: number | undefined;
|
|
2520
2521
|
actionId?: string | undefined;
|
|
2521
2522
|
};
|
|
2522
|
-
state: "unknown";
|
|
2523
2523
|
reconciliationRef: string;
|
|
2524
2524
|
}>, z.ZodObject<{
|
|
2525
2525
|
state: z.ZodLiteral<"cancel_pending">;
|
|
@@ -2607,6 +2607,7 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2607
2607
|
}>]>;
|
|
2608
2608
|
executionRef: z.ZodString;
|
|
2609
2609
|
}, "strict", z.ZodTypeAny, {
|
|
2610
|
+
state: "cancel_pending";
|
|
2610
2611
|
error: {
|
|
2611
2612
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2612
2613
|
message: string;
|
|
@@ -2635,9 +2636,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2635
2636
|
epoch?: number | undefined;
|
|
2636
2637
|
actionId?: string | undefined;
|
|
2637
2638
|
};
|
|
2638
|
-
state: "cancel_pending";
|
|
2639
2639
|
executionRef: string;
|
|
2640
2640
|
}, {
|
|
2641
|
+
state: "cancel_pending";
|
|
2641
2642
|
error: {
|
|
2642
2643
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2643
2644
|
message: string;
|
|
@@ -2666,7 +2667,6 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2666
2667
|
epoch?: number | undefined;
|
|
2667
2668
|
actionId?: string | undefined;
|
|
2668
2669
|
};
|
|
2669
|
-
state: "cancel_pending";
|
|
2670
2670
|
executionRef: string;
|
|
2671
2671
|
}>, z.ZodObject<{
|
|
2672
2672
|
state: z.ZodLiteral<"reconciliation_required">;
|
|
@@ -2754,6 +2754,7 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2754
2754
|
}>]>;
|
|
2755
2755
|
reconciliationRef: z.ZodString;
|
|
2756
2756
|
}, "strict", z.ZodTypeAny, {
|
|
2757
|
+
state: "reconciliation_required";
|
|
2757
2758
|
error: {
|
|
2758
2759
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2759
2760
|
message: string;
|
|
@@ -2782,9 +2783,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2782
2783
|
epoch?: number | undefined;
|
|
2783
2784
|
actionId?: string | undefined;
|
|
2784
2785
|
};
|
|
2785
|
-
state: "reconciliation_required";
|
|
2786
2786
|
reconciliationRef: string;
|
|
2787
2787
|
}, {
|
|
2788
|
+
state: "reconciliation_required";
|
|
2788
2789
|
error: {
|
|
2789
2790
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2790
2791
|
message: string;
|
|
@@ -2813,17 +2814,16 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2813
2814
|
epoch?: number | undefined;
|
|
2814
2815
|
actionId?: string | undefined;
|
|
2815
2816
|
};
|
|
2816
|
-
state: "reconciliation_required";
|
|
2817
2817
|
reconciliationRef: string;
|
|
2818
2818
|
}>, z.ZodObject<{
|
|
2819
2819
|
state: z.ZodLiteral<"cancelled">;
|
|
2820
2820
|
receiptRef: z.ZodString;
|
|
2821
2821
|
}, "strict", z.ZodTypeAny, {
|
|
2822
|
-
receiptRef: string;
|
|
2823
2822
|
state: "cancelled";
|
|
2824
|
-
}, {
|
|
2825
2823
|
receiptRef: string;
|
|
2824
|
+
}, {
|
|
2826
2825
|
state: "cancelled";
|
|
2826
|
+
receiptRef: string;
|
|
2827
2827
|
}>]>;
|
|
2828
2828
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
2829
2829
|
trace: z.ZodOptional<z.ZodObject<{
|
|
@@ -2851,10 +2851,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2851
2851
|
requestedAt?: string | undefined;
|
|
2852
2852
|
}>>;
|
|
2853
2853
|
}, "strict", z.ZodTypeAny, {
|
|
2854
|
-
kind: "worker_action_response";
|
|
2855
|
-
schemaVersion: 1;
|
|
2856
|
-
requestId: string;
|
|
2857
2854
|
outcome: {
|
|
2855
|
+
state: "confirmed";
|
|
2858
2856
|
result: {
|
|
2859
2857
|
kind: "implementation_complete";
|
|
2860
2858
|
schemaVersion: 1;
|
|
@@ -2867,10 +2865,10 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2867
2865
|
artifactRefs: string[];
|
|
2868
2866
|
artifactDigest: string;
|
|
2869
2867
|
} | {
|
|
2868
|
+
verdict: "changes_requested" | "accept";
|
|
2870
2869
|
kind: "review";
|
|
2871
2870
|
schemaVersion: 1;
|
|
2872
2871
|
candidateRevision: string;
|
|
2873
|
-
verdict: "accept" | "changes_requested";
|
|
2874
2872
|
evidenceRefs: string[];
|
|
2875
2873
|
evidenceDigest: string;
|
|
2876
2874
|
} | {
|
|
@@ -2894,13 +2892,13 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2894
2892
|
workspaceLeaseRef: string;
|
|
2895
2893
|
receiptRef: string;
|
|
2896
2894
|
};
|
|
2897
|
-
state: "confirmed";
|
|
2898
2895
|
} | {
|
|
2899
2896
|
state: "intent";
|
|
2900
2897
|
} | {
|
|
2901
2898
|
state: "running";
|
|
2902
2899
|
executionRef: string;
|
|
2903
2900
|
} | {
|
|
2901
|
+
state: "failed";
|
|
2904
2902
|
error: {
|
|
2905
2903
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2906
2904
|
message: string;
|
|
@@ -2920,8 +2918,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2920
2918
|
epoch?: number | undefined;
|
|
2921
2919
|
actionId?: string | undefined;
|
|
2922
2920
|
};
|
|
2923
|
-
state: "failed";
|
|
2924
2921
|
} | {
|
|
2922
|
+
state: "unknown";
|
|
2925
2923
|
error: {
|
|
2926
2924
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2927
2925
|
message: string;
|
|
@@ -2950,9 +2948,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2950
2948
|
epoch?: number | undefined;
|
|
2951
2949
|
actionId?: string | undefined;
|
|
2952
2950
|
};
|
|
2953
|
-
state: "unknown";
|
|
2954
2951
|
reconciliationRef: string;
|
|
2955
2952
|
} | {
|
|
2953
|
+
state: "cancel_pending";
|
|
2956
2954
|
error: {
|
|
2957
2955
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2958
2956
|
message: string;
|
|
@@ -2981,9 +2979,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
2981
2979
|
epoch?: number | undefined;
|
|
2982
2980
|
actionId?: string | undefined;
|
|
2983
2981
|
};
|
|
2984
|
-
state: "cancel_pending";
|
|
2985
2982
|
executionRef: string;
|
|
2986
2983
|
} | {
|
|
2984
|
+
state: "reconciliation_required";
|
|
2987
2985
|
error: {
|
|
2988
2986
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
2989
2987
|
message: string;
|
|
@@ -3012,12 +3010,14 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3012
3010
|
epoch?: number | undefined;
|
|
3013
3011
|
actionId?: string | undefined;
|
|
3014
3012
|
};
|
|
3015
|
-
state: "reconciliation_required";
|
|
3016
3013
|
reconciliationRef: string;
|
|
3017
3014
|
} | {
|
|
3018
|
-
receiptRef: string;
|
|
3019
3015
|
state: "cancelled";
|
|
3016
|
+
receiptRef: string;
|
|
3020
3017
|
};
|
|
3018
|
+
kind: "worker_action_response";
|
|
3019
|
+
schemaVersion: 1;
|
|
3020
|
+
requestId: string;
|
|
3021
3021
|
generation: number;
|
|
3022
3022
|
effect: {
|
|
3023
3023
|
scope: {
|
|
@@ -3042,10 +3042,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3042
3042
|
requestedAt?: string | undefined;
|
|
3043
3043
|
} | undefined;
|
|
3044
3044
|
}, {
|
|
3045
|
-
kind: "worker_action_response";
|
|
3046
|
-
schemaVersion: 1;
|
|
3047
|
-
requestId: string;
|
|
3048
3045
|
outcome: {
|
|
3046
|
+
state: "confirmed";
|
|
3049
3047
|
result: {
|
|
3050
3048
|
kind: "implementation_complete";
|
|
3051
3049
|
schemaVersion: 1;
|
|
@@ -3058,10 +3056,10 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3058
3056
|
artifactRefs: string[];
|
|
3059
3057
|
artifactDigest: string;
|
|
3060
3058
|
} | {
|
|
3059
|
+
verdict: "changes_requested" | "accept";
|
|
3061
3060
|
kind: "review";
|
|
3062
3061
|
schemaVersion: 1;
|
|
3063
3062
|
candidateRevision: string;
|
|
3064
|
-
verdict: "accept" | "changes_requested";
|
|
3065
3063
|
evidenceRefs: string[];
|
|
3066
3064
|
evidenceDigest: string;
|
|
3067
3065
|
} | {
|
|
@@ -3085,13 +3083,13 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3085
3083
|
workspaceLeaseRef: string;
|
|
3086
3084
|
receiptRef: string;
|
|
3087
3085
|
};
|
|
3088
|
-
state: "confirmed";
|
|
3089
3086
|
} | {
|
|
3090
3087
|
state: "intent";
|
|
3091
3088
|
} | {
|
|
3092
3089
|
state: "running";
|
|
3093
3090
|
executionRef: string;
|
|
3094
3091
|
} | {
|
|
3092
|
+
state: "failed";
|
|
3095
3093
|
error: {
|
|
3096
3094
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3097
3095
|
message: string;
|
|
@@ -3111,8 +3109,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3111
3109
|
epoch?: number | undefined;
|
|
3112
3110
|
actionId?: string | undefined;
|
|
3113
3111
|
};
|
|
3114
|
-
state: "failed";
|
|
3115
3112
|
} | {
|
|
3113
|
+
state: "unknown";
|
|
3116
3114
|
error: {
|
|
3117
3115
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3118
3116
|
message: string;
|
|
@@ -3141,9 +3139,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3141
3139
|
epoch?: number | undefined;
|
|
3142
3140
|
actionId?: string | undefined;
|
|
3143
3141
|
};
|
|
3144
|
-
state: "unknown";
|
|
3145
3142
|
reconciliationRef: string;
|
|
3146
3143
|
} | {
|
|
3144
|
+
state: "cancel_pending";
|
|
3147
3145
|
error: {
|
|
3148
3146
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3149
3147
|
message: string;
|
|
@@ -3172,9 +3170,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3172
3170
|
epoch?: number | undefined;
|
|
3173
3171
|
actionId?: string | undefined;
|
|
3174
3172
|
};
|
|
3175
|
-
state: "cancel_pending";
|
|
3176
3173
|
executionRef: string;
|
|
3177
3174
|
} | {
|
|
3175
|
+
state: "reconciliation_required";
|
|
3178
3176
|
error: {
|
|
3179
3177
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3180
3178
|
message: string;
|
|
@@ -3203,12 +3201,14 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3203
3201
|
epoch?: number | undefined;
|
|
3204
3202
|
actionId?: string | undefined;
|
|
3205
3203
|
};
|
|
3206
|
-
state: "reconciliation_required";
|
|
3207
3204
|
reconciliationRef: string;
|
|
3208
3205
|
} | {
|
|
3209
|
-
receiptRef: string;
|
|
3210
3206
|
state: "cancelled";
|
|
3207
|
+
receiptRef: string;
|
|
3211
3208
|
};
|
|
3209
|
+
kind: "worker_action_response";
|
|
3210
|
+
schemaVersion: 1;
|
|
3211
|
+
requestId: string;
|
|
3212
3212
|
generation: number;
|
|
3213
3213
|
effect: {
|
|
3214
3214
|
scope: {
|
|
@@ -3383,10 +3383,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3383
3383
|
schemaVersion: 1;
|
|
3384
3384
|
requestId: string;
|
|
3385
3385
|
}>]>, {
|
|
3386
|
-
kind: "worker_action_response";
|
|
3387
|
-
schemaVersion: 1;
|
|
3388
|
-
requestId: string;
|
|
3389
3386
|
outcome: {
|
|
3387
|
+
state: "confirmed";
|
|
3390
3388
|
result: {
|
|
3391
3389
|
kind: "implementation_complete";
|
|
3392
3390
|
schemaVersion: 1;
|
|
@@ -3399,10 +3397,10 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3399
3397
|
artifactRefs: string[];
|
|
3400
3398
|
artifactDigest: string;
|
|
3401
3399
|
} | {
|
|
3400
|
+
verdict: "changes_requested" | "accept";
|
|
3402
3401
|
kind: "review";
|
|
3403
3402
|
schemaVersion: 1;
|
|
3404
3403
|
candidateRevision: string;
|
|
3405
|
-
verdict: "accept" | "changes_requested";
|
|
3406
3404
|
evidenceRefs: string[];
|
|
3407
3405
|
evidenceDigest: string;
|
|
3408
3406
|
} | {
|
|
@@ -3426,13 +3424,13 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3426
3424
|
workspaceLeaseRef: string;
|
|
3427
3425
|
receiptRef: string;
|
|
3428
3426
|
};
|
|
3429
|
-
state: "confirmed";
|
|
3430
3427
|
} | {
|
|
3431
3428
|
state: "intent";
|
|
3432
3429
|
} | {
|
|
3433
3430
|
state: "running";
|
|
3434
3431
|
executionRef: string;
|
|
3435
3432
|
} | {
|
|
3433
|
+
state: "failed";
|
|
3436
3434
|
error: {
|
|
3437
3435
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3438
3436
|
message: string;
|
|
@@ -3452,8 +3450,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3452
3450
|
epoch?: number | undefined;
|
|
3453
3451
|
actionId?: string | undefined;
|
|
3454
3452
|
};
|
|
3455
|
-
state: "failed";
|
|
3456
3453
|
} | {
|
|
3454
|
+
state: "unknown";
|
|
3457
3455
|
error: {
|
|
3458
3456
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3459
3457
|
message: string;
|
|
@@ -3482,9 +3480,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3482
3480
|
epoch?: number | undefined;
|
|
3483
3481
|
actionId?: string | undefined;
|
|
3484
3482
|
};
|
|
3485
|
-
state: "unknown";
|
|
3486
3483
|
reconciliationRef: string;
|
|
3487
3484
|
} | {
|
|
3485
|
+
state: "cancel_pending";
|
|
3488
3486
|
error: {
|
|
3489
3487
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3490
3488
|
message: string;
|
|
@@ -3513,9 +3511,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3513
3511
|
epoch?: number | undefined;
|
|
3514
3512
|
actionId?: string | undefined;
|
|
3515
3513
|
};
|
|
3516
|
-
state: "cancel_pending";
|
|
3517
3514
|
executionRef: string;
|
|
3518
3515
|
} | {
|
|
3516
|
+
state: "reconciliation_required";
|
|
3519
3517
|
error: {
|
|
3520
3518
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3521
3519
|
message: string;
|
|
@@ -3544,12 +3542,14 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3544
3542
|
epoch?: number | undefined;
|
|
3545
3543
|
actionId?: string | undefined;
|
|
3546
3544
|
};
|
|
3547
|
-
state: "reconciliation_required";
|
|
3548
3545
|
reconciliationRef: string;
|
|
3549
3546
|
} | {
|
|
3550
|
-
receiptRef: string;
|
|
3551
3547
|
state: "cancelled";
|
|
3548
|
+
receiptRef: string;
|
|
3552
3549
|
};
|
|
3550
|
+
kind: "worker_action_response";
|
|
3551
|
+
schemaVersion: 1;
|
|
3552
|
+
requestId: string;
|
|
3553
3553
|
generation: number;
|
|
3554
3554
|
effect: {
|
|
3555
3555
|
scope: {
|
|
@@ -3606,10 +3606,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3606
3606
|
schemaVersion: 1;
|
|
3607
3607
|
requestId: string;
|
|
3608
3608
|
}, {
|
|
3609
|
-
kind: "worker_action_response";
|
|
3610
|
-
schemaVersion: 1;
|
|
3611
|
-
requestId: string;
|
|
3612
3609
|
outcome: {
|
|
3610
|
+
state: "confirmed";
|
|
3613
3611
|
result: {
|
|
3614
3612
|
kind: "implementation_complete";
|
|
3615
3613
|
schemaVersion: 1;
|
|
@@ -3622,10 +3620,10 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3622
3620
|
artifactRefs: string[];
|
|
3623
3621
|
artifactDigest: string;
|
|
3624
3622
|
} | {
|
|
3623
|
+
verdict: "changes_requested" | "accept";
|
|
3625
3624
|
kind: "review";
|
|
3626
3625
|
schemaVersion: 1;
|
|
3627
3626
|
candidateRevision: string;
|
|
3628
|
-
verdict: "accept" | "changes_requested";
|
|
3629
3627
|
evidenceRefs: string[];
|
|
3630
3628
|
evidenceDigest: string;
|
|
3631
3629
|
} | {
|
|
@@ -3649,13 +3647,13 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3649
3647
|
workspaceLeaseRef: string;
|
|
3650
3648
|
receiptRef: string;
|
|
3651
3649
|
};
|
|
3652
|
-
state: "confirmed";
|
|
3653
3650
|
} | {
|
|
3654
3651
|
state: "intent";
|
|
3655
3652
|
} | {
|
|
3656
3653
|
state: "running";
|
|
3657
3654
|
executionRef: string;
|
|
3658
3655
|
} | {
|
|
3656
|
+
state: "failed";
|
|
3659
3657
|
error: {
|
|
3660
3658
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3661
3659
|
message: string;
|
|
@@ -3675,8 +3673,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3675
3673
|
epoch?: number | undefined;
|
|
3676
3674
|
actionId?: string | undefined;
|
|
3677
3675
|
};
|
|
3678
|
-
state: "failed";
|
|
3679
3676
|
} | {
|
|
3677
|
+
state: "unknown";
|
|
3680
3678
|
error: {
|
|
3681
3679
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3682
3680
|
message: string;
|
|
@@ -3705,9 +3703,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3705
3703
|
epoch?: number | undefined;
|
|
3706
3704
|
actionId?: string | undefined;
|
|
3707
3705
|
};
|
|
3708
|
-
state: "unknown";
|
|
3709
3706
|
reconciliationRef: string;
|
|
3710
3707
|
} | {
|
|
3708
|
+
state: "cancel_pending";
|
|
3711
3709
|
error: {
|
|
3712
3710
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3713
3711
|
message: string;
|
|
@@ -3736,9 +3734,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3736
3734
|
epoch?: number | undefined;
|
|
3737
3735
|
actionId?: string | undefined;
|
|
3738
3736
|
};
|
|
3739
|
-
state: "cancel_pending";
|
|
3740
3737
|
executionRef: string;
|
|
3741
3738
|
} | {
|
|
3739
|
+
state: "reconciliation_required";
|
|
3742
3740
|
error: {
|
|
3743
3741
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3744
3742
|
message: string;
|
|
@@ -3767,12 +3765,14 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3767
3765
|
epoch?: number | undefined;
|
|
3768
3766
|
actionId?: string | undefined;
|
|
3769
3767
|
};
|
|
3770
|
-
state: "reconciliation_required";
|
|
3771
3768
|
reconciliationRef: string;
|
|
3772
3769
|
} | {
|
|
3773
|
-
receiptRef: string;
|
|
3774
3770
|
state: "cancelled";
|
|
3771
|
+
receiptRef: string;
|
|
3775
3772
|
};
|
|
3773
|
+
kind: "worker_action_response";
|
|
3774
|
+
schemaVersion: 1;
|
|
3775
|
+
requestId: string;
|
|
3776
3776
|
generation: number;
|
|
3777
3777
|
effect: {
|
|
3778
3778
|
scope: {
|
|
@@ -3829,10 +3829,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3829
3829
|
schemaVersion: 1;
|
|
3830
3830
|
requestId: string;
|
|
3831
3831
|
}>, {
|
|
3832
|
-
kind: "worker_action_response";
|
|
3833
|
-
schemaVersion: 1;
|
|
3834
|
-
requestId: string;
|
|
3835
3832
|
outcome: {
|
|
3833
|
+
state: "confirmed";
|
|
3836
3834
|
result: {
|
|
3837
3835
|
kind: "implementation_complete";
|
|
3838
3836
|
schemaVersion: 1;
|
|
@@ -3845,10 +3843,10 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3845
3843
|
artifactRefs: string[];
|
|
3846
3844
|
artifactDigest: string;
|
|
3847
3845
|
} | {
|
|
3846
|
+
verdict: "changes_requested" | "accept";
|
|
3848
3847
|
kind: "review";
|
|
3849
3848
|
schemaVersion: 1;
|
|
3850
3849
|
candidateRevision: string;
|
|
3851
|
-
verdict: "accept" | "changes_requested";
|
|
3852
3850
|
evidenceRefs: string[];
|
|
3853
3851
|
evidenceDigest: string;
|
|
3854
3852
|
} | {
|
|
@@ -3872,13 +3870,13 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3872
3870
|
workspaceLeaseRef: string;
|
|
3873
3871
|
receiptRef: string;
|
|
3874
3872
|
};
|
|
3875
|
-
state: "confirmed";
|
|
3876
3873
|
} | {
|
|
3877
3874
|
state: "intent";
|
|
3878
3875
|
} | {
|
|
3879
3876
|
state: "running";
|
|
3880
3877
|
executionRef: string;
|
|
3881
3878
|
} | {
|
|
3879
|
+
state: "failed";
|
|
3882
3880
|
error: {
|
|
3883
3881
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3884
3882
|
message: string;
|
|
@@ -3898,8 +3896,8 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3898
3896
|
epoch?: number | undefined;
|
|
3899
3897
|
actionId?: string | undefined;
|
|
3900
3898
|
};
|
|
3901
|
-
state: "failed";
|
|
3902
3899
|
} | {
|
|
3900
|
+
state: "unknown";
|
|
3903
3901
|
error: {
|
|
3904
3902
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3905
3903
|
message: string;
|
|
@@ -3928,9 +3926,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3928
3926
|
epoch?: number | undefined;
|
|
3929
3927
|
actionId?: string | undefined;
|
|
3930
3928
|
};
|
|
3931
|
-
state: "unknown";
|
|
3932
3929
|
reconciliationRef: string;
|
|
3933
3930
|
} | {
|
|
3931
|
+
state: "cancel_pending";
|
|
3934
3932
|
error: {
|
|
3935
3933
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3936
3934
|
message: string;
|
|
@@ -3959,9 +3957,9 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3959
3957
|
epoch?: number | undefined;
|
|
3960
3958
|
actionId?: string | undefined;
|
|
3961
3959
|
};
|
|
3962
|
-
state: "cancel_pending";
|
|
3963
3960
|
executionRef: string;
|
|
3964
3961
|
} | {
|
|
3962
|
+
state: "reconciliation_required";
|
|
3965
3963
|
error: {
|
|
3966
3964
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
3967
3965
|
message: string;
|
|
@@ -3990,12 +3988,14 @@ export declare const WorkerActionResponse: z.ZodEffects<z.ZodEffects<z.ZodDiscri
|
|
|
3990
3988
|
epoch?: number | undefined;
|
|
3991
3989
|
actionId?: string | undefined;
|
|
3992
3990
|
};
|
|
3993
|
-
state: "reconciliation_required";
|
|
3994
3991
|
reconciliationRef: string;
|
|
3995
3992
|
} | {
|
|
3996
|
-
receiptRef: string;
|
|
3997
3993
|
state: "cancelled";
|
|
3994
|
+
receiptRef: string;
|
|
3998
3995
|
};
|
|
3996
|
+
kind: "worker_action_response";
|
|
3997
|
+
schemaVersion: 1;
|
|
3998
|
+
requestId: string;
|
|
3999
3999
|
generation: number;
|
|
4000
4000
|
effect: {
|
|
4001
4001
|
scope: {
|
|
@@ -4310,6 +4310,22 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4310
4310
|
specHash: z.ZodString;
|
|
4311
4311
|
createdAt: z.ZodNumber;
|
|
4312
4312
|
updatedAt: z.ZodNumber;
|
|
4313
|
+
admissionBinding: z.ZodOptional<z.ZodObject<{
|
|
4314
|
+
requestInputDigest: z.ZodString;
|
|
4315
|
+
hostInputDigest: z.ZodString;
|
|
4316
|
+
contractDigest: z.ZodString;
|
|
4317
|
+
policyDigest: z.ZodString;
|
|
4318
|
+
}, "strict", z.ZodTypeAny, {
|
|
4319
|
+
requestInputDigest: string;
|
|
4320
|
+
hostInputDigest: string;
|
|
4321
|
+
contractDigest: string;
|
|
4322
|
+
policyDigest: string;
|
|
4323
|
+
}, {
|
|
4324
|
+
requestInputDigest: string;
|
|
4325
|
+
hostInputDigest: string;
|
|
4326
|
+
contractDigest: string;
|
|
4327
|
+
policyDigest: string;
|
|
4328
|
+
}>>;
|
|
4313
4329
|
publication: z.ZodLiteral<"artifact_only">;
|
|
4314
4330
|
phase: z.ZodString;
|
|
4315
4331
|
budget: z.ZodObject<{
|
|
@@ -4404,22 +4420,22 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4404
4420
|
}>;
|
|
4405
4421
|
requestRef: z.ZodString;
|
|
4406
4422
|
}, "strict", z.ZodTypeAny, {
|
|
4407
|
-
kind: "needs_authorization";
|
|
4408
4423
|
scope: {
|
|
4409
4424
|
schemaVersion: 1;
|
|
4410
4425
|
tenantId: string;
|
|
4411
4426
|
principalId: string;
|
|
4412
4427
|
workspaceId: string;
|
|
4413
4428
|
};
|
|
4429
|
+
kind: "needs_authorization";
|
|
4414
4430
|
requestRef: string;
|
|
4415
4431
|
}, {
|
|
4416
|
-
kind: "needs_authorization";
|
|
4417
4432
|
scope: {
|
|
4418
4433
|
schemaVersion: 1;
|
|
4419
4434
|
tenantId: string;
|
|
4420
4435
|
principalId: string;
|
|
4421
4436
|
workspaceId: string;
|
|
4422
4437
|
};
|
|
4438
|
+
kind: "needs_authorization";
|
|
4423
4439
|
requestRef: string;
|
|
4424
4440
|
}>>;
|
|
4425
4441
|
error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -4531,19 +4547,24 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4531
4547
|
principalId: string;
|
|
4532
4548
|
workspaceId: string;
|
|
4533
4549
|
};
|
|
4534
|
-
|
|
4535
|
-
publication: "artifact_only";
|
|
4536
|
-
evidenceRefs: string[];
|
|
4550
|
+
revision: number;
|
|
4537
4551
|
source: {
|
|
4538
4552
|
product: "osstack" | "osbot" | "ostag";
|
|
4539
4553
|
requestId: string;
|
|
4540
4554
|
parentRunId?: string | undefined;
|
|
4541
4555
|
};
|
|
4556
|
+
candidate: {
|
|
4557
|
+
candidateRevision: string;
|
|
4558
|
+
artifactRefs: string[];
|
|
4559
|
+
artifactDigest: string;
|
|
4560
|
+
};
|
|
4561
|
+
schemaVersion: 1;
|
|
4562
|
+
publication: "artifact_only";
|
|
4563
|
+
evidenceRefs: string[];
|
|
4542
4564
|
graphRunId: string;
|
|
4543
4565
|
specHash: string;
|
|
4544
4566
|
generation: number;
|
|
4545
4567
|
inputDigest: string;
|
|
4546
|
-
revision: number;
|
|
4547
4568
|
createdAt: number;
|
|
4548
4569
|
updatedAt: number;
|
|
4549
4570
|
budget: {
|
|
@@ -4561,11 +4582,6 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4561
4582
|
chargedTokens: string;
|
|
4562
4583
|
accountingBlocked: boolean;
|
|
4563
4584
|
};
|
|
4564
|
-
candidate: {
|
|
4565
|
-
candidateRevision: string;
|
|
4566
|
-
artifactRefs: string[];
|
|
4567
|
-
artifactDigest: string;
|
|
4568
|
-
};
|
|
4569
4585
|
resultRef: string;
|
|
4570
4586
|
delivery: "available";
|
|
4571
4587
|
error?: {
|
|
@@ -4596,14 +4612,20 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4596
4612
|
epoch?: number | undefined;
|
|
4597
4613
|
actionId?: string | undefined;
|
|
4598
4614
|
} | undefined;
|
|
4615
|
+
admissionBinding?: {
|
|
4616
|
+
requestInputDigest: string;
|
|
4617
|
+
hostInputDigest: string;
|
|
4618
|
+
contractDigest: string;
|
|
4619
|
+
policyDigest: string;
|
|
4620
|
+
} | undefined;
|
|
4599
4621
|
authorization?: {
|
|
4600
|
-
kind: "needs_authorization";
|
|
4601
4622
|
scope: {
|
|
4602
4623
|
schemaVersion: 1;
|
|
4603
4624
|
tenantId: string;
|
|
4604
4625
|
principalId: string;
|
|
4605
4626
|
workspaceId: string;
|
|
4606
4627
|
};
|
|
4628
|
+
kind: "needs_authorization";
|
|
4607
4629
|
requestRef: string;
|
|
4608
4630
|
} | undefined;
|
|
4609
4631
|
interrupt?: {
|
|
@@ -4620,19 +4642,24 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4620
4642
|
principalId: string;
|
|
4621
4643
|
workspaceId: string;
|
|
4622
4644
|
};
|
|
4623
|
-
|
|
4624
|
-
publication: "artifact_only";
|
|
4625
|
-
evidenceRefs: string[];
|
|
4645
|
+
revision: number;
|
|
4626
4646
|
source: {
|
|
4627
4647
|
product: "osstack" | "osbot" | "ostag";
|
|
4628
4648
|
requestId: string;
|
|
4629
4649
|
parentRunId?: string | undefined;
|
|
4630
4650
|
};
|
|
4651
|
+
candidate: {
|
|
4652
|
+
candidateRevision: string;
|
|
4653
|
+
artifactRefs: string[];
|
|
4654
|
+
artifactDigest: string;
|
|
4655
|
+
};
|
|
4656
|
+
schemaVersion: 1;
|
|
4657
|
+
publication: "artifact_only";
|
|
4658
|
+
evidenceRefs: string[];
|
|
4631
4659
|
graphRunId: string;
|
|
4632
4660
|
specHash: string;
|
|
4633
4661
|
generation: number;
|
|
4634
4662
|
inputDigest: string;
|
|
4635
|
-
revision: number;
|
|
4636
4663
|
createdAt: number;
|
|
4637
4664
|
updatedAt: number;
|
|
4638
4665
|
budget: {
|
|
@@ -4650,11 +4677,6 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4650
4677
|
chargedTokens: string;
|
|
4651
4678
|
accountingBlocked: boolean;
|
|
4652
4679
|
};
|
|
4653
|
-
candidate: {
|
|
4654
|
-
candidateRevision: string;
|
|
4655
|
-
artifactRefs: string[];
|
|
4656
|
-
artifactDigest: string;
|
|
4657
|
-
};
|
|
4658
4680
|
resultRef: string;
|
|
4659
4681
|
delivery: "available";
|
|
4660
4682
|
error?: {
|
|
@@ -4685,14 +4707,20 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4685
4707
|
epoch?: number | undefined;
|
|
4686
4708
|
actionId?: string | undefined;
|
|
4687
4709
|
} | undefined;
|
|
4710
|
+
admissionBinding?: {
|
|
4711
|
+
requestInputDigest: string;
|
|
4712
|
+
hostInputDigest: string;
|
|
4713
|
+
contractDigest: string;
|
|
4714
|
+
policyDigest: string;
|
|
4715
|
+
} | undefined;
|
|
4688
4716
|
authorization?: {
|
|
4689
|
-
kind: "needs_authorization";
|
|
4690
4717
|
scope: {
|
|
4691
4718
|
schemaVersion: 1;
|
|
4692
4719
|
tenantId: string;
|
|
4693
4720
|
principalId: string;
|
|
4694
4721
|
workspaceId: string;
|
|
4695
4722
|
};
|
|
4723
|
+
kind: "needs_authorization";
|
|
4696
4724
|
requestRef: string;
|
|
4697
4725
|
} | undefined;
|
|
4698
4726
|
interrupt?: {
|
|
@@ -4738,6 +4766,22 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4738
4766
|
specHash: z.ZodString;
|
|
4739
4767
|
createdAt: z.ZodNumber;
|
|
4740
4768
|
updatedAt: z.ZodNumber;
|
|
4769
|
+
admissionBinding: z.ZodOptional<z.ZodObject<{
|
|
4770
|
+
requestInputDigest: z.ZodString;
|
|
4771
|
+
hostInputDigest: z.ZodString;
|
|
4772
|
+
contractDigest: z.ZodString;
|
|
4773
|
+
policyDigest: z.ZodString;
|
|
4774
|
+
}, "strict", z.ZodTypeAny, {
|
|
4775
|
+
requestInputDigest: string;
|
|
4776
|
+
hostInputDigest: string;
|
|
4777
|
+
contractDigest: string;
|
|
4778
|
+
policyDigest: string;
|
|
4779
|
+
}, {
|
|
4780
|
+
requestInputDigest: string;
|
|
4781
|
+
hostInputDigest: string;
|
|
4782
|
+
contractDigest: string;
|
|
4783
|
+
policyDigest: string;
|
|
4784
|
+
}>>;
|
|
4741
4785
|
publication: z.ZodLiteral<"artifact_only">;
|
|
4742
4786
|
phase: z.ZodString;
|
|
4743
4787
|
budget: z.ZodObject<{
|
|
@@ -4847,22 +4891,22 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4847
4891
|
}>;
|
|
4848
4892
|
requestRef: z.ZodString;
|
|
4849
4893
|
}, "strict", z.ZodTypeAny, {
|
|
4850
|
-
kind: "needs_authorization";
|
|
4851
4894
|
scope: {
|
|
4852
4895
|
schemaVersion: 1;
|
|
4853
4896
|
tenantId: string;
|
|
4854
4897
|
principalId: string;
|
|
4855
4898
|
workspaceId: string;
|
|
4856
4899
|
};
|
|
4900
|
+
kind: "needs_authorization";
|
|
4857
4901
|
requestRef: string;
|
|
4858
4902
|
}, {
|
|
4859
|
-
kind: "needs_authorization";
|
|
4860
4903
|
scope: {
|
|
4861
4904
|
schemaVersion: 1;
|
|
4862
4905
|
tenantId: string;
|
|
4863
4906
|
principalId: string;
|
|
4864
4907
|
workspaceId: string;
|
|
4865
4908
|
};
|
|
4909
|
+
kind: "needs_authorization";
|
|
4866
4910
|
requestRef: string;
|
|
4867
4911
|
}>>;
|
|
4868
4912
|
error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -4959,19 +5003,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4959
5003
|
principalId: string;
|
|
4960
5004
|
workspaceId: string;
|
|
4961
5005
|
};
|
|
4962
|
-
|
|
4963
|
-
publication: "artifact_only";
|
|
4964
|
-
evidenceRefs: string[];
|
|
5006
|
+
revision: number;
|
|
4965
5007
|
source: {
|
|
4966
5008
|
product: "osstack" | "osbot" | "ostag";
|
|
4967
5009
|
requestId: string;
|
|
4968
5010
|
parentRunId?: string | undefined;
|
|
4969
5011
|
};
|
|
5012
|
+
schemaVersion: 1;
|
|
5013
|
+
publication: "artifact_only";
|
|
5014
|
+
evidenceRefs: string[];
|
|
4970
5015
|
graphRunId: string;
|
|
4971
5016
|
specHash: string;
|
|
4972
5017
|
generation: number;
|
|
4973
5018
|
inputDigest: string;
|
|
4974
|
-
revision: number;
|
|
4975
5019
|
createdAt: number;
|
|
4976
5020
|
updatedAt: number;
|
|
4977
5021
|
budget: {
|
|
@@ -4990,6 +5034,11 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
4990
5034
|
accountingBlocked: boolean;
|
|
4991
5035
|
};
|
|
4992
5036
|
delivery: "delivery_unknown";
|
|
5037
|
+
candidate?: {
|
|
5038
|
+
candidateRevision: string;
|
|
5039
|
+
artifactRefs: string[];
|
|
5040
|
+
artifactDigest: string;
|
|
5041
|
+
} | undefined;
|
|
4993
5042
|
error?: {
|
|
4994
5043
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
4995
5044
|
message: string;
|
|
@@ -5018,20 +5067,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5018
5067
|
epoch?: number | undefined;
|
|
5019
5068
|
actionId?: string | undefined;
|
|
5020
5069
|
} | undefined;
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5070
|
+
admissionBinding?: {
|
|
5071
|
+
requestInputDigest: string;
|
|
5072
|
+
hostInputDigest: string;
|
|
5073
|
+
contractDigest: string;
|
|
5074
|
+
policyDigest: string;
|
|
5025
5075
|
} | undefined;
|
|
5026
5076
|
resultRef?: string | undefined;
|
|
5027
5077
|
authorization?: {
|
|
5028
|
-
kind: "needs_authorization";
|
|
5029
5078
|
scope: {
|
|
5030
5079
|
schemaVersion: 1;
|
|
5031
5080
|
tenantId: string;
|
|
5032
5081
|
principalId: string;
|
|
5033
5082
|
workspaceId: string;
|
|
5034
5083
|
};
|
|
5084
|
+
kind: "needs_authorization";
|
|
5035
5085
|
requestRef: string;
|
|
5036
5086
|
} | undefined;
|
|
5037
5087
|
interrupt?: {
|
|
@@ -5048,19 +5098,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5048
5098
|
principalId: string;
|
|
5049
5099
|
workspaceId: string;
|
|
5050
5100
|
};
|
|
5051
|
-
|
|
5052
|
-
publication: "artifact_only";
|
|
5053
|
-
evidenceRefs: string[];
|
|
5101
|
+
revision: number;
|
|
5054
5102
|
source: {
|
|
5055
5103
|
product: "osstack" | "osbot" | "ostag";
|
|
5056
5104
|
requestId: string;
|
|
5057
5105
|
parentRunId?: string | undefined;
|
|
5058
5106
|
};
|
|
5107
|
+
schemaVersion: 1;
|
|
5108
|
+
publication: "artifact_only";
|
|
5109
|
+
evidenceRefs: string[];
|
|
5059
5110
|
graphRunId: string;
|
|
5060
5111
|
specHash: string;
|
|
5061
5112
|
generation: number;
|
|
5062
5113
|
inputDigest: string;
|
|
5063
|
-
revision: number;
|
|
5064
5114
|
createdAt: number;
|
|
5065
5115
|
updatedAt: number;
|
|
5066
5116
|
budget: {
|
|
@@ -5079,6 +5129,11 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5079
5129
|
accountingBlocked: boolean;
|
|
5080
5130
|
};
|
|
5081
5131
|
delivery: "delivery_unknown";
|
|
5132
|
+
candidate?: {
|
|
5133
|
+
candidateRevision: string;
|
|
5134
|
+
artifactRefs: string[];
|
|
5135
|
+
artifactDigest: string;
|
|
5136
|
+
} | undefined;
|
|
5082
5137
|
error?: {
|
|
5083
5138
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
5084
5139
|
message: string;
|
|
@@ -5107,20 +5162,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5107
5162
|
epoch?: number | undefined;
|
|
5108
5163
|
actionId?: string | undefined;
|
|
5109
5164
|
} | undefined;
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5165
|
+
admissionBinding?: {
|
|
5166
|
+
requestInputDigest: string;
|
|
5167
|
+
hostInputDigest: string;
|
|
5168
|
+
contractDigest: string;
|
|
5169
|
+
policyDigest: string;
|
|
5114
5170
|
} | undefined;
|
|
5115
5171
|
resultRef?: string | undefined;
|
|
5116
5172
|
authorization?: {
|
|
5117
|
-
kind: "needs_authorization";
|
|
5118
5173
|
scope: {
|
|
5119
5174
|
schemaVersion: 1;
|
|
5120
5175
|
tenantId: string;
|
|
5121
5176
|
principalId: string;
|
|
5122
5177
|
workspaceId: string;
|
|
5123
5178
|
};
|
|
5179
|
+
kind: "needs_authorization";
|
|
5124
5180
|
requestRef: string;
|
|
5125
5181
|
} | undefined;
|
|
5126
5182
|
interrupt?: {
|
|
@@ -5166,6 +5222,22 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5166
5222
|
specHash: z.ZodString;
|
|
5167
5223
|
createdAt: z.ZodNumber;
|
|
5168
5224
|
updatedAt: z.ZodNumber;
|
|
5225
|
+
admissionBinding: z.ZodOptional<z.ZodObject<{
|
|
5226
|
+
requestInputDigest: z.ZodString;
|
|
5227
|
+
hostInputDigest: z.ZodString;
|
|
5228
|
+
contractDigest: z.ZodString;
|
|
5229
|
+
policyDigest: z.ZodString;
|
|
5230
|
+
}, "strict", z.ZodTypeAny, {
|
|
5231
|
+
requestInputDigest: string;
|
|
5232
|
+
hostInputDigest: string;
|
|
5233
|
+
contractDigest: string;
|
|
5234
|
+
policyDigest: string;
|
|
5235
|
+
}, {
|
|
5236
|
+
requestInputDigest: string;
|
|
5237
|
+
hostInputDigest: string;
|
|
5238
|
+
contractDigest: string;
|
|
5239
|
+
policyDigest: string;
|
|
5240
|
+
}>>;
|
|
5169
5241
|
publication: z.ZodLiteral<"artifact_only">;
|
|
5170
5242
|
phase: z.ZodString;
|
|
5171
5243
|
budget: z.ZodObject<{
|
|
@@ -5275,22 +5347,22 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5275
5347
|
}>;
|
|
5276
5348
|
requestRef: z.ZodString;
|
|
5277
5349
|
}, "strict", z.ZodTypeAny, {
|
|
5278
|
-
kind: "needs_authorization";
|
|
5279
5350
|
scope: {
|
|
5280
5351
|
schemaVersion: 1;
|
|
5281
5352
|
tenantId: string;
|
|
5282
5353
|
principalId: string;
|
|
5283
5354
|
workspaceId: string;
|
|
5284
5355
|
};
|
|
5356
|
+
kind: "needs_authorization";
|
|
5285
5357
|
requestRef: string;
|
|
5286
5358
|
}, {
|
|
5287
|
-
kind: "needs_authorization";
|
|
5288
5359
|
scope: {
|
|
5289
5360
|
schemaVersion: 1;
|
|
5290
5361
|
tenantId: string;
|
|
5291
5362
|
principalId: string;
|
|
5292
5363
|
workspaceId: string;
|
|
5293
5364
|
};
|
|
5365
|
+
kind: "needs_authorization";
|
|
5294
5366
|
requestRef: string;
|
|
5295
5367
|
}>>;
|
|
5296
5368
|
error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -5387,19 +5459,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5387
5459
|
principalId: string;
|
|
5388
5460
|
workspaceId: string;
|
|
5389
5461
|
};
|
|
5390
|
-
|
|
5391
|
-
publication: "artifact_only";
|
|
5392
|
-
evidenceRefs: string[];
|
|
5462
|
+
revision: number;
|
|
5393
5463
|
source: {
|
|
5394
5464
|
product: "osstack" | "osbot" | "ostag";
|
|
5395
5465
|
requestId: string;
|
|
5396
5466
|
parentRunId?: string | undefined;
|
|
5397
5467
|
};
|
|
5468
|
+
schemaVersion: 1;
|
|
5469
|
+
publication: "artifact_only";
|
|
5470
|
+
evidenceRefs: string[];
|
|
5398
5471
|
graphRunId: string;
|
|
5399
5472
|
specHash: string;
|
|
5400
5473
|
generation: number;
|
|
5401
5474
|
inputDigest: string;
|
|
5402
|
-
revision: number;
|
|
5403
5475
|
createdAt: number;
|
|
5404
5476
|
updatedAt: number;
|
|
5405
5477
|
budget: {
|
|
@@ -5417,7 +5489,12 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5417
5489
|
chargedTokens: string;
|
|
5418
5490
|
accountingBlocked: boolean;
|
|
5419
5491
|
};
|
|
5420
|
-
delivery: "
|
|
5492
|
+
delivery: "delivery_unknown" | "pending";
|
|
5493
|
+
candidate?: {
|
|
5494
|
+
candidateRevision: string;
|
|
5495
|
+
artifactRefs: string[];
|
|
5496
|
+
artifactDigest: string;
|
|
5497
|
+
} | undefined;
|
|
5421
5498
|
error?: {
|
|
5422
5499
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
5423
5500
|
message: string;
|
|
@@ -5446,20 +5523,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5446
5523
|
epoch?: number | undefined;
|
|
5447
5524
|
actionId?: string | undefined;
|
|
5448
5525
|
} | undefined;
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5526
|
+
admissionBinding?: {
|
|
5527
|
+
requestInputDigest: string;
|
|
5528
|
+
hostInputDigest: string;
|
|
5529
|
+
contractDigest: string;
|
|
5530
|
+
policyDigest: string;
|
|
5453
5531
|
} | undefined;
|
|
5454
5532
|
resultRef?: string | undefined;
|
|
5455
5533
|
authorization?: {
|
|
5456
|
-
kind: "needs_authorization";
|
|
5457
5534
|
scope: {
|
|
5458
5535
|
schemaVersion: 1;
|
|
5459
5536
|
tenantId: string;
|
|
5460
5537
|
principalId: string;
|
|
5461
5538
|
workspaceId: string;
|
|
5462
5539
|
};
|
|
5540
|
+
kind: "needs_authorization";
|
|
5463
5541
|
requestRef: string;
|
|
5464
5542
|
} | undefined;
|
|
5465
5543
|
interrupt?: {
|
|
@@ -5476,19 +5554,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5476
5554
|
principalId: string;
|
|
5477
5555
|
workspaceId: string;
|
|
5478
5556
|
};
|
|
5479
|
-
|
|
5480
|
-
publication: "artifact_only";
|
|
5481
|
-
evidenceRefs: string[];
|
|
5557
|
+
revision: number;
|
|
5482
5558
|
source: {
|
|
5483
5559
|
product: "osstack" | "osbot" | "ostag";
|
|
5484
5560
|
requestId: string;
|
|
5485
5561
|
parentRunId?: string | undefined;
|
|
5486
5562
|
};
|
|
5563
|
+
schemaVersion: 1;
|
|
5564
|
+
publication: "artifact_only";
|
|
5565
|
+
evidenceRefs: string[];
|
|
5487
5566
|
graphRunId: string;
|
|
5488
5567
|
specHash: string;
|
|
5489
5568
|
generation: number;
|
|
5490
5569
|
inputDigest: string;
|
|
5491
|
-
revision: number;
|
|
5492
5570
|
createdAt: number;
|
|
5493
5571
|
updatedAt: number;
|
|
5494
5572
|
budget: {
|
|
@@ -5506,7 +5584,12 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5506
5584
|
chargedTokens: string;
|
|
5507
5585
|
accountingBlocked: boolean;
|
|
5508
5586
|
};
|
|
5509
|
-
delivery: "
|
|
5587
|
+
delivery: "delivery_unknown" | "pending";
|
|
5588
|
+
candidate?: {
|
|
5589
|
+
candidateRevision: string;
|
|
5590
|
+
artifactRefs: string[];
|
|
5591
|
+
artifactDigest: string;
|
|
5592
|
+
} | undefined;
|
|
5510
5593
|
error?: {
|
|
5511
5594
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
5512
5595
|
message: string;
|
|
@@ -5535,20 +5618,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5535
5618
|
epoch?: number | undefined;
|
|
5536
5619
|
actionId?: string | undefined;
|
|
5537
5620
|
} | undefined;
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5621
|
+
admissionBinding?: {
|
|
5622
|
+
requestInputDigest: string;
|
|
5623
|
+
hostInputDigest: string;
|
|
5624
|
+
contractDigest: string;
|
|
5625
|
+
policyDigest: string;
|
|
5542
5626
|
} | undefined;
|
|
5543
5627
|
resultRef?: string | undefined;
|
|
5544
5628
|
authorization?: {
|
|
5545
|
-
kind: "needs_authorization";
|
|
5546
5629
|
scope: {
|
|
5547
5630
|
schemaVersion: 1;
|
|
5548
5631
|
tenantId: string;
|
|
5549
5632
|
principalId: string;
|
|
5550
5633
|
workspaceId: string;
|
|
5551
5634
|
};
|
|
5635
|
+
kind: "needs_authorization";
|
|
5552
5636
|
requestRef: string;
|
|
5553
5637
|
} | undefined;
|
|
5554
5638
|
interrupt?: {
|
|
@@ -5565,19 +5649,24 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5565
5649
|
principalId: string;
|
|
5566
5650
|
workspaceId: string;
|
|
5567
5651
|
};
|
|
5568
|
-
|
|
5569
|
-
publication: "artifact_only";
|
|
5570
|
-
evidenceRefs: string[];
|
|
5652
|
+
revision: number;
|
|
5571
5653
|
source: {
|
|
5572
5654
|
product: "osstack" | "osbot" | "ostag";
|
|
5573
5655
|
requestId: string;
|
|
5574
5656
|
parentRunId?: string | undefined;
|
|
5575
5657
|
};
|
|
5658
|
+
candidate: {
|
|
5659
|
+
candidateRevision: string;
|
|
5660
|
+
artifactRefs: string[];
|
|
5661
|
+
artifactDigest: string;
|
|
5662
|
+
};
|
|
5663
|
+
schemaVersion: 1;
|
|
5664
|
+
publication: "artifact_only";
|
|
5665
|
+
evidenceRefs: string[];
|
|
5576
5666
|
graphRunId: string;
|
|
5577
5667
|
specHash: string;
|
|
5578
5668
|
generation: number;
|
|
5579
5669
|
inputDigest: string;
|
|
5580
|
-
revision: number;
|
|
5581
5670
|
createdAt: number;
|
|
5582
5671
|
updatedAt: number;
|
|
5583
5672
|
budget: {
|
|
@@ -5595,11 +5684,6 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5595
5684
|
chargedTokens: string;
|
|
5596
5685
|
accountingBlocked: boolean;
|
|
5597
5686
|
};
|
|
5598
|
-
candidate: {
|
|
5599
|
-
candidateRevision: string;
|
|
5600
|
-
artifactRefs: string[];
|
|
5601
|
-
artifactDigest: string;
|
|
5602
|
-
};
|
|
5603
5687
|
resultRef: string;
|
|
5604
5688
|
delivery: "available";
|
|
5605
5689
|
error?: {
|
|
@@ -5630,14 +5714,20 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5630
5714
|
epoch?: number | undefined;
|
|
5631
5715
|
actionId?: string | undefined;
|
|
5632
5716
|
} | undefined;
|
|
5717
|
+
admissionBinding?: {
|
|
5718
|
+
requestInputDigest: string;
|
|
5719
|
+
hostInputDigest: string;
|
|
5720
|
+
contractDigest: string;
|
|
5721
|
+
policyDigest: string;
|
|
5722
|
+
} | undefined;
|
|
5633
5723
|
authorization?: {
|
|
5634
|
-
kind: "needs_authorization";
|
|
5635
5724
|
scope: {
|
|
5636
5725
|
schemaVersion: 1;
|
|
5637
5726
|
tenantId: string;
|
|
5638
5727
|
principalId: string;
|
|
5639
5728
|
workspaceId: string;
|
|
5640
5729
|
};
|
|
5730
|
+
kind: "needs_authorization";
|
|
5641
5731
|
requestRef: string;
|
|
5642
5732
|
} | undefined;
|
|
5643
5733
|
interrupt?: {
|
|
@@ -5654,19 +5744,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5654
5744
|
principalId: string;
|
|
5655
5745
|
workspaceId: string;
|
|
5656
5746
|
};
|
|
5657
|
-
|
|
5658
|
-
publication: "artifact_only";
|
|
5659
|
-
evidenceRefs: string[];
|
|
5747
|
+
revision: number;
|
|
5660
5748
|
source: {
|
|
5661
5749
|
product: "osstack" | "osbot" | "ostag";
|
|
5662
5750
|
requestId: string;
|
|
5663
5751
|
parentRunId?: string | undefined;
|
|
5664
5752
|
};
|
|
5753
|
+
schemaVersion: 1;
|
|
5754
|
+
publication: "artifact_only";
|
|
5755
|
+
evidenceRefs: string[];
|
|
5665
5756
|
graphRunId: string;
|
|
5666
5757
|
specHash: string;
|
|
5667
5758
|
generation: number;
|
|
5668
5759
|
inputDigest: string;
|
|
5669
|
-
revision: number;
|
|
5670
5760
|
createdAt: number;
|
|
5671
5761
|
updatedAt: number;
|
|
5672
5762
|
budget: {
|
|
@@ -5685,6 +5775,11 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5685
5775
|
accountingBlocked: boolean;
|
|
5686
5776
|
};
|
|
5687
5777
|
delivery: "delivery_unknown";
|
|
5778
|
+
candidate?: {
|
|
5779
|
+
candidateRevision: string;
|
|
5780
|
+
artifactRefs: string[];
|
|
5781
|
+
artifactDigest: string;
|
|
5782
|
+
} | undefined;
|
|
5688
5783
|
error?: {
|
|
5689
5784
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
5690
5785
|
message: string;
|
|
@@ -5713,20 +5808,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5713
5808
|
epoch?: number | undefined;
|
|
5714
5809
|
actionId?: string | undefined;
|
|
5715
5810
|
} | undefined;
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5811
|
+
admissionBinding?: {
|
|
5812
|
+
requestInputDigest: string;
|
|
5813
|
+
hostInputDigest: string;
|
|
5814
|
+
contractDigest: string;
|
|
5815
|
+
policyDigest: string;
|
|
5720
5816
|
} | undefined;
|
|
5721
5817
|
resultRef?: string | undefined;
|
|
5722
5818
|
authorization?: {
|
|
5723
|
-
kind: "needs_authorization";
|
|
5724
5819
|
scope: {
|
|
5725
5820
|
schemaVersion: 1;
|
|
5726
5821
|
tenantId: string;
|
|
5727
5822
|
principalId: string;
|
|
5728
5823
|
workspaceId: string;
|
|
5729
5824
|
};
|
|
5825
|
+
kind: "needs_authorization";
|
|
5730
5826
|
requestRef: string;
|
|
5731
5827
|
} | undefined;
|
|
5732
5828
|
interrupt?: {
|
|
@@ -5743,19 +5839,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5743
5839
|
principalId: string;
|
|
5744
5840
|
workspaceId: string;
|
|
5745
5841
|
};
|
|
5746
|
-
|
|
5747
|
-
publication: "artifact_only";
|
|
5748
|
-
evidenceRefs: string[];
|
|
5842
|
+
revision: number;
|
|
5749
5843
|
source: {
|
|
5750
5844
|
product: "osstack" | "osbot" | "ostag";
|
|
5751
5845
|
requestId: string;
|
|
5752
5846
|
parentRunId?: string | undefined;
|
|
5753
5847
|
};
|
|
5848
|
+
schemaVersion: 1;
|
|
5849
|
+
publication: "artifact_only";
|
|
5850
|
+
evidenceRefs: string[];
|
|
5754
5851
|
graphRunId: string;
|
|
5755
5852
|
specHash: string;
|
|
5756
5853
|
generation: number;
|
|
5757
5854
|
inputDigest: string;
|
|
5758
|
-
revision: number;
|
|
5759
5855
|
createdAt: number;
|
|
5760
5856
|
updatedAt: number;
|
|
5761
5857
|
budget: {
|
|
@@ -5773,7 +5869,12 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5773
5869
|
chargedTokens: string;
|
|
5774
5870
|
accountingBlocked: boolean;
|
|
5775
5871
|
};
|
|
5776
|
-
delivery: "
|
|
5872
|
+
delivery: "delivery_unknown" | "pending";
|
|
5873
|
+
candidate?: {
|
|
5874
|
+
candidateRevision: string;
|
|
5875
|
+
artifactRefs: string[];
|
|
5876
|
+
artifactDigest: string;
|
|
5877
|
+
} | undefined;
|
|
5777
5878
|
error?: {
|
|
5778
5879
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
5779
5880
|
message: string;
|
|
@@ -5802,20 +5903,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5802
5903
|
epoch?: number | undefined;
|
|
5803
5904
|
actionId?: string | undefined;
|
|
5804
5905
|
} | undefined;
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5906
|
+
admissionBinding?: {
|
|
5907
|
+
requestInputDigest: string;
|
|
5908
|
+
hostInputDigest: string;
|
|
5909
|
+
contractDigest: string;
|
|
5910
|
+
policyDigest: string;
|
|
5809
5911
|
} | undefined;
|
|
5810
5912
|
resultRef?: string | undefined;
|
|
5811
5913
|
authorization?: {
|
|
5812
|
-
kind: "needs_authorization";
|
|
5813
5914
|
scope: {
|
|
5814
5915
|
schemaVersion: 1;
|
|
5815
5916
|
tenantId: string;
|
|
5816
5917
|
principalId: string;
|
|
5817
5918
|
workspaceId: string;
|
|
5818
5919
|
};
|
|
5920
|
+
kind: "needs_authorization";
|
|
5819
5921
|
requestRef: string;
|
|
5820
5922
|
} | undefined;
|
|
5821
5923
|
interrupt?: {
|
|
@@ -5832,19 +5934,24 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5832
5934
|
principalId: string;
|
|
5833
5935
|
workspaceId: string;
|
|
5834
5936
|
};
|
|
5835
|
-
|
|
5836
|
-
publication: "artifact_only";
|
|
5837
|
-
evidenceRefs: string[];
|
|
5937
|
+
revision: number;
|
|
5838
5938
|
source: {
|
|
5839
5939
|
product: "osstack" | "osbot" | "ostag";
|
|
5840
5940
|
requestId: string;
|
|
5841
5941
|
parentRunId?: string | undefined;
|
|
5842
5942
|
};
|
|
5943
|
+
candidate: {
|
|
5944
|
+
candidateRevision: string;
|
|
5945
|
+
artifactRefs: string[];
|
|
5946
|
+
artifactDigest: string;
|
|
5947
|
+
};
|
|
5948
|
+
schemaVersion: 1;
|
|
5949
|
+
publication: "artifact_only";
|
|
5950
|
+
evidenceRefs: string[];
|
|
5843
5951
|
graphRunId: string;
|
|
5844
5952
|
specHash: string;
|
|
5845
5953
|
generation: number;
|
|
5846
5954
|
inputDigest: string;
|
|
5847
|
-
revision: number;
|
|
5848
5955
|
createdAt: number;
|
|
5849
5956
|
updatedAt: number;
|
|
5850
5957
|
budget: {
|
|
@@ -5862,11 +5969,6 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5862
5969
|
chargedTokens: string;
|
|
5863
5970
|
accountingBlocked: boolean;
|
|
5864
5971
|
};
|
|
5865
|
-
candidate: {
|
|
5866
|
-
candidateRevision: string;
|
|
5867
|
-
artifactRefs: string[];
|
|
5868
|
-
artifactDigest: string;
|
|
5869
|
-
};
|
|
5870
5972
|
resultRef: string;
|
|
5871
5973
|
delivery: "available";
|
|
5872
5974
|
error?: {
|
|
@@ -5897,14 +5999,20 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5897
5999
|
epoch?: number | undefined;
|
|
5898
6000
|
actionId?: string | undefined;
|
|
5899
6001
|
} | undefined;
|
|
6002
|
+
admissionBinding?: {
|
|
6003
|
+
requestInputDigest: string;
|
|
6004
|
+
hostInputDigest: string;
|
|
6005
|
+
contractDigest: string;
|
|
6006
|
+
policyDigest: string;
|
|
6007
|
+
} | undefined;
|
|
5900
6008
|
authorization?: {
|
|
5901
|
-
kind: "needs_authorization";
|
|
5902
6009
|
scope: {
|
|
5903
6010
|
schemaVersion: 1;
|
|
5904
6011
|
tenantId: string;
|
|
5905
6012
|
principalId: string;
|
|
5906
6013
|
workspaceId: string;
|
|
5907
6014
|
};
|
|
6015
|
+
kind: "needs_authorization";
|
|
5908
6016
|
requestRef: string;
|
|
5909
6017
|
} | undefined;
|
|
5910
6018
|
interrupt?: {
|
|
@@ -5921,19 +6029,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5921
6029
|
principalId: string;
|
|
5922
6030
|
workspaceId: string;
|
|
5923
6031
|
};
|
|
5924
|
-
|
|
5925
|
-
publication: "artifact_only";
|
|
5926
|
-
evidenceRefs: string[];
|
|
6032
|
+
revision: number;
|
|
5927
6033
|
source: {
|
|
5928
6034
|
product: "osstack" | "osbot" | "ostag";
|
|
5929
6035
|
requestId: string;
|
|
5930
6036
|
parentRunId?: string | undefined;
|
|
5931
6037
|
};
|
|
6038
|
+
schemaVersion: 1;
|
|
6039
|
+
publication: "artifact_only";
|
|
6040
|
+
evidenceRefs: string[];
|
|
5932
6041
|
graphRunId: string;
|
|
5933
6042
|
specHash: string;
|
|
5934
6043
|
generation: number;
|
|
5935
6044
|
inputDigest: string;
|
|
5936
|
-
revision: number;
|
|
5937
6045
|
createdAt: number;
|
|
5938
6046
|
updatedAt: number;
|
|
5939
6047
|
budget: {
|
|
@@ -5952,6 +6060,11 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5952
6060
|
accountingBlocked: boolean;
|
|
5953
6061
|
};
|
|
5954
6062
|
delivery: "delivery_unknown";
|
|
6063
|
+
candidate?: {
|
|
6064
|
+
candidateRevision: string;
|
|
6065
|
+
artifactRefs: string[];
|
|
6066
|
+
artifactDigest: string;
|
|
6067
|
+
} | undefined;
|
|
5955
6068
|
error?: {
|
|
5956
6069
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
5957
6070
|
message: string;
|
|
@@ -5980,20 +6093,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
5980
6093
|
epoch?: number | undefined;
|
|
5981
6094
|
actionId?: string | undefined;
|
|
5982
6095
|
} | undefined;
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
6096
|
+
admissionBinding?: {
|
|
6097
|
+
requestInputDigest: string;
|
|
6098
|
+
hostInputDigest: string;
|
|
6099
|
+
contractDigest: string;
|
|
6100
|
+
policyDigest: string;
|
|
5987
6101
|
} | undefined;
|
|
5988
6102
|
resultRef?: string | undefined;
|
|
5989
6103
|
authorization?: {
|
|
5990
|
-
kind: "needs_authorization";
|
|
5991
6104
|
scope: {
|
|
5992
6105
|
schemaVersion: 1;
|
|
5993
6106
|
tenantId: string;
|
|
5994
6107
|
principalId: string;
|
|
5995
6108
|
workspaceId: string;
|
|
5996
6109
|
};
|
|
6110
|
+
kind: "needs_authorization";
|
|
5997
6111
|
requestRef: string;
|
|
5998
6112
|
} | undefined;
|
|
5999
6113
|
interrupt?: {
|
|
@@ -6010,19 +6124,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6010
6124
|
principalId: string;
|
|
6011
6125
|
workspaceId: string;
|
|
6012
6126
|
};
|
|
6013
|
-
|
|
6014
|
-
publication: "artifact_only";
|
|
6015
|
-
evidenceRefs: string[];
|
|
6127
|
+
revision: number;
|
|
6016
6128
|
source: {
|
|
6017
6129
|
product: "osstack" | "osbot" | "ostag";
|
|
6018
6130
|
requestId: string;
|
|
6019
6131
|
parentRunId?: string | undefined;
|
|
6020
6132
|
};
|
|
6133
|
+
schemaVersion: 1;
|
|
6134
|
+
publication: "artifact_only";
|
|
6135
|
+
evidenceRefs: string[];
|
|
6021
6136
|
graphRunId: string;
|
|
6022
6137
|
specHash: string;
|
|
6023
6138
|
generation: number;
|
|
6024
6139
|
inputDigest: string;
|
|
6025
|
-
revision: number;
|
|
6026
6140
|
createdAt: number;
|
|
6027
6141
|
updatedAt: number;
|
|
6028
6142
|
budget: {
|
|
@@ -6040,7 +6154,12 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6040
6154
|
chargedTokens: string;
|
|
6041
6155
|
accountingBlocked: boolean;
|
|
6042
6156
|
};
|
|
6043
|
-
delivery: "
|
|
6157
|
+
delivery: "delivery_unknown" | "pending";
|
|
6158
|
+
candidate?: {
|
|
6159
|
+
candidateRevision: string;
|
|
6160
|
+
artifactRefs: string[];
|
|
6161
|
+
artifactDigest: string;
|
|
6162
|
+
} | undefined;
|
|
6044
6163
|
error?: {
|
|
6045
6164
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
6046
6165
|
message: string;
|
|
@@ -6069,20 +6188,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6069
6188
|
epoch?: number | undefined;
|
|
6070
6189
|
actionId?: string | undefined;
|
|
6071
6190
|
} | undefined;
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6191
|
+
admissionBinding?: {
|
|
6192
|
+
requestInputDigest: string;
|
|
6193
|
+
hostInputDigest: string;
|
|
6194
|
+
contractDigest: string;
|
|
6195
|
+
policyDigest: string;
|
|
6076
6196
|
} | undefined;
|
|
6077
6197
|
resultRef?: string | undefined;
|
|
6078
6198
|
authorization?: {
|
|
6079
|
-
kind: "needs_authorization";
|
|
6080
6199
|
scope: {
|
|
6081
6200
|
schemaVersion: 1;
|
|
6082
6201
|
tenantId: string;
|
|
6083
6202
|
principalId: string;
|
|
6084
6203
|
workspaceId: string;
|
|
6085
6204
|
};
|
|
6205
|
+
kind: "needs_authorization";
|
|
6086
6206
|
requestRef: string;
|
|
6087
6207
|
} | undefined;
|
|
6088
6208
|
interrupt?: {
|
|
@@ -6099,19 +6219,24 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6099
6219
|
principalId: string;
|
|
6100
6220
|
workspaceId: string;
|
|
6101
6221
|
};
|
|
6102
|
-
|
|
6103
|
-
publication: "artifact_only";
|
|
6104
|
-
evidenceRefs: string[];
|
|
6222
|
+
revision: number;
|
|
6105
6223
|
source: {
|
|
6106
6224
|
product: "osstack" | "osbot" | "ostag";
|
|
6107
6225
|
requestId: string;
|
|
6108
6226
|
parentRunId?: string | undefined;
|
|
6109
6227
|
};
|
|
6228
|
+
candidate: {
|
|
6229
|
+
candidateRevision: string;
|
|
6230
|
+
artifactRefs: string[];
|
|
6231
|
+
artifactDigest: string;
|
|
6232
|
+
};
|
|
6233
|
+
schemaVersion: 1;
|
|
6234
|
+
publication: "artifact_only";
|
|
6235
|
+
evidenceRefs: string[];
|
|
6110
6236
|
graphRunId: string;
|
|
6111
6237
|
specHash: string;
|
|
6112
6238
|
generation: number;
|
|
6113
6239
|
inputDigest: string;
|
|
6114
|
-
revision: number;
|
|
6115
6240
|
createdAt: number;
|
|
6116
6241
|
updatedAt: number;
|
|
6117
6242
|
budget: {
|
|
@@ -6129,11 +6254,6 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6129
6254
|
chargedTokens: string;
|
|
6130
6255
|
accountingBlocked: boolean;
|
|
6131
6256
|
};
|
|
6132
|
-
candidate: {
|
|
6133
|
-
candidateRevision: string;
|
|
6134
|
-
artifactRefs: string[];
|
|
6135
|
-
artifactDigest: string;
|
|
6136
|
-
};
|
|
6137
6257
|
resultRef: string;
|
|
6138
6258
|
delivery: "available";
|
|
6139
6259
|
error?: {
|
|
@@ -6164,14 +6284,20 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6164
6284
|
epoch?: number | undefined;
|
|
6165
6285
|
actionId?: string | undefined;
|
|
6166
6286
|
} | undefined;
|
|
6287
|
+
admissionBinding?: {
|
|
6288
|
+
requestInputDigest: string;
|
|
6289
|
+
hostInputDigest: string;
|
|
6290
|
+
contractDigest: string;
|
|
6291
|
+
policyDigest: string;
|
|
6292
|
+
} | undefined;
|
|
6167
6293
|
authorization?: {
|
|
6168
|
-
kind: "needs_authorization";
|
|
6169
6294
|
scope: {
|
|
6170
6295
|
schemaVersion: 1;
|
|
6171
6296
|
tenantId: string;
|
|
6172
6297
|
principalId: string;
|
|
6173
6298
|
workspaceId: string;
|
|
6174
6299
|
};
|
|
6300
|
+
kind: "needs_authorization";
|
|
6175
6301
|
requestRef: string;
|
|
6176
6302
|
} | undefined;
|
|
6177
6303
|
interrupt?: {
|
|
@@ -6188,19 +6314,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6188
6314
|
principalId: string;
|
|
6189
6315
|
workspaceId: string;
|
|
6190
6316
|
};
|
|
6191
|
-
|
|
6192
|
-
publication: "artifact_only";
|
|
6193
|
-
evidenceRefs: string[];
|
|
6317
|
+
revision: number;
|
|
6194
6318
|
source: {
|
|
6195
6319
|
product: "osstack" | "osbot" | "ostag";
|
|
6196
6320
|
requestId: string;
|
|
6197
6321
|
parentRunId?: string | undefined;
|
|
6198
6322
|
};
|
|
6323
|
+
schemaVersion: 1;
|
|
6324
|
+
publication: "artifact_only";
|
|
6325
|
+
evidenceRefs: string[];
|
|
6199
6326
|
graphRunId: string;
|
|
6200
6327
|
specHash: string;
|
|
6201
6328
|
generation: number;
|
|
6202
6329
|
inputDigest: string;
|
|
6203
|
-
revision: number;
|
|
6204
6330
|
createdAt: number;
|
|
6205
6331
|
updatedAt: number;
|
|
6206
6332
|
budget: {
|
|
@@ -6219,6 +6345,11 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6219
6345
|
accountingBlocked: boolean;
|
|
6220
6346
|
};
|
|
6221
6347
|
delivery: "delivery_unknown";
|
|
6348
|
+
candidate?: {
|
|
6349
|
+
candidateRevision: string;
|
|
6350
|
+
artifactRefs: string[];
|
|
6351
|
+
artifactDigest: string;
|
|
6352
|
+
} | undefined;
|
|
6222
6353
|
error?: {
|
|
6223
6354
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
6224
6355
|
message: string;
|
|
@@ -6247,20 +6378,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6247
6378
|
epoch?: number | undefined;
|
|
6248
6379
|
actionId?: string | undefined;
|
|
6249
6380
|
} | undefined;
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6381
|
+
admissionBinding?: {
|
|
6382
|
+
requestInputDigest: string;
|
|
6383
|
+
hostInputDigest: string;
|
|
6384
|
+
contractDigest: string;
|
|
6385
|
+
policyDigest: string;
|
|
6254
6386
|
} | undefined;
|
|
6255
6387
|
resultRef?: string | undefined;
|
|
6256
6388
|
authorization?: {
|
|
6257
|
-
kind: "needs_authorization";
|
|
6258
6389
|
scope: {
|
|
6259
6390
|
schemaVersion: 1;
|
|
6260
6391
|
tenantId: string;
|
|
6261
6392
|
principalId: string;
|
|
6262
6393
|
workspaceId: string;
|
|
6263
6394
|
};
|
|
6395
|
+
kind: "needs_authorization";
|
|
6264
6396
|
requestRef: string;
|
|
6265
6397
|
} | undefined;
|
|
6266
6398
|
interrupt?: {
|
|
@@ -6277,19 +6409,19 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6277
6409
|
principalId: string;
|
|
6278
6410
|
workspaceId: string;
|
|
6279
6411
|
};
|
|
6280
|
-
|
|
6281
|
-
publication: "artifact_only";
|
|
6282
|
-
evidenceRefs: string[];
|
|
6412
|
+
revision: number;
|
|
6283
6413
|
source: {
|
|
6284
6414
|
product: "osstack" | "osbot" | "ostag";
|
|
6285
6415
|
requestId: string;
|
|
6286
6416
|
parentRunId?: string | undefined;
|
|
6287
6417
|
};
|
|
6418
|
+
schemaVersion: 1;
|
|
6419
|
+
publication: "artifact_only";
|
|
6420
|
+
evidenceRefs: string[];
|
|
6288
6421
|
graphRunId: string;
|
|
6289
6422
|
specHash: string;
|
|
6290
6423
|
generation: number;
|
|
6291
6424
|
inputDigest: string;
|
|
6292
|
-
revision: number;
|
|
6293
6425
|
createdAt: number;
|
|
6294
6426
|
updatedAt: number;
|
|
6295
6427
|
budget: {
|
|
@@ -6307,7 +6439,12 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6307
6439
|
chargedTokens: string;
|
|
6308
6440
|
accountingBlocked: boolean;
|
|
6309
6441
|
};
|
|
6310
|
-
delivery: "
|
|
6442
|
+
delivery: "delivery_unknown" | "pending";
|
|
6443
|
+
candidate?: {
|
|
6444
|
+
candidateRevision: string;
|
|
6445
|
+
artifactRefs: string[];
|
|
6446
|
+
artifactDigest: string;
|
|
6447
|
+
} | undefined;
|
|
6311
6448
|
error?: {
|
|
6312
6449
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
6313
6450
|
message: string;
|
|
@@ -6336,20 +6473,21 @@ export declare const GraphDelegationStatus: z.ZodEffects<z.ZodEffects<z.ZodDiscr
|
|
|
6336
6473
|
epoch?: number | undefined;
|
|
6337
6474
|
actionId?: string | undefined;
|
|
6338
6475
|
} | undefined;
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6476
|
+
admissionBinding?: {
|
|
6477
|
+
requestInputDigest: string;
|
|
6478
|
+
hostInputDigest: string;
|
|
6479
|
+
contractDigest: string;
|
|
6480
|
+
policyDigest: string;
|
|
6343
6481
|
} | undefined;
|
|
6344
6482
|
resultRef?: string | undefined;
|
|
6345
6483
|
authorization?: {
|
|
6346
|
-
kind: "needs_authorization";
|
|
6347
6484
|
scope: {
|
|
6348
6485
|
schemaVersion: 1;
|
|
6349
6486
|
tenantId: string;
|
|
6350
6487
|
principalId: string;
|
|
6351
6488
|
workspaceId: string;
|
|
6352
6489
|
};
|
|
6490
|
+
kind: "needs_authorization";
|
|
6353
6491
|
requestRef: string;
|
|
6354
6492
|
} | undefined;
|
|
6355
6493
|
interrupt?: {
|
|
@@ -6384,39 +6522,39 @@ export declare const GraphDeliveryUnknown: z.ZodEffects<z.ZodObject<{
|
|
|
6384
6522
|
graphRunId: z.ZodOptional<z.ZodString>;
|
|
6385
6523
|
nextAction: z.ZodLiteral<"retry_same_request">;
|
|
6386
6524
|
}, "strict", z.ZodTypeAny, {
|
|
6387
|
-
kind: "delivery_unknown";
|
|
6388
6525
|
scope: {
|
|
6389
6526
|
schemaVersion: 1;
|
|
6390
6527
|
tenantId: string;
|
|
6391
6528
|
principalId: string;
|
|
6392
6529
|
workspaceId: string;
|
|
6393
6530
|
};
|
|
6531
|
+
kind: "delivery_unknown";
|
|
6394
6532
|
schemaVersion: 1;
|
|
6395
6533
|
nextAction: "retry_same_request";
|
|
6396
6534
|
idempotencyKey: string;
|
|
6397
6535
|
inputDigest: string;
|
|
6398
6536
|
graphRunId?: string | undefined;
|
|
6399
6537
|
}, {
|
|
6400
|
-
kind: "delivery_unknown";
|
|
6401
6538
|
scope: {
|
|
6402
6539
|
schemaVersion: 1;
|
|
6403
6540
|
tenantId: string;
|
|
6404
6541
|
principalId: string;
|
|
6405
6542
|
workspaceId: string;
|
|
6406
6543
|
};
|
|
6544
|
+
kind: "delivery_unknown";
|
|
6407
6545
|
schemaVersion: 1;
|
|
6408
6546
|
nextAction: "retry_same_request";
|
|
6409
6547
|
idempotencyKey: string;
|
|
6410
6548
|
inputDigest: string;
|
|
6411
6549
|
graphRunId?: string | undefined;
|
|
6412
6550
|
}>, {
|
|
6413
|
-
kind: "delivery_unknown";
|
|
6414
6551
|
scope: {
|
|
6415
6552
|
schemaVersion: 1;
|
|
6416
6553
|
tenantId: string;
|
|
6417
6554
|
principalId: string;
|
|
6418
6555
|
workspaceId: string;
|
|
6419
6556
|
};
|
|
6557
|
+
kind: "delivery_unknown";
|
|
6420
6558
|
schemaVersion: 1;
|
|
6421
6559
|
nextAction: "retry_same_request";
|
|
6422
6560
|
idempotencyKey: string;
|
|
@@ -6740,17 +6878,17 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
6740
6878
|
schemaVersion: z.ZodLiteral<1>;
|
|
6741
6879
|
kind: z.ZodLiteral<"review">;
|
|
6742
6880
|
}, "strict", z.ZodTypeAny, {
|
|
6881
|
+
verdict: "changes_requested" | "accept";
|
|
6743
6882
|
kind: "review";
|
|
6744
6883
|
schemaVersion: 1;
|
|
6745
6884
|
candidateRevision: string;
|
|
6746
|
-
verdict: "accept" | "changes_requested";
|
|
6747
6885
|
evidenceRefs: string[];
|
|
6748
6886
|
evidenceDigest: string;
|
|
6749
6887
|
}, {
|
|
6888
|
+
verdict: "changes_requested" | "accept";
|
|
6750
6889
|
kind: "review";
|
|
6751
6890
|
schemaVersion: 1;
|
|
6752
6891
|
candidateRevision: string;
|
|
6753
|
-
verdict: "accept" | "changes_requested";
|
|
6754
6892
|
evidenceRefs: string[];
|
|
6755
6893
|
evidenceDigest: string;
|
|
6756
6894
|
}>, z.ZodObject<{
|
|
@@ -6825,10 +6963,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
6825
6963
|
artifactRefs: string[];
|
|
6826
6964
|
artifactDigest: string;
|
|
6827
6965
|
} | {
|
|
6966
|
+
verdict: "changes_requested" | "accept";
|
|
6828
6967
|
kind: "review";
|
|
6829
6968
|
schemaVersion: 1;
|
|
6830
6969
|
candidateRevision: string;
|
|
6831
|
-
verdict: "accept" | "changes_requested";
|
|
6832
6970
|
evidenceRefs: string[];
|
|
6833
6971
|
evidenceDigest: string;
|
|
6834
6972
|
} | {
|
|
@@ -6996,13 +7134,18 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
6996
7134
|
requestedAt?: string | undefined;
|
|
6997
7135
|
}>>;
|
|
6998
7136
|
}, "strict", z.ZodTypeAny, {
|
|
6999
|
-
kind: "start";
|
|
7000
7137
|
scope: {
|
|
7001
7138
|
schemaVersion: 1;
|
|
7002
7139
|
tenantId: string;
|
|
7003
7140
|
principalId: string;
|
|
7004
7141
|
workspaceId: string;
|
|
7005
7142
|
};
|
|
7143
|
+
source: {
|
|
7144
|
+
product: "osstack" | "osbot" | "ostag";
|
|
7145
|
+
requestId: string;
|
|
7146
|
+
parentRunId?: string | undefined;
|
|
7147
|
+
};
|
|
7148
|
+
kind: "start";
|
|
7006
7149
|
schemaVersion: 1;
|
|
7007
7150
|
spec: {
|
|
7008
7151
|
input: {
|
|
@@ -7025,11 +7168,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7025
7168
|
publication: "artifact_only";
|
|
7026
7169
|
};
|
|
7027
7170
|
inputArtifactRef: string;
|
|
7028
|
-
source: {
|
|
7029
|
-
product: "osstack" | "osbot" | "ostag";
|
|
7030
|
-
requestId: string;
|
|
7031
|
-
parentRunId?: string | undefined;
|
|
7032
|
-
};
|
|
7033
7171
|
idempotencyKey: string;
|
|
7034
7172
|
metadata?: {
|
|
7035
7173
|
trace?: {
|
|
@@ -7039,13 +7177,18 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7039
7177
|
requestedAt?: string | undefined;
|
|
7040
7178
|
} | undefined;
|
|
7041
7179
|
}, {
|
|
7042
|
-
kind: "start";
|
|
7043
7180
|
scope: {
|
|
7044
7181
|
schemaVersion: 1;
|
|
7045
7182
|
tenantId: string;
|
|
7046
7183
|
principalId: string;
|
|
7047
7184
|
workspaceId: string;
|
|
7048
7185
|
};
|
|
7186
|
+
source: {
|
|
7187
|
+
product: "osstack" | "osbot" | "ostag";
|
|
7188
|
+
requestId: string;
|
|
7189
|
+
parentRunId?: string | undefined;
|
|
7190
|
+
};
|
|
7191
|
+
kind: "start";
|
|
7049
7192
|
schemaVersion: 1;
|
|
7050
7193
|
spec: {
|
|
7051
7194
|
input: {
|
|
@@ -7068,11 +7211,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7068
7211
|
publication: "artifact_only";
|
|
7069
7212
|
};
|
|
7070
7213
|
inputArtifactRef: string;
|
|
7071
|
-
source: {
|
|
7072
|
-
product: "osstack" | "osbot" | "ostag";
|
|
7073
|
-
requestId: string;
|
|
7074
|
-
parentRunId?: string | undefined;
|
|
7075
|
-
};
|
|
7076
7214
|
idempotencyKey: string;
|
|
7077
7215
|
metadata?: {
|
|
7078
7216
|
trace?: {
|
|
@@ -7100,13 +7238,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7100
7238
|
outcome: z.ZodEnum<["applied", "not_applied", "unknown"]>;
|
|
7101
7239
|
evidenceRefs: z.ZodArray<z.ZodString, "many">;
|
|
7102
7240
|
}, "strict", z.ZodTypeAny, {
|
|
7241
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
7103
7242
|
kind: "reconciliation";
|
|
7104
7243
|
evidenceRefs: string[];
|
|
7105
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
7106
7244
|
}, {
|
|
7245
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
7107
7246
|
kind: "reconciliation";
|
|
7108
7247
|
evidenceRefs: string[];
|
|
7109
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
7110
7248
|
}>]>;
|
|
7111
7249
|
schemaVersion: z.ZodLiteral<1>;
|
|
7112
7250
|
scope: z.ZodObject<{
|
|
@@ -7152,20 +7290,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7152
7290
|
requestedAt?: string | undefined;
|
|
7153
7291
|
}>>;
|
|
7154
7292
|
}, "strict", z.ZodTypeAny, {
|
|
7155
|
-
kind: "resume";
|
|
7156
7293
|
scope: {
|
|
7157
7294
|
schemaVersion: 1;
|
|
7158
7295
|
tenantId: string;
|
|
7159
7296
|
principalId: string;
|
|
7160
7297
|
workspaceId: string;
|
|
7161
7298
|
};
|
|
7299
|
+
kind: "resume";
|
|
7162
7300
|
input: {
|
|
7163
7301
|
value: GraphJsonValue;
|
|
7164
7302
|
kind: "data";
|
|
7165
7303
|
} | {
|
|
7304
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
7166
7305
|
kind: "reconciliation";
|
|
7167
7306
|
evidenceRefs: string[];
|
|
7168
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
7169
7307
|
};
|
|
7170
7308
|
schemaVersion: 1;
|
|
7171
7309
|
idempotencyKey: string;
|
|
@@ -7180,20 +7318,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7180
7318
|
requestedAt?: string | undefined;
|
|
7181
7319
|
} | undefined;
|
|
7182
7320
|
}, {
|
|
7183
|
-
kind: "resume";
|
|
7184
7321
|
scope: {
|
|
7185
7322
|
schemaVersion: 1;
|
|
7186
7323
|
tenantId: string;
|
|
7187
7324
|
principalId: string;
|
|
7188
7325
|
workspaceId: string;
|
|
7189
7326
|
};
|
|
7327
|
+
kind: "resume";
|
|
7190
7328
|
input: {
|
|
7191
7329
|
value: GraphJsonValue;
|
|
7192
7330
|
kind: "data";
|
|
7193
7331
|
} | {
|
|
7332
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
7194
7333
|
kind: "reconciliation";
|
|
7195
7334
|
evidenceRefs: string[];
|
|
7196
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
7197
7335
|
};
|
|
7198
7336
|
schemaVersion: 1;
|
|
7199
7337
|
idempotencyKey: string;
|
|
@@ -7255,13 +7393,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7255
7393
|
requestedAt?: string | undefined;
|
|
7256
7394
|
}>>;
|
|
7257
7395
|
}, "strict", z.ZodTypeAny, {
|
|
7258
|
-
kind: "cancel";
|
|
7259
7396
|
scope: {
|
|
7260
7397
|
schemaVersion: 1;
|
|
7261
7398
|
tenantId: string;
|
|
7262
7399
|
principalId: string;
|
|
7263
7400
|
workspaceId: string;
|
|
7264
7401
|
};
|
|
7402
|
+
kind: "cancel";
|
|
7265
7403
|
schemaVersion: 1;
|
|
7266
7404
|
idempotencyKey: string;
|
|
7267
7405
|
graphRunId: string;
|
|
@@ -7274,13 +7412,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7274
7412
|
requestedAt?: string | undefined;
|
|
7275
7413
|
} | undefined;
|
|
7276
7414
|
}, {
|
|
7277
|
-
kind: "cancel";
|
|
7278
7415
|
scope: {
|
|
7279
7416
|
schemaVersion: 1;
|
|
7280
7417
|
tenantId: string;
|
|
7281
7418
|
principalId: string;
|
|
7282
7419
|
workspaceId: string;
|
|
7283
7420
|
};
|
|
7421
|
+
kind: "cancel";
|
|
7284
7422
|
schemaVersion: 1;
|
|
7285
7423
|
idempotencyKey: string;
|
|
7286
7424
|
graphRunId: string;
|
|
@@ -7293,13 +7431,18 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7293
7431
|
requestedAt?: string | undefined;
|
|
7294
7432
|
} | undefined;
|
|
7295
7433
|
}>]>, {
|
|
7296
|
-
kind: "start";
|
|
7297
7434
|
scope: {
|
|
7298
7435
|
schemaVersion: 1;
|
|
7299
7436
|
tenantId: string;
|
|
7300
7437
|
principalId: string;
|
|
7301
7438
|
workspaceId: string;
|
|
7302
7439
|
};
|
|
7440
|
+
source: {
|
|
7441
|
+
product: "osstack" | "osbot" | "ostag";
|
|
7442
|
+
requestId: string;
|
|
7443
|
+
parentRunId?: string | undefined;
|
|
7444
|
+
};
|
|
7445
|
+
kind: "start";
|
|
7303
7446
|
schemaVersion: 1;
|
|
7304
7447
|
spec: {
|
|
7305
7448
|
input: {
|
|
@@ -7322,11 +7465,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7322
7465
|
publication: "artifact_only";
|
|
7323
7466
|
};
|
|
7324
7467
|
inputArtifactRef: string;
|
|
7325
|
-
source: {
|
|
7326
|
-
product: "osstack" | "osbot" | "ostag";
|
|
7327
|
-
requestId: string;
|
|
7328
|
-
parentRunId?: string | undefined;
|
|
7329
|
-
};
|
|
7330
7468
|
idempotencyKey: string;
|
|
7331
7469
|
metadata?: {
|
|
7332
7470
|
trace?: {
|
|
@@ -7336,20 +7474,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7336
7474
|
requestedAt?: string | undefined;
|
|
7337
7475
|
} | undefined;
|
|
7338
7476
|
} | {
|
|
7339
|
-
kind: "resume";
|
|
7340
7477
|
scope: {
|
|
7341
7478
|
schemaVersion: 1;
|
|
7342
7479
|
tenantId: string;
|
|
7343
7480
|
principalId: string;
|
|
7344
7481
|
workspaceId: string;
|
|
7345
7482
|
};
|
|
7483
|
+
kind: "resume";
|
|
7346
7484
|
input: {
|
|
7347
7485
|
value: GraphJsonValue;
|
|
7348
7486
|
kind: "data";
|
|
7349
7487
|
} | {
|
|
7488
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
7350
7489
|
kind: "reconciliation";
|
|
7351
7490
|
evidenceRefs: string[];
|
|
7352
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
7353
7491
|
};
|
|
7354
7492
|
schemaVersion: 1;
|
|
7355
7493
|
idempotencyKey: string;
|
|
@@ -7364,13 +7502,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7364
7502
|
requestedAt?: string | undefined;
|
|
7365
7503
|
} | undefined;
|
|
7366
7504
|
} | {
|
|
7367
|
-
kind: "cancel";
|
|
7368
7505
|
scope: {
|
|
7369
7506
|
schemaVersion: 1;
|
|
7370
7507
|
tenantId: string;
|
|
7371
7508
|
principalId: string;
|
|
7372
7509
|
workspaceId: string;
|
|
7373
7510
|
};
|
|
7511
|
+
kind: "cancel";
|
|
7374
7512
|
schemaVersion: 1;
|
|
7375
7513
|
idempotencyKey: string;
|
|
7376
7514
|
graphRunId: string;
|
|
@@ -7628,13 +7766,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7628
7766
|
kind: "workspace_release";
|
|
7629
7767
|
workspaceLeaseRef: string;
|
|
7630
7768
|
};
|
|
7631
|
-
kind: "worker_action";
|
|
7632
7769
|
scope: {
|
|
7633
7770
|
schemaVersion: 1;
|
|
7634
7771
|
tenantId: string;
|
|
7635
7772
|
principalId: string;
|
|
7636
7773
|
workspaceId: string;
|
|
7637
7774
|
};
|
|
7775
|
+
kind: "worker_action";
|
|
7638
7776
|
schemaVersion: 1;
|
|
7639
7777
|
nodeId: string;
|
|
7640
7778
|
epoch: number;
|
|
@@ -7683,13 +7821,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7683
7821
|
kind: "workspace_release";
|
|
7684
7822
|
workspaceLeaseRef: string;
|
|
7685
7823
|
};
|
|
7686
|
-
kind: "worker_action";
|
|
7687
7824
|
scope: {
|
|
7688
7825
|
schemaVersion: 1;
|
|
7689
7826
|
tenantId: string;
|
|
7690
7827
|
principalId: string;
|
|
7691
7828
|
workspaceId: string;
|
|
7692
7829
|
};
|
|
7830
|
+
kind: "worker_action";
|
|
7693
7831
|
schemaVersion: 1;
|
|
7694
7832
|
nodeId: string;
|
|
7695
7833
|
epoch: number;
|
|
@@ -7738,13 +7876,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7738
7876
|
kind: "workspace_release";
|
|
7739
7877
|
workspaceLeaseRef: string;
|
|
7740
7878
|
};
|
|
7741
|
-
kind: "worker_action";
|
|
7742
7879
|
scope: {
|
|
7743
7880
|
schemaVersion: 1;
|
|
7744
7881
|
tenantId: string;
|
|
7745
7882
|
principalId: string;
|
|
7746
7883
|
workspaceId: string;
|
|
7747
7884
|
};
|
|
7885
|
+
kind: "worker_action";
|
|
7748
7886
|
schemaVersion: 1;
|
|
7749
7887
|
nodeId: string;
|
|
7750
7888
|
epoch: number;
|
|
@@ -7862,17 +8000,17 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7862
8000
|
schemaVersion: z.ZodLiteral<1>;
|
|
7863
8001
|
kind: z.ZodLiteral<"review">;
|
|
7864
8002
|
}, "strict", z.ZodTypeAny, {
|
|
8003
|
+
verdict: "changes_requested" | "accept";
|
|
7865
8004
|
kind: "review";
|
|
7866
8005
|
schemaVersion: 1;
|
|
7867
8006
|
candidateRevision: string;
|
|
7868
|
-
verdict: "accept" | "changes_requested";
|
|
7869
8007
|
evidenceRefs: string[];
|
|
7870
8008
|
evidenceDigest: string;
|
|
7871
8009
|
}, {
|
|
8010
|
+
verdict: "changes_requested" | "accept";
|
|
7872
8011
|
kind: "review";
|
|
7873
8012
|
schemaVersion: 1;
|
|
7874
8013
|
candidateRevision: string;
|
|
7875
|
-
verdict: "accept" | "changes_requested";
|
|
7876
8014
|
evidenceRefs: string[];
|
|
7877
8015
|
evidenceDigest: string;
|
|
7878
8016
|
}>, z.ZodObject<{
|
|
@@ -7937,6 +8075,7 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7937
8075
|
receiptRef: string;
|
|
7938
8076
|
}>]>;
|
|
7939
8077
|
}, "strict", z.ZodTypeAny, {
|
|
8078
|
+
state: "confirmed";
|
|
7940
8079
|
result: {
|
|
7941
8080
|
kind: "implementation_complete";
|
|
7942
8081
|
schemaVersion: 1;
|
|
@@ -7949,10 +8088,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7949
8088
|
artifactRefs: string[];
|
|
7950
8089
|
artifactDigest: string;
|
|
7951
8090
|
} | {
|
|
8091
|
+
verdict: "changes_requested" | "accept";
|
|
7952
8092
|
kind: "review";
|
|
7953
8093
|
schemaVersion: 1;
|
|
7954
8094
|
candidateRevision: string;
|
|
7955
|
-
verdict: "accept" | "changes_requested";
|
|
7956
8095
|
evidenceRefs: string[];
|
|
7957
8096
|
evidenceDigest: string;
|
|
7958
8097
|
} | {
|
|
@@ -7976,8 +8115,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7976
8115
|
workspaceLeaseRef: string;
|
|
7977
8116
|
receiptRef: string;
|
|
7978
8117
|
};
|
|
7979
|
-
state: "confirmed";
|
|
7980
8118
|
}, {
|
|
8119
|
+
state: "confirmed";
|
|
7981
8120
|
result: {
|
|
7982
8121
|
kind: "implementation_complete";
|
|
7983
8122
|
schemaVersion: 1;
|
|
@@ -7990,10 +8129,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
7990
8129
|
artifactRefs: string[];
|
|
7991
8130
|
artifactDigest: string;
|
|
7992
8131
|
} | {
|
|
8132
|
+
verdict: "changes_requested" | "accept";
|
|
7993
8133
|
kind: "review";
|
|
7994
8134
|
schemaVersion: 1;
|
|
7995
8135
|
candidateRevision: string;
|
|
7996
|
-
verdict: "accept" | "changes_requested";
|
|
7997
8136
|
evidenceRefs: string[];
|
|
7998
8137
|
evidenceDigest: string;
|
|
7999
8138
|
} | {
|
|
@@ -8017,7 +8156,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8017
8156
|
workspaceLeaseRef: string;
|
|
8018
8157
|
receiptRef: string;
|
|
8019
8158
|
};
|
|
8020
|
-
state: "confirmed";
|
|
8021
8159
|
}>, z.ZodObject<{
|
|
8022
8160
|
state: z.ZodLiteral<"intent">;
|
|
8023
8161
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -8091,6 +8229,7 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8091
8229
|
actionId?: string | undefined;
|
|
8092
8230
|
}>]>;
|
|
8093
8231
|
}, "strict", z.ZodTypeAny, {
|
|
8232
|
+
state: "failed";
|
|
8094
8233
|
error: {
|
|
8095
8234
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8096
8235
|
message: string;
|
|
@@ -8110,8 +8249,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8110
8249
|
epoch?: number | undefined;
|
|
8111
8250
|
actionId?: string | undefined;
|
|
8112
8251
|
};
|
|
8113
|
-
state: "failed";
|
|
8114
8252
|
}, {
|
|
8253
|
+
state: "failed";
|
|
8115
8254
|
error: {
|
|
8116
8255
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8117
8256
|
message: string;
|
|
@@ -8131,7 +8270,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8131
8270
|
epoch?: number | undefined;
|
|
8132
8271
|
actionId?: string | undefined;
|
|
8133
8272
|
};
|
|
8134
|
-
state: "failed";
|
|
8135
8273
|
}>, z.ZodObject<{
|
|
8136
8274
|
state: z.ZodLiteral<"unknown">;
|
|
8137
8275
|
error: z.ZodUnion<[z.ZodObject<{
|
|
@@ -8218,6 +8356,7 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8218
8356
|
}>]>;
|
|
8219
8357
|
reconciliationRef: z.ZodString;
|
|
8220
8358
|
}, "strict", z.ZodTypeAny, {
|
|
8359
|
+
state: "unknown";
|
|
8221
8360
|
error: {
|
|
8222
8361
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8223
8362
|
message: string;
|
|
@@ -8246,9 +8385,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8246
8385
|
epoch?: number | undefined;
|
|
8247
8386
|
actionId?: string | undefined;
|
|
8248
8387
|
};
|
|
8249
|
-
state: "unknown";
|
|
8250
8388
|
reconciliationRef: string;
|
|
8251
8389
|
}, {
|
|
8390
|
+
state: "unknown";
|
|
8252
8391
|
error: {
|
|
8253
8392
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8254
8393
|
message: string;
|
|
@@ -8277,7 +8416,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8277
8416
|
epoch?: number | undefined;
|
|
8278
8417
|
actionId?: string | undefined;
|
|
8279
8418
|
};
|
|
8280
|
-
state: "unknown";
|
|
8281
8419
|
reconciliationRef: string;
|
|
8282
8420
|
}>, z.ZodObject<{
|
|
8283
8421
|
state: z.ZodLiteral<"cancel_pending">;
|
|
@@ -8365,6 +8503,7 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8365
8503
|
}>]>;
|
|
8366
8504
|
executionRef: z.ZodString;
|
|
8367
8505
|
}, "strict", z.ZodTypeAny, {
|
|
8506
|
+
state: "cancel_pending";
|
|
8368
8507
|
error: {
|
|
8369
8508
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8370
8509
|
message: string;
|
|
@@ -8393,9 +8532,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8393
8532
|
epoch?: number | undefined;
|
|
8394
8533
|
actionId?: string | undefined;
|
|
8395
8534
|
};
|
|
8396
|
-
state: "cancel_pending";
|
|
8397
8535
|
executionRef: string;
|
|
8398
8536
|
}, {
|
|
8537
|
+
state: "cancel_pending";
|
|
8399
8538
|
error: {
|
|
8400
8539
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8401
8540
|
message: string;
|
|
@@ -8424,7 +8563,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8424
8563
|
epoch?: number | undefined;
|
|
8425
8564
|
actionId?: string | undefined;
|
|
8426
8565
|
};
|
|
8427
|
-
state: "cancel_pending";
|
|
8428
8566
|
executionRef: string;
|
|
8429
8567
|
}>, z.ZodObject<{
|
|
8430
8568
|
state: z.ZodLiteral<"reconciliation_required">;
|
|
@@ -8512,6 +8650,7 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8512
8650
|
}>]>;
|
|
8513
8651
|
reconciliationRef: z.ZodString;
|
|
8514
8652
|
}, "strict", z.ZodTypeAny, {
|
|
8653
|
+
state: "reconciliation_required";
|
|
8515
8654
|
error: {
|
|
8516
8655
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8517
8656
|
message: string;
|
|
@@ -8540,9 +8679,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8540
8679
|
epoch?: number | undefined;
|
|
8541
8680
|
actionId?: string | undefined;
|
|
8542
8681
|
};
|
|
8543
|
-
state: "reconciliation_required";
|
|
8544
8682
|
reconciliationRef: string;
|
|
8545
8683
|
}, {
|
|
8684
|
+
state: "reconciliation_required";
|
|
8546
8685
|
error: {
|
|
8547
8686
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8548
8687
|
message: string;
|
|
@@ -8571,17 +8710,16 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8571
8710
|
epoch?: number | undefined;
|
|
8572
8711
|
actionId?: string | undefined;
|
|
8573
8712
|
};
|
|
8574
|
-
state: "reconciliation_required";
|
|
8575
8713
|
reconciliationRef: string;
|
|
8576
8714
|
}>, z.ZodObject<{
|
|
8577
8715
|
state: z.ZodLiteral<"cancelled">;
|
|
8578
8716
|
receiptRef: z.ZodString;
|
|
8579
8717
|
}, "strict", z.ZodTypeAny, {
|
|
8580
|
-
receiptRef: string;
|
|
8581
8718
|
state: "cancelled";
|
|
8582
|
-
}, {
|
|
8583
8719
|
receiptRef: string;
|
|
8720
|
+
}, {
|
|
8584
8721
|
state: "cancelled";
|
|
8722
|
+
receiptRef: string;
|
|
8585
8723
|
}>]>;
|
|
8586
8724
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
8587
8725
|
trace: z.ZodOptional<z.ZodObject<{
|
|
@@ -8609,10 +8747,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8609
8747
|
requestedAt?: string | undefined;
|
|
8610
8748
|
}>>;
|
|
8611
8749
|
}, "strict", z.ZodTypeAny, {
|
|
8612
|
-
kind: "worker_action_response";
|
|
8613
|
-
schemaVersion: 1;
|
|
8614
|
-
requestId: string;
|
|
8615
8750
|
outcome: {
|
|
8751
|
+
state: "confirmed";
|
|
8616
8752
|
result: {
|
|
8617
8753
|
kind: "implementation_complete";
|
|
8618
8754
|
schemaVersion: 1;
|
|
@@ -8625,10 +8761,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8625
8761
|
artifactRefs: string[];
|
|
8626
8762
|
artifactDigest: string;
|
|
8627
8763
|
} | {
|
|
8764
|
+
verdict: "changes_requested" | "accept";
|
|
8628
8765
|
kind: "review";
|
|
8629
8766
|
schemaVersion: 1;
|
|
8630
8767
|
candidateRevision: string;
|
|
8631
|
-
verdict: "accept" | "changes_requested";
|
|
8632
8768
|
evidenceRefs: string[];
|
|
8633
8769
|
evidenceDigest: string;
|
|
8634
8770
|
} | {
|
|
@@ -8652,13 +8788,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8652
8788
|
workspaceLeaseRef: string;
|
|
8653
8789
|
receiptRef: string;
|
|
8654
8790
|
};
|
|
8655
|
-
state: "confirmed";
|
|
8656
8791
|
} | {
|
|
8657
8792
|
state: "intent";
|
|
8658
8793
|
} | {
|
|
8659
8794
|
state: "running";
|
|
8660
8795
|
executionRef: string;
|
|
8661
8796
|
} | {
|
|
8797
|
+
state: "failed";
|
|
8662
8798
|
error: {
|
|
8663
8799
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8664
8800
|
message: string;
|
|
@@ -8678,8 +8814,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8678
8814
|
epoch?: number | undefined;
|
|
8679
8815
|
actionId?: string | undefined;
|
|
8680
8816
|
};
|
|
8681
|
-
state: "failed";
|
|
8682
8817
|
} | {
|
|
8818
|
+
state: "unknown";
|
|
8683
8819
|
error: {
|
|
8684
8820
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8685
8821
|
message: string;
|
|
@@ -8708,9 +8844,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8708
8844
|
epoch?: number | undefined;
|
|
8709
8845
|
actionId?: string | undefined;
|
|
8710
8846
|
};
|
|
8711
|
-
state: "unknown";
|
|
8712
8847
|
reconciliationRef: string;
|
|
8713
8848
|
} | {
|
|
8849
|
+
state: "cancel_pending";
|
|
8714
8850
|
error: {
|
|
8715
8851
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8716
8852
|
message: string;
|
|
@@ -8739,9 +8875,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8739
8875
|
epoch?: number | undefined;
|
|
8740
8876
|
actionId?: string | undefined;
|
|
8741
8877
|
};
|
|
8742
|
-
state: "cancel_pending";
|
|
8743
8878
|
executionRef: string;
|
|
8744
8879
|
} | {
|
|
8880
|
+
state: "reconciliation_required";
|
|
8745
8881
|
error: {
|
|
8746
8882
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8747
8883
|
message: string;
|
|
@@ -8770,12 +8906,14 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8770
8906
|
epoch?: number | undefined;
|
|
8771
8907
|
actionId?: string | undefined;
|
|
8772
8908
|
};
|
|
8773
|
-
state: "reconciliation_required";
|
|
8774
8909
|
reconciliationRef: string;
|
|
8775
8910
|
} | {
|
|
8776
|
-
receiptRef: string;
|
|
8777
8911
|
state: "cancelled";
|
|
8912
|
+
receiptRef: string;
|
|
8778
8913
|
};
|
|
8914
|
+
kind: "worker_action_response";
|
|
8915
|
+
schemaVersion: 1;
|
|
8916
|
+
requestId: string;
|
|
8779
8917
|
generation: number;
|
|
8780
8918
|
effect: {
|
|
8781
8919
|
scope: {
|
|
@@ -8800,10 +8938,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8800
8938
|
requestedAt?: string | undefined;
|
|
8801
8939
|
} | undefined;
|
|
8802
8940
|
}, {
|
|
8803
|
-
kind: "worker_action_response";
|
|
8804
|
-
schemaVersion: 1;
|
|
8805
|
-
requestId: string;
|
|
8806
8941
|
outcome: {
|
|
8942
|
+
state: "confirmed";
|
|
8807
8943
|
result: {
|
|
8808
8944
|
kind: "implementation_complete";
|
|
8809
8945
|
schemaVersion: 1;
|
|
@@ -8816,10 +8952,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8816
8952
|
artifactRefs: string[];
|
|
8817
8953
|
artifactDigest: string;
|
|
8818
8954
|
} | {
|
|
8955
|
+
verdict: "changes_requested" | "accept";
|
|
8819
8956
|
kind: "review";
|
|
8820
8957
|
schemaVersion: 1;
|
|
8821
8958
|
candidateRevision: string;
|
|
8822
|
-
verdict: "accept" | "changes_requested";
|
|
8823
8959
|
evidenceRefs: string[];
|
|
8824
8960
|
evidenceDigest: string;
|
|
8825
8961
|
} | {
|
|
@@ -8843,13 +8979,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8843
8979
|
workspaceLeaseRef: string;
|
|
8844
8980
|
receiptRef: string;
|
|
8845
8981
|
};
|
|
8846
|
-
state: "confirmed";
|
|
8847
8982
|
} | {
|
|
8848
8983
|
state: "intent";
|
|
8849
8984
|
} | {
|
|
8850
8985
|
state: "running";
|
|
8851
8986
|
executionRef: string;
|
|
8852
8987
|
} | {
|
|
8988
|
+
state: "failed";
|
|
8853
8989
|
error: {
|
|
8854
8990
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8855
8991
|
message: string;
|
|
@@ -8869,8 +9005,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8869
9005
|
epoch?: number | undefined;
|
|
8870
9006
|
actionId?: string | undefined;
|
|
8871
9007
|
};
|
|
8872
|
-
state: "failed";
|
|
8873
9008
|
} | {
|
|
9009
|
+
state: "unknown";
|
|
8874
9010
|
error: {
|
|
8875
9011
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8876
9012
|
message: string;
|
|
@@ -8899,9 +9035,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8899
9035
|
epoch?: number | undefined;
|
|
8900
9036
|
actionId?: string | undefined;
|
|
8901
9037
|
};
|
|
8902
|
-
state: "unknown";
|
|
8903
9038
|
reconciliationRef: string;
|
|
8904
9039
|
} | {
|
|
9040
|
+
state: "cancel_pending";
|
|
8905
9041
|
error: {
|
|
8906
9042
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8907
9043
|
message: string;
|
|
@@ -8930,9 +9066,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8930
9066
|
epoch?: number | undefined;
|
|
8931
9067
|
actionId?: string | undefined;
|
|
8932
9068
|
};
|
|
8933
|
-
state: "cancel_pending";
|
|
8934
9069
|
executionRef: string;
|
|
8935
9070
|
} | {
|
|
9071
|
+
state: "reconciliation_required";
|
|
8936
9072
|
error: {
|
|
8937
9073
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
8938
9074
|
message: string;
|
|
@@ -8961,12 +9097,14 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
8961
9097
|
epoch?: number | undefined;
|
|
8962
9098
|
actionId?: string | undefined;
|
|
8963
9099
|
};
|
|
8964
|
-
state: "reconciliation_required";
|
|
8965
9100
|
reconciliationRef: string;
|
|
8966
9101
|
} | {
|
|
8967
|
-
receiptRef: string;
|
|
8968
9102
|
state: "cancelled";
|
|
9103
|
+
receiptRef: string;
|
|
8969
9104
|
};
|
|
9105
|
+
kind: "worker_action_response";
|
|
9106
|
+
schemaVersion: 1;
|
|
9107
|
+
requestId: string;
|
|
8970
9108
|
generation: number;
|
|
8971
9109
|
effect: {
|
|
8972
9110
|
scope: {
|
|
@@ -9141,10 +9279,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9141
9279
|
schemaVersion: 1;
|
|
9142
9280
|
requestId: string;
|
|
9143
9281
|
}>]>, {
|
|
9144
|
-
kind: "worker_action_response";
|
|
9145
|
-
schemaVersion: 1;
|
|
9146
|
-
requestId: string;
|
|
9147
9282
|
outcome: {
|
|
9283
|
+
state: "confirmed";
|
|
9148
9284
|
result: {
|
|
9149
9285
|
kind: "implementation_complete";
|
|
9150
9286
|
schemaVersion: 1;
|
|
@@ -9157,10 +9293,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9157
9293
|
artifactRefs: string[];
|
|
9158
9294
|
artifactDigest: string;
|
|
9159
9295
|
} | {
|
|
9296
|
+
verdict: "changes_requested" | "accept";
|
|
9160
9297
|
kind: "review";
|
|
9161
9298
|
schemaVersion: 1;
|
|
9162
9299
|
candidateRevision: string;
|
|
9163
|
-
verdict: "accept" | "changes_requested";
|
|
9164
9300
|
evidenceRefs: string[];
|
|
9165
9301
|
evidenceDigest: string;
|
|
9166
9302
|
} | {
|
|
@@ -9184,13 +9320,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9184
9320
|
workspaceLeaseRef: string;
|
|
9185
9321
|
receiptRef: string;
|
|
9186
9322
|
};
|
|
9187
|
-
state: "confirmed";
|
|
9188
9323
|
} | {
|
|
9189
9324
|
state: "intent";
|
|
9190
9325
|
} | {
|
|
9191
9326
|
state: "running";
|
|
9192
9327
|
executionRef: string;
|
|
9193
9328
|
} | {
|
|
9329
|
+
state: "failed";
|
|
9194
9330
|
error: {
|
|
9195
9331
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9196
9332
|
message: string;
|
|
@@ -9210,8 +9346,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9210
9346
|
epoch?: number | undefined;
|
|
9211
9347
|
actionId?: string | undefined;
|
|
9212
9348
|
};
|
|
9213
|
-
state: "failed";
|
|
9214
9349
|
} | {
|
|
9350
|
+
state: "unknown";
|
|
9215
9351
|
error: {
|
|
9216
9352
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9217
9353
|
message: string;
|
|
@@ -9240,9 +9376,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9240
9376
|
epoch?: number | undefined;
|
|
9241
9377
|
actionId?: string | undefined;
|
|
9242
9378
|
};
|
|
9243
|
-
state: "unknown";
|
|
9244
9379
|
reconciliationRef: string;
|
|
9245
9380
|
} | {
|
|
9381
|
+
state: "cancel_pending";
|
|
9246
9382
|
error: {
|
|
9247
9383
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9248
9384
|
message: string;
|
|
@@ -9271,9 +9407,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9271
9407
|
epoch?: number | undefined;
|
|
9272
9408
|
actionId?: string | undefined;
|
|
9273
9409
|
};
|
|
9274
|
-
state: "cancel_pending";
|
|
9275
9410
|
executionRef: string;
|
|
9276
9411
|
} | {
|
|
9412
|
+
state: "reconciliation_required";
|
|
9277
9413
|
error: {
|
|
9278
9414
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9279
9415
|
message: string;
|
|
@@ -9302,12 +9438,14 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9302
9438
|
epoch?: number | undefined;
|
|
9303
9439
|
actionId?: string | undefined;
|
|
9304
9440
|
};
|
|
9305
|
-
state: "reconciliation_required";
|
|
9306
9441
|
reconciliationRef: string;
|
|
9307
9442
|
} | {
|
|
9308
|
-
receiptRef: string;
|
|
9309
9443
|
state: "cancelled";
|
|
9444
|
+
receiptRef: string;
|
|
9310
9445
|
};
|
|
9446
|
+
kind: "worker_action_response";
|
|
9447
|
+
schemaVersion: 1;
|
|
9448
|
+
requestId: string;
|
|
9311
9449
|
generation: number;
|
|
9312
9450
|
effect: {
|
|
9313
9451
|
scope: {
|
|
@@ -9364,10 +9502,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9364
9502
|
schemaVersion: 1;
|
|
9365
9503
|
requestId: string;
|
|
9366
9504
|
}, {
|
|
9367
|
-
kind: "worker_action_response";
|
|
9368
|
-
schemaVersion: 1;
|
|
9369
|
-
requestId: string;
|
|
9370
9505
|
outcome: {
|
|
9506
|
+
state: "confirmed";
|
|
9371
9507
|
result: {
|
|
9372
9508
|
kind: "implementation_complete";
|
|
9373
9509
|
schemaVersion: 1;
|
|
@@ -9380,10 +9516,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9380
9516
|
artifactRefs: string[];
|
|
9381
9517
|
artifactDigest: string;
|
|
9382
9518
|
} | {
|
|
9519
|
+
verdict: "changes_requested" | "accept";
|
|
9383
9520
|
kind: "review";
|
|
9384
9521
|
schemaVersion: 1;
|
|
9385
9522
|
candidateRevision: string;
|
|
9386
|
-
verdict: "accept" | "changes_requested";
|
|
9387
9523
|
evidenceRefs: string[];
|
|
9388
9524
|
evidenceDigest: string;
|
|
9389
9525
|
} | {
|
|
@@ -9407,13 +9543,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9407
9543
|
workspaceLeaseRef: string;
|
|
9408
9544
|
receiptRef: string;
|
|
9409
9545
|
};
|
|
9410
|
-
state: "confirmed";
|
|
9411
9546
|
} | {
|
|
9412
9547
|
state: "intent";
|
|
9413
9548
|
} | {
|
|
9414
9549
|
state: "running";
|
|
9415
9550
|
executionRef: string;
|
|
9416
9551
|
} | {
|
|
9552
|
+
state: "failed";
|
|
9417
9553
|
error: {
|
|
9418
9554
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9419
9555
|
message: string;
|
|
@@ -9433,8 +9569,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9433
9569
|
epoch?: number | undefined;
|
|
9434
9570
|
actionId?: string | undefined;
|
|
9435
9571
|
};
|
|
9436
|
-
state: "failed";
|
|
9437
9572
|
} | {
|
|
9573
|
+
state: "unknown";
|
|
9438
9574
|
error: {
|
|
9439
9575
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9440
9576
|
message: string;
|
|
@@ -9463,9 +9599,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9463
9599
|
epoch?: number | undefined;
|
|
9464
9600
|
actionId?: string | undefined;
|
|
9465
9601
|
};
|
|
9466
|
-
state: "unknown";
|
|
9467
9602
|
reconciliationRef: string;
|
|
9468
9603
|
} | {
|
|
9604
|
+
state: "cancel_pending";
|
|
9469
9605
|
error: {
|
|
9470
9606
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9471
9607
|
message: string;
|
|
@@ -9494,9 +9630,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9494
9630
|
epoch?: number | undefined;
|
|
9495
9631
|
actionId?: string | undefined;
|
|
9496
9632
|
};
|
|
9497
|
-
state: "cancel_pending";
|
|
9498
9633
|
executionRef: string;
|
|
9499
9634
|
} | {
|
|
9635
|
+
state: "reconciliation_required";
|
|
9500
9636
|
error: {
|
|
9501
9637
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9502
9638
|
message: string;
|
|
@@ -9525,12 +9661,14 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9525
9661
|
epoch?: number | undefined;
|
|
9526
9662
|
actionId?: string | undefined;
|
|
9527
9663
|
};
|
|
9528
|
-
state: "reconciliation_required";
|
|
9529
9664
|
reconciliationRef: string;
|
|
9530
9665
|
} | {
|
|
9531
|
-
receiptRef: string;
|
|
9532
9666
|
state: "cancelled";
|
|
9667
|
+
receiptRef: string;
|
|
9533
9668
|
};
|
|
9669
|
+
kind: "worker_action_response";
|
|
9670
|
+
schemaVersion: 1;
|
|
9671
|
+
requestId: string;
|
|
9534
9672
|
generation: number;
|
|
9535
9673
|
effect: {
|
|
9536
9674
|
scope: {
|
|
@@ -9587,10 +9725,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9587
9725
|
schemaVersion: 1;
|
|
9588
9726
|
requestId: string;
|
|
9589
9727
|
}>, {
|
|
9590
|
-
kind: "worker_action_response";
|
|
9591
|
-
schemaVersion: 1;
|
|
9592
|
-
requestId: string;
|
|
9593
9728
|
outcome: {
|
|
9729
|
+
state: "confirmed";
|
|
9594
9730
|
result: {
|
|
9595
9731
|
kind: "implementation_complete";
|
|
9596
9732
|
schemaVersion: 1;
|
|
@@ -9603,10 +9739,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9603
9739
|
artifactRefs: string[];
|
|
9604
9740
|
artifactDigest: string;
|
|
9605
9741
|
} | {
|
|
9742
|
+
verdict: "changes_requested" | "accept";
|
|
9606
9743
|
kind: "review";
|
|
9607
9744
|
schemaVersion: 1;
|
|
9608
9745
|
candidateRevision: string;
|
|
9609
|
-
verdict: "accept" | "changes_requested";
|
|
9610
9746
|
evidenceRefs: string[];
|
|
9611
9747
|
evidenceDigest: string;
|
|
9612
9748
|
} | {
|
|
@@ -9630,13 +9766,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9630
9766
|
workspaceLeaseRef: string;
|
|
9631
9767
|
receiptRef: string;
|
|
9632
9768
|
};
|
|
9633
|
-
state: "confirmed";
|
|
9634
9769
|
} | {
|
|
9635
9770
|
state: "intent";
|
|
9636
9771
|
} | {
|
|
9637
9772
|
state: "running";
|
|
9638
9773
|
executionRef: string;
|
|
9639
9774
|
} | {
|
|
9775
|
+
state: "failed";
|
|
9640
9776
|
error: {
|
|
9641
9777
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9642
9778
|
message: string;
|
|
@@ -9656,8 +9792,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9656
9792
|
epoch?: number | undefined;
|
|
9657
9793
|
actionId?: string | undefined;
|
|
9658
9794
|
};
|
|
9659
|
-
state: "failed";
|
|
9660
9795
|
} | {
|
|
9796
|
+
state: "unknown";
|
|
9661
9797
|
error: {
|
|
9662
9798
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9663
9799
|
message: string;
|
|
@@ -9686,9 +9822,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9686
9822
|
epoch?: number | undefined;
|
|
9687
9823
|
actionId?: string | undefined;
|
|
9688
9824
|
};
|
|
9689
|
-
state: "unknown";
|
|
9690
9825
|
reconciliationRef: string;
|
|
9691
9826
|
} | {
|
|
9827
|
+
state: "cancel_pending";
|
|
9692
9828
|
error: {
|
|
9693
9829
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9694
9830
|
message: string;
|
|
@@ -9717,9 +9853,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9717
9853
|
epoch?: number | undefined;
|
|
9718
9854
|
actionId?: string | undefined;
|
|
9719
9855
|
};
|
|
9720
|
-
state: "cancel_pending";
|
|
9721
9856
|
executionRef: string;
|
|
9722
9857
|
} | {
|
|
9858
|
+
state: "reconciliation_required";
|
|
9723
9859
|
error: {
|
|
9724
9860
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
9725
9861
|
message: string;
|
|
@@ -9748,12 +9884,14 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9748
9884
|
epoch?: number | undefined;
|
|
9749
9885
|
actionId?: string | undefined;
|
|
9750
9886
|
};
|
|
9751
|
-
state: "reconciliation_required";
|
|
9752
9887
|
reconciliationRef: string;
|
|
9753
9888
|
} | {
|
|
9754
|
-
receiptRef: string;
|
|
9755
9889
|
state: "cancelled";
|
|
9890
|
+
receiptRef: string;
|
|
9756
9891
|
};
|
|
9892
|
+
kind: "worker_action_response";
|
|
9893
|
+
schemaVersion: 1;
|
|
9894
|
+
requestId: string;
|
|
9757
9895
|
generation: number;
|
|
9758
9896
|
effect: {
|
|
9759
9897
|
scope: {
|
|
@@ -9946,6 +10084,22 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
9946
10084
|
specHash: z.ZodString;
|
|
9947
10085
|
createdAt: z.ZodNumber;
|
|
9948
10086
|
updatedAt: z.ZodNumber;
|
|
10087
|
+
admissionBinding: z.ZodOptional<z.ZodObject<{
|
|
10088
|
+
requestInputDigest: z.ZodString;
|
|
10089
|
+
hostInputDigest: z.ZodString;
|
|
10090
|
+
contractDigest: z.ZodString;
|
|
10091
|
+
policyDigest: z.ZodString;
|
|
10092
|
+
}, "strict", z.ZodTypeAny, {
|
|
10093
|
+
requestInputDigest: string;
|
|
10094
|
+
hostInputDigest: string;
|
|
10095
|
+
contractDigest: string;
|
|
10096
|
+
policyDigest: string;
|
|
10097
|
+
}, {
|
|
10098
|
+
requestInputDigest: string;
|
|
10099
|
+
hostInputDigest: string;
|
|
10100
|
+
contractDigest: string;
|
|
10101
|
+
policyDigest: string;
|
|
10102
|
+
}>>;
|
|
9949
10103
|
publication: z.ZodLiteral<"artifact_only">;
|
|
9950
10104
|
phase: z.ZodString;
|
|
9951
10105
|
budget: z.ZodObject<{
|
|
@@ -10040,22 +10194,22 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10040
10194
|
}>;
|
|
10041
10195
|
requestRef: z.ZodString;
|
|
10042
10196
|
}, "strict", z.ZodTypeAny, {
|
|
10043
|
-
kind: "needs_authorization";
|
|
10044
10197
|
scope: {
|
|
10045
10198
|
schemaVersion: 1;
|
|
10046
10199
|
tenantId: string;
|
|
10047
10200
|
principalId: string;
|
|
10048
10201
|
workspaceId: string;
|
|
10049
10202
|
};
|
|
10203
|
+
kind: "needs_authorization";
|
|
10050
10204
|
requestRef: string;
|
|
10051
10205
|
}, {
|
|
10052
|
-
kind: "needs_authorization";
|
|
10053
10206
|
scope: {
|
|
10054
10207
|
schemaVersion: 1;
|
|
10055
10208
|
tenantId: string;
|
|
10056
10209
|
principalId: string;
|
|
10057
10210
|
workspaceId: string;
|
|
10058
10211
|
};
|
|
10212
|
+
kind: "needs_authorization";
|
|
10059
10213
|
requestRef: string;
|
|
10060
10214
|
}>>;
|
|
10061
10215
|
error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -10167,19 +10321,24 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10167
10321
|
principalId: string;
|
|
10168
10322
|
workspaceId: string;
|
|
10169
10323
|
};
|
|
10170
|
-
|
|
10171
|
-
publication: "artifact_only";
|
|
10172
|
-
evidenceRefs: string[];
|
|
10324
|
+
revision: number;
|
|
10173
10325
|
source: {
|
|
10174
10326
|
product: "osstack" | "osbot" | "ostag";
|
|
10175
10327
|
requestId: string;
|
|
10176
10328
|
parentRunId?: string | undefined;
|
|
10177
10329
|
};
|
|
10330
|
+
candidate: {
|
|
10331
|
+
candidateRevision: string;
|
|
10332
|
+
artifactRefs: string[];
|
|
10333
|
+
artifactDigest: string;
|
|
10334
|
+
};
|
|
10335
|
+
schemaVersion: 1;
|
|
10336
|
+
publication: "artifact_only";
|
|
10337
|
+
evidenceRefs: string[];
|
|
10178
10338
|
graphRunId: string;
|
|
10179
10339
|
specHash: string;
|
|
10180
10340
|
generation: number;
|
|
10181
10341
|
inputDigest: string;
|
|
10182
|
-
revision: number;
|
|
10183
10342
|
createdAt: number;
|
|
10184
10343
|
updatedAt: number;
|
|
10185
10344
|
budget: {
|
|
@@ -10197,11 +10356,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10197
10356
|
chargedTokens: string;
|
|
10198
10357
|
accountingBlocked: boolean;
|
|
10199
10358
|
};
|
|
10200
|
-
candidate: {
|
|
10201
|
-
candidateRevision: string;
|
|
10202
|
-
artifactRefs: string[];
|
|
10203
|
-
artifactDigest: string;
|
|
10204
|
-
};
|
|
10205
10359
|
resultRef: string;
|
|
10206
10360
|
delivery: "available";
|
|
10207
10361
|
error?: {
|
|
@@ -10232,14 +10386,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10232
10386
|
epoch?: number | undefined;
|
|
10233
10387
|
actionId?: string | undefined;
|
|
10234
10388
|
} | undefined;
|
|
10389
|
+
admissionBinding?: {
|
|
10390
|
+
requestInputDigest: string;
|
|
10391
|
+
hostInputDigest: string;
|
|
10392
|
+
contractDigest: string;
|
|
10393
|
+
policyDigest: string;
|
|
10394
|
+
} | undefined;
|
|
10235
10395
|
authorization?: {
|
|
10236
|
-
kind: "needs_authorization";
|
|
10237
10396
|
scope: {
|
|
10238
10397
|
schemaVersion: 1;
|
|
10239
10398
|
tenantId: string;
|
|
10240
10399
|
principalId: string;
|
|
10241
10400
|
workspaceId: string;
|
|
10242
10401
|
};
|
|
10402
|
+
kind: "needs_authorization";
|
|
10243
10403
|
requestRef: string;
|
|
10244
10404
|
} | undefined;
|
|
10245
10405
|
interrupt?: {
|
|
@@ -10256,19 +10416,24 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10256
10416
|
principalId: string;
|
|
10257
10417
|
workspaceId: string;
|
|
10258
10418
|
};
|
|
10259
|
-
|
|
10260
|
-
publication: "artifact_only";
|
|
10261
|
-
evidenceRefs: string[];
|
|
10419
|
+
revision: number;
|
|
10262
10420
|
source: {
|
|
10263
10421
|
product: "osstack" | "osbot" | "ostag";
|
|
10264
10422
|
requestId: string;
|
|
10265
10423
|
parentRunId?: string | undefined;
|
|
10266
10424
|
};
|
|
10425
|
+
candidate: {
|
|
10426
|
+
candidateRevision: string;
|
|
10427
|
+
artifactRefs: string[];
|
|
10428
|
+
artifactDigest: string;
|
|
10429
|
+
};
|
|
10430
|
+
schemaVersion: 1;
|
|
10431
|
+
publication: "artifact_only";
|
|
10432
|
+
evidenceRefs: string[];
|
|
10267
10433
|
graphRunId: string;
|
|
10268
10434
|
specHash: string;
|
|
10269
10435
|
generation: number;
|
|
10270
10436
|
inputDigest: string;
|
|
10271
|
-
revision: number;
|
|
10272
10437
|
createdAt: number;
|
|
10273
10438
|
updatedAt: number;
|
|
10274
10439
|
budget: {
|
|
@@ -10286,11 +10451,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10286
10451
|
chargedTokens: string;
|
|
10287
10452
|
accountingBlocked: boolean;
|
|
10288
10453
|
};
|
|
10289
|
-
candidate: {
|
|
10290
|
-
candidateRevision: string;
|
|
10291
|
-
artifactRefs: string[];
|
|
10292
|
-
artifactDigest: string;
|
|
10293
|
-
};
|
|
10294
10454
|
resultRef: string;
|
|
10295
10455
|
delivery: "available";
|
|
10296
10456
|
error?: {
|
|
@@ -10321,14 +10481,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10321
10481
|
epoch?: number | undefined;
|
|
10322
10482
|
actionId?: string | undefined;
|
|
10323
10483
|
} | undefined;
|
|
10484
|
+
admissionBinding?: {
|
|
10485
|
+
requestInputDigest: string;
|
|
10486
|
+
hostInputDigest: string;
|
|
10487
|
+
contractDigest: string;
|
|
10488
|
+
policyDigest: string;
|
|
10489
|
+
} | undefined;
|
|
10324
10490
|
authorization?: {
|
|
10325
|
-
kind: "needs_authorization";
|
|
10326
10491
|
scope: {
|
|
10327
10492
|
schemaVersion: 1;
|
|
10328
10493
|
tenantId: string;
|
|
10329
10494
|
principalId: string;
|
|
10330
10495
|
workspaceId: string;
|
|
10331
10496
|
};
|
|
10497
|
+
kind: "needs_authorization";
|
|
10332
10498
|
requestRef: string;
|
|
10333
10499
|
} | undefined;
|
|
10334
10500
|
interrupt?: {
|
|
@@ -10374,6 +10540,22 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10374
10540
|
specHash: z.ZodString;
|
|
10375
10541
|
createdAt: z.ZodNumber;
|
|
10376
10542
|
updatedAt: z.ZodNumber;
|
|
10543
|
+
admissionBinding: z.ZodOptional<z.ZodObject<{
|
|
10544
|
+
requestInputDigest: z.ZodString;
|
|
10545
|
+
hostInputDigest: z.ZodString;
|
|
10546
|
+
contractDigest: z.ZodString;
|
|
10547
|
+
policyDigest: z.ZodString;
|
|
10548
|
+
}, "strict", z.ZodTypeAny, {
|
|
10549
|
+
requestInputDigest: string;
|
|
10550
|
+
hostInputDigest: string;
|
|
10551
|
+
contractDigest: string;
|
|
10552
|
+
policyDigest: string;
|
|
10553
|
+
}, {
|
|
10554
|
+
requestInputDigest: string;
|
|
10555
|
+
hostInputDigest: string;
|
|
10556
|
+
contractDigest: string;
|
|
10557
|
+
policyDigest: string;
|
|
10558
|
+
}>>;
|
|
10377
10559
|
publication: z.ZodLiteral<"artifact_only">;
|
|
10378
10560
|
phase: z.ZodString;
|
|
10379
10561
|
budget: z.ZodObject<{
|
|
@@ -10483,22 +10665,22 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10483
10665
|
}>;
|
|
10484
10666
|
requestRef: z.ZodString;
|
|
10485
10667
|
}, "strict", z.ZodTypeAny, {
|
|
10486
|
-
kind: "needs_authorization";
|
|
10487
10668
|
scope: {
|
|
10488
10669
|
schemaVersion: 1;
|
|
10489
10670
|
tenantId: string;
|
|
10490
10671
|
principalId: string;
|
|
10491
10672
|
workspaceId: string;
|
|
10492
10673
|
};
|
|
10674
|
+
kind: "needs_authorization";
|
|
10493
10675
|
requestRef: string;
|
|
10494
10676
|
}, {
|
|
10495
|
-
kind: "needs_authorization";
|
|
10496
10677
|
scope: {
|
|
10497
10678
|
schemaVersion: 1;
|
|
10498
10679
|
tenantId: string;
|
|
10499
10680
|
principalId: string;
|
|
10500
10681
|
workspaceId: string;
|
|
10501
10682
|
};
|
|
10683
|
+
kind: "needs_authorization";
|
|
10502
10684
|
requestRef: string;
|
|
10503
10685
|
}>>;
|
|
10504
10686
|
error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -10595,19 +10777,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10595
10777
|
principalId: string;
|
|
10596
10778
|
workspaceId: string;
|
|
10597
10779
|
};
|
|
10598
|
-
|
|
10599
|
-
publication: "artifact_only";
|
|
10600
|
-
evidenceRefs: string[];
|
|
10780
|
+
revision: number;
|
|
10601
10781
|
source: {
|
|
10602
10782
|
product: "osstack" | "osbot" | "ostag";
|
|
10603
10783
|
requestId: string;
|
|
10604
10784
|
parentRunId?: string | undefined;
|
|
10605
10785
|
};
|
|
10786
|
+
schemaVersion: 1;
|
|
10787
|
+
publication: "artifact_only";
|
|
10788
|
+
evidenceRefs: string[];
|
|
10606
10789
|
graphRunId: string;
|
|
10607
10790
|
specHash: string;
|
|
10608
10791
|
generation: number;
|
|
10609
10792
|
inputDigest: string;
|
|
10610
|
-
revision: number;
|
|
10611
10793
|
createdAt: number;
|
|
10612
10794
|
updatedAt: number;
|
|
10613
10795
|
budget: {
|
|
@@ -10626,6 +10808,11 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10626
10808
|
accountingBlocked: boolean;
|
|
10627
10809
|
};
|
|
10628
10810
|
delivery: "delivery_unknown";
|
|
10811
|
+
candidate?: {
|
|
10812
|
+
candidateRevision: string;
|
|
10813
|
+
artifactRefs: string[];
|
|
10814
|
+
artifactDigest: string;
|
|
10815
|
+
} | undefined;
|
|
10629
10816
|
error?: {
|
|
10630
10817
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
10631
10818
|
message: string;
|
|
@@ -10654,20 +10841,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10654
10841
|
epoch?: number | undefined;
|
|
10655
10842
|
actionId?: string | undefined;
|
|
10656
10843
|
} | undefined;
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10844
|
+
admissionBinding?: {
|
|
10845
|
+
requestInputDigest: string;
|
|
10846
|
+
hostInputDigest: string;
|
|
10847
|
+
contractDigest: string;
|
|
10848
|
+
policyDigest: string;
|
|
10661
10849
|
} | undefined;
|
|
10662
10850
|
resultRef?: string | undefined;
|
|
10663
10851
|
authorization?: {
|
|
10664
|
-
kind: "needs_authorization";
|
|
10665
10852
|
scope: {
|
|
10666
10853
|
schemaVersion: 1;
|
|
10667
10854
|
tenantId: string;
|
|
10668
10855
|
principalId: string;
|
|
10669
10856
|
workspaceId: string;
|
|
10670
10857
|
};
|
|
10858
|
+
kind: "needs_authorization";
|
|
10671
10859
|
requestRef: string;
|
|
10672
10860
|
} | undefined;
|
|
10673
10861
|
interrupt?: {
|
|
@@ -10684,19 +10872,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10684
10872
|
principalId: string;
|
|
10685
10873
|
workspaceId: string;
|
|
10686
10874
|
};
|
|
10687
|
-
|
|
10688
|
-
publication: "artifact_only";
|
|
10689
|
-
evidenceRefs: string[];
|
|
10875
|
+
revision: number;
|
|
10690
10876
|
source: {
|
|
10691
10877
|
product: "osstack" | "osbot" | "ostag";
|
|
10692
10878
|
requestId: string;
|
|
10693
10879
|
parentRunId?: string | undefined;
|
|
10694
10880
|
};
|
|
10881
|
+
schemaVersion: 1;
|
|
10882
|
+
publication: "artifact_only";
|
|
10883
|
+
evidenceRefs: string[];
|
|
10695
10884
|
graphRunId: string;
|
|
10696
10885
|
specHash: string;
|
|
10697
10886
|
generation: number;
|
|
10698
10887
|
inputDigest: string;
|
|
10699
|
-
revision: number;
|
|
10700
10888
|
createdAt: number;
|
|
10701
10889
|
updatedAt: number;
|
|
10702
10890
|
budget: {
|
|
@@ -10715,6 +10903,11 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10715
10903
|
accountingBlocked: boolean;
|
|
10716
10904
|
};
|
|
10717
10905
|
delivery: "delivery_unknown";
|
|
10906
|
+
candidate?: {
|
|
10907
|
+
candidateRevision: string;
|
|
10908
|
+
artifactRefs: string[];
|
|
10909
|
+
artifactDigest: string;
|
|
10910
|
+
} | undefined;
|
|
10718
10911
|
error?: {
|
|
10719
10912
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
10720
10913
|
message: string;
|
|
@@ -10743,20 +10936,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10743
10936
|
epoch?: number | undefined;
|
|
10744
10937
|
actionId?: string | undefined;
|
|
10745
10938
|
} | undefined;
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10939
|
+
admissionBinding?: {
|
|
10940
|
+
requestInputDigest: string;
|
|
10941
|
+
hostInputDigest: string;
|
|
10942
|
+
contractDigest: string;
|
|
10943
|
+
policyDigest: string;
|
|
10750
10944
|
} | undefined;
|
|
10751
10945
|
resultRef?: string | undefined;
|
|
10752
10946
|
authorization?: {
|
|
10753
|
-
kind: "needs_authorization";
|
|
10754
10947
|
scope: {
|
|
10755
10948
|
schemaVersion: 1;
|
|
10756
10949
|
tenantId: string;
|
|
10757
10950
|
principalId: string;
|
|
10758
10951
|
workspaceId: string;
|
|
10759
10952
|
};
|
|
10953
|
+
kind: "needs_authorization";
|
|
10760
10954
|
requestRef: string;
|
|
10761
10955
|
} | undefined;
|
|
10762
10956
|
interrupt?: {
|
|
@@ -10802,6 +10996,22 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10802
10996
|
specHash: z.ZodString;
|
|
10803
10997
|
createdAt: z.ZodNumber;
|
|
10804
10998
|
updatedAt: z.ZodNumber;
|
|
10999
|
+
admissionBinding: z.ZodOptional<z.ZodObject<{
|
|
11000
|
+
requestInputDigest: z.ZodString;
|
|
11001
|
+
hostInputDigest: z.ZodString;
|
|
11002
|
+
contractDigest: z.ZodString;
|
|
11003
|
+
policyDigest: z.ZodString;
|
|
11004
|
+
}, "strict", z.ZodTypeAny, {
|
|
11005
|
+
requestInputDigest: string;
|
|
11006
|
+
hostInputDigest: string;
|
|
11007
|
+
contractDigest: string;
|
|
11008
|
+
policyDigest: string;
|
|
11009
|
+
}, {
|
|
11010
|
+
requestInputDigest: string;
|
|
11011
|
+
hostInputDigest: string;
|
|
11012
|
+
contractDigest: string;
|
|
11013
|
+
policyDigest: string;
|
|
11014
|
+
}>>;
|
|
10805
11015
|
publication: z.ZodLiteral<"artifact_only">;
|
|
10806
11016
|
phase: z.ZodString;
|
|
10807
11017
|
budget: z.ZodObject<{
|
|
@@ -10911,22 +11121,22 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
10911
11121
|
}>;
|
|
10912
11122
|
requestRef: z.ZodString;
|
|
10913
11123
|
}, "strict", z.ZodTypeAny, {
|
|
10914
|
-
kind: "needs_authorization";
|
|
10915
11124
|
scope: {
|
|
10916
11125
|
schemaVersion: 1;
|
|
10917
11126
|
tenantId: string;
|
|
10918
11127
|
principalId: string;
|
|
10919
11128
|
workspaceId: string;
|
|
10920
11129
|
};
|
|
11130
|
+
kind: "needs_authorization";
|
|
10921
11131
|
requestRef: string;
|
|
10922
11132
|
}, {
|
|
10923
|
-
kind: "needs_authorization";
|
|
10924
11133
|
scope: {
|
|
10925
11134
|
schemaVersion: 1;
|
|
10926
11135
|
tenantId: string;
|
|
10927
11136
|
principalId: string;
|
|
10928
11137
|
workspaceId: string;
|
|
10929
11138
|
};
|
|
11139
|
+
kind: "needs_authorization";
|
|
10930
11140
|
requestRef: string;
|
|
10931
11141
|
}>>;
|
|
10932
11142
|
error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -11023,19 +11233,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11023
11233
|
principalId: string;
|
|
11024
11234
|
workspaceId: string;
|
|
11025
11235
|
};
|
|
11026
|
-
|
|
11027
|
-
publication: "artifact_only";
|
|
11028
|
-
evidenceRefs: string[];
|
|
11236
|
+
revision: number;
|
|
11029
11237
|
source: {
|
|
11030
11238
|
product: "osstack" | "osbot" | "ostag";
|
|
11031
11239
|
requestId: string;
|
|
11032
11240
|
parentRunId?: string | undefined;
|
|
11033
11241
|
};
|
|
11242
|
+
schemaVersion: 1;
|
|
11243
|
+
publication: "artifact_only";
|
|
11244
|
+
evidenceRefs: string[];
|
|
11034
11245
|
graphRunId: string;
|
|
11035
11246
|
specHash: string;
|
|
11036
11247
|
generation: number;
|
|
11037
11248
|
inputDigest: string;
|
|
11038
|
-
revision: number;
|
|
11039
11249
|
createdAt: number;
|
|
11040
11250
|
updatedAt: number;
|
|
11041
11251
|
budget: {
|
|
@@ -11053,7 +11263,12 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11053
11263
|
chargedTokens: string;
|
|
11054
11264
|
accountingBlocked: boolean;
|
|
11055
11265
|
};
|
|
11056
|
-
delivery: "
|
|
11266
|
+
delivery: "delivery_unknown" | "pending";
|
|
11267
|
+
candidate?: {
|
|
11268
|
+
candidateRevision: string;
|
|
11269
|
+
artifactRefs: string[];
|
|
11270
|
+
artifactDigest: string;
|
|
11271
|
+
} | undefined;
|
|
11057
11272
|
error?: {
|
|
11058
11273
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11059
11274
|
message: string;
|
|
@@ -11082,20 +11297,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11082
11297
|
epoch?: number | undefined;
|
|
11083
11298
|
actionId?: string | undefined;
|
|
11084
11299
|
} | undefined;
|
|
11085
|
-
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11300
|
+
admissionBinding?: {
|
|
11301
|
+
requestInputDigest: string;
|
|
11302
|
+
hostInputDigest: string;
|
|
11303
|
+
contractDigest: string;
|
|
11304
|
+
policyDigest: string;
|
|
11089
11305
|
} | undefined;
|
|
11090
11306
|
resultRef?: string | undefined;
|
|
11091
11307
|
authorization?: {
|
|
11092
|
-
kind: "needs_authorization";
|
|
11093
11308
|
scope: {
|
|
11094
11309
|
schemaVersion: 1;
|
|
11095
11310
|
tenantId: string;
|
|
11096
11311
|
principalId: string;
|
|
11097
11312
|
workspaceId: string;
|
|
11098
11313
|
};
|
|
11314
|
+
kind: "needs_authorization";
|
|
11099
11315
|
requestRef: string;
|
|
11100
11316
|
} | undefined;
|
|
11101
11317
|
interrupt?: {
|
|
@@ -11112,19 +11328,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11112
11328
|
principalId: string;
|
|
11113
11329
|
workspaceId: string;
|
|
11114
11330
|
};
|
|
11115
|
-
|
|
11116
|
-
publication: "artifact_only";
|
|
11117
|
-
evidenceRefs: string[];
|
|
11331
|
+
revision: number;
|
|
11118
11332
|
source: {
|
|
11119
11333
|
product: "osstack" | "osbot" | "ostag";
|
|
11120
11334
|
requestId: string;
|
|
11121
11335
|
parentRunId?: string | undefined;
|
|
11122
11336
|
};
|
|
11337
|
+
schemaVersion: 1;
|
|
11338
|
+
publication: "artifact_only";
|
|
11339
|
+
evidenceRefs: string[];
|
|
11123
11340
|
graphRunId: string;
|
|
11124
11341
|
specHash: string;
|
|
11125
11342
|
generation: number;
|
|
11126
11343
|
inputDigest: string;
|
|
11127
|
-
revision: number;
|
|
11128
11344
|
createdAt: number;
|
|
11129
11345
|
updatedAt: number;
|
|
11130
11346
|
budget: {
|
|
@@ -11142,7 +11358,12 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11142
11358
|
chargedTokens: string;
|
|
11143
11359
|
accountingBlocked: boolean;
|
|
11144
11360
|
};
|
|
11145
|
-
delivery: "
|
|
11361
|
+
delivery: "delivery_unknown" | "pending";
|
|
11362
|
+
candidate?: {
|
|
11363
|
+
candidateRevision: string;
|
|
11364
|
+
artifactRefs: string[];
|
|
11365
|
+
artifactDigest: string;
|
|
11366
|
+
} | undefined;
|
|
11146
11367
|
error?: {
|
|
11147
11368
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11148
11369
|
message: string;
|
|
@@ -11171,20 +11392,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11171
11392
|
epoch?: number | undefined;
|
|
11172
11393
|
actionId?: string | undefined;
|
|
11173
11394
|
} | undefined;
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11395
|
+
admissionBinding?: {
|
|
11396
|
+
requestInputDigest: string;
|
|
11397
|
+
hostInputDigest: string;
|
|
11398
|
+
contractDigest: string;
|
|
11399
|
+
policyDigest: string;
|
|
11178
11400
|
} | undefined;
|
|
11179
11401
|
resultRef?: string | undefined;
|
|
11180
11402
|
authorization?: {
|
|
11181
|
-
kind: "needs_authorization";
|
|
11182
11403
|
scope: {
|
|
11183
11404
|
schemaVersion: 1;
|
|
11184
11405
|
tenantId: string;
|
|
11185
11406
|
principalId: string;
|
|
11186
11407
|
workspaceId: string;
|
|
11187
11408
|
};
|
|
11409
|
+
kind: "needs_authorization";
|
|
11188
11410
|
requestRef: string;
|
|
11189
11411
|
} | undefined;
|
|
11190
11412
|
interrupt?: {
|
|
@@ -11201,19 +11423,24 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11201
11423
|
principalId: string;
|
|
11202
11424
|
workspaceId: string;
|
|
11203
11425
|
};
|
|
11204
|
-
|
|
11205
|
-
publication: "artifact_only";
|
|
11206
|
-
evidenceRefs: string[];
|
|
11426
|
+
revision: number;
|
|
11207
11427
|
source: {
|
|
11208
11428
|
product: "osstack" | "osbot" | "ostag";
|
|
11209
11429
|
requestId: string;
|
|
11210
11430
|
parentRunId?: string | undefined;
|
|
11211
11431
|
};
|
|
11432
|
+
candidate: {
|
|
11433
|
+
candidateRevision: string;
|
|
11434
|
+
artifactRefs: string[];
|
|
11435
|
+
artifactDigest: string;
|
|
11436
|
+
};
|
|
11437
|
+
schemaVersion: 1;
|
|
11438
|
+
publication: "artifact_only";
|
|
11439
|
+
evidenceRefs: string[];
|
|
11212
11440
|
graphRunId: string;
|
|
11213
11441
|
specHash: string;
|
|
11214
11442
|
generation: number;
|
|
11215
11443
|
inputDigest: string;
|
|
11216
|
-
revision: number;
|
|
11217
11444
|
createdAt: number;
|
|
11218
11445
|
updatedAt: number;
|
|
11219
11446
|
budget: {
|
|
@@ -11231,11 +11458,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11231
11458
|
chargedTokens: string;
|
|
11232
11459
|
accountingBlocked: boolean;
|
|
11233
11460
|
};
|
|
11234
|
-
candidate: {
|
|
11235
|
-
candidateRevision: string;
|
|
11236
|
-
artifactRefs: string[];
|
|
11237
|
-
artifactDigest: string;
|
|
11238
|
-
};
|
|
11239
11461
|
resultRef: string;
|
|
11240
11462
|
delivery: "available";
|
|
11241
11463
|
error?: {
|
|
@@ -11266,14 +11488,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11266
11488
|
epoch?: number | undefined;
|
|
11267
11489
|
actionId?: string | undefined;
|
|
11268
11490
|
} | undefined;
|
|
11491
|
+
admissionBinding?: {
|
|
11492
|
+
requestInputDigest: string;
|
|
11493
|
+
hostInputDigest: string;
|
|
11494
|
+
contractDigest: string;
|
|
11495
|
+
policyDigest: string;
|
|
11496
|
+
} | undefined;
|
|
11269
11497
|
authorization?: {
|
|
11270
|
-
kind: "needs_authorization";
|
|
11271
11498
|
scope: {
|
|
11272
11499
|
schemaVersion: 1;
|
|
11273
11500
|
tenantId: string;
|
|
11274
11501
|
principalId: string;
|
|
11275
11502
|
workspaceId: string;
|
|
11276
11503
|
};
|
|
11504
|
+
kind: "needs_authorization";
|
|
11277
11505
|
requestRef: string;
|
|
11278
11506
|
} | undefined;
|
|
11279
11507
|
interrupt?: {
|
|
@@ -11290,19 +11518,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11290
11518
|
principalId: string;
|
|
11291
11519
|
workspaceId: string;
|
|
11292
11520
|
};
|
|
11293
|
-
|
|
11294
|
-
publication: "artifact_only";
|
|
11295
|
-
evidenceRefs: string[];
|
|
11521
|
+
revision: number;
|
|
11296
11522
|
source: {
|
|
11297
11523
|
product: "osstack" | "osbot" | "ostag";
|
|
11298
11524
|
requestId: string;
|
|
11299
11525
|
parentRunId?: string | undefined;
|
|
11300
11526
|
};
|
|
11527
|
+
schemaVersion: 1;
|
|
11528
|
+
publication: "artifact_only";
|
|
11529
|
+
evidenceRefs: string[];
|
|
11301
11530
|
graphRunId: string;
|
|
11302
11531
|
specHash: string;
|
|
11303
11532
|
generation: number;
|
|
11304
11533
|
inputDigest: string;
|
|
11305
|
-
revision: number;
|
|
11306
11534
|
createdAt: number;
|
|
11307
11535
|
updatedAt: number;
|
|
11308
11536
|
budget: {
|
|
@@ -11321,6 +11549,11 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11321
11549
|
accountingBlocked: boolean;
|
|
11322
11550
|
};
|
|
11323
11551
|
delivery: "delivery_unknown";
|
|
11552
|
+
candidate?: {
|
|
11553
|
+
candidateRevision: string;
|
|
11554
|
+
artifactRefs: string[];
|
|
11555
|
+
artifactDigest: string;
|
|
11556
|
+
} | undefined;
|
|
11324
11557
|
error?: {
|
|
11325
11558
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11326
11559
|
message: string;
|
|
@@ -11349,20 +11582,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11349
11582
|
epoch?: number | undefined;
|
|
11350
11583
|
actionId?: string | undefined;
|
|
11351
11584
|
} | undefined;
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11585
|
+
admissionBinding?: {
|
|
11586
|
+
requestInputDigest: string;
|
|
11587
|
+
hostInputDigest: string;
|
|
11588
|
+
contractDigest: string;
|
|
11589
|
+
policyDigest: string;
|
|
11356
11590
|
} | undefined;
|
|
11357
11591
|
resultRef?: string | undefined;
|
|
11358
11592
|
authorization?: {
|
|
11359
|
-
kind: "needs_authorization";
|
|
11360
11593
|
scope: {
|
|
11361
11594
|
schemaVersion: 1;
|
|
11362
11595
|
tenantId: string;
|
|
11363
11596
|
principalId: string;
|
|
11364
11597
|
workspaceId: string;
|
|
11365
11598
|
};
|
|
11599
|
+
kind: "needs_authorization";
|
|
11366
11600
|
requestRef: string;
|
|
11367
11601
|
} | undefined;
|
|
11368
11602
|
interrupt?: {
|
|
@@ -11379,19 +11613,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11379
11613
|
principalId: string;
|
|
11380
11614
|
workspaceId: string;
|
|
11381
11615
|
};
|
|
11382
|
-
|
|
11383
|
-
publication: "artifact_only";
|
|
11384
|
-
evidenceRefs: string[];
|
|
11616
|
+
revision: number;
|
|
11385
11617
|
source: {
|
|
11386
11618
|
product: "osstack" | "osbot" | "ostag";
|
|
11387
11619
|
requestId: string;
|
|
11388
11620
|
parentRunId?: string | undefined;
|
|
11389
11621
|
};
|
|
11622
|
+
schemaVersion: 1;
|
|
11623
|
+
publication: "artifact_only";
|
|
11624
|
+
evidenceRefs: string[];
|
|
11390
11625
|
graphRunId: string;
|
|
11391
11626
|
specHash: string;
|
|
11392
11627
|
generation: number;
|
|
11393
11628
|
inputDigest: string;
|
|
11394
|
-
revision: number;
|
|
11395
11629
|
createdAt: number;
|
|
11396
11630
|
updatedAt: number;
|
|
11397
11631
|
budget: {
|
|
@@ -11409,7 +11643,12 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11409
11643
|
chargedTokens: string;
|
|
11410
11644
|
accountingBlocked: boolean;
|
|
11411
11645
|
};
|
|
11412
|
-
delivery: "
|
|
11646
|
+
delivery: "delivery_unknown" | "pending";
|
|
11647
|
+
candidate?: {
|
|
11648
|
+
candidateRevision: string;
|
|
11649
|
+
artifactRefs: string[];
|
|
11650
|
+
artifactDigest: string;
|
|
11651
|
+
} | undefined;
|
|
11413
11652
|
error?: {
|
|
11414
11653
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11415
11654
|
message: string;
|
|
@@ -11438,20 +11677,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11438
11677
|
epoch?: number | undefined;
|
|
11439
11678
|
actionId?: string | undefined;
|
|
11440
11679
|
} | undefined;
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11680
|
+
admissionBinding?: {
|
|
11681
|
+
requestInputDigest: string;
|
|
11682
|
+
hostInputDigest: string;
|
|
11683
|
+
contractDigest: string;
|
|
11684
|
+
policyDigest: string;
|
|
11445
11685
|
} | undefined;
|
|
11446
11686
|
resultRef?: string | undefined;
|
|
11447
11687
|
authorization?: {
|
|
11448
|
-
kind: "needs_authorization";
|
|
11449
11688
|
scope: {
|
|
11450
11689
|
schemaVersion: 1;
|
|
11451
11690
|
tenantId: string;
|
|
11452
11691
|
principalId: string;
|
|
11453
11692
|
workspaceId: string;
|
|
11454
11693
|
};
|
|
11694
|
+
kind: "needs_authorization";
|
|
11455
11695
|
requestRef: string;
|
|
11456
11696
|
} | undefined;
|
|
11457
11697
|
interrupt?: {
|
|
@@ -11468,19 +11708,24 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11468
11708
|
principalId: string;
|
|
11469
11709
|
workspaceId: string;
|
|
11470
11710
|
};
|
|
11471
|
-
|
|
11472
|
-
publication: "artifact_only";
|
|
11473
|
-
evidenceRefs: string[];
|
|
11711
|
+
revision: number;
|
|
11474
11712
|
source: {
|
|
11475
11713
|
product: "osstack" | "osbot" | "ostag";
|
|
11476
11714
|
requestId: string;
|
|
11477
11715
|
parentRunId?: string | undefined;
|
|
11478
11716
|
};
|
|
11717
|
+
candidate: {
|
|
11718
|
+
candidateRevision: string;
|
|
11719
|
+
artifactRefs: string[];
|
|
11720
|
+
artifactDigest: string;
|
|
11721
|
+
};
|
|
11722
|
+
schemaVersion: 1;
|
|
11723
|
+
publication: "artifact_only";
|
|
11724
|
+
evidenceRefs: string[];
|
|
11479
11725
|
graphRunId: string;
|
|
11480
11726
|
specHash: string;
|
|
11481
11727
|
generation: number;
|
|
11482
11728
|
inputDigest: string;
|
|
11483
|
-
revision: number;
|
|
11484
11729
|
createdAt: number;
|
|
11485
11730
|
updatedAt: number;
|
|
11486
11731
|
budget: {
|
|
@@ -11498,11 +11743,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11498
11743
|
chargedTokens: string;
|
|
11499
11744
|
accountingBlocked: boolean;
|
|
11500
11745
|
};
|
|
11501
|
-
candidate: {
|
|
11502
|
-
candidateRevision: string;
|
|
11503
|
-
artifactRefs: string[];
|
|
11504
|
-
artifactDigest: string;
|
|
11505
|
-
};
|
|
11506
11746
|
resultRef: string;
|
|
11507
11747
|
delivery: "available";
|
|
11508
11748
|
error?: {
|
|
@@ -11533,14 +11773,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11533
11773
|
epoch?: number | undefined;
|
|
11534
11774
|
actionId?: string | undefined;
|
|
11535
11775
|
} | undefined;
|
|
11776
|
+
admissionBinding?: {
|
|
11777
|
+
requestInputDigest: string;
|
|
11778
|
+
hostInputDigest: string;
|
|
11779
|
+
contractDigest: string;
|
|
11780
|
+
policyDigest: string;
|
|
11781
|
+
} | undefined;
|
|
11536
11782
|
authorization?: {
|
|
11537
|
-
kind: "needs_authorization";
|
|
11538
11783
|
scope: {
|
|
11539
11784
|
schemaVersion: 1;
|
|
11540
11785
|
tenantId: string;
|
|
11541
11786
|
principalId: string;
|
|
11542
11787
|
workspaceId: string;
|
|
11543
11788
|
};
|
|
11789
|
+
kind: "needs_authorization";
|
|
11544
11790
|
requestRef: string;
|
|
11545
11791
|
} | undefined;
|
|
11546
11792
|
interrupt?: {
|
|
@@ -11557,19 +11803,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11557
11803
|
principalId: string;
|
|
11558
11804
|
workspaceId: string;
|
|
11559
11805
|
};
|
|
11560
|
-
|
|
11561
|
-
publication: "artifact_only";
|
|
11562
|
-
evidenceRefs: string[];
|
|
11806
|
+
revision: number;
|
|
11563
11807
|
source: {
|
|
11564
11808
|
product: "osstack" | "osbot" | "ostag";
|
|
11565
11809
|
requestId: string;
|
|
11566
11810
|
parentRunId?: string | undefined;
|
|
11567
11811
|
};
|
|
11812
|
+
schemaVersion: 1;
|
|
11813
|
+
publication: "artifact_only";
|
|
11814
|
+
evidenceRefs: string[];
|
|
11568
11815
|
graphRunId: string;
|
|
11569
11816
|
specHash: string;
|
|
11570
11817
|
generation: number;
|
|
11571
11818
|
inputDigest: string;
|
|
11572
|
-
revision: number;
|
|
11573
11819
|
createdAt: number;
|
|
11574
11820
|
updatedAt: number;
|
|
11575
11821
|
budget: {
|
|
@@ -11588,6 +11834,11 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11588
11834
|
accountingBlocked: boolean;
|
|
11589
11835
|
};
|
|
11590
11836
|
delivery: "delivery_unknown";
|
|
11837
|
+
candidate?: {
|
|
11838
|
+
candidateRevision: string;
|
|
11839
|
+
artifactRefs: string[];
|
|
11840
|
+
artifactDigest: string;
|
|
11841
|
+
} | undefined;
|
|
11591
11842
|
error?: {
|
|
11592
11843
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11593
11844
|
message: string;
|
|
@@ -11616,20 +11867,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11616
11867
|
epoch?: number | undefined;
|
|
11617
11868
|
actionId?: string | undefined;
|
|
11618
11869
|
} | undefined;
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11870
|
+
admissionBinding?: {
|
|
11871
|
+
requestInputDigest: string;
|
|
11872
|
+
hostInputDigest: string;
|
|
11873
|
+
contractDigest: string;
|
|
11874
|
+
policyDigest: string;
|
|
11623
11875
|
} | undefined;
|
|
11624
11876
|
resultRef?: string | undefined;
|
|
11625
11877
|
authorization?: {
|
|
11626
|
-
kind: "needs_authorization";
|
|
11627
11878
|
scope: {
|
|
11628
11879
|
schemaVersion: 1;
|
|
11629
11880
|
tenantId: string;
|
|
11630
11881
|
principalId: string;
|
|
11631
11882
|
workspaceId: string;
|
|
11632
11883
|
};
|
|
11884
|
+
kind: "needs_authorization";
|
|
11633
11885
|
requestRef: string;
|
|
11634
11886
|
} | undefined;
|
|
11635
11887
|
interrupt?: {
|
|
@@ -11646,19 +11898,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11646
11898
|
principalId: string;
|
|
11647
11899
|
workspaceId: string;
|
|
11648
11900
|
};
|
|
11649
|
-
|
|
11650
|
-
publication: "artifact_only";
|
|
11651
|
-
evidenceRefs: string[];
|
|
11901
|
+
revision: number;
|
|
11652
11902
|
source: {
|
|
11653
11903
|
product: "osstack" | "osbot" | "ostag";
|
|
11654
11904
|
requestId: string;
|
|
11655
11905
|
parentRunId?: string | undefined;
|
|
11656
11906
|
};
|
|
11907
|
+
schemaVersion: 1;
|
|
11908
|
+
publication: "artifact_only";
|
|
11909
|
+
evidenceRefs: string[];
|
|
11657
11910
|
graphRunId: string;
|
|
11658
11911
|
specHash: string;
|
|
11659
11912
|
generation: number;
|
|
11660
11913
|
inputDigest: string;
|
|
11661
|
-
revision: number;
|
|
11662
11914
|
createdAt: number;
|
|
11663
11915
|
updatedAt: number;
|
|
11664
11916
|
budget: {
|
|
@@ -11676,7 +11928,12 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11676
11928
|
chargedTokens: string;
|
|
11677
11929
|
accountingBlocked: boolean;
|
|
11678
11930
|
};
|
|
11679
|
-
delivery: "
|
|
11931
|
+
delivery: "delivery_unknown" | "pending";
|
|
11932
|
+
candidate?: {
|
|
11933
|
+
candidateRevision: string;
|
|
11934
|
+
artifactRefs: string[];
|
|
11935
|
+
artifactDigest: string;
|
|
11936
|
+
} | undefined;
|
|
11680
11937
|
error?: {
|
|
11681
11938
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11682
11939
|
message: string;
|
|
@@ -11705,20 +11962,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11705
11962
|
epoch?: number | undefined;
|
|
11706
11963
|
actionId?: string | undefined;
|
|
11707
11964
|
} | undefined;
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11965
|
+
admissionBinding?: {
|
|
11966
|
+
requestInputDigest: string;
|
|
11967
|
+
hostInputDigest: string;
|
|
11968
|
+
contractDigest: string;
|
|
11969
|
+
policyDigest: string;
|
|
11712
11970
|
} | undefined;
|
|
11713
11971
|
resultRef?: string | undefined;
|
|
11714
11972
|
authorization?: {
|
|
11715
|
-
kind: "needs_authorization";
|
|
11716
11973
|
scope: {
|
|
11717
11974
|
schemaVersion: 1;
|
|
11718
11975
|
tenantId: string;
|
|
11719
11976
|
principalId: string;
|
|
11720
11977
|
workspaceId: string;
|
|
11721
11978
|
};
|
|
11979
|
+
kind: "needs_authorization";
|
|
11722
11980
|
requestRef: string;
|
|
11723
11981
|
} | undefined;
|
|
11724
11982
|
interrupt?: {
|
|
@@ -11735,19 +11993,24 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11735
11993
|
principalId: string;
|
|
11736
11994
|
workspaceId: string;
|
|
11737
11995
|
};
|
|
11738
|
-
|
|
11739
|
-
publication: "artifact_only";
|
|
11740
|
-
evidenceRefs: string[];
|
|
11996
|
+
revision: number;
|
|
11741
11997
|
source: {
|
|
11742
11998
|
product: "osstack" | "osbot" | "ostag";
|
|
11743
11999
|
requestId: string;
|
|
11744
12000
|
parentRunId?: string | undefined;
|
|
11745
12001
|
};
|
|
12002
|
+
candidate: {
|
|
12003
|
+
candidateRevision: string;
|
|
12004
|
+
artifactRefs: string[];
|
|
12005
|
+
artifactDigest: string;
|
|
12006
|
+
};
|
|
12007
|
+
schemaVersion: 1;
|
|
12008
|
+
publication: "artifact_only";
|
|
12009
|
+
evidenceRefs: string[];
|
|
11746
12010
|
graphRunId: string;
|
|
11747
12011
|
specHash: string;
|
|
11748
12012
|
generation: number;
|
|
11749
12013
|
inputDigest: string;
|
|
11750
|
-
revision: number;
|
|
11751
12014
|
createdAt: number;
|
|
11752
12015
|
updatedAt: number;
|
|
11753
12016
|
budget: {
|
|
@@ -11765,11 +12028,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11765
12028
|
chargedTokens: string;
|
|
11766
12029
|
accountingBlocked: boolean;
|
|
11767
12030
|
};
|
|
11768
|
-
candidate: {
|
|
11769
|
-
candidateRevision: string;
|
|
11770
|
-
artifactRefs: string[];
|
|
11771
|
-
artifactDigest: string;
|
|
11772
|
-
};
|
|
11773
12031
|
resultRef: string;
|
|
11774
12032
|
delivery: "available";
|
|
11775
12033
|
error?: {
|
|
@@ -11800,14 +12058,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11800
12058
|
epoch?: number | undefined;
|
|
11801
12059
|
actionId?: string | undefined;
|
|
11802
12060
|
} | undefined;
|
|
12061
|
+
admissionBinding?: {
|
|
12062
|
+
requestInputDigest: string;
|
|
12063
|
+
hostInputDigest: string;
|
|
12064
|
+
contractDigest: string;
|
|
12065
|
+
policyDigest: string;
|
|
12066
|
+
} | undefined;
|
|
11803
12067
|
authorization?: {
|
|
11804
|
-
kind: "needs_authorization";
|
|
11805
12068
|
scope: {
|
|
11806
12069
|
schemaVersion: 1;
|
|
11807
12070
|
tenantId: string;
|
|
11808
12071
|
principalId: string;
|
|
11809
12072
|
workspaceId: string;
|
|
11810
12073
|
};
|
|
12074
|
+
kind: "needs_authorization";
|
|
11811
12075
|
requestRef: string;
|
|
11812
12076
|
} | undefined;
|
|
11813
12077
|
interrupt?: {
|
|
@@ -11824,19 +12088,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11824
12088
|
principalId: string;
|
|
11825
12089
|
workspaceId: string;
|
|
11826
12090
|
};
|
|
11827
|
-
|
|
11828
|
-
publication: "artifact_only";
|
|
11829
|
-
evidenceRefs: string[];
|
|
12091
|
+
revision: number;
|
|
11830
12092
|
source: {
|
|
11831
12093
|
product: "osstack" | "osbot" | "ostag";
|
|
11832
12094
|
requestId: string;
|
|
11833
12095
|
parentRunId?: string | undefined;
|
|
11834
12096
|
};
|
|
12097
|
+
schemaVersion: 1;
|
|
12098
|
+
publication: "artifact_only";
|
|
12099
|
+
evidenceRefs: string[];
|
|
11835
12100
|
graphRunId: string;
|
|
11836
12101
|
specHash: string;
|
|
11837
12102
|
generation: number;
|
|
11838
12103
|
inputDigest: string;
|
|
11839
|
-
revision: number;
|
|
11840
12104
|
createdAt: number;
|
|
11841
12105
|
updatedAt: number;
|
|
11842
12106
|
budget: {
|
|
@@ -11855,6 +12119,11 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11855
12119
|
accountingBlocked: boolean;
|
|
11856
12120
|
};
|
|
11857
12121
|
delivery: "delivery_unknown";
|
|
12122
|
+
candidate?: {
|
|
12123
|
+
candidateRevision: string;
|
|
12124
|
+
artifactRefs: string[];
|
|
12125
|
+
artifactDigest: string;
|
|
12126
|
+
} | undefined;
|
|
11858
12127
|
error?: {
|
|
11859
12128
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11860
12129
|
message: string;
|
|
@@ -11883,20 +12152,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11883
12152
|
epoch?: number | undefined;
|
|
11884
12153
|
actionId?: string | undefined;
|
|
11885
12154
|
} | undefined;
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
12155
|
+
admissionBinding?: {
|
|
12156
|
+
requestInputDigest: string;
|
|
12157
|
+
hostInputDigest: string;
|
|
12158
|
+
contractDigest: string;
|
|
12159
|
+
policyDigest: string;
|
|
11890
12160
|
} | undefined;
|
|
11891
12161
|
resultRef?: string | undefined;
|
|
11892
12162
|
authorization?: {
|
|
11893
|
-
kind: "needs_authorization";
|
|
11894
12163
|
scope: {
|
|
11895
12164
|
schemaVersion: 1;
|
|
11896
12165
|
tenantId: string;
|
|
11897
12166
|
principalId: string;
|
|
11898
12167
|
workspaceId: string;
|
|
11899
12168
|
};
|
|
12169
|
+
kind: "needs_authorization";
|
|
11900
12170
|
requestRef: string;
|
|
11901
12171
|
} | undefined;
|
|
11902
12172
|
interrupt?: {
|
|
@@ -11913,19 +12183,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11913
12183
|
principalId: string;
|
|
11914
12184
|
workspaceId: string;
|
|
11915
12185
|
};
|
|
11916
|
-
|
|
11917
|
-
publication: "artifact_only";
|
|
11918
|
-
evidenceRefs: string[];
|
|
12186
|
+
revision: number;
|
|
11919
12187
|
source: {
|
|
11920
12188
|
product: "osstack" | "osbot" | "ostag";
|
|
11921
12189
|
requestId: string;
|
|
11922
12190
|
parentRunId?: string | undefined;
|
|
11923
12191
|
};
|
|
12192
|
+
schemaVersion: 1;
|
|
12193
|
+
publication: "artifact_only";
|
|
12194
|
+
evidenceRefs: string[];
|
|
11924
12195
|
graphRunId: string;
|
|
11925
12196
|
specHash: string;
|
|
11926
12197
|
generation: number;
|
|
11927
12198
|
inputDigest: string;
|
|
11928
|
-
revision: number;
|
|
11929
12199
|
createdAt: number;
|
|
11930
12200
|
updatedAt: number;
|
|
11931
12201
|
budget: {
|
|
@@ -11943,7 +12213,12 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11943
12213
|
chargedTokens: string;
|
|
11944
12214
|
accountingBlocked: boolean;
|
|
11945
12215
|
};
|
|
11946
|
-
delivery: "
|
|
12216
|
+
delivery: "delivery_unknown" | "pending";
|
|
12217
|
+
candidate?: {
|
|
12218
|
+
candidateRevision: string;
|
|
12219
|
+
artifactRefs: string[];
|
|
12220
|
+
artifactDigest: string;
|
|
12221
|
+
} | undefined;
|
|
11947
12222
|
error?: {
|
|
11948
12223
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
11949
12224
|
message: string;
|
|
@@ -11972,20 +12247,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
11972
12247
|
epoch?: number | undefined;
|
|
11973
12248
|
actionId?: string | undefined;
|
|
11974
12249
|
} | undefined;
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
12250
|
+
admissionBinding?: {
|
|
12251
|
+
requestInputDigest: string;
|
|
12252
|
+
hostInputDigest: string;
|
|
12253
|
+
contractDigest: string;
|
|
12254
|
+
policyDigest: string;
|
|
11979
12255
|
} | undefined;
|
|
11980
12256
|
resultRef?: string | undefined;
|
|
11981
12257
|
authorization?: {
|
|
11982
|
-
kind: "needs_authorization";
|
|
11983
12258
|
scope: {
|
|
11984
12259
|
schemaVersion: 1;
|
|
11985
12260
|
tenantId: string;
|
|
11986
12261
|
principalId: string;
|
|
11987
12262
|
workspaceId: string;
|
|
11988
12263
|
};
|
|
12264
|
+
kind: "needs_authorization";
|
|
11989
12265
|
requestRef: string;
|
|
11990
12266
|
} | undefined;
|
|
11991
12267
|
interrupt?: {
|
|
@@ -12018,39 +12294,39 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12018
12294
|
graphRunId: z.ZodOptional<z.ZodString>;
|
|
12019
12295
|
nextAction: z.ZodLiteral<"retry_same_request">;
|
|
12020
12296
|
}, "strict", z.ZodTypeAny, {
|
|
12021
|
-
kind: "delivery_unknown";
|
|
12022
12297
|
scope: {
|
|
12023
12298
|
schemaVersion: 1;
|
|
12024
12299
|
tenantId: string;
|
|
12025
12300
|
principalId: string;
|
|
12026
12301
|
workspaceId: string;
|
|
12027
12302
|
};
|
|
12303
|
+
kind: "delivery_unknown";
|
|
12028
12304
|
schemaVersion: 1;
|
|
12029
12305
|
nextAction: "retry_same_request";
|
|
12030
12306
|
idempotencyKey: string;
|
|
12031
12307
|
inputDigest: string;
|
|
12032
12308
|
graphRunId?: string | undefined;
|
|
12033
12309
|
}, {
|
|
12034
|
-
kind: "delivery_unknown";
|
|
12035
12310
|
scope: {
|
|
12036
12311
|
schemaVersion: 1;
|
|
12037
12312
|
tenantId: string;
|
|
12038
12313
|
principalId: string;
|
|
12039
12314
|
workspaceId: string;
|
|
12040
12315
|
};
|
|
12316
|
+
kind: "delivery_unknown";
|
|
12041
12317
|
schemaVersion: 1;
|
|
12042
12318
|
nextAction: "retry_same_request";
|
|
12043
12319
|
idempotencyKey: string;
|
|
12044
12320
|
inputDigest: string;
|
|
12045
12321
|
graphRunId?: string | undefined;
|
|
12046
12322
|
}>, {
|
|
12047
|
-
kind: "delivery_unknown";
|
|
12048
12323
|
scope: {
|
|
12049
12324
|
schemaVersion: 1;
|
|
12050
12325
|
tenantId: string;
|
|
12051
12326
|
principalId: string;
|
|
12052
12327
|
workspaceId: string;
|
|
12053
12328
|
};
|
|
12329
|
+
kind: "delivery_unknown";
|
|
12054
12330
|
schemaVersion: 1;
|
|
12055
12331
|
nextAction: "retry_same_request";
|
|
12056
12332
|
idempotencyKey: string;
|
|
@@ -12104,10 +12380,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12104
12380
|
artifactRefs: string[];
|
|
12105
12381
|
artifactDigest: string;
|
|
12106
12382
|
} | {
|
|
12383
|
+
verdict: "changes_requested" | "accept";
|
|
12107
12384
|
kind: "review";
|
|
12108
12385
|
schemaVersion: 1;
|
|
12109
12386
|
candidateRevision: string;
|
|
12110
|
-
verdict: "accept" | "changes_requested";
|
|
12111
12387
|
evidenceRefs: string[];
|
|
12112
12388
|
evidenceDigest: string;
|
|
12113
12389
|
} | {
|
|
@@ -12161,17 +12437,22 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12161
12437
|
deadlineSeconds: number;
|
|
12162
12438
|
tokenReservationLimit: number;
|
|
12163
12439
|
};
|
|
12164
|
-
runState: "queued" | "cancelled" | "running" | "
|
|
12440
|
+
runState: "queued" | "cancelled" | "running" | "failed" | "ready" | "waiting_input" | "cancel_pending" | "reconciliation_required";
|
|
12165
12441
|
nodeState: "cancelled" | "running" | "failed" | "waiting_input" | "pending" | "succeeded" | "skipped";
|
|
12166
12442
|
actionState: "unknown" | "cancelled" | "running" | "failed" | "cancel_pending" | "reconciliation_required" | "intent" | "confirmed";
|
|
12167
12443
|
request: {
|
|
12168
|
-
kind: "start";
|
|
12169
12444
|
scope: {
|
|
12170
12445
|
schemaVersion: 1;
|
|
12171
12446
|
tenantId: string;
|
|
12172
12447
|
principalId: string;
|
|
12173
12448
|
workspaceId: string;
|
|
12174
12449
|
};
|
|
12450
|
+
source: {
|
|
12451
|
+
product: "osstack" | "osbot" | "ostag";
|
|
12452
|
+
requestId: string;
|
|
12453
|
+
parentRunId?: string | undefined;
|
|
12454
|
+
};
|
|
12455
|
+
kind: "start";
|
|
12175
12456
|
schemaVersion: 1;
|
|
12176
12457
|
spec: {
|
|
12177
12458
|
input: {
|
|
@@ -12194,11 +12475,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12194
12475
|
publication: "artifact_only";
|
|
12195
12476
|
};
|
|
12196
12477
|
inputArtifactRef: string;
|
|
12197
|
-
source: {
|
|
12198
|
-
product: "osstack" | "osbot" | "ostag";
|
|
12199
|
-
requestId: string;
|
|
12200
|
-
parentRunId?: string | undefined;
|
|
12201
|
-
};
|
|
12202
12478
|
idempotencyKey: string;
|
|
12203
12479
|
metadata?: {
|
|
12204
12480
|
trace?: {
|
|
@@ -12208,20 +12484,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12208
12484
|
requestedAt?: string | undefined;
|
|
12209
12485
|
} | undefined;
|
|
12210
12486
|
} | {
|
|
12211
|
-
kind: "resume";
|
|
12212
12487
|
scope: {
|
|
12213
12488
|
schemaVersion: 1;
|
|
12214
12489
|
tenantId: string;
|
|
12215
12490
|
principalId: string;
|
|
12216
12491
|
workspaceId: string;
|
|
12217
12492
|
};
|
|
12493
|
+
kind: "resume";
|
|
12218
12494
|
input: {
|
|
12219
12495
|
value: GraphJsonValue;
|
|
12220
12496
|
kind: "data";
|
|
12221
12497
|
} | {
|
|
12498
|
+
outcome: "unknown" | "applied" | "not_applied";
|
|
12222
12499
|
kind: "reconciliation";
|
|
12223
12500
|
evidenceRefs: string[];
|
|
12224
|
-
outcome: "unknown" | "applied" | "not_applied";
|
|
12225
12501
|
};
|
|
12226
12502
|
schemaVersion: 1;
|
|
12227
12503
|
idempotencyKey: string;
|
|
@@ -12236,13 +12512,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12236
12512
|
requestedAt?: string | undefined;
|
|
12237
12513
|
} | undefined;
|
|
12238
12514
|
} | {
|
|
12239
|
-
kind: "cancel";
|
|
12240
12515
|
scope: {
|
|
12241
12516
|
schemaVersion: 1;
|
|
12242
12517
|
tenantId: string;
|
|
12243
12518
|
principalId: string;
|
|
12244
12519
|
workspaceId: string;
|
|
12245
12520
|
};
|
|
12521
|
+
kind: "cancel";
|
|
12246
12522
|
schemaVersion: 1;
|
|
12247
12523
|
idempotencyKey: string;
|
|
12248
12524
|
graphRunId: string;
|
|
@@ -12303,13 +12579,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12303
12579
|
kind: "workspace_release";
|
|
12304
12580
|
workspaceLeaseRef: string;
|
|
12305
12581
|
};
|
|
12306
|
-
kind: "worker_action";
|
|
12307
12582
|
scope: {
|
|
12308
12583
|
schemaVersion: 1;
|
|
12309
12584
|
tenantId: string;
|
|
12310
12585
|
principalId: string;
|
|
12311
12586
|
workspaceId: string;
|
|
12312
12587
|
};
|
|
12588
|
+
kind: "worker_action";
|
|
12313
12589
|
schemaVersion: 1;
|
|
12314
12590
|
nodeId: string;
|
|
12315
12591
|
epoch: number;
|
|
@@ -12327,10 +12603,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12327
12603
|
} | undefined;
|
|
12328
12604
|
};
|
|
12329
12605
|
workerActionResponse: {
|
|
12330
|
-
kind: "worker_action_response";
|
|
12331
|
-
schemaVersion: 1;
|
|
12332
|
-
requestId: string;
|
|
12333
12606
|
outcome: {
|
|
12607
|
+
state: "confirmed";
|
|
12334
12608
|
result: {
|
|
12335
12609
|
kind: "implementation_complete";
|
|
12336
12610
|
schemaVersion: 1;
|
|
@@ -12343,10 +12617,10 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12343
12617
|
artifactRefs: string[];
|
|
12344
12618
|
artifactDigest: string;
|
|
12345
12619
|
} | {
|
|
12620
|
+
verdict: "changes_requested" | "accept";
|
|
12346
12621
|
kind: "review";
|
|
12347
12622
|
schemaVersion: 1;
|
|
12348
12623
|
candidateRevision: string;
|
|
12349
|
-
verdict: "accept" | "changes_requested";
|
|
12350
12624
|
evidenceRefs: string[];
|
|
12351
12625
|
evidenceDigest: string;
|
|
12352
12626
|
} | {
|
|
@@ -12370,13 +12644,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12370
12644
|
workspaceLeaseRef: string;
|
|
12371
12645
|
receiptRef: string;
|
|
12372
12646
|
};
|
|
12373
|
-
state: "confirmed";
|
|
12374
12647
|
} | {
|
|
12375
12648
|
state: "intent";
|
|
12376
12649
|
} | {
|
|
12377
12650
|
state: "running";
|
|
12378
12651
|
executionRef: string;
|
|
12379
12652
|
} | {
|
|
12653
|
+
state: "failed";
|
|
12380
12654
|
error: {
|
|
12381
12655
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
12382
12656
|
message: string;
|
|
@@ -12396,8 +12670,8 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12396
12670
|
epoch?: number | undefined;
|
|
12397
12671
|
actionId?: string | undefined;
|
|
12398
12672
|
};
|
|
12399
|
-
state: "failed";
|
|
12400
12673
|
} | {
|
|
12674
|
+
state: "unknown";
|
|
12401
12675
|
error: {
|
|
12402
12676
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
12403
12677
|
message: string;
|
|
@@ -12426,9 +12700,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12426
12700
|
epoch?: number | undefined;
|
|
12427
12701
|
actionId?: string | undefined;
|
|
12428
12702
|
};
|
|
12429
|
-
state: "unknown";
|
|
12430
12703
|
reconciliationRef: string;
|
|
12431
12704
|
} | {
|
|
12705
|
+
state: "cancel_pending";
|
|
12432
12706
|
error: {
|
|
12433
12707
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
12434
12708
|
message: string;
|
|
@@ -12457,9 +12731,9 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12457
12731
|
epoch?: number | undefined;
|
|
12458
12732
|
actionId?: string | undefined;
|
|
12459
12733
|
};
|
|
12460
|
-
state: "cancel_pending";
|
|
12461
12734
|
executionRef: string;
|
|
12462
12735
|
} | {
|
|
12736
|
+
state: "reconciliation_required";
|
|
12463
12737
|
error: {
|
|
12464
12738
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
12465
12739
|
message: string;
|
|
@@ -12488,12 +12762,14 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12488
12762
|
epoch?: number | undefined;
|
|
12489
12763
|
actionId?: string | undefined;
|
|
12490
12764
|
};
|
|
12491
|
-
state: "reconciliation_required";
|
|
12492
12765
|
reconciliationRef: string;
|
|
12493
12766
|
} | {
|
|
12494
|
-
receiptRef: string;
|
|
12495
12767
|
state: "cancelled";
|
|
12768
|
+
receiptRef: string;
|
|
12496
12769
|
};
|
|
12770
|
+
kind: "worker_action_response";
|
|
12771
|
+
schemaVersion: 1;
|
|
12772
|
+
requestId: string;
|
|
12497
12773
|
generation: number;
|
|
12498
12774
|
effect: {
|
|
12499
12775
|
scope: {
|
|
@@ -12580,19 +12856,24 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12580
12856
|
principalId: string;
|
|
12581
12857
|
workspaceId: string;
|
|
12582
12858
|
};
|
|
12583
|
-
|
|
12584
|
-
publication: "artifact_only";
|
|
12585
|
-
evidenceRefs: string[];
|
|
12859
|
+
revision: number;
|
|
12586
12860
|
source: {
|
|
12587
12861
|
product: "osstack" | "osbot" | "ostag";
|
|
12588
12862
|
requestId: string;
|
|
12589
12863
|
parentRunId?: string | undefined;
|
|
12590
12864
|
};
|
|
12865
|
+
candidate: {
|
|
12866
|
+
candidateRevision: string;
|
|
12867
|
+
artifactRefs: string[];
|
|
12868
|
+
artifactDigest: string;
|
|
12869
|
+
};
|
|
12870
|
+
schemaVersion: 1;
|
|
12871
|
+
publication: "artifact_only";
|
|
12872
|
+
evidenceRefs: string[];
|
|
12591
12873
|
graphRunId: string;
|
|
12592
12874
|
specHash: string;
|
|
12593
12875
|
generation: number;
|
|
12594
12876
|
inputDigest: string;
|
|
12595
|
-
revision: number;
|
|
12596
12877
|
createdAt: number;
|
|
12597
12878
|
updatedAt: number;
|
|
12598
12879
|
budget: {
|
|
@@ -12610,11 +12891,6 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12610
12891
|
chargedTokens: string;
|
|
12611
12892
|
accountingBlocked: boolean;
|
|
12612
12893
|
};
|
|
12613
|
-
candidate: {
|
|
12614
|
-
candidateRevision: string;
|
|
12615
|
-
artifactRefs: string[];
|
|
12616
|
-
artifactDigest: string;
|
|
12617
|
-
};
|
|
12618
12894
|
resultRef: string;
|
|
12619
12895
|
delivery: "available";
|
|
12620
12896
|
error?: {
|
|
@@ -12645,14 +12921,20 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12645
12921
|
epoch?: number | undefined;
|
|
12646
12922
|
actionId?: string | undefined;
|
|
12647
12923
|
} | undefined;
|
|
12924
|
+
admissionBinding?: {
|
|
12925
|
+
requestInputDigest: string;
|
|
12926
|
+
hostInputDigest: string;
|
|
12927
|
+
contractDigest: string;
|
|
12928
|
+
policyDigest: string;
|
|
12929
|
+
} | undefined;
|
|
12648
12930
|
authorization?: {
|
|
12649
|
-
kind: "needs_authorization";
|
|
12650
12931
|
scope: {
|
|
12651
12932
|
schemaVersion: 1;
|
|
12652
12933
|
tenantId: string;
|
|
12653
12934
|
principalId: string;
|
|
12654
12935
|
workspaceId: string;
|
|
12655
12936
|
};
|
|
12937
|
+
kind: "needs_authorization";
|
|
12656
12938
|
requestRef: string;
|
|
12657
12939
|
} | undefined;
|
|
12658
12940
|
interrupt?: {
|
|
@@ -12669,19 +12951,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12669
12951
|
principalId: string;
|
|
12670
12952
|
workspaceId: string;
|
|
12671
12953
|
};
|
|
12672
|
-
|
|
12673
|
-
publication: "artifact_only";
|
|
12674
|
-
evidenceRefs: string[];
|
|
12954
|
+
revision: number;
|
|
12675
12955
|
source: {
|
|
12676
12956
|
product: "osstack" | "osbot" | "ostag";
|
|
12677
12957
|
requestId: string;
|
|
12678
12958
|
parentRunId?: string | undefined;
|
|
12679
12959
|
};
|
|
12960
|
+
schemaVersion: 1;
|
|
12961
|
+
publication: "artifact_only";
|
|
12962
|
+
evidenceRefs: string[];
|
|
12680
12963
|
graphRunId: string;
|
|
12681
12964
|
specHash: string;
|
|
12682
12965
|
generation: number;
|
|
12683
12966
|
inputDigest: string;
|
|
12684
|
-
revision: number;
|
|
12685
12967
|
createdAt: number;
|
|
12686
12968
|
updatedAt: number;
|
|
12687
12969
|
budget: {
|
|
@@ -12700,6 +12982,11 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12700
12982
|
accountingBlocked: boolean;
|
|
12701
12983
|
};
|
|
12702
12984
|
delivery: "delivery_unknown";
|
|
12985
|
+
candidate?: {
|
|
12986
|
+
candidateRevision: string;
|
|
12987
|
+
artifactRefs: string[];
|
|
12988
|
+
artifactDigest: string;
|
|
12989
|
+
} | undefined;
|
|
12703
12990
|
error?: {
|
|
12704
12991
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
12705
12992
|
message: string;
|
|
@@ -12728,20 +13015,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12728
13015
|
epoch?: number | undefined;
|
|
12729
13016
|
actionId?: string | undefined;
|
|
12730
13017
|
} | undefined;
|
|
12731
|
-
|
|
12732
|
-
|
|
12733
|
-
|
|
12734
|
-
|
|
13018
|
+
admissionBinding?: {
|
|
13019
|
+
requestInputDigest: string;
|
|
13020
|
+
hostInputDigest: string;
|
|
13021
|
+
contractDigest: string;
|
|
13022
|
+
policyDigest: string;
|
|
12735
13023
|
} | undefined;
|
|
12736
13024
|
resultRef?: string | undefined;
|
|
12737
13025
|
authorization?: {
|
|
12738
|
-
kind: "needs_authorization";
|
|
12739
13026
|
scope: {
|
|
12740
13027
|
schemaVersion: 1;
|
|
12741
13028
|
tenantId: string;
|
|
12742
13029
|
principalId: string;
|
|
12743
13030
|
workspaceId: string;
|
|
12744
13031
|
};
|
|
13032
|
+
kind: "needs_authorization";
|
|
12745
13033
|
requestRef: string;
|
|
12746
13034
|
} | undefined;
|
|
12747
13035
|
interrupt?: {
|
|
@@ -12758,19 +13046,19 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12758
13046
|
principalId: string;
|
|
12759
13047
|
workspaceId: string;
|
|
12760
13048
|
};
|
|
12761
|
-
|
|
12762
|
-
publication: "artifact_only";
|
|
12763
|
-
evidenceRefs: string[];
|
|
13049
|
+
revision: number;
|
|
12764
13050
|
source: {
|
|
12765
13051
|
product: "osstack" | "osbot" | "ostag";
|
|
12766
13052
|
requestId: string;
|
|
12767
13053
|
parentRunId?: string | undefined;
|
|
12768
13054
|
};
|
|
13055
|
+
schemaVersion: 1;
|
|
13056
|
+
publication: "artifact_only";
|
|
13057
|
+
evidenceRefs: string[];
|
|
12769
13058
|
graphRunId: string;
|
|
12770
13059
|
specHash: string;
|
|
12771
13060
|
generation: number;
|
|
12772
13061
|
inputDigest: string;
|
|
12773
|
-
revision: number;
|
|
12774
13062
|
createdAt: number;
|
|
12775
13063
|
updatedAt: number;
|
|
12776
13064
|
budget: {
|
|
@@ -12788,7 +13076,12 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12788
13076
|
chargedTokens: string;
|
|
12789
13077
|
accountingBlocked: boolean;
|
|
12790
13078
|
};
|
|
12791
|
-
delivery: "
|
|
13079
|
+
delivery: "delivery_unknown" | "pending";
|
|
13080
|
+
candidate?: {
|
|
13081
|
+
candidateRevision: string;
|
|
13082
|
+
artifactRefs: string[];
|
|
13083
|
+
artifactDigest: string;
|
|
13084
|
+
} | undefined;
|
|
12792
13085
|
error?: {
|
|
12793
13086
|
code: "OUTPUT_CONTRACT_INVALID" | "INTERNAL_ERROR";
|
|
12794
13087
|
message: string;
|
|
@@ -12817,20 +13110,21 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12817
13110
|
epoch?: number | undefined;
|
|
12818
13111
|
actionId?: string | undefined;
|
|
12819
13112
|
} | undefined;
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
|
|
13113
|
+
admissionBinding?: {
|
|
13114
|
+
requestInputDigest: string;
|
|
13115
|
+
hostInputDigest: string;
|
|
13116
|
+
contractDigest: string;
|
|
13117
|
+
policyDigest: string;
|
|
12824
13118
|
} | undefined;
|
|
12825
13119
|
resultRef?: string | undefined;
|
|
12826
13120
|
authorization?: {
|
|
12827
|
-
kind: "needs_authorization";
|
|
12828
13121
|
scope: {
|
|
12829
13122
|
schemaVersion: 1;
|
|
12830
13123
|
tenantId: string;
|
|
12831
13124
|
principalId: string;
|
|
12832
13125
|
workspaceId: string;
|
|
12833
13126
|
};
|
|
13127
|
+
kind: "needs_authorization";
|
|
12834
13128
|
requestRef: string;
|
|
12835
13129
|
} | undefined;
|
|
12836
13130
|
interrupt?: {
|
|
@@ -12840,13 +13134,13 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12840
13134
|
} | undefined;
|
|
12841
13135
|
};
|
|
12842
13136
|
deliveryUnknown: {
|
|
12843
|
-
kind: "delivery_unknown";
|
|
12844
13137
|
scope: {
|
|
12845
13138
|
schemaVersion: 1;
|
|
12846
13139
|
tenantId: string;
|
|
12847
13140
|
principalId: string;
|
|
12848
13141
|
workspaceId: string;
|
|
12849
13142
|
};
|
|
13143
|
+
kind: "delivery_unknown";
|
|
12850
13144
|
schemaVersion: 1;
|
|
12851
13145
|
nextAction: "retry_same_request";
|
|
12852
13146
|
idempotencyKey: string;
|
|
@@ -12854,7 +13148,7 @@ export declare const GraphProtocol: z.ZodObject<{
|
|
|
12854
13148
|
graphRunId?: string | undefined;
|
|
12855
13149
|
};
|
|
12856
13150
|
}, {
|
|
12857
|
-
runState: "queued" | "cancelled" | "running" | "
|
|
13151
|
+
runState: "queued" | "cancelled" | "running" | "failed" | "ready" | "waiting_input" | "cancel_pending" | "reconciliation_required";
|
|
12858
13152
|
nodeState: "cancelled" | "running" | "failed" | "waiting_input" | "pending" | "succeeded" | "skipped";
|
|
12859
13153
|
actionState: "unknown" | "cancelled" | "running" | "failed" | "cancel_pending" | "reconciliation_required" | "intent" | "confirmed";
|
|
12860
13154
|
scope?: unknown;
|