<?php
$logPath = 'C:/Users/HP/.gemini/antigravity-ide/brain/d31b1fe2-ad06-4c7a-9ab1-c82bd4c8dd20/.system_generated/logs/transcript.jsonl';
if (!file_exists($logPath)) {
    die("Log not found\n");
}
$handle = fopen($logPath, "r");
$idx = 0;
while (($line = fgets($handle)) !== false) {
    $idx++;
    if ($idx == 386 || $idx == 387 || $idx == 385) {
        echo "=== Step $idx ===\n";
        $data = json_decode($line, true);
        if ($data) {
            echo "Type: " . ($data['type'] ?? '') . "\n";
            echo "Content:\n" . ($data['content'] ?? '') . "\n";
        }
        echo "=================\n\n";
    }
}
fclose($handle);
