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.
Files changed (53) hide show
  1. package/dist/api-context.cjs +1 -1
  2. package/dist/api-context.mjs +1 -1
  3. package/dist/{api-mocks-CuVw86Qw.cjs → api-mocks-BjnewAya.cjs} +1 -1
  4. package/dist/{api-mocks-wNUnpzJf.mjs → api-mocks-C3SsliJZ.mjs} +1 -1
  5. package/dist/api-runtime.cjs +1 -1
  6. package/dist/api-runtime.mjs +1 -1
  7. package/dist/api.cjs +1 -1
  8. package/dist/api.mjs +1 -1
  9. package/dist/bin.cjs +4 -4
  10. package/dist/bin.mjs +4 -4
  11. package/dist/{client-DDYWBAma.d.mts → client-BucAp4c0.d.mts} +240 -48
  12. package/dist/{client-DziJjMFh.cjs → client-COfGoWvI.cjs} +1 -1
  13. package/dist/{client-dRUs93gl.d.cts → client-OTrC6QXZ.d.cts} +240 -48
  14. package/dist/{client-DE3YNtWc.mjs → client-sWrfA0jZ.mjs} +1 -1
  15. package/dist/{compiler-XtLHSR2J.cjs → compiler-CPpRRAdH.cjs} +3 -2
  16. package/dist/{compiler-WpuZwsp9.mjs → compiler-q6rnLW2F.mjs} +3 -2
  17. package/dist/config.cjs +1 -1
  18. package/dist/config.d.cts +1 -1
  19. package/dist/config.d.mts +1 -1
  20. package/dist/config.mjs +1 -1
  21. package/dist/eval-turns-Bv8wRQ-b.cjs +39 -0
  22. package/dist/{eval-judges--be3T7fJ.d.cts → eval-turns-CTCoSuB6.d.cts} +30 -1
  23. package/dist/{eval-judges--be3T7fJ.d.mts → eval-turns-CTCoSuB6.d.mts} +30 -1
  24. package/dist/eval-turns-hf6tbL-E.mjs +22 -0
  25. package/dist/{eval-validations-BvX9dkYh.mjs → eval-validations-CUG2PvR_.mjs} +1 -1
  26. package/dist/{eval-validations-BdlPhudg.cjs → eval-validations-D0Cz6xSg.cjs} +1 -1
  27. package/dist/eval.cjs +1 -1
  28. package/dist/eval.d.cts +1 -1
  29. package/dist/eval.d.mts +1 -1
  30. package/dist/eval.mjs +1 -1
  31. package/dist/{evals-B2UuSop0.d.cts → evals-CSipRo7i.d.cts} +36 -39
  32. package/dist/{evals-B2UuSop0.d.mts → evals-CSipRo7i.d.mts} +36 -39
  33. package/dist/{evals-api-CqhPZCr5.cjs → evals-api-DZSr9rtP.cjs} +36 -16
  34. package/dist/{evals-api-CsdU741J.mjs → evals-api-u98TxdqN.mjs} +36 -16
  35. package/dist/index.cjs +2 -2
  36. package/dist/index.d.cts +38 -6
  37. package/dist/index.d.mts +38 -6
  38. package/dist/index.mjs +2 -2
  39. package/dist/{runtime-CXcsGvwP.cjs → runtime-B5it0Siy.cjs} +2 -2
  40. package/dist/{runtime-DDUrsAI-.mjs → runtime-ChWJywJY.mjs} +2 -2
  41. package/dist/source.d.cts +1 -1
  42. package/dist/source.d.mts +1 -1
  43. package/dist/{types-2vK8mBga.d.cts → types-DCUo5on_.d.cts} +22 -4
  44. package/dist/{types-C6yDL7ZQ.d.mts → types-LW0tX4MF.d.mts} +22 -4
  45. package/dist/validator-runtime.cjs +9 -1
  46. package/dist/validator-runtime.d.cts +1 -1
  47. package/dist/validator-runtime.d.mts +1 -1
  48. package/dist/validator-runtime.mjs +9 -1
  49. package/dist/validators.cjs +50 -0
  50. package/dist/validators.d.cts +41 -2
  51. package/dist/validators.d.mts +41 -2
  52. package/dist/validators.mjs +48 -1
  53. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_api_mocks = require("./api-mocks-CuVw86Qw.cjs");
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
@@ -1,4 +1,4 @@
1
- import { a as ApiCall, n as API_MANIFEST, o as ApiManifest, t as API_JOURNAL } from "./api-mocks-wNUnpzJf.mjs";
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-BdlPhudg.cjs");
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-BvX9dkYh.mjs";
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";
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_runtime = require("./runtime-CXcsGvwP.cjs");
2
+ const require_runtime = require("./runtime-B5it0Siy.cjs");
3
3
  exports.runApiServers = require_runtime.runApiServers;
4
4
  exports.withApi = require_runtime.withApi;
@@ -1,2 +1,2 @@
1
- import { n as withApi, t as runApiServers } from "./runtime-DDUrsAI-.mjs";
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-CXcsGvwP.cjs");
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-DDUrsAI-.mjs";
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-DziJjMFh.cjs");
3
- const require_evals_api = require("./evals-api-CqhPZCr5.cjs");
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-XtLHSR2J.cjs");
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.18";
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-DE3YNtWc.mjs";
3
- import { f as EvalTrigger, i as EvalRun } from "./evals-api-CsdU741J.mjs";
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-WpuZwsp9.mjs";
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.18";
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