@vibesdotdev/integrations-mistral 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 (53) hide show
  1. package/LICENSE +126 -0
  2. package/README.md +31 -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/assets/assets/logos/providers/mistral.svg +12 -0
  8. package/dist/ai/metadata/assets/logos/providers/mistral.svg +12 -0
  9. package/dist/ai/provider.plugin.d.ts +6 -0
  10. package/dist/ai/provider.plugin.d.ts.map +1 -0
  11. package/dist/ai/provider.plugin.js +103 -0
  12. package/dist/ai/provider.plugin.js.map +1 -0
  13. package/dist/ai/providers/cloud/api/mistral/config/config.mistral.descriptor.d.ts +4194 -0
  14. package/dist/ai/providers/cloud/api/mistral/config/config.mistral.descriptor.d.ts.map +1 -0
  15. package/dist/ai/providers/cloud/api/mistral/config/config.mistral.descriptor.js +43 -0
  16. package/dist/ai/providers/cloud/api/mistral/config/config.mistral.descriptor.js.map +1 -0
  17. package/dist/ai/providers/cloud/api/mistral/config/schemas/index.d.ts +15 -0
  18. package/dist/ai/providers/cloud/api/mistral/config/schemas/index.d.ts.map +1 -0
  19. package/dist/ai/providers/cloud/api/mistral/config/schemas/index.js +8 -0
  20. package/dist/ai/providers/cloud/api/mistral/config/schemas/index.js.map +1 -0
  21. package/dist/ai/providers/cloud/api/mistral/index.d.ts +3 -0
  22. package/dist/ai/providers/cloud/api/mistral/index.d.ts.map +1 -0
  23. package/dist/ai/providers/cloud/api/mistral/index.js +3 -0
  24. package/dist/ai/providers/cloud/api/mistral/index.js.map +1 -0
  25. package/dist/ai/providers/cloud/api/mistral/provider.mistral.descriptor.d.ts +183 -0
  26. package/dist/ai/providers/cloud/api/mistral/provider.mistral.descriptor.d.ts.map +1 -0
  27. package/dist/ai/providers/cloud/api/mistral/provider.mistral.descriptor.js +45 -0
  28. package/dist/ai/providers/cloud/api/mistral/provider.mistral.descriptor.js.map +1 -0
  29. package/dist/ai/providers/mistral/detection/index.d.ts +2 -0
  30. package/dist/ai/providers/mistral/detection/index.d.ts.map +1 -0
  31. package/dist/ai/providers/mistral/detection/index.js +2 -0
  32. package/dist/ai/providers/mistral/detection/index.js.map +1 -0
  33. package/dist/ai/providers/mistral/detection/system.d.ts +4 -0
  34. package/dist/ai/providers/mistral/detection/system.d.ts.map +1 -0
  35. package/dist/ai/providers/mistral/detection/system.js +16 -0
  36. package/dist/ai/providers/mistral/detection/system.js.map +1 -0
  37. package/dist/ai/providers/mistral/index.d.ts +4 -0
  38. package/dist/ai/providers/mistral/index.d.ts.map +1 -0
  39. package/dist/ai/providers/mistral/index.js +4 -0
  40. package/dist/ai/providers/mistral/index.js.map +1 -0
  41. package/dist/ai/providers/mistral/mistral.provider.impl.d.ts +18 -0
  42. package/dist/ai/providers/mistral/mistral.provider.impl.d.ts.map +1 -0
  43. package/dist/ai/providers/mistral/mistral.provider.impl.js +76 -0
  44. package/dist/ai/providers/mistral/mistral.provider.impl.js.map +1 -0
  45. package/dist/ai/providers/mistral/recommendations.d.ts +23 -0
  46. package/dist/ai/providers/mistral/recommendations.d.ts.map +1 -0
  47. package/dist/ai/providers/mistral/recommendations.js +20 -0
  48. package/dist/ai/providers/mistral/recommendations.js.map +1 -0
  49. package/dist/index.d.ts +2 -0
  50. package/dist/index.d.ts.map +1 -0
  51. package/dist/index.js +2 -0
  52. package/dist/index.js.map +1 -0
  53. package/package.json +71 -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-mistral
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,32 @@
1
- # Temporary Holding Version
1
+ # Mistral AI integration
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 Mistral provider, detection and recommendation capabilities for
4
+ Vibes AI. Compose the plugin with AI's runtime kinds, its providers plugin and
5
+ Infra's config kinds:
6
+
7
+ ```ts
8
+ import mistral from '@vibesdotdev/integrations-mistral/ai/plugin';
9
+
10
+ // After composing and activating the host runtime:
11
+ const provider = await runtime.query('ai/provider').withId('mistral').resolve();
12
+ ```
13
+
14
+ Use `mistralConnectionSchema` from the package root to validate connections:
15
+ `apiKey: { source: 'secret', key: 'MISTRAL_API_KEY' }`. The endpoint defaults to
16
+ `https://api.mistral.ai/v1` and the deadline to 60000 ms. Inline credentials
17
+ are refused. Health honors operation overrides and cancellation, uses AI's
18
+ bounded probe, and returns fixed failure messages. Credential-store and typed
19
+ request-host failures propagate.
20
+
21
+ Resolve recommendations through `ai/provider-recommendation#mistral`.
22
+ Concrete compatibility classes remain on explicit `./ai/providers/mistral/index`
23
+ subpaths. The former ambient recommendation singleton is replaced by
24
+ runtime-owned kind resolution. Resolve stateful AI access through
25
+ `getVibesAIClient(runtime)` from `@vibesdotdev/ai/client`; the host must
26
+ compose AI's semantic client. Generation additionally needs separately composed
27
+ compatible AI spec and transport assets and configured provider variants.
28
+
29
+ See [SPEC.md](SPEC.md) for exports, composition, defaults, refusals and tests.
30
+ Run `bun run check`, `bun run test` and `bun run build`, plus the configured
31
+ package lint and workspace rules. Typechecking includes tests; production
32
+ emission excludes tests and surfaces while retaining metadata assets.
@@ -0,0 +1,4 @@
1
+ /** Mistral connection contract and runtime composition. */
2
+ export * from './providers/cloud/api/mistral/config/schemas/index.ts';
3
+ export { createMistralAIPlugin, mistralAIPlugin } from './provider.plugin.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,2DAA2D;AAC3D,cAAc,uDAAuD,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,4 @@
1
+ /** Mistral connection contract and runtime composition. */
2
+ export * from "./providers/cloud/api/mistral/config/schemas/index.js";
3
+ export { createMistralAIPlugin, mistralAIPlugin } from "./provider.plugin.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ai/index.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,cAAc,uDAAuD,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,12 @@
1
+ <svg viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 0H3V3H6V0Z" fill="#FFAF01"/>
3
+ <path d="M6 9H3V12H6V9Z" fill="#E61300"/>
4
+ <path d="M9 12H0V15H9V12Z" fill="#C4001D"/>
5
+ <path d="M9 3H3V6H9V3Z" fill="#FF8204"/>
6
+ <path d="M12 9H9V12H12V9Z" fill="#E61300"/>
7
+ <path d="M18 6H3V9H18V6Z" fill="#FA500F"/>
8
+ <path d="M18 3H12V6H18V3Z" fill="#FF8204"/>
9
+ <path d="M18 0H15V3H18V0Z" fill="#FFAF01"/>
10
+ <path d="M18 9H15V12H18V9Z" fill="#E61300"/>
11
+ <path d="M21 12H12V15H21V12Z" fill="#C4001D"/>
12
+ </svg>
@@ -0,0 +1,12 @@
1
+ <svg viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 0H3V3H6V0Z" fill="#FFAF01"/>
3
+ <path d="M6 9H3V12H6V9Z" fill="#E61300"/>
4
+ <path d="M9 12H0V15H9V12Z" fill="#C4001D"/>
5
+ <path d="M9 3H3V6H9V3Z" fill="#FF8204"/>
6
+ <path d="M12 9H9V12H12V9Z" fill="#E61300"/>
7
+ <path d="M18 6H3V9H18V6Z" fill="#FA500F"/>
8
+ <path d="M18 3H12V6H18V3Z" fill="#FF8204"/>
9
+ <path d="M18 0H15V3H18V0Z" fill="#FFAF01"/>
10
+ <path d="M18 9H15V12H18V9Z" fill="#E61300"/>
11
+ <path d="M21 12H12V15H21V12Z" fill="#C4001D"/>
12
+ </svg>
@@ -0,0 +1,6 @@
1
+ import { type RuntimePlugin } from '@vibesdotdev/kernel';
2
+ /** Complete runtime boundary for Mistral-owned AI capabilities. */
3
+ export declare function createMistralAIPlugin(): RuntimePlugin;
4
+ export declare const mistralAIPlugin: RuntimePlugin;
5
+ export default mistralAIPlugin;
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;AA8D9E,mEAAmE;AACnE,wBAAgB,qBAAqB,IAAI,aAAa,CAsDrD;AAED,eAAO,MAAM,eAAe,EAAE,aAAuC,CAAC;AACtE,eAAe,eAAe,CAAC"}
@@ -0,0 +1,103 @@
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 mistralProviderDescriptor from "./providers/cloud/api/mistral/provider.mistral.descriptor.js";
5
+ import mistralProviderConfigDescriptor from "./providers/cloud/api/mistral/config/config.mistral.descriptor.js";
6
+ import { mistralConnectionSchema as schema0 } from "./providers/cloud/api/mistral/config/schemas/index.js";
7
+ const providerDetectionDescriptor = {
8
+ id: 'mistral',
9
+ kind: 'ai/provider-detection',
10
+ providerId: 'mistral',
11
+ description: `System detection loader for ${'mistral'}`
12
+ };
13
+ const providerRecommendationDescriptor = createAIProviderRecommendationDescriptor({
14
+ id: 'mistral',
15
+ providerType: 'mistral',
16
+ displayName: 'Mistral AI',
17
+ name: 'Mistral AI provider recommendation',
18
+ description: 'Scores Mistral without embedding vendor policy in Framework',
19
+ hardware: ['consumer', 'cloud'],
20
+ enabled: true,
21
+ tags: ['mistral', 'cloud', 'multilingual']
22
+ });
23
+ const providerDocsDescriptor = {
24
+ kind: 'docs/topic',
25
+ id: 'ai.providers.mistral',
26
+ title: 'Mistral AI provider',
27
+ summary: 'Configure Mistral inference through runtime-owned credentials.',
28
+ body: {
29
+ type: 'markdown',
30
+ sourceType: 'raw',
31
+ source: '# Mistral AI provider\n\nUse `MISTRAL_API_KEY` through a CredentialReference. Compatible chat wire formats remain separately composed host assets.\n'
32
+ },
33
+ tags: ['ai', 'providers', 'mistral'],
34
+ parent: 'ai.providers',
35
+ order: 25,
36
+ surfaces: ['cli', 'web', 'in-app'],
37
+ hardware: ['consumer', 'cloud'],
38
+ enabled: true
39
+ };
40
+ const providerSchemaDescriptor = {
41
+ id: 'integrations/mistral/ai/mistral',
42
+ kind: AI_PROVIDER_SCHEMA_KIND,
43
+ providerId: 'mistral',
44
+ schemaKind: 'connection',
45
+ sourcePath: 'integrations/mistral/src/ai/providers/cloud/api/mistral/config/schemas/index.ts',
46
+ version: '0.1.0-rc.0',
47
+ name: 'Mistral AI',
48
+ description: 'Mistral AI platform providing fast and efficient European AI models with strong multilingual support, function calling, and competitive pricing.'
49
+ };
50
+ /** Complete runtime boundary for Mistral-owned AI capabilities. */
51
+ export function createMistralAIPlugin() {
52
+ return createRuntimePlugin({
53
+ id: 'integrations-mistral/ai',
54
+ name: 'Mistral AI Integration',
55
+ description: 'Registers Mistral-owned AI descriptors and lazy implementations',
56
+ dependencies: ['ai/providers'],
57
+ onRegister(runtime) {
58
+ runtime.registerDescriptor('ai/provider', mistralProviderDescriptor);
59
+ runtime.registerDescriptor('config/manifest', mistralProviderConfigDescriptor);
60
+ runtime.registerDescriptor('ai/provider-detection', providerDetectionDescriptor);
61
+ runtime.registerDescriptor(AI_PROVIDER_SCHEMA_KIND, providerSchemaDescriptor);
62
+ runtime.registerDescriptor(AI_PROVIDER_RECOMMENDATION_KIND, providerRecommendationDescriptor);
63
+ if (runtime.hasKind('docs/topic'))
64
+ runtime.registerDescriptor('docs/topic', providerDocsDescriptor);
65
+ },
66
+ onActivate(runtime) {
67
+ runtime.registerLoader('ai/provider', 'mistral', async () => ({
68
+ meta: { id: 'mistral', kind: 'ai/provider', priority: 0 },
69
+ impl: (await import("./providers/mistral/mistral.provider.impl.js")).MistralProviderType
70
+ }));
71
+ runtime.registerLoader('ai/provider-detection', 'mistral', async () => ({
72
+ meta: { id: 'mistral', kind: 'ai/provider-detection', priority: 0 },
73
+ impl: {
74
+ detect: async () => (await import("./providers/mistral/detection/system.js")).detectMistralSystem(runtime)
75
+ }
76
+ }));
77
+ runtime.registerLoader(AI_PROVIDER_SCHEMA_KIND, providerSchemaDescriptor.id, async () => ({
78
+ meta: { id: providerSchemaDescriptor.id, kind: AI_PROVIDER_SCHEMA_KIND, priority: 0 },
79
+ impl: {
80
+ connectionSchema: schema0,
81
+ metadata: {
82
+ name: 'Mistral AI',
83
+ description: 'Mistral AI platform providing fast and efficient European AI models with strong multilingual support, function calling, and competitive pricing.',
84
+ category: 'cloud',
85
+ capabilities: ['text', 'embedding', 'connection'],
86
+ fields: []
87
+ }
88
+ }
89
+ }));
90
+ runtime.registerLoader(AI_PROVIDER_RECOMMENDATION_KIND, providerRecommendationDescriptor.id, async () => ({
91
+ meta: {
92
+ id: providerRecommendationDescriptor.id,
93
+ kind: AI_PROVIDER_RECOMMENDATION_KIND,
94
+ priority: providerRecommendationDescriptor.priority ?? 0
95
+ },
96
+ impl: new (await import("./providers/mistral/recommendations.js")).MistralRecommendation()
97
+ }));
98
+ }
99
+ });
100
+ }
101
+ export const mistralAIPlugin = createMistralAIPlugin();
102
+ export default mistralAIPlugin;
103
+ //# 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,mCAAmC,CAAC;AAC3C,OAAO,EACN,+BAA+B,EAC/B,wCAAwC,EACxC,MAAM,iCAAiC,CAAC;AAIzC,OAAO,yBAAyB,MAAM,8DAA8D,CAAC;AACrG,OAAO,+BAA+B,MAAM,mEAAmE,CAAC;AAChH,OAAO,EAAE,uBAAuB,IAAI,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAE3G,MAAM,2BAA2B,GAAkC;IAClE,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,uBAAuB;IAC7B,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,+BAA+B,SAAS,EAAE;CACvD,CAAC;AACF,MAAM,gCAAgC,GAAG,wCAAwC,CAAC;IACjF,EAAE,EAAE,SAAS;IACb,YAAY,EAAE,SAAS;IACvB,WAAW,EAAE,YAAY;IACzB,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EAAE,6DAA6D;IAC1E,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAA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