UNPKG

@bestdefense/bd-agent

Version:

An AI-powered coding assistant CLI that connects to AWS Bedrock

94 lines 2.44 kB
interface EditResult { success: boolean; message?: string; error?: string; diff?: { old: string; new: string; line_start?: number; line_end?: number; }; preview?: string; } export declare const advancedEditTools: ({ name: string; description: string; input_schema: { type: string; properties: { file_path: { type: string; description: string; }; old_str: { type: string; description: string; }; new_str: { type: string; description: string; }; dry_run: { type: string; description: string; default: boolean; }; edits?: undefined; }; required: string[]; }; execute: ({ file_path, old_str, new_str, dry_run }: { file_path: string; old_str: string; new_str: string; dry_run?: boolean; }) => Promise<EditResult>; } | { name: string; description: string; input_schema: { type: string; properties: { file_path: { type: string; description: string; }; edits: { type: string; description: string; items: { type: string; properties: { old_str: { type: string; description: string; }; new_str: { type: string; description: string; }; }; required: string[]; }; }; dry_run: { type: string; description: string; default: boolean; }; old_str?: undefined; new_str?: undefined; }; required: string[]; }; execute: ({ file_path, edits, dry_run }: { file_path: string; edits: Array<{ old_str: string; new_str: string; }>; dry_run?: boolean; }) => Promise<EditResult>; })[]; export {}; //# sourceMappingURL=advanced-edit.d.ts.map