Провайдер Gemini App

VKirillMore pluginsNot reviewed by BB
Get it for macOS

Подключает обычный режим «Спроси» десктопного Gemini.app (отдельные лимиты от Antigravity) как провайдер BB на macOS с выбором моделей (Auto, 4 Hydrogen, 4 Neon, 4 Carbon) и уровней размышления (Low/Medium/High). Проверялся только на macOS.


bb-plugin-gemini-app — Plugin Overview

  • Provider ID: gemini-app (Gemini App)
  • Protocol: BB ACP (@get-bb/plugin-sdk/provider-bridge/acp) → bin/gemini-app-acp → native/gemini-app-cli (Swift AXUIElement)
  • Platform support & testing: macOS only — verified on macOS only (Apple Silicon, /Applications/Gemini.app, macOS Accessibility API). Windows and Linux runtimes are unsupported and untested.

Architecture

  1. server.ts — registers the gemini-app ACP provider with native reasoningLevels (low, medium, high), settings descriptors, environment variable forwarding, and the hosts RPC endpoint.
  2. host.ts — re-exports BB's stock experimental_acpProviderBridge and provides read-only host diagnostics (status, refreshModels). On non-macOS hosts it cleanly reports unsupported platform status.
  3. app.tsx — renders the Settings diagnostics section with explicit macOS-only verification notice, Accessibility/app/CLI status, active model selector, and chat counts.
  4. native/gemini-app-cli.swift — native macOS Swift Accessibility helper driving Gemini.app Ask mode in minimized background mode (minimized=true, active=false), with batched AX traversal, 3-tier chat switching (direct AXOutline → O(1) gemini_search_view by ZROBINCONVERSATIONID → sidebar scroll), copy-button Markdown extraction with clipboard restoration, and boilerplate refusal auto-regeneration.
  5. bin/gemini-app-acp.mjs — stdio JSON-RPC 2.0 ACP agent mapping BB sessions to persistent Gemini.app chats (~/.gemini-app-bridge/acp-sessions.json) with cross-process window serialization (~/.gemini-app-bridge/window.lock).

More from VKirill

More in More plugins 72

View all