"""SOAGILA database layer — SQLite + in-memory stores.

Components:
- sqlite_init: Schema creation, connection management (replaces PostgreSQL)
- memory_store: In-memory working memory with TTL (replaces Redis)
- event_bus: Local pub/sub event system (replaces Redis pub/sub)
"""

from soagila.db.sqlite_init import get_db, init_database, close_db
from soagila.db.memory_store import store as wm_store, get as wm_get, get_all as wm_get_all
from soagila.db.event_bus import publish_event

__all__ = ["get_db", "init_database", "close_db", "publish_event", "wm_store", "wm_get", "wm_get_all"]
