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