Command exited with code 0. Command output: 60:def fmt_msg(title: str, body: str, error: bool = False, success: bool = False) -> str: 99:def parse_sim_choice(text: str) -> Optional[str]: 109:def ts() -> str: 113:def log(msg: str) -> None: 117:def atomic_write_json(path: Path, payload: dict[str, Any]) -> None: 133:def load_json(path: Path) -> dict[str, Any]: 138:def normalize_phone(value: str) -> str: 146:def normalize_firebase_url(raw: str) -> str: 163:def parse_int(value: Any, default: int = 0) -> int: 170:def normalize_peer_id_text(value: Any) -> str: 181:def reply_kb(rows: list[list[str]]) -> ReplyKeyboardMarkup: 186:class Workspace: 236: def path(self) -> Path: 240: def session_path(self) -> Path: 246: def has_session(self) -> bool: 249: def touch(self) -> None: 252: def to_dict(self) -> dict[str, Any]: 259: def from_dict(cls, user_id: str, payload: dict[str, Any]) -> "Workspace": 291: def blank(cls, user_id: str, default_fcm_url: str = DEFAULT_FCM_URL) -> "Workspace": 295:class BridgeService: 296: def __init__(self, global_cfg: dict[str, Any]): 335: def is_admin(self, user_id: str | int) -> bool: 339: def lock_for(self, user_id: str) -> asyncio.Lock: 346: def workspace_path(self, user_id: str) -> Path: 349: def load_workspace(self, user_id: str) -> Workspace: 369: def _create_workspace_from_legacy(self, user_id: str) -> Workspace: 395: def save_workspace(self, ws: Workspace) -> None: 400: def _workspace_menu(self, ws: Workspace) -> ReplyKeyboardMarkup: 411: def _workspace_fcm_menu(self, ws: Workspace) -> ReplyKeyboardMarkup: 416: def _paginate_list(self, items: list[str], page: int, page_size: int = 60) -> tuple[list[str], int, int]: 425: def _build_paginated_keyboard( 444: async def send_paginated_list( 465: def _is_menu_action(self, text: str) -> bool: 486: async def _restart_bot_client(self) -> None: 530: async def _watchdog_loop(self) -> None: 555: async def _send_http_fallback(self, target: str | int, text: str, keyboard: Optional[Any] = None) -> Optional[Any]: 585: async def _http_pin_message(self, chat_id: int | str, message_id: int) -> bool: 596: async def _http_unpin_message(self, chat_id: int | str, message_id: Optional[int] = None) -> bool: 609: async def send(self, chat_id: str | int, text: str, keyboard: Optional[Any] = None): 635: async def send_menu(self, ws: Workspace, text: str = "👋 Menu:") -> None: