"""PristonTale EU Linux diagnostic harness and shared binary helpers.""" from typing import TYPE_CHECKING, Any if TYPE_CHECKING: from .config import AppConfig, ConfigError, load_config __all__ = ["AppConfig", "ConfigError", "load_config"] __version__ = "0.1.0" def __getattr__(name: str) -> Any: """Load diagnostic configuration helpers only when the full harness needs them. The production launcher ships only :mod:`ptdiag.assbin`, which it uses for verified scene handling. Deferring the larger diagnostic-only imports keeps the compact package importable without shipping the investigation harness. """ if name in {"AppConfig", "ConfigError", "load_config"}: from .config import AppConfig, ConfigError, load_config return { "AppConfig": AppConfig, "ConfigError": ConfigError, "load_config": load_config, }[name] raise AttributeError(f"module {__name__!r} has no attribute {name!r}")