param(
    [string]$UnpackedRoot = "C:\workspace\cursor\output\vip-report\report-unpacked",
    [string]$OutputPath = "C:\workspace\cursor\output\vip-report\template-manifest.json"
)

$ErrorActionPreference = "Stop"
$root = Split-Path -Parent $PSScriptRoot

python "$root\scripts\extract_pptx_manifest.py" "$UnpackedRoot" --output "$OutputPath"
Get-Content -LiteralPath $OutputPath -Encoding UTF8 | Select-Object -First 80
