The service now measures the bytes a sync, submit or clone moves and
adds them to its activity events as a transfer: direction, bytes done
and total, the rate over the last 3 s, and the elapsed time. On
finish, the rate is the transfer's average. Running events are sent
at most every 250 ms, or when the file count changes, rather than on
every liblore progress event.
The workspace bar shows the running transfer's direction, speed,
bytes and time left under it, and keeps the last transfer's size,
time and average speed until the next one. Sizes in the file list and
the bar share one formatter, in units of 1024, with GB and TB.
The desktop e2e checks that a submit reports bytes pushed and a sync
bytes fetched.
Desktop milestone 3, protocol v3.
- lore-sys: lock acquire, release and status, and notification
subscribe/unsubscribe, with their events.
- Service: locks, lock, unlock (with force) and workspace_settings
methods; locks and notice events; error -32006 for files someone
else holds. SUBMIT refuses those files and releases your locks on
what it pushed unless keep_locks is set.
- Service policies: a file watcher rescans after edits, warns once per
edited file someone else has locked, and with lock_on_edit locks
newly modified binary files (NUL in the first 8 KB, or the binary/
text extension lists). One notification subscription per repository
keeps locks current and marks the workspace behind on pushes.
- Autosync (off, interval, on_change) only pulls. It holds back when
local edits overlap remote changes, keeps them, and sets a warning.
- GUI: LOCK/UNLOCK in FILES with multi-select, LOCKED BY and LOCK in
CHANGES with KEEP LOCKS, a LOCKS tab with UNLOCK and FORCE UNLOCK,
the AUTO popup, notices under the header and in the tray tooltip.
--test goes on when its warm-up sync is refused; --tab locks.
- e2e: bob gets writer access and a CLI working copy to check locks,
lock on edit and autosync between two users.
- Docs: verified lock and notification behaviour of liblore v0.14.0,
the protocol v3 tables, autosync, and the milestone status.
forge-service now loads Lore's C library (liblore v0.14.0, pinned in
lore.lock) through generated bindings in desktop/lore-sys, and speaks
protocol v2: status, history, files, revisions, file history, local
changes, sync, submit of chosen files, sign-in through the forge's
device flow, the repository list, clone, and adding or forgetting
workspaces. Requests on one connection run concurrently.
The GUI drops the sample repository and draws the explorer from the
service, with an ADD panel for opening or cloning, a sign-in banner,
and a CHANGES tab whose checked files SUBMIT commits and pushes.
scripts/e2e-lore.sh now also drives forge-service against the real
loreserver and lore-forge through scripts/desktop-e2e.py, and keeps
every login's key in a file so no run asks for the keychain.
fetch-lore.sh gains --liblore. Design docs and agent notes record what
was verified in liblore and the SYNC/SUBMIT decisions.
A per-user client service in Rust with a C++ Dear ImGui tray GUI built
on the vendored UHDK, in the pixel-art style the web UI now shares.
The explorer draft shows FILES, GRAPH and TREE over a hard-coded
sample repository until the service reads real workspaces.
Builds with Zig 0.17.1 and Cargo; see desktop/README.md.