@tangle-network/agent-interface 0.20.0 → 0.21.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.
@@ -0,0 +1,1193 @@
1
+ import { z } from "zod";
2
+ export declare const agentCandidateResolvedModelSchema: z.ZodObject<{
3
+ requested: z.ZodString;
4
+ provider: z.ZodString;
5
+ model: z.ZodString;
6
+ snapshot: z.ZodString;
7
+ reasoningEffort: z.ZodEnum<{
8
+ none: "none";
9
+ minimal: "minimal";
10
+ low: "low";
11
+ medium: "medium";
12
+ high: "high";
13
+ xhigh: "xhigh";
14
+ ultracode: "ultracode";
15
+ }>;
16
+ }, z.core.$strict>;
17
+ export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
18
+ version: z.ZodLiteral<1>;
19
+ harness: z.ZodEnum<{
20
+ "claude-code": "claude-code";
21
+ claude: "claude";
22
+ claudish: "claudish";
23
+ nanoclaw: "nanoclaw";
24
+ codex: "codex";
25
+ opencode: "opencode";
26
+ "kimi-code": "kimi-code";
27
+ kimi: "kimi";
28
+ pi: "pi";
29
+ gemini: "gemini";
30
+ hermes: "hermes";
31
+ openclaw: "openclaw";
32
+ amp: "amp";
33
+ "factory-droids": "factory-droids";
34
+ acp: "acp";
35
+ "cli-base": "cli-base";
36
+ }>;
37
+ files: z.ZodArray<z.ZodObject<{
38
+ relPath: z.ZodString;
39
+ mode: z.ZodNumber;
40
+ contentSha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
41
+ }, z.core.$strict>>;
42
+ env: z.ZodRecord<z.ZodString, z.ZodObject<{
43
+ kind: z.ZodLiteral<"public">;
44
+ value: z.ZodString;
45
+ }, z.core.$strict>>;
46
+ flags: z.ZodArray<z.ZodObject<{
47
+ kind: z.ZodLiteral<"public">;
48
+ value: z.ZodString;
49
+ }, z.core.$strict>>;
50
+ unsupported: z.ZodArray<z.ZodObject<{
51
+ dimension: z.ZodString;
52
+ reason: z.ZodString;
53
+ }, z.core.$strict>>;
54
+ }, z.core.$strict>;
55
+ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
56
+ mode: z.ZodLiteral<"disabled">;
57
+ }, z.core.$strict>, z.ZodObject<{
58
+ mode: z.ZodLiteral<"isolated">;
59
+ scope: z.ZodLiteral<"task">;
60
+ effectiveNamespace: z.ZodString;
61
+ reset: z.ZodObject<{
62
+ kind: z.ZodLiteral<"fresh">;
63
+ evidence: z.ZodUnion<readonly [z.ZodObject<{
64
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
65
+ kind: z.ZodLiteral<"s3">;
66
+ bucket: z.ZodString;
67
+ key: z.ZodString;
68
+ region: z.ZodOptional<z.ZodString>;
69
+ }, z.core.$strict>, z.ZodObject<{
70
+ kind: z.ZodLiteral<"ipfs">;
71
+ cid: z.ZodString;
72
+ path: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strict>], "kind">;
74
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
75
+ byteLength: z.ZodNumber;
76
+ }, z.core.$strict>, z.ZodObject<{
77
+ encoding: z.ZodLiteral<"base64">;
78
+ content: z.ZodString;
79
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
80
+ byteLength: z.ZodNumber;
81
+ }, z.core.$strict>]>;
82
+ emptyStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
83
+ }, z.core.$strict>;
84
+ beforeState: z.ZodObject<{
85
+ schemaVersion: z.ZodLiteral<1>;
86
+ kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
87
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
88
+ material: z.ZodObject<{
89
+ schemaVersion: z.ZodLiteral<1>;
90
+ kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
91
+ files: z.ZodArray<z.ZodObject<{
92
+ path: z.ZodString;
93
+ mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
94
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
95
+ byteLength: z.ZodNumber;
96
+ }, z.core.$strict>>;
97
+ }, z.core.$strict>;
98
+ manifest: z.ZodUnion<readonly [z.ZodObject<{
99
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
100
+ kind: z.ZodLiteral<"s3">;
101
+ bucket: z.ZodString;
102
+ key: z.ZodString;
103
+ region: z.ZodOptional<z.ZodString>;
104
+ }, z.core.$strict>, z.ZodObject<{
105
+ kind: z.ZodLiteral<"ipfs">;
106
+ cid: z.ZodString;
107
+ path: z.ZodOptional<z.ZodString>;
108
+ }, z.core.$strict>], "kind">;
109
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
110
+ byteLength: z.ZodNumber;
111
+ }, z.core.$strict>, z.ZodObject<{
112
+ encoding: z.ZodLiteral<"base64">;
113
+ content: z.ZodString;
114
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
115
+ byteLength: z.ZodNumber;
116
+ }, z.core.$strict>]>;
117
+ archive: z.ZodUnion<readonly [z.ZodObject<{
118
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
119
+ kind: z.ZodLiteral<"s3">;
120
+ bucket: z.ZodString;
121
+ key: z.ZodString;
122
+ region: z.ZodOptional<z.ZodString>;
123
+ }, z.core.$strict>, z.ZodObject<{
124
+ kind: z.ZodLiteral<"ipfs">;
125
+ cid: z.ZodString;
126
+ path: z.ZodOptional<z.ZodString>;
127
+ }, z.core.$strict>], "kind">;
128
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
129
+ byteLength: z.ZodNumber;
130
+ }, z.core.$strict>, z.ZodObject<{
131
+ encoding: z.ZodLiteral<"base64">;
132
+ content: z.ZodString;
133
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
134
+ byteLength: z.ZodNumber;
135
+ }, z.core.$strict>]>;
136
+ }, z.core.$strict>;
137
+ seedDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
138
+ }, z.core.$strict>], "mode">;
139
+ export declare const agentCandidateExecutionLimitsSchema: z.ZodObject<{
140
+ timeoutMs: z.ZodNumber;
141
+ maxSteps: z.ZodNumber;
142
+ maxModelCalls: z.ZodNumber;
143
+ maxInputTokens: z.ZodNumber;
144
+ maxOutputTokens: z.ZodNumber;
145
+ maxCostUsd: z.ZodNumber;
146
+ }, z.core.$strict>;
147
+ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
148
+ schemaVersion: z.ZodLiteral<1>;
149
+ kind: z.ZodLiteral<"agent-candidate-execution-plan-material">;
150
+ bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
151
+ executionId: z.ZodString;
152
+ attempt: z.ZodObject<{
153
+ number: z.ZodNumber;
154
+ maxAttempts: z.ZodNumber;
155
+ retryPolicy: z.ZodEnum<{
156
+ none: "none";
157
+ "pre-model-infrastructure-only": "pre-model-infrastructure-only";
158
+ }>;
159
+ }, z.core.$strict>;
160
+ task: z.ZodObject<{
161
+ benchmark: z.ZodString;
162
+ benchmarkVersion: z.ZodString;
163
+ taskId: z.ZodString;
164
+ splitDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
165
+ instruction: z.ZodObject<{
166
+ encoding: z.ZodLiteral<"utf8">;
167
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
168
+ byteLength: z.ZodNumber;
169
+ delivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
170
+ kind: z.ZodLiteral<"argv-append">;
171
+ }, z.core.$strict>, z.ZodObject<{
172
+ kind: z.ZodLiteral<"stdin-utf8">;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ kind: z.ZodLiteral<"utf8-file">;
175
+ env: z.ZodLiteral<"TANGLE_CANDIDATE_TASK_PATH">;
176
+ path: z.ZodLiteral<"/tangle/input/task.txt">;
177
+ }, z.core.$strict>], "kind">;
178
+ }, z.core.$strict>;
179
+ repository: z.ZodObject<{
180
+ identity: z.ZodString;
181
+ rootIdentity: z.ZodString;
182
+ baseCommit: z.ZodString;
183
+ baseTree: z.ZodString;
184
+ }, z.core.$strict>;
185
+ workspace: z.ZodObject<{
186
+ schemaVersion: z.ZodLiteral<1>;
187
+ kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
188
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
189
+ material: z.ZodObject<{
190
+ schemaVersion: z.ZodLiteral<1>;
191
+ kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
192
+ files: z.ZodArray<z.ZodObject<{
193
+ path: z.ZodString;
194
+ mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
195
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
196
+ byteLength: z.ZodNumber;
197
+ }, z.core.$strict>>;
198
+ }, z.core.$strict>;
199
+ manifest: z.ZodUnion<readonly [z.ZodObject<{
200
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
201
+ kind: z.ZodLiteral<"s3">;
202
+ bucket: z.ZodString;
203
+ key: z.ZodString;
204
+ region: z.ZodOptional<z.ZodString>;
205
+ }, z.core.$strict>, z.ZodObject<{
206
+ kind: z.ZodLiteral<"ipfs">;
207
+ cid: z.ZodString;
208
+ path: z.ZodOptional<z.ZodString>;
209
+ }, z.core.$strict>], "kind">;
210
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
211
+ byteLength: z.ZodNumber;
212
+ }, z.core.$strict>, z.ZodObject<{
213
+ encoding: z.ZodLiteral<"base64">;
214
+ content: z.ZodString;
215
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
216
+ byteLength: z.ZodNumber;
217
+ }, z.core.$strict>]>;
218
+ archive: z.ZodUnion<readonly [z.ZodObject<{
219
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
220
+ kind: z.ZodLiteral<"s3">;
221
+ bucket: z.ZodString;
222
+ key: z.ZodString;
223
+ region: z.ZodOptional<z.ZodString>;
224
+ }, z.core.$strict>, z.ZodObject<{
225
+ kind: z.ZodLiteral<"ipfs">;
226
+ cid: z.ZodString;
227
+ path: z.ZodOptional<z.ZodString>;
228
+ }, z.core.$strict>], "kind">;
229
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
230
+ byteLength: z.ZodNumber;
231
+ }, z.core.$strict>, z.ZodObject<{
232
+ encoding: z.ZodLiteral<"base64">;
233
+ content: z.ZodString;
234
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
235
+ byteLength: z.ZodNumber;
236
+ }, z.core.$strict>]>;
237
+ }, z.core.$strict>;
238
+ }, z.core.$strict>;
239
+ workspaces: z.ZodObject<{
240
+ taskRoot: z.ZodString;
241
+ candidateRoot: z.ZodOptional<z.ZodString>;
242
+ }, z.core.$strict>;
243
+ codeKind: z.ZodEnum<{
244
+ disabled: "disabled";
245
+ "no-op": "no-op";
246
+ "git-patch": "git-patch";
247
+ }>;
248
+ candidateWorkspace: z.ZodOptional<z.ZodObject<{
249
+ schemaVersion: z.ZodLiteral<1>;
250
+ kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
251
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
252
+ material: z.ZodObject<{
253
+ schemaVersion: z.ZodLiteral<1>;
254
+ kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
255
+ files: z.ZodArray<z.ZodObject<{
256
+ path: z.ZodString;
257
+ mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
258
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
259
+ byteLength: z.ZodNumber;
260
+ }, z.core.$strict>>;
261
+ }, z.core.$strict>;
262
+ manifest: z.ZodUnion<readonly [z.ZodObject<{
263
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
264
+ kind: z.ZodLiteral<"s3">;
265
+ bucket: z.ZodString;
266
+ key: z.ZodString;
267
+ region: z.ZodOptional<z.ZodString>;
268
+ }, z.core.$strict>, z.ZodObject<{
269
+ kind: z.ZodLiteral<"ipfs">;
270
+ cid: z.ZodString;
271
+ path: z.ZodOptional<z.ZodString>;
272
+ }, z.core.$strict>], "kind">;
273
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
274
+ byteLength: z.ZodNumber;
275
+ }, z.core.$strict>, z.ZodObject<{
276
+ encoding: z.ZodLiteral<"base64">;
277
+ content: z.ZodString;
278
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
279
+ byteLength: z.ZodNumber;
280
+ }, z.core.$strict>]>;
281
+ archive: z.ZodUnion<readonly [z.ZodObject<{
282
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
283
+ kind: z.ZodLiteral<"s3">;
284
+ bucket: z.ZodString;
285
+ key: z.ZodString;
286
+ region: z.ZodOptional<z.ZodString>;
287
+ }, z.core.$strict>, z.ZodObject<{
288
+ kind: z.ZodLiteral<"ipfs">;
289
+ cid: z.ZodString;
290
+ path: z.ZodOptional<z.ZodString>;
291
+ }, z.core.$strict>], "kind">;
292
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
293
+ byteLength: z.ZodNumber;
294
+ }, z.core.$strict>, z.ZodObject<{
295
+ encoding: z.ZodLiteral<"base64">;
296
+ content: z.ZodString;
297
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
298
+ byteLength: z.ZodNumber;
299
+ }, z.core.$strict>]>;
300
+ }, z.core.$strict>>;
301
+ profile: z.ZodObject<{
302
+ planDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
303
+ targetWorkspace: z.ZodEnum<{
304
+ candidate: "candidate";
305
+ task: "task";
306
+ }>;
307
+ mountPaths: z.ZodArray<z.ZodString>;
308
+ }, z.core.$strict>;
309
+ harness: z.ZodEnum<{
310
+ "claude-code": "claude-code";
311
+ claude: "claude";
312
+ claudish: "claudish";
313
+ nanoclaw: "nanoclaw";
314
+ codex: "codex";
315
+ opencode: "opencode";
316
+ "kimi-code": "kimi-code";
317
+ kimi: "kimi";
318
+ pi: "pi";
319
+ gemini: "gemini";
320
+ hermes: "hermes";
321
+ openclaw: "openclaw";
322
+ amp: "amp";
323
+ "factory-droids": "factory-droids";
324
+ acp: "acp";
325
+ "cli-base": "cli-base";
326
+ }>;
327
+ harnessVersion: z.ZodString;
328
+ container: z.ZodObject<{
329
+ image: z.ZodString;
330
+ indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
331
+ source: z.ZodEnum<{
332
+ "pinned-container": "pinned-container";
333
+ "evaluator-task-container": "evaluator-task-container";
334
+ }>;
335
+ manifestDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
336
+ platform: z.ZodObject<{
337
+ os: z.ZodString;
338
+ architecture: z.ZodString;
339
+ variant: z.ZodOptional<z.ZodString>;
340
+ }, z.core.$strict>;
341
+ }, z.core.$strict>;
342
+ model: z.ZodObject<{
343
+ policy: z.ZodLiteral<"single">;
344
+ resolved: z.ZodObject<{
345
+ requested: z.ZodString;
346
+ provider: z.ZodString;
347
+ model: z.ZodString;
348
+ snapshot: z.ZodString;
349
+ reasoningEffort: z.ZodEnum<{
350
+ none: "none";
351
+ minimal: "minimal";
352
+ low: "low";
353
+ medium: "medium";
354
+ high: "high";
355
+ xhigh: "xhigh";
356
+ ultracode: "ultracode";
357
+ }>;
358
+ }, z.core.$strict>;
359
+ access: z.ZodObject<{
360
+ kind: z.ZodLiteral<"evaluator-mediated">;
361
+ grantDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
362
+ }, z.core.$strict>;
363
+ routes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
364
+ kind: z.ZodLiteral<"primary">;
365
+ requested: z.ZodOptional<z.ZodString>;
366
+ }, z.core.$strict>, z.ZodObject<{
367
+ kind: z.ZodLiteral<"small">;
368
+ requested: z.ZodString;
369
+ }, z.core.$strict>, z.ZodObject<{
370
+ kind: z.ZodLiteral<"mode">;
371
+ name: z.ZodString;
372
+ requested: z.ZodString;
373
+ }, z.core.$strict>, z.ZodObject<{
374
+ kind: z.ZodLiteral<"subagent">;
375
+ name: z.ZodString;
376
+ requested: z.ZodString;
377
+ }, z.core.$strict>], "kind">>;
378
+ }, z.core.$strict>;
379
+ launch: z.ZodObject<{
380
+ executable: z.ZodString;
381
+ args: z.ZodArray<z.ZodObject<{
382
+ kind: z.ZodLiteral<"public">;
383
+ value: z.ZodString;
384
+ }, z.core.$strict>>;
385
+ env: z.ZodRecord<z.ZodString, z.ZodObject<{
386
+ kind: z.ZodLiteral<"public">;
387
+ value: z.ZodString;
388
+ }, z.core.$strict>>;
389
+ cwd: z.ZodObject<{
390
+ workspace: z.ZodEnum<{
391
+ candidate: "candidate";
392
+ task: "task";
393
+ }>;
394
+ path: z.ZodString;
395
+ }, z.core.$strict>;
396
+ }, z.core.$strict>;
397
+ knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
398
+ memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
399
+ mode: z.ZodLiteral<"disabled">;
400
+ }, z.core.$strict>, z.ZodObject<{
401
+ mode: z.ZodLiteral<"isolated">;
402
+ scope: z.ZodLiteral<"task">;
403
+ effectiveNamespace: z.ZodString;
404
+ reset: z.ZodObject<{
405
+ kind: z.ZodLiteral<"fresh">;
406
+ evidence: z.ZodUnion<readonly [z.ZodObject<{
407
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
408
+ kind: z.ZodLiteral<"s3">;
409
+ bucket: z.ZodString;
410
+ key: z.ZodString;
411
+ region: z.ZodOptional<z.ZodString>;
412
+ }, z.core.$strict>, z.ZodObject<{
413
+ kind: z.ZodLiteral<"ipfs">;
414
+ cid: z.ZodString;
415
+ path: z.ZodOptional<z.ZodString>;
416
+ }, z.core.$strict>], "kind">;
417
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
418
+ byteLength: z.ZodNumber;
419
+ }, z.core.$strict>, z.ZodObject<{
420
+ encoding: z.ZodLiteral<"base64">;
421
+ content: z.ZodString;
422
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
423
+ byteLength: z.ZodNumber;
424
+ }, z.core.$strict>]>;
425
+ emptyStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
426
+ }, z.core.$strict>;
427
+ beforeState: z.ZodObject<{
428
+ schemaVersion: z.ZodLiteral<1>;
429
+ kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
430
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
431
+ material: z.ZodObject<{
432
+ schemaVersion: z.ZodLiteral<1>;
433
+ kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
434
+ files: z.ZodArray<z.ZodObject<{
435
+ path: z.ZodString;
436
+ mode: z.ZodUnion<readonly [z.ZodLiteral<420>, z.ZodLiteral<493>]>;
437
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
438
+ byteLength: z.ZodNumber;
439
+ }, z.core.$strict>>;
440
+ }, z.core.$strict>;
441
+ manifest: z.ZodUnion<readonly [z.ZodObject<{
442
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
443
+ kind: z.ZodLiteral<"s3">;
444
+ bucket: z.ZodString;
445
+ key: z.ZodString;
446
+ region: z.ZodOptional<z.ZodString>;
447
+ }, z.core.$strict>, z.ZodObject<{
448
+ kind: z.ZodLiteral<"ipfs">;
449
+ cid: z.ZodString;
450
+ path: z.ZodOptional<z.ZodString>;
451
+ }, z.core.$strict>], "kind">;
452
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
453
+ byteLength: z.ZodNumber;
454
+ }, z.core.$strict>, z.ZodObject<{
455
+ encoding: z.ZodLiteral<"base64">;
456
+ content: z.ZodString;
457
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
458
+ byteLength: z.ZodNumber;
459
+ }, z.core.$strict>]>;
460
+ archive: z.ZodUnion<readonly [z.ZodObject<{
461
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
462
+ kind: z.ZodLiteral<"s3">;
463
+ bucket: z.ZodString;
464
+ key: z.ZodString;
465
+ region: z.ZodOptional<z.ZodString>;
466
+ }, z.core.$strict>, z.ZodObject<{
467
+ kind: z.ZodLiteral<"ipfs">;
468
+ cid: z.ZodString;
469
+ path: z.ZodOptional<z.ZodString>;
470
+ }, z.core.$strict>], "kind">;
471
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
472
+ byteLength: z.ZodNumber;
473
+ }, z.core.$strict>, z.ZodObject<{
474
+ encoding: z.ZodLiteral<"base64">;
475
+ content: z.ZodString;
476
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
477
+ byteLength: z.ZodNumber;
478
+ }, z.core.$strict>]>;
479
+ }, z.core.$strict>;
480
+ seedDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
481
+ }, z.core.$strict>], "mode">;
482
+ limits: z.ZodObject<{
483
+ timeoutMs: z.ZodNumber;
484
+ maxSteps: z.ZodNumber;
485
+ maxModelCalls: z.ZodNumber;
486
+ maxInputTokens: z.ZodNumber;
487
+ maxOutputTokens: z.ZodNumber;
488
+ maxCostUsd: z.ZodNumber;
489
+ }, z.core.$strict>;
490
+ network: z.ZodObject<{
491
+ mode: z.ZodLiteral<"disabled">;
492
+ }, z.core.$strict>;
493
+ }, z.core.$strict>;
494
+ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
495
+ schemaVersion: z.ZodLiteral<1>;
496
+ kind: z.ZodLiteral<"agent-profile-workspace-plan">;
497
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
498
+ material: z.ZodType<{
499
+ version: 1;
500
+ harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
501
+ files: {
502
+ relPath: string;
503
+ mode: number;
504
+ contentSha256: `sha256:${string}`;
505
+ }[];
506
+ env: Record<string, {
507
+ kind: "public";
508
+ value: string;
509
+ }>;
510
+ flags: {
511
+ kind: "public";
512
+ value: string;
513
+ }[];
514
+ unsupported: {
515
+ dimension: string;
516
+ reason: string;
517
+ }[];
518
+ }, unknown, z.core.$ZodTypeInternals<{
519
+ version: 1;
520
+ harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
521
+ files: {
522
+ relPath: string;
523
+ mode: number;
524
+ contentSha256: `sha256:${string}`;
525
+ }[];
526
+ env: Record<string, {
527
+ kind: "public";
528
+ value: string;
529
+ }>;
530
+ flags: {
531
+ kind: "public";
532
+ value: string;
533
+ }[];
534
+ unsupported: {
535
+ dimension: string;
536
+ reason: string;
537
+ }[];
538
+ }, unknown>>;
539
+ artifact: z.ZodUnion<readonly [z.ZodObject<{
540
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
541
+ kind: z.ZodLiteral<"s3">;
542
+ bucket: z.ZodString;
543
+ key: z.ZodString;
544
+ region: z.ZodOptional<z.ZodString>;
545
+ }, z.core.$strict>, z.ZodObject<{
546
+ kind: z.ZodLiteral<"ipfs">;
547
+ cid: z.ZodString;
548
+ path: z.ZodOptional<z.ZodString>;
549
+ }, z.core.$strict>], "kind">;
550
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
551
+ byteLength: z.ZodNumber;
552
+ }, z.core.$strict>, z.ZodObject<{
553
+ encoding: z.ZodLiteral<"base64">;
554
+ content: z.ZodString;
555
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
556
+ byteLength: z.ZodNumber;
557
+ }, z.core.$strict>]>;
558
+ }, z.core.$strict>;
559
+ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
560
+ schemaVersion: z.ZodLiteral<1>;
561
+ kind: z.ZodLiteral<"agent-candidate-execution-plan">;
562
+ digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
563
+ material: z.ZodType<{
564
+ schemaVersion: 1;
565
+ kind: "agent-candidate-execution-plan-material";
566
+ bundleDigest: `sha256:${string}`;
567
+ executionId: string;
568
+ attempt: {
569
+ number: number;
570
+ maxAttempts: number;
571
+ retryPolicy: "none" | "pre-model-infrastructure-only";
572
+ };
573
+ task: {
574
+ benchmark: string;
575
+ benchmarkVersion: string;
576
+ taskId: string;
577
+ splitDigest: `sha256:${string}`;
578
+ instruction: {
579
+ encoding: "utf8";
580
+ sha256: `sha256:${string}`;
581
+ byteLength: number;
582
+ delivery: {
583
+ kind: "argv-append";
584
+ } | {
585
+ kind: "stdin-utf8";
586
+ } | {
587
+ kind: "utf8-file";
588
+ env: "TANGLE_CANDIDATE_TASK_PATH";
589
+ path: "/tangle/input/task.txt";
590
+ };
591
+ };
592
+ repository: {
593
+ identity: string;
594
+ rootIdentity: string;
595
+ baseCommit: string;
596
+ baseTree: string;
597
+ };
598
+ workspace: {
599
+ schemaVersion: 1;
600
+ kind: "agent-candidate-workspace-snapshot";
601
+ digest: `sha256:${string}`;
602
+ material: {
603
+ schemaVersion: 1;
604
+ kind: "agent-candidate-workspace-manifest";
605
+ files: {
606
+ path: string;
607
+ mode: 420 | 493;
608
+ sha256: `sha256:${string}`;
609
+ byteLength: number;
610
+ }[];
611
+ };
612
+ manifest: {
613
+ locator: {
614
+ kind: "s3";
615
+ bucket: string;
616
+ key: string;
617
+ region?: string | undefined;
618
+ } | {
619
+ kind: "ipfs";
620
+ cid: string;
621
+ path?: string | undefined;
622
+ };
623
+ sha256: `sha256:${string}`;
624
+ byteLength: number;
625
+ } | {
626
+ encoding: "base64";
627
+ content: string;
628
+ sha256: `sha256:${string}`;
629
+ byteLength: number;
630
+ };
631
+ archive: {
632
+ locator: {
633
+ kind: "s3";
634
+ bucket: string;
635
+ key: string;
636
+ region?: string | undefined;
637
+ } | {
638
+ kind: "ipfs";
639
+ cid: string;
640
+ path?: string | undefined;
641
+ };
642
+ sha256: `sha256:${string}`;
643
+ byteLength: number;
644
+ } | {
645
+ encoding: "base64";
646
+ content: string;
647
+ sha256: `sha256:${string}`;
648
+ byteLength: number;
649
+ };
650
+ };
651
+ };
652
+ workspaces: {
653
+ taskRoot: string;
654
+ candidateRoot?: string | undefined;
655
+ };
656
+ codeKind: "disabled" | "no-op" | "git-patch";
657
+ profile: {
658
+ planDigest: `sha256:${string}`;
659
+ targetWorkspace: "candidate" | "task";
660
+ mountPaths: string[];
661
+ };
662
+ harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
663
+ harnessVersion: string;
664
+ container: {
665
+ image: string;
666
+ indexDigest: `sha256:${string}`;
667
+ source: "pinned-container" | "evaluator-task-container";
668
+ manifestDigest: `sha256:${string}`;
669
+ platform: {
670
+ os: string;
671
+ architecture: string;
672
+ variant?: string | undefined;
673
+ };
674
+ };
675
+ model: {
676
+ policy: "single";
677
+ resolved: {
678
+ requested: string;
679
+ provider: string;
680
+ model: string;
681
+ snapshot: string;
682
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
683
+ };
684
+ access: {
685
+ kind: "evaluator-mediated";
686
+ grantDigest: `sha256:${string}`;
687
+ };
688
+ routes: ({
689
+ kind: "primary";
690
+ requested?: string | undefined;
691
+ } | {
692
+ kind: "small";
693
+ requested: string;
694
+ } | {
695
+ kind: "mode";
696
+ name: string;
697
+ requested: string;
698
+ } | {
699
+ kind: "subagent";
700
+ name: string;
701
+ requested: string;
702
+ })[];
703
+ };
704
+ launch: {
705
+ executable: string;
706
+ args: {
707
+ kind: "public";
708
+ value: string;
709
+ }[];
710
+ env: Record<string, {
711
+ kind: "public";
712
+ value: string;
713
+ }>;
714
+ cwd: {
715
+ workspace: "candidate" | "task";
716
+ path: string;
717
+ };
718
+ };
719
+ memory: {
720
+ mode: "isolated";
721
+ scope: "task";
722
+ effectiveNamespace: string;
723
+ reset: {
724
+ kind: "fresh";
725
+ evidence: {
726
+ locator: {
727
+ kind: "s3";
728
+ bucket: string;
729
+ key: string;
730
+ region?: string | undefined;
731
+ } | {
732
+ kind: "ipfs";
733
+ cid: string;
734
+ path?: string | undefined;
735
+ };
736
+ sha256: `sha256:${string}`;
737
+ byteLength: number;
738
+ } | {
739
+ encoding: "base64";
740
+ content: string;
741
+ sha256: `sha256:${string}`;
742
+ byteLength: number;
743
+ };
744
+ emptyStateDigest: `sha256:${string}`;
745
+ };
746
+ beforeState: {
747
+ schemaVersion: 1;
748
+ kind: "agent-candidate-workspace-snapshot";
749
+ digest: `sha256:${string}`;
750
+ material: {
751
+ schemaVersion: 1;
752
+ kind: "agent-candidate-workspace-manifest";
753
+ files: {
754
+ path: string;
755
+ mode: 420 | 493;
756
+ sha256: `sha256:${string}`;
757
+ byteLength: number;
758
+ }[];
759
+ };
760
+ manifest: {
761
+ locator: {
762
+ kind: "s3";
763
+ bucket: string;
764
+ key: string;
765
+ region?: string | undefined;
766
+ } | {
767
+ kind: "ipfs";
768
+ cid: string;
769
+ path?: string | undefined;
770
+ };
771
+ sha256: `sha256:${string}`;
772
+ byteLength: number;
773
+ } | {
774
+ encoding: "base64";
775
+ content: string;
776
+ sha256: `sha256:${string}`;
777
+ byteLength: number;
778
+ };
779
+ archive: {
780
+ locator: {
781
+ kind: "s3";
782
+ bucket: string;
783
+ key: string;
784
+ region?: string | undefined;
785
+ } | {
786
+ kind: "ipfs";
787
+ cid: string;
788
+ path?: string | undefined;
789
+ };
790
+ sha256: `sha256:${string}`;
791
+ byteLength: number;
792
+ } | {
793
+ encoding: "base64";
794
+ content: string;
795
+ sha256: `sha256:${string}`;
796
+ byteLength: number;
797
+ };
798
+ };
799
+ seedDigest?: `sha256:${string}` | undefined;
800
+ } | {
801
+ mode: "disabled";
802
+ };
803
+ limits: {
804
+ timeoutMs: number;
805
+ maxSteps: number;
806
+ maxModelCalls: number;
807
+ maxInputTokens: number;
808
+ maxOutputTokens: number;
809
+ maxCostUsd: number;
810
+ };
811
+ network: {
812
+ mode: "disabled";
813
+ };
814
+ candidateWorkspace?: {
815
+ schemaVersion: 1;
816
+ kind: "agent-candidate-workspace-snapshot";
817
+ digest: `sha256:${string}`;
818
+ material: {
819
+ schemaVersion: 1;
820
+ kind: "agent-candidate-workspace-manifest";
821
+ files: {
822
+ path: string;
823
+ mode: 420 | 493;
824
+ sha256: `sha256:${string}`;
825
+ byteLength: number;
826
+ }[];
827
+ };
828
+ manifest: {
829
+ locator: {
830
+ kind: "s3";
831
+ bucket: string;
832
+ key: string;
833
+ region?: string | undefined;
834
+ } | {
835
+ kind: "ipfs";
836
+ cid: string;
837
+ path?: string | undefined;
838
+ };
839
+ sha256: `sha256:${string}`;
840
+ byteLength: number;
841
+ } | {
842
+ encoding: "base64";
843
+ content: string;
844
+ sha256: `sha256:${string}`;
845
+ byteLength: number;
846
+ };
847
+ archive: {
848
+ locator: {
849
+ kind: "s3";
850
+ bucket: string;
851
+ key: string;
852
+ region?: string | undefined;
853
+ } | {
854
+ kind: "ipfs";
855
+ cid: string;
856
+ path?: string | undefined;
857
+ };
858
+ sha256: `sha256:${string}`;
859
+ byteLength: number;
860
+ } | {
861
+ encoding: "base64";
862
+ content: string;
863
+ sha256: `sha256:${string}`;
864
+ byteLength: number;
865
+ };
866
+ } | undefined;
867
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
868
+ }, unknown, z.core.$ZodTypeInternals<{
869
+ schemaVersion: 1;
870
+ kind: "agent-candidate-execution-plan-material";
871
+ bundleDigest: `sha256:${string}`;
872
+ executionId: string;
873
+ attempt: {
874
+ number: number;
875
+ maxAttempts: number;
876
+ retryPolicy: "none" | "pre-model-infrastructure-only";
877
+ };
878
+ task: {
879
+ benchmark: string;
880
+ benchmarkVersion: string;
881
+ taskId: string;
882
+ splitDigest: `sha256:${string}`;
883
+ instruction: {
884
+ encoding: "utf8";
885
+ sha256: `sha256:${string}`;
886
+ byteLength: number;
887
+ delivery: {
888
+ kind: "argv-append";
889
+ } | {
890
+ kind: "stdin-utf8";
891
+ } | {
892
+ kind: "utf8-file";
893
+ env: "TANGLE_CANDIDATE_TASK_PATH";
894
+ path: "/tangle/input/task.txt";
895
+ };
896
+ };
897
+ repository: {
898
+ identity: string;
899
+ rootIdentity: string;
900
+ baseCommit: string;
901
+ baseTree: string;
902
+ };
903
+ workspace: {
904
+ schemaVersion: 1;
905
+ kind: "agent-candidate-workspace-snapshot";
906
+ digest: `sha256:${string}`;
907
+ material: {
908
+ schemaVersion: 1;
909
+ kind: "agent-candidate-workspace-manifest";
910
+ files: {
911
+ path: string;
912
+ mode: 420 | 493;
913
+ sha256: `sha256:${string}`;
914
+ byteLength: number;
915
+ }[];
916
+ };
917
+ manifest: {
918
+ locator: {
919
+ kind: "s3";
920
+ bucket: string;
921
+ key: string;
922
+ region?: string | undefined;
923
+ } | {
924
+ kind: "ipfs";
925
+ cid: string;
926
+ path?: string | undefined;
927
+ };
928
+ sha256: `sha256:${string}`;
929
+ byteLength: number;
930
+ } | {
931
+ encoding: "base64";
932
+ content: string;
933
+ sha256: `sha256:${string}`;
934
+ byteLength: number;
935
+ };
936
+ archive: {
937
+ locator: {
938
+ kind: "s3";
939
+ bucket: string;
940
+ key: string;
941
+ region?: string | undefined;
942
+ } | {
943
+ kind: "ipfs";
944
+ cid: string;
945
+ path?: string | undefined;
946
+ };
947
+ sha256: `sha256:${string}`;
948
+ byteLength: number;
949
+ } | {
950
+ encoding: "base64";
951
+ content: string;
952
+ sha256: `sha256:${string}`;
953
+ byteLength: number;
954
+ };
955
+ };
956
+ };
957
+ workspaces: {
958
+ taskRoot: string;
959
+ candidateRoot?: string | undefined;
960
+ };
961
+ codeKind: "disabled" | "no-op" | "git-patch";
962
+ profile: {
963
+ planDigest: `sha256:${string}`;
964
+ targetWorkspace: "candidate" | "task";
965
+ mountPaths: string[];
966
+ };
967
+ harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
968
+ harnessVersion: string;
969
+ container: {
970
+ image: string;
971
+ indexDigest: `sha256:${string}`;
972
+ source: "pinned-container" | "evaluator-task-container";
973
+ manifestDigest: `sha256:${string}`;
974
+ platform: {
975
+ os: string;
976
+ architecture: string;
977
+ variant?: string | undefined;
978
+ };
979
+ };
980
+ model: {
981
+ policy: "single";
982
+ resolved: {
983
+ requested: string;
984
+ provider: string;
985
+ model: string;
986
+ snapshot: string;
987
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
988
+ };
989
+ access: {
990
+ kind: "evaluator-mediated";
991
+ grantDigest: `sha256:${string}`;
992
+ };
993
+ routes: ({
994
+ kind: "primary";
995
+ requested?: string | undefined;
996
+ } | {
997
+ kind: "small";
998
+ requested: string;
999
+ } | {
1000
+ kind: "mode";
1001
+ name: string;
1002
+ requested: string;
1003
+ } | {
1004
+ kind: "subagent";
1005
+ name: string;
1006
+ requested: string;
1007
+ })[];
1008
+ };
1009
+ launch: {
1010
+ executable: string;
1011
+ args: {
1012
+ kind: "public";
1013
+ value: string;
1014
+ }[];
1015
+ env: Record<string, {
1016
+ kind: "public";
1017
+ value: string;
1018
+ }>;
1019
+ cwd: {
1020
+ workspace: "candidate" | "task";
1021
+ path: string;
1022
+ };
1023
+ };
1024
+ memory: {
1025
+ mode: "isolated";
1026
+ scope: "task";
1027
+ effectiveNamespace: string;
1028
+ reset: {
1029
+ kind: "fresh";
1030
+ evidence: {
1031
+ locator: {
1032
+ kind: "s3";
1033
+ bucket: string;
1034
+ key: string;
1035
+ region?: string | undefined;
1036
+ } | {
1037
+ kind: "ipfs";
1038
+ cid: string;
1039
+ path?: string | undefined;
1040
+ };
1041
+ sha256: `sha256:${string}`;
1042
+ byteLength: number;
1043
+ } | {
1044
+ encoding: "base64";
1045
+ content: string;
1046
+ sha256: `sha256:${string}`;
1047
+ byteLength: number;
1048
+ };
1049
+ emptyStateDigest: `sha256:${string}`;
1050
+ };
1051
+ beforeState: {
1052
+ schemaVersion: 1;
1053
+ kind: "agent-candidate-workspace-snapshot";
1054
+ digest: `sha256:${string}`;
1055
+ material: {
1056
+ schemaVersion: 1;
1057
+ kind: "agent-candidate-workspace-manifest";
1058
+ files: {
1059
+ path: string;
1060
+ mode: 420 | 493;
1061
+ sha256: `sha256:${string}`;
1062
+ byteLength: number;
1063
+ }[];
1064
+ };
1065
+ manifest: {
1066
+ locator: {
1067
+ kind: "s3";
1068
+ bucket: string;
1069
+ key: string;
1070
+ region?: string | undefined;
1071
+ } | {
1072
+ kind: "ipfs";
1073
+ cid: string;
1074
+ path?: string | undefined;
1075
+ };
1076
+ sha256: `sha256:${string}`;
1077
+ byteLength: number;
1078
+ } | {
1079
+ encoding: "base64";
1080
+ content: string;
1081
+ sha256: `sha256:${string}`;
1082
+ byteLength: number;
1083
+ };
1084
+ archive: {
1085
+ locator: {
1086
+ kind: "s3";
1087
+ bucket: string;
1088
+ key: string;
1089
+ region?: string | undefined;
1090
+ } | {
1091
+ kind: "ipfs";
1092
+ cid: string;
1093
+ path?: string | undefined;
1094
+ };
1095
+ sha256: `sha256:${string}`;
1096
+ byteLength: number;
1097
+ } | {
1098
+ encoding: "base64";
1099
+ content: string;
1100
+ sha256: `sha256:${string}`;
1101
+ byteLength: number;
1102
+ };
1103
+ };
1104
+ seedDigest?: `sha256:${string}` | undefined;
1105
+ } | {
1106
+ mode: "disabled";
1107
+ };
1108
+ limits: {
1109
+ timeoutMs: number;
1110
+ maxSteps: number;
1111
+ maxModelCalls: number;
1112
+ maxInputTokens: number;
1113
+ maxOutputTokens: number;
1114
+ maxCostUsd: number;
1115
+ };
1116
+ network: {
1117
+ mode: "disabled";
1118
+ };
1119
+ candidateWorkspace?: {
1120
+ schemaVersion: 1;
1121
+ kind: "agent-candidate-workspace-snapshot";
1122
+ digest: `sha256:${string}`;
1123
+ material: {
1124
+ schemaVersion: 1;
1125
+ kind: "agent-candidate-workspace-manifest";
1126
+ files: {
1127
+ path: string;
1128
+ mode: 420 | 493;
1129
+ sha256: `sha256:${string}`;
1130
+ byteLength: number;
1131
+ }[];
1132
+ };
1133
+ manifest: {
1134
+ locator: {
1135
+ kind: "s3";
1136
+ bucket: string;
1137
+ key: string;
1138
+ region?: string | undefined;
1139
+ } | {
1140
+ kind: "ipfs";
1141
+ cid: string;
1142
+ path?: string | undefined;
1143
+ };
1144
+ sha256: `sha256:${string}`;
1145
+ byteLength: number;
1146
+ } | {
1147
+ encoding: "base64";
1148
+ content: string;
1149
+ sha256: `sha256:${string}`;
1150
+ byteLength: number;
1151
+ };
1152
+ archive: {
1153
+ locator: {
1154
+ kind: "s3";
1155
+ bucket: string;
1156
+ key: string;
1157
+ region?: string | undefined;
1158
+ } | {
1159
+ kind: "ipfs";
1160
+ cid: string;
1161
+ path?: string | undefined;
1162
+ };
1163
+ sha256: `sha256:${string}`;
1164
+ byteLength: number;
1165
+ } | {
1166
+ encoding: "base64";
1167
+ content: string;
1168
+ sha256: `sha256:${string}`;
1169
+ byteLength: number;
1170
+ };
1171
+ } | undefined;
1172
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
1173
+ }, unknown>>;
1174
+ artifact: z.ZodUnion<readonly [z.ZodObject<{
1175
+ locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
1176
+ kind: z.ZodLiteral<"s3">;
1177
+ bucket: z.ZodString;
1178
+ key: z.ZodString;
1179
+ region: z.ZodOptional<z.ZodString>;
1180
+ }, z.core.$strict>, z.ZodObject<{
1181
+ kind: z.ZodLiteral<"ipfs">;
1182
+ cid: z.ZodString;
1183
+ path: z.ZodOptional<z.ZodString>;
1184
+ }, z.core.$strict>], "kind">;
1185
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1186
+ byteLength: z.ZodNumber;
1187
+ }, z.core.$strict>, z.ZodObject<{
1188
+ encoding: z.ZodLiteral<"base64">;
1189
+ content: z.ZodString;
1190
+ sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1191
+ byteLength: z.ZodNumber;
1192
+ }, z.core.$strict>]>;
1193
+ }, z.core.$strict>;