Skip to content

Commit a67fe55

Browse files
committed
docs: add warning about Gemini OAuth policy risk
1 parent a537f80 commit a67fe55

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@
33
![License](https://img.shields.io/npm/l/opencode-gemini-auth)
44
![Version](https://img.shields.io/npm/v/opencode-gemini-auth)
55

6+
> [!WARNING]
7+
> Google has stated that using Gemini CLI OAuth with third-party software is a
8+
> policy-violating use case and may trigger abuse detection or account
9+
> restrictions. It is unclear how aggressively this is enforced for projects
10+
> like this one, but you should assume there is real risk and use this plugin at
11+
> your own discretion. If you want the lowest-risk option, use Opencode with
12+
> your own Gemini API key instead.
13+
>
14+
> See: https://github.com/google-gemini/gemini-cli/discussions/22970
15+
616
**Authenticate the Opencode CLI with your Google account.** This plugin enables
717
you to use your existing Gemini plan and quotas (including the free tier)
8-
directly within Opencode, bypassing separate API billing.
18+
directly within Opencode.
919

1020
## Prerequisites
1121

0 commit comments

Comments
 (0)