from __future__ import annotations

from dataclasses import dataclass


@dataclass
class AgentState:
    """Persisted passive-only agent identity state."""

    device_id: str
    device_auth_token: str
    heartbeat_secret: str


@dataclass
class PairingOutcome:
    """Result of a passive pairing attempt."""

    ok: bool
    status: str
    detail: str
    device_id: str | None = None
