This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator/agent-team/agent_team/confluence/__init__.py

30 lines
797 B
Python
Raw Normal View History

"""Confluence client seam for the durable doc-update pipeline.
Ports the OAuth/Basic auth seam from the security-review bash checker
(``checkers/confluence-doc.sh``) into a typed, dependency-injectable
:class:`~agent_team.confluence.client.ConfluenceClient`. The HTTP transport is
a protocol so unit tests inject an in-memory fake (no live network), and
``update_page`` defaults to dry-run so a planned change is producible without
mutating Confluence.
"""
from agent_team.confluence.client import (
ConfluenceAuth,
ConfluenceClient,
ConfluenceError,
HttpClient,
PlannedPageUpdate,
body_diff,
init_auth,
)
__all__ = [
"ConfluenceAuth",
"ConfluenceClient",
"ConfluenceError",
"HttpClient",
"PlannedPageUpdate",
"body_diff",
"init_auth",
]