"""Constants for Jon's Pushover MCP Server."""
import os
# Timeouts
REQUEST_TIMEOUT: float = float(os.environ.get("REQUEST_TIMEOUT", "60.0"))
SHUTDOWN_TIMEOUT: float = 5.0
# Pagination defaults
DEFAULT_PAGINATION_LIMIT: int = 20
DEFAULT_PAGINATION_OFFSET: int = 0
# Pushover API
PUSHOVER_API_URL: str = "https://api.pushover.net/1/messages.json"
# Pushover priority levels
PUSHOVER_PRIORITY_MIN: int = -2 # Silent (no notification)
PUSHOVER_PRIORITY_MAX: int = 2 # Emergency (requires acknowledgment)
# Valid Pushover notification sounds
PUSHOVER_VALID_SOUNDS: list[str] = [
"pushover",
"bike",
"bugle",
"cashregister",
"classical",
"cosmic",
"falling",
"gamelan",
"incoming",
"intermission",
"magic",
"mechanical",
"pianobar",
"siren",
"spacealarm",
"tugboat",
"alien",
"climb",
"persistent",
"echo",
"updown",
"vibrate",
"none",
]