@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
11 lines • 517 B
TypeScript
import type { MessageSubmissionOptions } from '../../../types/index.js';
/**
* Parses a context limit value string, supporting k/K suffix.
* e.g. "8192" -> 8192, "128k" -> 128000, "128K" -> 128000
*/
export declare function parseContextLimit(value: string): number | null;
/**
* Handles /context-max command. Returns true if handled.
*/
export declare function handleContextMaxCommand(commandParts: string[], options: MessageSubmissionOptions): Promise<boolean>;
//# sourceMappingURL=context-max-handler.d.ts.map