anpord 0.1.11 → 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.
Files changed (58) hide show
  1. package/README.md +56 -78
  2. package/dist/bin.cjs +211 -204
  3. package/dist/bin.mjs +211 -204
  4. package/dist/cli-runtime.cjs +2 -2
  5. package/dist/cli-runtime.d.cts +1 -1
  6. package/dist/cli-runtime.d.mts +1 -1
  7. package/dist/cli-runtime.mjs +2 -2
  8. package/dist/client-BfdjFtlV.mjs +305 -0
  9. package/dist/{client-C9m0uLCz.d.cts → client-BgRs8JvW.d.mts} +2150 -174
  10. package/dist/{client-TFCLuMv8.d.mts → client-BirFO3jz.d.cts} +2150 -174
  11. package/dist/client-C-P2I00z.cjs +346 -0
  12. package/dist/{compiler-DXlpU_In.mjs → compiler-D96wI7UP.mjs} +108 -75
  13. package/dist/{compiler-Ap8DM-JU.cjs → compiler-uwb1pkdK.cjs} +116 -83
  14. package/dist/config.cjs +1 -1
  15. package/dist/config.d.cts +1 -1
  16. package/dist/config.d.mts +1 -1
  17. package/dist/config.mjs +1 -1
  18. package/dist/{errors-C9bQUcA3.mjs → errors-B0YknR5V.mjs} +3 -19
  19. package/dist/{errors-Boum34f5.cjs → errors-BX1wry8K.cjs} +3 -19
  20. package/dist/{errors-BK3f7Rdr.d.cts → errors-aGrd21jy.d.cts} +0 -3
  21. package/dist/{errors-BK3f7Rdr.d.mts → errors-aGrd21jy.d.mts} +0 -3
  22. package/dist/eval-judges-BkmiVLLq.cjs +59 -0
  23. package/dist/eval-judges-CwTvTq7N.mjs +42 -0
  24. package/dist/eval-judges-DPPUftbh.d.cts +48 -0
  25. package/dist/eval-judges-DPPUftbh.d.mts +48 -0
  26. package/dist/eval-validations-BRdoZrTQ.mjs +113 -0
  27. package/dist/eval-validations-_MlnQ_uv.cjs +148 -0
  28. package/dist/eval.cjs +1 -1
  29. package/dist/eval.d.cts +60 -6
  30. package/dist/eval.d.mts +60 -6
  31. package/dist/eval.mjs +1 -1
  32. package/dist/evals-B6aT3xgH.d.cts +1364 -0
  33. package/dist/evals-B6aT3xgH.d.mts +1364 -0
  34. package/dist/evals-Dcc_x6jW.mjs +582 -0
  35. package/dist/evals-DouMsrsM.cjs +737 -0
  36. package/dist/index.cjs +23 -99
  37. package/dist/index.d.cts +138 -34
  38. package/dist/index.d.mts +138 -34
  39. package/dist/index.mjs +23 -99
  40. package/dist/source.d.cts +1 -1
  41. package/dist/source.d.mts +1 -1
  42. package/dist/{types-oaMF6-E1.d.mts → types-Codjaq-o.d.mts} +146 -45
  43. package/dist/{types-H9L450Iu.d.cts → types-ISsteq95.d.cts} +146 -45
  44. package/dist/validator-runtime.cjs +238 -0
  45. package/dist/validator-runtime.d.cts +9 -0
  46. package/dist/validator-runtime.d.mts +9 -0
  47. package/dist/validator-runtime.mjs +237 -0
  48. package/dist/validators.cjs +10 -0
  49. package/dist/validators.d.cts +8 -0
  50. package/dist/validators.d.mts +8 -0
  51. package/dist/validators.mjs +9 -0
  52. package/package.json +11 -1
  53. package/dist/client-5K3dMI5Q.mjs +0 -849
  54. package/dist/client-Ci0woWLW.cjs +0 -890
  55. package/dist/evals-BEgEmfiO.d.cts +0 -603
  56. package/dist/evals-BEgEmfiO.d.mts +0 -603
  57. package/dist/harness-profile-BMjsN460.mjs +0 -43
  58. package/dist/harness-profile-CDQpPLPd.cjs +0 -78
@@ -0,0 +1,48 @@
1
+ import { Schema } from "effect";
2
+ //#region ../schema/src/domain/eval-judges.d.ts
3
+ declare const EvalJudge: Schema.Union<[Schema.Struct<{
4
+ provider: Schema.Literal<["openai"]>;
5
+ harness: Schema.optional<typeof Schema.Never>;
6
+ kind: Schema.Literal<["judge"]>;
7
+ name: Schema.filter<Schema.filter<typeof Schema.String>>;
8
+ model: Schema.filter<Schema.filter<typeof Schema.String>>;
9
+ rubric: Schema.filter<Schema.filter<typeof Schema.String>>;
10
+ expected: Schema.optional<Schema.filter<typeof Schema.String>>;
11
+ choices: Schema.filter<Schema.Record$<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.Number>>>;
12
+ threshold: Schema.optionalWith<Schema.filter<typeof Schema.Number>, {
13
+ default: () => number;
14
+ }>;
15
+ timeoutMs: Schema.optionalWith<Schema.filter<typeof Schema.Int>, {
16
+ default: () => number;
17
+ }>;
18
+ }>, Schema.Struct<{
19
+ provider: Schema.optional<typeof Schema.Never>;
20
+ harness: Schema.SchemaClass<"codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen" | "cursor", "codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen" | "cursor", never>;
21
+ kind: Schema.Literal<["judge"]>;
22
+ name: Schema.filter<Schema.filter<typeof Schema.String>>;
23
+ model: Schema.filter<Schema.filter<typeof Schema.String>>;
24
+ rubric: Schema.filter<Schema.filter<typeof Schema.String>>;
25
+ expected: Schema.optional<Schema.filter<typeof Schema.String>>;
26
+ choices: Schema.filter<Schema.Record$<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.Number>>>;
27
+ threshold: Schema.optionalWith<Schema.filter<typeof Schema.Number>, {
28
+ default: () => number;
29
+ }>;
30
+ timeoutMs: Schema.optionalWith<Schema.filter<typeof Schema.Int>, {
31
+ default: () => number;
32
+ }>;
33
+ }>]>;
34
+ type EvalJudge = typeof EvalJudge.Type;
35
+ declare const EvalJudgment: Schema.Struct<{
36
+ name: typeof Schema.String;
37
+ model: typeof Schema.String;
38
+ evaluator: typeof Schema.String;
39
+ score: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
40
+ choice: Schema.NullOr<typeof Schema.String>;
41
+ reason: typeof Schema.String;
42
+ threshold: Schema.filter<typeof Schema.Number>;
43
+ durationMs: Schema.refine<number, typeof Schema.NonNegative>;
44
+ error: Schema.NullOr<typeof Schema.String>;
45
+ }>;
46
+ type EvalJudgment = typeof EvalJudgment.Type;
47
+ //#endregion
48
+ export { EvalJudgment as n, EvalJudge as t };
@@ -0,0 +1,113 @@
1
+ import { n as EvalJudgment } from "./eval-judges-CwTvTq7N.mjs";
2
+ import { Schema } from "effect";
3
+ //#region ../schema/src/domain/eval-validations.ts
4
+ const VALIDATION_TEXT_LIMIT = 16e3;
5
+ const VALIDATION_BUDGET = 64e3;
6
+ const VALIDATION_FRAME = "ANPORD_VALIDATION=";
7
+ const ValidationValue = Schema.Struct({
8
+ text: Schema.String.pipe(Schema.maxLength(VALIDATION_TEXT_LIMIT)),
9
+ format: Schema.Literal("text", "json"),
10
+ state: Schema.Literal("captured", "disabled", "unavailable"),
11
+ truncated: Schema.Boolean
12
+ }).annotations({ identifier: "ValidationValue" });
13
+ const ValidationCall = Schema.Struct({
14
+ index: Schema.NonNegativeInt,
15
+ method: Schema.Literal("answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"),
16
+ startedAt: Schema.Number,
17
+ durationMs: Schema.NullOr(Schema.NonNegativeInt),
18
+ input: ValidationValue,
19
+ output: ValidationValue,
20
+ error: Schema.NullOr(ValidationValue)
21
+ }).annotations({ identifier: "ValidationCall" });
22
+ const EvalValidation = Schema.Struct({
23
+ id: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(200)),
24
+ index: Schema.NonNegativeInt,
25
+ name: Schema.String.pipe(Schema.maxLength(200)),
26
+ kind: Schema.Literal("code", "judge", "command"),
27
+ status: Schema.Literal("queued", "running", "passed", "failed", "error", "skipped"),
28
+ startedAt: Schema.NullOr(Schema.Number),
29
+ durationMs: Schema.NullOr(Schema.NonNegativeInt),
30
+ message: Schema.String.pipe(Schema.maxLength(2e3)),
31
+ exitCode: Schema.NullOr(Schema.Int),
32
+ truncated: Schema.Boolean,
33
+ judgment: Schema.optional(EvalJudgment),
34
+ input: ValidationValue,
35
+ output: ValidationValue,
36
+ error: Schema.NullOr(ValidationValue),
37
+ metadata: Schema.optional(ValidationValue),
38
+ calls: Schema.Array(ValidationCall).pipe(Schema.maxItems(64)),
39
+ logs: Schema.Array(Schema.Struct({
40
+ index: Schema.NonNegativeInt,
41
+ at: Schema.Number,
42
+ level: Schema.Literal("stdout", "stderr"),
43
+ value: ValidationValue
44
+ })).pipe(Schema.maxItems(64))
45
+ }).annotations({ identifier: "EvalValidation" });
46
+ const EvalValidations = Schema.Array(EvalValidation).pipe(Schema.maxItems(40)).annotations({ identifier: "EvalValidations" });
47
+ const validationSnapshot = (value) => ({
48
+ ...value,
49
+ truncated: value.truncated || [
50
+ value.input,
51
+ value.output,
52
+ value.error,
53
+ value.metadata,
54
+ ...value.calls.flatMap((call) => [
55
+ call.input,
56
+ call.output,
57
+ call.error
58
+ ]),
59
+ ...value.logs.map((log) => log.value)
60
+ ].some((field) => field?.truncated)
61
+ });
62
+ const unavailableValue = {
63
+ text: "",
64
+ format: "text",
65
+ state: "unavailable",
66
+ truncated: false
67
+ };
68
+ const validationCapture = (enabled = true) => {
69
+ let remaining = VALIDATION_BUDGET;
70
+ return (value, format = "json") => {
71
+ if (!enabled) return {
72
+ ...unavailableValue,
73
+ state: "disabled",
74
+ format
75
+ };
76
+ try {
77
+ const raw = format === "text" ? String(value) : JSON.stringify(value);
78
+ if (raw === void 0) return {
79
+ ...unavailableValue,
80
+ format
81
+ };
82
+ const text = raw.slice(0, Math.min(remaining, VALIDATION_TEXT_LIMIT));
83
+ remaining -= text.length;
84
+ return {
85
+ text,
86
+ format,
87
+ state: "captured",
88
+ truncated: text.length < raw.length
89
+ };
90
+ } catch {
91
+ return {
92
+ ...unavailableValue,
93
+ format
94
+ };
95
+ }
96
+ };
97
+ };
98
+ const validationExecution = (identity, startedAt) => ({
99
+ ...identity,
100
+ startedAt,
101
+ status: startedAt === null ? "skipped" : "running",
102
+ durationMs: null,
103
+ exitCode: null,
104
+ message: "",
105
+ truncated: false,
106
+ input: unavailableValue,
107
+ output: unavailableValue,
108
+ error: null,
109
+ calls: [],
110
+ logs: []
111
+ });
112
+ //#endregion
113
+ export { validationExecution as a, validationCapture as i, VALIDATION_FRAME as n, validationSnapshot as o, unavailableValue as r, EvalValidations as t };
@@ -0,0 +1,148 @@
1
+ const require_eval_judges = require("./eval-judges-BkmiVLLq.cjs");
2
+ let effect = require("effect");
3
+ //#region ../schema/src/domain/eval-validations.ts
4
+ const VALIDATION_TEXT_LIMIT = 16e3;
5
+ const VALIDATION_BUDGET = 64e3;
6
+ const VALIDATION_FRAME = "ANPORD_VALIDATION=";
7
+ const ValidationValue = effect.Schema.Struct({
8
+ text: effect.Schema.String.pipe(effect.Schema.maxLength(VALIDATION_TEXT_LIMIT)),
9
+ format: effect.Schema.Literal("text", "json"),
10
+ state: effect.Schema.Literal("captured", "disabled", "unavailable"),
11
+ truncated: effect.Schema.Boolean
12
+ }).annotations({ identifier: "ValidationValue" });
13
+ const ValidationCall = effect.Schema.Struct({
14
+ index: effect.Schema.NonNegativeInt,
15
+ method: effect.Schema.Literal("answer", "transcript", "readText", "exists", "exec", "cli.calls", "mcp.calls"),
16
+ startedAt: effect.Schema.Number,
17
+ durationMs: effect.Schema.NullOr(effect.Schema.NonNegativeInt),
18
+ input: ValidationValue,
19
+ output: ValidationValue,
20
+ error: effect.Schema.NullOr(ValidationValue)
21
+ }).annotations({ identifier: "ValidationCall" });
22
+ const EvalValidation = effect.Schema.Struct({
23
+ id: effect.Schema.String.pipe(effect.Schema.minLength(1), effect.Schema.maxLength(200)),
24
+ index: effect.Schema.NonNegativeInt,
25
+ name: effect.Schema.String.pipe(effect.Schema.maxLength(200)),
26
+ kind: effect.Schema.Literal("code", "judge", "command"),
27
+ status: effect.Schema.Literal("queued", "running", "passed", "failed", "error", "skipped"),
28
+ startedAt: effect.Schema.NullOr(effect.Schema.Number),
29
+ durationMs: effect.Schema.NullOr(effect.Schema.NonNegativeInt),
30
+ message: effect.Schema.String.pipe(effect.Schema.maxLength(2e3)),
31
+ exitCode: effect.Schema.NullOr(effect.Schema.Int),
32
+ truncated: effect.Schema.Boolean,
33
+ judgment: effect.Schema.optional(require_eval_judges.EvalJudgment),
34
+ input: ValidationValue,
35
+ output: ValidationValue,
36
+ error: effect.Schema.NullOr(ValidationValue),
37
+ metadata: effect.Schema.optional(ValidationValue),
38
+ calls: effect.Schema.Array(ValidationCall).pipe(effect.Schema.maxItems(64)),
39
+ logs: effect.Schema.Array(effect.Schema.Struct({
40
+ index: effect.Schema.NonNegativeInt,
41
+ at: effect.Schema.Number,
42
+ level: effect.Schema.Literal("stdout", "stderr"),
43
+ value: ValidationValue
44
+ })).pipe(effect.Schema.maxItems(64))
45
+ }).annotations({ identifier: "EvalValidation" });
46
+ const EvalValidations = effect.Schema.Array(EvalValidation).pipe(effect.Schema.maxItems(40)).annotations({ identifier: "EvalValidations" });
47
+ const validationSnapshot = (value) => ({
48
+ ...value,
49
+ truncated: value.truncated || [
50
+ value.input,
51
+ value.output,
52
+ value.error,
53
+ value.metadata,
54
+ ...value.calls.flatMap((call) => [
55
+ call.input,
56
+ call.output,
57
+ call.error
58
+ ]),
59
+ ...value.logs.map((log) => log.value)
60
+ ].some((field) => field?.truncated)
61
+ });
62
+ const unavailableValue = {
63
+ text: "",
64
+ format: "text",
65
+ state: "unavailable",
66
+ truncated: false
67
+ };
68
+ const validationCapture = (enabled = true) => {
69
+ let remaining = VALIDATION_BUDGET;
70
+ return (value, format = "json") => {
71
+ if (!enabled) return {
72
+ ...unavailableValue,
73
+ state: "disabled",
74
+ format
75
+ };
76
+ try {
77
+ const raw = format === "text" ? String(value) : JSON.stringify(value);
78
+ if (raw === void 0) return {
79
+ ...unavailableValue,
80
+ format
81
+ };
82
+ const text = raw.slice(0, Math.min(remaining, VALIDATION_TEXT_LIMIT));
83
+ remaining -= text.length;
84
+ return {
85
+ text,
86
+ format,
87
+ state: "captured",
88
+ truncated: text.length < raw.length
89
+ };
90
+ } catch {
91
+ return {
92
+ ...unavailableValue,
93
+ format
94
+ };
95
+ }
96
+ };
97
+ };
98
+ const validationExecution = (identity, startedAt) => ({
99
+ ...identity,
100
+ startedAt,
101
+ status: startedAt === null ? "skipped" : "running",
102
+ durationMs: null,
103
+ exitCode: null,
104
+ message: "",
105
+ truncated: false,
106
+ input: unavailableValue,
107
+ output: unavailableValue,
108
+ error: null,
109
+ calls: [],
110
+ logs: []
111
+ });
112
+ //#endregion
113
+ Object.defineProperty(exports, "EvalValidations", {
114
+ enumerable: true,
115
+ get: function() {
116
+ return EvalValidations;
117
+ }
118
+ });
119
+ Object.defineProperty(exports, "VALIDATION_FRAME", {
120
+ enumerable: true,
121
+ get: function() {
122
+ return VALIDATION_FRAME;
123
+ }
124
+ });
125
+ Object.defineProperty(exports, "unavailableValue", {
126
+ enumerable: true,
127
+ get: function() {
128
+ return unavailableValue;
129
+ }
130
+ });
131
+ Object.defineProperty(exports, "validationCapture", {
132
+ enumerable: true,
133
+ get: function() {
134
+ return validationCapture;
135
+ }
136
+ });
137
+ Object.defineProperty(exports, "validationExecution", {
138
+ enumerable: true,
139
+ get: function() {
140
+ return validationExecution;
141
+ }
142
+ });
143
+ Object.defineProperty(exports, "validationSnapshot", {
144
+ enumerable: true,
145
+ get: function() {
146
+ return validationSnapshot;
147
+ }
148
+ });
package/dist/eval.cjs CHANGED
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_compiler = require("./compiler-Ap8DM-JU.cjs");
2
+ const require_compiler = require("./compiler-uwb1pkdK.cjs");
3
3
  exports.compileEval = require_compiler.compileEval;
4
4
  exports.compileEvalEffect = require_compiler.compileEvalEffect;
package/dist/eval.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { h as PublicStartEvalRequest, t as CaseCache } from "./types-H9L450Iu.cjs";
1
+ import { h as PublicStartEvalRequest, t as CaseCache } from "./types-ISsteq95.cjs";
2
2
  import { Effect } from "effect";
3
3
  //#region src/evals/profile-errors.d.ts
4
4
  declare const ProfileDirectoryUnreadable_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
@@ -82,9 +82,63 @@ declare class ProfileStepNotSupported extends ProfileStepNotSupported_base<{
82
82
  //#region src/evals/compiler.d.ts
83
83
  declare const compileEvalEffect: (path: string) => Effect.Effect<{
84
84
  cases: {
85
- validator: {
86
- name: string;
87
- source: string;
85
+ validator: ({
86
+ readonly name: string;
87
+ readonly source: string;
88
+ readonly capture?: boolean | undefined;
89
+ readonly manifest?: readonly {
90
+ readonly name: string;
91
+ readonly index: number;
92
+ }[] | undefined;
93
+ } & {
94
+ readonly sourceFiles?: readonly {
95
+ readonly path: string;
96
+ readonly content: string;
97
+ }[] | undefined;
98
+ }) | {
99
+ readonly name: string;
100
+ readonly kind: "judged";
101
+ readonly capture?: boolean | undefined;
102
+ readonly sourceFiles?: readonly {
103
+ readonly path: string;
104
+ readonly content: string;
105
+ }[] | undefined;
106
+ readonly checks: readonly {
107
+ readonly name: string;
108
+ readonly source: string;
109
+ readonly capture?: boolean | undefined;
110
+ readonly manifest?: readonly {
111
+ readonly name: string;
112
+ readonly index: number;
113
+ }[] | undefined;
114
+ }[];
115
+ readonly judges: readonly ({
116
+ readonly name: string;
117
+ readonly kind: "judge";
118
+ readonly harness?: undefined;
119
+ readonly model: string;
120
+ readonly provider: "openai";
121
+ readonly rubric: string;
122
+ readonly expected?: string | undefined;
123
+ readonly choices: {
124
+ readonly [x: string]: number;
125
+ };
126
+ readonly threshold: number;
127
+ readonly timeoutMs: number;
128
+ } | {
129
+ readonly name: string;
130
+ readonly kind: "judge";
131
+ readonly harness: "cursor" | "codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen";
132
+ readonly model: string;
133
+ readonly provider?: undefined;
134
+ readonly rubric: string;
135
+ readonly expected?: string | undefined;
136
+ readonly choices: {
137
+ readonly [x: string]: number;
138
+ };
139
+ readonly threshold: number;
140
+ readonly timeoutMs: number;
141
+ })[];
88
142
  } | null;
89
143
  variables: Readonly<Record<string, string>>;
90
144
  verify: string | null;
@@ -112,10 +166,10 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
112
166
  readonly run?: string | undefined;
113
167
  readonly systemPrompt?: string | undefined;
114
168
  } | undefined;
115
- readonly provider: "daytona" | "e2b" | "upstash" | "modal" | "cloudflare" | "vercel";
169
+ readonly sandbox?: "daytona" | "e2b" | "upstash" | "modal" | "cloudflare" | "vercel" | undefined;
116
170
  }[];
117
171
  trials: number;
118
- }, Error | ProfileTooManyFiles | ProfileDirectoryUnreadable | ProfileTooLarge | ProfileFileTooLarge | ProfilePathInvalid | ProfileManifestInvalid | ProfileManifestOutside | CommandProfileNeedsRun | ProfileStepNotSupported, never>;
172
+ }, Error | import("effect/ConfigError").ConfigError | import("effect/ParseResult").ParseError | ProfileTooManyFiles | ProfileDirectoryUnreadable | ProfileTooLarge | ProfileFileTooLarge | ProfilePathInvalid | ProfileManifestInvalid | ProfileManifestOutside | CommandProfileNeedsRun | ProfileStepNotSupported, never>;
119
173
  declare const compileEval: (path: string) => Promise<PublicStartEvalRequest>;
120
174
  //#endregion
121
175
  export { compileEval, compileEvalEffect };
package/dist/eval.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { h as PublicStartEvalRequest, t as CaseCache } from "./types-oaMF6-E1.mjs";
1
+ import { h as PublicStartEvalRequest, t as CaseCache } from "./types-Codjaq-o.mjs";
2
2
  import { Effect } from "effect";
3
3
  //#region src/evals/profile-errors.d.ts
4
4
  declare const ProfileDirectoryUnreadable_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
@@ -82,9 +82,63 @@ declare class ProfileStepNotSupported extends ProfileStepNotSupported_base<{
82
82
  //#region src/evals/compiler.d.ts
83
83
  declare const compileEvalEffect: (path: string) => Effect.Effect<{
84
84
  cases: {
85
- validator: {
86
- name: string;
87
- source: string;
85
+ validator: ({
86
+ readonly name: string;
87
+ readonly source: string;
88
+ readonly capture?: boolean | undefined;
89
+ readonly manifest?: readonly {
90
+ readonly name: string;
91
+ readonly index: number;
92
+ }[] | undefined;
93
+ } & {
94
+ readonly sourceFiles?: readonly {
95
+ readonly path: string;
96
+ readonly content: string;
97
+ }[] | undefined;
98
+ }) | {
99
+ readonly name: string;
100
+ readonly kind: "judged";
101
+ readonly capture?: boolean | undefined;
102
+ readonly sourceFiles?: readonly {
103
+ readonly path: string;
104
+ readonly content: string;
105
+ }[] | undefined;
106
+ readonly checks: readonly {
107
+ readonly name: string;
108
+ readonly source: string;
109
+ readonly capture?: boolean | undefined;
110
+ readonly manifest?: readonly {
111
+ readonly name: string;
112
+ readonly index: number;
113
+ }[] | undefined;
114
+ }[];
115
+ readonly judges: readonly ({
116
+ readonly name: string;
117
+ readonly kind: "judge";
118
+ readonly harness?: undefined;
119
+ readonly model: string;
120
+ readonly provider: "openai";
121
+ readonly rubric: string;
122
+ readonly expected?: string | undefined;
123
+ readonly choices: {
124
+ readonly [x: string]: number;
125
+ };
126
+ readonly threshold: number;
127
+ readonly timeoutMs: number;
128
+ } | {
129
+ readonly name: string;
130
+ readonly kind: "judge";
131
+ readonly harness: "cursor" | "codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen";
132
+ readonly model: string;
133
+ readonly provider?: undefined;
134
+ readonly rubric: string;
135
+ readonly expected?: string | undefined;
136
+ readonly choices: {
137
+ readonly [x: string]: number;
138
+ };
139
+ readonly threshold: number;
140
+ readonly timeoutMs: number;
141
+ })[];
88
142
  } | null;
89
143
  variables: Readonly<Record<string, string>>;
90
144
  verify: string | null;
@@ -112,10 +166,10 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
112
166
  readonly run?: string | undefined;
113
167
  readonly systemPrompt?: string | undefined;
114
168
  } | undefined;
115
- readonly provider: "daytona" | "e2b" | "upstash" | "modal" | "cloudflare" | "vercel";
169
+ readonly sandbox?: "daytona" | "e2b" | "upstash" | "modal" | "cloudflare" | "vercel" | undefined;
116
170
  }[];
117
171
  trials: number;
118
- }, Error | ProfileTooManyFiles | ProfileDirectoryUnreadable | ProfileTooLarge | ProfileFileTooLarge | ProfilePathInvalid | ProfileManifestInvalid | ProfileManifestOutside | CommandProfileNeedsRun | ProfileStepNotSupported, never>;
172
+ }, Error | import("effect/ConfigError").ConfigError | import("effect/ParseResult").ParseError | ProfileTooManyFiles | ProfileDirectoryUnreadable | ProfileTooLarge | ProfileFileTooLarge | ProfilePathInvalid | ProfileManifestInvalid | ProfileManifestOutside | CommandProfileNeedsRun | ProfileStepNotSupported, never>;
119
173
  declare const compileEval: (path: string) => Promise<PublicStartEvalRequest>;
120
174
  //#endregion
121
175
  export { compileEval, compileEvalEffect };
package/dist/eval.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as compileEvalEffect, t as compileEval } from "./compiler-DXlpU_In.mjs";
1
+ import { n as compileEvalEffect, t as compileEval } from "./compiler-D96wI7UP.mjs";
2
2
  export { compileEval, compileEvalEffect };