Skip to content

Sync with upstream/main#9

Closed
asabirov wants to merge 4 commits into
mainfrom
sync/upstream-main
Closed

Sync with upstream/main#9
asabirov wants to merge 4 commits into
mainfrom
sync/upstream-main

Conversation

@asabirov
Copy link
Copy Markdown
Owner

@asabirov asabirov commented Apr 8, 2026

Summary

  • Merge latest upstream/main into fork
  • Resolves conflicts keeping fork's fixes (custom CKRecord decoder, robust vector clock parsing, v0.3.4) while incorporating upstream's version/uniqueIdentifier fields for edit sync

Changes from upstream

🤖 Generated with Claude Code

mreider and others added 4 commits April 6, 2026 16:01
…ields and preserving vector clock on parse failure

Updates updateNote() to send version and uniqueIdentifier fields that Bear
desktop requires to properly process sync updates. Also fixes
incrementVectorClock() to preserve the existing clock unchanged when parsing
fails, instead of resetting to counter=1 which caused sync conflicts.

Fixes #5
Move core logic into a separate BearCLICore library target so it can be
imported by tests. Add initial test suite (18 tests) covering models,
cache operations, and codable round-trips.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Extract BearCLICore library and add test infrastructure
Resolve conflicts keeping fork's fixes (custom CKRecord decoder,
robust vector clock parsing, version 0.3.4) while incorporating
upstream's version/uniqueIdentifier fields for edit sync.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@asabirov asabirov closed this Apr 8, 2026
@asabirov asabirov deleted the sync/upstream-main branch April 8, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants