# -*- coding: utf-8 -*-
"""Recent project persistence helpers."""

from typing import List

def load_recent_projects() -> List[str]:
    """加载最近打开的项目路径列表（来自软件配置）"""
    from models.app_config import get_recent_projects
    return get_recent_projects()


def save_recent_project(project_path: str):
    """将项目路径加入软件配置的最近列表并保存"""
    from models.app_config import save_recent_project as _save
    _save(project_path)
