Commit Graph
805 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 88c0dfdbe4 chore: bump version to 0.5.18 2026-01-20 13:06:40 +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 c64e4a7342 feat(media-library): 优化素材库 UI 交互、缩放缓存、Grid 布局及空间效率 2026-01-20 12:01:46 +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 ad9ef4d60c docs(claude): 添加部署脚本安全实践规则 2026-01-20 00:12:28 +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
liquid e37666f72c docs(claude): 添加新规则 - SSH 远程执行复杂 Shell 命令应使用 base64 编码 2026-01-19 23:15:25 +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 bdbaff4610 docs(claude): 添加 Service Worker opaque 响应处理和缓存验证规则
- opaque 响应的 status === 0 但应该被接受为成功
- opaque 响应的 body 是安全锁定的,无法读取或缓存
- 从 Cache API 返回前必须验证 blob.size > 0
2026-01-19 20:09:01 +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 06ae0794b9 docs(claude): 添加新规则 - 封装函数不应被绕过、页面卸载清理定时器
基于最近的 bug 修复经验提取两条通用规则:
1. 不要绕过封装函数直接调用底层 API(如 sendToClient vs postMessage)
2. 页面卸载时必须清理所有定时器资源(避免遗漏)
2026-01-19 15:23:21 +08:00
liquidliang 78764712dc docs(claude): 添加独立页面配色一致性规则 2026-01-19 15:18:32 +08:00
liquidliang d402148378 docs(claude): 添加 UI 重构信息完整性和日志保留优先级规则 2026-01-19 15:15:39 +08:00
liquidliang 8e8738ca65 feat(prompt-history): enhance prompt history management with preset prompts
- Integrated preset prompts into the history management system, allowing users to see both historical and preset suggestions.
- Implemented deduplication logic to prevent duplicate entries between history and preset prompts.
- Updated UI components to visually distinguish preset prompts and added functionality to prevent deletion and pinning of preset items.
- Enhanced the prompt button to display source labels for different prompt origins (AI input, image, video, preset).
2026-01-19 10:50:50 +08:00
liquidliang d2c156915a docs(claude): 添加组件空状态处理和文案通用性规则
- 组件空状态不应简单返回 null,应考虑显示预设内容
- 文案应考虑所有使用场景,避免过于具体
2026-01-19 10:50:24 +08:00
liquid f7e6f0bded v0.5.11 2026-01-18 22:26:09 +08:00
liquid c4c7e3dc66 添加更多版本 2026-01-18 22:25:26 +08:00
liquid 52e2f224cb Merge branch '75-memory' into develop 2026-01-18 21:18:08 +08:00
liquid d1112d044a docs(claude): 添加内存泄漏预防规则
新增两条开发规范:
1. 类服务的 setInterval 必须保存 ID 并提供 destroy 方法
2. Map/Set 需要清理机制防止无限增长
2026-01-18 21:14:19 +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 2fb108878c docs(claude): 添加 SW 更新和配置同步规则
新增两条开发规范:
- Service Worker 更新后禁止自动刷新页面
- 设置保存后需要主动更新 Service Worker 配置
2026-01-18 17:57:05 +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 c823877a18 docs(claude): 添加新规则 - navigator.storage.estimate() 返回浏览器配额而非磁盘空间 2026-01-18 13:44:47 +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 42c8c1d32f Merge branch '72-fill' into develop 2026-01-17 23:41:52 +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 5bfcb9ee2d feat: 调整4k配置 2026-01-17 23:26:37 +08:00
liquid 160170b93e refactor(fill-panel): enhance fill panel functionality and styles
- Updated FillPanel to trigger fill type changes only on user actions for solid, gradient, and image fills.
- Refactored GradientFillPanel to utilize the new GradientEditor component, simplifying the code and improving maintainability.
- Enhanced ImageFillPanel with throttled updates for smoother user interactions and added input fields for precise control over scale, offset, and rotation values.
- Improved styles in image-fill-panel.scss for better layout and usability.

These changes collectively enhance the user experience and maintainability of the fill panel components.
2026-01-17 23:23:23 +08:00
liquid e046e572d8 docs(claude): 添加异步任务幂等性检查规则
- 检查任务存在性而非完成状态
- 防止页面刷新后重复执行 in_progress 的任务
- 符合幂等性原则
2026-01-17 23:08:15 +08:00
liquid 079374cb82 docs(claude): 添加单击/双击区分场景的计时器清理规则
新增规则说明使用 setTimeout 区分单击和双击时,必须在组件卸载时
通过 useEffect 清理计时器,避免内存泄漏和 stale callback 问题。
2026-01-17 23:06:36 +08:00
liquid 9b8f79eab2 docs(claude): 添加 Service Worker 更新提示开发模式规则
记录在 localhost 开发环境下 SW 更新提示被自动跳过的行为,
包含测试方法和正确的版本升级流程说明。
2026-01-17 22:56:30 +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