"""Configuration module for nanobot."""

from nanobot.config.errors import ConfigIssue, ConfigLoadError
from nanobot.config.loader import get_config_path, load_config
from nanobot.config.paths import (
    get_cli_history_path,
    get_cron_dir,
    get_data_dir,
    get_legacy_sessions_dir,
    get_logs_dir,
    get_media_dir,
    get_runtime_subdir,
    get_webui_dir,
    get_workspace_path,
    is_default_workspace,
)
from nanobot.config.schema import Config

__all__ = [
    "Config",
    "ConfigIssue",
    "ConfigLoadError",
    "load_config",
    "get_config_path",
    "get_data_dir",
    "get_runtime_subdir",
    "get_media_dir",
    "get_cron_dir",
    "get_logs_dir",
    "get_webui_dir",
    "get_workspace_path",
    "is_default_workspace",
    "get_cli_history_path",
    "get_legacy_sessions_dir",
]
