@tangle-network/agent-interface 0.27.2 → 0.29.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.
Files changed (31) hide show
  1. package/dist/agent-candidate-artifact-schema.d.ts +0 -3
  2. package/dist/agent-candidate-artifact-schema.js +0 -2
  3. package/dist/agent-candidate-code-schema.d.ts +0 -10
  4. package/dist/agent-candidate-code-schema.js +0 -1
  5. package/dist/agent-candidate-execution-plan-schema.d.ts +173 -382
  6. package/dist/agent-candidate-execution-plan-schema.js +100 -138
  7. package/dist/agent-candidate-lineage-schema.d.ts +1 -31
  8. package/dist/agent-candidate-lineage-schema.js +3 -34
  9. package/dist/agent-candidate-outcome-schema.d.ts +48 -36
  10. package/dist/agent-candidate-outcome-schema.js +23 -32
  11. package/dist/agent-candidate-promotion-schema.d.ts +11021 -2411
  12. package/dist/agent-candidate-promotion-schema.js +495 -109
  13. package/dist/agent-candidate-receipt-schema.d.ts +260 -344
  14. package/dist/agent-candidate-receipt-schema.js +82 -11
  15. package/dist/agent-candidate-schema-common.d.ts +8 -0
  16. package/dist/agent-candidate-schema-common.js +35 -1
  17. package/dist/agent-candidate-schema.d.ts +2 -44
  18. package/dist/agent-candidate-schema.js +3 -29
  19. package/dist/agent-candidate-task-schema.d.ts +643 -0
  20. package/dist/agent-candidate-task-schema.js +191 -0
  21. package/dist/agent-candidate.d.ts +173 -94
  22. package/dist/agent-candidate.test-fixture.d.ts +0 -32
  23. package/dist/agent-candidate.test-fixture.js +0 -32
  24. package/dist/index.d.ts +0 -1
  25. package/dist/index.js +0 -1
  26. package/dist/profile-diff.d.ts +0 -1
  27. package/dist/profile-schema.d.ts +9 -0
  28. package/dist/profile-schema.js +14 -6
  29. package/package.json +2 -2
  30. package/dist/agent-candidate-compat.d.ts +0 -1918
  31. package/dist/agent-candidate-compat.js +0 -340
@@ -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,
@@ -1,10 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const agentCandidateCodeDisabledSchema: z.ZodObject<{
3
3
  kind: z.ZodLiteral<"disabled">;
4
- reason: z.ZodEnum<{
5
- control: "control";
6
- "not-applicable": "not-applicable";
7
- }>;
8
4
  }, z.core.$strict>;
9
5
  export declare const agentCandidateCodeNoOpSchema: z.ZodObject<{
10
6
  kind: z.ZodLiteral<"no-op">;
@@ -39,10 +35,6 @@ export declare const agentCandidateGitPatchSchema: z.ZodObject<{
39
35
  }, z.core.$strict>;
40
36
  export declare const agentCandidateCodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
41
37
  kind: z.ZodLiteral<"disabled">;
42
- reason: z.ZodEnum<{
43
- control: "control";
44
- "not-applicable": "not-applicable";
45
- }>;
46
38
  }, z.core.$strict>, z.ZodObject<{
47
39
  kind: z.ZodLiteral<"no-op">;
48
40
  reason: z.ZodLiteral<"proposer-no-change">;
@@ -235,11 +227,9 @@ export declare const agentCandidateExecutionSchema: z.ZodObject<{
235
227
  kind: z.ZodLiteral<"evaluator-task-container">;
236
228
  }, z.core.$strict>], "kind">;
237
229
  workspace: z.ZodOptional<z.ZodObject<{
238
- schemaVersion: z.ZodLiteral<2>;
239
230
  kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
240
231
  digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
241
232
  material: z.ZodObject<{
242
- schemaVersion: z.ZodLiteral<2>;
243
233
  kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
244
234
  files: z.ZodArray<z.ZodObject<{
245
235
  path: z.ZodString;
@@ -27,7 +27,6 @@ const executableSchema = z
27
27
  export const agentCandidateCodeDisabledSchema = z
28
28
  .object({
29
29
  kind: z.literal("disabled"),
30
- reason: z.enum(["control", "not-applicable"]),
31
30
  })
32
31
  .strict();
33
32
  export const agentCandidateCodeNoOpSchema = z