File size: 1,620 Bytes
5d0a52f
 
55ac8b5
22a7de1
4f2665c
34f3ea1
 
 
 
4f2665c
5d0a52f
178e38e
 
 
5d0a52f
92c5df7
 
5d0a52f
d3a5a81
 
5b8c195
5d0a52f
 
 
 
 
22a7de1
 
 
 
5d0a52f
 
 
3d01305
d07b5c0
5d0a52f
3d01305
d07b5c0
5d0a52f
 
3d01305
 
 
5d0a52f
3d01305
5d0a52f
 
d07b5c0
2996fd8
8728276
5d0a52f
3d01305
92c5df7
 
5d0a52f
 
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
{
  "name": "codex-proxy",
  "version": "1.0.92",
  "description": "Reverse proxy that exposes Codex Desktop Responses API as OpenAI-compatible /v1/chat/completions",
  "contributors": [
    {
      "name": "Huangcoolbo",
      "url": "https://github.com/Huangcoolbo"
    }
  ],
  "type": "module",
  "workspaces": [
    "packages/*"
  ],
  "scripts": {
    "test": "vitest run",
    "test:watch": "vitest",
    "dev": "tsx watch src/index.ts",
    "dev:web": "cd web && npx vite",
    "build:web": "cd web && npx vite build",
    "build": "npm run build:web && tsc",
    "start": "node dist/index.js",
    "check-update": "tsx scripts/check-update.ts",
    "check-update:watch": "tsx scripts/check-update.ts --watch",
    "extract": "tsx scripts/extract-fingerprint.ts",
    "apply-update": "tsx scripts/apply-update.ts",
    "apply-update:dry": "tsx scripts/apply-update.ts --dry-run",
    "setup": "tsx scripts/setup-curl.ts",
    "update": "tsx scripts/full-update.ts",
    "postinstall": "tsx scripts/setup-curl.ts"
  },
  "dependencies": {
    "@hono/node-server": "^1.0.0",
    "hono": "^4.0.0",
    "https-proxy-agent": "^8.0.0",
    "js-yaml": "^4.1.0",
    "undici": "^7.0.0",
    "ws": "^8.19.0",
    "zod": "^3.23.0"
  },
  "optionalDependencies": {
    "koffi": "^2.15.1"
  },
  "devDependencies": {
    "@electron/asar": "^3.2.0",
    "@types/js-yaml": "^4.0.0",
    "@types/node": "^22.0.0",
    "@types/ws": "^8.18.1",
    "@vitest/coverage-v8": "^3.2.4",
    "electron-to-chromium": "^1.5.302",
    "js-beautify": "^1.15.0",
    "tsx": "^4.0.0",
    "typescript": "^5.5.0",
    "vitest": "^3.2.4"
  }
}