diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-10-07 18:51:41 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-10-07 18:51:41 -0700 |
| commit | 0d06b085e87a1c0ef8308d276ddbe822fc17f923 (patch) | |
| tree | d9cb97af8fda5f921cc38bb002232a3f8fef1c16 /tests/codex-plugin-sync | |
| parent | 9e639188a1a8029926bda6e5d7edbf66ef3ac333 (diff) | |
feat(antigravity): native plugin manifest for the Antigravity Marketplace
Add .antigravity-plugin/plugin.json with the Marketplace fields
(displayName, logo, suggestedPrompts, version, author), a logo rendered
from the Superpowers mark by scripts/render-antigravity-logo.sh, and a
.version-bump.json entry. The Codex sync excludes the manifest and logo.
With the native manifest, agy installs Superpowers as an Antigravity
plugin. Before, `agy plugin install <repo>` fell back to importing the
repo as a Gemini CLI extension and rejected the copied Claude-format hooks
file on every session.
Superpowers bootstraps through skill discovery: agy lists each installed
skill's description, and using-superpowers' "Use when starting any
conversation" gets the model to load it. agy has no session-start hook
event; a rules/ file would also load in Cursor, which reads plugin rules
from the same repo root; a PreInvocation hook runs on every model call.
Verified on agy 1.3.1 (Gemini 3.8 Flash) across 15 clean sessions:
brainstorming or systematic-debugging loads before any code.
Diffstat (limited to 'tests/codex-plugin-sync')
| -rwxr-xr-x | tests/codex-plugin-sync/test-sync-to-codex-plugin.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh b/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh index 265aea1..84282c2 100755 --- a/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh +++ b/tests/codex-plugin-sync/test-sync-to-codex-plugin.sh @@ -174,6 +174,7 @@ write_upstream_fixture() { local with_pure_ignored="${2:-1}" mkdir -p \ + "$repo/.antigravity-plugin" \ "$repo/.codex-plugin" \ "$repo/.kimi-plugin" \ "$repo/.private-journal" \ @@ -241,6 +242,15 @@ EOF } EOF + cat > "$repo/.antigravity-plugin/plugin.json" <<EOF +{ + "name": "superpowers", + "version": "$MANIFEST_VERSION" +} +EOF + + printf 'antigravity png fixture\n' > "$repo/assets/antigravity-logo.png" + cat > "$repo/assets/superpowers-small.svg" <<'EOF' <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"></svg> EOF @@ -295,11 +305,13 @@ EOF fi git -C "$repo" add \ + .antigravity-plugin/plugin.json \ .codex-plugin/plugin.json \ .kimi-plugin/plugin.json \ .gitignore \ .gitmodules \ .pre-commit-config.yaml \ + assets/antigravity-logo.png \ assets/app-icon.png \ assets/superpowers-small.svg \ evals/drill/README.md \ @@ -657,6 +669,8 @@ main() { assert_not_contains "$preview_output" "Version: $PACKAGE_VERSION" "Preview does not use package.json version" assert_contains "$preview_section" ".codex-plugin/plugin.json" "Preview includes manifest path" assert_not_contains "$preview_section" ".kimi-plugin/plugin.json" "Preview excludes Kimi manifest from Codex sync" + assert_not_contains "$preview_section" ".antigravity-plugin/plugin.json" "Preview excludes Antigravity manifest from Codex sync" + assert_not_contains "$preview_section" "assets/antigravity-logo.png" "Preview excludes Antigravity logo from Codex sync" assert_contains "$preview_section" "assets/superpowers-small.svg" "Preview includes SVG asset" assert_contains "$preview_section" "assets/app-icon.png" "Preview includes PNG asset" assert_contains "$preview_section" "hooks/hooks-codex.json" "Preview includes Codex hook manifest" |
