Skip to content

feat(antigravity): add composer prompt suggestions and provider toggles - #1071

Merged
badcuban merged 1 commit into
mainfrom
feat/antigravity-prompt-suggestions
Nov 23, 2026
Merged

badcuban merged 1 commit into
mainfrom
feat/antigravity-prompt-suggestions

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Antigravity's CLI (agy acp) does not emit native next-message prompt suggestions, so the composer stayed empty after Antigravity replies. At the same time, the Claude and Codex suggestion toggles lived under Settings -> Threads rather than alongside the providers they configure.

What changed

  • Added background next-message prompt suggestion sampling in AcpAdapter and sampleAcpPromptSuggestion (AcpTextGeneration), wired for Antigravity in AntigravityDriver.
  • Selected gemini-4-hydrogen first (falling back to non-lite Gemini Flash, any Gemini Flash, the thread model, or the session default) at the lightest supported thought_level read from the live session, aborting rather than falling back if a requested model is rejected.
  • Enforced a 90% per-model usage ceiling via isModelUsageNearLimit so suggestions pause on the chosen model's quota pool without blocking on unrelated pools like Claude & GPT.
  • Cancelled in-flight suggestions immediately on new turns (including agent wake-up turns), interrupts (including during turn-machine outcome reading), and session stops, with ephemeral Antigravity session file cleanup.
  • Added antigravitySuggestions (default on), moved Claude and Codex suggestion toggles to a new Suggestions section on Settings -> Providers showing only enabled providers, registered MOVED_PLACES for old threads.* links, updated Settings search and the app guide, and hid Antigravity suggestions in the composer when switched off.

Antigravity's CLI does not emit native follow-up prompt suggestions, and the Claude and Codex suggestion switches previously lived under Settings -> Threads.

This adds background composer prompt suggestions for Antigravity via an isolated, tool-free ACP turn preferring Gemini Hydrogen (then non-lite Gemini Flash, then the thread model) at low thinking, guarded by a per-model 90% usage ceiling and cancelled immediately on new turns, interrupts, or session stops. It also moves Claude and Codex suggestion toggles into a new Suggestions section on Settings -> Providers alongside Antigravity, showing switches only for enabled providers and preserving moved place links.
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 23, 2026 11:07pm UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 75cae3c Nov 23, 2026
32 of 34 checks passed
@badcuban
badcuban deleted the feat/antigravity-prompt-suggestions branch November 23, 2026 23:42

This branch was previously deployed

1 inactive deployment
Preview — 886260b7 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant