@yourgpt/llm-sdk 1.2.5 → 1.3.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.
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.mjs';
2
- import { c as AnthropicProviderConfig, A as AIProvider } from '../../types-B8rxpnYi.mjs';
2
+ import { a as AnthropicProviderConfig, A as AIProvider } from '../../types-B7dyZii0.mjs';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.mjs';
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.js';
2
- import { c as AnthropicProviderConfig, A as AIProvider } from '../../types-CrQftISG.js';
2
+ import { a as AnthropicProviderConfig, A as AIProvider } from '../../types-0uwUGKFS.js';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.js';
@@ -1,4 +1,4 @@
1
- import { a as AzureProviderConfig, A as AIProvider } from '../../types-B8rxpnYi.mjs';
1
+ import { b as AzureProviderConfig, A as AIProvider } from '../../types-B7dyZii0.mjs';
2
2
  import '@yourgpt/copilot-sdk/core';
3
3
  import '../../base-CXNMfvXg.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { a as AzureProviderConfig, A as AIProvider } from '../../types-CrQftISG.js';
1
+ import { b as AzureProviderConfig, A as AIProvider } from '../../types-0uwUGKFS.js';
2
2
  import '@yourgpt/copilot-sdk/core';
3
3
  import '../../base-CXNMfvXg.js';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.mjs';
2
- import { G as GoogleProviderConfig, A as AIProvider } from '../../types-B8rxpnYi.mjs';
2
+ import { G as GoogleProviderConfig, A as AIProvider } from '../../types-B7dyZii0.mjs';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.mjs';
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.js';
2
- import { G as GoogleProviderConfig, A as AIProvider } from '../../types-CrQftISG.js';
2
+ import { G as GoogleProviderConfig, A as AIProvider } from '../../types-0uwUGKFS.js';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.js';
@@ -1,4 +1,4 @@
1
- import { O as OllamaProviderConfig, A as AIProvider } from '../../types-B8rxpnYi.mjs';
1
+ import { c as OllamaProviderConfig, A as AIProvider } from '../../types-B7dyZii0.mjs';
2
2
  import '@yourgpt/copilot-sdk/core';
3
3
  import '../../base-CXNMfvXg.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { O as OllamaProviderConfig, A as AIProvider } from '../../types-CrQftISG.js';
1
+ import { c as OllamaProviderConfig, A as AIProvider } from '../../types-0uwUGKFS.js';
2
2
  import '@yourgpt/copilot-sdk/core';
3
3
  import '../../base-CXNMfvXg.js';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.mjs';
2
- import { b as OpenAIProviderConfig, A as AIProvider } from '../../types-B8rxpnYi.mjs';
2
+ import { O as OpenAIProviderConfig, A as AIProvider } from '../../types-B7dyZii0.mjs';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.mjs';
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.js';
2
- import { b as OpenAIProviderConfig, A as AIProvider } from '../../types-CrQftISG.js';
2
+ import { O as OpenAIProviderConfig, A as AIProvider } from '../../types-0uwUGKFS.js';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.js';
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.mjs';
2
- import { X as XAIProviderConfig, A as AIProvider } from '../../types-B8rxpnYi.mjs';
2
+ import { X as XAIProviderConfig, A as AIProvider } from '../../types-B7dyZii0.mjs';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.mjs';
@@ -1,5 +1,5 @@
1
1
  import { L as LanguageModel } from '../../types-CdORv1Yu.js';
2
- import { X as XAIProviderConfig, A as AIProvider } from '../../types-CrQftISG.js';
2
+ import { X as XAIProviderConfig, A as AIProvider } from '../../types-0uwUGKFS.js';
3
3
  import 'zod';
4
4
  import '@yourgpt/copilot-sdk/core';
5
5
  import '../../base-CXNMfvXg.js';
@@ -305,4 +305,4 @@ interface AzureProviderConfig extends BaseProviderConfig {
305
305
  interface OllamaProviderConfig extends BaseProviderConfig {
306
306
  }
307
307
 
308
- export type { AIProvider as A, BaseProviderConfig as B, GoogleProviderConfig as G, OllamaProviderConfig as O, ProviderCapabilities as P, XAIProviderConfig as X, AzureProviderConfig as a, OpenAIProviderConfig as b, AnthropicProviderConfig as c, ProviderFormatter as d, AnthropicTool as e, AnthropicToolUse as f, AnthropicToolResult as g, OpenAITool as h, OpenAIToolCall as i, OpenAIToolResult as j, GeminiFunctionDeclaration as k, GeminiFunctionCall as l, GeminiFunctionResponse as m };
308
+ export type { AIProvider as A, BaseProviderConfig as B, GoogleProviderConfig as G, OpenAIProviderConfig as O, ProviderCapabilities as P, XAIProviderConfig as X, AnthropicProviderConfig as a, AzureProviderConfig as b, OllamaProviderConfig as c, ProviderFormatter as d, AnthropicTool as e, AnthropicToolUse as f, AnthropicToolResult as g, OpenAITool as h, OpenAIToolCall as i, OpenAIToolResult as j, GeminiFunctionDeclaration as k, GeminiFunctionCall as l, GeminiFunctionResponse as m };
@@ -305,4 +305,4 @@ interface AzureProviderConfig extends BaseProviderConfig {
305
305
  interface OllamaProviderConfig extends BaseProviderConfig {
306
306
  }
307
307
 
308
- export type { AIProvider as A, BaseProviderConfig as B, GoogleProviderConfig as G, OllamaProviderConfig as O, ProviderCapabilities as P, XAIProviderConfig as X, AzureProviderConfig as a, OpenAIProviderConfig as b, AnthropicProviderConfig as c, ProviderFormatter as d, AnthropicTool as e, AnthropicToolUse as f, AnthropicToolResult as g, OpenAITool as h, OpenAIToolCall as i, OpenAIToolResult as j, GeminiFunctionDeclaration as k, GeminiFunctionCall as l, GeminiFunctionResponse as m };
308
+ export type { AIProvider as A, BaseProviderConfig as B, GoogleProviderConfig as G, OpenAIProviderConfig as O, ProviderCapabilities as P, XAIProviderConfig as X, AnthropicProviderConfig as a, AzureProviderConfig as b, OllamaProviderConfig as c, ProviderFormatter as d, AnthropicTool as e, AnthropicToolUse as f, AnthropicToolResult as g, OpenAITool as h, OpenAIToolCall as i, OpenAIToolResult as j, GeminiFunctionDeclaration as k, GeminiFunctionCall as l, GeminiFunctionResponse as m };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yourgpt/llm-sdk",
3
- "version": "1.2.5",
3
+ "version": "1.3.0",
4
4
  "description": "LLM SDK for YourGPT - Multi-provider LLM integration",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -55,11 +55,12 @@
55
55
  "dependencies": {
56
56
  "hono": "^4.3.0",
57
57
  "zod": "^3.23.0",
58
- "@yourgpt/copilot-sdk": "^1.2.5"
58
+ "@yourgpt/copilot-sdk": "^1.2.11"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "openai": "^4.0.0",
62
- "@anthropic-ai/sdk": "^0.20.0"
62
+ "@anthropic-ai/sdk": "^0.20.0",
63
+ "@google/generative-ai": "^0.21.0"
63
64
  },
64
65
  "peerDependenciesMeta": {
65
66
  "openai": {
@@ -67,6 +68,9 @@
67
68
  },
68
69
  "@anthropic-ai/sdk": {
69
70
  "optional": true
71
+ },
72
+ "@google/generative-ai": {
73
+ "optional": true
70
74
  }
71
75
  },
72
76
  "devDependencies": {