@tangle-network/agent-interface 2.13.1 → 2.14.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.
@@ -10,6 +10,11 @@ export declare const agentCandidateIpfsLocatorSchema: z.ZodObject<{
10
10
  cid: z.ZodString;
11
11
  path: z.ZodOptional<z.ZodString>;
12
12
  }, z.core.$strict>;
13
+ export declare const agentCandidatePrivateCasLocatorSchema: z.ZodObject<{
14
+ kind: z.ZodLiteral<"private-cas">;
15
+ namespace: z.ZodString;
16
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
17
+ }, z.core.$strict>;
13
18
  export declare const agentCandidateArtifactLocatorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
14
19
  kind: z.ZodLiteral<"s3">;
15
20
  bucket: z.ZodString;
@@ -19,6 +24,10 @@ export declare const agentCandidateArtifactLocatorSchema: z.ZodDiscriminatedUnio
19
24
  kind: z.ZodLiteral<"ipfs">;
20
25
  cid: z.ZodString;
21
26
  path: z.ZodOptional<z.ZodString>;
27
+ }, z.core.$strict>, z.ZodObject<{
28
+ kind: z.ZodLiteral<"private-cas">;
29
+ namespace: z.ZodString;
30
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
22
31
  }, z.core.$strict>], "kind">;
23
32
  export declare const agentCandidateArtifactRefSchema: z.ZodObject<{
24
33
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -30,6 +39,10 @@ export declare const agentCandidateArtifactRefSchema: z.ZodObject<{
30
39
  kind: z.ZodLiteral<"ipfs">;
31
40
  cid: z.ZodString;
32
41
  path: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strict>, z.ZodObject<{
43
+ kind: z.ZodLiteral<"private-cas">;
44
+ namespace: z.ZodString;
45
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
33
46
  }, z.core.$strict>], "kind">;
34
47
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
35
48
  byteLength: z.ZodNumber;
@@ -50,6 +63,10 @@ export declare const agentCandidateCapturedArtifactSchema: z.ZodUnion<readonly [
50
63
  kind: z.ZodLiteral<"ipfs">;
51
64
  cid: z.ZodString;
52
65
  path: z.ZodOptional<z.ZodString>;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ kind: z.ZodLiteral<"private-cas">;
68
+ namespace: z.ZodString;
69
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
53
70
  }, z.core.$strict>], "kind">;
54
71
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
55
72
  byteLength: z.ZodNumber;
@@ -90,6 +107,10 @@ export declare const agentCandidateWorkspaceSnapshotEvidenceSchema: z.ZodObject<
90
107
  kind: z.ZodLiteral<"ipfs">;
91
108
  cid: z.ZodString;
92
109
  path: z.ZodOptional<z.ZodString>;
110
+ }, z.core.$strict>, z.ZodObject<{
111
+ kind: z.ZodLiteral<"private-cas">;
112
+ namespace: z.ZodString;
113
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
93
114
  }, z.core.$strict>], "kind">;
94
115
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
95
116
  byteLength: z.ZodNumber;
@@ -109,6 +130,10 @@ export declare const agentCandidateWorkspaceSnapshotEvidenceSchema: z.ZodObject<
109
130
  kind: z.ZodLiteral<"ipfs">;
110
131
  cid: z.ZodString;
111
132
  path: z.ZodOptional<z.ZodString>;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ kind: z.ZodLiteral<"private-cas">;
135
+ namespace: z.ZodString;
136
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
112
137
  }, z.core.$strict>], "kind">;
113
138
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
114
139
  byteLength: z.ZodNumber;
@@ -5,6 +5,7 @@ const base64Alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123
5
5
  const s3BucketPattern = /^(?!\d+\.\d+\.\d+\.\d+$)[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$/;
6
6
  const awsRegionPattern = /^[a-z]{2}(?:-gov)?-[a-z]+-\d$/;
7
7
  const ipfsCidPattern = /^(?:Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,})$/;
8
+ const privateCasNamespacePattern = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
8
9
  function decodedBase64ByteLength(value) {
9
10
  if (value.length === 0)
10
11
  return 0;
@@ -66,14 +67,30 @@ export const agentCandidateIpfsLocatorSchema = z
66
67
  .optional(),
67
68
  })
68
69
  .strict();
69
- export const agentCandidateArtifactLocatorSchema = z.discriminatedUnion("kind", [agentCandidateS3LocatorSchema, agentCandidateIpfsLocatorSchema]);
70
+ export const agentCandidatePrivateCasLocatorSchema = z
71
+ .object({
72
+ kind: z.literal("private-cas"),
73
+ namespace: z.string().regex(privateCasNamespacePattern).refine((value) => value !== "." && value !== ".."),
74
+ digest: sha256DigestSchema,
75
+ })
76
+ .strict();
77
+ export const agentCandidateArtifactLocatorSchema = z.discriminatedUnion("kind", [agentCandidateS3LocatorSchema, agentCandidateIpfsLocatorSchema, agentCandidatePrivateCasLocatorSchema]);
70
78
  export const agentCandidateArtifactRefSchema = z
71
79
  .object({
72
80
  locator: agentCandidateArtifactLocatorSchema,
73
81
  sha256: sha256DigestSchema,
74
82
  byteLength: z.number().int().nonnegative(),
75
83
  })
76
- .strict();
84
+ .strict()
85
+ .superRefine((artifact, ctx) => {
86
+ if (artifact.locator.kind === "private-cas" && artifact.locator.digest !== artifact.sha256) {
87
+ ctx.addIssue({
88
+ code: "custom",
89
+ path: ["locator", "digest"],
90
+ message: "private CAS locator digest must match artifact hash",
91
+ });
92
+ }
93
+ });
77
94
  export const agentCandidateEmbeddedArtifactSchema = z
78
95
  .object({
79
96
  encoding: z.literal("base64"),
@@ -248,6 +248,10 @@ export declare const agentCandidateExecutionSchema: z.ZodObject<{
248
248
  kind: z.ZodLiteral<"ipfs">;
249
249
  cid: z.ZodString;
250
250
  path: z.ZodOptional<z.ZodString>;
251
+ }, z.core.$strict>, z.ZodObject<{
252
+ kind: z.ZodLiteral<"private-cas">;
253
+ namespace: z.ZodString;
254
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
251
255
  }, z.core.$strict>], "kind">;
252
256
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
253
257
  byteLength: z.ZodNumber;
@@ -267,6 +271,10 @@ export declare const agentCandidateExecutionSchema: z.ZodObject<{
267
271
  kind: z.ZodLiteral<"ipfs">;
268
272
  cid: z.ZodString;
269
273
  path: z.ZodOptional<z.ZodString>;
274
+ }, z.core.$strict>, z.ZodObject<{
275
+ kind: z.ZodLiteral<"private-cas">;
276
+ namespace: z.ZodString;
277
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
270
278
  }, z.core.$strict>], "kind">;
271
279
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
272
280
  byteLength: z.ZodNumber;
@@ -23,6 +23,10 @@ export declare function agentCandidateEvidenceSchema<TKind extends string, TMate
23
23
  kind: z.ZodLiteral<"ipfs">;
24
24
  cid: z.ZodString;
25
25
  path: z.ZodOptional<z.ZodString>;
26
+ }, z.core.$strict>, z.ZodObject<{
27
+ kind: z.ZodLiteral<"private-cas">;
28
+ namespace: z.ZodString;
29
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
26
30
  }, z.core.$strict>], "kind">;
27
31
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
28
32
  byteLength: z.ZodNumber;
@@ -34,6 +34,10 @@ export declare const agentCandidateBenchmarkGraderIdentitySchema: z.ZodObject<{
34
34
  kind: z.ZodLiteral<"ipfs">;
35
35
  cid: z.ZodString;
36
36
  path: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ kind: z.ZodLiteral<"private-cas">;
39
+ namespace: z.ZodString;
40
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
37
41
  }, z.core.$strict>], "kind">;
38
42
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
39
43
  byteLength: z.ZodNumber;
@@ -125,6 +129,10 @@ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnio
125
129
  kind: z.ZodLiteral<"ipfs">;
126
130
  cid: z.ZodString;
127
131
  path: z.ZodOptional<z.ZodString>;
132
+ }, z.core.$strict>, z.ZodObject<{
133
+ kind: z.ZodLiteral<"private-cas">;
134
+ namespace: z.ZodString;
135
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
128
136
  }, z.core.$strict>], "kind">;
129
137
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
130
138
  byteLength: z.ZodNumber;
@@ -158,6 +166,10 @@ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnio
158
166
  kind: z.ZodLiteral<"ipfs">;
159
167
  cid: z.ZodString;
160
168
  path: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strict>, z.ZodObject<{
170
+ kind: z.ZodLiteral<"private-cas">;
171
+ namespace: z.ZodString;
172
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
161
173
  }, z.core.$strict>], "kind">;
162
174
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
163
175
  byteLength: z.ZodNumber;
@@ -177,6 +189,10 @@ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnio
177
189
  kind: z.ZodLiteral<"ipfs">;
178
190
  cid: z.ZodString;
179
191
  path: z.ZodOptional<z.ZodString>;
192
+ }, z.core.$strict>, z.ZodObject<{
193
+ kind: z.ZodLiteral<"private-cas">;
194
+ namespace: z.ZodString;
195
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
180
196
  }, z.core.$strict>], "kind">;
181
197
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
182
198
  byteLength: z.ZodNumber;
@@ -291,6 +307,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
291
307
  kind: z.ZodLiteral<"ipfs">;
292
308
  cid: z.ZodString;
293
309
  path: z.ZodOptional<z.ZodString>;
310
+ }, z.core.$strict>, z.ZodObject<{
311
+ kind: z.ZodLiteral<"private-cas">;
312
+ namespace: z.ZodString;
313
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
294
314
  }, z.core.$strict>], "kind">;
295
315
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
296
316
  byteLength: z.ZodNumber;
@@ -310,6 +330,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
310
330
  kind: z.ZodLiteral<"ipfs">;
311
331
  cid: z.ZodString;
312
332
  path: z.ZodOptional<z.ZodString>;
333
+ }, z.core.$strict>, z.ZodObject<{
334
+ kind: z.ZodLiteral<"private-cas">;
335
+ namespace: z.ZodString;
336
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
313
337
  }, z.core.$strict>], "kind">;
314
338
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
315
339
  byteLength: z.ZodNumber;
@@ -459,6 +483,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
459
483
  kind: z.ZodLiteral<"ipfs">;
460
484
  cid: z.ZodString;
461
485
  path: z.ZodOptional<z.ZodString>;
486
+ }, z.core.$strict>, z.ZodObject<{
487
+ kind: z.ZodLiteral<"private-cas">;
488
+ namespace: z.ZodString;
489
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
462
490
  }, z.core.$strict>], "kind">;
463
491
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
464
492
  byteLength: z.ZodNumber;
@@ -492,6 +520,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
492
520
  kind: z.ZodLiteral<"ipfs">;
493
521
  cid: z.ZodString;
494
522
  path: z.ZodOptional<z.ZodString>;
523
+ }, z.core.$strict>, z.ZodObject<{
524
+ kind: z.ZodLiteral<"private-cas">;
525
+ namespace: z.ZodString;
526
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
495
527
  }, z.core.$strict>], "kind">;
496
528
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
497
529
  byteLength: z.ZodNumber;
@@ -511,6 +543,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
511
543
  kind: z.ZodLiteral<"ipfs">;
512
544
  cid: z.ZodString;
513
545
  path: z.ZodOptional<z.ZodString>;
546
+ }, z.core.$strict>, z.ZodObject<{
547
+ kind: z.ZodLiteral<"private-cas">;
548
+ namespace: z.ZodString;
549
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
514
550
  }, z.core.$strict>], "kind">;
515
551
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
516
552
  byteLength: z.ZodNumber;
@@ -599,6 +635,10 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
599
635
  kind: z.ZodLiteral<"ipfs">;
600
636
  cid: z.ZodString;
601
637
  path: z.ZodOptional<z.ZodString>;
638
+ }, z.core.$strict>, z.ZodObject<{
639
+ kind: z.ZodLiteral<"private-cas">;
640
+ namespace: z.ZodString;
641
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
602
642
  }, z.core.$strict>], "kind">;
603
643
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
604
644
  byteLength: z.ZodNumber;
@@ -658,6 +698,10 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
658
698
  kind: "ipfs";
659
699
  cid: string;
660
700
  path?: string | undefined;
701
+ } | {
702
+ kind: "private-cas";
703
+ namespace: string;
704
+ digest: `sha256:${string}`;
661
705
  };
662
706
  sha256: `sha256:${string}`;
663
707
  byteLength: number;
@@ -710,6 +754,10 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
710
754
  kind: "ipfs";
711
755
  cid: string;
712
756
  path?: string | undefined;
757
+ } | {
758
+ kind: "private-cas";
759
+ namespace: string;
760
+ digest: `sha256:${string}`;
713
761
  };
714
762
  sha256: `sha256:${string}`;
715
763
  byteLength: number;
@@ -774,6 +822,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
774
822
  kind: "ipfs";
775
823
  cid: string;
776
824
  path?: string | undefined;
825
+ } | {
826
+ kind: "private-cas";
827
+ namespace: string;
828
+ digest: `sha256:${string}`;
777
829
  };
778
830
  sha256: `sha256:${string}`;
779
831
  byteLength: number;
@@ -793,6 +845,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
793
845
  kind: "ipfs";
794
846
  cid: string;
795
847
  path?: string | undefined;
848
+ } | {
849
+ kind: "private-cas";
850
+ namespace: string;
851
+ digest: `sha256:${string}`;
796
852
  };
797
853
  sha256: `sha256:${string}`;
798
854
  byteLength: number;
@@ -906,6 +962,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
906
962
  kind: "ipfs";
907
963
  cid: string;
908
964
  path?: string | undefined;
965
+ } | {
966
+ kind: "private-cas";
967
+ namespace: string;
968
+ digest: `sha256:${string}`;
909
969
  };
910
970
  sha256: `sha256:${string}`;
911
971
  byteLength: number;
@@ -939,6 +999,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
939
999
  kind: "ipfs";
940
1000
  cid: string;
941
1001
  path?: string | undefined;
1002
+ } | {
1003
+ kind: "private-cas";
1004
+ namespace: string;
1005
+ digest: `sha256:${string}`;
942
1006
  };
943
1007
  sha256: `sha256:${string}`;
944
1008
  byteLength: number;
@@ -958,6 +1022,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
958
1022
  kind: "ipfs";
959
1023
  cid: string;
960
1024
  path?: string | undefined;
1025
+ } | {
1026
+ kind: "private-cas";
1027
+ namespace: string;
1028
+ digest: `sha256:${string}`;
961
1029
  };
962
1030
  sha256: `sha256:${string}`;
963
1031
  byteLength: number;
@@ -1018,6 +1086,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1018
1086
  kind: "ipfs";
1019
1087
  cid: string;
1020
1088
  path?: string | undefined;
1089
+ } | {
1090
+ kind: "private-cas";
1091
+ namespace: string;
1092
+ digest: `sha256:${string}`;
1021
1093
  };
1022
1094
  sha256: `sha256:${string}`;
1023
1095
  byteLength: number;
@@ -1037,6 +1109,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1037
1109
  kind: "ipfs";
1038
1110
  cid: string;
1039
1111
  path?: string | undefined;
1112
+ } | {
1113
+ kind: "private-cas";
1114
+ namespace: string;
1115
+ digest: `sha256:${string}`;
1040
1116
  };
1041
1117
  sha256: `sha256:${string}`;
1042
1118
  byteLength: number;
@@ -1150,6 +1226,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1150
1226
  kind: "ipfs";
1151
1227
  cid: string;
1152
1228
  path?: string | undefined;
1229
+ } | {
1230
+ kind: "private-cas";
1231
+ namespace: string;
1232
+ digest: `sha256:${string}`;
1153
1233
  };
1154
1234
  sha256: `sha256:${string}`;
1155
1235
  byteLength: number;
@@ -1183,6 +1263,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1183
1263
  kind: "ipfs";
1184
1264
  cid: string;
1185
1265
  path?: string | undefined;
1266
+ } | {
1267
+ kind: "private-cas";
1268
+ namespace: string;
1269
+ digest: `sha256:${string}`;
1186
1270
  };
1187
1271
  sha256: `sha256:${string}`;
1188
1272
  byteLength: number;
@@ -1202,6 +1286,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1202
1286
  kind: "ipfs";
1203
1287
  cid: string;
1204
1288
  path?: string | undefined;
1289
+ } | {
1290
+ kind: "private-cas";
1291
+ namespace: string;
1292
+ digest: `sha256:${string}`;
1205
1293
  };
1206
1294
  sha256: `sha256:${string}`;
1207
1295
  byteLength: number;
@@ -1225,6 +1313,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1225
1313
  kind: z.ZodLiteral<"ipfs">;
1226
1314
  cid: z.ZodString;
1227
1315
  path: z.ZodOptional<z.ZodString>;
1316
+ }, z.core.$strict>, z.ZodObject<{
1317
+ kind: z.ZodLiteral<"private-cas">;
1318
+ namespace: z.ZodString;
1319
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1228
1320
  }, z.core.$strict>], "kind">;
1229
1321
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1230
1322
  byteLength: z.ZodNumber;
@@ -37,6 +37,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
37
37
  kind: z.ZodLiteral<"ipfs">;
38
38
  cid: z.ZodString;
39
39
  path: z.ZodOptional<z.ZodString>;
40
+ }, z.core.$strict>, z.ZodObject<{
41
+ kind: z.ZodLiteral<"private-cas">;
42
+ namespace: z.ZodString;
43
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
40
44
  }, z.core.$strict>], "kind">;
41
45
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
42
46
  byteLength: z.ZodNumber;
@@ -56,6 +60,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
56
60
  kind: z.ZodLiteral<"ipfs">;
57
61
  cid: z.ZodString;
58
62
  path: z.ZodOptional<z.ZodString>;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ kind: z.ZodLiteral<"private-cas">;
65
+ namespace: z.ZodString;
66
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
59
67
  }, z.core.$strict>], "kind">;
60
68
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
61
69
  byteLength: z.ZodNumber;
@@ -76,6 +84,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
76
84
  kind: z.ZodLiteral<"ipfs">;
77
85
  cid: z.ZodString;
78
86
  path: z.ZodOptional<z.ZodString>;
87
+ }, z.core.$strict>, z.ZodObject<{
88
+ kind: z.ZodLiteral<"private-cas">;
89
+ namespace: z.ZodString;
90
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
79
91
  }, z.core.$strict>], "kind">;
80
92
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
81
93
  byteLength: z.ZodNumber;
@@ -95,6 +107,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
95
107
  kind: z.ZodLiteral<"ipfs">;
96
108
  cid: z.ZodString;
97
109
  path: z.ZodOptional<z.ZodString>;
110
+ }, z.core.$strict>, z.ZodObject<{
111
+ kind: z.ZodLiteral<"private-cas">;
112
+ namespace: z.ZodString;
113
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
98
114
  }, z.core.$strict>], "kind">;
99
115
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
100
116
  byteLength: z.ZodNumber;
@@ -120,6 +136,10 @@ export declare const agentCandidateMemoryPolicySchema: z.ZodDiscriminatedUnion<[
120
136
  kind: z.ZodLiteral<"ipfs">;
121
137
  cid: z.ZodString;
122
138
  path: z.ZodOptional<z.ZodString>;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ kind: z.ZodLiteral<"private-cas">;
141
+ namespace: z.ZodString;
142
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
123
143
  }, z.core.$strict>], "kind">;
124
144
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
125
145
  byteLength: z.ZodNumber;
@@ -182,6 +182,10 @@ export declare const agentCandidateModelSettlementEvidenceSchema: z.ZodObject<{
182
182
  kind: z.ZodLiteral<"ipfs">;
183
183
  cid: z.ZodString;
184
184
  path: z.ZodOptional<z.ZodString>;
185
+ }, z.core.$strict>, z.ZodObject<{
186
+ kind: z.ZodLiteral<"private-cas">;
187
+ namespace: z.ZodString;
188
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
185
189
  }, z.core.$strict>], "kind">;
186
190
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
187
191
  byteLength: z.ZodNumber;
@@ -237,6 +241,10 @@ export declare const agentCandidateTaskOutcomeMaterialSchema: z.ZodObject<{
237
241
  kind: z.ZodLiteral<"ipfs">;
238
242
  cid: z.ZodString;
239
243
  path: z.ZodOptional<z.ZodString>;
244
+ }, z.core.$strict>, z.ZodObject<{
245
+ kind: z.ZodLiteral<"private-cas">;
246
+ namespace: z.ZodString;
247
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
240
248
  }, z.core.$strict>], "kind">;
241
249
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
242
250
  byteLength: z.ZodNumber;
@@ -256,6 +264,10 @@ export declare const agentCandidateTaskOutcomeMaterialSchema: z.ZodObject<{
256
264
  kind: z.ZodLiteral<"ipfs">;
257
265
  cid: z.ZodString;
258
266
  path: z.ZodOptional<z.ZodString>;
267
+ }, z.core.$strict>, z.ZodObject<{
268
+ kind: z.ZodLiteral<"private-cas">;
269
+ namespace: z.ZodString;
270
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
259
271
  }, z.core.$strict>], "kind">;
260
272
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
261
273
  byteLength: z.ZodNumber;
@@ -278,6 +290,10 @@ export declare const agentCandidateTaskOutcomeMaterialSchema: z.ZodObject<{
278
290
  kind: z.ZodLiteral<"ipfs">;
279
291
  cid: z.ZodString;
280
292
  path: z.ZodOptional<z.ZodString>;
293
+ }, z.core.$strict>, z.ZodObject<{
294
+ kind: z.ZodLiteral<"private-cas">;
295
+ namespace: z.ZodString;
296
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
281
297
  }, z.core.$strict>], "kind">;
282
298
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
283
299
  byteLength: z.ZodNumber;
@@ -299,6 +315,10 @@ export declare const agentCandidateTaskOutcomeMaterialSchema: z.ZodObject<{
299
315
  kind: z.ZodLiteral<"ipfs">;
300
316
  cid: z.ZodString;
301
317
  path: z.ZodOptional<z.ZodString>;
318
+ }, z.core.$strict>, z.ZodObject<{
319
+ kind: z.ZodLiteral<"private-cas">;
320
+ namespace: z.ZodString;
321
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
302
322
  }, z.core.$strict>], "kind">;
303
323
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
304
324
  byteLength: z.ZodNumber;
@@ -347,6 +367,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
347
367
  kind: "ipfs";
348
368
  cid: string;
349
369
  path?: string | undefined;
370
+ } | {
371
+ kind: "private-cas";
372
+ namespace: string;
373
+ digest: `sha256:${string}`;
350
374
  };
351
375
  sha256: `sha256:${string}`;
352
376
  byteLength: number;
@@ -366,6 +390,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
366
390
  kind: "ipfs";
367
391
  cid: string;
368
392
  path?: string | undefined;
393
+ } | {
394
+ kind: "private-cas";
395
+ namespace: string;
396
+ digest: `sha256:${string}`;
369
397
  };
370
398
  sha256: `sha256:${string}`;
371
399
  byteLength: number;
@@ -388,6 +416,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
388
416
  kind: "ipfs";
389
417
  cid: string;
390
418
  path?: string | undefined;
419
+ } | {
420
+ kind: "private-cas";
421
+ namespace: string;
422
+ digest: `sha256:${string}`;
391
423
  };
392
424
  sha256: `sha256:${string}`;
393
425
  byteLength: number;
@@ -409,6 +441,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
409
441
  kind: "ipfs";
410
442
  cid: string;
411
443
  path?: string | undefined;
444
+ } | {
445
+ kind: "private-cas";
446
+ namespace: string;
447
+ digest: `sha256:${string}`;
412
448
  };
413
449
  sha256: `sha256:${string}`;
414
450
  byteLength: number;
@@ -453,6 +489,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
453
489
  kind: "ipfs";
454
490
  cid: string;
455
491
  path?: string | undefined;
492
+ } | {
493
+ kind: "private-cas";
494
+ namespace: string;
495
+ digest: `sha256:${string}`;
456
496
  };
457
497
  sha256: `sha256:${string}`;
458
498
  byteLength: number;
@@ -472,6 +512,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
472
512
  kind: "ipfs";
473
513
  cid: string;
474
514
  path?: string | undefined;
515
+ } | {
516
+ kind: "private-cas";
517
+ namespace: string;
518
+ digest: `sha256:${string}`;
475
519
  };
476
520
  sha256: `sha256:${string}`;
477
521
  byteLength: number;
@@ -494,6 +538,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
494
538
  kind: "ipfs";
495
539
  cid: string;
496
540
  path?: string | undefined;
541
+ } | {
542
+ kind: "private-cas";
543
+ namespace: string;
544
+ digest: `sha256:${string}`;
497
545
  };
498
546
  sha256: `sha256:${string}`;
499
547
  byteLength: number;
@@ -515,6 +563,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
515
563
  kind: "ipfs";
516
564
  cid: string;
517
565
  path?: string | undefined;
566
+ } | {
567
+ kind: "private-cas";
568
+ namespace: string;
569
+ digest: `sha256:${string}`;
518
570
  };
519
571
  sha256: `sha256:${string}`;
520
572
  byteLength: number;
@@ -531,6 +583,10 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
531
583
  kind: z.ZodLiteral<"ipfs">;
532
584
  cid: z.ZodString;
533
585
  path: z.ZodOptional<z.ZodString>;
586
+ }, z.core.$strict>, z.ZodObject<{
587
+ kind: z.ZodLiteral<"private-cas">;
588
+ namespace: z.ZodString;
589
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
534
590
  }, z.core.$strict>], "kind">;
535
591
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
536
592
  byteLength: z.ZodNumber;
@@ -563,6 +619,10 @@ export declare const agentCandidateBenchmarkResultMaterialSchema: z.ZodObject<{
563
619
  kind: z.ZodLiteral<"ipfs">;
564
620
  cid: z.ZodString;
565
621
  path: z.ZodOptional<z.ZodString>;
622
+ }, z.core.$strict>, z.ZodObject<{
623
+ kind: z.ZodLiteral<"private-cas">;
624
+ namespace: z.ZodString;
625
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
566
626
  }, z.core.$strict>], "kind">;
567
627
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
568
628
  byteLength: z.ZodNumber;
@@ -578,6 +638,10 @@ export declare const agentCandidateBenchmarkResultMaterialSchema: z.ZodObject<{
578
638
  kind: z.ZodLiteral<"ipfs">;
579
639
  cid: z.ZodString;
580
640
  path: z.ZodOptional<z.ZodString>;
641
+ }, z.core.$strict>, z.ZodObject<{
642
+ kind: z.ZodLiteral<"private-cas">;
643
+ namespace: z.ZodString;
644
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
581
645
  }, z.core.$strict>], "kind">;
582
646
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
583
647
  byteLength: z.ZodNumber;
@@ -629,6 +693,10 @@ export declare const agentCandidateBenchmarkResultEvidenceSchema: z.ZodObject<{
629
693
  kind: "ipfs";
630
694
  cid: string;
631
695
  path?: string | undefined;
696
+ } | {
697
+ kind: "private-cas";
698
+ namespace: string;
699
+ digest: `sha256:${string}`;
632
700
  };
633
701
  sha256: `sha256:${string}`;
634
702
  byteLength: number;
@@ -644,6 +712,10 @@ export declare const agentCandidateBenchmarkResultEvidenceSchema: z.ZodObject<{
644
712
  kind: "ipfs";
645
713
  cid: string;
646
714
  path?: string | undefined;
715
+ } | {
716
+ kind: "private-cas";
717
+ namespace: string;
718
+ digest: `sha256:${string}`;
647
719
  };
648
720
  sha256: `sha256:${string}`;
649
721
  byteLength: number;
@@ -688,6 +760,10 @@ export declare const agentCandidateBenchmarkResultEvidenceSchema: z.ZodObject<{
688
760
  kind: "ipfs";
689
761
  cid: string;
690
762
  path?: string | undefined;
763
+ } | {
764
+ kind: "private-cas";
765
+ namespace: string;
766
+ digest: `sha256:${string}`;
691
767
  };
692
768
  sha256: `sha256:${string}`;
693
769
  byteLength: number;
@@ -703,6 +779,10 @@ export declare const agentCandidateBenchmarkResultEvidenceSchema: z.ZodObject<{
703
779
  kind: "ipfs";
704
780
  cid: string;
705
781
  path?: string | undefined;
782
+ } | {
783
+ kind: "private-cas";
784
+ namespace: string;
785
+ digest: `sha256:${string}`;
706
786
  };
707
787
  sha256: `sha256:${string}`;
708
788
  byteLength: number;
@@ -740,6 +820,10 @@ export declare const agentCandidateBenchmarkResultEvidenceSchema: z.ZodObject<{
740
820
  kind: z.ZodLiteral<"ipfs">;
741
821
  cid: z.ZodString;
742
822
  path: z.ZodOptional<z.ZodString>;
823
+ }, z.core.$strict>, z.ZodObject<{
824
+ kind: z.ZodLiteral<"private-cas">;
825
+ namespace: z.ZodString;
826
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
743
827
  }, z.core.$strict>], "kind">;
744
828
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
745
829
  byteLength: z.ZodNumber;