Skip to content

Conversation

@tsanva
Copy link
Contributor

@tsanva tsanva commented Dec 25, 2025

Summary

  • Remove the api: "antigravity" field from ANTIGRAVITY_PROVIDER_CONFIG that was being written to ~/.config/opencode/opencode.json
  • This field causes authentication failures with the opencode-antigravity-auth plugin

Related Issue

Fixes: NoeFabris/opencode-antigravity-auth#49

Multiple users confirmed that removing this field manually resolves the authentication issue.

junhoyeo and others added 16 commits December 24, 2025 14:43
Move user reviews to top of documents and clean up citation formatting with dash separators across all localized README files (EN, JA, KO, ZH-CN).

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
Create directory-specific knowledge bases for high-complexity directories:
- src/hooks/AGENTS.md: Documents 21 hooks across 86 files
- src/tools/AGENTS.md: Documents 11 LSP tools, AST-Grep, MCP, background tasks (50 files)
- src/features/AGENTS.md: Documents 6 Claude Code compatibility features (24 files)

Root AGENTS.md updated to reference these specialized guides while maintaining project overview. Enables better navigation and reduces cognitive load for developers working in specific areas.

🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
🤖 Generated with assistance of OhMyOpenCode
…gyu#189)

* fix: Notification hook works weirdly for subagent sessions

- Added mainSessionID check to prevent notifications in subagent sessions
- Only trigger notifications for main session when waiting for user input
- Added comprehensive tests to validate the fix

Issue: code-yeongyu#92

* chore: changes by sisyphus-dev-ai

---------

Co-authored-by: codingsh <[email protected]>
Co-authored-by: sisyphus-dev-ai <[email protected]>
The api: "antigravity" field being added to opencode.json causes
authentication failures with the antigravity plugin.

Fixes: NoeFabris/opencode-antigravity-auth#49
Copilot AI review requested due to automatic review settings December 25, 2025 00:07
@github-actions
Copy link
Contributor

github-actions bot commented Dec 25, 2025

Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement (CLA).

To sign the CLA, please comment on this PR with:

I have read the CLA Document and I hereby sign the CLA

This is a one-time requirement. Once signed, all your future contributions will be automatically accepted.


I have read the CLA Document and I hereby sign the CLA


0 out of 3 committers have signed the CLA.
@junhoyeo
@code-yeongyu
@tsanva
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@tsanva tsanva changed the base branch from dev to master December 25, 2025 00:10
@tsanva
Copy link
Contributor Author

tsanva commented Dec 25, 2025

Closing in favor of a new PR properly branched from master per CONTRIBUTING.md

@tsanva tsanva closed this Dec 25, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an authentication issue by removing the api: "antigravity" field from the Google provider configuration. Multiple users reported that manually removing this field resolves authentication failures with the opencode-antigravity-auth plugin.

Key Changes:

  • Removed the api: "antigravity" field from ANTIGRAVITY_PROVIDER_CONFIG

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 363 to 364
google: {
name: "Google",
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CODEX_PROVIDER_CONFIG still includes api: "codex" on line 408, which creates an inconsistency in the provider configuration structure. If the api field is being removed from ANTIGRAVITY_PROVIDER_CONFIG because it causes authentication issues with the opencode-antigravity-auth plugin, the same field in CODEX_PROVIDER_CONFIG should be evaluated for consistency. Either both configurations should have the api field, or neither should, depending on whether the opencode-openai-codex-auth plugin expects this field or not.

Copilot uses AI. Check for mistakes.
@tsanva tsanva deleted the fix/remove-antigravity-api-field branch December 25, 2025 00:27
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.

[BUG] TypeError [ERR_INVALID_URL]: fetch() URL is invalid when using Antigravity models via oh-my-opencode

4 participants