antigravity-claude-proxy 1.0.2 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +49 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,8 @@
1
- # Antigravity Claude Proxy
1
+ # Antigravity Claude Server
2
+
3
+ [![npm version](https://img.shields.io/npm/v/antigravity-claude-proxy.svg)](https://www.npmjs.com/package/antigravity-claude-proxy)
4
+ [![npm downloads](https://img.shields.io/npm/dm/antigravity-claude-proxy.svg)](https://www.npmjs.com/package/antigravity-claude-proxy)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
2
6
 
3
7
  A proxy server that exposes an **Anthropic-compatible API** backed by **Antigravity's Cloud Code**, letting you use Claude models like sonnet and opus with **Claude Code CLI**.
4
8
 
@@ -25,15 +29,33 @@ A proxy server that exposes an **Anthropic-compatible API** backed by **Antigrav
25
29
 
26
30
  ---
27
31
 
28
- ## Quick Start
32
+ ## Installation
29
33
 
30
- ### 1. Install Dependencies
34
+ ### Option 1: npm (Recommended)
31
35
 
32
36
  ```bash
37
+ # Run directly with npx (no install needed)
38
+ npx antigravity-claude-proxy start
39
+
40
+ # Or install globally
41
+ npm install -g antigravity-claude-proxy
42
+ antigravity-claude-proxy start
43
+ ```
44
+
45
+ ### Option 2: Clone Repository
46
+
47
+ ```bash
48
+ git clone https://github.com/badri-s2001/antigravity_claude_server.git
49
+ cd antigravity_claude_server
33
50
  npm install
51
+ npm start
34
52
  ```
35
53
 
36
- ### 2. Add Account(s)
54
+ ---
55
+
56
+ ## Quick Start
57
+
58
+ ### 1. Add Account(s)
37
59
 
38
60
  You have two options:
39
61
 
@@ -46,6 +68,13 @@ If you have Antigravity installed and logged in, the proxy will automatically ex
46
68
  Add one or more Google accounts for load balancing:
47
69
 
48
70
  ```bash
71
+ # If installed via npm
72
+ antigravity-claude-proxy accounts add
73
+
74
+ # If using npx
75
+ npx antigravity-claude-proxy accounts add
76
+
77
+ # If cloned locally
49
78
  npm run accounts:add
50
79
  ```
51
80
 
@@ -55,24 +84,31 @@ Manage accounts:
55
84
 
56
85
  ```bash
57
86
  # List all accounts
58
- npm run accounts:list
87
+ antigravity-claude-proxy accounts list
59
88
 
60
89
  # Verify accounts are working
61
- npm run accounts:verify
90
+ antigravity-claude-proxy accounts verify
62
91
 
63
92
  # Interactive account management
64
- npm run accounts
93
+ antigravity-claude-proxy accounts
65
94
  ```
66
95
 
67
- ### 3. Start the Proxy Server
96
+ ### 2. Start the Proxy Server
68
97
 
69
98
  ```bash
99
+ # If installed via npm
100
+ antigravity-claude-proxy start
101
+
102
+ # If using npx
103
+ npx antigravity-claude-proxy start
104
+
105
+ # If cloned locally
70
106
  npm start
71
107
  ```
72
108
 
73
109
  The server runs on `http://localhost:8080` by default.
74
110
 
75
- ### 4. Verify It's Working
111
+ ### 3. Verify It's Working
76
112
 
77
113
  ```bash
78
114
  # Health check
@@ -114,7 +150,7 @@ Add this configuration:
114
150
 
115
151
  ```bash
116
152
  # Make sure the proxy is running first
117
- npm start
153
+ antigravity-claude-proxy start
118
154
 
119
155
  # In another terminal, run Claude Code
120
156
  claude
@@ -199,7 +235,7 @@ If using single-account mode with Antigravity:
199
235
  1. Make sure Antigravity app is installed and running
200
236
  2. Ensure you're logged in to Antigravity
201
237
 
202
- Or add accounts via OAuth instead: `npm run accounts:add`
238
+ Or add accounts via OAuth instead: `antigravity-claude-proxy accounts add`
203
239
 
204
240
  ### 401 Authentication Errors
205
241
 
@@ -210,7 +246,7 @@ curl -X POST http://localhost:8080/refresh-token
210
246
 
211
247
  Or re-authenticate the account:
212
248
  ```bash
213
- npm run accounts
249
+ antigravity-claude-proxy accounts
214
250
  ```
215
251
 
216
252
  ### Rate Limiting (429)
@@ -221,7 +257,7 @@ With multiple accounts, the proxy automatically switches to the next available a
221
257
 
222
258
  Re-authenticate the account:
223
259
  ```bash
224
- npm run accounts
260
+ antigravity-claude-proxy accounts
225
261
  # Choose "Re-authenticate" for the invalid account
226
262
  ```
227
263
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antigravity-claude-proxy",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Proxy server to use Antigravity's Claude models with Claude Code CLI",
5
5
  "main": "src/index.js",
6
6
  "type": "module",