/** * Type definitions for the doctor command */ /** * Status of a single diagnostic check */ export type CheckStatus = 'pass' | 'warn' | 'fail'; /** * Result of a single diagnostic check */ export interface DoctorCheck { /** Name of the check */ name: string; /** Status of the check */ status: CheckStatus; /** Primary message describing the result */ message: string; /** Suggestion for fixing the issue (if applicable) */ suggestion?: string; /** Whether this issue can be auto-fixed (future enhancement) */ fixable?: boolean; } /** * Aggregated result of all diagnostic checks */ export interface DoctorResult { /** All checks performed */ checks: DoctorCheck[]; /** Number of failed checks */ issuesFound: number; /** Number of warning checks */ warningsFound: number; } /** * Command-line options for `padua doctor` */ export interface DoctorOptions { /** Attempt to auto-fix common issues (future enhancement) */ fix?: boolean; /** Show detailed diagnostic information */ verbose?: boolean; /** * Commander populates 'color' for the negatable `--no-color` flag (default * true, false when the flag is passed) - there is no `noColor` property. * See src/commands/seed/index.ts for the reference pattern this mirrors. */ color?: boolean; /** Migrate tokens from the legacy padua-mcp Go database */ migrateTokens?: boolean; } /** * Category grouping for checks */ export declare enum CheckCategory { CONFIG = "Config Validation", PROFILE = "Profile Validation", PREREQUISITES = "Prerequisites", AUTHENTICATION = "Authentication", INSTALLATION = "Installation", MCP = "MCP Diagnostics" } //# sourceMappingURL=types.d.ts.map