Skip to content

feat: enable Antigravity steering and add global mid-turn send setting - #1074

Merged
badcuban merged 2 commits into
mainfrom
fix/antigravity-steer-timing
Nov 24, 2026
Merged

badcuban merged 2 commits into
mainfrom
fix/antigravity-steer-timing

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Antigravity had active-turn steering disabled because a steer could be recorded as accepted before the prompt sender wrote it to agy, and the global mid-turn send preference (followUpDelivery) had no row in Settings and was overwritten whenever a user changed the composer send menu.

This change fixes the ACP steer delivery path and turns Antigravity steering on by default:

  • steerTurnByMachine waits until the steer prompt is written to the agent (with a 15-second timeout so a stalled pipe cannot block Stop), interrupts the prompt sender before draining sessionStopping, and cancels queued steers if the turn's opening setup failed before dispatch.
  • effect-acp registers ordered request callbacks atomically with enqueuing outgoing frames, and AcpSessionRuntime only reports PromptSent for real agent responses rather than transport disconnects.
  • ANTIGRAVITY_STEERS is now true.

It also exposes followUpDelivery globally and separates composer overrides from the global default:

  • Added Sending while an agent works (general.followUpDelivery, defaulting to Steer now) under Settings -> General -> Chat & diffs, wired into Settings search, the app guide, and settings_change.
  • Changed the composer send menu to store an in-memory per-thread override instead of overwriting the global default, and updated ChatView to read the global setting live on resumed held sends.

Antigravity had active-turn steering disabled because a steer could be recorded as accepted before the prompt sender wrote it to agy, and the global mid-turn send preference had no row in Settings and was overwritten whenever the composer menu changed.

Wait for steer delivery before accepting (bounded so Stop cannot block), interrupt the prompt sender before shutdown drain, fail steers queued behind a failed turn setup, register ordered ACP request handlers atomically on enqueue, and enable ANTIGRAVITY_STEERS. Expose followUpDelivery under Settings -> General -> Chat & diffs defaulting to Steer now, and make the composer send menu override it per thread without mutating the global setting.
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
threadlines Ready Ready Preview Nov 24, 2026 12:50am UTC

Request Review

…-timing

# Conflicts:
#	apps/server/src/provider/acp/AcpAdapter.ts
@badcuban
badcuban added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 615d816 Nov 24, 2026
23 checks passed
@badcuban
badcuban deleted the fix/antigravity-steer-timing branch November 24, 2026 01:05

This branch was successfully deployed

1 active deployment
Preview — 7513b896 Deployed Nov 24, 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