Remove 12 unused RPC method definitions (init, task:*, chat:*, workflow:*) and their handlers to reduce SW communication overhead. Inline trivial wrapper methods to simplify code structure. Net reduction: 130 lines.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Added new canvas functionalities as Plait plugins, including laser pointer and tool management through `board.pointer`.
- Introduced a command palette for enhanced user interaction, allowing quick access to commands with keyboard shortcuts.
- Implemented a canvas search feature to facilitate content discovery within the drawing area.
- Updated documentation to reflect new coding rules and cross-React root state sharing practices.
- Bumped application version to 0.5.88.
- Enhanced task storage management by migrating data handling to the useTaskStorage hook, ensuring smoother initialization and restoration of tasks from IndexedDB.
- Removed redundant subscriptions and improved task restoration logic in the task queue service to prevent overwriting active tasks.
- Updated storage reader classes to ensure proper database connection handling.
- Added detailed console logs to track workflow submission and execution processes, improving visibility into the workflow lifecycle.
- Implemented error handling for IndexedDB operations during workflow submission and execution, ensuring the application continues to function smoothly in case of failures.
- Updated the WorkflowStorageWriter to use a centralized database management approach, reducing complexity and potential concurrency issues.
- Adjusted the execution calls in WorkflowSubmissionService to correctly cast results as DelegatedOperation.
- Ensured consistency in handling the result format, changing 'result.result' to 'result.data' for better clarity in response structure.
- Updated tryFallbackEngine to use fallback executor directly, avoiding long blocking times.
- Enhanced logging to provide better visibility into fallback executor availability and workflow submission status.
- Added console warnings and logs to track the execution flow and engine status.
Closes#97
- Add a delete icon button next to the search box in DialogTaskList header
- Button only appears when there are failed tasks, showing the count in tooltip
- Click triggers a confirmation dialog before clearing all failed tasks
- Works for both AI image generation and AI video generation dialogs (shared component)
Co-authored-by: Cursor <cursoragent@cursor.com>
- Improved logging in aiAnalyzeTool to include user instruction and model details in Chinese.
- Updated AgentExecutor to log text model usage and iteration details, enhancing visibility into the execution process.
- Refined API call handling in callApiStreamRaw to check Service Worker channel availability more efficiently, reducing potential blocking.
- Added detailed logging in sendChatWithGemini for initialization and configuration validation, improving traceability of API interactions.
These changes aim to enhance the robustness and transparency of the AI analysis and agent execution processes.
- Added guidance on managing third-party session replay and analytics to avoid main thread blocking and 413 errors.
- Updated CLAUDE.md and CODING_RULES.md with best practices for session recording, including default disabling and error handling.
- Implemented error handling for 413 responses in session recording configuration to prevent retry storms and improve performance.
- Removed obsolete init.json file to streamline project structure.