0.1.4: settings decide where a vault shares; leaving always finishes

- A folder found sharing somewhere other than its settings say is set back
  (every 30 s, under the vault's op lock). Two programs racing — the 0.1.1
  CLI upload against the 0.1.2 app's check-in — had left Brain's settings on
  the hub and its folder on Gitea, so it kept "syncing" to the wrong place.
- Leaving hands over to the vault's own hub, never to wherever the folder
  points. If the hub refuses the history (an older entry has a possible
  secret), the device hands over its current notes as one entry with those
  lines replaced, instead of retrying forever with the folder read-only.
- The app says "leaving" while that's in progress instead of "Synced".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 17:49:49 +07:00
parent 4ab9d580b8
commit fdcdecf0f1
9 changed files with 160 additions and 8 deletions

View File

@@ -4,5 +4,5 @@ members = ["core", "cli", "hub", "desktop"]
# One version for every part: the hub offers clients by it (D3).
[workspace.package]
version = "0.1.3"
version = "0.1.4"
license = "AGPL-3.0-only"