@tangle-network/agent-interface 0.27.1 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,6 @@ export declare const agentCandidateCapturedArtifactSchema: z.ZodUnion<readonly [
60
60
  byteLength: z.ZodNumber;
61
61
  }, z.core.$strict>]>;
62
62
  export declare const agentCandidateWorkspaceManifestMaterialSchema: z.ZodObject<{
63
- schemaVersion: z.ZodLiteral<2>;
64
63
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
65
64
  files: z.ZodArray<z.ZodObject<{
66
65
  path: z.ZodString;
@@ -70,11 +69,9 @@ export declare const agentCandidateWorkspaceManifestMaterialSchema: z.ZodObject<
70
69
  }, z.core.$strict>>;
71
70
  }, z.core.$strict>;
72
71
  export declare const agentCandidateWorkspaceSnapshotEvidenceSchema: z.ZodObject<{
73
- schemaVersion: z.ZodLiteral<2>;
74
72
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
75
73
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
76
74
  material: z.ZodObject<{
77
- schemaVersion: z.ZodLiteral<2>;
78
75
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
79
76
  files: z.ZodArray<z.ZodObject<{
80
77
  path: z.ZodString;
@@ -90,7 +90,6 @@ export const agentCandidateCapturedArtifactSchema = z.union([
90
90
  ]);
91
91
  export const agentCandidateWorkspaceManifestMaterialSchema = z
92
92
  .object({
93
- schemaVersion: z.literal(2),
94
93
  kind: z.literal("agent-candidate-workspace-manifest"),
95
94
  files: z.array(z
96
95
  .object({
@@ -119,7 +118,6 @@ export const agentCandidateWorkspaceManifestMaterialSchema = z
119
118
  });
120
119
  export const agentCandidateWorkspaceSnapshotEvidenceSchema = z
121
120
  .object({
122
- schemaVersion: z.literal(2),
123
121
  kind: z.literal("agent-candidate-workspace-snapshot"),
124
122
  digest: sha256DigestSchema,
125
123
  material: agentCandidateWorkspaceManifestMaterialSchema,
@@ -235,11 +235,9 @@ export declare const agentCandidateExecutionSchema: z.ZodObject<{
235
235
  kind: z.ZodLiteral<"evaluator-task-container">;
236
236
  }, z.core.$strict>], "kind">;
237
237
  workspace: z.ZodOptional<z.ZodObject<{
238
- schemaVersion: z.ZodLiteral<2>;
239
238
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
240
239
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
241
240
  material: z.ZodObject<{
242
- schemaVersion: z.ZodLiteral<2>;
243
241
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
244
242
  files: z.ZodArray<z.ZodObject<{
245
243
  path: z.ZodString;
@@ -21,7 +21,6 @@ export declare const agentCandidateResolvedModelSchema: z.ZodObject<{
21
21
  }>;
22
22
  }, z.core.$strict>;
23
23
  export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
24
- version: z.ZodLiteral<1>;
25
24
  harness: z.ZodEnum<{
26
25
  "claude-code": "claude-code";
27
26
  claude: "claude";
@@ -88,11 +87,9 @@ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnio
88
87
  emptyStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
89
88
  }, z.core.$strict>;
90
89
  beforeState: z.ZodObject<{
91
- schemaVersion: z.ZodLiteral<2>;
92
90
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
93
91
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
94
92
  material: z.ZodObject<{
95
- schemaVersion: z.ZodLiteral<2>;
96
93
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
97
94
  files: z.ZodArray<z.ZodObject<{
98
95
  path: z.ZodString;
@@ -158,7 +155,6 @@ export declare const agentCandidateTaskOutcomeSpecSchema: z.ZodDiscriminatedUnio
158
155
  maxBytes: z.ZodNumber;
159
156
  }, z.core.$strict>], "kind">;
160
157
  export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
161
- schemaVersion: z.ZodLiteral<2>;
162
158
  kind: z.ZodLiteral<"agent-candidate-execution-plan-material">;
163
159
  bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
164
160
  executionId: z.ZodString;
@@ -203,11 +199,9 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
203
199
  maxBytes: z.ZodNumber;
204
200
  }, z.core.$strict>], "kind">;
205
201
  workspace: z.ZodObject<{
206
- schemaVersion: z.ZodLiteral<2>;
207
202
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
208
203
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
209
204
  material: z.ZodObject<{
210
- schemaVersion: z.ZodLiteral<2>;
211
205
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
212
206
  files: z.ZodArray<z.ZodObject<{
213
207
  path: z.ZodString;
@@ -266,11 +260,9 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
266
260
  "git-patch": "git-patch";
267
261
  }>;
268
262
  candidateWorkspace: z.ZodOptional<z.ZodObject<{
269
- schemaVersion: z.ZodLiteral<2>;
270
263
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
271
264
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
272
265
  material: z.ZodObject<{
273
- schemaVersion: z.ZodLiteral<2>;
274
266
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
275
267
  files: z.ZodArray<z.ZodObject<{
276
268
  path: z.ZodString;
@@ -469,11 +461,9 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
469
461
  emptyStateDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
470
462
  }, z.core.$strict>;
471
463
  beforeState: z.ZodObject<{
472
- schemaVersion: z.ZodLiteral<2>;
473
464
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
474
465
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
475
466
  material: z.ZodObject<{
476
- schemaVersion: z.ZodLiteral<2>;
477
467
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
478
468
  files: z.ZodArray<z.ZodObject<{
479
469
  path: z.ZodString;
@@ -536,11 +526,9 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
536
526
  }, z.core.$strict>;
537
527
  }, z.core.$strict>;
538
528
  export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
539
- schemaVersion: z.ZodLiteral<1>;
540
529
  kind: z.ZodLiteral<"agent-profile-workspace-plan">;
541
530
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
542
531
  material: z.ZodType<{
543
- version: 1;
544
532
  harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
545
533
  files: {
546
534
  relPath: string;
@@ -560,7 +548,6 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
560
548
  reason: string;
561
549
  }[];
562
550
  }, unknown, z.core.$ZodTypeInternals<{
563
- version: 1;
564
551
  harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
565
552
  files: {
566
553
  relPath: string;
@@ -601,14 +588,11 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
601
588
  }, z.core.$strict>]>;
602
589
  }, z.core.$strict>;
603
590
  export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
604
- schemaVersion: z.ZodLiteral<1>;
605
591
  kind: z.ZodLiteral<"agent-candidate-profile-activation">;
606
592
  profilePlan: z.ZodObject<{
607
- schemaVersion: z.ZodLiteral<1>;
608
593
  kind: z.ZodLiteral<"agent-profile-workspace-plan">;
609
594
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
610
595
  material: z.ZodType<{
611
- version: 1;
612
596
  harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
613
597
  files: {
614
598
  relPath: string;
@@ -628,7 +612,6 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
628
612
  reason: string;
629
613
  }[];
630
614
  }, unknown, z.core.$ZodTypeInternals<{
631
- version: 1;
632
615
  harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
633
616
  files: {
634
617
  relPath: string;
@@ -676,11 +659,9 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
676
659
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
677
660
  }, z.core.$strict>;
678
661
  export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
679
- schemaVersion: z.ZodLiteral<2>;
680
662
  kind: z.ZodLiteral<"agent-candidate-execution-plan">;
681
663
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
682
664
  material: z.ZodType<{
683
- schemaVersion: 2;
684
665
  kind: "agent-candidate-execution-plan-material";
685
666
  bundleDigest: `sha256:${string}`;
686
667
  executionId: string;
@@ -716,11 +697,9 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
716
697
  maxBytes: number;
717
698
  };
718
699
  workspace: {
719
- schemaVersion: 2;
720
700
  kind: "agent-candidate-workspace-snapshot";
721
701
  digest: `sha256:${string}`;
722
702
  material: {
723
- schemaVersion: 2;
724
703
  kind: "agent-candidate-workspace-manifest";
725
704
  files: {
726
705
  path: string;
@@ -894,11 +873,9 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
894
873
  emptyStateDigest: `sha256:${string}`;
895
874
  };
896
875
  beforeState: {
897
- schemaVersion: 2;
898
876
  kind: "agent-candidate-workspace-snapshot";
899
877
  digest: `sha256:${string}`;
900
878
  material: {
901
- schemaVersion: 2;
902
879
  kind: "agent-candidate-workspace-manifest";
903
880
  files: {
904
881
  path: string;
@@ -962,11 +939,9 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
962
939
  mode: "disabled";
963
940
  };
964
941
  candidateWorkspace?: {
965
- schemaVersion: 2;
966
942
  kind: "agent-candidate-workspace-snapshot";
967
943
  digest: `sha256:${string}`;
968
944
  material: {
969
- schemaVersion: 2;
970
945
  kind: "agent-candidate-workspace-manifest";
971
946
  files: {
972
947
  path: string;
@@ -1016,7 +991,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1016
991
  } | undefined;
1017
992
  knowledgeManifestDigest?: `sha256:${string}` | undefined;
1018
993
  }, unknown, z.core.$ZodTypeInternals<{
1019
- schemaVersion: 2;
1020
994
  kind: "agent-candidate-execution-plan-material";
1021
995
  bundleDigest: `sha256:${string}`;
1022
996
  executionId: string;
@@ -1052,11 +1026,9 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1052
1026
  maxBytes: number;
1053
1027
  };
1054
1028
  workspace: {
1055
- schemaVersion: 2;
1056
1029
  kind: "agent-candidate-workspace-snapshot";
1057
1030
  digest: `sha256:${string}`;
1058
1031
  material: {
1059
- schemaVersion: 2;
1060
1032
  kind: "agent-candidate-workspace-manifest";
1061
1033
  files: {
1062
1034
  path: string;
@@ -1230,11 +1202,9 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1230
1202
  emptyStateDigest: `sha256:${string}`;
1231
1203
  };
1232
1204
  beforeState: {
1233
- schemaVersion: 2;
1234
1205
  kind: "agent-candidate-workspace-snapshot";
1235
1206
  digest: `sha256:${string}`;
1236
1207
  material: {
1237
- schemaVersion: 2;
1238
1208
  kind: "agent-candidate-workspace-manifest";
1239
1209
  files: {
1240
1210
  path: string;
@@ -1298,11 +1268,9 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
1298
1268
  mode: "disabled";
1299
1269
  };
1300
1270
  candidateWorkspace?: {
1301
- schemaVersion: 2;
1302
1271
  kind: "agent-candidate-workspace-snapshot";
1303
1272
  digest: `sha256:${string}`;
1304
1273
  material: {
1305
- schemaVersion: 2;
1306
1274
  kind: "agent-candidate-workspace-manifest";
1307
1275
  files: {
1308
1276
  path: string;
@@ -60,7 +60,6 @@ export const agentCandidateResolvedModelSchema = z
60
60
  .strict();
61
61
  export const agentCandidateProfilePlanMaterialSchema = z
62
62
  .object({
63
- version: z.literal(1),
64
63
  harness: harnessTypeSchema,
65
64
  files: z.array(z
66
65
  .object({
@@ -152,7 +151,6 @@ export const agentCandidateTaskOutcomeSpecSchema = z.discriminatedUnion("kind",
152
151
  ]);
153
152
  export const agentCandidateExecutionPlanMaterialSchema = z
154
153
  .object({
155
- schemaVersion: z.literal(2),
156
154
  kind: z.literal("agent-candidate-execution-plan-material"),
157
155
  bundleDigest: sha256DigestSchema,
158
156
  executionId: z.string().min(1),
@@ -472,10 +470,9 @@ export const agentCandidateExecutionPlanMaterialSchema = z
472
470
  });
473
471
  }
474
472
  });
475
- function planEvidenceSchema(schemaVersion, kind, material) {
473
+ function planEvidenceSchema(kind, material) {
476
474
  return z
477
475
  .object({
478
- schemaVersion: z.literal(schemaVersion),
479
476
  kind: z.literal(kind),
480
477
  digest: sha256DigestSchema,
481
478
  material,
@@ -499,10 +496,9 @@ function planEvidenceSchema(schemaVersion, kind, material) {
499
496
  }
500
497
  });
501
498
  }
502
- export const agentCandidateProfilePlanEvidenceSchema = planEvidenceSchema(1, "agent-profile-workspace-plan", agentCandidateProfilePlanMaterialSchema);
499
+ export const agentCandidateProfilePlanEvidenceSchema = planEvidenceSchema("agent-profile-workspace-plan", agentCandidateProfilePlanMaterialSchema);
503
500
  export const agentCandidateProfileActivationSchema = z
504
501
  .object({
505
- schemaVersion: z.literal(1),
506
502
  kind: z.literal("agent-candidate-profile-activation"),
507
503
  profilePlan: agentCandidateProfilePlanEvidenceSchema,
508
504
  files: z.array(z
@@ -550,4 +546,4 @@ export const agentCandidateProfileActivationSchema = z
550
546
  });
551
547
  }
552
548
  });
553
- export const agentCandidateExecutionPlanEvidenceSchema = planEvidenceSchema(2, "agent-candidate-execution-plan", agentCandidateExecutionPlanMaterialSchema);
549
+ export const agentCandidateExecutionPlanEvidenceSchema = planEvidenceSchema("agent-candidate-execution-plan", agentCandidateExecutionPlanMaterialSchema);
@@ -1,7 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
3
3
  candidate: z.ZodObject<{
4
- schemaVersion: z.ZodLiteral<1>;
5
4
  kind: z.ZodLiteral<"knowledge-improvement-candidate">;
6
5
  runId: z.ZodString;
7
6
  candidateId: z.ZodString;
@@ -12,11 +11,9 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
12
11
  promotionPlanHash: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
13
12
  }, z.core.$strict>;
14
13
  snapshot: z.ZodObject<{
15
- schemaVersion: z.ZodLiteral<2>;
16
14
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
17
15
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
18
16
  material: z.ZodObject<{
19
- schemaVersion: z.ZodLiteral<2>;
20
17
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
21
18
  files: z.ZodArray<z.ZodObject<{
22
19
  path: z.ZodString;
@@ -5,7 +5,6 @@ export const agentCandidateKnowledgeSchema = z
5
5
  .object({
6
6
  candidate: z
7
7
  .object({
8
- schemaVersion: z.literal(1),
9
8
  kind: z.literal("knowledge-improvement-candidate"),
10
9
  runId: z.string().min(1),
11
10
  candidateId: z.string().min(1),
@@ -70,10 +70,8 @@ export declare const agentCandidateModelSettlementMaterialSchema: z.ZodObject<{
70
70
  modelCalls: z.ZodNumber;
71
71
  costUsdNanos: z.ZodNumber;
72
72
  }, z.core.$strict>;
73
- schemaVersion: z.ZodLiteral<2>;
74
73
  }, z.core.$strict>;
75
74
  export declare const agentCandidateModelSettlementEvidenceSchema: z.ZodObject<{
76
- schemaVersion: z.ZodLiteral<2>;
77
75
  kind: z.ZodLiteral<"agent-candidate-model-settlement">;
78
76
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
79
77
  material: z.ZodType<{
@@ -111,7 +109,6 @@ export declare const agentCandidateModelSettlementEvidenceSchema: z.ZodObject<{
111
109
  modelCalls: number;
112
110
  costUsdNanos: number;
113
111
  };
114
- schemaVersion: 2;
115
112
  }, unknown, z.core.$ZodTypeInternals<{
116
113
  calls: {
117
114
  callId: string;
@@ -147,7 +144,6 @@ export declare const agentCandidateModelSettlementEvidenceSchema: z.ZodObject<{
147
144
  modelCalls: number;
148
145
  costUsdNanos: number;
149
146
  };
150
- schemaVersion: 2;
151
147
  }, unknown>>;
152
148
  artifact: z.ZodUnion<readonly [z.ZodObject<{
153
149
  locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -176,7 +172,6 @@ export declare const agentCandidateRepositoryStateSchema: z.ZodObject<{
176
172
  tree: z.ZodString;
177
173
  }, z.core.$strict>;
178
174
  export declare const agentCandidateTaskOutcomeMaterialSchema: z.ZodObject<{
179
- schemaVersion: z.ZodLiteral<2>;
180
175
  kind: z.ZodLiteral<"agent-candidate-task-outcome-material">;
181
176
  executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
182
177
  outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -194,11 +189,9 @@ export declare const agentCandidateTaskOutcomeMaterialSchema: z.ZodObject<{
194
189
  tree: z.ZodString;
195
190
  }, z.core.$strict>;
196
191
  afterState: z.ZodObject<{
197
- schemaVersion: z.ZodLiteral<2>;
198
192
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
199
193
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
200
194
  material: z.ZodObject<{
201
- schemaVersion: z.ZodLiteral<2>;
202
195
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
203
196
  files: z.ZodArray<z.ZodObject<{
204
197
  path: z.ZodString;
@@ -286,11 +279,9 @@ export declare const agentCandidateTaskOutcomeMaterialSchema: z.ZodObject<{
286
279
  }, z.core.$strict>], "kind">;
287
280
  }, z.core.$strict>;
288
281
  export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
289
- schemaVersion: z.ZodLiteral<2>;
290
282
  kind: z.ZodLiteral<"agent-candidate-task-outcome">;
291
283
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
292
284
  material: z.ZodType<{
293
- schemaVersion: 2;
294
285
  kind: "agent-candidate-task-outcome-material";
295
286
  executionPlanDigest: `sha256:${string}`;
296
287
  outcome: {
@@ -308,11 +299,9 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
308
299
  tree: string;
309
300
  };
310
301
  afterState: {
311
- schemaVersion: 2;
312
302
  kind: "agent-candidate-workspace-snapshot";
313
303
  digest: `sha256:${string}`;
314
304
  material: {
315
- schemaVersion: 2;
316
305
  kind: "agent-candidate-workspace-manifest";
317
306
  files: {
318
307
  path: string;
@@ -399,7 +388,6 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
399
388
  };
400
389
  };
401
390
  }, unknown, z.core.$ZodTypeInternals<{
402
- schemaVersion: 2;
403
391
  kind: "agent-candidate-task-outcome-material";
404
392
  executionPlanDigest: `sha256:${string}`;
405
393
  outcome: {
@@ -417,11 +405,9 @@ export declare const agentCandidateTaskOutcomeEvidenceSchema: z.ZodObject<{
417
405
  tree: string;
418
406
  };
419
407
  afterState: {
420
- schemaVersion: 2;
421
408
  kind: "agent-candidate-workspace-snapshot";
422
409
  digest: `sha256:${string}`;
423
410
  material: {
424
- schemaVersion: 2;
425
411
  kind: "agent-candidate-workspace-manifest";
426
412
  files: {
427
413
  path: string;
@@ -533,7 +519,6 @@ export declare const agentCandidateBenchmarkDimensionSchema: z.ZodObject<{
533
519
  score: z.ZodNumber;
534
520
  }, z.core.$strict>;
535
521
  export declare const agentCandidateBenchmarkResultMaterialSchema: z.ZodObject<{
536
- schemaVersion: z.ZodLiteral<1>;
537
522
  kind: z.ZodLiteral<"agent-candidate-benchmark-result-material">;
538
523
  executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
539
524
  taskOutcomeDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
@@ -583,11 +568,9 @@ export declare const agentCandidateBenchmarkResultMaterialSchema: z.ZodObject<{
583
568
  }, z.core.$strict>>;
584
569
  }, z.core.$strict>;
585
570
  export declare const agentCandidateBenchmarkResultEvidenceSchema: z.ZodObject<{
586
- schemaVersion: z.ZodLiteral<1>;
587
571
  kind: z.ZodLiteral<"agent-candidate-benchmark-result">;
588
572
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
589
573
  material: z.ZodType<{
590
- schemaVersion: 1;
591
574
  kind: "agent-candidate-benchmark-result-material";
592
575
  executionPlanDigest: `sha256:${string}`;
593
576
  taskOutcomeDigest: `sha256:${string}`;
@@ -636,7 +619,6 @@ export declare const agentCandidateBenchmarkResultEvidenceSchema: z.ZodObject<{
636
619
  score: number;
637
620
  }[];
638
621
  }, unknown, z.core.$ZodTypeInternals<{
639
- schemaVersion: 1;
640
622
  kind: "agent-candidate-benchmark-result-material";
641
623
  executionPlanDigest: `sha256:${string}`;
642
624
  taskOutcomeDigest: `sha256:${string}`;
@@ -66,7 +66,6 @@ const modelSettlementMaterialShape = {
66
66
  };
67
67
  export const agentCandidateModelSettlementMaterialSchema = z
68
68
  .object({
69
- schemaVersion: z.literal(2),
70
69
  ...modelSettlementMaterialShape,
71
70
  calls: z.array(agentCandidateModelSettlementCallSchema),
72
71
  })
@@ -150,7 +149,7 @@ function refineModelSettlementMaterial(material, ctx) {
150
149
  });
151
150
  }
152
151
  }
153
- export const agentCandidateModelSettlementEvidenceSchema = evidenceSchema(2, "agent-candidate-model-settlement", agentCandidateModelSettlementMaterialSchema, "model settlement");
152
+ export const agentCandidateModelSettlementEvidenceSchema = evidenceSchema("agent-candidate-model-settlement", agentCandidateModelSettlementMaterialSchema, "model settlement");
154
153
  export const agentCandidateRepositoryStateSchema = z
155
154
  .object({
156
155
  identity: z.string().min(1),
@@ -170,7 +169,6 @@ export const agentCandidateRepositoryStateSchema = z
170
169
  });
171
170
  export const agentCandidateTaskOutcomeMaterialSchema = z
172
171
  .object({
173
- schemaVersion: z.literal(2),
174
172
  kind: z.literal("agent-candidate-task-outcome-material"),
175
173
  executionPlanDigest: sha256DigestSchema,
176
174
  outcome: z.discriminatedUnion("kind", [
@@ -255,7 +253,7 @@ export const agentCandidateTaskOutcomeMaterialSchema = z
255
253
  });
256
254
  }
257
255
  });
258
- export const agentCandidateTaskOutcomeEvidenceSchema = evidenceSchema(2, "agent-candidate-task-outcome", agentCandidateTaskOutcomeMaterialSchema, "task outcome");
256
+ export const agentCandidateTaskOutcomeEvidenceSchema = evidenceSchema("agent-candidate-task-outcome", agentCandidateTaskOutcomeMaterialSchema, "task outcome");
259
257
  export const agentCandidateBenchmarkDimensionSchema = z
260
258
  .object({
261
259
  name: normalizedDimensionNameSchema,
@@ -264,7 +262,6 @@ export const agentCandidateBenchmarkDimensionSchema = z
264
262
  .strict();
265
263
  export const agentCandidateBenchmarkResultMaterialSchema = z
266
264
  .object({
267
- schemaVersion: z.literal(1),
268
265
  kind: z.literal("agent-candidate-benchmark-result-material"),
269
266
  executionPlanDigest: sha256DigestSchema,
270
267
  taskOutcomeDigest: sha256DigestSchema,
@@ -329,7 +326,7 @@ export const agentCandidateBenchmarkResultMaterialSchema = z
329
326
  });
330
327
  }
331
328
  });
332
- export const agentCandidateBenchmarkResultEvidenceSchema = evidenceSchema(1, "agent-candidate-benchmark-result", agentCandidateBenchmarkResultMaterialSchema, "benchmark result");
329
+ export const agentCandidateBenchmarkResultEvidenceSchema = evidenceSchema("agent-candidate-benchmark-result", agentCandidateBenchmarkResultMaterialSchema, "benchmark result");
333
330
  function sameFixedSpend(left, right) {
334
331
  return (left.inputTokens === right.inputTokens &&
335
332
  left.outputTokens === right.outputTokens &&
@@ -338,10 +335,9 @@ function sameFixedSpend(left, right) {
338
335
  left.modelCalls === right.modelCalls &&
339
336
  left.costUsdNanos === right.costUsdNanos);
340
337
  }
341
- function evidenceSchema(schemaVersion, kind, material, label) {
338
+ function evidenceSchema(kind, material, label) {
342
339
  return z
343
340
  .object({
344
- schemaVersion: z.literal(schemaVersion),
345
341
  kind: z.literal(kind),
346
342
  digest: sha256DigestSchema,
347
343
  material,