drop/desktop/src-tauri/remote/src
wdunn001 c86b122101 desktop: wire the orphaned cloud_saves crate to the server saves API + a Saves tab
cloud_saves was a real, working crate (tar+zstd archive build/extract,
per-platform save-path translation) that was never reachable from the app:
a workspace member but not a drop-app dependency, no Tauri commands, no UI.
Adds six commands (cloud_saves_commands.rs) covering slot list/create/delete
against the server's existing /api/v1/client/saves/* routes (which the
client's handshake already declares the cloudSaves capability for -- see
remote/src/auth.rs) plus push/pull of an archive, and a Saves tab in the
game options modal to drive them.

One thing this does NOT do, because there is nothing to wire it to:
cloud_saves::resolver + BackupManager/CloudSaveMetadata/GameFile expect an
auto-detected, Ludusavi-style per-game save-file manifest
(CloudSaveMetadata.files), but nothing in Drop produces that manifest --
not the GameVersion Prisma model, not any admin UI, not any API response.
So push/pull here archive a directory the user picks explicitly rather than
auto-locating save files. The archive format (tar under a "data/" prefix,
zstd-compressed) stays compatible with what cloud_saves::resolver writes,
so a future manifest-driven auto-detect pass can still read what gets
pushed today.

Also: Drop's saves API only exposes a push (upload) route server-side, no
saves-specific download -- pull reuses the same authenticated
/api/v1/client/object/{id} route the client already uses for depot/image
assets, fetching the most recent entry in a slot's historyObjectIds.
2026-08-01 23:33:43 -04:00
..
auth.rs Async downloader, better Proton support (#183) 2026-02-06 23:24:14 +11:00
cache.rs 156 refactor into workspaces (#157) 2025-10-14 17:12:51 +11:00
error.rs Async downloader, better Proton support (#183) 2026-02-06 23:24:14 +11:00
fetch_object.rs Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
lib.rs Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
requests.rs desktop: wire the orphaned cloud_saves crate to the server saves API + a Saves tab 2026-08-01 23:33:43 -04:00
server_proto.rs In-app store, delta version support (#179) 2026-02-06 00:30:27 +11:00
utils.rs Game updates (#187) 2026-02-25 23:27:30 +11:00