"""Desktop paired-state storage helper for Orchestra clients."""

from __future__ import annotations

from pathlib import Path

from ...core.storage import JsonFileSecureStorage


def default_desktop_state_path() -> Path:
    return Path.home() / ".config" / "iuve-connect-agent" / "desktop-state.json"


def desktop_secure_storage() -> JsonFileSecureStorage:
    return JsonFileSecureStorage(default_desktop_state_path())
