Repository navigation
feat!: remove deprecated google-agy provider - #238
Merged
Merged
Conversation
Ship only google-agy-acp, which drives the local agy CLI. The direct Code Assist provider and its quota tools are gone. BREAKING CHANGE: the google-agy provider, the agy_quota and agy_quota_summary tools, the /agyquota and /agyquotasummary commands, and the setupOpenCodeV2 and v2PluginDefinition exports are removed. Use google-agy-acp models; quota moves to opencode-quota. Assisted-by: Claude Opus 5.5
Remove the README warning and disclaimer and the startup warning. The updated Antigravity terms permit wrapping the unmodified harness via ACP. Assisted-by: Claude Opus 5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Provider removal
Remove the deprecated direct Code Assist provider
google-agywith its OAuth flow,models.jsoncatalog, request rewriting engine and theagy_quota/agy_quota_summarytools and commands.The package now ships only
google-agy-acp, which drives the localagyCLI and needs no Antigravity OAuth tokens.Entry point and types
Default-export a new
src/acp/plugin.tsthat only callsregisterAgyAcpProvider, keeping the plugin idgoogle-agyso existing installs keep the same id.OpenCode v2 contracts and the ACP Terms of Service warning moved into
src/acp/, which drops the@opencode-ai/plugin,@ai-sdk/googleand@openauthjs/openauthdependencies.The
setupOpenCodeV2andv2PluginDefinitionnamed exports are removed, so this is a breaking change.Tests
Delete the old provider tests and the coverage padding files, and add
test/acp/plugin.test.tsfor the entry point and the warning.Coverage on the ACP code alone is 97.3% statements, 91.0% branches, 97.8% functions and 99.1% lines, above every threshold.
Documentation
Replace the legacy README sections with an installation section and a migration note covering model prefixes, the
provider.google-agyconfig, the unusedauth.jsonkey and quota through anthonyhaussman/opencode-quota#2.Rewrite AGENTS.md for an ACP-only repository at 84 lines, keeping the ACP gating checks and the antigravity-cli#1684 re-check without the literal trigger string.
Release
release-asis left unchanged, so the version stays matched to agy even though release-please readsfeat!as breaking.A live
google-agy-acpprompt through the local build alone (agy 1.5.20, OpenCode 2.4.2) answered withend_turn, and onlygoogle-agy-acpmodels were listed.