-
Notifications
You must be signed in to change notification settings - Fork 216
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.34 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.34 KB
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
{
"name": "@workflow/ai",
"version": "4.0.1-beta.56",
"description": "Workflow DevKit compatible helper library for the AI SDK",
"type": "module",
"main": "dist/index.js",
"files": [
"dist",
"docs/**/*"
],
"directories": {
"doc": "./docs"
},
"publishConfig": {
"access": "public"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/vercel/workflow.git",
"directory": "packages/ai"
},
"keywords": [
"ai",
"workflow",
"sdk"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./agent": {
"types": "./dist/agent/durable-agent.d.ts",
"default": "./dist/agent/durable-agent.js"
},
"./anthropic": {
"types": "./dist/providers/anthropic.d.ts",
"default": "./dist/providers/anthropic.js"
},
"./gateway": {
"types": "./dist/providers/gateway.d.ts",
"default": "./dist/providers/gateway.js"
},
"./google": {
"types": "./dist/providers/google.d.ts",
"default": "./dist/providers/google.js"
},
"./openai": {
"types": "./dist/providers/openai.d.ts",
"default": "./dist/providers/openai.js"
},
"./xai": {
"types": "./dist/providers/xai.d.ts",
"default": "./dist/providers/xai.js"
},
"./test": {
"types": "./dist/providers/mock.d.ts",
"default": "./dist/providers/mock.js"
}
},
"scripts": {
"build": "tsc",
"clean": "tsc --build --clean && rm -rf docs ||:",
"test": "vitest run",
"prepack": "mkdir -p docs && cp -r ../../docs/content/docs/ai ./docs/ && cp -r ../../docs/content/docs/api-reference/workflow-ai ./docs/",
"postpack": "rm -rf docs"
},
"devDependencies": {
"@workflow/tsconfig": "workspace:*",
"ai": "catalog:",
"workflow": "workspace:*"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.0",
"ai": "^6",
"workflow": "workspace:^"
},
"peerDependenciesMeta": {
"@opentelemetry/api": {
"optional": true
}
},
"dependencies": {
"@ai-sdk/provider": "^3.0.0",
"@workflow/serde": "workspace:^",
"zod": "catalog:"
},
"optionalDependencies": {
"@ai-sdk/anthropic": "^3.0.0",
"@ai-sdk/gateway": "^3.0.0",
"@ai-sdk/google": "^3.0.0",
"@ai-sdk/openai": "^3.0.0",
"@ai-sdk/xai": "^3.0.0"
}
}