@vibesdotdev/integrations-faster-whisper 0.0.0-stage → 1.0.0-rc.4

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 (79) hide show
  1. package/LICENSE +126 -0
  2. package/README.md +27 -2
  3. package/dist/ai/index.d.ts +4 -0
  4. package/dist/ai/index.d.ts.map +1 -0
  5. package/dist/ai/index.js +4 -0
  6. package/dist/ai/index.js.map +1 -0
  7. package/dist/ai/metadata/provider-models/faster-whisper/faster-whisper-base.json +17 -0
  8. package/dist/ai/metadata/provider-models/faster-whisper/faster-whisper-large-v2.json +17 -0
  9. package/dist/ai/metadata/provider-models/faster-whisper/faster-whisper-large-v3.json +17 -0
  10. package/dist/ai/metadata/provider-models/faster-whisper/faster-whisper-medium.json +17 -0
  11. package/dist/ai/metadata/provider-models/faster-whisper/faster-whisper-small.json +17 -0
  12. package/dist/ai/metadata/provider-models/faster-whisper/large.v2.json +17 -0
  13. package/dist/ai/metadata/provider-models/faster-whisper/large.v3.json +17 -0
  14. package/dist/ai/metadata/providers/faster-whisper.json +7 -0
  15. package/dist/ai/provider.consumer.plugin.d.ts +4 -0
  16. package/dist/ai/provider.consumer.plugin.d.ts.map +1 -0
  17. package/dist/ai/provider.consumer.plugin.js +26 -0
  18. package/dist/ai/provider.consumer.plugin.js.map +1 -0
  19. package/dist/ai/provider.plugin.d.ts +6 -0
  20. package/dist/ai/provider.plugin.d.ts.map +1 -0
  21. package/dist/ai/provider.plugin.js +115 -0
  22. package/dist/ai/provider.plugin.js.map +1 -0
  23. package/dist/ai/providers/faster-whisper/detection/faster-whisper-system-detection.impl.consumer.d.ts +10 -0
  24. package/dist/ai/providers/faster-whisper/detection/faster-whisper-system-detection.impl.consumer.d.ts.map +1 -0
  25. package/dist/ai/providers/faster-whisper/detection/faster-whisper-system-detection.impl.consumer.js +21 -0
  26. package/dist/ai/providers/faster-whisper/detection/faster-whisper-system-detection.impl.consumer.js.map +1 -0
  27. package/dist/ai/providers/faster-whisper/faster-whisper.provider.impl.d.ts +37 -0
  28. package/dist/ai/providers/faster-whisper/faster-whisper.provider.impl.d.ts.map +1 -0
  29. package/dist/ai/providers/faster-whisper/faster-whisper.provider.impl.js +140 -0
  30. package/dist/ai/providers/faster-whisper/faster-whisper.provider.impl.js.map +1 -0
  31. package/dist/ai/providers/faster-whisper/index.d.ts +2 -0
  32. package/dist/ai/providers/faster-whisper/index.d.ts.map +1 -0
  33. package/dist/ai/providers/faster-whisper/index.js +2 -0
  34. package/dist/ai/providers/faster-whisper/index.js.map +1 -0
  35. package/dist/ai/providers/faster-whisper/python-probe.d.ts +5 -0
  36. package/dist/ai/providers/faster-whisper/python-probe.d.ts.map +1 -0
  37. package/dist/ai/providers/faster-whisper/python-probe.js +35 -0
  38. package/dist/ai/providers/faster-whisper/python-probe.js.map +1 -0
  39. package/dist/ai/providers/faster-whisper/recommendations.d.ts +21 -0
  40. package/dist/ai/providers/faster-whisper/recommendations.d.ts.map +1 -0
  41. package/dist/ai/providers/faster-whisper/recommendations.js +54 -0
  42. package/dist/ai/providers/faster-whisper/recommendations.js.map +1 -0
  43. package/dist/ai/providers/local/speech/faster-whisper/config/config.faster-whisper.descriptor.d.ts +4206 -0
  44. package/dist/ai/providers/local/speech/faster-whisper/config/config.faster-whisper.descriptor.d.ts.map +1 -0
  45. package/dist/ai/providers/local/speech/faster-whisper/config/config.faster-whisper.descriptor.js +33 -0
  46. package/dist/ai/providers/local/speech/faster-whisper/config/config.faster-whisper.descriptor.js.map +1 -0
  47. package/dist/ai/providers/local/speech/faster-whisper/config/schemas/index.d.ts +7 -0
  48. package/dist/ai/providers/local/speech/faster-whisper/config/schemas/index.d.ts.map +1 -0
  49. package/dist/ai/providers/local/speech/faster-whisper/config/schemas/index.js +6 -0
  50. package/dist/ai/providers/local/speech/faster-whisper/config/schemas/index.js.map +1 -0
  51. package/dist/ai/providers/local/speech/faster-whisper/index.d.ts +5 -0
  52. package/dist/ai/providers/local/speech/faster-whisper/index.d.ts.map +1 -0
  53. package/dist/ai/providers/local/speech/faster-whisper/index.js +4 -0
  54. package/dist/ai/providers/local/speech/faster-whisper/index.js.map +1 -0
  55. package/dist/ai/providers/local/speech/faster-whisper/provider.faster-whisper.descriptor.d.ts +189 -0
  56. package/dist/ai/providers/local/speech/faster-whisper/provider.faster-whisper.descriptor.d.ts.map +1 -0
  57. package/dist/ai/providers/local/speech/faster-whisper/provider.faster-whisper.descriptor.js +51 -0
  58. package/dist/ai/providers/local/speech/faster-whisper/provider.faster-whisper.descriptor.js.map +1 -0
  59. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.descriptor.d.ts +35 -0
  60. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.descriptor.d.ts.map +1 -0
  61. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.descriptor.js +24 -0
  62. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.descriptor.js.map +1 -0
  63. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.impl.d.ts +32 -0
  64. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.impl.d.ts.map +1 -0
  65. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.impl.js +126 -0
  66. package/dist/ai/specs/faster-whisper-cli/faster-whisper-cli.spec.impl.js.map +1 -0
  67. package/dist/index.d.ts +2 -0
  68. package/dist/index.d.ts.map +1 -0
  69. package/dist/index.js +2 -0
  70. package/dist/index.js.map +1 -0
  71. package/dist/schemas/probe.d.ts +9 -0
  72. package/dist/schemas/probe.d.ts.map +1 -0
  73. package/dist/schemas/probe.js +4 -0
  74. package/dist/schemas/probe.js.map +1 -0
  75. package/dist/schemas/transcription.d.ts +920 -0
  76. package/dist/schemas/transcription.d.ts.map +1 -0
  77. package/dist/schemas/transcription.js +21 -0
  78. package/dist/schemas/transcription.js.map +1 -0
  79. package/package.json +120 -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-faster-whisper
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,28 @@
1
- # Temporary Holding Version
1
+ # Faster Whisper
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
+ Local transcription and translation using the configured Python installation of
4
+ `faster-whisper`.
5
+
6
+ Compose `@vibesdotdev/integrations-faster-whisper/ai/consumer-plugin` alongside
7
+ the AI owner, Config and the host process transport. The compatible `/ai/plugin`
8
+ entrypoint composes the same consumer slice. Universal hosts can compose
9
+ `/ai/contract-plugin` for metadata, schemas and recommendations.
10
+
11
+ Resolve `ai/provider#faster-whisper` or use the AI owner's semantic client to
12
+ transcribe audio. The package root exports connection schemas and declarative
13
+ provider/config descriptors; concrete implementations remain on explicit
14
+ `/ai/providers/faster-whisper` subpaths.
15
+
16
+ Connection defaults: `{ pythonExecutable: 'python3', timeout: 60000 }`.
17
+ Supported models: base, small, medium, large-v2 and large-v3. Transcription takes
18
+ an audio base64 data URI and supports language, translation and word timestamps.
19
+ Output preserves text, segments, language, duration and per-word timestamps.
20
+
21
+ CLI refusals use stable reasons: `invalid-transcription-request`,
22
+ `malformed-audio`, `malformed-output`, and `empty-output`. They never include
23
+ audio or transcript contents. Detection distinguishes confirmed package absence
24
+ from transport failures; health reports either package absence or probe failure.
25
+
26
+ See [SPEC.md](./SPEC.md) for runtime contracts and verification.
27
+ Run `bun run check`, `bun run test` and `bun run build`; repository tooling
28
+ also runs rules and the configured zero-violation Oxlint ratchet.
@@ -0,0 +1,4 @@
1
+ /** Canonical faster-whisper AI schemas. */
2
+ export * from './providers/local/speech/faster-whisper/config/schemas/index.ts';
3
+ export * from './providers/local/speech/faster-whisper/index.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ai/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,cAAc,iEAAiE,CAAC;AAChF,cAAc,kDAAkD,CAAC"}
@@ -0,0 +1,4 @@
1
+ /** Canonical faster-whisper AI schemas. */
2
+ export * from "./providers/local/speech/faster-whisper/config/schemas/index.js";
3
+ export * from "./providers/local/speech/faster-whisper/index.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ai/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,cAAc,iEAAiE,CAAC;AAChF,cAAc,kDAAkD,CAAC"}
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "faster-whisper:base",
3
+ "providerId": "faster-whisper",
4
+ "providerModelId": "base",
5
+ "aliases": ["base", "faster-whisper:base"],
6
+ "globalModelId": "openai:whisper-1",
7
+ "source": "curated",
8
+ "displayName": "Faster Whisper Base (Local)",
9
+ "description": "Compact multilingual Faster Whisper model for local transcription.",
10
+ "modelType": "audio_transcription",
11
+ "capabilities": ["audio_transcription"],
12
+ "modalities": ["transcription"],
13
+ "configuration": { "modelId": "base" },
14
+ "hardware": ["consumer"],
15
+ "enabled": true,
16
+ "tags": ["faster-whisper", "local", "speech-to-text", "multilingual"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "faster-whisper:large-v2",
3
+ "providerId": "faster-whisper",
4
+ "providerModelId": "large-v2",
5
+ "aliases": ["large-v2", "faster-whisper:large-v2"],
6
+ "globalModelId": "openai:whisper-large-v2",
7
+ "source": "curated",
8
+ "displayName": "Faster Whisper Large v2 (Local)",
9
+ "description": "High-accuracy multilingual Faster Whisper model for local GPU-class hardware.",
10
+ "modelType": "audio_transcription",
11
+ "capabilities": ["audio_transcription"],
12
+ "modalities": ["transcription"],
13
+ "configuration": { "modelId": "large-v2" },
14
+ "hardware": ["consumer"],
15
+ "enabled": true,
16
+ "tags": ["faster-whisper", "local", "speech-to-text", "multilingual", "gpu"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "faster-whisper:large-v3",
3
+ "providerId": "faster-whisper",
4
+ "providerModelId": "large-v3",
5
+ "aliases": ["large-v3", "faster-whisper:large-v3"],
6
+ "globalModelId": "openai:whisper-large-v3",
7
+ "source": "curated",
8
+ "displayName": "Faster Whisper Large v3 (Local)",
9
+ "description": "Latest high-accuracy multilingual Faster Whisper model for local GPU-class hardware.",
10
+ "modelType": "audio_transcription",
11
+ "capabilities": ["audio_transcription"],
12
+ "modalities": ["transcription"],
13
+ "configuration": { "modelId": "large-v3" },
14
+ "hardware": ["consumer"],
15
+ "enabled": true,
16
+ "tags": ["faster-whisper", "local", "speech-to-text", "multilingual", "gpu"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "faster-whisper:medium",
3
+ "providerId": "faster-whisper",
4
+ "providerModelId": "medium",
5
+ "aliases": ["medium", "faster-whisper:medium"],
6
+ "globalModelId": "openai:whisper-1",
7
+ "source": "curated",
8
+ "displayName": "Faster Whisper Medium (Local)",
9
+ "description": "Higher-accuracy multilingual Faster Whisper model for capable local hardware.",
10
+ "modelType": "audio_transcription",
11
+ "capabilities": ["audio_transcription"],
12
+ "modalities": ["transcription"],
13
+ "configuration": { "modelId": "medium" },
14
+ "hardware": ["consumer"],
15
+ "enabled": true,
16
+ "tags": ["faster-whisper", "local", "speech-to-text", "multilingual"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "faster-whisper:small",
3
+ "providerId": "faster-whisper",
4
+ "providerModelId": "small",
5
+ "aliases": ["small", "faster-whisper:small"],
6
+ "globalModelId": "openai:whisper-1",
7
+ "source": "curated",
8
+ "displayName": "Faster Whisper Small (Local)",
9
+ "description": "Balanced local Faster Whisper model with improved accuracy over Base.",
10
+ "modelType": "audio_transcription",
11
+ "capabilities": ["audio_transcription"],
12
+ "modalities": ["transcription"],
13
+ "configuration": { "modelId": "small" },
14
+ "hardware": ["consumer"],
15
+ "enabled": true,
16
+ "tags": ["faster-whisper", "local", "speech-to-text", "multilingual"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "faster-whisper:large-v2",
3
+ "providerId": "faster-whisper",
4
+ "providerModelId": "large-v2",
5
+ "aliases": ["large-v2", "faster-whisper:large-v2"],
6
+ "globalModelId": "openai:whisper-large-v2",
7
+ "source": "curated",
8
+ "displayName": "Faster Whisper Large v2 (Local)",
9
+ "description": "High-accuracy multilingual Faster Whisper model for local GPU-class hardware.",
10
+ "modelType": "audio_transcription",
11
+ "capabilities": ["audio_transcription"],
12
+ "modalities": ["transcription"],
13
+ "configuration": { "modelId": "large-v2" },
14
+ "hardware": ["consumer"],
15
+ "enabled": true,
16
+ "tags": ["faster-whisper", "local", "speech-to-text", "multilingual", "gpu"]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "faster-whisper:large-v3",
3
+ "providerId": "faster-whisper",
4
+ "providerModelId": "large-v3",
5
+ "aliases": ["large-v3", "faster-whisper:large-v3"],
6
+ "globalModelId": "openai:whisper-large-v3",
7
+ "source": "curated",
8
+ "displayName": "Faster Whisper Large v3 (Local)",
9
+ "description": "Latest high-accuracy multilingual Faster Whisper model for local GPU-class hardware.",
10
+ "modelType": "audio_transcription",
11
+ "capabilities": ["audio_transcription"],
12
+ "modalities": ["transcription"],
13
+ "configuration": { "modelId": "large-v3" },
14
+ "hardware": ["consumer"],
15
+ "enabled": true,
16
+ "tags": ["faster-whisper", "local", "speech-to-text", "multilingual", "gpu"]
17
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "id": "faster-whisper",
3
+ "name": "Faster Whisper",
4
+ "compatibleKindId": "local-process",
5
+ "docsUrl": "https://github.com/SYSTRAN/faster-whisper",
6
+ "sourceUrls": ["https://github.com/SYSTRAN/faster-whisper"]
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare function createFasterWhisperAIPlugin(): import("@vibesdotdev/kernel").RuntimePlugin;
2
+ export declare const fasterWhisperAIPlugin: import("@vibesdotdev/kernel").RuntimePlugin;
3
+ export default fasterWhisperAIPlugin;
4
+ //# sourceMappingURL=provider.consumer.plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.consumer.plugin.d.ts","sourceRoot":"","sources":["../../src/ai/provider.consumer.plugin.ts"],"names":[],"mappings":"AAIA,wBAAgB,2BAA2B,gDAmB1C;AAED,eAAO,MAAM,qBAAqB,6CAAgC,CAAC;AACnE,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { createRuntimePlugin } from '@vibesdotdev/kernel';
2
+ import contractPlugin from "./provider.plugin.js";
3
+ import fasterWhisperCliDescriptor from "./specs/faster-whisper-cli/faster-whisper-cli.spec.descriptor.js";
4
+ export function createFasterWhisperAIPlugin() {
5
+ return createRuntimePlugin({
6
+ id: 'integrations-faster-whisper/ai/consumer',
7
+ async onRegister(runtime) { await runtime.registerPlugin(contractPlugin); },
8
+ onActivate(runtime) {
9
+ runtime.registerLoader('ai/provider', 'faster-whisper', async () => ({
10
+ meta: { id: 'faster-whisper', kind: 'ai/provider', priority: 0 },
11
+ impl: (await import("./providers/faster-whisper/faster-whisper.provider.impl.js"))
12
+ .FasterWhisperProviderType
13
+ }));
14
+ runtime.registerLoader('ai/provider-detection', 'faster-whisper', async () => ({
15
+ meta: { id: 'faster-whisper', kind: 'ai/provider-detection', priority: 0 },
16
+ impl: (await import("./providers/faster-whisper/detection/faster-whisper-system-detection.impl.consumer.js")).FasterWhisperSystemDetection
17
+ }));
18
+ runtime.registerLoader('ai/spec', fasterWhisperCliDescriptor.id, async () => ({
19
+ impl: (await import("./specs/faster-whisper-cli/faster-whisper-cli.spec.impl.js")).default
20
+ }));
21
+ }
22
+ });
23
+ }
24
+ export const fasterWhisperAIPlugin = createFasterWhisperAIPlugin();
25
+ export default fasterWhisperAIPlugin;
26
+ //# sourceMappingURL=provider.consumer.plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.consumer.plugin.js","sourceRoot":"","sources":["../../src/ai/provider.consumer.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,0BAA0B,MAAM,kEAAkE,CAAC;AAE1G,MAAM,UAAU,2BAA2B;IAC1C,OAAO,mBAAmB,CAAC;QAC1B,EAAE,EAAE,yCAAyC;QAC7C,KAAK,CAAC,UAAU,CAAC,OAAO,IAAI,MAAM,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;QAC3E,UAAU,CAAC,OAAO;YACjB,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;gBACpE,IAAI,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC,EAAE;gBAChE,IAAI,EAAE,CAAC,MAAM,MAAM,CAAC,4DAA4D,CAAC,CAAC;qBAChF,yBAAyB;aAC3B,CAAC,CAAC,CAAC;YACJ,OAAO,CAAC,cAAc,CAAC,uBAAuB,EAAE,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;gBAC9E,IAAI,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,CAAC,EAAE;gBAC1E,IAAI,EAAE,CAAC,MAAM,MAAM,CAAC,uFAAuF,CAAC,CAAC,CAAC,4BAA4B;aAC1I,CAAC,CAAC,CAAC;YACJ,OAAO,CAAC,cAAc,CAAC,SAAS,EAAE,0BAA0B,CAAC,EAAE,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;gBAC7E,IAAI,EAAE,CAAC,MAAM,MAAM,CAAC,4DAA4D,CAAC,CAAC,CAAC,OAAO;aAC1F,CAAC,CAAC,CAAC;QACL,CAAC;KACD,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,2BAA2B,EAAE,CAAC;AACnE,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type RuntimePlugin } from '@vibesdotdev/kernel';
2
+ /** Complete runtime boundary for Faster Whisper-owned AI capabilities. */
3
+ export declare function createFasterWhisperAIPlugin(): RuntimePlugin;
4
+ export declare const fasterWhisperAIPlugin: RuntimePlugin;
5
+ export default fasterWhisperAIPlugin;
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;AA+F9E,0EAA0E;AAC1E,wBAAgB,2BAA2B,IAAI,aAAa,CAmD3D;AAED,eAAO,MAAM,qBAAqB,EAAE,aAA6C,CAAC;AAClF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,115 @@
1
+ import { createRuntimePlugin } from '@vibesdotdev/kernel';
2
+ import { AI_PROVIDER_SCHEMA_KIND } from '@vibesdotdev/ai/providers-runtime/provider-schema-registration';
3
+ import { AI_PROVIDER_RECOMMENDATION_KIND, createAIProviderRecommendationDescriptor } from '@vibesdotdev/ai/recommendations/runtime';
4
+ import fasterWhisperCliDescriptor from "./specs/faster-whisper-cli/faster-whisper-cli.spec.descriptor.js";
5
+ import providerDescriptor from "./providers/local/speech/faster-whisper/provider.faster-whisper.descriptor.js";
6
+ import providerConfigDescriptor from "./providers/local/speech/faster-whisper/config/config.faster-whisper.descriptor.js";
7
+ import { fasterWhisperConnectionSchema } from "./providers/local/speech/faster-whisper/config/schemas/index.js";
8
+ import provider_faster_whisper from './metadata/providers/faster-whisper.json' with { type: 'json' };
9
+ import providerModel_faster_whisper_faster_whisper_base from './metadata/provider-models/faster-whisper/faster-whisper-base.json' with { type: 'json' };
10
+ import providerModel_faster_whisper_faster_whisper_large_v2 from './metadata/provider-models/faster-whisper/faster-whisper-large-v2.json' with { type: 'json' };
11
+ import providerModel_faster_whisper_faster_whisper_large_v3 from './metadata/provider-models/faster-whisper/faster-whisper-large-v3.json' with { type: 'json' };
12
+ import providerModel_faster_whisper_faster_whisper_medium from './metadata/provider-models/faster-whisper/faster-whisper-medium.json' with { type: 'json' };
13
+ import providerModel_faster_whisper_faster_whisper_small from './metadata/provider-models/faster-whisper/faster-whisper-small.json' with { type: 'json' };
14
+ import { AIProviderMetadataSchema, AIProviderModelMetadataSchema } from '@vibesdotdev/ai/metadata/schemas';
15
+ import { toAIModelDescriptor } from '@vibesdotdev/ai/metadata/models';
16
+ const providerDetectionDescriptor = {
17
+ id: 'faster-whisper',
18
+ kind: 'ai/provider-detection',
19
+ providerId: 'faster-whisper',
20
+ description: `System detection loader for ${'faster-whisper'}`
21
+ };
22
+ const providerRecommendationDescriptor = createAIProviderRecommendationDescriptor({
23
+ id: 'faster-whisper',
24
+ providerType: 'faster-whisper',
25
+ displayName: 'Faster Whisper',
26
+ name: 'Faster Whisper provider recommendation',
27
+ description: 'Run private offline transcription through the local faster-whisper Python runtime.',
28
+ hardware: ['consumer'],
29
+ enabled: true,
30
+ tags: ['faster-whisper', 'local', 'transcription']
31
+ });
32
+ const providerDocsDescriptor = {
33
+ kind: 'docs/topic',
34
+ id: 'ai.providers.faster-whisper',
35
+ title: 'Faster Whisper provider',
36
+ summary: 'Run private offline transcription through the local faster-whisper Python runtime.',
37
+ body: {
38
+ type: 'markdown',
39
+ sourceType: 'raw',
40
+ source: '# Faster Whisper\n\nInstall `faster-whisper` into the configured Python runtime. Compose /ai/consumer-plugin (compatible /ai/plugin) with the AI owner and process transport; /ai/contract-plugin is the pure metadata slice. Connection defaults are python3 and 60000 ms. Supports transcription, translation, segments and word timestamps for base, small, medium, large-v2 and large-v3. Audio must be a base64 audio data URI. Typed refusals: invalid-transcription-request, malformed-audio, malformed-output, empty-output; failures never echo audio or transcripts. Detection distinguishes confirmed package absence from transport failure; health reports PYTHON_PACKAGE_NOT_FOUND or PYTHON_PROBE_ERROR.\n'
41
+ },
42
+ tags: ['ai', 'providers', 'faster-whisper', 'local', 'transcription'],
43
+ parent: 'ai.providers',
44
+ order: 60,
45
+ surfaces: ['cli', 'web', 'in-app'],
46
+ hardware: ['consumer'],
47
+ enabled: true
48
+ };
49
+ const providerSchemaDescriptor = {
50
+ id: 'integrations/faster-whisper/ai/faster-whisper',
51
+ kind: AI_PROVIDER_SCHEMA_KIND,
52
+ providerId: 'faster-whisper',
53
+ schemaKind: 'connection',
54
+ sourcePath: 'integrations/faster-whisper/src/ai/providers/local/speech/faster-whisper/config/schemas/index.ts',
55
+ version: '0.1.0-rc.0',
56
+ name: 'Faster Whisper',
57
+ description: 'Local CTranslate2 implementation of Whisper for offline transcription.'
58
+ };
59
+ const providerMetadata = AIProviderMetadataSchema.parse(provider_faster_whisper);
60
+ const providerModelDescriptor1 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_faster_whisper_faster_whisper_base), providerMetadata);
61
+ const providerModelDescriptor2 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_faster_whisper_faster_whisper_large_v2), providerMetadata);
62
+ const providerModelDescriptor3 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_faster_whisper_faster_whisper_large_v3), providerMetadata);
63
+ const providerModelDescriptor4 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_faster_whisper_faster_whisper_medium), providerMetadata);
64
+ const providerModelDescriptor5 = toAIModelDescriptor(AIProviderModelMetadataSchema.parse(providerModel_faster_whisper_faster_whisper_small), providerMetadata);
65
+ /** Complete runtime boundary for Faster Whisper-owned AI capabilities. */
66
+ export function createFasterWhisperAIPlugin() {
67
+ return createRuntimePlugin({
68
+ id: 'integrations-faster-whisper/ai',
69
+ name: 'Faster Whisper AI Integration',
70
+ description: 'Registers Faster Whisper-owned AI descriptors and lazy implementations',
71
+ dependencies: ['ai.runtime', 'config'],
72
+ onRegister(runtime) {
73
+ runtime.registerDescriptor('ai/provider', providerDescriptor);
74
+ runtime.registerDescriptor('config/manifest', providerConfigDescriptor);
75
+ runtime.registerDescriptor('ai/provider-detection', providerDetectionDescriptor);
76
+ runtime.registerDescriptor(AI_PROVIDER_SCHEMA_KIND, providerSchemaDescriptor);
77
+ runtime.registerDescriptor(AI_PROVIDER_RECOMMENDATION_KIND, providerRecommendationDescriptor);
78
+ runtime.registerDescriptor('ai/spec', fasterWhisperCliDescriptor);
79
+ if (runtime.hasKind('docs/topic'))
80
+ runtime.registerDescriptor('docs/topic', providerDocsDescriptor);
81
+ runtime.registerDescriptor('ai/model', providerModelDescriptor1);
82
+ runtime.registerDescriptor('ai/model', providerModelDescriptor2);
83
+ runtime.registerDescriptor('ai/model', providerModelDescriptor3);
84
+ runtime.registerDescriptor('ai/model', providerModelDescriptor4);
85
+ runtime.registerDescriptor('ai/model', providerModelDescriptor5);
86
+ },
87
+ onActivate(runtime) {
88
+ runtime.registerLoader(AI_PROVIDER_SCHEMA_KIND, providerSchemaDescriptor.id, async () => ({
89
+ meta: { id: providerSchemaDescriptor.id, kind: AI_PROVIDER_SCHEMA_KIND, priority: 0 },
90
+ impl: {
91
+ connectionSchema: fasterWhisperConnectionSchema,
92
+ metadata: {
93
+ name: 'Faster Whisper',
94
+ description: 'Local CTranslate2 implementation of Whisper for offline transcription.',
95
+ category: 'local',
96
+ capabilities: ['transcription', 'connection'],
97
+ fields: []
98
+ }
99
+ }
100
+ }));
101
+ runtime.registerLoader(AI_PROVIDER_RECOMMENDATION_KIND, providerRecommendationDescriptor.id, async () => ({
102
+ meta: {
103
+ id: providerRecommendationDescriptor.id,
104
+ kind: AI_PROVIDER_RECOMMENDATION_KIND,
105
+ priority: providerRecommendationDescriptor.priority ?? 0
106
+ },
107
+ impl: (await import("./providers/faster-whisper/recommendations.js"))
108
+ .FasterWhisperRecommendation
109
+ }));
110
+ }
111
+ });
112
+ }
113
+ export const fasterWhisperAIPlugin = createFasterWhisperAIPlugin();
114
+ export default fasterWhisperAIPlugin;
115
+ //# 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,EAAsB,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACN,uBAAuB,EAEvB,MAAM,gEAAgE,CAAC;AACxE,OAAO,EACN,+BAA+B,EAC/B,wCAAwC,EACxC,MAAM,yCAAyC,CAAC;AAIjD,OAAO,0BAA0B,MAAM,kEAAkE,CAAC;AAC1G,OAAO,kBAAkB,MAAM,+EAA+E,CAAC;AAC/G,OAAO,wBAAwB,MAAM,oFAAoF,CAAC;AAC1H,OAAO,EAAE,6BAA6B,EAAE,MAAM,iEAAiE,CAAC;AAChH,OAAO,uBAAuB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACrG,OAAO,gDAAgD,MAAM,oEAAoE,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACxJ,OAAO,oDAAoD,MAAM,wEAAwE,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;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AAE,YAAY,CAAC;wBAC7C,MAAM,EAAE,EAAE;qBACV;iBACD;aACD,CAAC,CAAC,CAAC;YACJ,OAAO,CAAC,cAAc,CACrB,+BAA+B,EAC/B,gCAAgC,CAAC,EAAE,EACnC,KAAK,IAAI,EAAE,CAAC,CAAC;gBACZ,IAAI,EAAE;oBACL,EAAE,EAAE,gCAAgC,CAAC,EAAE;oBACvC,IAAI,EAAE,+BAA+B;oBACrC,QAAQ,EAAE,gCAAgC,CAAC,QAAQ,IAAI,CAAC;iBACxD;gBACD,IAAI,EAAE,CAAC,MAAM,MAAM,CAAC,+CAA+C,CAAC,CAAC;qBACnE,2BAA2B;aAC7B,CAAC,CACF,CAAC;QAEH,CAAC;KACD,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAkB,2BAA2B,EAAE,CAAC;AAClF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { DetectedProvider } from '@vibesdotdev/ai/providers-runtime/client/types';
2
+ import type { KindContext, VibesRuntime } from '@vibesdotdev/kernel';
3
+ import type { AIProviderDetectionDescriptor, ProviderDetectionImplementation } from '@vibesdotdev/ai/providers-runtime/schemas';
4
+ export declare function detectFasterWhisperSystem(runtime: VibesRuntime): Promise<DetectedProvider | null>;
5
+ export declare class FasterWhisperSystemDetection implements ProviderDetectionImplementation {
6
+ private readonly context;
7
+ constructor(_descriptor: AIProviderDetectionDescriptor, context: KindContext<VibesRuntime>);
8
+ detect(): Promise<DetectedProvider | null>;
9
+ }
10
+ //# sourceMappingURL=faster-whisper-system-detection.impl.consumer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"faster-whisper-system-detection.impl.consumer.d.ts","sourceRoot":"","sources":["../../../../../src/ai/providers/faster-whisper/detection/faster-whisper-system-detection.impl.consumer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAIhI,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAOvG;AAED,qBAAa,4BAA6B,YAAW,+BAA+B;IAC3B,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAApE,WAAW,EAAE,6BAA6B,EAAmB,OAAO,EAAE,WAAW,CAAC,YAAY,CAAC;IAE3G,MAAM,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CAG1C"}
@@ -0,0 +1,21 @@
1
+ import { fasterWhisperConnectionSchema } from "../../local/speech/faster-whisper/config/schemas/index.js";
2
+ import { probePython } from "../python-probe.js";
3
+ export async function detectFasterWhisperSystem(runtime) {
4
+ if (!(await probePython(runtime)))
5
+ return null;
6
+ return {
7
+ providerType: 'faster-whisper', name: 'Faster Whisper (Local Python)',
8
+ description: 'Private offline transcription through the local faster-whisper Python package',
9
+ status: 'available', models: [], configuration: fasterWhisperConnectionSchema.parse({})
10
+ };
11
+ }
12
+ export class FasterWhisperSystemDetection {
13
+ context;
14
+ constructor(_descriptor, context) {
15
+ this.context = context;
16
+ }
17
+ detect() {
18
+ return detectFasterWhisperSystem(this.context.runtime);
19
+ }
20
+ }
21
+ //# sourceMappingURL=faster-whisper-system-detection.impl.consumer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"faster-whisper-system-detection.impl.consumer.js","sourceRoot":"","sources":["../../../../../src/ai/providers/faster-whisper/detection/faster-whisper-system-detection.impl.consumer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,2DAA2D,CAAC;AAC1G,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,OAAqB;IACpE,IAAI,CAAC,CAAC,MAAM,WAAW,CAAC,OAAO,CAAC,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/C,OAAO;QACN,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,+BAA+B;QACrE,WAAW,EAAE,+EAA+E;QAC5F,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,6BAA6B,CAAC,KAAK,CAAC,EAAE,CAAC;KACvF,CAAC;AACH,CAAC;AAED,MAAM,OAAO,4BAA4B;IACiC;IAAzE,YAAY,WAA0C,EAAmB,OAAkC;QAAlC,YAAO,GAAP,OAAO,CAA2B;IAAG,CAAC;IAE/G,MAAM;QACL,OAAO,yBAAyB,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACxD,CAAC;CACD"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Faster Whisper Provider Type Implementation
3
+ *
4
+ * Provider type implementation for Faster Whisper.
5
+ * Provides helper methods for working with Faster Whisper instances.
6
+ */
7
+ import type { AIProviderTypeInterface, AIProviderTypeContext, ProviderGenerateOptions, ProviderGenerateResult, DetectedProviderInstance, ModelRecommendation, ProviderHealthCheckResult, ConnectionValidationResult } from '@vibesdotdev/ai/interfaces/provider-type';
8
+ import type { AIProviderTypeDescriptor } from '@vibesdotdev/ai/providers-runtime/schemas/type-descriptor';
9
+ import type { AIProviderDescriptor } from '@vibesdotdev/ai/providers-runtime/schemas/provider-descriptor';
10
+ import type { AIModelDescriptor } from '@vibesdotdev/ai/models/schemas';
11
+ import type { GenerationRequest } from '@vibesdotdev/ai/interfaces/adapter';
12
+ import type { Modality } from '@vibesdotdev/ai/models/schemas/constants';
13
+ export declare class FasterWhisperProviderType implements AIProviderTypeInterface {
14
+ readonly descriptor: AIProviderTypeDescriptor;
15
+ private context;
16
+ constructor(descriptor: AIProviderTypeDescriptor, context: AIProviderTypeContext);
17
+ /**
18
+ * Generate using this provider (delegates to ai/generation)
19
+ */
20
+ generate<T extends Modality>(providerInstance: AIProviderDescriptor, model: AIModelDescriptor, request: GenerationRequest<T>, options?: ProviderGenerateOptions): Promise<ProviderGenerateResult<T>>;
21
+ /**
22
+ * Detect installed Faster Whisper instances
23
+ * Checks whether the canonical python3 runtime can import faster_whisper
24
+ */
25
+ detectInstalled(): Promise<DetectedProviderInstance[]>;
26
+ /**
27
+ * Recommend models for a use case
28
+ */
29
+ recommendModels(useCase: string, _context?: Parameters<AIProviderTypeInterface['recommendModels']>[1]): Promise<ModelRecommendation[]>;
30
+ /**
31
+ * Check health of a Faster Whisper instance
32
+ */
33
+ checkHealth(instanceConfig: Parameters<AIProviderTypeInterface['checkHealth']>[0], options?: Parameters<AIProviderTypeInterface['checkHealth']>[1]): Promise<ProviderHealthCheckResult>;
34
+ validateConnection(config: Parameters<AIProviderTypeInterface['validateConnection']>[0]): Promise<ConnectionValidationResult>;
35
+ dispose(): Promise<void>;
36
+ }
37
+ //# sourceMappingURL=faster-whisper.provider.impl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"faster-whisper.provider.impl.d.ts","sourceRoot":"","sources":["../../../../src/ai/providers/faster-whisper/faster-whisper.provider.impl.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACX,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,0BAA0B,EAC1B,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2DAA2D,CAAC;AAC1G,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+DAA+D,CAAC;AAC1G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AASzE,qBAAa,yBAA0B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