@intlayer/ai 9.0.0-canary.12 → 9.0.0-canary.13

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.
@@ -9,6 +9,12 @@ let ai = require("ai");
9
9
  let _intlayer_types_config = require("@intlayer/types/config");
10
10
 
11
11
  exports.AIProvider = _intlayer_types_config.AiProviders;
12
+ Object.defineProperty(exports, 'Tool', {
13
+ enumerable: true,
14
+ get: function () {
15
+ return ai.Tool;
16
+ }
17
+ });
12
18
  exports.auditDictionaryMetadata = require_auditDictionaryMetadata_index.auditDictionaryMetadata;
13
19
  exports.checkAISDKAccess = require_aiSdk.checkAISDKAccess;
14
20
  exports.customQuery = require_customQuery.customQuery;
@@ -3,6 +3,6 @@ import { AIProvider as AiProviders, checkAISDKAccess, getAIConfig } from "./aiSd
3
3
  import { auditDictionaryMetadata } from "./auditDictionaryMetadata/index.mjs";
4
4
  import { extractJson } from "./utils/extractJSON.mjs";
5
5
  import { translateJSON } from "./translateJSON/index.mjs";
6
- import { generateText, jsonSchema, stepCountIs, streamText, tool } from "ai";
6
+ import { Tool, generateText, jsonSchema, stepCountIs, streamText, tool } from "ai";
7
7
 
8
- export { AiProviders as AIProvider, auditDictionaryMetadata, checkAISDKAccess, customQuery, extractJson, generateText, getAIConfig, jsonSchema, stepCountIs, streamText, tool, translateJSON };
8
+ export { AiProviders as AIProvider, Tool, auditDictionaryMetadata, checkAISDKAccess, customQuery, extractJson, generateText, getAIConfig, jsonSchema, stepCountIs, streamText, tool, translateJSON };
@@ -3,7 +3,7 @@ import { AuditDictionaryMetadataOptions, AuditFileResultData, auditDictionaryMet
3
3
  import { CustomQueryOptions, CustomQueryResultData, customQuery } from "./customQuery.js";
4
4
  import { TranslateJSONOptions, TranslateJSONResultData, translateJSON } from "./translateJSON/index.js";
5
5
  import { extractJson } from "./utils/extractJSON.js";
6
- import { generateText, jsonSchema, stepCountIs, streamText, tool } from "ai";
6
+ import { Tool, generateText, jsonSchema, stepCountIs, streamText, tool } from "ai";
7
7
 
8
8
  //#region src/index.d.ts
9
9
  declare module '@intlayer/types/config' {
@@ -26,5 +26,5 @@ declare module '@intlayer/types/config' {
26
26
  }
27
27
  } //# sourceMappingURL=index.d.ts.map
28
28
  //#endregion
29
- export { AIConfig, AIConfigOptions, AIOptions, AiProviders as AIProvider, AlibabaProviderOptions, AmazonBedrockProviderOptions, AnthropicProviderOptions, type AuditDictionaryMetadataOptions, type AuditFileResultData, ChatCompletionRequestMessage, type CustomQueryOptions, type CustomQueryResultData, DeepSeekProviderOptions, FireworksProviderOptions, GoogleProviderOptions, GroqProviderOptions, HuggingFaceProviderOptions, LMStudioProviderOptions, Messages, MistralProviderOptions, Model, OpenAIProviderOptions, OpenRouterProviderOptions, ReasoningEffort, SystemMessage, TogetherAIProviderOptions, type TranslateJSONOptions, type TranslateJSONResultData, VertexProviderOptions, auditDictionaryMetadata, checkAISDKAccess, customQuery, extractJson, generateText, getAIConfig, jsonSchema, stepCountIs, streamText, tool, translateJSON };
29
+ export { AIConfig, AIConfigOptions, AIOptions, AiProviders as AIProvider, AlibabaProviderOptions, AmazonBedrockProviderOptions, AnthropicProviderOptions, type AuditDictionaryMetadataOptions, type AuditFileResultData, ChatCompletionRequestMessage, type CustomQueryOptions, type CustomQueryResultData, DeepSeekProviderOptions, FireworksProviderOptions, GoogleProviderOptions, GroqProviderOptions, HuggingFaceProviderOptions, LMStudioProviderOptions, Messages, MistralProviderOptions, Model, OpenAIProviderOptions, OpenRouterProviderOptions, ReasoningEffort, SystemMessage, TogetherAIProviderOptions, Tool, type TranslateJSONOptions, type TranslateJSONResultData, VertexProviderOptions, auditDictionaryMetadata, checkAISDKAccess, customQuery, extractJson, generateText, getAIConfig, jsonSchema, stepCountIs, streamText, tool, translateJSON };
30
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;YAsCY,mBAAA;IACR,MAAA,EAAQ,qBAAA;IACR,SAAA,EAAW,wBAAA;IACX,OAAA,EAAS,sBAAA;IACT,QAAA,EAAU,uBAAA;IACV,MAAA,EAAQ,qBAAA;IACR,YAAA,EAAc,qBAAA;IACd,MAAA,EAAQ,qBAAA;IACR,UAAA,EAAY,yBAAA;IACZ,OAAA,EAAS,sBAAA;IACT,SAAA,EAAW,wBAAA;IACX,IAAA,EAAM,mBAAA;IACN,WAAA,EAAa,0BAAA;IACb,OAAA,EAAS,4BAAA;IACT,UAAA,EAAY,yBAAA;IACZ,QAAA,EAAU,uBAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;YA6CY,mBAAA;IACR,MAAA,EAAQ,qBAAA;IACR,SAAA,EAAW,wBAAA;IACX,OAAA,EAAS,sBAAA;IACT,QAAA,EAAU,uBAAA;IACV,MAAA,EAAQ,qBAAA;IACR,YAAA,EAAc,qBAAA;IACd,MAAA,EAAQ,qBAAA;IACR,UAAA,EAAY,yBAAA;IACZ,OAAA,EAAS,sBAAA;IACT,SAAA,EAAW,wBAAA;IACX,IAAA,EAAM,mBAAA;IACN,WAAA,EAAa,0BAAA;IACb,OAAA,EAAS,4BAAA;IACT,UAAA,EAAY,yBAAA;IACZ,QAAA,EAAU,uBAAA;EAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/ai",
3
- "version": "9.0.0-canary.12",
3
+ "version": "9.0.0-canary.13",
4
4
  "private": false,
5
5
  "description": "SDK that provides AI capabilities for Intlayer applications",
6
6
  "keywords": [
@@ -72,30 +72,30 @@
72
72
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
73
73
  },
74
74
  "dependencies": {
75
- "@ai-sdk/anthropic": "3.0.85",
76
- "@ai-sdk/google": "3.0.83",
77
- "@ai-sdk/openai": "3.0.74",
78
- "@intlayer/api": "9.0.0-canary.12",
79
- "@intlayer/config": "9.0.0-canary.12",
80
- "@intlayer/core": "9.0.0-canary.12",
81
- "@intlayer/types": "9.0.0-canary.12",
75
+ "@ai-sdk/anthropic": "4.0.7",
76
+ "@ai-sdk/google": "4.0.8",
77
+ "@ai-sdk/openai": "4.0.7",
78
+ "@intlayer/api": "9.0.0-canary.13",
79
+ "@intlayer/config": "9.0.0-canary.13",
80
+ "@intlayer/core": "9.0.0-canary.13",
81
+ "@intlayer/types": "9.0.0-canary.13",
82
82
  "@toon-format/toon": "2.3.0",
83
- "ai": "6.0.209",
83
+ "ai": "7.0.14",
84
84
  "zod": "4.4.3"
85
85
  },
86
86
  "devDependencies": {
87
- "@ai-sdk/alibaba": "1.0.29",
88
- "@ai-sdk/amazon-bedrock": "4.0.120",
89
- "@ai-sdk/deepseek": "2.0.39",
90
- "@ai-sdk/fireworks": "2.0.57",
91
- "@ai-sdk/google": "3.0.83",
92
- "@ai-sdk/google-vertex": "4.0.148",
93
- "@ai-sdk/groq": "3.0.42",
94
- "@ai-sdk/huggingface": "1.0.53",
95
- "@ai-sdk/mistral": "3.0.40",
96
- "@ai-sdk/openai-compatible": "2.0.51",
97
- "@ai-sdk/togetherai": "2.0.56",
98
- "@openrouter/ai-sdk-provider": "2.9.1",
87
+ "@ai-sdk/alibaba": "2.0.6",
88
+ "@ai-sdk/amazon-bedrock": "5.0.10",
89
+ "@ai-sdk/deepseek": "3.0.5",
90
+ "@ai-sdk/fireworks": "3.0.6",
91
+ "@ai-sdk/google": "4.0.8",
92
+ "@ai-sdk/google-vertex": "5.0.10",
93
+ "@ai-sdk/groq": "4.0.5",
94
+ "@ai-sdk/huggingface": "2.0.5",
95
+ "@ai-sdk/mistral": "4.0.5",
96
+ "@ai-sdk/openai-compatible": "3.0.5",
97
+ "@ai-sdk/togetherai": "3.0.6",
98
+ "@openrouter/ai-sdk-provider": "2.10.0",
99
99
  "@types/node": "25.9.4",
100
100
  "@utils/ts-config": "1.0.4",
101
101
  "@utils/ts-config-types": "1.0.4",