@vibesdotdev/integrations-elevenlabs 0.0.0-stage → 1.0.0-rc.1

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 (74) hide show
  1. package/LICENSE +126 -0
  2. package/README.md +34 -2
  3. package/dist/ai/index.d.ts +3 -0
  4. package/dist/ai/index.d.ts.map +1 -0
  5. package/dist/ai/index.js +3 -0
  6. package/dist/ai/index.js.map +1 -0
  7. package/dist/ai/metadata/assets/assets/logos/providers/elevenlabs.svg +1 -0
  8. package/dist/ai/metadata/provider-models/elevenlabs/elevenlabs-eleven-flash-v2-5.json +17 -0
  9. package/dist/ai/metadata/provider-models/elevenlabs/elevenlabs-eleven-multilingual-v2.json +17 -0
  10. package/dist/ai/metadata/provider-models/elevenlabs/elevenlabs-eleven-v3.json +17 -0
  11. package/dist/ai/metadata/provider-models/elevenlabs/flash-multilingual.json +17 -0
  12. package/dist/ai/metadata/provider-models/elevenlabs/multilingual-stable.json +17 -0
  13. package/dist/ai/metadata/providers/elevenlabs.json +22 -0
  14. package/dist/ai/provider.plugin.d.ts +6 -0
  15. package/dist/ai/provider.plugin.d.ts.map +1 -0
  16. package/dist/ai/provider.plugin.js +122 -0
  17. package/dist/ai/provider.plugin.js.map +1 -0
  18. package/dist/ai/providers/cloud/speech/elevenlabs/config/config.elevenlabs.descriptor.d.ts +4194 -0
  19. package/dist/ai/providers/cloud/speech/elevenlabs/config/config.elevenlabs.descriptor.d.ts.map +1 -0
  20. package/dist/ai/providers/cloud/speech/elevenlabs/config/config.elevenlabs.descriptor.js +43 -0
  21. package/dist/ai/providers/cloud/speech/elevenlabs/config/config.elevenlabs.descriptor.js.map +1 -0
  22. package/dist/ai/providers/cloud/speech/elevenlabs/config/schemas/index.d.ts +15 -0
  23. package/dist/ai/providers/cloud/speech/elevenlabs/config/schemas/index.d.ts.map +1 -0
  24. package/dist/ai/providers/cloud/speech/elevenlabs/config/schemas/index.js +8 -0
  25. package/dist/ai/providers/cloud/speech/elevenlabs/config/schemas/index.js.map +1 -0
  26. package/dist/ai/providers/cloud/speech/elevenlabs/index.d.ts +5 -0
  27. package/dist/ai/providers/cloud/speech/elevenlabs/index.d.ts.map +1 -0
  28. package/dist/ai/providers/cloud/speech/elevenlabs/index.js +4 -0
  29. package/dist/ai/providers/cloud/speech/elevenlabs/index.js.map +1 -0
  30. package/dist/ai/providers/cloud/speech/elevenlabs/provider.elevenlabs.descriptor.d.ts +183 -0
  31. package/dist/ai/providers/cloud/speech/elevenlabs/provider.elevenlabs.descriptor.d.ts.map +1 -0
  32. package/dist/ai/providers/cloud/speech/elevenlabs/provider.elevenlabs.descriptor.js +50 -0
  33. package/dist/ai/providers/cloud/speech/elevenlabs/provider.elevenlabs.descriptor.js.map +1 -0
  34. package/dist/ai/providers/elevenlabs/detection/index.d.ts +2 -0
  35. package/dist/ai/providers/elevenlabs/detection/index.d.ts.map +1 -0
  36. package/dist/ai/providers/elevenlabs/detection/index.js +2 -0
  37. package/dist/ai/providers/elevenlabs/detection/index.js.map +1 -0
  38. package/dist/ai/providers/elevenlabs/detection/system.d.ts +4 -0
  39. package/dist/ai/providers/elevenlabs/detection/system.d.ts.map +1 -0
  40. package/dist/ai/providers/elevenlabs/detection/system.js +28 -0
  41. package/dist/ai/providers/elevenlabs/detection/system.js.map +1 -0
  42. package/dist/ai/providers/elevenlabs/elevenlabs.provider.impl.d.ts +25 -0
  43. package/dist/ai/providers/elevenlabs/elevenlabs.provider.impl.d.ts.map +1 -0
  44. package/dist/ai/providers/elevenlabs/elevenlabs.provider.impl.js +196 -0
  45. package/dist/ai/providers/elevenlabs/elevenlabs.provider.impl.js.map +1 -0
  46. package/dist/ai/providers/elevenlabs/index.d.ts +4 -0
  47. package/dist/ai/providers/elevenlabs/index.d.ts.map +1 -0
  48. package/dist/ai/providers/elevenlabs/index.js +4 -0
  49. package/dist/ai/providers/elevenlabs/index.js.map +1 -0
  50. package/dist/ai/providers/elevenlabs/recommendations.d.ts +23 -0
  51. package/dist/ai/providers/elevenlabs/recommendations.d.ts.map +1 -0
  52. package/dist/ai/providers/elevenlabs/recommendations.js +73 -0
  53. package/dist/ai/providers/elevenlabs/recommendations.js.map +1 -0
  54. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.descriptor.d.ts +35 -0
  55. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.descriptor.d.ts.map +1 -0
  56. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.descriptor.js +24 -0
  57. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.descriptor.js.map +1 -0
  58. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.impl.d.ts +31 -0
  59. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.impl.d.ts.map +1 -0
  60. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.impl.js +103 -0
  61. package/dist/ai/specs/elevenlabs-tts/elevenlabs-tts.spec.impl.js.map +1 -0
  62. package/dist/index.d.ts +2 -0
  63. package/dist/index.d.ts.map +1 -0
  64. package/dist/index.js +2 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/schemas/catalog.d.ts +127 -0
  67. package/dist/schemas/catalog.d.ts.map +1 -0
  68. package/dist/schemas/catalog.js +20 -0
  69. package/dist/schemas/catalog.js.map +1 -0
  70. package/dist/schemas/speech.d.ts +35 -0
  71. package/dist/schemas/speech.d.ts.map +1 -0
  72. package/dist/schemas/speech.js +74 -0
  73. package/dist/schemas/speech.js.map +1 -0
  74. package/package.json +73 -4
package/LICENSE ADDED
@@ -0,0 +1,126 @@
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: VIBES DEV LLC
6
+ Licensed Work: @vibesdotdev/integrations-elevenlabs
7
+ The Licensed Work is (c) 2026 VIBES DEV LLC.
8
+ Additional Use Grant: In this grant, "Vibes Platform" means the hosted services VIBES DEV LLC
9
+ operates at vibes.dev and its subdomains.
10
+
11
+ You may make production use of the Licensed Work, including commercial
12
+ use, subject to the limits below. Permitted production use includes:
13
+ building, operating and selling your own applications, agents and services
14
+ on or with the Vibes Platform; self-hosting the Licensed Work for use inside
15
+ your own organization; and providing consulting, integration or development
16
+ services to clients who build on the Vibes Platform.
17
+
18
+ The production use permitted above does not include use that:
19
+
20
+ (a) offers third parties a hosted, managed or embedded service that
21
+ substitutes for the Vibes Platform or a material part of it (including
22
+ agent hosting; fleet, sandbox or container provisioning; package
23
+ registry; source hosting and continuous integration; and managed AI,
24
+ storage, secrets or messaging), where the Licensed Work provides a
25
+ material part of that service's value and that service earns more than
26
+ US$1,000,000 in gross revenue in any twelve-month period;
27
+ (b) sells, rents, sublicenses or white-labels the Licensed Work, or access
28
+ to Vibes Platform functionality, as a product in its own right;
29
+ (c) removes, disables or works around entitlement checks, usage metering,
30
+ quotas or plan limits, or reaches Vibes Platform features the user's
31
+ account is not entitled to;
32
+ (d) scrapes, bulk-exports or harvests data or content from the Vibes
33
+ Platform or its users other than through documented interfaces and
34
+ within their terms, or uses outputs or data obtained from the Vibes
35
+ Platform to train or improve a product that competes with it;
36
+ (e) violates applicable law, infringes anyone's rights, commits fraud or
37
+ deception, conducts unlawful surveillance or harassment, distributes
38
+ malware, or accesses systems without authorization; or
39
+ (f) violates applicable antitrust or competition law.
40
+
41
+ A written permission from the Licensor extends this grant.
42
+ Change Date: Four years from the date the Licensed Work is published.
43
+ Change License: MIT
44
+
45
+ For information about alternative licensing arrangements for the Licensed Work,
46
+ contact VIBES DEV LLC through https://vibes.dev.
47
+
48
+ Notice
49
+
50
+ The Business Source License (this document, or the "License") is not an Open
51
+ Source license. However, the Licensed Work will eventually be made available
52
+ under an Open Source License, as stated in this License.
53
+
54
+ -----------------------------------------------------------------------------
55
+
56
+ Business Source License 1.1
57
+
58
+ License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
59
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
60
+
61
+ Terms
62
+
63
+ The Licensor hereby grants you the right to copy, modify, create derivative
64
+ works, redistribute, and make non-production use of the Licensed Work. The
65
+ Licensor may make an Additional Use Grant, above, permitting limited
66
+ production use.
67
+
68
+ Effective on the Change Date, or the fourth anniversary of the first publicly
69
+ available distribution of a specific version of the Licensed Work under this
70
+ License, whichever comes first, the Licensor hereby grants you rights under
71
+ the terms of the Change License, and the rights granted in the paragraph
72
+ above terminate.
73
+
74
+ If your use of the Licensed Work does not comply with the requirements
75
+ currently in effect as described in this License, you must purchase a
76
+ commercial license from the Licensor, its affiliated entities, or authorized
77
+ resellers, or you must refrain from using the Licensed Work.
78
+
79
+ All copies of the original and modified Licensed Work, and derivative works
80
+ of the Licensed Work, are subject to this License. This License applies
81
+ separately for each version of the Licensed Work and the Change Date may vary
82
+ for each version of the Licensed Work released by Licensor.
83
+
84
+ You must conspicuously display this License on each original or modified copy
85
+ of the Licensed Work. If you receive the Licensed Work in original or
86
+ modified form from a third party, the terms and conditions set forth in this
87
+ License apply to your use of that work.
88
+
89
+ Any use of the Licensed Work in violation of this License will automatically
90
+ terminate your rights under this License for the current and all other
91
+ versions of the Licensed Work.
92
+
93
+ This License does not grant you any right in any trademark or logo of
94
+ Licensor or its affiliates (provided that you may use a trademark or logo of
95
+ Licensor as expressly required by this License).
96
+
97
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
98
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
99
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
100
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
101
+ TITLE.
102
+
103
+ MariaDB hereby grants you permission to use this License’s text to license
104
+ your works, and to refer to it using the trademark “Business Source License”,
105
+ as long as you comply with the Covenants of Licensor below.
106
+
107
+ Covenants of Licensor
108
+
109
+ In consideration of the right to use this License’s text and the “Business
110
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
111
+ other recipients of the licensed work to be provided by Licensor:
112
+
113
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
114
+ or a license that is compatible with GPL Version 2.0 or a later version,
115
+ where “compatible” means that software provided under the Change License can
116
+ be included in a program with software provided under GPL Version 2.0 or a
117
+ later version. Licensor may specify additional Change Licenses without
118
+ limitation.
119
+
120
+ 2. To either: (a) specify an additional grant of rights to use that does not
121
+ impose any additional restriction on the right granted in this License, as
122
+ the Additional Use Grant; or (b) insert the text “None”.
123
+
124
+ 3. To specify a Change Date.
125
+
126
+ 4. Not to modify this License in any other way.
package/README.md CHANGED
@@ -1,3 +1,35 @@
1
- # Temporary Holding Version
1
+ # ElevenLabs
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Runtime-owned ElevenLabs speech synthesis, catalogs, detection and recommendations.
4
+
5
+ Compose `@vibesdotdev/integrations-elevenlabs/ai/plugin` with AI's runtime kinds
6
+ and your host's configuration. Use `getVibesAIClient(runtime)` from
7
+ `@vibesdotdev/ai/client` to generate speech. Provider and TTS implementations
8
+ resolve through `ai/provider` and `ai/spec`.
9
+
10
+ ```ts
11
+ import { elevenlabsConnectionSchema } from '@vibesdotdev/integrations-elevenlabs';
12
+
13
+ const connection = elevenlabsConnectionSchema.parse({
14
+ apiKey: { source: 'secret', key: 'ELEVENLABS_API_KEY' }
15
+ });
16
+ // baseUrl and timeout come from the connection schema.
17
+ ```
18
+
19
+ Root and `./ai` export schemas and plugin composition. Concrete implementations
20
+ are available through runtime resolution and explicit `./ai/providers/elevenlabs/index`
21
+ and `./ai/specs/elevenlabs-tts/elevenlabs-tts.spec.impl` subpaths.
22
+
23
+ Supported outputs are MP3 (default), Opus, PCM and native WAV. Opaque voice IDs
24
+ are URL encoded without stripping characters. WAV is requested from
25
+ [ElevenLabs' native encoding API](https://elevenlabs.io/docs/api-reference/text-to-speech/convert),
26
+ so the bytes include a WAV container.
27
+
28
+ Catalog absence/cancellation returns `null`; successful empty catalogs return
29
+ `[]`. Unexpected failures carry typed codes and preserved causes. Health
30
+ uses fixed, value-free messages; configuration, credential-store and logging
31
+ failures remain visible. See [SPEC.md](./SPEC.md) for refusal reasons and defaults.
32
+
33
+ Verify with `bun run check`, `bun run test`, `bun run build`, the package's
34
+ Oxlint ratchet and `workspace-rules`. Tests are in-process composed runtimes;
35
+ the production TypeScript configuration excludes test artifacts.
@@ -0,0 +1,3 @@
1
+ export * from './providers/cloud/speech/elevenlabs/config/schemas/index.ts';
2
+ export { createElevenlabsAIPlugin, elevenlabsAIPlugin } from './provider.plugin.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ai/index.ts"],"names":[],"mappings":"AAAA,cAAc,6DAA6D,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./providers/cloud/speech/elevenlabs/config/schemas/index.js";
2
+ export { createElevenlabsAIPlugin, elevenlabsAIPlugin } from "./provider.plugin.js";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ai/index.ts"],"names":[],"mappings":"AAAA,cAAc,6DAA6D,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 117 15" aria-hidden="true" style="height:0.9375rem;overflow:visible"><path d="M41.507 3.698h-2.975l3.595 11.054h3.203l3.595-11.054h-2.976l-2.25 8.327zM0 0h3.079v14.752H0zM6.115 0h3.079v14.752H6.115zM12.23 0h9.112v2.459H15.31V5.97h5.62V8.43h-5.62v3.863h6.033v2.46h-9.111zM23.222 0h2.913v14.752h-2.913zM27.892 9.215c0-4.029 2.004-5.765 5.124-5.765s4.896 1.715 4.896 5.806v.661h-7.148c.103 2.397.826 3.203 2.21 3.203 1.095 0 1.777-.64 1.901-1.756h2.913C37.602 13.802 35.578 15 32.974 15c-3.305 0-5.082-1.756-5.082-5.785m7.148-1.22c-.144-2.024-.847-2.685-2.066-2.685s-1.983.682-2.19 2.686zM49.482 9.215c0-4.029 2.005-5.765 5.124-5.765 3.12 0 4.897 1.715 4.897 5.806v.661h-7.149c.104 2.397.827 3.203 2.211 3.203 1.095 0 1.777-.64 1.9-1.756h2.914C59.193 13.802 57.17 15 54.565 15c-3.306 0-5.083-1.756-5.083-5.785m7.15-1.22c-.145-2.024-.848-2.685-2.067-2.685s-1.983.682-2.19 2.686zM73.304 0h3.079v12.293h5.785v2.46h-8.864z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M82.891 9.215c0-4.215 1.942-5.765 4.442-5.765 1.24 0 2.376.703 2.83 1.447V3.698h2.976v11.054h-2.892V13.45c-.434.868-1.653 1.55-2.996 1.55-2.645 0-4.36-1.694-4.36-5.785m5.207-3.595c1.446 0 2.231 1.095 2.231 3.595s-.785 3.616-2.231 3.616c-1.447 0-2.273-1.116-2.273-3.616s.826-3.595 2.273-3.595M98.284 13.45v1.302H95.39V0h2.913v4.897c.496-.765 1.653-1.447 2.893-1.447 2.438 0 4.38 1.55 4.38 5.765S103.676 15 101.135 15c-1.343 0-2.438-.682-2.851-1.55m2.086-7.81c1.447 0 2.273 1.075 2.273 3.575s-.826 3.616-2.273 3.616c-1.446 0-2.231-1.116-2.231-3.616s.785-3.574 2.231-3.574"></path><path d="M106.776 11.467h2.913c.041 1.157.661 1.715 1.756 1.715s1.715-.496 1.715-1.364c0-.785-.475-1.074-1.508-1.322l-.889-.227c-2.52-.64-3.781-1.323-3.781-3.41 0-2.086 1.942-3.409 4.422-3.409s4.359.972 4.442 3.265h-2.913c-.062-1.012-.682-1.446-1.571-1.446s-1.508.434-1.508 1.26c0 .764.496 1.054 1.364 1.26l.909.228c2.397.599 3.905 1.198 3.905 3.43 0 2.23-1.984 3.553-4.67 3.553-2.913 0-4.524-1.095-4.586-3.533M64.214 8.244c0-1.736.826-2.686 2.107-2.686 1.054 0 1.653.661 1.653 2.087v7.107h2.913V7.19c0-2.562-1.446-3.74-3.553-3.74-1.426 0-2.604.724-3.12 1.674V3.698h-2.955v11.054h2.955z"></path></svg>
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "elevenlabs:eleven_flash_v2_5",
3
+ "providerId": "elevenlabs",
4
+ "providerModelId": "eleven_flash_v2_5",
5
+ "aliases": ["eleven_flash_v2_5", "elevenlabs:eleven_flash_v2_5"],
6
+ "globalModelId": "elevenlabs:eleven_flash_v2_5",
7
+ "source": "provider-catalog",
8
+ "displayName": "Eleven Flash v2.5",
9
+ "description": "ElevenLabs low-latency multilingual text-to-speech model.",
10
+ "modelType": "audio_tts",
11
+ "capabilities": ["audio_generation_text_to_speech"],
12
+ "modalities": ["speech"],
13
+ "configuration": { "modelId": "eleven_flash_v2_5" },
14
+ "hardware": ["cloud"],
15
+ "enabled": true,
16
+ "tags": ["elevenlabs", "tts", "speech", "multilingual", "low-latency"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "elevenlabs:eleven_multilingual_v2",
3
+ "providerId": "elevenlabs",
4
+ "providerModelId": "eleven_multilingual_v2",
5
+ "aliases": ["eleven_multilingual_v2", "elevenlabs:eleven_multilingual_v2"],
6
+ "globalModelId": "elevenlabs:eleven_multilingual_v2",
7
+ "source": "provider-catalog",
8
+ "displayName": "Eleven Multilingual v2",
9
+ "description": "ElevenLabs multilingual text-to-speech model for natural, stable long-form speech.",
10
+ "modelType": "audio_tts",
11
+ "capabilities": ["audio_generation_text_to_speech"],
12
+ "modalities": ["speech"],
13
+ "configuration": { "modelId": "eleven_multilingual_v2" },
14
+ "hardware": ["cloud"],
15
+ "enabled": true,
16
+ "tags": ["elevenlabs", "tts", "speech", "multilingual"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "elevenlabs:eleven_v3",
3
+ "providerId": "elevenlabs",
4
+ "providerModelId": "eleven_v3",
5
+ "aliases": ["eleven_v3", "elevenlabs:eleven_v3"],
6
+ "globalModelId": "elevenlabs:eleven_v3",
7
+ "source": "provider-catalog",
8
+ "displayName": "Eleven v3",
9
+ "description": "ElevenLabs flagship expressive speech synthesis model.",
10
+ "modelType": "audio_tts",
11
+ "capabilities": ["audio_generation_text_to_speech"],
12
+ "modalities": ["speech"],
13
+ "configuration": { "modelId": "eleven_v3" },
14
+ "hardware": ["cloud"],
15
+ "enabled": true,
16
+ "tags": ["elevenlabs", "tts", "speech", "multilingual"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "elevenlabs:eleven_flash_v2_5",
3
+ "providerId": "elevenlabs",
4
+ "providerModelId": "eleven_flash_v2_5",
5
+ "aliases": ["eleven_flash_v2_5", "elevenlabs:eleven_flash_v2_5"],
6
+ "globalModelId": "elevenlabs:eleven_flash_v2_5",
7
+ "source": "provider-catalog",
8
+ "displayName": "Eleven Flash v2.5",
9
+ "description": "ElevenLabs low-latency multilingual text-to-speech model.",
10
+ "modelType": "audio_tts",
11
+ "capabilities": ["audio_generation_text_to_speech"],
12
+ "modalities": ["speech"],
13
+ "configuration": { "modelId": "eleven_flash_v2_5" },
14
+ "hardware": ["cloud"],
15
+ "enabled": true,
16
+ "tags": ["elevenlabs", "tts", "speech", "multilingual", "low-latency"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "elevenlabs:eleven_multilingual_v2",
3
+ "providerId": "elevenlabs",
4
+ "providerModelId": "eleven_multilingual_v2",
5
+ "aliases": ["eleven_multilingual_v2", "elevenlabs:eleven_multilingual_v2"],
6
+ "globalModelId": "elevenlabs:eleven_multilingual_v2",
7
+ "source": "provider-catalog",
8
+ "displayName": "Eleven Multilingual v2",
9
+ "description": "ElevenLabs multilingual text-to-speech model for natural, stable long-form speech.",
10
+ "modelType": "audio_tts",
11
+ "capabilities": ["audio_generation_text_to_speech"],
12
+ "modalities": ["speech"],
13
+ "configuration": { "modelId": "eleven_multilingual_v2" },
14
+ "hardware": ["cloud"],
15
+ "enabled": true,
16
+ "tags": ["elevenlabs", "tts", "speech", "multilingual"]
17
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "elevenlabs",
3
+ "name": "ElevenLabs",
4
+ "baseUrl": "https://api.elevenlabs.io/v1",
5
+ "compatibleKindId": "elevenlabs-compatible",
6
+ "branding": {
7
+ "logo": {
8
+ "kind": "wordmark",
9
+ "format": "svg",
10
+ "path": "./assets/logos/providers/elevenlabs.svg",
11
+ "sourceUrl": "https://elevenlabs.io/",
12
+ "sourcePageUrl": "https://elevenlabs.io/",
13
+ "source": "official-homepage-inline",
14
+ "theme": "any"
15
+ },
16
+ "sourcePageUrl": "https://elevenlabs.io/"
17
+ },
18
+ "docsUrl": "https://elevenlabs.io/docs",
19
+ "sourceUrls": [
20
+ "https://elevenlabs.io/"
21
+ ]
22
+ }
@@ -0,0 +1,6 @@
1
+ import { type RuntimePlugin } from '@vibesdotdev/kernel';
2
+ /** Complete runtime boundary for Elevenlabs-owned AI capabilities. */
3
+ export declare function createElevenlabsAIPlugin(): RuntimePlugin;
4
+ export declare const elevenlabsAIPlugin: RuntimePlugin;
5
+ export default elevenlabsAIPlugin;
6
+ //# sourceMappingURL=provider.plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.plugin.d.ts","sourceRoot":"","sources":["../../src/ai/provider.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAsF9E,sEAAsE;AACtE,wBAAgB,wBAAwB,IAAI,aAAa,CA8DxD;AAED,eAAO,MAAM,kBAAkB,EAAE,aAA0C,CAAC;AAC5E,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,122 @@
1
+ import { createRuntimePlugin } from '@vibesdotdev/kernel';
2
+ import { AI_PROVIDER_SCHEMA_KIND } from '@vibesdotdev/ai/providers-runtime';
3
+ import { AI_PROVIDER_RECOMMENDATION_KIND, createAIProviderRecommendationDescriptor } from '@vibesdotdev/ai/recommendations';
4
+ import elevenlabsProviderDescriptor from "./providers/cloud/speech/elevenlabs/provider.elevenlabs.descriptor.js";
5
+ import elevenlabsProviderConfigDescriptor from "./providers/cloud/speech/elevenlabs/config/config.elevenlabs.descriptor.js";
6
+ import elevenlabsTtsDescriptor from "./specs/elevenlabs-tts/elevenlabs-tts.spec.descriptor.js";
7
+ import { elevenlabsConnectionSchema as schema0 } from "./providers/cloud/speech/elevenlabs/config/schemas/index.js";
8
+ import provider_elevenlabs from './metadata/providers/elevenlabs.json' with { type: 'json' };
9
+ import providerModel_elevenlabs_elevenlabs_eleven_flash_v2_5 from './metadata/provider-models/elevenlabs/elevenlabs-eleven-flash-v2-5.json' with { type: 'json' };
10
+ import providerModel_elevenlabs_elevenlabs_eleven_multilingual_v2 from './metadata/provider-models/elevenlabs/elevenlabs-eleven-multilingual-v2.json' with { type: 'json' };
11
+ import providerModel_elevenlabs_elevenlabs_eleven_v3 from './metadata/provider-models/elevenlabs/elevenlabs-eleven-v3.json' with { type: 'json' };
12
+ import { AIProviderMetadataSchema, AIProviderModelMetadataSchema } from '@vibesdotdev/ai/metadata/schemas';
13
+ import { toAIModelDescriptor } from '@vibesdotdev/ai/metadata/models';
14
+ const providerDetectionDescriptor = {
15
+ id: 'elevenlabs',
16
+ kind: 'ai/provider-detection',
17
+ providerId: 'elevenlabs',
18
+ description: `System detection loader for ${'elevenlabs'}`
19
+ };
20
+ const providerRecommendationDescriptor = createAIProviderRecommendationDescriptor({
21
+ id: 'elevenlabs',
22
+ providerType: 'elevenlabs',
23
+ displayName: 'ElevenLabs',
24
+ name: 'ElevenLabs provider recommendation',
25
+ description: 'Scores ElevenLabs without embedding vendor policy in Framework',
26
+ hardware: ['consumer', 'cloud'],
27
+ enabled: true,
28
+ tags: ['elevenlabs', 'cloud', 'tts']
29
+ });
30
+ const providerDocsDescriptor = {
31
+ kind: 'docs/topic',
32
+ id: 'ai.providers.elevenlabs',
33
+ title: 'ElevenLabs provider',
34
+ summary: 'Configure ElevenLabs speech synthesis through runtime-owned credentials.',
35
+ body: {
36
+ type: 'markdown',
37
+ sourceType: 'raw',
38
+ source: '# ElevenLabs provider\n\nCompose ./ai/plugin after ai.runtime and host config kinds. Root exports connection schemas and the plugin; concrete implementations resolve through ai/provider, ai/spec, ai/provider/schema and ai/provider-recommendation. Generation uses runtime/client:ai.\n\nUse ELEVENLABS_API_KEY as a secret reference. Connection defaults are https://api.elevenlabs.io/v1 and 60000 ms. Speech supports MP3, Opus, PCM and native WAV; voice and model identifiers remain opaque.\n\nINVALID_INPUT reasons: connection-schema, credential-inline, speech-schema, wire-model. UNAVAILABLE reasons: catalog-request (preserved HTTP/JSON/schema/transport cause), upstream-http, catalog-schema, audio-empty, audio-truncated, audio-headers, audio-transport. Confirmed catalog absence or lifecycle cancellation/deadline returns null. Health reports fixed AUTH_FAILED/API_ERROR/CONNECTION_ERROR/TIMEOUT/CANCELLED/INVALID_URL/INVALID_HEADERS results; credential and logging failures propagate.\n\nVerify: bun run check; bun run test; bun run build; node ../../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs; workspace-rules check for this package.\n'
39
+ },
40
+ tags: ['ai', 'providers', 'elevenlabs'],
41
+ parent: 'ai.providers',
42
+ order: 20,
43
+ surfaces: ['cli', 'web', 'in-app'],
44
+ hardware: ['consumer', 'cloud'],
45
+ enabled: true
46
+ };
47
+ const providerSchemaDescriptor = {
48
+ id: 'integrations/elevenlabs/ai/elevenlabs',
49
+ kind: AI_PROVIDER_SCHEMA_KIND,
50
+ providerId: 'elevenlabs',
51
+ schemaKind: 'connection',
52
+ sourcePath: 'integrations/elevenlabs/src/ai/providers/cloud/speech/elevenlabs/config/schemas/index.ts',
53
+ version: '0.1.0-rc.0',
54
+ name: 'ElevenLabs',
55
+ description: 'High-quality AI voice synthesis and cloning platform. Provides state-of-the-art text-to-speech with natural-sounding voices, voice cloning capabilities, and multilingual support.'
56
+ };
57
+ const providerMetadata = AIProviderMetadataSchema.parse(provider_elevenlabs);
58
+ const providerModelDescriptor1 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_elevenlabs_elevenlabs_eleven_flash_v2_5), providerMetadata);
59
+ const providerModelDescriptor2 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_elevenlabs_elevenlabs_eleven_multilingual_v2), providerMetadata);
60
+ const providerModelDescriptor3 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_elevenlabs_elevenlabs_eleven_v3), providerMetadata);
61
+ /** Complete runtime boundary for Elevenlabs-owned AI capabilities. */
62
+ export function createElevenlabsAIPlugin() {
63
+ return createRuntimePlugin({
64
+ id: 'integrations-elevenlabs/ai',
65
+ name: 'Elevenlabs AI Integration',
66
+ description: 'Registers Elevenlabs-owned AI descriptors and lazy implementations',
67
+ dependencies: ['ai.runtime'],
68
+ onRegister(runtime) {
69
+ runtime.registerDescriptor('ai/provider', elevenlabsProviderDescriptor);
70
+ runtime.registerDescriptor('config/manifest', elevenlabsProviderConfigDescriptor);
71
+ runtime.registerDescriptor('ai/provider-detection', providerDetectionDescriptor);
72
+ runtime.registerDescriptor(AI_PROVIDER_SCHEMA_KIND, providerSchemaDescriptor);
73
+ runtime.registerDescriptor(AI_PROVIDER_RECOMMENDATION_KIND, providerRecommendationDescriptor);
74
+ runtime.registerDescriptor('ai/spec', elevenlabsTtsDescriptor);
75
+ if (runtime.hasKind('docs/topic'))
76
+ runtime.registerDescriptor('docs/topic', providerDocsDescriptor);
77
+ runtime.registerDescriptor('ai/model', providerModelDescriptor1);
78
+ runtime.registerDescriptor('ai/model', providerModelDescriptor2);
79
+ runtime.registerDescriptor('ai/model', providerModelDescriptor3);
80
+ },
81
+ onActivate(runtime) {
82
+ runtime.registerLoader('ai/provider', 'elevenlabs', async () => ({
83
+ meta: { id: 'elevenlabs', kind: 'ai/provider', priority: 0 },
84
+ impl: (await import("./providers/elevenlabs/elevenlabs.provider.impl.js"))
85
+ .ElevenLabsProviderType
86
+ }));
87
+ runtime.registerLoader('ai/provider-detection', 'elevenlabs', async () => ({
88
+ meta: { id: 'elevenlabs', kind: 'ai/provider-detection', priority: 0 },
89
+ impl: {
90
+ detect: async () => (await import("./providers/elevenlabs/detection/system.js")).detectElevenLabsSystem(runtime)
91
+ }
92
+ }));
93
+ runtime.registerLoader(AI_PROVIDER_SCHEMA_KIND, providerSchemaDescriptor.id, async () => ({
94
+ meta: { id: providerSchemaDescriptor.id, kind: AI_PROVIDER_SCHEMA_KIND, priority: 0 },
95
+ impl: {
96
+ connectionSchema: schema0,
97
+ metadata: {
98
+ name: 'ElevenLabs',
99
+ description: 'High-quality AI voice synthesis and cloning platform. Provides state-of-the-art text-to-speech with natural-sounding voices, voice cloning capabilities, and multilingual support.',
100
+ category: 'cloud',
101
+ capabilities: ['audio', 'connection'],
102
+ fields: []
103
+ }
104
+ }
105
+ }));
106
+ runtime.registerLoader(AI_PROVIDER_RECOMMENDATION_KIND, providerRecommendationDescriptor.id, async () => ({
107
+ meta: {
108
+ id: providerRecommendationDescriptor.id,
109
+ kind: AI_PROVIDER_RECOMMENDATION_KIND,
110
+ priority: providerRecommendationDescriptor.priority ?? 0
111
+ },
112
+ impl: new (await import("./providers/elevenlabs/recommendations.js")).ElevenLabsRecommendation()
113
+ }));
114
+ runtime.registerLoader('ai/spec', elevenlabsTtsDescriptor.id, async () => ({
115
+ impl: new (await import("./specs/elevenlabs-tts/elevenlabs-tts.spec.impl.js")).default()
116
+ }));
117
+ }
118
+ });
119
+ }
120
+ export const elevenlabsAIPlugin = createElevenlabsAIPlugin();
121
+ export default elevenlabsAIPlugin;
122
+ //# sourceMappingURL=provider.plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.plugin.js","sourceRoot":"","sources":["../../src/ai/provider.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,E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