/** * Codex Adapter (OpenAI) * * OpenAI Codex adapter with native skills and portable project instructions. * Uses universal AGENTS.md file for instructions. * * Codex features: * - Native skills and project instructions * - File read/write operations * - Test execution and validation * - Task-based isolated environments */ import { AdapterBase } from '../adapter-base.js'; import { AdapterOptions, AdapterFile } from '../adapter-interface.js'; import type { Plugin } from '../../core/types/plugin.js'; export declare class CodexAdapter extends AdapterBase { name: string; description: string; automationLevel: "semi"; /** * Detect if Codex is available * * Checks for: * - codex command in PATH (Codex CLI) * - .codex/ directory exists * - AGENTS.md file exists (previously configured) */ detect(): Promise; /** * Get files to install for Codex adapter */ getFiles(): AdapterFile[]; /** * Install Codex adapter */ install(options: AdapterOptions): Promise; /** * Generate AGENTS.md file */ private generateAgentsMd; /** * Post-installation instructions */ postInstall(options: AdapterOptions): Promise; /** * Check if Codex adapter supports plugins */ supportsPlugins(): boolean; getSkillsDirectory(): string; /** * Compile and install a plugin for OpenAI Codex. * Writes each SKILL.md as a separate file in `.agents/skills/`. */ compilePlugin(plugin: Plugin): Promise; /** * Unload a plugin from Codex — removes skill files from `.agents/skills/`. */ unloadPlugin(pluginName: string): Promise; /** * Get installed plugins for Codex by scanning `.agents/skills/`. */ getInstalledPlugins(): Promise; /** * Get usage instructions for Codex adapter */ getInstructions(): string; } //# sourceMappingURL=adapter.d.ts.map