/** * Articulate (a8e) CLI Executor * High-priority local sub-agent for coding and local processing tasks. * Integrates with the Articulate CLI for AI-assisted development. * https://github.com/a8e-ai/a8e */ import type { ExecutorOptions, ExecutorResult, AvailabilityStatus } from '../types.js'; import type { AgentExecutor } from './index.js'; export interface A8eConfig { provider?: string; model?: string; hasApiKey?: boolean; } export declare class ArticulateExecutor implements AgentExecutor { readonly type: "articulate"; private process; private binaryPath; constructor(binaryPath?: string); isAvailable(): Promise; checkAvailability(): Promise; execute(prompt: string, options?: ExecutorOptions): Promise; /** * Build a8e CLI arguments for headless execution. * Uses `a8e run --text ` for non-interactive mode. */ private buildArgs; /** * Build environment variables for the a8e subprocess. * Injects Paean AI provider config as env vars so a8e picks them up * even if config.yaml hasn't been written yet. */ private buildA8eEnv; /** * Read a8e's current configuration from config.yaml + secrets.yaml */ readA8eConfig(): A8eConfig; /** * Configure a8e to use Paean AI as provider with the given API key. * Writes to ~/.config/a8e/config.yaml and secrets.yaml. */ configureForPaean(apiKey: string, model?: string): void; /** * Upsert a key in a simple YAML document (key: value per line). */ private upsertYamlKey; abort(): void; } /** Static helpers for the a8e config directory */ export declare const A8E_PATHS: { configDir: string; configFile: string; secretsFile: string; defaultProvider: string; defaultModel: string; }; //# sourceMappingURL=articulate.d.ts.map