@jz92/ai-provider 0.2.0 → 0.2.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 CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@jz92/ai-provider",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Environment-aware AI provider for portfolio projects. Local dev → Ollama, deployed → any cloud provider.",
5
- "author": "Jithin Zachariah",
5
+ "author": "jz92",
6
6
  "license": "MIT",
7
7
  "private": false,
8
8
  "type": "module",
9
-
10
9
  "main": "./dist/index.js",
11
10
  "module": "./dist/index.mjs",
12
11
  "types": "./dist/index.d.ts",
@@ -23,7 +22,6 @@
23
22
  "scripts",
24
23
  "README.md"
25
24
  ],
26
-
27
25
  "scripts": {
28
26
  "build": "tsup src/index.ts --format esm,cjs --dts --clean",
29
27
  "dev": "tsup src/index.ts --format esm,cjs --dts --watch",
@@ -33,7 +31,6 @@
33
31
  "setup:local": "bash scripts/setup-local.sh",
34
32
  "prepublishOnly": "npm run build && npm run type-check"
35
33
  },
36
-
37
34
  "peerDependencies": {
38
35
  "ai": ">=4.0.0",
39
36
  "zod": ">=3.0.0",
@@ -45,12 +42,24 @@
45
42
  "ollama-ai-provider": ">=0.16.0"
46
43
  },
47
44
  "peerDependenciesMeta": {
48
- "@ai-sdk/anthropic": { "optional": true },
49
- "@ai-sdk/openai": { "optional": true },
50
- "@ai-sdk/google": { "optional": true },
51
- "@ai-sdk/groq": { "optional": true },
52
- "@ai-sdk/mistral": { "optional": true },
53
- "ollama-ai-provider": { "optional": true }
45
+ "@ai-sdk/anthropic": {
46
+ "optional": true
47
+ },
48
+ "@ai-sdk/openai": {
49
+ "optional": true
50
+ },
51
+ "@ai-sdk/google": {
52
+ "optional": true
53
+ },
54
+ "@ai-sdk/groq": {
55
+ "optional": true
56
+ },
57
+ "@ai-sdk/mistral": {
58
+ "optional": true
59
+ },
60
+ "ollama-ai-provider": {
61
+ "optional": true
62
+ }
54
63
  },
55
64
  "devDependencies": {
56
65
  "typescript": "^5.4.0",
@@ -66,7 +75,19 @@
66
75
  "@ai-sdk/mistral": "^1.0.0",
67
76
  "ollama-ai-provider": "^0.16.0"
68
77
  },
69
-
70
- "engines": { "node": ">=18.0.0" },
71
- "keywords": ["ai", "ollama", "anthropic", "openai", "google", "groq", "mistral", "vercel-ai-sdk", "llm", "provider"]
78
+ "engines": {
79
+ "node": ">=18.0.0"
80
+ },
81
+ "keywords": [
82
+ "ai",
83
+ "ollama",
84
+ "anthropic",
85
+ "openai",
86
+ "google",
87
+ "groq",
88
+ "mistral",
89
+ "vercel-ai-sdk",
90
+ "llm",
91
+ "provider"
92
+ ]
72
93
  }
@@ -11,7 +11,7 @@ const green = '\x1b[32m'
11
11
  const dim = '\x1b[2m'
12
12
 
13
13
  console.log(`
14
- ${bold}@jithin/ai-provider${reset} installed successfully.
14
+ ${bold}@jz92/ai-provider${reset} installed successfully.
15
15
 
16
16
  ${yellow}Next: install the provider adapters you need.${reset}
17
17