import { ClipSenseClient } from './dist/client.js';
const VIDEO_PATH = '/Users/jerlitaburanday/Downloads/ScreenRecording_11-25-2025 12.MP4';
const API_KEY = 'cs_sk_runaway_89ef42482bf7754eb7a7929738cb05d4';
const DETAILED_QUESTION = `ANALYZE RUNAWAY DYNAMIC INTERFACE EVASION BUG
=== CONTEXT ===
RunAway is a teen safety feature where icons/messages from risky accounts (strangers, risky adults) physically MOVE AWAY when tapped, preventing teens from engaging with dangerous content.
=== EXPECTED BEHAVIOR ===
Risky account rows/buttons should:
- MOVE AWAY using React Native Reanimated 2 animations when tapped
- Slide away at 60fps with spring physics
- Accounts: "risky_adult_account" (⚠️) and "unknown_stranger" (❓)
=== THE BUG ===
Icons/messages NOT moving when tapped - staying completely stationary.
=== ANALYZE WITH TIMESTAMPS ===
1. When do taps occur on risky accounts?
2. Do icons/messages MOVE at all or stay static?
3. Visible warnings/symbols (⚠️❓)?
4. ANY animations working (scrolling, transitions)?
5. WHY is evasion broken (visible root cause)?
6. Recommended fix?
Known issue: WorkletsError prevents React Native Reanimated from working.`;
async function main() {
console.log('🎬 RUNAWAY EVASION BUG ANALYSIS\n');
const client = new ClipSenseClient(API_KEY);
const result = await client.analyzeVideo(VIDEO_PATH, DETAILED_QUESTION);
console.log('✅ ANALYSIS COMPLETE\n');
console.log(result.analysis);
console.log(`\nJob: ${result.jobId}`);
}
main().catch(e => {
console.error('Error:', e.message);
process.exit(1);
});