/** * JSON Schema definitions for all Wundr MCP tools * These schemas define the input parameters for each CLI command wrapper * * @module @wundr/mcp-server/tools/schemas */ import { z } from 'zod'; import { RagFileSearchSchema, RagStoreManageSchema, RagContextBuilderSchema, RagToolSchemaEntries } from './rag/schemas'; /** * Common options shared across multiple tools */ export declare const CommonOptionsSchema: z.ZodObject<{ verbose: z.ZodOptional; dryRun: z.ZodOptional; format: z.ZodOptional>; }, "strip", z.ZodTypeAny, { format?: "text" | "json" | "table" | undefined; verbose?: boolean | undefined; dryRun?: boolean | undefined; }, { format?: "text" | "json" | "table" | undefined; verbose?: boolean | undefined; dryRun?: boolean | undefined; }>; /** * Schema for computer-setup main command */ export declare const ComputerSetupSchema: z.ZodObject<{ subcommand: z.ZodDefault>>; profile: z.ZodOptional>; team: z.ZodOptional; mode: z.ZodDefault>>; skipExisting: z.ZodOptional; parallel: z.ZodOptional; report: z.ZodOptional; dryRun: z.ZodOptional; }, "strip", z.ZodTypeAny, { mode: "interactive" | "automated" | "minimal"; subcommand: "backup" | "run" | "resume" | "validate" | "doctor" | "install" | "profile" | "team" | "rollback" | "claude-config"; dryRun?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | "ml" | undefined; team?: string | undefined; skipExisting?: boolean | undefined; parallel?: boolean | undefined; report?: boolean | undefined; }, { mode?: "interactive" | "automated" | "minimal" | undefined; dryRun?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | "ml" | undefined; team?: string | undefined; subcommand?: "backup" | "run" | "resume" | "validate" | "doctor" | "install" | "profile" | "team" | "rollback" | "claude-config" | undefined; skipExisting?: boolean | undefined; parallel?: boolean | undefined; report?: boolean | undefined; }>; export type ComputerSetupInput = z.infer; /** * Schema for computer-setup claude-config subcommand */ export declare const ClaudeConfigSchema: z.ZodObject<{ skipBackup: z.ZodOptional; overwrite: z.ZodOptional; verbose: z.ZodOptional; dryRun: z.ZodOptional; }, "strip", z.ZodTypeAny, { verbose?: boolean | undefined; dryRun?: boolean | undefined; skipBackup?: boolean | undefined; overwrite?: boolean | undefined; }, { verbose?: boolean | undefined; dryRun?: boolean | undefined; skipBackup?: boolean | undefined; overwrite?: boolean | undefined; }>; export type ClaudeConfigInput = z.infer; /** * Schema for computer-setup backup subcommand */ export declare const BackupSchema: z.ZodObject<{ action: z.ZodEnum<["list", "create", "verify", "cleanup"]>; backupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: "list" | "create" | "verify" | "cleanup"; backupId?: string | undefined; }, { action: "list" | "create" | "verify" | "cleanup"; backupId?: string | undefined; }>; export type BackupInput = z.infer; /** * Schema for computer-setup rollback subcommand */ export declare const RollbackSchema: z.ZodObject<{ backupId: z.ZodString; component: z.ZodOptional; force: z.ZodOptional; }, "strip", z.ZodTypeAny, { backupId: string; force?: boolean | undefined; component?: string | undefined; }, { backupId: string; force?: boolean | undefined; component?: string | undefined; }>; export type RollbackInput = z.infer; /** * Schema for project-init command */ export declare const ProjectInitSchema: z.ZodObject<{ name: z.ZodOptional; template: z.ZodDefault>>; skipGit: z.ZodOptional; skipInstall: z.ZodOptional; monorepo: z.ZodOptional; directory: z.ZodOptional; }, "strip", z.ZodTypeAny, { template: "default" | "frontend" | "backend" | "fullstack" | "monorepo" | "api" | "library"; name?: string | undefined; monorepo?: boolean | undefined; skipGit?: boolean | undefined; skipInstall?: boolean | undefined; directory?: string | undefined; }, { name?: string | undefined; monorepo?: boolean | undefined; template?: "default" | "frontend" | "backend" | "fullstack" | "monorepo" | "api" | "library" | undefined; skipGit?: boolean | undefined; skipInstall?: boolean | undefined; directory?: string | undefined; }>; export type ProjectInitInput = z.infer; /** * Schema for claude-setup consolidated command */ export declare const ClaudeSetupSchema: z.ZodObject<{ subcommand: z.ZodDefault>>; skipChrome: z.ZodOptional; skipMcp: z.ZodOptional; skipAgents: z.ZodOptional; tool: z.ZodOptional; profile: z.ZodOptional>; agents: z.ZodOptional; fix: z.ZodOptional; force: z.ZodOptional; }, "strip", z.ZodTypeAny, { subcommand: "optimize" | "validate" | "install" | "mcp" | "agents" | "extension"; tool?: string | undefined; force?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | undefined; agents?: string | undefined; skipChrome?: boolean | undefined; skipMcp?: boolean | undefined; skipAgents?: boolean | undefined; fix?: boolean | undefined; }, { tool?: string | undefined; force?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | undefined; subcommand?: "optimize" | "validate" | "install" | "mcp" | "agents" | "extension" | undefined; agents?: string | undefined; skipChrome?: boolean | undefined; skipMcp?: boolean | undefined; skipAgents?: boolean | undefined; fix?: boolean | undefined; }>; export type ClaudeSetupInput = z.infer; /** * Schema for drift-detection command */ export declare const DriftDetectionSchema: z.ZodObject<{ action: z.ZodEnum<["check", "baseline", "trends", "report"]>; path: z.ZodOptional; baselineId: z.ZodOptional; threshold: z.ZodOptional; categories: z.ZodOptional>; format: z.ZodDefault>>; baselineStoreName: z.ZodOptional; currentStoreName: z.ZodOptional; enableSemanticAnalysis: z.ZodDefault>; }, "strip", z.ZodTypeAny, { action: "report" | "check" | "baseline" | "trends"; format: "json" | "markdown" | "table"; enableSemanticAnalysis: boolean; path?: string | undefined; baselineId?: string | undefined; threshold?: number | undefined; categories?: string[] | undefined; baselineStoreName?: string | undefined; currentStoreName?: string | undefined; }, { action: "report" | "check" | "baseline" | "trends"; path?: string | undefined; format?: "json" | "markdown" | "table" | undefined; baselineId?: string | undefined; threshold?: number | undefined; categories?: string[] | undefined; baselineStoreName?: string | undefined; currentStoreName?: string | undefined; enableSemanticAnalysis?: boolean | undefined; }>; export type DriftDetectionInput = z.infer; /** * Schema for pattern-standardize command */ export declare const PatternStandardizeSchema: z.ZodObject<{ action: z.ZodEnum<["fix", "review", "list", "configure"]>; pattern: z.ZodOptional>; path: z.ZodOptional; autoFix: z.ZodOptional; dryRun: z.ZodOptional; severity: z.ZodOptional>; }, "strip", z.ZodTypeAny, { action: "list" | "fix" | "review" | "configure"; path?: string | undefined; severity?: "info" | "warning" | "error" | undefined; dryRun?: boolean | undefined; pattern?: "logging" | "error-handling" | "import-ordering" | "naming-conventions" | "all" | undefined; autoFix?: boolean | undefined; }, { action: "list" | "fix" | "review" | "configure"; path?: string | undefined; severity?: "info" | "warning" | "error" | undefined; dryRun?: boolean | undefined; pattern?: "logging" | "error-handling" | "import-ordering" | "naming-conventions" | "all" | undefined; autoFix?: boolean | undefined; }>; export type PatternStandardizeInput = z.infer; /** * Schema for monorepo-manage command */ export declare const MonorepoManageSchema: z.ZodObject<{ action: z.ZodEnum<["init", "add-package", "check-circular", "sync-versions", "list-packages", "graph"]>; packageName: z.ZodOptional; packageType: z.ZodOptional>; template: z.ZodOptional; scope: z.ZodOptional; format: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { action: "init" | "add-package" | "check-circular" | "sync-versions" | "list-packages" | "graph"; format: "json" | "table" | "graph"; template?: string | undefined; packageName?: string | undefined; packageType?: "tool" | "library" | "app" | "plugin" | undefined; scope?: string | undefined; }, { action: "init" | "add-package" | "check-circular" | "sync-versions" | "list-packages" | "graph"; format?: "json" | "table" | "graph" | undefined; template?: string | undefined; packageName?: string | undefined; packageType?: "tool" | "library" | "app" | "plugin" | undefined; scope?: string | undefined; }>; export type MonorepoManageInput = z.infer; /** * Schema for governance-report command */ export declare const GovernanceReportSchema: z.ZodObject<{ reportType: z.ZodEnum<["weekly", "monthly", "compliance", "quality", "security", "custom"]>; period: z.ZodDefault>>; startDate: z.ZodOptional; endDate: z.ZodOptional; output: z.ZodOptional; format: z.ZodDefault>>; includeMetrics: z.ZodOptional>; }, "strip", z.ZodTypeAny, { format: "json" | "markdown" | "html" | "pdf"; reportType: "custom" | "weekly" | "monthly" | "compliance" | "quality" | "security"; period: "weekly" | "monthly" | "daily" | "quarterly"; startDate?: string | undefined; endDate?: string | undefined; output?: string | undefined; includeMetrics?: string[] | undefined; }, { reportType: "custom" | "weekly" | "monthly" | "compliance" | "quality" | "security"; format?: "json" | "markdown" | "html" | "pdf" | undefined; period?: "weekly" | "monthly" | "daily" | "quarterly" | undefined; startDate?: string | undefined; endDate?: string | undefined; output?: string | undefined; includeMetrics?: string[] | undefined; }>; export type GovernanceReportInput = z.infer; /** * Schema for dependency-analyze command */ export declare const DependencyAnalyzeSchema: z.ZodObject<{ action: z.ZodEnum<["circular", "unused", "outdated", "security", "graph", "all"]>; path: z.ZodOptional; depth: z.ZodOptional; includeDevDeps: z.ZodOptional; format: z.ZodDefault>>; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: "all" | "graph" | "security" | "circular" | "unused" | "outdated"; format: "json" | "table" | "graph" | "dot"; path?: string | undefined; output?: string | undefined; depth?: number | undefined; includeDevDeps?: boolean | undefined; }, { action: "all" | "graph" | "security" | "circular" | "unused" | "outdated"; path?: string | undefined; format?: "json" | "table" | "graph" | "dot" | undefined; output?: string | undefined; depth?: number | undefined; includeDevDeps?: boolean | undefined; }>; export type DependencyAnalyzeInput = z.infer; /** * Schema for test-baseline command */ export declare const TestBaselineSchema: z.ZodObject<{ action: z.ZodEnum<["create", "compare", "update", "report"]>; baselineId: z.ZodOptional; path: z.ZodOptional; coverageThreshold: z.ZodOptional; failOnDecrease: z.ZodOptional; format: z.ZodDefault>>; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: "create" | "update" | "report" | "compare"; format: "json" | "markdown" | "table"; path?: string | undefined; baselineId?: string | undefined; output?: string | undefined; coverageThreshold?: number | undefined; failOnDecrease?: boolean | undefined; }, { action: "create" | "update" | "report" | "compare"; path?: string | undefined; format?: "json" | "markdown" | "table" | undefined; baselineId?: string | undefined; output?: string | undefined; coverageThreshold?: number | undefined; failOnDecrease?: boolean | undefined; }>; export type TestBaselineInput = z.infer; export { RagFileSearchSchema, RagStoreManageSchema, RagContextBuilderSchema, RagToolSchemaEntries, }; export type { RagFileSearchInput, RagStoreManageInput, RagContextBuilderInput, RagToolName, } from './rag/schemas'; /** * Schema for RAG-powered error debugging * * Analyzes error messages, extracts key identifiers, searches for relevant * context and working examples using RAG, and generates actionable fix suggestions. */ export declare const ErrorDebuggerRagSchema: z.ZodObject<{ errorType: z.ZodEnum<["lint", "typecheck", "build"]>; errorMessages: z.ZodArray; targetPath: z.ZodString; maxSuggestionsPerError: z.ZodDefault>; }, "strip", z.ZodTypeAny, { errorType: "lint" | "typecheck" | "build"; errorMessages: string[]; targetPath: string; maxSuggestionsPerError: number; }, { errorType: "lint" | "typecheck" | "build"; errorMessages: string[]; targetPath: string; maxSuggestionsPerError?: number | undefined; }>; export type ErrorDebuggerRagInput = z.infer; /** * Schema for RAG-enhanced codebase analysis */ export declare const CodebaseAnalysisRagSchema: z.ZodObject<{ targetPath: z.ZodString; storeName: z.ZodOptional; forceReindex: z.ZodDefault>; includePatterns: z.ZodDefault>>; excludePatterns: z.ZodDefault>>; analysisCategories: z.ZodDefault, "many">>>; maxResultsPerCategory: z.ZodDefault>; generateSummary: z.ZodDefault>; }, "strip", z.ZodTypeAny, { includePatterns: string[]; excludePatterns: string[]; targetPath: string; forceReindex: boolean; analysisCategories: ("security" | "architecture" | "patterns" | "dependencies" | "tests")[]; maxResultsPerCategory: number; generateSummary: boolean; storeName?: string | undefined; }, { targetPath: string; includePatterns?: string[] | undefined; excludePatterns?: string[] | undefined; storeName?: string | undefined; forceReindex?: boolean | undefined; analysisCategories?: ("security" | "architecture" | "patterns" | "dependencies" | "tests")[] | undefined; maxResultsPerCategory?: number | undefined; generateSummary?: boolean | undefined; }>; export type CodebaseAnalysisRagInput = z.infer; /** * Schema for refactoring impact analysis */ export declare const RefactoringImpactSchema: z.ZodObject<{ targetPath: z.ZodString; refactoringTarget: z.ZodString; refactoringType: z.ZodEnum<["rename", "move", "extract", "inline", "change-signature", "restructure", "deprecate", "delete"]>; searchScope: z.ZodDefault>>; storeName: z.ZodOptional; forceReindex: z.ZodDefault>; includePatterns: z.ZodDefault>>; excludePatterns: z.ZodDefault>>; includeTests: z.ZodDefault>; includeDocs: z.ZodDefault>; maxResults: z.ZodDefault>; }, "strip", z.ZodTypeAny, { includePatterns: string[]; excludePatterns: string[]; maxResults: number; includeDocs: boolean; targetPath: string; forceReindex: boolean; refactoringTarget: string; refactoringType: "delete" | "rename" | "move" | "extract" | "inline" | "change-signature" | "restructure" | "deprecate"; searchScope: "local" | "project" | "workspace"; includeTests: boolean; storeName?: string | undefined; }, { targetPath: string; refactoringTarget: string; refactoringType: "delete" | "rename" | "move" | "extract" | "inline" | "change-signature" | "restructure" | "deprecate"; includePatterns?: string[] | undefined; excludePatterns?: string[] | undefined; maxResults?: number | undefined; storeName?: string | undefined; includeDocs?: boolean | undefined; forceReindex?: boolean | undefined; searchScope?: "local" | "project" | "workspace" | undefined; includeTests?: boolean | undefined; }>; export type RefactoringImpactInput = z.infer; /** * Registry of all tool schemas with metadata */ export declare const ToolSchemas: { readonly 'computer-setup': { readonly schema: z.ZodObject<{ subcommand: z.ZodDefault>>; profile: z.ZodOptional>; team: z.ZodOptional; mode: z.ZodDefault>>; skipExisting: z.ZodOptional; parallel: z.ZodOptional; report: z.ZodOptional; dryRun: z.ZodOptional; }, "strip", z.ZodTypeAny, { mode: "interactive" | "automated" | "minimal"; subcommand: "backup" | "run" | "resume" | "validate" | "doctor" | "install" | "profile" | "team" | "rollback" | "claude-config"; dryRun?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | "ml" | undefined; team?: string | undefined; skipExisting?: boolean | undefined; parallel?: boolean | undefined; report?: boolean | undefined; }, { mode?: "interactive" | "automated" | "minimal" | undefined; dryRun?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | "ml" | undefined; team?: string | undefined; subcommand?: "backup" | "run" | "resume" | "validate" | "doctor" | "install" | "profile" | "team" | "rollback" | "claude-config" | undefined; skipExisting?: boolean | undefined; parallel?: boolean | undefined; report?: boolean | undefined; }>; readonly description: "Set up a new developer machine with all required tools and configurations"; readonly category: "setup"; }; readonly 'claude-config': { readonly schema: z.ZodObject<{ skipBackup: z.ZodOptional; overwrite: z.ZodOptional; verbose: z.ZodOptional; dryRun: z.ZodOptional; }, "strip", z.ZodTypeAny, { verbose?: boolean | undefined; dryRun?: boolean | undefined; skipBackup?: boolean | undefined; overwrite?: boolean | undefined; }, { verbose?: boolean | undefined; dryRun?: boolean | undefined; skipBackup?: boolean | undefined; overwrite?: boolean | undefined; }>; readonly description: "Install Claude Code configuration files"; readonly category: "setup"; }; readonly backup: { readonly schema: z.ZodObject<{ action: z.ZodEnum<["list", "create", "verify", "cleanup"]>; backupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: "list" | "create" | "verify" | "cleanup"; backupId?: string | undefined; }, { action: "list" | "create" | "verify" | "cleanup"; backupId?: string | undefined; }>; readonly description: "Manage configuration backups"; readonly category: "setup"; }; readonly rollback: { readonly schema: z.ZodObject<{ backupId: z.ZodString; component: z.ZodOptional; force: z.ZodOptional; }, "strip", z.ZodTypeAny, { backupId: string; force?: boolean | undefined; component?: string | undefined; }, { backupId: string; force?: boolean | undefined; component?: string | undefined; }>; readonly description: "Rollback to a previous configuration backup"; readonly category: "setup"; }; readonly 'project-init': { readonly schema: z.ZodObject<{ name: z.ZodOptional; template: z.ZodDefault>>; skipGit: z.ZodOptional; skipInstall: z.ZodOptional; monorepo: z.ZodOptional; directory: z.ZodOptional; }, "strip", z.ZodTypeAny, { template: "default" | "frontend" | "backend" | "fullstack" | "monorepo" | "api" | "library"; name?: string | undefined; monorepo?: boolean | undefined; skipGit?: boolean | undefined; skipInstall?: boolean | undefined; directory?: string | undefined; }, { name?: string | undefined; monorepo?: boolean | undefined; template?: "default" | "frontend" | "backend" | "fullstack" | "monorepo" | "api" | "library" | undefined; skipGit?: boolean | undefined; skipInstall?: boolean | undefined; directory?: string | undefined; }>; readonly description: "Initialize a new Wundr project with template selection"; readonly category: "project"; }; readonly 'claude-setup': { readonly schema: z.ZodObject<{ subcommand: z.ZodDefault>>; skipChrome: z.ZodOptional; skipMcp: z.ZodOptional; skipAgents: z.ZodOptional; tool: z.ZodOptional; profile: z.ZodOptional>; agents: z.ZodOptional; fix: z.ZodOptional; force: z.ZodOptional; }, "strip", z.ZodTypeAny, { subcommand: "optimize" | "validate" | "install" | "mcp" | "agents" | "extension"; tool?: string | undefined; force?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | undefined; agents?: string | undefined; skipChrome?: boolean | undefined; skipMcp?: boolean | undefined; skipAgents?: boolean | undefined; fix?: boolean | undefined; }, { tool?: string | undefined; force?: boolean | undefined; profile?: "frontend" | "backend" | "fullstack" | "devops" | undefined; subcommand?: "optimize" | "validate" | "install" | "mcp" | "agents" | "extension" | undefined; agents?: string | undefined; skipChrome?: boolean | undefined; skipMcp?: boolean | undefined; skipAgents?: boolean | undefined; fix?: boolean | undefined; }>; readonly description: "Setup Claude Code, Ruflo, and MCP tools"; readonly category: "setup"; }; readonly 'drift-detection': { readonly schema: z.ZodObject<{ action: z.ZodEnum<["check", "baseline", "trends", "report"]>; path: z.ZodOptional; baselineId: z.ZodOptional; threshold: z.ZodOptional; categories: z.ZodOptional>; format: z.ZodDefault>>; baselineStoreName: z.ZodOptional; currentStoreName: z.ZodOptional; enableSemanticAnalysis: z.ZodDefault>; }, "strip", z.ZodTypeAny, { action: "report" | "check" | "baseline" | "trends"; format: "json" | "markdown" | "table"; enableSemanticAnalysis: boolean; path?: string | undefined; baselineId?: string | undefined; threshold?: number | undefined; categories?: string[] | undefined; baselineStoreName?: string | undefined; currentStoreName?: string | undefined; }, { action: "report" | "check" | "baseline" | "trends"; path?: string | undefined; format?: "json" | "markdown" | "table" | undefined; baselineId?: string | undefined; threshold?: number | undefined; categories?: string[] | undefined; baselineStoreName?: string | undefined; currentStoreName?: string | undefined; enableSemanticAnalysis?: boolean | undefined; }>; readonly description: "Monitor code quality drift and create baselines"; readonly category: "governance"; }; readonly 'pattern-standardize': { readonly schema: z.ZodObject<{ action: z.ZodEnum<["fix", "review", "list", "configure"]>; pattern: z.ZodOptional>; path: z.ZodOptional; autoFix: z.ZodOptional; dryRun: z.ZodOptional; severity: z.ZodOptional>; }, "strip", z.ZodTypeAny, { action: "list" | "fix" | "review" | "configure"; path?: string | undefined; severity?: "info" | "warning" | "error" | undefined; dryRun?: boolean | undefined; pattern?: "logging" | "error-handling" | "import-ordering" | "naming-conventions" | "all" | undefined; autoFix?: boolean | undefined; }, { action: "list" | "fix" | "review" | "configure"; path?: string | undefined; severity?: "info" | "warning" | "error" | undefined; dryRun?: boolean | undefined; pattern?: "logging" | "error-handling" | "import-ordering" | "naming-conventions" | "all" | undefined; autoFix?: boolean | undefined; }>; readonly description: "Auto-fix code patterns to meet standards"; readonly category: "governance"; }; readonly 'monorepo-manage': { readonly schema: z.ZodObject<{ action: z.ZodEnum<["init", "add-package", "check-circular", "sync-versions", "list-packages", "graph"]>; packageName: z.ZodOptional; packageType: z.ZodOptional>; template: z.ZodOptional; scope: z.ZodOptional; format: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { action: "init" | "add-package" | "check-circular" | "sync-versions" | "list-packages" | "graph"; format: "json" | "table" | "graph"; template?: string | undefined; packageName?: string | undefined; packageType?: "tool" | "library" | "app" | "plugin" | undefined; scope?: string | undefined; }, { action: "init" | "add-package" | "check-circular" | "sync-versions" | "list-packages" | "graph"; format?: "json" | "table" | "graph" | undefined; template?: string | undefined; packageName?: string | undefined; packageType?: "tool" | "library" | "app" | "plugin" | undefined; scope?: string | undefined; }>; readonly description: "Manage monorepo packages and dependencies"; readonly category: "project"; }; readonly 'governance-report': { readonly schema: z.ZodObject<{ reportType: z.ZodEnum<["weekly", "monthly", "compliance", "quality", "security", "custom"]>; period: z.ZodDefault>>; startDate: z.ZodOptional; endDate: z.ZodOptional; output: z.ZodOptional; format: z.ZodDefault>>; includeMetrics: z.ZodOptional>; }, "strip", z.ZodTypeAny, { format: "json" | "markdown" | "html" | "pdf"; reportType: "custom" | "weekly" | "monthly" | "compliance" | "quality" | "security"; period: "weekly" | "monthly" | "daily" | "quarterly"; startDate?: string | undefined; endDate?: string | undefined; output?: string | undefined; includeMetrics?: string[] | undefined; }, { reportType: "custom" | "weekly" | "monthly" | "compliance" | "quality" | "security"; format?: "json" | "markdown" | "html" | "pdf" | undefined; period?: "weekly" | "monthly" | "daily" | "quarterly" | undefined; startDate?: string | undefined; endDate?: string | undefined; output?: string | undefined; includeMetrics?: string[] | undefined; }>; readonly description: "Generate governance and compliance reports"; readonly category: "governance"; }; readonly 'dependency-analyze': { readonly schema: z.ZodObject<{ action: z.ZodEnum<["circular", "unused", "outdated", "security", "graph", "all"]>; path: z.ZodOptional; depth: z.ZodOptional; includeDevDeps: z.ZodOptional; format: z.ZodDefault>>; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: "all" | "graph" | "security" | "circular" | "unused" | "outdated"; format: "json" | "table" | "graph" | "dot"; path?: string | undefined; output?: string | undefined; depth?: number | undefined; includeDevDeps?: boolean | undefined; }, { action: "all" | "graph" | "security" | "circular" | "unused" | "outdated"; path?: string | undefined; format?: "json" | "table" | "graph" | "dot" | undefined; output?: string | undefined; depth?: number | undefined; includeDevDeps?: boolean | undefined; }>; readonly description: "Analyze project dependencies for issues"; readonly category: "analysis"; }; readonly 'test-baseline': { readonly schema: z.ZodObject<{ action: z.ZodEnum<["create", "compare", "update", "report"]>; baselineId: z.ZodOptional; path: z.ZodOptional; coverageThreshold: z.ZodOptional; failOnDecrease: z.ZodOptional; format: z.ZodDefault>>; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: "create" | "update" | "report" | "compare"; format: "json" | "markdown" | "table"; path?: string | undefined; baselineId?: string | undefined; output?: string | undefined; coverageThreshold?: number | undefined; failOnDecrease?: boolean | undefined; }, { action: "create" | "update" | "report" | "compare"; path?: string | undefined; format?: "json" | "markdown" | "table" | undefined; baselineId?: string | undefined; output?: string | undefined; coverageThreshold?: number | undefined; failOnDecrease?: boolean | undefined; }>; readonly description: "Manage test coverage baselines"; readonly category: "testing"; }; readonly 'rag-file-search': { readonly schema: z.ZodObject<{ query: z.ZodString; paths: z.ZodOptional>; includePatterns: z.ZodOptional>; excludePatterns: z.ZodOptional>; maxResults: z.ZodDefault>; minScore: z.ZodDefault>; mode: z.ZodDefault>>; includeContent: z.ZodDefault>; maxContentLength: z.ZodDefault>; }, "strip", z.ZodTypeAny, { query: string; maxResults: number; minScore: number; mode: "semantic" | "keyword" | "hybrid"; includeContent: boolean; maxContentLength: number; paths?: string[] | undefined; includePatterns?: string[] | undefined; excludePatterns?: string[] | undefined; }, { query: string; paths?: string[] | undefined; includePatterns?: string[] | undefined; excludePatterns?: string[] | undefined; maxResults?: number | undefined; minScore?: number | undefined; mode?: "semantic" | "keyword" | "hybrid" | undefined; includeContent?: boolean | undefined; maxContentLength?: number | undefined; }>; readonly description: "Search files using semantic, keyword, or hybrid search with relevance scoring"; readonly category: "rag"; }; readonly 'rag-store-manage': { readonly schema: z.ZodObject<{ action: z.ZodEnum<["create", "delete", "list", "status", "index", "clear", "optimize", "backup", "restore"]>; storeName: z.ZodOptional; config: z.ZodOptional>; embeddingModel: z.ZodOptional>; dimensions: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: "memory" | "chromadb" | "pinecone" | "qdrant" | "weaviate" | undefined; metadata?: Record | undefined; embeddingModel?: "custom" | "openai" | "cohere" | "local" | undefined; dimensions?: number | undefined; }, { type?: "memory" | "chromadb" | "pinecone" | "qdrant" | "weaviate" | undefined; metadata?: Record | undefined; embeddingModel?: "custom" | "openai" | "cohere" | "local" | undefined; dimensions?: number | undefined; }>>; indexPaths: z.ZodOptional>; backupPath: z.ZodOptional; force: z.ZodOptional; }, "strip", z.ZodTypeAny, { action: "status" | "list" | "create" | "delete" | "index" | "clear" | "optimize" | "backup" | "restore"; storeName?: string | undefined; config?: { type?: "memory" | "chromadb" | "pinecone" | "qdrant" | "weaviate" | undefined; metadata?: Record | undefined; embeddingModel?: "custom" | "openai" | "cohere" | "local" | undefined; dimensions?: number | undefined; } | undefined; indexPaths?: string[] | undefined; backupPath?: string | undefined; force?: boolean | undefined; }, { action: "status" | "list" | "create" | "delete" | "index" | "clear" | "optimize" | "backup" | "restore"; storeName?: string | undefined; config?: { type?: "memory" | "chromadb" | "pinecone" | "qdrant" | "weaviate" | undefined; metadata?: Record | undefined; embeddingModel?: "custom" | "openai" | "cohere" | "local" | undefined; dimensions?: number | undefined; } | undefined; indexPaths?: string[] | undefined; backupPath?: string | undefined; force?: boolean | undefined; }>; readonly description: "Create, manage, and maintain vector stores for RAG operations"; readonly category: "rag"; }; readonly 'rag-context-builder': { readonly schema: z.ZodObject<{ query: z.ZodString; strategy: z.ZodDefault>>; sources: z.ZodDefault, "many">>>; maxTokens: z.ZodDefault>; storeName: z.ZodOptional; additionalPaths: z.ZodOptional>; includeCode: z.ZodDefault>; includeDocs: z.ZodDefault>; conversationHistory: z.ZodOptional; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; role: "user" | "assistant"; }, { content: string; role: "user" | "assistant"; }>, "many">>; format: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { query: string; strategy: "custom" | "relevant" | "recent" | "comprehensive" | "focused"; sources: ("memory" | "files" | "store" | "combined")[]; maxTokens: number; includeCode: boolean; includeDocs: boolean; format: "plain" | "markdown" | "structured"; storeName?: string | undefined; additionalPaths?: string[] | undefined; conversationHistory?: { content: string; role: "user" | "assistant"; }[] | undefined; }, { query: string; storeName?: string | undefined; strategy?: "custom" | "relevant" | "recent" | "comprehensive" | "focused" | undefined; sources?: ("memory" | "files" | "store" | "combined")[] | undefined; maxTokens?: number | undefined; additionalPaths?: string[] | undefined; includeCode?: boolean | undefined; includeDocs?: boolean | undefined; conversationHistory?: { content: string; role: "user" | "assistant"; }[] | undefined; format?: "plain" | "markdown" | "structured" | undefined; }>; readonly description: "Build optimal context for LLM queries using multiple sources and strategies"; readonly category: "rag"; }; readonly 'codebase-analysis-rag': { readonly schema: z.ZodObject<{ targetPath: z.ZodString; storeName: z.ZodOptional; forceReindex: z.ZodDefault>; includePatterns: z.ZodDefault>>; excludePatterns: z.ZodDefault>>; analysisCategories: z.ZodDefault, "many">>>; maxResultsPerCategory: z.ZodDefault>; generateSummary: z.ZodDefault>; }, "strip", z.ZodTypeAny, { includePatterns: string[]; excludePatterns: string[]; targetPath: string; forceReindex: boolean; analysisCategories: ("security" | "architecture" | "patterns" | "dependencies" | "tests")[]; maxResultsPerCategory: number; generateSummary: boolean; storeName?: string | undefined; }, { targetPath: string; includePatterns?: string[] | undefined; excludePatterns?: string[] | undefined; storeName?: string | undefined; forceReindex?: boolean | undefined; analysisCategories?: ("security" | "architecture" | "patterns" | "dependencies" | "tests")[] | undefined; maxResultsPerCategory?: number | undefined; generateSummary?: boolean | undefined; }>; readonly description: "Analyze a codebase using RAG-enhanced semantic search to understand architecture, patterns, dependencies, tests, and security measures"; readonly category: "rag"; }; readonly 'refactoring-impact': { readonly schema: z.ZodObject<{ targetPath: z.ZodString; refactoringTarget: z.ZodString; refactoringType: z.ZodEnum<["rename", "move", "extract", "inline", "change-signature", "restructure", "deprecate", "delete"]>; searchScope: z.ZodDefault>>; storeName: z.ZodOptional; forceReindex: z.ZodDefault>; includePatterns: z.ZodDefault>>; excludePatterns: z.ZodDefault>>; includeTests: z.ZodDefault>; includeDocs: z.ZodDefault>; maxResults: z.ZodDefault>; }, "strip", z.ZodTypeAny, { includePatterns: string[]; excludePatterns: string[]; maxResults: number; includeDocs: boolean; targetPath: string; forceReindex: boolean; refactoringTarget: string; refactoringType: "delete" | "rename" | "move" | "extract" | "inline" | "change-signature" | "restructure" | "deprecate"; searchScope: "local" | "project" | "workspace"; includeTests: boolean; storeName?: string | undefined; }, { targetPath: string; refactoringTarget: string; refactoringType: "delete" | "rename" | "move" | "extract" | "inline" | "change-signature" | "restructure" | "deprecate"; includePatterns?: string[] | undefined; excludePatterns?: string[] | undefined; maxResults?: number | undefined; storeName?: string | undefined; includeDocs?: boolean | undefined; forceReindex?: boolean | undefined; searchScope?: "local" | "project" | "workspace" | undefined; includeTests?: boolean | undefined; }>; readonly description: "Analyze the potential impact of a refactoring operation using RAG search to find affected files, tests, and documentation"; readonly category: "rag"; }; readonly 'error-debugger-rag': { readonly schema: z.ZodObject<{ errorType: z.ZodEnum<["lint", "typecheck", "build"]>; errorMessages: z.ZodArray; targetPath: z.ZodString; maxSuggestionsPerError: z.ZodDefault>; }, "strip", z.ZodTypeAny, { errorType: "lint" | "typecheck" | "build"; errorMessages: string[]; targetPath: string; maxSuggestionsPerError: number; }, { errorType: "lint" | "typecheck" | "build"; errorMessages: string[]; targetPath: string; maxSuggestionsPerError?: number | undefined; }>; readonly description: "Debug errors using RAG-powered analysis with intelligent fix suggestions"; readonly category: "rag"; }; }; export type ToolName = keyof typeof ToolSchemas; /** * Convert Zod schema to JSON Schema for MCP tool registration */ export declare function zodToJsonSchema(zodSchema: z.ZodType): Record; /** * Get JSON Schema for a specific tool */ export declare function getToolJsonSchema(toolName: ToolName): Record; /** * Get all tool JSON schemas */ export declare function getAllToolJsonSchemas(): Record; description: string; category: string; }>; //# sourceMappingURL=schemas.d.ts.map