@contractspec/example.voice-providers 3.2.0 → 3.4.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/.turbo/turbo-build.log +48 -44
- package/.turbo/turbo-prebuild.log +2 -1
- package/CHANGELOG.md +28 -0
- package/dist/browser/index.js +22 -1
- package/dist/browser/voice-providers.feature.js +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +22 -1
- package/dist/node/index.js +22 -1
- package/dist/node/voice-providers.feature.js +22 -0
- package/dist/voice-providers.feature.d.ts +1 -0
- package/dist/voice-providers.feature.js +23 -0
- package/package.json +20 -6
- package/src/index.ts +1 -0
- package/src/voice-providers.feature.ts +22 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,44 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
./
|
|
10
|
-
./
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
[
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
./
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
./
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
[
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
./
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run prebuild && bun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
5
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
6
|
+
[contractspec-bun-build] transpile target=bun root=src entries=10
|
|
7
|
+
[32mBundled 10 modules in 25ms[0m
|
|
8
|
+
|
|
9
|
+
[34m./connection.sample.js[0m 1.50 KB [2m(entry point)[0m
|
|
10
|
+
[34m./run.js[0m 5.65 KB [2m(entry point)[0m
|
|
11
|
+
[34m./index.js[0m 6.66 KB [2m(entry point)[0m
|
|
12
|
+
[34m./voice-providers.feature.js[0m 0.69 KB [2m(entry point)[0m
|
|
13
|
+
[34mdocs/index.js[0m 1.93 KB [2m(entry point)[0m
|
|
14
|
+
[34mdocs/voice-providers.docblock.js[0m 1.93 KB [2m(entry point)[0m
|
|
15
|
+
[34m./example.js[0m 0.99 KB [2m(entry point)[0m
|
|
16
|
+
[34mhandlers/list-voices.js[0m 1.40 KB [2m(entry point)[0m
|
|
17
|
+
[34mhandlers/synthesize.js[0m 1.43 KB [2m(entry point)[0m
|
|
18
|
+
[34mhandlers/create-provider.js[0m 1.27 KB [2m(entry point)[0m
|
|
19
|
+
|
|
20
|
+
[contractspec-bun-build] transpile target=node root=src entries=10
|
|
21
|
+
[32mBundled 10 modules in 11ms[0m
|
|
22
|
+
|
|
23
|
+
[34m./connection.sample.js[0m 1.49 KB [2m(entry point)[0m
|
|
24
|
+
[34m./run.js[0m 5.64 KB [2m(entry point)[0m
|
|
25
|
+
[34m./index.js[0m 6.65 KB [2m(entry point)[0m
|
|
26
|
+
[34m./voice-providers.feature.js[0m 0.68 KB [2m(entry point)[0m
|
|
27
|
+
[34mdocs/index.js[0m 1.92 KB [2m(entry point)[0m
|
|
28
|
+
[34mdocs/voice-providers.docblock.js[0m 1.92 KB [2m(entry point)[0m
|
|
29
|
+
[34m./example.js[0m 0.99 KB [2m(entry point)[0m
|
|
30
|
+
[34mhandlers/list-voices.js[0m 1.40 KB [2m(entry point)[0m
|
|
31
|
+
[34mhandlers/synthesize.js[0m 1.42 KB [2m(entry point)[0m
|
|
32
|
+
[34mhandlers/create-provider.js[0m 1.26 KB [2m(entry point)[0m
|
|
33
|
+
|
|
34
|
+
[contractspec-bun-build] transpile target=browser root=src entries=10
|
|
35
|
+
[32mBundled 10 modules in 13ms[0m
|
|
36
|
+
|
|
37
|
+
[34m./connection.sample.js[0m 1.49 KB [2m(entry point)[0m
|
|
38
|
+
[34m./run.js[0m 5.64 KB [2m(entry point)[0m
|
|
39
|
+
[34m./index.js[0m 6.65 KB [2m(entry point)[0m
|
|
40
|
+
[34m./voice-providers.feature.js[0m 0.68 KB [2m(entry point)[0m
|
|
41
|
+
[34mdocs/index.js[0m 1.92 KB [2m(entry point)[0m
|
|
42
|
+
[34mdocs/voice-providers.docblock.js[0m 1.92 KB [2m(entry point)[0m
|
|
43
|
+
[34m./example.js[0m 0.99 KB [2m(entry point)[0m
|
|
44
|
+
[34mhandlers/list-voices.js[0m 1.40 KB [2m(entry point)[0m
|
|
45
|
+
[34mhandlers/synthesize.js[0m 1.42 KB [2m(entry point)[0m
|
|
46
|
+
[34mhandlers/create-provider.js[0m 1.26 KB [2m(entry point)[0m
|
|
47
|
+
|
|
48
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @contractspec/example.voice-providers
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0ee467a: feat: improve ai and customization
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [0ee467a]
|
|
12
|
+
- Updated dependencies [56ee8e6]
|
|
13
|
+
- @contractspec/integration.providers-impls@3.4.0
|
|
14
|
+
- @contractspec/lib.contracts-integrations@3.4.0
|
|
15
|
+
- @contractspec/lib.contracts-spec@3.4.0
|
|
16
|
+
|
|
17
|
+
## 3.3.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 890a0da: fix: stability improvements
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [890a0da]
|
|
26
|
+
- Updated dependencies [575b316]
|
|
27
|
+
- @contractspec/integration.providers-impls@3.3.0
|
|
28
|
+
- @contractspec/lib.contracts-integrations@3.3.0
|
|
29
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
30
|
+
|
|
3
31
|
## 3.2.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
package/dist/browser/index.js
CHANGED
|
@@ -160,6 +160,26 @@ async function synthesizeVoice(input) {
|
|
|
160
160
|
const provider = createVoiceProvider(input);
|
|
161
161
|
return provider.synthesize(input.synthesis);
|
|
162
162
|
}
|
|
163
|
+
|
|
164
|
+
// src/voice-providers.feature.ts
|
|
165
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
166
|
+
var VoiceProvidersFeature = defineFeature({
|
|
167
|
+
meta: {
|
|
168
|
+
key: "voice-providers",
|
|
169
|
+
version: "1.0.0",
|
|
170
|
+
title: "Voice Providers",
|
|
171
|
+
description: "Voice provider integration for TTS synthesis with multiple providers",
|
|
172
|
+
domain: "integration",
|
|
173
|
+
owners: ["@examples"],
|
|
174
|
+
tags: ["voice", "tts", "providers", "synthesis"],
|
|
175
|
+
stability: "experimental"
|
|
176
|
+
},
|
|
177
|
+
integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
|
|
178
|
+
docs: [
|
|
179
|
+
"docs.examples.voice-providers",
|
|
180
|
+
"docs.examples.voice-providers.usage"
|
|
181
|
+
]
|
|
182
|
+
});
|
|
163
183
|
export {
|
|
164
184
|
voiceSampleConnections,
|
|
165
185
|
synthesizeVoice,
|
|
@@ -167,5 +187,6 @@ export {
|
|
|
167
187
|
gradiumVoiceConnection,
|
|
168
188
|
falVoiceConnection,
|
|
169
189
|
example_default as example,
|
|
170
|
-
createVoiceProvider
|
|
190
|
+
createVoiceProvider,
|
|
191
|
+
VoiceProvidersFeature
|
|
171
192
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/voice-providers.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var VoiceProvidersFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "voice-providers",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Voice Providers",
|
|
8
|
+
description: "Voice provider integration for TTS synthesis with multiple providers",
|
|
9
|
+
domain: "integration",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["voice", "tts", "providers", "synthesis"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
|
|
15
|
+
docs: [
|
|
16
|
+
"docs.examples.voice-providers",
|
|
17
|
+
"docs.examples.voice-providers.usage"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
VoiceProvidersFeature
|
|
22
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -2,5 +2,6 @@ export * from './handlers/create-provider';
|
|
|
2
2
|
export * from './handlers/list-voices';
|
|
3
3
|
export * from './handlers/synthesize';
|
|
4
4
|
export * from './connection.sample';
|
|
5
|
+
export * from './voice-providers.feature';
|
|
5
6
|
export { default as example } from './example';
|
|
6
7
|
import './docs';
|
package/dist/index.js
CHANGED
|
@@ -161,6 +161,26 @@ async function synthesizeVoice(input) {
|
|
|
161
161
|
const provider = createVoiceProvider(input);
|
|
162
162
|
return provider.synthesize(input.synthesis);
|
|
163
163
|
}
|
|
164
|
+
|
|
165
|
+
// src/voice-providers.feature.ts
|
|
166
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
167
|
+
var VoiceProvidersFeature = defineFeature({
|
|
168
|
+
meta: {
|
|
169
|
+
key: "voice-providers",
|
|
170
|
+
version: "1.0.0",
|
|
171
|
+
title: "Voice Providers",
|
|
172
|
+
description: "Voice provider integration for TTS synthesis with multiple providers",
|
|
173
|
+
domain: "integration",
|
|
174
|
+
owners: ["@examples"],
|
|
175
|
+
tags: ["voice", "tts", "providers", "synthesis"],
|
|
176
|
+
stability: "experimental"
|
|
177
|
+
},
|
|
178
|
+
integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
|
|
179
|
+
docs: [
|
|
180
|
+
"docs.examples.voice-providers",
|
|
181
|
+
"docs.examples.voice-providers.usage"
|
|
182
|
+
]
|
|
183
|
+
});
|
|
164
184
|
export {
|
|
165
185
|
voiceSampleConnections,
|
|
166
186
|
synthesizeVoice,
|
|
@@ -168,5 +188,6 @@ export {
|
|
|
168
188
|
gradiumVoiceConnection,
|
|
169
189
|
falVoiceConnection,
|
|
170
190
|
example_default as example,
|
|
171
|
-
createVoiceProvider
|
|
191
|
+
createVoiceProvider,
|
|
192
|
+
VoiceProvidersFeature
|
|
172
193
|
};
|
package/dist/node/index.js
CHANGED
|
@@ -160,6 +160,26 @@ async function synthesizeVoice(input) {
|
|
|
160
160
|
const provider = createVoiceProvider(input);
|
|
161
161
|
return provider.synthesize(input.synthesis);
|
|
162
162
|
}
|
|
163
|
+
|
|
164
|
+
// src/voice-providers.feature.ts
|
|
165
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
166
|
+
var VoiceProvidersFeature = defineFeature({
|
|
167
|
+
meta: {
|
|
168
|
+
key: "voice-providers",
|
|
169
|
+
version: "1.0.0",
|
|
170
|
+
title: "Voice Providers",
|
|
171
|
+
description: "Voice provider integration for TTS synthesis with multiple providers",
|
|
172
|
+
domain: "integration",
|
|
173
|
+
owners: ["@examples"],
|
|
174
|
+
tags: ["voice", "tts", "providers", "synthesis"],
|
|
175
|
+
stability: "experimental"
|
|
176
|
+
},
|
|
177
|
+
integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
|
|
178
|
+
docs: [
|
|
179
|
+
"docs.examples.voice-providers",
|
|
180
|
+
"docs.examples.voice-providers.usage"
|
|
181
|
+
]
|
|
182
|
+
});
|
|
163
183
|
export {
|
|
164
184
|
voiceSampleConnections,
|
|
165
185
|
synthesizeVoice,
|
|
@@ -167,5 +187,6 @@ export {
|
|
|
167
187
|
gradiumVoiceConnection,
|
|
168
188
|
falVoiceConnection,
|
|
169
189
|
example_default as example,
|
|
170
|
-
createVoiceProvider
|
|
190
|
+
createVoiceProvider,
|
|
191
|
+
VoiceProvidersFeature
|
|
171
192
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/voice-providers.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var VoiceProvidersFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "voice-providers",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Voice Providers",
|
|
8
|
+
description: "Voice provider integration for TTS synthesis with multiple providers",
|
|
9
|
+
domain: "integration",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["voice", "tts", "providers", "synthesis"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
|
|
15
|
+
docs: [
|
|
16
|
+
"docs.examples.voice-providers",
|
|
17
|
+
"docs.examples.voice-providers.usage"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
VoiceProvidersFeature
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VoiceProvidersFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/voice-providers.feature.ts
|
|
3
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
var VoiceProvidersFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "voice-providers",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "Voice Providers",
|
|
9
|
+
description: "Voice provider integration for TTS synthesis with multiple providers",
|
|
10
|
+
domain: "integration",
|
|
11
|
+
owners: ["@examples"],
|
|
12
|
+
tags: ["voice", "tts", "providers", "synthesis"],
|
|
13
|
+
stability: "experimental"
|
|
14
|
+
},
|
|
15
|
+
integrations: [{ key: "voice-providers.integration.tts", version: "1.0.0" }],
|
|
16
|
+
docs: [
|
|
17
|
+
"docs.examples.voice-providers",
|
|
18
|
+
"docs.examples.voice-providers.usage"
|
|
19
|
+
]
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
VoiceProvidersFeature
|
|
23
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.voice-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Voice provider example: Gradium and Fal text-to-speech integration patterns.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -74,6 +74,13 @@
|
|
|
74
74
|
"node": "./dist/node/run.js",
|
|
75
75
|
"browser": "./dist/browser/run.js",
|
|
76
76
|
"default": "./dist/run.js"
|
|
77
|
+
},
|
|
78
|
+
"./voice-providers.feature": {
|
|
79
|
+
"types": "./dist/voice-providers.feature.d.ts",
|
|
80
|
+
"bun": "./dist/voice-providers.feature.js",
|
|
81
|
+
"node": "./dist/node/voice-providers.feature.js",
|
|
82
|
+
"browser": "./dist/browser/voice-providers.feature.js",
|
|
83
|
+
"default": "./dist/voice-providers.feature.js"
|
|
77
84
|
}
|
|
78
85
|
},
|
|
79
86
|
"scripts": {
|
|
@@ -92,14 +99,14 @@
|
|
|
92
99
|
"typecheck": "tsc --noEmit"
|
|
93
100
|
},
|
|
94
101
|
"dependencies": {
|
|
95
|
-
"@contractspec/integration.providers-impls": "3.
|
|
96
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
97
|
-
"@contractspec/lib.contracts-integrations": "3.
|
|
102
|
+
"@contractspec/integration.providers-impls": "3.4.0",
|
|
103
|
+
"@contractspec/lib.contracts-spec": "3.4.0",
|
|
104
|
+
"@contractspec/lib.contracts-integrations": "3.4.0"
|
|
98
105
|
},
|
|
99
106
|
"devDependencies": {
|
|
100
|
-
"@contractspec/tool.typescript": "3.
|
|
107
|
+
"@contractspec/tool.typescript": "3.4.0",
|
|
101
108
|
"typescript": "^5.9.3",
|
|
102
|
-
"@contractspec/tool.bun": "3.
|
|
109
|
+
"@contractspec/tool.bun": "3.4.0"
|
|
103
110
|
},
|
|
104
111
|
"publishConfig": {
|
|
105
112
|
"access": "public",
|
|
@@ -173,6 +180,13 @@
|
|
|
173
180
|
"node": "./dist/node/run.js",
|
|
174
181
|
"browser": "./dist/browser/run.js",
|
|
175
182
|
"default": "./dist/run.js"
|
|
183
|
+
},
|
|
184
|
+
"./voice-providers.feature": {
|
|
185
|
+
"types": "./dist/voice-providers.feature.d.ts",
|
|
186
|
+
"bun": "./dist/voice-providers.feature.js",
|
|
187
|
+
"node": "./dist/node/voice-providers.feature.js",
|
|
188
|
+
"browser": "./dist/browser/voice-providers.feature.js",
|
|
189
|
+
"default": "./dist/voice-providers.feature.js"
|
|
176
190
|
}
|
|
177
191
|
},
|
|
178
192
|
"registry": "https://registry.npmjs.org/"
|
package/src/index.ts
CHANGED
|
@@ -2,5 +2,6 @@ export * from './handlers/create-provider';
|
|
|
2
2
|
export * from './handlers/list-voices';
|
|
3
3
|
export * from './handlers/synthesize';
|
|
4
4
|
export * from './connection.sample';
|
|
5
|
+
export * from './voice-providers.feature';
|
|
5
6
|
export { default as example } from './example';
|
|
6
7
|
import './docs';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineFeature } from '@contractspec/lib.contracts-spec';
|
|
2
|
+
|
|
3
|
+
export const VoiceProvidersFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: 'voice-providers',
|
|
6
|
+
version: '1.0.0',
|
|
7
|
+
title: 'Voice Providers',
|
|
8
|
+
description:
|
|
9
|
+
'Voice provider integration for TTS synthesis with multiple providers',
|
|
10
|
+
domain: 'integration',
|
|
11
|
+
owners: ['@examples'],
|
|
12
|
+
tags: ['voice', 'tts', 'providers', 'synthesis'],
|
|
13
|
+
stability: 'experimental',
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
integrations: [{ key: 'voice-providers.integration.tts', version: '1.0.0' }],
|
|
17
|
+
|
|
18
|
+
docs: [
|
|
19
|
+
'docs.examples.voice-providers',
|
|
20
|
+
'docs.examples.voice-providers.usage',
|
|
21
|
+
],
|
|
22
|
+
});
|