@cortexkit/antigravity-auth-core
v1.0.1
Published
Harness-agnostic core for Google Antigravity OAuth: transport, fingerprint, request transforms, accounts, quota
Readme
@cortexkit/antigravity-auth-core
Harness-agnostic core for Google Antigravity OAuth. Shared by the OpenCode
plugin (@cortexkit/opencode-antigravity-auth) and the pi
extension (@cortexkit/pi-antigravity-auth).
Provides:
- OAuth — authorization, code exchange, and token refresh against Google's Antigravity OAuth client.
- Transport — a raw HTTP/1.1 transport (
fetchWithAgyCliTransport) that matches theagyCLI's on-wire header order and framing. - Fingerprint — Antigravity CLI device identity and User-Agent construction.
- Request transforms — Gemini/Claude request shaping, schema sanitization, thinking-config handling, and cross-model metadata stripping.
- Model registry & resolver — Antigravity model catalog plus the model/thinking-budget wire mappings.
- Managed project —
loadCodeAssist/onboardUserresolution with caching.
This package is an implementation detail of the harness packages and has no stable public API contract of its own.
License
MIT
