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

26 lines 740 B
import type { ToolCall } from '../../types/index.js'; /** * Generates a unique tool call ID */ export declare function generateToolCallId(): string; /** * Converts AI SDK tool call format to our ToolCall format */ export declare function convertAISDKToolCall(toolCall: { toolCallId?: string; toolName: string; input: unknown; }): ToolCall; /** * Converts multiple AI SDK tool calls to our ToolCall format */ export declare function convertAISDKToolCalls(toolCalls: Array<{ toolCallId?: string; toolName: string; input: unknown; }>): ToolCall[]; /** * Gets the tool result output as a string */ export declare function getToolResultOutput(output: unknown): string; //# sourceMappingURL=tool-converter.d.ts.map