dshbase

插件目录 / Developer / dsh-antigravity

dsh-antigravity

未验证 OpenSaozi

✓ 持续维护 基于 16 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

2Stars
0Forks
0未关闭 issue
语言
2026-08-22最近推送
跨平台平台

功能简介

接入 Google Anti Gravity Coding Plan 作为 DeepSeek Harness LLM Provider,直接使用账号下的 Gemini / Claude / GPT-OSS。 | Google Anti Gravity Coding Plan LLM Provider for DeepSeek Harness.

我们的评价
未验证 — 尚未实测

接入 Google Anti Gravity Coding Plan 作为 DeepSeek Harness LLM Provider,直接使用账号下的 Gemini / Claude / GPT-OSS。 | Google Anti Gravity Coding Plan LLM Provider for DeepSeek Harness. 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

DSH Plugin: LLM Provider - Anti Gravity

中文 | English

Allows connecting to the Google Anti Gravity Coding Plan as an LLM Provider, enabling DeepSeek Harness to directly use all top-tier AI models under your account (including Gemini 3.7/3.6/3.5 Flash, Gemini 3.1 Pro, Claude 3.7 / Opus 4.6, GPT-OSS, etc.) for seamless web-based chat and coding.

Target Audience and Use Cases

Designed for developers with Google Anti Gravity IDE installed or active Cloud Code Assist entitlements who want to access these high-performance models within the unified DeepSeek Harness workspace for coding, reasoning, and tool execution.

Key Features

  • Lightweight Native Direct Connection: Directly connects over HTTPS to Cloud Code Assist without spawning background agy subprocesses or IDE instances.
  • One-Click macOS Authorization: Automatically validates and imports signed macOS Anti Gravity client configurations, opening the standard browser OAuth flow without manual Client ID/Secret copying.
  • Dynamic Model Discovery: Queries the live fetchAvailableModels endpoint to surface reviewed Gemini, Claude, and GPT-OSS model variants.
  • Independent Provider Route: The plugin registers its own google-antigravity adapter, owns its catalog, and resolves OAuth. It reuses the exported PiAiAdapter only for Harness message and stream conversion.
  • Built-in Login Page: A package-owned Typert Remote provides login start, status polling, and logout; the browser half registers a dedicated Anti Gravity settings page.
  • Clean Native Experience: Preserves thinking signatures, streaming output, and tool invocation contracts without injected provider system prompts, synthetic messages, or custom headers.

Installation and Quick Start

Install a reviewed revision into a DeepSeek Harness profile. The repository provides a dsh.bundle patch and prebuilt runtime artifacts so no local build steps are required:

dsh plugin --profile <profile> add github:OpenSaozi/dsh-antigravity#<commit-sha>

The installed bundle contributes the following Cordis configuration:

- id: llm-pi-ai-antigravity
  name: '@deepseek-ai/dsh-llm-pi-ai-antigravity'
  config:
    oauthCredentialEnv: GOOGLE_ANTIGRAVITY_OAUTH_CREDENTIAL
    oauthClientConfigRef: GOOGLE_ANTIGRAVITY_OAUTH_CLIENT_CONFIG
    displayName: Google Anti Gravity

Both oauthCredentialEnv and oauthClientConfigRef name credential references. The bundled local provider stores documents in $DSH_HOME/.credentials.yaml; deployments may use another credential backend.

Security and Credentials

  • The plugin uses two credential references: GOOGLE_ANTIGRAVITY_OAUTH_CLIENT_CONFIG for private OAuth application details and GOOGLE_ANTIGRAVITY_OAUTH_CREDENTIAL for user tokens.
  • Credentials remain inside the Harness host credential service and never leak into settings, model catalogs, logs, or frontend responses.
  • For inference, the plugin calls the OAuth handler's toAuth() and passes the resulting JSON auth value to pi-ai as a per-request override; pi-ai's model collection holds no CredentialStore.

Contributing

Issues and scoped pull requests are welcome. Please describe observed provider responses, omit secrets and account identifiers, update both README languages, and run package tests in a matching DeepSeek Harness workspace.

License and Disclaimer

MIT License. This independent integration is not affiliated with or endorsed by Google, DeepMind, DeepSeek, or pi-ai maintainers. Google Anti Gravity and related model names are trademarks of their respective owners.

Model Experience

Anti Gravity Inference

What the model sees

The selected model receives the Harness system prompt as systemInstruction, along with normalized conversation messages and tool definitions. The plugin adds no vendor prompts or instructions. The transport retains native Cloud Code Assist envelopes: sending authorized JSON/SSE headers and official fields (project, model, request, requestType, userAgent, and requestId) without compatibility headers, identity messages, or synthetic turns.

Token effect

No additional model-visible tokens are added beyond the system prompt, history, and tools in the request. Cloud Code Assist reports prompt, candidate, thinking, and cached token counts; the adapter maps these fields directly without estimation.

KV Cache effect

Logical message order is preserved. Thinking signatures and tool call IDs persist across subsequent turns. Upstream cache reuse remains governed by Cloud Code Assist and may reset when earlier turns or models change.

Known Limitations and Deferred Work

  • Google delivers this subscription path over internal v1internal Cloud Code Assist endpoints rather than public Gemini APIs; endpoint changes may affect this plugin independently of public Gemini services.
  • OAuth starts from the plugin-owned Anti Gravity settings page, and the account must hold active service entitlements.
  • Automatic OAuth client import currently supports Google-signed macOS Antigravity IDE.app installations. Non-standard paths can be supplied via macosApplicationPath; other operating systems require credentials pre-provisioned via the credentials service.
  • Catalog items describe provider capabilities and do not guarantee remaining quota. Depleted quotas return as provider errors during inference.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-antigravity」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

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

Headless(CLI)profile:

dsh plugin --profile headless add github:OpenSaozi/dsh-antigravity

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →