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

1"""External service clients for mala.

2

3 This package contains clients for external services:

4- anthropic_client: Shared Anthropic client factory

5- beads_client: BeadsClient wrapper for bd CLI

6- braintrust_integration: Braintrust tracing integration

7- cerberus_review: Cerberus review-gate adapter

8"""

9

10 from src.infra.clients.anthropic_client import create_anthropic_client

11 from src.infra.clients.beads_client import BeadsClient

12 from src.infra.clients.braintrust_integration import (

13 BraintrustProvider,

14 BraintrustSpan,

15 TracedAgentExecution,

16 flush_braintrust,

17 is_braintrust_enabled,

18)

19 from src.infra.clients.cerberus_review import (

20 DefaultReviewer,

21 format_review_issues,

22)

23 from src.infra.clients.review_output_parser import (

24 ReviewIssue,

25 ReviewResult,

26 map_exit_code_to_result,

27 parse_cerberus_json,

28)

29

30 __all__ = [

31 "BeadsClient",

32 "BraintrustProvider",

33 "BraintrustSpan",

34 "DefaultReviewer",

35 "ReviewIssue",

36 "ReviewResult",

37 "TracedAgentExecution",

38 "create_anthropic_client",

39 "flush_braintrust",

40 "format_review_issues",

41 "is_braintrust_enabled",

42 "map_exit_code_to_result",

43 "parse_cerberus_json",

44]