/** * Cursor Adapter * * Semi-automation adapter for Cursor editor. * Provides @ context shortcuts for quick context injection. * * Cursor automatically reads AGENTS.md (universal standard) for workflow instructions. * This adapter only installs Cursor-specific features (@ shortcuts). */ import { AdapterBase } from '../adapter-base.js'; import { AdapterOptions, AdapterFile } from '../adapter-interface.js'; import type { Plugin } from '../../core/types/plugin.js'; export declare class CursorAdapter extends AdapterBase { name: string; description: string; automationLevel: "semi"; /** * Detect if Cursor is available * * NOTE: This detection only runs if Claude CLI is NOT available. * Claude is checked FIRST (active indicator) before Cursor (passive indicator). * See adapter-loader.ts detectTool() for full priority order. * * Checks for (passive indicators): * - cursor command in PATH * - .cursor/ directory exists */ detect(): Promise; /** * Get files to install for Cursor adapter * * Note: Cursor automatically reads AGENTS.md (universal standard). * This adapter only installs Cursor-specific @ context shortcuts. */ getFiles(): AdapterFile[]; /** * Install Cursor adapter */ install(options: AdapterOptions): Promise; /** * Post-installation instructions */ postInstall(options: AdapterOptions): Promise; /** * Get usage instructions for Cursor adapter */ getInstructions(): string; /** * Check if Cursor adapter supports plugins * * Cursor has plugin support via AGENTS.md compilation * * @returns boolean True for Cursor */ supportsPlugins(): boolean; getSkillsDirectory(): string; /** * Compile and install a plugin for Cursor. * Writes each SKILL.md as a separate file in `.cursor/skills/`. */ compilePlugin(plugin: Plugin): Promise; /** * Unload a plugin from Cursor — removes skill files from `.cursor/skills/`. */ unloadPlugin(pluginName: string): Promise; /** * Get installed plugins for Cursor by scanning `.cursor/skills/`. */ getInstalledPlugins(): Promise; } //# sourceMappingURL=adapter.d.ts.map