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

@miuzel/dsh-antigravity

v0.1.1

Published

Google Antigravity / Cloud Code Assist model provider for DeepSeek Harness

Readme

dsh-antigravity

English | 简体中文

适用于 DeepSeek Harness 的 Google Antigravity / Cloud Code Assist 模型提供商插件。

这是一个 DSH Web 插件。它在 provider 路由 antigravity 下注册 DSH LlmAdapter,OAuth 凭证存储于 DSH home 目录下,直接与 Cloud Code Assist 流式 API 通信,并且 Web 设置页面完整支持中英文双语国际化(i18n)。

非官方集成。本项目与 Google 无关,亦未获得 Google 认可。请仅在您有权访问的账号和服务中使用。


安装到 DSH Web

方式一:直接从 GitHub 安装(活跃维护 Fork)

dsh plugin --profile web add github:miuzel/dsh-antigravity

方式二:通过本地 Release 包安装

npm run pack:dist
dsh plugin --profile web add ./dist/miuzel-dsh-antigravity-0.1.0.tgz

该 package 声明了 DSH bundle patch,安装后会自动挂载 host 插件与浏览器设置页面。

如果您的 DSH 版本暂不支持 dsh plugin add,可手动复制到 Web profile:

cp -R dsh-antigravity "$DSH_HOME/profiles/web/node_modules/"

然后在 profile 的 cordis.patch.yml 中添加该插件:

- insert:
    - id: llm-antigravity
      name: dsh-antigravity

重启 DSH:

dsh web

登录与授权

打开 设置(Settings)> Antigravity 并点击 登录(Login)。设置页面将发起 Google OAuth 授权流程,并在登录完成后自动刷新配额(Quota)。

Antigravity Settings - 未登录

登录成功后,设置页面将展示账号信息、按模型分组的实时配额进度条、重置倒计时以及模型选择器:

  • Gemini Models —— Gemini Flash / Pro 变体共享同一个配额池(绿色进度条)。
  • Claude and GPT models —— Claude Opus、Claude Sonnet 与 GPT-OSS 共享独立的 3P 配额池(青色进度条)。

每个分组均展示 5 小时限额(平滑短期突发用量)与 每周限额(绑定至订阅级别,如 Google AI Pro),并配有实时重置倒计时。

Antigravity Settings - 已登录

插件会在本地启动一个 loopback OAuth 回调服务(http://localhost:51121/oauth-callback)。如果 Web 服务无法自动唤起浏览器,可在同机器终端运行命令行登录助手:

node "$DSH_HOME/profiles/web/node_modules/dsh-antigravity/bin/antigravity-login.mjs"

凭证存储路径:

$DSH_HOME/storages/antigravity-oauth.json

请妥善保管该文件,其中包含 access token 与 refresh token。


模型列表

登录后,在 DSH 模型选择器中选择 Antigravity 提供商。您可以在 设置 > Antigravity 的模型选择器中按需勾选或关闭单个模型(已勾选的模型将自动置顶展示),每个模型副标题均会显示其实时可用额度百分比。

支持注册的模型 ID:

| 模型 ID | 名称 | 额度池 | |---|---|---| | gemini-4-hydrogen | Gemini 4 Hydrogen | Gemini | | gemini-4-carbon | Gemini 4 Carbon | Gemini | | gemini-4-argon | Gemini 4 Argon | Gemini | | gemini-3.8-flash | Gemini 3.8 Flash | Gemini | | gemini-3.1-flash-image | Gemini 3.1 Flash Image | Gemini | | gemini-3-flash | Gemini 3 Flash | Gemini | | gemini-2.5-pro | Gemini 2.5 Pro | Gemini | | gemini-2.5-flash | Gemini 2.5 Flash | Gemini | | claude-opus-5-5 | Claude Opus 5.5 | Claude & GPT (3P) | | claude-sonnet-5-5 | Claude Sonnet 5.5 | Claude & GPT (3P) | | claude-opus-4-6 | Claude Opus 4.6 | Claude & GPT (3P) | | claude-sonnet-4-6 | Claude Sonnet 4.6 | Claude & GPT (3P) | | gpt-oss-120b | GPT-OSS 120B | Claude & GPT (3P) |

同一额度池内的模型共享 5 小时与每周额度。额度按 Token 成本比例扣除,因此较重的大模型(如 Claude Opus)消耗额度速度会快于轻量模型。

插件会在可用时通过实时的 fetchAvailableModels 目录将这些公开 ID 解析为内部运行时模型 ID,并自带静态路由兜底。


许可证

MIT