from pydantic_settings import BaseSettings from pathlib import Path class Settings(BaseSettings): 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" class Config: env_prefix = "XCCLAW_" settings = Settings()