@nanocollective/nanocoder
Version:
A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter
24 lines • 754 B
TypeScript
import { EventEmitter } from 'node:events';
export interface BashExecutionState {
executionId: string;
command: string;
outputPreview: string;
fullOutput: string;
stderr: string;
isComplete: boolean;
exitCode: number | null;
error: string | null;
}
export declare class BashExecutor extends EventEmitter {
private executions;
execute(command: string): {
executionId: string;
promise: Promise<BashExecutionState>;
};
cancel(executionId: string): boolean;
getState(executionId: string): BashExecutionState | undefined;
hasActiveExecutions(): boolean;
getActiveExecutionIds(): string[];
}
export declare const bashExecutor: BashExecutor;
//# sourceMappingURL=bash-executor.d.ts.map