@aaplugin/platform-antigravity
v1.0.0-beta.4
Published
Antigravity Platform integration for AAPlugin.
Readme
@aaplugin/platform-antigravity
Antigravity CLI Plugin Platform package for aaplugin.
pnpm add -D @aaplugin/kit @aaplugin/platform-antigravityimport { defineConfig } from '@aaplugin/kit';
import antigravity from '@aaplugin/platform-antigravity';
export default defineConfig({
name: 'my-plugin',
version: '1.0.0',
description: 'Reusable AI workflows.',
platforms: [antigravity()],
});The package also exports the named antigravity factory, its option types, PLATFORM_ID, and PLATFORM_API_VERSION.
Antigravity does not currently expose a Platform Component Contribution payload. A non-empty private component contribution fails during Package finalization rather than being silently converted to a Skill.
Runtime and installation
This Platform targets the Antigravity CLI Plugin surface. App/IDE discovery and synchronization are separate host contracts and are not inferred from CLI support.
The complete installation root is dist/antigravity/plugin/, containing plugin.json, Skills, and optional Hooks/MCP/Runtime. Install the full directory:
agy plugin install ./dist/antigravity/plugin
agy plugin list --jsonPublish the Plugin root directly on a release branch. Because an arbitrary Git-ref parameter is not confirmed by the CLI documentation, fetch the desired branch before local installation:
git clone --single-branch --branch release-antigravity https://github.com/OWNER/REPO.git ./my-plugin-antigravity
agy plugin install ./my-plugin-antigravityRuntime entries are at runtime/<id>/main.mjs. Resolve ../../runtime/<id>/main.mjs from the loaded Skill directory, including command-* and agent-* Skills. If the session does not provide the Skill source path, agy plugin list --json reports installed Plugin paths and component names; use the matching Plugin identity instead of assuming a cache directory. Run node with the quoted absolute Runtime path and the business repository as cwd.
Node must already be on PATH. AAPlugin targets Node 20 ESM; a product may require a higher version. Build/validate and independent Node execution do not prove a real Antigravity session has loaded and invoked the Skill.
Extensions may deliver private role Markdown as their own Assets with explicit invocation guidance and truthful compatibility. They do not need to expose every role as a public Skill or submit an unsupported Component payload.
Sources: CLI Plugins, Skills by surface.
License
MIT
