forked from ben-vargas/ai-sdk-provider-claude-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.58 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 3.58 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
97
98
99
100
101
102
103
104
{
"name": "ai-sdk-provider-claude-code",
"version": "3.4.4",
"description": "AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)",
"keywords": [
"ai-sdk",
"claude-agent-sdk",
"anthropic",
"cli",
"language-model",
"llm"
],
"homepage": "https://github.com/ben-vargas/ai-sdk-provider-claude-code",
"repository": {
"type": "git",
"url": "git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git"
},
"bugs": {
"url": "https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"
},
"license": "MIT",
"author": "Ben Vargas",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/**/*",
"README.md",
"docs/**/*",
"LICENSE"
],
"scripts": {
"build": "tsup",
"clean": "rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint src",
"lint:all": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"ci": "npm run typecheck && npm run lint:all && npm run test",
"prepare": "npm run build",
"prepublishOnly": "npm run clean && npm run build",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:edge": "vitest run --project=edge",
"test:node": "vitest run --project=node",
"test:watch": "vitest",
"test:integration": "npm run build && npx tsx examples/integration-test.ts",
"typecheck": "tsc --noEmit",
"example:basic": "npm run build && npx tsx examples/basic-usage.ts",
"example:streaming": "npm run build && npx tsx examples/streaming.ts",
"example:conversation": "npm run build && npx tsx examples/conversation-history.ts",
"example:config": "npm run build && npx tsx examples/custom-config.ts",
"example:object": "npm run build && npx tsx examples/generate-object.ts",
"example:object:constraints": "npm run build && npx tsx examples/generate-object-constraints.ts",
"example:tools": "npm run build && npx tsx examples/tool-management.ts",
"example:mcp:filesystem": "npm run build && npx tsx examples/mcp-filesystem.ts",
"example:mcp:exa": "npm run build && npx tsx examples/mcp-exa.ts",
"example:timeout": "npm run build && npx tsx examples/long-running-tasks.ts",
"example:zod4": "npm run build && npx tsx examples/zod4-compatibility-test.ts",
"example:structured-repro": "npx tsx examples/structured-output-repro.ts",
"example:all": "npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout"
},
"dependencies": {
"@ai-sdk/provider": "^3.0.0",
"@ai-sdk/provider-utils": "^4.0.1",
"@anthropic-ai/claude-agent-sdk": "^0.2.63"
},
"devDependencies": {
"@edge-runtime/vm": "5.0.0",
"@eslint/js": "9.28.0",
"@types/node": "^20.19.0",
"@typescript-eslint/eslint-plugin": "8.34.0",
"@typescript-eslint/parser": "8.34.0",
"@vitest/coverage-v8": "^3.2.4",
"ai": "^6.0.3",
"eslint": "9.28.0",
"globals": "16.2.0",
"prettier": "^3.6.2",
"tsup": "8.5.0",
"typescript": "5.6.3",
"vitest": "3.2.4",
"zod": "^4.1.12"
},
"peerDependencies": {
"zod": "^4.0.0"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
}
}