Skip to content

{DRAFT]feat: implement attachment extraction and sync pipeline#3

Draft
PyAgni wants to merge 2 commits intomainfrom
feat/attachment-sync
Draft

{DRAFT]feat: implement attachment extraction and sync pipeline#3
PyAgni wants to merge 2 commits intomainfrom
feat/attachment-sync

Conversation

@PyAgni
Copy link
Owner

@PyAgni PyAgni commented Mar 23, 2026

  • Update AppleScript to extract attachment name and content identifier
  • Add attachment parsing in the delimiter protocol (10th field)
  • Add ResolveAttachments to NoteExtractor interface, which walks the Apple Notes media directory to locate and read attachment files
  • Wire attachment saving into the syncer pipeline (between write and clean orphan steps)
  • Respect attachments.enabled and attachments.max_size_mb config
  • Add ContentID field to Attachment model
  • Add tests for attachment parsing, file index, and resolution

PyAgni and others added 2 commits March 23, 2026 16:41
- Update AppleScript to extract attachment name and content identifier
- Add attachment parsing in the delimiter protocol (10th field)
- Add ResolveAttachments to NoteExtractor interface, which walks the
  Apple Notes media directory to locate and read attachment files
- Wire attachment saving into the syncer pipeline (between write and
  clean orphan steps)
- Respect attachments.enabled and attachments.max_size_mb config
- Add ContentID field to Attachment model
- Add tests for attachment parsing, file index, and resolution

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@PyAgni PyAgni marked this pull request as draft March 23, 2026 12:34
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