Execute an Antigravity command.
The command ID to execute
Arguments to pass to the command
The command's return value
Get all registered Antigravity commands.
List of command IDs starting with 'antigravity.'
Check if a command is registered and available.
Command ID to check
true if the command exists
Register a command handler.
Command ID to register
Function to handle the command
Disposable to unregister the command
Bridges between the SDK and Antigravity's command system.
All interactions with Antigravity go through registered VS Code commands, ensuring we never bypass the official extension API.
Example