"""Stub: resolve_openclaw_config_path — finds openclaw.json on the user's machine."""

from pathlib import Path
from typing import Optional


def resolve_openclaw_config_path() -> Optional[Path]:
    """Return the path to openclaw.json if it exists, otherwise None."""
    candidates = [
        Path.home() / ".openclaw" / "openclaw.json",
    ]
    for c in candidates:
        if c.exists():
            return c
    return None
