⚙️ Web Worker Event Processor

Background analysis of Claude Code hook events using Web Workers

📥 Load Hook Events

🔄 Worker Status

No worker initialized

📊 Analysis Results

Load event data and run analysis to see results

About This Tool

Purpose

Process large volumes of Claude Code hook events in the background using Web Workers. Analyze patterns, detect errors, compare agent behavior, and identify anomalies without blocking the UI.

Features

Web Research Integration

Source: MDN Web Workers API Documentation

Techniques Applied:

Usage

  1. Click "Load Sample Data" to test with example hook events, or upload your own JSON/JSONL file
  2. Select an analysis type (Pattern Detection, Error Correlation, etc.)
  3. Click "Start Analysis" to spawn a Web Worker and begin background processing
  4. Watch the progress bar update in real-time as the worker processes events
  5. Review results displayed in organized cards when analysis completes
  6. Try different analysis types to explore various insights

Hook Event Structure

Events follow this structure:

{
  "source_app": "demo-agent",
  "session_id": "abc123",
  "hook_event_type": "PreToolUse|PostToolUse|UserPromptSubmit|Notification|Stop|SubagentStop",
  "payload": {
    "tool_name": "Bash",
    "tool_input": {...},
    "tool_output": {...}
  },
  "timestamp": 1696867200000
}

Analysis Types