 0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\core\\agent-controller.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('core/logger');\n/**\r","allowMultiple":false},{"targetContent":"            console.log('\\n\\x1b[36m[SUPERVISOR WORKFLOW0_0  Launching WhatsApp & Voice Automation...\\x1b[0m');\r","replacementContent":"            logger.status('\\n\\x1b[36m[SUPERVISOR WORKFLOW0_0  Launching WhatsApp & Voice Automation...\\x1b[0m');\r","allowMultiple":false},{"targetContent":"                console.log(`\\nAI: ${data.answer}\\n`);\r","replacementContent":"                logger.user(`\\nAI: ${data.answer}\\n`);\r","allowMultiple":false},{"targetContent":"                console.log(`\\nAI: ${localFallback}\\n`);\r","replacementContent":"                logger.user(`\\nAI: ${localFallback}\\n`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\n\\x1b[36mAnalyzing request...\\x1b[0m`);\r","replacementContent":"        logger.status(`\\n\\x1b[36mAnalyzing request...\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[33mAI provider: ${aiProvider}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[33mAI provider: ${aiProvider}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[33mProject type: ${adapter.name.toUpperCase()}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[33mProject type: ${adapter.name.toUpperCase()}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log('\\x1b[90mChecking environment tools...\\x1b[0m');\r","replacementContent":"        logger.status('\\x1b[90mChecking environment tools...\\x1b[0m');\r","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m  ✓ ${tool} (${status.version})\\x1b[0m`);\r","replacementContent":"                logger.user(`\\x1b[32m  ✓ ${tool} (${status.version})\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[31m  ✗ ${tool} not found\\x1b[0m`);\r","replacementContent":"                logger.status(`\\x1b[31m  ✗ ${tool} not found\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"            console.log(`\\n\\x1b[31m[MISSING RUNTIME/SDK0_0  Missing required tools: ${envReport.missing.join(', ')}\\x1b[0m`);\r","replacementContent":"            logger.status(`\\n\\x1b[31m[MISSING RUNTIME/SDK0_0  Missing required tools: ${envReport.missing.join(', ')}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"            console.log(`Please install ${envReport.missing.join(' and ')} on your system to proceed with ${adapter.name.toUpperCase()} projects.`);\r","replacementContent":"            logger.status(`Please install ${envReport.missing.join(' and ')} on your system to proceed with ${adapter.name.toUpperCase()} projects.`);\r","allowMultiple":false},{"targetContent":"            console.log(`\\n\\x1b[31m[ERROR0_0  AI service unavailable (${data?.error || 'Network offline'}).\\x1b[0m\\n`);\r","replacementContent":"            logger.status(`\\n\\x1b[31m[ERROR0_0  AI service unavailable (${data?.error || 'Network offline'}).\\x1b[0m\\n`);\r","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[33m[BOUNDED AI REPAIR ${repairAttempt}/${this.maxFixRetries}0_0  AI response returned no file code blocks. Requesting complete code generation...\\x1b[0m`);\r","replacementContent":"            logger.status(`\\x1b[33m[BOUNDED AI REPAIR ${repairAttempt}/${this.maxFixRetries}0_0  AI response returned no file code blocks. Requesting complete code generation...\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"            console.error(`\\n\\x1b[31m[ERROR0_0  Code generation failed. The AI provider did not return valid file content after ${this.maxFixRetries} attempts.\\x1b[0m\\n`);\r","replacementContent":"            logger.error(`\\n\\x1b[31m[ERROR0_0  Code generation failed. The AI provider did not return valid file content after ${this.maxFixRetries} attempts.\\x1b[0m\\n`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mPlanned files: ${data.actions.length}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[36mPlanned files: ${data.actions.length}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[32mGenerating: ${action.path}\\x1b[0m`);\r","replacementContent":"            logger.status(`\\x1b[32mGenerating: ${action.path}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mValidating generated files...\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[36mValidating generated files...\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"                    console.error(`\\x1b[31m[SYNTAX ERROR0_0  File '${action.path}' failed node --check:\\n${checkRes.stderr}\\x1b[0m`);\r","replacementContent":"                    logger.error(`\\x1b[31m[SYNTAX ERROR0_0  File '${action.path}' failed node --check:\\n${checkRes.stderr}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"                    console.error(`\\x1b[31m[SYNTAX ERROR0_0  File '${action.path}' failed python py_compile:\\n${checkRes.stderr}\\x1b[0m`);\r","replacementContent":"                    logger.error(`\\x1b[31m[SYNTAX ERROR0_0  File '${action.path}' failed python py_compile:\\n${checkRes.stderr}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mRunning tests...\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[36mRunning tests...\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[32mProject ready: ${activeDir}\\x1b[0m\\n`);\r","replacementContent":"            logger.user(`\\x1b[32mProject ready: ${activeDir}\\x1b[0m\\n`);\r","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[33m[MISSING DEPENDENCIES0_0  ${depReport.missing.join(', ')}\\x1b[0m`);\r","replacementContent":"            logger.status(`\\x1b[33m[MISSING DEPENDENCIES0_0  ${depReport.missing.join(', ')}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"                    console.log(`[INSTALLING0_0  ${installCmd}...`);\r","replacementContent":"                    logger.status(`[INSTALLING0_0  ${installCmd}...`);\r","allowMultiple":false},{"targetContent":"                    console.error(`[INSTALL FAILED0_0  ${e.message}`);\r","replacementContent":"                    logger.error(`[INSTALL FAILED0_0  ${e.message}`);\r","allowMultiple":false},{"targetContent":"                console.error(`[BUILD FAILED0_0  ${e.message}`);\r","replacementContent":"                logger.error(`[BUILD FAILED0_0  ${e.message}`);\r","allowMultiple":false},{"targetContent":"                    console.log(`\\x1b[36m[PYTHON EXECUTE0_0  Running: python ${entryPoint} --help\\x1b[0m`);\r","replacementContent":"                    logger.status(`\\x1b[36m[PYTHON EXECUTE0_0  Running: python ${entryPoint} --help\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"                        console.log(`\\x1b[32m[PYTHON OUTPUT0_0 \\n${output.substring(0, 500)}\\x1b[0m`);\r","replacementContent":"                        logger.status(`\\x1b[32m[PYTHON OUTPUT0_0 \\n${output.substring(0, 500)}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32mProject ready: ${activeDir}\\x1b[0m\\n`);\r","replacementContent":"        logger.user(`\\x1b[32mProject ready: ${activeDir}\\x1b[0m\\n`);\r","allowMultiple":false},{"targetContent":"            console.error(`\\x1b[31m[ACTION ERROR0_0  ${action.type}: ${e.message}\\x1b[0m`);\r","replacementContent":"            logger.error(`\\x1b[31m[ACTION ERROR0_0  ${action.type}: ${e.message}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[HANDOFF GENERATED0_0  RUN_AND_DEPLOY.txt created at: ${handoffPath}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32m[HANDOFF GENERATED0_0  RUN_AND_DEPLOY.txt created at: ${handoffPath}\\x1b[0m`);\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\core\\command-policy.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('core/logger');\n/**\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\core\\data-document-generator.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('core/logger');\n/**\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[EXCEL GENERATOR0_0  Successfully created Excel spreadsheet: ${resolvedPath}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32m[EXCEL GENERATOR0_0  Successfully created Excel spreadsheet: ${resolvedPath}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[JSON GENERATOR0_0  Successfully created JSON file: ${resolvedPath}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32m[JSON GENERATOR0_0  Successfully created JSON file: ${resolvedPath}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[TEXT GENERATOR0_0  Successfully created text file: ${resolvedPath}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32m[TEXT GENERATOR0_0  Successfully created text file: ${resolvedPath}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[DOCS GENERATOR0_0  Successfully created documentation report: ${resolvedPath}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32m[DOCS GENERATOR0_0  Successfully created documentation report: ${resolvedPath}\\x1b[0m`);\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\core\\environment-detector.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('core/logger');\n/**\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\core\\intent-classifier.js","replacementChunks":[{"targetContent":"const fetch = globalThis.fetch || require('node-fetch');\r","replacementContent":"const logger = require('core/logger');\nconst fetch = globalThis.fetch || require('node-fetch');\r","allowMultiple":false},{"targetContent":"        console.log(`\\n[INPUT RECEIVED0_0 `);\r","replacementContent":"        logger.status(`\\n[INPUT RECEIVED0_0 `);\r","allowMultiple":false},{"targetContent":"        console.log(`[INTENT: ${classification.intent}0_0 `);\r","replacementContent":"        logger.status(`[INTENT: ${classification.intent}0_0 `);\r","allowMultiple":false},{"targetContent":"        if (classification.sub_intent) console.log(`[SUB_INTENT: ${classification.sub_intent}0_0 `);\r","replacementContent":"        if (classification.sub_intent) logger.status(`[SUB_INTENT: ${classification.sub_intent}0_0 `);\r","allowMultiple":false},{"targetContent":"        if (classification.keywords && classification.keywords.length > 0) console.log(`[KEYWORDS: ${classification.keywords.join(', ')}0_0 `);\r","replacementContent":"        if (classification.keywords && classification.keywords.length > 0) logger.status(`[KEYWORDS: ${classification.keywords.join(', ')}0_0 `);\r","allowMultiple":false},{"targetContent":"        console.log(`[USER GOAL: ${classification.user_goal}0_0 `);\r","replacementContent":"        logger.status(`[USER GOAL: ${classification.user_goal}0_0 `);\r","allowMultiple":false},{"targetContent":"        console.log(`[WORKFLOW: ${classification.workflow || 'DEFAULT'}0_0 `);\r","replacementContent":"        logger.status(`[WORKFLOW: ${classification.workflow || 'DEFAULT'}0_0 `);\r","allowMultiple":false},{"targetContent":"        if (classification.target) console.log(`[TARGET: ${classification.target}0_0 `);\r","replacementContent":"        if (classification.target) logger.status(`[TARGET: ${classification.target}0_0 `);\r","allowMultiple":false},{"targetContent":"        console.log(`[STATUS: EXECUTING0_0 `);\r","replacementContent":"        logger.status(`[STATUS: EXECUTING0_0 `);\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\core\\process-manager.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('core/logger');\n/**\r","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[36m[INPUT PROVIDED0_0  ${input}\\x1b[0m`);\r","replacementContent":"            logger.status(`\\x1b[36m[INPUT PROVIDED0_0  ${input}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\n\\x1b[34m[PROCESS START0_0  ${command}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\n\\x1b[34m[PROCESS START0_0  ${command}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[90mWorking dir: ${cwd} (Environment PORT=${freePort})\\x1b[0m\\n`);\r","replacementContent":"        logger.status(`\\x1b[90mWorking dir: ${cwd} (Environment PORT=${freePort})\\x1b[0m\\n`);\r","allowMultiple":false},{"targetContent":"                console.log(`\\n\\x1b[33m[PROCESS EXITED0_0  Code: ${code}\\x1b[0m`);\r","replacementContent":"                logger.status(`\\n\\x1b[33m[PROCESS EXITED0_0  Code: ${code}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"            console.error(`\\x1b[31m[PROCESS ERROR0_0  ${err.message}\\x1b[0m`);\r","replacementContent":"            logger.error(`\\x1b[31m[PROCESS ERROR0_0  ${err.message}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"                    console.log(`\\x1b[32m[PORT DETECTED0_0  Server listening on port ${port}\\x1b[0m`);\r","replacementContent":"                    logger.debug(`\\x1b[32m[PORT DETECTED0_0  Server listening on port ${port}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[33m[STOPPING PROCESS0_0  PID: ${this.activeProcess.pid}\\x1b[0m`);\r","replacementContent":"                logger.debug(`\\x1b[33m[STOPPING PROCESS0_0  PID: ${this.activeProcess.pid}\\x1b[0m`);\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\3d\\3d-capability-analyzer.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('../core/logger');\n/**\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\3d\\3d-final-verifier.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('../core/logger');\n/**\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[3D FINAL VERIFIER0_0  Verifying 3D artifact for subject: \"${scenePlan.subject}\"...\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[36m[3D FINAL VERIFIER0_0  Verifying 3D artifact for subject: \"${scenePlan.subject}\"...\\x1b[0m`);\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\3d\\3d-workflow-executor.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('../core/logger');\n/**\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[3D WORKFLOW EXECUTOR0_0  Executing 3D workflow for goal: \"${goal}\"...\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[36m[3D WORKFLOW EXECUTOR0_0  Executing 3D workflow for goal: \"${goal}\"...\\x1b[0m`);\r","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\3d\\adapters\\blender-adapter.js","replacementChunks":[{"targetContent":"/**\r","replacementContent":"const logger = require('../../core/logger');\n/**\r","allowMultiple":false},{"targetContent":"        console.log(`\\n\\x1b[36m[3D BLENDER ADAPTER0_0  Initializing Blender workflow for: \"${scenePlan.subject}\"...\\x1b[0m`);\r","replacementContent":"        logger.status(`\\n\\x1b[36m[3D BLENDER ADAPTER0_0  Initializing Blender workflow for: \"${scenePlan.subject}\"...\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32mBLENDER DETECTED : ${blenderInfo?.discovered ? 'YES' : 'NO'}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32mBLENDER DETECTED : ${blenderInfo?.discovered ? 'YES' : 'NO'}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32mBLENDER PATH     : ${blenderExe}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32mBLENDER PATH     : ${blenderExe}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32mBLENDER VERSION  : ${blenderInfo?.version || 'Blender 3D'}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[32mBLENDER VERSION  : ${blenderInfo?.version || 'Blender 3D'}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[3D0_0  Executing Blender Python scene builder script...\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[36m[3D0_0  Executing Blender Python scene builder script...\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[3D0_0  Launching visible Blender window loading: ${blendFilePath}\\x1b[0m`);\r","replacementContent":"        logger.status(`\\x1b[36m[3D0_0  Launching visible Blender window loading: ${blendFilePath}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\n\\x1b[32m=========================================\\x1b[0m`);\r","replacementContent":"        logger.status(`\\n\\x1b[32m=========================================\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m✓ Task:         CREATE_3D_MODEL\\x1b[0m`);\r","replacementContent":"        logger.user(`\\x1b[32m✓ Task:         CREATE_3D_MODEL\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m✓ App:          Blender 3D\\x1b[0m`);\r","replacementContent":"        logger.user(`\\x1b[32m✓ App:          Blender 3D\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m✓ Subject:      ${scenePlan.subject}\\x1b[0m`);\r","replacementContent":"        logger.user(`\\x1b[32m✓ Subject:      ${scenePlan.subject}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m✓ Project Dir:  ${activeDir}\\x1b[0m`);\r","replacementContent":"        logger.user(`\\x1b[32m✓ Project Dir:  ${activeDir}\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m✓ .blend File:  ${blendFilePath} (${fs.statSync(blendFilePath).size} bytes)\\x1b[0m`);\r","replacementContent":"        logger.user(`\\x1b[32m✓ .blend File:  ${blendFilePath} (${fs.statSync(blendFilePath).size} bytes)\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m✓ DNA1 Block:   Verified Valid Binary Header\\x1b[0m`);\r","replacementContent":"        logger.user(`\\x1b[32m✓ DNA1 Block:   Verified Valid Binary Header\\x1b[0m`);\r","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m=========================================\\x1b[0m\\n`);\r","replacementContent":"        logger.status(`\\x1b[32m=========================================\\x1b[0m\\n`);\r","allowMultiple":false}0_0 }0_0 