@memberjunction/ai-provider-bundle 3.4.0 → 4.0.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/dist/index.d.ts CHANGED
@@ -1,28 +1,10 @@
1
1
  /**
2
2
  * AI Provider Bundle
3
3
  *
4
- * This package loads all standard MemberJunction AI providers to prevent tree shaking
5
- * in production builds. By importing this bundle, consuming applications ensure that
6
- * all provider classes are registered and available at runtime.
4
+ * This package previously contained tree-shaking prevention functions for all
5
+ * standard MemberJunction AI providers. Tree-shaking prevention is now handled
6
+ * by the manifest system, making this package effectively a no-op.
7
7
  *
8
- * Architecture Note:
9
- * This bundle package separates provider-specific loading logic from the core AI Engine
10
- * architecture, maintaining clean separation of concerns between lower-level infrastructure
11
- * (Core, Engine, EngineBase) and provider implementations.
8
+ * The package is retained for backward compatibility with existing imports.
12
9
  */
13
- /**
14
- * Loads all standard AI providers to prevent tree shaking.
15
- * Call this function early in your application startup (e.g., in index.ts or main server file)
16
- * to ensure all AI providers are available throughout the application lifecycle.
17
- *
18
- * @example
19
- * ```typescript
20
- * // In your application's entry point
21
- * import { LoadAIProviders } from '@memberjunction/ai-provider-bundle';
22
- *
23
- * // Load all providers at startup
24
- * LoadAIProviders();
25
- * ```
26
- */
27
- export declare function LoadAIProviders(): void;
28
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA0BH;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,IAAI,IAAI,CA0CtC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
package/dist/index.js CHANGED
@@ -1,92 +1,10 @@
1
- "use strict";
2
1
  /**
3
2
  * AI Provider Bundle
4
3
  *
5
- * This package loads all standard MemberJunction AI providers to prevent tree shaking
6
- * in production builds. By importing this bundle, consuming applications ensure that
7
- * all provider classes are registered and available at runtime.
4
+ * This package previously contained tree-shaking prevention functions for all
5
+ * standard MemberJunction AI providers. Tree-shaking prevention is now handled
6
+ * by the manifest system, making this package effectively a no-op.
8
7
  *
9
- * Architecture Note:
10
- * This bundle package separates provider-specific loading logic from the core AI Engine
11
- * architecture, maintaining clean separation of concerns between lower-level infrastructure
12
- * (Core, Engine, EngineBase) and provider implementations.
8
+ * The package is retained for backward compatibility with existing imports.
13
9
  */
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LoadAIProviders = void 0;
16
- // Import all AI provider loaders
17
- const ai_openai_1 = require("@memberjunction/ai-openai");
18
- const ai_anthropic_1 = require("@memberjunction/ai-anthropic");
19
- const ai_azure_1 = require("@memberjunction/ai-azure");
20
- const ai_bedrock_1 = require("@memberjunction/ai-bedrock");
21
- const ai_betty_bot_1 = require("@memberjunction/ai-betty-bot");
22
- const ai_cerebras_1 = require("@memberjunction/ai-cerebras");
23
- const ai_cohere_1 = require("@memberjunction/ai-cohere");
24
- const ai_elevenlabs_1 = require("@memberjunction/ai-elevenlabs");
25
- const ai_fireworks_1 = require("@memberjunction/ai-fireworks");
26
- const ai_gemini_1 = require("@memberjunction/ai-gemini");
27
- const ai_groq_1 = require("@memberjunction/ai-groq");
28
- const ai_heygen_1 = require("@memberjunction/ai-heygen");
29
- const ai_lmstudio_1 = require("@memberjunction/ai-lmstudio");
30
- const ai_local_embeddings_1 = require("@memberjunction/ai-local-embeddings");
31
- const ai_mistral_1 = require("@memberjunction/ai-mistral");
32
- const ai_ollama_1 = require("@memberjunction/ai-ollama");
33
- const ai_openrouter_1 = require("@memberjunction/ai-openrouter");
34
- const ai_recommendations_rex_1 = require("@memberjunction/ai-recommendations-rex");
35
- const ai_vectors_pinecone_1 = require("@memberjunction/ai-vectors-pinecone");
36
- const ai_vertex_1 = require("@memberjunction/ai-vertex");
37
- const ai_xai_1 = require("@memberjunction/ai-xai");
38
- const ai_blackforestlabs_1 = require("@memberjunction/ai-blackforestlabs");
39
- /**
40
- * Loads all standard AI providers to prevent tree shaking.
41
- * Call this function early in your application startup (e.g., in index.ts or main server file)
42
- * to ensure all AI providers are available throughout the application lifecycle.
43
- *
44
- * @example
45
- * ```typescript
46
- * // In your application's entry point
47
- * import { LoadAIProviders } from '@memberjunction/ai-provider-bundle';
48
- *
49
- * // Load all providers at startup
50
- * LoadAIProviders();
51
- * ```
52
- */
53
- function LoadAIProviders() {
54
- // LLM Providers
55
- (0, ai_openai_1.LoadOpenAILLM)();
56
- (0, ai_anthropic_1.LoadAnthropicLLM)();
57
- (0, ai_azure_1.LoadAzureLLM)();
58
- (0, ai_bedrock_1.LoadBedrockLLM)();
59
- (0, ai_betty_bot_1.LoadBettyBotLLM)();
60
- (0, ai_cerebras_1.LoadCerebrasLLM)();
61
- (0, ai_fireworks_1.LoadFireworksLLM)();
62
- (0, ai_gemini_1.LoadGeminiLLM)();
63
- (0, ai_groq_1.LoadGroqLLM)();
64
- (0, ai_lmstudio_1.LoadLMStudioLLM)();
65
- (0, ai_mistral_1.LoadMistralLLM)();
66
- (0, ai_ollama_1.LoadOllamaLLM)();
67
- (0, ai_openrouter_1.LoadOpenRouterLLM)();
68
- (0, ai_vertex_1.LoadVertexLLM)();
69
- (0, ai_xai_1.LoadxAILLM)();
70
- // Embedding Providers
71
- (0, ai_openai_1.LoadOpenAIEmbedding)();
72
- (0, ai_azure_1.LoadAzureEmbedding)();
73
- (0, ai_bedrock_1.LoadBedrockEmbedding)();
74
- (0, ai_local_embeddings_1.LoadLocalEmbedding)();
75
- (0, ai_mistral_1.LoadMistralEmbedding)();
76
- (0, ai_ollama_1.LoadOllamaEmbedding)();
77
- // Note: LoadVertexEmbedding() removed - deprecated SDK, will be re-added when @google/genai supports embeddings
78
- // Audio/Video Providers
79
- (0, ai_elevenlabs_1.LoadElevenLabsAudioGenerator)();
80
- (0, ai_heygen_1.LoadHeyGenVideoGenerator)();
81
- // Image Generation Providers
82
- (0, ai_openai_1.LoadOpenAIImageGenerator)();
83
- (0, ai_gemini_1.LoadGeminiImageGenerator)();
84
- (0, ai_blackforestlabs_1.LoadFLUXImageGenerator)();
85
- // Specialized Providers
86
- (0, ai_recommendations_rex_1.LoadRexRecommendationsProvider)();
87
- (0, ai_vectors_pinecone_1.LoadPineconeVectorDB)();
88
- // Reranking Providers
89
- (0, ai_cohere_1.LoadCohereReranker)();
90
- }
91
- exports.LoadAIProviders = LoadAIProviders;
92
10
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,iCAAiC;AACjC,yDAAyG;AACzG,+DAAgE;AAChE,uDAA4E;AAC5E,2DAAkF;AAClF,+DAA+D;AAC/D,6DAA8D;AAC9D,yDAA+D;AAC/D,iEAA6E;AAC7E,+DAAgE;AAChE,yDAAoF;AACpF,qDAAsD;AACtD,yDAAqE;AACrE,6DAA8D;AAC9D,6EAAyE;AACzE,2DAAkF;AAClF,yDAA+E;AAC/E,iEAAkE;AAClE,mFAAwF;AACxF,6EAA2E;AAC3E,yDAA0D;AAC1D,mDAAoD;AACpD,2EAA4E;AAE5E;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe;IAC3B,gBAAgB;IAChB,IAAA,yBAAa,GAAE,CAAC;IAChB,IAAA,+BAAgB,GAAE,CAAC;IACnB,IAAA,uBAAY,GAAE,CAAC;IACf,IAAA,2BAAc,GAAE,CAAC;IACjB,IAAA,8BAAe,GAAE,CAAC;IAClB,IAAA,6BAAe,GAAE,CAAC;IAClB,IAAA,+BAAgB,GAAE,CAAC;IACnB,IAAA,yBAAa,GAAE,CAAC;IAChB,IAAA,qBAAW,GAAE,CAAC;IACd,IAAA,6BAAe,GAAE,CAAC;IAClB,IAAA,2BAAc,GAAE,CAAC;IACjB,IAAA,yBAAa,GAAE,CAAC;IAChB,IAAA,iCAAiB,GAAE,CAAC;IACpB,IAAA,yBAAa,GAAE,CAAC;IAChB,IAAA,mBAAU,GAAE,CAAC;IAEb,sBAAsB;IACtB,IAAA,+BAAmB,GAAE,CAAC;IACtB,IAAA,6BAAkB,GAAE,CAAC;IACrB,IAAA,iCAAoB,GAAE,CAAC;IACvB,IAAA,wCAAkB,GAAE,CAAC;IACrB,IAAA,iCAAoB,GAAE,CAAC;IACvB,IAAA,+BAAmB,GAAE,CAAC;IACtB,gHAAgH;IAEhH,wBAAwB;IACxB,IAAA,4CAA4B,GAAE,CAAC;IAC/B,IAAA,oCAAwB,GAAE,CAAC;IAE3B,6BAA6B;IAC7B,IAAA,oCAAwB,GAAE,CAAC;IAC3B,IAAA,oCAAwB,GAAE,CAAC;IAC3B,IAAA,2CAAsB,GAAE,CAAC;IAEzB,wBAAwB;IACxB,IAAA,uDAA8B,GAAE,CAAC;IACjC,IAAA,0CAAoB,GAAE,CAAC;IAEvB,sBAAsB;IACtB,IAAA,8BAAkB,GAAE,CAAC;AACzB,CAAC;AA1CD,0CA0CC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@memberjunction/ai-provider-bundle",
3
- "version": "3.4.0",
3
+ "type": "module",
4
+ "version": "4.0.0",
4
5
  "description": "MemberJunction AI Provider Bundle - Loads all standard AI providers to prevent tree shaking",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
@@ -8,37 +9,37 @@
8
9
  "/dist"
9
10
  ],
10
11
  "scripts": {
11
- "build": "tsc",
12
+ "build": "tsc && tsc-alias -f",
12
13
  "test": "echo \"Error: no test specified\" && exit 1"
13
14
  },
14
15
  "author": "MemberJunction.com",
15
16
  "license": "ISC",
16
17
  "devDependencies": {
17
- "typescript": "^5.4.5"
18
+ "typescript": "^5.9.3"
18
19
  },
19
20
  "dependencies": {
20
- "@memberjunction/ai-anthropic": "3.4.0",
21
- "@memberjunction/ai-azure": "3.4.0",
22
- "@memberjunction/ai-bedrock": "3.4.0",
23
- "@memberjunction/ai-betty-bot": "3.4.0",
24
- "@memberjunction/ai-blackforestlabs": "3.4.0",
25
- "@memberjunction/ai-cerebras": "3.4.0",
26
- "@memberjunction/ai-cohere": "3.4.0",
27
- "@memberjunction/ai-elevenlabs": "3.4.0",
28
- "@memberjunction/ai-fireworks": "3.4.0",
29
- "@memberjunction/ai-gemini": "3.4.0",
30
- "@memberjunction/ai-groq": "3.4.0",
31
- "@memberjunction/ai-heygen": "3.4.0",
32
- "@memberjunction/ai-lmstudio": "3.4.0",
33
- "@memberjunction/ai-local-embeddings": "3.4.0",
34
- "@memberjunction/ai-mistral": "3.4.0",
35
- "@memberjunction/ai-ollama": "3.4.0",
36
- "@memberjunction/ai-openai": "3.4.0",
37
- "@memberjunction/ai-openrouter": "3.4.0",
38
- "@memberjunction/ai-recommendations-rex": "3.4.0",
39
- "@memberjunction/ai-vectors-pinecone": "3.4.0",
40
- "@memberjunction/ai-vertex": "3.4.0",
41
- "@memberjunction/ai-xai": "3.4.0"
21
+ "@memberjunction/ai-anthropic": "4.0.0",
22
+ "@memberjunction/ai-azure": "4.0.0",
23
+ "@memberjunction/ai-bedrock": "4.0.0",
24
+ "@memberjunction/ai-betty-bot": "4.0.0",
25
+ "@memberjunction/ai-blackforestlabs": "4.0.0",
26
+ "@memberjunction/ai-cerebras": "4.0.0",
27
+ "@memberjunction/ai-cohere": "4.0.0",
28
+ "@memberjunction/ai-elevenlabs": "4.0.0",
29
+ "@memberjunction/ai-fireworks": "4.0.0",
30
+ "@memberjunction/ai-gemini": "4.0.0",
31
+ "@memberjunction/ai-groq": "4.0.0",
32
+ "@memberjunction/ai-heygen": "4.0.0",
33
+ "@memberjunction/ai-lmstudio": "4.0.0",
34
+ "@memberjunction/ai-local-embeddings": "4.0.0",
35
+ "@memberjunction/ai-mistral": "4.0.0",
36
+ "@memberjunction/ai-ollama": "4.0.0",
37
+ "@memberjunction/ai-openai": "4.0.0",
38
+ "@memberjunction/ai-openrouter": "4.0.0",
39
+ "@memberjunction/ai-recommendations-rex": "4.0.0",
40
+ "@memberjunction/ai-vectors-pinecone": "4.0.0",
41
+ "@memberjunction/ai-vertex": "4.0.0",
42
+ "@memberjunction/ai-xai": "4.0.0"
42
43
  },
43
44
  "repository": {
44
45
  "type": "git",