@tangle-network/agent-interface 5.7.1 → 5.8.1

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.
Files changed (44) hide show
  1. package/README.md +11 -2
  2. package/dist/agent-candidate-code-schema.d.ts +24 -24
  3. package/dist/agent-candidate-execution-plan-schema.d.ts +245 -245
  4. package/dist/agent-candidate-lineage-schema.d.ts +2 -2
  5. package/dist/agent-candidate-outcome-schema.d.ts +56 -56
  6. package/dist/agent-candidate-profile-schema.d.ts +22 -22
  7. package/dist/agent-candidate-promotion-schema.d.ts +1824 -1824
  8. package/dist/agent-candidate-receipt-schema.d.ts +201 -201
  9. package/dist/agent-candidate-schema-common.d.ts +3 -3
  10. package/dist/agent-candidate-schema.d.ts +36 -36
  11. package/dist/agent-candidate-task-schema.d.ts +16 -16
  12. package/dist/agent-execution-preparation-receipt.d.ts +81 -81
  13. package/dist/agent-improvement-measurement-schema.d.ts +25 -25
  14. package/dist/agent-profile-improvement-schema.d.ts +75 -75
  15. package/dist/agent-profile.d.ts +10 -28
  16. package/dist/agent-workspace-lease.d.ts +4 -4
  17. package/dist/environment-interactive-control.d.ts +473 -473
  18. package/dist/environment-interactive-start.d.ts +38 -29
  19. package/dist/environment-observation.d.ts +32 -32
  20. package/dist/environment-profile-capabilities.d.ts +1 -1
  21. package/dist/environment-runtime.d.ts +171 -144
  22. package/dist/harness-capabilities.d.ts +17 -18
  23. package/dist/harness-capabilities.js +41 -44
  24. package/dist/harness.d.ts +13 -11
  25. package/dist/harness.js +5 -0
  26. package/dist/interaction-envelope.d.ts +26 -26
  27. package/dist/interaction-fields.d.ts +22 -22
  28. package/dist/interaction-permissions.d.ts +2 -2
  29. package/dist/learning-state.d.ts +143 -143
  30. package/dist/portable-context-base.d.ts +1 -1
  31. package/dist/portable-context-commitments.d.ts +8 -8
  32. package/dist/portable-context-continuation.d.ts +4 -4
  33. package/dist/portable-context-plan-request.d.ts +1 -1
  34. package/dist/portable-context-plan-wire.d.ts +2 -2
  35. package/dist/portable-context-plan.d.ts +5 -5
  36. package/dist/portable-context-shared.d.ts +1 -1
  37. package/dist/portable-context-transfer.d.ts +43 -34
  38. package/dist/profile-schema.d.ts +78 -60
  39. package/dist/profile-schema.js +7 -3
  40. package/dist/proxy-secrets.d.ts +12 -12
  41. package/dist/runtime-control.d.ts +5 -5
  42. package/dist/workspace-cleanup.d.ts +3 -3
  43. package/dist/workspace-fork.d.ts +4 -4
  44. package/package.json +5 -5
@@ -223,32 +223,8 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
223
223
  kind: "agent-profile-workspace-plan";
224
224
  digest: `sha256:${string}`;
225
225
  material: {
226
- proxySecrets?: {
227
- hosts: readonly string[];
228
- methods?: readonly string[] | undefined;
229
- paths?: readonly string[] | undefined;
230
- envName: string;
231
- secretRef: {
232
- kind: "secret-ref";
233
- key: string;
234
- };
235
- presentation: {
236
- type: "bearer";
237
- } | {
238
- type: "basic";
239
- username: string;
240
- } | {
241
- type: "header";
242
- name: string;
243
- } | {
244
- type: "query";
245
- name: string;
246
- };
247
- placeholderFormat?: "jwt" | "opaque" | undefined;
248
- ttlSeconds?: number | undefined;
249
- }[] | undefined;
250
226
  sourceProfileDigest: `sha256:${string}`;
251
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
227
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
252
228
  files: {
253
229
  relPath: string;
254
230
  mode: number;
@@ -258,7 +234,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
258
234
  ref: {
259
235
  kind: "secret-ref";
260
236
  key: string;
261
- format?: "bearer" | "raw" | undefined;
237
+ format?: "raw" | "bearer" | undefined;
262
238
  };
263
239
  }[] | undefined;
264
240
  root?: "agent" | undefined;
@@ -266,7 +242,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
266
242
  env: Record<string, {
267
243
  kind: "secret-ref";
268
244
  key: string;
269
- format?: "bearer" | "raw" | undefined;
245
+ format?: "raw" | "bearer" | undefined;
270
246
  } | {
271
247
  kind: "public";
272
248
  value: string;
@@ -274,11 +250,39 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
274
250
  flags: ({
275
251
  kind: "secret-ref";
276
252
  key: string;
277
- format?: "bearer" | "raw" | undefined;
253
+ format?: "raw" | "bearer" | undefined;
278
254
  } | {
279
255
  kind: "public";
280
256
  value: string;
281
257
  })[];
258
+ unsupported: {
259
+ dimension: string;
260
+ reason: string;
261
+ }[];
262
+ proxySecrets?: {
263
+ hosts: readonly string[];
264
+ envName: string;
265
+ secretRef: {
266
+ key: string;
267
+ kind: "secret-ref";
268
+ };
269
+ presentation: {
270
+ type: "bearer";
271
+ } | {
272
+ type: "basic";
273
+ username: string;
274
+ } | {
275
+ type: "header";
276
+ name: string;
277
+ } | {
278
+ type: "query";
279
+ name: string;
280
+ };
281
+ methods?: readonly string[] | undefined;
282
+ paths?: readonly string[] | undefined;
283
+ placeholderFormat?: "jwt" | "opaque" | undefined;
284
+ ttlSeconds?: number | undefined;
285
+ }[] | undefined;
282
286
  systemPrompt?: {
283
287
  kind: "public";
284
288
  value: string;
@@ -287,10 +291,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
287
291
  kind: "public";
288
292
  value: string;
289
293
  } | undefined;
290
- unsupported: {
291
- dimension: string;
292
- reason: string;
293
- }[];
294
294
  };
295
295
  artifact: {
296
296
  locator: {
@@ -319,32 +319,8 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
319
319
  kind: "agent-profile-workspace-plan";
320
320
  digest: `sha256:${string}`;
321
321
  material: {
322
- proxySecrets?: {
323
- hosts: readonly string[];
324
- methods?: readonly string[] | undefined;
325
- paths?: readonly string[] | undefined;
326
- envName: string;
327
- secretRef: {
328
- kind: "secret-ref";
329
- key: string;
330
- };
331
- presentation: {
332
- type: "bearer";
333
- } | {
334
- type: "basic";
335
- username: string;
336
- } | {
337
- type: "header";
338
- name: string;
339
- } | {
340
- type: "query";
341
- name: string;
342
- };
343
- placeholderFormat?: "jwt" | "opaque" | undefined;
344
- ttlSeconds?: number | undefined;
345
- }[] | undefined;
346
322
  sourceProfileDigest: `sha256:${string}`;
347
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
323
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
348
324
  files: {
349
325
  relPath: string;
350
326
  mode: number;
@@ -354,7 +330,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
354
330
  ref: {
355
331
  kind: "secret-ref";
356
332
  key: string;
357
- format?: "bearer" | "raw" | undefined;
333
+ format?: "raw" | "bearer" | undefined;
358
334
  };
359
335
  }[] | undefined;
360
336
  root?: "agent" | undefined;
@@ -362,7 +338,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
362
338
  env: Record<string, {
363
339
  kind: "secret-ref";
364
340
  key: string;
365
- format?: "bearer" | "raw" | undefined;
341
+ format?: "raw" | "bearer" | undefined;
366
342
  } | {
367
343
  kind: "public";
368
344
  value: string;
@@ -370,11 +346,39 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
370
346
  flags: ({
371
347
  kind: "secret-ref";
372
348
  key: string;
373
- format?: "bearer" | "raw" | undefined;
349
+ format?: "raw" | "bearer" | undefined;
374
350
  } | {
375
351
  kind: "public";
376
352
  value: string;
377
353
  })[];
354
+ unsupported: {
355
+ dimension: string;
356
+ reason: string;
357
+ }[];
358
+ proxySecrets?: {
359
+ hosts: readonly string[];
360
+ envName: string;
361
+ secretRef: {
362
+ key: string;
363
+ kind: "secret-ref";
364
+ };
365
+ presentation: {
366
+ type: "bearer";
367
+ } | {
368
+ type: "basic";
369
+ username: string;
370
+ } | {
371
+ type: "header";
372
+ name: string;
373
+ } | {
374
+ type: "query";
375
+ name: string;
376
+ };
377
+ methods?: readonly string[] | undefined;
378
+ paths?: readonly string[] | undefined;
379
+ placeholderFormat?: "jwt" | "opaque" | undefined;
380
+ ttlSeconds?: number | undefined;
381
+ }[] | undefined;
378
382
  systemPrompt?: {
379
383
  kind: "public";
380
384
  value: string;
@@ -383,10 +387,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
383
387
  kind: "public";
384
388
  value: string;
385
389
  } | undefined;
386
- unsupported: {
387
- dimension: string;
388
- reason: string;
389
- }[];
390
390
  };
391
391
  artifact: {
392
392
  locator: {
@@ -443,72 +443,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
443
443
  taskRoot: string;
444
444
  candidateRoot?: string | undefined;
445
445
  };
446
- codeKind: "disabled" | "git-patch" | "no-op";
447
- candidateWorkspace?: {
448
- kind: "agent-candidate-workspace-snapshot";
449
- digest: `sha256:${string}`;
450
- material: {
451
- kind: "agent-candidate-workspace-manifest";
452
- files: {
453
- path: string;
454
- mode: number;
455
- sha256: `sha256:${string}`;
456
- byteLength: number;
457
- }[];
458
- };
459
- manifest: {
460
- locator: {
461
- kind: "s3";
462
- bucket: string;
463
- key: string;
464
- region?: string | undefined;
465
- } | {
466
- kind: "ipfs";
467
- cid: string;
468
- path?: string | undefined;
469
- } | {
470
- kind: "private-cas";
471
- namespace: string;
472
- digest: `sha256:${string}`;
473
- };
474
- sha256: `sha256:${string}`;
475
- byteLength: number;
476
- } | {
477
- encoding: "base64";
478
- content: string;
479
- sha256: `sha256:${string}`;
480
- byteLength: number;
481
- };
482
- archive: {
483
- locator: {
484
- kind: "s3";
485
- bucket: string;
486
- key: string;
487
- region?: string | undefined;
488
- } | {
489
- kind: "ipfs";
490
- cid: string;
491
- path?: string | undefined;
492
- } | {
493
- kind: "private-cas";
494
- namespace: string;
495
- digest: `sha256:${string}`;
496
- };
497
- sha256: `sha256:${string}`;
498
- byteLength: number;
499
- } | {
500
- encoding: "base64";
501
- content: string;
502
- sha256: `sha256:${string}`;
503
- byteLength: number;
504
- };
505
- } | undefined;
446
+ codeKind: "disabled" | "no-op" | "git-patch";
506
447
  profile: {
507
448
  planDigest: `sha256:${string}`;
508
449
  targetWorkspace: "candidate" | "task";
509
450
  mountPaths: string[];
510
451
  };
511
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
452
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
512
453
  harnessVersion: string;
513
454
  instructionDelivery: {
514
455
  kind: "argv-append";
@@ -525,13 +466,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
525
466
  maxModelCalls: number;
526
467
  maxInputTokens: number;
527
468
  maxOutputTokens: number;
528
- maxTotalTokens?: number | undefined;
529
469
  maxCostUsd: number;
470
+ maxTotalTokens?: number | undefined;
530
471
  };
531
472
  container: {
532
473
  image: string;
533
474
  indexDigest: `sha256:${string}`;
534
- source: "evaluator-task-container" | "pinned-container";
475
+ source: "pinned-container" | "evaluator-task-container";
535
476
  manifestDigest: `sha256:${string}`;
536
477
  platform: {
537
478
  os: string;
@@ -546,7 +487,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
546
487
  provider: string;
547
488
  model: string;
548
489
  snapshot: string;
549
- reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
490
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
550
491
  };
551
492
  access: {
552
493
  kind: "evaluator-mediated";
@@ -579,7 +520,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
579
520
  args: ({
580
521
  kind: "secret-ref";
581
522
  key: string;
582
- format?: "bearer" | "raw" | undefined;
523
+ format?: "raw" | "bearer" | undefined;
583
524
  } | {
584
525
  kind: "public";
585
526
  value: string;
@@ -587,7 +528,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
587
528
  env: Record<string, {
588
529
  kind: "secret-ref";
589
530
  key: string;
590
- format?: "bearer" | "raw" | undefined;
531
+ format?: "raw" | "bearer" | undefined;
591
532
  } | {
592
533
  kind: "public";
593
534
  value: string;
@@ -597,7 +538,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
597
538
  path: string;
598
539
  };
599
540
  };
600
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
601
541
  memory: {
602
542
  mode: "isolated";
603
543
  scope: "task";
@@ -695,27 +635,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
695
635
  network: {
696
636
  mode: "disabled";
697
637
  };
698
- }, unknown, z.core.$ZodTypeInternals<{
699
- kind: "agent-candidate-execution-plan-material";
700
- runCell: {
701
- kind: "agent-candidate-run-cell";
702
- experimentDigest: `sha256:${string}`;
703
- arm: "baseline" | "candidate";
704
- bundleDigest: `sha256:${string}`;
705
- suiteDigest: `sha256:${string}`;
706
- taskDigest: `sha256:${string}`;
707
- taskIndex: number;
708
- repetition: number;
709
- seed: number;
710
- attempt: number;
711
- digest: `sha256:${string}`;
712
- };
713
- executionId: string;
714
- workspaces: {
715
- taskRoot: string;
716
- candidateRoot?: string | undefined;
717
- };
718
- codeKind: "disabled" | "git-patch" | "no-op";
719
638
  candidateWorkspace?: {
720
639
  kind: "agent-candidate-workspace-snapshot";
721
640
  digest: `sha256:${string}`;
@@ -775,12 +694,34 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
775
694
  byteLength: number;
776
695
  };
777
696
  } | undefined;
697
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
698
+ }, unknown, z.core.$ZodTypeInternals<{
699
+ kind: "agent-candidate-execution-plan-material";
700
+ runCell: {
701
+ kind: "agent-candidate-run-cell";
702
+ experimentDigest: `sha256:${string}`;
703
+ arm: "baseline" | "candidate";
704
+ bundleDigest: `sha256:${string}`;
705
+ suiteDigest: `sha256:${string}`;
706
+ taskDigest: `sha256:${string}`;
707
+ taskIndex: number;
708
+ repetition: number;
709
+ seed: number;
710
+ attempt: number;
711
+ digest: `sha256:${string}`;
712
+ };
713
+ executionId: string;
714
+ workspaces: {
715
+ taskRoot: string;
716
+ candidateRoot?: string | undefined;
717
+ };
718
+ codeKind: "disabled" | "no-op" | "git-patch";
778
719
  profile: {
779
720
  planDigest: `sha256:${string}`;
780
721
  targetWorkspace: "candidate" | "task";
781
722
  mountPaths: string[];
782
723
  };
783
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
724
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
784
725
  harnessVersion: string;
785
726
  instructionDelivery: {
786
727
  kind: "argv-append";
@@ -797,13 +738,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
797
738
  maxModelCalls: number;
798
739
  maxInputTokens: number;
799
740
  maxOutputTokens: number;
800
- maxTotalTokens?: number | undefined;
801
741
  maxCostUsd: number;
742
+ maxTotalTokens?: number | undefined;
802
743
  };
803
744
  container: {
804
745
  image: string;
805
746
  indexDigest: `sha256:${string}`;
806
- source: "evaluator-task-container" | "pinned-container";
747
+ source: "pinned-container" | "evaluator-task-container";
807
748
  manifestDigest: `sha256:${string}`;
808
749
  platform: {
809
750
  os: string;
@@ -818,7 +759,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
818
759
  provider: string;
819
760
  model: string;
820
761
  snapshot: string;
821
- reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
762
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
822
763
  };
823
764
  access: {
824
765
  kind: "evaluator-mediated";
@@ -851,7 +792,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
851
792
  args: ({
852
793
  kind: "secret-ref";
853
794
  key: string;
854
- format?: "bearer" | "raw" | undefined;
795
+ format?: "raw" | "bearer" | undefined;
855
796
  } | {
856
797
  kind: "public";
857
798
  value: string;
@@ -859,7 +800,7 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
859
800
  env: Record<string, {
860
801
  kind: "secret-ref";
861
802
  key: string;
862
- format?: "bearer" | "raw" | undefined;
803
+ format?: "raw" | "bearer" | undefined;
863
804
  } | {
864
805
  kind: "public";
865
806
  value: string;
@@ -869,7 +810,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
869
810
  path: string;
870
811
  };
871
812
  };
872
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
873
813
  memory: {
874
814
  mode: "isolated";
875
815
  scope: "task";
@@ -967,6 +907,66 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
967
907
  network: {
968
908
  mode: "disabled";
969
909
  };
910
+ candidateWorkspace?: {
911
+ kind: "agent-candidate-workspace-snapshot";
912
+ digest: `sha256:${string}`;
913
+ material: {
914
+ kind: "agent-candidate-workspace-manifest";
915
+ files: {
916
+ path: string;
917
+ mode: number;
918
+ sha256: `sha256:${string}`;
919
+ byteLength: number;
920
+ }[];
921
+ };
922
+ manifest: {
923
+ locator: {
924
+ kind: "s3";
925
+ bucket: string;
926
+ key: string;
927
+ region?: string | undefined;
928
+ } | {
929
+ kind: "ipfs";
930
+ cid: string;
931
+ path?: string | undefined;
932
+ } | {
933
+ kind: "private-cas";
934
+ namespace: string;
935
+ digest: `sha256:${string}`;
936
+ };
937
+ sha256: `sha256:${string}`;
938
+ byteLength: number;
939
+ } | {
940
+ encoding: "base64";
941
+ content: string;
942
+ sha256: `sha256:${string}`;
943
+ byteLength: number;
944
+ };
945
+ archive: {
946
+ locator: {
947
+ kind: "s3";
948
+ bucket: string;
949
+ key: string;
950
+ region?: string | undefined;
951
+ } | {
952
+ kind: "ipfs";
953
+ cid: string;
954
+ path?: string | undefined;
955
+ } | {
956
+ kind: "private-cas";
957
+ namespace: string;
958
+ digest: `sha256:${string}`;
959
+ };
960
+ sha256: `sha256:${string}`;
961
+ byteLength: number;
962
+ } | {
963
+ encoding: "base64";
964
+ content: string;
965
+ sha256: `sha256:${string}`;
966
+ byteLength: number;
967
+ };
968
+ } | undefined;
969
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
970
970
  }, unknown>>;
971
971
  artifact: z.ZodUnion<readonly [z.ZodObject<{
972
972
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1053,33 +1053,33 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
1053
1053
  }, z.core.$strict>>;
1054
1054
  codeKind: z.ZodEnum<{
1055
1055
  disabled: "disabled";
1056
- "git-patch": "git-patch";
1057
1056
  "no-op": "no-op";
1057
+ "git-patch": "git-patch";
1058
1058
  }>;
1059
1059
  materializedTree: z.ZodOptional<z.ZodString>;
1060
1060
  harness: z.ZodEnum<{
1061
- acp: "acp";
1062
- amp: "amp";
1063
1061
  "claude-code": "claude-code";
1064
- "cli-base": "cli-base";
1065
- codex: "codex";
1066
- cursor: "cursor";
1067
- "factory-droids": "factory-droids";
1068
- forge: "forge";
1069
- gemini: "gemini";
1070
- hermes: "hermes";
1071
- "kimi-code": "kimi-code";
1072
1062
  nanoclaw: "nanoclaw";
1073
- openclaw: "openclaw";
1063
+ codex: "codex";
1074
1064
  opencode: "opencode";
1065
+ "kimi-code": "kimi-code";
1075
1066
  pi: "pi";
1076
1067
  prime: "prime";
1068
+ gemini: "gemini";
1069
+ hermes: "hermes";
1070
+ openclaw: "openclaw";
1071
+ amp: "amp";
1072
+ "factory-droids": "factory-droids";
1073
+ forge: "forge";
1074
+ cursor: "cursor";
1075
+ acp: "acp";
1076
+ "cli-base": "cli-base";
1077
1077
  }>;
1078
1078
  harnessVersion: z.ZodString;
1079
1079
  container: z.ZodObject<{
1080
1080
  source: z.ZodEnum<{
1081
- "evaluator-task-container": "evaluator-task-container";
1082
1081
  "pinned-container": "pinned-container";
1082
+ "evaluator-task-container": "evaluator-task-container";
1083
1083
  }>;
1084
1084
  image: z.ZodString;
1085
1085
  indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -1096,13 +1096,13 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
1096
1096
  model: z.ZodString;
1097
1097
  snapshot: z.ZodString;
1098
1098
  reasoningEffort: z.ZodEnum<{
1099
- high: "high";
1099
+ none: "none";
1100
+ minimal: "minimal";
1100
1101
  low: "low";
1101
1102
  medium: "medium";
1102
- minimal: "minimal";
1103
- none: "none";
1104
- ultracode: "ultracode";
1103
+ high: "high";
1105
1104
  xhigh: "xhigh";
1105
+ ultracode: "ultracode";
1106
1106
  }>;
1107
1107
  }, z.core.$strict>;
1108
1108
  knowledgeManifestDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
@@ -1255,6 +1255,22 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1255
1255
  kind: z.ZodLiteral<"agent-candidate-model-settlement">;
1256
1256
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1257
1257
  material: z.ZodType<{
1258
+ calls: {
1259
+ callId: string;
1260
+ generationId: string;
1261
+ traceSpanId: string;
1262
+ status: "succeeded" | "failed";
1263
+ model: string;
1264
+ startedAtMs: number;
1265
+ endedAtMs: number;
1266
+ inputTokens: number;
1267
+ accountedInputTokens: number;
1268
+ outputTokens: number;
1269
+ cachedInputTokens: number;
1270
+ reasoningTokens: number;
1271
+ costUsdNanos: number;
1272
+ costProvenance: "observed" | "estimated";
1273
+ }[];
1258
1274
  kind: "agent-candidate-model-settlement-material";
1259
1275
  executionPlanDigest: `sha256:${string}`;
1260
1276
  preparationId: string;
@@ -1266,7 +1282,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1266
1282
  provider: string;
1267
1283
  model: string;
1268
1284
  snapshot: string;
1269
- reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
1285
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
1270
1286
  };
1271
1287
  usage: {
1272
1288
  inputTokens: number;
@@ -1275,13 +1291,14 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1275
1291
  reasoningTokens: number;
1276
1292
  modelCalls: number;
1277
1293
  costUsdNanos: number;
1278
- costProvenance: "estimated" | "observed";
1294
+ costProvenance: "observed" | "estimated";
1279
1295
  };
1296
+ }, unknown, z.core.$ZodTypeInternals<{
1280
1297
  calls: {
1281
1298
  callId: string;
1282
1299
  generationId: string;
1283
1300
  traceSpanId: string;
1284
- status: "failed" | "succeeded";
1301
+ status: "succeeded" | "failed";
1285
1302
  model: string;
1286
1303
  startedAtMs: number;
1287
1304
  endedAtMs: number;
@@ -1291,9 +1308,8 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1291
1308
  cachedInputTokens: number;
1292
1309
  reasoningTokens: number;
1293
1310
  costUsdNanos: number;
1294
- costProvenance: "estimated" | "observed";
1311
+ costProvenance: "observed" | "estimated";
1295
1312
  }[];
1296
- }, unknown, z.core.$ZodTypeInternals<{
1297
1313
  kind: "agent-candidate-model-settlement-material";
1298
1314
  executionPlanDigest: `sha256:${string}`;
1299
1315
  preparationId: string;
@@ -1305,7 +1321,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1305
1321
  provider: string;
1306
1322
  model: string;
1307
1323
  snapshot: string;
1308
- reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
1324
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
1309
1325
  };
1310
1326
  usage: {
1311
1327
  inputTokens: number;
@@ -1314,24 +1330,8 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1314
1330
  reasoningTokens: number;
1315
1331
  modelCalls: number;
1316
1332
  costUsdNanos: number;
1317
- costProvenance: "estimated" | "observed";
1333
+ costProvenance: "observed" | "estimated";
1318
1334
  };
1319
- calls: {
1320
- callId: string;
1321
- generationId: string;
1322
- traceSpanId: string;
1323
- status: "failed" | "succeeded";
1324
- model: string;
1325
- startedAtMs: number;
1326
- endedAtMs: number;
1327
- inputTokens: number;
1328
- accountedInputTokens: number;
1329
- outputTokens: number;
1330
- cachedInputTokens: number;
1331
- reasoningTokens: number;
1332
- costUsdNanos: number;
1333
- costProvenance: "estimated" | "observed";
1334
- }[];
1335
1335
  }, unknown>>;
1336
1336
  artifact: z.ZodUnion<readonly [z.ZodObject<{
1337
1337
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1685,7 +1685,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1685
1685
  reasoningTokens: number;
1686
1686
  modelCalls: number;
1687
1687
  costUsdNanos: number;
1688
- costProvenance: "estimated" | "observed";
1688
+ costProvenance: "observed" | "estimated";
1689
1689
  };
1690
1690
  timing: {
1691
1691
  startedAtMs: number;
@@ -1752,7 +1752,7 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
1752
1752
  reasoningTokens: number;
1753
1753
  modelCalls: number;
1754
1754
  costUsdNanos: number;
1755
- costProvenance: "estimated" | "observed";
1755
+ costProvenance: "observed" | "estimated";
1756
1756
  };
1757
1757
  timing: {
1758
1758
  startedAtMs: number;