Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.59 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.59 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
{
"name": "opencode2api",
"version": "1.6.0",
"description": "An OpenAI- and Anthropic-compatible API gateway for the OpenCode CLI, enabling the use of free models (Big Pickle, Ling, MiMo, Muse Spark, Nemotron) in standard AI clients.",
"main": "dist/index.js",
"type": "module",
"scripts": {
"start": "node dist/index.js",
"dev": "tsx watch index.ts",
"build": "tsc -p tsconfig.json",
"typecheck": "tsc --noEmit",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --detectOpenHandles",
"test:unit": "npm test",
"test:integration": "bash tests/test-integration.sh"
},
"keywords": [
"opencode",
"openai",
"proxy",
"kimi",
"glm",
"minimax",
"ai",
"api"
],
"author": "samson910022",
"repository": {
"type": "git",
"url": "https://github.com/samson910022/OpenCode2API.git"
},
"homepage": "https://github.com/samson910022/OpenCode2API#readme",
"bugs": {
"url": "https://github.com/samson910022/OpenCode2API/issues"
},
"license": "MIT",
"engines": {
"node": ">=22.19.0"
},
"dependencies": {
"@opencode-ai/sdk": "^1.18.29",
"axios": "^1.7.9",
"body-parser": "^1.20.3",
"cors": "^2.8.5",
"express": "^4.21.2",
"undici": "^8.10.2"
},
"devDependencies": {
"@swc/core": "^1.16.2",
"@swc/jest": "^0.2.39",
"@types/body-parser": "^1.19.6",
"@types/cors": "^2.8.19",
"@types/express": "^4.17.25",
"@types/node": "^20.19.43",
"@types/supertest": "^7.2.1",
"jest": "^30.2.0",
"supertest": "^7.2.2",
"tsx": "^4.23.13",
"typescript": "^7.0.2"
}
}