ai-gateway-proxy 0.1.0 → 0.2.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.
- package/LICENSE +1 -1
- package/README.md +233 -9
- package/dist/index.cjs +817 -254
- package/dist/index.d.cts +329 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +190 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +817 -254
- package/package.json +39 -21
package/package.json
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-gateway-proxy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/
|
|
10
|
-
"directory": "packages/ai-gateway-proxy"
|
|
9
|
+
"url": "git+https://github.com/sferarc/ai-gateway-proxy.git"
|
|
11
10
|
},
|
|
11
|
+
"homepage": "https://github.com/sferarc/ai-gateway-proxy#readme",
|
|
12
|
+
"bugs": "https://github.com/sferarc/ai-gateway-proxy/issues",
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
"import": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.mjs"
|
|
18
|
+
},
|
|
19
|
+
"require": {
|
|
20
|
+
"types": "./dist/index.d.cts",
|
|
21
|
+
"default": "./dist/index.cjs"
|
|
22
|
+
}
|
|
17
23
|
}
|
|
18
24
|
},
|
|
19
25
|
"main": "./dist/index.cjs",
|
|
@@ -23,20 +29,25 @@
|
|
|
23
29
|
"dist/**"
|
|
24
30
|
],
|
|
25
31
|
"dependencies": {
|
|
26
|
-
"@ai-sdk/provider": "
|
|
27
|
-
"@ai-sdk/provider-utils": "
|
|
28
|
-
"@vercel/oidc": "
|
|
32
|
+
"@ai-sdk/provider": "4.0.34",
|
|
33
|
+
"@ai-sdk/provider-utils": "5.0.68",
|
|
34
|
+
"@vercel/oidc": "4.0.3"
|
|
29
35
|
},
|
|
30
36
|
"devDependencies": {
|
|
31
|
-
"@ai-sdk/gateway": "
|
|
32
|
-
"@
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
37
|
+
"@ai-sdk/gateway": "4.0.126",
|
|
38
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
39
|
+
"@biomejs/biome": "2.6.3",
|
|
40
|
+
"@changesets/cli": "3.0.3",
|
|
41
|
+
"@types/node": "26.6.5",
|
|
42
|
+
"@typescript/typescript6": "6.0.2",
|
|
43
|
+
"ai": "7.0.153",
|
|
44
|
+
"bunchee": "7.0.2",
|
|
45
|
+
"dotenv": "18.0.9",
|
|
46
|
+
"is-tree-shakable": "0.5.0",
|
|
47
|
+
"knip": "6.43.0",
|
|
48
|
+
"lefthook": "2.2.2",
|
|
49
|
+
"typescript": "7.0.2",
|
|
50
|
+
"vitest": "5.0.5"
|
|
40
51
|
},
|
|
41
52
|
"publishConfig": {
|
|
42
53
|
"access": "public",
|
|
@@ -47,8 +58,15 @@
|
|
|
47
58
|
"dev": "bunchee --watch",
|
|
48
59
|
"test": "vitest run",
|
|
49
60
|
"test:watch": "vitest",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
61
|
+
"test:integration": "vitest run src/integration.test.ts",
|
|
62
|
+
"is-tree-shakable": "is-tree-shakable",
|
|
63
|
+
"attw": "attw --pack .",
|
|
64
|
+
"typecheck": "tsc --noEmit",
|
|
65
|
+
"lint": "biome check .",
|
|
66
|
+
"fix": "biome check --write .",
|
|
67
|
+
"knip": "knip",
|
|
68
|
+
"check": "pnpm lint && pnpm exec lefthook validate && pnpm knip && pnpm typecheck && pnpm test && pnpm build && pnpm is-tree-shakable && pnpm attw",
|
|
69
|
+
"changeset": "changeset",
|
|
70
|
+
"release": "pnpm build && changeset publish"
|
|
53
71
|
}
|
|
54
72
|
}
|