@tangle-network/agent-interface 2.13.1 → 2.15.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.
- package/README.md +8 -0
- package/dist/agent-candidate-artifact-schema.d.ts +25 -0
- package/dist/agent-candidate-artifact-schema.js +19 -2
- package/dist/agent-candidate-code-schema.d.ts +8 -0
- package/dist/agent-candidate-evidence-schema.d.ts +4 -0
- package/dist/agent-candidate-execution-plan-schema.d.ts +92 -0
- package/dist/agent-candidate-lineage-schema.d.ts +20 -0
- package/dist/agent-candidate-outcome-schema.d.ts +84 -0
- package/dist/agent-candidate-promotion-schema.d.ts +1000 -0
- package/dist/agent-candidate-receipt-schema.d.ts +164 -0
- package/dist/agent-candidate-schema.d.ts +28 -0
- package/dist/agent-candidate-task-schema.d.ts +64 -0
- package/dist/agent-candidate.d.ts +8 -1
- package/dist/agent-profile-improvement-schema.d.ts +40 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/native-session-event.d.ts +15 -0
- package/dist/native-session-event.js +14 -0
- package/dist/runtime-control.js +2 -0
- package/dist/stream-events.d.ts +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -269,3 +269,11 @@ Repeated cumulative totals do not add spend.
|
|
|
269
269
|
An absent mode means the aggregation semantics are unknown.
|
|
270
270
|
Materialization receipts cover all three model token ceilings at their exact requested paths.
|
|
271
271
|
A strict profile rejects unsupported ceilings instead of silently accepting them.
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
### Native session observations
|
|
275
|
+
|
|
276
|
+
Adapters emit `native.session.observed` with `provider` and `nativeSessionId` after observing the provider conversation identity.
|
|
277
|
+
The execution owner binds the observation to its execution and keeps it private.
|
|
278
|
+
Public `session.updated` events retain their resume-key semantics and do not establish native identity.
|
|
279
|
+
Native identity does not establish artifact capture completeness.
|
|
@@ -10,6 +10,11 @@ export declare const agentCandidateIpfsLocatorSchema: z.ZodObject<{
|
|
|
10
10
|
cid: z.ZodString;
|
|
11
11
|
path: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, z.core.$strict>;
|
|
13
|
+
export declare const agentCandidatePrivateCasLocatorSchema: z.ZodObject<{
|
|
14
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
15
|
+
namespace: z.ZodString;
|
|
16
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
17
|
+
}, z.core.$strict>;
|
|
13
18
|
export declare const agentCandidateArtifactLocatorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
19
|
kind: z.ZodLiteral<"s3">;
|
|
15
20
|
bucket: z.ZodString;
|
|
@@ -19,6 +24,10 @@ export declare const agentCandidateArtifactLocatorSchema: z.ZodDiscriminatedUnio
|
|
|
19
24
|
kind: z.ZodLiteral<"ipfs">;
|
|
20
25
|
cid: z.ZodString;
|
|
21
26
|
path: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
29
|
+
namespace: z.ZodString;
|
|
30
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
22
31
|
}, z.core.$strict>], "kind">;
|
|
23
32
|
export declare const agentCandidateArtifactRefSchema: z.ZodObject<{
|
|
24
33
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -30,6 +39,10 @@ export declare const agentCandidateArtifactRefSchema: z.ZodObject<{
|
|
|
30
39
|
kind: z.ZodLiteral<"ipfs">;
|
|
31
40
|
cid: z.ZodString;
|
|
32
41
|
path: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
43
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
44
|
+
namespace: z.ZodString;
|
|
45
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
33
46
|
}, z.core.$strict>], "kind">;
|
|
34
47
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
35
48
|
byteLength: z.ZodNumber;
|
|
@@ -50,6 +63,10 @@ export declare const agentCandidateCapturedArtifactSchema: z.ZodUnion<readonly [
|
|
|
50
63
|
kind: z.ZodLiteral<"ipfs">;
|
|
51
64
|
cid: z.ZodString;
|
|
52
65
|
path: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
68
|
+
namespace: z.ZodString;
|
|
69
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
53
70
|
}, z.core.$strict>], "kind">;
|
|
54
71
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
55
72
|
byteLength: z.ZodNumber;
|
|
@@ -90,6 +107,10 @@ export declare const agentCandidateWorkspaceSnapshotEvidenceSchema: z.ZodObject<
|
|
|
90
107
|
kind: z.ZodLiteral<"ipfs">;
|
|
91
108
|
cid: z.ZodString;
|
|
92
109
|
path: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
112
|
+
namespace: z.ZodString;
|
|
113
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
93
114
|
}, z.core.$strict>], "kind">;
|
|
94
115
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
95
116
|
byteLength: z.ZodNumber;
|
|
@@ -109,6 +130,10 @@ export declare const agentCandidateWorkspaceSnapshotEvidenceSchema: z.ZodObject<
|
|
|
109
130
|
kind: z.ZodLiteral<"ipfs">;
|
|
110
131
|
cid: z.ZodString;
|
|
111
132
|
path: z.ZodOptional<z.ZodString>;
|
|
133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
134
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
135
|
+
namespace: z.ZodString;
|
|
136
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
112
137
|
}, z.core.$strict>], "kind">;
|
|
113
138
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
114
139
|
byteLength: z.ZodNumber;
|
|
@@ -5,6 +5,7 @@ const base64Alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123
|
|
|
5
5
|
const s3BucketPattern = /^(?!\d+\.\d+\.\d+\.\d+$)[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$/;
|
|
6
6
|
const awsRegionPattern = /^[a-z]{2}(?:-gov)?-[a-z]+-\d$/;
|
|
7
7
|
const ipfsCidPattern = /^(?:Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,})$/;
|
|
8
|
+
const privateCasNamespacePattern = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
|
|
8
9
|
function decodedBase64ByteLength(value) {
|
|
9
10
|
if (value.length === 0)
|
|
10
11
|
return 0;
|
|
@@ -66,14 +67,30 @@ export const agentCandidateIpfsLocatorSchema = z
|
|
|
66
67
|
.optional(),
|
|
67
68
|
})
|
|
68
69
|
.strict();
|
|
69
|
-
export const
|
|
70
|
+
export const agentCandidatePrivateCasLocatorSchema = z
|
|
71
|
+
.object({
|
|
72
|
+
kind: z.literal("private-cas"),
|
|
73
|
+
namespace: z.string().regex(privateCasNamespacePattern).refine((value) => value !== "." && value !== ".."),
|
|
74
|
+
digest: sha256DigestSchema,
|
|
75
|
+
})
|
|
76
|
+
.strict();
|
|
77
|
+
export const agentCandidateArtifactLocatorSchema = z.discriminatedUnion("kind", [agentCandidateS3LocatorSchema, agentCandidateIpfsLocatorSchema, agentCandidatePrivateCasLocatorSchema]);
|
|
70
78
|
export const agentCandidateArtifactRefSchema = z
|
|
71
79
|
.object({
|
|
72
80
|
locator: agentCandidateArtifactLocatorSchema,
|
|
73
81
|
sha256: sha256DigestSchema,
|
|
74
82
|
byteLength: z.number().int().nonnegative(),
|
|
75
83
|
})
|
|
76
|
-
.strict()
|
|
84
|
+
.strict()
|
|
85
|
+
.superRefine((artifact, ctx) => {
|
|
86
|
+
if (artifact.locator.kind === "private-cas" && artifact.locator.digest !== artifact.sha256) {
|
|
87
|
+
ctx.addIssue({
|
|
88
|
+
code: "custom",
|
|
89
|
+
path: ["locator", "digest"],
|
|
90
|
+
message: "private CAS locator digest must match artifact hash",
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
});
|
|
77
94
|
export const agentCandidateEmbeddedArtifactSchema = z
|
|
78
95
|
.object({
|
|
79
96
|
encoding: z.literal("base64"),
|
|
@@ -248,6 +248,10 @@ export declare const agentCandidateExecutionSchema: z.ZodObject<{
|
|
|
248
248
|
kind: z.ZodLiteral<"ipfs">;
|
|
249
249
|
cid: z.ZodString;
|
|
250
250
|
path: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
253
|
+
namespace: z.ZodString;
|
|
254
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
251
255
|
}, z.core.$strict>], "kind">;
|
|
252
256
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
253
257
|
byteLength: z.ZodNumber;
|
|
@@ -267,6 +271,10 @@ export declare const agentCandidateExecutionSchema: z.ZodObject<{
|
|
|
267
271
|
kind: z.ZodLiteral<"ipfs">;
|
|
268
272
|
cid: z.ZodString;
|
|
269
273
|
path: z.ZodOptional<z.ZodString>;
|
|
274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
275
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
276
|
+
namespace: z.ZodString;
|
|
277
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
270
278
|
}, z.core.$strict>], "kind">;
|
|
271
279
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
272
280
|
byteLength: z.ZodNumber;
|
|
@@ -23,6 +23,10 @@ export declare function agentCandidateEvidenceSchema<TKind extends string, TMate
|
|
|
23
23
|
kind: z.ZodLiteral<"ipfs">;
|
|
24
24
|
cid: z.ZodString;
|
|
25
25
|
path: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
27
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
28
|
+
namespace: z.ZodString;
|
|
29
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
26
30
|
}, z.core.$strict>], "kind">;
|
|
27
31
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
28
32
|
byteLength: z.ZodNumber;
|
|
@@ -34,6 +34,10 @@ export declare const agentCandidateBenchmarkGraderIdentitySchema: z.ZodObject<{
|
|
|
34
34
|
kind: z.ZodLiteral<"ipfs">;
|
|
35
35
|
cid: z.ZodString;
|
|
36
36
|
path: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
38
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
39
|
+
namespace: z.ZodString;
|
|
40
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
37
41
|
}, z.core.$strict>], "kind">;
|
|
38
42
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
39
43
|
byteLength: z.ZodNumber;
|
|
@@ -125,6 +129,10 @@ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnio
|
|
|
125
129
|
kind: z.ZodLiteral<"ipfs">;
|
|
126
130
|
cid: z.ZodString;
|
|
127
131
|
path: z.ZodOptional<z.ZodString>;
|
|
132
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
133
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
134
|
+
namespace: z.ZodString;
|
|
135
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
128
136
|
}, z.core.$strict>], "kind">;
|
|
129
137
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
130
138
|
byteLength: z.ZodNumber;
|
|
@@ -158,6 +166,10 @@ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnio
|
|
|
158
166
|
kind: z.ZodLiteral<"ipfs">;
|
|
159
167
|
cid: z.ZodString;
|
|
160
168
|
path: z.ZodOptional<z.ZodString>;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
171
|
+
namespace: z.ZodString;
|
|
172
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
161
173
|
}, z.core.$strict>], "kind">;
|
|
162
174
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
163
175
|
byteLength: z.ZodNumber;
|
|
@@ -177,6 +189,10 @@ export declare const agentCandidateEffectiveMemorySchema: z.ZodDiscriminatedUnio
|
|
|
177
189
|
kind: z.ZodLiteral<"ipfs">;
|
|
178
190
|
cid: z.ZodString;
|
|
179
191
|
path: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
193
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
194
|
+
namespace: z.ZodString;
|
|
195
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
180
196
|
}, z.core.$strict>], "kind">;
|
|
181
197
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
182
198
|
byteLength: z.ZodNumber;
|
|
@@ -291,6 +307,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
291
307
|
kind: z.ZodLiteral<"ipfs">;
|
|
292
308
|
cid: z.ZodString;
|
|
293
309
|
path: z.ZodOptional<z.ZodString>;
|
|
310
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
311
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
312
|
+
namespace: z.ZodString;
|
|
313
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
294
314
|
}, z.core.$strict>], "kind">;
|
|
295
315
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
296
316
|
byteLength: z.ZodNumber;
|
|
@@ -310,6 +330,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
310
330
|
kind: z.ZodLiteral<"ipfs">;
|
|
311
331
|
cid: z.ZodString;
|
|
312
332
|
path: z.ZodOptional<z.ZodString>;
|
|
333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
334
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
335
|
+
namespace: z.ZodString;
|
|
336
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
313
337
|
}, z.core.$strict>], "kind">;
|
|
314
338
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
315
339
|
byteLength: z.ZodNumber;
|
|
@@ -459,6 +483,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
459
483
|
kind: z.ZodLiteral<"ipfs">;
|
|
460
484
|
cid: z.ZodString;
|
|
461
485
|
path: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
487
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
488
|
+
namespace: z.ZodString;
|
|
489
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
462
490
|
}, z.core.$strict>], "kind">;
|
|
463
491
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
464
492
|
byteLength: z.ZodNumber;
|
|
@@ -492,6 +520,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
492
520
|
kind: z.ZodLiteral<"ipfs">;
|
|
493
521
|
cid: z.ZodString;
|
|
494
522
|
path: z.ZodOptional<z.ZodString>;
|
|
523
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
524
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
525
|
+
namespace: z.ZodString;
|
|
526
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
495
527
|
}, z.core.$strict>], "kind">;
|
|
496
528
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
497
529
|
byteLength: z.ZodNumber;
|
|
@@ -511,6 +543,10 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
511
543
|
kind: z.ZodLiteral<"ipfs">;
|
|
512
544
|
cid: z.ZodString;
|
|
513
545
|
path: z.ZodOptional<z.ZodString>;
|
|
546
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
547
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
548
|
+
namespace: z.ZodString;
|
|
549
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
514
550
|
}, z.core.$strict>], "kind">;
|
|
515
551
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
516
552
|
byteLength: z.ZodNumber;
|
|
@@ -599,6 +635,10 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
|
|
|
599
635
|
kind: z.ZodLiteral<"ipfs">;
|
|
600
636
|
cid: z.ZodString;
|
|
601
637
|
path: z.ZodOptional<z.ZodString>;
|
|
638
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
639
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
640
|
+
namespace: z.ZodString;
|
|
641
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
602
642
|
}, z.core.$strict>], "kind">;
|
|
603
643
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
604
644
|
byteLength: z.ZodNumber;
|
|
@@ -658,6 +698,10 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
|
|
|
658
698
|
kind: "ipfs";
|
|
659
699
|
cid: string;
|
|
660
700
|
path?: string | undefined;
|
|
701
|
+
} | {
|
|
702
|
+
kind: "private-cas";
|
|
703
|
+
namespace: string;
|
|
704
|
+
digest: `sha256:${string}`;
|
|
661
705
|
};
|
|
662
706
|
sha256: `sha256:${string}`;
|
|
663
707
|
byteLength: number;
|
|
@@ -710,6 +754,10 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
|
|
|
710
754
|
kind: "ipfs";
|
|
711
755
|
cid: string;
|
|
712
756
|
path?: string | undefined;
|
|
757
|
+
} | {
|
|
758
|
+
kind: "private-cas";
|
|
759
|
+
namespace: string;
|
|
760
|
+
digest: `sha256:${string}`;
|
|
713
761
|
};
|
|
714
762
|
sha256: `sha256:${string}`;
|
|
715
763
|
byteLength: number;
|
|
@@ -774,6 +822,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
774
822
|
kind: "ipfs";
|
|
775
823
|
cid: string;
|
|
776
824
|
path?: string | undefined;
|
|
825
|
+
} | {
|
|
826
|
+
kind: "private-cas";
|
|
827
|
+
namespace: string;
|
|
828
|
+
digest: `sha256:${string}`;
|
|
777
829
|
};
|
|
778
830
|
sha256: `sha256:${string}`;
|
|
779
831
|
byteLength: number;
|
|
@@ -793,6 +845,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
793
845
|
kind: "ipfs";
|
|
794
846
|
cid: string;
|
|
795
847
|
path?: string | undefined;
|
|
848
|
+
} | {
|
|
849
|
+
kind: "private-cas";
|
|
850
|
+
namespace: string;
|
|
851
|
+
digest: `sha256:${string}`;
|
|
796
852
|
};
|
|
797
853
|
sha256: `sha256:${string}`;
|
|
798
854
|
byteLength: number;
|
|
@@ -906,6 +962,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
906
962
|
kind: "ipfs";
|
|
907
963
|
cid: string;
|
|
908
964
|
path?: string | undefined;
|
|
965
|
+
} | {
|
|
966
|
+
kind: "private-cas";
|
|
967
|
+
namespace: string;
|
|
968
|
+
digest: `sha256:${string}`;
|
|
909
969
|
};
|
|
910
970
|
sha256: `sha256:${string}`;
|
|
911
971
|
byteLength: number;
|
|
@@ -939,6 +999,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
939
999
|
kind: "ipfs";
|
|
940
1000
|
cid: string;
|
|
941
1001
|
path?: string | undefined;
|
|
1002
|
+
} | {
|
|
1003
|
+
kind: "private-cas";
|
|
1004
|
+
namespace: string;
|
|
1005
|
+
digest: `sha256:${string}`;
|
|
942
1006
|
};
|
|
943
1007
|
sha256: `sha256:${string}`;
|
|
944
1008
|
byteLength: number;
|
|
@@ -958,6 +1022,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
958
1022
|
kind: "ipfs";
|
|
959
1023
|
cid: string;
|
|
960
1024
|
path?: string | undefined;
|
|
1025
|
+
} | {
|
|
1026
|
+
kind: "private-cas";
|
|
1027
|
+
namespace: string;
|
|
1028
|
+
digest: `sha256:${string}`;
|
|
961
1029
|
};
|
|
962
1030
|
sha256: `sha256:${string}`;
|
|
963
1031
|
byteLength: number;
|
|
@@ -1018,6 +1086,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1018
1086
|
kind: "ipfs";
|
|
1019
1087
|
cid: string;
|
|
1020
1088
|
path?: string | undefined;
|
|
1089
|
+
} | {
|
|
1090
|
+
kind: "private-cas";
|
|
1091
|
+
namespace: string;
|
|
1092
|
+
digest: `sha256:${string}`;
|
|
1021
1093
|
};
|
|
1022
1094
|
sha256: `sha256:${string}`;
|
|
1023
1095
|
byteLength: number;
|
|
@@ -1037,6 +1109,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1037
1109
|
kind: "ipfs";
|
|
1038
1110
|
cid: string;
|
|
1039
1111
|
path?: string | undefined;
|
|
1112
|
+
} | {
|
|
1113
|
+
kind: "private-cas";
|
|
1114
|
+
namespace: string;
|
|
1115
|
+
digest: `sha256:${string}`;
|
|
1040
1116
|
};
|
|
1041
1117
|
sha256: `sha256:${string}`;
|
|
1042
1118
|
byteLength: number;
|
|
@@ -1150,6 +1226,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1150
1226
|
kind: "ipfs";
|
|
1151
1227
|
cid: string;
|
|
1152
1228
|
path?: string | undefined;
|
|
1229
|
+
} | {
|
|
1230
|
+
kind: "private-cas";
|
|
1231
|
+
namespace: string;
|
|
1232
|
+
digest: `sha256:${string}`;
|
|
1153
1233
|
};
|
|
1154
1234
|
sha256: `sha256:${string}`;
|
|
1155
1235
|
byteLength: number;
|
|
@@ -1183,6 +1263,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1183
1263
|
kind: "ipfs";
|
|
1184
1264
|
cid: string;
|
|
1185
1265
|
path?: string | undefined;
|
|
1266
|
+
} | {
|
|
1267
|
+
kind: "private-cas";
|
|
1268
|
+
namespace: string;
|
|
1269
|
+
digest: `sha256:${string}`;
|
|
1186
1270
|
};
|
|
1187
1271
|
sha256: `sha256:${string}`;
|
|
1188
1272
|
byteLength: number;
|
|
@@ -1202,6 +1286,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1202
1286
|
kind: "ipfs";
|
|
1203
1287
|
cid: string;
|
|
1204
1288
|
path?: string | undefined;
|
|
1289
|
+
} | {
|
|
1290
|
+
kind: "private-cas";
|
|
1291
|
+
namespace: string;
|
|
1292
|
+
digest: `sha256:${string}`;
|
|
1205
1293
|
};
|
|
1206
1294
|
sha256: `sha256:${string}`;
|
|
1207
1295
|
byteLength: number;
|
|
@@ -1225,6 +1313,10 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1225
1313
|
kind: z.ZodLiteral<"ipfs">;
|
|
1226
1314
|
cid: z.ZodString;
|
|
1227
1315
|
path: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1317
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
1318
|
+
namespace: z.ZodString;
|
|
1319
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1228
1320
|
}, z.core.$strict>], "kind">;
|
|
1229
1321
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
1230
1322
|
byteLength: z.ZodNumber;
|
|
@@ -37,6 +37,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
|
|
|
37
37
|
kind: z.ZodLiteral<"ipfs">;
|
|
38
38
|
cid: z.ZodString;
|
|
39
39
|
path: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
41
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
42
|
+
namespace: z.ZodString;
|
|
43
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
40
44
|
}, z.core.$strict>], "kind">;
|
|
41
45
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
42
46
|
byteLength: z.ZodNumber;
|
|
@@ -56,6 +60,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
|
|
|
56
60
|
kind: z.ZodLiteral<"ipfs">;
|
|
57
61
|
cid: z.ZodString;
|
|
58
62
|
path: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
64
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
65
|
+
namespace: z.ZodString;
|
|
66
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
59
67
|
}, z.core.$strict>], "kind">;
|
|
60
68
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
61
69
|
byteLength: z.ZodNumber;
|
|
@@ -76,6 +84,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
|
|
|
76
84
|
kind: z.ZodLiteral<"ipfs">;
|
|
77
85
|
cid: z.ZodString;
|
|
78
86
|
path: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
88
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
89
|
+
namespace: z.ZodString;
|
|
90
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
79
91
|
}, z.core.$strict>], "kind">;
|
|
80
92
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
81
93
|
byteLength: z.ZodNumber;
|
|
@@ -95,6 +107,10 @@ export declare const agentCandidateKnowledgeSchema: z.ZodObject<{
|
|
|
95
107
|
kind: z.ZodLiteral<"ipfs">;
|
|
96
108
|
cid: z.ZodString;
|
|
97
109
|
path: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
112
|
+
namespace: z.ZodString;
|
|
113
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
98
114
|
}, z.core.$strict>], "kind">;
|
|
99
115
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
100
116
|
byteLength: z.ZodNumber;
|
|
@@ -120,6 +136,10 @@ export declare const agentCandidateMemoryPolicySchema: z.ZodDiscriminatedUnion<[
|
|
|
120
136
|
kind: z.ZodLiteral<"ipfs">;
|
|
121
137
|
cid: z.ZodString;
|
|
122
138
|
path: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
140
|
+
kind: z.ZodLiteral<"private-cas">;
|
|
141
|
+
namespace: z.ZodString;
|
|
142
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
123
143
|
}, z.core.$strict>], "kind">;
|
|
124
144
|
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
125
145
|
byteLength: z.ZodNumber;
|