Commit Graph
251 Commits
Author SHA1 Message Date
liquidliang 155ec00987 chore: enhance CDN response validation and update version to 0.5.25 2026-01-20 13:20:52 +08:00
liquidliang 8bd7f30c19 chore: bump version to 0.5.25 2026-01-20 13:11:17 +08:00
liquidliang 5571d3f1d9 chore: bump version to 0.5.22 2026-01-20 13:06:59 +08:00
liquidliang 55ad29c150 chore: bump version to 0.5.21 2026-01-20 13:06:59 +08:00
liquidliang 8bfc191832 chore: bump version to 0.5.20 2026-01-20 13:06:59 +08:00
liquidliang 8707a5bc03 chore: bump version to 0.5.19 2026-01-20 13:06:58 +08:00
liquidliang 91799c9abd chore: bump version to 0.5.17 2026-01-20 13:06:28 +08:00
liquidliang 30cf458cf6 docs(claude): 更新调试日志处理和命令行工具使用说明,添加后台清理任务日志记录示例 2026-01-20 12:55:46 +08:00
liquidliang 51b5f3f99b chore: bump version to 0.5.17 and update build time in version.json 2026-01-20 12:13:55 +08:00
liquidliang c41c9bd2d7 chore: bump version to 0.5.17 2026-01-20 12:13:06 +08:00
liquidliang dcabd75e69 docs(claude): 添加 React 事件委托、筛选逻辑、Grid 布局及 UI 高度统一规则 2026-01-20 12:00:41 +08:00
liquid e4cdca4515 chore: update paths for CDN compatibility and add npm publish scripts
- Modified paths in index.html, manifest.json, and other files to use relative URLs for better CDN support.
- Added new npm scripts for publishing with options for dry run and skipping build.
2026-01-20 09:34:26 +08:00
liquid ef30e2e0a5 chore: bump version to 0.5.16 2026-01-20 09:27:15 +08:00
liquid c126ed5ea2 chore: bump version to 0.5.15 2026-01-20 09:07:22 +08:00
liquid 345b0a9a1c chore: update project references from aitu.chat to opentu.ai
- Changed all instances of the old project website URL to the new domain opentu.ai in documentation, metadata, and configuration files.
- Updated the homepage link in package.json and various HTML files to reflect the new branding.
- Adjusted sitemap and robots.txt to point to the new domain for better SEO and accessibility.
2026-01-20 00:14:43 +08:00
liquid 305fa7fda7 chore: bump version to 0.5.14
- Updated version numbers in package.json, index.html, and version.json to reflect the new release.
- Added .pnpm-store to .gitignore.
- Removed deprecated create-release-package.js script, as its functionality is no longer needed.
- Updated safe-version-bump.js and update-version.js to reflect changes in Service Worker version handling.
2026-01-19 23:16:11 +08:00
liquidliang 31f684fd86 refactor(sw-debug): reorganize cache statistics panel and enhance LLM API log entry styles
- Moved the cache statistics panel to a new position for better layout consistency.
- Updated LLM API log entry styles for improved readability and consistency with Fetch logs.
- Added functionality for copying URLs from log entries and improved error handling for image loading.
- Enhanced metadata handling for cached media, including timestamp extraction and validation.
2026-01-19 20:47:46 +08:00
liquidliang de1329701d feat(sw): implement CORS domain handling and cache validation
- 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.
2026-01-19 20:09:34 +08:00
liquidliang 310b7d02f7 docs(claude): 添加缓存策略和数据一致性规则
- 更新素材库数据来源说明,增加 Cache Storage 作为第三数据源
- 添加缓存策略区分表格(AI生成 vs 本地图片)
- 新增规则:批量加载与单个加载方法必须保持逻辑一致
- 新增规则:IndexedDB 元数据必须验证 Cache Storage 实际数据
- 新增规则:本地缓存图片只存 Cache Storage,不存 IndexedDB
2026-01-19 19:46:26 +08:00
liquidliang f6bd3af058 feat: 封装函数不应被绕过、页面卸载清理定时器 2026-01-19 15:25:58 +08:00
liquidliang d402148378 docs(claude): 添加 UI 重构信息完整性和日志保留优先级规则 2026-01-19 15:15:39 +08:00
liquid f7e6f0bded v0.5.11 2026-01-18 22:26:09 +08:00
liquid 52e2f224cb Merge branch '75-memory' into develop 2026-01-18 21:18:08 +08:00
liquid bfb7ed5626 fix(memory): 修复 workflows Map 和 setInterval 内存泄漏
1. workflow-submission-service.ts 和 sw-workflow-client.ts:
   - 为 workflows Map 添加定时清理机制
   - 工作流完成/失败后 5 分钟自动清理

2. duplex-communication 服务:
   - RequestManager: 保存 cleanupTimerId,添加 destroy 方法
   - DuplexClient: 保存 performanceMonitoringTimerId,添加 destroy 方法
   - DuplexServer: 保存两个定时器 ID,添加 destroy 方法
   - MigrationManager: 保存 performanceMonitoringTimerId,添加 destroy 方法
2026-01-18 21:14:08 +08:00
liquid f0571a7eb9 feat(service-worker): implement user confirmation for service worker upgrades
- Added a mechanism to require user confirmation before refreshing the page upon service worker updates.
- Introduced a new variable to track user confirmation status, ensuring that page reloads only occur after explicit user action.
- Updated event listeners to respect the user confirmation state, enhancing control over service worker behavior.
2026-01-18 17:57:13 +08:00
liquid 19f54ec9bc feat(sw-debug): add memory monitoring and crash logging features
- Introduced a memory monitoring panel displaying JS heap usage, total size, limit, and usage percentage.
- Added functionality to log crash snapshots, including types (startup, periodic, error, beforeunload) and memory stats.
- Implemented UI elements for viewing, filtering, refreshing, and exporting crash logs.
- Enhanced service worker to handle crash snapshot storage and retrieval.
- Updated styles for crash log entries and memory monitoring display.
- Integrated memory tracking in various components to prevent memory leaks.
2026-01-18 13:45:30 +08:00
liquid de86f2a2b5 优化渐变 2026-01-18 09:37:10 +08:00
liquid 305b5d7945 chore(release): bump version to 0.5.10 and update changelog
- Updated version to 0.5.10 in package.json and version.json
- Added changelog entry for version 0.5.10, including previous commits and acknowledgments
- Updated build time in version.json
2026-01-17 23:44:08 +08:00
liquid c1c5d5bf85 v0.5.9 2026-01-17 23:38:19 +08:00
liquid 946f46d72a Merge remote-tracking branch 'origin/72-fill' into develop 2026-01-17 23:37:26 +08:00
liquid 8f5953b5ca chore(release): bump version to 0.5.8 and update changelog
- Updated version to 0.5.8 in package.json and version.json
- Added changelog entry for version 0.5.8, including new debug panel and logging enhancements
- Updated build time in version.json
2026-01-17 21:35:59 +08:00
liquid 12576ee4e3 feat(debug-panel): add debug panel and logging enhancements
- Introduced a new Debug Panel in the toolbar for accessing debug logs.
- Updated version to 0.5.7 in package.json and version.json.
- Enhanced service worker caching logic to improve reliability.
- Removed the Clean Missing Assets feature from the toolbar.
- Updated translations and added a new debug log icon.
2026-01-17 21:34:16 +08:00
liquid b38a4855c8 chore(release): bump version to 0.5.7 and update changelog
- Updated version to 0.5.7 in package.json and version.json
- Enhanced postMessage logging and workflow recovery for improved user experience
- Added changelog entry for version 0.5.7
2026-01-17 20:31:00 +08:00
liquid d76a0e9e34 feat(service-worker): enhance postMessage logging and workflow recovery
- Implemented a debug mode for postMessage logging, allowing logs to be controlled based on the debug state, improving performance when debugging is disabled.
- Added functionality to recover workflows and tool requests after page refreshes, ensuring continuity in user experience.
- Introduced new message types for cached chat results and improved handling of chat workflows.
- Updated various components to utilize the new logging and recovery features, enhancing overall robustness and user feedback.
- Bumped version to 0.5.6 in relevant files.
2026-01-17 20:27:20 +08:00
liquid 68556735d1 chore(release): bump version to 0.5.6 and update changelog
- Updated version to 0.5.6 in package.json and version.json
- Added touch support for mobile interactions
- Enhanced responsiveness and positioning for mobile devices in ai-input-bar and version-update-prompt
- Updated changelog for version 0.5.6
2026-01-17 10:04:05 +08:00
liquid e4b7c79503 chore(release): bump version to 0.5.5 and update changelog
- Updated version to 0.5.5 in package.json and version.json
- Added double-click rename feature
- Updated changelog for version 0.5.5
2026-01-17 09:38:43 +08:00
liquid dcfd46a76c refactor(storage): enhance database version handling and integrity checks
- Updated IndexedDB handling to dynamically detect the current database version and ensure it meets minimum requirements.
- Added functions to check for the existence of required object stores and repair the database if necessary.
- Refactored workspace storage service to utilize dynamic version detection for store creation.
- Removed unnecessary debug logs from multi-selection handles component for cleaner code.
2026-01-17 09:36:58 +08:00
liquid 9baf1a74ff chore(release): bump version to 0.5.4 and update changelog
- Updated version to 0.5.4 in package.json and version.json
- Improved version update handling and error response caching
- Added changelog entry for version 0.5.4
2026-01-17 08:43:36 +08:00
liquid eb8da7e728 fix(service-worker): improve version update handling and error response caching
- Updated service worker to check for old caches to determine if a new version is available.
- Enhanced error handling by attempting to serve cached responses for failed network requests.
- Adjusted the version update prompt styling for better responsiveness and visibility.
- Changed the service worker's behavior to reload the page directly if no waiting worker is found, ensuring users get the latest resources immediately.
2026-01-17 08:40:07 +08:00
liquid e2b4a842ee chore(release): update version to 0.5.2 and enhance fill panel styles
- Updated app version in index.html to 0.5.2.
- Modified version.json to reflect the new build time and version.
- Improved fill panel styles in Drawnix, including adjustments to dimensions, padding, and border radius for a more compact design.
- Added functionality to synchronize external value changes in the ImageFillPanel component.
- Enhanced gradient and image fill handling across various components to improve rendering and user experience.

These changes contribute to a more polished and user-friendly interface.
2026-01-16 22:43:43 +08:00
liquid d83ffc486d chore(release): bump version to 0.5.3 and update changelog
- Updated version to 0.5.3 in package.json and version.json
- Added changelog entry for removing retry logic
- Updated build time in version.json
2026-01-16 22:24:48 +08:00
liquidliang 77391d8ba3 去掉重试逻辑 2026-01-16 17:58:33 +08:00
liquidliang 470742f08f v0.5.2 2026-01-16 15:43:48 +08:00
ljquan aeb8a39e43 Merge pull request #69 from ljquan/backup
Backup
2026-01-16 15:42:46 +08:00
liquidliang 85271a247d feat(drawnix): add multi-selection resize functionality and new stroke styles
- Introduced a new `withMultiResize` plugin to enable unified resizing of multiple selected elements, supporting Freehand and PenPath types.
- Added `MultiSelectionHandles` component for visual control points during multi-selection resizing.
- Enhanced stroke styles in the toolbar, including a new double stroke style for Freehand elements.
- Updated various components and styles to accommodate the new resizing features and improve user experience.

These changes significantly enhance the drawing capabilities, allowing for more flexible and efficient editing of multiple elements simultaneously.
2026-01-16 15:30:50 +08:00
liquidliang e8b1f31b82 feat(viewport): implement viewport saving and restoration functionality
- Added viewport saving with debounce to prevent excessive saves during panning and zooming.
- Implemented viewport restoration on component mount and visibility change.
- Enhanced WorkspaceService to support waiting for initialization before proceeding with operations.
- Updated Wrapper component to handle viewport changes and apply them accordingly.

This improves user experience by ensuring viewport state is preserved across sessions and interactions.
2026-01-16 14:30:13 +08:00
liquidliangandClaude e1785a8fe1 refactor(task-queue): 移除重复提交检测并优化存储性能
根据项目规范,重复提交检测应由 UI 层(按钮防抖/禁用)处理,而非后端层。
此变更移除了 SW 和客户端中的 fingerprint/lock 机制,简化任务提交流程。

主要改动:
- 删除 fingerprint.ts 和 lock.ts 工具模块
- 移除 SW/client 中的重复提交检测逻辑
- 添加 requestIdleCallback 延迟初始化,减少页面加载阻塞
- IndexedDB 批量保存优化,减少事务开销
- 修复 SW 初始化时序:等待存储恢复完成后再处理任务
- 移除未使用的 maxConcurrent 配置

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-15 20:55:33 +08:00
liquidliangandClaude 4ba9774142 refactor(api): 移除 API 重试逻辑简化错误处理
移除所有 API 调用中的重试机制,让用户在失败时手动决定是否重试:
- 移除 fetchWithRetry 函数和相关重试配置
- 移除 GeminiConfig 中的 maxRetries 和 retryDelay 参数
- 移除 VideoAPIService 和 CharacterAPIService 中的网络重试逻辑
- 移除 downloadFile 函数的重试参数
- 将任务队列的 maxRetries 设置为 0(不自动重试)
- 增加 HTTP 请求超时时间(图片 20 分钟,视频 30 分钟)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-15 19:51:13 +08:00
liquidliangandClaude Opus 4.5 ebe979fe58 docs(claude): 添加新规则 - Hover 延迟操作计时器清理
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 11:28:10 +08:00
liquidliang 82f9d7aab5 docs(claude): 添加新规则 - 元组类型 vs 数组类型 2026-01-15 10:20:40 +08:00