pub(crate) async fn save_trash_settings( client: &Client, auto_purge_enabled: bool, retention_days: i32, ) -> Result<TrashSettings, AppError>
Web 与 MCP 共用的配置写入;保留天数统一钳制后写入并返回。