@tangle-network/agent-interface 0.28.0 → 0.30.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/dist/agent-candidate-code-schema.d.ts +0 -8
- package/dist/agent-candidate-code-schema.js +0 -1
- package/dist/agent-candidate-execution-plan-schema.d.ts +193 -350
- package/dist/agent-candidate-execution-plan-schema.js +98 -131
- package/dist/agent-candidate-lineage-schema.d.ts +1 -28
- package/dist/agent-candidate-lineage-schema.js +3 -33
- package/dist/agent-candidate-outcome-schema.d.ts +48 -18
- package/dist/agent-candidate-outcome-schema.js +19 -24
- package/dist/agent-candidate-profile-schema.d.ts +3 -28
- package/dist/agent-candidate-profile-schema.js +15 -27
- package/dist/agent-candidate-promotion-schema.d.ts +10981 -2356
- package/dist/agent-candidate-promotion-schema.js +495 -105
- package/dist/agent-candidate-receipt-schema.d.ts +268 -303
- package/dist/agent-candidate-receipt-schema.js +82 -8
- package/dist/agent-candidate-schema-common.d.ts +8 -0
- package/dist/agent-candidate-schema-common.js +35 -1
- package/dist/agent-candidate-schema.d.ts +3 -52
- package/dist/agent-candidate-schema.js +3 -28
- package/dist/agent-candidate-task-schema.d.ts +643 -0
- package/dist/agent-candidate-task-schema.js +191 -0
- package/dist/agent-candidate.d.ts +191 -75
- package/dist/agent-candidate.test-fixture.d.ts +0 -26
- package/dist/agent-candidate.test-fixture.js +0 -26
- package/dist/agent-profile.d.ts +33 -9
- package/dist/harness-capabilities.d.ts +2 -2
- package/dist/harness-capabilities.js +23 -14
- package/dist/profile-schema.d.ts +65 -84
- package/dist/profile-schema.js +82 -32
- package/dist/profile-security.js +2 -0
- package/package.json +2 -2
|
@@ -1,4 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const agentCandidateBenchmarkInputEvidenceSchema: z.ZodObject<{
|
|
3
|
+
suite: z.ZodObject<{
|
|
4
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
5
|
+
material: z.ZodUnion<readonly [z.ZodObject<{
|
|
6
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7
|
+
kind: z.ZodLiteral<"s3">;
|
|
8
|
+
bucket: z.ZodString;
|
|
9
|
+
key: z.ZodString;
|
|
10
|
+
region: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
13
|
+
cid: z.ZodString;
|
|
14
|
+
path: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strict>], "kind">;
|
|
16
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
17
|
+
byteLength: z.ZodNumber;
|
|
18
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19
|
+
encoding: z.ZodLiteral<"base64">;
|
|
20
|
+
content: z.ZodString;
|
|
21
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
22
|
+
byteLength: z.ZodNumber;
|
|
23
|
+
}, z.core.$strict>]>;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
task: z.ZodObject<{
|
|
26
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
27
|
+
material: z.ZodUnion<readonly [z.ZodObject<{
|
|
28
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29
|
+
kind: z.ZodLiteral<"s3">;
|
|
30
|
+
bucket: z.ZodString;
|
|
31
|
+
key: z.ZodString;
|
|
32
|
+
region: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
34
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
35
|
+
cid: z.ZodString;
|
|
36
|
+
path: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strict>], "kind">;
|
|
38
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
39
|
+
byteLength: z.ZodNumber;
|
|
40
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
41
|
+
encoding: z.ZodLiteral<"base64">;
|
|
42
|
+
content: z.ZodString;
|
|
43
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
44
|
+
byteLength: z.ZodNumber;
|
|
45
|
+
}, z.core.$strict>]>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
}, z.core.$strict>;
|
|
2
48
|
export declare const agentCandidateTraceEvidenceSchema: z.ZodObject<{
|
|
3
49
|
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
4
50
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -98,164 +144,152 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
98
144
|
kind: z.ZodLiteral<"agent-candidate-materialization">;
|
|
99
145
|
digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
|
|
100
146
|
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
value: string;
|
|
118
|
-
}[];
|
|
119
|
-
unsupported: {
|
|
120
|
-
dimension: string;
|
|
121
|
-
reason: string;
|
|
122
|
-
}[];
|
|
123
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
124
|
-
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
125
|
-
files: {
|
|
126
|
-
relPath: string;
|
|
127
|
-
mode: number;
|
|
128
|
-
contentSha256: `sha256:${string}`;
|
|
129
|
-
}[];
|
|
130
|
-
env: Record<string, {
|
|
131
|
-
kind: "public";
|
|
132
|
-
value: string;
|
|
133
|
-
}>;
|
|
134
|
-
flags: {
|
|
135
|
-
kind: "public";
|
|
136
|
-
value: string;
|
|
137
|
-
}[];
|
|
138
|
-
unsupported: {
|
|
139
|
-
dimension: string;
|
|
140
|
-
reason: string;
|
|
141
|
-
}[];
|
|
142
|
-
}, unknown>>;
|
|
143
|
-
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
144
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
|
-
kind: z.ZodLiteral<"s3">;
|
|
146
|
-
bucket: z.ZodString;
|
|
147
|
-
key: z.ZodString;
|
|
148
|
-
region: z.ZodOptional<z.ZodString>;
|
|
147
|
+
benchmark: z.ZodObject<{
|
|
148
|
+
suite: z.ZodObject<{
|
|
149
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
150
|
+
material: z.ZodUnion<readonly [z.ZodObject<{
|
|
151
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
152
|
+
kind: z.ZodLiteral<"s3">;
|
|
153
|
+
bucket: z.ZodString;
|
|
154
|
+
key: z.ZodString;
|
|
155
|
+
region: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
157
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
158
|
+
cid: z.ZodString;
|
|
159
|
+
path: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strict>], "kind">;
|
|
161
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
162
|
+
byteLength: z.ZodNumber;
|
|
149
163
|
}, z.core.$strict>, z.ZodObject<{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
164
|
+
encoding: z.ZodLiteral<"base64">;
|
|
165
|
+
content: z.ZodString;
|
|
166
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
167
|
+
byteLength: z.ZodNumber;
|
|
168
|
+
}, z.core.$strict>]>;
|
|
169
|
+
}, z.core.$strict>;
|
|
170
|
+
task: z.ZodObject<{
|
|
171
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
172
|
+
material: z.ZodUnion<readonly [z.ZodObject<{
|
|
173
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
174
|
+
kind: z.ZodLiteral<"s3">;
|
|
175
|
+
bucket: z.ZodString;
|
|
176
|
+
key: z.ZodString;
|
|
177
|
+
region: z.ZodOptional<z.ZodString>;
|
|
178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
179
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
180
|
+
cid: z.ZodString;
|
|
181
|
+
path: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, z.core.$strict>], "kind">;
|
|
183
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
184
|
+
byteLength: z.ZodNumber;
|
|
185
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
186
|
+
encoding: z.ZodLiteral<"base64">;
|
|
187
|
+
content: z.ZodString;
|
|
188
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
189
|
+
byteLength: z.ZodNumber;
|
|
190
|
+
}, z.core.$strict>]>;
|
|
191
|
+
}, z.core.$strict>;
|
|
192
|
+
}, z.core.$strict>;
|
|
193
|
+
profileActivation: z.ZodObject<{
|
|
194
|
+
kind: z.ZodLiteral<"agent-candidate-profile-activation">;
|
|
195
|
+
profilePlan: z.ZodObject<{
|
|
196
|
+
kind: z.ZodLiteral<"agent-profile-workspace-plan">;
|
|
197
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
198
|
+
material: z.ZodType<{
|
|
199
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
200
|
+
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
201
|
+
files: {
|
|
202
|
+
relPath: string;
|
|
203
|
+
mode: number;
|
|
204
|
+
contentSha256: `sha256:${string}`;
|
|
205
|
+
}[];
|
|
206
|
+
env: Record<string, {
|
|
207
|
+
kind: "public";
|
|
208
|
+
value: string;
|
|
209
|
+
}>;
|
|
210
|
+
flags: {
|
|
211
|
+
kind: "public";
|
|
212
|
+
value: string;
|
|
213
|
+
}[];
|
|
214
|
+
unsupported: {
|
|
215
|
+
dimension: string;
|
|
216
|
+
reason: string;
|
|
217
|
+
}[];
|
|
218
|
+
systemPrompt?: {
|
|
219
|
+
kind: "public";
|
|
220
|
+
value: string;
|
|
221
|
+
} | undefined;
|
|
222
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
223
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
224
|
+
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
225
|
+
files: {
|
|
226
|
+
relPath: string;
|
|
227
|
+
mode: number;
|
|
228
|
+
contentSha256: `sha256:${string}`;
|
|
229
|
+
}[];
|
|
230
|
+
env: Record<string, {
|
|
231
|
+
kind: "public";
|
|
232
|
+
value: string;
|
|
233
|
+
}>;
|
|
234
|
+
flags: {
|
|
235
|
+
kind: "public";
|
|
236
|
+
value: string;
|
|
237
|
+
}[];
|
|
238
|
+
unsupported: {
|
|
239
|
+
dimension: string;
|
|
240
|
+
reason: string;
|
|
241
|
+
}[];
|
|
242
|
+
systemPrompt?: {
|
|
243
|
+
kind: "public";
|
|
244
|
+
value: string;
|
|
245
|
+
} | undefined;
|
|
246
|
+
}, unknown>>;
|
|
247
|
+
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
248
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
249
|
+
kind: z.ZodLiteral<"s3">;
|
|
250
|
+
bucket: z.ZodString;
|
|
251
|
+
key: z.ZodString;
|
|
252
|
+
region: z.ZodOptional<z.ZodString>;
|
|
253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
254
|
+
kind: z.ZodLiteral<"ipfs">;
|
|
255
|
+
cid: z.ZodString;
|
|
256
|
+
path: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$strict>], "kind">;
|
|
258
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
259
|
+
byteLength: z.ZodNumber;
|
|
260
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
261
|
+
encoding: z.ZodLiteral<"base64">;
|
|
262
|
+
content: z.ZodString;
|
|
263
|
+
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
264
|
+
byteLength: z.ZodNumber;
|
|
265
|
+
}, z.core.$strict>]>;
|
|
266
|
+
}, z.core.$strict>;
|
|
267
|
+
files: z.ZodArray<z.ZodObject<{
|
|
268
|
+
path: z.ZodString;
|
|
269
|
+
mode: z.ZodNumber;
|
|
158
270
|
content: z.ZodString;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}, z.core.$strict>]>;
|
|
271
|
+
}, z.core.$strict>>;
|
|
272
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
162
273
|
}, z.core.$strict>;
|
|
163
274
|
executionPlan: z.ZodObject<{
|
|
164
275
|
kind: z.ZodLiteral<"agent-candidate-execution-plan">;
|
|
165
276
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
166
277
|
material: z.ZodType<{
|
|
167
278
|
kind: "agent-candidate-execution-plan-material";
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
instruction: {
|
|
181
|
-
encoding: "utf8";
|
|
182
|
-
sha256: `sha256:${string}`;
|
|
183
|
-
byteLength: number;
|
|
184
|
-
delivery: {
|
|
185
|
-
kind: "argv-append";
|
|
186
|
-
} | {
|
|
187
|
-
kind: "stdin-utf8";
|
|
188
|
-
} | {
|
|
189
|
-
kind: "utf8-file";
|
|
190
|
-
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
191
|
-
path: "/tangle/input/task.txt";
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
outcome: {
|
|
195
|
-
kind: "workspace";
|
|
196
|
-
} | {
|
|
197
|
-
kind: "output";
|
|
198
|
-
mediaType: string;
|
|
199
|
-
maxBytes: number;
|
|
200
|
-
};
|
|
201
|
-
workspace: {
|
|
202
|
-
kind: "agent-candidate-workspace-snapshot";
|
|
203
|
-
digest: `sha256:${string}`;
|
|
204
|
-
material: {
|
|
205
|
-
kind: "agent-candidate-workspace-manifest";
|
|
206
|
-
files: {
|
|
207
|
-
path: string;
|
|
208
|
-
mode: number;
|
|
209
|
-
sha256: `sha256:${string}`;
|
|
210
|
-
byteLength: number;
|
|
211
|
-
}[];
|
|
212
|
-
};
|
|
213
|
-
manifest: {
|
|
214
|
-
locator: {
|
|
215
|
-
kind: "s3";
|
|
216
|
-
bucket: string;
|
|
217
|
-
key: string;
|
|
218
|
-
region?: string | undefined;
|
|
219
|
-
} | {
|
|
220
|
-
kind: "ipfs";
|
|
221
|
-
cid: string;
|
|
222
|
-
path?: string | undefined;
|
|
223
|
-
};
|
|
224
|
-
sha256: `sha256:${string}`;
|
|
225
|
-
byteLength: number;
|
|
226
|
-
} | {
|
|
227
|
-
encoding: "base64";
|
|
228
|
-
content: string;
|
|
229
|
-
sha256: `sha256:${string}`;
|
|
230
|
-
byteLength: number;
|
|
231
|
-
};
|
|
232
|
-
archive: {
|
|
233
|
-
locator: {
|
|
234
|
-
kind: "s3";
|
|
235
|
-
bucket: string;
|
|
236
|
-
key: string;
|
|
237
|
-
region?: string | undefined;
|
|
238
|
-
} | {
|
|
239
|
-
kind: "ipfs";
|
|
240
|
-
cid: string;
|
|
241
|
-
path?: string | undefined;
|
|
242
|
-
};
|
|
243
|
-
sha256: `sha256:${string}`;
|
|
244
|
-
byteLength: number;
|
|
245
|
-
} | {
|
|
246
|
-
encoding: "base64";
|
|
247
|
-
content: string;
|
|
248
|
-
sha256: `sha256:${string}`;
|
|
249
|
-
byteLength: number;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
repository?: {
|
|
253
|
-
identity: string;
|
|
254
|
-
rootIdentity: string;
|
|
255
|
-
baseCommit: string;
|
|
256
|
-
baseTree: string;
|
|
257
|
-
} | undefined;
|
|
279
|
+
runCell: {
|
|
280
|
+
kind: "agent-candidate-run-cell";
|
|
281
|
+
experimentDigest: `sha256:${string}`;
|
|
282
|
+
arm: "candidate" | "baseline";
|
|
283
|
+
bundleDigest: `sha256:${string}`;
|
|
284
|
+
suiteDigest: `sha256:${string}`;
|
|
285
|
+
taskDigest: `sha256:${string}`;
|
|
286
|
+
taskIndex: number;
|
|
287
|
+
repetition: number;
|
|
288
|
+
seed: number;
|
|
289
|
+
attempt: number;
|
|
290
|
+
digest: `sha256:${string}`;
|
|
258
291
|
};
|
|
292
|
+
executionId: string;
|
|
259
293
|
workspaces: {
|
|
260
294
|
taskRoot: string;
|
|
261
295
|
candidateRoot?: string | undefined;
|
|
@@ -268,6 +302,23 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
268
302
|
};
|
|
269
303
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
270
304
|
harnessVersion: string;
|
|
305
|
+
instructionDelivery: {
|
|
306
|
+
kind: "argv-append";
|
|
307
|
+
} | {
|
|
308
|
+
kind: "stdin-utf8";
|
|
309
|
+
} | {
|
|
310
|
+
kind: "utf8-file";
|
|
311
|
+
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
312
|
+
path: "/tangle/input/task.txt";
|
|
313
|
+
};
|
|
314
|
+
limits: {
|
|
315
|
+
timeoutMs: number;
|
|
316
|
+
maxSteps: number;
|
|
317
|
+
maxModelCalls: number;
|
|
318
|
+
maxInputTokens: number;
|
|
319
|
+
maxOutputTokens: number;
|
|
320
|
+
maxCostUsd: number;
|
|
321
|
+
};
|
|
271
322
|
container: {
|
|
272
323
|
image: string;
|
|
273
324
|
indexDigest: `sha256:${string}`;
|
|
@@ -314,24 +365,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
314
365
|
requested: string;
|
|
315
366
|
})[];
|
|
316
367
|
};
|
|
317
|
-
grader: {
|
|
318
|
-
name: string;
|
|
319
|
-
version: string;
|
|
320
|
-
artifact: {
|
|
321
|
-
locator: {
|
|
322
|
-
kind: "s3";
|
|
323
|
-
bucket: string;
|
|
324
|
-
key: string;
|
|
325
|
-
region?: string | undefined;
|
|
326
|
-
} | {
|
|
327
|
-
kind: "ipfs";
|
|
328
|
-
cid: string;
|
|
329
|
-
path?: string | undefined;
|
|
330
|
-
};
|
|
331
|
-
sha256: `sha256:${string}`;
|
|
332
|
-
byteLength: number;
|
|
333
|
-
};
|
|
334
|
-
};
|
|
335
368
|
launch: {
|
|
336
369
|
executable: string;
|
|
337
370
|
args: {
|
|
@@ -429,14 +462,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
429
462
|
} | {
|
|
430
463
|
mode: "disabled";
|
|
431
464
|
};
|
|
432
|
-
limits: {
|
|
433
|
-
timeoutMs: number;
|
|
434
|
-
maxSteps: number;
|
|
435
|
-
maxModelCalls: number;
|
|
436
|
-
maxInputTokens: number;
|
|
437
|
-
maxOutputTokens: number;
|
|
438
|
-
maxCostUsd: number;
|
|
439
|
-
};
|
|
440
465
|
network: {
|
|
441
466
|
mode: "disabled";
|
|
442
467
|
};
|
|
@@ -494,97 +519,20 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
494
519
|
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
495
520
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
496
521
|
kind: "agent-candidate-execution-plan-material";
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
instruction: {
|
|
510
|
-
encoding: "utf8";
|
|
511
|
-
sha256: `sha256:${string}`;
|
|
512
|
-
byteLength: number;
|
|
513
|
-
delivery: {
|
|
514
|
-
kind: "argv-append";
|
|
515
|
-
} | {
|
|
516
|
-
kind: "stdin-utf8";
|
|
517
|
-
} | {
|
|
518
|
-
kind: "utf8-file";
|
|
519
|
-
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
520
|
-
path: "/tangle/input/task.txt";
|
|
521
|
-
};
|
|
522
|
-
};
|
|
523
|
-
outcome: {
|
|
524
|
-
kind: "workspace";
|
|
525
|
-
} | {
|
|
526
|
-
kind: "output";
|
|
527
|
-
mediaType: string;
|
|
528
|
-
maxBytes: number;
|
|
529
|
-
};
|
|
530
|
-
workspace: {
|
|
531
|
-
kind: "agent-candidate-workspace-snapshot";
|
|
532
|
-
digest: `sha256:${string}`;
|
|
533
|
-
material: {
|
|
534
|
-
kind: "agent-candidate-workspace-manifest";
|
|
535
|
-
files: {
|
|
536
|
-
path: string;
|
|
537
|
-
mode: number;
|
|
538
|
-
sha256: `sha256:${string}`;
|
|
539
|
-
byteLength: number;
|
|
540
|
-
}[];
|
|
541
|
-
};
|
|
542
|
-
manifest: {
|
|
543
|
-
locator: {
|
|
544
|
-
kind: "s3";
|
|
545
|
-
bucket: string;
|
|
546
|
-
key: string;
|
|
547
|
-
region?: string | undefined;
|
|
548
|
-
} | {
|
|
549
|
-
kind: "ipfs";
|
|
550
|
-
cid: string;
|
|
551
|
-
path?: string | undefined;
|
|
552
|
-
};
|
|
553
|
-
sha256: `sha256:${string}`;
|
|
554
|
-
byteLength: number;
|
|
555
|
-
} | {
|
|
556
|
-
encoding: "base64";
|
|
557
|
-
content: string;
|
|
558
|
-
sha256: `sha256:${string}`;
|
|
559
|
-
byteLength: number;
|
|
560
|
-
};
|
|
561
|
-
archive: {
|
|
562
|
-
locator: {
|
|
563
|
-
kind: "s3";
|
|
564
|
-
bucket: string;
|
|
565
|
-
key: string;
|
|
566
|
-
region?: string | undefined;
|
|
567
|
-
} | {
|
|
568
|
-
kind: "ipfs";
|
|
569
|
-
cid: string;
|
|
570
|
-
path?: string | undefined;
|
|
571
|
-
};
|
|
572
|
-
sha256: `sha256:${string}`;
|
|
573
|
-
byteLength: number;
|
|
574
|
-
} | {
|
|
575
|
-
encoding: "base64";
|
|
576
|
-
content: string;
|
|
577
|
-
sha256: `sha256:${string}`;
|
|
578
|
-
byteLength: number;
|
|
579
|
-
};
|
|
580
|
-
};
|
|
581
|
-
repository?: {
|
|
582
|
-
identity: string;
|
|
583
|
-
rootIdentity: string;
|
|
584
|
-
baseCommit: string;
|
|
585
|
-
baseTree: string;
|
|
586
|
-
} | undefined;
|
|
522
|
+
runCell: {
|
|
523
|
+
kind: "agent-candidate-run-cell";
|
|
524
|
+
experimentDigest: `sha256:${string}`;
|
|
525
|
+
arm: "candidate" | "baseline";
|
|
526
|
+
bundleDigest: `sha256:${string}`;
|
|
527
|
+
suiteDigest: `sha256:${string}`;
|
|
528
|
+
taskDigest: `sha256:${string}`;
|
|
529
|
+
taskIndex: number;
|
|
530
|
+
repetition: number;
|
|
531
|
+
seed: number;
|
|
532
|
+
attempt: number;
|
|
533
|
+
digest: `sha256:${string}`;
|
|
587
534
|
};
|
|
535
|
+
executionId: string;
|
|
588
536
|
workspaces: {
|
|
589
537
|
taskRoot: string;
|
|
590
538
|
candidateRoot?: string | undefined;
|
|
@@ -597,6 +545,23 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
597
545
|
};
|
|
598
546
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
599
547
|
harnessVersion: string;
|
|
548
|
+
instructionDelivery: {
|
|
549
|
+
kind: "argv-append";
|
|
550
|
+
} | {
|
|
551
|
+
kind: "stdin-utf8";
|
|
552
|
+
} | {
|
|
553
|
+
kind: "utf8-file";
|
|
554
|
+
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
555
|
+
path: "/tangle/input/task.txt";
|
|
556
|
+
};
|
|
557
|
+
limits: {
|
|
558
|
+
timeoutMs: number;
|
|
559
|
+
maxSteps: number;
|
|
560
|
+
maxModelCalls: number;
|
|
561
|
+
maxInputTokens: number;
|
|
562
|
+
maxOutputTokens: number;
|
|
563
|
+
maxCostUsd: number;
|
|
564
|
+
};
|
|
600
565
|
container: {
|
|
601
566
|
image: string;
|
|
602
567
|
indexDigest: `sha256:${string}`;
|
|
@@ -643,24 +608,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
643
608
|
requested: string;
|
|
644
609
|
})[];
|
|
645
610
|
};
|
|
646
|
-
grader: {
|
|
647
|
-
name: string;
|
|
648
|
-
version: string;
|
|
649
|
-
artifact: {
|
|
650
|
-
locator: {
|
|
651
|
-
kind: "s3";
|
|
652
|
-
bucket: string;
|
|
653
|
-
key: string;
|
|
654
|
-
region?: string | undefined;
|
|
655
|
-
} | {
|
|
656
|
-
kind: "ipfs";
|
|
657
|
-
cid: string;
|
|
658
|
-
path?: string | undefined;
|
|
659
|
-
};
|
|
660
|
-
sha256: `sha256:${string}`;
|
|
661
|
-
byteLength: number;
|
|
662
|
-
};
|
|
663
|
-
};
|
|
664
611
|
launch: {
|
|
665
612
|
executable: string;
|
|
666
613
|
args: {
|
|
@@ -758,14 +705,6 @@ export declare const agentCandidateMaterializationReceiptSchema: z.ZodObject<{
|
|
|
758
705
|
} | {
|
|
759
706
|
mode: "disabled";
|
|
760
707
|
};
|
|
761
|
-
limits: {
|
|
762
|
-
timeoutMs: number;
|
|
763
|
-
maxSteps: number;
|
|
764
|
-
maxModelCalls: number;
|
|
765
|
-
maxInputTokens: number;
|
|
766
|
-
maxOutputTokens: number;
|
|
767
|
-
maxCostUsd: number;
|
|
768
|
-
};
|
|
769
708
|
network: {
|
|
770
709
|
mode: "disabled";
|
|
771
710
|
};
|
|
@@ -959,8 +898,14 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
959
898
|
kind: z.ZodLiteral<"agent-candidate-run">;
|
|
960
899
|
digestAlgorithm: z.ZodLiteral<"rfc8785-sha256">;
|
|
961
900
|
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
901
|
+
runCellDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
962
902
|
materializationReceiptDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
963
903
|
executionPlanDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
904
|
+
timing: z.ZodObject<{
|
|
905
|
+
startedAtMs: z.ZodNumber;
|
|
906
|
+
endedAtMs: z.ZodNumber;
|
|
907
|
+
durationMs: z.ZodNumber;
|
|
908
|
+
}, z.core.$strict>;
|
|
964
909
|
memory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
965
910
|
mode: z.ZodLiteral<"disabled">;
|
|
966
911
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1407,15 +1352,10 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1407
1352
|
kind: "agent-candidate-benchmark-result-material";
|
|
1408
1353
|
executionPlanDigest: `sha256:${string}`;
|
|
1409
1354
|
taskOutcomeDigest: `sha256:${string}`;
|
|
1410
|
-
benchmark: {
|
|
1411
|
-
name: string;
|
|
1412
|
-
version: string;
|
|
1413
|
-
taskId: string;
|
|
1414
|
-
splitDigest: `sha256:${string}`;
|
|
1415
|
-
};
|
|
1416
1355
|
grader: {
|
|
1417
1356
|
name: string;
|
|
1418
1357
|
version: string;
|
|
1358
|
+
format: "tangle-grader";
|
|
1419
1359
|
artifact: {
|
|
1420
1360
|
locator: {
|
|
1421
1361
|
kind: "s3";
|
|
@@ -1445,6 +1385,21 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1445
1385
|
sha256: `sha256:${string}`;
|
|
1446
1386
|
byteLength: number;
|
|
1447
1387
|
};
|
|
1388
|
+
grading: {
|
|
1389
|
+
usage: {
|
|
1390
|
+
inputTokens: number;
|
|
1391
|
+
outputTokens: number;
|
|
1392
|
+
cachedInputTokens: number;
|
|
1393
|
+
reasoningTokens: number;
|
|
1394
|
+
modelCalls: number;
|
|
1395
|
+
costUsdNanos: number;
|
|
1396
|
+
};
|
|
1397
|
+
timing: {
|
|
1398
|
+
startedAtMs: number;
|
|
1399
|
+
endedAtMs: number;
|
|
1400
|
+
durationMs: number;
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1448
1403
|
score: number;
|
|
1449
1404
|
passed: boolean;
|
|
1450
1405
|
dimensions: {
|
|
@@ -1455,15 +1410,10 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1455
1410
|
kind: "agent-candidate-benchmark-result-material";
|
|
1456
1411
|
executionPlanDigest: `sha256:${string}`;
|
|
1457
1412
|
taskOutcomeDigest: `sha256:${string}`;
|
|
1458
|
-
benchmark: {
|
|
1459
|
-
name: string;
|
|
1460
|
-
version: string;
|
|
1461
|
-
taskId: string;
|
|
1462
|
-
splitDigest: `sha256:${string}`;
|
|
1463
|
-
};
|
|
1464
1413
|
grader: {
|
|
1465
1414
|
name: string;
|
|
1466
1415
|
version: string;
|
|
1416
|
+
format: "tangle-grader";
|
|
1467
1417
|
artifact: {
|
|
1468
1418
|
locator: {
|
|
1469
1419
|
kind: "s3";
|
|
@@ -1493,6 +1443,21 @@ export declare const agentCandidateRunReceiptSchema: z.ZodObject<{
|
|
|
1493
1443
|
sha256: `sha256:${string}`;
|
|
1494
1444
|
byteLength: number;
|
|
1495
1445
|
};
|
|
1446
|
+
grading: {
|
|
1447
|
+
usage: {
|
|
1448
|
+
inputTokens: number;
|
|
1449
|
+
outputTokens: number;
|
|
1450
|
+
cachedInputTokens: number;
|
|
1451
|
+
reasoningTokens: number;
|
|
1452
|
+
modelCalls: number;
|
|
1453
|
+
costUsdNanos: number;
|
|
1454
|
+
};
|
|
1455
|
+
timing: {
|
|
1456
|
+
startedAtMs: number;
|
|
1457
|
+
endedAtMs: number;
|
|
1458
|
+
durationMs: number;
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1496
1461
|
score: number;
|
|
1497
1462
|
passed: boolean;
|
|
1498
1463
|
dimensions: {
|