@mastra/deepeval 0.1.20-alpha.1 → 0.1.20

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 +1 @@
1
- {"version":3,"file":"index.cjs","names":["BaseExporter","#inner","DeepEvalCoreExporter"],"sources":["../src/tracing.ts"],"sourcesContent":["import type { InitExporterOptions, TracingEvent } from '@mastra/core/observability';\nimport { BaseExporter } from '@mastra/observability';\nimport type { BaseExporterConfig } from '@mastra/observability';\nimport {\n DeepEvalExporter as DeepEvalCoreExporter,\n type DeepEvalExporterConfig as DeepEvalCoreConfig,\n} from 'deepeval/integrations/mastra';\n\nexport interface DeepEvalExporterConfig extends BaseExporterConfig, DeepEvalCoreConfig {}\n\nexport class DeepEvalExporter extends BaseExporter {\n name = 'deepeval';\n\n readonly #inner: DeepEvalCoreExporter;\n\n constructor(config: DeepEvalExporterConfig = {}) {\n super(config);\n this.#inner = new DeepEvalCoreExporter(config);\n }\n\n override init(options: InitExporterOptions): void {\n this.#inner.init?.(options);\n }\n\n protected async _exportTracingEvent(event: TracingEvent): Promise<void> {\n await this.#inner.exportTracingEvent(event);\n }\n\n override async flush(): Promise<void> {\n await this.#inner.flush();\n }\n\n override async shutdown(): Promise<void> {\n await this.#inner.shutdown();\n }\n}\n"],"mappings":";;;;AAUA,IAAa,mBAAb,cAAsCA,sBAAAA,aAAa;CACjD,OAAO;CAEP;CAEA,YAAY,SAAiC,CAAC,GAAG;EAC/C,MAAM,MAAM;EACZ,KAAKC,SAAS,IAAIC,6BAAAA,iBAAqB,MAAM;CAC/C;CAEA,KAAc,SAAoC;EAChD,KAAKD,OAAO,OAAO,OAAO;CAC5B;CAEA,MAAgB,oBAAoB,OAAoC;EACtE,MAAM,KAAKA,OAAO,mBAAmB,KAAK;CAC5C;CAEA,MAAe,QAAuB;EACpC,MAAM,KAAKA,OAAO,MAAM;CAC1B;CAEA,MAAe,WAA0B;EACvC,MAAM,KAAKA,OAAO,SAAS;CAC7B;AACF"}
1
+ {"version":3,"file":"index.cjs","names":["BaseExporter","DeepEvalCoreExporter"],"sources":["../src/tracing.ts"],"sourcesContent":["import type { InitExporterOptions, TracingEvent } from '@mastra/core/observability';\nimport { BaseExporter } from '@mastra/observability';\nimport type { BaseExporterConfig } from '@mastra/observability';\nimport { DeepEvalExporter as DeepEvalCoreExporter } from 'deepeval/integrations/mastra';\nimport type { DeepEvalExporterConfig as DeepEvalCoreConfig } from 'deepeval/integrations/mastra';\n\nexport interface DeepEvalExporterConfig extends BaseExporterConfig, DeepEvalCoreConfig {}\n\nexport class DeepEvalExporter extends BaseExporter {\n name = 'deepeval';\n\n readonly #inner: DeepEvalCoreExporter;\n\n constructor(config: DeepEvalExporterConfig = {}) {\n super(config);\n this.#inner = new DeepEvalCoreExporter(config);\n }\n\n override init(options: InitExporterOptions): void {\n this.#inner.init?.(options);\n }\n\n protected async _exportTracingEvent(event: TracingEvent): Promise<void> {\n await this.#inner.exportTracingEvent(event);\n }\n\n override async flush(): Promise<void> {\n await this.#inner.flush();\n }\n\n override async shutdown(): Promise<void> {\n await this.#inner.shutdown();\n }\n}\n"],"mappings":";;;;AAQA,IAAa,mBAAb,cAAsCA,sBAAAA,aAAa;CACjD,OAAO;CAEP;CAEA,YAAY,SAAiC,CAAC,GAAG;EAC/C,MAAM,MAAM;EACZ,KAAK,SAAS,IAAIC,6BAAAA,iBAAqB,MAAM;CAC/C;CAEA,KAAc,SAAoC;EAChD,KAAK,OAAO,OAAO,OAAO;CAC5B;CAEA,MAAgB,oBAAoB,OAAoC;EACtE,MAAM,KAAK,OAAO,mBAAmB,KAAK;CAC5C;CAEA,MAAe,QAAuB;EACpC,MAAM,KAAK,OAAO,MAAM;CAC1B;CAEA,MAAe,WAA0B;EACvC,MAAM,KAAK,OAAO,SAAS;CAC7B;AACF"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["#inner","DeepEvalCoreExporter"],"sources":["../src/tracing.ts"],"sourcesContent":["import type { InitExporterOptions, TracingEvent } from '@mastra/core/observability';\nimport { BaseExporter } from '@mastra/observability';\nimport type { BaseExporterConfig } from '@mastra/observability';\nimport {\n DeepEvalExporter as DeepEvalCoreExporter,\n type DeepEvalExporterConfig as DeepEvalCoreConfig,\n} from 'deepeval/integrations/mastra';\n\nexport interface DeepEvalExporterConfig extends BaseExporterConfig, DeepEvalCoreConfig {}\n\nexport class DeepEvalExporter extends BaseExporter {\n name = 'deepeval';\n\n readonly #inner: DeepEvalCoreExporter;\n\n constructor(config: DeepEvalExporterConfig = {}) {\n super(config);\n this.#inner = new DeepEvalCoreExporter(config);\n }\n\n override init(options: InitExporterOptions): void {\n this.#inner.init?.(options);\n }\n\n protected async _exportTracingEvent(event: TracingEvent): Promise<void> {\n await this.#inner.exportTracingEvent(event);\n }\n\n override async flush(): Promise<void> {\n await this.#inner.flush();\n }\n\n override async shutdown(): Promise<void> {\n await this.#inner.shutdown();\n }\n}\n"],"mappings":";;;AAUA,IAAa,mBAAb,cAAsC,aAAa;CACjD,OAAO;CAEP;CAEA,YAAY,SAAiC,CAAC,GAAG;EAC/C,MAAM,MAAM;EACZ,KAAKA,SAAS,IAAIC,mBAAqB,MAAM;CAC/C;CAEA,KAAc,SAAoC;EAChD,KAAKD,OAAO,OAAO,OAAO;CAC5B;CAEA,MAAgB,oBAAoB,OAAoC;EACtE,MAAM,KAAKA,OAAO,mBAAmB,KAAK;CAC5C;CAEA,MAAe,QAAuB;EACpC,MAAM,KAAKA,OAAO,MAAM;CAC1B;CAEA,MAAe,WAA0B;EACvC,MAAM,KAAKA,OAAO,SAAS;CAC7B;AACF"}
1
+ {"version":3,"file":"index.js","names":["DeepEvalCoreExporter"],"sources":["../src/tracing.ts"],"sourcesContent":["import type { InitExporterOptions, TracingEvent } from '@mastra/core/observability';\nimport { BaseExporter } from '@mastra/observability';\nimport type { BaseExporterConfig } from '@mastra/observability';\nimport { DeepEvalExporter as DeepEvalCoreExporter } from 'deepeval/integrations/mastra';\nimport type { DeepEvalExporterConfig as DeepEvalCoreConfig } from 'deepeval/integrations/mastra';\n\nexport interface DeepEvalExporterConfig extends BaseExporterConfig, DeepEvalCoreConfig {}\n\nexport class DeepEvalExporter extends BaseExporter {\n name = 'deepeval';\n\n readonly #inner: DeepEvalCoreExporter;\n\n constructor(config: DeepEvalExporterConfig = {}) {\n super(config);\n this.#inner = new DeepEvalCoreExporter(config);\n }\n\n override init(options: InitExporterOptions): void {\n this.#inner.init?.(options);\n }\n\n protected async _exportTracingEvent(event: TracingEvent): Promise<void> {\n await this.#inner.exportTracingEvent(event);\n }\n\n override async flush(): Promise<void> {\n await this.#inner.flush();\n }\n\n override async shutdown(): Promise<void> {\n await this.#inner.shutdown();\n }\n}\n"],"mappings":";;;AAQA,IAAa,mBAAb,cAAsC,aAAa;CACjD,OAAO;CAEP;CAEA,YAAY,SAAiC,CAAC,GAAG;EAC/C,MAAM,MAAM;EACZ,KAAK,SAAS,IAAIA,mBAAqB,MAAM;CAC/C;CAEA,KAAc,SAAoC;EAChD,KAAK,OAAO,OAAO,OAAO;CAC5B;CAEA,MAAgB,oBAAoB,OAAoC;EACtE,MAAM,KAAK,OAAO,mBAAmB,KAAK;CAC5C;CAEA,MAAe,QAAuB;EACpC,MAAM,KAAK,OAAO,MAAM;CAC1B;CAEA,MAAe,WAA0B;EACvC,MAAM,KAAK,OAAO,SAAS;CAC7B;AACF"}
package/dist/tracing.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { InitExporterOptions, TracingEvent } from '@mastra/core/observability';
2
2
  import { BaseExporter } from '@mastra/observability';
3
3
  import type { BaseExporterConfig } from '@mastra/observability';
4
- import { type DeepEvalExporterConfig as DeepEvalCoreConfig } from 'deepeval/integrations/mastra';
4
+ import type { DeepEvalExporterConfig as DeepEvalCoreConfig } from 'deepeval/integrations/mastra';
5
5
  export interface DeepEvalExporterConfig extends BaseExporterConfig, DeepEvalCoreConfig {
6
6
  }
7
7
  export declare class DeepEvalExporter extends BaseExporter {
@@ -1 +1 @@
1
- {"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../src/tracing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAEL,KAAK,sBAAsB,IAAI,kBAAkB,EAClD,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,EAAE,kBAAkB;CAAG;AAEzF,qBAAa,gBAAiB,SAAQ,YAAY;;IAChD,IAAI,SAAc;IAIlB,YAAY,MAAM,GAAE,sBAA2B,EAG9C;IAEQ,IAAI,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAEhD;IAED,UAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAEtE;IAEc,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpC;IAEc,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAEvC;CACF"}
1
+ {"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../src/tracing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,OAAO,KAAK,EAAE,sBAAsB,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEjG,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,EAAE,kBAAkB;CAAG;AAEzF,qBAAa,gBAAiB,SAAQ,YAAY;;IAChD,IAAI,SAAc;IAIlB,YAAY,MAAM,GAAE,sBAA2B,EAG9C;IAEQ,IAAI,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAEhD;IAED,UAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAEtE;IAEc,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpC;IAEc,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAEvC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deepeval",
3
- "version": "0.1.20-alpha.1",
3
+ "version": "0.1.20",
4
4
  "description": "DeepEval (Confident AI) observability provider for Mastra - includes tracing and future observability features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -24,19 +24,18 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "deepeval": "^0.1.32",
27
- "@mastra/observability": "1.21.0-alpha.1"
27
+ "@mastra/observability": "1.21.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "22.20.1",
31
31
  "@vitest/coverage-v8": "4.1.11",
32
32
  "@vitest/ui": "4.1.11",
33
- "eslint": "^10.4.1",
34
33
  "tsdown": "0.22.9",
35
34
  "typescript": "^7.0.2",
36
35
  "vitest": "4.1.11",
37
- "@internal/lint": "0.0.144",
38
- "@internal/types-builder": "0.0.119",
39
- "@mastra/core": "1.79.0-alpha.1"
36
+ "@internal/lint": "0.0.145",
37
+ "@internal/types-builder": "0.0.120",
38
+ "@mastra/core": "1.79.0"
40
39
  },
41
40
  "peerDependencies": {
42
41
  "@mastra/core": ">=1.16.0-0 <2.0.0-0"
@@ -58,6 +57,6 @@
58
57
  "build:watch": "pnpm build --watch",
59
58
  "test": "vitest run",
60
59
  "test:watch": "vitest watch",
61
- "lint": "eslint ."
60
+ "lint": "oxlint --type-aware ."
62
61
  }
63
62
  }