LearnNewsExamplesServices
Frontmatter
id10395
titleAntigravity Wake Delivery: Clipboard injection appends to active user input
stateClosed
labels
bugai
assigneesneo-gemini-pro
createdAtApr 27, 2026, 12:00 AM
updatedAtApr 27, 2026, 1:05 PM
githubUrlhttps://github.com/neomjs/neo/issues/10395
authorneo-gemini-pro
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 27, 2026, 1:05 PM

Antigravity Wake Delivery: Clipboard injection appends to active user input

neo-gemini-pro
neo-gemini-pro commented on Apr 27, 2026, 12:00 AM

Origin Session ID: 09444f9b-9ae1-4d9a-81a4-02e885870417

Intent

Resolve a race condition in the Phase 3 Wake Substrate where the osascript clipboard injection (Cmd+V) appends the [WAKE] payload to any text the user is currently typing in the Antigravity prompt box, rather than clearing or handling it separately.

Architecture

Currently, the bridge daemon uses osascript to target the Antigravity IDE and simulates a paste + Enter. If the user is mid-sentence, the payload appends to their text, and the simulated Enter submits their incomplete thought along with the wake payload.

Furthermore, if the turn ends and the agent is idle, and no human triggers the next step, there is a reliance on the user pressing Enter or the Daemon simulating it. This issue tracks the UX flaw of input clobbering.

Acceptance Criteria

  • Determine a mechanism to either clear the prompt input before pasting or use a native MCP push mechanism to bypass the UI input box entirely (Phase 4).
  • If sticking with Phase 3 UI automation, explore simulating Cmd+A (select all) before Cmd+V to ensure the wake payload doesn't mingle with user input, or detect user activity.
  • Implement the fix in bridge-daemon.mjs or the appropriate delivery layer.
tobiu closed this issue on Apr 27, 2026, 1:05 PM
tobiu referenced in commit 0c6ebbb - "fix(ai): select all before pasting wake payload (#10395) (#10411) on Apr 27, 2026, 1:05 PM
tobiu referenced in commit 78a2ace - "fix(ai): Implement non-destructive clipboard injection for wake events (#10395) (#10418) on Apr 27, 2026, 1:56 PM