@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
|
@@ -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";
|
|
@@ -52,6 +93,10 @@ export declare const agentCandidateProfilePlanMaterialSchema: z.ZodObject<{
|
|
|
52
93
|
kind: z.ZodLiteral<"public">;
|
|
53
94
|
value: z.ZodString;
|
|
54
95
|
}, z.core.$strict>>;
|
|
96
|
+
systemPrompt: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
kind: z.ZodLiteral<"public">;
|
|
98
|
+
value: z.ZodString;
|
|
99
|
+
}, z.core.$strict>>;
|
|
55
100
|
unsupported: z.ZodArray<z.ZodObject<{
|
|
56
101
|
dimension: z.ZodString;
|
|
57
102
|
reason: z.ZodString;
|
|
@@ -154,102 +199,61 @@ export declare const agentCandidateTaskOutcomeSpecSchema: z.ZodDiscriminatedUnio
|
|
|
154
199
|
mediaType: z.ZodString;
|
|
155
200
|
maxBytes: z.ZodNumber;
|
|
156
201
|
}, z.core.$strict>], "kind">;
|
|
202
|
+
export declare const agentCandidateBenchmarkCellRefSchema: z.ZodObject<{
|
|
203
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
204
|
+
taskIndex: z.ZodNumber;
|
|
205
|
+
repetition: z.ZodNumber;
|
|
206
|
+
}, z.core.$strict>;
|
|
207
|
+
export declare const agentCandidateRunCellMaterialSchema: z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"agent-candidate-run-cell">;
|
|
209
|
+
experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
210
|
+
arm: z.ZodEnum<{
|
|
211
|
+
candidate: "candidate";
|
|
212
|
+
baseline: "baseline";
|
|
213
|
+
}>;
|
|
214
|
+
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
215
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
216
|
+
taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
217
|
+
taskIndex: z.ZodNumber;
|
|
218
|
+
repetition: z.ZodNumber;
|
|
219
|
+
seed: z.ZodNumber;
|
|
220
|
+
attempt: z.ZodNumber;
|
|
221
|
+
}, z.core.$strict>;
|
|
222
|
+
export declare const agentCandidateRunCellSchema: z.ZodObject<{
|
|
223
|
+
kind: z.ZodLiteral<"agent-candidate-run-cell">;
|
|
224
|
+
experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
225
|
+
arm: z.ZodEnum<{
|
|
226
|
+
candidate: "candidate";
|
|
227
|
+
baseline: "baseline";
|
|
228
|
+
}>;
|
|
229
|
+
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
230
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
231
|
+
taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
232
|
+
taskIndex: z.ZodNumber;
|
|
233
|
+
repetition: z.ZodNumber;
|
|
234
|
+
seed: z.ZodNumber;
|
|
235
|
+
attempt: z.ZodNumber;
|
|
236
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
237
|
+
}, z.core.$strict>;
|
|
157
238
|
export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
158
239
|
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";
|
|
240
|
+
runCell: z.ZodObject<{
|
|
241
|
+
kind: z.ZodLiteral<"agent-candidate-run-cell">;
|
|
242
|
+
experimentDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
243
|
+
arm: z.ZodEnum<{
|
|
244
|
+
candidate: "candidate";
|
|
245
|
+
baseline: "baseline";
|
|
167
246
|
}>;
|
|
247
|
+
bundleDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
248
|
+
suiteDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
249
|
+
taskDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
250
|
+
taskIndex: z.ZodNumber;
|
|
251
|
+
repetition: z.ZodNumber;
|
|
252
|
+
seed: z.ZodNumber;
|
|
253
|
+
attempt: z.ZodNumber;
|
|
254
|
+
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
168
255
|
}, 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>;
|
|
256
|
+
executionId: z.ZodString;
|
|
253
257
|
workspaces: z.ZodObject<{
|
|
254
258
|
taskRoot: z.ZodString;
|
|
255
259
|
candidateRoot: z.ZodOptional<z.ZodString>;
|
|
@@ -337,6 +341,23 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
337
341
|
"cli-base": "cli-base";
|
|
338
342
|
}>;
|
|
339
343
|
harnessVersion: z.ZodString;
|
|
344
|
+
instructionDelivery: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
345
|
+
kind: z.ZodLiteral<"argv-append">;
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
347
|
+
kind: z.ZodLiteral<"stdin-utf8">;
|
|
348
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
349
|
+
kind: z.ZodLiteral<"utf8-file">;
|
|
350
|
+
env: z.ZodLiteral<"TANGLE_CANDIDATE_TASK_PATH">;
|
|
351
|
+
path: z.ZodLiteral<"/tangle/input/task.txt">;
|
|
352
|
+
}, z.core.$strict>], "kind">;
|
|
353
|
+
limits: z.ZodObject<{
|
|
354
|
+
timeoutMs: z.ZodNumber;
|
|
355
|
+
maxSteps: z.ZodNumber;
|
|
356
|
+
maxModelCalls: z.ZodNumber;
|
|
357
|
+
maxInputTokens: z.ZodNumber;
|
|
358
|
+
maxOutputTokens: z.ZodNumber;
|
|
359
|
+
maxCostUsd: z.ZodNumber;
|
|
360
|
+
}, z.core.$strict>;
|
|
340
361
|
container: z.ZodObject<{
|
|
341
362
|
image: z.ZodString;
|
|
342
363
|
indexDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
@@ -394,24 +415,6 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
394
415
|
requested: z.ZodString;
|
|
395
416
|
}, z.core.$strict>], "kind">>;
|
|
396
417
|
}, 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
418
|
launch: z.ZodObject<{
|
|
416
419
|
executable: z.ZodString;
|
|
417
420
|
args: z.ZodArray<z.ZodObject<{
|
|
@@ -513,14 +516,6 @@ export declare const agentCandidateExecutionPlanMaterialSchema: z.ZodObject<{
|
|
|
513
516
|
}, z.core.$strict>;
|
|
514
517
|
seedDigest: z.ZodOptional<z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>>;
|
|
515
518
|
}, 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
519
|
network: z.ZodObject<{
|
|
525
520
|
mode: z.ZodLiteral<"disabled">;
|
|
526
521
|
}, z.core.$strict>;
|
|
@@ -529,6 +524,7 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
|
|
|
529
524
|
kind: z.ZodLiteral<"agent-profile-workspace-plan">;
|
|
530
525
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
531
526
|
material: z.ZodType<{
|
|
527
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
532
528
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
533
529
|
files: {
|
|
534
530
|
relPath: string;
|
|
@@ -547,7 +543,12 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
|
|
|
547
543
|
dimension: string;
|
|
548
544
|
reason: string;
|
|
549
545
|
}[];
|
|
546
|
+
systemPrompt?: {
|
|
547
|
+
kind: "public";
|
|
548
|
+
value: string;
|
|
549
|
+
} | undefined;
|
|
550
550
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
551
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
551
552
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
552
553
|
files: {
|
|
553
554
|
relPath: string;
|
|
@@ -566,6 +567,10 @@ export declare const agentCandidateProfilePlanEvidenceSchema: z.ZodObject<{
|
|
|
566
567
|
dimension: string;
|
|
567
568
|
reason: string;
|
|
568
569
|
}[];
|
|
570
|
+
systemPrompt?: {
|
|
571
|
+
kind: "public";
|
|
572
|
+
value: string;
|
|
573
|
+
} | undefined;
|
|
569
574
|
}, unknown>>;
|
|
570
575
|
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
571
576
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -593,6 +598,7 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
|
|
|
593
598
|
kind: z.ZodLiteral<"agent-profile-workspace-plan">;
|
|
594
599
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
595
600
|
material: z.ZodType<{
|
|
601
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
596
602
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
597
603
|
files: {
|
|
598
604
|
relPath: string;
|
|
@@ -611,7 +617,12 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
|
|
|
611
617
|
dimension: string;
|
|
612
618
|
reason: string;
|
|
613
619
|
}[];
|
|
620
|
+
systemPrompt?: {
|
|
621
|
+
kind: "public";
|
|
622
|
+
value: string;
|
|
623
|
+
} | undefined;
|
|
614
624
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
625
|
+
sourceProfileDigest: `sha256:${string}`;
|
|
615
626
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
616
627
|
files: {
|
|
617
628
|
relPath: string;
|
|
@@ -630,6 +641,10 @@ export declare const agentCandidateProfileActivationSchema: z.ZodObject<{
|
|
|
630
641
|
dimension: string;
|
|
631
642
|
reason: string;
|
|
632
643
|
}[];
|
|
644
|
+
systemPrompt?: {
|
|
645
|
+
kind: "public";
|
|
646
|
+
value: string;
|
|
647
|
+
} | undefined;
|
|
633
648
|
}, unknown>>;
|
|
634
649
|
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
635
650
|
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -663,97 +678,20 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
663
678
|
digest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
|
|
664
679
|
material: z.ZodType<{
|
|
665
680
|
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;
|
|
681
|
+
runCell: {
|
|
682
|
+
kind: "agent-candidate-run-cell";
|
|
683
|
+
experimentDigest: `sha256:${string}`;
|
|
684
|
+
arm: "candidate" | "baseline";
|
|
685
|
+
bundleDigest: `sha256:${string}`;
|
|
686
|
+
suiteDigest: `sha256:${string}`;
|
|
687
|
+
taskDigest: `sha256:${string}`;
|
|
688
|
+
taskIndex: number;
|
|
689
|
+
repetition: number;
|
|
690
|
+
seed: number;
|
|
691
|
+
attempt: number;
|
|
692
|
+
digest: `sha256:${string}`;
|
|
756
693
|
};
|
|
694
|
+
executionId: string;
|
|
757
695
|
workspaces: {
|
|
758
696
|
taskRoot: string;
|
|
759
697
|
candidateRoot?: string | undefined;
|
|
@@ -766,6 +704,23 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
766
704
|
};
|
|
767
705
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
768
706
|
harnessVersion: string;
|
|
707
|
+
instructionDelivery: {
|
|
708
|
+
kind: "argv-append";
|
|
709
|
+
} | {
|
|
710
|
+
kind: "stdin-utf8";
|
|
711
|
+
} | {
|
|
712
|
+
kind: "utf8-file";
|
|
713
|
+
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
714
|
+
path: "/tangle/input/task.txt";
|
|
715
|
+
};
|
|
716
|
+
limits: {
|
|
717
|
+
timeoutMs: number;
|
|
718
|
+
maxSteps: number;
|
|
719
|
+
maxModelCalls: number;
|
|
720
|
+
maxInputTokens: number;
|
|
721
|
+
maxOutputTokens: number;
|
|
722
|
+
maxCostUsd: number;
|
|
723
|
+
};
|
|
769
724
|
container: {
|
|
770
725
|
image: string;
|
|
771
726
|
indexDigest: `sha256:${string}`;
|
|
@@ -812,24 +767,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
812
767
|
requested: string;
|
|
813
768
|
})[];
|
|
814
769
|
};
|
|
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
770
|
launch: {
|
|
834
771
|
executable: string;
|
|
835
772
|
args: {
|
|
@@ -927,14 +864,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
927
864
|
} | {
|
|
928
865
|
mode: "disabled";
|
|
929
866
|
};
|
|
930
|
-
limits: {
|
|
931
|
-
timeoutMs: number;
|
|
932
|
-
maxSteps: number;
|
|
933
|
-
maxModelCalls: number;
|
|
934
|
-
maxInputTokens: number;
|
|
935
|
-
maxOutputTokens: number;
|
|
936
|
-
maxCostUsd: number;
|
|
937
|
-
};
|
|
938
867
|
network: {
|
|
939
868
|
mode: "disabled";
|
|
940
869
|
};
|
|
@@ -992,97 +921,20 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
992
921
|
knowledgeManifestDigest?: `sha256:${string}` | undefined;
|
|
993
922
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
994
923
|
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;
|
|
924
|
+
runCell: {
|
|
925
|
+
kind: "agent-candidate-run-cell";
|
|
926
|
+
experimentDigest: `sha256:${string}`;
|
|
927
|
+
arm: "candidate" | "baseline";
|
|
928
|
+
bundleDigest: `sha256:${string}`;
|
|
929
|
+
suiteDigest: `sha256:${string}`;
|
|
930
|
+
taskDigest: `sha256:${string}`;
|
|
931
|
+
taskIndex: number;
|
|
932
|
+
repetition: number;
|
|
933
|
+
seed: number;
|
|
934
|
+
attempt: number;
|
|
935
|
+
digest: `sha256:${string}`;
|
|
1085
936
|
};
|
|
937
|
+
executionId: string;
|
|
1086
938
|
workspaces: {
|
|
1087
939
|
taskRoot: string;
|
|
1088
940
|
candidateRoot?: string | undefined;
|
|
@@ -1095,6 +947,23 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1095
947
|
};
|
|
1096
948
|
harness: "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw" | "amp" | "factory-droids" | "acp" | "cli-base";
|
|
1097
949
|
harnessVersion: string;
|
|
950
|
+
instructionDelivery: {
|
|
951
|
+
kind: "argv-append";
|
|
952
|
+
} | {
|
|
953
|
+
kind: "stdin-utf8";
|
|
954
|
+
} | {
|
|
955
|
+
kind: "utf8-file";
|
|
956
|
+
env: "TANGLE_CANDIDATE_TASK_PATH";
|
|
957
|
+
path: "/tangle/input/task.txt";
|
|
958
|
+
};
|
|
959
|
+
limits: {
|
|
960
|
+
timeoutMs: number;
|
|
961
|
+
maxSteps: number;
|
|
962
|
+
maxModelCalls: number;
|
|
963
|
+
maxInputTokens: number;
|
|
964
|
+
maxOutputTokens: number;
|
|
965
|
+
maxCostUsd: number;
|
|
966
|
+
};
|
|
1098
967
|
container: {
|
|
1099
968
|
image: string;
|
|
1100
969
|
indexDigest: `sha256:${string}`;
|
|
@@ -1141,24 +1010,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1141
1010
|
requested: string;
|
|
1142
1011
|
})[];
|
|
1143
1012
|
};
|
|
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
1013
|
launch: {
|
|
1163
1014
|
executable: string;
|
|
1164
1015
|
args: {
|
|
@@ -1256,14 +1107,6 @@ export declare const agentCandidateExecutionPlanEvidenceSchema: z.ZodObject<{
|
|
|
1256
1107
|
} | {
|
|
1257
1108
|
mode: "disabled";
|
|
1258
1109
|
};
|
|
1259
|
-
limits: {
|
|
1260
|
-
timeoutMs: number;
|
|
1261
|
-
maxSteps: number;
|
|
1262
|
-
maxModelCalls: number;
|
|
1263
|
-
maxInputTokens: number;
|
|
1264
|
-
maxOutputTokens: number;
|
|
1265
|
-
maxCostUsd: number;
|
|
1266
|
-
};
|
|
1267
1110
|
network: {
|
|
1268
1111
|
mode: "disabled";
|
|
1269
1112
|
};
|