Files
Saurav Panda 351163660c fix(extraction): extract IIFE from LLM output before CDP execution
When the JS codegen LLM prepends explanation text before the IIFE
(e.g. "Here is the script:\n(function(){...})()"), strip the preamble
to avoid CDP SyntaxError. Handles both (function and (async patterns.

Addresses ~1-2 eval failures where invalid JS caused confusing CDP
errors and wasted retry cycles.
2026-01-31 19:13:36 -08:00
..
2025-10-28 20:53:03 -07:00
2026-01-31 15:47:16 -08:00