Introduce compile-time registration capabilities with source generation, enabling automatic handler registration.