File size: 1,897 Bytes
b88ce1b
 
 
 
 
 
d69478c
b88ce1b
d69478c
 
b88ce1b
d69478c
 
 
 
 
 
 
 
 
 
b88ce1b
 
 
 
 
 
 
 
 
 
d69478c
 
 
 
 
 
 
 
 
 
 
 
b88ce1b
 
 
d69478c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b88ce1b
 
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
{
  "name": "antigravity-to-openai",
  "version": "1.0.0",
  "description": "Antigravity API 转 OpenAI 格式的代理服务",
  "type": "module",
  "main": "src/server/index.js",
  "bin": "src/server/index.js",
  "scripts": {
    "start": "node --expose-gc src/server/index.js",
    "start:no-gc": "node src/server/index.js",
    "login": "node scripts/oauth-server.js",
    "refresh": "node scripts/refresh-tokens.js",
    "dev": "node --expose-gc --watch src/server/index.js",
    "build": "node scripts/build.js --target=win",
    "build:win": "node scripts/build.js --target=win",
    "build:linux": "node scripts/build.js --target=linux",
    "build:linux-arm64": "node scripts/build.js --target=linux-arm64",
    "build:macos": "node scripts/build.js --target=macos",
    "build:macos-arm64": "node scripts/build.js --target=macos-arm64",
    "build:all": "node scripts/build.js --target=all",
    "docker:build": "node scripts/build-docker.js"
  },
  "keywords": [
    "antigravity",
    "openai",
    "api",
    "proxy"
  ],
  "author": "",
  "license": "MIT",
  "dependencies": {
    "axios": "^1.13.4",
    "cookie-parser": "^1.4.7",
    "cors": "^2.8.6",
    "dotenv": "^17.2.3",
    "express": "^5.2.1",
    "jsonwebtoken": "^9.0.3",
    "protobufjs": "^8.0.0",
    "ws": "^8.19.0"
  },
  "devDependencies": {
    "esbuild": "^0.27.2",
    "pkg": "^5.8.1"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "pkg": {
    "scripts": [
      "src/**/*.js",
      "scripts/**/*.js"
    ],
    "assets": [
      "public/*.html",
      "public/*.css",
      "public/js/**/*",
      "public/assets/**/*",
      "src/bin/**/*",
      "src/utils/proto/**/*",
      ".env.example",
      "config.json"
    ],
    "targets": [
      "node18-win-x64",
      "node18-linux-x64",
      "node18-linux-arm64",
      "node18-macos-x64",
      "node18-macos-arm64"
    ],
    "outputPath": "dist"
  }
}