@super_studio/ecforce-ai-agent-server 1.4.3 → 1.5.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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +25 -5
package/README.md CHANGED
@@ -196,6 +196,12 @@ console.log(summary);
196
196
 
197
197
  ## Proxy Provider
198
198
 
199
+ Proxy Provider を利用するアプリは、対応する AI SDK を直接インストールしてください。
200
+
201
+ ```bash
202
+ pnpm add @ai-sdk/anthropic @ai-sdk/google-vertex @ai-sdk/openai @ai-sdk/provider
203
+ ```
204
+
199
205
  `spst()` は `@super_studio/ecforce-ai-agent-server/provider` から import します。
200
206
 
201
207
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@super_studio/ecforce-ai-agent-server",
3
- "version": "1.4.3",
3
+ "version": "1.5.0",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.cts",
@@ -38,17 +38,37 @@
38
38
  "access": "public"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/node": "22.14.0",
42
- "swagger-typescript-api": "13.2.9"
43
- },
44
- "dependencies": {
45
41
  "@ai-sdk/anthropic": "^3.0.82",
46
42
  "@ai-sdk/google-vertex": "^4.0.106",
47
43
  "@ai-sdk/openai": "^3.0.49",
48
44
  "@ai-sdk/provider": "^3.0.8",
45
+ "@types/node": "22.14.0",
46
+ "swagger-typescript-api": "13.2.9"
47
+ },
48
+ "dependencies": {
49
49
  "@panva/hkdf": "^1.2.1",
50
50
  "jose": "^6.0.6"
51
51
  },
52
+ "peerDependencies": {
53
+ "@ai-sdk/anthropic": ">=3",
54
+ "@ai-sdk/google-vertex": ">=4",
55
+ "@ai-sdk/openai": ">=3",
56
+ "@ai-sdk/provider": ">=3"
57
+ },
58
+ "peerDependenciesMeta": {
59
+ "@ai-sdk/anthropic": {
60
+ "optional": true
61
+ },
62
+ "@ai-sdk/google-vertex": {
63
+ "optional": true
64
+ },
65
+ "@ai-sdk/openai": {
66
+ "optional": true
67
+ },
68
+ "@ai-sdk/provider": {
69
+ "optional": true
70
+ }
71
+ },
52
72
  "scripts": {
53
73
  "dev": "tsdown --watch",
54
74
  "build": "tsdown",