from pydantic_settings import BaseSettings, SettingsConfigDict from pathlib import Path class Settings(BaseSettings): model_config = SettingsConfigDict(env_prefix="XCCLAW_") opencode_host: str = "127.0.0.1" opencode_port: int = 4096 opencode_password: str = "" app_host: str = "0.0.0.0" app_port: int = 3005 data_dir: Path = Path.home() / "Documents" / "XCDesktop" / "xcclaw" settings = Settings()