UNPKG

@vfarcic/dot-ai

Version:

AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance

51 lines 1.8 kB
/** * Impact Analysis Tool - Dependency & Blast Radius Analysis * * Accepts free-text input (kubectl commands, YAML manifests, or plain-English * descriptions) and uses AI reasoning to discover dependencies and assess * whether the operation is safe to proceed. * * PRD #405: Dependency & Impact Analysis */ import { z } from 'zod'; import { PluginManager } from '../core/plugin-manager'; export declare const IMPACT_ANALYSIS_TOOL_NAME = "impact_analysis"; export declare const IMPACT_ANALYSIS_TOOL_DESCRIPTION = "Analyze the blast radius of a proposed Kubernetes operation. Accepts free-text input: kubectl commands (e.g., \"kubectl delete pvc data-postgres-0 -n production\"), YAML manifests, or plain-English descriptions (e.g., \"what happens if I delete the postgres database?\"). Returns whether the operation is safe and a detailed dependency analysis with confidence levels."; export declare const IMPACT_ANALYSIS_TOOL_INPUT_SCHEMA: { input: z.ZodString; interaction_id: z.ZodOptional<z.ZodString>; }; export interface ImpactAnalysisInput { input: string; interaction_id?: string; } export interface ImpactAnalysisOutput { success: boolean; safe: boolean; summary: string; sessionId?: string; agentInstructions: string; error?: { code: string; message: string; }; content?: Array<{ type: string; text: string; }>; } /** * Main impact analysis tool handler */ interface ImpactAnalysisToolArgs { input?: string; interaction_id?: string; } export declare function handleImpactAnalysisTool(args: ImpactAnalysisToolArgs, pluginManager?: PluginManager): Promise<{ content: Array<{ type: string; text: string; }>; }>; export {}; //# sourceMappingURL=impact-analysis.d.ts.map