Skip to content

fix(antigravity-plugin): honor plugin manifests kept in a manifest folder - #3465

Merged
dyoshikawa merged 3 commits into
mainfrom
resolve-issue-2666-antigravity-followups
Oct 15, 2026
Merged

dyoshikawa merged 3 commits into
mainfrom
resolve-issue-2666-antigravity-followups

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Antigravity CLI 1.3.2 (2026-10-08) lets plugin authors "keep the manifest in a .antigravity-plugin/ or .gemini-plugin/ folder". ensureAntigravityPluginManifests only checked <outputRoot>/plugin.json, so for such a plugin generate wrote a second, minimal root plugin.json (which could shadow the hand-written one) and --check reported a missing manifest.

Changes

  • src/constants/plugin-paths.ts: add ANTIGRAVITY_PLUGIN_MANIFEST_FOLDERS (.antigravity-plugin, .gemini-plugin).
  • src/features/shared/antigravity-plugin-manifest.ts: a manifest at the root or at <folder>/plugin.json in either folder counts as present; nothing is written and --check reports no diff.
  • Tests for both folders; docs/guide/plugin-packaging.md documents the behavior.

Remaining on #2666 (not in this PR)

Refs #2666

🤖 Generated with Claude Code

https://claude.ai/code/session_012y9fNo2AAJdGocxvsHtDhv

dyoshikawa and others added 3 commits October 15, 2026 23:32
…lder

Antigravity CLI 1.3.2 lets a plugin keep its manifest in a
`.antigravity-plugin/` or `.gemini-plugin/` folder. `generate` only
looked for a root `plugin.json`, so it wrote a second, minimal stub next
to such a manifest and `--check` reported it as missing. Treat a
manifest in either folder as present.

Refs #2666

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012y9fNo2AAJdGocxvsHtDhv
Run the folder-manifest cases with dryRun true and false so the
`--check` behavior is asserted, and document that a root stub left by an
earlier generate must be removed by hand after moving the manifest into
a manifest folder.

Refs #2666

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012y9fNo2AAJdGocxvsHtDhv
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