anpord 0.1.20 → 0.1.21

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 (57) hide show
  1. package/dist/api-context.cjs +1 -1
  2. package/dist/api-context.d.cts +1 -1
  3. package/dist/api-context.d.mts +1 -1
  4. package/dist/api-context.mjs +1 -1
  5. package/dist/{api-mocks-C3SsliJZ.mjs → api-mocks-BYWvJp9v.mjs} +3 -3
  6. package/dist/{api-mocks-xXKzUFc9.d.cts → api-mocks-BenVx0e8.d.cts} +11 -11
  7. package/dist/{api-mocks-xXKzUFc9.d.mts → api-mocks-BenVx0e8.d.mts} +11 -11
  8. package/dist/{api-mocks-BjnewAya.cjs → api-mocks-CgiC7T9U.cjs} +8 -2
  9. package/dist/api-runtime.cjs +1 -1
  10. package/dist/api-runtime.d.cts +1 -1
  11. package/dist/api-runtime.d.mts +1 -1
  12. package/dist/api-runtime.mjs +1 -1
  13. package/dist/api.cjs +1 -1
  14. package/dist/api.d.cts +1 -1
  15. package/dist/api.d.mts +1 -1
  16. package/dist/api.mjs +1 -1
  17. package/dist/bin.cjs +4005 -50
  18. package/dist/bin.mjs +4008 -53
  19. package/dist/{client-D4SBJEsG.cjs → client-BZDftC1x.cjs} +1 -1
  20. package/dist/{client-ClWUDcPC.d.mts → client-C7iEhiDm.d.mts} +5352 -2328
  21. package/dist/{client-BD2VyKja.d.cts → client-CsGxLUZq.d.cts} +5352 -2328
  22. package/dist/{client-DCSRP55Q.mjs → client-D0l3kwWV.mjs} +1 -1
  23. package/dist/{compiler-DSN62KNe.cjs → compiler-Cy85vNbp.cjs} +2 -2
  24. package/dist/{compiler-BKchnKps.mjs → compiler-DSQRHvXS.mjs} +2 -2
  25. package/dist/config.cjs +1 -1
  26. package/dist/config.d.cts +1 -1
  27. package/dist/config.d.mts +1 -1
  28. package/dist/config.mjs +1 -1
  29. package/dist/{eval-turns-DZTHit19.mjs → eval-turns-BC-GMHD-.mjs} +2 -1
  30. package/dist/{eval-turns-weR_7JIp.cjs → eval-turns-DcJ8_1qr.cjs} +7 -0
  31. package/dist/{eval-validations-D0Cz6xSg.cjs → eval-validations-CZm7vVtQ.cjs} +12 -0
  32. package/dist/{eval-validations-CUG2PvR_.mjs → eval-validations-DNO-qwkU.mjs} +1 -1
  33. package/dist/eval.cjs +1 -1
  34. package/dist/eval.d.cts +1 -1
  35. package/dist/eval.d.mts +1 -1
  36. package/dist/eval.mjs +1 -1
  37. package/dist/{evals-WMHOpPxd.d.cts → evals-Dw2Ek-mx.d.cts} +115 -112
  38. package/dist/{evals-WMHOpPxd.d.mts → evals-Dw2Ek-mx.d.mts} +115 -112
  39. package/dist/{evals-api-B0lnr_R8.mjs → evals-api-CK3F1KoI.mjs} +113 -14
  40. package/dist/{evals-api-DuDr8UdV.cjs → evals-api-CNoLlXL5.cjs} +124 -13
  41. package/dist/index.cjs +2 -2
  42. package/dist/index.d.cts +3 -3
  43. package/dist/index.d.mts +3 -3
  44. package/dist/index.mjs +2 -2
  45. package/dist/{runtime-B5it0Siy.cjs → runtime-Bfs2j0jW.cjs} +2 -2
  46. package/dist/{runtime-ChWJywJY.mjs → runtime-CYr8RbsW.mjs} +2 -2
  47. package/dist/source.d.cts +1 -1
  48. package/dist/source.d.mts +1 -1
  49. package/dist/{types-Cw5k37Uk.d.mts → types-D-h67MVJ.d.mts} +5 -4
  50. package/dist/{types-CUVZ1A_F.d.cts → types-Dvd_z5ge.d.cts} +5 -4
  51. package/dist/validator-runtime.cjs +2 -2
  52. package/dist/validator-runtime.d.cts +1 -1
  53. package/dist/validator-runtime.d.mts +1 -1
  54. package/dist/validator-runtime.mjs +2 -2
  55. package/dist/validators.cjs +1 -1
  56. package/dist/validators.mjs +1 -1
  57. package/package.json +3 -1
@@ -1,4 +1,4 @@
1
- import { f as Validator } from "./types-CUVZ1A_F.cjs";
1
+ import { f as Validator } from "./types-Dvd_z5ge.cjs";
2
2
  //#region src/evals/validator-runtime.d.ts
3
3
  declare const runValidators: (checks: readonly {
4
4
  index: number;
@@ -1,4 +1,4 @@
1
- import { f as Validator } from "./types-Cw5k37Uk.mjs";
1
+ import { f as Validator } from "./types-D-h67MVJ.mjs";
2
2
  //#region src/evals/validator-runtime.d.ts
3
3
  declare const runValidators: (checks: readonly {
4
4
  index: number;
@@ -1,8 +1,8 @@
1
- import { a as validationCapture, i as unavailableValue, n as VALIDATION_FRAME, o as validationExecution, s as validationSnapshot } from "./eval-validations-CUG2PvR_.mjs";
1
+ import { c as validationExecution, l as validationSnapshot, o as unavailableValue, r as VALIDATION_FRAME, s as validationCapture } from "./eval-validations-DNO-qwkU.mjs";
2
2
  import { apiContext } from "./api-context.mjs";
3
3
  import { access, readFile } from "node:fs/promises";
4
- import { AsyncLocalStorage } from "node:async_hooks";
5
4
  import { spawn } from "node:child_process";
5
+ import { AsyncLocalStorage } from "node:async_hooks";
6
6
  import { format } from "node:util";
7
7
  //#region src/evals/validator-decode.ts
8
8
  const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_eval_judges = require("./eval-judges-1zF4PVqV.cjs");
3
- const require_eval_turns = require("./eval-turns-weR_7JIp.cjs");
3
+ const require_eval_turns = require("./eval-turns-DcJ8_1qr.cjs");
4
4
  let effect = require("effect");
5
5
  //#region ../schema/src/domain/eval-classifiers.ts
6
6
  const text = effect.Schema.String.pipe(effect.Schema.minLength(1));
@@ -1,5 +1,5 @@
1
1
  import { t as EvalJudge } from "./eval-judges-Bee_ABJt.mjs";
2
- import { n as EvalSimulatedUser, t as EvalScriptedUser } from "./eval-turns-DZTHit19.mjs";
2
+ import { n as EvalScriptedUser, r as EvalSimulatedUser } from "./eval-turns-BC-GMHD-.mjs";
3
3
  import { Schema } from "effect";
4
4
  //#region ../schema/src/domain/eval-classifiers.ts
5
5
  const text = Schema.String.pipe(Schema.minLength(1));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anpord",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "TypeScript SDK and CLI for coding agent evals and prompt management.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -140,6 +140,7 @@
140
140
  "prepublishOnly": "bun run build"
141
141
  },
142
142
  "devDependencies": {
143
+ "@anpord/eval": "workspace:*",
143
144
  "@anpord/schema": "workspace:*",
144
145
  "@anpord/template": "workspace:*",
145
146
  "@modelcontextprotocol/client": "catalog:",
@@ -154,6 +155,7 @@
154
155
  "@effect/platform-node": "^0.107.0",
155
156
  "@modelcontextprotocol/server": "^2.0.0",
156
157
  "@standard-schema/spec": "^1.1.0",
158
+ "@trigger.dev/sdk": "4.5.15",
157
159
  "effect": "^3.21.2",
158
160
  "esbuild": "^0.25.12",
159
161
  "smol-toml": "^1.8.0",