""" DEPRECATED - Superseded by monitor_live_events.py, which installs the same connector hook and then actually reads the events back. Kept so existing commands keep working; it forwards to the replacement. """ import runpy import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).resolve().parent)) print( "[deprecated] hook_amplitude.py now runs monitor_live_events.py - see its --help for options.", file=sys.stderr, ) sys.argv[0] = str(Path(__file__).resolve().parent / "monitor_live_events.py") runpy.run_module("monitor_live_events", run_name="__main__")