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

15 lines 866 B
import React from 'react'; import type { ToolManager } from '../tools/tool-manager.js'; import type { ToolCall, ToolResult } from '../types/index.js'; /** * Display tool result with proper formatting * Extracted to eliminate duplication between useChatHandler and useToolHandler * * @param toolCall - The tool call that was executed * @param result - The result from tool execution * @param toolManager - The tool manager instance (for formatters) * @param addToChatQueue - Function to add components to chat queue * @param getNextComponentKey - Function to generate unique React keys */ export declare function displayToolResult(toolCall: ToolCall, result: ToolResult, toolManager: ToolManager | null, addToChatQueue: (component: React.ReactNode) => void, getNextComponentKey: () => number): Promise<void>; //# sourceMappingURL=tool-result-display.d.ts.map