Coverage for src/infra/io/__init__.py: 100%

1"""I/O utilities for mala.

2

3 This package contains:

4- config: MalaConfig dataclass for configuration management

5- event_sink: MalaEventSink protocol and implementations

6- session_log_parser: JSONL log file parsing

7- log_output/: Console logging and run metadata

8"""

9

10 from src.core.protocols import EventRunConfig, MalaEventSink

11 from src.infra.io.base_sink import BaseEventSink, NullEventSink

12 from src.infra.io.config import ConfigurationError, MalaConfig

13 from src.infra.io.console_sink import ConsoleEventSink

14 from src.infra.io.session_log_parser import (

15 FileSystemLogProvider,

16 JsonlEntry,

17 SessionLogParser,

18)

19

20 __all__ = [

21 "BaseEventSink",

22 "ConfigurationError",

23 "ConsoleEventSink",

24 "EventRunConfig",

25 "FileSystemLogProvider",

26 "JsonlEntry",

27 "MalaConfig",

28 "MalaEventSink",

29 "NullEventSink",

30 "SessionLogParser",

31]