"import json\nimport ast\n\npath = r'C:\\Users\\Administrator\\.gemini\\antigravity\\brain\\327d3213-7dbe-4e2f-8b35-a9350c4947ca\\.system_generated\\logs\\transcript.jsonl'\ntarget_home = 'templates/marketing/home.html'\ntarget_features = 'templates/marketing/features.html'\ntarget_pricing = 'templates/marketing/pricing.html'\n\nfor target_file in [target_home, target_features, target_pricing]:\n found = False\n for line in open(path, 'r', encoding='utf-8'):\n if target_file in line:\n try:\n step = json.loads(line)\n if step.get('type') == 'PLANNER_RESPONSE':\n for tc in step.get('tool_calls', []):\n if tc['name'] == 'write_to_file':\n args = tc['args']\n if target_file in args.get('TargetFile', ''):\n content = args.get('CodeContent', '')\n if content.startswith('\"'):\n content = ast.literal_eval(content)\n \n # Write directly to the actual path to recover it!\n with open(target_file, 'w', encoding='utf-8') as out:\n out.write(content)\n print(f'Recovered {target_file}')\n found = True\n break\n except Exception as e:\n pass\n if found:\n break\n"