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

18 lines 666 B
import React from 'react'; import type { Command, Message } from './types/index.js'; declare class CommandRegistry { private commands; register(command: Command | Command[]): void; get(name: string): Command | undefined; getAll(): Command[]; getCompletions(prefix: string): string[]; execute(input: string, messages: Message[], metadata: { provider: string; model: string; tokens: number; getMessageTokens: (message: Message) => number; }): Promise<void | string | React.ReactNode>; } export declare const commandRegistry: CommandRegistry; export { CommandRegistry }; //# sourceMappingURL=commands.d.ts.map