UNPKG

@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

19 lines 781 B
import { type BashExecutionState } from '../services/bash-executor.js'; import type { NanocoderToolExport } from '../types/core.js'; /** * Execute a bash command using the bash executor service. * This is the internal implementation used by both the tool and direct !command mode. * * @param command - The bash command to execute * @returns Object containing executionId and promise for the result */ export declare function executeBashCommand(command: string): { executionId: string; promise: Promise<BashExecutionState>; }; /** * Format bash execution result for LLM context */ export declare function formatBashResultForLLM(result: BashExecutionState): string; export declare const executeBashTool: NanocoderToolExport; //# sourceMappingURL=execute-bash.d.ts.map