/** * Platform definitions for AI coding assistants. * * Centralized registry of supported platforms with their * config paths, MCP locations, rules files, and capabilities. * * @module @agentkits/memory/cli/platforms */ export type PlatformId = 'claude-code' | 'cursor' | 'windsurf' | 'cline' | 'opencode'; export interface PlatformDefinition { /** Unique platform identifier */ id: PlatformId; /** Human-readable name */ name: string; /** Config directory relative to project root */ configDir: string; /** MCP config file path relative to project root */ mcpConfigPath: string; /** * How MCP server is stored in the config file: * - 'embedded': mcpServers key inside an existing settings file (Claude Code) * - 'standalone': dedicated mcp.json file with { mcpServers: { ... } } */ mcpConfigFormat: 'embedded' | 'standalone'; /** Rules file name relative to project root (null if not supported) */ rulesFile: string | null; /** Skills directory relative to project root (null if not supported) */ skillsDir: string | null; /** Whether hooks are supported natively */ supportsHooks: boolean; } export declare const PLATFORMS: Record; /** All platform IDs */ export declare const ALL_PLATFORM_IDS: PlatformId[]; /** * Detect which platforms are present in a project directory. * Checks for existence of platform-specific config directories. */ export declare function detectPlatforms(projectDir: string): PlatformId[]; /** * Resolve platforms from CLI --platform flag. * * Supports: * - 'all' → all platforms * - 'cursor,windsurf' → specific platforms * - 'cursor' → single platform * - undefined → auto-detect, fallback to ['claude-code'] */ export declare function resolvePlatforms(platformArg: string | undefined, projectDir: string): PlatformId[]; //# sourceMappingURL=platforms.d.ts.map