@tangle-network/agent-interface 2.13.0 → 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.
@@ -23,6 +23,10 @@ export declare const agentCandidateBenchmarkTaskMaterialSchema: z.ZodObject<{
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;
@@ -63,6 +67,10 @@ export declare const agentCandidateBenchmarkTaskMaterialSchema: z.ZodObject<{
63
67
  kind: z.ZodLiteral<"ipfs">;
64
68
  cid: z.ZodString;
65
69
  path: z.ZodOptional<z.ZodString>;
70
+ }, z.core.$strict>, z.ZodObject<{
71
+ kind: z.ZodLiteral<"private-cas">;
72
+ namespace: z.ZodString;
73
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
66
74
  }, z.core.$strict>], "kind">;
67
75
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
68
76
  byteLength: z.ZodNumber;
@@ -82,6 +90,10 @@ export declare const agentCandidateBenchmarkTaskMaterialSchema: z.ZodObject<{
82
90
  kind: z.ZodLiteral<"ipfs">;
83
91
  cid: z.ZodString;
84
92
  path: z.ZodOptional<z.ZodString>;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ kind: z.ZodLiteral<"private-cas">;
95
+ namespace: z.ZodString;
96
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
85
97
  }, z.core.$strict>], "kind">;
86
98
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
87
99
  byteLength: z.ZodNumber;
@@ -106,6 +118,10 @@ export declare const agentCandidateBenchmarkTaskMaterialSchema: z.ZodObject<{
106
118
  kind: z.ZodLiteral<"ipfs">;
107
119
  cid: z.ZodString;
108
120
  path: z.ZodOptional<z.ZodString>;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ kind: z.ZodLiteral<"private-cas">;
123
+ namespace: z.ZodString;
124
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
109
125
  }, z.core.$strict>], "kind">;
110
126
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
111
127
  byteLength: z.ZodNumber;
@@ -178,6 +194,10 @@ export declare const agentCandidateBenchmarkTaskSchema: z.ZodObject<{
178
194
  kind: z.ZodLiteral<"ipfs">;
179
195
  cid: z.ZodString;
180
196
  path: z.ZodOptional<z.ZodString>;
197
+ }, z.core.$strict>, z.ZodObject<{
198
+ kind: z.ZodLiteral<"private-cas">;
199
+ namespace: z.ZodString;
200
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
181
201
  }, z.core.$strict>], "kind">;
182
202
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
183
203
  byteLength: z.ZodNumber;
@@ -218,6 +238,10 @@ export declare const agentCandidateBenchmarkTaskSchema: z.ZodObject<{
218
238
  kind: z.ZodLiteral<"ipfs">;
219
239
  cid: z.ZodString;
220
240
  path: z.ZodOptional<z.ZodString>;
241
+ }, z.core.$strict>, z.ZodObject<{
242
+ kind: z.ZodLiteral<"private-cas">;
243
+ namespace: z.ZodString;
244
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
221
245
  }, z.core.$strict>], "kind">;
222
246
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
223
247
  byteLength: z.ZodNumber;
@@ -237,6 +261,10 @@ export declare const agentCandidateBenchmarkTaskSchema: z.ZodObject<{
237
261
  kind: z.ZodLiteral<"ipfs">;
238
262
  cid: z.ZodString;
239
263
  path: z.ZodOptional<z.ZodString>;
264
+ }, z.core.$strict>, z.ZodObject<{
265
+ kind: z.ZodLiteral<"private-cas">;
266
+ namespace: z.ZodString;
267
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
240
268
  }, z.core.$strict>], "kind">;
241
269
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
242
270
  byteLength: z.ZodNumber;
@@ -261,6 +289,10 @@ export declare const agentCandidateBenchmarkTaskSchema: z.ZodObject<{
261
289
  kind: z.ZodLiteral<"ipfs">;
262
290
  cid: z.ZodString;
263
291
  path: z.ZodOptional<z.ZodString>;
292
+ }, z.core.$strict>, z.ZodObject<{
293
+ kind: z.ZodLiteral<"private-cas">;
294
+ namespace: z.ZodString;
295
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
264
296
  }, z.core.$strict>], "kind">;
265
297
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
266
298
  byteLength: z.ZodNumber;
@@ -357,6 +389,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
357
389
  kind: z.ZodLiteral<"ipfs">;
358
390
  cid: z.ZodString;
359
391
  path: z.ZodOptional<z.ZodString>;
392
+ }, z.core.$strict>, z.ZodObject<{
393
+ kind: z.ZodLiteral<"private-cas">;
394
+ namespace: z.ZodString;
395
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
360
396
  }, z.core.$strict>], "kind">;
361
397
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
362
398
  byteLength: z.ZodNumber;
@@ -397,6 +433,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
397
433
  kind: z.ZodLiteral<"ipfs">;
398
434
  cid: z.ZodString;
399
435
  path: z.ZodOptional<z.ZodString>;
436
+ }, z.core.$strict>, z.ZodObject<{
437
+ kind: z.ZodLiteral<"private-cas">;
438
+ namespace: z.ZodString;
439
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
400
440
  }, z.core.$strict>], "kind">;
401
441
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
402
442
  byteLength: z.ZodNumber;
@@ -416,6 +456,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
416
456
  kind: z.ZodLiteral<"ipfs">;
417
457
  cid: z.ZodString;
418
458
  path: z.ZodOptional<z.ZodString>;
459
+ }, z.core.$strict>, z.ZodObject<{
460
+ kind: z.ZodLiteral<"private-cas">;
461
+ namespace: z.ZodString;
462
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
419
463
  }, z.core.$strict>], "kind">;
420
464
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
421
465
  byteLength: z.ZodNumber;
@@ -440,6 +484,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
440
484
  kind: z.ZodLiteral<"ipfs">;
441
485
  cid: z.ZodString;
442
486
  path: z.ZodOptional<z.ZodString>;
487
+ }, z.core.$strict>, z.ZodObject<{
488
+ kind: z.ZodLiteral<"private-cas">;
489
+ namespace: z.ZodString;
490
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
443
491
  }, z.core.$strict>], "kind">;
444
492
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
445
493
  byteLength: z.ZodNumber;
@@ -511,6 +559,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
511
559
  kind: z.ZodLiteral<"ipfs">;
512
560
  cid: z.ZodString;
513
561
  path: z.ZodOptional<z.ZodString>;
562
+ }, z.core.$strict>, z.ZodObject<{
563
+ kind: z.ZodLiteral<"private-cas">;
564
+ namespace: z.ZodString;
565
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
514
566
  }, z.core.$strict>], "kind">;
515
567
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
516
568
  byteLength: z.ZodNumber;
@@ -551,6 +603,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
551
603
  kind: z.ZodLiteral<"ipfs">;
552
604
  cid: z.ZodString;
553
605
  path: z.ZodOptional<z.ZodString>;
606
+ }, z.core.$strict>, z.ZodObject<{
607
+ kind: z.ZodLiteral<"private-cas">;
608
+ namespace: z.ZodString;
609
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
554
610
  }, z.core.$strict>], "kind">;
555
611
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
556
612
  byteLength: z.ZodNumber;
@@ -570,6 +626,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
570
626
  kind: z.ZodLiteral<"ipfs">;
571
627
  cid: z.ZodString;
572
628
  path: z.ZodOptional<z.ZodString>;
629
+ }, z.core.$strict>, z.ZodObject<{
630
+ kind: z.ZodLiteral<"private-cas">;
631
+ namespace: z.ZodString;
632
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
573
633
  }, z.core.$strict>], "kind">;
574
634
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
575
635
  byteLength: z.ZodNumber;
@@ -594,6 +654,10 @@ export declare const agentCandidateBenchmarkSuiteInputsSchema: z.ZodObject<{
594
654
  kind: z.ZodLiteral<"ipfs">;
595
655
  cid: z.ZodString;
596
656
  path: z.ZodOptional<z.ZodString>;
657
+ }, z.core.$strict>, z.ZodObject<{
658
+ kind: z.ZodLiteral<"private-cas">;
659
+ namespace: z.ZodString;
660
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
597
661
  }, z.core.$strict>], "kind">;
598
662
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
599
663
  byteLength: z.ZodNumber;
@@ -22,8 +22,15 @@ export interface AgentCandidateIpfsLocator {
22
22
  cid: string;
23
23
  path?: string;
24
24
  }
25
+ /** Private content-addressed storage configured by the artifact resolver. */
26
+ export interface AgentCandidatePrivateCasLocator {
27
+ kind: "private-cas";
28
+ /** Exact run id; the resolver must authorize it against the current run. */
29
+ namespace: string;
30
+ digest: Sha256Digest;
31
+ }
25
32
  /** Closed locator set whose resolvers cannot choose arbitrary URL schemes. */
26
- export type AgentCandidateArtifactLocator = AgentCandidateS3Locator | AgentCandidateIpfsLocator;
33
+ export type AgentCandidateArtifactLocator = AgentCandidateS3Locator | AgentCandidateIpfsLocator | AgentCandidatePrivateCasLocator;
27
34
  /** Content-addressed artifact stored outside the candidate manifest. */
28
35
  export interface AgentCandidateArtifactRef {
29
36
  locator: AgentCandidateArtifactLocator;
@@ -23,6 +23,10 @@ export declare const agentProfileImprovementTaskSchema: z.ZodObject<{
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;
@@ -95,6 +99,10 @@ export declare const agentProfileImprovementSuiteInputsSchema: z.ZodObject<{
95
99
  kind: z.ZodLiteral<"ipfs">;
96
100
  cid: z.ZodString;
97
101
  path: z.ZodOptional<z.ZodString>;
102
+ }, z.core.$strict>, z.ZodObject<{
103
+ kind: z.ZodLiteral<"private-cas">;
104
+ namespace: z.ZodString;
105
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
98
106
  }, z.core.$strict>], "kind">;
99
107
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
100
108
  byteLength: z.ZodNumber;
@@ -147,6 +155,10 @@ export declare const agentProfileImprovementSuiteInputsSchema: z.ZodObject<{
147
155
  kind: z.ZodLiteral<"ipfs">;
148
156
  cid: z.ZodString;
149
157
  path: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$strict>, z.ZodObject<{
159
+ kind: z.ZodLiteral<"private-cas">;
160
+ namespace: z.ZodString;
161
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
150
162
  }, z.core.$strict>], "kind">;
151
163
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
152
164
  byteLength: z.ZodNumber;
@@ -279,6 +291,10 @@ export declare const agentProfileImprovementExperimentSchema: z.ZodObject<{
279
291
  kind: z.ZodLiteral<"ipfs">;
280
292
  cid: z.ZodString;
281
293
  path: z.ZodOptional<z.ZodString>;
294
+ }, z.core.$strict>, z.ZodObject<{
295
+ kind: z.ZodLiteral<"private-cas">;
296
+ namespace: z.ZodString;
297
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
282
298
  }, z.core.$strict>], "kind">;
283
299
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
284
300
  byteLength: z.ZodNumber;
@@ -331,6 +347,10 @@ export declare const agentProfileImprovementExperimentSchema: z.ZodObject<{
331
347
  kind: z.ZodLiteral<"ipfs">;
332
348
  cid: z.ZodString;
333
349
  path: z.ZodOptional<z.ZodString>;
350
+ }, z.core.$strict>, z.ZodObject<{
351
+ kind: z.ZodLiteral<"private-cas">;
352
+ namespace: z.ZodString;
353
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
334
354
  }, z.core.$strict>], "kind">;
335
355
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
336
356
  byteLength: z.ZodNumber;
@@ -508,6 +528,10 @@ export declare const agentProfileImprovementRunReceiptSchema: z.ZodObject<{
508
528
  kind: z.ZodLiteral<"ipfs">;
509
529
  cid: z.ZodString;
510
530
  path: z.ZodOptional<z.ZodString>;
531
+ }, z.core.$strict>, z.ZodObject<{
532
+ kind: z.ZodLiteral<"private-cas">;
533
+ namespace: z.ZodString;
534
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
511
535
  }, z.core.$strict>], "kind">;
512
536
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
513
537
  byteLength: z.ZodNumber;
@@ -812,6 +836,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
812
836
  kind: z.ZodLiteral<"ipfs">;
813
837
  cid: z.ZodString;
814
838
  path: z.ZodOptional<z.ZodString>;
839
+ }, z.core.$strict>, z.ZodObject<{
840
+ kind: z.ZodLiteral<"private-cas">;
841
+ namespace: z.ZodString;
842
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
815
843
  }, z.core.$strict>], "kind">;
816
844
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
817
845
  byteLength: z.ZodNumber;
@@ -864,6 +892,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
864
892
  kind: z.ZodLiteral<"ipfs">;
865
893
  cid: z.ZodString;
866
894
  path: z.ZodOptional<z.ZodString>;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ kind: z.ZodLiteral<"private-cas">;
897
+ namespace: z.ZodString;
898
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
867
899
  }, z.core.$strict>], "kind">;
868
900
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
869
901
  byteLength: z.ZodNumber;
@@ -1026,6 +1058,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
1026
1058
  kind: z.ZodLiteral<"ipfs">;
1027
1059
  cid: z.ZodString;
1028
1060
  path: z.ZodOptional<z.ZodString>;
1061
+ }, z.core.$strict>, z.ZodObject<{
1062
+ kind: z.ZodLiteral<"private-cas">;
1063
+ namespace: z.ZodString;
1064
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1029
1065
  }, z.core.$strict>], "kind">;
1030
1066
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1031
1067
  byteLength: z.ZodNumber;
@@ -1179,6 +1215,10 @@ export declare const agentProfileImprovementMeasuredComparisonSchema: z.ZodObjec
1179
1215
  kind: z.ZodLiteral<"ipfs">;
1180
1216
  cid: z.ZodString;
1181
1217
  path: z.ZodOptional<z.ZodString>;
1218
+ }, z.core.$strict>, z.ZodObject<{
1219
+ kind: z.ZodLiteral<"private-cas">;
1220
+ namespace: z.ZodString;
1221
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1182
1222
  }, z.core.$strict>], "kind">;
1183
1223
  sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1184
1224
  byteLength: z.ZodNumber;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -90,13 +90,13 @@
90
90
  "dependencies": {
91
91
  "@noble/hashes": "2.4.0",
92
92
  "spdx-expression-parse": "5.0.0",
93
- "zod": "4.5.4"
93
+ "zod": "4.6.5"
94
94
  },
95
95
  "devDependencies": {
96
- "@types/node": "26.4.1",
96
+ "@types/node": "26.6.3",
97
97
  "@types/spdx-expression-parse": "4.0.0",
98
98
  "typescript": "7.0.2",
99
- "vitest": "4.1.11"
99
+ "vitest": "5.0.2"
100
100
  },
101
101
  "scripts": {
102
102
  "build": "tsc -p tsconfig.json",