@tangle-network/agent-interface 5.10.23 → 5.10.25

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 (35) hide show
  1. package/README.md +30 -0
  2. package/dist/agent-candidate-code-schema.d.ts +7 -7
  3. package/dist/agent-candidate-execution-plan-schema.d.ts +21 -21
  4. package/dist/agent-candidate-profile-schema.d.ts +4 -4
  5. package/dist/agent-candidate-promotion-schema.d.ts +155 -80
  6. package/dist/agent-candidate-receipt-schema.d.ts +10 -10
  7. package/dist/agent-candidate-schema-common.d.ts +3 -3
  8. package/dist/agent-candidate-schema.d.ts +5 -5
  9. package/dist/agent-execution-preparation-receipt.d.ts +4 -2
  10. package/dist/agent-profile-improvement-schema.d.ts +469 -0
  11. package/dist/agent-profile-improvement-schema.js +116 -16
  12. package/dist/agent-profile-improvement.d.ts +34 -6
  13. package/dist/agent-profile-materialization.d.ts +1 -1
  14. package/dist/agent-profile-materialization.js +3 -0
  15. package/dist/agent-profile.d.ts +3 -0
  16. package/dist/agent-profile.js +0 -13
  17. package/dist/environment-interactive-control.d.ts +20 -10
  18. package/dist/environment-interactive-start.d.ts +6 -2
  19. package/dist/environment-observation.d.ts +3 -3
  20. package/dist/environment-provider.d.ts +1 -0
  21. package/dist/environment-provider.js +1 -0
  22. package/dist/environment-retained-file.d.ts +124 -0
  23. package/dist/environment-retained-file.js +37 -0
  24. package/dist/environment-runtime.d.ts +23 -6
  25. package/dist/environment-runtime.js +1 -0
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.js +1 -0
  28. package/dist/portable-context-transfer.d.ts +6 -2
  29. package/dist/profile-diff.d.ts +2 -1
  30. package/dist/profile-diff.js +3 -0
  31. package/dist/profile-file-output.d.ts +10 -0
  32. package/dist/profile-file-output.js +8 -0
  33. package/dist/profile-schema.d.ts +15 -10
  34. package/dist/profile-schema.js +3 -0
  35. package/package.json +1 -1
@@ -566,8 +566,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
566
566
  kind: z.ZodLiteral<"secret-ref">;
567
567
  key: z.ZodString;
568
568
  format: z.ZodOptional<z.ZodEnum<{
569
- raw: "raw";
570
569
  bearer: "bearer";
570
+ raw: "raw";
571
571
  }>>;
572
572
  }, z.core.$strict>], "kind">>>;
573
573
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -580,8 +580,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
580
580
  kind: z.ZodLiteral<"secret-ref">;
581
581
  key: z.ZodString;
582
582
  format: z.ZodOptional<z.ZodEnum<{
583
- raw: "raw";
584
583
  bearer: "bearer";
584
+ raw: "raw";
585
585
  }>>;
586
586
  }, z.core.$strict>], "kind">>>;
587
587
  }, z.core.$strict>>>>;
@@ -664,8 +664,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
664
664
  kind: z.ZodLiteral<"secret-ref">;
665
665
  key: z.ZodString;
666
666
  format: z.ZodOptional<z.ZodEnum<{
667
- raw: "raw";
668
667
  bearer: "bearer";
668
+ raw: "raw";
669
669
  }>>;
670
670
  }, z.core.$strict>], "kind">>>;
671
671
  }, z.core.$strict>, z.ZodObject<{
@@ -687,8 +687,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
687
687
  kind: z.ZodLiteral<"secret-ref">;
688
688
  key: z.ZodString;
689
689
  format: z.ZodOptional<z.ZodEnum<{
690
- raw: "raw";
691
690
  bearer: "bearer";
691
+ raw: "raw";
692
692
  }>>;
693
693
  }, z.core.$strict>], "kind">>>;
694
694
  }, z.core.$strict>], "kind">;
@@ -715,8 +715,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
715
715
  kind: z.ZodLiteral<"secret-ref">;
716
716
  key: z.ZodString;
717
717
  format: z.ZodOptional<z.ZodEnum<{
718
- raw: "raw";
719
718
  bearer: "bearer";
719
+ raw: "raw";
720
720
  }>>;
721
721
  }, z.core.$strict>], "kind">>>;
722
722
  environment: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1503,8 +1503,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1503
1503
  kind: z.ZodLiteral<"secret-ref">;
1504
1504
  key: z.ZodString;
1505
1505
  format: z.ZodOptional<z.ZodEnum<{
1506
- raw: "raw";
1507
1506
  bearer: "bearer";
1507
+ raw: "raw";
1508
1508
  }>>;
1509
1509
  }, z.core.$strict>], "kind">>>;
1510
1510
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -1517,8 +1517,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1517
1517
  kind: z.ZodLiteral<"secret-ref">;
1518
1518
  key: z.ZodString;
1519
1519
  format: z.ZodOptional<z.ZodEnum<{
1520
- raw: "raw";
1521
1520
  bearer: "bearer";
1521
+ raw: "raw";
1522
1522
  }>>;
1523
1523
  }, z.core.$strict>], "kind">>>;
1524
1524
  }, z.core.$strict>>>>;
@@ -1601,8 +1601,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1601
1601
  kind: z.ZodLiteral<"secret-ref">;
1602
1602
  key: z.ZodString;
1603
1603
  format: z.ZodOptional<z.ZodEnum<{
1604
- raw: "raw";
1605
1604
  bearer: "bearer";
1605
+ raw: "raw";
1606
1606
  }>>;
1607
1607
  }, z.core.$strict>], "kind">>>;
1608
1608
  }, z.core.$strict>, z.ZodObject<{
@@ -1624,8 +1624,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1624
1624
  kind: z.ZodLiteral<"secret-ref">;
1625
1625
  key: z.ZodString;
1626
1626
  format: z.ZodOptional<z.ZodEnum<{
1627
- raw: "raw";
1628
1627
  bearer: "bearer";
1628
+ raw: "raw";
1629
1629
  }>>;
1630
1630
  }, z.core.$strict>], "kind">>>;
1631
1631
  }, z.core.$strict>], "kind">;
@@ -1652,8 +1652,8 @@ export declare const agentCandidateExperimentSchema: z.ZodObject<{
1652
1652
  kind: z.ZodLiteral<"secret-ref">;
1653
1653
  key: z.ZodString;
1654
1654
  format: z.ZodOptional<z.ZodEnum<{
1655
- raw: "raw";
1656
1655
  bearer: "bearer";
1656
+ raw: "raw";
1657
1657
  }>>;
1658
1658
  }, z.core.$strict>], "kind">>>;
1659
1659
  environment: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2330,7 +2330,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2330
2330
  ref: {
2331
2331
  kind: "secret-ref";
2332
2332
  key: string;
2333
- format?: "raw" | "bearer" | undefined;
2333
+ format?: "bearer" | "raw" | undefined;
2334
2334
  };
2335
2335
  }[] | undefined;
2336
2336
  root?: "agent" | undefined;
@@ -2338,7 +2338,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2338
2338
  env: Record<string, {
2339
2339
  kind: "secret-ref";
2340
2340
  key: string;
2341
- format?: "raw" | "bearer" | undefined;
2341
+ format?: "bearer" | "raw" | undefined;
2342
2342
  } | {
2343
2343
  kind: "public";
2344
2344
  value: string;
@@ -2346,7 +2346,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2346
2346
  flags: ({
2347
2347
  kind: "secret-ref";
2348
2348
  key: string;
2349
- format?: "raw" | "bearer" | undefined;
2349
+ format?: "bearer" | "raw" | undefined;
2350
2350
  } | {
2351
2351
  kind: "public";
2352
2352
  value: string;
@@ -2426,7 +2426,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2426
2426
  ref: {
2427
2427
  kind: "secret-ref";
2428
2428
  key: string;
2429
- format?: "raw" | "bearer" | undefined;
2429
+ format?: "bearer" | "raw" | undefined;
2430
2430
  };
2431
2431
  }[] | undefined;
2432
2432
  root?: "agent" | undefined;
@@ -2434,7 +2434,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2434
2434
  env: Record<string, {
2435
2435
  kind: "secret-ref";
2436
2436
  key: string;
2437
- format?: "raw" | "bearer" | undefined;
2437
+ format?: "bearer" | "raw" | undefined;
2438
2438
  } | {
2439
2439
  kind: "public";
2440
2440
  value: string;
@@ -2442,7 +2442,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2442
2442
  flags: ({
2443
2443
  kind: "secret-ref";
2444
2444
  key: string;
2445
- format?: "raw" | "bearer" | undefined;
2445
+ format?: "bearer" | "raw" | undefined;
2446
2446
  } | {
2447
2447
  kind: "public";
2448
2448
  value: string;
@@ -2616,7 +2616,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2616
2616
  args: ({
2617
2617
  kind: "secret-ref";
2618
2618
  key: string;
2619
- format?: "raw" | "bearer" | undefined;
2619
+ format?: "bearer" | "raw" | undefined;
2620
2620
  } | {
2621
2621
  kind: "public";
2622
2622
  value: string;
@@ -2624,7 +2624,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2624
2624
  env: Record<string, {
2625
2625
  kind: "secret-ref";
2626
2626
  key: string;
2627
- format?: "raw" | "bearer" | undefined;
2627
+ format?: "bearer" | "raw" | undefined;
2628
2628
  } | {
2629
2629
  kind: "public";
2630
2630
  value: string;
@@ -2888,7 +2888,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2888
2888
  args: ({
2889
2889
  kind: "secret-ref";
2890
2890
  key: string;
2891
- format?: "raw" | "bearer" | undefined;
2891
+ format?: "bearer" | "raw" | undefined;
2892
2892
  } | {
2893
2893
  kind: "public";
2894
2894
  value: string;
@@ -2896,7 +2896,7 @@ export declare const candidateExecutionEvidenceSchema: z.ZodObject<{
2896
2896
  env: Record<string, {
2897
2897
  kind: "secret-ref";
2898
2898
  key: string;
2899
- format?: "raw" | "bearer" | undefined;
2899
+ format?: "bearer" | "raw" | undefined;
2900
2900
  } | {
2901
2901
  kind: "public";
2902
2902
  value: string;
@@ -4639,8 +4639,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4639
4639
  kind: z.ZodLiteral<"secret-ref">;
4640
4640
  key: z.ZodString;
4641
4641
  format: z.ZodOptional<z.ZodEnum<{
4642
- raw: "raw";
4643
4642
  bearer: "bearer";
4643
+ raw: "raw";
4644
4644
  }>>;
4645
4645
  }, z.core.$strict>], "kind">>>;
4646
4646
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -4653,8 +4653,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4653
4653
  kind: z.ZodLiteral<"secret-ref">;
4654
4654
  key: z.ZodString;
4655
4655
  format: z.ZodOptional<z.ZodEnum<{
4656
- raw: "raw";
4657
4656
  bearer: "bearer";
4657
+ raw: "raw";
4658
4658
  }>>;
4659
4659
  }, z.core.$strict>], "kind">>>;
4660
4660
  }, z.core.$strict>>>>;
@@ -4737,8 +4737,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4737
4737
  kind: z.ZodLiteral<"secret-ref">;
4738
4738
  key: z.ZodString;
4739
4739
  format: z.ZodOptional<z.ZodEnum<{
4740
- raw: "raw";
4741
4740
  bearer: "bearer";
4741
+ raw: "raw";
4742
4742
  }>>;
4743
4743
  }, z.core.$strict>], "kind">>>;
4744
4744
  }, z.core.$strict>, z.ZodObject<{
@@ -4760,8 +4760,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4760
4760
  kind: z.ZodLiteral<"secret-ref">;
4761
4761
  key: z.ZodString;
4762
4762
  format: z.ZodOptional<z.ZodEnum<{
4763
- raw: "raw";
4764
4763
  bearer: "bearer";
4764
+ raw: "raw";
4765
4765
  }>>;
4766
4766
  }, z.core.$strict>], "kind">>>;
4767
4767
  }, z.core.$strict>], "kind">;
@@ -4788,8 +4788,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
4788
4788
  kind: z.ZodLiteral<"secret-ref">;
4789
4789
  key: z.ZodString;
4790
4790
  format: z.ZodOptional<z.ZodEnum<{
4791
- raw: "raw";
4792
4791
  bearer: "bearer";
4792
+ raw: "raw";
4793
4793
  }>>;
4794
4794
  }, z.core.$strict>], "kind">>>;
4795
4795
  environment: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5576,8 +5576,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5576
5576
  kind: z.ZodLiteral<"secret-ref">;
5577
5577
  key: z.ZodString;
5578
5578
  format: z.ZodOptional<z.ZodEnum<{
5579
- raw: "raw";
5580
5579
  bearer: "bearer";
5580
+ raw: "raw";
5581
5581
  }>>;
5582
5582
  }, z.core.$strict>], "kind">>>;
5583
5583
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -5590,8 +5590,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5590
5590
  kind: z.ZodLiteral<"secret-ref">;
5591
5591
  key: z.ZodString;
5592
5592
  format: z.ZodOptional<z.ZodEnum<{
5593
- raw: "raw";
5594
5593
  bearer: "bearer";
5594
+ raw: "raw";
5595
5595
  }>>;
5596
5596
  }, z.core.$strict>], "kind">>>;
5597
5597
  }, z.core.$strict>>>>;
@@ -5674,8 +5674,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5674
5674
  kind: z.ZodLiteral<"secret-ref">;
5675
5675
  key: z.ZodString;
5676
5676
  format: z.ZodOptional<z.ZodEnum<{
5677
- raw: "raw";
5678
5677
  bearer: "bearer";
5678
+ raw: "raw";
5679
5679
  }>>;
5680
5680
  }, z.core.$strict>], "kind">>>;
5681
5681
  }, z.core.$strict>, z.ZodObject<{
@@ -5697,8 +5697,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5697
5697
  kind: z.ZodLiteral<"secret-ref">;
5698
5698
  key: z.ZodString;
5699
5699
  format: z.ZodOptional<z.ZodEnum<{
5700
- raw: "raw";
5701
5700
  bearer: "bearer";
5701
+ raw: "raw";
5702
5702
  }>>;
5703
5703
  }, z.core.$strict>], "kind">>>;
5704
5704
  }, z.core.$strict>], "kind">;
@@ -5725,8 +5725,8 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
5725
5725
  kind: z.ZodLiteral<"secret-ref">;
5726
5726
  key: z.ZodString;
5727
5727
  format: z.ZodOptional<z.ZodEnum<{
5728
- raw: "raw";
5729
5728
  bearer: "bearer";
5729
+ raw: "raw";
5730
5730
  }>>;
5731
5731
  }, z.core.$strict>], "kind">>>;
5732
5732
  environment: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6404,7 +6404,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6404
6404
  ref: {
6405
6405
  kind: "secret-ref";
6406
6406
  key: string;
6407
- format?: "raw" | "bearer" | undefined;
6407
+ format?: "bearer" | "raw" | undefined;
6408
6408
  };
6409
6409
  }[] | undefined;
6410
6410
  root?: "agent" | undefined;
@@ -6412,7 +6412,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6412
6412
  env: Record<string, {
6413
6413
  kind: "secret-ref";
6414
6414
  key: string;
6415
- format?: "raw" | "bearer" | undefined;
6415
+ format?: "bearer" | "raw" | undefined;
6416
6416
  } | {
6417
6417
  kind: "public";
6418
6418
  value: string;
@@ -6420,7 +6420,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6420
6420
  flags: ({
6421
6421
  kind: "secret-ref";
6422
6422
  key: string;
6423
- format?: "raw" | "bearer" | undefined;
6423
+ format?: "bearer" | "raw" | undefined;
6424
6424
  } | {
6425
6425
  kind: "public";
6426
6426
  value: string;
@@ -6500,7 +6500,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6500
6500
  ref: {
6501
6501
  kind: "secret-ref";
6502
6502
  key: string;
6503
- format?: "raw" | "bearer" | undefined;
6503
+ format?: "bearer" | "raw" | undefined;
6504
6504
  };
6505
6505
  }[] | undefined;
6506
6506
  root?: "agent" | undefined;
@@ -6508,7 +6508,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6508
6508
  env: Record<string, {
6509
6509
  kind: "secret-ref";
6510
6510
  key: string;
6511
- format?: "raw" | "bearer" | undefined;
6511
+ format?: "bearer" | "raw" | undefined;
6512
6512
  } | {
6513
6513
  kind: "public";
6514
6514
  value: string;
@@ -6516,7 +6516,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6516
6516
  flags: ({
6517
6517
  kind: "secret-ref";
6518
6518
  key: string;
6519
- format?: "raw" | "bearer" | undefined;
6519
+ format?: "bearer" | "raw" | undefined;
6520
6520
  } | {
6521
6521
  kind: "public";
6522
6522
  value: string;
@@ -6690,7 +6690,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6690
6690
  args: ({
6691
6691
  kind: "secret-ref";
6692
6692
  key: string;
6693
- format?: "raw" | "bearer" | undefined;
6693
+ format?: "bearer" | "raw" | undefined;
6694
6694
  } | {
6695
6695
  kind: "public";
6696
6696
  value: string;
@@ -6698,7 +6698,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6698
6698
  env: Record<string, {
6699
6699
  kind: "secret-ref";
6700
6700
  key: string;
6701
- format?: "raw" | "bearer" | undefined;
6701
+ format?: "bearer" | "raw" | undefined;
6702
6702
  } | {
6703
6703
  kind: "public";
6704
6704
  value: string;
@@ -6962,7 +6962,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6962
6962
  args: ({
6963
6963
  kind: "secret-ref";
6964
6964
  key: string;
6965
- format?: "raw" | "bearer" | undefined;
6965
+ format?: "bearer" | "raw" | undefined;
6966
6966
  } | {
6967
6967
  kind: "public";
6968
6968
  value: string;
@@ -6970,7 +6970,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
6970
6970
  env: Record<string, {
6971
6971
  kind: "secret-ref";
6972
6972
  key: string;
6973
- format?: "raw" | "bearer" | undefined;
6973
+ format?: "bearer" | "raw" | undefined;
6974
6974
  } | {
6975
6975
  kind: "public";
6976
6976
  value: string;
@@ -8044,7 +8044,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8044
8044
  ref: {
8045
8045
  kind: "secret-ref";
8046
8046
  key: string;
8047
- format?: "raw" | "bearer" | undefined;
8047
+ format?: "bearer" | "raw" | undefined;
8048
8048
  };
8049
8049
  }[] | undefined;
8050
8050
  root?: "agent" | undefined;
@@ -8052,7 +8052,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8052
8052
  env: Record<string, {
8053
8053
  kind: "secret-ref";
8054
8054
  key: string;
8055
- format?: "raw" | "bearer" | undefined;
8055
+ format?: "bearer" | "raw" | undefined;
8056
8056
  } | {
8057
8057
  kind: "public";
8058
8058
  value: string;
@@ -8060,7 +8060,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8060
8060
  flags: ({
8061
8061
  kind: "secret-ref";
8062
8062
  key: string;
8063
- format?: "raw" | "bearer" | undefined;
8063
+ format?: "bearer" | "raw" | undefined;
8064
8064
  } | {
8065
8065
  kind: "public";
8066
8066
  value: string;
@@ -8140,7 +8140,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8140
8140
  ref: {
8141
8141
  kind: "secret-ref";
8142
8142
  key: string;
8143
- format?: "raw" | "bearer" | undefined;
8143
+ format?: "bearer" | "raw" | undefined;
8144
8144
  };
8145
8145
  }[] | undefined;
8146
8146
  root?: "agent" | undefined;
@@ -8148,7 +8148,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8148
8148
  env: Record<string, {
8149
8149
  kind: "secret-ref";
8150
8150
  key: string;
8151
- format?: "raw" | "bearer" | undefined;
8151
+ format?: "bearer" | "raw" | undefined;
8152
8152
  } | {
8153
8153
  kind: "public";
8154
8154
  value: string;
@@ -8156,7 +8156,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8156
8156
  flags: ({
8157
8157
  kind: "secret-ref";
8158
8158
  key: string;
8159
- format?: "raw" | "bearer" | undefined;
8159
+ format?: "bearer" | "raw" | undefined;
8160
8160
  } | {
8161
8161
  kind: "public";
8162
8162
  value: string;
@@ -8330,7 +8330,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8330
8330
  args: ({
8331
8331
  kind: "secret-ref";
8332
8332
  key: string;
8333
- format?: "raw" | "bearer" | undefined;
8333
+ format?: "bearer" | "raw" | undefined;
8334
8334
  } | {
8335
8335
  kind: "public";
8336
8336
  value: string;
@@ -8338,7 +8338,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8338
8338
  env: Record<string, {
8339
8339
  kind: "secret-ref";
8340
8340
  key: string;
8341
- format?: "raw" | "bearer" | undefined;
8341
+ format?: "bearer" | "raw" | undefined;
8342
8342
  } | {
8343
8343
  kind: "public";
8344
8344
  value: string;
@@ -8602,7 +8602,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8602
8602
  args: ({
8603
8603
  kind: "secret-ref";
8604
8604
  key: string;
8605
- format?: "raw" | "bearer" | undefined;
8605
+ format?: "bearer" | "raw" | undefined;
8606
8606
  } | {
8607
8607
  kind: "public";
8608
8608
  value: string;
@@ -8610,7 +8610,7 @@ export declare const agentImprovementMeasuredComparisonSchema: z.ZodObject<{
8610
8610
  env: Record<string, {
8611
8611
  kind: "secret-ref";
8612
8612
  key: string;
8613
- format?: "raw" | "bearer" | undefined;
8613
+ format?: "bearer" | "raw" | undefined;
8614
8614
  } | {
8615
8615
  kind: "public";
8616
8616
  value: string;
@@ -10385,8 +10385,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10385
10385
  kind: z.ZodLiteral<"secret-ref">;
10386
10386
  key: z.ZodString;
10387
10387
  format: z.ZodOptional<z.ZodEnum<{
10388
- raw: "raw";
10389
10388
  bearer: "bearer";
10389
+ raw: "raw";
10390
10390
  }>>;
10391
10391
  }, z.core.$strict>], "kind">>>;
10392
10392
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -10399,8 +10399,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10399
10399
  kind: z.ZodLiteral<"secret-ref">;
10400
10400
  key: z.ZodString;
10401
10401
  format: z.ZodOptional<z.ZodEnum<{
10402
- raw: "raw";
10403
10402
  bearer: "bearer";
10403
+ raw: "raw";
10404
10404
  }>>;
10405
10405
  }, z.core.$strict>], "kind">>>;
10406
10406
  }, z.core.$strict>>>>;
@@ -10483,8 +10483,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10483
10483
  kind: z.ZodLiteral<"secret-ref">;
10484
10484
  key: z.ZodString;
10485
10485
  format: z.ZodOptional<z.ZodEnum<{
10486
- raw: "raw";
10487
10486
  bearer: "bearer";
10487
+ raw: "raw";
10488
10488
  }>>;
10489
10489
  }, z.core.$strict>], "kind">>>;
10490
10490
  }, z.core.$strict>, z.ZodObject<{
@@ -10506,8 +10506,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10506
10506
  kind: z.ZodLiteral<"secret-ref">;
10507
10507
  key: z.ZodString;
10508
10508
  format: z.ZodOptional<z.ZodEnum<{
10509
- raw: "raw";
10510
10509
  bearer: "bearer";
10510
+ raw: "raw";
10511
10511
  }>>;
10512
10512
  }, z.core.$strict>], "kind">>>;
10513
10513
  }, z.core.$strict>], "kind">;
@@ -10534,8 +10534,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
10534
10534
  kind: z.ZodLiteral<"secret-ref">;
10535
10535
  key: z.ZodString;
10536
10536
  format: z.ZodOptional<z.ZodEnum<{
10537
- raw: "raw";
10538
10537
  bearer: "bearer";
10538
+ raw: "raw";
10539
10539
  }>>;
10540
10540
  }, z.core.$strict>], "kind">>>;
10541
10541
  environment: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -11322,8 +11322,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11322
11322
  kind: z.ZodLiteral<"secret-ref">;
11323
11323
  key: z.ZodString;
11324
11324
  format: z.ZodOptional<z.ZodEnum<{
11325
- raw: "raw";
11326
11325
  bearer: "bearer";
11326
+ raw: "raw";
11327
11327
  }>>;
11328
11328
  }, z.core.$strict>], "kind">>>;
11329
11329
  timeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -11336,8 +11336,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11336
11336
  kind: z.ZodLiteral<"secret-ref">;
11337
11337
  key: z.ZodString;
11338
11338
  format: z.ZodOptional<z.ZodEnum<{
11339
- raw: "raw";
11340
11339
  bearer: "bearer";
11340
+ raw: "raw";
11341
11341
  }>>;
11342
11342
  }, z.core.$strict>], "kind">>>;
11343
11343
  }, z.core.$strict>>>>;
@@ -11420,8 +11420,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11420
11420
  kind: z.ZodLiteral<"secret-ref">;
11421
11421
  key: z.ZodString;
11422
11422
  format: z.ZodOptional<z.ZodEnum<{
11423
- raw: "raw";
11424
11423
  bearer: "bearer";
11424
+ raw: "raw";
11425
11425
  }>>;
11426
11426
  }, z.core.$strict>], "kind">>>;
11427
11427
  }, z.core.$strict>, z.ZodObject<{
@@ -11443,8 +11443,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11443
11443
  kind: z.ZodLiteral<"secret-ref">;
11444
11444
  key: z.ZodString;
11445
11445
  format: z.ZodOptional<z.ZodEnum<{
11446
- raw: "raw";
11447
11446
  bearer: "bearer";
11447
+ raw: "raw";
11448
11448
  }>>;
11449
11449
  }, z.core.$strict>], "kind">>>;
11450
11450
  }, z.core.$strict>], "kind">;
@@ -11471,8 +11471,8 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
11471
11471
  kind: z.ZodLiteral<"secret-ref">;
11472
11472
  key: z.ZodString;
11473
11473
  format: z.ZodOptional<z.ZodEnum<{
11474
- raw: "raw";
11475
11474
  bearer: "bearer";
11475
+ raw: "raw";
11476
11476
  }>>;
11477
11477
  }, z.core.$strict>], "kind">>>;
11478
11478
  environment: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -12150,7 +12150,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12150
12150
  ref: {
12151
12151
  kind: "secret-ref";
12152
12152
  key: string;
12153
- format?: "raw" | "bearer" | undefined;
12153
+ format?: "bearer" | "raw" | undefined;
12154
12154
  };
12155
12155
  }[] | undefined;
12156
12156
  root?: "agent" | undefined;
@@ -12158,7 +12158,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12158
12158
  env: Record<string, {
12159
12159
  kind: "secret-ref";
12160
12160
  key: string;
12161
- format?: "raw" | "bearer" | undefined;
12161
+ format?: "bearer" | "raw" | undefined;
12162
12162
  } | {
12163
12163
  kind: "public";
12164
12164
  value: string;
@@ -12166,7 +12166,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12166
12166
  flags: ({
12167
12167
  kind: "secret-ref";
12168
12168
  key: string;
12169
- format?: "raw" | "bearer" | undefined;
12169
+ format?: "bearer" | "raw" | undefined;
12170
12170
  } | {
12171
12171
  kind: "public";
12172
12172
  value: string;
@@ -12246,7 +12246,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12246
12246
  ref: {
12247
12247
  kind: "secret-ref";
12248
12248
  key: string;
12249
- format?: "raw" | "bearer" | undefined;
12249
+ format?: "bearer" | "raw" | undefined;
12250
12250
  };
12251
12251
  }[] | undefined;
12252
12252
  root?: "agent" | undefined;
@@ -12254,7 +12254,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12254
12254
  env: Record<string, {
12255
12255
  kind: "secret-ref";
12256
12256
  key: string;
12257
- format?: "raw" | "bearer" | undefined;
12257
+ format?: "bearer" | "raw" | undefined;
12258
12258
  } | {
12259
12259
  kind: "public";
12260
12260
  value: string;
@@ -12262,7 +12262,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12262
12262
  flags: ({
12263
12263
  kind: "secret-ref";
12264
12264
  key: string;
12265
- format?: "raw" | "bearer" | undefined;
12265
+ format?: "bearer" | "raw" | undefined;
12266
12266
  } | {
12267
12267
  kind: "public";
12268
12268
  value: string;
@@ -12436,7 +12436,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12436
12436
  args: ({
12437
12437
  kind: "secret-ref";
12438
12438
  key: string;
12439
- format?: "raw" | "bearer" | undefined;
12439
+ format?: "bearer" | "raw" | undefined;
12440
12440
  } | {
12441
12441
  kind: "public";
12442
12442
  value: string;
@@ -12444,7 +12444,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12444
12444
  env: Record<string, {
12445
12445
  kind: "secret-ref";
12446
12446
  key: string;
12447
- format?: "raw" | "bearer" | undefined;
12447
+ format?: "bearer" | "raw" | undefined;
12448
12448
  } | {
12449
12449
  kind: "public";
12450
12450
  value: string;
@@ -12708,7 +12708,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12708
12708
  args: ({
12709
12709
  kind: "secret-ref";
12710
12710
  key: string;
12711
- format?: "raw" | "bearer" | undefined;
12711
+ format?: "bearer" | "raw" | undefined;
12712
12712
  } | {
12713
12713
  kind: "public";
12714
12714
  value: string;
@@ -12716,7 +12716,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
12716
12716
  env: Record<string, {
12717
12717
  kind: "secret-ref";
12718
12718
  key: string;
12719
- format?: "raw" | "bearer" | undefined;
12719
+ format?: "bearer" | "raw" | undefined;
12720
12720
  } | {
12721
12721
  kind: "public";
12722
12722
  value: string;
@@ -13790,7 +13790,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13790
13790
  ref: {
13791
13791
  kind: "secret-ref";
13792
13792
  key: string;
13793
- format?: "raw" | "bearer" | undefined;
13793
+ format?: "bearer" | "raw" | undefined;
13794
13794
  };
13795
13795
  }[] | undefined;
13796
13796
  root?: "agent" | undefined;
@@ -13798,7 +13798,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13798
13798
  env: Record<string, {
13799
13799
  kind: "secret-ref";
13800
13800
  key: string;
13801
- format?: "raw" | "bearer" | undefined;
13801
+ format?: "bearer" | "raw" | undefined;
13802
13802
  } | {
13803
13803
  kind: "public";
13804
13804
  value: string;
@@ -13806,7 +13806,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13806
13806
  flags: ({
13807
13807
  kind: "secret-ref";
13808
13808
  key: string;
13809
- format?: "raw" | "bearer" | undefined;
13809
+ format?: "bearer" | "raw" | undefined;
13810
13810
  } | {
13811
13811
  kind: "public";
13812
13812
  value: string;
@@ -13886,7 +13886,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13886
13886
  ref: {
13887
13887
  kind: "secret-ref";
13888
13888
  key: string;
13889
- format?: "raw" | "bearer" | undefined;
13889
+ format?: "bearer" | "raw" | undefined;
13890
13890
  };
13891
13891
  }[] | undefined;
13892
13892
  root?: "agent" | undefined;
@@ -13894,7 +13894,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13894
13894
  env: Record<string, {
13895
13895
  kind: "secret-ref";
13896
13896
  key: string;
13897
- format?: "raw" | "bearer" | undefined;
13897
+ format?: "bearer" | "raw" | undefined;
13898
13898
  } | {
13899
13899
  kind: "public";
13900
13900
  value: string;
@@ -13902,7 +13902,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
13902
13902
  flags: ({
13903
13903
  kind: "secret-ref";
13904
13904
  key: string;
13905
- format?: "raw" | "bearer" | undefined;
13905
+ format?: "bearer" | "raw" | undefined;
13906
13906
  } | {
13907
13907
  kind: "public";
13908
13908
  value: string;
@@ -14076,7 +14076,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
14076
14076
  args: ({
14077
14077
  kind: "secret-ref";
14078
14078
  key: string;
14079
- format?: "raw" | "bearer" | undefined;
14079
+ format?: "bearer" | "raw" | undefined;
14080
14080
  } | {
14081
14081
  kind: "public";
14082
14082
  value: string;
@@ -14084,7 +14084,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
14084
14084
  env: Record<string, {
14085
14085
  kind: "secret-ref";
14086
14086
  key: string;
14087
- format?: "raw" | "bearer" | undefined;
14087
+ format?: "bearer" | "raw" | undefined;
14088
14088
  } | {
14089
14089
  kind: "public";
14090
14090
  value: string;
@@ -14348,7 +14348,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
14348
14348
  args: ({
14349
14349
  kind: "secret-ref";
14350
14350
  key: string;
14351
- format?: "raw" | "bearer" | undefined;
14351
+ format?: "bearer" | "raw" | undefined;
14352
14352
  } | {
14353
14353
  kind: "public";
14354
14354
  value: string;
@@ -14356,7 +14356,7 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
14356
14356
  env: Record<string, {
14357
14357
  kind: "secret-ref";
14358
14358
  key: string;
14359
- format?: "raw" | "bearer" | undefined;
14359
+ format?: "bearer" | "raw" | undefined;
14360
14360
  } | {
14361
14361
  kind: "public";
14362
14362
  value: string;
@@ -15577,6 +15577,81 @@ export declare const agentImprovementProposalSchema: z.ZodObject<{
15577
15577
  stateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
15578
15578
  }, z.core.$strict>;
15579
15579
  change: z.ZodTuple<[z.ZodType<import("./profile-diff.js").AgentProfileDiff, unknown, z.core.$ZodTypeInternals<import("./profile-diff.js").AgentProfileDiff, unknown>>], z.ZodType<import("./profile-diff.js").AgentProfileDiff, unknown, z.core.$ZodTypeInternals<import("./profile-diff.js").AgentProfileDiff, unknown>>>;
15580
+ modelBinding: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15581
+ kind: z.ZodLiteral<"fixed-task">;
15582
+ }, z.core.$strict>, z.ZodObject<{
15583
+ kind: z.ZodLiteral<"profile-default">;
15584
+ baseline: z.ZodObject<{
15585
+ authored: z.ZodObject<{
15586
+ default: z.ZodOptional<z.ZodString>;
15587
+ small: z.ZodOptional<z.ZodString>;
15588
+ provider: z.ZodOptional<z.ZodString>;
15589
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
15590
+ none: "none";
15591
+ minimal: "minimal";
15592
+ low: "low";
15593
+ medium: "medium";
15594
+ high: "high";
15595
+ xhigh: "xhigh";
15596
+ ultracode: "ultracode";
15597
+ }>>;
15598
+ maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
15599
+ maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
15600
+ maxTotalOutputTokens: z.ZodOptional<z.ZodNumber>;
15601
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
15602
+ }, z.core.$strict>;
15603
+ resolved: z.ZodObject<{
15604
+ requested: z.ZodString;
15605
+ provider: z.ZodString;
15606
+ model: z.ZodString;
15607
+ snapshot: z.ZodString;
15608
+ reasoningEffort: z.ZodEnum<{
15609
+ none: "none";
15610
+ minimal: "minimal";
15611
+ low: "low";
15612
+ medium: "medium";
15613
+ high: "high";
15614
+ xhigh: "xhigh";
15615
+ ultracode: "ultracode";
15616
+ }>;
15617
+ }, z.core.$strict>;
15618
+ }, z.core.$strict>;
15619
+ candidate: z.ZodObject<{
15620
+ authored: z.ZodObject<{
15621
+ default: z.ZodOptional<z.ZodString>;
15622
+ small: z.ZodOptional<z.ZodString>;
15623
+ provider: z.ZodOptional<z.ZodString>;
15624
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
15625
+ none: "none";
15626
+ minimal: "minimal";
15627
+ low: "low";
15628
+ medium: "medium";
15629
+ high: "high";
15630
+ xhigh: "xhigh";
15631
+ ultracode: "ultracode";
15632
+ }>>;
15633
+ maxVisibleOutputTokens: z.ZodOptional<z.ZodNumber>;
15634
+ maxReasoningTokens: z.ZodOptional<z.ZodNumber>;
15635
+ maxTotalOutputTokens: z.ZodOptional<z.ZodNumber>;
15636
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
15637
+ }, z.core.$strict>;
15638
+ resolved: z.ZodObject<{
15639
+ requested: z.ZodString;
15640
+ provider: z.ZodString;
15641
+ model: z.ZodString;
15642
+ snapshot: z.ZodString;
15643
+ reasoningEffort: z.ZodEnum<{
15644
+ none: "none";
15645
+ minimal: "minimal";
15646
+ low: "low";
15647
+ medium: "medium";
15648
+ high: "high";
15649
+ xhigh: "xhigh";
15650
+ ultracode: "ultracode";
15651
+ }>;
15652
+ }, z.core.$strict>;
15653
+ }, z.core.$strict>;
15654
+ }, z.core.$strict>], "kind">>;
15580
15655
  candidateLineage: z.ZodObject<{
15581
15656
  source: z.ZodEnum<{
15582
15657
  "frontier-author": "frontier-author";