cline-sdk
Version:
Comprehensive SDK for Cline - AI-powered development assistant with database integration, execution modes, and custom functions
34 lines • 840 B
TypeScript
/**
* Bash Tool - Execute shell commands
* Based on VSCode extension's bashTool implementation
*/
export interface BashToolInput {
command: string;
}
export interface BashToolResult {
success: boolean;
stdout: string;
stderr: string;
exit_code: number;
command: string;
}
export declare class BashTool {
private workingDirectory;
constructor(workingDirectory: string);
execute(input: BashToolInput): Promise<BashToolResult>;
getDefinition(): {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
command: {
type: string;
description: string;
};
};
required: string[];
};
};
}
//# sourceMappingURL=bash-tool.d.ts.map