@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
@@ -11,13 +11,13 @@ export declare const agentCandidateResolvedModelSchema: z.ZodObject<{
11
11
  model: z.ZodString;
12
12
  snapshot: z.ZodString;
13
13
  reasoningEffort: z.ZodEnum<{
14
- high: "high";
14
+ none: "none";
15
+ minimal: "minimal";
15
16
  low: "low";
16
17
  medium: "medium";
17
- minimal: "minimal";
18
- none: "none";
19
- ultracode: "ultracode";
18
+ high: "high";
20
19
  xhigh: "xhigh";
20
+ ultracode: "ultracode";
21
21
  }>;
22
22
  }, z.core.$strict>;
23
23
  export declare const agentCandidateBenchmarkGraderIdentitySchema: z.ZodObject<{
@@ -71,8 +71,8 @@ export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
71
71
  paths: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
72
72
  envName: z.ZodString;
73
73
  secretRef: z.ZodObject<{
74
- kind: z.ZodLiteral<"secret-ref">;
75
74
  key: z.ZodString;
75
+ kind: z.ZodLiteral<"secret-ref">;
76
76
  }, z.core.$strict>;
77
77
  presentation: z.ZodDiscriminatedUnion<[z.ZodObject<{
78
78
  type: z.ZodLiteral<"bearer">;
@@ -94,22 +94,22 @@ export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
94
94
  }, z.core.$strict>>>;
95
95
  sourceProfileDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
96
96
  harness: z.ZodEnum<{
97
- acp: "acp";
98
- amp: "amp";
99
97
  "claude-code": "claude-code";
100
- "cli-base": "cli-base";
101
- codex: "codex";
102
- cursor: "cursor";
103
- "factory-droids": "factory-droids";
104
- forge: "forge";
105
- gemini: "gemini";
106
- hermes: "hermes";
107
- "kimi-code": "kimi-code";
108
98
  nanoclaw: "nanoclaw";
109
- openclaw: "openclaw";
99
+ codex: "codex";
110
100
  opencode: "opencode";
101
+ "kimi-code": "kimi-code";
111
102
  pi: "pi";
112
103
  prime: "prime";
104
+ gemini: "gemini";
105
+ hermes: "hermes";
106
+ openclaw: "openclaw";
107
+ amp: "amp";
108
+ "factory-droids": "factory-droids";
109
+ forge: "forge";
110
+ cursor: "cursor";
111
+ acp: "acp";
112
+ "cli-base": "cli-base";
113
113
  }>;
114
114
  files: z.ZodArray<z.ZodObject<{
115
115
  relPath: z.ZodString;
@@ -121,8 +121,8 @@ export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
121
121
  kind: z.ZodLiteral<"secret-ref">;
122
122
  key: z.ZodString;
123
123
  format: z.ZodOptional<z.ZodEnum<{
124
- bearer: "bearer";
125
124
  raw: "raw";
125
+ bearer: "bearer";
126
126
  }>>;
127
127
  }, z.core.$strict>;
128
128
  }, z.core.$strict>>>;
@@ -135,8 +135,8 @@ export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
135
135
  kind: z.ZodLiteral<"secret-ref">;
136
136
  key: z.ZodString;
137
137
  format: z.ZodOptional<z.ZodEnum<{
138
- bearer: "bearer";
139
138
  raw: "raw";
139
+ bearer: "bearer";
140
140
  }>>;
141
141
  }, z.core.$strict>], "kind">>;
142
142
  flags: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -146,8 +146,8 @@ export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
146
146
  kind: z.ZodLiteral<"secret-ref">;
147
147
  key: z.ZodString;
148
148
  format: z.ZodOptional<z.ZodEnum<{
149
- bearer: "bearer";
150
149
  raw: "raw";
150
+ bearer: "bearer";
151
151
  }>>;
152
152
  }, z.core.$strict>], "kind">>;
153
153
  systemPrompt: z.ZodOptional<z.ZodObject<{
@@ -334,8 +334,8 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
334
334
  }, z.core.$strict>;
335
335
  codeKind: z.ZodEnum<{
336
336
  disabled: "disabled";
337
- "git-patch": "git-patch";
338
337
  "no-op": "no-op";
338
+ "git-patch": "git-patch";
339
339
  }>;
340
340
  candidateWorkspace: z.ZodOptional<z.ZodObject<{
341
341
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
@@ -405,22 +405,22 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
405
405
  mountPaths: z.ZodArray<z.ZodString>;
406
406
  }, z.core.$strict>;
407
407
  harness: z.ZodEnum<{
408
- acp: "acp";
409
- amp: "amp";
410
408
  "claude-code": "claude-code";
411
- "cli-base": "cli-base";
412
- codex: "codex";
413
- cursor: "cursor";
414
- "factory-droids": "factory-droids";
415
- forge: "forge";
416
- gemini: "gemini";
417
- hermes: "hermes";
418
- "kimi-code": "kimi-code";
419
409
  nanoclaw: "nanoclaw";
420
- openclaw: "openclaw";
410
+ codex: "codex";
421
411
  opencode: "opencode";
412
+ "kimi-code": "kimi-code";
422
413
  pi: "pi";
423
414
  prime: "prime";
415
+ gemini: "gemini";
416
+ hermes: "hermes";
417
+ openclaw: "openclaw";
418
+ amp: "amp";
419
+ "factory-droids": "factory-droids";
420
+ forge: "forge";
421
+ cursor: "cursor";
422
+ acp: "acp";
423
+ "cli-base": "cli-base";
424
424
  }>;
425
425
  harnessVersion: z.ZodString;
426
426
  instructionDelivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -445,8 +445,8 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
445
445
  image: z.ZodString;
446
446
  indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
447
447
  source: z.ZodEnum<{
448
- "evaluator-task-container": "evaluator-task-container";
449
448
  "pinned-container": "pinned-container";
449
+ "evaluator-task-container": "evaluator-task-container";
450
450
  }>;
451
451
  manifestDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
452
452
  platform: z.ZodObject<{
@@ -463,13 +463,13 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
463
463
  model: z.ZodString;
464
464
  snapshot: z.ZodString;
465
465
  reasoningEffort: z.ZodEnum<{
466
- high: "high";
466
+ none: "none";
467
+ minimal: "minimal";
467
468
  low: "low";
468
469
  medium: "medium";
469
- minimal: "minimal";
470
- none: "none";
471
- ultracode: "ultracode";
470
+ high: "high";
472
471
  xhigh: "xhigh";
472
+ ultracode: "ultracode";
473
473
  }>;
474
474
  }, z.core.$strict>;
475
475
  access: z.ZodObject<{
@@ -507,8 +507,8 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
507
507
  kind: z.ZodLiteral<"secret-ref">;
508
508
  key: z.ZodString;
509
509
  format: z.ZodOptional<z.ZodEnum<{
510
- bearer: "bearer";
511
510
  raw: "raw";
511
+ bearer: "bearer";
512
512
  }>>;
513
513
  }, z.core.$strict>], "kind">>;
514
514
  env: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -518,8 +518,8 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
518
518
  kind: z.ZodLiteral<"secret-ref">;
519
519
  key: z.ZodString;
520
520
  format: z.ZodOptional<z.ZodEnum<{
521
- bearer: "bearer";
522
521
  raw: "raw";
522
+ bearer: "bearer";
523
523
  }>>;
524
524
  }, z.core.$strict>], "kind">>;
525
525
  cwd: z.ZodObject<{
@@ -633,32 +633,8 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
633
633
  kind: z.ZodLiteral<"agent-profile-workspace-plan">;
634
634
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
635
635
  material: z.ZodType<{
636
- proxySecrets?: {
637
- hosts: readonly string[];
638
- methods?: readonly string[] | undefined;
639
- paths?: readonly string[] | undefined;
640
- envName: string;
641
- secretRef: {
642
- kind: "secret-ref";
643
- key: string;
644
- };
645
- presentation: {
646
- type: "bearer";
647
- } | {
648
- type: "basic";
649
- username: string;
650
- } | {
651
- type: "header";
652
- name: string;
653
- } | {
654
- type: "query";
655
- name: string;
656
- };
657
- placeholderFormat?: "jwt" | "opaque" | undefined;
658
- ttlSeconds?: number | undefined;
659
- }[] | undefined;
660
636
  sourceProfileDigest: `sha256:${string}`;
661
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
637
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
662
638
  files: {
663
639
  relPath: string;
664
640
  mode: number;
@@ -668,7 +644,7 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
668
644
  ref: {
669
645
  kind: "secret-ref";
670
646
  key: string;
671
- format?: "bearer" | "raw" | undefined;
647
+ format?: "raw" | "bearer" | undefined;
672
648
  };
673
649
  }[] | undefined;
674
650
  root?: "agent" | undefined;
@@ -676,7 +652,7 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
676
652
  env: Record<string, {
677
653
  kind: "secret-ref";
678
654
  key: string;
679
- format?: "bearer" | "raw" | undefined;
655
+ format?: "raw" | "bearer" | undefined;
680
656
  } | {
681
657
  kind: "public";
682
658
  value: string;
@@ -684,32 +660,21 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
684
660
  flags: ({
685
661
  kind: "secret-ref";
686
662
  key: string;
687
- format?: "bearer" | "raw" | undefined;
663
+ format?: "raw" | "bearer" | undefined;
688
664
  } | {
689
665
  kind: "public";
690
666
  value: string;
691
667
  })[];
692
- systemPrompt?: {
693
- kind: "public";
694
- value: string;
695
- } | undefined;
696
- appendSystemPrompt?: {
697
- kind: "public";
698
- value: string;
699
- } | undefined;
700
668
  unsupported: {
701
669
  dimension: string;
702
670
  reason: string;
703
671
  }[];
704
- }, unknown, z.core.$ZodTypeInternals<{
705
672
  proxySecrets?: {
706
673
  hosts: readonly string[];
707
- methods?: readonly string[] | undefined;
708
- paths?: readonly string[] | undefined;
709
674
  envName: string;
710
675
  secretRef: {
711
- kind: "secret-ref";
712
676
  key: string;
677
+ kind: "secret-ref";
713
678
  };
714
679
  presentation: {
715
680
  type: "bearer";
@@ -723,11 +688,22 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
723
688
  type: "query";
724
689
  name: string;
725
690
  };
691
+ methods?: readonly string[] | undefined;
692
+ paths?: readonly string[] | undefined;
726
693
  placeholderFormat?: "jwt" | "opaque" | undefined;
727
694
  ttlSeconds?: number | undefined;
728
695
  }[] | undefined;
696
+ systemPrompt?: {
697
+ kind: "public";
698
+ value: string;
699
+ } | undefined;
700
+ appendSystemPrompt?: {
701
+ kind: "public";
702
+ value: string;
703
+ } | undefined;
704
+ }, unknown, z.core.$ZodTypeInternals<{
729
705
  sourceProfileDigest: `sha256:${string}`;
730
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
706
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
731
707
  files: {
732
708
  relPath: string;
733
709
  mode: number;
@@ -737,7 +713,7 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
737
713
  ref: {
738
714
  kind: "secret-ref";
739
715
  key: string;
740
- format?: "bearer" | "raw" | undefined;
716
+ format?: "raw" | "bearer" | undefined;
741
717
  };
742
718
  }[] | undefined;
743
719
  root?: "agent" | undefined;
@@ -745,7 +721,7 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
745
721
  env: Record<string, {
746
722
  kind: "secret-ref";
747
723
  key: string;
748
- format?: "bearer" | "raw" | undefined;
724
+ format?: "raw" | "bearer" | undefined;
749
725
  } | {
750
726
  kind: "public";
751
727
  value: string;
@@ -753,11 +729,39 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
753
729
  flags: ({
754
730
  kind: "secret-ref";
755
731
  key: string;
756
- format?: "bearer" | "raw" | undefined;
732
+ format?: "raw" | "bearer" | undefined;
757
733
  } | {
758
734
  kind: "public";
759
735
  value: string;
760
736
  })[];
737
+ unsupported: {
738
+ dimension: string;
739
+ reason: string;
740
+ }[];
741
+ proxySecrets?: {
742
+ hosts: readonly string[];
743
+ envName: string;
744
+ secretRef: {
745
+ key: string;
746
+ kind: "secret-ref";
747
+ };
748
+ presentation: {
749
+ type: "bearer";
750
+ } | {
751
+ type: "basic";
752
+ username: string;
753
+ } | {
754
+ type: "header";
755
+ name: string;
756
+ } | {
757
+ type: "query";
758
+ name: string;
759
+ };
760
+ methods?: readonly string[] | undefined;
761
+ paths?: readonly string[] | undefined;
762
+ placeholderFormat?: "jwt" | "opaque" | undefined;
763
+ ttlSeconds?: number | undefined;
764
+ }[] | undefined;
761
765
  systemPrompt?: {
762
766
  kind: "public";
763
767
  value: string;
@@ -766,10 +770,6 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
766
770
  kind: "public";
767
771
  value: string;
768
772
  } | undefined;
769
- unsupported: {
770
- dimension: string;
771
- reason: string;
772
- }[];
773
773
  }, unknown>>;
774
774
  artifact: z.ZodUnion<readonly [z.ZodObject<{
775
775
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -800,32 +800,8 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
800
800
  kind: "agent-profile-workspace-plan";
801
801
  digest: `sha256:${string}`;
802
802
  material: {
803
- proxySecrets?: {
804
- hosts: readonly string[];
805
- methods?: readonly string[] | undefined;
806
- paths?: readonly string[] | undefined;
807
- envName: string;
808
- secretRef: {
809
- kind: "secret-ref";
810
- key: string;
811
- };
812
- presentation: {
813
- type: "bearer";
814
- } | {
815
- type: "basic";
816
- username: string;
817
- } | {
818
- type: "header";
819
- name: string;
820
- } | {
821
- type: "query";
822
- name: string;
823
- };
824
- placeholderFormat?: "jwt" | "opaque" | undefined;
825
- ttlSeconds?: number | undefined;
826
- }[] | undefined;
827
803
  sourceProfileDigest: `sha256:${string}`;
828
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
804
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
829
805
  files: {
830
806
  relPath: string;
831
807
  mode: number;
@@ -835,7 +811,7 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
835
811
  ref: {
836
812
  kind: "secret-ref";
837
813
  key: string;
838
- format?: "bearer" | "raw" | undefined;
814
+ format?: "raw" | "bearer" | undefined;
839
815
  };
840
816
  }[] | undefined;
841
817
  root?: "agent" | undefined;
@@ -843,7 +819,7 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
843
819
  env: Record<string, {
844
820
  kind: "secret-ref";
845
821
  key: string;
846
- format?: "bearer" | "raw" | undefined;
822
+ format?: "raw" | "bearer" | undefined;
847
823
  } | {
848
824
  kind: "public";
849
825
  value: string;
@@ -851,11 +827,39 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
851
827
  flags: ({
852
828
  kind: "secret-ref";
853
829
  key: string;
854
- format?: "bearer" | "raw" | undefined;
830
+ format?: "raw" | "bearer" | undefined;
855
831
  } | {
856
832
  kind: "public";
857
833
  value: string;
858
834
  })[];
835
+ unsupported: {
836
+ dimension: string;
837
+ reason: string;
838
+ }[];
839
+ proxySecrets?: {
840
+ hosts: readonly string[];
841
+ envName: string;
842
+ secretRef: {
843
+ key: string;
844
+ kind: "secret-ref";
845
+ };
846
+ presentation: {
847
+ type: "bearer";
848
+ } | {
849
+ type: "basic";
850
+ username: string;
851
+ } | {
852
+ type: "header";
853
+ name: string;
854
+ } | {
855
+ type: "query";
856
+ name: string;
857
+ };
858
+ methods?: readonly string[] | undefined;
859
+ paths?: readonly string[] | undefined;
860
+ placeholderFormat?: "jwt" | "opaque" | undefined;
861
+ ttlSeconds?: number | undefined;
862
+ }[] | undefined;
859
863
  systemPrompt?: {
860
864
  kind: "public";
861
865
  value: string;
@@ -864,10 +868,6 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
864
868
  kind: "public";
865
869
  value: string;
866
870
  } | undefined;
867
- unsupported: {
868
- dimension: string;
869
- reason: string;
870
- }[];
871
871
  };
872
872
  artifact: {
873
873
  locator: {
@@ -896,32 +896,8 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
896
896
  kind: "agent-profile-workspace-plan";
897
897
  digest: `sha256:${string}`;
898
898
  material: {
899
- proxySecrets?: {
900
- hosts: readonly string[];
901
- methods?: readonly string[] | undefined;
902
- paths?: readonly string[] | undefined;
903
- envName: string;
904
- secretRef: {
905
- kind: "secret-ref";
906
- key: string;
907
- };
908
- presentation: {
909
- type: "bearer";
910
- } | {
911
- type: "basic";
912
- username: string;
913
- } | {
914
- type: "header";
915
- name: string;
916
- } | {
917
- type: "query";
918
- name: string;
919
- };
920
- placeholderFormat?: "jwt" | "opaque" | undefined;
921
- ttlSeconds?: number | undefined;
922
- }[] | undefined;
923
899
  sourceProfileDigest: `sha256:${string}`;
924
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
900
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
925
901
  files: {
926
902
  relPath: string;
927
903
  mode: number;
@@ -931,7 +907,7 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
931
907
  ref: {
932
908
  kind: "secret-ref";
933
909
  key: string;
934
- format?: "bearer" | "raw" | undefined;
910
+ format?: "raw" | "bearer" | undefined;
935
911
  };
936
912
  }[] | undefined;
937
913
  root?: "agent" | undefined;
@@ -939,7 +915,7 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
939
915
  env: Record<string, {
940
916
  kind: "secret-ref";
941
917
  key: string;
942
- format?: "bearer" | "raw" | undefined;
918
+ format?: "raw" | "bearer" | undefined;
943
919
  } | {
944
920
  kind: "public";
945
921
  value: string;
@@ -947,11 +923,39 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
947
923
  flags: ({
948
924
  kind: "secret-ref";
949
925
  key: string;
950
- format?: "bearer" | "raw" | undefined;
926
+ format?: "raw" | "bearer" | undefined;
951
927
  } | {
952
928
  kind: "public";
953
929
  value: string;
954
930
  })[];
931
+ unsupported: {
932
+ dimension: string;
933
+ reason: string;
934
+ }[];
935
+ proxySecrets?: {
936
+ hosts: readonly string[];
937
+ envName: string;
938
+ secretRef: {
939
+ key: string;
940
+ kind: "secret-ref";
941
+ };
942
+ presentation: {
943
+ type: "bearer";
944
+ } | {
945
+ type: "basic";
946
+ username: string;
947
+ } | {
948
+ type: "header";
949
+ name: string;
950
+ } | {
951
+ type: "query";
952
+ name: string;
953
+ };
954
+ methods?: readonly string[] | undefined;
955
+ paths?: readonly string[] | undefined;
956
+ placeholderFormat?: "jwt" | "opaque" | undefined;
957
+ ttlSeconds?: number | undefined;
958
+ }[] | undefined;
955
959
  systemPrompt?: {
956
960
  kind: "public";
957
961
  value: string;
@@ -960,10 +964,6 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
960
964
  kind: "public";
961
965
  value: string;
962
966
  } | undefined;
963
- unsupported: {
964
- dimension: string;
965
- reason: string;
966
- }[];
967
967
  };
968
968
  artifact: {
969
969
  locator: {
@@ -1020,72 +1020,13 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1020
1020
  taskRoot: string;
1021
1021
  candidateRoot?: string | undefined;
1022
1022
  };
1023
- codeKind: "disabled" | "git-patch" | "no-op";
1024
- candidateWorkspace?: {
1025
- kind: "agent-candidate-workspace-snapshot";
1026
- digest: `sha256:${string}`;
1027
- material: {
1028
- kind: "agent-candidate-workspace-manifest";
1029
- files: {
1030
- path: string;
1031
- mode: number;
1032
- sha256: `sha256:${string}`;
1033
- byteLength: number;
1034
- }[];
1035
- };
1036
- manifest: {
1037
- locator: {
1038
- kind: "s3";
1039
- bucket: string;
1040
- key: string;
1041
- region?: string | undefined;
1042
- } | {
1043
- kind: "ipfs";
1044
- cid: string;
1045
- path?: string | undefined;
1046
- } | {
1047
- kind: "private-cas";
1048
- namespace: string;
1049
- digest: `sha256:${string}`;
1050
- };
1051
- sha256: `sha256:${string}`;
1052
- byteLength: number;
1053
- } | {
1054
- encoding: "base64";
1055
- content: string;
1056
- sha256: `sha256:${string}`;
1057
- byteLength: number;
1058
- };
1059
- archive: {
1060
- locator: {
1061
- kind: "s3";
1062
- bucket: string;
1063
- key: string;
1064
- region?: string | undefined;
1065
- } | {
1066
- kind: "ipfs";
1067
- cid: string;
1068
- path?: string | undefined;
1069
- } | {
1070
- kind: "private-cas";
1071
- namespace: string;
1072
- digest: `sha256:${string}`;
1073
- };
1074
- sha256: `sha256:${string}`;
1075
- byteLength: number;
1076
- } | {
1077
- encoding: "base64";
1078
- content: string;
1079
- sha256: `sha256:${string}`;
1080
- byteLength: number;
1081
- };
1082
- } | undefined;
1023
+ codeKind: "disabled" | "no-op" | "git-patch";
1083
1024
  profile: {
1084
1025
  planDigest: `sha256:${string}`;
1085
1026
  targetWorkspace: "candidate" | "task";
1086
1027
  mountPaths: string[];
1087
1028
  };
1088
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
1029
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
1089
1030
  harnessVersion: string;
1090
1031
  instructionDelivery: {
1091
1032
  kind: "argv-append";
@@ -1102,13 +1043,13 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1102
1043
  maxModelCalls: number;
1103
1044
  maxInputTokens: number;
1104
1045
  maxOutputTokens: number;
1105
- maxTotalTokens?: number | undefined;
1106
1046
  maxCostUsd: number;
1047
+ maxTotalTokens?: number | undefined;
1107
1048
  };
1108
1049
  container: {
1109
1050
  image: string;
1110
1051
  indexDigest: `sha256:${string}`;
1111
- source: "evaluator-task-container" | "pinned-container";
1052
+ source: "pinned-container" | "evaluator-task-container";
1112
1053
  manifestDigest: `sha256:${string}`;
1113
1054
  platform: {
1114
1055
  os: string;
@@ -1123,7 +1064,7 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1123
1064
  provider: string;
1124
1065
  model: string;
1125
1066
  snapshot: string;
1126
- reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
1067
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
1127
1068
  };
1128
1069
  access: {
1129
1070
  kind: "evaluator-mediated";
@@ -1156,7 +1097,7 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1156
1097
  args: ({
1157
1098
  kind: "secret-ref";
1158
1099
  key: string;
1159
- format?: "bearer" | "raw" | undefined;
1100
+ format?: "raw" | "bearer" | undefined;
1160
1101
  } | {
1161
1102
  kind: "public";
1162
1103
  value: string;
@@ -1164,7 +1105,7 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1164
1105
  env: Record<string, {
1165
1106
  kind: "secret-ref";
1166
1107
  key: string;
1167
- format?: "bearer" | "raw" | undefined;
1108
+ format?: "raw" | "bearer" | undefined;
1168
1109
  } | {
1169
1110
  kind: "public";
1170
1111
  value: string;
@@ -1174,7 +1115,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1174
1115
  path: string;
1175
1116
  };
1176
1117
  };
1177
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
1178
1118
  memory: {
1179
1119
  mode: "isolated";
1180
1120
  scope: "task";
@@ -1272,27 +1212,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1272
1212
  network: {
1273
1213
  mode: "disabled";
1274
1214
  };
1275
- }, unknown, z.core.$ZodTypeInternals<{
1276
- kind: "agent-candidate-execution-plan-material";
1277
- runCell: {
1278
- kind: "agent-candidate-run-cell";
1279
- experimentDigest: `sha256:${string}`;
1280
- arm: "baseline" | "candidate";
1281
- bundleDigest: `sha256:${string}`;
1282
- suiteDigest: `sha256:${string}`;
1283
- taskDigest: `sha256:${string}`;
1284
- taskIndex: number;
1285
- repetition: number;
1286
- seed: number;
1287
- attempt: number;
1288
- digest: `sha256:${string}`;
1289
- };
1290
- executionId: string;
1291
- workspaces: {
1292
- taskRoot: string;
1293
- candidateRoot?: string | undefined;
1294
- };
1295
- codeKind: "disabled" | "git-patch" | "no-op";
1296
1215
  candidateWorkspace?: {
1297
1216
  kind: "agent-candidate-workspace-snapshot";
1298
1217
  digest: `sha256:${string}`;
@@ -1352,12 +1271,34 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1352
1271
  byteLength: number;
1353
1272
  };
1354
1273
  } | undefined;
1274
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
1275
+ }, unknown, z.core.$ZodTypeInternals<{
1276
+ kind: "agent-candidate-execution-plan-material";
1277
+ runCell: {
1278
+ kind: "agent-candidate-run-cell";
1279
+ experimentDigest: `sha256:${string}`;
1280
+ arm: "baseline" | "candidate";
1281
+ bundleDigest: `sha256:${string}`;
1282
+ suiteDigest: `sha256:${string}`;
1283
+ taskDigest: `sha256:${string}`;
1284
+ taskIndex: number;
1285
+ repetition: number;
1286
+ seed: number;
1287
+ attempt: number;
1288
+ digest: `sha256:${string}`;
1289
+ };
1290
+ executionId: string;
1291
+ workspaces: {
1292
+ taskRoot: string;
1293
+ candidateRoot?: string | undefined;
1294
+ };
1295
+ codeKind: "disabled" | "no-op" | "git-patch";
1355
1296
  profile: {
1356
1297
  planDigest: `sha256:${string}`;
1357
1298
  targetWorkspace: "candidate" | "task";
1358
1299
  mountPaths: string[];
1359
1300
  };
1360
- harness: "acp" | "amp" | "claude-code" | "cli-base" | "codex" | "cursor" | "factory-droids" | "forge" | "gemini" | "hermes" | "kimi-code" | "nanoclaw" | "openclaw" | "opencode" | "pi" | "prime";
1301
+ harness: "claude-code" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "pi" | "prime" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "forge" | "cursor" | "acp" | "cli-base";
1361
1302
  harnessVersion: string;
1362
1303
  instructionDelivery: {
1363
1304
  kind: "argv-append";
@@ -1374,13 +1315,13 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1374
1315
  maxModelCalls: number;
1375
1316
  maxInputTokens: number;
1376
1317
  maxOutputTokens: number;
1377
- maxTotalTokens?: number | undefined;
1378
1318
  maxCostUsd: number;
1319
+ maxTotalTokens?: number | undefined;
1379
1320
  };
1380
1321
  container: {
1381
1322
  image: string;
1382
1323
  indexDigest: `sha256:${string}`;
1383
- source: "evaluator-task-container" | "pinned-container";
1324
+ source: "pinned-container" | "evaluator-task-container";
1384
1325
  manifestDigest: `sha256:${string}`;
1385
1326
  platform: {
1386
1327
  os: string;
@@ -1395,7 +1336,7 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1395
1336
  provider: string;
1396
1337
  model: string;
1397
1338
  snapshot: string;
1398
- reasoningEffort: "high" | "low" | "medium" | "minimal" | "none" | "ultracode" | "xhigh";
1339
+ reasoningEffort: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "ultracode";
1399
1340
  };
1400
1341
  access: {
1401
1342
  kind: "evaluator-mediated";
@@ -1428,7 +1369,7 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1428
1369
  args: ({
1429
1370
  kind: "secret-ref";
1430
1371
  key: string;
1431
- format?: "bearer" | "raw" | undefined;
1372
+ format?: "raw" | "bearer" | undefined;
1432
1373
  } | {
1433
1374
  kind: "public";
1434
1375
  value: string;
@@ -1436,7 +1377,7 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1436
1377
  env: Record<string, {
1437
1378
  kind: "secret-ref";
1438
1379
  key: string;
1439
- format?: "bearer" | "raw" | undefined;
1380
+ format?: "raw" | "bearer" | undefined;
1440
1381
  } | {
1441
1382
  kind: "public";
1442
1383
  value: string;
@@ -1446,7 +1387,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1446
1387
  path: string;
1447
1388
  };
1448
1389
  };
1449
- knowledgeManifestDigest?: `sha256:${string}` | undefined;
1450
1390
  memory: {
1451
1391
  mode: "isolated";
1452
1392
  scope: "task";
@@ -1544,6 +1484,66 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1544
1484
  network: {
1545
1485
  mode: "disabled";
1546
1486
  };
1487
+ candidateWorkspace?: {
1488
+ kind: "agent-candidate-workspace-snapshot";
1489
+ digest: `sha256:${string}`;
1490
+ material: {
1491
+ kind: "agent-candidate-workspace-manifest";
1492
+ files: {
1493
+ path: string;
1494
+ mode: number;
1495
+ sha256: `sha256:${string}`;
1496
+ byteLength: number;
1497
+ }[];
1498
+ };
1499
+ manifest: {
1500
+ locator: {
1501
+ kind: "s3";
1502
+ bucket: string;
1503
+ key: string;
1504
+ region?: string | undefined;
1505
+ } | {
1506
+ kind: "ipfs";
1507
+ cid: string;
1508
+ path?: string | undefined;
1509
+ } | {
1510
+ kind: "private-cas";
1511
+ namespace: string;
1512
+ digest: `sha256:${string}`;
1513
+ };
1514
+ sha256: `sha256:${string}`;
1515
+ byteLength: number;
1516
+ } | {
1517
+ encoding: "base64";
1518
+ content: string;
1519
+ sha256: `sha256:${string}`;
1520
+ byteLength: number;
1521
+ };
1522
+ archive: {
1523
+ locator: {
1524
+ kind: "s3";
1525
+ bucket: string;
1526
+ key: string;
1527
+ region?: string | undefined;
1528
+ } | {
1529
+ kind: "ipfs";
1530
+ cid: string;
1531
+ path?: string | undefined;
1532
+ } | {
1533
+ kind: "private-cas";
1534
+ namespace: string;
1535
+ digest: `sha256:${string}`;
1536
+ };
1537
+ sha256: `sha256:${string}`;
1538
+ byteLength: number;
1539
+ } | {
1540
+ encoding: "base64";
1541
+ content: string;
1542
+ sha256: `sha256:${string}`;
1543
+ byteLength: number;
1544
+ };
1545
+ } | undefined;
1546
+ knowledgeManifestDigest?: `sha256:${string}` | undefined;
1547
1547
  }, unknown>>;
1548
1548
  artifact: z.ZodUnion<readonly [z.ZodObject<{
1549
1549
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{