@intlayer/ai 9.4.3 → 9.4.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.
@@ -31,31 +31,31 @@ type HuggingFaceModel = Parameters<HuggingFaceProvider>[0];
31
31
  type TogetherAIModel = Parameters<TogetherAIProvider>[0];
32
32
  type LMStudioModel = Parameters<OpenAICompatibleProvider>[0];
33
33
  type MoonshotAIModel = Parameters<MoonshotAIProvider>[0];
34
- type OpenAIProviderOptions = Parameters<typeof createOpenAI>[0];
35
- type AnthropicProviderOptions = Parameters<typeof createAnthropic>[0];
36
- type MistralProviderOptions = Parameters<typeof createMistral>[0];
37
- type DeepSeekProviderOptions = Parameters<typeof createDeepSeek>[0];
38
- type GoogleProviderOptions = Parameters<typeof createGoogleGenerativeAI>[0];
39
- type VertexProviderOptions = Parameters<typeof createVertex>[0];
40
- type OpenRouterProviderOptions = Parameters<typeof createOpenRouter>[0];
41
- type AlibabaProviderOptions = Parameters<typeof createAlibaba>[0];
42
- type FireworksProviderOptions = Parameters<typeof createFireworks>[0];
43
- type GroqProviderOptions = Parameters<typeof createGroq>[0];
44
- type HuggingFaceProviderOptions = Parameters<typeof createHuggingFace>[0];
45
- type AmazonBedrockProviderOptions = Parameters<typeof createAmazonBedrock>[0];
46
- type TogetherAIProviderOptions = Parameters<typeof createTogetherAI>[0];
47
- type LMStudioProviderOptions = Parameters<typeof createOpenAICompatible>[0];
48
- type MoonshotAIProviderOptions = Parameters<typeof createMoonshotAI>[0];
49
- type SystemMessage = string | SystemModelMessage | SystemModelMessage[] | undefined;
50
- type Messages = (UserModelMessage | AssistantModelMessage | ToolModelMessage)[];
34
+ export type OpenAIProviderOptions = Parameters<typeof createOpenAI>[0];
35
+ export type AnthropicProviderOptions = Parameters<typeof createAnthropic>[0];
36
+ export type MistralProviderOptions = Parameters<typeof createMistral>[0];
37
+ export type DeepSeekProviderOptions = Parameters<typeof createDeepSeek>[0];
38
+ export type GoogleProviderOptions = Parameters<typeof createGoogleGenerativeAI>[0];
39
+ export type VertexProviderOptions = Parameters<typeof createVertex>[0];
40
+ export type OpenRouterProviderOptions = Parameters<typeof createOpenRouter>[0];
41
+ export type AlibabaProviderOptions = Parameters<typeof createAlibaba>[0];
42
+ export type FireworksProviderOptions = Parameters<typeof createFireworks>[0];
43
+ export type GroqProviderOptions = Parameters<typeof createGroq>[0];
44
+ export type HuggingFaceProviderOptions = Parameters<typeof createHuggingFace>[0];
45
+ export type AmazonBedrockProviderOptions = Parameters<typeof createAmazonBedrock>[0];
46
+ export type TogetherAIProviderOptions = Parameters<typeof createTogetherAI>[0];
47
+ export type LMStudioProviderOptions = Parameters<typeof createOpenAICompatible>[0];
48
+ export type MoonshotAIProviderOptions = Parameters<typeof createMoonshotAI>[0];
49
+ export type SystemMessage = string | SystemModelMessage | SystemModelMessage[] | undefined;
50
+ export type Messages = (UserModelMessage | AssistantModelMessage | ToolModelMessage)[];
51
51
  /**
52
52
  * Supported AI models
53
53
  */
54
- type Model = AnthropicModel | DeepSeekModel | MistralModel | OpenAIModel | OpenRouterModel | GoogleModel | VertexModel | AlibabaModel | AmazonBedrockModel | FireworksModel | GroqModel | HuggingFaceModel | TogetherAIModel | LMStudioModel | MoonshotAIModel | (string & {});
54
+ export type Model = AnthropicModel | DeepSeekModel | MistralModel | OpenAIModel | OpenRouterModel | GoogleModel | VertexModel | AlibabaModel | AmazonBedrockModel | FireworksModel | GroqModel | HuggingFaceModel | TogetherAIModel | LMStudioModel | MoonshotAIModel | (string & {});
55
55
  /**
56
56
  * Supported AI SDK providers
57
57
  */
58
- type ReasoningEffort = 'minimal' | 'low' | 'medium' | 'high' | 'none';
58
+ export type ReasoningEffort = 'minimal' | 'low' | 'medium' | 'high' | 'none';
59
59
  /**
60
60
  * Common options for all AI providers
61
61
  */
@@ -67,7 +67,7 @@ type CommonAIOptions = {
67
67
  applicationContext?: string;
68
68
  dataSerialization?: 'json' | 'toon';
69
69
  };
70
- type AIOptions = (({
70
+ export type AIOptions = (({
71
71
  provider: AiProviders.OPENAI | `${AiProviders.OPENAI}`;
72
72
  } & OpenAIProviderOptions) | ({
73
73
  provider: AiProviders.ANTHROPIC | `${AiProviders.ANTHROPIC}`;
@@ -104,18 +104,18 @@ type AIOptions = (({
104
104
  } & MoonshotAIProviderOptions) | ({
105
105
  provider?: undefined;
106
106
  } & OpenAIProviderOptions)) & CommonAIOptions;
107
- type ChatCompletionRequestMessage = {
107
+ export type ChatCompletionRequestMessage = {
108
108
  role: 'system' | 'user' | 'assistant';
109
109
  content: string;
110
110
  timestamp?: Date;
111
111
  };
112
112
  type AccessType = 'apiKey' | 'registered_user' | 'premium_user' | 'public';
113
- type AIConfig = Omit<Parameters<typeof generateText>[0], 'prompt'> & {
113
+ export type AIConfig = Omit<Parameters<typeof generateText>[0], 'prompt'> & {
114
114
  reasoningEffort?: ReasoningEffort;
115
115
  textVerbosity?: 'low' | 'medium' | 'high';
116
116
  dataSerialization?: 'json' | 'toon';
117
117
  };
118
- type AIConfigOptions = {
118
+ export type AIConfigOptions = {
119
119
  userOptions?: AIOptions;
120
120
  projectOptions?: AIOptions;
121
121
  defaultOptions?: AIOptions;
@@ -127,7 +127,7 @@ type AIConfigOptions = {
127
127
  *
128
128
  * @returns true if access is confirmed, false otherwise
129
129
  */
130
- declare const checkAISDKAccess: (aiConfig: AIConfig) => Promise<{
130
+ export declare const checkAISDKAccess: (aiConfig: AIConfig) => Promise<{
131
131
  hasAIAccess: boolean;
132
132
  error?: string;
133
133
  }>;
@@ -138,7 +138,7 @@ declare const checkAISDKAccess: (aiConfig: AIConfig) => Promise<{
138
138
  * @param options Configuration options including provider, API keys, models and temperature
139
139
  * @returns Configured AI model ready to use with generateText
140
140
  */
141
- declare const getAIConfig: (options: AIConfigOptions, isAuthenticated?: boolean) => Promise<AIConfig>;
141
+ export declare const getAIConfig: (options: AIConfigOptions, isAuthenticated?: boolean) => Promise<AIConfig>;
142
142
  //#endregion
143
- export { AIConfig, AIConfigOptions, AIOptions, AiProviders as AIProvider, AlibabaProviderOptions, AmazonBedrockProviderOptions, AnthropicProviderOptions, ChatCompletionRequestMessage, DeepSeekProviderOptions, FireworksProviderOptions, GoogleProviderOptions, GroqProviderOptions, HuggingFaceProviderOptions, LMStudioProviderOptions, Messages, MistralProviderOptions, Model, MoonshotAIProviderOptions, OpenAIProviderOptions, OpenRouterProviderOptions, ReasoningEffort, SystemMessage, TogetherAIProviderOptions, VertexProviderOptions, checkAISDKAccess, getAIConfig };
143
+ export { AiProviders as AIProvider };
144
144
  //# sourceMappingURL=aiSdk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aiSdk.d.ts","names":[],"sources":["../../src/aiSdk.ts"],"mappings":";;;;;;;;;;;;;;;;;;KAmDK,iBAAiB,WAAW;KAC5B,gBAAgB,WAAW;KAC3B,eAAe,WAAW;KAC1B,cAAc,WAAW;KACzB,kBAAkB,WAAW;KAC7B,cAAc,WAAW;KACzB,cAAc,WAAW;KACzB,eAAe,WAAW;KAC1B,qBAAqB,WAAW;KAChC,iBAAiB,WAAW;KAC5B,YAAY,WAAW;KACvB,mBAAmB,WAAW;KAC9B,kBAAkB,WAAW;KAC7B,gBAAgB,WAAW;KAC3B,kBAAkB,WAAW;KAEtB,wBAAwB,kBAAkB;KAC1C,2BAA2B,kBAAkB;KAC7C,yBAAyB,kBAAkB;KAC3C,0BAA0B,kBAAkB;KAC5C,wBAAwB,kBAC3B;KAEG,wBAAwB,kBAAkB;KAC1C,4BAA4B,kBAAkB;KAC9C,yBAAyB,kBAAkB;KAC3C,2BAA2B,kBAAkB;KAC7C,sBAAsB,kBAAkB;KACxC,6BAA6B,kBAChC;KAEG,+BAA+B,kBAClC;KAEG,4BAA4B,kBAAkB;KAC9C,0BAA0B,kBAC7B;KAEG,4BAA4B,kBAAkB;KAE9C,yBAER,qBACA;KAGQ,YACR,mBACA,wBACA;;;;KAMQ,QACR,iBACA,gBACA,eACA,cACA,kBACA,cACA,cACA,eACA,qBACA,iBACA,YAC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YAAY,gBAAgB,YAAY;IAChD;EAEF,UAAU,YAAY,cAAc,YAAY;IAC9C;EAEF,UAAU,YAAY,gBAAgB,YAAY;IAChD;EACD;IAAyB,0BAE9B;YAGU;EACV;EACA;EACA,YAAY;;KAGT;YAofO,WAAW,KAAK,kBAAkB;EAC5C,kBAAkB;EAClB;EACA;;YAGU;EACV,cAAc;EACd,iBAAiB;EACjB,iBAAiB;EACjB,aAAa;;;;;;;;qBASF,mBAAgB,UACjB,aACT;EAAU;EAAsB;;;;;;;;;qBAyBtB,cAAW,SACb,iBAAe,8BAEvB,QAAQ"}
@@ -4,13 +4,13 @@ type Tag = {
4
4
  key: string;
5
5
  description?: string;
6
6
  };
7
- type AuditDictionaryMetadataOptions = {
7
+ export type AuditDictionaryMetadataOptions = {
8
8
  fileContent: string;
9
9
  tags?: Tag[];
10
10
  aiConfig: AIConfig;
11
11
  applicationContext?: string;
12
12
  };
13
- type AuditFileResultData = {
13
+ export type AuditFileResultData = {
14
14
  fileContent: {
15
15
  title: string;
16
16
  description: string;
@@ -18,13 +18,12 @@ type AuditFileResultData = {
18
18
  };
19
19
  tokenUsed: number;
20
20
  };
21
- declare const aiDefaultOptions: AIOptions;
21
+ export declare const aiDefaultOptions: AIOptions;
22
22
  /**
23
23
  * Audits a content declaration file by constructing a prompt for AI models.
24
24
  * The prompt includes details about the project's locales, file paths of content declarations,
25
25
  * and requests for identifying issues or inconsistencies.
26
26
  */
27
- declare const auditDictionaryMetadata: ({ fileContent, tags, aiConfig, applicationContext }: AuditDictionaryMetadataOptions) => Promise<AuditFileResultData | undefined>;
27
+ export declare const auditDictionaryMetadata: ({ fileContent, tags, aiConfig, applicationContext }: AuditDictionaryMetadataOptions) => Promise<AuditFileResultData | undefined>;
28
28
  //#endregion
29
- export { AuditDictionaryMetadataOptions, AuditFileResultData, aiDefaultOptions, auditDictionaryMetadata };
30
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/auditDictionaryMetadata/index.ts"],"mappings":";;KAKK;EACH;EACA;;KAGU;EACV;EACA,OAAO;EACP,UAAU;EACV;;KAGU;EACV;IACE;IACA;IACA;;EAEF;;cAGW,kBAAkB;;;;;;cASlB,4BAAuB,aAAA,MAAA,UAAA,sBAKjC,mCAAiC,QAClC"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/auditDictionaryMetadata/index.ts"],"mappings":";;KAKK;EACH;EACA;;YAGU;EACV;EACA,OAAO;EACP,UAAU;EACV;;YAGU;EACV;IACE;IACA;IACA;;EAEF;;qBAGW,kBAAkB;;;;;;qBASlB,4BAAuB,aAAA,MAAA,UAAA,sBAKjC,mCAAiC,QAClC"}
@@ -1,22 +1,21 @@
1
1
  import { AIConfig, AIOptions, Messages } from "./aiSdk.js";
2
2
  import { SystemModelMessage } from "ai";
3
3
  //#region src/customQuery.d.ts
4
- type CustomQueryOptions = {
4
+ export type CustomQueryOptions = {
5
5
  messages: Messages;
6
6
  system?: string | SystemModelMessage | SystemModelMessage[];
7
7
  aiConfig: AIConfig;
8
8
  };
9
- type CustomQueryResultData = {
9
+ export type CustomQueryResultData = {
10
10
  fileContent: string;
11
11
  tokenUsed: number;
12
12
  };
13
- declare const aiDefaultOptions: AIOptions;
13
+ export declare const aiDefaultOptions: AIOptions;
14
14
  /**
15
15
  * CustomQuery a content declaration file by constructing a prompt for AI models.
16
16
  * The prompt includes details about the project's locales, file paths of content declarations,
17
17
  * and requests for identifying issues or inconsistencies.
18
18
  */
19
- declare const customQuery: ({ messages, system, aiConfig }: CustomQueryOptions) => Promise<CustomQueryResultData | undefined>;
19
+ export declare const customQuery: ({ messages, system, aiConfig }: CustomQueryOptions) => Promise<CustomQueryResultData | undefined>;
20
20
  //#endregion
21
- export { CustomQueryOptions, CustomQueryResultData, aiDefaultOptions, customQuery };
22
21
  //# sourceMappingURL=customQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customQuery.d.ts","names":[],"sources":["../../src/customQuery.ts"],"mappings":";;;KAGY;EACV,UAAU;EACV,kBAAkB,qBAAqB;EACvC,UAAU;;KAGA;EACV;EACA;;cAGW,kBAAkB;;;;;;cAUlB,gBAAW,UAAA,QAAA,YAIrB,uBAAqB,QAAQ"}
1
+ {"version":3,"file":"customQuery.d.ts","names":[],"sources":["../../src/customQuery.ts"],"mappings":";;;YAGY;EACV,UAAU;EACV,kBAAkB,qBAAqB;EACvC,UAAU;;YAGA;EACV;EACA;;qBAGW,kBAAkB;;;;;;qBAUlB,gBAAW,UAAA,QAAA,YAIrB,uBAAqB,QAAQ"}
@@ -5,7 +5,7 @@ type Tag = {
5
5
  key: string;
6
6
  description?: string;
7
7
  };
8
- type TranslateJSONOptions<T = JSON> = {
8
+ export type TranslateJSONOptions<T = JSON> = {
9
9
  entryFileContent: T;
10
10
  presetOutputContent: Partial<T>;
11
11
  dictionaryDescription?: string;
@@ -16,17 +16,16 @@ type TranslateJSONOptions<T = JSON> = {
16
16
  mode: 'complete' | 'review';
17
17
  applicationContext?: string;
18
18
  };
19
- type TranslateJSONResultData<T = JSON> = {
19
+ export type TranslateJSONResultData<T = JSON> = {
20
20
  fileContent: T;
21
21
  tokenUsed: number;
22
22
  };
23
- declare const aiDefaultOptions: AIOptions;
23
+ export declare const aiDefaultOptions: AIOptions;
24
24
  /**
25
25
  * TranslateJSONs a content declaration file by constructing a prompt for AI models.
26
26
  * The prompt includes details about the project's locales, file paths of content declarations,
27
27
  * and requests for identifying issues or inconsistencies.
28
28
  */
29
- declare const translateJSON: <T>({ entryFileContent, presetOutputContent, dictionaryDescription, aiConfig, entryLocale, outputLocale, tags, mode, applicationContext }: TranslateJSONOptions<T>) => Promise<TranslateJSONResultData<T> | undefined>;
29
+ export declare const translateJSON: <T>({ entryFileContent, presetOutputContent, dictionaryDescription, aiConfig, entryLocale, outputLocale, tags, mode, applicationContext }: TranslateJSONOptions<T>) => Promise<TranslateJSONResultData<T> | undefined>;
30
30
  //#endregion
31
- export { TranslateJSONOptions, TranslateJSONResultData, aiDefaultOptions, translateJSON };
32
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/translateJSON/index.ts"],"mappings":";;;KAUK;EACH;EACA;;KAGU,qBAAqB,IAAI;EACnC,kBAAkB;EAClB,qBAAqB,QAAQ;EAC7B;EACA,aAAa;EACb,cAAc;EACd,OAAO;EACP,UAAU;EACV;EACA;;KAGU,wBAAwB,IAAI;EACtC,aAAa;EACb;;cAGW,kBAAkB;;;;;;cA2FlB,gBAAuB,KAAC,kBAAA,qBAAA,uBAAA,UAAA,aAAA,cAAA,MAAA,MAAA,sBAUlC,qBAAqB,OAAK,QAC3B,wBAAwB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/translateJSON/index.ts"],"mappings":";;;KAUK;EACH;EACA;;YAGU,qBAAqB,IAAI;EACnC,kBAAkB;EAClB,qBAAqB,QAAQ;EAC7B;EACA,aAAa;EACb,cAAc;EACd,OAAO;EACP,UAAU;EACV;EACA;;YAGU,wBAAwB,IAAI;EACtC,aAAa;EACb;;qBAGW,kBAAkB;;;;;;qBA2FlB,gBAAuB,KAAC,kBAAA,qBAAA,uBAAA,UAAA,aAAA,cAAA,MAAA,MAAA,sBAUlC,qBAAqB,OAAK,QAC3B,wBAAwB"}
@@ -30,7 +30,6 @@
30
30
  * @throws {Error} If no valid JSON object/array is found or if parsing fails
31
31
  * @returns {T} The parsed JSON value cast to type T
32
32
  */
33
- declare const extractJson: <T = any>(input: string) => T;
33
+ export declare const extractJson: <T = any>(input: string) => T;
34
34
  //#endregion
35
- export { extractJson };
36
35
  //# sourceMappingURL=extractJSON.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extractJSON.d.ts","names":[],"sources":["../../../src/utils/extractJSON.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+Ba,cAAe,SAAO,kBAAkB"}
1
+ {"version":3,"file":"extractJSON.d.ts","names":[],"sources":["../../../src/utils/extractJSON.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+Ba,cAAe,SAAO,kBAAkB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/ai",
3
- "version": "9.4.3",
3
+ "version": "9.4.4",
4
4
  "private": false,
5
5
  "description": "SDK that provides AI capabilities for Intlayer applications",
6
6
  "keywords": [
@@ -72,14 +72,14 @@
72
72
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
73
73
  },
74
74
  "dependencies": {
75
- "@ai-sdk/anthropic": "4.0.47",
76
- "@ai-sdk/openai": "4.0.55",
77
- "@intlayer/api": "9.4.3",
78
- "@intlayer/config": "9.4.3",
79
- "@intlayer/core": "9.4.3",
80
- "@intlayer/types": "9.4.3",
75
+ "@ai-sdk/anthropic": "4.0.49",
76
+ "@ai-sdk/openai": "4.0.58",
77
+ "@intlayer/api": "9.4.4",
78
+ "@intlayer/config": "9.4.4",
79
+ "@intlayer/core": "9.4.4",
80
+ "@intlayer/types": "9.4.4",
81
81
  "@toon-format/toon": "4.1.1",
82
- "ai": "7.0.89",
82
+ "ai": "7.0.92",
83
83
  "zod": "4.5.4"
84
84
  },
85
85
  "devDependencies": {
@@ -89,9 +89,9 @@
89
89
  "@utils/ts-config-types": "1.0.4",
90
90
  "@utils/tsdown-config": "1.0.4",
91
91
  "rimraf": "6.1.3",
92
- "tsdown": "0.22.14",
92
+ "tsdown": "0.23.0",
93
93
  "typescript": "7.0.2",
94
- "vitest": "4.1.11"
94
+ "vitest": "5.0.0"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "@ai-sdk/alibaba": "<=1.0.0",