@mastra/evals 0.1.1 → 0.1.2

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.
@@ -1,29 +1,29 @@
1
1
 
2
- > @mastra/evals@0.1.1-alpha.0 build C:\Users\Ward\projects\mastra\mastra\packages\evals
2
+ > @mastra/evals@0.1.2 build /home/runner/work/mastra/mastra/packages/evals
3
3
  > pnpm check && tsup src/index.ts src/metrics/judge/index.ts src/metrics/llm/index.ts src/metrics/nlp/index.ts --format esm --experimental-dts --clean --treeshake
4
4
 
5
5
 
6
- > @mastra/evals@0.1.1-alpha.0 check C:\Users\Ward\projects\mastra\mastra\packages\evals
6
+ > @mastra/evals@0.1.2 check /home/runner/work/mastra/mastra/packages/evals
7
7
  > tsc --noEmit
8
8
 
9
9
  CLI Building entry: src/index.ts, src/metrics/judge/index.ts, src/metrics/llm/index.ts, src/metrics/nlp/index.ts
10
10
  CLI Using tsconfig: tsconfig.json
11
11
  CLI tsup v8.3.6
12
12
  TSC Build start
13
- TSC ⚡️ Build success in 5143ms
13
+ TSC ⚡️ Build success in 14507ms
14
14
  DTS Build start
15
15
  CLI Target: es2022
16
16
  Analysis will use the bundled TypeScript version 5.7.3
17
- Writing package typings: C:\Users\Ward\projects\mastra\mastra\packages\evals\dist\_tsup-dts-rollup.d.ts
18
- DTS ⚡️ Build success in 3821ms
17
+ Writing package typings: /home/runner/work/mastra/mastra/packages/evals/dist/_tsup-dts-rollup.d.ts
18
+ DTS ⚡️ Build success in 7024ms
19
19
  CLI Cleaning output folder
20
20
  ESM Build start
21
- ESM dist\index.js 2.63 KB
22
- ESM dist\metrics\judge\index.js 94.00 B
23
- ESM dist\chunk-4VNS5WPM.js 1.82 KB
24
- ESM dist\metrics\llm\index.js 85.32 KB
25
- ESM dist\magic-string.es-5UDOWOAZ.js 40.80 KB
26
- ESM dist\chunk-TXXJUIES.js 305.00 B
27
- ESM dist\metrics\nlp\index.js 6.30 KB
28
- ESM dist\dist-W3SXCXOT.js 570.71 KB
29
- ESM ⚡️ Build success in 2104ms
21
+ ESM dist/index.js 2.63 KB
22
+ ESM dist/metrics/judge/index.js 94.00 B
23
+ ESM dist/chunk-TXXJUIES.js 305.00 B
24
+ ESM dist/metrics/nlp/index.js 6.30 KB
25
+ ESM dist/magic-string.es-5UDOWOAZ.js 40.80 KB
26
+ ESM dist/metrics/llm/index.js 85.32 KB
27
+ ESM dist/chunk-4VNS5WPM.js 1.82 KB
28
+ ESM dist/dist-HZF7FSGY.js 571.17 KB
29
+ ESM ⚡️ Build success in 6046ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @mastra/evals
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f205ede]
8
+ - @mastra/core@0.3.0
9
+
3
10
  ## 0.1.1
4
11
 
5
12
  ### Patch Changes
@@ -12393,7 +12393,7 @@ function createTestHook(name, handler) {
12393
12393
  globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
12394
12394
  globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
12395
12395
 
12396
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js
12396
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js
12397
12397
  var NAME_WORKER_STATE = "__vitest_worker__";
12398
12398
  function getWorkerState() {
12399
12399
  const workerState = globalThis[NAME_WORKER_STATE];
@@ -12453,7 +12453,7 @@ async function waitForImportsToResolve() {
12453
12453
  await waitForImportsToResolve();
12454
12454
  }
12455
12455
 
12456
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
12456
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
12457
12457
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
12458
12458
  function getDefaultExportFromCjs3(x2) {
12459
12459
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
@@ -14563,7 +14563,7 @@ var SnapshotClient = class {
14563
14563
  }
14564
14564
  };
14565
14565
 
14566
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/chunks/date.W2xKR2qe.js
14566
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/chunks/date.W2xKR2qe.js
14567
14567
  var RealDate = Date;
14568
14568
  var now2 = null;
14569
14569
  var MockDate = class _MockDate extends RealDate {
@@ -14616,7 +14616,7 @@ function resetDate() {
14616
14616
  globalThis.Date = RealDate;
14617
14617
  }
14618
14618
 
14619
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/chunks/vi.DrftpPF8.js
14619
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/chunks/vi.DrftpPF8.js
14620
14620
  var unsupported = [
14621
14621
  // .poll is meant to retry matchers until they succeed, and
14622
14622
  // snapshots will always succeed as long as the poll method doesn't throw an error
@@ -17586,7 +17586,7 @@ function getImporter(name) {
17586
17586
  return stack?.file || "";
17587
17587
  }
17588
17588
 
17589
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/chunks/run-once.2ogXb3JV.js
17589
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/chunks/run-once.2ogXb3JV.js
17590
17590
  var filesCount = /* @__PURE__ */ new Map();
17591
17591
  var cache = /* @__PURE__ */ new Map();
17592
17592
  function runOnce(fn2, key) {
@@ -17609,7 +17609,7 @@ function isFirstRun() {
17609
17609
  return firstRun;
17610
17610
  }
17611
17611
 
17612
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/chunks/benchmark.Cdu9hjj4.js
17612
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/chunks/benchmark.Cdu9hjj4.js
17613
17613
  var benchFns = /* @__PURE__ */ new WeakMap();
17614
17614
  var benchOptsMap = /* @__PURE__ */ new WeakMap();
17615
17615
  var bench = createBenchmark(function(name, fn2 = noop, options = {}) {
@@ -17638,7 +17638,7 @@ function formatName2(name) {
17638
17638
  return typeof name === "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name);
17639
17639
  }
17640
17640
 
17641
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/chunks/index.SduP00mx.js
17641
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/chunks/index.SduP00mx.js
17642
17642
  __toESM(require_dist(), 1);
17643
17643
  function getRunningMode() {
17644
17644
  return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
@@ -17649,7 +17649,7 @@ function isWatchMode() {
17649
17649
  var assertType = function assertType2() {
17650
17650
  };
17651
17651
 
17652
- // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+_01083f24f12a90babd2af6c0c5bfaac9/node_modules/vitest/dist/index.js
17652
+ // ../../node_modules/.pnpm/vitest@3.0.6_@edge-runtime+vm@3.2.0_@types+debug@4.1.12_@types+node@22.13.4_jiti@2.4.2__73b248065fec32744ad8f1198eafd928/node_modules/vitest/dist/index.js
17653
17653
  var import_expect_type2 = __toESM(require_dist(), 1);
17654
17654
  var export_expectTypeOf = import_expect_type2.expectTypeOf;
17655
17655
  /*! Bundled license information:
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ var getCurrentTestInfo = async () => {
39
39
  };
40
40
  }
41
41
  try {
42
- const vitest = await import('./dist-W3SXCXOT.js');
42
+ const vitest = await import('./dist-HZF7FSGY.js');
43
43
  if (typeof vitest !== "undefined" && vitest.expect?.getState) {
44
44
  const state = vitest.expect.getState();
45
45
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/evals",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "sentiment": "^5.0.2",
44
44
  "string-similarity": "^4.0.4",
45
45
  "zod": "^3.24.1",
46
- "@mastra/core": "^0.2.1"
46
+ "@mastra/core": "^0.3.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "ai": "^4.0.0"
@@ -1,17 +0,0 @@
1
- 2025-02-11T12:25:22.211466Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
2
- 2025-02-11T12:25:22.353839Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
3
- 2025-02-11T12:25:52.244224Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
4
- 2025-02-11T12:25:52.360289Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
5
- 2025-02-11T12:25:52.491004Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
6
- 2025-02-11T12:26:40.242205Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
7
- 2025-02-11T12:26:40.368701Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
8
- 2025-02-11T12:26:40.492607Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
9
- 2025-02-11T12:27:09.565005Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
10
- 2025-02-11T12:27:09.697884Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
11
- 2025-02-11T12:27:09.824963Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
12
- 2025-02-11T12:27:59.427424Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
13
- 2025-02-11T12:27:59.551457Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
14
- 2025-02-11T12:27:59.676360Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
15
- 2025-02-11T12:44:47.256213Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
16
- 2025-02-11T12:44:47.406241Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
17
- 2025-02-11T12:44:47.556583Z WARN daemon_server: turborepo_lib::commands::daemon: daemon already running
@@ -1,4 +0,0 @@
1
-
2
- > @mastra/evals@0.1.0 lint C:\Users\Ward\projects\mastra\mastra\packages\evals
3
- > eslint .
4
-