Repository navigation
-
#106
345e5f4Thanks @eyelock! - A newsync.autosetting (off by default) syncs distributed memory in the background from the agent's Stop hook. When it is on and a distributed mount has writes the remote has not seen, the hook startsynm sync --quietdetached: a full fetch, merge and push, never the personal store, and the turn does not wait for it. It runs at most once persync.intervalMinutesper repository (default and minimum 5, because the Stop hook opens the store once per 5 minutes per session; at most 1440), and a write made inside the interval goes out at the first Stop after it. Errors never reach the session.A successful
ynm syncnow records what the remote holds in the remote-tracking refs for the notes and documents it pushed, so unpushed writes can be detected locally with no network.
Patch Changes
- #107
bc22cd3Thanks @eyelock! - A--mountnaming a mount that does not exist is now refused with exit 2 and the mounts there are:no mount "projet" (have: personal, project, team). Before,recall,context,list,export,review,reindex,syncandwiki buildmatched nothing and exited 0, so a typo, or--mount projectrun outside an initialised repository, looked like an empty store.
Install: see https://eyelock.github.io/ynm/#/how-to/install (Homebrew ynm standalone or ynm-slim, direct download, Docker).
What's Changed
- Back-merge release 0.4.2 into develop by @eyelock in #105
- feat: sync distributed memory from the Stop hook when sync.auto is on by @eyelock in #106
- fix: an unknown --mount is refused, not read as an empty store by @eyelock in #107
- Release 0.5.0 by @eyelock in #108
Full Changelog: v0.4.2...v0.5.0