Skip to content

Commit 43a4911

Browse files
fix(ai): map antigravity composer to cmd+l shortcut in bridge daemon (#10467) (#10468)
* fix(ai): map antigravity composer to cmd+l shortcut in bridge daemon (#10467) This commit fixes the payload clobbering bug in the Antigravity IDE where the wake digest was injected directly into the active editor instead of the composer pane. It adds 'Antigravity' to the Cmd+L shortcut mapping alongside Cursor. * fix(ai): remove unverified cursor support from bridge daemon (#10467) Removes the speculative mapping for the Cursor IDE since we do not actively test against it in 2026. This ensures the daemon strictly reflects our empirically validated targets (Claude Desktop and Antigravity). --------- Co-authored-by: tobiu <tobiasuhlig78@gmail.com>
1 parent a567030 commit 43a4911

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ai/scripts/bridge-daemon.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,15 +499,15 @@ async function deliverDigest(subscription, digest) {
499499
let tabShortcut = meta.tabShortcut;
500500
// In April 2026, Claude Desktop features 3 main tabs: Chat (Cmd+1), Cowork (Cmd+2), and Code (Cmd+3).
501501
// We default to '3' to automatically switch to the Code tab for agentic tasks.
502-
// For Cursor, Cmd+L opens the Composer/Chat panel for agentic input.
502+
// For Antigravity, Cmd+L opens the Composer/Chat panel for agentic input.
503503
// Note: If tabShortcut is explicitly null, it is treated as a deliberate opt-out (no keystroke).
504504
if (tabShortcut === undefined) {
505505
if (appName === 'Claude') tabShortcut = '3';
506-
else if (appName === 'Cursor') tabShortcut = 'l';
506+
else if (appName === 'Antigravity') tabShortcut = 'l';
507507
}
508508

509509
// [Anchor & Echo] The Electron-Paradox Defense:
510-
// Electron-based IDEs (Antigravity, Cursor) register their bundle names differently
510+
// Electron-based IDEs (Antigravity, VS Code) register their bundle names differently
511511
// than their underlying macOS process names (often just "Electron" to System Events).
512512
// Using \`tell process "\${appName}"\` will fail with exit code 1 because the process
513513
// name does not match the app name.

0 commit comments

Comments
 (0)