-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 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
{
"name": "cursor-opencode-provider",
"version": "0.3.2",
"description": "Use Cursor subscription models from OpenCode via Cursor's Connect-RPC agent protocol",
"type": "module",
"license": "MIT",
"author": "oakimov",
"repository": {
"type": "git",
"url": "git+https://github.com/oakimov/cursor-opencode-provider.git"
},
"bugs": {
"url": "https://github.com/oakimov/cursor-opencode-provider/issues"
},
"homepage": "https://github.com/oakimov/cursor-opencode-provider#readme",
"keywords": [
"opencode",
"opencode-plugin",
"cursor",
"ai-sdk",
"provider",
"plugin"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./plugin": {
"types": "./dist/plugin.d.ts",
"import": "./dist/plugin.js"
},
"./plugin/v2": {
"types": "./dist/plugin-v2.d.ts",
"import": "./dist/plugin-v2.js"
},
"./plugin/opencode2": {
"types": "./dist/plugin-opencode2.d.ts",
"import": "./dist/plugin-opencode2.js"
},
"./errors": {
"types": "./dist/errors.d.ts",
"import": "./dist/errors.js"
}
},
"files": [
"dist",
"LICENSE",
"DISCLAIMER.md",
"SECURITY.md",
"README.md"
],
"scripts": {
"build": "tsc",
"typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
"test": "bun test",
"test:node-http2": "bun run build && node test/node-http2-cleanup.mjs",
"test:watch": "bun test --watch",
"generate:pricing": "bun run scripts/generate-cursor-pricing.ts",
"generate:pricing:check": "bun run scripts/generate-cursor-pricing.ts -- --check",
"check:pricing": "bun run scripts/check-cursor-pricing-coverage.ts",
"prepublishOnly": "bun run generate:pricing && bun run build"
},
"dependencies": {
"@ai-sdk/provider": "3.0.14",
"protobufjs": "^7.6.5"
},
"peerDependencies": {
"@opencode-ai/plugin": "^1.17.13",
"@opencode-compat/profile": ">=0.1.0"
},
"peerDependenciesMeta": {
"@opencode-compat/profile": {
"optional": true
}
},
"devDependencies": {
"@opencode-ai/plugin": "^1.18.13",
"@opencode-ai/plugin-next": "npm:@opencode-ai/plugin@0.0.0-next-16281",
"@tsconfig/node22": "^22.0.5",
"@types/node": "^22.20.1",
"typescript": "^5.9.3"
}
}