Repository navigation
fix(plugins): support native Antigravity manifests and marketplace catalogs - #997
Conversation
…talogs Recognize .antigravity-plugin/plugin.json and .gemini-plugin/plugin.json ahead of root plugin.json in inspect() so native Antigravity plugins are discovered and inventoried directly. Add .antigravity-plugin/marketplace.json to discoverRoot() with strict native catalog authority (mirroring .omp-plugin/marketplace.json) so antigravity and antigravity-cli resolve exclusively from it when present and fall back to .claude-plugin/marketplace.json only when absent. Fixes runkids#996
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4462e8f5fe
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| in a workspace (or an existing `_agents/plugins/` directory). If both workspace | ||
| directories exist, consolidate them first. | ||
| directories exist, consolidate them first. Native manifests are discovered in | ||
| precedence order `.antigravity-plugin/plugin.json`, `.gemini-plugin/plugin.json`, |
There was a problem hiding this comment.
Align the Antigravity format rows with nested manifests
When a user consults the Target support table before plugin add, its Antigravity Desktop row still lists only root plugin.json, and the CLI row still lists only a native root/Claude manifest, while this paragraph and inspect now support both nested native paths for both targets. The page therefore gives conflicting format requirements and can make users skip a supported package; update both table cells together with this section.
AGENTS.md reference: AGENTS.md:L15-L15
Useful? React with 👍 / 👎.
…fests Update the Antigravity Desktop and Antigravity CLI rows in the Target support table to list .antigravity-plugin/plugin.json and .gemini-plugin/plugin.json alongside root plugin.json, matching inspect() and the Antigravity section below.
Keep the four translated command references aligned with native manifest precedence and the exclusive Antigravity catalog behavior.
Type
proposals/only — see CONTRIBUTING.md)approvedlabel)Linked Issue
Closes #996
Summary
.antigravity-plugin/plugin.jsonand.gemini-plugin/plugin.jsonahead of rootplugin.jsonininternal/plugin/source_manifest.go(inspect()), which also enableslocalInventory("antigravity")to inspect native Antigravity bundles..antigravity-plugin/marketplace.jsontodiscoverRoot()andcatalogOwnerininternal/plugin/source.gowith strict native catalog authority (mirroring.omp-plugin/marketplace.jsonfrom fix(plugins): honor native OMP marketplace builds #588): when present,antigravityandantigravity-cliresolve exclusively from it and never silently fall back to.claude-plugin/marketplace.jsonon missing, broken, or unsupported entries.internal/plugin/antigravity_catalog_test.gocovering manifest discovery and precedence, fail-closed invalid native manifests, multi-catalog selection, strict no-fallback behavior, legacy Claude fallback when no native catalog exists, and materialization/localInventory.skills/skillshare/references/plugins.mdandwebsite/docs/reference/commands/plugin.md.Verification
.antigravity-plugin/plugin.jsondiscovery, Claude fallback on broken/present native catalogs, and wrong materialized path forantigravity-cli).TMPDIR=/private/tmp go test ./internal/plugin/...(all tests ininternal/plugin)go vet ./...python3 scripts/ai-context.py checkmake check/ devcontainer suite left to GitHub CI.Checklist
make check) — unit tests (go test ./internal/plugin/...),go vet ./..., andai-context.py checkpass locally; fullmake checkpending CI