@mastra/voice-deepgram 0.0.0-mastra-2452-core-tracing-sentry-20250507205331 → 0.0.0-mastra-auto-detect-server-20260108233416

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/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@mastra/voice-deepgram",
3
- "version": "0.0.0-mastra-2452-core-tracing-sentry-20250507205331",
3
+ "version": "0.0.0-mastra-auto-detect-server-20260108233416",
4
4
  "description": "Mastra Deepgram voice integration",
5
5
  "type": "module",
6
6
  "files": [
7
- "dist"
7
+ "dist",
8
+ "CHANGELOG.md"
8
9
  ],
9
10
  "main": "dist/index.js",
10
11
  "types": "dist/index.d.ts",
@@ -15,30 +16,48 @@
15
16
  "default": "./dist/index.js"
16
17
  },
17
18
  "require": {
18
- "types": "./dist/index.d.cts",
19
+ "types": "./dist/index.d.ts",
19
20
  "default": "./dist/index.cjs"
20
21
  }
21
22
  },
22
23
  "./package.json": "./package.json"
23
24
  },
24
- "license": "Elastic-2.0",
25
+ "license": "Apache-2.0",
25
26
  "dependencies": {
26
- "@deepgram/sdk": "^3.11.2",
27
- "zod": "^3.24.3",
28
- "@mastra/core": "0.0.0-mastra-2452-core-tracing-sentry-20250507205331"
27
+ "@deepgram/sdk": "^3.13.0"
29
28
  },
30
29
  "devDependencies": {
31
- "@microsoft/api-extractor": "^7.52.5",
32
- "@types/node": "^20.17.27",
33
- "eslint": "^9.23.0",
34
- "tsup": "^8.4.0",
35
- "typescript": "^5.8.2",
36
- "vitest": "^2.1.9",
37
- "@internal/lint": "0.0.0-mastra-2452-core-tracing-sentry-20250507205331"
30
+ "@types/node": "22.13.17",
31
+ "@vitest/coverage-v8": "4.0.12",
32
+ "@vitest/ui": "4.0.12",
33
+ "eslint": "^9.37.0",
34
+ "tsup": "^8.5.0",
35
+ "typescript": "^5.9.3",
36
+ "vitest": "4.0.16",
37
+ "@internal/lint": "0.0.0-mastra-auto-detect-server-20260108233416",
38
+ "@internal/types-builder": "0.0.0-mastra-auto-detect-server-20260108233416",
39
+ "@mastra/core": "0.0.0-mastra-auto-detect-server-20260108233416"
40
+ },
41
+ "peerDependencies": {
42
+ "zod": "^3.25.0 || ^4.0.0",
43
+ "@mastra/core": "0.0.0-mastra-auto-detect-server-20260108233416"
44
+ },
45
+ "homepage": "https://mastra.ai",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/mastra-ai/mastra.git",
49
+ "directory": "voice/deepgram"
50
+ },
51
+ "bugs": {
52
+ "url": "https://github.com/mastra-ai/mastra/issues"
53
+ },
54
+ "engines": {
55
+ "node": ">=22.13.0"
38
56
  },
39
57
  "scripts": {
40
- "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
41
- "build:watch": "pnpm build --watch",
58
+ "build": "tsup --silent --config tsup.config.ts",
59
+ "postbuild": "pnpx tsx ../../scripts/generate-package-docs.ts voice/deepgram",
60
+ "build:watch": "tsup --watch --silent --config tsup.config.ts",
42
61
  "test": "vitest run",
43
62
  "lint": "eslint ."
44
63
  }
@@ -1,50 +0,0 @@
1
- import { MastraVoice } from '@mastra/core/voice';
2
-
3
- /**
4
- * List of available Deepgram models for text-to-speech and speech-to-text
5
- */
6
- export declare const DEEPGRAM_MODELS: readonly ["aura", "whisper", "base", "enhanced", "nova", "nova-2", "nova-3"];
7
-
8
- /**
9
- * List of available Deepgram voice models for text-to-speech
10
- * Each voice is designed for specific use cases and languages
11
- * Format: {name}-{language} (e.g. asteria-en)
12
- */
13
- export declare const DEEPGRAM_VOICES: readonly ["asteria-en", "luna-en", "stella-en", "athena-en", "hera-en", "orion-en", "arcas-en", "perseus-en", "angus-en", "orpheus-en", "helios-en", "zeus-en"];
14
-
15
- declare type DeepgramModel = (typeof DEEPGRAM_MODELS)[number];
16
- export { DeepgramModel }
17
- export { DeepgramModel as DeepgramModel_alias_1 }
18
-
19
- export declare class DeepgramVoice extends MastraVoice {
20
- private speechClient?;
21
- private listeningClient?;
22
- constructor({ speechModel, listeningModel, speaker, }?: {
23
- speechModel?: DeepgramVoiceConfig;
24
- listeningModel?: DeepgramVoiceConfig;
25
- speaker?: DeepgramVoiceId;
26
- });
27
- getSpeakers(): Promise<{
28
- voiceId: "asteria-en" | "luna-en" | "stella-en" | "athena-en" | "hera-en" | "orion-en" | "arcas-en" | "perseus-en" | "angus-en" | "orpheus-en" | "helios-en" | "zeus-en";
29
- }[]>;
30
- speak(input: string | NodeJS.ReadableStream, options?: {
31
- speaker?: string;
32
- [key: string]: any;
33
- }): Promise<NodeJS.ReadableStream>;
34
- listen(audioStream: NodeJS.ReadableStream, options?: {
35
- [key: string]: any;
36
- }): Promise<string>;
37
- }
38
-
39
- export declare interface DeepgramVoiceConfig {
40
- name?: DeepgramModel;
41
- apiKey?: string;
42
- properties?: Record<string, any>;
43
- language?: string;
44
- }
45
-
46
- declare type DeepgramVoiceId = (typeof DEEPGRAM_VOICES)[number];
47
- export { DeepgramVoiceId }
48
- export { DeepgramVoiceId as DeepgramVoiceId_alias_1 }
49
-
50
- export { }
@@ -1,50 +0,0 @@
1
- import { MastraVoice } from '@mastra/core/voice';
2
-
3
- /**
4
- * List of available Deepgram models for text-to-speech and speech-to-text
5
- */
6
- export declare const DEEPGRAM_MODELS: readonly ["aura", "whisper", "base", "enhanced", "nova", "nova-2", "nova-3"];
7
-
8
- /**
9
- * List of available Deepgram voice models for text-to-speech
10
- * Each voice is designed for specific use cases and languages
11
- * Format: {name}-{language} (e.g. asteria-en)
12
- */
13
- export declare const DEEPGRAM_VOICES: readonly ["asteria-en", "luna-en", "stella-en", "athena-en", "hera-en", "orion-en", "arcas-en", "perseus-en", "angus-en", "orpheus-en", "helios-en", "zeus-en"];
14
-
15
- declare type DeepgramModel = (typeof DEEPGRAM_MODELS)[number];
16
- export { DeepgramModel }
17
- export { DeepgramModel as DeepgramModel_alias_1 }
18
-
19
- export declare class DeepgramVoice extends MastraVoice {
20
- private speechClient?;
21
- private listeningClient?;
22
- constructor({ speechModel, listeningModel, speaker, }?: {
23
- speechModel?: DeepgramVoiceConfig;
24
- listeningModel?: DeepgramVoiceConfig;
25
- speaker?: DeepgramVoiceId;
26
- });
27
- getSpeakers(): Promise<{
28
- voiceId: "asteria-en" | "luna-en" | "stella-en" | "athena-en" | "hera-en" | "orion-en" | "arcas-en" | "perseus-en" | "angus-en" | "orpheus-en" | "helios-en" | "zeus-en";
29
- }[]>;
30
- speak(input: string | NodeJS.ReadableStream, options?: {
31
- speaker?: string;
32
- [key: string]: any;
33
- }): Promise<NodeJS.ReadableStream>;
34
- listen(audioStream: NodeJS.ReadableStream, options?: {
35
- [key: string]: any;
36
- }): Promise<string>;
37
- }
38
-
39
- export declare interface DeepgramVoiceConfig {
40
- name?: DeepgramModel;
41
- apiKey?: string;
42
- properties?: Record<string, any>;
43
- language?: string;
44
- }
45
-
46
- declare type DeepgramVoiceId = (typeof DEEPGRAM_VOICES)[number];
47
- export { DeepgramVoiceId }
48
- export { DeepgramVoiceId as DeepgramVoiceId_alias_1 }
49
-
50
- export { }
package/dist/index.d.cts DELETED
@@ -1,4 +0,0 @@
1
- export { DeepgramVoice } from './_tsup-dts-rollup.cjs';
2
- export { DeepgramVoiceConfig } from './_tsup-dts-rollup.cjs';
3
- export { DeepgramVoiceId } from './_tsup-dts-rollup.cjs';
4
- export { DeepgramModel } from './_tsup-dts-rollup.cjs';