UNPKG

@bestdefense/bd-agent

Version:

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

132 lines 3.1 kB
export declare const fileSystemTools: ({ name: string; description: string; input_schema: { type: string; properties: { path: { type: string; description: string; }; content?: undefined; old_content?: undefined; new_content?: undefined; }; required: string[]; }; execute: ({ path: filePath }: { path: string; }) => Promise<{ success: boolean; content: string; error?: undefined; } | { success: boolean; error: any; content?: undefined; }>; } | { name: string; description: string; input_schema: { type: string; properties: { path: { type: string; description: string; }; content: { type: string; description: string; }; old_content?: undefined; new_content?: undefined; }; required: string[]; }; execute: ({ path: filePath, content }: { path: string; content: string; }) => Promise<{ success: boolean; message: string; error?: undefined; } | { success: boolean; error: any; message?: undefined; }>; } | { name: string; description: string; input_schema: { type: string; properties: { path: { type: string; description: string; }; old_content: { type: string; description: string; }; new_content: { type: string; description: string; }; content?: undefined; }; required: string[]; }; execute: ({ path: filePath, old_content, new_content }: { path: string; old_content: string; new_content: string; }) => Promise<{ success: boolean; message: string; diff: { old: string; new: string; }; error?: undefined; } | { success: boolean; error: any; message?: undefined; diff?: undefined; }>; } | { name: string; description: string; input_schema: { type: string; properties: { path: { type: string; description: string; }; content?: undefined; old_content?: undefined; new_content?: undefined; }; required: string[]; }; execute: ({ path: dirPath }: { path: string; }) => Promise<{ success: boolean; items: { name: string; type: string; size: number; modified: Date; }[]; error?: undefined; } | { success: boolean; error: any; items?: undefined; }>; })[]; //# sourceMappingURL=file-system.d.ts.map