c14dd77861
- Refactored migration logic in migrate.ts to improve error handling and state management. - Introduced new file type definitions in file.ts, including interfaces for local and remote files, and type guards for file validation. - Updated index.ts to export new file types and removed redundant file type definitions. - Cleaned up file utility functions by removing unused base64 conversion function. - Updated yarn.lock to include new dependencies and version updates for @mistralai/mistralai and @cherrystudio/mac-system-ocr.