Skip to content

feat: ✨ add Gemini auth plugin #5

Merged
tmeckel merged 5 commits intomasterfrom
feat/gemini-plugin
Mar 17, 2026
Merged

feat: ✨ add Gemini auth plugin #5
tmeckel merged 5 commits intomasterfrom
feat/gemini-plugin

Conversation

@tmeckel
Copy link
Contributor

@tmeckel tmeckel commented Mar 17, 2026

No description provided.

tmeckel added 5 commits March 17, 2026 22:35
Add a Typescript script that converts Gemini OAuth credentials from ~/.gemini/oauth_creds.json to OpenCode's auth.json format. Supports environment variable overrides for custom paths and handles various expiry date formats (seconds, milliseconds, ISO strings).
Add logic to entrypoint.sh to automatically detect and convert Gemini OAuth credentials when the container starts. Uses configurable paths for credentials and converter script with sensible defaults.
Install opencode-gemini-auth plugin globally via bun, add it to the opencode plugin configuration, and copy the credential conversion script for runtime use.
Add documentation for reusing existing Gemini CLI credentials and manual authentication flow inside the container.
@tmeckel tmeckel merged commit 60e1571 into master Mar 17, 2026
1 check passed
@tmeckel tmeckel deleted the feat/gemini-plugin branch March 17, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant