Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.provider.vendor.antigravity

Google Antigravity provider: Gemini and Claude through Google Cloud Code Assist, signed in with the Antigravity Google OAuth client.

Vis owns sign-in and quota reports. Svar owns the Cloud Code wire, the managed project, and the model list.

Credentials live in ~/.vis/antigravity-auth.json. Google does not rotate the refresh token, so a refresh keeps the stored one.

Google Antigravity provider: Gemini and Claude through Google Cloud Code
Assist, signed in with the Antigravity Google OAuth client.

Vis owns sign-in and quota reports. Svar owns the Cloud Code wire, the
managed project, and the model list.

Credentials live in `~/.vis/antigravity-auth.json`. Google does not rotate
the refresh token, so a refresh keeps the stored one.
raw docstring

auth-completeclj

(auth-complete flow input)

Headless leg 2: exchange the callback URL or code and persist the credentials.

Headless leg 2: exchange the callback URL or code and persist the credentials.
sourceraw docstring

auth-instruction-linesclj

(auth-instruction-lines)
source

auth-startclj

(auth-start)

Headless leg 1. :flow holds the PKCE verifier and state: a daemon-side secret that never goes on the wire.

Headless leg 1. `:flow` holds the PKCE verifier and state: a daemon-side
secret that never goes on the wire.
sourceraw docstring

authenticated?clj

(authenticated?)
source

create-authorization-flowclj

(create-authorization-flow)

PKCE verifier, CSRF state and the Google authorization URL.

PKCE verifier, CSRF state and the Google authorization URL.
sourceraw docstring

detect-credentialsclj

(detect-credentials)

Persisted Antigravity credentials as a status map, or nil. No network call.

Persisted Antigravity credentials as a status map, or nil. No network call.
sourceraw docstring

force-refresh-token!clj

(force-refresh-token!)
(force-refresh-token! rejected-token)

Refresh after the server rejected rejected-token; returns the token map.

Refresh after the server rejected `rejected-token`; returns the token map.
sourceraw docstring

get-antigravity-token!clj

(get-antigravity-token!)

A usable access token as {:token :api-url}; refreshes when it expires soon.

A usable access token as `{:token :api-url}`; refreshes when it expires soon.
sourceraw docstring

login!clj

(login! printer-fn)
(login! printer-fn
        {:keys [open-browser-fn manual-code-fn force?]
         :or {open-browser-fn open-browser! manual-code-fn prompt-for-code!}})

Terminal sign-in: open the Google page, then read the pasted redirect URL. Options: :open-browser-fn, :manual-code-fn, :force?.

Terminal sign-in: open the Google page, then read the pasted redirect URL.
Options: `:open-browser-fn`, `:manual-code-fn`, `:force?`.
sourceraw docstring

logout!clj

(logout!)
source

parse-authorization-inputclj

(parse-authorization-input input)

Parse a pasted callback URL, query string or bare code into {:code :state}.

Parse a pasted callback URL, query string or bare code into `{:code :state}`.
sourceraw docstring

register!clj

(register!)
source

statusclj

(status)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close