Whether auto-repair is active.
Add an action button next to Good/Bad feedback.
Optionaltoast: IToastConfigAdd an icon to the bottom icon row (file, terminal, etc.).
Optionaltooltip: stringOptionaltoast: IToastConfigAdd item(s) to the 3-dot dropdown menu.
Optionalicon: stringOptionaltoast: IToastConfigAdd a button next to the send/voice buttons.
Optionaltooltip: stringOptionaltoast: IToastConfigEnable chat title interaction.
Optionalhint: stringOptionaltoast: IToastConfigAdd a button to the top bar (near +, refresh icons).
Optionaltooltip: stringOptionaltoast: IToastConfigAdd a button to the top-right corner (before X).
Optionaltooltip: stringOptionaltoast: IToastConfigEnable per-turn metadata display.
Add character count badges to user messages.
Generate the integration script from all registered configs.
Complete JavaScript code as a string
Disable auto-repair watcher.
Enable auto-repair: watches workbench.html for changes and automatically re-applies the integration patch.
This handles Antigravity updates that overwrite workbench.html. The watcher detects when the file changes and re-patches it if the integration marker is missing.
Get all registered integrations.
Install the generated script into workbench.html.
⚠️ Requires Antigravity restart to take effect. ⚠️ Will be overwritten by Antigravity updates (use enableAutoRepair).
Check if an integration is currently installed.
Signal that the extension is active.
Call this in your extension's activate() function.
The integration script checks for this heartbeat;
if it's missing or stale (>48h), the script won't start.
This prevents orphaned integrations from running after an extension is disabled or uninstalled.
Remove the integration from workbench.html.
⚠️ Requires Antigravity restart to take effect.
Remove a registered integration by ID.
Re-generate and overwrite the integration script without re-patching workbench.html.
Use this after registering/unregistering integration points at runtime. The script file is updated in-place; the next Antigravity restart will pick up the changes. workbench.html
Manages UI integrations into the Antigravity Agent View.
Provides a declarative API to register integration points, generates a self-contained JavaScript file, and installs it into Antigravity's workbench.
Features: