import type { AIProvider, FixRequest, InvestigationRequest } from './ai-provider.js'; import type { FixProposal, Investigation } from './types.js'; /** * AIProvider backed by the Antigravity SDK agentic loop (Gemini, via Python * sidecar) with automatic fallback to any AI provider configured in the * environment — the same key auto-detection that BlazeResolver's triage uses. * * Key resolution order: * 1. Python sidecar (full agentic tool-loop via `google-antigravity` SDK). * Listens on AGY_SIDECAR_PORT (default 7391). Start with: * python agents/blaze_resolver_agent.py --sidecar * 2. resolveComplete() — picks ANY configured key, in priority order: * Anthropic → OpenAI → Gemini → Groq → NVIDIA → DeepSeek → xAI → ... * No key needs naming; formats are auto-detected. Several keys give * automatic failover. Run `npx blazeresolver providers` to confirm. * * Usage: * const resolver = new BugResolver({ ai: new AntigravityProvider(), ... }); * * No new env vars required beyond what you already set for triage. */ export declare class AntigravityProvider implements AIProvider { investigate(request: InvestigationRequest): Promise; proposeFix(request: FixRequest): Promise; /** * Tries the Python sidecar (full AGY tool-loop) first, then falls back to * resolveComplete() which picks any configured key. */ private _complete; /** Calls the Python sidecar for a full agentic turn. Returns null if unavailable. */ private _trySidecar; } //# sourceMappingURL=antigravity-provider.d.ts.map