- Updated the application version to 0.5.75 in index.html and version.json.
- Implemented global helper functions for toggling base64 image previews and extracting image information.
- Enhanced JSON formatting to support inline base64 image previews in logs.
- Improved the rendering of reference images in the LLM API log entries.
- Added CSS styles for base64 image preview components.
- Bumped application version to 0.5.73 in index.html and version.json.
- Enhanced task loading in useTaskQueue and useFilteredTaskQueue hooks with retry logic for better reliability.
- Removed deprecated task migration service and adjusted related sync services to reflect the new paged format.
- Updated format detection to support only paged and none types, removing legacy support.
- Replaced image cropping with a new function to fit images to target canvas sizes while maintaining aspect ratio and centering the image with a background filled with the dominant color.
- Added a utility function to extract the dominant color from images to improve visual consistency in the fitting process.
- Updated comments in the VideoHandler class to reflect the new image processing logic.
- Bumped application version to 0.5.72 in index.html and version.json.
- Updated build time in version.json.
- Added remoteId support in LLM API logging functions for better tracking of asynchronous tasks.
- Improved logging in image generation API for better debugging and monitoring.
- Updated PostHog integration to conditionally load based on local development environment and URL parameters.
- Refactored Sentry initialization to enable reporting based on environment settings.
- Added new menu item for cleaning invalid media links, including URL validity checks and user feedback.
- Introduced new icons and translations for the clean invalid links feature.
- Improved task queue management by consolidating service worker checks and ensuring compatibility with existing services.
- Updated version and build time in version.json to reflect recent changes.
- Improved video blob retrieval by adding network fallback if not found in cache.
- Updated service worker to allow GitHub API requests to bypass caching for better performance.
- Enhanced task queue management by allowing tasks in the SUBMITTING phase to be retried without marking them as failed.
- Introduced a transparent placeholder response for missing video thumbnails to prevent playback issues.
- Added detailed logging for task retries and execution phases to aid in debugging.
- Introduced a new badge for identifying the master Gist in the SyncSettings component.
- Removed unused functions related to switching and creating Gists to streamline the code.
- Updated the GitHubSyncContext to include a flag for identifying master Gists.
- Enhanced the GitHub API service to prioritize master Gists during sync operations.
- Improved logging for better debugging and tracking of sync processes.
- Added a caching mechanism to store failed external image URLs for 5 minutes to avoid repeated requests for known 404 errors.
- Introduced functions to check if a URL is likely expired and to mark URLs as failed based on their response status.
- Enhanced the fetch event listener to skip requests for recently failed URLs, improving performance and reducing unnecessary network traffic.
- Updated build time in version.json to reflect recent changes.
- Refactored imports in various components to utilize @aitu/utils for consistency and improved maintainability.
- Removed unnecessary console logs and debug statements across multiple files to clean up the codebase.
- Added fake-indexeddb as a dev dependency for improved testing.
- Refactored media executor by extracting utility functions for building image request bodies, parsing image responses, and polling video status.
- Updated workflow engine to utilize new utility functions for better code clarity and maintainability.
- Adjusted version.json build time to reflect recent changes.
- Added a new media executor to handle image, video, and AI analysis tasks, allowing for asynchronous execution and improved task management.
- Introduced new RPC methods for executor operations, including PING and EXECUTOR_EXECUTE.
- Updated workflow executor to support pending main thread steps, ensuring proper handling of canvas operations and media generation tools.
- Enhanced workflow status synchronization with a new hook for better UI updates and reliability.
- Removed deprecated tool response handling for improved code clarity and efficiency.
- Updated documentation to reflect changes in workflow and executor functionalities.
- Implemented a timeout mechanism for workflow submissions, allowing for better handling of long-running operations.
- Added retry logic to ensure successful submission after initialization failures, improving robustness against transient errors.
- Updated the new workflow detection logic to consider a 60-second window for new workflows instead of 10 seconds.
- Removed unnecessary debugger statement from the AI analyze tool.
- Bumped build time in version.json to reflect recent changes.
- Introduced a new Gist management panel in the SW debug interface, allowing users to manage Gist configurations and view shard statistics.
- Updated sync services to utilize a unified logging system for better tracking of sync operations, including success and error logging.
- Enhanced error handling and logging in the MediaSyncService and ShardSyncService to provide clearer insights during synchronization processes.
- Bumped app version to 0.5.68 to reflect these changes.
- Improved error handling during manifest decryption to check for local data before deciding to overwrite remote data.
- Added checks to prevent data loss by refusing to overwrite remote data if local data is empty, ensuring safer synchronization.
- Updated SyncManifest to include records for deleted prompts and tasks, enhancing data recovery capabilities.
- Introduced PromptTombstone and TaskTombstone interfaces to track deleted items with metadata such as deletion time and device ID.
- Enhanced data-serializer and sync-engine to support detection and application of deletions, ensuring safe data synchronization.
- Added UI components in SyncSettings for managing deleted items, including a recycle bin for restoring and permanently deleting items.
This update significantly improves the synchronization process by allowing users to recover deleted items while maintaining data integrity.