UNPKG

codecrucible-synth

Version:

Production-Ready AI Development Platform with Multi-Voice Synthesis, Smithery MCP Integration, Enterprise Security, and Zero-Timeout Reliability

33 lines (31 loc) â€ĸ 928 B
export interface CLIOutputManager { outputError: (message: string, exitCode?: number) => void; outputInfo: (message: string) => void; outputDebug: (message: string) => void; outputProgress: (message: string) => void; configure: (options: Record<string, unknown>) => void; } export function createCLIOutputManager(): CLIOutputManager { return { outputError: (message: string, exitCode?: number) => { console.error('❌', message); if (exitCode !== undefined) { process.exit(exitCode); } }, outputInfo: (message: string) => { console.log('â„šī¸', message); }, outputDebug: (message: string) => { if (process.env.DEBUG) { console.log('🔍', message); } }, outputProgress: (message: string) => { console.log('âŗ', message); }, configure: (_options: Record<string, unknown>) => { // Configuration logic }, }; }