"""Compatibility facade for SDK imports.

The concrete persistence REST client now lives under the ``persistence`` package,
while the SDK continues importing ``storage`` to avoid churn in public modules.
"""

from persistence.backend import append_jsonl, normalize_tag, slugify, utc_now, write_json
from persistence.client import InvalidRunStateError, LocalSessionStore, RunNotFoundError, SessionStoreError

__all__ = [
    "InvalidRunStateError",
    "LocalSessionStore",
    "RunNotFoundError",
    "SessionStoreError",
    "append_jsonl",
    "normalize_tag",
    "slugify",
    "utc_now",
    "write_json",
]
