@tangle-network/agent-interface 0.28.0 → 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.
- 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 +173 -350
- package/dist/agent-candidate-execution-plan-schema.js +97 -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-promotion-schema.d.ts +11021 -2358
- package/dist/agent-candidate-promotion-schema.js +495 -105
- package/dist/agent-candidate-receipt-schema.d.ts +260 -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 +2 -38
- 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 +173 -72
- package/dist/agent-candidate.test-fixture.d.ts +0 -26
- package/dist/agent-candidate.test-fixture.js +0 -26
- package/dist/profile-schema.d.ts +9 -0
- package/dist/profile-schema.js +10 -3
- package/package.json +2 -2
|
@@ -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">;
|
|
@@ -20,7 +20,48 @@ export declare const agentCandidateResolvedModelSchema: z.ZodObject<{
|
|
|
20
20
|
ultracode: "ultracode";
|
|
21
21
|
}>;
|
|
22
22
|
}, z.core.$strict>;
|
|
23
|
+
export declare const agentCandidateBenchmarkGraderIdentitySchema: z.ZodObject<{
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
version: z.ZodString;
|
|
26
|
+
format: z.ZodLiteral<"tangle-grader">;
|
|
27
|
+
artifact: 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>;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
export declare const agentCandidateTaskRepositorySchema: z.ZodObject<{
|
|
43
|
+
identity: z.ZodString;
|
|
44
|
+
rootIdentity: z.ZodString;
|
|
45
|
+
baseCommit: z.ZodString;
|
|
46
|
+
baseTree: z.ZodString;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
export declare const agentCandidateResolvedTaskContainerSchema: z.ZodObject<{
|
|
49
|
+
image: z.ZodString;
|
|
50
|
+
indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
51
|
+
source: z.ZodLiteral<"evaluator-task-container">;
|
|
52
|
+
manifestDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
53
|
+
platform: z.ZodObject<{
|
|
54
|
+
os: z.ZodString;
|
|
55
|
+
architecture: z.ZodString;
|
|
56
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
export declare const agentCandidateRetryPolicySchema: z.ZodEnum<{
|
|
60
|
+
none: "none";
|
|
61
|
+
"pre-model-infrastructure-only": "pre-model-infrastructure-only";
|
|
62
|
+
}>;
|
|
23
63
|
export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
|
|
64
|
+
sourceProfileDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
24
65
|
harness: z.ZodEnum<{
|
|
25
66
|
"claude-code": "claude-code";
|
|
26
67
|
claude: "claude";
|
|
@@ -154,102 +195,61 @@ export declare const agentCandidateTaskOutcomeSpecSchema: z.ZodDiscriminatedUnio
|
|
|
154
195
|
mediaType: z.ZodString;
|
|
155
196
|
maxBytes: z.ZodNumber;
|
|
156
197
|
}, z.core.$strict>], "kind">;
|
|
198
|
+
export declare const agentCandidateBenchmarkCellRefSchema: z.ZodObject<{
|
|
199
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
200
|
+
taskIndex: z.ZodNumber;
|
|
201
|
+
repetition: z.ZodNumber;
|
|
202
|
+
}, z.core.$strict>;
|
|
203
|
+
export declare const agentCandidateRunCellMaterialSchema: z.ZodObject<{
|
|
204
|
+
kind: z.ZodLiteral<"agent-candidate-run-cell">;
|
|
205
|
+
experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
206
|
+
arm: z.ZodEnum<{
|
|
207
|
+
candidate: "candidate";
|
|
208
|
+
baseline: "baseline";
|
|
209
|
+
}>;
|
|
210
|
+
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
211
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
212
|
+
taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
213
|
+
taskIndex: z.ZodNumber;
|
|
214
|
+
repetition: z.ZodNumber;
|
|
215
|
+
seed: z.ZodNumber;
|
|
216
|
+
attempt: z.ZodNumber;
|
|
217
|
+
}, z.core.$strict>;
|
|
218
|
+
export declare const agentCandidateRunCellSchema: z.ZodObject<{
|
|
219
|
+
kind: z.ZodLiteral<"agent-candidate-run-cell">;
|
|
220
|
+
experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
221
|
+
arm: z.ZodEnum<{
|
|
222
|
+
candidate: "candidate";
|
|
223
|
+
baseline: "baseline";
|
|
224
|
+
}>;
|
|
225
|
+
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
226
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
227
|
+
taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
228
|
+
taskIndex: z.ZodNumber;
|
|
229
|
+
repetition: z.ZodNumber;
|
|
230
|
+
seed: z.ZodNumber;
|
|
231
|
+
attempt: z.ZodNumber;
|
|
232
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
233
|
+
}, z.core.$strict>;
|
|
157
234
|
export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
158
235
|
kind: z.ZodLiteral<"agent-candidate-execution-plan-material">;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
none: "none";
|
|
166
|
-
"pre-model-infrastructure-only": "pre-model-infrastructure-only";
|
|
236
|
+
runCell: z.ZodObject<{
|
|
237
|
+
kind: z.ZodLiteral<"agent-candidate-run-cell">;
|
|
238
|
+
experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
239
|
+
arm: z.ZodEnum<{
|
|
240
|
+
candidate: "candidate";
|
|
241
|
+
baseline: "baseline";
|
|
167
242
|
}>;
|
|
243
|
+
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
244
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
245
|
+
taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
246
|
+
taskIndex: z.ZodNumber;
|
|
247
|
+
repetition: z.ZodNumber;
|
|
248
|
+
seed: z.ZodNumber;
|
|
249
|
+
attempt: z.ZodNumber;
|
|
250
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
168
251
|
}, z.core.$strict>;
|
|
169
|
-
|
|
170
|
-
benchmark: z.ZodString;
|
|
171
|
-
benchmarkVersion: z.ZodString;
|
|
172
|
-
taskId: z.ZodString;
|
|
173
|
-
splitDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
174
|
-
instruction: z.ZodObject<{
|
|
175
|
-
encoding: z.ZodLiteral<"utf8">;
|
|
176
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
177
|
-
byteLength: z.ZodNumber;
|
|
178
|
-
delivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
179
|
-
kind: z.ZodLiteral<"argv-append">;
|
|
180
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
181
|
-
kind: z.ZodLiteral<"stdin-utf8">;
|
|
182
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
183
|
-
kind: z.ZodLiteral<"utf8-file">;
|
|
184
|
-
env: z.ZodLiteral<"TANGLE_CANDIDATE_TASK_PATH">;
|
|
185
|
-
path: z.ZodLiteral<"/tangle/input/task.txt">;
|
|
186
|
-
}, z.core.$strict>], "kind">;
|
|
187
|
-
}, z.core.$strict>;
|
|
188
|
-
repository: z.ZodOptional<z.ZodObject<{
|
|
189
|
-
identity: z.ZodString;
|
|
190
|
-
rootIdentity: z.ZodString;
|
|
191
|
-
baseCommit: z.ZodString;
|
|
192
|
-
baseTree: z.ZodString;
|
|
193
|
-
}, z.core.$strict>>;
|
|
194
|
-
outcome: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
195
|
-
kind: z.ZodLiteral<"workspace">;
|
|
196
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
197
|
-
kind: z.ZodLiteral<"output">;
|
|
198
|
-
mediaType: z.ZodString;
|
|
199
|
-
maxBytes: z.ZodNumber;
|
|
200
|
-
}, z.core.$strict>], "kind">;
|
|
201
|
-
workspace: z.ZodObject<{
|
|
202
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-snapshot">;
|
|
203
|
-
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
204
|
-
material: z.ZodObject<{
|
|
205
|
-
kind: z.ZodLiteral<"agent-candidate-workspace-manifest">;
|
|
206
|
-
files: z.ZodArray<z.ZodObject<{
|
|
207
|
-
path: z.ZodString;
|
|
208
|
-
mode: z.ZodNumber;
|
|
209
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
210
|
-
byteLength: z.ZodNumber;
|
|
211
|
-
}, z.core.$strict>>;
|
|
212
|
-
}, z.core.$strict>;
|
|
213
|
-
manifest: z.ZodUnion<readonly [z.ZodObject<{
|
|
214
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
215
|
-
kind: z.ZodLiteral<"s3">;
|
|
216
|
-
bucket: z.ZodString;
|
|
217
|
-
key: z.ZodString;
|
|
218
|
-
region: z.ZodOptional<z.ZodString>;
|
|
219
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
220
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
221
|
-
cid: z.ZodString;
|
|
222
|
-
path: z.ZodOptional<z.ZodString>;
|
|
223
|
-
}, z.core.$strict>], "kind">;
|
|
224
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
225
|
-
byteLength: z.ZodNumber;
|
|
226
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
227
|
-
encoding: z.ZodLiteral<"base64">;
|
|
228
|
-
content: z.ZodString;
|
|
229
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
230
|
-
byteLength: z.ZodNumber;
|
|
231
|
-
}, z.core.$strict>]>;
|
|
232
|
-
archive: z.ZodUnion<readonly [z.ZodObject<{
|
|
233
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
234
|
-
kind: z.ZodLiteral<"s3">;
|
|
235
|
-
bucket: z.ZodString;
|
|
236
|
-
key: z.ZodString;
|
|
237
|
-
region: z.ZodOptional<z.ZodString>;
|
|
238
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
239
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
240
|
-
cid: z.ZodString;
|
|
241
|
-
path: z.ZodOptional<z.ZodString>;
|
|
242
|
-
}, z.core.$strict>], "kind">;
|
|
243
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
244
|
-
byteLength: z.ZodNumber;
|
|
245
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
246
|
-
encoding: z.ZodLiteral<"base64">;
|
|
247
|
-
content: z.ZodString;
|
|
248
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
249
|
-
byteLength: z.ZodNumber;
|
|
250
|
-
}, z.core.$strict>]>;
|
|
251
|
-
}, z.core.$strict>;
|
|
252
|
-
}, z.core.$strict>;
|
|
252
|
+
executionId: z.ZodString;
|
|
253
253
|
workspaces: z.ZodObject<{
|
|
254
254
|
taskRoot: z.ZodString;
|
|
255
255
|
candidateRoot: z.ZodOptional<z.ZodString>;
|
|
@@ -337,6 +337,23 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
337
337
|
"cli-base": "cli-base";
|
|
338
338
|
}>;
|
|
339
339
|
harnessVersion: z.ZodString;
|
|
340
|
+
instructionDelivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
341
|
+
kind: z.ZodLiteral<"argv-append">;
|
|
342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
343
|
+
kind: z.ZodLiteral<"stdin-utf8">;
|
|
344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
345
|
+
kind: z.ZodLiteral<"utf8-file">;
|
|
346
|
+
env: z.ZodLiteral<"TANGLE_CANDIDATE_TASK_PATH">;
|
|
347
|
+
path: z.ZodLiteral<"/tangle/input/task.txt">;
|
|
348
|
+
}, z.core.$strict>], "kind">;
|
|
349
|
+
limits: z.ZodObject<{
|
|
350
|
+
timeoutMs: z.ZodNumber;
|
|
351
|
+
maxSteps: z.ZodNumber;
|
|
352
|
+
maxModelCalls: z.ZodNumber;
|
|
353
|
+
maxInputTokens: z.ZodNumber;
|
|
354
|
+
maxOutputTokens: z.ZodNumber;
|
|
355
|
+
maxCostUsd: z.ZodNumber;
|
|
356
|
+
}, z.core.$strict>;
|
|
340
357
|
container: z.ZodObject<{
|
|
341
358
|
image: z.ZodString;
|
|
342
359
|
indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
@@ -394,24 +411,6 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
394
411
|
requested: z.ZodString;
|
|
395
412
|
}, z.core.$strict>], "kind">>;
|
|
396
413
|
}, z.core.$strict>;
|
|
397
|
-
grader: z.ZodObject<{
|
|
398
|
-
name: z.ZodString;
|
|
399
|
-
version: z.ZodString;
|
|
400
|
-
artifact: z.ZodObject<{
|
|
401
|
-
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
402
|
-
kind: z.ZodLiteral<"s3">;
|
|
403
|
-
bucket: z.ZodString;
|
|
404
|
-
key: z.ZodString;
|
|
405
|
-
region: z.ZodOptional<z.ZodString>;
|
|
406
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
407
|
-
kind: z.ZodLiteral<"ipfs">;
|
|
408
|
-
cid: z.ZodString;
|
|
409
|
-
path: z.ZodOptional<z.ZodString>;
|
|
410
|
-
}, z.core.$strict>], "kind">;
|
|
411
|
-
sha256: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
412
|
-
byteLength: z.ZodNumber;
|
|
413
|
-
}, z.core.$strict>;
|
|
414
|
-
}, z.core.$strict>;
|
|
415
414
|
launch: z.ZodObject<{
|
|
416
415
|
executable: z.ZodString;
|
|
417
416
|
args: z.ZodArray<z.ZodObject<{
|
|
@@ -513,14 +512,6 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
513
512
|
}, z.core.$strict>;
|
|
514
513
|
seedDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
|
|
515
514
|
}, z.core.$strict>], "mode">;
|
|
516
|
-
limits: z.ZodObject<{
|
|
517
|
-
timeoutMs: z.ZodNumber;
|
|
518
|
-
maxSteps: z.ZodNumber;
|
|
519
|
-
maxModelCalls: z.ZodNumber;
|
|
520
|
-
maxInputTokens: z.ZodNumber;
|
|
521
|
-
maxOutputTokens: z.ZodNumber;
|
|
522
|
-
maxCostUsd: z.ZodNumber;
|
|
523
|
-
}, z.core.$strict>;
|
|
524
515
|
network: z.ZodObject<{
|
|
525
516
|
mode: z.ZodLiteral<"disabled">;
|
|
526
517
|
}, z.core.$strict>;
|
|
@@ -529,6 +520,7 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
|
|
|
529
520
|
kind: z.ZodLiteral<"agent-profile-workspace-plan">;
|
|
530
521
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
531
522
|
material: z.ZodType<{
|
|
523
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
532
524
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
533
525
|
files: {
|
|
534
526
|
relPath: string;
|
|
@@ -548,6 +540,7 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
|
|
|
548
540
|
reason: string;
|
|
549
541
|
}[];
|
|
550
542
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
543
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
551
544
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
552
545
|
files: {
|
|
553
546
|
relPath: string;
|
|
@@ -593,6 +586,7 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
|
|
|
593
586
|
kind: z.ZodLiteral<"agent-profile-workspace-plan">;
|
|
594
587
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
595
588
|
material: z.ZodType<{
|
|
589
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
596
590
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
597
591
|
files: {
|
|
598
592
|
relPath: string;
|
|
@@ -612,6 +606,7 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
|
|
|
612
606
|
reason: string;
|
|
613
607
|
}[];
|
|
614
608
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
609
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
615
610
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
616
611
|
files: {
|
|
617
612
|
relPath: string;
|
|
@@ -663,97 +658,20 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
663
658
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
664
659
|
material: z.ZodType<{
|
|
665
660
|
kind: "agent-candidate-execution-plan-material";
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
instruction: {
|
|
679
|
-
encoding: "utf8";
|
|
680
|
-
sha256: `sha256:${string}`;
|
|
681
|
-
byteLength: number;
|
|
682
|
-
delivery: {
|
|
683
|
-
kind: "argv-append";
|
|
684
|
-
} | {
|
|
685
|
-
kind: "stdin-utf8";
|
|
686
|
-
} | {
|
|
687
|
-
kind: "utf8-file";
|
|
688
|
-
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
689
|
-
path: "/tangle/input/task.txt";
|
|
690
|
-
};
|
|
691
|
-
};
|
|
692
|
-
outcome: {
|
|
693
|
-
kind: "workspace";
|
|
694
|
-
} | {
|
|
695
|
-
kind: "output";
|
|
696
|
-
mediaType: string;
|
|
697
|
-
maxBytes: number;
|
|
698
|
-
};
|
|
699
|
-
workspace: {
|
|
700
|
-
kind: "agent-candidate-workspace-snapshot";
|
|
701
|
-
digest: `sha256:${string}`;
|
|
702
|
-
material: {
|
|
703
|
-
kind: "agent-candidate-workspace-manifest";
|
|
704
|
-
files: {
|
|
705
|
-
path: string;
|
|
706
|
-
mode: number;
|
|
707
|
-
sha256: `sha256:${string}`;
|
|
708
|
-
byteLength: number;
|
|
709
|
-
}[];
|
|
710
|
-
};
|
|
711
|
-
manifest: {
|
|
712
|
-
locator: {
|
|
713
|
-
kind: "s3";
|
|
714
|
-
bucket: string;
|
|
715
|
-
key: string;
|
|
716
|
-
region?: string | undefined;
|
|
717
|
-
} | {
|
|
718
|
-
kind: "ipfs";
|
|
719
|
-
cid: string;
|
|
720
|
-
path?: string | undefined;
|
|
721
|
-
};
|
|
722
|
-
sha256: `sha256:${string}`;
|
|
723
|
-
byteLength: number;
|
|
724
|
-
} | {
|
|
725
|
-
encoding: "base64";
|
|
726
|
-
content: string;
|
|
727
|
-
sha256: `sha256:${string}`;
|
|
728
|
-
byteLength: number;
|
|
729
|
-
};
|
|
730
|
-
archive: {
|
|
731
|
-
locator: {
|
|
732
|
-
kind: "s3";
|
|
733
|
-
bucket: string;
|
|
734
|
-
key: string;
|
|
735
|
-
region?: string | undefined;
|
|
736
|
-
} | {
|
|
737
|
-
kind: "ipfs";
|
|
738
|
-
cid: string;
|
|
739
|
-
path?: string | undefined;
|
|
740
|
-
};
|
|
741
|
-
sha256: `sha256:${string}`;
|
|
742
|
-
byteLength: number;
|
|
743
|
-
} | {
|
|
744
|
-
encoding: "base64";
|
|
745
|
-
content: string;
|
|
746
|
-
sha256: `sha256:${string}`;
|
|
747
|
-
byteLength: number;
|
|
748
|
-
};
|
|
749
|
-
};
|
|
750
|
-
repository?: {
|
|
751
|
-
identity: string;
|
|
752
|
-
rootIdentity: string;
|
|
753
|
-
baseCommit: string;
|
|
754
|
-
baseTree: string;
|
|
755
|
-
} | undefined;
|
|
661
|
+
runCell: {
|
|
662
|
+
kind: "agent-candidate-run-cell";
|
|
663
|
+
experimentDigest: `sha256:${string}`;
|
|
664
|
+
arm: "candidate" | "baseline";
|
|
665
|
+
bundleDigest: `sha256:${string}`;
|
|
666
|
+
suiteDigest: `sha256:${string}`;
|
|
667
|
+
taskDigest: `sha256:${string}`;
|
|
668
|
+
taskIndex: number;
|
|
669
|
+
repetition: number;
|
|
670
|
+
seed: number;
|
|
671
|
+
attempt: number;
|
|
672
|
+
digest: `sha256:${string}`;
|
|
756
673
|
};
|
|
674
|
+
executionId: string;
|
|
757
675
|
workspaces: {
|
|
758
676
|
taskRoot: string;
|
|
759
677
|
candidateRoot?: string | undefined;
|
|
@@ -766,6 +684,23 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
766
684
|
};
|
|
767
685
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
768
686
|
harnessVersion: string;
|
|
687
|
+
instructionDelivery: {
|
|
688
|
+
kind: "argv-append";
|
|
689
|
+
} | {
|
|
690
|
+
kind: "stdin-utf8";
|
|
691
|
+
} | {
|
|
692
|
+
kind: "utf8-file";
|
|
693
|
+
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
694
|
+
path: "/tangle/input/task.txt";
|
|
695
|
+
};
|
|
696
|
+
limits: {
|
|
697
|
+
timeoutMs: number;
|
|
698
|
+
maxSteps: number;
|
|
699
|
+
maxModelCalls: number;
|
|
700
|
+
maxInputTokens: number;
|
|
701
|
+
maxOutputTokens: number;
|
|
702
|
+
maxCostUsd: number;
|
|
703
|
+
};
|
|
769
704
|
container: {
|
|
770
705
|
image: string;
|
|
771
706
|
indexDigest: `sha256:${string}`;
|
|
@@ -812,24 +747,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
812
747
|
requested: string;
|
|
813
748
|
})[];
|
|
814
749
|
};
|
|
815
|
-
grader: {
|
|
816
|
-
name: string;
|
|
817
|
-
version: string;
|
|
818
|
-
artifact: {
|
|
819
|
-
locator: {
|
|
820
|
-
kind: "s3";
|
|
821
|
-
bucket: string;
|
|
822
|
-
key: string;
|
|
823
|
-
region?: string | undefined;
|
|
824
|
-
} | {
|
|
825
|
-
kind: "ipfs";
|
|
826
|
-
cid: string;
|
|
827
|
-
path?: string | undefined;
|
|
828
|
-
};
|
|
829
|
-
sha256: `sha256:${string}`;
|
|
830
|
-
byteLength: number;
|
|
831
|
-
};
|
|
832
|
-
};
|
|
833
750
|
launch: {
|
|
834
751
|
executable: string;
|
|
835
752
|
args: {
|
|
@@ -927,14 +844,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
927
844
|
} | {
|
|
928
845
|
mode: "disabled";
|
|
929
846
|
};
|
|
930
|
-
limits: {
|
|
931
|
-
timeoutMs: number;
|
|
932
|
-
maxSteps: number;
|
|
933
|
-
maxModelCalls: number;
|
|
934
|
-
maxInputTokens: number;
|
|
935
|
-
maxOutputTokens: number;
|
|
936
|
-
maxCostUsd: number;
|
|
937
|
-
};
|
|
938
847
|
network: {
|
|
939
848
|
mode: "disabled";
|
|
940
849
|
};
|
|
@@ -992,97 +901,20 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
992
901
|
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
993
902
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
994
903
|
kind: "agent-candidate-execution-plan-material";
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
instruction: {
|
|
1008
|
-
encoding: "utf8";
|
|
1009
|
-
sha256: `sha256:${string}`;
|
|
1010
|
-
byteLength: number;
|
|
1011
|
-
delivery: {
|
|
1012
|
-
kind: "argv-append";
|
|
1013
|
-
} | {
|
|
1014
|
-
kind: "stdin-utf8";
|
|
1015
|
-
} | {
|
|
1016
|
-
kind: "utf8-file";
|
|
1017
|
-
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
1018
|
-
path: "/tangle/input/task.txt";
|
|
1019
|
-
};
|
|
1020
|
-
};
|
|
1021
|
-
outcome: {
|
|
1022
|
-
kind: "workspace";
|
|
1023
|
-
} | {
|
|
1024
|
-
kind: "output";
|
|
1025
|
-
mediaType: string;
|
|
1026
|
-
maxBytes: number;
|
|
1027
|
-
};
|
|
1028
|
-
workspace: {
|
|
1029
|
-
kind: "agent-candidate-workspace-snapshot";
|
|
1030
|
-
digest: `sha256:${string}`;
|
|
1031
|
-
material: {
|
|
1032
|
-
kind: "agent-candidate-workspace-manifest";
|
|
1033
|
-
files: {
|
|
1034
|
-
path: string;
|
|
1035
|
-
mode: number;
|
|
1036
|
-
sha256: `sha256:${string}`;
|
|
1037
|
-
byteLength: number;
|
|
1038
|
-
}[];
|
|
1039
|
-
};
|
|
1040
|
-
manifest: {
|
|
1041
|
-
locator: {
|
|
1042
|
-
kind: "s3";
|
|
1043
|
-
bucket: string;
|
|
1044
|
-
key: string;
|
|
1045
|
-
region?: string | undefined;
|
|
1046
|
-
} | {
|
|
1047
|
-
kind: "ipfs";
|
|
1048
|
-
cid: string;
|
|
1049
|
-
path?: string | undefined;
|
|
1050
|
-
};
|
|
1051
|
-
sha256: `sha256:${string}`;
|
|
1052
|
-
byteLength: number;
|
|
1053
|
-
} | {
|
|
1054
|
-
encoding: "base64";
|
|
1055
|
-
content: string;
|
|
1056
|
-
sha256: `sha256:${string}`;
|
|
1057
|
-
byteLength: number;
|
|
1058
|
-
};
|
|
1059
|
-
archive: {
|
|
1060
|
-
locator: {
|
|
1061
|
-
kind: "s3";
|
|
1062
|
-
bucket: string;
|
|
1063
|
-
key: string;
|
|
1064
|
-
region?: string | undefined;
|
|
1065
|
-
} | {
|
|
1066
|
-
kind: "ipfs";
|
|
1067
|
-
cid: string;
|
|
1068
|
-
path?: string | undefined;
|
|
1069
|
-
};
|
|
1070
|
-
sha256: `sha256:${string}`;
|
|
1071
|
-
byteLength: number;
|
|
1072
|
-
} | {
|
|
1073
|
-
encoding: "base64";
|
|
1074
|
-
content: string;
|
|
1075
|
-
sha256: `sha256:${string}`;
|
|
1076
|
-
byteLength: number;
|
|
1077
|
-
};
|
|
1078
|
-
};
|
|
1079
|
-
repository?: {
|
|
1080
|
-
identity: string;
|
|
1081
|
-
rootIdentity: string;
|
|
1082
|
-
baseCommit: string;
|
|
1083
|
-
baseTree: string;
|
|
1084
|
-
} | undefined;
|
|
904
|
+
runCell: {
|
|
905
|
+
kind: "agent-candidate-run-cell";
|
|
906
|
+
experimentDigest: `sha256:${string}`;
|
|
907
|
+
arm: "candidate" | "baseline";
|
|
908
|
+
bundleDigest: `sha256:${string}`;
|
|
909
|
+
suiteDigest: `sha256:${string}`;
|
|
910
|
+
taskDigest: `sha256:${string}`;
|
|
911
|
+
taskIndex: number;
|
|
912
|
+
repetition: number;
|
|
913
|
+
seed: number;
|
|
914
|
+
attempt: number;
|
|
915
|
+
digest: `sha256:${string}`;
|
|
1085
916
|
};
|
|
917
|
+
executionId: string;
|
|
1086
918
|
workspaces: {
|
|
1087
919
|
taskRoot: string;
|
|
1088
920
|
candidateRoot?: string | undefined;
|
|
@@ -1095,6 +927,23 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1095
927
|
};
|
|
1096
928
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
1097
929
|
harnessVersion: string;
|
|
930
|
+
instructionDelivery: {
|
|
931
|
+
kind: "argv-append";
|
|
932
|
+
} | {
|
|
933
|
+
kind: "stdin-utf8";
|
|
934
|
+
} | {
|
|
935
|
+
kind: "utf8-file";
|
|
936
|
+
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
937
|
+
path: "/tangle/input/task.txt";
|
|
938
|
+
};
|
|
939
|
+
limits: {
|
|
940
|
+
timeoutMs: number;
|
|
941
|
+
maxSteps: number;
|
|
942
|
+
maxModelCalls: number;
|
|
943
|
+
maxInputTokens: number;
|
|
944
|
+
maxOutputTokens: number;
|
|
945
|
+
maxCostUsd: number;
|
|
946
|
+
};
|
|
1098
947
|
container: {
|
|
1099
948
|
image: string;
|
|
1100
949
|
indexDigest: `sha256:${string}`;
|
|
@@ -1141,24 +990,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1141
990
|
requested: string;
|
|
1142
991
|
})[];
|
|
1143
992
|
};
|
|
1144
|
-
grader: {
|
|
1145
|
-
name: string;
|
|
1146
|
-
version: string;
|
|
1147
|
-
artifact: {
|
|
1148
|
-
locator: {
|
|
1149
|
-
kind: "s3";
|
|
1150
|
-
bucket: string;
|
|
1151
|
-
key: string;
|
|
1152
|
-
region?: string | undefined;
|
|
1153
|
-
} | {
|
|
1154
|
-
kind: "ipfs";
|
|
1155
|
-
cid: string;
|
|
1156
|
-
path?: string | undefined;
|
|
1157
|
-
};
|
|
1158
|
-
sha256: `sha256:${string}`;
|
|
1159
|
-
byteLength: number;
|
|
1160
|
-
};
|
|
1161
|
-
};
|
|
1162
993
|
launch: {
|
|
1163
994
|
executable: string;
|
|
1164
995
|
args: {
|
|
@@ -1256,14 +1087,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1256
1087
|
} | {
|
|
1257
1088
|
mode: "disabled";
|
|
1258
1089
|
};
|
|
1259
|
-
limits: {
|
|
1260
|
-
timeoutMs: number;
|
|
1261
|
-
maxSteps: number;
|
|
1262
|
-
maxModelCalls: number;
|
|
1263
|
-
maxInputTokens: number;
|
|
1264
|
-
maxOutputTokens: number;
|
|
1265
|
-
maxCostUsd: number;
|
|
1266
|
-
};
|
|
1267
1090
|
network: {
|
|
1268
1091
|
mode: "disabled";
|
|
1269
1092
|
};
|