@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
17 lines • 1.01 kB
TypeScript
import type React from 'react';
import type { ConversationStateManager } from '../../../app/utils/conversation-state.js';
import type { ToolManager } from '../../../tools/tool-manager.js';
import type { ToolCall, ToolResult } from '../../../types/core.js';
/**
* Executes tools directly without confirmation.
* Read-only tools in consecutive groups are executed in parallel.
* Non-read-only tools are executed sequentially to preserve ordering.
* Results are displayed in the original input order.
*
* @returns Array of tool results from executed tools
*/
export declare const executeToolsDirectly: (toolsToExecuteDirectly: ToolCall[], toolManager: ToolManager | null, conversationStateManager: React.MutableRefObject<ConversationStateManager>, addToChatQueue: (component: React.ReactNode) => void, getNextComponentKey: () => number, options?: {
compactDisplay?: boolean;
onCompactToolCount?: (toolName: string) => void;
}) => Promise<ToolResult[]>;
//# sourceMappingURL=tool-executor.d.ts.map