agy-lsrpc-bridge is a zero-dependency Python library, CLI toolkit, L1 Skill, and L2 Native Plugin for Google Antigravity 2.0 (exa.language_server_pb.LanguageServerService).
- Context-Window Flooding on
GetAllPlugins:- Calling
GetAllPluginsdirectly on the Antigravity Language Server returns the entire markdown body of everySKILL.md, agent, and rule across all installed plugins (often>100 KBper call). agy-lsrpc-bridgeautomatically strips raw markdown bodies and returns a compact, deterministic inventory with skill/agent/MCP names, hook status, and clickable[<name>](customization://<dir>)links.
- Calling
- Silent Mutation Failures When Using
nameInstead ofdir:- Marketplace and local plugins are keyed by their install directory name (
dir) (such as-1870732469773246571), notplugin.json'sname. agy-lsrpc-bridgeresolves any user-supplied name or directory ID to its canonicaldirbefore callingJetboxWriteStateorDeletePlugin.
- Marketplace and local plugins are keyed by their install directory name (
- Stale Disabled Entries & Built-in Uninstall Hazards:
- Uninstalling a disabled plugin via
DeletePluginleaves{"enabled": false}inconfig.json, causing future reinstalls to silently start disabled. agy-lsrpc-bridgeenforces two pre-delete guards:- Blocks uninstalling
/builtin/plugins/bundles (PermissionError). - Automatically re-enables a disabled plugin via
JetboxWriteState(enabled=True)before invokingDeletePlugin.
- Blocks uninstalling
- Uninstalling a disabled plugin via
- Antigravity 2.0 Native Plugin Validation & Scaffolding:
- Catches silent loader pitfalls: disallowed top-level fields in
plugin.json(author,homepage),hooks/hooks.jsoninstead of roothooks.json, YAML frontmatter insiderules/AGENTS.md, unprefixed MCP server names inmcp_config.json, and remote logo URLs.
- Catches silent loader pitfalls: disallowed top-level fields in
# 1. Check Language Server health & compact plugin inventory
python -m agy_lsrpc_bridge.cli status --json
# 2. Live-enable or disable a plugin (no IDE restart required)
python -m agy_lsrpc_bridge.cli enable agy-doctor-mux --json
python -m agy_lsrpc_bridge.cli disable agy-doctor-mux --json
# 3. Validate a plugin directory against Antigravity 2.0 loader rules
python -m agy_lsrpc_bridge.cli validate ./plugins/agy-lsrpc-bridge --json
# 4. Scaffold a new Antigravity 2.0 native plugin bundle
python -m agy_lsrpc_bridge.cli scaffold \
--target-root ./plugins \
--name my-custom-plugin \
--description "Custom Antigravity 2.0 bundle" \
--include-hooks \
--include-mcp \
--jsonMIT License — Copyright (c) 2026 orakulzero