Commit Graph
12 Commits
Author SHA1 Message Date
ZacharyZhang-NY bb16ed6fb3 feat(core): persist and restore browser state across launches 2026-07-10 12:01:43 -04:00
ZacharyZhang-NY 7d5e936ca4 refactor(sync): split snapshot records 2026-05-16 05:52:39 -04:00
ZacharyZhang-NY a47fbdc09c Wire SyncEngine into BrowserCore
Add per-profile sync orchestration to `ely_browser_core`:

- `SyncEngine::for_profile_dir` loads / generates the persistent
  device identity under `<profile_data>/sync/device.json` and reads
  the bearer token from `<profile_data>/sync/bearer.token`.
- `install_bearer` accepts (or clears) the Better Auth session
  token; everything else stays inert until a token is on disk.
- `upload_now(&BrowserCore)` serialises the user's bookmarks into a
  stable JSON snapshot, ships it via `SyncApiClient::upload_snapshot`,
  and remembers the resulting snapshot id / logical clock / device
  for the UI to surface.
- `BrowserCore::visible_bookmarks_for_sync` returns a read-only view
  the engine can iterate without touching the in-memory state.

The shell / settings-page wiring that calls `upload_now` ships
separately so this commit stays a pure model-layer change with no
runtime behaviour difference until the UI plugs in.
2026-05-15 17:10:30 -04:00
ZacharyZhang-NY 8b9c4579c1 Add active profile local data export 2026-05-09 08:23:37 -04:00
ZacharyZhang-NY 2b6de367b0 Add privacy local data inventory 2026-05-09 07:22:14 -04:00
ZacharyZhang-NY 1eb8e271f5 Add bookmark import export packages 2026-05-09 02:07:37 -04:00
ZacharyZhang-NY 058d377eab Add elyspace core import export model 2026-05-08 23:05:53 -04:00
ZacharyZhang-NY 2bd94710df Add active profile site data clearing 2026-05-08 21:40:18 -04:00
ZacharyZhang-NY b11668e75e Add space trash recovery 2026-05-08 09:17:59 -04:00
ZacharyZhang-NY 96675b6e22 Track plugin registry audits 2026-05-07 22:43:15 -04:00
ZacharyZhang-NY 19d928859c Add basic space switching 2026-05-07 20:19:55 -04:00
ZacharyZhang-NY d9a27f3dc4 Initialize Rust GPUI browser shell 2026-05-07 18:27:15 -04:00