/** * CLI Mode Configuration * Configures agent behavior for CLI terminal and WeChat gateway contexts. * Includes environment awareness so the cloud agent understands it has * access to the local machine's filesystem and shell via MCP tools. */ /** * System prompt suffix for CLI mode — formatting only */ export declare const CLI_MODE_PROMPT = "\n[CLI Terminal Mode Active]\nYou are running in a CLI terminal environment. Follow these formatting rules:\n\nOUTPUT FORMAT:\n- Do NOT use markdown formatting (no **, *, #, ```, etc.)\n- Use plain text with appropriate spacing and line breaks\n- For code snippets, show as-is without code fences\n- For lists, use simple dashes (-) or numbers (1. 2. 3.)\n- For emphasis, use CAPS or [brackets] sparingly\n- Keep output concise and scannable\n\nSTRUCTURE:\n- Use blank lines to separate sections\n- Indent nested content with 2 spaces\n- Use --- for horizontal separators if needed\n- Keep line width under 80 characters when possible\n\nThis ensures optimal display in terminal interfaces.\n"; /** * Build the environment-awareness prompt that tells the cloud agent * about the local machine it's operating on. */ export declare function buildEnvironmentPrompt(channel?: string): string; /** * CLI mode options */ export interface CliModeOptions { /** Enable CLI-friendly output (no markdown) */ enabled: boolean; /** Stream raw text directly without buffering */ streamRaw: boolean; /** Current working directory of the CLI process */ cwd?: string; /** Operating system platform */ platform?: string; /** Hostname */ hostname?: string; /** Channel type: 'cli' | 'wechat' | 'gateway' */ channel?: string; } /** * Default CLI mode settings */ export declare const DEFAULT_CLI_MODE: CliModeOptions; /** * Create CLI mode configuration with full environment context */ export declare function createCliModeConfig(options?: Partial): CliModeOptions; /** * Check if CLI mode is active based on environment or options */ export declare function isCliModeActive(options?: Partial): boolean; /** * Check if raw streaming is enabled */ export declare function isRawStreamEnabled(options?: Partial): boolean; //# sourceMappingURL=cli-mode.d.ts.map