opencode2api-proxy 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +621 -0
- package/README.md +541 -2
- package/config.example.json +61 -0
- package/dist/cli.js +10331 -0
- package/dist/cli.js.map +7 -0
- package/package.json +49 -4
- package/worker/worker.js +2621 -0
package/package.json
CHANGED
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode2api-proxy",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "OpenCode Zen/Go to OpenAI, Anthropic and Responses API proxy router with a built-in control WebUI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/cli.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"opencode2api-proxy": "dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"worker",
|
|
13
|
+
"config.example.json",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"typecheck": "tsc --noEmit",
|
|
19
|
+
"test": "tsx --test tests/**/*.test.ts",
|
|
20
|
+
"build": "tsx scripts/build.ts",
|
|
21
|
+
"build:release": "tsx scripts/build-release.ts",
|
|
22
|
+
"prepublishOnly": "npm run typecheck && npm test && npm run build",
|
|
23
|
+
"start": "tsx src/cli/index.ts start"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"opencode",
|
|
27
|
+
"openai",
|
|
28
|
+
"anthropic",
|
|
29
|
+
"openai-compatible",
|
|
30
|
+
"router",
|
|
31
|
+
"proxy",
|
|
32
|
+
"cloudflare-workers",
|
|
33
|
+
"reverse-proxy"
|
|
34
|
+
],
|
|
35
|
+
"author": "IMROVOID",
|
|
36
|
+
"license": "GPL-3.0-or-later",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/IMROVOID/OpenCode2API-Proxy.git"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/IMROVOID/OpenCode2API-Proxy/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/IMROVOID/OpenCode2API-Proxy#readme",
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/node": "^22.13.9",
|
|
47
|
+
"esbuild": "^0.25.0",
|
|
48
|
+
"tsx": "^4.19.3",
|
|
49
|
+
"typescript": "^5.8.2"
|
|
50
|
+
}
|
|
51
|
+
}
|