@bestdefense/bd-agent
Version:
An AI-powered coding assistant CLI that connects to AWS Bedrock
110 lines • 2.78 kB
TypeScript
interface GrepResult {
success: boolean;
matches?: Array<{
file: string;
line: number;
column?: number;
match: string;
context?: string;
}>;
count?: number;
files?: string[];
error?: string;
}
interface GlobResult {
success: boolean;
files?: string[];
count?: number;
error?: string;
}
export declare const searchTools: ({
name: string;
description: string;
input_schema: {
type: string;
properties: {
pattern: {
type: string;
description: string;
};
path: {
type: string;
description: string;
};
glob: {
type: string;
description: string;
};
type: {
type: string;
description: string;
};
output_mode: {
type: string;
enum: string[];
description: string;
};
case_insensitive: {
type: string;
description: string;
default: boolean;
};
context_lines: {
type: string;
description: string;
default: number;
};
head_limit: {
type: string;
description: string;
};
multiline: {
type: string;
description: string;
default: boolean;
};
ignore?: undefined;
};
required: string[];
};
execute: (params: any) => Promise<GrepResult>;
} | {
name: string;
description: string;
input_schema: {
type: string;
properties: {
pattern: {
type: string;
description: string;
};
path: {
type: string;
description: string;
};
ignore: {
type: string;
items: {
type: string;
};
description: string;
default: string[];
};
glob?: undefined;
type?: undefined;
output_mode?: undefined;
case_insensitive?: undefined;
context_lines?: undefined;
head_limit?: undefined;
multiline?: undefined;
};
required: string[];
};
execute: ({ pattern, path: searchPath, ignore }: {
pattern: string;
path?: string;
ignore?: string[];
}) => Promise<GlobResult>;
})[];
export {};
//# sourceMappingURL=search-tools.d.ts.map