npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@raquezha/antigravity

v0.1.3

Published

OAuth login provider extension for Google Antigravity models in the Pi Coding Agent

Readme

Antigravity (antigravity extension)

Independent native Pi provider for Google Antigravity-compatible model access.

The extension folder is antigravity, and the provider registered inside Pi is antigravity.

Usage

# From this checkout
pi --extension ./packages/antigravity

# Or via nothing
pi --antigravity

Inside Pi:

/login antigravity
/model antigravity/gemini-3.8-flash
/antigravity.doctor

The extension uses a native streamSimple transport. It does not shell out to the official agy CLI.

NPM

npm install -g @raquezha/antigravity

Provider

  • Provider id: antigravity
  • Public model ids:
    • gemini-3.8-flash
    • gemini-3.7-flash
    • gemini-3.6-flash
    • gemini-3.5-flash
    • gemini-3.1-pro
    • claude-sonnet-4-6
    • claude-opus-4-6
    • gpt-oss-120b
  • Runtime routing examples:
    • gemini-3.8-flash -> gemini-3.8-flash-tiered
    • gemini-3.7-flash -> gemini-3.7-flash-tiered
    • Flash 3.7/3.8 thinking is server-managed (the single high selector maps to automatic thinking), not separate low/medium/high runtime IDs.
    • gemini-3.5-flash -> routes internally by reasoning level (off/low/medium/high) to Antigravity runtime IDs such as gemini-3.5-flash-low, gemini-3.5-flash-medium, or gemini-3.5-flash-high
    • gemini-3.1-pro -> routes internally to gemini-3.1-pro-low or gemini-pro-agent
    • claude-sonnet-4-6 -> routes to claude-sonnet-4-6 (always-on thinking)
    • claude-opus-4-6 -> routes to claude-opus-4-6-thinking
    • gpt-oss-120b -> routes to gpt-oss-120b-medium
  • Migration note:
    • old public ids like gemini-3.5-flash-high, gemini-3.5-flash-low, gemini-3.1-pro-low, gemini-3.1-pro-high, claude-sonnet-4-6-thinking, and gpt-oss-120b-medium were replaced by cleaner public ids plus internal routing.
  • Default endpoint: https://cloudcode-pa.googleapis.com (fallback: https://daily-cloudcode-pa.sandbox.googleapis.com)

Catalog map keys are runtime IDs; nested MODEL_PLACEHOLDER_* values are not. Discovery uses exact keys first, then matching display names for renamed routes. Catalog presence does not guarantee quota or entitlement: a 429 requires waiting for the reported reset or checking your subscription, not another model alias.

After updating this checkout, run /reload in Pi to load the extension changes.

Diagnostics

/antigravity.doctor prints sanitized routing information, including unlabeled catalog IDs, with no stale match from a previous request. It must not print OAuth tokens, refresh tokens, authorization headers, prompts, or credential files.

Claude uses the backend's legacy tool-schema field; literal const constraints are converted to single-value enums. Request-format errors retain the backend's rejected-field message for diagnosis.

Run offline regression checks with npm test -w @raquezha/antigravity.

Optional overrides

Prefer the ANTIGRAVITY_* names for environment alignment. The older NOAGY_* names remain accepted as backwards-compatible aliases.

  • ANTIGRAVITY_BASE_URL — override the Cloud Code/Antigravity endpoint for experiments.
  • ANTIGRAVITY_PROJECT_ID — fallback project id if project discovery does not return one.
  • ANTIGRAVITY_CALLBACK_HOST — OAuth callback bind host, default 127.0.0.1.
  • ANTIGRAVITY_USER_AGENT — override user agent for endpoint compatibility experiments.
  • ANTIGRAVITY_RUNTIME_MODEL — force a runtime model id for endpoint experiments.
  • ANTIGRAVITY_CLIENT_ID / ANTIGRAVITY_CLIENT_SECRET — advanced OAuth app overrides; normally not needed.