@cortexkit/opencode-antigravity-auth 3.0.3 → 3.0.5
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/README.md +7 -7
- package/dist/cli.js +1722 -484
- package/dist/cli.js.map +4 -4
- package/dist/cli.meta.json +440 -120
- package/dist/index.js +2157 -803
- package/dist/index.js.map +4 -4
- package/dist/index.meta.json +476 -141
- package/dist/server.js +2248 -841
- package/dist/server.js.map +4 -4
- package/dist/server.meta.json +1 -1
- package/dist/src/common-auth-embedded/claustrum/enrollment.d.ts +3 -2
- package/dist/src/common-auth-embedded/claustrum/enrollment.js +84 -42
- package/dist/src/common-auth-embedded/claustrum/roster.js +2 -2
- package/dist/src/common-auth-embedded/fs/atomic-write.d.ts +5 -0
- package/dist/src/common-auth-embedded/fs/atomic-write.js +21 -0
- package/dist/src/common-auth-embedded/fs/index.d.ts +2 -0
- package/dist/src/common-auth-embedded/fs/index.js +1 -0
- package/dist/src/common-auth-embedded/fs/private-files.d.ts +66 -0
- package/dist/src/common-auth-embedded/fs/private-files.js +302 -0
- package/dist/src/common-auth-embedded/fs/refresh-file-lock.d.ts +1 -1
- package/dist/src/common-auth-embedded/fs/refresh-file-lock.js +254 -37
- package/dist/src/common-auth-embedded/fs/with-lock.d.ts +3 -0
- package/dist/src/common-auth-embedded/fs/with-lock.js +4 -0
- package/dist/src/common-auth-embedded/logger/engine.d.ts +6 -8
- package/dist/src/common-auth-embedded/logger/engine.js +126 -11
- package/dist/src/common-auth-embedded/pi-slot/slot.d.ts +2 -0
- package/dist/src/common-auth-embedded/pi-slot/slot.js +34 -6
- package/dist/src/common-auth-embedded/rpc/port-file.js +30 -8
- package/dist/src/common-auth-embedded/rpc/rpc-client.js +15 -1
- package/dist/src/common-auth-embedded/rpc/rpc-server.js +8 -3
- package/dist/src/common-auth-embedded/source-output.json +92 -76
- package/dist/src/common-auth-embedded/store/mutate.js +2 -2
- package/dist/src/common-auth-embedded/store/pool.d.ts +1 -0
- package/dist/src/common-auth-embedded/store/pool.js +3 -0
- package/dist/src/common-auth-embedded/store/refresh-lock.d.ts +4 -0
- package/dist/src/common-auth-embedded/store/refresh-lock.js +5 -0
- package/dist/src/ga/rpc/protocol.d.ts +2 -3
- package/dist/src/ga/rpc/protocol.d.ts.map +1 -1
- package/dist/src/ga/rpc/protocol.js +60 -0
- package/dist/src/ga/rpc/protocol.js.map +1 -1
- package/dist/src/ga/server/index.d.ts +3 -2
- package/dist/src/ga/server/index.d.ts.map +1 -1
- package/dist/src/ga/server/index.js +23 -7
- package/dist/src/ga/server/index.js.map +1 -1
- package/dist/src/plugin/request.d.ts.map +1 -1
- package/dist/src/plugin/request.js +8 -14
- package/dist/src/plugin/request.js.map +1 -1
- package/dist/src/plugin/vault-custody.d.ts +6 -0
- package/dist/src/plugin/vault-custody.d.ts.map +1 -1
- package/dist/src/plugin/vault-custody.js +81 -2
- package/dist/src/plugin/vault-custody.js.map +1 -1
- package/dist/tui-build-map.json +29 -13
- package/dist/tui-ga-build-map.json +1 -1
- package/dist/types/src/common-auth-embedded/fs/refresh-file-lock.d.ts +1 -1
- package/dist/types/src/common-auth-embedded/logger/engine.d.ts +6 -8
- package/dist/types/src/common-auth-embedded/store/pool.d.ts +1 -0
- package/dist/types/src/common-auth-embedded/store/refresh-lock.d.ts +4 -0
- package/dist/types/src/ga/rpc/protocol.d.ts +2 -3
- package/dist/types/src/ga/rpc/protocol.d.ts.map +1 -1
- package/dist/types/src/ga/server/index.d.ts +3 -2
- package/dist/types/src/ga/server/index.d.ts.map +1 -1
- package/dist/types/src/plugin/request.d.ts.map +1 -1
- package/dist/types/src/plugin/vault-custody.d.ts +6 -0
- package/dist/types/src/plugin/vault-custody.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/common-auth-embedded/claustrum/enrollment.d.ts +3 -2
- package/src/common-auth-embedded/claustrum/enrollment.js +84 -42
- package/src/common-auth-embedded/claustrum/roster.js +2 -2
- package/src/common-auth-embedded/fs/atomic-write.d.ts +5 -0
- package/src/common-auth-embedded/fs/atomic-write.js +21 -0
- package/src/common-auth-embedded/fs/index.d.ts +2 -0
- package/src/common-auth-embedded/fs/index.js +1 -0
- package/src/common-auth-embedded/fs/private-files.d.ts +66 -0
- package/src/common-auth-embedded/fs/private-files.js +302 -0
- package/src/common-auth-embedded/fs/refresh-file-lock.d.ts +1 -1
- package/src/common-auth-embedded/fs/refresh-file-lock.js +254 -37
- package/src/common-auth-embedded/fs/with-lock.d.ts +3 -0
- package/src/common-auth-embedded/fs/with-lock.js +4 -0
- package/src/common-auth-embedded/logger/engine.d.ts +6 -8
- package/src/common-auth-embedded/logger/engine.js +126 -11
- package/src/common-auth-embedded/pi-slot/slot.d.ts +2 -0
- package/src/common-auth-embedded/pi-slot/slot.js +34 -6
- package/src/common-auth-embedded/rpc/port-file.js +30 -8
- package/src/common-auth-embedded/rpc/rpc-client.js +15 -1
- package/src/common-auth-embedded/rpc/rpc-server.js +8 -3
- package/src/common-auth-embedded/source-output.json +92 -76
- package/src/common-auth-embedded/store/mutate.js +2 -2
- package/src/common-auth-embedded/store/pool.d.ts +1 -0
- package/src/common-auth-embedded/store/pool.js +3 -0
- package/src/common-auth-embedded/store/refresh-lock.d.ts +4 -0
- package/src/common-auth-embedded/store/refresh-lock.js +5 -0
- package/src/tui-compiled/common-auth-embedded/fs/private-files.js +302 -0
- package/src/tui-compiled/common-auth-embedded/logger/engine.js +126 -11
- package/src/tui-compiled/common-auth-embedded/rpc/port-file.js +30 -8
- package/src/tui-compiled/common-auth-embedded/rpc/rpc-client.js +15 -1
- package/src/tui-raw/common-auth-embedded/fs/private-files.js +302 -0
- package/src/tui-raw/common-auth-embedded/logger/engine.js +126 -11
- package/src/tui-raw/common-auth-embedded/rpc/port-file.js +30 -8
- package/src/tui-raw/common-auth-embedded/rpc/rpc-client.js +15 -1
package/README.md
CHANGED
|
@@ -134,11 +134,9 @@ The model registry lives at `packages/core/src/model-registry.ts`; the OpenCode
|
|
|
134
134
|
|
|
135
135
|
| Model | Variants | Quota group |
|
|
136
136
|
| --- | --- | --- |
|
|
137
|
-
| `antigravity-gemini-
|
|
138
|
-
| `antigravity-gemini-3.
|
|
139
|
-
| `antigravity-gemini-3.
|
|
140
|
-
| `antigravity-gemini-3.5-flash` | `low`, `high` | `gemini-flash` |
|
|
141
|
-
| `antigravity-gemini-3.1-pro` | `low`, `high` | `gemini-pro` |
|
|
137
|
+
| `antigravity-gemini-4-argon` | `low`, `medium` (default), `high` | Per-model quota; weekly pool attribution unverified |
|
|
138
|
+
| `antigravity-gemini-3.8-flash` | `low`, `medium`, `high` | `gemini-flash` |
|
|
139
|
+
| `antigravity-gemini-3.5-flash` | `low`, `medium`, `high` | `gemini-flash` |
|
|
142
140
|
| `antigravity-gemini-3.1-flash-image` | — | `gemini-flash` |
|
|
143
141
|
| `antigravity-claude-sonnet-5-5` | low / medium / high | `claude` |
|
|
144
142
|
| `antigravity-claude-opus-5-5` | low / medium / high | `claude` |
|
|
@@ -146,14 +144,16 @@ The model registry lives at `packages/core/src/model-registry.ts`; the OpenCode
|
|
|
146
144
|
|
|
147
145
|
> Claude 5.5 has a 1,000,000-token context and 128,000-token output limit, with adaptive thinking. Claude 4.6 requests refuse rather than redirecting to a different model.
|
|
148
146
|
|
|
149
|
-
> Gemini
|
|
147
|
+
> Gemini 4 Argon requires **Google AI Ultra**, with 1,048,576 context and 65,536 output tokens. Gemini 3.1 Pro, Gemini 3.6/3.7 Flash and `gemini-pro-agent` were withdrawn by Antigravity; grouped and native tier selections refuse without redirects. Historical transcripts remain readable.
|
|
148
|
+
|
|
149
|
+
> Gemini 3.8 Flash Cyber is absent from the captured AGY 1.3.5 server catalog, so it is not exposed by this plugin. Gemini 3.5 Flash Lite is a server helper route, not a public picker entry. Gemini 3.5 Flash Cyber remains restricted to a limited-access CodeMender pilot.
|
|
150
150
|
|
|
151
151
|
### Routing
|
|
152
152
|
|
|
153
153
|
- **Antigravity-first (default).** Gemini requests go to the Antigravity header style first; on `429 RESOURCE_EXHAUSTED` they fall back to the Gemini CLI header set.
|
|
154
154
|
- **CLI-first** (`cli_first: true`). Flip the order — Gemini CLI first, Antigravity fallback. Change the live setting in `/antigravity` → Routing.
|
|
155
155
|
- **Style-fallback** (`quota_style_fallback: true`). Re-send the SAME request through the other header set on a rate limit. Default OFF because retrying can consume quota from both header-style pools. Change it in `/antigravity` → Routing.
|
|
156
|
-
- **Claude and image models** always use Antigravity regardless of toggles.
|
|
156
|
+
- **Argon, Claude and image models** always use Antigravity regardless of toggles.
|
|
157
157
|
- Model names transform automatically between Antigravity and Gemini CLI namespaces (`antigravity-gemini-3-flash` ↔ `gemini-3-flash-preview`).
|
|
158
158
|
|
|
159
159
|
### Quota, killswitch, and the soft-threshold fail-open
|