@bestdefense/bd-agent
Version:
An AI-powered coding assistant CLI that connects to AWS Bedrock
163 lines • 3.77 kB
TypeScript
export declare const gitTools: ({
name: string;
description: string;
input_schema: {
type: string;
properties: {
path: {
type: string;
description: string;
};
staged?: undefined;
files?: undefined;
message?: undefined;
limit?: undefined;
};
required?: undefined;
};
execute: ({ path }: {
path?: string;
}) => Promise<{
success: boolean;
changes: string | string[];
count: number;
error?: undefined;
} | {
success: boolean;
error: any;
changes?: undefined;
count?: undefined;
}>;
} | {
name: string;
description: string;
input_schema: {
type: string;
properties: {
staged: {
type: string;
description: string;
};
path: {
type: string;
description: string;
};
files?: undefined;
message?: undefined;
limit?: undefined;
};
required?: undefined;
};
execute: ({ staged, path }: {
staged?: boolean;
path?: string;
}) => Promise<{
success: boolean;
diff: string;
error?: undefined;
} | {
success: boolean;
error: any;
diff?: undefined;
}>;
} | {
name: string;
description: string;
input_schema: {
type: string;
properties: {
files: {
type: string;
items: {
type: string;
};
description: string;
};
path: {
type: string;
description: string;
};
staged?: undefined;
message?: undefined;
limit?: undefined;
};
required: string[];
};
execute: ({ files, path }: {
files: string[];
path?: string;
}) => Promise<{
success: boolean;
message: string;
error?: undefined;
} | {
success: boolean;
error: any;
message?: undefined;
}>;
} | {
name: string;
description: string;
input_schema: {
type: string;
properties: {
message: {
type: string;
description: string;
};
path: {
type: string;
description: string;
};
staged?: undefined;
files?: undefined;
limit?: undefined;
};
required: string[];
};
execute: ({ message, path }: {
message: string;
path?: string;
}) => Promise<{
success: boolean;
output: string;
error?: undefined;
} | {
success: boolean;
error: any;
output?: undefined;
}>;
} | {
name: string;
description: string;
input_schema: {
type: string;
properties: {
limit: {
type: string;
description: string;
};
path: {
type: string;
description: string;
};
staged?: undefined;
files?: undefined;
message?: undefined;
};
required?: undefined;
};
execute: ({ limit, path }: {
limit?: number;
path?: string;
}) => Promise<{
success: boolean;
commits: string[];
error?: undefined;
} | {
success: boolean;
error: any;
commits?: undefined;
}>;
})[];
//# sourceMappingURL=git.d.ts.map