@tangle-network/agent-interface 1.8.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/agent-candidate-code-schema.d.ts +17 -17
- package/dist/agent-candidate-execution-plan-schema.d.ts +179 -179
- package/dist/agent-candidate-lineage-schema.d.ts +2 -2
- package/dist/agent-candidate-outcome-schema.d.ts +56 -56
- package/dist/agent-candidate-profile-schema.d.ts +17 -17
- package/dist/agent-candidate-promotion-schema.d.ts +1085 -1085
- package/dist/agent-candidate-receipt-schema.d.ts +195 -195
- package/dist/agent-candidate-schema-common.d.ts +6 -0
- package/dist/agent-candidate-schema-common.js +25 -10
- package/dist/agent-candidate-schema.d.ts +30 -30
- package/dist/agent-candidate-task-schema.d.ts +16 -16
- package/dist/agent-execution-limits.d.ts +1 -1
- package/dist/agent-execution-preparation-receipt.d.ts +71 -71
- package/dist/agent-improvement-measurement-schema.d.ts +26 -26
- package/dist/agent-instance.d.ts +2 -2
- package/dist/agent-profile-improvement-schema.d.ts +75 -75
- package/dist/agent-workspace-lease.d.ts +4 -4
- package/dist/certified-context.d.ts +2 -2
- package/dist/environment-command-turn.js +4 -1
- package/dist/environment-interactive-control.d.ts +422 -422
- package/dist/environment-interactive-start.d.ts +17 -17
- package/dist/environment-observation.d.ts +39 -39
- package/dist/environment-provider.d.ts +1 -0
- package/dist/environment-provider.js +1 -0
- package/dist/environment-requests.d.ts +22 -2
- package/dist/environment-requests.js +29 -1
- package/dist/environment-runtime.d.ts +53 -20
- package/dist/environment-runtime.js +23 -0
- package/dist/harness.d.ts +11 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/interaction-envelope.d.ts +26 -26
- package/dist/interaction-fields.d.ts +22 -22
- package/dist/interaction-permissions.d.ts +2 -2
- package/dist/portable-context-base.d.ts +1 -1
- package/dist/portable-context-continuation.d.ts +4 -4
- package/dist/portable-context-plan-request.d.ts +1 -1
- package/dist/portable-context-plan.d.ts +5 -5
- package/dist/portable-context-shared.d.ts +1 -1
- package/dist/portable-context-transfer.d.ts +6 -6
- package/dist/profile-schema.d.ts +37 -37
- package/dist/runtime-control.d.ts +10 -10
- package/dist/workspace-cleanup.d.ts +3 -3
- package/dist/workspace-cwd.d.ts +28 -0
- package/dist/workspace-cwd.js +77 -0
- package/dist/workspace-fork.d.ts +4 -4
- package/package.json +6 -6
|
@@ -196,7 +196,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
196
196
|
digest: `sha256:${string}`;
|
|
197
197
|
material: {
|
|
198
198
|
sourceProfileDigest: `sha256:${string}`;
|
|
199
|
-
harness: "
|
|
199
|
+
harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
|
|
200
200
|
files: {
|
|
201
201
|
relPath: string;
|
|
202
202
|
mode: number;
|
|
@@ -210,10 +210,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
210
210
|
kind: "public";
|
|
211
211
|
value: string;
|
|
212
212
|
}[];
|
|
213
|
-
unsupported: {
|
|
214
|
-
dimension: string;
|
|
215
|
-
reason: string;
|
|
216
|
-
}[];
|
|
217
213
|
systemPrompt?: {
|
|
218
214
|
kind: "public";
|
|
219
215
|
value: string;
|
|
@@ -222,8 +218,17 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
222
218
|
kind: "public";
|
|
223
219
|
value: string;
|
|
224
220
|
} | undefined;
|
|
221
|
+
unsupported: {
|
|
222
|
+
dimension: string;
|
|
223
|
+
reason: string;
|
|
224
|
+
}[];
|
|
225
225
|
};
|
|
226
226
|
artifact: {
|
|
227
|
+
encoding: "base64";
|
|
228
|
+
content: string;
|
|
229
|
+
sha256: `sha256:${string}`;
|
|
230
|
+
byteLength: number;
|
|
231
|
+
} | {
|
|
227
232
|
locator: {
|
|
228
233
|
kind: "s3";
|
|
229
234
|
bucket: string;
|
|
@@ -236,18 +241,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
236
241
|
};
|
|
237
242
|
sha256: `sha256:${string}`;
|
|
238
243
|
byteLength: number;
|
|
239
|
-
} | {
|
|
240
|
-
encoding: "base64";
|
|
241
|
-
content: string;
|
|
242
|
-
sha256: `sha256:${string}`;
|
|
243
|
-
byteLength: number;
|
|
244
244
|
};
|
|
245
245
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
246
246
|
kind: "agent-profile-workspace-plan";
|
|
247
247
|
digest: `sha256:${string}`;
|
|
248
248
|
material: {
|
|
249
249
|
sourceProfileDigest: `sha256:${string}`;
|
|
250
|
-
harness: "
|
|
250
|
+
harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
|
|
251
251
|
files: {
|
|
252
252
|
relPath: string;
|
|
253
253
|
mode: number;
|
|
@@ -261,10 +261,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
261
261
|
kind: "public";
|
|
262
262
|
value: string;
|
|
263
263
|
}[];
|
|
264
|
-
unsupported: {
|
|
265
|
-
dimension: string;
|
|
266
|
-
reason: string;
|
|
267
|
-
}[];
|
|
268
264
|
systemPrompt?: {
|
|
269
265
|
kind: "public";
|
|
270
266
|
value: string;
|
|
@@ -273,8 +269,17 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
273
269
|
kind: "public";
|
|
274
270
|
value: string;
|
|
275
271
|
} | undefined;
|
|
272
|
+
unsupported: {
|
|
273
|
+
dimension: string;
|
|
274
|
+
reason: string;
|
|
275
|
+
}[];
|
|
276
276
|
};
|
|
277
277
|
artifact: {
|
|
278
|
+
encoding: "base64";
|
|
279
|
+
content: string;
|
|
280
|
+
sha256: `sha256:${string}`;
|
|
281
|
+
byteLength: number;
|
|
282
|
+
} | {
|
|
278
283
|
locator: {
|
|
279
284
|
kind: "s3";
|
|
280
285
|
bucket: string;
|
|
@@ -287,11 +292,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
287
292
|
};
|
|
288
293
|
sha256: `sha256:${string}`;
|
|
289
294
|
byteLength: number;
|
|
290
|
-
} | {
|
|
291
|
-
encoding: "base64";
|
|
292
|
-
content: string;
|
|
293
|
-
sha256: `sha256:${string}`;
|
|
294
|
-
byteLength: number;
|
|
295
295
|
};
|
|
296
296
|
}, unknown>>;
|
|
297
297
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -325,13 +325,64 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
325
325
|
taskRoot: string;
|
|
326
326
|
candidateRoot?: string | undefined;
|
|
327
327
|
};
|
|
328
|
-
codeKind: "disabled" | "
|
|
328
|
+
codeKind: "disabled" | "git-patch" | "no-op";
|
|
329
|
+
candidateWorkspace?: {
|
|
330
|
+
kind: "agent-candidate-workspace-snapshot";
|
|
331
|
+
digest: `sha256:${string}`;
|
|
332
|
+
material: {
|
|
333
|
+
kind: "agent-candidate-workspace-manifest";
|
|
334
|
+
files: {
|
|
335
|
+
path: string;
|
|
336
|
+
mode: number;
|
|
337
|
+
sha256: `sha256:${string}`;
|
|
338
|
+
byteLength: number;
|
|
339
|
+
}[];
|
|
340
|
+
};
|
|
341
|
+
manifest: {
|
|
342
|
+
encoding: "base64";
|
|
343
|
+
content: string;
|
|
344
|
+
sha256: `sha256:${string}`;
|
|
345
|
+
byteLength: number;
|
|
346
|
+
} | {
|
|
347
|
+
locator: {
|
|
348
|
+
kind: "s3";
|
|
349
|
+
bucket: string;
|
|
350
|
+
key: string;
|
|
351
|
+
region?: string | undefined;
|
|
352
|
+
} | {
|
|
353
|
+
kind: "ipfs";
|
|
354
|
+
cid: string;
|
|
355
|
+
path?: string | undefined;
|
|
356
|
+
};
|
|
357
|
+
sha256: `sha256:${string}`;
|
|
358
|
+
byteLength: number;
|
|
359
|
+
};
|
|
360
|
+
archive: {
|
|
361
|
+
encoding: "base64";
|
|
362
|
+
content: string;
|
|
363
|
+
sha256: `sha256:${string}`;
|
|
364
|
+
byteLength: number;
|
|
365
|
+
} | {
|
|
366
|
+
locator: {
|
|
367
|
+
kind: "s3";
|
|
368
|
+
bucket: string;
|
|
369
|
+
key: string;
|
|
370
|
+
region?: string | undefined;
|
|
371
|
+
} | {
|
|
372
|
+
kind: "ipfs";
|
|
373
|
+
cid: string;
|
|
374
|
+
path?: string | undefined;
|
|
375
|
+
};
|
|
376
|
+
sha256: `sha256:${string}`;
|
|
377
|
+
byteLength: number;
|
|
378
|
+
};
|
|
379
|
+
} | undefined;
|
|
329
380
|
profile: {
|
|
330
381
|
planDigest: `sha256:${string}`;
|
|
331
382
|
targetWorkspace: "candidate" | "task";
|
|
332
383
|
mountPaths: string[];
|
|
333
384
|
};
|
|
334
|
-
harness: "
|
|
385
|
+
harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
|
|
335
386
|
harnessVersion: string;
|
|
336
387
|
instructionDelivery: {
|
|
337
388
|
kind: "argv-append";
|
|
@@ -348,13 +399,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
348
399
|
maxModelCalls: number;
|
|
349
400
|
maxInputTokens: number;
|
|
350
401
|
maxOutputTokens: number;
|
|
351
|
-
maxCostUsd: number;
|
|
352
402
|
maxTotalTokens?: number | undefined;
|
|
403
|
+
maxCostUsd: number;
|
|
353
404
|
};
|
|
354
405
|
container: {
|
|
355
406
|
image: string;
|
|
356
407
|
indexDigest: `sha256:${string}`;
|
|
357
|
-
source: "
|
|
408
|
+
source: "evaluator-task-container" | "pinned-container";
|
|
358
409
|
manifestDigest: `sha256:${string}`;
|
|
359
410
|
platform: {
|
|
360
411
|
os: string;
|
|
@@ -369,7 +420,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
369
420
|
provider: string;
|
|
370
421
|
model: string;
|
|
371
422
|
snapshot: string;
|
|
372
|
-
reasoningEffort: "
|
|
423
|
+
reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
|
|
373
424
|
};
|
|
374
425
|
access: {
|
|
375
426
|
kind: "evaluator-mediated";
|
|
@@ -412,6 +463,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
412
463
|
path: string;
|
|
413
464
|
};
|
|
414
465
|
};
|
|
466
|
+
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
415
467
|
memory: {
|
|
416
468
|
mode: "isolated";
|
|
417
469
|
scope: "task";
|
|
@@ -419,6 +471,11 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
419
471
|
reset: {
|
|
420
472
|
kind: "fresh";
|
|
421
473
|
evidence: {
|
|
474
|
+
encoding: "base64";
|
|
475
|
+
content: string;
|
|
476
|
+
sha256: `sha256:${string}`;
|
|
477
|
+
byteLength: number;
|
|
478
|
+
} | {
|
|
422
479
|
locator: {
|
|
423
480
|
kind: "s3";
|
|
424
481
|
bucket: string;
|
|
@@ -431,11 +488,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
431
488
|
};
|
|
432
489
|
sha256: `sha256:${string}`;
|
|
433
490
|
byteLength: number;
|
|
434
|
-
} | {
|
|
435
|
-
encoding: "base64";
|
|
436
|
-
content: string;
|
|
437
|
-
sha256: `sha256:${string}`;
|
|
438
|
-
byteLength: number;
|
|
439
491
|
};
|
|
440
492
|
emptyStateDigest: `sha256:${string}`;
|
|
441
493
|
};
|
|
@@ -452,6 +504,11 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
452
504
|
}[];
|
|
453
505
|
};
|
|
454
506
|
manifest: {
|
|
507
|
+
encoding: "base64";
|
|
508
|
+
content: string;
|
|
509
|
+
sha256: `sha256:${string}`;
|
|
510
|
+
byteLength: number;
|
|
511
|
+
} | {
|
|
455
512
|
locator: {
|
|
456
513
|
kind: "s3";
|
|
457
514
|
bucket: string;
|
|
@@ -464,13 +521,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
464
521
|
};
|
|
465
522
|
sha256: `sha256:${string}`;
|
|
466
523
|
byteLength: number;
|
|
467
|
-
}
|
|
524
|
+
};
|
|
525
|
+
archive: {
|
|
468
526
|
encoding: "base64";
|
|
469
527
|
content: string;
|
|
470
528
|
sha256: `sha256:${string}`;
|
|
471
529
|
byteLength: number;
|
|
472
|
-
}
|
|
473
|
-
archive: {
|
|
530
|
+
} | {
|
|
474
531
|
locator: {
|
|
475
532
|
kind: "s3";
|
|
476
533
|
bucket: string;
|
|
@@ -483,11 +540,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
483
540
|
};
|
|
484
541
|
sha256: `sha256:${string}`;
|
|
485
542
|
byteLength: number;
|
|
486
|
-
} | {
|
|
487
|
-
encoding: "base64";
|
|
488
|
-
content: string;
|
|
489
|
-
sha256: `sha256:${string}`;
|
|
490
|
-
byteLength: number;
|
|
491
543
|
};
|
|
492
544
|
};
|
|
493
545
|
seedDigest?: `sha256:${string}` | undefined;
|
|
@@ -497,6 +549,27 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
497
549
|
network: {
|
|
498
550
|
mode: "disabled";
|
|
499
551
|
};
|
|
552
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
553
|
+
kind: "agent-candidate-execution-plan-material";
|
|
554
|
+
runCell: {
|
|
555
|
+
kind: "agent-candidate-run-cell";
|
|
556
|
+
experimentDigest: `sha256:${string}`;
|
|
557
|
+
arm: "baseline" | "candidate";
|
|
558
|
+
bundleDigest: `sha256:${string}`;
|
|
559
|
+
suiteDigest: `sha256:${string}`;
|
|
560
|
+
taskDigest: `sha256:${string}`;
|
|
561
|
+
taskIndex: number;
|
|
562
|
+
repetition: number;
|
|
563
|
+
seed: number;
|
|
564
|
+
attempt: number;
|
|
565
|
+
digest: `sha256:${string}`;
|
|
566
|
+
};
|
|
567
|
+
executionId: string;
|
|
568
|
+
workspaces: {
|
|
569
|
+
taskRoot: string;
|
|
570
|
+
candidateRoot?: string | undefined;
|
|
571
|
+
};
|
|
572
|
+
codeKind: "disabled" | "git-patch" | "no-op";
|
|
500
573
|
candidateWorkspace?: {
|
|
501
574
|
kind: "agent-candidate-workspace-snapshot";
|
|
502
575
|
digest: `sha256:${string}`;
|
|
@@ -510,6 +583,11 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
510
583
|
}[];
|
|
511
584
|
};
|
|
512
585
|
manifest: {
|
|
586
|
+
encoding: "base64";
|
|
587
|
+
content: string;
|
|
588
|
+
sha256: `sha256:${string}`;
|
|
589
|
+
byteLength: number;
|
|
590
|
+
} | {
|
|
513
591
|
locator: {
|
|
514
592
|
kind: "s3";
|
|
515
593
|
bucket: string;
|
|
@@ -522,13 +600,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
522
600
|
};
|
|
523
601
|
sha256: `sha256:${string}`;
|
|
524
602
|
byteLength: number;
|
|
525
|
-
}
|
|
603
|
+
};
|
|
604
|
+
archive: {
|
|
526
605
|
encoding: "base64";
|
|
527
606
|
content: string;
|
|
528
607
|
sha256: `sha256:${string}`;
|
|
529
608
|
byteLength: number;
|
|
530
|
-
}
|
|
531
|
-
archive: {
|
|
609
|
+
} | {
|
|
532
610
|
locator: {
|
|
533
611
|
kind: "s3";
|
|
534
612
|
bucket: string;
|
|
@@ -541,41 +619,14 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
541
619
|
};
|
|
542
620
|
sha256: `sha256:${string}`;
|
|
543
621
|
byteLength: number;
|
|
544
|
-
} | {
|
|
545
|
-
encoding: "base64";
|
|
546
|
-
content: string;
|
|
547
|
-
sha256: `sha256:${string}`;
|
|
548
|
-
byteLength: number;
|
|
549
622
|
};
|
|
550
623
|
} | undefined;
|
|
551
|
-
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
552
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
553
|
-
kind: "agent-candidate-execution-plan-material";
|
|
554
|
-
runCell: {
|
|
555
|
-
kind: "agent-candidate-run-cell";
|
|
556
|
-
experimentDigest: `sha256:${string}`;
|
|
557
|
-
arm: "baseline" | "candidate";
|
|
558
|
-
bundleDigest: `sha256:${string}`;
|
|
559
|
-
suiteDigest: `sha256:${string}`;
|
|
560
|
-
taskDigest: `sha256:${string}`;
|
|
561
|
-
taskIndex: number;
|
|
562
|
-
repetition: number;
|
|
563
|
-
seed: number;
|
|
564
|
-
attempt: number;
|
|
565
|
-
digest: `sha256:${string}`;
|
|
566
|
-
};
|
|
567
|
-
executionId: string;
|
|
568
|
-
workspaces: {
|
|
569
|
-
taskRoot: string;
|
|
570
|
-
candidateRoot?: string | undefined;
|
|
571
|
-
};
|
|
572
|
-
codeKind: "disabled" | "no-op" | "git-patch";
|
|
573
624
|
profile: {
|
|
574
625
|
planDigest: `sha256:${string}`;
|
|
575
626
|
targetWorkspace: "candidate" | "task";
|
|
576
627
|
mountPaths: string[];
|
|
577
628
|
};
|
|
578
|
-
harness: "
|
|
629
|
+
harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
|
|
579
630
|
harnessVersion: string;
|
|
580
631
|
instructionDelivery: {
|
|
581
632
|
kind: "argv-append";
|
|
@@ -592,13 +643,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
592
643
|
maxModelCalls: number;
|
|
593
644
|
maxInputTokens: number;
|
|
594
645
|
maxOutputTokens: number;
|
|
595
|
-
maxCostUsd: number;
|
|
596
646
|
maxTotalTokens?: number | undefined;
|
|
647
|
+
maxCostUsd: number;
|
|
597
648
|
};
|
|
598
649
|
container: {
|
|
599
650
|
image: string;
|
|
600
651
|
indexDigest: `sha256:${string}`;
|
|
601
|
-
source: "
|
|
652
|
+
source: "evaluator-task-container" | "pinned-container";
|
|
602
653
|
manifestDigest: `sha256:${string}`;
|
|
603
654
|
platform: {
|
|
604
655
|
os: string;
|
|
@@ -613,7 +664,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
613
664
|
provider: string;
|
|
614
665
|
model: string;
|
|
615
666
|
snapshot: string;
|
|
616
|
-
reasoningEffort: "
|
|
667
|
+
reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
|
|
617
668
|
};
|
|
618
669
|
access: {
|
|
619
670
|
kind: "evaluator-mediated";
|
|
@@ -656,6 +707,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
656
707
|
path: string;
|
|
657
708
|
};
|
|
658
709
|
};
|
|
710
|
+
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
659
711
|
memory: {
|
|
660
712
|
mode: "isolated";
|
|
661
713
|
scope: "task";
|
|
@@ -663,6 +715,11 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
663
715
|
reset: {
|
|
664
716
|
kind: "fresh";
|
|
665
717
|
evidence: {
|
|
718
|
+
encoding: "base64";
|
|
719
|
+
content: string;
|
|
720
|
+
sha256: `sha256:${string}`;
|
|
721
|
+
byteLength: number;
|
|
722
|
+
} | {
|
|
666
723
|
locator: {
|
|
667
724
|
kind: "s3";
|
|
668
725
|
bucket: string;
|
|
@@ -675,11 +732,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
675
732
|
};
|
|
676
733
|
sha256: `sha256:${string}`;
|
|
677
734
|
byteLength: number;
|
|
678
|
-
} | {
|
|
679
|
-
encoding: "base64";
|
|
680
|
-
content: string;
|
|
681
|
-
sha256: `sha256:${string}`;
|
|
682
|
-
byteLength: number;
|
|
683
735
|
};
|
|
684
736
|
emptyStateDigest: `sha256:${string}`;
|
|
685
737
|
};
|
|
@@ -696,6 +748,11 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
696
748
|
}[];
|
|
697
749
|
};
|
|
698
750
|
manifest: {
|
|
751
|
+
encoding: "base64";
|
|
752
|
+
content: string;
|
|
753
|
+
sha256: `sha256:${string}`;
|
|
754
|
+
byteLength: number;
|
|
755
|
+
} | {
|
|
699
756
|
locator: {
|
|
700
757
|
kind: "s3";
|
|
701
758
|
bucket: string;
|
|
@@ -708,13 +765,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
708
765
|
};
|
|
709
766
|
sha256: `sha256:${string}`;
|
|
710
767
|
byteLength: number;
|
|
711
|
-
}
|
|
768
|
+
};
|
|
769
|
+
archive: {
|
|
712
770
|
encoding: "base64";
|
|
713
771
|
content: string;
|
|
714
772
|
sha256: `sha256:${string}`;
|
|
715
773
|
byteLength: number;
|
|
716
|
-
}
|
|
717
|
-
archive: {
|
|
774
|
+
} | {
|
|
718
775
|
locator: {
|
|
719
776
|
kind: "s3";
|
|
720
777
|
bucket: string;
|
|
@@ -727,11 +784,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
727
784
|
};
|
|
728
785
|
sha256: `sha256:${string}`;
|
|
729
786
|
byteLength: number;
|
|
730
|
-
} | {
|
|
731
|
-
encoding: "base64";
|
|
732
|
-
content: string;
|
|
733
|
-
sha256: `sha256:${string}`;
|
|
734
|
-
byteLength: number;
|
|
735
787
|
};
|
|
736
788
|
};
|
|
737
789
|
seedDigest?: `sha256:${string}` | undefined;
|
|
@@ -741,58 +793,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
741
793
|
network: {
|
|
742
794
|
mode: "disabled";
|
|
743
795
|
};
|
|
744
|
-
candidateWorkspace?: {
|
|
745
|
-
kind: "agent-candidate-workspace-snapshot";
|
|
746
|
-
digest: `sha256:${string}`;
|
|
747
|
-
material: {
|
|
748
|
-
kind: "agent-candidate-workspace-manifest";
|
|
749
|
-
files: {
|
|
750
|
-
path: string;
|
|
751
|
-
mode: number;
|
|
752
|
-
sha256: `sha256:${string}`;
|
|
753
|
-
byteLength: number;
|
|
754
|
-
}[];
|
|
755
|
-
};
|
|
756
|
-
manifest: {
|
|
757
|
-
locator: {
|
|
758
|
-
kind: "s3";
|
|
759
|
-
bucket: string;
|
|
760
|
-
key: string;
|
|
761
|
-
region?: string | undefined;
|
|
762
|
-
} | {
|
|
763
|
-
kind: "ipfs";
|
|
764
|
-
cid: string;
|
|
765
|
-
path?: string | undefined;
|
|
766
|
-
};
|
|
767
|
-
sha256: `sha256:${string}`;
|
|
768
|
-
byteLength: number;
|
|
769
|
-
} | {
|
|
770
|
-
encoding: "base64";
|
|
771
|
-
content: string;
|
|
772
|
-
sha256: `sha256:${string}`;
|
|
773
|
-
byteLength: number;
|
|
774
|
-
};
|
|
775
|
-
archive: {
|
|
776
|
-
locator: {
|
|
777
|
-
kind: "s3";
|
|
778
|
-
bucket: string;
|
|
779
|
-
key: string;
|
|
780
|
-
region?: string | undefined;
|
|
781
|
-
} | {
|
|
782
|
-
kind: "ipfs";
|
|
783
|
-
cid: string;
|
|
784
|
-
path?: string | undefined;
|
|
785
|
-
};
|
|
786
|
-
sha256: `sha256:${string}`;
|
|
787
|
-
byteLength: number;
|
|
788
|
-
} | {
|
|
789
|
-
encoding: "base64";
|
|
790
|
-
content: string;
|
|
791
|
-
sha256: `sha256:${string}`;
|
|
792
|
-
byteLength: number;
|
|
793
|
-
};
|
|
794
|
-
} | undefined;
|
|
795
|
-
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
796
796
|
}, unknown>>;
|
|
797
797
|
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
798
798
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -867,33 +867,33 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
867
867
|
}, z.core.$strict>>;
|
|
868
868
|
codeKind: z.ZodEnum<{
|
|
869
869
|
disabled: "disabled";
|
|
870
|
-
"no-op": "no-op";
|
|
871
870
|
"git-patch": "git-patch";
|
|
871
|
+
"no-op": "no-op";
|
|
872
872
|
}>;
|
|
873
873
|
materializedTree: z.ZodOptional<z.ZodString>;
|
|
874
874
|
harness: z.ZodEnum<{
|
|
875
|
+
acp: "acp";
|
|
876
|
+
amp: "amp";
|
|
875
877
|
"claude-code": "claude-code";
|
|
876
|
-
|
|
878
|
+
"cli-base": "cli-base";
|
|
877
879
|
codex: "codex";
|
|
878
|
-
|
|
879
|
-
"
|
|
880
|
-
|
|
881
|
-
prime: "prime";
|
|
880
|
+
cursor: "cursor";
|
|
881
|
+
"factory-droids": "factory-droids";
|
|
882
|
+
forge: "forge";
|
|
882
883
|
gemini: "gemini";
|
|
883
884
|
hermes: "hermes";
|
|
885
|
+
"kimi-code": "kimi-code";
|
|
886
|
+
nanoclaw: "nanoclaw";
|
|
884
887
|
openclaw: "openclaw";
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
cursor: "cursor";
|
|
889
|
-
acp: "acp";
|
|
890
|
-
"cli-base": "cli-base";
|
|
888
|
+
opencode: "opencode";
|
|
889
|
+
pi: "pi";
|
|
890
|
+
prime: "prime";
|
|
891
891
|
}>;
|
|
892
892
|
harnessVersion: z.ZodString;
|
|
893
893
|
container: z.ZodObject<{
|
|
894
894
|
source: z.ZodEnum<{
|
|
895
|
-
"pinned-container": "pinned-container";
|
|
896
895
|
"evaluator-task-container": "evaluator-task-container";
|
|
896
|
+
"pinned-container": "pinned-container";
|
|
897
897
|
}>;
|
|
898
898
|
image: z.ZodString;
|
|
899
899
|
indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
@@ -910,13 +910,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
910
910
|
model: z.ZodString;
|
|
911
911
|
snapshot: z.ZodString;
|
|
912
912
|
reasoningEffort: z.ZodEnum<{
|
|
913
|
-
|
|
914
|
-
minimal: "minimal";
|
|
913
|
+
high: "high";
|
|
915
914
|
low: "low";
|
|
916
915
|
medium: "medium";
|
|
917
|
-
|
|
918
|
-
|
|
916
|
+
minimal: "minimal";
|
|
917
|
+
none: "none";
|
|
919
918
|
ultracode: "ultracode";
|
|
919
|
+
xhigh: "xhigh";
|
|
920
920
|
}>;
|
|
921
921
|
}, z.core.$strict>;
|
|
922
922
|
knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
|
|
@@ -1053,22 +1053,6 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1053
1053
|
kind: z.ZodLiteral<"agent-candidate-model-settlement">;
|
|
1054
1054
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1055
1055
|
material: z.ZodType<{
|
|
1056
|
-
calls: {
|
|
1057
|
-
callId: string;
|
|
1058
|
-
generationId: string;
|
|
1059
|
-
traceSpanId: string;
|
|
1060
|
-
status: "succeeded" | "failed";
|
|
1061
|
-
model: string;
|
|
1062
|
-
startedAtMs: number;
|
|
1063
|
-
endedAtMs: number;
|
|
1064
|
-
inputTokens: number;
|
|
1065
|
-
accountedInputTokens: number;
|
|
1066
|
-
outputTokens: number;
|
|
1067
|
-
cachedInputTokens: number;
|
|
1068
|
-
reasoningTokens: number;
|
|
1069
|
-
costUsdNanos: number;
|
|
1070
|
-
costProvenance: "observed" | "estimated";
|
|
1071
|
-
}[];
|
|
1072
1056
|
kind: "agent-candidate-model-settlement-material";
|
|
1073
1057
|
executionPlanDigest: `sha256:${string}`;
|
|
1074
1058
|
preparationId: string;
|
|
@@ -1080,7 +1064,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1080
1064
|
provider: string;
|
|
1081
1065
|
model: string;
|
|
1082
1066
|
snapshot: string;
|
|
1083
|
-
reasoningEffort: "
|
|
1067
|
+
reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
|
|
1084
1068
|
};
|
|
1085
1069
|
usage: {
|
|
1086
1070
|
inputTokens: number;
|
|
@@ -1089,14 +1073,13 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1089
1073
|
reasoningTokens: number;
|
|
1090
1074
|
modelCalls: number;
|
|
1091
1075
|
costUsdNanos: number;
|
|
1092
|
-
costProvenance: "
|
|
1076
|
+
costProvenance: "estimated" | "observed";
|
|
1093
1077
|
};
|
|
1094
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
1095
1078
|
calls: {
|
|
1096
1079
|
callId: string;
|
|
1097
1080
|
generationId: string;
|
|
1098
1081
|
traceSpanId: string;
|
|
1099
|
-
status: "
|
|
1082
|
+
status: "failed" | "succeeded";
|
|
1100
1083
|
model: string;
|
|
1101
1084
|
startedAtMs: number;
|
|
1102
1085
|
endedAtMs: number;
|
|
@@ -1106,8 +1089,9 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1106
1089
|
cachedInputTokens: number;
|
|
1107
1090
|
reasoningTokens: number;
|
|
1108
1091
|
costUsdNanos: number;
|
|
1109
|
-
costProvenance: "
|
|
1092
|
+
costProvenance: "estimated" | "observed";
|
|
1110
1093
|
}[];
|
|
1094
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
1111
1095
|
kind: "agent-candidate-model-settlement-material";
|
|
1112
1096
|
executionPlanDigest: `sha256:${string}`;
|
|
1113
1097
|
preparationId: string;
|
|
@@ -1119,7 +1103,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1119
1103
|
provider: string;
|
|
1120
1104
|
model: string;
|
|
1121
1105
|
snapshot: string;
|
|
1122
|
-
reasoningEffort: "
|
|
1106
|
+
reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
|
|
1123
1107
|
};
|
|
1124
1108
|
usage: {
|
|
1125
1109
|
inputTokens: number;
|
|
@@ -1128,8 +1112,24 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1128
1112
|
reasoningTokens: number;
|
|
1129
1113
|
modelCalls: number;
|
|
1130
1114
|
costUsdNanos: number;
|
|
1131
|
-
costProvenance: "
|
|
1115
|
+
costProvenance: "estimated" | "observed";
|
|
1132
1116
|
};
|
|
1117
|
+
calls: {
|
|
1118
|
+
callId: string;
|
|
1119
|
+
generationId: string;
|
|
1120
|
+
traceSpanId: string;
|
|
1121
|
+
status: "failed" | "succeeded";
|
|
1122
|
+
model: string;
|
|
1123
|
+
startedAtMs: number;
|
|
1124
|
+
endedAtMs: number;
|
|
1125
|
+
inputTokens: number;
|
|
1126
|
+
accountedInputTokens: number;
|
|
1127
|
+
outputTokens: number;
|
|
1128
|
+
cachedInputTokens: number;
|
|
1129
|
+
reasoningTokens: number;
|
|
1130
|
+
costUsdNanos: number;
|
|
1131
|
+
costProvenance: "estimated" | "observed";
|
|
1132
|
+
}[];
|
|
1133
1133
|
}, unknown>>;
|
|
1134
1134
|
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
1135
1135
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1184,6 +1184,11 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1184
1184
|
}[];
|
|
1185
1185
|
};
|
|
1186
1186
|
manifest: {
|
|
1187
|
+
encoding: "base64";
|
|
1188
|
+
content: string;
|
|
1189
|
+
sha256: `sha256:${string}`;
|
|
1190
|
+
byteLength: number;
|
|
1191
|
+
} | {
|
|
1187
1192
|
locator: {
|
|
1188
1193
|
kind: "s3";
|
|
1189
1194
|
bucket: string;
|
|
@@ -1196,13 +1201,13 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1196
1201
|
};
|
|
1197
1202
|
sha256: `sha256:${string}`;
|
|
1198
1203
|
byteLength: number;
|
|
1199
|
-
}
|
|
1204
|
+
};
|
|
1205
|
+
archive: {
|
|
1200
1206
|
encoding: "base64";
|
|
1201
1207
|
content: string;
|
|
1202
1208
|
sha256: `sha256:${string}`;
|
|
1203
1209
|
byteLength: number;
|
|
1204
|
-
}
|
|
1205
|
-
archive: {
|
|
1210
|
+
} | {
|
|
1206
1211
|
locator: {
|
|
1207
1212
|
kind: "s3";
|
|
1208
1213
|
bucket: string;
|
|
@@ -1215,11 +1220,6 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1215
1220
|
};
|
|
1216
1221
|
sha256: `sha256:${string}`;
|
|
1217
1222
|
byteLength: number;
|
|
1218
|
-
} | {
|
|
1219
|
-
encoding: "base64";
|
|
1220
|
-
content: string;
|
|
1221
|
-
sha256: `sha256:${string}`;
|
|
1222
|
-
byteLength: number;
|
|
1223
1223
|
};
|
|
1224
1224
|
};
|
|
1225
1225
|
gitDiff: {
|
|
@@ -1290,6 +1290,11 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1290
1290
|
}[];
|
|
1291
1291
|
};
|
|
1292
1292
|
manifest: {
|
|
1293
|
+
encoding: "base64";
|
|
1294
|
+
content: string;
|
|
1295
|
+
sha256: `sha256:${string}`;
|
|
1296
|
+
byteLength: number;
|
|
1297
|
+
} | {
|
|
1293
1298
|
locator: {
|
|
1294
1299
|
kind: "s3";
|
|
1295
1300
|
bucket: string;
|
|
@@ -1302,13 +1307,13 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1302
1307
|
};
|
|
1303
1308
|
sha256: `sha256:${string}`;
|
|
1304
1309
|
byteLength: number;
|
|
1305
|
-
}
|
|
1310
|
+
};
|
|
1311
|
+
archive: {
|
|
1306
1312
|
encoding: "base64";
|
|
1307
1313
|
content: string;
|
|
1308
1314
|
sha256: `sha256:${string}`;
|
|
1309
1315
|
byteLength: number;
|
|
1310
|
-
}
|
|
1311
|
-
archive: {
|
|
1316
|
+
} | {
|
|
1312
1317
|
locator: {
|
|
1313
1318
|
kind: "s3";
|
|
1314
1319
|
bucket: string;
|
|
@@ -1321,11 +1326,6 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1321
1326
|
};
|
|
1322
1327
|
sha256: `sha256:${string}`;
|
|
1323
1328
|
byteLength: number;
|
|
1324
|
-
} | {
|
|
1325
|
-
encoding: "base64";
|
|
1326
|
-
content: string;
|
|
1327
|
-
sha256: `sha256:${string}`;
|
|
1328
|
-
byteLength: number;
|
|
1329
1329
|
};
|
|
1330
1330
|
};
|
|
1331
1331
|
gitDiff: {
|
|
@@ -1435,7 +1435,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1435
1435
|
reasoningTokens: number;
|
|
1436
1436
|
modelCalls: number;
|
|
1437
1437
|
costUsdNanos: number;
|
|
1438
|
-
costProvenance: "
|
|
1438
|
+
costProvenance: "estimated" | "observed";
|
|
1439
1439
|
};
|
|
1440
1440
|
timing: {
|
|
1441
1441
|
startedAtMs: number;
|
|
@@ -1494,7 +1494,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1494
1494
|
reasoningTokens: number;
|
|
1495
1495
|
modelCalls: number;
|
|
1496
1496
|
costUsdNanos: number;
|
|
1497
|
-
costProvenance: "
|
|
1497
|
+
costProvenance: "estimated" | "observed";
|
|
1498
1498
|
};
|
|
1499
1499
|
timing: {
|
|
1500
1500
|
startedAtMs: number;
|