I maintain Inbox, a plugin that tracks open questions, findings, PRs, and status alongside an active coding-agent conversation (currently supporting Claude Code, Codex, and omp). I’ve been looking at what it would take to add Antigravity 2.0 as a host, running as a persistent MCP App in the side pane (aux_pane) where you can act on items directly from the pane.
A lot of the pieces are already there (hooks.json, MCP servers, aux_pane MCP Apps, app.sendMessage(), toggle-aux-pane, and ConversationService). The gaps below are the main places where a side-pane plugin hits a wall in Desktop / 2.0 (issue numbers refer to google-antigravity/antigravity-cli):
-
Posting a message to an existing conversation from
ConversationService(CLI counterpart:antigravity-cli#2000)
Right nowapp.sendMessage()only works while the MCP App iframe stays open, andConversationServiceonly supportsCreateConversation. ASendMessage(conversationId, prompt)RPC—with defined behavior whenrunStateisRUN_STATE_RUNNING—would let a plugin deliver delayed actions (like after an Undo window) even if the user closes the pane, and let companion UIs reply into an active Desktop session. -
Scrolling the conversation to a specific message from an MCP App
When a side-pane item references a specific agent reply (“Show in chat”), there’s no host method to jump the conversation viewport to that step or message. Something alongsidecom.google.antigravity/toggle-aux-pane—e.g.com.google.antigravity/scroll-to-steporscroll-to-message—would make side-pane references feel connected to the main chat. -
Compact user-only summary lines under MCP tool calls (CLI counterpart:
antigravity-cli#2003)
For MCP tools that an agent calls frequently to record structured state, the text the model needs incontentis often verbose or instructional, while the person only needs a one-line confirmation in chat. Mounting a full inline MCP App HTML iframe per call is too heavy for a single line. An optional lightweight summary field inCallToolResultmetadata (similar tosystemMessage.metadata.user_markdownin hooks) would keep chat clean without hurting model feedback. -
Knowing when a permission prompt or
ask_questiondialog is waiting (CLI counterpart:antigravity-cli#2001)
PreToolUseruns before execution andPostToolUseruns after, but no hook or event fires while Antigravity is paused waiting for the user on a permission prompt orask_questiondialog. Even a read-only waiting event with the prompt/options would let a side pane show why a turn is blocked; being able to answer/resolve the open dialog from the plugin would be even better. -
Stopped/cancelled turn state and resuming cleanly (CLI counterpart:
antigravity-cli#2004)
After a turn stops early (USER_CANCELED,ERROR,MAX_INVOCATIONS),GetConversationjust reportsRUN_STATE_IDLE. Exposing the last termination state onConversation.stateplus a supported resume call would let plugins surface interrupted work and offer a real Resume button without injecting a synthetic"Continue"user message. -
Two smaller lifecycle gaps already tracked on the CLI repo that matter for Desktop too:
- Firing a resume/open hook when switching into an existing conversation in Desktop (
antigravity-cli#1302), so a side-pane plugin can catch up before the user sends a prompt. - A once-per-prompt
UserPromptSubmithook with a prompt source/origin field (antigravity-cli#1829), so plugins can distinguish a human-typed message from one sent viaapp.sendMessage().
- Firing a resume/open hook when switching into an existing conversation in Desktop (
Happy to clarify any of these or share more detail on the plugin workflow if useful.