@mickdarling/dollhousemcp
Version:
DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.
31 lines • 860 B
TypeScript
/**
* Git-related utility functions
*/
import * as child_process from 'child_process';
declare const exec: typeof child_process.exec.__promisify__;
/**
* Execute a command safely using spawn to prevent command injection
*/
export declare function safeExec(command: string, args: string[], options?: {
cwd?: string;
}): Promise<{
stdout: string;
stderr: string;
}>;
/**
* Execute a command using exec (use only for trusted input)
*/
export { exec };
/**
* Get current git branch
*/
export declare function getCurrentGitBranch(cwd: string): Promise<string>;
/**
* Get current git commit hash
*/
export declare function getCurrentGitCommit(cwd: string): Promise<string>;
/**
* Check if git repository has uncommitted changes
*/
export declare function hasUncommittedChanges(cwd: string): Promise<boolean>;
//# sourceMappingURL=git.d.ts.map