- 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.
- 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 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.
- Introduced a new parameter priority system for thumbnail requests, allowing for `bypass_sw` and `_retry` to take precedence over thumbnail processing.
- Updated logic to ensure thumbnail requests are only processed when neither `bypass_sw` nor `_retry` are present.
- Cleaned up cache key construction by removing control parameters from the original URL for better cache management.
This change improves the efficiency and clarity of thumbnail request handling in the Service Worker.
Remove verbose debug logs from main thread, Service Worker, and workflow services to reduce console noise in production. Also fix winbox icon container creation when icon prop changes after window initialization.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added functions to retrieve and update the board ID from the URL, allowing for seamless board switching without page refresh.
- Updated the app to prioritize the board ID from the URL over the previous state when loading boards.
- Enhanced logging for board switch actions in both the App and ProjectDrawer components.
- Adjusted cursor style in project-drawer.scss for better user experience.
- Updated version to 0.5.63 and adjusted build time in version.json.
- Refined styles in unified-toolbar.tsx for consistent button sizes and padding.
- Ensured consistent type exports across various components in the drawnix package.
- Move ai_analyze tool execution to Service Worker to avoid postMessage
timeouts; system prompt built in app layer and passed to SW
- Add full response JSON display for LLM API logs (fetch on expand)
- Improve PostMessage logging: use source labels (应用页面/SW) instead
of direction, filter debug panel messages, support request-response linking
- Add waitForStorageRestore() to ensure RPC handlers return complete data
- Remove syncTasksToClients() in favor of paginated RPC queries
- Better VideoGenerationFailedError detection for business failures
- Clean up debug console.log statements
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added UI elements for selecting and batch deleting LLM API logs in sw-debug.html.
- Introduced functions for toggling selection mode, selecting all logs, and batch deleting selected logs in llmapi-logs.js.
- Updated event listeners in app.js to handle new actions related to LLM API logs.
- Enhanced pagination and filtering capabilities for LLM API logs in sw-communication.js and llm-api-logger.ts.
- Implemented server-side deletion of selected logs with appropriate feedback to the user.
This update improves user interaction with LLM API logs, allowing for more efficient management of log entries.
- Modified the resume methods in CharacterHandler and VideoHandler to avoid creating new log entries for resumed tasks.
- Implemented logic to retrieve the original log ID using taskId, ensuring that the original log is updated upon completion of polling.
- Added comments in Chinese to clarify the changes made to the logging process.
- Added checks to prevent duplicate task submissions and executions based on task status and prompt similarity.
- Improved logging for task submissions, completions, and failures when debug mode is enabled.
- Updated broadcast method to include uncontrolled clients, ensuring messages reach all windows during updates or refreshes.
- Incremented build time in version.json to reflect recent changes.
- Added a Vite plugin to generate a precache-manifest.json for static assets.
- Enhanced service worker to load and cache files based on the precache manifest.
- Updated service worker to automatically activate new versions and notify clients.
- Bumped app version to 0.5.33 and adjusted build time in version.json.
- Added functionality to mark domains with CORS issues, allowing the Service Worker to skip these domains in future requests.
- Introduced a mechanism to check for expired CORS failures, enabling retries after a specified TTL.
- Enhanced debug status reporting to include counts and lists of CORS failed domains.
- Updated image request handling to manage CORS errors more effectively, including support for opaque responses.
- Improved asset loading logic to prioritize Cache Storage and ensure only valid assets are processed.