Command exited with code 0. Command output: def workspace_path(self, user_id: str) -> Path: return USERS_DIR / f"{user_id}.json" def load_workspace(self, user_id: str) -> Workspace: user_id = str(user_id) if user_id in self.workspaces: return self.workspaces[user_id] path = self.workspace_path(user_id) if path.exists(): ws = Workspace.from_dict(user_id, load_json(path)) else: ws = self._create_workspace_from_legacy(user_id) self.save_workspace(ws) if not ws.session_base: ws.session_base = str(SESSIONS_DIR / user_id) if not ws.fcm_url: ws.fcm_url = self.default_fcm_url self.workspaces[user_id] = ws return ws def _create_workspace_from_legacy(self, user_id: str) -> Workspace: ws = Workspace.blank(user_id, self.default_fcm_url) if self.legacy_owner_id and user_id != self.legacy_owner_id: return ws legacy = self.cfg ws.phone = str(legacy.get("phone", "")).strip() ws.api_id = parse_int(legacy.get("api_id", 0), 0) ws.api_hash = str(legacy.get("api_hash", "")).strip() ws.session_base = str(LEGACY_SESSION_BASE) ws.active = bool(legacy.get("device_id", "")) ws.active_mode = str(legacy.get("active_mode", "fcm")) ws.device_id = str(legacy.get("device_id", "")).strip() ws.sim = str(legacy.get("sim", "0")) ws.group_id = normalize_peer_id_text(legacy.get("group_id", "")) ws.firebase_url = str(legacy.get("firebase_url", "")).strip() ws.active_fb_name = str(legacy.get("active_fb_name", "Unknown")) ws.saved_firebases = dict(legacy.get("saved_firebases", {}) or {}) ws.saved_groups = {str(k): normalize_peer_id_text(v) for k, v in dict(legacy.get("saved_groups", {}) or {}).items()} ws.forward_to = str(legacy.get("forward_to", "")).strip() ws.last_processed_ts = parse_int(legacy.get("last_processed_ts", 0), 0) ws.activation_ts = parse_int(legacy.get("activation_ts", 0), 0) ws.fcm_url = str(legacy.get("fcm_url", self.default_fcm_url)).strip() or self.default_fcm_url ws.payload_template = str(legacy.get("payload_template", "")).strip() return ws def save_workspace(self, ws: Workspace) -> None: ws.touch() atomic_write_json(ws.path, ws.to_dict()) self.workspaces[ws.user_id] = ws def _workspace_menu(self, ws: Workspace) -> ReplyKeyboardMarkup: