@tangle-network/agent-interface 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/agent-candidate-artifact-schema.d.ts +5 -5
- package/dist/agent-candidate-artifact-schema.js +3 -3
- package/dist/agent-candidate-code-schema.d.ts +3 -3
- package/dist/agent-candidate-execution-plan-schema.d.ts +203 -46
- package/dist/agent-candidate-execution-plan-schema.js +89 -10
- package/dist/agent-candidate-lineage-schema.d.ts +90 -3
- package/dist/agent-candidate-lineage-schema.js +17 -3
- package/dist/agent-candidate-outcome-schema.d.ts +259 -395
- package/dist/agent-candidate-outcome-schema.js +75 -64
- package/dist/agent-candidate-promotion-schema.d.ts +2708 -0
- package/dist/agent-candidate-promotion-schema.js +409 -0
- package/dist/agent-candidate-receipt-schema.d.ts +278 -1337
- package/dist/agent-candidate-receipt-schema.js +7 -116
- package/dist/agent-candidate-schema-common.d.ts +2 -0
- package/dist/agent-candidate-schema-common.js +8 -0
- package/dist/agent-candidate-schema.d.ts +94 -7
- package/dist/agent-candidate-schema.js +1 -1
- package/dist/agent-candidate.d.ts +257 -87
- package/dist/agent-candidate.test-fixture.d.ts +45 -11
- package/dist/agent-candidate.test-fixture.js +46 -12
- package/dist/agent-profile.js +5 -20
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +3 -2
|
@@ -23,30 +23,6 @@ export declare const agentCandidateTraceEvidenceSchema: z.ZodObject<{
|
|
|
23
23
|
eventCount: z.ZodNumber;
|
|
24
24
|
modelCallCount: z.ZodNumber;
|
|
25
25
|
}, z.core.$strict>;
|
|
26
|
-
export declare const agentCandidateModelUsageSchema: z.ZodObject<{
|
|
27
|
-
resolved: z.ZodObject<{
|
|
28
|
-
requested: z.ZodString;
|
|
29
|
-
provider: z.ZodString;
|
|
30
|
-
model: z.ZodString;
|
|
31
|
-
snapshot: z.ZodString;
|
|
32
|
-
reasoningEffort: z.ZodEnum<{
|
|
33
|
-
none: "none";
|
|
34
|
-
minimal: "minimal";
|
|
35
|
-
low: "low";
|
|
36
|
-
medium: "medium";
|
|
37
|
-
high: "high";
|
|
38
|
-
xhigh: "xhigh";
|
|
39
|
-
ultracode: "ultracode";
|
|
40
|
-
}>;
|
|
41
|
-
}, z.core.$strict>;
|
|
42
|
-
usage: z.ZodObject<{
|
|
43
|
-
costUsd: z.ZodNumber;
|
|
44
|
-
inputTokens: z.ZodNumber;
|
|
45
|
-
outputTokens: z.ZodNumber;
|
|
46
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
47
|
-
modelCalls: z.ZodNumber;
|
|
48
|
-
}, z.core.$strict>;
|
|
49
|
-
}, z.core.$strict>;
|
|
50
26
|
export declare const agentCandidateMemoryReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
51
27
|
mode: z.ZodLiteral<"disabled">;
|
|
52
28
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -56,15 +32,15 @@ export declare const agentCandidateMemoryReceiptSchema: z.ZodDiscriminatedUnion<
|
|
|
56
32
|
resetEvidenceDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
57
33
|
beforeStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
58
34
|
afterState: z.ZodObject<{
|
|
59
|
-
schemaVersion: z.ZodLiteral<
|
|
35
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
60
36
|
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
61
37
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
62
38
|
material: z.ZodObject<{
|
|
63
|
-
schemaVersion: z.ZodLiteral<
|
|
39
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
64
40
|
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
65
41
|
files: z.ZodArray<z.ZodObject<{
|
|
66
42
|
path: z.ZodString;
|
|
67
|
-
mode: z.
|
|
43
|
+
mode: z.ZodNumber;
|
|
68
44
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
69
45
|
byteLength: z.ZodNumber;
|
|
70
46
|
}, z.core.$strict>>;
|
|
@@ -122,7 +98,7 @@ export declare const agentCandidateTerminationSchema: z.ZodDiscriminatedUnion<[z
|
|
|
122
98
|
kind: z.ZodLiteral<"cancelled">;
|
|
123
99
|
}, z.core.$strict>], "kind">;
|
|
124
100
|
export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
125
|
-
schemaVersion: z.ZodLiteral<
|
|
101
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
126
102
|
kind: z.ZodLiteral<"agent-candidate-materialization">;
|
|
127
103
|
digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
|
|
128
104
|
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
@@ -192,11 +168,11 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
192
168
|
}, z.core.$strict>]>;
|
|
193
169
|
}, z.core.$strict>;
|
|
194
170
|
executionPlan: z.ZodObject<{
|
|
195
|
-
schemaVersion: z.ZodLiteral<
|
|
171
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
196
172
|
kind: z.ZodLiteral<"agent-candidate-execution-plan">;
|
|
197
173
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
198
174
|
material: z.ZodType<{
|
|
199
|
-
schemaVersion:
|
|
175
|
+
schemaVersion: 2;
|
|
200
176
|
kind: "agent-candidate-execution-plan-material";
|
|
201
177
|
bundleDigest: `sha256:${string}`;
|
|
202
178
|
executionId: string;
|
|
@@ -224,22 +200,23 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
224
200
|
path: "/tangle/input/task.txt";
|
|
225
201
|
};
|
|
226
202
|
};
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
203
|
+
outcome: {
|
|
204
|
+
kind: "workspace";
|
|
205
|
+
} | {
|
|
206
|
+
kind: "output";
|
|
207
|
+
mediaType: string;
|
|
208
|
+
maxBytes: number;
|
|
232
209
|
};
|
|
233
210
|
workspace: {
|
|
234
|
-
schemaVersion:
|
|
211
|
+
schemaVersion: 2;
|
|
235
212
|
kind: "agent-candidate-workspace-snapshot";
|
|
236
213
|
digest: `sha256:${string}`;
|
|
237
214
|
material: {
|
|
238
|
-
schemaVersion:
|
|
215
|
+
schemaVersion: 2;
|
|
239
216
|
kind: "agent-candidate-workspace-manifest";
|
|
240
217
|
files: {
|
|
241
218
|
path: string;
|
|
242
|
-
mode:
|
|
219
|
+
mode: number;
|
|
243
220
|
sha256: `sha256:${string}`;
|
|
244
221
|
byteLength: number;
|
|
245
222
|
}[];
|
|
@@ -283,6 +260,12 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
283
260
|
byteLength: number;
|
|
284
261
|
};
|
|
285
262
|
};
|
|
263
|
+
repository?: {
|
|
264
|
+
identity: string;
|
|
265
|
+
rootIdentity: string;
|
|
266
|
+
baseCommit: string;
|
|
267
|
+
baseTree: string;
|
|
268
|
+
} | undefined;
|
|
286
269
|
};
|
|
287
270
|
workspaces: {
|
|
288
271
|
taskRoot: string;
|
|
@@ -342,6 +325,24 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
342
325
|
requested: string;
|
|
343
326
|
})[];
|
|
344
327
|
};
|
|
328
|
+
grader: {
|
|
329
|
+
name: string;
|
|
330
|
+
version: string;
|
|
331
|
+
artifact: {
|
|
332
|
+
locator: {
|
|
333
|
+
kind: "s3";
|
|
334
|
+
bucket: string;
|
|
335
|
+
key: string;
|
|
336
|
+
region?: string | undefined;
|
|
337
|
+
} | {
|
|
338
|
+
kind: "ipfs";
|
|
339
|
+
cid: string;
|
|
340
|
+
path?: string | undefined;
|
|
341
|
+
};
|
|
342
|
+
sha256: `sha256:${string}`;
|
|
343
|
+
byteLength: number;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
345
346
|
launch: {
|
|
346
347
|
executable: string;
|
|
347
348
|
args: {
|
|
@@ -385,15 +386,15 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
385
386
|
emptyStateDigest: `sha256:${string}`;
|
|
386
387
|
};
|
|
387
388
|
beforeState: {
|
|
388
|
-
schemaVersion:
|
|
389
|
+
schemaVersion: 2;
|
|
389
390
|
kind: "agent-candidate-workspace-snapshot";
|
|
390
391
|
digest: `sha256:${string}`;
|
|
391
392
|
material: {
|
|
392
|
-
schemaVersion:
|
|
393
|
+
schemaVersion: 2;
|
|
393
394
|
kind: "agent-candidate-workspace-manifest";
|
|
394
395
|
files: {
|
|
395
396
|
path: string;
|
|
396
|
-
mode:
|
|
397
|
+
mode: number;
|
|
397
398
|
sha256: `sha256:${string}`;
|
|
398
399
|
byteLength: number;
|
|
399
400
|
}[];
|
|
@@ -453,15 +454,15 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
453
454
|
mode: "disabled";
|
|
454
455
|
};
|
|
455
456
|
candidateWorkspace?: {
|
|
456
|
-
schemaVersion:
|
|
457
|
+
schemaVersion: 2;
|
|
457
458
|
kind: "agent-candidate-workspace-snapshot";
|
|
458
459
|
digest: `sha256:${string}`;
|
|
459
460
|
material: {
|
|
460
|
-
schemaVersion:
|
|
461
|
+
schemaVersion: 2;
|
|
461
462
|
kind: "agent-candidate-workspace-manifest";
|
|
462
463
|
files: {
|
|
463
464
|
path: string;
|
|
464
|
-
mode:
|
|
465
|
+
mode: number;
|
|
465
466
|
sha256: `sha256:${string}`;
|
|
466
467
|
byteLength: number;
|
|
467
468
|
}[];
|
|
@@ -507,7 +508,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
507
508
|
} | undefined;
|
|
508
509
|
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
509
510
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
510
|
-
schemaVersion:
|
|
511
|
+
schemaVersion: 2;
|
|
511
512
|
kind: "agent-candidate-execution-plan-material";
|
|
512
513
|
bundleDigest: `sha256:${string}`;
|
|
513
514
|
executionId: string;
|
|
@@ -535,22 +536,23 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
535
536
|
path: "/tangle/input/task.txt";
|
|
536
537
|
};
|
|
537
538
|
};
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
539
|
+
outcome: {
|
|
540
|
+
kind: "workspace";
|
|
541
|
+
} | {
|
|
542
|
+
kind: "output";
|
|
543
|
+
mediaType: string;
|
|
544
|
+
maxBytes: number;
|
|
543
545
|
};
|
|
544
546
|
workspace: {
|
|
545
|
-
schemaVersion:
|
|
547
|
+
schemaVersion: 2;
|
|
546
548
|
kind: "agent-candidate-workspace-snapshot";
|
|
547
549
|
digest: `sha256:${string}`;
|
|
548
550
|
material: {
|
|
549
|
-
schemaVersion:
|
|
551
|
+
schemaVersion: 2;
|
|
550
552
|
kind: "agent-candidate-workspace-manifest";
|
|
551
553
|
files: {
|
|
552
554
|
path: string;
|
|
553
|
-
mode:
|
|
555
|
+
mode: number;
|
|
554
556
|
sha256: `sha256:${string}`;
|
|
555
557
|
byteLength: number;
|
|
556
558
|
}[];
|
|
@@ -594,6 +596,12 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
594
596
|
byteLength: number;
|
|
595
597
|
};
|
|
596
598
|
};
|
|
599
|
+
repository?: {
|
|
600
|
+
identity: string;
|
|
601
|
+
rootIdentity: string;
|
|
602
|
+
baseCommit: string;
|
|
603
|
+
baseTree: string;
|
|
604
|
+
} | undefined;
|
|
597
605
|
};
|
|
598
606
|
workspaces: {
|
|
599
607
|
taskRoot: string;
|
|
@@ -653,6 +661,24 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
653
661
|
requested: string;
|
|
654
662
|
})[];
|
|
655
663
|
};
|
|
664
|
+
grader: {
|
|
665
|
+
name: string;
|
|
666
|
+
version: string;
|
|
667
|
+
artifact: {
|
|
668
|
+
locator: {
|
|
669
|
+
kind: "s3";
|
|
670
|
+
bucket: string;
|
|
671
|
+
key: string;
|
|
672
|
+
region?: string | undefined;
|
|
673
|
+
} | {
|
|
674
|
+
kind: "ipfs";
|
|
675
|
+
cid: string;
|
|
676
|
+
path?: string | undefined;
|
|
677
|
+
};
|
|
678
|
+
sha256: `sha256:${string}`;
|
|
679
|
+
byteLength: number;
|
|
680
|
+
};
|
|
681
|
+
};
|
|
656
682
|
launch: {
|
|
657
683
|
executable: string;
|
|
658
684
|
args: {
|
|
@@ -696,15 +722,15 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
696
722
|
emptyStateDigest: `sha256:${string}`;
|
|
697
723
|
};
|
|
698
724
|
beforeState: {
|
|
699
|
-
schemaVersion:
|
|
725
|
+
schemaVersion: 2;
|
|
700
726
|
kind: "agent-candidate-workspace-snapshot";
|
|
701
727
|
digest: `sha256:${string}`;
|
|
702
728
|
material: {
|
|
703
|
-
schemaVersion:
|
|
729
|
+
schemaVersion: 2;
|
|
704
730
|
kind: "agent-candidate-workspace-manifest";
|
|
705
731
|
files: {
|
|
706
732
|
path: string;
|
|
707
|
-
mode:
|
|
733
|
+
mode: number;
|
|
708
734
|
sha256: `sha256:${string}`;
|
|
709
735
|
byteLength: number;
|
|
710
736
|
}[];
|
|
@@ -764,15 +790,15 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
764
790
|
mode: "disabled";
|
|
765
791
|
};
|
|
766
792
|
candidateWorkspace?: {
|
|
767
|
-
schemaVersion:
|
|
793
|
+
schemaVersion: 2;
|
|
768
794
|
kind: "agent-candidate-workspace-snapshot";
|
|
769
795
|
digest: `sha256:${string}`;
|
|
770
796
|
material: {
|
|
771
|
-
schemaVersion:
|
|
797
|
+
schemaVersion: 2;
|
|
772
798
|
kind: "agent-candidate-workspace-manifest";
|
|
773
799
|
files: {
|
|
774
800
|
path: string;
|
|
775
|
-
mode:
|
|
801
|
+
mode: number;
|
|
776
802
|
sha256: `sha256:${string}`;
|
|
777
803
|
byteLength: number;
|
|
778
804
|
}[];
|
|
@@ -839,15 +865,15 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
839
865
|
}, z.core.$strict>]>;
|
|
840
866
|
}, z.core.$strict>;
|
|
841
867
|
candidateWorkspace: z.ZodOptional<z.ZodObject<{
|
|
842
|
-
schemaVersion: z.ZodLiteral<
|
|
868
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
843
869
|
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
844
870
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
845
871
|
material: z.ZodObject<{
|
|
846
|
-
schemaVersion: z.ZodLiteral<
|
|
872
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
847
873
|
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
848
874
|
files: z.ZodArray<z.ZodObject<{
|
|
849
875
|
path: z.ZodString;
|
|
850
|
-
mode: z.
|
|
876
|
+
mode: z.ZodNumber;
|
|
851
877
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
852
878
|
byteLength: z.ZodNumber;
|
|
853
879
|
}, z.core.$strict>>;
|
|
@@ -954,7 +980,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
954
980
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
955
981
|
}, z.core.$strict>;
|
|
956
982
|
export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
957
|
-
schemaVersion: z.ZodLiteral<
|
|
983
|
+
schemaVersion: z.ZodLiteral<3>;
|
|
958
984
|
kind: z.ZodLiteral<"agent-candidate-run">;
|
|
959
985
|
digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
|
|
960
986
|
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
@@ -969,15 +995,15 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
969
995
|
resetEvidenceDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
970
996
|
beforeStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
971
997
|
afterState: z.ZodObject<{
|
|
972
|
-
schemaVersion: z.ZodLiteral<
|
|
998
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
973
999
|
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
974
1000
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
975
1001
|
material: z.ZodObject<{
|
|
976
|
-
schemaVersion: z.ZodLiteral<
|
|
1002
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
977
1003
|
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
978
1004
|
files: z.ZodArray<z.ZodObject<{
|
|
979
1005
|
path: z.ZodString;
|
|
980
|
-
mode: z.
|
|
1006
|
+
mode: z.ZodNumber;
|
|
981
1007
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
982
1008
|
byteLength: z.ZodNumber;
|
|
983
1009
|
}, z.core.$strict>>;
|
|
@@ -1022,37 +1048,6 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1022
1048
|
}, z.core.$strict>]>;
|
|
1023
1049
|
}, z.core.$strict>;
|
|
1024
1050
|
}, z.core.$strict>], "mode">;
|
|
1025
|
-
usage: z.ZodObject<{
|
|
1026
|
-
costUsd: z.ZodNumber;
|
|
1027
|
-
inputTokens: z.ZodNumber;
|
|
1028
|
-
outputTokens: z.ZodNumber;
|
|
1029
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1030
|
-
modelCalls: z.ZodNumber;
|
|
1031
|
-
}, z.core.$strict>;
|
|
1032
|
-
modelUsage: z.ZodObject<{
|
|
1033
|
-
resolved: z.ZodObject<{
|
|
1034
|
-
requested: z.ZodString;
|
|
1035
|
-
provider: z.ZodString;
|
|
1036
|
-
model: z.ZodString;
|
|
1037
|
-
snapshot: z.ZodString;
|
|
1038
|
-
reasoningEffort: z.ZodEnum<{
|
|
1039
|
-
none: "none";
|
|
1040
|
-
minimal: "minimal";
|
|
1041
|
-
low: "low";
|
|
1042
|
-
medium: "medium";
|
|
1043
|
-
high: "high";
|
|
1044
|
-
xhigh: "xhigh";
|
|
1045
|
-
ultracode: "ultracode";
|
|
1046
|
-
}>;
|
|
1047
|
-
}, z.core.$strict>;
|
|
1048
|
-
usage: z.ZodObject<{
|
|
1049
|
-
costUsd: z.ZodNumber;
|
|
1050
|
-
inputTokens: z.ZodNumber;
|
|
1051
|
-
outputTokens: z.ZodNumber;
|
|
1052
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1053
|
-
modelCalls: z.ZodNumber;
|
|
1054
|
-
}, z.core.$strict>;
|
|
1055
|
-
}, z.core.$strict>;
|
|
1056
1051
|
trace: z.ZodObject<{
|
|
1057
1052
|
schemaVersion: z.ZodLiteral<1>;
|
|
1058
1053
|
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1089,189 +1084,25 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1089
1084
|
}, z.core.$strict>, z.ZodObject<{
|
|
1090
1085
|
kind: z.ZodLiteral<"cancelled">;
|
|
1091
1086
|
}, z.core.$strict>], "kind">;
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1099
|
-
materializationReceiptDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1100
|
-
executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1101
|
-
memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1102
|
-
mode: z.ZodLiteral<"disabled">;
|
|
1103
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1104
|
-
mode: z.ZodLiteral<"isolated">;
|
|
1105
|
-
scope: z.ZodLiteral<"task">;
|
|
1106
|
-
effectiveNamespace: z.ZodString;
|
|
1107
|
-
resetEvidenceDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1108
|
-
beforeStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1109
|
-
afterState: z.ZodObject<{
|
|
1110
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1111
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
1112
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1113
|
-
material: z.ZodObject<{
|
|
1114
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1115
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
1116
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1117
|
-
path: z.ZodString;
|
|
1118
|
-
mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
|
|
1119
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1120
|
-
byteLength: z.ZodNumber;
|
|
1121
|
-
}, z.core.$strict>>;
|
|
1122
|
-
}, z.core.$strict>;
|
|
1123
|
-
manifest: z.ZodUnion<readonly [z.ZodObject<{
|
|
1124
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1125
|
-
kind: z.ZodLiteral<"s3">;
|
|
1126
|
-
bucket: z.ZodString;
|
|
1127
|
-
key: z.ZodString;
|
|
1128
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1129
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1130
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1131
|
-
cid: z.ZodString;
|
|
1132
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1133
|
-
}, z.core.$strict>], "kind">;
|
|
1134
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1135
|
-
byteLength: z.ZodNumber;
|
|
1136
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1137
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1138
|
-
content: z.ZodString;
|
|
1139
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1140
|
-
byteLength: z.ZodNumber;
|
|
1141
|
-
}, z.core.$strict>]>;
|
|
1142
|
-
archive: z.ZodUnion<readonly [z.ZodObject<{
|
|
1143
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1144
|
-
kind: z.ZodLiteral<"s3">;
|
|
1145
|
-
bucket: z.ZodString;
|
|
1146
|
-
key: z.ZodString;
|
|
1147
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1148
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1149
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1150
|
-
cid: z.ZodString;
|
|
1151
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1152
|
-
}, z.core.$strict>], "kind">;
|
|
1153
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1154
|
-
byteLength: z.ZodNumber;
|
|
1155
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1156
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1157
|
-
content: z.ZodString;
|
|
1158
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1159
|
-
byteLength: z.ZodNumber;
|
|
1160
|
-
}, z.core.$strict>]>;
|
|
1161
|
-
}, z.core.$strict>;
|
|
1162
|
-
}, z.core.$strict>], "mode">;
|
|
1163
|
-
usage: z.ZodObject<{
|
|
1164
|
-
costUsd: z.ZodNumber;
|
|
1165
|
-
inputTokens: z.ZodNumber;
|
|
1166
|
-
outputTokens: z.ZodNumber;
|
|
1167
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1168
|
-
modelCalls: z.ZodNumber;
|
|
1169
|
-
}, z.core.$strict>;
|
|
1170
|
-
modelUsage: z.ZodObject<{
|
|
1171
|
-
resolved: z.ZodObject<{
|
|
1172
|
-
requested: z.ZodString;
|
|
1173
|
-
provider: z.ZodString;
|
|
1174
|
-
model: z.ZodString;
|
|
1175
|
-
snapshot: z.ZodString;
|
|
1176
|
-
reasoningEffort: z.ZodEnum<{
|
|
1177
|
-
none: "none";
|
|
1178
|
-
minimal: "minimal";
|
|
1179
|
-
low: "low";
|
|
1180
|
-
medium: "medium";
|
|
1181
|
-
high: "high";
|
|
1182
|
-
xhigh: "xhigh";
|
|
1183
|
-
ultracode: "ultracode";
|
|
1184
|
-
}>;
|
|
1185
|
-
}, z.core.$strict>;
|
|
1186
|
-
usage: z.ZodObject<{
|
|
1187
|
-
costUsd: z.ZodNumber;
|
|
1188
|
-
inputTokens: z.ZodNumber;
|
|
1189
|
-
outputTokens: z.ZodNumber;
|
|
1190
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1191
|
-
modelCalls: z.ZodNumber;
|
|
1192
|
-
}, z.core.$strict>;
|
|
1193
|
-
}, z.core.$strict>;
|
|
1194
|
-
trace: z.ZodObject<{
|
|
1195
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1196
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
1197
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1198
|
-
kind: z.ZodLiteral<"s3">;
|
|
1199
|
-
bucket: z.ZodString;
|
|
1200
|
-
key: z.ZodString;
|
|
1201
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1202
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1203
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1204
|
-
cid: z.ZodString;
|
|
1205
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1206
|
-
}, z.core.$strict>], "kind">;
|
|
1207
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1208
|
-
byteLength: z.ZodNumber;
|
|
1087
|
+
executorCapture: z.ZodObject<{
|
|
1088
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1089
|
+
kind: z.ZodLiteral<"s3">;
|
|
1090
|
+
bucket: z.ZodString;
|
|
1091
|
+
key: z.ZodString;
|
|
1092
|
+
region: z.ZodOptional<z.ZodString>;
|
|
1209
1093
|
}, z.core.$strict>, z.ZodObject<{
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}, z.core.$
|
|
1215
|
-
|
|
1216
|
-
modelCallCount: z.ZodNumber;
|
|
1217
|
-
}, z.core.$strict>;
|
|
1218
|
-
termination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1219
|
-
kind: z.ZodLiteral<"exit">;
|
|
1220
|
-
exitCode: z.ZodNumber;
|
|
1221
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1222
|
-
kind: z.ZodLiteral<"timeout">;
|
|
1223
|
-
timeoutMs: z.ZodNumber;
|
|
1224
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1225
|
-
kind: z.ZodLiteral<"signal">;
|
|
1226
|
-
signal: z.ZodString;
|
|
1227
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1228
|
-
kind: z.ZodLiteral<"cancelled">;
|
|
1229
|
-
}, z.core.$strict>], "kind">;
|
|
1230
|
-
fixedUsage: z.ZodObject<{
|
|
1231
|
-
inputTokens: z.ZodNumber;
|
|
1232
|
-
outputTokens: z.ZodNumber;
|
|
1233
|
-
cachedInputTokens: z.ZodNumber;
|
|
1234
|
-
reasoningTokens: z.ZodNumber;
|
|
1235
|
-
modelCalls: z.ZodNumber;
|
|
1236
|
-
costUsdNanos: z.ZodNumber;
|
|
1094
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
1095
|
+
cid: z.ZodString;
|
|
1096
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
}, z.core.$strict>], "kind">;
|
|
1098
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1099
|
+
byteLength: z.ZodNumber;
|
|
1237
1100
|
}, z.core.$strict>;
|
|
1238
1101
|
modelSettlement: z.ZodObject<{
|
|
1239
|
-
schemaVersion: z.ZodLiteral<
|
|
1102
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1240
1103
|
kind: z.ZodLiteral<"agent-candidate-model-settlement">;
|
|
1241
1104
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1242
1105
|
material: z.ZodType<{
|
|
1243
|
-
calls: {
|
|
1244
|
-
callId: string;
|
|
1245
|
-
traceSpanId: string;
|
|
1246
|
-
model: string;
|
|
1247
|
-
inputTokens: number;
|
|
1248
|
-
outputTokens: number;
|
|
1249
|
-
cachedInputTokens: number;
|
|
1250
|
-
reasoningTokens: number;
|
|
1251
|
-
costUsdNanos: number;
|
|
1252
|
-
}[];
|
|
1253
|
-
kind: "agent-candidate-model-settlement-material";
|
|
1254
|
-
executionPlanDigest: `sha256:${string}`;
|
|
1255
|
-
preparationId: string;
|
|
1256
|
-
grantDigest: `sha256:${string}`;
|
|
1257
|
-
closed: true;
|
|
1258
|
-
resolved: {
|
|
1259
|
-
requested: string;
|
|
1260
|
-
provider: string;
|
|
1261
|
-
model: string;
|
|
1262
|
-
snapshot: string;
|
|
1263
|
-
reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
|
|
1264
|
-
};
|
|
1265
|
-
usage: {
|
|
1266
|
-
inputTokens: number;
|
|
1267
|
-
outputTokens: number;
|
|
1268
|
-
cachedInputTokens: number;
|
|
1269
|
-
reasoningTokens: number;
|
|
1270
|
-
modelCalls: number;
|
|
1271
|
-
costUsdNanos: number;
|
|
1272
|
-
};
|
|
1273
|
-
schemaVersion: 1;
|
|
1274
|
-
} | {
|
|
1275
1106
|
calls: {
|
|
1276
1107
|
callId: string;
|
|
1277
1108
|
generationId: string;
|
|
@@ -1310,44 +1141,12 @@ export declare const agentCandidateRunReceiptV2Schema: z.ZodObject<{
|
|
|
1310
1141
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
1311
1142
|
calls: {
|
|
1312
1143
|
callId: string;
|
|
1144
|
+
generationId: string;
|
|
1313
1145
|
traceSpanId: string;
|
|
1146
|
+
status: "succeeded" | "failed";
|
|
1314
1147
|
model: string;
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
cachedInputTokens: number;
|
|
1318
|
-
reasoningTokens: number;
|
|
1319
|
-
costUsdNanos: number;
|
|
1320
|
-
}[];
|
|
1321
|
-
kind: "agent-candidate-model-settlement-material";
|
|
1322
|
-
executionPlanDigest: `sha256:${string}`;
|
|
1323
|
-
preparationId: string;
|
|
1324
|
-
grantDigest: `sha256:${string}`;
|
|
1325
|
-
closed: true;
|
|
1326
|
-
resolved: {
|
|
1327
|
-
requested: string;
|
|
1328
|
-
provider: string;
|
|
1329
|
-
model: string;
|
|
1330
|
-
snapshot: string;
|
|
1331
|
-
reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
|
|
1332
|
-
};
|
|
1333
|
-
usage: {
|
|
1334
|
-
inputTokens: number;
|
|
1335
|
-
outputTokens: number;
|
|
1336
|
-
cachedInputTokens: number;
|
|
1337
|
-
reasoningTokens: number;
|
|
1338
|
-
modelCalls: number;
|
|
1339
|
-
costUsdNanos: number;
|
|
1340
|
-
};
|
|
1341
|
-
schemaVersion: 1;
|
|
1342
|
-
} | {
|
|
1343
|
-
calls: {
|
|
1344
|
-
callId: string;
|
|
1345
|
-
generationId: string;
|
|
1346
|
-
traceSpanId: string;
|
|
1347
|
-
status: "succeeded" | "failed";
|
|
1348
|
-
model: string;
|
|
1349
|
-
startedAtMs: number;
|
|
1350
|
-
endedAtMs: number;
|
|
1148
|
+
startedAtMs: number;
|
|
1149
|
+
endedAtMs: number;
|
|
1351
1150
|
inputTokens: number;
|
|
1352
1151
|
outputTokens: number;
|
|
1353
1152
|
cachedInputTokens: number;
|
|
@@ -1397,80 +1196,103 @@ export declare const agentCandidateRunReceiptV2Schema: z.ZodObject<{
|
|
|
1397
1196
|
}, z.core.$strict>]>;
|
|
1398
1197
|
}, z.core.$strict>;
|
|
1399
1198
|
taskOutcome: z.ZodObject<{
|
|
1400
|
-
schemaVersion: z.ZodLiteral<
|
|
1199
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
1401
1200
|
kind: z.ZodLiteral<"agent-candidate-task-outcome">;
|
|
1402
1201
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1403
1202
|
material: z.ZodType<{
|
|
1404
|
-
schemaVersion:
|
|
1203
|
+
schemaVersion: 2;
|
|
1405
1204
|
kind: "agent-candidate-task-outcome-material";
|
|
1406
1205
|
executionPlanDigest: `sha256:${string}`;
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1206
|
+
outcome: {
|
|
1207
|
+
kind: "workspace";
|
|
1208
|
+
baseRepository: {
|
|
1209
|
+
identity: string;
|
|
1210
|
+
rootIdentity: string;
|
|
1211
|
+
commit: string;
|
|
1212
|
+
tree: string;
|
|
1213
|
+
};
|
|
1214
|
+
resultRepository: {
|
|
1215
|
+
identity: string;
|
|
1216
|
+
rootIdentity: string;
|
|
1217
|
+
commit: string;
|
|
1218
|
+
tree: string;
|
|
1219
|
+
};
|
|
1220
|
+
afterState: {
|
|
1221
|
+
schemaVersion: 2;
|
|
1222
|
+
kind: "agent-candidate-workspace-snapshot";
|
|
1223
|
+
digest: `sha256:${string}`;
|
|
1224
|
+
material: {
|
|
1225
|
+
schemaVersion: 2;
|
|
1226
|
+
kind: "agent-candidate-workspace-manifest";
|
|
1227
|
+
files: {
|
|
1228
|
+
path: string;
|
|
1229
|
+
mode: number;
|
|
1230
|
+
sha256: `sha256:${string}`;
|
|
1231
|
+
byteLength: number;
|
|
1232
|
+
}[];
|
|
1233
|
+
};
|
|
1234
|
+
manifest: {
|
|
1235
|
+
locator: {
|
|
1236
|
+
kind: "s3";
|
|
1237
|
+
bucket: string;
|
|
1238
|
+
key: string;
|
|
1239
|
+
region?: string | undefined;
|
|
1240
|
+
} | {
|
|
1241
|
+
kind: "ipfs";
|
|
1242
|
+
cid: string;
|
|
1243
|
+
path?: string | undefined;
|
|
1244
|
+
};
|
|
1429
1245
|
sha256: `sha256:${string}`;
|
|
1430
1246
|
byteLength: number;
|
|
1431
|
-
}[];
|
|
1432
|
-
};
|
|
1433
|
-
manifest: {
|
|
1434
|
-
locator: {
|
|
1435
|
-
kind: "s3";
|
|
1436
|
-
bucket: string;
|
|
1437
|
-
key: string;
|
|
1438
|
-
region?: string | undefined;
|
|
1439
1247
|
} | {
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1248
|
+
encoding: "base64";
|
|
1249
|
+
content: string;
|
|
1250
|
+
sha256: `sha256:${string}`;
|
|
1251
|
+
byteLength: number;
|
|
1443
1252
|
};
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
region?: string | undefined;
|
|
1253
|
+
archive: {
|
|
1254
|
+
locator: {
|
|
1255
|
+
kind: "s3";
|
|
1256
|
+
bucket: string;
|
|
1257
|
+
key: string;
|
|
1258
|
+
region?: string | undefined;
|
|
1259
|
+
} | {
|
|
1260
|
+
kind: "ipfs";
|
|
1261
|
+
cid: string;
|
|
1262
|
+
path?: string | undefined;
|
|
1263
|
+
};
|
|
1264
|
+
sha256: `sha256:${string}`;
|
|
1265
|
+
byteLength: number;
|
|
1458
1266
|
} | {
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1267
|
+
encoding: "base64";
|
|
1268
|
+
content: string;
|
|
1269
|
+
sha256: `sha256:${string}`;
|
|
1270
|
+
byteLength: number;
|
|
1462
1271
|
};
|
|
1463
|
-
sha256: `sha256:${string}`;
|
|
1464
|
-
byteLength: number;
|
|
1465
|
-
} | {
|
|
1466
|
-
encoding: "base64";
|
|
1467
|
-
content: string;
|
|
1468
|
-
sha256: `sha256:${string}`;
|
|
1469
|
-
byteLength: number;
|
|
1470
1272
|
};
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1273
|
+
gitDiff: {
|
|
1274
|
+
format: "git-diff-binary";
|
|
1275
|
+
artifact: {
|
|
1276
|
+
locator: {
|
|
1277
|
+
kind: "s3";
|
|
1278
|
+
bucket: string;
|
|
1279
|
+
key: string;
|
|
1280
|
+
region?: string | undefined;
|
|
1281
|
+
} | {
|
|
1282
|
+
kind: "ipfs";
|
|
1283
|
+
cid: string;
|
|
1284
|
+
path?: string | undefined;
|
|
1285
|
+
};
|
|
1286
|
+
sha256: `sha256:${string}`;
|
|
1287
|
+
byteLength: number;
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
} | {
|
|
1291
|
+
kind: "output";
|
|
1292
|
+
spec: {
|
|
1293
|
+
mediaType: string;
|
|
1294
|
+
maxBytes: number;
|
|
1295
|
+
};
|
|
1474
1296
|
artifact: {
|
|
1475
1297
|
locator: {
|
|
1476
1298
|
kind: "s3";
|
|
@@ -1487,76 +1309,99 @@ export declare const agentCandidateRunReceiptV2Schema: z.ZodObject<{
|
|
|
1487
1309
|
};
|
|
1488
1310
|
};
|
|
1489
1311
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
1490
|
-
schemaVersion:
|
|
1312
|
+
schemaVersion: 2;
|
|
1491
1313
|
kind: "agent-candidate-task-outcome-material";
|
|
1492
1314
|
executionPlanDigest: `sha256:${string}`;
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1315
|
+
outcome: {
|
|
1316
|
+
kind: "workspace";
|
|
1317
|
+
baseRepository: {
|
|
1318
|
+
identity: string;
|
|
1319
|
+
rootIdentity: string;
|
|
1320
|
+
commit: string;
|
|
1321
|
+
tree: string;
|
|
1322
|
+
};
|
|
1323
|
+
resultRepository: {
|
|
1324
|
+
identity: string;
|
|
1325
|
+
rootIdentity: string;
|
|
1326
|
+
commit: string;
|
|
1327
|
+
tree: string;
|
|
1328
|
+
};
|
|
1329
|
+
afterState: {
|
|
1330
|
+
schemaVersion: 2;
|
|
1331
|
+
kind: "agent-candidate-workspace-snapshot";
|
|
1332
|
+
digest: `sha256:${string}`;
|
|
1333
|
+
material: {
|
|
1334
|
+
schemaVersion: 2;
|
|
1335
|
+
kind: "agent-candidate-workspace-manifest";
|
|
1336
|
+
files: {
|
|
1337
|
+
path: string;
|
|
1338
|
+
mode: number;
|
|
1339
|
+
sha256: `sha256:${string}`;
|
|
1340
|
+
byteLength: number;
|
|
1341
|
+
}[];
|
|
1342
|
+
};
|
|
1343
|
+
manifest: {
|
|
1344
|
+
locator: {
|
|
1345
|
+
kind: "s3";
|
|
1346
|
+
bucket: string;
|
|
1347
|
+
key: string;
|
|
1348
|
+
region?: string | undefined;
|
|
1349
|
+
} | {
|
|
1350
|
+
kind: "ipfs";
|
|
1351
|
+
cid: string;
|
|
1352
|
+
path?: string | undefined;
|
|
1353
|
+
};
|
|
1515
1354
|
sha256: `sha256:${string}`;
|
|
1516
1355
|
byteLength: number;
|
|
1517
|
-
}[];
|
|
1518
|
-
};
|
|
1519
|
-
manifest: {
|
|
1520
|
-
locator: {
|
|
1521
|
-
kind: "s3";
|
|
1522
|
-
bucket: string;
|
|
1523
|
-
key: string;
|
|
1524
|
-
region?: string | undefined;
|
|
1525
1356
|
} | {
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1357
|
+
encoding: "base64";
|
|
1358
|
+
content: string;
|
|
1359
|
+
sha256: `sha256:${string}`;
|
|
1360
|
+
byteLength: number;
|
|
1529
1361
|
};
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
region?: string | undefined;
|
|
1362
|
+
archive: {
|
|
1363
|
+
locator: {
|
|
1364
|
+
kind: "s3";
|
|
1365
|
+
bucket: string;
|
|
1366
|
+
key: string;
|
|
1367
|
+
region?: string | undefined;
|
|
1368
|
+
} | {
|
|
1369
|
+
kind: "ipfs";
|
|
1370
|
+
cid: string;
|
|
1371
|
+
path?: string | undefined;
|
|
1372
|
+
};
|
|
1373
|
+
sha256: `sha256:${string}`;
|
|
1374
|
+
byteLength: number;
|
|
1544
1375
|
} | {
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1376
|
+
encoding: "base64";
|
|
1377
|
+
content: string;
|
|
1378
|
+
sha256: `sha256:${string}`;
|
|
1379
|
+
byteLength: number;
|
|
1548
1380
|
};
|
|
1549
|
-
sha256: `sha256:${string}`;
|
|
1550
|
-
byteLength: number;
|
|
1551
|
-
} | {
|
|
1552
|
-
encoding: "base64";
|
|
1553
|
-
content: string;
|
|
1554
|
-
sha256: `sha256:${string}`;
|
|
1555
|
-
byteLength: number;
|
|
1556
1381
|
};
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1382
|
+
gitDiff: {
|
|
1383
|
+
format: "git-diff-binary";
|
|
1384
|
+
artifact: {
|
|
1385
|
+
locator: {
|
|
1386
|
+
kind: "s3";
|
|
1387
|
+
bucket: string;
|
|
1388
|
+
key: string;
|
|
1389
|
+
region?: string | undefined;
|
|
1390
|
+
} | {
|
|
1391
|
+
kind: "ipfs";
|
|
1392
|
+
cid: string;
|
|
1393
|
+
path?: string | undefined;
|
|
1394
|
+
};
|
|
1395
|
+
sha256: `sha256:${string}`;
|
|
1396
|
+
byteLength: number;
|
|
1397
|
+
};
|
|
1398
|
+
};
|
|
1399
|
+
} | {
|
|
1400
|
+
kind: "output";
|
|
1401
|
+
spec: {
|
|
1402
|
+
mediaType: string;
|
|
1403
|
+
maxBytes: number;
|
|
1404
|
+
};
|
|
1560
1405
|
artifact: {
|
|
1561
1406
|
locator: {
|
|
1562
1407
|
kind: "s3";
|
|
@@ -1718,907 +1563,3 @@ export declare const agentCandidateRunReceiptV2Schema: z.ZodObject<{
|
|
|
1718
1563
|
}, z.core.$strict>;
|
|
1719
1564
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1720
1565
|
}, z.core.$strict>;
|
|
1721
|
-
/** Explicit V1 alias; the original schema export remains unchanged. */
|
|
1722
|
-
export declare const agentCandidateRunReceiptV1Schema: z.ZodObject<{
|
|
1723
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1724
|
-
kind: z.ZodLiteral<"agent-candidate-run">;
|
|
1725
|
-
digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
|
|
1726
|
-
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1727
|
-
materializationReceiptDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1728
|
-
executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1729
|
-
memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1730
|
-
mode: z.ZodLiteral<"disabled">;
|
|
1731
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1732
|
-
mode: z.ZodLiteral<"isolated">;
|
|
1733
|
-
scope: z.ZodLiteral<"task">;
|
|
1734
|
-
effectiveNamespace: z.ZodString;
|
|
1735
|
-
resetEvidenceDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1736
|
-
beforeStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1737
|
-
afterState: z.ZodObject<{
|
|
1738
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1739
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
1740
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1741
|
-
material: z.ZodObject<{
|
|
1742
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1743
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
1744
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1745
|
-
path: z.ZodString;
|
|
1746
|
-
mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
|
|
1747
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1748
|
-
byteLength: z.ZodNumber;
|
|
1749
|
-
}, z.core.$strict>>;
|
|
1750
|
-
}, z.core.$strict>;
|
|
1751
|
-
manifest: z.ZodUnion<readonly [z.ZodObject<{
|
|
1752
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1753
|
-
kind: z.ZodLiteral<"s3">;
|
|
1754
|
-
bucket: z.ZodString;
|
|
1755
|
-
key: z.ZodString;
|
|
1756
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1757
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1758
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1759
|
-
cid: z.ZodString;
|
|
1760
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1761
|
-
}, z.core.$strict>], "kind">;
|
|
1762
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1763
|
-
byteLength: z.ZodNumber;
|
|
1764
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1765
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1766
|
-
content: z.ZodString;
|
|
1767
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1768
|
-
byteLength: z.ZodNumber;
|
|
1769
|
-
}, z.core.$strict>]>;
|
|
1770
|
-
archive: z.ZodUnion<readonly [z.ZodObject<{
|
|
1771
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1772
|
-
kind: z.ZodLiteral<"s3">;
|
|
1773
|
-
bucket: z.ZodString;
|
|
1774
|
-
key: z.ZodString;
|
|
1775
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1776
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1777
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1778
|
-
cid: z.ZodString;
|
|
1779
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1780
|
-
}, z.core.$strict>], "kind">;
|
|
1781
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1782
|
-
byteLength: z.ZodNumber;
|
|
1783
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1784
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1785
|
-
content: z.ZodString;
|
|
1786
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1787
|
-
byteLength: z.ZodNumber;
|
|
1788
|
-
}, z.core.$strict>]>;
|
|
1789
|
-
}, z.core.$strict>;
|
|
1790
|
-
}, z.core.$strict>], "mode">;
|
|
1791
|
-
usage: z.ZodObject<{
|
|
1792
|
-
costUsd: z.ZodNumber;
|
|
1793
|
-
inputTokens: z.ZodNumber;
|
|
1794
|
-
outputTokens: z.ZodNumber;
|
|
1795
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1796
|
-
modelCalls: z.ZodNumber;
|
|
1797
|
-
}, z.core.$strict>;
|
|
1798
|
-
modelUsage: z.ZodObject<{
|
|
1799
|
-
resolved: z.ZodObject<{
|
|
1800
|
-
requested: z.ZodString;
|
|
1801
|
-
provider: z.ZodString;
|
|
1802
|
-
model: z.ZodString;
|
|
1803
|
-
snapshot: z.ZodString;
|
|
1804
|
-
reasoningEffort: z.ZodEnum<{
|
|
1805
|
-
none: "none";
|
|
1806
|
-
minimal: "minimal";
|
|
1807
|
-
low: "low";
|
|
1808
|
-
medium: "medium";
|
|
1809
|
-
high: "high";
|
|
1810
|
-
xhigh: "xhigh";
|
|
1811
|
-
ultracode: "ultracode";
|
|
1812
|
-
}>;
|
|
1813
|
-
}, z.core.$strict>;
|
|
1814
|
-
usage: z.ZodObject<{
|
|
1815
|
-
costUsd: z.ZodNumber;
|
|
1816
|
-
inputTokens: z.ZodNumber;
|
|
1817
|
-
outputTokens: z.ZodNumber;
|
|
1818
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1819
|
-
modelCalls: z.ZodNumber;
|
|
1820
|
-
}, z.core.$strict>;
|
|
1821
|
-
}, z.core.$strict>;
|
|
1822
|
-
trace: z.ZodObject<{
|
|
1823
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1824
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
1825
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1826
|
-
kind: z.ZodLiteral<"s3">;
|
|
1827
|
-
bucket: z.ZodString;
|
|
1828
|
-
key: z.ZodString;
|
|
1829
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1830
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1831
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1832
|
-
cid: z.ZodString;
|
|
1833
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1834
|
-
}, z.core.$strict>], "kind">;
|
|
1835
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1836
|
-
byteLength: z.ZodNumber;
|
|
1837
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1838
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1839
|
-
content: z.ZodString;
|
|
1840
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1841
|
-
byteLength: z.ZodNumber;
|
|
1842
|
-
}, z.core.$strict>]>;
|
|
1843
|
-
eventCount: z.ZodNumber;
|
|
1844
|
-
modelCallCount: z.ZodNumber;
|
|
1845
|
-
}, z.core.$strict>;
|
|
1846
|
-
termination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1847
|
-
kind: z.ZodLiteral<"exit">;
|
|
1848
|
-
exitCode: z.ZodNumber;
|
|
1849
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1850
|
-
kind: z.ZodLiteral<"timeout">;
|
|
1851
|
-
timeoutMs: z.ZodNumber;
|
|
1852
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1853
|
-
kind: z.ZodLiteral<"signal">;
|
|
1854
|
-
signal: z.ZodString;
|
|
1855
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1856
|
-
kind: z.ZodLiteral<"cancelled">;
|
|
1857
|
-
}, z.core.$strict>], "kind">;
|
|
1858
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1859
|
-
}, z.core.$strict>;
|
|
1860
|
-
/** Parses both receipt generations without changing the original V1 export. */
|
|
1861
|
-
export declare const agentCandidateRunReceiptAnyVersionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1862
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1863
|
-
kind: z.ZodLiteral<"agent-candidate-run">;
|
|
1864
|
-
digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
|
|
1865
|
-
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1866
|
-
materializationReceiptDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1867
|
-
executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1868
|
-
memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1869
|
-
mode: z.ZodLiteral<"disabled">;
|
|
1870
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1871
|
-
mode: z.ZodLiteral<"isolated">;
|
|
1872
|
-
scope: z.ZodLiteral<"task">;
|
|
1873
|
-
effectiveNamespace: z.ZodString;
|
|
1874
|
-
resetEvidenceDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1875
|
-
beforeStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1876
|
-
afterState: z.ZodObject<{
|
|
1877
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1878
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
1879
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1880
|
-
material: z.ZodObject<{
|
|
1881
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1882
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
1883
|
-
files: z.ZodArray<z.ZodObject<{
|
|
1884
|
-
path: z.ZodString;
|
|
1885
|
-
mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
|
|
1886
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1887
|
-
byteLength: z.ZodNumber;
|
|
1888
|
-
}, z.core.$strict>>;
|
|
1889
|
-
}, z.core.$strict>;
|
|
1890
|
-
manifest: z.ZodUnion<readonly [z.ZodObject<{
|
|
1891
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1892
|
-
kind: z.ZodLiteral<"s3">;
|
|
1893
|
-
bucket: z.ZodString;
|
|
1894
|
-
key: z.ZodString;
|
|
1895
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1896
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1897
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1898
|
-
cid: z.ZodString;
|
|
1899
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1900
|
-
}, z.core.$strict>], "kind">;
|
|
1901
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1902
|
-
byteLength: z.ZodNumber;
|
|
1903
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1904
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1905
|
-
content: z.ZodString;
|
|
1906
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1907
|
-
byteLength: z.ZodNumber;
|
|
1908
|
-
}, z.core.$strict>]>;
|
|
1909
|
-
archive: z.ZodUnion<readonly [z.ZodObject<{
|
|
1910
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1911
|
-
kind: z.ZodLiteral<"s3">;
|
|
1912
|
-
bucket: z.ZodString;
|
|
1913
|
-
key: z.ZodString;
|
|
1914
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1915
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1916
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1917
|
-
cid: z.ZodString;
|
|
1918
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1919
|
-
}, z.core.$strict>], "kind">;
|
|
1920
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1921
|
-
byteLength: z.ZodNumber;
|
|
1922
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1923
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1924
|
-
content: z.ZodString;
|
|
1925
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1926
|
-
byteLength: z.ZodNumber;
|
|
1927
|
-
}, z.core.$strict>]>;
|
|
1928
|
-
}, z.core.$strict>;
|
|
1929
|
-
}, z.core.$strict>], "mode">;
|
|
1930
|
-
usage: z.ZodObject<{
|
|
1931
|
-
costUsd: z.ZodNumber;
|
|
1932
|
-
inputTokens: z.ZodNumber;
|
|
1933
|
-
outputTokens: z.ZodNumber;
|
|
1934
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1935
|
-
modelCalls: z.ZodNumber;
|
|
1936
|
-
}, z.core.$strict>;
|
|
1937
|
-
modelUsage: z.ZodObject<{
|
|
1938
|
-
resolved: z.ZodObject<{
|
|
1939
|
-
requested: z.ZodString;
|
|
1940
|
-
provider: z.ZodString;
|
|
1941
|
-
model: z.ZodString;
|
|
1942
|
-
snapshot: z.ZodString;
|
|
1943
|
-
reasoningEffort: z.ZodEnum<{
|
|
1944
|
-
none: "none";
|
|
1945
|
-
minimal: "minimal";
|
|
1946
|
-
low: "low";
|
|
1947
|
-
medium: "medium";
|
|
1948
|
-
high: "high";
|
|
1949
|
-
xhigh: "xhigh";
|
|
1950
|
-
ultracode: "ultracode";
|
|
1951
|
-
}>;
|
|
1952
|
-
}, z.core.$strict>;
|
|
1953
|
-
usage: z.ZodObject<{
|
|
1954
|
-
costUsd: z.ZodNumber;
|
|
1955
|
-
inputTokens: z.ZodNumber;
|
|
1956
|
-
outputTokens: z.ZodNumber;
|
|
1957
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1958
|
-
modelCalls: z.ZodNumber;
|
|
1959
|
-
}, z.core.$strict>;
|
|
1960
|
-
}, z.core.$strict>;
|
|
1961
|
-
trace: z.ZodObject<{
|
|
1962
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
1963
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
1964
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1965
|
-
kind: z.ZodLiteral<"s3">;
|
|
1966
|
-
bucket: z.ZodString;
|
|
1967
|
-
key: z.ZodString;
|
|
1968
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1969
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1970
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
1971
|
-
cid: z.ZodString;
|
|
1972
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1973
|
-
}, z.core.$strict>], "kind">;
|
|
1974
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1975
|
-
byteLength: z.ZodNumber;
|
|
1976
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1977
|
-
encoding: z.ZodLiteral<"base64">;
|
|
1978
|
-
content: z.ZodString;
|
|
1979
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1980
|
-
byteLength: z.ZodNumber;
|
|
1981
|
-
}, z.core.$strict>]>;
|
|
1982
|
-
eventCount: z.ZodNumber;
|
|
1983
|
-
modelCallCount: z.ZodNumber;
|
|
1984
|
-
}, z.core.$strict>;
|
|
1985
|
-
termination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1986
|
-
kind: z.ZodLiteral<"exit">;
|
|
1987
|
-
exitCode: z.ZodNumber;
|
|
1988
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1989
|
-
kind: z.ZodLiteral<"timeout">;
|
|
1990
|
-
timeoutMs: z.ZodNumber;
|
|
1991
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1992
|
-
kind: z.ZodLiteral<"signal">;
|
|
1993
|
-
signal: z.ZodString;
|
|
1994
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1995
|
-
kind: z.ZodLiteral<"cancelled">;
|
|
1996
|
-
}, z.core.$strict>], "kind">;
|
|
1997
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1998
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1999
|
-
schemaVersion: z.ZodLiteral<2>;
|
|
2000
|
-
kind: z.ZodLiteral<"agent-candidate-run">;
|
|
2001
|
-
digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
|
|
2002
|
-
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2003
|
-
materializationReceiptDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2004
|
-
executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2005
|
-
memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2006
|
-
mode: z.ZodLiteral<"disabled">;
|
|
2007
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2008
|
-
mode: z.ZodLiteral<"isolated">;
|
|
2009
|
-
scope: z.ZodLiteral<"task">;
|
|
2010
|
-
effectiveNamespace: z.ZodString;
|
|
2011
|
-
resetEvidenceDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2012
|
-
beforeStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2013
|
-
afterState: z.ZodObject<{
|
|
2014
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
2015
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
2016
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2017
|
-
material: z.ZodObject<{
|
|
2018
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
2019
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
2020
|
-
files: z.ZodArray<z.ZodObject<{
|
|
2021
|
-
path: z.ZodString;
|
|
2022
|
-
mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
|
|
2023
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2024
|
-
byteLength: z.ZodNumber;
|
|
2025
|
-
}, z.core.$strict>>;
|
|
2026
|
-
}, z.core.$strict>;
|
|
2027
|
-
manifest: z.ZodUnion<readonly [z.ZodObject<{
|
|
2028
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2029
|
-
kind: z.ZodLiteral<"s3">;
|
|
2030
|
-
bucket: z.ZodString;
|
|
2031
|
-
key: z.ZodString;
|
|
2032
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2033
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2034
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
2035
|
-
cid: z.ZodString;
|
|
2036
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2037
|
-
}, z.core.$strict>], "kind">;
|
|
2038
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2039
|
-
byteLength: z.ZodNumber;
|
|
2040
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2041
|
-
encoding: z.ZodLiteral<"base64">;
|
|
2042
|
-
content: z.ZodString;
|
|
2043
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2044
|
-
byteLength: z.ZodNumber;
|
|
2045
|
-
}, z.core.$strict>]>;
|
|
2046
|
-
archive: z.ZodUnion<readonly [z.ZodObject<{
|
|
2047
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2048
|
-
kind: z.ZodLiteral<"s3">;
|
|
2049
|
-
bucket: z.ZodString;
|
|
2050
|
-
key: z.ZodString;
|
|
2051
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2052
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2053
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
2054
|
-
cid: z.ZodString;
|
|
2055
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2056
|
-
}, z.core.$strict>], "kind">;
|
|
2057
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2058
|
-
byteLength: z.ZodNumber;
|
|
2059
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2060
|
-
encoding: z.ZodLiteral<"base64">;
|
|
2061
|
-
content: z.ZodString;
|
|
2062
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2063
|
-
byteLength: z.ZodNumber;
|
|
2064
|
-
}, z.core.$strict>]>;
|
|
2065
|
-
}, z.core.$strict>;
|
|
2066
|
-
}, z.core.$strict>], "mode">;
|
|
2067
|
-
usage: z.ZodObject<{
|
|
2068
|
-
costUsd: z.ZodNumber;
|
|
2069
|
-
inputTokens: z.ZodNumber;
|
|
2070
|
-
outputTokens: z.ZodNumber;
|
|
2071
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2072
|
-
modelCalls: z.ZodNumber;
|
|
2073
|
-
}, z.core.$strict>;
|
|
2074
|
-
modelUsage: z.ZodObject<{
|
|
2075
|
-
resolved: z.ZodObject<{
|
|
2076
|
-
requested: z.ZodString;
|
|
2077
|
-
provider: z.ZodString;
|
|
2078
|
-
model: z.ZodString;
|
|
2079
|
-
snapshot: z.ZodString;
|
|
2080
|
-
reasoningEffort: z.ZodEnum<{
|
|
2081
|
-
none: "none";
|
|
2082
|
-
minimal: "minimal";
|
|
2083
|
-
low: "low";
|
|
2084
|
-
medium: "medium";
|
|
2085
|
-
high: "high";
|
|
2086
|
-
xhigh: "xhigh";
|
|
2087
|
-
ultracode: "ultracode";
|
|
2088
|
-
}>;
|
|
2089
|
-
}, z.core.$strict>;
|
|
2090
|
-
usage: z.ZodObject<{
|
|
2091
|
-
costUsd: z.ZodNumber;
|
|
2092
|
-
inputTokens: z.ZodNumber;
|
|
2093
|
-
outputTokens: z.ZodNumber;
|
|
2094
|
-
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2095
|
-
modelCalls: z.ZodNumber;
|
|
2096
|
-
}, z.core.$strict>;
|
|
2097
|
-
}, z.core.$strict>;
|
|
2098
|
-
trace: z.ZodObject<{
|
|
2099
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
2100
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
2101
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2102
|
-
kind: z.ZodLiteral<"s3">;
|
|
2103
|
-
bucket: z.ZodString;
|
|
2104
|
-
key: z.ZodString;
|
|
2105
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2106
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2107
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
2108
|
-
cid: z.ZodString;
|
|
2109
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2110
|
-
}, z.core.$strict>], "kind">;
|
|
2111
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2112
|
-
byteLength: z.ZodNumber;
|
|
2113
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2114
|
-
encoding: z.ZodLiteral<"base64">;
|
|
2115
|
-
content: z.ZodString;
|
|
2116
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2117
|
-
byteLength: z.ZodNumber;
|
|
2118
|
-
}, z.core.$strict>]>;
|
|
2119
|
-
eventCount: z.ZodNumber;
|
|
2120
|
-
modelCallCount: z.ZodNumber;
|
|
2121
|
-
}, z.core.$strict>;
|
|
2122
|
-
termination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2123
|
-
kind: z.ZodLiteral<"exit">;
|
|
2124
|
-
exitCode: z.ZodNumber;
|
|
2125
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2126
|
-
kind: z.ZodLiteral<"timeout">;
|
|
2127
|
-
timeoutMs: z.ZodNumber;
|
|
2128
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2129
|
-
kind: z.ZodLiteral<"signal">;
|
|
2130
|
-
signal: z.ZodString;
|
|
2131
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2132
|
-
kind: z.ZodLiteral<"cancelled">;
|
|
2133
|
-
}, z.core.$strict>], "kind">;
|
|
2134
|
-
fixedUsage: z.ZodObject<{
|
|
2135
|
-
inputTokens: z.ZodNumber;
|
|
2136
|
-
outputTokens: z.ZodNumber;
|
|
2137
|
-
cachedInputTokens: z.ZodNumber;
|
|
2138
|
-
reasoningTokens: z.ZodNumber;
|
|
2139
|
-
modelCalls: z.ZodNumber;
|
|
2140
|
-
costUsdNanos: z.ZodNumber;
|
|
2141
|
-
}, z.core.$strict>;
|
|
2142
|
-
modelSettlement: z.ZodObject<{
|
|
2143
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
2144
|
-
kind: z.ZodLiteral<"agent-candidate-model-settlement">;
|
|
2145
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2146
|
-
material: z.ZodType<{
|
|
2147
|
-
calls: {
|
|
2148
|
-
callId: string;
|
|
2149
|
-
traceSpanId: string;
|
|
2150
|
-
model: string;
|
|
2151
|
-
inputTokens: number;
|
|
2152
|
-
outputTokens: number;
|
|
2153
|
-
cachedInputTokens: number;
|
|
2154
|
-
reasoningTokens: number;
|
|
2155
|
-
costUsdNanos: number;
|
|
2156
|
-
}[];
|
|
2157
|
-
kind: "agent-candidate-model-settlement-material";
|
|
2158
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2159
|
-
preparationId: string;
|
|
2160
|
-
grantDigest: `sha256:${string}`;
|
|
2161
|
-
closed: true;
|
|
2162
|
-
resolved: {
|
|
2163
|
-
requested: string;
|
|
2164
|
-
provider: string;
|
|
2165
|
-
model: string;
|
|
2166
|
-
snapshot: string;
|
|
2167
|
-
reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
|
|
2168
|
-
};
|
|
2169
|
-
usage: {
|
|
2170
|
-
inputTokens: number;
|
|
2171
|
-
outputTokens: number;
|
|
2172
|
-
cachedInputTokens: number;
|
|
2173
|
-
reasoningTokens: number;
|
|
2174
|
-
modelCalls: number;
|
|
2175
|
-
costUsdNanos: number;
|
|
2176
|
-
};
|
|
2177
|
-
schemaVersion: 1;
|
|
2178
|
-
} | {
|
|
2179
|
-
calls: {
|
|
2180
|
-
callId: string;
|
|
2181
|
-
generationId: string;
|
|
2182
|
-
traceSpanId: string;
|
|
2183
|
-
status: "succeeded" | "failed";
|
|
2184
|
-
model: string;
|
|
2185
|
-
startedAtMs: number;
|
|
2186
|
-
endedAtMs: number;
|
|
2187
|
-
inputTokens: number;
|
|
2188
|
-
outputTokens: number;
|
|
2189
|
-
cachedInputTokens: number;
|
|
2190
|
-
reasoningTokens: number;
|
|
2191
|
-
costUsdNanos: number;
|
|
2192
|
-
}[];
|
|
2193
|
-
kind: "agent-candidate-model-settlement-material";
|
|
2194
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2195
|
-
preparationId: string;
|
|
2196
|
-
grantDigest: `sha256:${string}`;
|
|
2197
|
-
closed: true;
|
|
2198
|
-
resolved: {
|
|
2199
|
-
requested: string;
|
|
2200
|
-
provider: string;
|
|
2201
|
-
model: string;
|
|
2202
|
-
snapshot: string;
|
|
2203
|
-
reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
|
|
2204
|
-
};
|
|
2205
|
-
usage: {
|
|
2206
|
-
inputTokens: number;
|
|
2207
|
-
outputTokens: number;
|
|
2208
|
-
cachedInputTokens: number;
|
|
2209
|
-
reasoningTokens: number;
|
|
2210
|
-
modelCalls: number;
|
|
2211
|
-
costUsdNanos: number;
|
|
2212
|
-
};
|
|
2213
|
-
schemaVersion: 2;
|
|
2214
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
2215
|
-
calls: {
|
|
2216
|
-
callId: string;
|
|
2217
|
-
traceSpanId: string;
|
|
2218
|
-
model: string;
|
|
2219
|
-
inputTokens: number;
|
|
2220
|
-
outputTokens: number;
|
|
2221
|
-
cachedInputTokens: number;
|
|
2222
|
-
reasoningTokens: number;
|
|
2223
|
-
costUsdNanos: number;
|
|
2224
|
-
}[];
|
|
2225
|
-
kind: "agent-candidate-model-settlement-material";
|
|
2226
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2227
|
-
preparationId: string;
|
|
2228
|
-
grantDigest: `sha256:${string}`;
|
|
2229
|
-
closed: true;
|
|
2230
|
-
resolved: {
|
|
2231
|
-
requested: string;
|
|
2232
|
-
provider: string;
|
|
2233
|
-
model: string;
|
|
2234
|
-
snapshot: string;
|
|
2235
|
-
reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
|
|
2236
|
-
};
|
|
2237
|
-
usage: {
|
|
2238
|
-
inputTokens: number;
|
|
2239
|
-
outputTokens: number;
|
|
2240
|
-
cachedInputTokens: number;
|
|
2241
|
-
reasoningTokens: number;
|
|
2242
|
-
modelCalls: number;
|
|
2243
|
-
costUsdNanos: number;
|
|
2244
|
-
};
|
|
2245
|
-
schemaVersion: 1;
|
|
2246
|
-
} | {
|
|
2247
|
-
calls: {
|
|
2248
|
-
callId: string;
|
|
2249
|
-
generationId: string;
|
|
2250
|
-
traceSpanId: string;
|
|
2251
|
-
status: "succeeded" | "failed";
|
|
2252
|
-
model: string;
|
|
2253
|
-
startedAtMs: number;
|
|
2254
|
-
endedAtMs: number;
|
|
2255
|
-
inputTokens: number;
|
|
2256
|
-
outputTokens: number;
|
|
2257
|
-
cachedInputTokens: number;
|
|
2258
|
-
reasoningTokens: number;
|
|
2259
|
-
costUsdNanos: number;
|
|
2260
|
-
}[];
|
|
2261
|
-
kind: "agent-candidate-model-settlement-material";
|
|
2262
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2263
|
-
preparationId: string;
|
|
2264
|
-
grantDigest: `sha256:${string}`;
|
|
2265
|
-
closed: true;
|
|
2266
|
-
resolved: {
|
|
2267
|
-
requested: string;
|
|
2268
|
-
provider: string;
|
|
2269
|
-
model: string;
|
|
2270
|
-
snapshot: string;
|
|
2271
|
-
reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
|
|
2272
|
-
};
|
|
2273
|
-
usage: {
|
|
2274
|
-
inputTokens: number;
|
|
2275
|
-
outputTokens: number;
|
|
2276
|
-
cachedInputTokens: number;
|
|
2277
|
-
reasoningTokens: number;
|
|
2278
|
-
modelCalls: number;
|
|
2279
|
-
costUsdNanos: number;
|
|
2280
|
-
};
|
|
2281
|
-
schemaVersion: 2;
|
|
2282
|
-
}, unknown>>;
|
|
2283
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
2284
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2285
|
-
kind: z.ZodLiteral<"s3">;
|
|
2286
|
-
bucket: z.ZodString;
|
|
2287
|
-
key: z.ZodString;
|
|
2288
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2289
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2290
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
2291
|
-
cid: z.ZodString;
|
|
2292
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2293
|
-
}, z.core.$strict>], "kind">;
|
|
2294
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2295
|
-
byteLength: z.ZodNumber;
|
|
2296
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2297
|
-
encoding: z.ZodLiteral<"base64">;
|
|
2298
|
-
content: z.ZodString;
|
|
2299
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2300
|
-
byteLength: z.ZodNumber;
|
|
2301
|
-
}, z.core.$strict>]>;
|
|
2302
|
-
}, z.core.$strict>;
|
|
2303
|
-
taskOutcome: z.ZodObject<{
|
|
2304
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
2305
|
-
kind: z.ZodLiteral<"agent-candidate-task-outcome">;
|
|
2306
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2307
|
-
material: z.ZodType<{
|
|
2308
|
-
schemaVersion: 1;
|
|
2309
|
-
kind: "agent-candidate-task-outcome-material";
|
|
2310
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2311
|
-
baseRepository: {
|
|
2312
|
-
identity: string;
|
|
2313
|
-
rootIdentity: string;
|
|
2314
|
-
commit: string;
|
|
2315
|
-
tree: string;
|
|
2316
|
-
};
|
|
2317
|
-
resultRepository: {
|
|
2318
|
-
identity: string;
|
|
2319
|
-
rootIdentity: string;
|
|
2320
|
-
commit: string;
|
|
2321
|
-
tree: string;
|
|
2322
|
-
};
|
|
2323
|
-
afterState: {
|
|
2324
|
-
schemaVersion: 1;
|
|
2325
|
-
kind: "agent-candidate-workspace-snapshot";
|
|
2326
|
-
digest: `sha256:${string}`;
|
|
2327
|
-
material: {
|
|
2328
|
-
schemaVersion: 1;
|
|
2329
|
-
kind: "agent-candidate-workspace-manifest";
|
|
2330
|
-
files: {
|
|
2331
|
-
path: string;
|
|
2332
|
-
mode: 420 | 493;
|
|
2333
|
-
sha256: `sha256:${string}`;
|
|
2334
|
-
byteLength: number;
|
|
2335
|
-
}[];
|
|
2336
|
-
};
|
|
2337
|
-
manifest: {
|
|
2338
|
-
locator: {
|
|
2339
|
-
kind: "s3";
|
|
2340
|
-
bucket: string;
|
|
2341
|
-
key: string;
|
|
2342
|
-
region?: string | undefined;
|
|
2343
|
-
} | {
|
|
2344
|
-
kind: "ipfs";
|
|
2345
|
-
cid: string;
|
|
2346
|
-
path?: string | undefined;
|
|
2347
|
-
};
|
|
2348
|
-
sha256: `sha256:${string}`;
|
|
2349
|
-
byteLength: number;
|
|
2350
|
-
} | {
|
|
2351
|
-
encoding: "base64";
|
|
2352
|
-
content: string;
|
|
2353
|
-
sha256: `sha256:${string}`;
|
|
2354
|
-
byteLength: number;
|
|
2355
|
-
};
|
|
2356
|
-
archive: {
|
|
2357
|
-
locator: {
|
|
2358
|
-
kind: "s3";
|
|
2359
|
-
bucket: string;
|
|
2360
|
-
key: string;
|
|
2361
|
-
region?: string | undefined;
|
|
2362
|
-
} | {
|
|
2363
|
-
kind: "ipfs";
|
|
2364
|
-
cid: string;
|
|
2365
|
-
path?: string | undefined;
|
|
2366
|
-
};
|
|
2367
|
-
sha256: `sha256:${string}`;
|
|
2368
|
-
byteLength: number;
|
|
2369
|
-
} | {
|
|
2370
|
-
encoding: "base64";
|
|
2371
|
-
content: string;
|
|
2372
|
-
sha256: `sha256:${string}`;
|
|
2373
|
-
byteLength: number;
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
gitDiff: {
|
|
2377
|
-
format: "git-diff-binary";
|
|
2378
|
-
artifact: {
|
|
2379
|
-
locator: {
|
|
2380
|
-
kind: "s3";
|
|
2381
|
-
bucket: string;
|
|
2382
|
-
key: string;
|
|
2383
|
-
region?: string | undefined;
|
|
2384
|
-
} | {
|
|
2385
|
-
kind: "ipfs";
|
|
2386
|
-
cid: string;
|
|
2387
|
-
path?: string | undefined;
|
|
2388
|
-
};
|
|
2389
|
-
sha256: `sha256:${string}`;
|
|
2390
|
-
byteLength: number;
|
|
2391
|
-
};
|
|
2392
|
-
};
|
|
2393
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
2394
|
-
schemaVersion: 1;
|
|
2395
|
-
kind: "agent-candidate-task-outcome-material";
|
|
2396
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2397
|
-
baseRepository: {
|
|
2398
|
-
identity: string;
|
|
2399
|
-
rootIdentity: string;
|
|
2400
|
-
commit: string;
|
|
2401
|
-
tree: string;
|
|
2402
|
-
};
|
|
2403
|
-
resultRepository: {
|
|
2404
|
-
identity: string;
|
|
2405
|
-
rootIdentity: string;
|
|
2406
|
-
commit: string;
|
|
2407
|
-
tree: string;
|
|
2408
|
-
};
|
|
2409
|
-
afterState: {
|
|
2410
|
-
schemaVersion: 1;
|
|
2411
|
-
kind: "agent-candidate-workspace-snapshot";
|
|
2412
|
-
digest: `sha256:${string}`;
|
|
2413
|
-
material: {
|
|
2414
|
-
schemaVersion: 1;
|
|
2415
|
-
kind: "agent-candidate-workspace-manifest";
|
|
2416
|
-
files: {
|
|
2417
|
-
path: string;
|
|
2418
|
-
mode: 420 | 493;
|
|
2419
|
-
sha256: `sha256:${string}`;
|
|
2420
|
-
byteLength: number;
|
|
2421
|
-
}[];
|
|
2422
|
-
};
|
|
2423
|
-
manifest: {
|
|
2424
|
-
locator: {
|
|
2425
|
-
kind: "s3";
|
|
2426
|
-
bucket: string;
|
|
2427
|
-
key: string;
|
|
2428
|
-
region?: string | undefined;
|
|
2429
|
-
} | {
|
|
2430
|
-
kind: "ipfs";
|
|
2431
|
-
cid: string;
|
|
2432
|
-
path?: string | undefined;
|
|
2433
|
-
};
|
|
2434
|
-
sha256: `sha256:${string}`;
|
|
2435
|
-
byteLength: number;
|
|
2436
|
-
} | {
|
|
2437
|
-
encoding: "base64";
|
|
2438
|
-
content: string;
|
|
2439
|
-
sha256: `sha256:${string}`;
|
|
2440
|
-
byteLength: number;
|
|
2441
|
-
};
|
|
2442
|
-
archive: {
|
|
2443
|
-
locator: {
|
|
2444
|
-
kind: "s3";
|
|
2445
|
-
bucket: string;
|
|
2446
|
-
key: string;
|
|
2447
|
-
region?: string | undefined;
|
|
2448
|
-
} | {
|
|
2449
|
-
kind: "ipfs";
|
|
2450
|
-
cid: string;
|
|
2451
|
-
path?: string | undefined;
|
|
2452
|
-
};
|
|
2453
|
-
sha256: `sha256:${string}`;
|
|
2454
|
-
byteLength: number;
|
|
2455
|
-
} | {
|
|
2456
|
-
encoding: "base64";
|
|
2457
|
-
content: string;
|
|
2458
|
-
sha256: `sha256:${string}`;
|
|
2459
|
-
byteLength: number;
|
|
2460
|
-
};
|
|
2461
|
-
};
|
|
2462
|
-
gitDiff: {
|
|
2463
|
-
format: "git-diff-binary";
|
|
2464
|
-
artifact: {
|
|
2465
|
-
locator: {
|
|
2466
|
-
kind: "s3";
|
|
2467
|
-
bucket: string;
|
|
2468
|
-
key: string;
|
|
2469
|
-
region?: string | undefined;
|
|
2470
|
-
} | {
|
|
2471
|
-
kind: "ipfs";
|
|
2472
|
-
cid: string;
|
|
2473
|
-
path?: string | undefined;
|
|
2474
|
-
};
|
|
2475
|
-
sha256: `sha256:${string}`;
|
|
2476
|
-
byteLength: number;
|
|
2477
|
-
};
|
|
2478
|
-
};
|
|
2479
|
-
}, unknown>>;
|
|
2480
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
2481
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2482
|
-
kind: z.ZodLiteral<"s3">;
|
|
2483
|
-
bucket: z.ZodString;
|
|
2484
|
-
key: z.ZodString;
|
|
2485
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2486
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2487
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
2488
|
-
cid: z.ZodString;
|
|
2489
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2490
|
-
}, z.core.$strict>], "kind">;
|
|
2491
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2492
|
-
byteLength: z.ZodNumber;
|
|
2493
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2494
|
-
encoding: z.ZodLiteral<"base64">;
|
|
2495
|
-
content: z.ZodString;
|
|
2496
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2497
|
-
byteLength: z.ZodNumber;
|
|
2498
|
-
}, z.core.$strict>]>;
|
|
2499
|
-
}, z.core.$strict>;
|
|
2500
|
-
benchmarkResult: z.ZodObject<{
|
|
2501
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
2502
|
-
kind: z.ZodLiteral<"agent-candidate-benchmark-result">;
|
|
2503
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2504
|
-
material: z.ZodType<{
|
|
2505
|
-
schemaVersion: 1;
|
|
2506
|
-
kind: "agent-candidate-benchmark-result-material";
|
|
2507
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2508
|
-
taskOutcomeDigest: `sha256:${string}`;
|
|
2509
|
-
benchmark: {
|
|
2510
|
-
name: string;
|
|
2511
|
-
version: string;
|
|
2512
|
-
taskId: string;
|
|
2513
|
-
splitDigest: `sha256:${string}`;
|
|
2514
|
-
};
|
|
2515
|
-
grader: {
|
|
2516
|
-
name: string;
|
|
2517
|
-
version: string;
|
|
2518
|
-
artifact: {
|
|
2519
|
-
locator: {
|
|
2520
|
-
kind: "s3";
|
|
2521
|
-
bucket: string;
|
|
2522
|
-
key: string;
|
|
2523
|
-
region?: string | undefined;
|
|
2524
|
-
} | {
|
|
2525
|
-
kind: "ipfs";
|
|
2526
|
-
cid: string;
|
|
2527
|
-
path?: string | undefined;
|
|
2528
|
-
};
|
|
2529
|
-
sha256: `sha256:${string}`;
|
|
2530
|
-
byteLength: number;
|
|
2531
|
-
};
|
|
2532
|
-
};
|
|
2533
|
-
evidence: {
|
|
2534
|
-
locator: {
|
|
2535
|
-
kind: "s3";
|
|
2536
|
-
bucket: string;
|
|
2537
|
-
key: string;
|
|
2538
|
-
region?: string | undefined;
|
|
2539
|
-
} | {
|
|
2540
|
-
kind: "ipfs";
|
|
2541
|
-
cid: string;
|
|
2542
|
-
path?: string | undefined;
|
|
2543
|
-
};
|
|
2544
|
-
sha256: `sha256:${string}`;
|
|
2545
|
-
byteLength: number;
|
|
2546
|
-
};
|
|
2547
|
-
score: number;
|
|
2548
|
-
passed: boolean;
|
|
2549
|
-
dimensions: {
|
|
2550
|
-
name: string;
|
|
2551
|
-
score: number;
|
|
2552
|
-
}[];
|
|
2553
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
2554
|
-
schemaVersion: 1;
|
|
2555
|
-
kind: "agent-candidate-benchmark-result-material";
|
|
2556
|
-
executionPlanDigest: `sha256:${string}`;
|
|
2557
|
-
taskOutcomeDigest: `sha256:${string}`;
|
|
2558
|
-
benchmark: {
|
|
2559
|
-
name: string;
|
|
2560
|
-
version: string;
|
|
2561
|
-
taskId: string;
|
|
2562
|
-
splitDigest: `sha256:${string}`;
|
|
2563
|
-
};
|
|
2564
|
-
grader: {
|
|
2565
|
-
name: string;
|
|
2566
|
-
version: string;
|
|
2567
|
-
artifact: {
|
|
2568
|
-
locator: {
|
|
2569
|
-
kind: "s3";
|
|
2570
|
-
bucket: string;
|
|
2571
|
-
key: string;
|
|
2572
|
-
region?: string | undefined;
|
|
2573
|
-
} | {
|
|
2574
|
-
kind: "ipfs";
|
|
2575
|
-
cid: string;
|
|
2576
|
-
path?: string | undefined;
|
|
2577
|
-
};
|
|
2578
|
-
sha256: `sha256:${string}`;
|
|
2579
|
-
byteLength: number;
|
|
2580
|
-
};
|
|
2581
|
-
};
|
|
2582
|
-
evidence: {
|
|
2583
|
-
locator: {
|
|
2584
|
-
kind: "s3";
|
|
2585
|
-
bucket: string;
|
|
2586
|
-
key: string;
|
|
2587
|
-
region?: string | undefined;
|
|
2588
|
-
} | {
|
|
2589
|
-
kind: "ipfs";
|
|
2590
|
-
cid: string;
|
|
2591
|
-
path?: string | undefined;
|
|
2592
|
-
};
|
|
2593
|
-
sha256: `sha256:${string}`;
|
|
2594
|
-
byteLength: number;
|
|
2595
|
-
};
|
|
2596
|
-
score: number;
|
|
2597
|
-
passed: boolean;
|
|
2598
|
-
dimensions: {
|
|
2599
|
-
name: string;
|
|
2600
|
-
score: number;
|
|
2601
|
-
}[];
|
|
2602
|
-
}, unknown>>;
|
|
2603
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
2604
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2605
|
-
kind: z.ZodLiteral<"s3">;
|
|
2606
|
-
bucket: z.ZodString;
|
|
2607
|
-
key: z.ZodString;
|
|
2608
|
-
region: z.ZodOptional<z.ZodString>;
|
|
2609
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2610
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
2611
|
-
cid: z.ZodString;
|
|
2612
|
-
path: z.ZodOptional<z.ZodString>;
|
|
2613
|
-
}, z.core.$strict>], "kind">;
|
|
2614
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2615
|
-
byteLength: z.ZodNumber;
|
|
2616
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2617
|
-
encoding: z.ZodLiteral<"base64">;
|
|
2618
|
-
content: z.ZodString;
|
|
2619
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2620
|
-
byteLength: z.ZodNumber;
|
|
2621
|
-
}, z.core.$strict>]>;
|
|
2622
|
-
}, z.core.$strict>;
|
|
2623
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
2624
|
-
}, z.core.$strict>]>;
|