/** * GitHub Copilot Adapter * * Basic-automation adapter for GitHub Copilot. * Uses per-context skill files in .github/skills/. * GitHub Copilot reads SKILL.md files in nested skill directories. */ import { AdapterBase } from '../adapter-base.js'; import { AdapterOptions, AdapterFile } from '../adapter-interface.js'; import type { Plugin } from '../../core/types/plugin.js'; export declare class CopilotAdapter extends AdapterBase { name: string; description: string; automationLevel: "basic"; /** * Detect if GitHub Copilot is configured * * Checks for: * - .github/copilot-instructions.md (global instructions file) * - .github/instructions/ directory (per-context instructions) */ detect(): Promise; /** * Get files to install for Copilot adapter */ getFiles(): AdapterFile[]; /** * Install Copilot adapter */ install(options: AdapterOptions): Promise; /** * Check if Copilot adapter supports plugins */ supportsPlugins(): boolean; getSkillsDirectory(): string; /** * Compile and install a plugin for GitHub Copilot * * Writes skill files into .github/skills/ as nested SKILL.md directories. * * @param plugin Plugin to install */ compilePlugin(plugin: Plugin): Promise; /** * Unload a plugin from GitHub Copilot * * Removes plugin skill files from .github/skills/ * * @param pluginName Name of plugin to unload */ unloadPlugin(pluginName: string): Promise; /** * Get list of installed plugins for GitHub Copilot */ getInstalledPlugins(): Promise; /** * Post-installation instructions */ postInstall(options: AdapterOptions): Promise; /** * Get usage instructions for GitHub Copilot adapter */ getInstructions(): string; } //# sourceMappingURL=adapter.d.ts.map