-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.33 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.33 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
{
"name": "ai-sdk-provider-opencode-sdk",
"version": "3.0.2",
"description": "AI SDK v6 provider for OpenCode via @opencode-ai/sdk",
"keywords": [
"ai-sdk",
"opencode",
"opencode-sdk",
"language-model",
"llm"
],
"homepage": "https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk",
"repository": {
"type": "git",
"url": "git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git"
},
"bugs": {
"url": "https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/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",
"LICENSE"
],
"scripts": {
"build": "tsup",
"clean": "rm -rf dist",
"dev": "tsup --watch",
"lint": "eslint src",
"format": "prettier --write .",
"format:check": "prettier --check .",
"ci": "npm run typecheck && npm run lint && npm run test",
"prepare": "npm run build",
"prepublishOnly": "npm run clean && npm run build",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"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:client-options": "npm run build && npx tsx examples/client-options.ts"
},
"dependencies": {
"@ai-sdk/provider": "^3.0.8",
"@ai-sdk/provider-utils": "^4.0.15",
"@opencode-ai/sdk": "^1.2.15"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "20.17.24",
"@typescript-eslint/eslint-plugin": "8.34.0",
"@typescript-eslint/parser": "8.34.0",
"@vitest/coverage-v8": "^3.2.4",
"ai": "^6.0.85",
"eslint": "9.28.0",
"prettier": "^3.6.2",
"tsup": "8.5.0",
"typescript": "5.6.3",
"typescript-eslint": "^8.49.0",
"vitest": "3.2.4",
"zod": "^4.3.4"
},
"peerDependencies": {
"zod": "^3.25.76 || ^4.1.8"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
}
}