pi-provider-antigravity 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -15
- package/dist/index.js +627 -566
- package/dist/index.js.map +3 -3
- package/package.json +2 -7
package/README.md
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Use Google Antigravity models directly in [Pi](https://pi.dev).
|
|
4
4
|
|
|
5
|
-
> ⚠️ **Disclaimer:**
|
|
5
|
+
> ⚠️ **Disclaimer:** This project is intended strictly for educational and research purposes.
|
|
6
|
+
> Unofficial harness use may breach Google's Terms of Service and can cost you
|
|
6
7
|
> your Antigravity access — or, in theory, your whole Google account.
|
|
7
8
|
> Read the [full disclaimer](#disclaimer) before logging in.
|
|
8
9
|
|
|
9
10
|
## Features
|
|
10
11
|
|
|
11
|
-
- **Verified wire
|
|
12
|
-
|
|
12
|
+
- **Verified wire compatibility**: headers, request envelopes, and tier/thinking mapping
|
|
13
|
+
strictly validated against the Antigravity protocol specification — not guessed.
|
|
13
14
|
- **Dynamic model catalog**: exposes exactly the models your account can use,
|
|
14
15
|
synthesized from the live catalog and cached for offline startup.
|
|
15
16
|
Newly released models are usable immediately without waiting for an extension update.
|
|
@@ -67,8 +68,8 @@ Extension subcommands (`/antigravity ...`):
|
|
|
67
68
|
|---|---|
|
|
68
69
|
| `usage` | Check 5-hour and weekly quota limits and reset times |
|
|
69
70
|
| `models` | View available models and remaining fraction (alias: `model`) |
|
|
70
|
-
| `refresh` |
|
|
71
|
-
| `settings` |
|
|
71
|
+
| `refresh` | Fetch the latest model list from Antigravity |
|
|
72
|
+
| `settings` | Configure provider settings (alias: `setting`) |
|
|
72
73
|
| `login` | Shortcut: fills in `/login antigravity` for you |
|
|
73
74
|
|
|
74
75
|
Related Pi builtins:
|
|
@@ -155,29 +156,31 @@ Configuration is stored in `pi-provider-antigravity.json` alongside Pi's `settin
|
|
|
155
156
|
}
|
|
156
157
|
```
|
|
157
158
|
|
|
158
|
-
> **Note:**
|
|
159
|
+
> **Note:** Alongside `"settings"`, the extension persists runtime metadata (such as quota calibration) under a top-level `"states"` key. Keep the file valid JSON (no comments). An unparseable file is never overwritten: the extension falls back to default settings, refuses `/antigravity settings` writes, and stops persisting quota calibration. If you cannot repair it, delete the file to reset to fresh defaults; the next write recreates it.
|
|
159
160
|
|
|
160
161
|
### Available Settings
|
|
161
162
|
|
|
162
163
|
| Key | Values | Default | Description |
|
|
163
164
|
|---|---|---|---|
|
|
164
|
-
| `quotaFooter` | `off`, `smart`, `all` | `off` |
|
|
165
|
+
| `quotaFooter` | `off`, `smart`, `all` | `off` | Show remaining quota in Pi's status footer. See [Quota footer](#quota-footer). |
|
|
165
166
|
|
|
166
167
|
## Disclaimer
|
|
167
168
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
**Educational and Research Purpose Only:**
|
|
170
|
+
This project is developed and provided strictly for educational, personal research, and protocol interoperability study purposes. It is not intended for production environments or commercial use.
|
|
171
|
+
|
|
172
|
+
**Terms of Service & Account Risks:**
|
|
173
|
+
This extension interacts with Google account services from a third-party harness — which the [Antigravity ToS](https://antigravity.google/terms) (§6) explicitly addresses regarding third-party harness access over OAuth. Read this before logging in:
|
|
172
174
|
|
|
173
175
|
- **Stated enforcement: Antigravity and/or Gemini CLI accounts.** Per §6,
|
|
174
176
|
third-party access "may be grounds for suspension or termination of your
|
|
175
177
|
Antigravity and/or Gemini CLI accounts" (they share quota).
|
|
176
|
-
- **Residual risk: your whole Google account.** The ToS also binds
|
|
178
|
+
- **Residual risk: your whole Google account.** The ToS also binds users to the
|
|
177
179
|
Universal [Google Terms](https://policies.google.com/terms) (§1), which allow
|
|
178
|
-
Google to suspend
|
|
179
|
-
for breach of service-specific terms
|
|
180
|
-
|
|
180
|
+
Google to suspend access to services or terminate accounts
|
|
181
|
+
for breach of service-specific terms.
|
|
182
|
+
|
|
183
|
+
The maintainers assume no responsibility or liability for any account actions, quota consumption, or damages resulting from the use of this software. Use strictly at your own discretion and risk.
|
|
181
184
|
|
|
182
185
|
## License
|
|
183
186
|
|