super-productivity/packages/plugin-dev/sync-md/src/background
Johannes Millan 30a962c2a9 feat(syncMd): implement core markdown sync plugin with bidirectional synchronization
Core sync infrastructure:
- Markdown parser with task ID extraction and parent-child support
- SP to markdown converter with proper task ordering based on project taskIds
- Task operations generator for efficient batch updates
- Sync manager with file watching and intelligent debouncing
- Window focus-aware debouncing (15s when unfocused, 1s when focused)
- Post-sync verification to ensure consistency

Key features:
- Bidirectional sync between markdown files and Super Productivity
- Preserves task hierarchy and subtask ordering
- Handles duplicate ID detection and prevention
- Smart conflict resolution with detailed logging
- Efficient batch operations to minimize API calls

Plugin integration:
- Background script with proper initialization
- UI bridge for configuration management
- Plugin manifest and entry point
- Configuration UI for file path setup
2025-07-10 14:55:44 +02:00
..
__tests__ feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
helper feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
replication feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
sync feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
background.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
config.const.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
file-watcher.ts feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
index.ts feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
local-config.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00
markdown-parser.ts feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
sync-logic.ts feat(sync-md): new approach and make it work better 2025-07-07 18:39:14 +02:00
ui-bridge.ts feat(syncMd): implement core markdown sync plugin with bidirectional synchronization 2025-07-10 14:55:44 +02:00