opencode-agy-auth 2.0.0

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.
Files changed (235) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +745 -0
  3. package/dist/index.d.ts +4 -0
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +3 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/src/antigravity/oauth.d.ts +31 -0
  8. package/dist/src/antigravity/oauth.d.ts.map +1 -0
  9. package/dist/src/antigravity/oauth.js +171 -0
  10. package/dist/src/antigravity/oauth.js.map +1 -0
  11. package/dist/src/constants.d.ts +155 -0
  12. package/dist/src/constants.d.ts.map +1 -0
  13. package/dist/src/constants.js +251 -0
  14. package/dist/src/constants.js.map +1 -0
  15. package/dist/src/hooks/auto-update-checker/cache.d.ts +3 -0
  16. package/dist/src/hooks/auto-update-checker/cache.d.ts.map +1 -0
  17. package/dist/src/hooks/auto-update-checker/cache.js +71 -0
  18. package/dist/src/hooks/auto-update-checker/cache.js.map +1 -0
  19. package/dist/src/hooks/auto-update-checker/checker.d.ts +16 -0
  20. package/dist/src/hooks/auto-update-checker/checker.d.ts.map +1 -0
  21. package/dist/src/hooks/auto-update-checker/checker.js +237 -0
  22. package/dist/src/hooks/auto-update-checker/checker.js.map +1 -0
  23. package/dist/src/hooks/auto-update-checker/constants.d.ts +9 -0
  24. package/dist/src/hooks/auto-update-checker/constants.d.ts.map +1 -0
  25. package/dist/src/hooks/auto-update-checker/constants.js +23 -0
  26. package/dist/src/hooks/auto-update-checker/constants.js.map +1 -0
  27. package/dist/src/hooks/auto-update-checker/index.d.ts +34 -0
  28. package/dist/src/hooks/auto-update-checker/index.d.ts.map +1 -0
  29. package/dist/src/hooks/auto-update-checker/index.js +125 -0
  30. package/dist/src/hooks/auto-update-checker/index.js.map +1 -0
  31. package/dist/src/hooks/auto-update-checker/types.d.ts +25 -0
  32. package/dist/src/hooks/auto-update-checker/types.d.ts.map +1 -0
  33. package/dist/src/hooks/auto-update-checker/types.js +1 -0
  34. package/dist/src/hooks/auto-update-checker/types.js.map +1 -0
  35. package/dist/src/plugin/accounts.d.ts +174 -0
  36. package/dist/src/plugin/accounts.d.ts.map +1 -0
  37. package/dist/src/plugin/accounts.js +1243 -0
  38. package/dist/src/plugin/accounts.js.map +1 -0
  39. package/dist/src/plugin/auth.d.ts +21 -0
  40. package/dist/src/plugin/auth.d.ts.map +1 -0
  41. package/dist/src/plugin/auth.js +46 -0
  42. package/dist/src/plugin/auth.js.map +1 -0
  43. package/dist/src/plugin/cache/index.d.ts +5 -0
  44. package/dist/src/plugin/cache/index.d.ts.map +1 -0
  45. package/dist/src/plugin/cache/index.js +5 -0
  46. package/dist/src/plugin/cache/index.js.map +1 -0
  47. package/dist/src/plugin/cache/signature-cache.d.ts +111 -0
  48. package/dist/src/plugin/cache/signature-cache.d.ts.map +1 -0
  49. package/dist/src/plugin/cache/signature-cache.js +375 -0
  50. package/dist/src/plugin/cache/signature-cache.js.map +1 -0
  51. package/dist/src/plugin/cache.d.ts +44 -0
  52. package/dist/src/plugin/cache.d.ts.map +1 -0
  53. package/dist/src/plugin/cache.js +200 -0
  54. package/dist/src/plugin/cache.js.map +1 -0
  55. package/dist/src/plugin/cli.d.ts +27 -0
  56. package/dist/src/plugin/cli.d.ts.map +1 -0
  57. package/dist/src/plugin/cli.js +130 -0
  58. package/dist/src/plugin/cli.js.map +1 -0
  59. package/dist/src/plugin/config/index.d.ts +16 -0
  60. package/dist/src/plugin/config/index.d.ts.map +1 -0
  61. package/dist/src/plugin/config/index.js +16 -0
  62. package/dist/src/plugin/config/index.js.map +1 -0
  63. package/dist/src/plugin/config/loader.d.ts +38 -0
  64. package/dist/src/plugin/config/loader.d.ts.map +1 -0
  65. package/dist/src/plugin/config/loader.js +204 -0
  66. package/dist/src/plugin/config/loader.js.map +1 -0
  67. package/dist/src/plugin/config/models.d.ts +27 -0
  68. package/dist/src/plugin/config/models.d.ts.map +1 -0
  69. package/dist/src/plugin/config/models.js +79 -0
  70. package/dist/src/plugin/config/models.js.map +1 -0
  71. package/dist/src/plugin/config/schema.d.ts +134 -0
  72. package/dist/src/plugin/config/schema.d.ts.map +1 -0
  73. package/dist/src/plugin/config/schema.js +445 -0
  74. package/dist/src/plugin/config/schema.js.map +1 -0
  75. package/dist/src/plugin/config/updater.d.ts +55 -0
  76. package/dist/src/plugin/config/updater.d.ts.map +1 -0
  77. package/dist/src/plugin/config/updater.js +133 -0
  78. package/dist/src/plugin/config/updater.js.map +1 -0
  79. package/dist/src/plugin/core/streaming/index.d.ts +3 -0
  80. package/dist/src/plugin/core/streaming/index.d.ts.map +1 -0
  81. package/dist/src/plugin/core/streaming/index.js +3 -0
  82. package/dist/src/plugin/core/streaming/index.js.map +1 -0
  83. package/dist/src/plugin/core/streaming/transformer.d.ts +10 -0
  84. package/dist/src/plugin/core/streaming/transformer.d.ts.map +1 -0
  85. package/dist/src/plugin/core/streaming/transformer.js +271 -0
  86. package/dist/src/plugin/core/streaming/transformer.js.map +1 -0
  87. package/dist/src/plugin/core/streaming/types.d.ts +27 -0
  88. package/dist/src/plugin/core/streaming/types.d.ts.map +1 -0
  89. package/dist/src/plugin/core/streaming/types.js +1 -0
  90. package/dist/src/plugin/core/streaming/types.js.map +1 -0
  91. package/dist/src/plugin/debug.d.ts +94 -0
  92. package/dist/src/plugin/debug.d.ts.map +1 -0
  93. package/dist/src/plugin/debug.js +418 -0
  94. package/dist/src/plugin/debug.js.map +1 -0
  95. package/dist/src/plugin/errors.d.ts +28 -0
  96. package/dist/src/plugin/errors.d.ts.map +1 -0
  97. package/dist/src/plugin/errors.js +42 -0
  98. package/dist/src/plugin/errors.js.map +1 -0
  99. package/dist/src/plugin/fingerprint.d.ts +71 -0
  100. package/dist/src/plugin/fingerprint.d.ts.map +1 -0
  101. package/dist/src/plugin/fingerprint.js +140 -0
  102. package/dist/src/plugin/fingerprint.js.map +1 -0
  103. package/dist/src/plugin/image-saver.d.ts +25 -0
  104. package/dist/src/plugin/image-saver.d.ts.map +1 -0
  105. package/dist/src/plugin/image-saver.js +86 -0
  106. package/dist/src/plugin/image-saver.js.map +1 -0
  107. package/dist/src/plugin/logger.d.ts +54 -0
  108. package/dist/src/plugin/logger.d.ts.map +1 -0
  109. package/dist/src/plugin/logger.js +120 -0
  110. package/dist/src/plugin/logger.js.map +1 -0
  111. package/dist/src/plugin/project.d.ts +33 -0
  112. package/dist/src/plugin/project.d.ts.map +1 -0
  113. package/dist/src/plugin/project.js +234 -0
  114. package/dist/src/plugin/project.js.map +1 -0
  115. package/dist/src/plugin/proxy.d.ts +2 -0
  116. package/dist/src/plugin/proxy.d.ts.map +1 -0
  117. package/dist/src/plugin/proxy.js +20 -0
  118. package/dist/src/plugin/proxy.js.map +1 -0
  119. package/dist/src/plugin/quota.d.ts +58 -0
  120. package/dist/src/plugin/quota.d.ts.map +1 -0
  121. package/dist/src/plugin/quota.js +430 -0
  122. package/dist/src/plugin/quota.js.map +1 -0
  123. package/dist/src/plugin/recovery/constants.d.ts +22 -0
  124. package/dist/src/plugin/recovery/constants.d.ts.map +1 -0
  125. package/dist/src/plugin/recovery/constants.js +43 -0
  126. package/dist/src/plugin/recovery/constants.js.map +1 -0
  127. package/dist/src/plugin/recovery/index.d.ts +12 -0
  128. package/dist/src/plugin/recovery/index.d.ts.map +1 -0
  129. package/dist/src/plugin/recovery/index.js +12 -0
  130. package/dist/src/plugin/recovery/index.js.map +1 -0
  131. package/dist/src/plugin/recovery/storage.d.ts +24 -0
  132. package/dist/src/plugin/recovery/storage.d.ts.map +1 -0
  133. package/dist/src/plugin/recovery/storage.js +354 -0
  134. package/dist/src/plugin/recovery/storage.js.map +1 -0
  135. package/dist/src/plugin/recovery/types.d.ts +116 -0
  136. package/dist/src/plugin/recovery/types.d.ts.map +1 -0
  137. package/dist/src/plugin/recovery/types.js +6 -0
  138. package/dist/src/plugin/recovery/types.js.map +1 -0
  139. package/dist/src/plugin/recovery.d.ts +61 -0
  140. package/dist/src/plugin/recovery.d.ts.map +1 -0
  141. package/dist/src/plugin/recovery.js +378 -0
  142. package/dist/src/plugin/recovery.js.map +1 -0
  143. package/dist/src/plugin/refresh-queue.d.ts +101 -0
  144. package/dist/src/plugin/refresh-queue.d.ts.map +1 -0
  145. package/dist/src/plugin/refresh-queue.js +248 -0
  146. package/dist/src/plugin/refresh-queue.js.map +1 -0
  147. package/dist/src/plugin/request-helpers.d.ts +306 -0
  148. package/dist/src/plugin/request-helpers.d.ts.map +1 -0
  149. package/dist/src/plugin/request-helpers.js +2476 -0
  150. package/dist/src/plugin/request-helpers.js.map +1 -0
  151. package/dist/src/plugin/request.d.ts +98 -0
  152. package/dist/src/plugin/request.d.ts.map +1 -0
  153. package/dist/src/plugin/request.js +1513 -0
  154. package/dist/src/plugin/request.js.map +1 -0
  155. package/dist/src/plugin/rotation.d.ts +169 -0
  156. package/dist/src/plugin/rotation.d.ts.map +1 -0
  157. package/dist/src/plugin/rotation.js +328 -0
  158. package/dist/src/plugin/rotation.js.map +1 -0
  159. package/dist/src/plugin/search.d.ts +32 -0
  160. package/dist/src/plugin/search.d.ts.map +1 -0
  161. package/dist/src/plugin/search.js +195 -0
  162. package/dist/src/plugin/search.js.map +1 -0
  163. package/dist/src/plugin/server.d.ts +23 -0
  164. package/dist/src/plugin/server.d.ts.map +1 -0
  165. package/dist/src/plugin/server.js +324 -0
  166. package/dist/src/plugin/server.js.map +1 -0
  167. package/dist/src/plugin/storage.d.ts +137 -0
  168. package/dist/src/plugin/storage.d.ts.map +1 -0
  169. package/dist/src/plugin/storage.js +588 -0
  170. package/dist/src/plugin/storage.js.map +1 -0
  171. package/dist/src/plugin/stores/signature-store.d.ts +5 -0
  172. package/dist/src/plugin/stores/signature-store.d.ts.map +1 -0
  173. package/dist/src/plugin/stores/signature-store.js +25 -0
  174. package/dist/src/plugin/stores/signature-store.js.map +1 -0
  175. package/dist/src/plugin/thinking-recovery.d.ts +90 -0
  176. package/dist/src/plugin/thinking-recovery.d.ts.map +1 -0
  177. package/dist/src/plugin/thinking-recovery.js +316 -0
  178. package/dist/src/plugin/thinking-recovery.js.map +1 -0
  179. package/dist/src/plugin/token.d.ts +19 -0
  180. package/dist/src/plugin/token.d.ts.map +1 -0
  181. package/dist/src/plugin/token.js +128 -0
  182. package/dist/src/plugin/token.js.map +1 -0
  183. package/dist/src/plugin/transform/claude.d.ts +82 -0
  184. package/dist/src/plugin/transform/claude.d.ts.map +1 -0
  185. package/dist/src/plugin/transform/claude.js +278 -0
  186. package/dist/src/plugin/transform/claude.js.map +1 -0
  187. package/dist/src/plugin/transform/cross-model-sanitizer.d.ts +35 -0
  188. package/dist/src/plugin/transform/cross-model-sanitizer.d.ts.map +1 -0
  189. package/dist/src/plugin/transform/cross-model-sanitizer.js +225 -0
  190. package/dist/src/plugin/transform/cross-model-sanitizer.js.map +1 -0
  191. package/dist/src/plugin/transform/gemini.d.ts +100 -0
  192. package/dist/src/plugin/transform/gemini.d.ts.map +1 -0
  193. package/dist/src/plugin/transform/gemini.js +504 -0
  194. package/dist/src/plugin/transform/gemini.js.map +1 -0
  195. package/dist/src/plugin/transform/index.d.ts +15 -0
  196. package/dist/src/plugin/transform/index.d.ts.map +1 -0
  197. package/dist/src/plugin/transform/index.js +14 -0
  198. package/dist/src/plugin/transform/index.js.map +1 -0
  199. package/dist/src/plugin/transform/model-resolver.d.ts +104 -0
  200. package/dist/src/plugin/transform/model-resolver.d.ts.map +1 -0
  201. package/dist/src/plugin/transform/model-resolver.js +409 -0
  202. package/dist/src/plugin/transform/model-resolver.js.map +1 -0
  203. package/dist/src/plugin/transform/types.d.ts +111 -0
  204. package/dist/src/plugin/transform/types.d.ts.map +1 -0
  205. package/dist/src/plugin/transform/types.js +1 -0
  206. package/dist/src/plugin/transform/types.js.map +1 -0
  207. package/dist/src/plugin/types.d.ts +97 -0
  208. package/dist/src/plugin/types.d.ts.map +1 -0
  209. package/dist/src/plugin/types.js +1 -0
  210. package/dist/src/plugin/types.js.map +1 -0
  211. package/dist/src/plugin/ui/ansi.d.ts +32 -0
  212. package/dist/src/plugin/ui/ansi.d.ts.map +1 -0
  213. package/dist/src/plugin/ui/ansi.js +52 -0
  214. package/dist/src/plugin/ui/ansi.js.map +1 -0
  215. package/dist/src/plugin/ui/auth-menu.d.ts +37 -0
  216. package/dist/src/plugin/ui/auth-menu.d.ts.map +1 -0
  217. package/dist/src/plugin/ui/auth-menu.js +182 -0
  218. package/dist/src/plugin/ui/auth-menu.js.map +1 -0
  219. package/dist/src/plugin/ui/confirm.d.ts +2 -0
  220. package/dist/src/plugin/ui/confirm.d.ts.map +1 -0
  221. package/dist/src/plugin/ui/confirm.js +15 -0
  222. package/dist/src/plugin/ui/confirm.js.map +1 -0
  223. package/dist/src/plugin/ui/select.d.ts +23 -0
  224. package/dist/src/plugin/ui/select.d.ts.map +1 -0
  225. package/dist/src/plugin/ui/select.js +254 -0
  226. package/dist/src/plugin/ui/select.js.map +1 -0
  227. package/dist/src/plugin/version.d.ts +19 -0
  228. package/dist/src/plugin/version.d.ts.map +1 -0
  229. package/dist/src/plugin/version.js +74 -0
  230. package/dist/src/plugin/version.js.map +1 -0
  231. package/dist/src/plugin.d.ts +40 -0
  232. package/dist/src/plugin.d.ts.map +1 -0
  233. package/dist/src/plugin.js +3407 -0
  234. package/dist/src/plugin.js.map +1 -0
  235. package/package.json +73 -0
package/README.md ADDED
@@ -0,0 +1,745 @@
1
+ # OpenCode AGY Auth (Antigravity Guard)
2
+
3
+ [![npm version](https://img.shields.io/npm/v/opencode-agy-auth.svg)](https://www.npmjs.com/package/opencode-agy-auth)
4
+ [![npm beta](https://img.shields.io/npm/v/opencode-agy-auth/beta.svg?label=beta)](https://www.npmjs.com/package/opencode-agy-auth)
5
+ [![npm downloads](https://img.shields.io/npm/dw/opencode-agy-auth.svg)](https://www.npmjs.com/package/opencode-agy-auth)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
7
+
8
+ **The Hardened, Safety-First Antigravity Plugin for OpenCode.**
9
+
10
+ Enable OpenCode to authenticate against **Antigravity** (Google's IDE) with enterprise-grade **account protection** and **session stability**. Access models like `gemini-3.1-pro` and `claude-opus-4-6-thinking` while keeping your accounts safe from bans and your agents running without interruption.
11
+
12
+ ## Why AGY Auth?
13
+
14
+ This is an independent project focused on **Safety** and **Reliability** for power users and autonomous agents.
15
+
16
+ ### 🛡️ Enhanced Protection
17
+ - **Strict Quota Protocol (SQP)**: Enforces a **70% safety buffer** on API usage. Accounts are strictly locked *before* they hit Google's abuse limits.
18
+ - **Leak-Proof Locking**: Locked accounts are ignored until their specific reset time passes, preventing "leaky" usage from cache expiry.
19
+
20
+ ### ⚡ Agent Stability
21
+ - **Oh-My-OpenCode Integration**: Native support for session recovery. Automatically handles tool crashes and model "thinking" blocks without user intervention.
22
+ - **Smart Proxy Support**: Enterprise-ready `undici` proxy support for complex network environments.
23
+ - **Interactive Pause**: Gracefully pauses execution when quotas run low, allowing human intervention instead of crashing.
24
+
25
+ ## Key Features
26
+
27
+ - **All Antigravity Models**: Claude Opus 4.6, Sonnet 4.6, and Gemini 3.1 Pro/Flash via Google OAuth.
28
+ - **Thinking Models**: Configurable thinking budgets for complex reasoning tasks.
29
+ - **Multi-Account Rotation**: Add unlimited Google accounts; the plugin auto-rotates based on health and quota.
30
+ - **Dual Quota Pools**: Intelligently routes between Antigravity and Gemini CLI quotas.
31
+ - **Google Search Grounding**: Enable real-time web search for Gemini models.
32
+
33
+ ---
34
+
35
+ <details open>
36
+ <summary><b>⚠️ Terms of Service Warning — Read Before Installing</b></summary>
37
+
38
+ > [!CAUTION]
39
+ > Using this plugin may violate Google's Terms of Service. A small number of users have reported their Google accounts being **banned** or **shadow-banned** (restricted access without explicit notification).
40
+ >
41
+ > **High-risk scenarios:**
42
+ > - 🚨 **Fresh Google accounts** have a very high chance of getting banned
43
+ > - 🚨 **New accounts with Pro/Ultra subscriptions** are frequently flagged and banned
44
+ >
45
+ > **By using this plugin, you acknowledge:**
46
+ > - This is an unofficial tool not endorsed by Google
47
+ > - Your account may be suspended or permanently banned
48
+ > - You assume all risks associated with using this plugin
49
+ >
50
+ > **Recommendation:** Use an established Google account that you don't rely on for critical services. Avoid creating new accounts specifically for this plugin.
51
+
52
+ </details>
53
+
54
+ ---
55
+
56
+ ## Installation
57
+
58
+ <details open>
59
+ <summary><b>For Humans</b></summary>
60
+
61
+ **Option A: Let an LLM do it**
62
+
63
+ Paste this into any LLM agent (Claude Code, OpenCode, Cursor, etc.):
64
+
65
+ ```
66
+ Install the opencode-agy-auth plugin and add the Antigravity model definitions to ~/.config/opencode/opencode.json by following: https://raw.githubusercontent.com/npdkdev/opencode-agy-auth/main/README.md
67
+ ```
68
+
69
+ **Option B: Manual setup (NPM)**
70
+
71
+ 1. **Add the plugin** to `~/.config/opencode/opencode.json` (OpenCode will auto-install from NPM):
72
+
73
+ ```json
74
+ {
75
+ "plugin": ["opencode-agy-auth@latest"]
76
+ }
77
+ ```
78
+
79
+ > Want bleeding-edge features? Use `opencode-agy-auth@beta` instead.
80
+
81
+ 2. **Login** with your Google account:
82
+
83
+ ```bash
84
+ opencode auth login
85
+ ```
86
+
87
+ 3. **Add models** — choose one:
88
+ - Run `opencode auth login` → select **"Configure models in opencode.json"** (auto-configures all models)
89
+ - Or manually copy the [full configuration](#models) below
90
+
91
+ 4. **Use it:**
92
+
93
+ ```bash
94
+ opencode run "Hello" --model=google/antigravity-claude-sonnet-4-6-thinking --variant=max
95
+ ```
96
+
97
+ </details>
98
+
99
+ <details>
100
+ <summary><b>For LLM Agents</b></summary>
101
+
102
+ ### Step-by-Step Instructions
103
+
104
+ 1. Edit the OpenCode configuration file at `~/.config/opencode/opencode.json`
105
+
106
+ > **Note**: This path works on all platforms. On Windows, `~` resolves to your user home directory (e.g., `C:\Users\YourName`).
107
+
108
+ 2. Add the plugin to the `plugin` array
109
+
110
+ 3. Add the model definitions from the [Full models configuration](#models) section
111
+
112
+ 4. Set `provider` to `"google"` and choose a model
113
+
114
+ ### Verification
115
+
116
+ ```bash
117
+ opencode run "Hello" --model=google/antigravity-claude-sonnet-4-6-thinking --variant=max
118
+ ```
119
+
120
+ </details>
121
+
122
+
123
+ For a complete installation guide, including manual methods and advanced agent protocols, see [docs/INSTALLATION.md](docs/INSTALLATION.md).
124
+
125
+ ---
126
+
127
+ ## Models
128
+
129
+ ### Model Reference
130
+
131
+ **Antigravity quota** (default routing for Claude and Gemini):
132
+
133
+ | Model | Variants | Notes |
134
+ |-------|----------|-------|
135
+ | `antigravity-gemini-3.1-pro` | low, high | Gemini 3.1 Pro with thinking |
136
+ | `antigravity-gemini-3-flash` | minimal, low, medium, high | Gemini 3 Flash with thinking |
137
+ | `antigravity-claude-sonnet-4-6` | — | Claude Sonnet 4.6 |
138
+ | `antigravity-claude-sonnet-4-6-thinking` | low, max | Claude Sonnet with extended thinking |
139
+
140
+ | `antigravity-claude-opus-4-6-thinking` | low, max | Claude Opus 4.6 with extended thinking |
141
+
142
+ **Gemini CLI quota** (separate from Antigravity; used when `cli_first` is true or as fallback):
143
+
144
+ | Model | Notes |
145
+ |-------|-------|
146
+ | `gemini-2.5-flash` | Gemini 2.5 Flash |
147
+ | `gemini-2.5-pro` | Gemini 2.5 Pro |
148
+ | `gemini-3-flash-preview` | Gemini 3 Flash (preview) |
149
+ | `gemini-3.1-pro-preview` | Gemini 3.1 Pro (preview) |
150
+
151
+ > **Routing Behavior:**
152
+ > - **Antigravity-first (default):** Gemini models use Antigravity quota across accounts.
153
+ > - **CLI-first (`cli_first: true`):** Gemini models use Gemini CLI quota first.
154
+ > - When a Gemini quota pool is exhausted, the plugin automatically falls back to the other pool.
155
+ > - Claude and image models always use Antigravity.
156
+ > Model names are automatically transformed for the target API (e.g., `antigravity-gemini-3-flash` → `gemini-3-flash-preview` for CLI).
157
+
158
+ **Using variants:**
159
+ ```bash
160
+ opencode run "Hello" --model=google/antigravity-claude-sonnet-4-6-thinking --variant=max
161
+ ```
162
+
163
+ For details on variant configuration and thinking levels, see [docs/MODEL-VARIANTS.md](docs/MODEL-VARIANTS.md).
164
+
165
+ <details>
166
+ <summary><b>Full models configuration (copy-paste ready)</b></summary>
167
+
168
+ Add this to your `~/.config/opencode/opencode.json`:
169
+
170
+ ```json
171
+ {
172
+ "$schema": "https://opencode.ai/config.json",
173
+ "plugin": ["opencode-agy-auth@latest"],
174
+ "provider": {
175
+ "google": {
176
+ "models": {
177
+ "antigravity-gemini-3.1-pro": {
178
+ "name": "Gemini 3.1 Pro (Antigravity)",
179
+ "limit": { "context": 1048576, "output": 65535 },
180
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
181
+ "variants": {
182
+ "low": { "thinkingLevel": "low" },
183
+ "high": { "thinkingLevel": "high" }
184
+ }
185
+ },
186
+ "antigravity-gemini-3-flash": {
187
+ "name": "Gemini 3 Flash (Antigravity)",
188
+ "limit": { "context": 1048576, "output": 65536 },
189
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
190
+ "variants": {
191
+ "minimal": { "thinkingLevel": "minimal" },
192
+ "low": { "thinkingLevel": "low" },
193
+ "medium": { "thinkingLevel": "medium" },
194
+ "high": { "thinkingLevel": "high" }
195
+ }
196
+ },
197
+ "antigravity-claude-sonnet-4-6": {
198
+ "name": "Claude Sonnet 4.6 (Antigravity)",
199
+ "limit": { "context": 200000, "output": 64000 },
200
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }
201
+ },
202
+ "antigravity-claude-sonnet-4-6-thinking": {
203
+ "name": "Claude Sonnet 4.6 Thinking (Antigravity)",
204
+ "limit": { "context": 200000, "output": 64000 },
205
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
206
+ "variants": {
207
+ "low": { "thinkingConfig": { "thinkingBudget": 8192 } },
208
+ "max": { "thinkingConfig": { "thinkingBudget": 32768 } }
209
+ }
210
+ },
211
+
212
+ "antigravity-claude-opus-4-6-thinking": {
213
+ "name": "Claude Opus 4.6 Thinking (Antigravity)",
214
+ "limit": { "context": 200000, "output": 64000 },
215
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
216
+ "variants": {
217
+ "low": { "thinkingConfig": { "thinkingBudget": 8192 } },
218
+ "max": { "thinkingConfig": { "thinkingBudget": 32768 } }
219
+ }
220
+ },
221
+ "gemini-2.5-flash": {
222
+ "name": "Gemini 2.5 Flash (Gemini CLI)",
223
+ "limit": { "context": 1048576, "output": 65536 },
224
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }
225
+ },
226
+ "gemini-2.5-pro": {
227
+ "name": "Gemini 2.5 Pro (Gemini CLI)",
228
+ "limit": { "context": 1048576, "output": 65536 },
229
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }
230
+ },
231
+ "gemini-3-flash-preview": {
232
+ "name": "Gemini 3 Flash Preview (Gemini CLI)",
233
+ "limit": { "context": 1048576, "output": 65536 },
234
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }
235
+ },
236
+ "gemini-3.1-pro-preview": {
237
+ "name": "Gemini 3.1 Pro Preview (Gemini CLI)",
238
+ "limit": { "context": 1048576, "output": 65535 },
239
+ "modalities": { "input": ["text", "image", "pdf"], "output": ["text"] }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
245
+ ```
246
+
247
+ > **Backward Compatibility:** Legacy model names with `antigravity-` prefix (e.g., `antigravity-gemini-3-flash`) still work. The plugin automatically handles model name transformation for both Antigravity and Gemini CLI APIs.
248
+
249
+ </details>
250
+
251
+ ---
252
+
253
+ ## Multi-Account Setup
254
+
255
+ Add multiple Google accounts for higher combined quotas. The plugin automatically rotates between accounts when one is rate-limited.
256
+
257
+ ```bash
258
+ opencode auth login # Run again to add more accounts
259
+ ```
260
+
261
+ **Account management options (via `opencode auth login`):**
262
+ - **Configure models** — Auto-configure all plugin models in opencode.json
263
+ - **Check quotas** — View remaining API quota for each account
264
+ - **Manage accounts** — Enable/disable specific accounts for rotation
265
+
266
+ For details on load balancing, dual quota pools, and account storage, see [docs/MULTI-ACCOUNT.md](docs/MULTI-ACCOUNT.md).
267
+
268
+ ---
269
+
270
+ ## Troubleshoot
271
+
272
+ > **Quick Reset**: Most issues can be resolved by deleting `~/.config/opencode/antigravity-accounts.json` and running `opencode auth login` again.
273
+
274
+ ### Configuration Path (All Platforms)
275
+
276
+ OpenCode uses `~/.config/opencode/` on **all platforms** including Windows.
277
+
278
+ | File | Path |
279
+ |------|------|
280
+ | Main config | `~/.config/opencode/opencode.json` |
281
+ | Accounts | `~/.config/opencode/antigravity-accounts.json` |
282
+ | Plugin config | `~/.config/opencode/antigravity.json` |
283
+ | Debug logs | `~/.config/opencode/antigravity-logs/` |
284
+
285
+ > **Windows users**: `~` resolves to your user home directory (e.g., `C:\Users\YourName`). Do NOT use `%APPDATA%`.
286
+
287
+ > **Custom path**: Set `OPENCODE_CONFIG_DIR` environment variable to use a custom location.
288
+
289
+ > **Windows migration**: If upgrading from plugin v1.3.x or earlier, the plugin will automatically find your existing config in `%APPDATA%\opencode\` and use it. New installations use `~/.config/opencode/`.
290
+
291
+ ---
292
+
293
+ ### Multi-Account Auth Issues
294
+
295
+ If you encounter authentication issues with multiple accounts:
296
+
297
+ 1. Delete the accounts file:
298
+ ```bash
299
+ rm ~/.config/opencode/antigravity-accounts.json
300
+ ```
301
+ 2. Re-authenticate:
302
+ ```bash
303
+ opencode auth login
304
+ ```
305
+
306
+ ---
307
+
308
+ ### 403 Permission Denied (`rising-fact-p41fc`)
309
+
310
+ **Error:**
311
+ ```
312
+ Permission 'cloudaicompanion.companions.generateChat' denied on resource
313
+ '//cloudaicompanion.googleapis.com/projects/rising-fact-p41fc/locations/global'
314
+ ```
315
+
316
+ **Cause:** Plugin falls back to a default project ID when no valid project is found. This works for Antigravity but fails for Gemini CLI models.
317
+
318
+ **Solution:**
319
+ 1. Go to [Google Cloud Console](https://console.cloud.google.com/)
320
+ 2. Create or select a project
321
+ 3. Enable the **Gemini for Google Cloud API** (`cloudaicompanion.googleapis.com`)
322
+ 4. Add `projectId` to your accounts file:
323
+ ```json
324
+ {
325
+ "accounts": [
326
+ {
327
+ "email": "your@email.com",
328
+ "refreshToken": "...",
329
+ "projectId": "your-project-id"
330
+ }
331
+ ]
332
+ }
333
+ ```
334
+
335
+ > **Note**: Do this for each account in a multi-account setup.
336
+
337
+ ---
338
+
339
+ ### Gemini Model Not Found
340
+
341
+ Add this to your `google` provider config:
342
+
343
+ ```json
344
+ {
345
+ "provider": {
346
+ "google": {
347
+ "npm": "@ai-sdk/google",
348
+ "models": { ... }
349
+ }
350
+ }
351
+ }
352
+ ```
353
+
354
+ ---
355
+
356
+ ### Gemini 3 Models 400 Error ("Unknown name 'parameters'")
357
+
358
+ **Error:**
359
+ ```
360
+ Invalid JSON payload received. Unknown name "parameters" at 'request.tools[0]'
361
+ ```
362
+
363
+ **Causes:**
364
+ - Tool schema incompatibility with Gemini's strict protobuf validation
365
+ - MCP servers with malformed schemas
366
+ - Plugin version regression
367
+
368
+ **Solutions:**
369
+ 1. **Update to latest beta:**
370
+ ```json
371
+ { "plugin": ["opencode-agy-auth@beta"] }
372
+ ```
373
+
374
+ 2. **Disable MCP servers** one-by-one to find the problematic one
375
+
376
+ 3. **Add npm override:**
377
+ ```json
378
+ { "provider": { "google": { "npm": "@ai-sdk/google" } } }
379
+ ```
380
+
381
+ ---
382
+
383
+ ### MCP Servers Causing Errors
384
+
385
+ Some MCP servers have schemas incompatible with Antigravity's strict JSON format.
386
+
387
+ **Common symptom:**
388
+ ```bash
389
+ Invalid function name must start with a letter or underscore
390
+ ```
391
+
392
+ Sometimes it shows up as:
393
+ ```bash
394
+ GenerateContentRequest.tools[0].function_declarations[12].name: Invalid function name must start with a letter or underscore
395
+ ```
396
+
397
+ This usually means an MCP tool name starts with a number (for example, a 1mcp key like `1mcp_*`). Rename the MCP key to start with a letter (e.g., `gw`) or disable that MCP entry for Antigravity models.
398
+
399
+ **Diagnosis:**
400
+ 1. Disable all MCP servers in your config
401
+ 2. Enable one-by-one until error reappears
402
+ 3. Report the specific MCP in a [GitHub issue](https://github.com/npdkdev/opencode-agy-auth/issues)
403
+
404
+ ---
405
+
406
+ ### "All Accounts Rate-Limited" (But Quota Available)
407
+
408
+ **Cause:** Cascade bug in `clearExpiredRateLimits()` in hybrid mode (fixed in recent beta).
409
+
410
+ **Solutions:**
411
+ 1. Update to latest beta version
412
+ 2. If persists, delete accounts file and re-authenticate
413
+ 3. Try switching `account_selection_strategy` to `"sticky"` in `antigravity.json`
414
+
415
+ ---
416
+
417
+ ### Session Recovery
418
+
419
+ If you encounter errors during a session:
420
+ 1. Type `continue` to trigger the recovery mechanism
421
+ 2. If blocked, use `/undo` to revert to pre-error state
422
+ 3. Retry the operation
423
+
424
+ ---
425
+
426
+ ### Using with Oh-My-OpenCode
427
+
428
+ **Important:** Disable the built-in Google auth to prevent conflicts:
429
+
430
+ ```json
431
+ // ~/.config/opencode/oh-my-opencode.json
432
+ {
433
+ "google_auth": false,
434
+ "agents": {
435
+ "frontend-ui-ux-engineer": { "model": "google/gemini-3.1-pro" },
436
+ "document-writer": { "model": "google/gemini-3-flash" },
437
+ "multimodal-looker": { "model": "google/gemini-3-flash" }
438
+ }
439
+ }
440
+ ```
441
+
442
+ ---
443
+
444
+ ### Infinite `.tmp` Files Created
445
+
446
+ **Cause:** When account is rate-limited and plugin retries infinitely, it creates many temp files.
447
+
448
+ **Workaround:**
449
+ 1. Stop OpenCode
450
+ 2. Clean up: `rm ~/.config/opencode/*.tmp`
451
+ 3. Add more accounts or wait for rate limit to expire
452
+
453
+ ---
454
+
455
+ ### OAuth Callback Issues
456
+
457
+ <details>
458
+ <summary><b>Safari OAuth Callback Fails (macOS)</b></summary>
459
+
460
+ **Symptoms:**
461
+ - "fail to authorize" after successful Google login
462
+ - Safari shows "Safari can't open the page"
463
+
464
+ **Cause:** Safari's "HTTPS-Only Mode" blocks `http://localhost` callback.
465
+
466
+ **Solutions:**
467
+
468
+ 1. **Use Chrome or Firefox** (easiest):
469
+ Copy the OAuth URL and paste into a different browser.
470
+
471
+ 2. **Disable HTTPS-Only Mode temporarily:**
472
+ - Safari > Settings (⌘,) > Privacy
473
+ - Uncheck "Enable HTTPS-Only Mode"
474
+ - Run `opencode auth login`
475
+ - Re-enable after authentication
476
+
477
+ </details>
478
+
479
+ <details>
480
+ <summary><b>Port Conflict (Address Already in Use)</b></summary>
481
+
482
+ **macOS / Linux:**
483
+ ```bash
484
+ # Find process using the port
485
+ lsof -i :51121
486
+
487
+ # Kill if stale
488
+ kill -9 <PID>
489
+
490
+ # Retry
491
+ opencode auth login
492
+ ```
493
+
494
+ **Windows (PowerShell):**
495
+ ```powershell
496
+ netstat -ano | findstr :51121
497
+ taskkill /PID <PID> /F
498
+ opencode auth login
499
+ ```
500
+
501
+ </details>
502
+
503
+ <details>
504
+ <summary><b>Docker / WSL2 / Remote Development</b></summary>
505
+
506
+ OAuth callback requires browser to reach `localhost` on the machine running OpenCode.
507
+
508
+ **WSL2:**
509
+ - Use VS Code's port forwarding, or
510
+ - Configure Windows → WSL port forwarding
511
+
512
+ **SSH / Remote:**
513
+ ```bash
514
+ ssh -L 51121:localhost:51121 user@remote
515
+ ```
516
+
517
+ **Docker / Containers:**
518
+ - OAuth with localhost redirect doesn't work in containers
519
+ - Wait 30s for manual URL flow, or use SSH port forwarding
520
+
521
+ </details>
522
+
523
+ ---
524
+
525
+ ### Configuration Key Typo: `plugin` not `plugins`
526
+
527
+ The correct key is `plugin` (singular):
528
+
529
+ ```json
530
+ {
531
+ "plugin": ["opencode-agy-auth@beta"]
532
+ }
533
+ ```
534
+
535
+ **Not** `"plugins"` (will cause "Unrecognized key" error).
536
+
537
+ ---
538
+
539
+ ### Migrating Accounts Between Machines
540
+
541
+ When copying `antigravity-accounts.json` to a new machine:
542
+ 1. Ensure the plugin is installed: `"plugin": ["opencode-agy-auth@beta"]`
543
+ 2. Copy `~/.config/opencode/antigravity-accounts.json`
544
+ 3. If you get "API key missing" error, the refresh token may be invalid — re-authenticate
545
+
546
+ ## Known Plugin Interactions
547
+ For details on load balancing, dual quota pools, and account storage, see [docs/MULTI-ACCOUNT.md](docs/MULTI-ACCOUNT.md).
548
+
549
+ ---
550
+
551
+ ## Plugin Compatibility
552
+
553
+ ### @tarquinen/opencode-dcp
554
+
555
+ DCP creates synthetic assistant messages that lack thinking blocks. **List this plugin BEFORE DCP:**
556
+
557
+ ```json
558
+ {
559
+ "plugin": [
560
+ "opencode-agy-auth@latest",
561
+ "@tarquinen/opencode-dcp@latest"
562
+ ]
563
+ }
564
+ ```
565
+
566
+ ### oh-my-opencode
567
+
568
+ Disable built-in auth and override agent models in `oh-my-opencode.json`:
569
+
570
+ ```json
571
+ {
572
+ "google_auth": false,
573
+ "agents": {
574
+ "frontend-ui-ux-engineer": { "model": "google/antigravity-gemini-3.1-pro" },
575
+ "document-writer": { "model": "google/antigravity-gemini-3-flash" },
576
+ "multimodal-looker": { "model": "google/antigravity-gemini-3-flash" }
577
+ }
578
+ }
579
+ ```
580
+
581
+ > **Tip:** When spawning parallel subagents, enable `pid_offset_enabled: true` in `antigravity.json` to distribute sessions across accounts.
582
+
583
+ ### Plugins you don't need
584
+
585
+ - **gemini-auth plugins** — Not needed. This plugin handles all Google OAuth.
586
+
587
+ ---
588
+
589
+ ## Configuration
590
+
591
+ Create `~/.config/opencode/antigravity.json` for optional settings:
592
+
593
+ ```json
594
+ {
595
+ "$schema": "https://raw.githubusercontent.com/npdkdev/opencode-agy-auth/main/assets/antigravity.schema.json"
596
+ }
597
+ ```
598
+
599
+ Most users don't need to configure anything — defaults work well.
600
+
601
+ ### Model Behavior
602
+
603
+ | Option | Default | What it does |
604
+ |--------|---------|--------------
605
+ | `keep_thinking` | `false` | Preserve Claude's thinking across turns. **Warning:** enabling may degrade model stability. |
606
+ | `session_recovery` | `true` | Auto-recover from tool errors |
607
+ | `cli_first` | `false` | Route Gemini models to Gemini CLI first (Claude and image models stay on Antigravity). |
608
+
609
+ ### Account Rotation
610
+
611
+ | Your Setup | Recommended Config |
612
+ |------------|-------------------|
613
+ | **1 account** | `"account_selection_strategy": "sticky"` |
614
+ | **2-5 accounts** | Default (`"hybrid"`) works great |
615
+ | **5+ accounts** | `"account_selection_strategy": "round-robin"` |
616
+ | **Parallel agents** | Add `"pid_offset_enabled": true` |
617
+
618
+ ### Quota Protection
619
+
620
+ | Option | Default | What it does |
621
+ |--------|---------|--------------|
622
+ | `soft_quota_threshold_percent` | `90` | Skip account when quota usage exceeds this percentage. Prevents Google from penalizing accounts that fully exhaust quota. Set to `100` to disable. |
623
+ | `quota_refresh_interval_minutes` | `15` | Background quota refresh interval. After successful API requests, refreshes quota cache if older than this interval. Set to `0` to disable. |
624
+ | `soft_quota_cache_ttl_minutes` | `"auto"` | How long quota cache is considered fresh. `"auto"` = max(2 × refresh interval, 10 minutes). Set a number (1-120) for fixed TTL. |
625
+
626
+ > **How it works**: Quota cache is refreshed automatically after API requests (when older than `quota_refresh_interval_minutes`) and manually via "Check quotas" in `opencode auth login`. The threshold check uses `soft_quota_cache_ttl_minutes` to determine cache freshness - if cache is older, the account is considered "unknown" and allowed (fail-open). When ALL accounts exceed the threshold, the plugin waits for the earliest quota reset time (like rate limit behavior). If wait time exceeds `max_rate_limit_wait_seconds`, it errors immediately.
627
+
628
+ ### Rate Limit Scheduling
629
+
630
+ Control how the plugin handles rate limits:
631
+
632
+ | Option | Default | What it does |
633
+ |--------|---------|--------------|
634
+ | `scheduling_mode` | `"cache_first"` | `"cache_first"` = wait for same account (preserves prompt cache), `"balance"` = switch immediately, `"performance_first"` = round-robin |
635
+ | `max_cache_first_wait_seconds` | `60` | Max seconds to wait in cache_first mode before switching accounts |
636
+ | `failure_ttl_seconds` | `3600` | Reset failure count after this many seconds (prevents old failures from permanently penalizing accounts) |
637
+
638
+ **When to use each mode:**
639
+ - **cache_first** (default): Best for long conversations. Waits for the same account to recover, preserving your prompt cache.
640
+ - **balance**: Best for quick tasks. Switches accounts immediately when rate-limited for maximum availability.
641
+ - **performance_first**: Best for many short requests. Distributes load evenly across all accounts.
642
+
643
+ ### App Behavior
644
+
645
+ | Option | Default | What it does |
646
+ |--------|---------|--------------|
647
+ | `quiet_mode` | `false` | Hide toast notifications |
648
+ | `debug` | `false` | Enable debug logging |
649
+ | `auto_update` | `true` | Auto-update plugin |
650
+
651
+ For all options, see [docs/CONFIGURATION.md](docs/CONFIGURATION.md).
652
+
653
+ **Environment variables:**
654
+ ```bash
655
+ OPENCODE_CONFIG_DIR=/path/to/config opencode # Custom config directory
656
+ OPENCODE_ANTIGRAVITY_DEBUG=1 opencode # Enable debug logging
657
+ OPENCODE_ANTIGRAVITY_DEBUG=2 opencode # Verbose logging
658
+ ```
659
+
660
+ ---
661
+
662
+ ## Troubleshooting
663
+
664
+ See the full [Troubleshooting Guide](docs/TROUBLESHOOTING.md) for solutions to common issues including:
665
+
666
+ - Auth problems and token refresh
667
+ - "Model not found" errors
668
+ - Session recovery
669
+ - Gemini CLI permission errors
670
+ - Safari OAuth issues
671
+ - Plugin compatibility
672
+ - Migration guides
673
+
674
+ ---
675
+
676
+ ## Documentation
677
+
678
+ - [Configuration](docs/CONFIGURATION.md) — All configuration options
679
+ - [Multi-Account](docs/MULTI-ACCOUNT.md) — Load balancing, dual quota pools, account storage
680
+ - [Model Variants](docs/MODEL-VARIANTS.md) — Thinking budgets and variant system
681
+ - [Troubleshooting](docs/TROUBLESHOOTING.md) — Common issues and fixes
682
+ - [Architecture](docs/ARCHITECTURE.md) — How the plugin works
683
+ - [API Spec](docs/ANTIGRAVITY_API_SPEC.md) — Antigravity API reference
684
+
685
+ ---
686
+
687
+ ## Support & Community
688
+
689
+ If this plugin helps your workflow, you can support the project by:
690
+
691
+ - Starring the repository: [npdkdev/opencode-agy-auth](https://github.com/npdkdev/opencode-agy-auth)
692
+ - Reporting bugs and feature requests: [Issues](https://github.com/npdkdev/opencode-agy-auth/issues)
693
+ - Contributing improvements via pull requests
694
+
695
+ ---
696
+
697
+ ## Credits
698
+
699
+ This project includes contributions from the broader OpenCode Antigravity community:
700
+
701
+ - **[jenslys](https://github.com/jenslys)** - Original creator of [opencode-gemini-auth](https://github.com/jenslys/opencode-gemini-auth) (Basis for Gemini CLI auth).
702
+ - **[NoeFabris](https://github.com/NoeFabris)** - Added Antigravity support in [opencode-antigravity-auth](https://github.com/NoeFabris/opencode-antigravity-auth) (Multi-account support).
703
+ - **Previous AG Auth maintainers** - **Enhanced Protection & Stability**:
704
+ - **Strict Quota Protocol**: Custom safety algorithm with **70% usage threshold** (30% safety buffer). Accounts are strictly locked until their specific reset time passes, preventing "leaky" usage from cache expiry.
705
+ - **Oh-My-OpenCode Integration**: Full session recovery for tool crashes and thinking block errors.
706
+ - **Enterprise Feat**: Proxy support via `undici`.
707
+ - **UX/Fixes**: Interactive quota pause and Cloud Code API header fixes.
708
+
709
+ ### Community Contributors
710
+ - **[aaronsewall](https://github.com/aaronsewall)** - Added HTTP/HTTPS proxy support (#301).
711
+ - **[sunbos](https://github.com/sunbos)** - Logic for Oh-My-OpenCode integration (#349).
712
+ - **[m2m6vrm5fp-source](https://github.com/m2m6vrm5fp-source)** - Fixed Gemini 400 errors for empty properties (#319).
713
+ - **[jcromero](https://github.com/jcromero)** - Added interactive pause feature (#443).
714
+ - **[mynameistito](https://github.com/mynameistito)** - Cleaned up deprecated models (#437).
715
+
716
+ Special thanks to [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI).
717
+
718
+ ## License
719
+
720
+ MIT License. See [LICENSE](LICENSE) for details.
721
+
722
+ <details>
723
+ <summary><b>Legal</b></summary>
724
+
725
+ ### Intended Use
726
+
727
+ - Personal / internal development only
728
+ - Respect internal quotas and data handling policies
729
+ - Not for production services or bypassing intended limits
730
+
731
+ ### Warning
732
+
733
+ By using this plugin, you acknowledge:
734
+
735
+ - **Terms of Service risk** — This approach may violate ToS of AI model providers
736
+ - **Account risk** — Providers may suspend or ban accounts
737
+ - **No guarantees** — APIs may change without notice
738
+ - **Assumption of risk** — You assume all legal, financial, and technical risks
739
+
740
+ ### Disclaimer
741
+
742
+ - Not affiliated with Google. This is an independent open-source project.
743
+ - "Antigravity", "Gemini", "Google Cloud", and "Google" are trademarks of Google LLC.
744
+
745
+ </details>