/** * Gemini CLI Adapter * * Semi-automation adapter for Google Gemini CLI. * Uses universal AGENTS.md file for instructions. * * Gemini CLI features: * - Open-source AI agent (Apache 2.0) * - 1M token context window * - ReAct loop with built-in tools * - MCP (Model Context Protocol) support * - Agent mode for multi-file tasks */ import { AdapterBase } from '../adapter-base.js'; import { AdapterOptions, AdapterFile } from '../adapter-interface.js'; import type { Plugin } from '../../core/types/plugin.js'; export declare class GeminiAdapter extends AdapterBase { name: string; description: string; automationLevel: "semi"; /** * Detect if Gemini CLI is available * * Checks for: * - gemini command in PATH * - .gemini/ directory exists * - AGENTS.md file exists (previously configured) */ detect(): Promise; /** * Get files to install for Gemini adapter */ getFiles(): AdapterFile[]; /** * Install Gemini adapter */ install(options: AdapterOptions): Promise; /** * Generate AGENTS.md file */ private generateAgentsMd; /** * Post-installation instructions */ postInstall(options: AdapterOptions): Promise; /** * Check if Gemini adapter supports plugins */ supportsPlugins(): boolean; getSkillsDirectory(): string; /** * Compile and install a plugin for Gemini CLI. * Writes each SKILL.md as a separate file in `.gemini/`. */ compilePlugin(plugin: Plugin): Promise; /** * Unload a plugin from Gemini — removes skill files from `.gemini/`. */ unloadPlugin(pluginName: string): Promise; /** * Get installed plugins for Gemini by scanning `.gemini/`. */ getInstalledPlugins(): Promise; /** * Get usage instructions for Gemini adapter */ getInstructions(): string; } //# sourceMappingURL=adapter.d.ts.map