@tangle-network/agent-interface 0.28.0 → 0.29.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.
@@ -1,4 +1,50 @@
1
1
  import { z } from "zod";
2
+ export declare const agentCandidateBenchmarkInputEvidenceSchema: z.ZodObject<{
3
+ suite: z.ZodObject<{
4
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
5
+ material: z.ZodUnion<readonly [z.ZodObject<{
6
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
+ kind: z.ZodLiteral<"s3">;
8
+ bucket: z.ZodString;
9
+ key: z.ZodString;
10
+ region: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strict>, z.ZodObject<{
12
+ kind: z.ZodLiteral<"ipfs">;
13
+ cid: z.ZodString;
14
+ path: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strict>], "kind">;
16
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
17
+ byteLength: z.ZodNumber;
18
+ }, z.core.$strict>, z.ZodObject<{
19
+ encoding: z.ZodLiteral<"base64">;
20
+ content: z.ZodString;
21
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
22
+ byteLength: z.ZodNumber;
23
+ }, z.core.$strict>]>;
24
+ }, z.core.$strict>;
25
+ task: z.ZodObject<{
26
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
27
+ material: z.ZodUnion<readonly [z.ZodObject<{
28
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
29
+ kind: z.ZodLiteral<"s3">;
30
+ bucket: z.ZodString;
31
+ key: z.ZodString;
32
+ region: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strict>, z.ZodObject<{
34
+ kind: z.ZodLiteral<"ipfs">;
35
+ cid: z.ZodString;
36
+ path: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strict>], "kind">;
38
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
39
+ byteLength: z.ZodNumber;
40
+ }, z.core.$strict>, z.ZodObject<{
41
+ encoding: z.ZodLiteral<"base64">;
42
+ content: z.ZodString;
43
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
44
+ byteLength: z.ZodNumber;
45
+ }, z.core.$strict>]>;
46
+ }, z.core.$strict>;
47
+ }, z.core.$strict>;
2
48
  export declare const agentCandidateTraceEvidenceSchema: z.ZodObject<{
3
49
  artifact: z.ZodUnion<readonly [z.ZodObject<{
4
50
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -98,164 +144,144 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
98
144
  kind: z.ZodLiteral<"agent-candidate-materialization">;
99
145
  digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
100
146
  bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
101
- profilePlan: z.ZodObject<{
102
- kind: z.ZodLiteral<"agent-profile-workspace-plan">;
103
- digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
104
- material: z.ZodType<{
105
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
106
- files: {
107
- relPath: string;
108
- mode: number;
109
- contentSha256: `sha256:${string}`;
110
- }[];
111
- env: Record<string, {
112
- kind: "public";
113
- value: string;
114
- }>;
115
- flags: {
116
- kind: "public";
117
- value: string;
118
- }[];
119
- unsupported: {
120
- dimension: string;
121
- reason: string;
122
- }[];
123
- }, unknown, z.core.$ZodTypeInternals<{
124
- harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
125
- files: {
126
- relPath: string;
127
- mode: number;
128
- contentSha256: `sha256:${string}`;
129
- }[];
130
- env: Record<string, {
131
- kind: "public";
132
- value: string;
133
- }>;
134
- flags: {
135
- kind: "public";
136
- value: string;
137
- }[];
138
- unsupported: {
139
- dimension: string;
140
- reason: string;
141
- }[];
142
- }, unknown>>;
143
- artifact: z.ZodUnion<readonly [z.ZodObject<{
144
- locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
145
- kind: z.ZodLiteral<"s3">;
146
- bucket: z.ZodString;
147
- key: z.ZodString;
148
- region: z.ZodOptional<z.ZodString>;
147
+ benchmark: z.ZodObject<{
148
+ suite: z.ZodObject<{
149
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
150
+ material: z.ZodUnion<readonly [z.ZodObject<{
151
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
152
+ kind: z.ZodLiteral<"s3">;
153
+ bucket: z.ZodString;
154
+ key: z.ZodString;
155
+ region: z.ZodOptional<z.ZodString>;
156
+ }, z.core.$strict>, z.ZodObject<{
157
+ kind: z.ZodLiteral<"ipfs">;
158
+ cid: z.ZodString;
159
+ path: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strict>], "kind">;
161
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
162
+ byteLength: z.ZodNumber;
149
163
  }, z.core.$strict>, z.ZodObject<{
150
- kind: z.ZodLiteral<"ipfs">;
151
- cid: z.ZodString;
152
- path: z.ZodOptional<z.ZodString>;
153
- }, z.core.$strict>], "kind">;
154
- sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
155
- byteLength: z.ZodNumber;
156
- }, z.core.$strict>, z.ZodObject<{
157
- encoding: z.ZodLiteral<"base64">;
164
+ encoding: z.ZodLiteral<"base64">;
165
+ content: z.ZodString;
166
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
167
+ byteLength: z.ZodNumber;
168
+ }, z.core.$strict>]>;
169
+ }, z.core.$strict>;
170
+ task: z.ZodObject<{
171
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
172
+ material: z.ZodUnion<readonly [z.ZodObject<{
173
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
174
+ kind: z.ZodLiteral<"s3">;
175
+ bucket: z.ZodString;
176
+ key: z.ZodString;
177
+ region: z.ZodOptional<z.ZodString>;
178
+ }, z.core.$strict>, z.ZodObject<{
179
+ kind: z.ZodLiteral<"ipfs">;
180
+ cid: z.ZodString;
181
+ path: z.ZodOptional<z.ZodString>;
182
+ }, z.core.$strict>], "kind">;
183
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
184
+ byteLength: z.ZodNumber;
185
+ }, z.core.$strict>, z.ZodObject<{
186
+ encoding: z.ZodLiteral<"base64">;
187
+ content: z.ZodString;
188
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
189
+ byteLength: z.ZodNumber;
190
+ }, z.core.$strict>]>;
191
+ }, z.core.$strict>;
192
+ }, z.core.$strict>;
193
+ profileActivation: z.ZodObject<{
194
+ kind: z.ZodLiteral<"agent-candidate-profile-activation">;
195
+ profilePlan: z.ZodObject<{
196
+ kind: z.ZodLiteral<"agent-profile-workspace-plan">;
197
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
198
+ material: z.ZodType<{
199
+ sourceProfileDigest: `sha256:${string}`;
200
+ harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
201
+ files: {
202
+ relPath: string;
203
+ mode: number;
204
+ contentSha256: `sha256:${string}`;
205
+ }[];
206
+ env: Record<string, {
207
+ kind: "public";
208
+ value: string;
209
+ }>;
210
+ flags: {
211
+ kind: "public";
212
+ value: string;
213
+ }[];
214
+ unsupported: {
215
+ dimension: string;
216
+ reason: string;
217
+ }[];
218
+ }, unknown, z.core.$ZodTypeInternals<{
219
+ sourceProfileDigest: `sha256:${string}`;
220
+ harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
221
+ files: {
222
+ relPath: string;
223
+ mode: number;
224
+ contentSha256: `sha256:${string}`;
225
+ }[];
226
+ env: Record<string, {
227
+ kind: "public";
228
+ value: string;
229
+ }>;
230
+ flags: {
231
+ kind: "public";
232
+ value: string;
233
+ }[];
234
+ unsupported: {
235
+ dimension: string;
236
+ reason: string;
237
+ }[];
238
+ }, unknown>>;
239
+ artifact: z.ZodUnion<readonly [z.ZodObject<{
240
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
241
+ kind: z.ZodLiteral<"s3">;
242
+ bucket: z.ZodString;
243
+ key: z.ZodString;
244
+ region: z.ZodOptional<z.ZodString>;
245
+ }, z.core.$strict>, z.ZodObject<{
246
+ kind: z.ZodLiteral<"ipfs">;
247
+ cid: z.ZodString;
248
+ path: z.ZodOptional<z.ZodString>;
249
+ }, z.core.$strict>], "kind">;
250
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
251
+ byteLength: z.ZodNumber;
252
+ }, z.core.$strict>, z.ZodObject<{
253
+ encoding: z.ZodLiteral<"base64">;
254
+ content: z.ZodString;
255
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
256
+ byteLength: z.ZodNumber;
257
+ }, z.core.$strict>]>;
258
+ }, z.core.$strict>;
259
+ files: z.ZodArray<z.ZodObject<{
260
+ path: z.ZodString;
261
+ mode: z.ZodNumber;
158
262
  content: z.ZodString;
159
- sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
160
- byteLength: z.ZodNumber;
161
- }, z.core.$strict>]>;
263
+ }, z.core.$strict>>;
264
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
162
265
  }, z.core.$strict>;
163
266
  executionPlan: z.ZodObject<{
164
267
  kind: z.ZodLiteral<"agent-candidate-execution-plan">;
165
268
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
166
269
  material: z.ZodType<{
167
270
  kind: "agent-candidate-execution-plan-material";
168
- bundleDigest: `sha256:${string}`;
169
- executionId: string;
170
- attempt: {
171
- number: number;
172
- maxAttempts: number;
173
- retryPolicy: "none" | "pre-model-infrastructure-only";
174
- };
175
- task: {
176
- benchmark: string;
177
- benchmarkVersion: string;
178
- taskId: string;
179
- splitDigest: `sha256:${string}`;
180
- instruction: {
181
- encoding: "utf8";
182
- sha256: `sha256:${string}`;
183
- byteLength: number;
184
- delivery: {
185
- kind: "argv-append";
186
- } | {
187
- kind: "stdin-utf8";
188
- } | {
189
- kind: "utf8-file";
190
- env: "TANGLE_CANDIDATE_TASK_PATH";
191
- path: "/tangle/input/task.txt";
192
- };
193
- };
194
- outcome: {
195
- kind: "workspace";
196
- } | {
197
- kind: "output";
198
- mediaType: string;
199
- maxBytes: number;
200
- };
201
- workspace: {
202
- kind: "agent-candidate-workspace-snapshot";
203
- digest: `sha256:${string}`;
204
- material: {
205
- kind: "agent-candidate-workspace-manifest";
206
- files: {
207
- path: string;
208
- mode: number;
209
- sha256: `sha256:${string}`;
210
- byteLength: number;
211
- }[];
212
- };
213
- manifest: {
214
- locator: {
215
- kind: "s3";
216
- bucket: string;
217
- key: string;
218
- region?: string | undefined;
219
- } | {
220
- kind: "ipfs";
221
- cid: string;
222
- path?: string | undefined;
223
- };
224
- sha256: `sha256:${string}`;
225
- byteLength: number;
226
- } | {
227
- encoding: "base64";
228
- content: string;
229
- sha256: `sha256:${string}`;
230
- byteLength: number;
231
- };
232
- archive: {
233
- locator: {
234
- kind: "s3";
235
- bucket: string;
236
- key: string;
237
- region?: string | undefined;
238
- } | {
239
- kind: "ipfs";
240
- cid: string;
241
- path?: string | undefined;
242
- };
243
- sha256: `sha256:${string}`;
244
- byteLength: number;
245
- } | {
246
- encoding: "base64";
247
- content: string;
248
- sha256: `sha256:${string}`;
249
- byteLength: number;
250
- };
251
- };
252
- repository?: {
253
- identity: string;
254
- rootIdentity: string;
255
- baseCommit: string;
256
- baseTree: string;
257
- } | undefined;
271
+ runCell: {
272
+ kind: "agent-candidate-run-cell";
273
+ experimentDigest: `sha256:${string}`;
274
+ arm: "candidate" | "baseline";
275
+ bundleDigest: `sha256:${string}`;
276
+ suiteDigest: `sha256:${string}`;
277
+ taskDigest: `sha256:${string}`;
278
+ taskIndex: number;
279
+ repetition: number;
280
+ seed: number;
281
+ attempt: number;
282
+ digest: `sha256:${string}`;
258
283
  };
284
+ executionId: string;
259
285
  workspaces: {
260
286
  taskRoot: string;
261
287
  candidateRoot?: string | undefined;
@@ -268,6 +294,23 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
268
294
  };
269
295
  harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
270
296
  harnessVersion: string;
297
+ instructionDelivery: {
298
+ kind: "argv-append";
299
+ } | {
300
+ kind: "stdin-utf8";
301
+ } | {
302
+ kind: "utf8-file";
303
+ env: "TANGLE_CANDIDATE_TASK_PATH";
304
+ path: "/tangle/input/task.txt";
305
+ };
306
+ limits: {
307
+ timeoutMs: number;
308
+ maxSteps: number;
309
+ maxModelCalls: number;
310
+ maxInputTokens: number;
311
+ maxOutputTokens: number;
312
+ maxCostUsd: number;
313
+ };
271
314
  container: {
272
315
  image: string;
273
316
  indexDigest: `sha256:${string}`;
@@ -314,24 +357,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
314
357
  requested: string;
315
358
  })[];
316
359
  };
317
- grader: {
318
- name: string;
319
- version: string;
320
- artifact: {
321
- locator: {
322
- kind: "s3";
323
- bucket: string;
324
- key: string;
325
- region?: string | undefined;
326
- } | {
327
- kind: "ipfs";
328
- cid: string;
329
- path?: string | undefined;
330
- };
331
- sha256: `sha256:${string}`;
332
- byteLength: number;
333
- };
334
- };
335
360
  launch: {
336
361
  executable: string;
337
362
  args: {
@@ -429,14 +454,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
429
454
  } | {
430
455
  mode: "disabled";
431
456
  };
432
- limits: {
433
- timeoutMs: number;
434
- maxSteps: number;
435
- maxModelCalls: number;
436
- maxInputTokens: number;
437
- maxOutputTokens: number;
438
- maxCostUsd: number;
439
- };
440
457
  network: {
441
458
  mode: "disabled";
442
459
  };
@@ -494,97 +511,20 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
494
511
  knowledgeManifestDigest?: `sha256:${string}` | undefined;
495
512
  }, unknown, z.core.$ZodTypeInternals<{
496
513
  kind: "agent-candidate-execution-plan-material";
497
- bundleDigest: `sha256:${string}`;
498
- executionId: string;
499
- attempt: {
500
- number: number;
501
- maxAttempts: number;
502
- retryPolicy: "none" | "pre-model-infrastructure-only";
503
- };
504
- task: {
505
- benchmark: string;
506
- benchmarkVersion: string;
507
- taskId: string;
508
- splitDigest: `sha256:${string}`;
509
- instruction: {
510
- encoding: "utf8";
511
- sha256: `sha256:${string}`;
512
- byteLength: number;
513
- delivery: {
514
- kind: "argv-append";
515
- } | {
516
- kind: "stdin-utf8";
517
- } | {
518
- kind: "utf8-file";
519
- env: "TANGLE_CANDIDATE_TASK_PATH";
520
- path: "/tangle/input/task.txt";
521
- };
522
- };
523
- outcome: {
524
- kind: "workspace";
525
- } | {
526
- kind: "output";
527
- mediaType: string;
528
- maxBytes: number;
529
- };
530
- workspace: {
531
- kind: "agent-candidate-workspace-snapshot";
532
- digest: `sha256:${string}`;
533
- material: {
534
- kind: "agent-candidate-workspace-manifest";
535
- files: {
536
- path: string;
537
- mode: number;
538
- sha256: `sha256:${string}`;
539
- byteLength: number;
540
- }[];
541
- };
542
- manifest: {
543
- locator: {
544
- kind: "s3";
545
- bucket: string;
546
- key: string;
547
- region?: string | undefined;
548
- } | {
549
- kind: "ipfs";
550
- cid: string;
551
- path?: string | undefined;
552
- };
553
- sha256: `sha256:${string}`;
554
- byteLength: number;
555
- } | {
556
- encoding: "base64";
557
- content: string;
558
- sha256: `sha256:${string}`;
559
- byteLength: number;
560
- };
561
- archive: {
562
- locator: {
563
- kind: "s3";
564
- bucket: string;
565
- key: string;
566
- region?: string | undefined;
567
- } | {
568
- kind: "ipfs";
569
- cid: string;
570
- path?: string | undefined;
571
- };
572
- sha256: `sha256:${string}`;
573
- byteLength: number;
574
- } | {
575
- encoding: "base64";
576
- content: string;
577
- sha256: `sha256:${string}`;
578
- byteLength: number;
579
- };
580
- };
581
- repository?: {
582
- identity: string;
583
- rootIdentity: string;
584
- baseCommit: string;
585
- baseTree: string;
586
- } | undefined;
514
+ runCell: {
515
+ kind: "agent-candidate-run-cell";
516
+ experimentDigest: `sha256:${string}`;
517
+ arm: "candidate" | "baseline";
518
+ bundleDigest: `sha256:${string}`;
519
+ suiteDigest: `sha256:${string}`;
520
+ taskDigest: `sha256:${string}`;
521
+ taskIndex: number;
522
+ repetition: number;
523
+ seed: number;
524
+ attempt: number;
525
+ digest: `sha256:${string}`;
587
526
  };
527
+ executionId: string;
588
528
  workspaces: {
589
529
  taskRoot: string;
590
530
  candidateRoot?: string | undefined;
@@ -597,6 +537,23 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
597
537
  };
598
538
  harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
599
539
  harnessVersion: string;
540
+ instructionDelivery: {
541
+ kind: "argv-append";
542
+ } | {
543
+ kind: "stdin-utf8";
544
+ } | {
545
+ kind: "utf8-file";
546
+ env: "TANGLE_CANDIDATE_TASK_PATH";
547
+ path: "/tangle/input/task.txt";
548
+ };
549
+ limits: {
550
+ timeoutMs: number;
551
+ maxSteps: number;
552
+ maxModelCalls: number;
553
+ maxInputTokens: number;
554
+ maxOutputTokens: number;
555
+ maxCostUsd: number;
556
+ };
600
557
  container: {
601
558
  image: string;
602
559
  indexDigest: `sha256:${string}`;
@@ -643,24 +600,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
643
600
  requested: string;
644
601
  })[];
645
602
  };
646
- grader: {
647
- name: string;
648
- version: string;
649
- artifact: {
650
- locator: {
651
- kind: "s3";
652
- bucket: string;
653
- key: string;
654
- region?: string | undefined;
655
- } | {
656
- kind: "ipfs";
657
- cid: string;
658
- path?: string | undefined;
659
- };
660
- sha256: `sha256:${string}`;
661
- byteLength: number;
662
- };
663
- };
664
603
  launch: {
665
604
  executable: string;
666
605
  args: {
@@ -758,14 +697,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
758
697
  } | {
759
698
  mode: "disabled";
760
699
  };
761
- limits: {
762
- timeoutMs: number;
763
- maxSteps: number;
764
- maxModelCalls: number;
765
- maxInputTokens: number;
766
- maxOutputTokens: number;
767
- maxCostUsd: number;
768
- };
769
700
  network: {
770
701
  mode: "disabled";
771
702
  };
@@ -959,8 +890,14 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
959
890
  kind: z.ZodLiteral<"agent-candidate-run">;
960
891
  digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
961
892
  bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
893
+ runCellDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
962
894
  materializationReceiptDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
963
895
  executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
896
+ timing: z.ZodObject<{
897
+ startedAtMs: z.ZodNumber;
898
+ endedAtMs: z.ZodNumber;
899
+ durationMs: z.ZodNumber;
900
+ }, z.core.$strict>;
964
901
  memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
965
902
  mode: z.ZodLiteral<"disabled">;
966
903
  }, z.core.$strict>, z.ZodObject<{
@@ -1407,15 +1344,10 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1407
1344
  kind: "agent-candidate-benchmark-result-material";
1408
1345
  executionPlanDigest: `sha256:${string}`;
1409
1346
  taskOutcomeDigest: `sha256:${string}`;
1410
- benchmark: {
1411
- name: string;
1412
- version: string;
1413
- taskId: string;
1414
- splitDigest: `sha256:${string}`;
1415
- };
1416
1347
  grader: {
1417
1348
  name: string;
1418
1349
  version: string;
1350
+ format: "tangle-grader";
1419
1351
  artifact: {
1420
1352
  locator: {
1421
1353
  kind: "s3";
@@ -1445,6 +1377,21 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1445
1377
  sha256: `sha256:${string}`;
1446
1378
  byteLength: number;
1447
1379
  };
1380
+ grading: {
1381
+ usage: {
1382
+ inputTokens: number;
1383
+ outputTokens: number;
1384
+ cachedInputTokens: number;
1385
+ reasoningTokens: number;
1386
+ modelCalls: number;
1387
+ costUsdNanos: number;
1388
+ };
1389
+ timing: {
1390
+ startedAtMs: number;
1391
+ endedAtMs: number;
1392
+ durationMs: number;
1393
+ };
1394
+ };
1448
1395
  score: number;
1449
1396
  passed: boolean;
1450
1397
  dimensions: {
@@ -1455,15 +1402,10 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1455
1402
  kind: "agent-candidate-benchmark-result-material";
1456
1403
  executionPlanDigest: `sha256:${string}`;
1457
1404
  taskOutcomeDigest: `sha256:${string}`;
1458
- benchmark: {
1459
- name: string;
1460
- version: string;
1461
- taskId: string;
1462
- splitDigest: `sha256:${string}`;
1463
- };
1464
1405
  grader: {
1465
1406
  name: string;
1466
1407
  version: string;
1408
+ format: "tangle-grader";
1467
1409
  artifact: {
1468
1410
  locator: {
1469
1411
  kind: "s3";
@@ -1493,6 +1435,21 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1493
1435
  sha256: `sha256:${string}`;
1494
1436
  byteLength: number;
1495
1437
  };
1438
+ grading: {
1439
+ usage: {
1440
+ inputTokens: number;
1441
+ outputTokens: number;
1442
+ cachedInputTokens: number;
1443
+ reasoningTokens: number;
1444
+ modelCalls: number;
1445
+ costUsdNanos: number;
1446
+ };
1447
+ timing: {
1448
+ startedAtMs: number;
1449
+ endedAtMs: number;
1450
+ durationMs: number;
1451
+ };
1452
+ };
1496
1453
  score: number;
1497
1454
  passed: boolean;
1498
1455
  dimensions: {