 0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\browser-controller.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[DESKTOP ANALYSIS0_0  Inspecting active desktop state...\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[DESKTOP ANALYSIS0_0  Inspecting active desktop state...\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`- Foreground Window: \"${fg.title}\" (Process: ${fg.process})`);","replacementContent":"        logger.status(`- Foreground Window: \"${fg.title}\" (Process: ${fg.process})`);","allowMultiple":false},{"targetContent":"        console.log(`- Cursor Location: (${pos.x}, ${pos.y})`);","replacementContent":"        logger.status(`- Cursor Location: (${pos.x}, ${pos.y})`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[32m[APPLICATION RESTORED0_0  Active window now: \"${restoredFg.title}\" (${restoredFg.process})\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[32m[APPLICATION RESTORED0_0  Active window now: \"${restoredFg.title}\" (${restoredFg.process})\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[BROWSER0_0  Ensuring browser is focused and navigating to ${targetUrl}...\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[BROWSER0_0  Ensuring browser is focused and navigating to ${targetUrl}...\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[36m[BROWSER0_0  Launching Edge browser on CDP port 9222...\\x1b[0m`);","replacementContent":"            logger.debug(`\\x1b[36m[BROWSER0_0  Launching Edge browser on CDP port 9222...\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m✓ MILESTONE 1 VERIFIED: Real browser foregrounded, URL \"${pageState.url}\" loaded, Title \"${pageState.title}\"\\x1b[0m`);","replacementContent":"        logger.user(`\\x1b[32m✓ MILESTONE 1 VERIFIED: Real browser foregrounded, URL \"${pageState.url}\" loaded, Title \"${pageState.title}\"\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[MULTI-STAGE SCROLL & CAPTURE0_0  Performing stage-by-stage scroll and capturing screenshots...\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[MULTI-STAGE SCROLL & CAPTURE0_0  Performing stage-by-stage scroll and capturing screenshots...\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[32m✓ Page Scroll Stage ${stage}/${scrollStages} captured & transmitted to Firebase/AI\\x1b[0m`);","replacementContent":"            logger.user(`\\x1b[32m✓ Page Scroll Stage ${stage}/${scrollStages} captured & transmitted to Firebase/AI\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[36m[GOAL0_0  Understanding request via Codez48 AI...\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[36m[GOAL0_0  Understanding request via Codez48 AI...\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.error(`\\x1b[31m[AI REASONING NOTICE0_0  ${e.message}\\x1b[0m`);","replacementContent":"            logger.error(`\\x1b[31m[AI REASONING NOTICE0_0  ${e.message}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\n\\x1b[36m[PILOT0_0  Starting task: \"${goal}\"...\\x1b[0m`);","replacementContent":"        logger.status(`\\n\\x1b[36m[PILOT0_0  Starting task: \"${goal}\"...\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[BROWSER0_0  Opening browser for ${targetUrl}...\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[BROWSER0_0  Opening browser for ${targetUrl}...\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\n\\x1b[35m[AUTONOMOUS BROWSER AGENT STEP ${stepCount}/${maxSteps}0_0 \\x1b[0m`);","replacementContent":"            logger.status(`\\n\\x1b[35m[AUTONOMOUS BROWSER AGENT STEP ${stepCount}/${maxSteps}0_0 \\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[36m[PAGE0_0  Reading current page...\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[36m[PAGE0_0  Reading current page...\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`[GOAL ENGINE0_0  Currently on Search Results page. Dynamically analyzing search results for target link...`);","replacementContent":"                logger.status(`[GOAL ENGINE0_0  Currently on Search Results page. Dynamically analyzing search results for target link...`);","allowMultiple":false},{"targetContent":"                console.log(`[GOAL ENGINE0_0  Dynamically resolved result link in search results: \"${resultLink.name}\" (${resultLink.id})`);","replacementContent":"                logger.status(`[GOAL ENGINE0_0  Dynamically resolved result link in search results: \"${resultLink.name}\" (${resultLink.id})`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[33m[TARGET RESOLUTION - FRESH STEP0_0  Target: ${elName} (Role: ${elRole})\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[33m[TARGET RESOLUTION - FRESH STEP0_0  Target: ${elName} (Role: ${elRole})\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[36m[TELEMETRY0_0  Capturing and transmitting screen + DOM + HTML state to Firebase Monitor...\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[36m[TELEMETRY0_0  Capturing and transmitting screen + DOM + HTML state to Firebase Monitor...\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m[VISIBLE0_0  Target already visible in top viewport\\x1b[0m`);","replacementContent":"                logger.user(`\\x1b[32m[VISIBLE0_0  Target already visible in top viewport\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m[SCROLL0_0  Not required\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[32m[SCROLL0_0  Not required\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[33m[TARGET0_0  Target is outside viewport\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[33m[TARGET0_0  Target is outside viewport\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[36m[SCROLL0_0  Moving toward target...\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[36m[SCROLL0_0  Moving toward target...\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[35m[POSITION0_0  Calculating live target position: Screen (${screenCoords.join(', ')})\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[35m[POSITION0_0  Calculating live target position: Screen (${screenCoords.join(', ')})\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[36m[CURSOR0_0  Moving to target...\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[36m[CURSOR0_0  Moving to target...\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[36m[VERIFY0_0  Checking result...\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[36m[VERIFY0_0  Checking result...\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.error(`\\x1b[31m[VERIFICATION FAILED0_0  Expected state transition was not proven (Status: ${verification.status}). Task FAILED.\\x1b[0m`);","replacementContent":"                logger.error(`\\x1b[31m[VERIFICATION FAILED0_0  Expected state transition was not proven (Status: ${verification.status}). Task FAILED.\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m✓ Final Target Website Reached: ${targetUrl} (Title: \"${pageState.title}\")\\x1b[0m`);","replacementContent":"                logger.user(`\\x1b[32m✓ Final Target Website Reached: ${targetUrl} (Title: \"${pageState.title}\")\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[SUCCESS0_0  Task completed.\\x1b[0m\\n`);","replacementContent":"        logger.user(`\\x1b[32m[SUCCESS0_0  Task completed.\\x1b[0m\\n`);","allowMultiple":false},{"targetContent":"    console.log(`\\x1b[32m${msg}\\x1b[0m`);","replacementContent":"    logger.status(`\\x1b[32m${msg}\\x1b[0m`);","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\browser-overlay-layer.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[WELCOME OVERLAY0_0  ${titleText}: ${statusMsg}\\x1b[0m`);","replacementContent":"        logger.user(`\\x1b[32m[WELCOME OVERLAY0_0  ${titleText}: ${statusMsg}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32m[HUD OVERLAY0_0  ${statusText}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[32m[HUD OVERLAY0_0  ${statusText}\\x1b[0m`);","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\browser-state-machine.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"            console.error(`\\x1b[31m[STATE MACHINE ERROR0_0  Unknown state: ${newState}\\x1b[0m`);","replacementContent":"            logger.error(`\\x1b[31m[STATE MACHINE ERROR0_0  Unknown state: ${newState}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[35m[BROWSER STATE TRANSITION0_0  ${newState}${details ? ' - ' + details : ''}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[35m[BROWSER STATE TRANSITION0_0  ${newState}${details ? ' - ' + details : ''}\\x1b[0m`);","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\coordinate-mapper.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[35m[COORDINATE MAPPING0_0  Screenshot (${screenshotX}, ${screenshotY}) -> Normalized (${normalizedX.toFixed(2)}, ${normalizedY.toFixed(2)}) -> Physical (${physicalX}, ${physicalY}) -> Windows Mouse (${screenX}, ${screenY}) [DPR: ${dpr}, Scaling: ${scaling}0_0 \\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[35m[COORDINATE MAPPING0_0  Screenshot (${screenshotX}, ${screenshotY}) -> Normalized (${normalizedX.toFixed(2)}, ${normalizedY.toFixed(2)}) -> Physical (${physicalX}, ${physicalY}) -> Windows Mouse (${screenX}, ${screenY}) [DPR: ${dpr}, Scaling: ${scaling}0_0 \\x1b[0m`);","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\credential-handoff.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\element-resolver.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m[TIER 1 RESOLUTION - DOM MATCH0_0  Element ID ${targetSpec.elementId} resolved (${match.name})\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[32m[TIER 1 RESOLUTION - DOM MATCH0_0  Element ID ${targetSpec.elementId} resolved (${match.name})\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m[TIER 2 RESOLUTION - KEYBOARD FOCUS0_0  Active element \"${pageState.activeElement.name}\" matches target\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[32m[TIER 2 RESOLUTION - KEYBOARD FOCUS0_0  Active element \"${pageState.activeElement.name}\" matches target\\x1b[0m`);","allowMultiple":false},{"targetContent":"                        console.log(`\\x1b[32m[TIER 1 RESOLUTION - DOM MATCH0_0  Found element \"${el.name}\" (${el.role})\\x1b[0m`);","replacementContent":"                        logger.status(`\\x1b[32m[TIER 1 RESOLUTION - DOM MATCH0_0  Found element \"${el.name}\" (${el.role})\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`[TIER 1 RESOLUTION - DOM SEARCHBOX0_0  Resolved primary search input: \"${searchBox.name}\" (${searchBox.id})`);","replacementContent":"                logger.status(`[TIER 1 RESOLUTION - DOM SEARCHBOX0_0  Resolved primary search input: \"${searchBox.name}\" (${searchBox.id})`);","allowMultiple":false},{"targetContent":"                        console.log(`\\x1b[32m[TIER 3 RESOLUTION - MOUSE BOUNDS0_0  Found element \"${el.name}\" by role \"${elRole}\"\\x1b[0m`);","replacementContent":"                        logger.status(`\\x1b[32m[TIER 3 RESOLUTION - MOUSE BOUNDS0_0  Found element \"${el.name}\" by role \"${elRole}\"\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m[TIER 3 RESOLUTION - MOUSE BOUNDS0_0  First element matching role \"${targetRole}\": ${roleMatch.name}\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[32m[TIER 3 RESOLUTION - MOUSE BOUNDS0_0  First element matching role \"${targetRole}\": ${roleMatch.name}\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m[TIER 4 RESOLUTION - OCR GROUNDING0_0  Fuzzy matched \"${el.name}\" against \"${targetText}\"\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[32m[TIER 4 RESOLUTION - OCR GROUNDING0_0  Fuzzy matched \"${el.name}\" against \"${targetText}\"\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[33m[TIER 5 RESOLUTION - ROLE FALLBACK0_0  Using fallback element with matching role \"${targetRole}\": ${sameRoleFallback.name}\\x1b[0m`);","replacementContent":"                logger.status(`\\x1b[33m[TIER 5 RESOLUTION - ROLE FALLBACK0_0  Using fallback element with matching role \"${targetRole}\": ${sameRoleFallback.name}\\x1b[0m`);","allowMultiple":false},{"targetContent":"            console.log(`\\x1b[33m[TIER 5 RESOLUTION - COORDINATE FALLBACK0_0  Using fallback element: ${fallback.name}\\x1b[0m`);","replacementContent":"            logger.status(`\\x1b[33m[TIER 5 RESOLUTION - COORDINATE FALLBACK0_0  Using fallback element: ${fallback.name}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[TARGET VISIBILITY CHECK0_0  Element \"${element.name}\" (y = ${vpY}px) -> Visible in Viewport: ${isVisible ? 'YES (ZERO SCROLL)' : 'NO (SCROLL REQUIRED)'}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[TARGET VISIBILITY CHECK0_0  Element \"${element.name}\" (y = ${vpY}px) -> Visible in Viewport: ${isVisible ? 'YES (ZERO SCROLL)' : 'NO (SCROLL REQUIRED)'}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\n\\x1b[35m================ TARGET POSITION ================\\x1b[0m`);","replacementContent":"        logger.status(`\\n\\x1b[35m================ TARGET POSITION ================\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mTARGET ID: ${element.id}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36mTARGET ID: ${element.id}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mTARGET NAME: ${element.name}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36mTARGET NAME: ${element.name}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mTAG: ${element.tag || 'A'}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36mTAG: ${element.tag || 'A'}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mROLE: ${element.role}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36mROLE: ${element.role}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mDOCUMENT POSITION - pageX: ${vpX}, pageY: ${vpY}\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[36mDOCUMENT POSITION - pageX: ${vpX}, pageY: ${vpY}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mTARGET RECT - left: ${vpX - 40}, top: ${vpY - 20}, right: ${vpX + 40}, bottom: ${vpY + 20}, width: 80, height: 40\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[36mTARGET RECT - left: ${vpX - 40}, top: ${vpY - 20}, right: ${vpX + 40}, bottom: ${vpY + 20}, width: 80, height: 40\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mVIEWPORT POSITION - clientX: ${vpX}, clientY: ${vpY}\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[36mVIEWPORT POSITION - clientX: ${vpX}, clientY: ${vpY}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mCURRENT SCROLL - scrollX: 0, scrollY: 0\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[36mCURRENT SCROLL - scrollX: 0, scrollY: 0\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mVIEWPORT - width: 1280, height: 800\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[36mVIEWPORT - width: 1280, height: 800\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mDPR: 1.0\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36mDPR: 1.0\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36mCONTENT ORIGIN ON SCREEN - x: ${clientOrigin.x}, y: ${clientOrigin.y}\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[36mCONTENT ORIGIN ON SCREEN - x: ${clientOrigin.x}, y: ${clientOrigin.y}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[32mFINAL WINDOWS SCREEN TARGET - screenX: ${screenX}, screenY: ${screenY}\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[32mFINAL WINDOWS SCREEN TARGET - screenX: ${screenX}, screenY: ${screenY}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[33mSCROLL REQUIRED: ${scrollRequired ? 'YES' : 'NO'}\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[33mSCROLL REQUIRED: ${scrollRequired ? 'YES' : 'NO'}\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[35m=================================================\\x1b[0m\\n`);","replacementContent":"        logger.status(`\\x1b[35m=================================================\\x1b[0m\\n`);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[35m[DOM CHARACTER RANGE GEOMETRY0_0  Text: \"${element?.name}\" | Length: ${textLen} chars -> Range: (${startX}, ${startY}) -> (${endX}, ${endY})\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[35m[DOM CHARACTER RANGE GEOMETRY0_0  Text: \"${element?.name}\" | Length: ${textLen} chars -> Range: (${startX}, ${startY}) -> (${endX}, ${endY})\\x1b[0m`);","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\page-discovery.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[PAGE DISCOVERY0_0  Pre-inspecting URL structure via fetch: ${url}...\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[PAGE DISCOVERY0_0  Pre-inspecting URL structure via fetch: ${url}...\\x1b[0m`);","allowMultiple":false},{"targetContent":"                console.log(`\\x1b[32m✓ Page Discovery successful: Discovered ${links.length} static links.\\x1b[0m`);","replacementContent":"                logger.user(`\\x1b[32m✓ Page Discovery successful: Discovered ${links.length} static links.\\x1b[0m`);","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\page-observer.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[PAGE OBSERVER - LIVE CDP0_0  Observing live rendered DOM for: ${url}...\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[PAGE OBSERVER - LIVE CDP0_0  Observing live rendered DOM for: ${url}...\\x1b[0m`);","allowMultiple":false},{"targetContent":"                        console.log(`\\x1b[32m✓ Live CDP DOM Observed: Title=\"${pageState.title}\", Elements=${pageState.elements.length}, Headings=${pageState.headings.length}, HTML Length=${pageState.html.length} chars\\x1b[0m`);","replacementContent":"                        logger.user(`\\x1b[32m✓ Live CDP DOM Observed: Title=\"${pageState.title}\", Elements=${pageState.elements.length}, Headings=${pageState.headings.length}, HTML Length=${pageState.html.length} chars\\x1b[0m`);","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\page-state.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false}0_0 }0_0  0_0call:default_api:multi_replace_file_content{"absolutePath":"C:\\Users\\suriya prakash\\OneDrive\\Desktop\\codez48cli\\src\\pilot\\browser\\parallel-worker-discovery.js","replacementChunks":[{"targetContent":"/**","replacementContent":"const logger = require('../core/logger');\n/**","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[PARALLEL DISCOVERY0_0  Dividing viewport into spatial regions for goal: \"${goal}\"...\\x1b[0m`);","replacementContent":"        logger.debug(`\\x1b[36m[PARALLEL DISCOVERY0_0  Dividing viewport into spatial regions for goal: \"${goal}\"...\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\n[REGIONS SUMMARY0_0 `);","replacementContent":"        logger.status(`\\n[REGIONS SUMMARY0_0 `);","allowMultiple":false},{"targetContent":"                console.log(`Region ${r.id} (y: ${Math.round(r.minY)}-${Math.round(r.maxY)}px): ${r.candidates.length} candidates -> [${r.candidates.map(c => `${c.id}:${c.name}`).join(', ')}0_0 `);","replacementContent":"                logger.status(`Region ${r.id} (y: ${Math.round(r.minY)}-${Math.round(r.maxY)}px): ${r.candidates.length} candidates -> [${r.candidates.map(c => `${c.id}:${c.name}`).join(', ')}0_0 `);","allowMultiple":false},{"targetContent":"        console.log(``);","replacementContent":"        logger.status(``);","allowMultiple":false},{"targetContent":"        console.log(`\\x1b[36m[PARALLEL WORKERS0_0  Launching ${activeRegions.length} parallel semantic AI workers...\\x1b[0m`);","replacementContent":"        logger.status(`\\x1b[36m[PARALLEL WORKERS0_0  Launching ${activeRegions.length} parallel semantic AI workers...\\x1b[0m`);","allowMultiple":false},{"targetContent":"        console.log(`\\n[PARALLEL WORKERS RESULTS0_0 `);","replacementContent":"        logger.status(`\\n[PARALLEL WORKERS RESULTS0_0 `);","allowMultiple":false},{"targetContent":"            console.log(`Worker ${res.region}: found=${res.found}, targetId=${res.targetId}, confidence=${res.confidence}`);","replacementContent":"            logger.status(`Worker ${res.region}: found=${res.found}, targetId=${res.targetId}, confidence=${res.confidence}`);","allowMultiple":false},{"targetContent":"                console.log(`\\n\\x1b[32m[WINNER SELECTED0_0  Region: ${winner.region} | Target ID: ${matchedElement.id} | Name: ${matchedElement.name} | Confidence: ${winner.confidence}\\x1b[0m\\n`);","replacementContent":"                logger.status(`\\n\\x1b[32m[WINNER SELECTED0_0  Region: ${winner.region} | Target ID: ${matchedElement.id} | Name: ${matchedElement.name} | Confidence: ${winner.confidence}\\x1b[0m\\n`);","allowMultiple":false}0_0 }0_0 