anpord 0.1.12 → 0.1.13
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/bin.cjs +208 -125
- package/dist/bin.mjs +208 -125
- package/dist/cli-runtime.cjs +2 -2
- package/dist/cli-runtime.d.cts +1 -1
- package/dist/cli-runtime.d.mts +1 -1
- package/dist/cli-runtime.mjs +2 -2
- package/dist/{client-D22IiHGL.mjs → client-BfdjFtlV.mjs} +7 -6
- package/dist/{client-Byoa41pX.d.mts → client-BgRs8JvW.d.mts} +1891 -227
- package/dist/{client-CFTj9ad0.d.cts → client-BirFO3jz.d.cts} +1891 -227
- package/dist/{client-BnimnYiJ.cjs → client-C-P2I00z.cjs} +7 -6
- package/dist/{compiler-CBMPXIzV.mjs → compiler-D96wI7UP.mjs} +87 -82
- package/dist/{compiler-BFxukiJy.cjs → compiler-uwb1pkdK.cjs} +85 -80
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +1 -1
- package/dist/eval-validations-BRdoZrTQ.mjs +113 -0
- package/dist/eval-validations-_MlnQ_uv.cjs +148 -0
- package/dist/eval.cjs +1 -1
- package/dist/eval.d.cts +33 -13
- package/dist/eval.d.mts +33 -13
- package/dist/eval.mjs +1 -1
- package/dist/evals-B6aT3xgH.d.cts +1364 -0
- package/dist/evals-B6aT3xgH.d.mts +1364 -0
- package/dist/{evals-CvOTyvCX.mjs → evals-Dcc_x6jW.mjs} +54 -11
- package/dist/{evals-B04M0apj.cjs → evals-DouMsrsM.cjs} +71 -16
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +128 -4
- package/dist/index.d.mts +128 -4
- package/dist/index.mjs +1 -1
- package/dist/source.d.cts +1 -1
- package/dist/source.d.mts +1 -1
- package/dist/{types-oXWOHA-X.d.mts → types-Codjaq-o.d.mts} +65 -19
- package/dist/{types-nr4-1c3W.d.cts → types-ISsteq95.d.cts} +65 -19
- package/dist/validator-runtime.cjs +238 -0
- package/dist/validator-runtime.d.cts +9 -0
- package/dist/validator-runtime.d.mts +9 -0
- package/dist/validator-runtime.mjs +237 -0
- package/package.json +1 -1
- package/dist/evals-BUBzpke_.d.cts +0 -647
- package/dist/evals-BUBzpke_.d.mts +0 -647
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { n as EvalJudgment, r as EvalHarness$1, t as EvalJudge } from "./eval-judges-CwTvTq7N.mjs";
|
|
2
|
+
import { t as EvalValidations } from "./eval-validations-BRdoZrTQ.mjs";
|
|
2
3
|
import { Schema } from "effect";
|
|
3
4
|
//#region ../schema/src/domain/eval-limits.ts
|
|
4
5
|
const PROMPT_LIMIT = 16384;
|
|
@@ -25,6 +26,19 @@ const EvalVariableValue = Schema.String.pipe(Schema.maxLength(VARIABLE_VALUE_LIM
|
|
|
25
26
|
message: () => `A variable value must be at most ${VARIABLE_VALUE_LIMIT} characters, because it is substituted into the prompt before it is quoted.`
|
|
26
27
|
}));
|
|
27
28
|
//#endregion
|
|
29
|
+
//#region ../schema/src/domain/eval-trigger.ts
|
|
30
|
+
const EvalTrigger = Schema.Struct({
|
|
31
|
+
source: Schema.Literal("dashboard", "api", "cli", "ci", "mcp"),
|
|
32
|
+
url: Schema.optional(Schema.String.pipe(Schema.maxLength(2048), Schema.filter((value) => {
|
|
33
|
+
if (!URL.canParse(value)) return false;
|
|
34
|
+
const url = new URL(value);
|
|
35
|
+
return ["https:", "http:"].includes(url.protocol) && !url.username && !url.password;
|
|
36
|
+
}, { message: () => "Use an HTTP or HTTPS URL without credentials." })))
|
|
37
|
+
}).annotations({
|
|
38
|
+
identifier: "EvalTrigger",
|
|
39
|
+
description: "What started this run. Client-reported context, not authorization."
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
28
42
|
//#region ../schema/src/domain/credentials.ts
|
|
29
43
|
const CredentialScope = Schema.Literal("organization", "personal");
|
|
30
44
|
const CredentialStatus = Schema.Literal("active", "invalid");
|
|
@@ -109,6 +123,13 @@ Schema.Struct({
|
|
|
109
123
|
status: Schema.Literal("pending", "complete", "failed", "expired")
|
|
110
124
|
});
|
|
111
125
|
//#endregion
|
|
126
|
+
//#region ../schema/src/domain/eval-source-files.ts
|
|
127
|
+
const EvalSourceFile = Schema.Struct({
|
|
128
|
+
path: Schema.String.pipe(Schema.maxLength(512), Schema.pattern(/^(?!\.{1,2}(?:\/|$))[^/\\:\0]+(?:\/(?!\.{1,2}(?:\/|$))[^/\\:\0]+)*$/)),
|
|
129
|
+
content: Schema.String.pipe(Schema.maxLength(1e6))
|
|
130
|
+
});
|
|
131
|
+
const EvalSourceFiles = Schema.Array(EvalSourceFile).pipe(Schema.maxItems(100), Schema.filter((files) => new Set(files.map(({ path }) => path)).size === files.length), Schema.filter((files) => files.reduce((size, file) => size + file.content.length, 0) <= 1e6));
|
|
132
|
+
//#endregion
|
|
112
133
|
//#region ../schema/src/domain/harness-profile.ts
|
|
113
134
|
const PROFILE_LIMITS = {
|
|
114
135
|
fileChars: 96e3,
|
|
@@ -150,8 +171,8 @@ const PROFILE_HARNESS_RULE = "The command harness needs a profile with a run com
|
|
|
150
171
|
//#endregion
|
|
151
172
|
//#region ../schema/src/domain/evals.ts
|
|
152
173
|
const EvalHarness = EvalHarness$1;
|
|
153
|
-
const
|
|
154
|
-
|
|
174
|
+
const EvalSandbox = Schema.Literal("daytona", "e2b", "upstash", "modal", "cloudflare", "vercel");
|
|
175
|
+
EvalSandbox.literals;
|
|
155
176
|
const EvalTrialStatus = Schema.Literal("queued", "running", "passed", "failed", "void");
|
|
156
177
|
const EvalRunStatus = Schema.Literal("running", "finished", "failed");
|
|
157
178
|
const EvalSource = Schema.Union(Schema.Struct({ kind: Schema.Literal("empty") }), Schema.Struct({
|
|
@@ -169,15 +190,22 @@ const EvalSource = Schema.Union(Schema.Struct({ kind: Schema.Literal("empty") })
|
|
|
169
190
|
identifier: "EvalSource"
|
|
170
191
|
});
|
|
171
192
|
const EvalCodeValidator = Schema.Struct({
|
|
193
|
+
capture: Schema.optional(Schema.Boolean),
|
|
194
|
+
manifest: Schema.optional(Schema.Array(Schema.Struct({
|
|
195
|
+
index: Schema.NonNegativeInt,
|
|
196
|
+
name: Schema.String.pipe(Schema.maxLength(200))
|
|
197
|
+
})).pipe(Schema.minItems(1), Schema.maxItems(20), Schema.filter((checks) => new Set(checks.map((check) => check.index)).size === checks.length, { message: () => "Validator indices must be unique" }))),
|
|
172
198
|
name: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(100)),
|
|
173
199
|
source: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(1e6))
|
|
174
200
|
});
|
|
175
|
-
const EvalValidator = Schema.Union(EvalCodeValidator, Schema.Struct({
|
|
201
|
+
const EvalValidator = Schema.Union(EvalCodeValidator.pipe(Schema.extend(Schema.Struct({ sourceFiles: Schema.optional(EvalSourceFiles) }))), Schema.Struct({
|
|
176
202
|
kind: Schema.Literal("judged"),
|
|
203
|
+
capture: Schema.optional(Schema.Boolean),
|
|
177
204
|
name: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(100)),
|
|
178
205
|
checks: Schema.Array(EvalCodeValidator).pipe(Schema.maxItems(20)),
|
|
179
|
-
judges: Schema.Array(EvalJudge).pipe(Schema.minItems(1), Schema.maxItems(20))
|
|
180
|
-
|
|
206
|
+
judges: Schema.Array(EvalJudge).pipe(Schema.minItems(1), Schema.maxItems(20)),
|
|
207
|
+
sourceFiles: Schema.optional(EvalSourceFiles)
|
|
208
|
+
}).pipe(Schema.filter((validator) => validator.checks.reduce((total, check) => total + (check.manifest?.length ?? 1), 0) <= 20, { message: () => "At most 20 code validators are supported" }))).annotations({
|
|
181
209
|
description: "A bundled TypeScript validator and its exported function name.",
|
|
182
210
|
identifier: "EvalValidator"
|
|
183
211
|
});
|
|
@@ -227,7 +255,7 @@ const EvalTask = Schema.Struct({
|
|
|
227
255
|
harnessVersion: Schema.String,
|
|
228
256
|
model: Schema.String,
|
|
229
257
|
profile: Schema.optional(Schema.NullOr(EvalTaskProfile)),
|
|
230
|
-
|
|
258
|
+
sandbox: EvalSandbox
|
|
231
259
|
}).annotations({
|
|
232
260
|
description: "The harness, installed version, profile, model, and sandbox for a cell.",
|
|
233
261
|
identifier: "EvalTask"
|
|
@@ -237,7 +265,7 @@ const EvalTaskRequest = Schema.Struct({
|
|
|
237
265
|
harness: EvalHarness,
|
|
238
266
|
model: Schema.String,
|
|
239
267
|
profile: Schema.optional(HarnessProfile),
|
|
240
|
-
|
|
268
|
+
sandbox: Schema.optional(EvalSandbox)
|
|
241
269
|
}).pipe(Schema.filter(profileFitsHarness, { message: () => PROFILE_HARNESS_RULE }));
|
|
242
270
|
const EvalName = Schema.String.pipe(Schema.minLength(1), Schema.maxLength(100));
|
|
243
271
|
Schema.Struct({
|
|
@@ -265,6 +293,7 @@ const EvalJournalEntry = Schema.Union(Schema.Struct({
|
|
|
265
293
|
exitCode: Schema.NullOr(Schema.Int),
|
|
266
294
|
finishedAtMillis: OccurredAtMillis,
|
|
267
295
|
output: Schema.String,
|
|
296
|
+
outputTruncated: Schema.optional(Schema.Boolean),
|
|
268
297
|
startedAtMillis: OccurredAtMillis
|
|
269
298
|
}), Schema.Struct({
|
|
270
299
|
_tag: Schema.Literal("message"),
|
|
@@ -274,7 +303,13 @@ const EvalJournalEntry = Schema.Union(Schema.Struct({
|
|
|
274
303
|
}), Schema.Struct({
|
|
275
304
|
_tag: Schema.Literal("toolCall"),
|
|
276
305
|
finishedAtMillis: OccurredAtMillis,
|
|
306
|
+
input: Schema.optional(Schema.String),
|
|
277
307
|
name: Schema.String,
|
|
308
|
+
output: Schema.optional(Schema.String),
|
|
309
|
+
error: Schema.optional(Schema.String),
|
|
310
|
+
outputTruncated: Schema.optional(Schema.Boolean),
|
|
311
|
+
inputTruncated: Schema.optional(Schema.Boolean),
|
|
312
|
+
errorTruncated: Schema.optional(Schema.Boolean),
|
|
278
313
|
startedAtMillis: Schema.optional(OccurredAtMillis),
|
|
279
314
|
status: Schema.NullOr(Schema.String)
|
|
280
315
|
}), Schema.Struct({
|
|
@@ -319,6 +354,7 @@ const EvalCosts = Schema.Struct({
|
|
|
319
354
|
identifier: "EvalCosts"
|
|
320
355
|
});
|
|
321
356
|
const EvalTrial = Schema.Struct({
|
|
357
|
+
validations: Schema.optional(EvalValidations),
|
|
322
358
|
judgments: Schema.optional(Schema.Array(EvalJudgment)),
|
|
323
359
|
commands: Schema.Int,
|
|
324
360
|
costs: Schema.NullOr(EvalCosts),
|
|
@@ -378,6 +414,7 @@ const EvalSetup = Schema.Struct({
|
|
|
378
414
|
repoUrl: Schema.NullOr(Schema.String),
|
|
379
415
|
prepareName: Schema.NullOr(Schema.String),
|
|
380
416
|
validatorName: Schema.NullOr(Schema.String),
|
|
417
|
+
validatorFiles: Schema.optional(EvalSourceFiles),
|
|
381
418
|
verifyCommand: Schema.NullOr(Schema.String),
|
|
382
419
|
workspace: Schema.String
|
|
383
420
|
}).annotations({
|
|
@@ -405,6 +442,7 @@ const EvalTimestamp = Schema.DateTimeUtc.annotations({
|
|
|
405
442
|
jsonSchema: { format: "date-time" }
|
|
406
443
|
});
|
|
407
444
|
const EvalRun = Schema.Struct({
|
|
445
|
+
trigger: Schema.optionalWith(Schema.NullOr(EvalTrigger), { default: () => null }),
|
|
408
446
|
cases: Schema.Array(Schema.String),
|
|
409
447
|
cells: Schema.Array(EvalCell),
|
|
410
448
|
costs: Schema.NullOr(EvalCosts),
|
|
@@ -420,6 +458,7 @@ const EvalRun = Schema.Struct({
|
|
|
420
458
|
identifier: "EvalRun"
|
|
421
459
|
});
|
|
422
460
|
const EvalRunSummary = Schema.Struct({
|
|
461
|
+
trigger: Schema.optionalWith(Schema.NullOr(EvalTrigger), { default: () => null }),
|
|
423
462
|
caseCount: Schema.Int,
|
|
424
463
|
columns: Schema.Array(EvalTask),
|
|
425
464
|
commandMax: Schema.NullOr(Schema.Int),
|
|
@@ -449,6 +488,7 @@ const EvalRunPage = Schema.Struct({
|
|
|
449
488
|
total: Schema.Int
|
|
450
489
|
});
|
|
451
490
|
const EvalCellHistoryEntry = Schema.Struct({
|
|
491
|
+
trigger: Schema.optionalWith(Schema.NullOr(EvalTrigger), { default: () => null }),
|
|
452
492
|
distribution: EvalDistribution,
|
|
453
493
|
finishedAt: Schema.NullOr(EvalTimestamp),
|
|
454
494
|
harnessVersion: Schema.String,
|
|
@@ -470,7 +510,7 @@ const PlaygroundCaseView = Schema.Struct({
|
|
|
470
510
|
const PlaygroundColumnView = Schema.Struct({
|
|
471
511
|
harness: EvalHarness,
|
|
472
512
|
model: Schema.String,
|
|
473
|
-
|
|
513
|
+
sandbox: EvalSandbox
|
|
474
514
|
});
|
|
475
515
|
const PlaygroundConfigView = Schema.Struct({
|
|
476
516
|
cases: Schema.Array(PlaygroundCaseView),
|
|
@@ -496,7 +536,7 @@ Schema.Struct({
|
|
|
496
536
|
connections: CredentialSelections,
|
|
497
537
|
name: Schema.String,
|
|
498
538
|
prompt: Schema.String,
|
|
499
|
-
|
|
539
|
+
sandboxes: Schema.mutable(Schema.Array(EvalSandbox)),
|
|
500
540
|
trials: Schema.Int.pipe(Schema.between(1, 10), Schema.annotations({ message: () => "Run between 1 and 10 trials." }))
|
|
501
541
|
});
|
|
502
542
|
Schema.Struct({
|
|
@@ -517,7 +557,10 @@ const StartedEval = Schema.Struct({ id: Schema.String }).annotations({
|
|
|
517
557
|
description: "The id of an eval run accepted for background execution.",
|
|
518
558
|
identifier: "StartedEval"
|
|
519
559
|
});
|
|
520
|
-
const RerunCellRequest = Schema.Struct({
|
|
560
|
+
const RerunCellRequest = Schema.Struct({
|
|
561
|
+
trigger: Schema.optional(EvalTrigger),
|
|
562
|
+
trials: Schema.Int.pipe(Schema.between(1, 10))
|
|
563
|
+
});
|
|
521
564
|
const CatalogueModel = Schema.Struct({
|
|
522
565
|
displayName: Schema.String,
|
|
523
566
|
id: Schema.String,
|
|
@@ -536,4 +579,4 @@ const ModelCatalogue = Schema.Struct({
|
|
|
536
579
|
identifier: "ModelCatalogue"
|
|
537
580
|
});
|
|
538
581
|
//#endregion
|
|
539
|
-
export {
|
|
582
|
+
export { EvalTrigger as C, EvalVerify as E, EvalSourceFiles as S, EvalPrompt as T, HarnessProfile as _, EvalPageCursor as a, ProfilePath as b, EvalRunPage as c, EvalValidator as d, EvalVariables as f, EnvName as g, StartedEval as h, EvalName as i, EvalSandbox as l, RerunCellRequest as m, EvalCellHistoryEntry as n, EvalPrepare as o, ModelCatalogue as p, EvalHarness as r, EvalRun as s, CaseCache as t, EvalSource as u, PROFILE_HARNESS_RULE as v, EvalCaseName as w, profileFitsHarness as x, PROFILE_LIMITS as y };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const require_eval_judges = require("./eval-judges-BkmiVLLq.cjs");
|
|
2
|
+
const require_eval_validations = require("./eval-validations-_MlnQ_uv.cjs");
|
|
2
3
|
let effect = require("effect");
|
|
3
4
|
//#region ../schema/src/domain/eval-limits.ts
|
|
4
5
|
const PROMPT_LIMIT = 16384;
|
|
@@ -25,6 +26,19 @@ const EvalVariableValue = effect.Schema.String.pipe(effect.Schema.maxLength(VARI
|
|
|
25
26
|
message: () => `A variable value must be at most ${VARIABLE_VALUE_LIMIT} characters, because it is substituted into the prompt before it is quoted.`
|
|
26
27
|
}));
|
|
27
28
|
//#endregion
|
|
29
|
+
//#region ../schema/src/domain/eval-trigger.ts
|
|
30
|
+
const EvalTrigger = effect.Schema.Struct({
|
|
31
|
+
source: effect.Schema.Literal("dashboard", "api", "cli", "ci", "mcp"),
|
|
32
|
+
url: effect.Schema.optional(effect.Schema.String.pipe(effect.Schema.maxLength(2048), effect.Schema.filter((value) => {
|
|
33
|
+
if (!URL.canParse(value)) return false;
|
|
34
|
+
const url = new URL(value);
|
|
35
|
+
return ["https:", "http:"].includes(url.protocol) && !url.username && !url.password;
|
|
36
|
+
}, { message: () => "Use an HTTP or HTTPS URL without credentials." })))
|
|
37
|
+
}).annotations({
|
|
38
|
+
identifier: "EvalTrigger",
|
|
39
|
+
description: "What started this run. Client-reported context, not authorization."
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
28
42
|
//#region ../schema/src/domain/credentials.ts
|
|
29
43
|
const CredentialScope = effect.Schema.Literal("organization", "personal");
|
|
30
44
|
const CredentialStatus = effect.Schema.Literal("active", "invalid");
|
|
@@ -109,6 +123,13 @@ effect.Schema.Struct({
|
|
|
109
123
|
status: effect.Schema.Literal("pending", "complete", "failed", "expired")
|
|
110
124
|
});
|
|
111
125
|
//#endregion
|
|
126
|
+
//#region ../schema/src/domain/eval-source-files.ts
|
|
127
|
+
const EvalSourceFile = effect.Schema.Struct({
|
|
128
|
+
path: effect.Schema.String.pipe(effect.Schema.maxLength(512), effect.Schema.pattern(/^(?!\.{1,2}(?:\/|$))[^/\\:\0]+(?:\/(?!\.{1,2}(?:\/|$))[^/\\:\0]+)*$/)),
|
|
129
|
+
content: effect.Schema.String.pipe(effect.Schema.maxLength(1e6))
|
|
130
|
+
});
|
|
131
|
+
const EvalSourceFiles = effect.Schema.Array(EvalSourceFile).pipe(effect.Schema.maxItems(100), effect.Schema.filter((files) => new Set(files.map(({ path }) => path)).size === files.length), effect.Schema.filter((files) => files.reduce((size, file) => size + file.content.length, 0) <= 1e6));
|
|
132
|
+
//#endregion
|
|
112
133
|
//#region ../schema/src/domain/harness-profile.ts
|
|
113
134
|
const PROFILE_LIMITS = {
|
|
114
135
|
fileChars: 96e3,
|
|
@@ -150,8 +171,8 @@ const PROFILE_HARNESS_RULE = "The command harness needs a profile with a run com
|
|
|
150
171
|
//#endregion
|
|
151
172
|
//#region ../schema/src/domain/evals.ts
|
|
152
173
|
const EvalHarness = require_eval_judges.EvalHarness;
|
|
153
|
-
const
|
|
154
|
-
|
|
174
|
+
const EvalSandbox = effect.Schema.Literal("daytona", "e2b", "upstash", "modal", "cloudflare", "vercel");
|
|
175
|
+
EvalSandbox.literals;
|
|
155
176
|
const EvalTrialStatus = effect.Schema.Literal("queued", "running", "passed", "failed", "void");
|
|
156
177
|
const EvalRunStatus = effect.Schema.Literal("running", "finished", "failed");
|
|
157
178
|
const EvalSource = effect.Schema.Union(effect.Schema.Struct({ kind: effect.Schema.Literal("empty") }), effect.Schema.Struct({
|
|
@@ -169,15 +190,22 @@ const EvalSource = effect.Schema.Union(effect.Schema.Struct({ kind: effect.Schem
|
|
|
169
190
|
identifier: "EvalSource"
|
|
170
191
|
});
|
|
171
192
|
const EvalCodeValidator = effect.Schema.Struct({
|
|
193
|
+
capture: effect.Schema.optional(effect.Schema.Boolean),
|
|
194
|
+
manifest: effect.Schema.optional(effect.Schema.Array(effect.Schema.Struct({
|
|
195
|
+
index: effect.Schema.NonNegativeInt,
|
|
196
|
+
name: effect.Schema.String.pipe(effect.Schema.maxLength(200))
|
|
197
|
+
})).pipe(effect.Schema.minItems(1), effect.Schema.maxItems(20), effect.Schema.filter((checks) => new Set(checks.map((check) => check.index)).size === checks.length, { message: () => "Validator indices must be unique" }))),
|
|
172
198
|
name: effect.Schema.String.pipe(effect.Schema.minLength(1), effect.Schema.maxLength(100)),
|
|
173
199
|
source: effect.Schema.String.pipe(effect.Schema.minLength(1), effect.Schema.maxLength(1e6))
|
|
174
200
|
});
|
|
175
|
-
const EvalValidator = effect.Schema.Union(EvalCodeValidator, effect.Schema.Struct({
|
|
201
|
+
const EvalValidator = effect.Schema.Union(EvalCodeValidator.pipe(effect.Schema.extend(effect.Schema.Struct({ sourceFiles: effect.Schema.optional(EvalSourceFiles) }))), effect.Schema.Struct({
|
|
176
202
|
kind: effect.Schema.Literal("judged"),
|
|
203
|
+
capture: effect.Schema.optional(effect.Schema.Boolean),
|
|
177
204
|
name: effect.Schema.String.pipe(effect.Schema.minLength(1), effect.Schema.maxLength(100)),
|
|
178
205
|
checks: effect.Schema.Array(EvalCodeValidator).pipe(effect.Schema.maxItems(20)),
|
|
179
|
-
judges: effect.Schema.Array(require_eval_judges.EvalJudge).pipe(effect.Schema.minItems(1), effect.Schema.maxItems(20))
|
|
180
|
-
|
|
206
|
+
judges: effect.Schema.Array(require_eval_judges.EvalJudge).pipe(effect.Schema.minItems(1), effect.Schema.maxItems(20)),
|
|
207
|
+
sourceFiles: effect.Schema.optional(EvalSourceFiles)
|
|
208
|
+
}).pipe(effect.Schema.filter((validator) => validator.checks.reduce((total, check) => total + (check.manifest?.length ?? 1), 0) <= 20, { message: () => "At most 20 code validators are supported" }))).annotations({
|
|
181
209
|
description: "A bundled TypeScript validator and its exported function name.",
|
|
182
210
|
identifier: "EvalValidator"
|
|
183
211
|
});
|
|
@@ -227,7 +255,7 @@ const EvalTask = effect.Schema.Struct({
|
|
|
227
255
|
harnessVersion: effect.Schema.String,
|
|
228
256
|
model: effect.Schema.String,
|
|
229
257
|
profile: effect.Schema.optional(effect.Schema.NullOr(EvalTaskProfile)),
|
|
230
|
-
|
|
258
|
+
sandbox: EvalSandbox
|
|
231
259
|
}).annotations({
|
|
232
260
|
description: "The harness, installed version, profile, model, and sandbox for a cell.",
|
|
233
261
|
identifier: "EvalTask"
|
|
@@ -237,7 +265,7 @@ const EvalTaskRequest = effect.Schema.Struct({
|
|
|
237
265
|
harness: EvalHarness,
|
|
238
266
|
model: effect.Schema.String,
|
|
239
267
|
profile: effect.Schema.optional(HarnessProfile),
|
|
240
|
-
|
|
268
|
+
sandbox: effect.Schema.optional(EvalSandbox)
|
|
241
269
|
}).pipe(effect.Schema.filter(profileFitsHarness, { message: () => PROFILE_HARNESS_RULE }));
|
|
242
270
|
const EvalName = effect.Schema.String.pipe(effect.Schema.minLength(1), effect.Schema.maxLength(100));
|
|
243
271
|
effect.Schema.Struct({
|
|
@@ -265,6 +293,7 @@ const EvalJournalEntry = effect.Schema.Union(effect.Schema.Struct({
|
|
|
265
293
|
exitCode: effect.Schema.NullOr(effect.Schema.Int),
|
|
266
294
|
finishedAtMillis: OccurredAtMillis,
|
|
267
295
|
output: effect.Schema.String,
|
|
296
|
+
outputTruncated: effect.Schema.optional(effect.Schema.Boolean),
|
|
268
297
|
startedAtMillis: OccurredAtMillis
|
|
269
298
|
}), effect.Schema.Struct({
|
|
270
299
|
_tag: effect.Schema.Literal("message"),
|
|
@@ -274,7 +303,13 @@ const EvalJournalEntry = effect.Schema.Union(effect.Schema.Struct({
|
|
|
274
303
|
}), effect.Schema.Struct({
|
|
275
304
|
_tag: effect.Schema.Literal("toolCall"),
|
|
276
305
|
finishedAtMillis: OccurredAtMillis,
|
|
306
|
+
input: effect.Schema.optional(effect.Schema.String),
|
|
277
307
|
name: effect.Schema.String,
|
|
308
|
+
output: effect.Schema.optional(effect.Schema.String),
|
|
309
|
+
error: effect.Schema.optional(effect.Schema.String),
|
|
310
|
+
outputTruncated: effect.Schema.optional(effect.Schema.Boolean),
|
|
311
|
+
inputTruncated: effect.Schema.optional(effect.Schema.Boolean),
|
|
312
|
+
errorTruncated: effect.Schema.optional(effect.Schema.Boolean),
|
|
278
313
|
startedAtMillis: effect.Schema.optional(OccurredAtMillis),
|
|
279
314
|
status: effect.Schema.NullOr(effect.Schema.String)
|
|
280
315
|
}), effect.Schema.Struct({
|
|
@@ -319,6 +354,7 @@ const EvalCosts = effect.Schema.Struct({
|
|
|
319
354
|
identifier: "EvalCosts"
|
|
320
355
|
});
|
|
321
356
|
const EvalTrial = effect.Schema.Struct({
|
|
357
|
+
validations: effect.Schema.optional(require_eval_validations.EvalValidations),
|
|
322
358
|
judgments: effect.Schema.optional(effect.Schema.Array(require_eval_judges.EvalJudgment)),
|
|
323
359
|
commands: effect.Schema.Int,
|
|
324
360
|
costs: effect.Schema.NullOr(EvalCosts),
|
|
@@ -378,6 +414,7 @@ const EvalSetup = effect.Schema.Struct({
|
|
|
378
414
|
repoUrl: effect.Schema.NullOr(effect.Schema.String),
|
|
379
415
|
prepareName: effect.Schema.NullOr(effect.Schema.String),
|
|
380
416
|
validatorName: effect.Schema.NullOr(effect.Schema.String),
|
|
417
|
+
validatorFiles: effect.Schema.optional(EvalSourceFiles),
|
|
381
418
|
verifyCommand: effect.Schema.NullOr(effect.Schema.String),
|
|
382
419
|
workspace: effect.Schema.String
|
|
383
420
|
}).annotations({
|
|
@@ -405,6 +442,7 @@ const EvalTimestamp = effect.Schema.DateTimeUtc.annotations({
|
|
|
405
442
|
jsonSchema: { format: "date-time" }
|
|
406
443
|
});
|
|
407
444
|
const EvalRun = effect.Schema.Struct({
|
|
445
|
+
trigger: effect.Schema.optionalWith(effect.Schema.NullOr(EvalTrigger), { default: () => null }),
|
|
408
446
|
cases: effect.Schema.Array(effect.Schema.String),
|
|
409
447
|
cells: effect.Schema.Array(EvalCell),
|
|
410
448
|
costs: effect.Schema.NullOr(EvalCosts),
|
|
@@ -420,6 +458,7 @@ const EvalRun = effect.Schema.Struct({
|
|
|
420
458
|
identifier: "EvalRun"
|
|
421
459
|
});
|
|
422
460
|
const EvalRunSummary = effect.Schema.Struct({
|
|
461
|
+
trigger: effect.Schema.optionalWith(effect.Schema.NullOr(EvalTrigger), { default: () => null }),
|
|
423
462
|
caseCount: effect.Schema.Int,
|
|
424
463
|
columns: effect.Schema.Array(EvalTask),
|
|
425
464
|
commandMax: effect.Schema.NullOr(effect.Schema.Int),
|
|
@@ -449,6 +488,7 @@ const EvalRunPage = effect.Schema.Struct({
|
|
|
449
488
|
total: effect.Schema.Int
|
|
450
489
|
});
|
|
451
490
|
const EvalCellHistoryEntry = effect.Schema.Struct({
|
|
491
|
+
trigger: effect.Schema.optionalWith(effect.Schema.NullOr(EvalTrigger), { default: () => null }),
|
|
452
492
|
distribution: EvalDistribution,
|
|
453
493
|
finishedAt: effect.Schema.NullOr(EvalTimestamp),
|
|
454
494
|
harnessVersion: effect.Schema.String,
|
|
@@ -470,7 +510,7 @@ const PlaygroundCaseView = effect.Schema.Struct({
|
|
|
470
510
|
const PlaygroundColumnView = effect.Schema.Struct({
|
|
471
511
|
harness: EvalHarness,
|
|
472
512
|
model: effect.Schema.String,
|
|
473
|
-
|
|
513
|
+
sandbox: EvalSandbox
|
|
474
514
|
});
|
|
475
515
|
const PlaygroundConfigView = effect.Schema.Struct({
|
|
476
516
|
cases: effect.Schema.Array(PlaygroundCaseView),
|
|
@@ -496,7 +536,7 @@ effect.Schema.Struct({
|
|
|
496
536
|
connections: CredentialSelections,
|
|
497
537
|
name: effect.Schema.String,
|
|
498
538
|
prompt: effect.Schema.String,
|
|
499
|
-
|
|
539
|
+
sandboxes: effect.Schema.mutable(effect.Schema.Array(EvalSandbox)),
|
|
500
540
|
trials: effect.Schema.Int.pipe(effect.Schema.between(1, 10), effect.Schema.annotations({ message: () => "Run between 1 and 10 trials." }))
|
|
501
541
|
});
|
|
502
542
|
effect.Schema.Struct({
|
|
@@ -517,7 +557,10 @@ const StartedEval = effect.Schema.Struct({ id: effect.Schema.String }).annotatio
|
|
|
517
557
|
description: "The id of an eval run accepted for background execution.",
|
|
518
558
|
identifier: "StartedEval"
|
|
519
559
|
});
|
|
520
|
-
const RerunCellRequest = effect.Schema.Struct({
|
|
560
|
+
const RerunCellRequest = effect.Schema.Struct({
|
|
561
|
+
trigger: effect.Schema.optional(EvalTrigger),
|
|
562
|
+
trials: effect.Schema.Int.pipe(effect.Schema.between(1, 10))
|
|
563
|
+
});
|
|
521
564
|
const CatalogueModel = effect.Schema.Struct({
|
|
522
565
|
displayName: effect.Schema.String,
|
|
523
566
|
id: effect.Schema.String,
|
|
@@ -590,12 +633,6 @@ Object.defineProperty(exports, "EvalPrompt", {
|
|
|
590
633
|
return EvalPrompt;
|
|
591
634
|
}
|
|
592
635
|
});
|
|
593
|
-
Object.defineProperty(exports, "EvalProvider", {
|
|
594
|
-
enumerable: true,
|
|
595
|
-
get: function() {
|
|
596
|
-
return EvalProvider;
|
|
597
|
-
}
|
|
598
|
-
});
|
|
599
636
|
Object.defineProperty(exports, "EvalRun", {
|
|
600
637
|
enumerable: true,
|
|
601
638
|
get: function() {
|
|
@@ -608,12 +645,30 @@ Object.defineProperty(exports, "EvalRunPage", {
|
|
|
608
645
|
return EvalRunPage;
|
|
609
646
|
}
|
|
610
647
|
});
|
|
648
|
+
Object.defineProperty(exports, "EvalSandbox", {
|
|
649
|
+
enumerable: true,
|
|
650
|
+
get: function() {
|
|
651
|
+
return EvalSandbox;
|
|
652
|
+
}
|
|
653
|
+
});
|
|
611
654
|
Object.defineProperty(exports, "EvalSource", {
|
|
612
655
|
enumerable: true,
|
|
613
656
|
get: function() {
|
|
614
657
|
return EvalSource;
|
|
615
658
|
}
|
|
616
659
|
});
|
|
660
|
+
Object.defineProperty(exports, "EvalSourceFiles", {
|
|
661
|
+
enumerable: true,
|
|
662
|
+
get: function() {
|
|
663
|
+
return EvalSourceFiles;
|
|
664
|
+
}
|
|
665
|
+
});
|
|
666
|
+
Object.defineProperty(exports, "EvalTrigger", {
|
|
667
|
+
enumerable: true,
|
|
668
|
+
get: function() {
|
|
669
|
+
return EvalTrigger;
|
|
670
|
+
}
|
|
671
|
+
});
|
|
617
672
|
Object.defineProperty(exports, "EvalValidator", {
|
|
618
673
|
enumerable: true,
|
|
619
674
|
get: function() {
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_client = require("./client-
|
|
2
|
+
const require_client = require("./client-C-P2I00z.cjs");
|
|
3
3
|
const require_errors = require("./errors-BX1wry8K.cjs");
|
|
4
4
|
const require_source = require("./source-DvlGawEw.cjs");
|
|
5
5
|
let _effect_platform = require("@effect/platform");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as layer, i as DEFAULT_BASE_URL, n as AnpordClient, o as make, r as ClientOptions, t as AnpordApi } from "./client-
|
|
2
|
-
import { _ as EvalVerdict, a as EvalDistribution, b as StartedEval, c as
|
|
3
|
-
import { a as EvalTaskDefinition, c as Prepare, d as ProfileRef, f as Validator, i as EvalDefinition, l as PrepareContext, m as ValidatorResult, n as CommandResult, o as ExecOptions, p as ValidatorContext, r as EvalCaseDefinition, s as HarnessRef, t as CaseCache, u as PrepareValue } from "./types-
|
|
1
|
+
import { a as layer, i as DEFAULT_BASE_URL, n as AnpordClient, o as make, r as ClientOptions, t as AnpordApi } from "./client-BirFO3jz.cjs";
|
|
2
|
+
import { _ as EvalVerdict, a as EvalDistribution, b as StartedEval, c as EvalRun, d as EvalSandbox, f as EvalSource, g as EvalUsage, h as EvalTrialStatus, i as EvalComparison, l as EvalRunStatus, m as EvalTrial, n as EvalCell, o as EvalHarness, p as EvalTask, r as EvalCellHistoryEntry, s as EvalJournalEntry, t as CatalogueModel, u as EvalRunSummary, v as ModelCatalogue, y as RerunCellRequest } from "./evals-B6aT3xgH.cjs";
|
|
3
|
+
import { a as EvalTaskDefinition, c as Prepare, d as ProfileRef, f as Validator, i as EvalDefinition, l as PrepareContext, m as ValidatorResult, n as CommandResult, o as ExecOptions, p as ValidatorContext, r as EvalCaseDefinition, s as HarnessRef, t as CaseCache, u as PrepareValue } from "./types-ISsteq95.cjs";
|
|
4
4
|
import { t as McpCall } from "./calls-DYqBi5FA.cjs";
|
|
5
5
|
import { t as CliCall } from "./calls-Drj_dZpu.cjs";
|
|
6
6
|
import { empty, files, repo } from "./source.cjs";
|
|
@@ -128,6 +128,130 @@ declare class Anpord {
|
|
|
128
128
|
private resolve;
|
|
129
129
|
}
|
|
130
130
|
//#endregion
|
|
131
|
+
//#region ../schema/src/domain/eval-trigger.d.ts
|
|
132
|
+
declare const EvalTrigger: Schema.Struct<{
|
|
133
|
+
source: Schema.Literal<["dashboard", "api", "cli", "ci", "mcp"]>;
|
|
134
|
+
url: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
|
|
135
|
+
}>;
|
|
136
|
+
type EvalTrigger = typeof EvalTrigger.Type;
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region ../schema/src/domain/eval-validations.d.ts
|
|
139
|
+
declare const ValidationValue: Schema.Struct<{
|
|
140
|
+
text: Schema.filter<typeof Schema.String>;
|
|
141
|
+
format: Schema.Literal<["text", "json"]>;
|
|
142
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
143
|
+
truncated: typeof Schema.Boolean;
|
|
144
|
+
}>;
|
|
145
|
+
type ValidationValue = typeof ValidationValue.Type;
|
|
146
|
+
declare const ValidationCall: Schema.Struct<{
|
|
147
|
+
index: Schema.refine<number, typeof Schema.NonNegative>;
|
|
148
|
+
method: Schema.Literal<["answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"]>;
|
|
149
|
+
startedAt: typeof Schema.Number;
|
|
150
|
+
durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
|
|
151
|
+
input: Schema.Struct<{
|
|
152
|
+
text: Schema.filter<typeof Schema.String>;
|
|
153
|
+
format: Schema.Literal<["text", "json"]>;
|
|
154
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
155
|
+
truncated: typeof Schema.Boolean;
|
|
156
|
+
}>;
|
|
157
|
+
output: Schema.Struct<{
|
|
158
|
+
text: Schema.filter<typeof Schema.String>;
|
|
159
|
+
format: Schema.Literal<["text", "json"]>;
|
|
160
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
161
|
+
truncated: typeof Schema.Boolean;
|
|
162
|
+
}>;
|
|
163
|
+
error: Schema.NullOr<Schema.Struct<{
|
|
164
|
+
text: Schema.filter<typeof Schema.String>;
|
|
165
|
+
format: Schema.Literal<["text", "json"]>;
|
|
166
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
167
|
+
truncated: typeof Schema.Boolean;
|
|
168
|
+
}>>;
|
|
169
|
+
}>;
|
|
170
|
+
type ValidationCall = typeof ValidationCall.Type;
|
|
171
|
+
declare const EvalValidation: Schema.Struct<{
|
|
172
|
+
id: Schema.filter<Schema.filter<typeof Schema.String>>;
|
|
173
|
+
index: Schema.refine<number, typeof Schema.NonNegative>;
|
|
174
|
+
name: Schema.filter<typeof Schema.String>;
|
|
175
|
+
kind: Schema.Literal<["code", "judge", "command"]>;
|
|
176
|
+
status: Schema.Literal<["queued", "running", "passed", "failed", "error", "skipped"]>;
|
|
177
|
+
startedAt: Schema.NullOr<typeof Schema.Number>;
|
|
178
|
+
durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
|
|
179
|
+
message: Schema.filter<typeof Schema.String>;
|
|
180
|
+
exitCode: Schema.NullOr<typeof Schema.Int>;
|
|
181
|
+
truncated: typeof Schema.Boolean;
|
|
182
|
+
judgment: Schema.optional<Schema.Struct<{
|
|
183
|
+
name: typeof Schema.String;
|
|
184
|
+
model: typeof Schema.String;
|
|
185
|
+
evaluator: typeof Schema.String;
|
|
186
|
+
score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
|
|
187
|
+
choice: Schema.NullOr<typeof Schema.String>;
|
|
188
|
+
reason: typeof Schema.String;
|
|
189
|
+
threshold: Schema.filter<typeof Schema.Number>;
|
|
190
|
+
durationMs: Schema.refine<number, typeof Schema.NonNegative>;
|
|
191
|
+
error: Schema.NullOr<typeof Schema.String>;
|
|
192
|
+
}>>;
|
|
193
|
+
input: Schema.Struct<{
|
|
194
|
+
text: Schema.filter<typeof Schema.String>;
|
|
195
|
+
format: Schema.Literal<["text", "json"]>;
|
|
196
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
197
|
+
truncated: typeof Schema.Boolean;
|
|
198
|
+
}>;
|
|
199
|
+
output: Schema.Struct<{
|
|
200
|
+
text: Schema.filter<typeof Schema.String>;
|
|
201
|
+
format: Schema.Literal<["text", "json"]>;
|
|
202
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
203
|
+
truncated: typeof Schema.Boolean;
|
|
204
|
+
}>;
|
|
205
|
+
error: Schema.NullOr<Schema.Struct<{
|
|
206
|
+
text: Schema.filter<typeof Schema.String>;
|
|
207
|
+
format: Schema.Literal<["text", "json"]>;
|
|
208
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
209
|
+
truncated: typeof Schema.Boolean;
|
|
210
|
+
}>>;
|
|
211
|
+
metadata: Schema.optional<Schema.Struct<{
|
|
212
|
+
text: Schema.filter<typeof Schema.String>;
|
|
213
|
+
format: Schema.Literal<["text", "json"]>;
|
|
214
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
215
|
+
truncated: typeof Schema.Boolean;
|
|
216
|
+
}>>;
|
|
217
|
+
calls: Schema.filter<Schema.Array$<Schema.Struct<{
|
|
218
|
+
index: Schema.refine<number, typeof Schema.NonNegative>;
|
|
219
|
+
method: Schema.Literal<["answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"]>;
|
|
220
|
+
startedAt: typeof Schema.Number;
|
|
221
|
+
durationMs: Schema.NullOr<Schema.refine<number, typeof Schema.NonNegative>>;
|
|
222
|
+
input: Schema.Struct<{
|
|
223
|
+
text: Schema.filter<typeof Schema.String>;
|
|
224
|
+
format: Schema.Literal<["text", "json"]>;
|
|
225
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
226
|
+
truncated: typeof Schema.Boolean;
|
|
227
|
+
}>;
|
|
228
|
+
output: Schema.Struct<{
|
|
229
|
+
text: Schema.filter<typeof Schema.String>;
|
|
230
|
+
format: Schema.Literal<["text", "json"]>;
|
|
231
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
232
|
+
truncated: typeof Schema.Boolean;
|
|
233
|
+
}>;
|
|
234
|
+
error: Schema.NullOr<Schema.Struct<{
|
|
235
|
+
text: Schema.filter<typeof Schema.String>;
|
|
236
|
+
format: Schema.Literal<["text", "json"]>;
|
|
237
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
238
|
+
truncated: typeof Schema.Boolean;
|
|
239
|
+
}>>;
|
|
240
|
+
}>>>;
|
|
241
|
+
logs: Schema.filter<Schema.Array$<Schema.Struct<{
|
|
242
|
+
index: Schema.refine<number, typeof Schema.NonNegative>;
|
|
243
|
+
at: typeof Schema.Number;
|
|
244
|
+
level: Schema.Literal<["stdout", "stderr"]>;
|
|
245
|
+
value: Schema.Struct<{
|
|
246
|
+
text: Schema.filter<typeof Schema.String>;
|
|
247
|
+
format: Schema.Literal<["text", "json"]>;
|
|
248
|
+
state: Schema.Literal<["captured", "disabled", "unavailable"]>;
|
|
249
|
+
truncated: typeof Schema.Boolean;
|
|
250
|
+
}>;
|
|
251
|
+
}>>>;
|
|
252
|
+
}>;
|
|
253
|
+
type EvalValidation = typeof EvalValidation.Type;
|
|
254
|
+
//#endregion
|
|
131
255
|
//#region ../schema/src/public/shapes.d.ts
|
|
132
256
|
declare const PublicPrompt: Schema.Struct<{
|
|
133
257
|
channel: Schema.NullOr<Schema.brand<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>, "ChannelName">>;
|
|
@@ -195,4 +319,4 @@ type StartEvalRequest = Parameters<EvalsSurface["start"]>[0];
|
|
|
195
319
|
type EvalCase = StartEvalRequest["cases"][number];
|
|
196
320
|
type EvalTaskRequest = StartEvalRequest["tasks"][number];
|
|
197
321
|
//#endregion
|
|
198
|
-
export { Anpord, AnpordApi, type AnpordClient, AnpordError, type AnpordOptions, type AnpordPromptVariables, type CacheOptions, type CaseCache, type CatalogueModel, type CliCall, type ClientOptions, type CommandResult, DEFAULT_BASE_URL, EvalAborted, EvalCase, type EvalCaseDefinition, type EvalCell, type EvalCellHistoryEntry, type EvalComparison, type EvalDefinition, type EvalDistribution, type EvalHarness, type EvalJournalEntry, type
|
|
322
|
+
export { Anpord, AnpordApi, type AnpordClient, AnpordError, type AnpordOptions, type AnpordPromptVariables, type CacheOptions, type CaseCache, type CatalogueModel, type CliCall, type ClientOptions, type CommandResult, DEFAULT_BASE_URL, EvalAborted, EvalCase, type EvalCaseDefinition, type EvalCell, type EvalCellHistoryEntry, type EvalComparison, type EvalDefinition, type EvalDistribution, type EvalHarness, type EvalJournalEntry, type EvalRun, type EvalRunStatus, type EvalRunSummary, type EvalSandbox, type EvalSource, type EvalTask, type EvalTaskDefinition, EvalTaskRequest, EvalTimeout, type EvalTrial, type EvalTrialStatus, type EvalTrigger, type EvalUsage, type EvalValidation, type EvalVerdict, type EvalsSurface, type ExecOptions, type GetPromptOptions, type HarnessRef, type McpCall, MissingApiKey, type ModelCatalogue, type Prepare, type PrepareContext, type PrepareValue, type ProfileRef, type PromptFallback, type PromptMetadata, type PromptResult, type PromptsSurface, type PublicPrompt, type PublicPromptSummary, type PublicPromptWithVersions, type PublicVersion, type RerunCellRequest, StartEvalRequest, type StartedEval, type ValidationCall, type ValidationValue, type Validator, type ValidatorContext, type ValidatorResult, type WaitOptions, defineEval, empty, files, layer, make, repo };
|