#!/usr/bin/env ts-node import { RTMSBridge } from '../src/rtms-bridge'; async function runTestDemo(): Promise { console.log('๐Ÿงช Starting Tavus-Zoom RTMS Test Demo...'); const bridge = new RTMSBridge(true); // Test mode try { // Test with mock data await bridge.startBridge('test-meeting-uuid', 'test-rtms-stream-id', { replicaId: 'test-replica-id', personaId: 'test-persona-id', conversationalContext: 'Test conversation context', useTestKey: true }); console.log('โœ… Test demo started successfully'); // Stop after 5 seconds setTimeout(() => { try { bridge.stopBridge(); console.log('โœ… Test demo completed successfully'); process.exit(0); } catch (error) { console.error('โŒ Error stopping test demo:', error); process.exit(1); } }, 5000); } catch (error) { console.error('โŒ Test demo failed:', error); process.exit(1); } } runTestDemo();