@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 • 778 B
JavaScript
import { createStubCommand } from '../commands/create-stub-command.js';
/**
* The /context-max command sets the maximum context length for the current session.
*
* Note: The actual command logic is handled in app-util.ts handleContextMaxCommand()
* because it requires access to app state that isn't available through the standard
* command handler interface.
*
* Usage:
* /context-max <number> - Set context limit (supports k/K suffix, e.g. 128k)
* /context-max - Show current effective context limit
* /context-max --reset - Clear session override
*/
export const contextMaxCommand = createStubCommand('context-max', 'Set maximum context length for this session (e.g. /context-max 128k, --reset to clear)');
//# sourceMappingURL=context-max.js.map