chore: include pre-built dist for github install
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export interface CommandMatch {
|
||||
fullMatch: string;
|
||||
command: string;
|
||||
start: number;
|
||||
end: number;
|
||||
}
|
||||
export declare function findEmbeddedCommands(text: string): CommandMatch[];
|
||||
@@ -0,0 +1 @@
|
||||
export declare function executeCommand(command: string): Promise<string>;
|
||||
@@ -0,0 +1,12 @@
|
||||
export interface CommandResult {
|
||||
exitCode: number;
|
||||
stdout?: string;
|
||||
stderr?: string;
|
||||
}
|
||||
export interface ExecuteHookOptions {
|
||||
forceZsh?: boolean;
|
||||
zshPath?: string;
|
||||
/** Timeout in milliseconds. Process is killed after this. Default: 30000 */
|
||||
timeoutMs?: number;
|
||||
}
|
||||
export declare function executeHookCommand(command: string, stdin: string, cwd: string, options?: ExecuteHookOptions): Promise<CommandResult>;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function getHomeDirectory(): string;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function resolveCommandsInText(text: string, depth?: number, maxDepth?: number): Promise<string>;
|
||||
@@ -0,0 +1,2 @@
|
||||
export declare function findZshPath(customZshPath?: string): string | null;
|
||||
export declare function findBashPath(): string | null;
|
||||
Reference in New Issue
Block a user