anpord 0.1.18 → 0.1.19
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 +1 -1
- package/dist/api-context.mjs +1 -1
- package/dist/{api-mocks-CuVw86Qw.cjs → api-mocks-BjnewAya.cjs} +1 -1
- package/dist/{api-mocks-wNUnpzJf.mjs → api-mocks-C3SsliJZ.mjs} +1 -1
- package/dist/api-runtime.cjs +1 -1
- package/dist/api-runtime.mjs +1 -1
- package/dist/api.cjs +1 -1
- package/dist/api.mjs +1 -1
- package/dist/bin.cjs +4 -4
- package/dist/bin.mjs +4 -4
- package/dist/{client-DDYWBAma.d.mts → client-BucAp4c0.d.mts} +240 -48
- package/dist/{client-DziJjMFh.cjs → client-COfGoWvI.cjs} +1 -1
- package/dist/{client-dRUs93gl.d.cts → client-OTrC6QXZ.d.cts} +240 -48
- package/dist/{client-DE3YNtWc.mjs → client-sWrfA0jZ.mjs} +1 -1
- package/dist/{compiler-XtLHSR2J.cjs → compiler-CPpRRAdH.cjs} +3 -2
- package/dist/{compiler-WpuZwsp9.mjs → compiler-q6rnLW2F.mjs} +3 -2
- 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-turns-Bv8wRQ-b.cjs +39 -0
- package/dist/{eval-judges--be3T7fJ.d.cts → eval-turns-CTCoSuB6.d.cts} +30 -1
- package/dist/{eval-judges--be3T7fJ.d.mts → eval-turns-CTCoSuB6.d.mts} +30 -1
- package/dist/eval-turns-hf6tbL-E.mjs +22 -0
- package/dist/{eval-validations-BvX9dkYh.mjs → eval-validations-CUG2PvR_.mjs} +1 -1
- package/dist/{eval-validations-BdlPhudg.cjs → eval-validations-D0Cz6xSg.cjs} +1 -1
- package/dist/eval.cjs +1 -1
- package/dist/eval.d.cts +1 -1
- package/dist/eval.d.mts +1 -1
- package/dist/eval.mjs +1 -1
- package/dist/{evals-B2UuSop0.d.cts → evals-CSipRo7i.d.cts} +36 -39
- package/dist/{evals-B2UuSop0.d.mts → evals-CSipRo7i.d.mts} +36 -39
- package/dist/{evals-api-CqhPZCr5.cjs → evals-api-DZSr9rtP.cjs} +36 -16
- package/dist/{evals-api-CsdU741J.mjs → evals-api-u98TxdqN.mjs} +36 -16
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +38 -6
- package/dist/index.d.mts +38 -6
- package/dist/index.mjs +2 -2
- package/dist/{runtime-CXcsGvwP.cjs → runtime-B5it0Siy.cjs} +2 -2
- package/dist/{runtime-DDUrsAI-.mjs → runtime-ChWJywJY.mjs} +2 -2
- package/dist/source.d.cts +1 -1
- package/dist/source.d.mts +1 -1
- package/dist/{types-2vK8mBga.d.cts → types-DCUo5on_.d.cts} +22 -4
- package/dist/{types-C6yDL7ZQ.d.mts → types-LW0tX4MF.d.mts} +22 -4
- package/dist/validator-runtime.cjs +9 -1
- package/dist/validator-runtime.d.cts +1 -1
- package/dist/validator-runtime.d.mts +1 -1
- package/dist/validator-runtime.mjs +9 -1
- package/dist/validators.cjs +50 -0
- package/dist/validators.d.cts +41 -2
- package/dist/validators.d.mts +41 -2
- package/dist/validators.mjs +48 -1
- package/package.json +1 -1
package/dist/api-context.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_api_mocks = require("./api-mocks-
|
|
2
|
+
const require_api_mocks = require("./api-mocks-BjnewAya.cjs");
|
|
3
3
|
let effect = require("effect");
|
|
4
4
|
let node_fs_promises = require("node:fs/promises");
|
|
5
5
|
//#region src/mock-api/context.ts
|
package/dist/api-context.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ApiCall, n as API_MANIFEST, o as ApiManifest, t as API_JOURNAL } from "./api-mocks-
|
|
1
|
+
import { a as ApiCall, n as API_MANIFEST, o as ApiManifest, t as API_JOURNAL } from "./api-mocks-C3SsliJZ.mjs";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
//#region src/mock-api/context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_eval_validations = require("./eval-validations-
|
|
1
|
+
const require_eval_validations = require("./eval-validations-D0Cz6xSg.cjs");
|
|
2
2
|
let effect = require("effect");
|
|
3
3
|
//#region ../schema/src/domain/api-mocks.ts
|
|
4
4
|
const API_PROGRAM = "workspace/.anpord/api/program.json";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ValidationValue } from "./eval-validations-
|
|
1
|
+
import { r as ValidationValue } from "./eval-validations-CUG2PvR_.mjs";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
//#region ../schema/src/domain/api-mocks.ts
|
|
4
4
|
const API_PROGRAM = "workspace/.anpord/api/program.json";
|
package/dist/api-runtime.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_runtime = require("./runtime-
|
|
2
|
+
const require_runtime = require("./runtime-B5it0Siy.cjs");
|
|
3
3
|
exports.runApiServers = require_runtime.runApiServers;
|
|
4
4
|
exports.withApi = require_runtime.withApi;
|
package/dist/api-runtime.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as withApi, t as runApiServers } from "./runtime-
|
|
1
|
+
import { n as withApi, t as runApiServers } from "./runtime-ChWJywJY.mjs";
|
|
2
2
|
export { runApiServers, withApi };
|
package/dist/api.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_runtime = require("./runtime-
|
|
2
|
+
const require_runtime = require("./runtime-B5it0Siy.cjs");
|
|
3
3
|
exports.api = require_runtime.api;
|
|
4
4
|
exports.endpoint = require_runtime.endpoint;
|
|
5
5
|
exports.withApi = require_runtime.withApi;
|
package/dist/api.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as endpoint, n as withApi, r as api } from "./runtime-
|
|
1
|
+
import { i as endpoint, n as withApi, r as api } from "./runtime-ChWJywJY.mjs";
|
|
2
2
|
export { api, endpoint, withApi };
|
package/dist/bin.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_client = require("./client-
|
|
3
|
-
const require_evals_api = require("./evals-api-
|
|
2
|
+
const require_client = require("./client-COfGoWvI.cjs");
|
|
3
|
+
const require_evals_api = require("./evals-api-DZSr9rtP.cjs");
|
|
4
4
|
const require_errors = require("./errors-BX1wry8K.cjs");
|
|
5
5
|
const require_config = require("./config.cjs");
|
|
6
|
-
const require_compiler = require("./compiler-
|
|
6
|
+
const require_compiler = require("./compiler-CPpRRAdH.cjs");
|
|
7
7
|
let effect = require("effect");
|
|
8
8
|
let _effect_platform = require("@effect/platform");
|
|
9
9
|
let _effect_cli = require("@effect/cli");
|
|
10
10
|
let _effect_platform_node = require("@effect/platform-node");
|
|
11
11
|
let yaml = require("yaml");
|
|
12
12
|
//#region package.json
|
|
13
|
-
var version$1 = "0.1.
|
|
13
|
+
var version$1 = "0.1.19";
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region ../template/src/extract.ts
|
|
16
16
|
/** Reads escapes too, so text the renderer leaves literal is never reported as
|
package/dist/bin.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as ChannelName, o as PromptId, s as VersionNumber, t as AnpordApi } from "./client-
|
|
3
|
-
import { f as EvalTrigger, i as EvalRun } from "./evals-api-
|
|
2
|
+
import { a as ChannelName, o as PromptId, s as VersionNumber, t as AnpordApi } from "./client-sWrfA0jZ.mjs";
|
|
3
|
+
import { f as EvalTrigger, i as EvalRun } from "./evals-api-u98TxdqN.mjs";
|
|
4
4
|
import { i as tokenMatcher, r as asAnpordError } from "./errors-B0YknR5V.mjs";
|
|
5
5
|
import { ClientLayer, webUrlConfig } from "./config.mjs";
|
|
6
|
-
import { r as compileEvalEffect } from "./compiler-
|
|
6
|
+
import { r as compileEvalEffect } from "./compiler-q6rnLW2F.mjs";
|
|
7
7
|
import { Cause, Clock, Config, Console, Data, Duration, Effect, Layer, Option, ParseResult, Redacted, Ref, Schema } from "effect";
|
|
8
8
|
import { FetchHttpClient, FileSystem, HttpClient, HttpClientError, HttpClientRequest } from "@effect/platform";
|
|
9
9
|
import { Args, Command, Options } from "@effect/cli";
|
|
10
10
|
import { NodeContext, NodeRuntime } from "@effect/platform-node";
|
|
11
11
|
import { parseDocument } from "yaml";
|
|
12
12
|
//#region package.json
|
|
13
|
-
var version$1 = "0.1.
|
|
13
|
+
var version$1 = "0.1.19";
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region ../template/src/extract.ts
|
|
16
16
|
/** Reads escapes too, so text the renderer leaves literal is never reported as
|