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

7 lines 707 B
import type { ChatHandlerReturn, UseChatHandlerProps } from './types.js'; /** * Main chat handler hook that manages LLM conversations and tool execution. * Orchestrates streaming responses, tool calls, and conversation state. */ export declare function useChatHandler({ client, toolManager, customCommandLoader, messages, setMessages, currentProvider, currentModel, setIsCancelling, addToChatQueue, getNextComponentKey, abortController, setAbortController, developmentMode, nonInteractiveMode, onStartToolConfirmationFlow, onConversationComplete, compactToolDisplayRef, onSetCompactToolCounts, compactToolCountsRef, }: UseChatHandlerProps): ChatHandlerReturn; //# sourceMappingURL=useChatHandler.d.ts.map