@xkei/openclaude 0.30.0-antigravity
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 +29 -0
- package/README.md +518 -0
- package/bin/import-specifier.mjs +13 -0
- package/bin/import-specifier.test.mjs +13 -0
- package/bin/node-compile-cache.mjs +17 -0
- package/bin/openclaude +126 -0
- package/dist/cli.mjs +11292 -0
- package/dist/sdk.mjs +284293 -0
- package/docs/antigravity-plugin-install.md +223 -0
- package/docs/windows-aliases-and-launchers.md +162 -0
- package/package.json +226 -0
- package/scripts/windows/openclaude-aliases.ps1 +206 -0
- package/src/entrypoints/sdk/coreTypes.generated.ts +2385 -0
- package/src/entrypoints/sdk.d.ts +601 -0
- package/vendor/node-domexception-shim/index.js +3 -0
- package/vendor/node-domexception-shim/package.json +8 -0
- package/vendor/openclaude-antigravity-provider/.claude-plugin/marketplace.json +17 -0
- package/vendor/openclaude-antigravity-provider/.claude-plugin/plugin.json +38 -0
- package/vendor/openclaude-antigravity-provider/bin/antigravity-proxy.exe +0 -0
- package/vendor/openclaude-antigravity-provider/hooks/SessionEnd.ps1 +22 -0
- package/vendor/openclaude-antigravity-provider/hooks/SessionStart.ps1 +111 -0
- package/vendor/openclaude-antigravity-provider/hooks/Watchdog-Stop.ps1 +82 -0
- package/vendor/openclaude-antigravity-provider/hooks/hooks.json +37 -0
- package/vendor/openclaude-antigravity-provider/hooks/inject-provider.js +110 -0
- package/vendor/openclaude-antigravity-provider/hooks/session-end.bat +22 -0
- package/vendor/openclaude-antigravity-provider/hooks/start.bat +7 -0
- package/vendor/openclaude-antigravity-provider/package.json +24 -0
- package/vendor/openclaude-antigravity-provider/src/accounts.ts +115 -0
- package/vendor/openclaude-antigravity-provider/src/auth-cli.ts +125 -0
- package/vendor/openclaude-antigravity-provider/src/auth.ts +221 -0
- package/vendor/openclaude-antigravity-provider/src/config.ts +68 -0
- package/vendor/openclaude-antigravity-provider/src/constants.ts +139 -0
- package/vendor/openclaude-antigravity-provider/src/gemini-fallback.ts +157 -0
- package/vendor/openclaude-antigravity-provider/src/server.ts +367 -0
- package/vendor/openclaude-antigravity-provider/src/storage.ts +56 -0
- package/vendor/openclaude-antigravity-provider/src/transform.ts +241 -0
- package/vendor/openclaude-antigravity-provider/tsconfig.json +15 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# OpenClaude + Antigravity Provider — Installation Guide
|
|
2
|
+
|
|
3
|
+
Step-by-step instructions for installing the bundled OpenClaude package with
|
|
4
|
+
the Google Antigravity provider plugin. After installation you can use
|
|
5
|
+
**Gemini 3 Pro/Flash** and **Claude Sonnet 4.6 / Opus 4.6** through your
|
|
6
|
+
personal Google accounts, with automatic multi-account rotation and no
|
|
7
|
+
free-tier rate limits.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## What you get
|
|
12
|
+
|
|
13
|
+
| Component | Description |
|
|
14
|
+
|---|---|
|
|
15
|
+
| **OpenClaude CLI** | Claude Code-style agent CLI (`openclaude` command) |
|
|
16
|
+
| **`/accounts` command** | Built-in account manager (add / enable / disable / delete Google accounts, clear rate limits) |
|
|
17
|
+
| **Antigravity provider plugin** | Auto-starting local proxy (`localhost:51122`) bridging OpenClaude to Google's Antigravity API |
|
|
18
|
+
| **Zero-config bootstrap** | The plugin registers itself on first launch — no manual settings edits |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Requirements
|
|
23
|
+
|
|
24
|
+
- **OS:** Windows 10/11 (the bundled proxy is a Windows executable; hooks are
|
|
25
|
+
`.bat`/`.ps1`).
|
|
26
|
+
- **Node.js 20+** (or Bun 1.0+) — runs the CLI.
|
|
27
|
+
- One or more **Google accounts** (personal Gmail accounts work).
|
|
28
|
+
- Optional: **Bun** — only needed if you want to rebuild the proxy from source.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Step 1 — Install the package
|
|
33
|
+
|
|
34
|
+
Install from the bundled tarball (`gitlawb-openclaude-0.30.0.tgz`):
|
|
35
|
+
|
|
36
|
+
```powershell
|
|
37
|
+
npm install -g .\gitlawb-openclaude-0.30.0.tgz
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
or with Bun:
|
|
41
|
+
|
|
42
|
+
```powershell
|
|
43
|
+
bun install -g .\gitlawb-openclaude-0.30.0.tgz
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
> If you are installing from a source checkout instead, see
|
|
47
|
+
> [Appendix A](#appendix-a--installing-from-a-source-checkout).
|
|
48
|
+
|
|
49
|
+
## Step 2 — Verify the CLI works
|
|
50
|
+
|
|
51
|
+
```powershell
|
|
52
|
+
openclaude --version
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Expected output:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
0.30.0 (OpenClaude)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
> If `openclaude` is not found, restart your terminal so the global `bin`
|
|
62
|
+
> directory is on `PATH`.
|
|
63
|
+
|
|
64
|
+
## Step 3 — First launch (plugin self-registration)
|
|
65
|
+
|
|
66
|
+
Start OpenClaude in any project folder:
|
|
67
|
+
|
|
68
|
+
```powershell
|
|
69
|
+
cd C:\your\project
|
|
70
|
+
openclaude
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
On boot, OpenClaude automatically registers the bundled plugin by writing
|
|
74
|
+
these entries into `~\.openclaude\settings.json` (only if missing — your own
|
|
75
|
+
edits are never overwritten):
|
|
76
|
+
|
|
77
|
+
```json
|
|
78
|
+
{
|
|
79
|
+
"enabledPlugins": {
|
|
80
|
+
"openclaude-antigravity-provider@openclaude-antigravity-provider": true
|
|
81
|
+
},
|
|
82
|
+
"extraKnownMarketplaces": {
|
|
83
|
+
"openclaude-antigravity-provider": {
|
|
84
|
+
"source": { "source": "directory", "path": "…\\vendor\\openclaude-antigravity-provider" }
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Verify:** inside OpenClaude run `/plugin` — `openclaude-antigravity-provider`
|
|
91
|
+
should be listed as enabled.
|
|
92
|
+
|
|
93
|
+
## Step 4 — Add a Google account
|
|
94
|
+
|
|
95
|
+
1. Inside OpenClaude, type:
|
|
96
|
+
```
|
|
97
|
+
/accounts
|
|
98
|
+
```
|
|
99
|
+
2. Select **Add new Google account** — a browser window opens for Google
|
|
100
|
+
sign-in.
|
|
101
|
+
3. Sign in with your Google account and approve the consent prompt.
|
|
102
|
+
4. The browser shows *"Account added!"* — return to OpenClaude. The account
|
|
103
|
+
now appears in the list as **enabled**.
|
|
104
|
+
|
|
105
|
+
Repeat for each account you want in the rotation pool (LRU rotation — the
|
|
106
|
+
least-recently-used healthy account serves each request).
|
|
107
|
+
|
|
108
|
+
> Accounts are stored in `~\.openclaude\antigravity-accounts.json`.
|
|
109
|
+
> Refresh tokens never leave your machine.
|
|
110
|
+
|
|
111
|
+
## Step 5 — Select a model and start coding
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
/model
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Pick one of the Antigravity models (auto-discovered from the proxy):
|
|
118
|
+
|
|
119
|
+
| Model ID | Served as |
|
|
120
|
+
|---|---|
|
|
121
|
+
| `antigravity-gemini-3.1-pro` | Gemini 3.1 Pro (thinking: low) |
|
|
122
|
+
| `antigravity-gemini-3-pro` | Gemini 3 Pro (thinking: low) |
|
|
123
|
+
| `antigravity-gemini-3-flash` | Gemini 3 Flash |
|
|
124
|
+
| `gemini-2.5-pro` / `gemini-2.5-flash` | Gemini 2.5 family |
|
|
125
|
+
| `antigravity-claude-sonnet-4-6` | Claude Sonnet 4.6 |
|
|
126
|
+
| `antigravity-claude-opus-4-6-thinking` | Claude Opus 4.6 (thinking) |
|
|
127
|
+
|
|
128
|
+
Then just chat — the proxy auto-starts with every session and shuts down when
|
|
129
|
+
OpenClaude exits.
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## How it works
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
OpenClaude ──OpenAI-compatible──▶ local proxy (127.0.0.1:51122)
|
|
137
|
+
│ picks healthy Google account (LRU)
|
|
138
|
+
│ refreshes OAuth access token
|
|
139
|
+
▼
|
|
140
|
+
Google Antigravity daily sandbox
|
|
141
|
+
(agent-type requests → unlimited quota)
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
- **Why no rate limits:** requests are sent Antigravity-Manager-style
|
|
145
|
+
(synthetic project + `requestType: "agent"` + bare tier-suffixed model
|
|
146
|
+
names) to the daily sandbox endpoint, which routes them into the
|
|
147
|
+
agent quota pool instead of the per-account free tier.
|
|
148
|
+
- **Rotation:** on a 429 the account is marked rate-limited and the next
|
|
149
|
+
account is tried. If *all* accounts are limited and the longest wait is
|
|
150
|
+
under 2 minutes, the proxy silently sleeps it out and retries.
|
|
151
|
+
- **Gemini-CLI fallback (optional):** if every account is exhausted on a
|
|
152
|
+
Gemini model, the proxy forwards the request to the official Gemini API
|
|
153
|
+
using the API key from your `~\.openclaude.json` provider profile named
|
|
154
|
+
**"Google AI / Gemini"** (if configured). Claude models are never rerouted —
|
|
155
|
+
they return the 429 to OpenClaude as normal.
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Managing accounts (`/accounts` reference)
|
|
160
|
+
|
|
161
|
+
| Action | Effect |
|
|
162
|
+
|---|---|
|
|
163
|
+
| Select an account | Shows status, added/used dates, per-account actions |
|
|
164
|
+
| Enable / Disable | Toggles inclusion in the rotation pool |
|
|
165
|
+
| Clear rate limit | Removes an account's cooldown immediately |
|
|
166
|
+
| Delete account | Removes it from the pool |
|
|
167
|
+
| Clear all rate limits | Removes every cooldown |
|
|
168
|
+
|
|
169
|
+
## Troubleshooting
|
|
170
|
+
|
|
171
|
+
| Symptom | Fix |
|
|
172
|
+
|---|---|
|
|
173
|
+
| `openclaude` not found | Restart terminal (PATH refresh) |
|
|
174
|
+
| Models not in `/model` list | Check the proxy: `Invoke-RestMethod http://127.0.0.1:51122/health` — expect `{"status":"ok","accounts":N,...}`. If not running, restart OpenClaude (the SessionStart hook relaunches it) |
|
|
175
|
+
| Proxy slow to start | First launch may be delayed by antivirus scanning the exe (hook waits up to ~8 s; it keeps starting in the background) |
|
|
176
|
+
| Port 51122 busy | Stop the stale process: `Get-Process antigravity-proxy \| Stop-Process -Force`, then restart OpenClaude |
|
|
177
|
+
| OAuth add-account fails "port 51121 busy" | Another add-account flow is in progress or a stale listener holds the port — close it and retry |
|
|
178
|
+
| 429 errors return | Rare on the sandbox path. Open `/accounts` → **Clear all rate limits**, or wait — the proxy auto-sleeps short cooldowns |
|
|
179
|
+
| Settings not auto-written | File may be policy-locked; add the two entries from Step 3 manually or register via `/plugin` |
|
|
180
|
+
|
|
181
|
+
## Disable / uninstall
|
|
182
|
+
|
|
183
|
+
**Disable the plugin** (bootstrap will not re-enable it):
|
|
184
|
+
|
|
185
|
+
```jsonc
|
|
186
|
+
// ~\.openclaude\settings.json
|
|
187
|
+
"enabledPlugins": {
|
|
188
|
+
"openclaude-antigravity-provider@openclaude-antigravity-provider": false
|
|
189
|
+
}
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
**Uninstall the package:**
|
|
193
|
+
|
|
194
|
+
```powershell
|
|
195
|
+
npm uninstall -g @xkei/openclaude
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Appendix A — Installing from a source checkout
|
|
201
|
+
|
|
202
|
+
Requires Bun.
|
|
203
|
+
|
|
204
|
+
```powershell
|
|
205
|
+
git clone <this-repo>
|
|
206
|
+
cd openclaude
|
|
207
|
+
bun install
|
|
208
|
+
|
|
209
|
+
# Build the CLI
|
|
210
|
+
bun run build
|
|
211
|
+
|
|
212
|
+
# Build the bundled proxy executable
|
|
213
|
+
bun run build:proxy
|
|
214
|
+
|
|
215
|
+
# Produce the installable tarball
|
|
216
|
+
npm pack --pack-destination dist-pack
|
|
217
|
+
npm install -g .\dist-pack\gitlawb-openclaude-0.30.0.tgz
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Standalone plugin only** (existing OpenClaude install): register the
|
|
221
|
+
`vendor/openclaude-antigravity-provider` directory as a marketplace in
|
|
222
|
+
`~\.openclaude\settings.json` (same JSON as Step 3), or copy the folder
|
|
223
|
+
anywhere and point `path` at it, then enable it via `/plugin`.
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Windows aliases and launchers
|
|
2
|
+
|
|
3
|
+
This page documents optional PowerShell helper functions for launching OpenClaude on Windows after a global npm install.
|
|
4
|
+
|
|
5
|
+
These helpers are designed for the installed package workflow:
|
|
6
|
+
|
|
7
|
+
~~~powershell
|
|
8
|
+
npm install -g @xkei/openclaude
|
|
9
|
+
~~~
|
|
10
|
+
|
|
11
|
+
The helpers use the installed `openclaude` CLI command. They do not require a source checkout and do not call source-only `bun run scripts/*.ts` entrypoints.
|
|
12
|
+
|
|
13
|
+
## One-time setup
|
|
14
|
+
|
|
15
|
+
Run this once in PowerShell:
|
|
16
|
+
|
|
17
|
+
~~~powershell
|
|
18
|
+
$packageRoot = Join-Path (npm root -g) "@xkei/openclaude"
|
|
19
|
+
$aliases = Join-Path $packageRoot "scripts\windows\openclaude-aliases.ps1"
|
|
20
|
+
|
|
21
|
+
if (-not (Test-Path $aliases)) {
|
|
22
|
+
throw "Alias script not found at $aliases. Update or reinstall @xkei/openclaude."
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (-not (Test-Path $PROFILE)) {
|
|
26
|
+
New-Item -ItemType File -Path $PROFILE -Force | Out-Null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
$profileLine = ". `"$aliases`""
|
|
30
|
+
|
|
31
|
+
if (-not (Select-String -Path $PROFILE -Pattern ([regex]::Escape($profileLine)) -Quiet)) {
|
|
32
|
+
Add-Content -Path $PROFILE -Value "`n$profileLine"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
. $aliases
|
|
36
|
+
oc-help
|
|
37
|
+
~~~
|
|
38
|
+
|
|
39
|
+
Open a new PowerShell window after setup, or dot-source the profile:
|
|
40
|
+
|
|
41
|
+
~~~powershell
|
|
42
|
+
. $PROFILE
|
|
43
|
+
~~~
|
|
44
|
+
|
|
45
|
+
## Daily commands
|
|
46
|
+
|
|
47
|
+
### Launch OpenClaude using the installed CLI
|
|
48
|
+
|
|
49
|
+
~~~powershell
|
|
50
|
+
oc
|
|
51
|
+
~~~
|
|
52
|
+
|
|
53
|
+
You can pass normal CLI arguments through `oc`:
|
|
54
|
+
|
|
55
|
+
~~~powershell
|
|
56
|
+
oc --version
|
|
57
|
+
oc --help
|
|
58
|
+
~~~
|
|
59
|
+
|
|
60
|
+
### Launch with local Ollama/OpenAI-compatible environment hints
|
|
61
|
+
|
|
62
|
+
~~~powershell
|
|
63
|
+
oc-local
|
|
64
|
+
~~~
|
|
65
|
+
|
|
66
|
+
By default, this uses local Ollama through the OpenAI-compatible API:
|
|
67
|
+
|
|
68
|
+
~~~text
|
|
69
|
+
CLAUDE_CODE_USE_OPENAI=1
|
|
70
|
+
OPENAI_BASE_URL=http://localhost:11434/v1
|
|
71
|
+
OPENAI_MODEL=llama3.1:8b
|
|
72
|
+
~~~
|
|
73
|
+
|
|
74
|
+
To use a different local model for that invocation:
|
|
75
|
+
|
|
76
|
+
~~~powershell
|
|
77
|
+
oc-local -Model "qwen2.5-coder:7b"
|
|
78
|
+
~~~
|
|
79
|
+
|
|
80
|
+
The environment overrides are scoped to that single `openclaude` invocation. A later plain `oc` call returns to normal installed CLI behavior and saved-provider-profile behavior.
|
|
81
|
+
|
|
82
|
+
### Launch with low-latency local defaults
|
|
83
|
+
|
|
84
|
+
~~~powershell
|
|
85
|
+
oc-fast
|
|
86
|
+
~~~
|
|
87
|
+
|
|
88
|
+
To use a different model:
|
|
89
|
+
|
|
90
|
+
~~~powershell
|
|
91
|
+
oc-fast -Model "qwen2.5-coder:7b"
|
|
92
|
+
~~~
|
|
93
|
+
|
|
94
|
+
Like `oc-local`, the environment overrides are scoped to that single invocation.
|
|
95
|
+
|
|
96
|
+
### Open the provider manager
|
|
97
|
+
|
|
98
|
+
~~~powershell
|
|
99
|
+
oc-provider
|
|
100
|
+
~~~
|
|
101
|
+
|
|
102
|
+
This opens the provider manager through the installed OpenClaude CLI.
|
|
103
|
+
|
|
104
|
+
### Check local Ollama state
|
|
105
|
+
|
|
106
|
+
~~~powershell
|
|
107
|
+
oc-check
|
|
108
|
+
~~~
|
|
109
|
+
|
|
110
|
+
To check a specific model:
|
|
111
|
+
|
|
112
|
+
~~~powershell
|
|
113
|
+
oc-check -Model "qwen2.5-coder:7b"
|
|
114
|
+
~~~
|
|
115
|
+
|
|
116
|
+
### Pull/check a local model, then launch local mode
|
|
117
|
+
|
|
118
|
+
~~~powershell
|
|
119
|
+
oc-init
|
|
120
|
+
~~~
|
|
121
|
+
|
|
122
|
+
To choose a model:
|
|
123
|
+
|
|
124
|
+
~~~powershell
|
|
125
|
+
oc-init -Model "qwen2.5-coder:7b"
|
|
126
|
+
~~~
|
|
127
|
+
|
|
128
|
+
To skip pulling the model and only check/launch:
|
|
129
|
+
|
|
130
|
+
~~~powershell
|
|
131
|
+
oc-init -Model "qwen2.5-coder:7b" -SkipModelPull
|
|
132
|
+
~~~
|
|
133
|
+
|
|
134
|
+
`oc-init` does not save a provider profile. It pulls/checks the local Ollama model and then launches `oc-local`.
|
|
135
|
+
|
|
136
|
+
### Show quick help
|
|
137
|
+
|
|
138
|
+
~~~powershell
|
|
139
|
+
oc-help
|
|
140
|
+
~~~
|
|
141
|
+
|
|
142
|
+
## Command summary
|
|
143
|
+
|
|
144
|
+
| Command | Purpose |
|
|
145
|
+
| --- | --- |
|
|
146
|
+
| `oc` | Launch OpenClaude using the installed CLI and saved/default behavior |
|
|
147
|
+
| `oc-local` | Launch once with local Ollama/OpenAI-compatible environment hints |
|
|
148
|
+
| `oc-fast` | Launch once with local Ollama/OpenAI-compatible low-latency hints |
|
|
149
|
+
| `oc-provider` | Open the provider manager |
|
|
150
|
+
| `oc-check` | Show local Ollama install/listening/model state |
|
|
151
|
+
| `oc-init` | Pull/check a local Ollama model, then launch local mode |
|
|
152
|
+
| `oc-help` | Show quick command help |
|
|
153
|
+
|
|
154
|
+
## Notes
|
|
155
|
+
|
|
156
|
+
These helpers are intentionally global-install oriented. They use the installed CLI instead of source-checkout development scripts.
|
|
157
|
+
|
|
158
|
+
For advanced provider setup, use the built-in provider manager:
|
|
159
|
+
|
|
160
|
+
~~~powershell
|
|
161
|
+
oc-provider
|
|
162
|
+
~~~
|
package/package.json
ADDED
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xkei/openclaude",
|
|
3
|
+
"version": "0.30.0-antigravity",
|
|
4
|
+
"description": "OpenClaude opens coding-agent workflows to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"openclaude": "bin/openclaude"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
"./package.json": "./package.json",
|
|
11
|
+
"./dist/cli.mjs": "./dist/cli.mjs",
|
|
12
|
+
"./sdk": {
|
|
13
|
+
"types": "./src/entrypoints/sdk.d.ts",
|
|
14
|
+
"import": "./dist/sdk.mjs"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"bin/",
|
|
19
|
+
"dist/cli.mjs",
|
|
20
|
+
"dist/sdk.mjs",
|
|
21
|
+
"src/entrypoints/sdk.d.ts",
|
|
22
|
+
"src/entrypoints/sdk/coreTypes.generated.ts",
|
|
23
|
+
"scripts/windows/openclaude-aliases.ps1",
|
|
24
|
+
"vendor/node-domexception-shim/",
|
|
25
|
+
"vendor/openclaude-antigravity-provider/.claude-plugin/",
|
|
26
|
+
"vendor/openclaude-antigravity-provider/bin/",
|
|
27
|
+
"vendor/openclaude-antigravity-provider/hooks/",
|
|
28
|
+
"vendor/openclaude-antigravity-provider/src/",
|
|
29
|
+
"vendor/openclaude-antigravity-provider/package.json",
|
|
30
|
+
"vendor/openclaude-antigravity-provider/tsconfig.json",
|
|
31
|
+
"docs/windows-aliases-and-launchers.md",
|
|
32
|
+
"docs/antigravity-plugin-install.md",
|
|
33
|
+
"README.md"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "bun run scripts/build.ts",
|
|
37
|
+
"build:proxy": "cd vendor/openclaude-antigravity-provider && bun build --compile src/server.ts --outfile bin/antigravity-proxy.exe",
|
|
38
|
+
"benchmark:startup": "node scripts/benchmark-openclaude-startup.mjs",
|
|
39
|
+
"integrations:generate": "bun run scripts/generate-integrations-artifacts.ts",
|
|
40
|
+
"integrations:check": "bun run scripts/generate-integrations-artifacts.ts --check",
|
|
41
|
+
"dev": "bun run build && node bin/openclaude",
|
|
42
|
+
"dev:profile": "bun run scripts/provider-launch.ts",
|
|
43
|
+
"dev:profile:fast": "bun run scripts/provider-launch.ts auto --fast --bare",
|
|
44
|
+
"dev:codex": "bun run scripts/provider-launch.ts codex",
|
|
45
|
+
"dev:openai": "bun run scripts/provider-launch.ts openai",
|
|
46
|
+
"dev:gemini": "bun run scripts/provider-launch.ts gemini",
|
|
47
|
+
"dev:ollama": "bun run scripts/provider-launch.ts ollama",
|
|
48
|
+
"dev:ollama:fast": "bun run scripts/provider-launch.ts ollama --fast --bare",
|
|
49
|
+
"dev:atomic-chat": "bun run scripts/provider-launch.ts atomic-chat",
|
|
50
|
+
"profile:init": "bun run scripts/provider-bootstrap.ts",
|
|
51
|
+
"profile:recommend": "bun run scripts/provider-recommend.ts",
|
|
52
|
+
"profile:auto": "bun run scripts/provider-recommend.ts --apply",
|
|
53
|
+
"profile:codex": "bun run profile:init -- --provider codex --model codexplan",
|
|
54
|
+
"profile:fast": "bun run profile:init -- --provider ollama --model llama3.2:3b",
|
|
55
|
+
"profile:code": "bun run profile:init -- --provider ollama --model qwen2.5-coder:7b",
|
|
56
|
+
"dev:fast": "bun run profile:fast && bun run dev:ollama:fast",
|
|
57
|
+
"dev:code": "bun run profile:code && bun run dev:profile",
|
|
58
|
+
"dev:grpc": "bun run scripts/start-grpc.ts",
|
|
59
|
+
"dev:grpc:cli": "bun run scripts/grpc-cli.ts",
|
|
60
|
+
"start": "node bin/openclaude",
|
|
61
|
+
"web:dev": "bun run --cwd web dev",
|
|
62
|
+
"web:build": "bun run --cwd web build",
|
|
63
|
+
"web:preview": "bun run --cwd web preview",
|
|
64
|
+
"web:typecheck": "bun run --cwd web typecheck",
|
|
65
|
+
"test": "bun test --feature=UNATTENDED_RETRY --max-concurrency=1",
|
|
66
|
+
"test:full": "bun test --feature=UNATTENDED_RETRY --max-concurrency=1 && bun run test:conversation-arc",
|
|
67
|
+
"test:conversation-arc": "bun test --feature=CONVERSATION_ARC --feature=MULTI_TURN_CONTEXT --max-concurrency=1 src/query.conversationArc.test.ts",
|
|
68
|
+
"test:coverage": "bun test --feature=UNATTENDED_RETRY --coverage --coverage-reporter=lcov --coverage-dir=coverage --max-concurrency=1 && bun run scripts/render-coverage-heatmap.ts",
|
|
69
|
+
"test:coverage:ui": "bun run scripts/render-coverage-heatmap.ts",
|
|
70
|
+
"security:pr-scan": "bun run scripts/pr-intent-scan.ts",
|
|
71
|
+
"test:provider-recommendation": "bun test src/utils/providerRecommendation.test.ts src/utils/providerProfile.test.ts",
|
|
72
|
+
"typecheck": "tsc --noEmit",
|
|
73
|
+
"typecheck:type-tests": "bun run scripts/typecheck-type-tests.ts",
|
|
74
|
+
"smoke": "bun run build && node dist/cli.mjs --version",
|
|
75
|
+
"deadcode": "knip --include files,dependencies",
|
|
76
|
+
"check": "bun run smoke && bun run deadcode && bun run test:full",
|
|
77
|
+
"verify:privacy": "bun run scripts/verify-no-phone-home.ts",
|
|
78
|
+
"install:verify": "bun run scripts/verify-clean-install.ts",
|
|
79
|
+
"install:verify:published": "bun run scripts/verify-clean-install.ts --published",
|
|
80
|
+
"build:verified": "bun run build && bun run verify:privacy",
|
|
81
|
+
"test:provider": "bun test --feature=UNATTENDED_RETRY --max-concurrency=1 src/services/api/*.test.ts src/services/api/openaiShim/*.test.ts src/utils/context.test.ts",
|
|
82
|
+
"doctor:runtime": "bun run scripts/system-check.ts",
|
|
83
|
+
"doctor:runtime:json": "bun run scripts/system-check.ts --json",
|
|
84
|
+
"doctor:report": "bun run scripts/system-check.ts --out reports/doctor-runtime.json",
|
|
85
|
+
"hardening:check": "bun run smoke && bun run doctor:runtime",
|
|
86
|
+
"hardening:strict": "bun run typecheck && bun run hardening:check",
|
|
87
|
+
"prepack": "npm run build"
|
|
88
|
+
},
|
|
89
|
+
"dependencies": {
|
|
90
|
+
"@orama/orama": "3.1.18",
|
|
91
|
+
"@orama/plugin-data-persistence": "3.1.18",
|
|
92
|
+
"@vscode/ripgrep": "1.18.0"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@alcalzone/ansi-tokenize": "0.3.0",
|
|
96
|
+
"@anthropic-ai/bedrock-sdk": "0.29.1",
|
|
97
|
+
"@sentry/node": "^10.70.0",
|
|
98
|
+
"@anthropic-ai/foundry-sdk": "0.2.3",
|
|
99
|
+
"@anthropic-ai/sandbox-runtime": "0.0.55",
|
|
100
|
+
"@anthropic-ai/sdk": "0.94.0",
|
|
101
|
+
"@aws-sdk/client-bedrock": "3.1047.0",
|
|
102
|
+
"@aws-sdk/client-sts": "3.1047.0",
|
|
103
|
+
"@aws-sdk/credential-provider-node": "3.972.41",
|
|
104
|
+
"@azure/identity": "^4.13.1",
|
|
105
|
+
"@commander-js/extra-typings": "12.1.0",
|
|
106
|
+
"@grpc/grpc-js": "^1.14.3",
|
|
107
|
+
"@grpc/proto-loader": "^0.8.0",
|
|
108
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
109
|
+
"@smithy/core": "3.24.3",
|
|
110
|
+
"@smithy/node-http-handler": "4.7.3",
|
|
111
|
+
"@types/bun": "1.3.11",
|
|
112
|
+
"@types/node": "25.5.0",
|
|
113
|
+
"@types/react": "19.2.14",
|
|
114
|
+
"ajv": "8.18.0",
|
|
115
|
+
"auto-bind": "5.0.1",
|
|
116
|
+
"axios": "1.16.0",
|
|
117
|
+
"bidi-js": "1.0.3",
|
|
118
|
+
"chalk": "5.6.2",
|
|
119
|
+
"chokidar": "4.0.3",
|
|
120
|
+
"cli-boxes": "3.0.0",
|
|
121
|
+
"cli-highlight": "2.1.11",
|
|
122
|
+
"commander": "12.1.0",
|
|
123
|
+
"cross-spawn": "7.0.6",
|
|
124
|
+
"diff": "8.0.3",
|
|
125
|
+
"duck-duck-scrape": "^2.2.7",
|
|
126
|
+
"emoji-regex": "10.6.0",
|
|
127
|
+
"env-paths": "3.0.0",
|
|
128
|
+
"execa": "9.6.1",
|
|
129
|
+
"fflate": "0.8.2",
|
|
130
|
+
"figures": "6.1.0",
|
|
131
|
+
"fuse.js": "7.1.0",
|
|
132
|
+
"graphology": "0.26.0",
|
|
133
|
+
"get-east-asian-width": "1.5.0",
|
|
134
|
+
"google-auth-library": "10.6.2",
|
|
135
|
+
"https-proxy-agent": "7.0.6",
|
|
136
|
+
"ignore": "7.0.5",
|
|
137
|
+
"graphology-metrics": "2.4.0",
|
|
138
|
+
"indent-string": "5.0.0",
|
|
139
|
+
"js-tiktoken": "1.0.21",
|
|
140
|
+
"jsonc-parser": "3.3.1",
|
|
141
|
+
"knip": "^6.16.1",
|
|
142
|
+
"lodash-es": "4.18.1",
|
|
143
|
+
"lru-cache": "11.2.7",
|
|
144
|
+
"marked": "15.0.12",
|
|
145
|
+
"p-map": "7.0.4",
|
|
146
|
+
"picomatch": "4.0.4",
|
|
147
|
+
"proper-lockfile": "4.1.2",
|
|
148
|
+
"qrcode": "1.5.4",
|
|
149
|
+
"react": "19.2.4",
|
|
150
|
+
"react-compiler-runtime": "1.0.0",
|
|
151
|
+
"react-reconciler": "0.33.0",
|
|
152
|
+
"semver": "7.7.4",
|
|
153
|
+
"sharp": "^0.34.5",
|
|
154
|
+
"shell-quote": "1.8.4",
|
|
155
|
+
"signal-exit": "4.1.0",
|
|
156
|
+
"supports-hyperlinks": "3.2.0",
|
|
157
|
+
"tree-kill": "1.2.2",
|
|
158
|
+
"tree-sitter-wasms": "0.1.13",
|
|
159
|
+
"turndown": "7.2.2",
|
|
160
|
+
"type-fest": "4.41.0",
|
|
161
|
+
"typescript": "5.9.3",
|
|
162
|
+
"undici": "7.28.0",
|
|
163
|
+
"usehooks-ts": "3.1.1",
|
|
164
|
+
"web-tree-sitter": "0.25.10",
|
|
165
|
+
"vscode-languageserver-protocol": "3.17.5",
|
|
166
|
+
"wrap-ansi": "9.0.2",
|
|
167
|
+
"ws": "8.21.0",
|
|
168
|
+
"xss": "1.0.15",
|
|
169
|
+
"yaml": "2.8.3",
|
|
170
|
+
"zod": "3.25.76"
|
|
171
|
+
},
|
|
172
|
+
"peerDependencies": {
|
|
173
|
+
"@anthropic-ai/sdk": "^0.94.0",
|
|
174
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
175
|
+
"react": "^19.0.0",
|
|
176
|
+
"react-reconciler": "^0.33.0"
|
|
177
|
+
},
|
|
178
|
+
"peerDependenciesMeta": {
|
|
179
|
+
"@anthropic-ai/sdk": {
|
|
180
|
+
"optional": true
|
|
181
|
+
},
|
|
182
|
+
"@modelcontextprotocol/sdk": {
|
|
183
|
+
"optional": true
|
|
184
|
+
},
|
|
185
|
+
"react": {
|
|
186
|
+
"optional": true
|
|
187
|
+
},
|
|
188
|
+
"react-reconciler": {
|
|
189
|
+
"optional": true
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"engines": {
|
|
193
|
+
"node": ">=22.0.0"
|
|
194
|
+
},
|
|
195
|
+
"repository": {
|
|
196
|
+
"type": "git",
|
|
197
|
+
"url": "git+https://github.com/stepanusjanu19/openclaude_antigravity_support.git"
|
|
198
|
+
},
|
|
199
|
+
"bugs": {
|
|
200
|
+
"url": "https://github.com/stepanusjanu19/openclaude_antigravity_support/issues"
|
|
201
|
+
},
|
|
202
|
+
"keywords": [
|
|
203
|
+
"claude-code",
|
|
204
|
+
"openai",
|
|
205
|
+
"llm",
|
|
206
|
+
"cli",
|
|
207
|
+
"agent",
|
|
208
|
+
"deepseek",
|
|
209
|
+
"ollama",
|
|
210
|
+
"gemini"
|
|
211
|
+
],
|
|
212
|
+
"license": "SEE LICENSE FILE",
|
|
213
|
+
"publishConfig": {
|
|
214
|
+
"access": "public"
|
|
215
|
+
},
|
|
216
|
+
"overrides": {
|
|
217
|
+
"ip-address": "10.2.0",
|
|
218
|
+
"google-auth-library": "10.6.2",
|
|
219
|
+
"lodash-es": "4.18.1",
|
|
220
|
+
"node-domexception": "file:vendor/node-domexception-shim"
|
|
221
|
+
},
|
|
222
|
+
"allowScripts": {
|
|
223
|
+
"protobufjs@7.6.4": true,
|
|
224
|
+
"sharp@0.34.5": true
|
|
225
|
+
}
|
|
226
|
+
}
|