#!/usr/bin/env npx tsx
import { fileURLToPath as __fileURLToPath } from 'url';
import { dirname as __pathDirname } from 'path';
const __filename = __fileURLToPath(import.meta.url);
const __dirname = __pathDirname(__filename);
import "dotenv/config";
import { SwarmTUI } from "../src/features/tui/swarm-monitor.js";
import { logger } from "../src/core/monitoring/logger.js";
async function testSwarmTUI() {
  try {
    console.log("\u{1F9BE} Starting Swarm TUI Test...");
    const tui = new SwarmTUI();
    await tui.initialize();
    tui.start();
    console.log("TUI should now be running. Press q to quit.");
  } catch (error) {
    logger.error("TUI test failed", error);
    console.error("\u274C TUI test failed:", error.message);
    process.exit(1);
  }
}
testSwarmTUI();
//# sourceMappingURL=test-swarm-tui.js.map
