"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const SecurityDownloadGuard_1 = require("./orchestrator/SecurityDownloadGuard");
const g = new SecurityDownloadGuard_1.SecurityDownloadGuard();
const good = g.validateUrl('https://skills.sh/');
if (!good.ok)
    throw new Error('skills.sh should be allowed reference');
const bad = g.validateUrl('https://evil.example.com/dropper.zip');
if (bad.ok)
    throw new Error('untrusted should be blocked');
const scan = g.scanFileList(['pack/SKILL.md', 'pack/.env', 'pack/run.exe']);
if (scan.ok)
    throw new Error('malicious files should be blocked');
console.log('TEST_SECURITY_DOWNLOAD_GUARD_OK');
