p-doom/crowd-code-dataset-0.2 huggingface dataset:
[content] src/recording.ts (typescript)
    
    // Check and ensure consent before starting recording
    const hasUserConsent = await ensureConsent()
    if (!hasUserConsent) {
        logToOutput('Recording not started: User declined data collection consent', 'info')
        return
    }