anpord 0.1.13 → 0.1.16
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/api-context.cjs +18 -0
- package/dist/api-context.d.cts +8 -0
- package/dist/api-context.d.mts +8 -0
- package/dist/api-context.mjs +17 -0
- package/dist/api-mocks-B3qngoqS.cjs +68 -0
- package/dist/api-mocks-BfKw_hXc.mjs +33 -0
- package/dist/api-mocks-Bz3G00ve.d.cts +101 -0
- package/dist/api-mocks-Bz3G00ve.d.mts +101 -0
- package/dist/api-runtime.cjs +4 -0
- package/dist/api-runtime.d.cts +13 -0
- package/dist/api-runtime.d.mts +13 -0
- package/dist/api-runtime.mjs +2 -0
- package/dist/api.cjs +5 -0
- package/dist/api.d.cts +4 -0
- package/dist/api.d.mts +4 -0
- package/dist/api.mjs +2 -0
- package/dist/bin.cjs +8 -8
- package/dist/bin.mjs +6 -6
- package/dist/cli-runtime.cjs +1 -1
- package/dist/cli-runtime.mjs +1 -1
- package/dist/{client-BgRs8JvW.d.mts → client-C8tBcLYs.d.mts} +17 -17
- package/dist/{client-BirFO3jz.d.cts → client-CMkx-LKC.d.cts} +16 -16
- package/dist/{client-C-P2I00z.cjs → client-CfYNoI3L.cjs} +4 -91
- package/dist/{client-BfdjFtlV.mjs → client-YWKJd3f-.mjs} +3 -90
- package/dist/{compiler-uwb1pkdK.cjs → compiler-4FKsNxZ-.cjs} +89 -33
- package/dist/{compiler-D96wI7UP.mjs → compiler-Dsltkkj5.mjs} +77 -21
- 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/define-NZvmQuIv.d.cts +34 -0
- package/dist/define-NZvmQuIv.d.mts +34 -0
- package/dist/{eval-judges-DPPUftbh.d.cts → eval-judges-JiC8cUCE.d.cts} +1 -1
- package/dist/{eval-judges-DPPUftbh.d.mts → eval-judges-JiC8cUCE.d.mts} +1 -1
- package/dist/{eval-validations-BRdoZrTQ.mjs → eval-validations-Bmagd2y7.mjs} +2 -2
- package/dist/{eval-validations-_MlnQ_uv.cjs → eval-validations-CqMUt5ra.cjs} +7 -1
- package/dist/eval.cjs +1 -1
- package/dist/eval.d.cts +42 -21
- package/dist/eval.d.mts +42 -21
- package/dist/eval.mjs +1 -1
- package/dist/{evals-B6aT3xgH.d.cts → evals-B2UuSop0.d.cts} +136 -136
- package/dist/{evals-B6aT3xgH.d.mts → evals-B2UuSop0.d.mts} +136 -136
- package/dist/{types-Codjaq-o.d.mts → evals-api-CfAA3cew.d.mts} +12 -112
- package/dist/{types-ISsteq95.d.cts → evals-api-Clbj_nEN.d.cts} +11 -111
- package/dist/{evals-Dcc_x6jW.mjs → evals-api-DDv4gXU1.mjs} +95 -4
- package/dist/{evals-DouMsrsM.cjs → evals-api-kOuyIqvB.cjs} +103 -72
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +2 -2
- package/dist/mcp-runtime.cjs +1 -1
- package/dist/mcp-runtime.mjs +1 -1
- package/dist/runtime-C0_JPkef.mjs +269 -0
- package/dist/runtime-YVJP5P2r.cjs +292 -0
- package/dist/source.d.cts +1 -1
- package/dist/source.d.mts +1 -1
- package/dist/types-BHokRQpg.d.mts +112 -0
- package/dist/types-UKEi5CCa.d.cts +112 -0
- package/dist/validator-runtime.cjs +6 -1
- package/dist/validator-runtime.d.cts +1 -1
- package/dist/validator-runtime.d.mts +1 -1
- package/dist/validator-runtime.mjs +6 -1
- package/dist/validators.d.cts +1 -1
- package/dist/validators.d.mts +1 -1
- package/package.json +21 -1
package/dist/eval.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as PublicStartEvalRequest } from "./evals-api-Clbj_nEN.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 & {
|
|
@@ -81,8 +81,34 @@ declare class ProfileStepNotSupported extends ProfileStepNotSupported_base<{
|
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/evals/compiler.d.ts
|
|
83
83
|
declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
readonly trigger?: {
|
|
85
|
+
readonly source: "dashboard" | "api" | "cli" | "ci" | "mcp";
|
|
86
|
+
readonly url?: string | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
readonly name?: string | undefined;
|
|
89
|
+
readonly cases: readonly {
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly source?: {
|
|
92
|
+
readonly kind: "empty";
|
|
93
|
+
} | {
|
|
94
|
+
readonly url: string;
|
|
95
|
+
readonly kind: "repo";
|
|
96
|
+
readonly ref: string | null;
|
|
97
|
+
} | {
|
|
98
|
+
readonly kind: "files";
|
|
99
|
+
readonly files: {
|
|
100
|
+
readonly [x: string]: string;
|
|
101
|
+
};
|
|
102
|
+
} | undefined;
|
|
103
|
+
readonly cache?: {
|
|
104
|
+
readonly key: string;
|
|
105
|
+
readonly path: string;
|
|
106
|
+
} | undefined;
|
|
107
|
+
readonly prepare?: {
|
|
108
|
+
readonly name: string;
|
|
109
|
+
readonly source: string;
|
|
110
|
+
} | null | undefined;
|
|
111
|
+
readonly validator?: ({
|
|
86
112
|
readonly name: string;
|
|
87
113
|
readonly source: string;
|
|
88
114
|
readonly capture?: boolean | undefined;
|
|
@@ -113,10 +139,10 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
113
139
|
}[] | undefined;
|
|
114
140
|
}[];
|
|
115
141
|
readonly judges: readonly ({
|
|
116
|
-
readonly name: string;
|
|
117
|
-
readonly kind: "judge";
|
|
118
142
|
readonly harness?: undefined;
|
|
119
143
|
readonly model: string;
|
|
144
|
+
readonly name: string;
|
|
145
|
+
readonly kind: "judge";
|
|
120
146
|
readonly provider: "openai";
|
|
121
147
|
readonly rubric: string;
|
|
122
148
|
readonly expected?: string | undefined;
|
|
@@ -126,10 +152,10 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
126
152
|
readonly threshold: number;
|
|
127
153
|
readonly timeoutMs: number;
|
|
128
154
|
} | {
|
|
129
|
-
readonly name: string;
|
|
130
|
-
readonly kind: "judge";
|
|
131
155
|
readonly harness: "cursor" | "codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen";
|
|
132
156
|
readonly model: string;
|
|
157
|
+
readonly name: string;
|
|
158
|
+
readonly kind: "judge";
|
|
133
159
|
readonly provider?: undefined;
|
|
134
160
|
readonly rubric: string;
|
|
135
161
|
readonly expected?: string | undefined;
|
|
@@ -139,19 +165,14 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
139
165
|
readonly threshold: number;
|
|
140
166
|
readonly timeoutMs: number;
|
|
141
167
|
})[];
|
|
142
|
-
} | null;
|
|
143
|
-
variables
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
name: string;
|
|
148
|
-
source: string;
|
|
149
|
-
} | null;
|
|
150
|
-
cache?: CaseCache | undefined;
|
|
168
|
+
} | null | undefined;
|
|
169
|
+
readonly variables?: {
|
|
170
|
+
readonly [x: string]: string;
|
|
171
|
+
} | undefined;
|
|
172
|
+
readonly verify: string | null;
|
|
151
173
|
}[];
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
tasks: {
|
|
174
|
+
readonly prompt: string;
|
|
175
|
+
readonly tasks: readonly {
|
|
155
176
|
readonly harness: "cursor" | "codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen" | "command";
|
|
156
177
|
readonly model: string;
|
|
157
178
|
readonly profile?: {
|
|
@@ -168,8 +189,8 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
168
189
|
} | undefined;
|
|
169
190
|
readonly sandbox?: "daytona" | "e2b" | "upstash" | "modal" | "cloudflare" | "vercel" | undefined;
|
|
170
191
|
}[];
|
|
171
|
-
trials: number;
|
|
172
|
-
},
|
|
192
|
+
readonly trials: number;
|
|
193
|
+
}, import("effect/ConfigError").ConfigError | Error | import("effect/ParseResult").ParseError | ProfileTooManyFiles | ProfileDirectoryUnreadable | ProfileTooLarge | ProfileFileTooLarge | ProfilePathInvalid | ProfileManifestInvalid | ProfileManifestOutside | CommandProfileNeedsRun | ProfileStepNotSupported, never>;
|
|
173
194
|
declare const compileEval: (path: string) => Promise<PublicStartEvalRequest>;
|
|
174
195
|
//#endregion
|
|
175
196
|
export { compileEval, compileEvalEffect };
|
package/dist/eval.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as PublicStartEvalRequest } from "./evals-api-CfAA3cew.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 & {
|
|
@@ -81,8 +81,34 @@ declare class ProfileStepNotSupported extends ProfileStepNotSupported_base<{
|
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/evals/compiler.d.ts
|
|
83
83
|
declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
readonly trigger?: {
|
|
85
|
+
readonly source: "dashboard" | "api" | "cli" | "ci" | "mcp";
|
|
86
|
+
readonly url?: string | undefined;
|
|
87
|
+
} | undefined;
|
|
88
|
+
readonly name?: string | undefined;
|
|
89
|
+
readonly cases: readonly {
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly source?: {
|
|
92
|
+
readonly kind: "empty";
|
|
93
|
+
} | {
|
|
94
|
+
readonly url: string;
|
|
95
|
+
readonly kind: "repo";
|
|
96
|
+
readonly ref: string | null;
|
|
97
|
+
} | {
|
|
98
|
+
readonly kind: "files";
|
|
99
|
+
readonly files: {
|
|
100
|
+
readonly [x: string]: string;
|
|
101
|
+
};
|
|
102
|
+
} | undefined;
|
|
103
|
+
readonly cache?: {
|
|
104
|
+
readonly key: string;
|
|
105
|
+
readonly path: string;
|
|
106
|
+
} | undefined;
|
|
107
|
+
readonly prepare?: {
|
|
108
|
+
readonly name: string;
|
|
109
|
+
readonly source: string;
|
|
110
|
+
} | null | undefined;
|
|
111
|
+
readonly validator?: ({
|
|
86
112
|
readonly name: string;
|
|
87
113
|
readonly source: string;
|
|
88
114
|
readonly capture?: boolean | undefined;
|
|
@@ -113,10 +139,10 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
113
139
|
}[] | undefined;
|
|
114
140
|
}[];
|
|
115
141
|
readonly judges: readonly ({
|
|
116
|
-
readonly name: string;
|
|
117
|
-
readonly kind: "judge";
|
|
118
142
|
readonly harness?: undefined;
|
|
119
143
|
readonly model: string;
|
|
144
|
+
readonly name: string;
|
|
145
|
+
readonly kind: "judge";
|
|
120
146
|
readonly provider: "openai";
|
|
121
147
|
readonly rubric: string;
|
|
122
148
|
readonly expected?: string | undefined;
|
|
@@ -126,10 +152,10 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
126
152
|
readonly threshold: number;
|
|
127
153
|
readonly timeoutMs: number;
|
|
128
154
|
} | {
|
|
129
|
-
readonly name: string;
|
|
130
|
-
readonly kind: "judge";
|
|
131
155
|
readonly harness: "cursor" | "codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen";
|
|
132
156
|
readonly model: string;
|
|
157
|
+
readonly name: string;
|
|
158
|
+
readonly kind: "judge";
|
|
133
159
|
readonly provider?: undefined;
|
|
134
160
|
readonly rubric: string;
|
|
135
161
|
readonly expected?: string | undefined;
|
|
@@ -139,19 +165,14 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
139
165
|
readonly threshold: number;
|
|
140
166
|
readonly timeoutMs: number;
|
|
141
167
|
})[];
|
|
142
|
-
} | null;
|
|
143
|
-
variables
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
name: string;
|
|
148
|
-
source: string;
|
|
149
|
-
} | null;
|
|
150
|
-
cache?: CaseCache | undefined;
|
|
168
|
+
} | null | undefined;
|
|
169
|
+
readonly variables?: {
|
|
170
|
+
readonly [x: string]: string;
|
|
171
|
+
} | undefined;
|
|
172
|
+
readonly verify: string | null;
|
|
151
173
|
}[];
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
tasks: {
|
|
174
|
+
readonly prompt: string;
|
|
175
|
+
readonly tasks: readonly {
|
|
155
176
|
readonly harness: "cursor" | "codex" | "opencode" | "pi" | "fx" | "claude" | "gemini" | "qwen" | "command";
|
|
156
177
|
readonly model: string;
|
|
157
178
|
readonly profile?: {
|
|
@@ -168,8 +189,8 @@ declare const compileEvalEffect: (path: string) => Effect.Effect<{
|
|
|
168
189
|
} | undefined;
|
|
169
190
|
readonly sandbox?: "daytona" | "e2b" | "upstash" | "modal" | "cloudflare" | "vercel" | undefined;
|
|
170
191
|
}[];
|
|
171
|
-
trials: number;
|
|
172
|
-
},
|
|
192
|
+
readonly trials: number;
|
|
193
|
+
}, import("effect/ConfigError").ConfigError | Error | import("effect/ParseResult").ParseError | ProfileTooManyFiles | ProfileDirectoryUnreadable | ProfileTooLarge | ProfileFileTooLarge | ProfilePathInvalid | ProfileManifestInvalid | ProfileManifestOutside | CommandProfileNeedsRun | ProfileStepNotSupported, never>;
|
|
173
194
|
declare const compileEval: (path: string) => Promise<PublicStartEvalRequest>;
|
|
174
195
|
//#endregion
|
|
175
196
|
export { compileEval, compileEvalEffect };
|
package/dist/eval.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as compileEvalEffect, t as compileEval } from "./compiler-
|
|
1
|
+
import { n as compileEvalEffect, t as compileEval } from "./compiler-Dsltkkj5.mjs";
|
|
2
2
|
export { compileEval, compileEvalEffect };
|