feat(google-docs): structure-preserving sync up with remote-conflict guard

This commit is contained in:
Gagancreates 2026-06-01 02:27:33 +05:30
parent 8463c8ba57
commit 7e6ee040aa
6 changed files with 409 additions and 24 deletions

View file

@ -825,7 +825,7 @@ export function setupIpcHandlers() {
return refreshGoogleDocSnapshot(args.path);
},
'google-docs:sync': async (_event, args) => {
return syncLinkedGoogleDocFromMarkdown(args.path, args.markdown);
return syncLinkedGoogleDocFromMarkdown(args.path, args.markdown, { force: args.force });
},
// Search handler
'search:query': async (_event, args) => {