axiom 0.30.0 → 0.31.0

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/bin.cjs CHANGED
@@ -331,7 +331,7 @@ var import_api4 = require("@opentelemetry/api");
331
331
  // package.json
332
332
  var package_default = {
333
333
  name: "axiom",
334
- version: "0.30.0",
334
+ version: "0.31.0",
335
335
  type: "module",
336
336
  author: "Axiom, Inc.",
337
337
  contributors: [
@@ -434,7 +434,7 @@ var package_default = {
434
434
  "@opentelemetry/sdk-trace-node": "^2.0.1",
435
435
  "@repo/eslint-config": "workspace:*",
436
436
  "@types/node": "^22.15.29",
437
- "@vitest/coverage-v8": "^3.2.4",
437
+ "@vitest/coverage-v8": "^4.0.0",
438
438
  aiv4: "npm:ai@^4.3.19",
439
439
  aiv5: "npm:ai@^5.0.93",
440
440
  esbuild: "^0.25.8",
@@ -1766,11 +1766,11 @@ function setupEvalProvider(connection) {
1766
1766
  axiomProvider = new import_sdk_trace_node.NodeTracerProvider({
1767
1767
  resource: (0, import_resources.resourceFromAttributes)({
1768
1768
  ["service.name"]: "axiom",
1769
- ["service.version"]: "0.30.0"
1769
+ ["service.version"]: "0.31.0"
1770
1770
  }),
1771
1771
  spanProcessors: [processor]
1772
1772
  });
1773
- axiomTracer = axiomProvider.getTracer("axiom", "0.30.0");
1773
+ axiomTracer = axiomProvider.getTracer("axiom", "0.31.0");
1774
1774
  }
1775
1775
  async function initInstrumentation(config) {
1776
1776
  if (initialized) {
@@ -1782,7 +1782,7 @@ async function initInstrumentation(config) {
1782
1782
  }
1783
1783
  initializationPromise = (async () => {
1784
1784
  if (!config.enabled) {
1785
- axiomTracer = import_api10.trace.getTracer("axiom", "0.30.0");
1785
+ axiomTracer = import_api10.trace.getTracer("axiom", "0.31.0");
1786
1786
  initialized = true;
1787
1787
  return;
1788
1788
  }
@@ -1908,6 +1908,8 @@ var runVitest = async (dir, opts) => {
1908
1908
  environment: "node",
1909
1909
  browser: void 0,
1910
1910
  watch: opts.watch,
1911
+ setupFiles: [],
1912
+ // ignore user vitest.config.ts etc
1911
1913
  name: "axiom:eval",
1912
1914
  printConsoleTrace: true,
1913
1915
  silent: false,
@@ -2576,7 +2578,7 @@ var import_commander2 = require("commander");
2576
2578
  var loadVersionCommand = (program2) => {
2577
2579
  return program2.addCommand(
2578
2580
  new import_commander2.Command("version").description("cli version").action(() => {
2579
- console.log("0.30.0");
2581
+ console.log("0.31.0");
2580
2582
  })
2581
2583
  );
2582
2584
  };
@@ -2586,7 +2588,7 @@ var { loadEnvConfig } = import_env.default;
2586
2588
  loadEnvConfig(process.cwd());
2587
2589
  var { cleanedArgv, overrides } = extractOverrides(process.argv.slice(2));
2588
2590
  var program = new import_commander3.Command();
2589
- program.name("axiom").description("Axiom's CLI to manage your objects and run evals").version("0.30.0");
2591
+ program.name("axiom").description("Axiom's CLI to manage your objects and run evals").version("0.31.0");
2590
2592
  program.hook("preAction", async (_, actionCommand) => {
2591
2593
  const commandName = actionCommand.name();
2592
2594
  const parentCommand = actionCommand.parent;