@simpletoolsindiaorg/ai-provider 0.79.0 → 0.79.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.
- package/package.json +104 -104
package/package.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
2
|
+
"name": "@simpletoolsindiaorg/ai-provider",
|
|
3
|
+
"version": "0.79.1",
|
|
4
|
+
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./anthropic": {
|
|
14
|
+
"types": "./dist/providers/anthropic.d.ts",
|
|
15
|
+
"import": "./dist/providers/anthropic.js"
|
|
16
|
+
},
|
|
17
|
+
"./azure-openai-responses": {
|
|
18
|
+
"types": "./dist/providers/azure-openai-responses.d.ts",
|
|
19
|
+
"import": "./dist/providers/azure-openai-responses.js"
|
|
20
|
+
},
|
|
21
|
+
"./google": {
|
|
22
|
+
"types": "./dist/providers/google.d.ts",
|
|
23
|
+
"import": "./dist/providers/google.js"
|
|
24
|
+
},
|
|
25
|
+
"./google-vertex": {
|
|
26
|
+
"types": "./dist/providers/google-vertex.d.ts",
|
|
27
|
+
"import": "./dist/providers/google-vertex.js"
|
|
28
|
+
},
|
|
29
|
+
"./mistral": {
|
|
30
|
+
"types": "./dist/providers/mistral.d.ts",
|
|
31
|
+
"import": "./dist/providers/mistral.js"
|
|
32
|
+
},
|
|
33
|
+
"./openai-codex-responses": {
|
|
34
|
+
"types": "./dist/providers/openai-codex-responses.d.ts",
|
|
35
|
+
"import": "./dist/providers/openai-codex-responses.js"
|
|
36
|
+
},
|
|
37
|
+
"./openai-completions": {
|
|
38
|
+
"types": "./dist/providers/openai-completions.d.ts",
|
|
39
|
+
"import": "./dist/providers/openai-completions.js"
|
|
40
|
+
},
|
|
41
|
+
"./openai-responses": {
|
|
42
|
+
"types": "./dist/providers/openai-responses.d.ts",
|
|
43
|
+
"import": "./dist/providers/openai-responses.js"
|
|
44
|
+
},
|
|
45
|
+
"./oauth": {
|
|
46
|
+
"types": "./dist/oauth.d.ts",
|
|
47
|
+
"import": "./dist/oauth.js"
|
|
48
|
+
},
|
|
49
|
+
"./bedrock-provider": {
|
|
50
|
+
"types": "./dist/bedrock-provider.d.ts",
|
|
51
|
+
"import": "./dist/bedrock-provider.js"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"bin": {
|
|
55
|
+
"ai-provider": "./dist/cli.js"
|
|
56
|
+
},
|
|
57
|
+
"files": [
|
|
58
|
+
"dist",
|
|
59
|
+
"README.md"
|
|
60
|
+
],
|
|
61
|
+
"scripts": {
|
|
62
|
+
"clean": "shx rm -rf dist",
|
|
63
|
+
"generate-models": "node scripts/generate-models.ts",
|
|
64
|
+
"generate-image-models": "node scripts/generate-image-models.ts",
|
|
65
|
+
"build": "npm run generate-models && npm run generate-image-models && tsgo -p tsconfig.build.json",
|
|
66
|
+
"test": "vitest --run",
|
|
67
|
+
"prepublishOnly": "npm run clean && npm run build"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@anthropic-ai/sdk": "0.91.1",
|
|
71
|
+
"@aws-sdk/client-bedrock-runtime": "3.1048.0",
|
|
72
|
+
"@smithy/node-http-handler": "4.7.3",
|
|
73
|
+
"@google/genai": "1.52.0",
|
|
74
|
+
"@mistralai/mistralai": "2.2.1",
|
|
75
|
+
"http-proxy-agent": "7.0.2",
|
|
76
|
+
"https-proxy-agent": "7.0.6",
|
|
77
|
+
"openai": "6.26.0",
|
|
78
|
+
"partial-json": "0.1.7",
|
|
79
|
+
"typebox": "1.1.38"
|
|
80
|
+
},
|
|
81
|
+
"keywords": [
|
|
82
|
+
"ai",
|
|
83
|
+
"llm",
|
|
84
|
+
"openai",
|
|
85
|
+
"anthropic",
|
|
86
|
+
"gemini",
|
|
87
|
+
"bedrock",
|
|
88
|
+
"unified",
|
|
89
|
+
"api"
|
|
90
|
+
],
|
|
91
|
+
"author": "simpletoolsindiaorg (forked from Mario Zechner / earendil-works)",
|
|
92
|
+
"license": "MIT",
|
|
93
|
+
"repository": {
|
|
94
|
+
"type": "git",
|
|
95
|
+
"url": "git+https://github.com/simpletoolsindiaorg/ai.git",
|
|
96
|
+
"directory": "packages/ai"
|
|
97
|
+
},
|
|
98
|
+
"engines": {
|
|
99
|
+
"node": ">=22.19.0"
|
|
100
|
+
},
|
|
101
|
+
"devDependencies": {
|
|
102
|
+
"@types/node": "24.12.4",
|
|
103
|
+
"canvas": "3.2.3",
|
|
104
|
+
"vitest": "3.2.4"
|
|
105
|
+
}
|
|
106
106
|
}
|