Skip to content

fix(plugins): support native Antigravity manifests and marketplace catalogs - #997

Merged
runkids merged 4 commits into
runkids:mainfrom
jskswamy:fix/antigravity-plugin-discovery
Nov 24, 2026
Merged

runkids merged 4 commits into
runkids:mainfrom
jskswamy:fix/antigravity-plugin-discovery

Conversation

@jskswamy

Copy link
Copy Markdown
Contributor

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

Closes #996

Summary

.antigravity-plugin/plugin.json | .gemini-plugin/plugin.json | plugin.json -> native Antigravity manifest
.antigravity-plugin/marketplace.json exists -> antigravity & antigravity-cli use its build, never fall back to Claude
.antigravity-plugin/marketplace.json absent -> keep legacy Claude fallback for antigravity-cli
  • Recognize .antigravity-plugin/plugin.json and .gemini-plugin/plugin.json ahead of root plugin.json in internal/plugin/source_manifest.go (inspect()), which also enables localInventory("antigravity") to inspect native Antigravity bundles.
  • Add .antigravity-plugin/marketplace.json to discoverRoot() and catalogOwner in internal/plugin/source.go with strict native catalog authority (mirroring .omp-plugin/marketplace.json from fix(plugins): honor native OMP marketplace builds #588): when present, antigravity and antigravity-cli resolve exclusively from it and never silently fall back to .claude-plugin/marketplace.json on missing, broken, or unsupported entries.
  • Add unit tests in internal/plugin/antigravity_catalog_test.go covering 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.
  • Update skills/skillshare/references/plugins.md and website/docs/reference/commands/plugin.md.

Verification

  • Confirmed new tests fail before the fix (reproducing missing .antigravity-plugin/plugin.json discovery, Claude fallback on broken/present native catalogs, and wrong materialized path for antigravity-cli).
  • Passed after the fix:
    • TMPDIR=/private/tmp go test ./internal/plugin/... (all tests in internal/plugin)
    • go vet ./...
    • python3 scripts/ai-context.py check
  • Full make check / devcontainer suite left to GitHub CI.

Checklist

  • I've read CONTRIBUTING.md, including its AI-assisted contributions section
  • I've reviewed every line of the diff and can explain it
  • Tests included and passing (make check) — unit tests (go test ./internal/plugin/...), go vet ./..., and ai-context.py check pass locally; full make check pending CI
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR

…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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T16:23:47.582796Z 4462e8f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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`,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

jskswamy and others added 3 commits November 24, 2026 06:40
…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.
@runkids
runkids merged commit e09dd1d into runkids:main Nov 24, 2026
10 checks passed
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.

plugin add --target antigravity-cli installs the Claude build and ignores native .antigravity-plugin manifests

2 participants