Skip to content

Fix Bear app not detecting note changes from CLI#12

Open
asabirov wants to merge 1 commit intosync/upstream-mainfrom
fix/bear-sync-detection
Open

Fix Bear app not detecting note changes from CLI#12
asabirov wants to merge 1 commit intosync/upstream-mainfrom
fix/bear-sync-detection

Conversation

@asabirov
Copy link
Copy Markdown
Owner

@asabirov asabirov commented Apr 8, 2026

Problem

Bear desktop doesn't detect note changes made via CLI. When updating note content via textADP, the old text asset field still points to stale content, so Bear reads the old asset URL instead of the new content.

Fix

  • Set the text asset field to null when editing so Bear doesn't read stale content from the old asset URL

Add null text field to edit record to trigger Bear desktop sync detection.
Keep upstream's vector clock byte-scanning approach.

(reimplements PR #6)
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.

1 participant