Plugin & MCP App gaps for building a persistent side-pane companion in Antigravity 2.0

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):

  1. Posting a message to an existing conversation from ConversationService (CLI counterpart: antigravity-cli#2000)
    Right now app.sendMessage() only works while the MCP App iframe stays open, and ConversationService only supports CreateConversation. A SendMessage(conversationId, prompt) RPC—with defined behavior when runState is RUN_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.

  2. 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 alongside com.google.antigravity/toggle-aux-pane—e.g. com.google.antigravity/scroll-to-step or scroll-to-message—would make side-pane references feel connected to the main chat.

  3. 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 in content is 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 in CallToolResult metadata (similar to systemMessage.metadata.user_markdown in hooks) would keep chat clean without hurting model feedback.

  4. Knowing when a permission prompt or ask_question dialog is waiting (CLI counterpart: antigravity-cli#2001)
    PreToolUse runs before execution and PostToolUse runs after, but no hook or event fires while Antigravity is paused waiting for the user on a permission prompt or ask_question dialog. 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.

  5. Stopped/cancelled turn state and resuming cleanly (CLI counterpart: antigravity-cli#2004)
    After a turn stops early (USER_CANCELED, ERROR, MAX_INVOCATIONS), GetConversation just reports RUN_STATE_IDLE. Exposing the last termination state on Conversation.state plus a supported resume call would let plugins surface interrupted work and offer a real Resume button without injecting a synthetic "Continue" user message.

  6. 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 UserPromptSubmit hook with a prompt source/origin field (antigravity-cli#1829), so plugins can distinguish a human-typed message from one sent via app.sendMessage().

Happy to clarify any of these or share more detail on the plugin workflow if useful.