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

19 lines 1.08 kB
/** * The /compact command compresses message history to reduce context usage. * * Note: The actual command logic is handled in app-util.ts handleCompactCommand() * because it requires access to app state (messages, setMessages, provider, model) * that isn't available through the standard command handler interface. * * Available flags: * --aggressive - Aggressive compression mode (removes more content) * --conservative - Conservative compression mode (preserves more content) * --default - Default balanced compression mode * --preview - Show compression preview without applying * --restore - Restore messages from pre-compression backup * --auto-on - Enable auto-compact for this session * --auto-off - Disable auto-compact for this session * --threshold <n> - Set auto-compact threshold (50-95%) for this session */ export declare const compactCommand: import("../types/index.js").Command<void | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>; //# sourceMappingURL=compact.d.ts.map